@charlesgomes/leafcode-shared-lib-react 1.0.82 → 1.0.83
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/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +13 -10
- package/dist/index.mjs +13 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,10 +2,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { ReactNode as ReactNode$1, InputHTMLAttributes, JSX } from 'react';
|
|
4
4
|
import { FieldError } from 'react-hook-form';
|
|
5
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
6
|
-
export { FilterMatchMode, FilterOperator } from 'primereact/api';
|
|
7
5
|
export { DataTableProps } from 'primereact/datatable';
|
|
8
6
|
export { ColumnProps } from 'primereact/column';
|
|
7
|
+
export { FilterMatchMode, FilterOperator } from 'primereact/api';
|
|
9
8
|
|
|
10
9
|
interface ButtonProps {
|
|
11
10
|
disabled?: boolean;
|
|
@@ -228,9 +227,9 @@ declare const getDefaultFilterMatchOptionsNumber: (isLanguagePtBr?: boolean, isN
|
|
|
228
227
|
label: string;
|
|
229
228
|
value: string;
|
|
230
229
|
}[];
|
|
231
|
-
declare const getDefaultFilterMatchOptionsStringArray: (isLanguagePtBr?: boolean) => {
|
|
230
|
+
declare const getDefaultFilterMatchOptionsStringArray: (isLanguagePtBr?: boolean, isNullable?: boolean) => {
|
|
232
231
|
label: string;
|
|
233
|
-
value:
|
|
232
|
+
value: string;
|
|
234
233
|
}[];
|
|
235
234
|
declare const getDefaultFilterMatchOptionsDate: (isLanguagePtBr: boolean, isNullable?: boolean) => {
|
|
236
235
|
label: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { ReactNode as ReactNode$1, InputHTMLAttributes, JSX } from 'react';
|
|
4
4
|
import { FieldError } from 'react-hook-form';
|
|
5
|
-
import { FilterMatchMode } from 'primereact/api';
|
|
6
|
-
export { FilterMatchMode, FilterOperator } from 'primereact/api';
|
|
7
5
|
export { DataTableProps } from 'primereact/datatable';
|
|
8
6
|
export { ColumnProps } from 'primereact/column';
|
|
7
|
+
export { FilterMatchMode, FilterOperator } from 'primereact/api';
|
|
9
8
|
|
|
10
9
|
interface ButtonProps {
|
|
11
10
|
disabled?: boolean;
|
|
@@ -228,9 +227,9 @@ declare const getDefaultFilterMatchOptionsNumber: (isLanguagePtBr?: boolean, isN
|
|
|
228
227
|
label: string;
|
|
229
228
|
value: string;
|
|
230
229
|
}[];
|
|
231
|
-
declare const getDefaultFilterMatchOptionsStringArray: (isLanguagePtBr?: boolean) => {
|
|
230
|
+
declare const getDefaultFilterMatchOptionsStringArray: (isLanguagePtBr?: boolean, isNullable?: boolean) => {
|
|
232
231
|
label: string;
|
|
233
|
-
value:
|
|
232
|
+
value: string;
|
|
234
233
|
}[];
|
|
235
234
|
declare const getDefaultFilterMatchOptionsDate: (isLanguagePtBr: boolean, isNullable?: boolean) => {
|
|
236
235
|
label: string;
|
package/dist/index.js
CHANGED
|
@@ -1964,16 +1964,19 @@ var getDefaultFilterMatchOptionsNumber = (isLanguagePtBr = true, isNullable = tr
|
|
|
1964
1964
|
];
|
|
1965
1965
|
return isNullable ? [...baseOptions, ...getNullable(isLanguagePtBr)] : baseOptions;
|
|
1966
1966
|
};
|
|
1967
|
-
var getDefaultFilterMatchOptionsStringArray = (isLanguagePtBr = true) =>
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1967
|
+
var getDefaultFilterMatchOptionsStringArray = (isLanguagePtBr = true, isNullable = true) => {
|
|
1968
|
+
const baseOptions = [
|
|
1969
|
+
{
|
|
1970
|
+
label: isLanguagePtBr ? "Cont\xE9m" : "Contains",
|
|
1971
|
+
value: import_api3.FilterMatchMode.CONTAINS
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
label: isLanguagePtBr ? "N\xE3o cont\xE9m" : "Does not contain",
|
|
1975
|
+
value: import_api3.FilterMatchMode.NOT_CONTAINS
|
|
1976
|
+
}
|
|
1977
|
+
];
|
|
1978
|
+
return isNullable ? [...baseOptions, ...getNullable(isLanguagePtBr)] : baseOptions;
|
|
1979
|
+
};
|
|
1977
1980
|
var getDefaultFilterMatchOptionsDate = (isLanguagePtBr, isNullable = true) => {
|
|
1978
1981
|
const baseOptions = [
|
|
1979
1982
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -1914,16 +1914,19 @@ var getDefaultFilterMatchOptionsNumber = (isLanguagePtBr = true, isNullable = tr
|
|
|
1914
1914
|
];
|
|
1915
1915
|
return isNullable ? [...baseOptions, ...getNullable(isLanguagePtBr)] : baseOptions;
|
|
1916
1916
|
};
|
|
1917
|
-
var getDefaultFilterMatchOptionsStringArray = (isLanguagePtBr = true) =>
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1917
|
+
var getDefaultFilterMatchOptionsStringArray = (isLanguagePtBr = true, isNullable = true) => {
|
|
1918
|
+
const baseOptions = [
|
|
1919
|
+
{
|
|
1920
|
+
label: isLanguagePtBr ? "Cont\xE9m" : "Contains",
|
|
1921
|
+
value: FilterMatchMode3.CONTAINS
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
label: isLanguagePtBr ? "N\xE3o cont\xE9m" : "Does not contain",
|
|
1925
|
+
value: FilterMatchMode3.NOT_CONTAINS
|
|
1926
|
+
}
|
|
1927
|
+
];
|
|
1928
|
+
return isNullable ? [...baseOptions, ...getNullable(isLanguagePtBr)] : baseOptions;
|
|
1929
|
+
};
|
|
1927
1930
|
var getDefaultFilterMatchOptionsDate = (isLanguagePtBr, isNullable = true) => {
|
|
1928
1931
|
const baseOptions = [
|
|
1929
1932
|
{
|