sales-frontend-components 0.0.71 → 0.0.73
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.cjs.js +234 -101
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +47 -3
- package/dist/index.esm.js +235 -103
- package/dist/index.esm.js.map +1 -1
- package/dist/modal/standard/customer-search/customer-search.module.scss +51 -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 } from 'sales-frontend-api/method';
|
|
5
|
+
import { OccupationResponseDto, Address, Pagination } from 'sales-frontend-api/method';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import React__default from 'react';
|
|
8
8
|
|
|
@@ -247,5 +247,49 @@ interface JobSearchModalProps {
|
|
|
247
247
|
}
|
|
248
248
|
declare const JobSearchModal: React__default.FC<JobSearchModalProps>;
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
interface Customer {
|
|
251
|
+
id: string;
|
|
252
|
+
name: string;
|
|
253
|
+
birthdate: string;
|
|
254
|
+
gender: '남성' | '여성';
|
|
255
|
+
address?: string;
|
|
256
|
+
}
|
|
257
|
+
interface DspResponseCustomerListResponseDto {
|
|
258
|
+
/** @description 성공여부 */
|
|
259
|
+
isSuccess?: boolean;
|
|
260
|
+
/** @description 코드 */
|
|
261
|
+
code?: string;
|
|
262
|
+
/** @description 메시지 */
|
|
263
|
+
message?: string;
|
|
264
|
+
data?: CustomerListResponseDto;
|
|
265
|
+
pagination?: Pagination;
|
|
266
|
+
}
|
|
267
|
+
interface CustomerListResponseDto {
|
|
268
|
+
/** @description 고객목록 */
|
|
269
|
+
custList?: CustomerDto[];
|
|
270
|
+
/** @description 총 건수 */
|
|
271
|
+
totalCount?: string;
|
|
272
|
+
}
|
|
273
|
+
/** @description 고객정보 */
|
|
274
|
+
interface CustomerDto {
|
|
275
|
+
/** @description 고객ID */
|
|
276
|
+
customerId?: string;
|
|
277
|
+
/** @description 고객명 */
|
|
278
|
+
customerName?: string;
|
|
279
|
+
/** @description 기본주소 */
|
|
280
|
+
baseAddress?: string;
|
|
281
|
+
/** @description 상세주소 */
|
|
282
|
+
detailAddress?: string;
|
|
283
|
+
/** @description 생년월일(YYYYMMDD) */
|
|
284
|
+
birthDate?: string;
|
|
285
|
+
/** @description 성별코드 */
|
|
286
|
+
genderCode?: string;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
interface CustomerSearchProps {
|
|
290
|
+
onSelect?: (customer: CustomerDto) => void;
|
|
291
|
+
}
|
|
292
|
+
declare const CustomerSearch: ({ onSelect }: CustomerSearchProps) => react_jsx_runtime.JSX.Element;
|
|
293
|
+
|
|
294
|
+
export { Attachment, BankStockSearchModal, CustomerSearch, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobVehicleSearchModal, useSearchAddress };
|
|
295
|
+
export type { AttachedPhoto, AttachmentProps, BankStockItem, BankStockSearchModalProps, Customer, CustomerDto, CustomerListResponseDto, DownloadProps, DspResponseCustomerListResponseDto, PaintProps, Pen, StepIndicatorProps, StepItem, cameraItemType, cameraOptions };
|