@natoora-libs/core 0.2.30 → 0.2.31-ticket-system-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.
@@ -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;
@@ -904,11 +905,12 @@ type SearchHeaderProps = {
904
905
  children?: ReactNode;
905
906
  onSearch?: (value: string) => void;
906
907
  value?: string;
908
+ initialValue?: string;
907
909
  onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
908
910
  onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
909
911
  width?: number;
910
912
  };
911
- declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
913
+ declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, initialValue }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
912
914
 
913
915
  interface ISearchWithFiltersProps {
914
916
  enterPressedInSearch?: () => void;
@@ -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;
@@ -904,11 +905,12 @@ type SearchHeaderProps = {
904
905
  children?: ReactNode;
905
906
  onSearch?: (value: string) => void;
906
907
  value?: string;
908
+ initialValue?: string;
907
909
  onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
908
910
  onKeyDown?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
909
911
  width?: number;
910
912
  };
911
- declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
913
+ declare const SearchHeader: ({ renderButton, renderExtraAction, children, onSearch, value, onChange, onKeyDown, width, initialValue }: SearchHeaderProps) => react_jsx_runtime.JSX.Element;
912
914
 
913
915
  interface ISearchWithFiltersProps {
914
916
  enterPressedInSearch?: () => void;
@@ -302,7 +302,7 @@ var require_debounce = __commonJS({
302
302
 
303
303
  // src/components/ActiveFiltersIconButton/ActiveFiltersIconButton.tsx
304
304
  import { memo } from "react";
305
- import { FilterList } from "@mui/icons-material";
305
+ import FilterList from "@mui/icons-material/FilterList";
306
306
  import { Typography, Chip, IconButton } from "@mui/material";
307
307
  import { jsx, jsxs } from "react/jsx-runtime";
308
308
  var ActiveFiltersIconButton = memo(
@@ -850,6 +850,7 @@ var ADDRESS_FORM_FIELDS = [
850
850
  ];
851
851
  var AddressFormFields = ({
852
852
  form,
853
+ hidePrimaryPhoneNumberField = false,
853
854
  countriesSelectProps: { countries, isCountriesFetching, refetchCountries },
854
855
  statesSelectProps: { addressStates, isAddressStatesFetching },
855
856
  googlePlacesAutocompleteProps
@@ -914,7 +915,7 @@ var AddressFormFields = ({
914
915
  helperText: "Name this address for easier reference (e.g. Office, Home, etc.)."
915
916
  }
916
917
  ),
917
- /* @__PURE__ */ jsx6(
918
+ !hidePrimaryPhoneNumberField && /* @__PURE__ */ jsx6(
918
919
  Controller2,
919
920
  {
920
921
  control,
@@ -2333,7 +2334,8 @@ var ImageButton = (props) => {
2333
2334
  var ImageButton_default = memo6(ImageButton);
2334
2335
 
2335
2336
  // src/components/Buttons/SquareButton/SquareButton.tsx
2336
- import { Add as Add2, ChevronRight } from "@mui/icons-material";
2337
+ import Add2 from "@mui/icons-material/Add";
2338
+ import ChevronRight from "@mui/icons-material/ChevronRight";
2337
2339
  import { Typography as Typography9, Button as Button10 } from "@mui/material";
2338
2340
  import { makeStyles as makeStyles10 } from "tss-react/mui";
2339
2341
  import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
@@ -5365,7 +5367,7 @@ var DeliveryInstructionsFormFields = ({
5365
5367
  };
5366
5368
 
5367
5369
  // src/components/FileCard/FileCard.tsx
5368
- import { Description as DescriptionIcon } from "@mui/icons-material";
5370
+ import DescriptionIcon from "@mui/icons-material/Description";
5369
5371
  import { Typography as Typography16, Box as Box25 } from "@mui/material";
5370
5372
  import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
5371
5373
  var getFileMetadata = (file) => {
@@ -7740,7 +7742,8 @@ var SearchHeader = ({
7740
7742
  value,
7741
7743
  onChange,
7742
7744
  onKeyDown,
7743
- width
7745
+ width,
7746
+ initialValue
7744
7747
  }) => {
7745
7748
  return /* @__PURE__ */ jsxs80(
7746
7749
  Paper10,
@@ -7768,7 +7771,8 @@ var SearchHeader = ({
7768
7771
  onSearch,
7769
7772
  value,
7770
7773
  onChange,
7771
- onKeyDown
7774
+ onKeyDown,
7775
+ initialValue
7772
7776
  }
7773
7777
  ),
7774
7778
  renderExtraAction
@@ -10100,7 +10104,7 @@ var TableDesktopToolbar = ({
10100
10104
 
10101
10105
  // src/components/TableHeader/TableHeader.tsx
10102
10106
  import { memo as memo21, useEffect as useEffect16, useState as useState26 } from "react";
10103
- import { ImportExport as ImportExportIcon } from "@mui/icons-material";
10107
+ import ImportExportIcon from "@mui/icons-material/ImportExport";
10104
10108
  import { TableCell as TableCell7, TableHead as TableHead3, TableRow as TableRow6, TableSortLabel as TableSortLabel3 } from "@mui/material";
10105
10109
  import { makeStyles as makeStyles46 } from "tss-react/mui";
10106
10110
  import { jsx as jsx140 } from "react/jsx-runtime";