sales-frontend-components 0.0.97 → 0.0.99
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 +3134 -3122
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.esm.js +3138 -3126
- package/dist/index.esm.js.map +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { FieldValues, UseControllerProps } from 'react-hook-form';
|
|
3
|
-
import { CheckboxButtonProps, CheckboxProps, DatePickerSingleHtmlProps, DatePickerRangeHtmlProps, FormField, SegmentGroupHtmlProps, SelectProps, OptionProps
|
|
4
|
-
import * as sales_frontend_api_method from 'sales-frontend-api/method';
|
|
5
|
-
import { OccupationResponseDto, AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OrganizationProfileResponse, RemoteIdentityVerificationSystemTokenRequestDto, ApiConfig } from 'sales-frontend-api/method';
|
|
3
|
+
import { CheckboxButtonProps, CheckboxProps, DatePickerSingleHtmlProps, DatePickerRangeHtmlProps, FormField, SegmentItems, SegmentGroupHtmlProps, SelectProps, OptionProps } from 'sales-frontend-design-system';
|
|
6
4
|
import * as React$1 from 'react';
|
|
7
5
|
import React__default from 'react';
|
|
6
|
+
import * as sales_frontend_api_method from 'sales-frontend-api/method';
|
|
7
|
+
import { AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OccupationResponseDto, 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
|
|
|
@@ -14,8 +14,9 @@ declare const FormDatePicker: <TFormValues extends FieldValues>({ name, control,
|
|
|
14
14
|
|
|
15
15
|
declare const FormDateRangePicker: <TFormValues extends FieldValues>({ name, control, disabled, defaultValue, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled" | "defaultValue"> & DatePickerRangeHtmlProps) => react_jsx_runtime.JSX.Element;
|
|
16
16
|
|
|
17
|
-
declare const FormSearchJobField: <TFormValues extends FieldValues>({ name, control, disabled, error, size, placeholder, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & FormField.TextFieldProps & {
|
|
18
|
-
onValueChange?: (value?:
|
|
17
|
+
declare const FormSearchJobField: <TFormValues extends FieldValues>({ name, control, disabled, error, size, placeholder, onValueChange, defaultValue, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & Omit<FormField.TextFieldProps, "defaultValue"> & {
|
|
18
|
+
onValueChange?: (value?: SegmentItems) => void;
|
|
19
|
+
defaultValue?: SegmentItems;
|
|
19
20
|
}) => react_jsx_runtime.JSX.Element;
|
|
20
21
|
|
|
21
22
|
interface FormSegmentGroupProps<TFormValues extends FieldValues> extends Pick<UseControllerProps<TFormValues>, 'name' | 'control' | 'disabled'>, Omit<SegmentGroupHtmlProps, 'defaultValue'> {
|