sales-frontend-components 0.0.77 → 0.0.78
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/data-table/data-table.module.scss +46 -0
- package/dist/debug-tool/debug-tool.module.scss +212 -0
- package/dist/debug-tool/features/network-log/network-log.module.scss +22 -0
- package/dist/index.cjs.js +408 -59
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +16 -2
- package/dist/index.esm.js +409 -62
- package/dist/index.esm.js.map +1 -1
- package/dist/modal/pre-standard/employee-search-modal/employee-search-modal.module.scss +95 -0
- package/dist/modal/pre-standard/organization-search-modal/organization-search-modal.module.scss +100 -0
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { FieldValues, UseControllerProps } from 'react-hook-form';
|
|
3
3
|
import { CheckboxButtonProps, CheckboxProps, DatePickerSingleHtmlProps, DatePickerRangeHtmlProps, FormField, SegmentGroupHtmlProps, SelectProps, OptionProps } from 'sales-frontend-design-system';
|
|
4
4
|
import * as sales_frontend_api_method from 'sales-frontend-api/method';
|
|
5
|
-
import { OccupationResponseDto, Address, Pagination } from 'sales-frontend-api/method';
|
|
5
|
+
import { OccupationResponseDto, Address, OrganizationProfileResponse, EmployeeProfileResponseDto, Pagination } from 'sales-frontend-api/method';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import React__default from 'react';
|
|
8
8
|
|
|
@@ -232,6 +232,20 @@ declare function useBankStockSearch({ onSelect }: {
|
|
|
232
232
|
handleSelect: (item: BankStockItem) => void;
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
+
interface OrganizationSearchModalProps {
|
|
236
|
+
isOpen: boolean;
|
|
237
|
+
onClose: () => void;
|
|
238
|
+
onSelect: (organization: OrganizationProfileResponse) => void;
|
|
239
|
+
}
|
|
240
|
+
declare const OrganizationSearchModal: React__default.FC<OrganizationSearchModalProps>;
|
|
241
|
+
|
|
242
|
+
interface EmployeeSearchModalProps {
|
|
243
|
+
isOpen: boolean;
|
|
244
|
+
onClose: () => void;
|
|
245
|
+
onSelect: (employee: EmployeeProfileResponseDto) => void;
|
|
246
|
+
}
|
|
247
|
+
declare const EmployeeSearchModal: React__default.FC<EmployeeSearchModalProps>;
|
|
248
|
+
|
|
235
249
|
declare function useJobVehicleSearchModal(): {
|
|
236
250
|
selectedJob: sales_frontend_api_method.OccupationResponseDto | null;
|
|
237
251
|
selectedVehicle: sales_frontend_api_method.VehicleTypeResponseDto | undefined;
|
|
@@ -284,5 +298,5 @@ interface CustomerSearchProps {
|
|
|
284
298
|
|
|
285
299
|
declare const CustomerSearch: ({ onSelect }: CustomerSearchProps) => react_jsx_runtime.JSX.Element;
|
|
286
300
|
|
|
287
|
-
export { Attachment, BankStockSearchModal, CustomerSearch, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobVehicleSearchModal, useSearchAddress };
|
|
301
|
+
export { Attachment, BankStockSearchModal, CustomerSearch, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobSearchModal, OrganizationSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobVehicleSearchModal, useSearchAddress };
|
|
288
302
|
export type { AttachedPhoto, AttachmentProps, BankStockItem, BankStockSearchModalProps, CustomerDto, CustomerListResponseDto, CustomerSearchProps, DownloadProps, DspResponseCustomerListResponseDto, PaintProps, Pen, StepIndicatorProps, StepItem, cameraItemType, cameraOptions };
|