@natoora-libs/core 0.2.22-dev-doug-1 → 0.2.22-task-management-v1
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/{TableDesktop-wpKCBVE4.d.cts → TableDesktop-BQk0gStR.d.cts} +2 -1
- package/dist/{TableDesktop-wpKCBVE4.d.ts → TableDesktop-BQk0gStR.d.ts} +2 -1
- package/dist/components/index.cjs +1986 -2408
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +29 -112
- package/dist/components/index.d.ts +29 -112
- package/dist/components/index.js +1728 -2149
- package/dist/components/index.js.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +3 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEvent,
|
|
2
|
+
import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
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
|
+
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 {
|
|
8
|
+
import { SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
|
|
9
9
|
import { DateRangePickerShape } from 'react-dates';
|
|
10
10
|
|
|
11
11
|
type ActiveFiltersIconButtonProps = {
|
|
@@ -17,81 +17,6 @@ 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
|
-
countriesSelectProps: {
|
|
83
|
-
countries: AddressCountry[];
|
|
84
|
-
isCountriesFetching: boolean;
|
|
85
|
-
refetchCountries: () => void;
|
|
86
|
-
};
|
|
87
|
-
statesSelectProps: {
|
|
88
|
-
addressStates: AddressState[];
|
|
89
|
-
isAddressStatesFetching: boolean;
|
|
90
|
-
};
|
|
91
|
-
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
|
-
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
-
|
|
95
20
|
interface AlertDialogProps {
|
|
96
21
|
open: boolean;
|
|
97
22
|
alertTitle?: string;
|
|
@@ -152,6 +77,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
|
|
|
152
77
|
interface BackHeaderProps {
|
|
153
78
|
appName: string;
|
|
154
79
|
onGoBackClick?: () => void;
|
|
80
|
+
sideComponent?: React.ReactElement;
|
|
155
81
|
}
|
|
156
82
|
declare const BackHeader: React.FC<BackHeaderProps>;
|
|
157
83
|
|
|
@@ -512,7 +438,6 @@ interface ControlledValidTextInputBaseProps {
|
|
|
512
438
|
disabled?: boolean;
|
|
513
439
|
variant?: 'standard' | 'outlined' | 'filled';
|
|
514
440
|
className?: string;
|
|
515
|
-
sx?: BoxProps['sx'];
|
|
516
441
|
maxLength?: number;
|
|
517
442
|
'data-testid'?: string;
|
|
518
443
|
form: UseFormReturn<any>;
|
|
@@ -561,21 +486,6 @@ interface IDeleteUserDialogContent {
|
|
|
561
486
|
}
|
|
562
487
|
declare const _default$b: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
563
488
|
|
|
564
|
-
type BaseDeliveryInstructionsFormFields = {
|
|
565
|
-
alarm_code?: string | null;
|
|
566
|
-
door_code?: string | null;
|
|
567
|
-
keys_code?: string | null;
|
|
568
|
-
preferred_delivery_window?: string | null;
|
|
569
|
-
invoice_signature_required?: boolean;
|
|
570
|
-
delivery_instructions?: string | null;
|
|
571
|
-
};
|
|
572
|
-
type DeliveryInstructionsFormFieldsProps<T extends BaseDeliveryInstructionsFormFields & FieldValues> = {
|
|
573
|
-
form: UseFormReturn<T>;
|
|
574
|
-
onTextFieldsBlur?: (fieldName: Path<T>) => void;
|
|
575
|
-
onInvoiceSignatureCheckboxChange?: (checked: boolean) => void;
|
|
576
|
-
};
|
|
577
|
-
declare const DeliveryInstructionsFormFields: <T extends BaseDeliveryInstructionsFormFields & FieldValues>({ form, onTextFieldsBlur, onInvoiceSignatureCheckboxChange, }: DeliveryInstructionsFormFieldsProps<T>) => react_jsx_runtime.JSX.Element;
|
|
578
|
-
|
|
579
489
|
type DynamicOverflowTooltipProps = {
|
|
580
490
|
arrow?: boolean;
|
|
581
491
|
maxWidth?: number | string;
|
|
@@ -754,12 +664,11 @@ interface PhoneInputProps {
|
|
|
754
664
|
value?: string | null;
|
|
755
665
|
onChange?: (phone: string | null) => void;
|
|
756
666
|
placeholder?: string;
|
|
757
|
-
sx?: BoxProps['sx'];
|
|
758
667
|
className?: string;
|
|
759
668
|
label?: string;
|
|
760
669
|
error?: boolean;
|
|
761
670
|
}
|
|
762
|
-
declare const PhoneInput:
|
|
671
|
+
declare const PhoneInput: React.FC<PhoneInputProps>;
|
|
763
672
|
|
|
764
673
|
interface PlusMinusInputProps {
|
|
765
674
|
allowNegative?: any;
|
|
@@ -880,17 +789,13 @@ interface SearchAndFilterHeaderForTableProps {
|
|
|
880
789
|
declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeaderForTableProps) => react_jsx_runtime.JSX.Element>;
|
|
881
790
|
|
|
882
791
|
type SearchFieldDebouncedProps = {
|
|
883
|
-
onSearch
|
|
884
|
-
value?: string;
|
|
885
|
-
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
886
|
-
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
792
|
+
onSearch: (value: string) => void;
|
|
887
793
|
variant?: 'outlined' | 'filled' | 'standard';
|
|
888
794
|
hideSearchIcon?: boolean;
|
|
889
795
|
initialValue?: string;
|
|
890
796
|
debounceDelay?: number;
|
|
891
797
|
minCharacters?: number;
|
|
892
798
|
sx?: SxProps<Theme>;
|
|
893
|
-
width?: number;
|
|
894
799
|
inputProps?: {
|
|
895
800
|
sx: SxProps<Theme>;
|
|
896
801
|
};
|
|
@@ -899,15 +804,10 @@ declare const SearchFieldDebounced: React__default.FC<SearchFieldDebouncedProps>
|
|
|
899
804
|
|
|
900
805
|
type SearchHeaderProps = {
|
|
901
806
|
renderButton?: ReactNode;
|
|
902
|
-
renderExtraAction?: ReactNode;
|
|
903
807
|
children?: ReactNode;
|
|
904
|
-
onSearch
|
|
905
|
-
value?: string;
|
|
906
|
-
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
907
|
-
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
908
|
-
width?: number;
|
|
808
|
+
onSearch: (value: string) => void;
|
|
909
809
|
};
|
|
910
|
-
declare const SearchHeader: ({ renderButton,
|
|
810
|
+
declare const SearchHeader: React.MemoExoticComponent<({ renderButton, children, onSearch }: SearchHeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
911
811
|
|
|
912
812
|
interface ISearchWithFiltersProps {
|
|
913
813
|
enterPressedInSearch?: () => void;
|
|
@@ -1060,12 +960,13 @@ type TableDesktopEditableFieldProps = {
|
|
|
1060
960
|
};
|
|
1061
961
|
declare const TableDesktopEditableField: FC<TableDesktopEditableFieldProps>;
|
|
1062
962
|
|
|
963
|
+
type ReadOnlyValue = string | number | boolean | ReactNode;
|
|
1063
964
|
type TableDesktopCellProps = {
|
|
1064
965
|
editInitialValue: any;
|
|
1065
966
|
rowId: RowId;
|
|
1066
967
|
enableEditMode: boolean;
|
|
1067
968
|
disabled?: boolean;
|
|
1068
|
-
readOnlyValue:
|
|
969
|
+
readOnlyValue: ReadOnlyValue;
|
|
1069
970
|
headCell: HeadCell;
|
|
1070
971
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1071
972
|
};
|
|
@@ -1172,8 +1073,24 @@ type UserBustProps = {
|
|
|
1172
1073
|
};
|
|
1173
1074
|
declare const _default: React.MemoExoticComponent<({ user, avatarProps, typographyProps }: UserBustProps) => react_jsx_runtime.JSX.Element>;
|
|
1174
1075
|
|
|
1076
|
+
type Tag = {
|
|
1077
|
+
id: number;
|
|
1078
|
+
tag: string;
|
|
1079
|
+
};
|
|
1080
|
+
type AutocompleteType<T extends Tag> = AutocompleteProps<T, false, false, false>;
|
|
1081
|
+
interface HashtagInputProps extends Omit<AutocompleteType<any>, 'options' | 'renderInput'> {
|
|
1082
|
+
label?: TextFieldProps['label'];
|
|
1083
|
+
placeholder?: TextFieldProps['placeholder'];
|
|
1084
|
+
variant?: TextFieldProps['variant'];
|
|
1085
|
+
error?: TextFieldProps['error'];
|
|
1086
|
+
helperText?: TextFieldProps['helperText'];
|
|
1087
|
+
onCreateTag?: (tagName?: string) => void;
|
|
1088
|
+
onDeleteTag?: (tag?: Tag | string) => void;
|
|
1089
|
+
}
|
|
1090
|
+
declare const HashtagInput: ({ label, placeholder, variant, error, helperText, onCreateTag, onDeleteTag, ...props }: HashtagInputProps) => react_jsx_runtime.JSX.Element;
|
|
1091
|
+
|
|
1175
1092
|
declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1176
1093
|
|
|
1177
1094
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1178
1095
|
|
|
1179
|
-
export { ActiveFiltersIconButton,
|
|
1096
|
+
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 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEvent,
|
|
2
|
+
import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
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
|
+
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 {
|
|
8
|
+
import { SxProps, Theme, SelectProps, MenuProps, Typography, AutocompleteProps, TextFieldProps } from '@mui/material';
|
|
9
9
|
import { DateRangePickerShape } from 'react-dates';
|
|
10
10
|
|
|
11
11
|
type ActiveFiltersIconButtonProps = {
|
|
@@ -17,81 +17,6 @@ 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
|
-
countriesSelectProps: {
|
|
83
|
-
countries: AddressCountry[];
|
|
84
|
-
isCountriesFetching: boolean;
|
|
85
|
-
refetchCountries: () => void;
|
|
86
|
-
};
|
|
87
|
-
statesSelectProps: {
|
|
88
|
-
addressStates: AddressState[];
|
|
89
|
-
isAddressStatesFetching: boolean;
|
|
90
|
-
};
|
|
91
|
-
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
|
-
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
-
|
|
95
20
|
interface AlertDialogProps {
|
|
96
21
|
open: boolean;
|
|
97
22
|
alertTitle?: string;
|
|
@@ -152,6 +77,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
|
|
|
152
77
|
interface BackHeaderProps {
|
|
153
78
|
appName: string;
|
|
154
79
|
onGoBackClick?: () => void;
|
|
80
|
+
sideComponent?: React.ReactElement;
|
|
155
81
|
}
|
|
156
82
|
declare const BackHeader: React.FC<BackHeaderProps>;
|
|
157
83
|
|
|
@@ -512,7 +438,6 @@ interface ControlledValidTextInputBaseProps {
|
|
|
512
438
|
disabled?: boolean;
|
|
513
439
|
variant?: 'standard' | 'outlined' | 'filled';
|
|
514
440
|
className?: string;
|
|
515
|
-
sx?: BoxProps['sx'];
|
|
516
441
|
maxLength?: number;
|
|
517
442
|
'data-testid'?: string;
|
|
518
443
|
form: UseFormReturn<any>;
|
|
@@ -561,21 +486,6 @@ interface IDeleteUserDialogContent {
|
|
|
561
486
|
}
|
|
562
487
|
declare const _default$b: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
|
|
563
488
|
|
|
564
|
-
type BaseDeliveryInstructionsFormFields = {
|
|
565
|
-
alarm_code?: string | null;
|
|
566
|
-
door_code?: string | null;
|
|
567
|
-
keys_code?: string | null;
|
|
568
|
-
preferred_delivery_window?: string | null;
|
|
569
|
-
invoice_signature_required?: boolean;
|
|
570
|
-
delivery_instructions?: string | null;
|
|
571
|
-
};
|
|
572
|
-
type DeliveryInstructionsFormFieldsProps<T extends BaseDeliveryInstructionsFormFields & FieldValues> = {
|
|
573
|
-
form: UseFormReturn<T>;
|
|
574
|
-
onTextFieldsBlur?: (fieldName: Path<T>) => void;
|
|
575
|
-
onInvoiceSignatureCheckboxChange?: (checked: boolean) => void;
|
|
576
|
-
};
|
|
577
|
-
declare const DeliveryInstructionsFormFields: <T extends BaseDeliveryInstructionsFormFields & FieldValues>({ form, onTextFieldsBlur, onInvoiceSignatureCheckboxChange, }: DeliveryInstructionsFormFieldsProps<T>) => react_jsx_runtime.JSX.Element;
|
|
578
|
-
|
|
579
489
|
type DynamicOverflowTooltipProps = {
|
|
580
490
|
arrow?: boolean;
|
|
581
491
|
maxWidth?: number | string;
|
|
@@ -754,12 +664,11 @@ interface PhoneInputProps {
|
|
|
754
664
|
value?: string | null;
|
|
755
665
|
onChange?: (phone: string | null) => void;
|
|
756
666
|
placeholder?: string;
|
|
757
|
-
sx?: BoxProps['sx'];
|
|
758
667
|
className?: string;
|
|
759
668
|
label?: string;
|
|
760
669
|
error?: boolean;
|
|
761
670
|
}
|
|
762
|
-
declare const PhoneInput:
|
|
671
|
+
declare const PhoneInput: React.FC<PhoneInputProps>;
|
|
763
672
|
|
|
764
673
|
interface PlusMinusInputProps {
|
|
765
674
|
allowNegative?: any;
|
|
@@ -880,17 +789,13 @@ interface SearchAndFilterHeaderForTableProps {
|
|
|
880
789
|
declare const _default$7: React.MemoExoticComponent<(props: SearchAndFilterHeaderForTableProps) => react_jsx_runtime.JSX.Element>;
|
|
881
790
|
|
|
882
791
|
type SearchFieldDebouncedProps = {
|
|
883
|
-
onSearch
|
|
884
|
-
value?: string;
|
|
885
|
-
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
886
|
-
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
792
|
+
onSearch: (value: string) => void;
|
|
887
793
|
variant?: 'outlined' | 'filled' | 'standard';
|
|
888
794
|
hideSearchIcon?: boolean;
|
|
889
795
|
initialValue?: string;
|
|
890
796
|
debounceDelay?: number;
|
|
891
797
|
minCharacters?: number;
|
|
892
798
|
sx?: SxProps<Theme>;
|
|
893
|
-
width?: number;
|
|
894
799
|
inputProps?: {
|
|
895
800
|
sx: SxProps<Theme>;
|
|
896
801
|
};
|
|
@@ -899,15 +804,10 @@ declare const SearchFieldDebounced: React__default.FC<SearchFieldDebouncedProps>
|
|
|
899
804
|
|
|
900
805
|
type SearchHeaderProps = {
|
|
901
806
|
renderButton?: ReactNode;
|
|
902
|
-
renderExtraAction?: ReactNode;
|
|
903
807
|
children?: ReactNode;
|
|
904
|
-
onSearch
|
|
905
|
-
value?: string;
|
|
906
|
-
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
907
|
-
onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
908
|
-
width?: number;
|
|
808
|
+
onSearch: (value: string) => void;
|
|
909
809
|
};
|
|
910
|
-
declare const SearchHeader: ({ renderButton,
|
|
810
|
+
declare const SearchHeader: React.MemoExoticComponent<({ renderButton, children, onSearch }: SearchHeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
911
811
|
|
|
912
812
|
interface ISearchWithFiltersProps {
|
|
913
813
|
enterPressedInSearch?: () => void;
|
|
@@ -1060,12 +960,13 @@ type TableDesktopEditableFieldProps = {
|
|
|
1060
960
|
};
|
|
1061
961
|
declare const TableDesktopEditableField: FC<TableDesktopEditableFieldProps>;
|
|
1062
962
|
|
|
963
|
+
type ReadOnlyValue = string | number | boolean | ReactNode;
|
|
1063
964
|
type TableDesktopCellProps = {
|
|
1064
965
|
editInitialValue: any;
|
|
1065
966
|
rowId: RowId;
|
|
1066
967
|
enableEditMode: boolean;
|
|
1067
968
|
disabled?: boolean;
|
|
1068
|
-
readOnlyValue:
|
|
969
|
+
readOnlyValue: ReadOnlyValue;
|
|
1069
970
|
headCell: HeadCell;
|
|
1070
971
|
onCellClick?: (event: MouseEvent<HTMLTableCellElement>, isEditMode: boolean) => void;
|
|
1071
972
|
};
|
|
@@ -1172,8 +1073,24 @@ type UserBustProps = {
|
|
|
1172
1073
|
};
|
|
1173
1074
|
declare const _default: React.MemoExoticComponent<({ user, avatarProps, typographyProps }: UserBustProps) => react_jsx_runtime.JSX.Element>;
|
|
1174
1075
|
|
|
1076
|
+
type Tag = {
|
|
1077
|
+
id: number;
|
|
1078
|
+
tag: string;
|
|
1079
|
+
};
|
|
1080
|
+
type AutocompleteType<T extends Tag> = AutocompleteProps<T, false, false, false>;
|
|
1081
|
+
interface HashtagInputProps extends Omit<AutocompleteType<any>, 'options' | 'renderInput'> {
|
|
1082
|
+
label?: TextFieldProps['label'];
|
|
1083
|
+
placeholder?: TextFieldProps['placeholder'];
|
|
1084
|
+
variant?: TextFieldProps['variant'];
|
|
1085
|
+
error?: TextFieldProps['error'];
|
|
1086
|
+
helperText?: TextFieldProps['helperText'];
|
|
1087
|
+
onCreateTag?: (tagName?: string) => void;
|
|
1088
|
+
onDeleteTag?: (tag?: Tag | string) => void;
|
|
1089
|
+
}
|
|
1090
|
+
declare const HashtagInput: ({ label, placeholder, variant, error, helperText, onCreateTag, onDeleteTag, ...props }: HashtagInputProps) => react_jsx_runtime.JSX.Element;
|
|
1091
|
+
|
|
1175
1092
|
declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1176
1093
|
|
|
1177
1094
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1178
1095
|
|
|
1179
|
-
export { ActiveFiltersIconButton,
|
|
1096
|
+
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 };
|