sales-frontend-components 0.0.139 → 0.0.141

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
@@ -4,7 +4,7 @@ import { CheckboxButtonProps, CheckboxProps, DatePickerSingleHtmlProps, DatePick
4
4
  import * as React$1 from 'react';
5
5
  import React__default from 'react';
6
6
  import * as sales_frontend_api_method from 'sales-frontend-api/method';
7
- import { AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, CustomerDto, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OccupationResponseDto, OrganizationProfileResponse, RemoteIdentityVerificationSystemTokenRequestDto, ApiConfig } from 'sales-frontend-api/method';
7
+ import { AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, CustomerDto, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OccupationResponseDto, OccupationDetailResponseDto, OrganizationProfileResponse, RemoteIdentityVerificationSystemTokenRequestDto, ApiConfig } from 'sales-frontend-api/method';
8
8
 
9
9
  declare const FormCheckboxButton: <TFormValues extends FieldValues>({ name, control, disabled, children, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & Omit<CheckboxButtonProps, "id">) => react_jsx_runtime.JSX.Element;
10
10
 
@@ -460,13 +460,14 @@ declare function useJobSearchModal(): {
460
460
  openJobSearchModal: () => void;
461
461
  closeJobSearchModal: () => void;
462
462
  selectedJob: OccupationResponseDto | null;
463
- selectedJobDetail: any;
463
+ selectedJobDetail: OccupationDetailResponseDto | undefined;
464
464
  resetJobSearch: () => void;
465
465
  setSelectedJob: React$1.Dispatch<React$1.SetStateAction<OccupationResponseDto | null>>;
466
466
  };
467
467
 
468
468
  declare function useJobVehicleSearchModal(): {
469
469
  selectedJob: sales_frontend_api_method.OccupationResponseDto | null;
470
+ selectedJobDetail: sales_frontend_api_method.OccupationDetailResponseDto | undefined;
470
471
  selectedVehicle: sales_frontend_api_method.VehicleTypeResponseDto | undefined;
471
472
  riskGrade: string;
472
473
  hospitalizationGrade: string;
package/dist/index.esm.js CHANGED
@@ -3094,6 +3094,7 @@ const useJobVehicleSearch = () => {
3094
3094
  rightPanelView,
3095
3095
  setRightPanelView,
3096
3096
  selectedJob,
3097
+ selectedJobDetail,
3097
3098
  JobSearch: JobSearchComponent,
3098
3099
  VehicleSearch: VehicleSearchComponent,
3099
3100
  riskGrade,
@@ -3113,7 +3114,8 @@ function useJobVehicleSearchModal() {
3113
3114
  VehicleSearch,
3114
3115
  riskGrade,
3115
3116
  hospitalizationGrade,
3116
- resetJobVehicleSearch
3117
+ resetJobVehicleSearch,
3118
+ selectedJobDetail
3117
3119
  } = useJobVehicleSearch();
3118
3120
  const { isOpen, openModal, closeModal } = useModalState();
3119
3121
  const validate = () => {
@@ -3144,6 +3146,7 @@ function useJobVehicleSearchModal() {
3144
3146
  };
3145
3147
  return {
3146
3148
  selectedJob,
3149
+ selectedJobDetail,
3147
3150
  selectedVehicle,
3148
3151
  riskGrade,
3149
3152
  hospitalizationGrade,