@natoora-libs/core 0.2.24 → 0.2.26-dev-doug-1

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.
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
- import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
2
+ import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { UseFormReturn, Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, FieldValues, Path } from 'react-hook-form';
4
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';
5
6
  export { B as BulkChanges, d as BulkChangesDialogProps, E as EditableCellType, e as ExportCsvDialogProps, f as TableColumnConfigurationMenuProps, g as TableDesktop, h as TableDesktopFooter, i as TableDesktopFooterProps, j as TableDesktopToolbar, k as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-BQk0gStR.cjs';
6
- import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
7
7
  import { UseMutateAsyncFunction } from 'react-query';
8
- import { SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
8
+ import { BoxProps, SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
9
9
  import { DateRangePickerShape } from 'react-dates';
10
10
 
11
11
  type ActiveFiltersIconButtonProps = {
@@ -17,6 +17,82 @@ type ActiveFiltersIconButtonProps = {
17
17
  };
18
18
  declare const ActiveFiltersIconButton: React.MemoExoticComponent<({ label, className, enableRipple, numActiveFilters, handleClick, }: ActiveFiltersIconButtonProps) => react_jsx_runtime.JSX.Element>;
19
19
 
20
+ type AddressOption = {
21
+ label: string;
22
+ placeId: string;
23
+ };
24
+ type ProcessedAddress = {
25
+ line1?: string;
26
+ line2?: string;
27
+ city?: string;
28
+ county?: string;
29
+ state?: AddressState | null;
30
+ country?: {
31
+ code: string;
32
+ name: string;
33
+ };
34
+ postcode?: string;
35
+ };
36
+ type GoogleAddressComponent = {
37
+ types: string[];
38
+ long_name: string;
39
+ short_name: string;
40
+ };
41
+ type GooglePlacesRawData = {
42
+ status: string;
43
+ result: {
44
+ address_components: GoogleAddressComponent[];
45
+ };
46
+ };
47
+ type GooglePlacesAddressAutocompleteProps = {
48
+ apiKey: string;
49
+ googlePlacesRawData?: GooglePlacesRawData;
50
+ isGooglePlacesRawDataFetching?: boolean;
51
+ addressOption: AddressOption | null;
52
+ onChangeAddressOption: (newAddressOption: AddressOption | null) => void;
53
+ onAddressSelected?: (processedAddress: ProcessedAddress) => void;
54
+ onClearAddressOption?: () => void;
55
+ containerStyles?: CSSProperties;
56
+ };
57
+ declare const GooglePlacesAddressAutocomplete: ({ apiKey, googlePlacesRawData, isGooglePlacesRawDataFetching, addressOption, onChangeAddressOption, onAddressSelected, onClearAddressOption, containerStyles, }: GooglePlacesAddressAutocompleteProps) => react_jsx_runtime.JSX.Element;
58
+
59
+ type AddressCountry = {
60
+ code: string;
61
+ name: string;
62
+ };
63
+ type AddressState = {
64
+ id: number;
65
+ name: string;
66
+ abbreviation?: string | null;
67
+ country?: string | null;
68
+ };
69
+ type BaseAddressFormFields = {
70
+ name: string;
71
+ line1: string;
72
+ line2?: string | null;
73
+ primary_phone_number?: string | null;
74
+ city: string;
75
+ county?: string | null;
76
+ postcode: string;
77
+ country: AddressCountry;
78
+ state?: AddressState | null;
79
+ };
80
+ type AddressFormFieldsProps = {
81
+ form: UseFormReturn<BaseAddressFormFields>;
82
+ hidePrimaryPhoneNumberField?: boolean;
83
+ countriesSelectProps: {
84
+ countries: AddressCountry[];
85
+ isCountriesFetching: boolean;
86
+ refetchCountries: () => void;
87
+ };
88
+ statesSelectProps: {
89
+ addressStates: AddressState[];
90
+ isAddressStatesFetching: boolean;
91
+ };
92
+ googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
93
+ };
94
+ declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
95
+
20
96
  interface AlertDialogProps {
21
97
  open: boolean;
22
98
  alertTitle?: string;
@@ -77,6 +153,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
77
153
  interface BackHeaderProps {
78
154
  appName: string;
79
155
  onGoBackClick?: () => void;
156
+ sideComponent?: React.ReactElement;
80
157
  }
81
158
  declare const BackHeader: React.FC<BackHeaderProps>;
82
159
 
@@ -437,6 +514,7 @@ interface ControlledValidTextInputBaseProps {
437
514
  disabled?: boolean;
438
515
  variant?: 'standard' | 'outlined' | 'filled';
439
516
  className?: string;
517
+ sx?: BoxProps['sx'];
440
518
  maxLength?: number;
441
519
  'data-testid'?: string;
442
520
  form: UseFormReturn<any>;
@@ -485,6 +563,21 @@ interface IDeleteUserDialogContent {
485
563
  }
486
564
  declare const _default$b: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
487
565
 
566
+ type BaseDeliveryInstructionsFormFields = {
567
+ alarm_code?: string | null;
568
+ door_code?: string | null;
569
+ keys_code?: string | null;
570
+ preferred_delivery_window?: string | null;
571
+ invoice_signature_required?: boolean;
572
+ delivery_instructions?: string | null;
573
+ };
574
+ type DeliveryInstructionsFormFieldsProps<T extends BaseDeliveryInstructionsFormFields & FieldValues> = {
575
+ form: UseFormReturn<T>;
576
+ onTextFieldsBlur?: (fieldName: Path<T>) => void;
577
+ onInvoiceSignatureCheckboxChange?: (checked: boolean) => void;
578
+ };
579
+ declare const DeliveryInstructionsFormFields: <T extends BaseDeliveryInstructionsFormFields & FieldValues>({ form, onTextFieldsBlur, onInvoiceSignatureCheckboxChange, }: DeliveryInstructionsFormFieldsProps<T>) => react_jsx_runtime.JSX.Element;
580
+
488
581
  type DynamicOverflowTooltipProps = {
489
582
  arrow?: boolean;
490
583
  maxWidth?: number | string;
@@ -663,11 +756,12 @@ interface PhoneInputProps {
663
756
  value?: string | null;
664
757
  onChange?: (phone: string | null) => void;
665
758
  placeholder?: string;
759
+ sx?: BoxProps['sx'];
666
760
  className?: string;
667
761
  label?: string;
668
762
  error?: boolean;
669
763
  }
670
- declare const PhoneInput: React.FC<PhoneInputProps>;
764
+ declare const PhoneInput: React__default.FC<PhoneInputProps>;
671
765
 
672
766
  interface PlusMinusInputProps {
673
767
  allowNegative?: any;
@@ -788,13 +882,17 @@ interface SearchAndFilterHeaderForTableProps {
788
882
  declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeaderForTableProps) => react_jsx_runtime.JSX.Element>;
789
883
 
790
884
  type SearchFieldDebouncedProps = {
791
- onSearch: (value: string) => void;
885
+ onSearch?: (value: string) => void;
886
+ value?: string;
887
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
888
+ onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
792
889
  variant?: 'outlined' | 'filled' | 'standard';
793
890
  hideSearchIcon?: boolean;
794
891
  initialValue?: string;
795
892
  debounceDelay?: number;
796
893
  minCharacters?: number;
797
894
  sx?: SxProps<Theme>;
895
+ width?: number;
798
896
  inputProps?: {
799
897
  sx: SxProps<Theme>;
800
898
  };
@@ -803,10 +901,15 @@ declare const SearchFieldDebounced: React__default.FC<SearchFieldDebouncedProps>
803
901
 
804
902
  type SearchHeaderProps = {
805
903
  renderButton?: ReactNode;
904
+ renderExtraAction?: ReactNode;
806
905
  children?: ReactNode;
807
- onSearch: (value: string) => void;
906
+ onSearch?: (value: string) => void;
907
+ value?: string;
908
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
909
+ onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
910
+ width?: number;
808
911
  };
809
- declare const SearchHeader: React.MemoExoticComponent<({ renderButton, children, onSearch }: SearchHeaderProps) => react_jsx_runtime.JSX.Element>;
912
+ declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
810
913
 
811
914
  interface ISearchWithFiltersProps {
812
915
  enterPressedInSearch?: () => void;
@@ -1094,4 +1197,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
1094
1197
 
1095
1198
  declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1096
1199
 
1097
- 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, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HashtagInput, 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, type Option, 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, 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 };
1200
+ export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, 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, DeliveryInstructionsFormFields, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, GooglePlacesAddressAutocomplete, HashtagInput, 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, type Option, 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, 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,11 +1,11 @@
1
1
  import * as React from 'react';
2
- import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
2
+ import React__default, { MouseEvent, CSSProperties, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { UseFormReturn, Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, FieldValues, Path } from 'react-hook-form';
4
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';
5
6
  export { B as BulkChanges, d as BulkChangesDialogProps, E as EditableCellType, e as ExportCsvDialogProps, f as TableColumnConfigurationMenuProps, g as TableDesktop, h as TableDesktopFooter, i as TableDesktopFooterProps, j as TableDesktopToolbar, k as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-BQk0gStR.js';
6
- import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
7
7
  import { UseMutateAsyncFunction } from 'react-query';
8
- import { SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
8
+ import { BoxProps, SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
9
9
  import { DateRangePickerShape } from 'react-dates';
10
10
 
11
11
  type ActiveFiltersIconButtonProps = {
@@ -17,6 +17,82 @@ type ActiveFiltersIconButtonProps = {
17
17
  };
18
18
  declare const ActiveFiltersIconButton: React.MemoExoticComponent<({ label, className, enableRipple, numActiveFilters, handleClick, }: ActiveFiltersIconButtonProps) => react_jsx_runtime.JSX.Element>;
19
19
 
20
+ type AddressOption = {
21
+ label: string;
22
+ placeId: string;
23
+ };
24
+ type ProcessedAddress = {
25
+ line1?: string;
26
+ line2?: string;
27
+ city?: string;
28
+ county?: string;
29
+ state?: AddressState | null;
30
+ country?: {
31
+ code: string;
32
+ name: string;
33
+ };
34
+ postcode?: string;
35
+ };
36
+ type GoogleAddressComponent = {
37
+ types: string[];
38
+ long_name: string;
39
+ short_name: string;
40
+ };
41
+ type GooglePlacesRawData = {
42
+ status: string;
43
+ result: {
44
+ address_components: GoogleAddressComponent[];
45
+ };
46
+ };
47
+ type GooglePlacesAddressAutocompleteProps = {
48
+ apiKey: string;
49
+ googlePlacesRawData?: GooglePlacesRawData;
50
+ isGooglePlacesRawDataFetching?: boolean;
51
+ addressOption: AddressOption | null;
52
+ onChangeAddressOption: (newAddressOption: AddressOption | null) => void;
53
+ onAddressSelected?: (processedAddress: ProcessedAddress) => void;
54
+ onClearAddressOption?: () => void;
55
+ containerStyles?: CSSProperties;
56
+ };
57
+ declare const GooglePlacesAddressAutocomplete: ({ apiKey, googlePlacesRawData, isGooglePlacesRawDataFetching, addressOption, onChangeAddressOption, onAddressSelected, onClearAddressOption, containerStyles, }: GooglePlacesAddressAutocompleteProps) => react_jsx_runtime.JSX.Element;
58
+
59
+ type AddressCountry = {
60
+ code: string;
61
+ name: string;
62
+ };
63
+ type AddressState = {
64
+ id: number;
65
+ name: string;
66
+ abbreviation?: string | null;
67
+ country?: string | null;
68
+ };
69
+ type BaseAddressFormFields = {
70
+ name: string;
71
+ line1: string;
72
+ line2?: string | null;
73
+ primary_phone_number?: string | null;
74
+ city: string;
75
+ county?: string | null;
76
+ postcode: string;
77
+ country: AddressCountry;
78
+ state?: AddressState | null;
79
+ };
80
+ type AddressFormFieldsProps = {
81
+ form: UseFormReturn<BaseAddressFormFields>;
82
+ hidePrimaryPhoneNumberField?: boolean;
83
+ countriesSelectProps: {
84
+ countries: AddressCountry[];
85
+ isCountriesFetching: boolean;
86
+ refetchCountries: () => void;
87
+ };
88
+ statesSelectProps: {
89
+ addressStates: AddressState[];
90
+ isAddressStatesFetching: boolean;
91
+ };
92
+ googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
93
+ };
94
+ declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
95
+
20
96
  interface AlertDialogProps {
21
97
  open: boolean;
22
98
  alertTitle?: string;
@@ -77,6 +153,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
77
153
  interface BackHeaderProps {
78
154
  appName: string;
79
155
  onGoBackClick?: () => void;
156
+ sideComponent?: React.ReactElement;
80
157
  }
81
158
  declare const BackHeader: React.FC<BackHeaderProps>;
82
159
 
@@ -437,6 +514,7 @@ interface ControlledValidTextInputBaseProps {
437
514
  disabled?: boolean;
438
515
  variant?: 'standard' | 'outlined' | 'filled';
439
516
  className?: string;
517
+ sx?: BoxProps['sx'];
440
518
  maxLength?: number;
441
519
  'data-testid'?: string;
442
520
  form: UseFormReturn<any>;
@@ -485,6 +563,21 @@ interface IDeleteUserDialogContent {
485
563
  }
486
564
  declare const _default$b: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
487
565
 
566
+ type BaseDeliveryInstructionsFormFields = {
567
+ alarm_code?: string | null;
568
+ door_code?: string | null;
569
+ keys_code?: string | null;
570
+ preferred_delivery_window?: string | null;
571
+ invoice_signature_required?: boolean;
572
+ delivery_instructions?: string | null;
573
+ };
574
+ type DeliveryInstructionsFormFieldsProps<T extends BaseDeliveryInstructionsFormFields & FieldValues> = {
575
+ form: UseFormReturn<T>;
576
+ onTextFieldsBlur?: (fieldName: Path<T>) => void;
577
+ onInvoiceSignatureCheckboxChange?: (checked: boolean) => void;
578
+ };
579
+ declare const DeliveryInstructionsFormFields: <T extends BaseDeliveryInstructionsFormFields & FieldValues>({ form, onTextFieldsBlur, onInvoiceSignatureCheckboxChange, }: DeliveryInstructionsFormFieldsProps<T>) => react_jsx_runtime.JSX.Element;
580
+
488
581
  type DynamicOverflowTooltipProps = {
489
582
  arrow?: boolean;
490
583
  maxWidth?: number | string;
@@ -663,11 +756,12 @@ interface PhoneInputProps {
663
756
  value?: string | null;
664
757
  onChange?: (phone: string | null) => void;
665
758
  placeholder?: string;
759
+ sx?: BoxProps['sx'];
666
760
  className?: string;
667
761
  label?: string;
668
762
  error?: boolean;
669
763
  }
670
- declare const PhoneInput: React.FC<PhoneInputProps>;
764
+ declare const PhoneInput: React__default.FC<PhoneInputProps>;
671
765
 
672
766
  interface PlusMinusInputProps {
673
767
  allowNegative?: any;
@@ -788,13 +882,17 @@ interface SearchAndFilterHeaderForTableProps {
788
882
  declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeaderForTableProps) => react_jsx_runtime.JSX.Element>;
789
883
 
790
884
  type SearchFieldDebouncedProps = {
791
- onSearch: (value: string) => void;
885
+ onSearch?: (value: string) => void;
886
+ value?: string;
887
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
888
+ onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
792
889
  variant?: 'outlined' | 'filled' | 'standard';
793
890
  hideSearchIcon?: boolean;
794
891
  initialValue?: string;
795
892
  debounceDelay?: number;
796
893
  minCharacters?: number;
797
894
  sx?: SxProps<Theme>;
895
+ width?: number;
798
896
  inputProps?: {
799
897
  sx: SxProps<Theme>;
800
898
  };
@@ -803,10 +901,15 @@ declare const SearchFieldDebounced: React__default.FC<SearchFieldDebouncedProps>
803
901
 
804
902
  type SearchHeaderProps = {
805
903
  renderButton?: ReactNode;
904
+ renderExtraAction?: ReactNode;
806
905
  children?: ReactNode;
807
- onSearch: (value: string) => void;
906
+ onSearch?: (value: string) => void;
907
+ value?: string;
908
+ onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
909
+ onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
910
+ width?: number;
808
911
  };
809
- declare const SearchHeader: React.MemoExoticComponent<({ renderButton, children, onSearch }: SearchHeaderProps) => react_jsx_runtime.JSX.Element>;
912
+ declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
810
913
 
811
914
  interface ISearchWithFiltersProps {
812
915
  enterPressedInSearch?: () => void;
@@ -1094,4 +1197,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
1094
1197
 
1095
1198
  declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1096
1199
 
1097
- 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, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HashtagInput, 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, type Option, 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, 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 };
1200
+ export { ActiveFiltersIconButton, AddressFormFields, type AddressOption, 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, DeliveryInstructionsFormFields, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, GooglePlacesAddressAutocomplete, HashtagInput, 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, type Option, 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, 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 };