@natoora-libs/core 0.1.19 → 0.1.20-dev-doug-2

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,1132 @@
1
+ import * as React from 'react';
2
+ import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, E as EditableCellType } from '../TableDesktop-BG0ecGcR.js';
5
+ export { B as BulkChanges, j as BulkChangesDialogProps, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps } from '../TableDesktop-BG0ecGcR.js';
6
+ import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
7
+ import { UseMutateAsyncFunction } from 'react-query';
8
+ import { SxProps, Theme, MenuProps, Typography } from '@mui/material';
9
+ import { DateRangePickerShape } from 'react-dates';
10
+
11
+ type ActiveFiltersIconButtonProps = {
12
+ label?: string;
13
+ className?: string;
14
+ enableRipple?: boolean;
15
+ numActiveFilters: number;
16
+ handleClick: (event: MouseEvent<HTMLElement>) => void;
17
+ };
18
+ declare const ActiveFiltersIconButton: React.MemoExoticComponent<({ label, className, enableRipple, numActiveFilters, handleClick, }: ActiveFiltersIconButtonProps) => react_jsx_runtime.JSX.Element>;
19
+
20
+ interface AlertDialogProps {
21
+ open: boolean;
22
+ alertTitle?: string;
23
+ description?: string;
24
+ maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
25
+ fullWidth?: boolean;
26
+ content?: ReactNode;
27
+ fullScreen?: boolean;
28
+ handleAlertAccept?: () => void;
29
+ handleAlertReject?: () => void;
30
+ rejectCopy?: string;
31
+ acceptCopy?: string;
32
+ disabledContentPadding?: boolean;
33
+ }
34
+ declare const AlertDialog: React.FC<AlertDialogProps>;
35
+
36
+ interface AlertDialogFullScreenProps {
37
+ acceptCopy?: any;
38
+ content?: any;
39
+ fullScreen?: any;
40
+ handleAlertAccept?: any;
41
+ handleAlertReject?: any;
42
+ open?: any;
43
+ rejectCopy?: any;
44
+ }
45
+ declare const AlertDialogFullScreen: ({ handleAlertAccept, handleAlertReject, fullScreen, open, rejectCopy, acceptCopy, content, }: AlertDialogFullScreenProps) => react_jsx_runtime.JSX.Element;
46
+
47
+ interface IAppLabel {
48
+ appName: string;
49
+ }
50
+ declare const AppLabel: ({ appName }: IAppLabel) => react_jsx_runtime.JSX.Element;
51
+
52
+ type AppliedTableFiltersDisplayProps = {
53
+ headCells: HeadCell[];
54
+ headerFilters: HeaderFilters;
55
+ hasAnyFiltersApplied: boolean;
56
+ onOpenClearFiltersDialog: () => void;
57
+ };
58
+ declare const AppliedTableFiltersDisplay: FC<AppliedTableFiltersDisplayProps>;
59
+
60
+ type AutocompleteFilterMenuContentProps = {
61
+ columnId: string;
62
+ labelFieldName: string;
63
+ selectedFilterOptions: HeaderFilterOptions;
64
+ isLoading?: boolean;
65
+ maxWidth?: number;
66
+ maxHeight?: number;
67
+ onFilterOptionChange: (option: string | HeaderFilterObject) => void;
68
+ onApplyFiltersClick: (shouldSave: boolean) => void;
69
+ filterOptions: HeadCell["filterOptions"];
70
+ onAutocompleteFilterChange: HeadCell["onAutocompleteFilterChange"];
71
+ shouldShowCheckOnFilter?: TableDesktopProps["shouldShowCheckOnFilter"];
72
+ };
73
+ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentProps>;
74
+
75
+ interface BackHeaderProps {
76
+ appName: string;
77
+ onGoBackClick?: () => void;
78
+ }
79
+ declare const BackHeader: React.FC<BackHeaderProps>;
80
+
81
+ interface BottomBarProps {
82
+ className?: string;
83
+ children?: React.ReactNode;
84
+ isLoading?: boolean;
85
+ onRefreshClick?: (() => void) | null;
86
+ }
87
+ declare const BottomBar: ({ className, children, isLoading, onRefreshClick, }: BottomBarProps) => react_jsx_runtime.JSX.Element;
88
+
89
+ interface BoxButtonProps {
90
+ label?: any;
91
+ onClick?: any;
92
+ main?: any;
93
+ extra?: any;
94
+ borderColor?: any;
95
+ }
96
+ declare const _default$k: React.MemoExoticComponent<(props: BoxButtonProps) => react_jsx_runtime.JSX.Element>;
97
+
98
+ interface IExtendedButton {
99
+ buttonType?: 'button' | 'submit';
100
+ className?: string;
101
+ color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | 'default' | 'noOutline' | undefined;
102
+ copy: string;
103
+ disabled?: boolean;
104
+ href?: string;
105
+ onClick?: () => void;
106
+ subcopy?: string;
107
+ tooltip?: string;
108
+ component?: React.ElementType;
109
+ type?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish' | 'compare';
110
+ variant?: 'contained' | 'outlined' | 'text';
111
+ copyColor?: string;
112
+ }
113
+ declare const _default$j: React.MemoExoticComponent<({ buttonType, color, disabled, href, tooltip, component, type, className, onClick, copy, subcopy, variant, copyColor, }: IExtendedButton) => react_jsx_runtime.JSX.Element>;
114
+
115
+ interface IFilledButton {
116
+ autoFocus?: boolean;
117
+ className?: string;
118
+ color?: 'default' | 'error' | 'info' | 'inherit' | 'primary' | 'secondary' | 'success' | 'warning';
119
+ copy: string;
120
+ isLoading?: boolean;
121
+ disabled?: boolean;
122
+ href?: string;
123
+ onClick?: () => void;
124
+ type?: 'button' | 'submit';
125
+ variant?: 'contained' | 'outlined' | 'text';
126
+ }
127
+ declare const _default$i: React.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
128
+
129
+ interface FilledButtonLgProps {
130
+ classes?: any;
131
+ disabled?: any;
132
+ variant?: string;
133
+ color?: string;
134
+ copy?: any;
135
+ handleClick?: any;
136
+ loading?: boolean;
137
+ loadingProps?: {
138
+ color?: 'primary' | 'secondary' | 'inherit';
139
+ size?: number;
140
+ style?: string;
141
+ };
142
+ }
143
+ declare const _default$h: React.MemoExoticComponent<({ classes, disabled, variant, color, copy, handleClick, loading, loadingProps, }: FilledButtonLgProps) => react_jsx_runtime.JSX.Element>;
144
+
145
+ interface ImageButtonProps {
146
+ src?: any;
147
+ onClick?: any;
148
+ value?: any;
149
+ }
150
+ declare const _default$g: React.MemoExoticComponent<(props: ImageButtonProps) => react_jsx_runtime.JSX.Element>;
151
+
152
+ interface SquareButtonProps {
153
+ children: any;
154
+ disabled?: any;
155
+ hasContentLeftSide?: any;
156
+ onClick: any;
157
+ type: any;
158
+ }
159
+ declare const SquareButton: ({ children, disabled, hasContentLeftSide, onClick, type, }: SquareButtonProps) => react_jsx_runtime.JSX.Element;
160
+
161
+ interface UploadButtonProps {
162
+ name?: string;
163
+ onChange?(...args: any[]): any;
164
+ onBlur?(...args: any[]): any;
165
+ }
166
+ declare const UploadButton: React.ForwardRefExoticComponent<UploadButtonProps & React.RefAttributes<HTMLElement>>;
167
+
168
+ interface OutlinedButtonProps {
169
+ className?: any;
170
+ color?: any;
171
+ copy: any;
172
+ disabled?: any;
173
+ href?: any;
174
+ isLoading?: any;
175
+ onClick?: any;
176
+ startIcon?: any;
177
+ style?: any;
178
+ subcopy?: any;
179
+ type?: any;
180
+ }
181
+ declare const _default$f: React.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
182
+
183
+ interface AButtonProps {
184
+ classes?: any;
185
+ variant?: string;
186
+ color?: string;
187
+ copy?: any;
188
+ }
189
+ declare const _default$e: React.MemoExoticComponent<({ classes, variant, color, copy }: AButtonProps) => react_jsx_runtime.JSX.Element>;
190
+
191
+ interface IRoundButton {
192
+ active?: boolean;
193
+ children?: string;
194
+ className?: string;
195
+ disabled?: boolean;
196
+ focused?: boolean;
197
+ icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane' | 'threeDots';
198
+ iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
199
+ isContrast?: boolean;
200
+ isTableButton?: boolean;
201
+ noStrokes?: boolean;
202
+ onClick?: (event: any) => void;
203
+ size?: 'small' | 'medium' | 'large' | 'double';
204
+ tooltip?: string;
205
+ variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
206
+ testID?: string;
207
+ }
208
+ /**
209
+ * A Rounded button component that is abstracted from MUI Fab component.
210
+ * Can render an icon or a single character.
211
+ * https://v4.mui.com/api/fab/#fab-api.
212
+ */
213
+ declare const RoundButton: ({ active, children, className, disabled, focused, icon, iconColor, isContrast, isTableButton, noStrokes, onClick, size, tooltip, variant, testID, }: IRoundButton) => react_jsx_runtime.JSX.Element;
214
+
215
+ declare const _default$d: React.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
216
+
217
+ interface ActionButtonProps {
218
+ app?: any;
219
+ }
220
+ declare function ActionButton(props: ActionButtonProps): react_jsx_runtime.JSX.Element;
221
+
222
+ type CheckboxFilterMenuContentProps = {
223
+ columnId: string;
224
+ labelFieldName: string;
225
+ isLoading?: boolean;
226
+ selectedFilterOptions: HeaderFilterOptions;
227
+ filterOptions: HeaderFilterOptions;
228
+ maxHeight?: number;
229
+ width?: number;
230
+ shouldShowCheckOnFilter?: TableDesktopProps["shouldShowCheckOnFilter"];
231
+ onSelectAllChange: (checked: boolean) => void;
232
+ onFilterOptionChange: (option: string | HeaderFilterObject) => void;
233
+ onApplyFiltersClick: (shouldSave: boolean) => void;
234
+ };
235
+ declare const CheckboxFilterMenuContent: FC<CheckboxFilterMenuContentProps>;
236
+
237
+ type ClearFiltersConfirmationDialogProps = {
238
+ isOpen: boolean;
239
+ clearFiltersMode: "unsaved" | "saved";
240
+ hasAnyUnsavedFilters: boolean;
241
+ onClose: () => void;
242
+ onConfirm: () => void;
243
+ onChangeClearFiltersMode: (mode: "unsaved" | "saved") => void;
244
+ };
245
+ declare const ClearFiltersConfirmationDialog: FC<ClearFiltersConfirmationDialogProps>;
246
+
247
+ interface ICompanyLogo {
248
+ size: 'small' | 'medium';
249
+ color: 'light' | 'dark';
250
+ imageLogoDarkSmall: string;
251
+ imageLogoLightSmall: string;
252
+ }
253
+ declare const CompanyLogo: ({ size, color, imageLogoDarkSmall, imageLogoLightSmall, }: ICompanyLogo) => react_jsx_runtime.JSX.Element;
254
+
255
+ interface ConfirmationDialogProps {
256
+ ctaText?: string;
257
+ hideCancel?: boolean;
258
+ isLoading?: boolean;
259
+ hideConfirm?: boolean;
260
+ closeModal: () => void;
261
+ content: string | string[] | React.JSX.Element;
262
+ cancelCopy?: string;
263
+ isOpen: boolean;
264
+ onConfirm?: () => void;
265
+ title: string;
266
+ disableContentPadding?: boolean;
267
+ }
268
+ declare const ConfirmationDialog: {
269
+ ({ ctaText, hideCancel, isLoading, hideConfirm, closeModal, content, cancelCopy, isOpen, onConfirm, title, disableContentPadding, }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
270
+ defaultProps: {
271
+ ctaText: string;
272
+ hideCancel: boolean;
273
+ hideConfirm: boolean;
274
+ cancelCopy: string;
275
+ isLoading: boolean;
276
+ };
277
+ };
278
+
279
+ interface ControlledCheckboxProps {
280
+ name: string;
281
+ label: string;
282
+ id: string;
283
+ control: Control<any, any>;
284
+ className?: string;
285
+ tooltipDescription?: string;
286
+ 'data-testid'?: string;
287
+ color?: 'primary' | 'secondary' | 'default';
288
+ handleChange: (checked: boolean, field: ControllerRenderProps<any, string>) => void;
289
+ disabled?: boolean;
290
+ }
291
+ declare const ControlledCheckbox: React.FC<ControlledCheckboxProps>;
292
+
293
+ interface ControlledNumberInputProps {
294
+ /**
295
+ * control from react-hook-form
296
+ * */
297
+ control: Control<any>;
298
+ /**
299
+ * name in the form data
300
+ * */
301
+ name: string;
302
+ /**
303
+ * label name to be shown in the component
304
+ * */
305
+ label: string;
306
+ /**
307
+ * mininum number allowed
308
+ * */
309
+ min?: number;
310
+ /**
311
+ * maximum number allowed
312
+ * */
313
+ max?: number;
314
+ /**
315
+ * step to change the number
316
+ * */
317
+ step?: number;
318
+ /**
319
+ * optional error message
320
+ * */
321
+ error?: string;
322
+ /**
323
+ * should shrink the label name
324
+ * */
325
+ shrink?: boolean;
326
+ /**
327
+ * opcional className to customize the component
328
+ * */
329
+ className?: string;
330
+ }
331
+ declare const ControlledNumberInput: ({ name, control, label, min, max, step, error, shrink, className, }: ControlledNumberInputProps) => react_jsx_runtime.JSX.Element;
332
+
333
+ interface ControlledNumericFieldProps {
334
+ control: Control<any>;
335
+ label: string;
336
+ min?: number;
337
+ max?: number;
338
+ step?: number;
339
+ fullWidth?: boolean;
340
+ margin?: 'dense' | 'normal' | 'none';
341
+ helperText?: string;
342
+ variant?: 'standard' | 'outlined' | 'filled';
343
+ onChange?: (field: ControllerRenderProps<any, string>, value: number | string) => void;
344
+ onArrowClick?: (field: ControllerRenderProps<any, string>, value: number | string) => void;
345
+ onBlur?: (field: ControllerRenderProps<any, string>, value: number | string, fieldState: ControllerFieldState) => void;
346
+ className?: string;
347
+ fieldName: string;
348
+ 'data-testid'?: string;
349
+ }
350
+ declare const ControlledNumericField: React.FC<ControlledNumericFieldProps>;
351
+
352
+ interface ControlledSelectWithArrayProps {
353
+ /**
354
+ * control from react-hook-form
355
+ * */
356
+ control: Control<any>;
357
+ /**
358
+ * name in the form data
359
+ * */
360
+ name: string;
361
+ /**
362
+ * label name to be shown in the component
363
+ * */
364
+ label: string;
365
+ /**
366
+ * options to be rendered in the dropbown
367
+ * */
368
+ options?: (string | number)[];
369
+ /**
370
+ * optional error message
371
+ * */
372
+ error?: string;
373
+ /**
374
+ * optional onChange event
375
+ * */
376
+ onChange?: (value: any) => void;
377
+ /**
378
+ * opcional className to customize the component
379
+ * */
380
+ className?: string;
381
+ /**
382
+ * opcional function to revalidate the form when changing the dropdown value ( trigger function )
383
+ * */
384
+ revalidateFormFunction?: UseFormTrigger<any>;
385
+ }
386
+ declare const ControlledSelectWithArray: ({ name, control, label, options, error, onChange, className, revalidateFormFunction, }: ControlledSelectWithArrayProps) => react_jsx_runtime.JSX.Element;
387
+
388
+ interface ControlledSelectWithObjectProps {
389
+ /**
390
+ * control from react-hook-form
391
+ * */
392
+ control: Control<any>;
393
+ /**
394
+ * name in the form data
395
+ * */
396
+ name: string;
397
+ /**
398
+ * label name to be shown in the component
399
+ * */
400
+ label: string;
401
+ /**
402
+ * options to be rendered in the dropbown
403
+ * */
404
+ options?: {
405
+ value: string | number;
406
+ label: string;
407
+ }[];
408
+ /**
409
+ * optional error message
410
+ * */
411
+ error?: string;
412
+ /**
413
+ * optional onChange event
414
+ * */
415
+ onChange?: (value: any) => void;
416
+ /**
417
+ * opcional className to customize the component
418
+ * */
419
+ className?: string;
420
+ /**
421
+ * opcional boolean to disable the dropdown option (based on the options.value)
422
+ * */
423
+ listToDisableFromOptions?: Array<any>;
424
+ /**
425
+ * opcional function to revalidate the form when changing the dropdown value ( trigger function )
426
+ * */
427
+ revalidateFormFunction?: UseFormTrigger<any>;
428
+ }
429
+ declare const ControlledSelectWithObject: ({ name, control, label, options, error, onChange, className, listToDisableFromOptions, revalidateFormFunction, }: ControlledSelectWithObjectProps) => react_jsx_runtime.JSX.Element;
430
+
431
+ interface ControlledValidTextInputBaseProps {
432
+ label: string;
433
+ fieldName: string;
434
+ helperText?: string;
435
+ disabled?: boolean;
436
+ variant?: 'standard' | 'outlined' | 'filled';
437
+ className?: string;
438
+ maxLength?: number;
439
+ 'data-testid'?: string;
440
+ form: UseFormReturn<any>;
441
+ }
442
+ /** Ensure AT MOST ONE of 'updateCustomerData' or 'customHandleBlurValidationAndSubmit' can be provided. */
443
+ type ControlledValidTextInputDefaultProps = ControlledValidTextInputBaseProps & {
444
+ updateCustomerData?: UseMutateAsyncFunction<any, unknown, any, unknown>;
445
+ customHandleBlurValidationAndSubmit?: never;
446
+ };
447
+ type ControlledValidTextInputCustomProps = ControlledValidTextInputBaseProps & {
448
+ updateCustomerData?: never;
449
+ customHandleBlurValidationAndSubmit?: (controlledField: ControllerRenderProps<FieldValues, string>, isDirty: boolean) => void;
450
+ };
451
+ type ControlledValidTextInputProps = ControlledValidTextInputDefaultProps | ControlledValidTextInputCustomProps;
452
+ declare const ControlledValidTextInput: React.FC<ControlledValidTextInputProps>;
453
+
454
+ interface DataGridProps {
455
+ isLoading?: boolean;
456
+ children?: React.ReactElement;
457
+ height: string;
458
+ sortField?: string;
459
+ sortDir?: string;
460
+ columns: any;
461
+ rows: any;
462
+ handleCellEdition?: any;
463
+ }
464
+ declare const DataGrid: ({ columns, rows, handleCellEdition, sortField, sortDir, isLoading, height, children, }: DataGridProps) => react_jsx_runtime.JSX.Element;
465
+
466
+ interface DateProps {
467
+ datetime: string | Date;
468
+ format?: string;
469
+ }
470
+ declare const Date: React.FC<DateProps>;
471
+
472
+ interface IDeleteSubstitutionDialogContent {
473
+ closeDialog: () => void;
474
+ deleteSubstitution: () => void;
475
+ substitutionName: string;
476
+ }
477
+ declare const _default$c: React.MemoExoticComponent<({ closeDialog, substitutionName, deleteSubstitution, }: IDeleteSubstitutionDialogContent) => react_jsx_runtime.JSX.Element>;
478
+
479
+ interface IDeleteUserDialogContent {
480
+ closeDialog: () => void;
481
+ deleteUser: () => void;
482
+ userName: string;
483
+ }
484
+ declare const _default$b: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
485
+
486
+ type DynamicOverflowTooltipProps = {
487
+ arrow?: boolean;
488
+ maxWidth?: number | string;
489
+ children: ReactElement | string | number | null;
490
+ tooltipDescription: string;
491
+ };
492
+ declare const DynamicOverflowTooltip: FC<DynamicOverflowTooltipProps>;
493
+
494
+ interface FileCardProps {
495
+ document: string;
496
+ }
497
+ declare const FileCard: ({ document }: FileCardProps) => react_jsx_runtime.JSX.Element;
498
+
499
+ interface FilledLabelProps {
500
+ color?: string;
501
+ copy?: any;
502
+ }
503
+ declare const _default$a: React.MemoExoticComponent<(props: FilledLabelProps) => react_jsx_runtime.JSX.Element>;
504
+
505
+ type IFilterGroupSelector = {
506
+ name?: string;
507
+ categoryIdentification?: string;
508
+ selectedOptions: string[];
509
+ setSelectedOptions: React.Dispatch<React.SetStateAction<string[]>>;
510
+ handleClickOnApply: () => void;
511
+ optionsList?: {
512
+ category: string;
513
+ options: string[];
514
+ }[];
515
+ };
516
+ declare const FilterGroupSelector: ({ name, categoryIdentification, selectedOptions, setSelectedOptions, handleClickOnApply, optionsList, }: IFilterGroupSelector) => react_jsx_runtime.JSX.Element;
517
+
518
+ type IFilterSimpleSelector = {
519
+ name?: string;
520
+ options?: string[];
521
+ selectedOptions: string[];
522
+ setSelectedOptions: React.Dispatch<React.SetStateAction<string[]>>;
523
+ handleClickOnApply: () => void;
524
+ };
525
+ declare const FilterSimpleSelector: ({ name, options, selectedOptions, setSelectedOptions, handleClickOnApply, }: IFilterSimpleSelector) => react_jsx_runtime.JSX.Element;
526
+
527
+ type FilterOptionsCheckboxesProps = {
528
+ columnId: string;
529
+ labelFieldName: string;
530
+ maxWidth?: number;
531
+ filterOptions: HeaderFilterOptions;
532
+ selectedFilterOptions: HeaderFilterOptions;
533
+ onFilterOptionChange: (option: string | HeaderFilterObject) => void;
534
+ shouldShowCheckOnFilter?: TableDesktopProps["shouldShowCheckOnFilter"];
535
+ };
536
+ declare const FilterOptionsCheckboxes: FC<FilterOptionsCheckboxesProps>;
537
+
538
+ interface FixedFooterProps {
539
+ children: React.ReactNode;
540
+ justifyContent?: string;
541
+ }
542
+ declare const _default$9: React.MemoExoticComponent<({ justifyContent, children }: FixedFooterProps) => react_jsx_runtime.JSX.Element>;
543
+
544
+ interface HeaderProps {
545
+ appName: any;
546
+ children?: any;
547
+ wrappedHeader?: any;
548
+ }
549
+ declare const Header: ({ appName, children, wrappedHeader, }: HeaderProps) => react_jsx_runtime.JSX.Element;
550
+
551
+ declare const icons: {
552
+ SvgSamsaraLogo: (props: any) => react_jsx_runtime.JSX.Element;
553
+ SvgIconHome: (props: any) => react_jsx_runtime.JSX.Element;
554
+ SvgIconNotification: (props: any) => react_jsx_runtime.JSX.Element;
555
+ SvgIconPhone: (props: any) => react_jsx_runtime.JSX.Element;
556
+ SvgIconAccount: (props: any) => react_jsx_runtime.JSX.Element;
557
+ SvgIconOrders: (props: any) => react_jsx_runtime.JSX.Element;
558
+ SvgIconPriceList: (props: any) => react_jsx_runtime.JSX.Element;
559
+ SvgIconSpecialPrice: (props: any) => react_jsx_runtime.JSX.Element;
560
+ SvgIconBuying: (props: any) => react_jsx_runtime.JSX.Element;
561
+ SvgIconContentManagement: (props: any) => react_jsx_runtime.JSX.Element;
562
+ SvgIconProducts: (props: any) => react_jsx_runtime.JSX.Element;
563
+ SvgIconStock: (props: any) => react_jsx_runtime.JSX.Element;
564
+ SvgIconSupplier: (props: any) => react_jsx_runtime.JSX.Element;
565
+ SvgIconSupplierPrices: (props: any) => react_jsx_runtime.JSX.Element;
566
+ SvgIconGoodsin: (props: any) => react_jsx_runtime.JSX.Element;
567
+ SvgIconVkc: (props: any) => react_jsx_runtime.JSX.Element;
568
+ SvgIconLocation: (props: any) => react_jsx_runtime.JSX.Element;
569
+ SvgIconScales: (props: any) => react_jsx_runtime.JSX.Element;
570
+ SvgIconQc: (props: any) => react_jsx_runtime.JSX.Element;
571
+ SvgIconRetail: (props: any) => react_jsx_runtime.JSX.Element;
572
+ SvgIconRuns: (props: any) => react_jsx_runtime.JSX.Element;
573
+ SvgIconAccounts: (props: any) => react_jsx_runtime.JSX.Element;
574
+ SvgIconReports: (props: any) => react_jsx_runtime.JSX.Element;
575
+ SvgIconSetting: (props: any) => react_jsx_runtime.JSX.Element;
576
+ SvgIconLogin: (props: any) => react_jsx_runtime.JSX.Element;
577
+ SvgBallsLogo: (props: any) => react_jsx_runtime.JSX.Element;
578
+ SvgIconAvocado: () => react_jsx_runtime.JSX.Element;
579
+ SvgIconBanana: () => react_jsx_runtime.JSX.Element;
580
+ SvgIconGrape: (props: any) => react_jsx_runtime.JSX.Element;
581
+ SvgIconStrawberry: () => react_jsx_runtime.JSX.Element;
582
+ SvgIconPromoCode: (props: any) => react_jsx_runtime.JSX.Element;
583
+ SvgIconOpsMetrics: (props: any) => react_jsx_runtime.JSX.Element;
584
+ SvgIconSearchCategories: (props: any) => react_jsx_runtime.JSX.Element;
585
+ SvgIconImport: (props: any) => react_jsx_runtime.JSX.Element;
586
+ SvgIconSnail: (props: any) => react_jsx_runtime.JSX.Element;
587
+ SvgEmptyGlassIcon: (props: any) => react_jsx_runtime.JSX.Element;
588
+ SvgIconUserManagement: () => react_jsx_runtime.JSX.Element;
589
+ SvgIconTableEdit: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
590
+ };
591
+
592
+ type LabeledValueListProps = {
593
+ label: string;
594
+ values: (string | number)[];
595
+ };
596
+ declare const LabeledValueList: FC<LabeledValueListProps>;
597
+
598
+ interface VirtualizedListProps {
599
+ headers?: any;
600
+ items?: any;
601
+ renderItem?: any;
602
+ }
603
+ declare function VirtualizedList(props: VirtualizedListProps): react_jsx_runtime.JSX.Element;
604
+
605
+ interface ILoading {
606
+ isLoading: boolean;
607
+ }
608
+ declare const Loading: ({ isLoading }: ILoading) => react_jsx_runtime.JSX.Element;
609
+
610
+ interface ILocationsSectionInfo {
611
+ principalLocation: string;
612
+ secondaryLocation?: string[];
613
+ isPicking?: boolean;
614
+ isStock?: boolean;
615
+ }
616
+ declare const LocationsSectionInfo: ({ principalLocation, secondaryLocation, isPicking, isStock, }: ILocationsSectionInfo) => react_jsx_runtime.JSX.Element;
617
+
618
+ interface NotesProps {
619
+ initialNotes?: any;
620
+ isDisabled?: any;
621
+ isEditable?: any;
622
+ isLoading?: any;
623
+ maxLength?: any;
624
+ onBlur?: any;
625
+ onChange?: any;
626
+ onClearNotes?: any;
627
+ }
628
+ declare const Notes: ({ initialNotes, isDisabled, isEditable, isLoading, maxLength, onBlur, onChange, onClearNotes, }: NotesProps) => react_jsx_runtime.JSX.Element;
629
+
630
+ interface NumpadProps {
631
+ handleClick: any;
632
+ handleUndo: any;
633
+ }
634
+ declare const Numpad: ({ handleClick, handleUndo }: NumpadProps) => react_jsx_runtime.JSX.Element;
635
+
636
+ interface NumpadInputProps {
637
+ handleNextClick?(...args: any[]): any;
638
+ inputLabel?: string;
639
+ children?: any;
640
+ }
641
+ declare const _default$8: React.MemoExoticComponent<(props: NumpadInputProps) => react_jsx_runtime.JSX.Element>;
642
+
643
+ interface NumpadPlusProps {
644
+ handleClick: any;
645
+ handleUndo: any;
646
+ }
647
+ declare const NumpadPlus: ({ handleClick, handleUndo }: NumpadPlusProps) => react_jsx_runtime.JSX.Element;
648
+
649
+ interface PaginationForTableProps {
650
+ appliedFilters?: any;
651
+ className?: any;
652
+ page?: any;
653
+ pagination?: any;
654
+ position?: any;
655
+ style?: any;
656
+ updateFilters: any;
657
+ }
658
+ declare const PaginationForTable: ({ appliedFilters, className, page, pagination, position, style, updateFilters, }: PaginationForTableProps) => react_jsx_runtime.JSX.Element;
659
+
660
+ interface PhoneInputProps {
661
+ value?: string | null;
662
+ onChange?: (phone: string | null) => void;
663
+ placeholder?: string;
664
+ className?: string;
665
+ label?: string;
666
+ error?: boolean;
667
+ }
668
+ declare const PhoneInput: React.FC<PhoneInputProps>;
669
+
670
+ interface PlusMinusInputProps {
671
+ allowNegative?: any;
672
+ buttonsPosition?: any;
673
+ disabled?: any;
674
+ initialValue?: any;
675
+ inputSize?: any;
676
+ label: any;
677
+ updateInputValue: any;
678
+ }
679
+ declare const PlusMinusInput: ({ allowNegative, buttonsPosition, disabled, initialValue, inputSize, label, updateInputValue, }: PlusMinusInputProps) => react_jsx_runtime.JSX.Element;
680
+
681
+ interface PBustProps {
682
+ buttonData?: any;
683
+ classes?: any;
684
+ locationData?: any;
685
+ locationId?: any;
686
+ primaryData?: any;
687
+ product?: any;
688
+ secondaryData?: any;
689
+ size?: any;
690
+ LocationHistoryDialog: ComponentType<any>;
691
+ }
692
+ declare const ProductBust: ({ classes, size, product, locationData, primaryData, secondaryData, buttonData, locationId, LocationHistoryDialog, }: PBustProps) => react_jsx_runtime.JSX.Element;
693
+
694
+ interface PImageProps {
695
+ classes?: any;
696
+ image?: any;
697
+ size?: any;
698
+ status?: any;
699
+ }
700
+ declare const ProductImage: ({ classes, image, size, status, }: PImageProps) => react_jsx_runtime.JSX.Element;
701
+
702
+ interface IRenderAvatar {
703
+ active?: boolean;
704
+ }
705
+ declare const RenderAvatar: ({ active }: IRenderAvatar) => react_jsx_runtime.JSX.Element;
706
+
707
+ interface IRenderContentList {
708
+ items: string[];
709
+ warningItems?: string[] | null;
710
+ warningMessage?: string;
711
+ activeSection: string;
712
+ }
713
+ declare const RenderContentList: ({ items, activeSection, warningItems, warningMessage, }: IRenderContentList) => react_jsx_runtime.JSX.Element;
714
+
715
+ type ProductSize = 'small' | 'medium' | 'large';
716
+ interface Column {
717
+ title: string;
718
+ value: string | React.ReactNode;
719
+ }
720
+ interface Product {
721
+ image: string;
722
+ name: string;
723
+ status?: string;
724
+ }
725
+ interface RowProductCardProps {
726
+ /**
727
+ * Possible actions or buttons that the card can have
728
+ */
729
+ children?: React.ReactNode;
730
+ /**
731
+ * Details about the product
732
+ */
733
+ columns?: Column[];
734
+ /**
735
+ * Where is the product location
736
+ */
737
+ location?: string;
738
+ /**
739
+ * Product information
740
+ */
741
+ product: Product;
742
+ /**
743
+ * Size of the product image
744
+ */
745
+ size?: ProductSize;
746
+ }
747
+ /**
748
+ * A card on row format that can display informations about a product
749
+ * It can be very detailed or lean
750
+ */
751
+ declare const RowProductCard: ({ children, columns, location, product, size, }: RowProductCardProps) => react_jsx_runtime.JSX.Element;
752
+
753
+ interface ScrollableDialogProps {
754
+ body: ReactNode;
755
+ footer?: ReactNode;
756
+ header?: ReactNode;
757
+ isOpen: boolean;
758
+ title: string;
759
+ }
760
+ declare const ScrollableDialog: ({ body, footer, header, isOpen, title, }: ScrollableDialogProps) => react_jsx_runtime.JSX.Element;
761
+
762
+ interface ISearchAndFilterHeaderProps {
763
+ appName: string;
764
+ enterPressedInSearch?: () => void;
765
+ extraButton?: React.ReactNode;
766
+ filtersComponent?: React.ReactNode;
767
+ appliedFiltersComponent?: React.ReactNode;
768
+ filterClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
769
+ showFilters: boolean;
770
+ updateFilters?: (filters: any) => void;
771
+ searchValue?: string;
772
+ }
773
+ declare const SearchAndFilterHeader: ({ appName, enterPressedInSearch, extraButton, filterClick, showFilters, updateFilters, filtersComponent, appliedFiltersComponent, searchValue, }: ISearchAndFilterHeaderProps) => react_jsx_runtime.JSX.Element;
774
+
775
+ interface SearchAndFilterHeaderForTableProps {
776
+ appName: string;
777
+ button?: React.ReactNode;
778
+ copy?: string;
779
+ enterPressedInSearch?(...args: any[]): any;
780
+ isOpen?: boolean;
781
+ onFilterButtonClick?(...args: any[]): any;
782
+ searchedValue?: string;
783
+ showFilterButton?: boolean;
784
+ updateSearch?(...args: any[]): any;
785
+ }
786
+ declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeaderForTableProps) => react_jsx_runtime.JSX.Element>;
787
+
788
+ type SearchFieldDebouncedProps = {
789
+ onSearch: (value: string) => void;
790
+ variant?: "outlined" | "filled" | "standard";
791
+ hideSearchIcon?: boolean;
792
+ initialValue?: string;
793
+ debounceDelay?: number;
794
+ minCharacters?: number;
795
+ sx?: SxProps<Theme>;
796
+ inputProps?: {
797
+ sx: SxProps<Theme>;
798
+ };
799
+ };
800
+ declare const SearchFieldDebounced: React__default.FC<SearchFieldDebouncedProps>;
801
+
802
+ type SearchHeaderProps = {
803
+ renderButton?: ReactNode;
804
+ children?: ReactNode;
805
+ onSearch: (value: string) => void;
806
+ };
807
+ declare const SearchHeader: React.MemoExoticComponent<({ renderButton, children, onSearch, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element>;
808
+
809
+ interface ISearchWithFiltersProps {
810
+ enterPressedInSearch?: () => void;
811
+ filterClick?: React.MouseEventHandler<HTMLButtonElement>;
812
+ handleClick?: () => void;
813
+ searchValue?: string;
814
+ showFilters: boolean;
815
+ updateFilters?: (filters: {
816
+ search: string;
817
+ }) => void;
818
+ disabled?: boolean;
819
+ }
820
+ declare const _default$6: React.MemoExoticComponent<({ enterPressedInSearch, filterClick, handleClick, searchValue, showFilters, updateFilters, disabled, }: ISearchWithFiltersProps) => react_jsx_runtime.JSX.Element>;
821
+
822
+ interface SearchWithFiltersForTableProps {
823
+ onFilterButtonClick?(...args: any[]): any;
824
+ isOpen?: boolean;
825
+ updateSearch?(...args: any[]): any;
826
+ enterPressedInSearch?(...args: any[]): any;
827
+ showFilterButton?: boolean;
828
+ searchedValue?: string;
829
+ }
830
+ declare const _default$5: React.MemoExoticComponent<(props: SearchWithFiltersForTableProps) => react_jsx_runtime.JSX.Element>;
831
+
832
+ interface ISectionName {
833
+ name: string;
834
+ tooltipDescription?: string;
835
+ sectionId?: string;
836
+ buttonText?: string;
837
+ buttonType?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish';
838
+ handleButtonClick?: () => void;
839
+ buttonDisabled?: boolean;
840
+ openHistoryLog?: () => void;
841
+ }
842
+ declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: ISectionName) => react_jsx_runtime.JSX.Element;
843
+
844
+ type Option = {
845
+ value?: string | number;
846
+ label?: string;
847
+ disabled?: boolean;
848
+ };
849
+ interface SmartSelectProps {
850
+ /**
851
+ * The current selected value of the select input. It can be a string, number, or null.
852
+ * If null, it indicates that no value is selected.
853
+ */
854
+ value?: string | number | null;
855
+ /**
856
+ * The default option that is displayed when no value is selected.
857
+ * This is an object with a value and a label. If null, no default option is shown.
858
+ */
859
+ defaultOption?: Option;
860
+ /**
861
+ * An array of available options to display in the select dropdown.
862
+ * Each option is an object with `value` and `label` properties.
863
+ */
864
+ options?: Option[];
865
+ /**
866
+ * A function to refetch data if there are no options available in the dropdown.
867
+ * It can be called when the dropdown is opened and the list of options is empty.
868
+ */
869
+ refetch?: () => void;
870
+ /**
871
+ * A boolean indicating whether the component is fetching data.
872
+ * If true, the loading spinner will be shown in the dropdown.
873
+ */
874
+ isFetching?: boolean;
875
+ /**
876
+ * Callback function called when an option is selected from the dropdown.
877
+ * The selected option is passed as an argument to this function.
878
+ */
879
+ onChange: (selectedOption: Option) => void;
880
+ /**
881
+ * A label for the select input. It will be displayed above the select dropdown.
882
+ */
883
+ inputLabel?: string;
884
+ /**
885
+ * Style variant to choose.
886
+ */
887
+ variant?: 'standard' | 'outlined' | 'filled';
888
+ /**
889
+ * Size to choose.
890
+ */
891
+ size?: 'medium' | 'small';
892
+ /**
893
+ * A boolean indicating validation error.
894
+ * It allows use of error styling when validation is required.
895
+ */
896
+ error?: boolean;
897
+ /**
898
+ * Helper text that is displayed below the select input.
899
+ * It can be used to provide additional information or instructions to the user.
900
+ */
901
+ helperText?: string;
902
+ /**
903
+ * A boolean indicating whether the select input is disabled.
904
+ * If true, the input will be disabled, and users will not be able to interact with it.
905
+ */
906
+ disabled?: boolean;
907
+ /**
908
+ * A boolean indicating whether the select should include a blank option.
909
+ */
910
+ allowBlankOption?: boolean;
911
+ /**
912
+ * The `data-testid` attribute used for testing purposes.
913
+ * It is helpful to uniquely identify the component in automated tests.
914
+ */
915
+ 'data-testid'?: string;
916
+ /**
917
+ * A message to display when there are no options available in the dropdown.
918
+ * It will be shown when `isFetching` is false and `options` is empty.
919
+ * The default message is 'No options'.
920
+ */
921
+ emptyMessage?: string;
922
+ /**
923
+ * Manage the MenuProps
924
+ */
925
+ menuProps?: Partial<MenuProps>;
926
+ }
927
+ declare const SmartSelect: React.ForwardRefExoticComponent<SmartSelectProps & React.RefAttributes<unknown>>;
928
+
929
+ interface SquareLabelProps {
930
+ color?: string;
931
+ copy?: any;
932
+ }
933
+ declare const _default$4: React.MemoExoticComponent<({ color, copy }: SquareLabelProps) => react_jsx_runtime.JSX.Element>;
934
+
935
+ interface LSwitchProps {
936
+ classes?: any;
937
+ checked?: any;
938
+ labelOn?: any;
939
+ labelOff?: any;
940
+ handleChange?: any;
941
+ disabled: any;
942
+ }
943
+ declare const _default$3: React.MemoExoticComponent<({ checked, labelOn, labelOff, handleChange, classes, disabled, }: LSwitchProps) => react_jsx_runtime.JSX.Element>;
944
+
945
+ type SmartTableHeaderFilterMenuProps = {
946
+ headCell: HeadCell;
947
+ headerFilters: HeaderFilters;
948
+ numActiveFilters: number;
949
+ shouldShowCheckOnFilter?: TableDesktopProps["shouldShowCheckOnFilter"];
950
+ onApplyFilters?: TableDesktopProps["onApplyFilters"];
951
+ };
952
+ declare const SmartTableHeaderFilterMenu: React__default.MemoExoticComponent<({ headCell, numActiveFilters, headerFilters, shouldShowCheckOnFilter, onApplyFilters, }: SmartTableHeaderFilterMenuProps) => react_jsx_runtime.JSX.Element>;
953
+
954
+ type SmartTableHeaderProps = {
955
+ order: Order;
956
+ orderBy: string;
957
+ headCells: HeadCell[];
958
+ numSelectedRows: number;
959
+ numRows: number;
960
+ enableCheckboxSelection?: boolean;
961
+ headerFilters: HeaderFilters;
962
+ onRequestSort: (event: MouseEvent<unknown>, property: string) => void;
963
+ onSelectAllClick: (event: ChangeEvent<HTMLInputElement>) => void;
964
+ onApplyFilters?: TableDesktopProps["onApplyFilters"];
965
+ shouldShowCheckOnFilter?: TableDesktopProps["shouldShowCheckOnFilter"];
966
+ };
967
+ declare const SmartTableHeader: React.MemoExoticComponent<({ order, orderBy, headCells, numSelectedRows, numRows, enableCheckboxSelection, headerFilters, onRequestSort, onSelectAllClick, onApplyFilters, shouldShowCheckOnFilter, }: SmartTableHeaderProps) => react_jsx_runtime.JSX.Element>;
968
+
969
+ interface TableProps {
970
+ headCells?: {
971
+ id?: string;
972
+ label?: string;
973
+ numeric?: boolean;
974
+ disablePadding?: boolean;
975
+ }[];
976
+ data?: {}[];
977
+ RenderItem?: React.ComponentType<any> | null;
978
+ isLoading?: boolean;
979
+ updateSort?(...args: any[]): any;
980
+ page?: number;
981
+ rowsPerPage?: number;
982
+ onRowClick?(...args: any[]): any;
983
+ serverRendered?: boolean;
984
+ appliedFilters?: any;
985
+ doNotCalculateRows?: any;
986
+ }
987
+ declare const Table: ({ appliedFilters, data, doNotCalculateRows, headCells, isLoading, onRowClick, page, RenderItem, rowsPerPage: defaultRowsPerPage, serverRendered, updateSort, }: TableProps) => react_jsx_runtime.JSX.Element;
988
+
989
+ type TableDesktopEditableFieldProps = {
990
+ editInitialValue?: any;
991
+ rowId?: number;
992
+ field: string;
993
+ fieldName: string;
994
+ disabled?: boolean;
995
+ showCheckboxLabel?: boolean;
996
+ inputLabel: string;
997
+ variant?: "standard" | "outlined" | "filled";
998
+ size?: "medium" | "small";
999
+ editableCellType: EditableCellType;
1000
+ filterOptions?: HeadCell["filterOptions"];
1001
+ refetchFilterOptions?: HeadCell["refetchFilterOptions"];
1002
+ isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
1003
+ validateInput?: HeadCell["validateInput"];
1004
+ onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
1005
+ };
1006
+ declare const TableDesktopEditableField: FC<TableDesktopEditableFieldProps>;
1007
+
1008
+ type TableDesktopCellProps = {
1009
+ editableCellType?: EditableCellType;
1010
+ editInitialValue: any;
1011
+ rowId: number;
1012
+ field: string;
1013
+ fieldName: string;
1014
+ enableEditMode: boolean;
1015
+ disabled?: boolean;
1016
+ readOnlyValue: string | number | boolean;
1017
+ width?: HeadCell["width"];
1018
+ inputLabel: HeadCell["label"];
1019
+ filterOptions?: HeadCell["filterOptions"];
1020
+ refetchFilterOptions?: HeadCell["refetchFilterOptions"];
1021
+ isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
1022
+ validateInput?: HeadCell["validateInput"];
1023
+ onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
1024
+ onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
1025
+ };
1026
+ declare const TableDesktopCell: FC<TableDesktopCellProps>;
1027
+
1028
+ interface ITableEmptyResult {
1029
+ colSpan: number;
1030
+ showClearFilterButton?: boolean;
1031
+ handleClickOnClearFiltersButton?: () => void;
1032
+ }
1033
+ declare const TableEmptyResult: ({ colSpan, showClearFilterButton, handleClickOnClearFiltersButton, }: ITableEmptyResult) => react_jsx_runtime.JSX.Element;
1034
+
1035
+ interface TableLoadingProps {
1036
+ rowsPerPage?: number;
1037
+ rowHeight?: number;
1038
+ }
1039
+ declare const TableLoading: React__default.FC<TableLoadingProps>;
1040
+
1041
+ interface TableHeaderProps {
1042
+ cells: any;
1043
+ onSort?: any;
1044
+ }
1045
+ declare const _default$2: React.MemoExoticComponent<({ cells, onSort }: TableHeaderProps) => react_jsx_runtime.JSX.Element>;
1046
+
1047
+ interface TextDividerProps {
1048
+ title: string;
1049
+ icon?: React.ElementType;
1050
+ onClick?: () => void;
1051
+ color?: string;
1052
+ iconPosition?: 'left' | 'right';
1053
+ titleWeight?: '400' | '500' | '600' | '700' | '800' | '900';
1054
+ }
1055
+ declare const TextDivider: React.FC<TextDividerProps>;
1056
+
1057
+ type ThemedDateRangePickerProps = DateRangePickerShape & {
1058
+ className?: string;
1059
+ };
1060
+ /**
1061
+ * DateRangePicker component with dark mode theming support.
1062
+ * Props are forwarded directly to the underlying DateRangePicker.
1063
+ */
1064
+ declare const ThemedDateRangePicker: ({ className, ...props }: ThemedDateRangePickerProps) => react_jsx_runtime.JSX.Element;
1065
+
1066
+ type Props = {
1067
+ imageLogoDarkSmall: string;
1068
+ imageLogoLightSmall: string;
1069
+ handleOpen: () => void;
1070
+ LeftDrawer: ReactNode;
1071
+ leftSection?: ReactNode;
1072
+ rightSection?: ReactNode;
1073
+ };
1074
+ declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, }: Props) => react_jsx_runtime.JSX.Element>;
1075
+
1076
+ type IToastMessage = {
1077
+ toastType: 'success' | 'info' | 'warning' | 'error';
1078
+ toastMessage: string;
1079
+ open: boolean;
1080
+ onClose: () => void;
1081
+ };
1082
+ /**
1083
+ *@param toastType 'success' | 'info' | 'warning' | 'error';.
1084
+ *@param toastMessage Value to be displayed on screen;.
1085
+ *@param open Boolean to open the toast;.
1086
+ *@param updateToast Reducer function to update the reducer value
1087
+ */
1088
+ declare const ToastMessage: ({ toastType, toastMessage, open, onClose, }: IToastMessage) => react_jsx_runtime.JSX.Element;
1089
+
1090
+ interface ITwoButtonDialogProps {
1091
+ confirmButton: () => void;
1092
+ cancelButton?: () => void;
1093
+ dialogLoading?: boolean;
1094
+ title: string;
1095
+ subtitle1?: string | React.ReactNode;
1096
+ subtitle2?: string | React.ReactNode;
1097
+ open: boolean;
1098
+ setOpen: (open: boolean) => void;
1099
+ confirmLabel?: string;
1100
+ cancelLabel?: string;
1101
+ }
1102
+ declare const TwoButtonDialog: FC<ITwoButtonDialogProps>;
1103
+
1104
+ type UserBustProps = {
1105
+ user: {
1106
+ profile_picture: string;
1107
+ first_name: string;
1108
+ last_name: string;
1109
+ username: string;
1110
+ };
1111
+ avatarProps: {
1112
+ height: number;
1113
+ width: number;
1114
+ };
1115
+ typographyProps: {
1116
+ name?: {
1117
+ variant: ComponentProps<typeof Typography>['variant'];
1118
+ component: string;
1119
+ };
1120
+ username?: {
1121
+ variant: ComponentProps<typeof Typography>['variant'];
1122
+ component: string;
1123
+ };
1124
+ };
1125
+ };
1126
+ declare const _default: React.MemoExoticComponent<({ user, avatarProps, typographyProps }: UserBustProps) => react_jsx_runtime.JSX.Element>;
1127
+
1128
+ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1129
+
1130
+ declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1131
+
1132
+ export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, EditableCellType, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };