@charlesgomes/leafcode-shared-lib-react 1.0.0

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.
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16.6925 7.94254L10.4425 14.1926C10.3845 14.2507 10.3156 14.2968 10.2397 14.3282C10.1638 14.3597 10.0825 14.3759 10.0003 14.3759C9.91821 14.3759 9.83689 14.3597 9.76101 14.3282C9.68514 14.2968 9.61621 14.2507 9.55816 14.1926L3.30816 7.94254C3.19089 7.82526 3.125 7.6662 3.125 7.50035C3.125 7.3345 3.19089 7.17544 3.30816 7.05816C3.42544 6.94089 3.5845 6.875 3.75035 6.875C3.9162 6.875 4.07526 6.94089 4.19254 7.05816L10.0003 12.8668L15.8082 7.05816C15.8662 7.00009 15.9352 6.95403 16.011 6.92261C16.0869 6.89118 16.1682 6.875 16.2504 6.875C16.3325 6.875 16.4138 6.89118 16.4897 6.92261C16.5655 6.95403 16.6345 7.00009 16.6925 7.05816C16.7506 7.11623 16.7967 7.18517 16.8281 7.26104C16.8595 7.33691 16.8757 7.41823 16.8757 7.50035C16.8757 7.58247 16.8595 7.66379 16.8281 7.73966C16.7967 7.81553 16.7506 7.88447 16.6925 7.94254Z" fill="black"/>
3
+ </svg>
package/dist/index.css ADDED
@@ -0,0 +1,462 @@
1
+ /* src/styles/table.css */
2
+ .disablePagination {
3
+ display: grid;
4
+ margin-bottom: 0.75rem;
5
+ gap: 0.25rem;
6
+ }
7
+ .paginatorLeft {
8
+ display: flex;
9
+ align-items: center;
10
+ gap: 10px;
11
+ }
12
+ .tableClassName {
13
+ font-weight: 500;
14
+ font-size: 0.875rem;
15
+ }
16
+ .paginatorClassName {
17
+ padding: 0 0 0.75rem 0;
18
+ font-weight: 500;
19
+ font-size: 0.875rem;
20
+ }
21
+ .custom-input {
22
+ font-weight: 500;
23
+ font-size: 0.875rem;
24
+ color: #1c1c1c;
25
+ padding: 0 1.25rem;
26
+ width: 13rem;
27
+ height: 2rem;
28
+ border: 1px solid #dadada;
29
+ border-radius: 0.375rem;
30
+ }
31
+ .custom-input:focus {
32
+ border: 1px solid #175dbf;
33
+ box-shadow: none;
34
+ }
35
+ .custom-input::placeholder {
36
+ color: #a5a5a5;
37
+ }
38
+ .PrevPage,
39
+ .NextPage {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ width: 1.75rem;
44
+ height: 1.9rem;
45
+ border-radius: 0.375rem;
46
+ }
47
+ .PrevPageDisabled,
48
+ .NextPageDisabled {
49
+ background-color: #191919;
50
+ opacity: 0.1;
51
+ cursor: not-allowed;
52
+ }
53
+ .PrevPageEnabled,
54
+ .NextPageEnabled {
55
+ background-color: #272b2e;
56
+ cursor: pointer;
57
+ }
58
+ .PrevPageEnabled:hover,
59
+ .NextPageEnabled:hover {
60
+ background-color: #175dbf;
61
+ }
62
+ .pageReport {
63
+ font-weight: 500;
64
+ font-size: 0.875rem;
65
+ color: #191919;
66
+ padding: 0 0.5rem;
67
+ }
68
+ .custom-select {
69
+ max-width: 6rem;
70
+ max-height: 34px;
71
+ margin-inline-end: 1rem;
72
+ }
73
+ @media (min-width: 640px) {
74
+ .custom-select {
75
+ margin-inline-end: 2rem;
76
+ }
77
+ }
78
+ .custom-select-filtro {
79
+ height: 2rem;
80
+ font-weight: 500;
81
+ font-size: 0.875rem;
82
+ }
83
+ .mensagem-nenhum-dado {
84
+ text-align: center;
85
+ font-weight: 500;
86
+ padding: 2rem 0;
87
+ color: #191919;
88
+ }
89
+ .p-button.p-button-outlined {
90
+ background-color: transparent;
91
+ color: transparent;
92
+ border: 1px solid;
93
+ padding: 0;
94
+ }
95
+ .p-button {
96
+ color: #ffffff;
97
+ background: transparent;
98
+ border: 1px solid transparent;
99
+ padding: 0;
100
+ }
101
+ table {
102
+ border-collapse: separate;
103
+ }
104
+ th {
105
+ border-top: 1px solid #edf0f2;
106
+ border-bottom: 1px solid #edf0f2;
107
+ border-left: 1px solid #edf0f2;
108
+ padding: 0 14px;
109
+ font-size: 14px;
110
+ font-family: "Roboto", sans-serif;
111
+ font-weight: bold;
112
+ color: #373737;
113
+ }
114
+ td {
115
+ border-bottom: 1px solid #edf0f2;
116
+ border-left: 1px solid #edf0f2;
117
+ padding: 5px 14px;
118
+ }
119
+ .p-datatable .p-datatable-header {
120
+ background: transparent;
121
+ }
122
+ .react-flow__node.draggable {
123
+ color: #fff !important;
124
+ }
125
+ .react-flow__controls-button {
126
+ color: #fff !important;
127
+ }
128
+ .custom-select {
129
+ appearance: none;
130
+ -webkit-appearance: none;
131
+ -moz-appearance: none;
132
+ background: #fff url("./seta-T37FWQKV.svg") no-repeat right 6px center;
133
+ padding-right: 2rem;
134
+ }
135
+ .react-tooltip {
136
+ z-index: 99 !important;
137
+ }
138
+ .p-paginator-left-content {
139
+ flex: 1;
140
+ }
141
+ .p-paginator {
142
+ padding: 0.5rem 0 !important;
143
+ border: 0;
144
+ }
145
+ th {
146
+ background-color: #f7f7f7;
147
+ font-weight: bold;
148
+ }
149
+ .p-datatable .p-datatable-tbody > tr {
150
+ background: #fff;
151
+ color: #000;
152
+ font-family: "roboto", sans-serif;
153
+ font-weight: 500;
154
+ }
155
+ .p-checkbox .p-checkbox-box {
156
+ width: 18px;
157
+ height: 18px;
158
+ border: 1px solid #094394 !important;
159
+ border-radius: 4px !important;
160
+ background-color: #fff;
161
+ }
162
+ .p-checkbox.p-highlight .p-checkbox-box {
163
+ border-color: #094394;
164
+ background: #094394;
165
+ }
166
+ .p-checkbox {
167
+ width: 18px;
168
+ height: 18px;
169
+ }
170
+ .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover).p-highlight .p-checkbox-box {
171
+ border-color: #094394;
172
+ background: #094394;
173
+ color: #ffffff;
174
+ }
175
+ .p-datatable .p-datatable-tbody > tr.p-highlight {
176
+ background: #fafbfc;
177
+ }
178
+ .p-dropdown {
179
+ background-color: #fff;
180
+ border: 1px solid #e1e1e6;
181
+ height: 2.5rem;
182
+ display: flex;
183
+ align-items: center;
184
+ margin-bottom: 10px;
185
+ box-shadow: none;
186
+ }
187
+ .p-dropdown-label,
188
+ .p-dropdown-item-label {
189
+ font-size: 14px;
190
+ font-family: "roboto", sans-serif;
191
+ font-weight: bold;
192
+ padding: 0 1rem 0 1rem;
193
+ }
194
+ .p-dropdown-item-label {
195
+ padding: 6px 1rem;
196
+ font-weight: 500;
197
+ }
198
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item {
199
+ margin: 0;
200
+ padding: 0;
201
+ border-radius: 0;
202
+ }
203
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-focus {
204
+ background: #094394;
205
+ color: #fff;
206
+ padding: 0;
207
+ }
208
+ .p-column-filter-overlay {
209
+ background-color: #fff !important;
210
+ border: none !important;
211
+ padding: 1rem !important;
212
+ box-shadow: 0px 22px 20px rgba(0, 0, 0, 0.3) !important;
213
+ }
214
+ .p-column-filter-overlay-menu .p-column-filter-operator {
215
+ padding: 0.75rem 0;
216
+ border-bottom: 1px solid #e1e1e6;
217
+ color: #252525;
218
+ background: #fff;
219
+ }
220
+ .p-column-filter-overlay-menu .p-column-filter-constraint {
221
+ padding: 1.25rem 0;
222
+ border-bottom: 1px solid #e1e1e6;
223
+ }
224
+ .p-column-filter {
225
+ font-family: "Roboto", sans-serif;
226
+ font-weight: 500;
227
+ margin-top: 0.25rem;
228
+ transition: all 0.3s ease-in-out;
229
+ border: 1px solid #e1e1e6;
230
+ background-color: v#1A1D22;
231
+ color: #fff;
232
+ padding-left: 0.75rem;
233
+ padding-right: 0.75rem;
234
+ width: 100%;
235
+ height: 2.5rem;
236
+ border-radius: 0.375rem;
237
+ font-size: 13px;
238
+ box-shadow: none;
239
+ }
240
+ .p-column-filter::placeholder {
241
+ color: #a5a5a5;
242
+ }
243
+ .p-column-filter:hover,
244
+ .p-column-filter:focus {
245
+ border-color: #094394;
246
+ }
247
+ .p-column-filter-menu {
248
+ background-color: transparent;
249
+ border: none;
250
+ border-radius: 0;
251
+ width: auto;
252
+ height: auto;
253
+ padding-left: initial;
254
+ padding-right: initial;
255
+ }
256
+ .p-column-filter-menu-button {
257
+ width: 1.5rem;
258
+ height: 1.5rem;
259
+ }
260
+ .p-column-filter-menu-button {
261
+ padding: 6px;
262
+ position: relative;
263
+ top: -2px;
264
+ }
265
+ .p-column-filter-menu-button.p-column-filter-menu-button-active {
266
+ background-color: #094394;
267
+ color: #ffffff;
268
+ padding: 6px;
269
+ margin-left: 4px;
270
+ }
271
+ th:has(.p-column-filter-menu-button.p-column-filter-menu-button-active) .p-icon.p-sortable-column-icon {
272
+ background-color: #094394;
273
+ color: #ffffff !important;
274
+ padding: 6px;
275
+ margin-left: 4px;
276
+ width: 1.5rem;
277
+ height: 1.5rem;
278
+ border-radius: 5rem;
279
+ }
280
+ [aria-sort=ascending] .p-sortable-column-icon,
281
+ [aria-sort=descending] .p-sortable-column-icon {
282
+ background-color: #094394;
283
+ color: #ffffff !important;
284
+ padding: 6px;
285
+ margin-left: 4px;
286
+ width: 1.5rem;
287
+ height: 1.5rem;
288
+ border-radius: 5rem;
289
+ }
290
+ .p-icon {
291
+ width: 12px;
292
+ height: 12px;
293
+ }
294
+ .p-column-title {
295
+ flex: 1;
296
+ }
297
+ .p-column-filter-add-button {
298
+ font-family: "Roboto", sans-serif;
299
+ font-weight: 500;
300
+ font-size: 12px;
301
+ color: #008236;
302
+ box-shadow: none;
303
+ display: flex;
304
+ gap: 8px;
305
+ padding: 10px 0;
306
+ }
307
+ .p-column-filter-add-button > svg {
308
+ width: 12px;
309
+ height: 12px;
310
+ }
311
+ .p-column-filter,
312
+ .p-sortable-column-icon {
313
+ color: #000 !important;
314
+ }
315
+ .p-column-filter-overlay-menu .p-column-filter-buttonbar {
316
+ padding: 1.25rem 0;
317
+ }
318
+ .p-column-filter-buttonbar .p-c {
319
+ font-family: "Roboto", sans-serif;
320
+ font-weight: 500;
321
+ font-size: 13px;
322
+ color: #fff;
323
+ background-color: #1b3540;
324
+ padding: 4px 10px;
325
+ border-radius: 4px;
326
+ }
327
+ .p-column-filter-buttonbar .p-c:hover {
328
+ background-color: #094394;
329
+ }
330
+ .p-component .p-button-outlined,
331
+ .p-button-sm {
332
+ box-shadow: none;
333
+ }
334
+ .p-column-filter-remove-button {
335
+ font-family: "Roboto", sans-serif;
336
+ font-weight: 500;
337
+ font-size: 12px;
338
+ color: #f35353;
339
+ box-shadow: none;
340
+ display: flex;
341
+ gap: 8px;
342
+ padding: 10px 0 0 0;
343
+ }
344
+ .p-column-filter-remove-button > svg {
345
+ width: 12px;
346
+ height: 12px;
347
+ }
348
+ .p-datatable .p-datatable-loading-overlay {
349
+ position: fixed;
350
+ display: flex;
351
+ align-items: center;
352
+ justify-content: center;
353
+ z-index: 99;
354
+ }
355
+ .NextPage > svg,
356
+ .PrevPage > svg {
357
+ fill: #fff;
358
+ }
359
+ .box-row-table {
360
+ position: relative;
361
+ }
362
+ .box-icones-table-actions {
363
+ display: flex;
364
+ }
365
+ .enable-button-table-actions {
366
+ display: flex;
367
+ align-items: center;
368
+ justify-content: center;
369
+ width: 1.75rem;
370
+ height: 1.75rem;
371
+ color: #1c1c1c;
372
+ background-color: transparent;
373
+ cursor: pointer;
374
+ border-radius: 9999px;
375
+ border: 0;
376
+ transition: all 0.3s ease-in-out;
377
+ }
378
+ .enable-button-table-actions:hover {
379
+ color: #fff;
380
+ background-color: #175dbf;
381
+ }
382
+ .disable-button-table-actions {
383
+ color: #1c1c1c;
384
+ border-radius: 9999px;
385
+ cursor: not-allowed;
386
+ transition: all 0.3s ease-in-out;
387
+ opacity: 0.2;
388
+ }
389
+ .disable-button-table-actions:hover {
390
+ color: #1c1c1c;
391
+ background-color: transparent;
392
+ }
393
+ .box-row-table .box-icones-actions-column {
394
+ opacity: 0;
395
+ transition: opacity 0.2s ease;
396
+ }
397
+ .box-row-table:hover .box-icones-actions-column {
398
+ opacity: 1;
399
+ }
400
+ .box-icones-actions-column {
401
+ position: absolute;
402
+ padding: 0.125rem;
403
+ width: fit-content;
404
+ height: fit-content;
405
+ margin: auto;
406
+ inset: 0;
407
+ display: flex;
408
+ align-items: center;
409
+ justify-content: center;
410
+ opacity: 0;
411
+ gap: 0.25rem;
412
+ transition: opacity 0.2s ease;
413
+ }
414
+ .box-icones-actions-column:hover {
415
+ opacity: 1;
416
+ }
417
+ .btn-icone-actions-column {
418
+ color: #1c1c1c;
419
+ cursor: pointer;
420
+ padding: 0;
421
+ border: 0;
422
+ width: 1.5rem;
423
+ height: 1.5rem;
424
+ display: flex;
425
+ align-items: center;
426
+ justify-content: center;
427
+ border-radius: 10rem;
428
+ transition: all 0.3s ease-in-out;
429
+ }
430
+ .btn-icone-actions-column:hover {
431
+ color: #ffffff;
432
+ background-color: #175dbf;
433
+ }
434
+ .tooltip-custom {
435
+ font-weight: 500;
436
+ font-size: 13px;
437
+ }
438
+ @media (max-width: 767px) {
439
+ .p-paginator-left-content {
440
+ min-width: 100vw;
441
+ margin-bottom: 8px;
442
+ }
443
+ .p-paginator-top {
444
+ display: flex;
445
+ align-items: flex-start;
446
+ justify-content: flex-start;
447
+ }
448
+ .pageReport {
449
+ position: relative;
450
+ top: 10px !important;
451
+ }
452
+ .PrevPage,
453
+ .NextPage {
454
+ position: relative;
455
+ top: 4px !important;
456
+ }
457
+ .disablePagination,
458
+ .paginatorLeft {
459
+ display: flex;
460
+ gap: 1rem;
461
+ }
462
+ }
@@ -0,0 +1,89 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { FilterMatchMode } from 'primereact/api';
3
+ export { FilterMatchMode, FilterOperator } from 'primereact/api';
4
+ export { DataTableProps } from 'primereact/datatable';
5
+ export { ColumnProps } from 'primereact/column';
6
+
7
+ type BotaoProps = {
8
+ label: string;
9
+ onClick?: () => void;
10
+ disabled?: boolean;
11
+ };
12
+ declare function Botao({ label, onClick, disabled }: BotaoProps): react_jsx_runtime.JSX.Element;
13
+
14
+ type IDataTableProps<T extends object> = {
15
+ queryKey: string;
16
+ mutationFn: (
17
+ page: number,
18
+ limit: number,
19
+ sort: string,
20
+ order: number,
21
+ filters: DataTableFilterMeta,
22
+ globalFilterFields: string[]
23
+ ) => Promise<PaginatedResponse<T>>;
24
+ columns: ColumnCustom<T>[];
25
+ initFilters: DataTableFilterMeta;
26
+ onNew?: () => void;
27
+ onEdit?: (selected: T[]) => void;
28
+ onDelete?: (selected: T[]) => void;
29
+ customActions?: TableAction<T>[] | ((selectedRows: T[]) => TableAction<T>[]);
30
+ customActionsColums?:
31
+ | TableAction<T>[]
32
+ | ((selectedRows: T[]) => TableAction<T>[]);
33
+ disablePagination?: boolean;
34
+ sortFieldInitial: string;
35
+ sortOrderInitial?: 1 | -1;
36
+ isMultiSelectionMode?: boolean;
37
+ isLanguagePtBr?: boolean;
38
+ };
39
+
40
+ interface PaginatedResponse<T> {
41
+ items: T[];
42
+ totalCount: number;
43
+ }
44
+
45
+ interface ColumnCustom<T> {
46
+ field: keyof T | "acoes" | string; // "acoes" não existe no User, então adicionamos manualmente
47
+ header: string;
48
+ enableSorting?: boolean;
49
+ size?: number;
50
+ dataType?: "boolean" | "string" | "date" | "dateTime" | "numeric";
51
+ filterGlobal?: boolean;
52
+ filterElement?: ReactNode;
53
+ filterMatchModeOptions?: {
54
+ label: string;
55
+ value: FilterMatchModeType | string;
56
+ }[];
57
+ body?: (rowData: T) => ReactNode;
58
+ enableResizeable?: boolean;
59
+ enableFilter?: boolean;
60
+ mask?: (value: any) => any;
61
+ filterClear?: () => void;
62
+ filterApply?: () => void;
63
+ filterFooter?: () => void;
64
+ frozen?: boolean;
65
+ alignFrozen?: "left" | "right";
66
+ }
67
+
68
+ declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
69
+
70
+ declare const DateFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
71
+ declare const DateTimeFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
72
+ declare const ValueFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
73
+ declare const SelectFilterTemplate: (options: any, isLanguagePtBr?: boolean) => react_jsx_runtime.JSX.Element;
74
+
75
+ declare const getDefaultFilterMatchOptionsString: (isLanguagePtBr?: boolean) => {
76
+ label: string;
77
+ value: string;
78
+ }[];
79
+ declare const getDefaultFilterMatchOptionsDate: (isLanguagePtBr: boolean) => {
80
+ label: string;
81
+ value: FilterMatchMode;
82
+ }[];
83
+
84
+ interface IItemProps {
85
+ value: string;
86
+ label: string;
87
+ }
88
+
89
+ export { Botao, type BotaoProps, type ColumnCustom, DataTableAdvancedFilter, DateFilterTemplate, DateTimeFilterTemplate, type IDataTableProps, type IItemProps, SelectFilterTemplate, ValueFilterTemplate, getDefaultFilterMatchOptionsDate, getDefaultFilterMatchOptionsString };
@@ -0,0 +1,89 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { FilterMatchMode } from 'primereact/api';
3
+ export { FilterMatchMode, FilterOperator } from 'primereact/api';
4
+ export { DataTableProps } from 'primereact/datatable';
5
+ export { ColumnProps } from 'primereact/column';
6
+
7
+ type BotaoProps = {
8
+ label: string;
9
+ onClick?: () => void;
10
+ disabled?: boolean;
11
+ };
12
+ declare function Botao({ label, onClick, disabled }: BotaoProps): react_jsx_runtime.JSX.Element;
13
+
14
+ type IDataTableProps<T extends object> = {
15
+ queryKey: string;
16
+ mutationFn: (
17
+ page: number,
18
+ limit: number,
19
+ sort: string,
20
+ order: number,
21
+ filters: DataTableFilterMeta,
22
+ globalFilterFields: string[]
23
+ ) => Promise<PaginatedResponse<T>>;
24
+ columns: ColumnCustom<T>[];
25
+ initFilters: DataTableFilterMeta;
26
+ onNew?: () => void;
27
+ onEdit?: (selected: T[]) => void;
28
+ onDelete?: (selected: T[]) => void;
29
+ customActions?: TableAction<T>[] | ((selectedRows: T[]) => TableAction<T>[]);
30
+ customActionsColums?:
31
+ | TableAction<T>[]
32
+ | ((selectedRows: T[]) => TableAction<T>[]);
33
+ disablePagination?: boolean;
34
+ sortFieldInitial: string;
35
+ sortOrderInitial?: 1 | -1;
36
+ isMultiSelectionMode?: boolean;
37
+ isLanguagePtBr?: boolean;
38
+ };
39
+
40
+ interface PaginatedResponse<T> {
41
+ items: T[];
42
+ totalCount: number;
43
+ }
44
+
45
+ interface ColumnCustom<T> {
46
+ field: keyof T | "acoes" | string; // "acoes" não existe no User, então adicionamos manualmente
47
+ header: string;
48
+ enableSorting?: boolean;
49
+ size?: number;
50
+ dataType?: "boolean" | "string" | "date" | "dateTime" | "numeric";
51
+ filterGlobal?: boolean;
52
+ filterElement?: ReactNode;
53
+ filterMatchModeOptions?: {
54
+ label: string;
55
+ value: FilterMatchModeType | string;
56
+ }[];
57
+ body?: (rowData: T) => ReactNode;
58
+ enableResizeable?: boolean;
59
+ enableFilter?: boolean;
60
+ mask?: (value: any) => any;
61
+ filterClear?: () => void;
62
+ filterApply?: () => void;
63
+ filterFooter?: () => void;
64
+ frozen?: boolean;
65
+ alignFrozen?: "left" | "right";
66
+ }
67
+
68
+ declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
69
+
70
+ declare const DateFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
71
+ declare const DateTimeFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
72
+ declare const ValueFilterTemplate: (options: any, mask?: (value: any) => string | number) => react_jsx_runtime.JSX.Element;
73
+ declare const SelectFilterTemplate: (options: any, isLanguagePtBr?: boolean) => react_jsx_runtime.JSX.Element;
74
+
75
+ declare const getDefaultFilterMatchOptionsString: (isLanguagePtBr?: boolean) => {
76
+ label: string;
77
+ value: string;
78
+ }[];
79
+ declare const getDefaultFilterMatchOptionsDate: (isLanguagePtBr: boolean) => {
80
+ label: string;
81
+ value: FilterMatchMode;
82
+ }[];
83
+
84
+ interface IItemProps {
85
+ value: string;
86
+ label: string;
87
+ }
88
+
89
+ export { Botao, type BotaoProps, type ColumnCustom, DataTableAdvancedFilter, DateFilterTemplate, DateTimeFilterTemplate, type IDataTableProps, type IItemProps, SelectFilterTemplate, ValueFilterTemplate, getDefaultFilterMatchOptionsDate, getDefaultFilterMatchOptionsString };