@natoora-libs/core 0.2.30 → 0.2.32-global-search-dev
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/components/index.cjs +989 -697
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +41 -16
- package/dist/components/index.d.ts +41 -16
- package/dist/components/index.js +829 -539
- package/dist/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
2
|
+
import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, KeyboardEvent, Ref, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { UseFormReturn, Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, FieldValues, Path } from 'react-hook-form';
|
|
5
5
|
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-BQk0gStR.cjs';
|
|
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
|
|
|
79
79
|
};
|
|
80
80
|
type AddressFormFieldsProps = {
|
|
81
81
|
form: UseFormReturn<BaseAddressFormFields>;
|
|
82
|
+
hidePrimaryPhoneNumberField?: boolean;
|
|
82
83
|
countriesSelectProps: {
|
|
83
84
|
countries: AddressCountry[];
|
|
84
85
|
isCountriesFetching: boolean;
|
|
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
|
|
|
90
91
|
};
|
|
91
92
|
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
93
|
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
95
|
|
|
95
96
|
interface AlertDialogProps {
|
|
96
97
|
open: boolean;
|
|
@@ -171,7 +172,7 @@ interface BoxButtonProps {
|
|
|
171
172
|
extra?: any;
|
|
172
173
|
borderColor?: any;
|
|
173
174
|
}
|
|
174
|
-
declare const _default$
|
|
175
|
+
declare const _default$m: React.MemoExoticComponent<(props: BoxButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
175
176
|
|
|
176
177
|
interface IExtendedButton {
|
|
177
178
|
buttonType?: 'button' | 'submit';
|
|
@@ -188,7 +189,7 @@ interface IExtendedButton {
|
|
|
188
189
|
variant?: 'contained' | 'outlined' | 'text';
|
|
189
190
|
copyColor?: string;
|
|
190
191
|
}
|
|
191
|
-
declare const _default$
|
|
192
|
+
declare const _default$l: React.MemoExoticComponent<({ buttonType, color, disabled, href, tooltip, component, type, className, onClick, copy, subcopy, variant, copyColor, }: IExtendedButton) => react_jsx_runtime.JSX.Element>;
|
|
192
193
|
|
|
193
194
|
interface IFilledButton {
|
|
194
195
|
autoFocus?: boolean;
|
|
@@ -202,7 +203,7 @@ interface IFilledButton {
|
|
|
202
203
|
type?: 'button' | 'submit';
|
|
203
204
|
variant?: 'contained' | 'outlined' | 'text';
|
|
204
205
|
}
|
|
205
|
-
declare const _default$
|
|
206
|
+
declare const _default$k: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
|
|
206
207
|
|
|
207
208
|
interface FilledButtonLgProps {
|
|
208
209
|
classes?: any;
|
|
@@ -218,14 +219,14 @@ interface FilledButtonLgProps {
|
|
|
218
219
|
style?: string;
|
|
219
220
|
};
|
|
220
221
|
}
|
|
221
|
-
declare const _default$
|
|
222
|
+
declare const _default$j: React.MemoExoticComponent<({ classes, disabled, variant, color, copy, handleClick, loading, loadingProps, }: FilledButtonLgProps) => react_jsx_runtime.JSX.Element>;
|
|
222
223
|
|
|
223
224
|
interface ImageButtonProps {
|
|
224
225
|
src?: any;
|
|
225
226
|
onClick?: any;
|
|
226
227
|
value?: any;
|
|
227
228
|
}
|
|
228
|
-
declare const _default$
|
|
229
|
+
declare const _default$i: React.MemoExoticComponent<(props: ImageButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
229
230
|
|
|
230
231
|
interface SquareButtonProps {
|
|
231
232
|
children: any;
|
|
@@ -256,7 +257,7 @@ interface OutlinedButtonProps {
|
|
|
256
257
|
subcopy?: any;
|
|
257
258
|
type?: any;
|
|
258
259
|
}
|
|
259
|
-
declare const _default$
|
|
260
|
+
declare const _default$h: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
260
261
|
|
|
261
262
|
interface AButtonProps {
|
|
262
263
|
classes?: any;
|
|
@@ -264,7 +265,7 @@ interface AButtonProps {
|
|
|
264
265
|
color?: string;
|
|
265
266
|
copy?: any;
|
|
266
267
|
}
|
|
267
|
-
declare const _default$
|
|
268
|
+
declare const _default$g: React.MemoExoticComponent<({ classes, variant, color, copy }: AButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
268
269
|
|
|
269
270
|
interface IRoundButton {
|
|
270
271
|
active?: boolean;
|
|
@@ -290,7 +291,7 @@ interface IRoundButton {
|
|
|
290
291
|
*/
|
|
291
292
|
declare const RoundButton: ({ active, children, className, disabled, focused, icon, iconColor, isContrast, isTableButton, noStrokes, onClick, size, tooltip, variant, testID, }: IRoundButton) => react_jsx_runtime.JSX.Element;
|
|
292
293
|
|
|
293
|
-
declare const _default$
|
|
294
|
+
declare const _default$f: React.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
|
|
294
295
|
|
|
295
296
|
interface ActionButtonProps {
|
|
296
297
|
app?: any;
|
|
@@ -553,14 +554,14 @@ interface IDeleteSubstitutionDialogContent {
|
|
|
553
554
|
deleteSubstitution: () => void;
|
|
554
555
|
substitutionName: string;
|
|
555
556
|
}
|
|
556
|
-
declare const _default$
|
|
557
|
+
declare const _default$e: React.MemoExoticComponent<({ closeDialog, substitutionName, deleteSubstitution, }: IDeleteSubstitutionDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
557
558
|
|
|
558
559
|
interface IDeleteUserDialogContent {
|
|
559
560
|
closeDialog: () => void;
|
|
560
561
|
deleteUser: () => void;
|
|
561
562
|
userName: string;
|
|
562
563
|
}
|
|
563
|
-
declare const _default$
|
|
564
|
+
declare const _default$d: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
564
565
|
|
|
565
566
|
type BaseDeliveryInstructionsFormFields = {
|
|
566
567
|
alarm_code?: string | null;
|
|
@@ -594,7 +595,7 @@ interface FilledLabelProps {
|
|
|
594
595
|
color?: string;
|
|
595
596
|
copy?: any;
|
|
596
597
|
}
|
|
597
|
-
declare const _default$
|
|
598
|
+
declare const _default$c: React.MemoExoticComponent<(props: FilledLabelProps) => react_jsx_runtime.JSX.Element>;
|
|
598
599
|
|
|
599
600
|
type IFilterGroupSelector = {
|
|
600
601
|
name?: string;
|
|
@@ -633,7 +634,30 @@ interface FixedFooterProps {
|
|
|
633
634
|
children: React.ReactNode;
|
|
634
635
|
justifyContent?: string;
|
|
635
636
|
}
|
|
636
|
-
declare const _default$
|
|
637
|
+
declare const _default$b: React.MemoExoticComponent<({ justifyContent, children }: FixedFooterProps) => react_jsx_runtime.JSX.Element>;
|
|
638
|
+
|
|
639
|
+
type GlobalSearchTriggerProps = {
|
|
640
|
+
onClick?: () => void;
|
|
641
|
+
onFocus?: () => void;
|
|
642
|
+
onChange?: (value: string) => void;
|
|
643
|
+
onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
644
|
+
readOnly?: boolean;
|
|
645
|
+
placeholder?: string;
|
|
646
|
+
ariaLabel?: string;
|
|
647
|
+
shortcutLabel?: string;
|
|
648
|
+
value?: string;
|
|
649
|
+
minWidth?: number | string;
|
|
650
|
+
sx?: SxProps<Theme>;
|
|
651
|
+
ref?: Ref<HTMLDivElement>;
|
|
652
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
653
|
+
};
|
|
654
|
+
declare const _default$a: React.MemoExoticComponent<({ onClick, onFocus, onChange, onKeyDown, readOnly, placeholder, ariaLabel, shortcutLabel, value, minWidth, sx, ref, inputRef, }: GlobalSearchTriggerProps) => react_jsx_runtime.JSX.Element>;
|
|
655
|
+
|
|
656
|
+
type GlobalSearchProps = {
|
|
657
|
+
onNavigate?(route: string): void;
|
|
658
|
+
shouldUseWindowLocation?(path: string): boolean;
|
|
659
|
+
};
|
|
660
|
+
declare const _default$9: React.MemoExoticComponent<({ onNavigate, shouldUseWindowLocation, }: GlobalSearchProps) => react_jsx_runtime.JSX.Element>;
|
|
637
661
|
|
|
638
662
|
interface HeaderProps {
|
|
639
663
|
appName: any;
|
|
@@ -1117,10 +1141,11 @@ type Props = {
|
|
|
1117
1141
|
handleOpen: () => void;
|
|
1118
1142
|
LeftDrawer: ReactNode;
|
|
1119
1143
|
leftSection?: ReactNode;
|
|
1144
|
+
centerSection?: ReactNode;
|
|
1120
1145
|
rightSection?: ReactNode;
|
|
1121
1146
|
isAuthenticated?: boolean;
|
|
1122
1147
|
};
|
|
1123
|
-
declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
|
|
1148
|
+
declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, centerSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
|
|
1124
1149
|
|
|
1125
1150
|
type IToastMessage = {
|
|
1126
1151
|
toastType: 'success' | 'info' | 'warning' | 'error';
|
|
@@ -1196,4 +1221,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1196
1221
|
|
|
1197
1222
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1198
1223
|
|
|
1199
|
-
export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$
|
|
1224
|
+
export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$m as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, DeliveryInstructionsFormFields, DynamicOverflowTooltip, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$b as FixedFooter, _default$9 as GlobalSearch, _default$a as GlobalSearchTrigger, GooglePlacesAddressAutocomplete, HashtagInput, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, type Option, Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
2
|
+
import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, KeyboardEvent, Ref, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { UseFormReturn, Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, FieldValues, Path } from 'react-hook-form';
|
|
5
5
|
import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-BQk0gStR.js';
|
|
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
|
|
|
79
79
|
};
|
|
80
80
|
type AddressFormFieldsProps = {
|
|
81
81
|
form: UseFormReturn<BaseAddressFormFields>;
|
|
82
|
+
hidePrimaryPhoneNumberField?: boolean;
|
|
82
83
|
countriesSelectProps: {
|
|
83
84
|
countries: AddressCountry[];
|
|
84
85
|
isCountriesFetching: boolean;
|
|
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
|
|
|
90
91
|
};
|
|
91
92
|
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
93
|
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
95
|
|
|
95
96
|
interface AlertDialogProps {
|
|
96
97
|
open: boolean;
|
|
@@ -171,7 +172,7 @@ interface BoxButtonProps {
|
|
|
171
172
|
extra?: any;
|
|
172
173
|
borderColor?: any;
|
|
173
174
|
}
|
|
174
|
-
declare const _default$
|
|
175
|
+
declare const _default$m: React.MemoExoticComponent<(props: BoxButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
175
176
|
|
|
176
177
|
interface IExtendedButton {
|
|
177
178
|
buttonType?: 'button' | 'submit';
|
|
@@ -188,7 +189,7 @@ interface IExtendedButton {
|
|
|
188
189
|
variant?: 'contained' | 'outlined' | 'text';
|
|
189
190
|
copyColor?: string;
|
|
190
191
|
}
|
|
191
|
-
declare const _default$
|
|
192
|
+
declare const _default$l: React.MemoExoticComponent<({ buttonType, color, disabled, href, tooltip, component, type, className, onClick, copy, subcopy, variant, copyColor, }: IExtendedButton) => react_jsx_runtime.JSX.Element>;
|
|
192
193
|
|
|
193
194
|
interface IFilledButton {
|
|
194
195
|
autoFocus?: boolean;
|
|
@@ -202,7 +203,7 @@ interface IFilledButton {
|
|
|
202
203
|
type?: 'button' | 'submit';
|
|
203
204
|
variant?: 'contained' | 'outlined' | 'text';
|
|
204
205
|
}
|
|
205
|
-
declare const _default$
|
|
206
|
+
declare const _default$k: React__default.MemoExoticComponent<({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: IFilledButton) => react_jsx_runtime.JSX.Element>;
|
|
206
207
|
|
|
207
208
|
interface FilledButtonLgProps {
|
|
208
209
|
classes?: any;
|
|
@@ -218,14 +219,14 @@ interface FilledButtonLgProps {
|
|
|
218
219
|
style?: string;
|
|
219
220
|
};
|
|
220
221
|
}
|
|
221
|
-
declare const _default$
|
|
222
|
+
declare const _default$j: React.MemoExoticComponent<({ classes, disabled, variant, color, copy, handleClick, loading, loadingProps, }: FilledButtonLgProps) => react_jsx_runtime.JSX.Element>;
|
|
222
223
|
|
|
223
224
|
interface ImageButtonProps {
|
|
224
225
|
src?: any;
|
|
225
226
|
onClick?: any;
|
|
226
227
|
value?: any;
|
|
227
228
|
}
|
|
228
|
-
declare const _default$
|
|
229
|
+
declare const _default$i: React.MemoExoticComponent<(props: ImageButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
229
230
|
|
|
230
231
|
interface SquareButtonProps {
|
|
231
232
|
children: any;
|
|
@@ -256,7 +257,7 @@ interface OutlinedButtonProps {
|
|
|
256
257
|
subcopy?: any;
|
|
257
258
|
type?: any;
|
|
258
259
|
}
|
|
259
|
-
declare const _default$
|
|
260
|
+
declare const _default$h: React__default.MemoExoticComponent<({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: OutlinedButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
260
261
|
|
|
261
262
|
interface AButtonProps {
|
|
262
263
|
classes?: any;
|
|
@@ -264,7 +265,7 @@ interface AButtonProps {
|
|
|
264
265
|
color?: string;
|
|
265
266
|
copy?: any;
|
|
266
267
|
}
|
|
267
|
-
declare const _default$
|
|
268
|
+
declare const _default$g: React.MemoExoticComponent<({ classes, variant, color, copy }: AButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
268
269
|
|
|
269
270
|
interface IRoundButton {
|
|
270
271
|
active?: boolean;
|
|
@@ -290,7 +291,7 @@ interface IRoundButton {
|
|
|
290
291
|
*/
|
|
291
292
|
declare const RoundButton: ({ active, children, className, disabled, focused, icon, iconColor, isContrast, isTableButton, noStrokes, onClick, size, tooltip, variant, testID, }: IRoundButton) => react_jsx_runtime.JSX.Element;
|
|
292
293
|
|
|
293
|
-
declare const _default$
|
|
294
|
+
declare const _default$f: React.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
|
|
294
295
|
|
|
295
296
|
interface ActionButtonProps {
|
|
296
297
|
app?: any;
|
|
@@ -553,14 +554,14 @@ interface IDeleteSubstitutionDialogContent {
|
|
|
553
554
|
deleteSubstitution: () => void;
|
|
554
555
|
substitutionName: string;
|
|
555
556
|
}
|
|
556
|
-
declare const _default$
|
|
557
|
+
declare const _default$e: React.MemoExoticComponent<({ closeDialog, substitutionName, deleteSubstitution, }: IDeleteSubstitutionDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
557
558
|
|
|
558
559
|
interface IDeleteUserDialogContent {
|
|
559
560
|
closeDialog: () => void;
|
|
560
561
|
deleteUser: () => void;
|
|
561
562
|
userName: string;
|
|
562
563
|
}
|
|
563
|
-
declare const _default$
|
|
564
|
+
declare const _default$d: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
564
565
|
|
|
565
566
|
type BaseDeliveryInstructionsFormFields = {
|
|
566
567
|
alarm_code?: string | null;
|
|
@@ -594,7 +595,7 @@ interface FilledLabelProps {
|
|
|
594
595
|
color?: string;
|
|
595
596
|
copy?: any;
|
|
596
597
|
}
|
|
597
|
-
declare const _default$
|
|
598
|
+
declare const _default$c: React.MemoExoticComponent<(props: FilledLabelProps) => react_jsx_runtime.JSX.Element>;
|
|
598
599
|
|
|
599
600
|
type IFilterGroupSelector = {
|
|
600
601
|
name?: string;
|
|
@@ -633,7 +634,30 @@ interface FixedFooterProps {
|
|
|
633
634
|
children: React.ReactNode;
|
|
634
635
|
justifyContent?: string;
|
|
635
636
|
}
|
|
636
|
-
declare const _default$
|
|
637
|
+
declare const _default$b: React.MemoExoticComponent<({ justifyContent, children }: FixedFooterProps) => react_jsx_runtime.JSX.Element>;
|
|
638
|
+
|
|
639
|
+
type GlobalSearchTriggerProps = {
|
|
640
|
+
onClick?: () => void;
|
|
641
|
+
onFocus?: () => void;
|
|
642
|
+
onChange?: (value: string) => void;
|
|
643
|
+
onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
644
|
+
readOnly?: boolean;
|
|
645
|
+
placeholder?: string;
|
|
646
|
+
ariaLabel?: string;
|
|
647
|
+
shortcutLabel?: string;
|
|
648
|
+
value?: string;
|
|
649
|
+
minWidth?: number | string;
|
|
650
|
+
sx?: SxProps<Theme>;
|
|
651
|
+
ref?: Ref<HTMLDivElement>;
|
|
652
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
653
|
+
};
|
|
654
|
+
declare const _default$a: React.MemoExoticComponent<({ onClick, onFocus, onChange, onKeyDown, readOnly, placeholder, ariaLabel, shortcutLabel, value, minWidth, sx, ref, inputRef, }: GlobalSearchTriggerProps) => react_jsx_runtime.JSX.Element>;
|
|
655
|
+
|
|
656
|
+
type GlobalSearchProps = {
|
|
657
|
+
onNavigate?(route: string): void;
|
|
658
|
+
shouldUseWindowLocation?(path: string): boolean;
|
|
659
|
+
};
|
|
660
|
+
declare const _default$9: React.MemoExoticComponent<({ onNavigate, shouldUseWindowLocation, }: GlobalSearchProps) => react_jsx_runtime.JSX.Element>;
|
|
637
661
|
|
|
638
662
|
interface HeaderProps {
|
|
639
663
|
appName: any;
|
|
@@ -1117,10 +1141,11 @@ type Props = {
|
|
|
1117
1141
|
handleOpen: () => void;
|
|
1118
1142
|
LeftDrawer: ReactNode;
|
|
1119
1143
|
leftSection?: ReactNode;
|
|
1144
|
+
centerSection?: ReactNode;
|
|
1120
1145
|
rightSection?: ReactNode;
|
|
1121
1146
|
isAuthenticated?: boolean;
|
|
1122
1147
|
};
|
|
1123
|
-
declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
|
|
1148
|
+
declare const _default$1: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall, handleOpen, LeftDrawer, leftSection, centerSection, rightSection, isAuthenticated, }: Props) => react_jsx_runtime.JSX.Element>;
|
|
1124
1149
|
|
|
1125
1150
|
type IToastMessage = {
|
|
1126
1151
|
toastType: 'success' | 'info' | 'warning' | 'error';
|
|
@@ -1196,4 +1221,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1196
1221
|
|
|
1197
1222
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1198
1223
|
|
|
1199
|
-
export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$
|
|
1224
|
+
export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$m as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, DeliveryInstructionsFormFields, DynamicOverflowTooltip, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$b as FixedFooter, _default$9 as GlobalSearch, _default$a as GlobalSearchTrigger, GooglePlacesAddressAutocomplete, HashtagInput, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, type Option, Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, 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 };
|