@m4l/components 9.2.18 → 9.2.20
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/components/DynamicFilter/DynamicFilter.d.ts +7 -3
- package/components/DynamicFilter/DynamicFilter.js +4 -3
- package/components/DynamicFilter/{DynamicFIlter.styles.d.ts → DynamicFilter.styles.d.ts} +1 -1
- package/components/DynamicFilter/{DynamicFIlter.styles.js → DynamicFilter.styles.js} +20 -2
- package/components/DynamicFilter/dictionary.d.ts +6 -1
- package/components/DynamicFilter/helpers/frontEndHelpers.js +2 -2
- package/components/DynamicFilter/index.d.ts +3 -3
- package/components/DynamicFilter/slots/dynamicFilterSlots.js +2 -2
- package/components/DynamicFilter/store/DynamicFilterContext.d.ts +4 -4
- package/components/DynamicFilter/store/DynamicFilterContext.js +25 -10
- package/components/DynamicFilter/store/DynamicFilterStore.js +32 -17
- package/components/DynamicFilter/store/types.d.ts +10 -33
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/useAppliedFilterChip.js +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +3 -3
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/useDynamicFilterBase.d.ts +4 -3
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/useDynamicFilterBase.js +2 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/helpers.d.ts +9 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/helpers.js +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/DataTypeComponent.d.ts +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.d.ts +8 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.js +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/FieldTypeInterface.d.ts +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/helpers.d.ts +8 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/helpers.js +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.d.ts +8 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.js +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.d.ts +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.js +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.d.ts +8 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.js +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.d.ts +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.js +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +1 -1
- package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.js +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.js +2 -2
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -1
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +1 -1
- package/components/DynamicFilter/types.d.ts +23 -8
- package/components/DynamicSort/DynamicSort.d.ts +2 -2
- package/components/DynamicSort/DynamicSort.js +4 -3
- package/components/DynamicSort/DynamicSort.styles.js +20 -2
- package/components/DynamicSort/dictionary.d.ts +6 -1
- package/components/DynamicSort/dictionary.js +2 -3
- package/components/DynamicSort/helpers/getPurgedInitialSortApplyed.d.ts +1 -1
- package/components/DynamicSort/index.d.ts +2 -2
- package/components/DynamicSort/store/DynamicSortContext.d.ts +3 -3
- package/components/DynamicSort/store/DynamicSortContext.js +24 -9
- package/components/DynamicSort/store/DynamicSortStore.d.ts +2 -2
- package/components/DynamicSort/store/DynamicSortStore.js +31 -16
- package/components/DynamicSort/store/types.d.ts +9 -15
- package/components/DynamicSort/subcomponents/AppliedSortChip/useAppliedSortChip.js +1 -1
- package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +1 -1
- package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +2 -3
- package/components/DynamicSort/subcomponents/DynamicSortBase/useDynamicSortBase.d.ts +2 -1
- package/components/DynamicSort/subcomponents/DynamicSortBase/useDynamicSortBase.js +2 -1
- package/components/DynamicSort/subcomponents/FieldTypes/DataTypeComponent.d.ts +1 -1
- package/components/DynamicSort/subcomponents/FieldTypes/FieldTypeInterface.d.ts +2 -2
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.d.ts +1 -1
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.js +1 -1
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +2 -2
- package/components/DynamicSort/subcomponents/InputSort/useInputSort.d.ts +1 -1
- package/components/DynamicSort/subcomponents/InputSort/useInputSort.js +3 -3
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +1 -1
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -1
- package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +1 -1
- package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.d.ts +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +2 -2
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.js +2 -2
- package/components/DynamicSort/subcomponents/SortActions/SortActions.d.ts +3 -1
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +7 -7
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.d.ts +1 -1
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
- package/components/DynamicSort/types.d.ts +25 -8
- package/components/mui_extended/CheckBox/CheckBox.styles.js +1 -2
- package/hooks/useDynamicFilterAndSort/styles.js +4 -2
- package/hooks/useDynamicFilterAndSort/types.d.ts +2 -1
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +31 -9
- package/index.js +29 -29
- package/package.json +1 -1
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +8 -2
- package/storybook/components/DataGrid/subcomponents/DataGridRender.d.ts +2 -0
- package/storybook/components/DynamicFilter/DynamicFilter.stories.d.ts +4 -0
- package/storybook/components/DynamicSort/DynamicSort.stories.d.ts +5 -1
- package/test/constants.d.ts +0 -2
- package/test/mocks.d.ts +2 -0
- /package/components/DynamicSort/{slots → store}/tests/DynamicSort.test.d.ts +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary } from "../../../dictionary.js";
|
|
3
2
|
import { B as BOOLEAN_OPERATORS } from "../../../constants.js";
|
|
3
|
+
import { g as getDynamicFilterDictionary } from "../../../dictionary.js";
|
|
4
4
|
import { B as BooleanFilter } from "./index.js";
|
|
5
5
|
class BooleanFilterHelpers {
|
|
6
6
|
getComponent() {
|
|
7
7
|
return BooleanFilter;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo booleano.
|
|
11
11
|
*/
|
|
12
12
|
getDefaultFilter(field, fixed) {
|
|
13
13
|
const defaultOperand1 = field.defaultOperand1;
|
|
@@ -26,7 +26,7 @@ class BooleanFilterHelpers {
|
|
|
26
26
|
return defaultFilter;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
30
30
|
*/
|
|
31
31
|
getFilterFromFormValue(formFilterValue) {
|
|
32
32
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -38,7 +38,7 @@ class BooleanFilterHelpers {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
42
42
|
*/
|
|
43
43
|
getFormValue(field, getLabel, filterValue) {
|
|
44
44
|
const filterValueBoolean = filterValue ? filterValue : void 0;
|
|
@@ -57,7 +57,7 @@ class BooleanFilterHelpers {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* getLabel devuelve las etiquetas para el filtro booleano.
|
|
61
61
|
*/
|
|
62
62
|
getLabels(filter, getLabel, _formatters, _field) {
|
|
63
63
|
const labelOperands = filter.operand1 ? getLabel(getDynamicFilterDictionary("operand_true")) : getLabel(getDynamicFilterDictionary("operand_false"));
|
|
@@ -68,7 +68,7 @@ class BooleanFilterHelpers {
|
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* getschema devuelve un esquema de validación para el filtro booleano.
|
|
72
72
|
*/
|
|
73
73
|
getSchema(getLabel) {
|
|
74
74
|
return Yup.object({
|
|
@@ -77,7 +77,7 @@ class BooleanFilterHelpers {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* verifyFilter verifica si el filtro es válido.
|
|
81
81
|
*/
|
|
82
82
|
verifyFilter(filter, _field) {
|
|
83
83
|
if (typeof filter.operator !== "string") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
4
|
import { B as BOOLEAN_OPERATORS } from "../../../constants.js";
|
|
5
5
|
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
6
6
|
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/RHFAutocomplete.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FormFilterFieldApplied } from '../../types';
|
|
2
1
|
import { FormStatusLoad } from '../../../../contexts';
|
|
2
|
+
import { FormFilterFieldApplied } from '../../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* dataTypeComponent es el componente encargado de renderizar el componente correspondiente al tipo de dato
|
|
5
5
|
*/
|
|
6
6
|
declare function DataTypeComponent(props: {
|
|
7
7
|
formFilter: FormFilterFieldApplied;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
2
|
import { Formatters } from '@m4l/graphics';
|
|
3
|
-
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
4
3
|
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, FormFilterValueDateTime, InitialFilterApplied } from '../../../types';
|
|
4
|
+
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
5
5
|
import { DateTimeFilter } from './index';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* DateTimeFilterHelpers es una clase que implementa la interfaz IFieldType
|
|
8
8
|
*/
|
|
9
9
|
export declare class DateTimeFilterHelpers implements IFieldType<FormFilterValueDateTime> {
|
|
10
10
|
getComponent(): typeof DateTimeFilter;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de fecha y hora.
|
|
13
13
|
*/
|
|
14
14
|
getDefaultFilter(field: FilterField, fixed: boolean): FilterFieldApplied;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
17
17
|
*/
|
|
18
18
|
getFormValue(field: FilterField, getLabel: GetLabelType, filterValueDateTime?: FilterValue): FormFilterValueDateTime;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
21
21
|
*/
|
|
22
22
|
getFilterFromFormValue(formFilterValue: FormFilterValueDateTime): FilterValue;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* getlabels devuelve las etiquetas de un filtro de fecha y hora.
|
|
25
25
|
*/
|
|
26
26
|
getLabels(filter: FilterFieldApplied, getLabel: GetLabelType, formatters: Formatters, _field: FilterField): DataTypeFilerLabels;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* getschema devuelve el esquema de validación de Yup para un filtro de fecha y hora.
|
|
29
29
|
*/
|
|
30
30
|
getSchema(getLabel: GetLabelType): YupSchema;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* verifyFilter verifica si un filtro de fecha y hora es válido.
|
|
33
33
|
*/
|
|
34
34
|
verifyFilter(filter: InitialFilterApplied, _field?: FilterField): boolean;
|
|
35
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
3
2
|
import { b as DATE_TIME_OPERATORS } from "../../../constants.js";
|
|
3
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
4
4
|
import { D as DateTimeFilter } from "./index.js";
|
|
5
5
|
import { i as isValidDate } from "../../../../../utils/isValidDate.js";
|
|
6
6
|
class DateTimeFilterHelpers {
|
|
@@ -8,7 +8,7 @@ class DateTimeFilterHelpers {
|
|
|
8
8
|
return DateTimeFilter;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de fecha y hora.
|
|
12
12
|
*/
|
|
13
13
|
getDefaultFilter(field, fixed) {
|
|
14
14
|
const defaultStartDate = /* @__PURE__ */ new Date();
|
|
@@ -29,7 +29,7 @@ class DateTimeFilterHelpers {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
33
33
|
*/
|
|
34
34
|
getFormValue(field, getLabel, filterValueDateTime) {
|
|
35
35
|
const filterValue = filterValueDateTime;
|
|
@@ -51,7 +51,7 @@ class DateTimeFilterHelpers {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
55
55
|
*/
|
|
56
56
|
getFilterFromFormValue(formFilterValue) {
|
|
57
57
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -73,7 +73,7 @@ class DateTimeFilterHelpers {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* getlabels devuelve las etiquetas de un filtro de fecha y hora.
|
|
77
77
|
*/
|
|
78
78
|
getLabels(filter, getLabel, formatters, _field) {
|
|
79
79
|
const { dateFormatter } = formatters;
|
|
@@ -93,7 +93,7 @@ class DateTimeFilterHelpers {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* getschema devuelve el esquema de validación de Yup para un filtro de fecha y hora.
|
|
97
97
|
*/
|
|
98
98
|
getSchema(getLabel) {
|
|
99
99
|
return Yup.object({
|
|
@@ -109,7 +109,7 @@ class DateTimeFilterHelpers {
|
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* verifyFilter verifica si un filtro de fecha y hora es válido.
|
|
113
113
|
*/
|
|
114
114
|
verifyFilter(filter, _field) {
|
|
115
115
|
if (typeof filter.operator !== "string") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useModuleDictionary } from "@m4l/core";
|
|
2
3
|
import { useMemo } from "react";
|
|
3
4
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
4
|
-
import { useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { b as DATE_TIME_OPERATORS } from "../../../constants.js";
|
|
6
6
|
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
7
7
|
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/RHFAutocomplete.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
1
|
import { GetLabelType } from '@m4l/core';
|
|
3
2
|
import { Formatters } from '@m4l/graphics';
|
|
4
|
-
import {
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, InitialFilterApplied } from '../../types';
|
|
5
5
|
import * as Yup from 'yup';
|
|
6
6
|
export type YupSchema = Yup.SchemaOf<any>;
|
|
7
7
|
/**
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
2
|
import { Formatters } from '@m4l/graphics';
|
|
3
|
-
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
4
3
|
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, FormFilterValueNumber, InitialFilterApplied } from '../../../types';
|
|
4
|
+
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
5
5
|
import { NumberFilter } from './index';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* NumberFilterHelpers es una clase que implementa la interfaz IFieldType
|
|
8
8
|
*/
|
|
9
9
|
export declare class NumberFilterHelpers implements IFieldType<FormFilterValueNumber> {
|
|
10
10
|
getComponent(): typeof NumberFilter;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de número.
|
|
13
13
|
*/
|
|
14
14
|
getDefaultFilter(fieldNumber: FilterField, fixed: boolean): FilterFieldApplied;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
17
17
|
*/
|
|
18
18
|
getFormValue(field: FilterField, getLabel: GetLabelType, filterValue?: FilterValue): FormFilterValueNumber;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
21
21
|
*/
|
|
22
22
|
getFilterFromFormValue(formFilterValue: FormFilterValueNumber): FilterValue;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* getlabels devuelve las etiquetas para el filtro.
|
|
25
25
|
*/
|
|
26
26
|
getLabels(filter: FilterFieldApplied, getLabel: GetLabelType, _formatters: Formatters, _field: FilterField): DataTypeFilerLabels;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* getSchema devuelve el esquema de validación para el filtro.
|
|
29
29
|
*/
|
|
30
30
|
getSchema(getLabel: GetLabelType): YupSchema;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* verifyFilter verifica si el filtro es válido.
|
|
33
33
|
*/
|
|
34
34
|
verifyFilter(filter: InitialFilterApplied, _field?: FilterField): boolean;
|
|
35
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
+
import { N as NUMBER_OPERATORS } from "../../../constants.js";
|
|
2
3
|
import { g as getDynamicFilterDictionary } from "../../../dictionary.js";
|
|
3
4
|
import { N as NumberFilter } from "./index.js";
|
|
4
|
-
import { N as NUMBER_OPERATORS } from "../../../constants.js";
|
|
5
5
|
class NumberFilterHelpers {
|
|
6
6
|
getComponent() {
|
|
7
7
|
return NumberFilter;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de número.
|
|
11
11
|
*/
|
|
12
12
|
getDefaultFilter(fieldNumber, fixed) {
|
|
13
13
|
const field = fieldNumber;
|
|
@@ -26,7 +26,7 @@ class NumberFilterHelpers {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
30
30
|
*/
|
|
31
31
|
getFormValue(field, getLabel, filterValue) {
|
|
32
32
|
const filterValueNumber = filterValue;
|
|
@@ -44,7 +44,7 @@ class NumberFilterHelpers {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
48
48
|
*/
|
|
49
49
|
getFilterFromFormValue(formFilterValue) {
|
|
50
50
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -66,7 +66,7 @@ class NumberFilterHelpers {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* getlabels devuelve las etiquetas para el filtro.
|
|
70
70
|
*/
|
|
71
71
|
getLabels(filter, getLabel, _formatters, _field) {
|
|
72
72
|
let labelOperands;
|
|
@@ -82,7 +82,7 @@ class NumberFilterHelpers {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* getSchema devuelve el esquema de validación para el filtro.
|
|
86
86
|
*/
|
|
87
87
|
getSchema(getLabel) {
|
|
88
88
|
return Yup.object({
|
|
@@ -97,7 +97,7 @@ class NumberFilterHelpers {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* verifyFilter verifica si el filtro es válido.
|
|
101
101
|
*/
|
|
102
102
|
verifyFilter(filter, _field) {
|
|
103
103
|
if (typeof filter.operator !== "number") {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useModuleDictionary } from "@m4l/core";
|
|
2
3
|
import { useMemo } from "react";
|
|
3
4
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
4
|
-
import { useModuleDictionary } from "@m4l/core";
|
|
5
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
6
5
|
import { N as NUMBER_OPERATORS } from "../../../constants.js";
|
|
6
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
7
7
|
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/RHFAutocomplete.js";
|
|
8
8
|
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/RHFTextField.js";
|
|
9
9
|
function NumberFilter() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
2
|
import { Formatters } from '@m4l/graphics';
|
|
3
|
+
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, FormFilterValueSelectAsync, FormOperandSelectAsync, InitialFilterApplied } from '../../../types';
|
|
3
4
|
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
4
|
-
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, InitialFilterApplied, FormFilterValueSelectAsync, FormOperandSelectAsync } from '../../../types';
|
|
5
5
|
import { SelectAsyncFilter } from './index';
|
|
6
6
|
/**
|
|
7
7
|
* Filtra los valores de operandArray para que solo tengan valores validos
|
|
@@ -11,32 +11,32 @@ import { SelectAsyncFilter } from './index';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function filterValidOperandsArraySelectAsync(operandsArray: FormOperandSelectAsync[] | FormOperandSelectAsync, field: FilterField): any[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* SelectAsyncFilterHelpers es una clase que implementa la interfaz IFieldType
|
|
15
15
|
*/
|
|
16
16
|
export declare class SelectAsyncFilterHelpers implements IFieldType<FormFilterValueSelectAsync> {
|
|
17
17
|
getComponent(): typeof SelectAsyncFilter;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de selección asíncrona.
|
|
20
20
|
*/
|
|
21
21
|
getDefaultFilter(field: FilterField, fixed: boolean): FilterFieldApplied;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
24
24
|
*/
|
|
25
25
|
getFormValue(field: FilterField, getLabel: GetLabelType, filterValueSelect?: FilterValue): FormFilterValueSelectAsync;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
28
28
|
*/
|
|
29
29
|
getFilterFromFormValue(formFilterValue: FormFilterValueSelectAsync): FilterValue;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* getLabels devuelve las etiquetas para el campo, operador y operandos.
|
|
32
32
|
*/
|
|
33
33
|
getLabels(filter: FilterFieldApplied, getLabel: GetLabelType, _formatters: Formatters, field: FilterField): DataTypeFilerLabels;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* getschema devuelve el esquema de validación de Yup para el filtro.
|
|
36
36
|
*/
|
|
37
37
|
getSchema(getLabel: GetLabelType): YupSchema;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* verifyFilter verifica si el filtro es válido.
|
|
40
40
|
*/
|
|
41
41
|
verifyFilter(filter: InitialFilterApplied, field?: FilterField): boolean;
|
|
42
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
+
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
2
3
|
import { g as getDynamicFilterDictionary } from "../../../dictionary.js";
|
|
3
4
|
import { S as SelectAsyncFilter } from "./index.js";
|
|
4
|
-
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
5
5
|
function filterValidOperandsArraySelectAsync(operandsArray, field) {
|
|
6
6
|
const operandsArrayFormatted = Array.isArray(operandsArray) ? operandsArray : [operandsArray];
|
|
7
7
|
const getOptionId = field?.selectAsyncOptions?.getOptionId;
|
|
@@ -15,7 +15,7 @@ class SelectAsyncFilterHelpers {
|
|
|
15
15
|
return SelectAsyncFilter;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de selección asíncrona.
|
|
19
19
|
*/
|
|
20
20
|
getDefaultFilter(field, fixed) {
|
|
21
21
|
const defaultOperand = field.defaultOperandsArray;
|
|
@@ -35,7 +35,7 @@ class SelectAsyncFilterHelpers {
|
|
|
35
35
|
return defaultFilter;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
39
39
|
*/
|
|
40
40
|
getFormValue(field, getLabel, filterValueSelect) {
|
|
41
41
|
const filterValue = filterValueSelect ? filterValueSelect : void 0;
|
|
@@ -52,7 +52,7 @@ class SelectAsyncFilterHelpers {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
56
56
|
*/
|
|
57
57
|
getFilterFromFormValue(formFilterValue) {
|
|
58
58
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -64,7 +64,7 @@ class SelectAsyncFilterHelpers {
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* getLabels devuelve las etiquetas para el campo, operador y operandos.
|
|
68
68
|
*/
|
|
69
69
|
getLabels(filter, getLabel, _formatters, field) {
|
|
70
70
|
const operandsArray = filter.operandsArray;
|
|
@@ -79,7 +79,7 @@ class SelectAsyncFilterHelpers {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* getschema devuelve el esquema de validación de Yup para el filtro.
|
|
83
83
|
*/
|
|
84
84
|
getSchema(getLabel) {
|
|
85
85
|
return Yup.object({
|
|
@@ -90,7 +90,7 @@ class SelectAsyncFilterHelpers {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* verifyFilter verifica si el filtro es válido.
|
|
94
94
|
*/
|
|
95
95
|
verifyFilter(filter, field) {
|
|
96
96
|
if (typeof filter.operator !== "string") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
4
|
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
5
5
|
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
6
6
|
import { u as useDynamicFilterStore } from "../../../store/useDynamicFilterStore.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
2
|
import { Formatters } from '@m4l/graphics';
|
|
3
|
+
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, FormFilterValueSelect, FormOperandSelect, InitialFilterApplied } from '../../../types';
|
|
3
4
|
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
4
|
-
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, InitialFilterApplied, FormFilterValueSelect, FormOperandSelect } from '../../../types';
|
|
5
5
|
import { SelectFilter } from './index';
|
|
6
6
|
/**
|
|
7
7
|
* Filtra los valores de operandArray para que solo tengan valores validos
|
|
@@ -11,12 +11,12 @@ import { SelectFilter } from './index';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function filterValidOperandsArraySelect(operandsArray: FormOperandSelect[] | FormOperandSelect, _field: FilterField): (string | number)[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* SelectFilterHelpers es una clase que implementa la interfaz IFieldType
|
|
15
15
|
*/
|
|
16
16
|
export declare class SelectFilterHelpers implements IFieldType<FormFilterValueSelect> {
|
|
17
17
|
getComponent(): typeof SelectFilter;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de selección.
|
|
20
20
|
*/
|
|
21
21
|
getDefaultFilter(field: FilterField, fixed: boolean): FilterFieldApplied;
|
|
22
22
|
/**
|
|
@@ -24,15 +24,15 @@ export declare class SelectFilterHelpers implements IFieldType<FormFilterValueSe
|
|
|
24
24
|
*/
|
|
25
25
|
getFormValue(field: FilterField, getLabel: GetLabelType, filterValueSelect?: FilterValue): FormFilterValueSelect;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
28
28
|
*/
|
|
29
29
|
getFilterFromFormValue(formFilterValue: FormFilterValueSelect): FilterValue;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* getLabels devuelve las etiquetas para el filtro de selección.
|
|
32
32
|
*/
|
|
33
33
|
getLabels(filter: FilterFieldApplied, getLabel: GetLabelType, _formatters: Formatters, field: FilterField): DataTypeFilerLabels;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* getSchema devuelve el esquema de validación de Yup para un filtro de selección.
|
|
36
36
|
*/
|
|
37
37
|
getSchema(getLabel: GetLabelType): YupSchema;
|
|
38
38
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
+
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
2
3
|
import { g as getDynamicFilterDictionary } from "../../../dictionary.js";
|
|
3
4
|
import { S as SelectFilter } from "./index.js";
|
|
4
|
-
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
5
5
|
function filterValidOperandsArraySelect(operandsArray, _field) {
|
|
6
6
|
const operandsArrayFormatted = Array.isArray(operandsArray) ? operandsArray : [operandsArray];
|
|
7
7
|
return operandsArrayFormatted?.filter((operand) => {
|
|
@@ -13,7 +13,7 @@ class SelectFilterHelpers {
|
|
|
13
13
|
return SelectFilter;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de selección.
|
|
17
17
|
*/
|
|
18
18
|
getDefaultFilter(field, fixed) {
|
|
19
19
|
const defaultOperand = field.defaultOperandsArray;
|
|
@@ -50,7 +50,7 @@ class SelectFilterHelpers {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
54
54
|
*/
|
|
55
55
|
getFilterFromFormValue(formFilterValue) {
|
|
56
56
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -62,7 +62,7 @@ class SelectFilterHelpers {
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* getLabels devuelve las etiquetas para el filtro de selección.
|
|
66
66
|
*/
|
|
67
67
|
getLabels(filter, getLabel, _formatters, field) {
|
|
68
68
|
const operandsArray = filter.operandsArray;
|
|
@@ -77,7 +77,7 @@ class SelectFilterHelpers {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* getSchema devuelve el esquema de validación de Yup para un filtro de selección.
|
|
81
81
|
*/
|
|
82
82
|
getSchema(getLabel) {
|
|
83
83
|
return Yup.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
4
|
import { S as SELECT_OPERATORS } from "../../../constants.js";
|
|
5
5
|
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
6
6
|
import { u as useDynamicFilterStore } from "../../../store/useDynamicFilterStore.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { GetLabelType } from '@m4l/core';
|
|
2
2
|
import { Formatters } from '@m4l/graphics';
|
|
3
|
+
import { DataTypeFilerLabels, FilterField, FilterFieldApplied, FilterValue, FormFilterValueString, InitialFilterApplied } from '../../../types';
|
|
3
4
|
import { IFieldType, YupSchema } from '../FieldTypeInterface';
|
|
4
|
-
import { FilterFieldApplied, FormFilterValueString, FilterField, DataTypeFilerLabels, FilterValue, InitialFilterApplied } from '../../../types';
|
|
5
5
|
import { StringFilter } from './index';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* StringFilterHelpers es una clase que implementa la interfaz IFieldType
|
|
8
8
|
*/
|
|
9
9
|
export declare class StringFilterHelpers implements IFieldType<FormFilterValueString> {
|
|
10
10
|
getComponent(): typeof StringFilter;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de cadena.
|
|
13
13
|
*/
|
|
14
14
|
getDefaultFilter(field: FilterField, fixed: boolean): FilterFieldApplied;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
17
17
|
*/
|
|
18
18
|
getFilterFromFormValue(formFilterValue: FormFilterValueString): FilterValue;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
21
21
|
*/
|
|
22
22
|
getFormValue(field: FilterField, getLabel: GetLabelType, filterValue?: FilterValue): FormFilterValueString;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* getLabels devuelve las etiquetas para el filtro de cadena.
|
|
25
25
|
*/
|
|
26
26
|
getLabels(filter: FilterFieldApplied, getLabel: GetLabelType, _formatters: Formatters, _field: FilterField): DataTypeFilerLabels;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* getSchema devuelve el esquema de validación para el filtro de cadena.
|
|
29
29
|
*/
|
|
30
30
|
getSchema(getLabel: GetLabelType): YupSchema;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* getFilterValue devuelve el valor del filtro.
|
|
33
33
|
*/
|
|
34
34
|
verifyFilter(filter: InitialFilterApplied, _field?: FilterField): boolean;
|
|
35
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
3
2
|
import { c as STRING_OPERATORS } from "../../../constants.js";
|
|
3
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.js";
|
|
4
4
|
import { S as StringFilter } from "./index.js";
|
|
5
5
|
class StringFilterHelpers {
|
|
6
6
|
getComponent() {
|
|
7
7
|
return StringFilter;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* getDefaultFilter devuelve un filtro por defecto para un campo de cadena.
|
|
11
11
|
*/
|
|
12
12
|
getDefaultFilter(field, fixed) {
|
|
13
13
|
const defaultOperand1 = field.defaultOperand1;
|
|
@@ -26,7 +26,7 @@ class StringFilterHelpers {
|
|
|
26
26
|
return defaultFilter;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* getFilterFromFormValue convierte un valor de formulario en un valor de filtro.
|
|
30
30
|
*/
|
|
31
31
|
getFilterFromFormValue(formFilterValue) {
|
|
32
32
|
const operator = formFilterValue.formValueOperator.id;
|
|
@@ -38,7 +38,7 @@ class StringFilterHelpers {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* getFormValue convierte un valor de filtro en un valor de formulario.
|
|
42
42
|
*/
|
|
43
43
|
getFormValue(field, getLabel, filterValue) {
|
|
44
44
|
const filterValueString = filterValue;
|
|
@@ -54,7 +54,7 @@ class StringFilterHelpers {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* getLabels devuelve las etiquetas para el filtro de cadena.
|
|
58
58
|
*/
|
|
59
59
|
getLabels(filter, getLabel, _formatters, _field) {
|
|
60
60
|
const labelOperands = filter.operand1 !== void 0 ? filter.operand1 + "" : "";
|
|
@@ -65,7 +65,7 @@ class StringFilterHelpers {
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* getSchema devuelve el esquema de validación para el filtro de cadena.
|
|
69
69
|
*/
|
|
70
70
|
getSchema(getLabel) {
|
|
71
71
|
return Yup.object({
|
|
@@ -76,7 +76,7 @@ class StringFilterHelpers {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* getFilterValue devuelve el valor del filtro.
|
|
80
80
|
*/
|
|
81
81
|
verifyFilter(filter, _field) {
|
|
82
82
|
if (typeof filter.operator !== "string") {
|