sales-frontend-components 0.0.122 → 0.0.124

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/index.d.ts CHANGED
@@ -266,6 +266,9 @@ declare function useSearchNationality({ setValue, onClose, isOpen }: Props$2): {
266
266
  setSearchInput: React__default.Dispatch<React__default.SetStateAction<string>>;
267
267
  };
268
268
  declare const useNationalityComponent: () => {
269
+ isOpen: boolean;
270
+ closeModal: () => void;
271
+ setNationality: React__default.Dispatch<React__default.SetStateAction<NationalityResponseDto | undefined>>;
269
272
  nationality: NationalityResponseDto | undefined;
270
273
  openModal: () => void;
271
274
  NationalitySearchComponent: () => react_jsx_runtime.JSX.Element;
@@ -390,6 +393,9 @@ declare const useVisaComponent: () => {
390
393
  visa: VisaStatusResponseDto | undefined;
391
394
  openModal: () => void;
392
395
  VisaSearchComponent: () => react_jsx_runtime.JSX.Element;
396
+ isOpen: boolean;
397
+ closeModal: () => void;
398
+ setVisa: React__default.Dispatch<React__default.SetStateAction<VisaStatusResponseDto | undefined>>;
393
399
  };
394
400
 
395
401
  interface DeaCustomerSearchModalProps {
package/dist/index.esm.js CHANGED
@@ -1390,6 +1390,9 @@ const useNationalityComponent = () => {
1390
1390
  const { isOpen, closeModal, openModal } = useModalState();
1391
1391
  const NationalitySearchComponent = () => /* @__PURE__ */ jsx(NationalityComponent, { isOpen, onClose: closeModal, setValue: setNationality });
1392
1392
  return {
1393
+ isOpen,
1394
+ closeModal,
1395
+ setNationality,
1393
1396
  nationality,
1394
1397
  openModal,
1395
1398
  NationalitySearchComponent
@@ -1803,7 +1806,10 @@ const useVisaComponent = () => {
1803
1806
  return {
1804
1807
  visa,
1805
1808
  openModal,
1806
- VisaSearchComponent
1809
+ VisaSearchComponent,
1810
+ isOpen,
1811
+ closeModal,
1812
+ setVisa
1807
1813
  };
1808
1814
  };
1809
1815