enwawa-ui 2.0.12 → 2.0.13
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/lib/index.d.ts +52 -27
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +85 -45
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +84 -44
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -228,6 +228,10 @@ export interface AtDatePickerPros {
|
|
|
228
228
|
* Specify the date that cannot be selected
|
|
229
229
|
*/
|
|
230
230
|
disabledDate?: (currentDate: Dayjs) => boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Specify the time that cannot be selected
|
|
233
|
+
*/
|
|
234
|
+
disabledTime?: DatePickerProps['disabledTime'];
|
|
231
235
|
/**
|
|
232
236
|
* To set the date format, support multi-format matching when it is an array, display the first one shall prevail. refer to dayjs#format. for example: Custom Format
|
|
233
237
|
*/
|
|
@@ -3031,6 +3035,7 @@ export interface OrFormInLineItem {
|
|
|
3031
3035
|
* file list for the file-input component
|
|
3032
3036
|
*/
|
|
3033
3037
|
fileList?: MlUploadProps['fileList'];
|
|
3038
|
+
noStyle?: boolean;
|
|
3034
3039
|
}
|
|
3035
3040
|
export interface OrFormItemsInlineProps {
|
|
3036
3041
|
inputs?: Array<OrFormInLineItem | Array<OrFormInLineItem | OrFormInLineItem[]>>;
|
|
@@ -3780,6 +3785,48 @@ export interface TmMapPageProps {
|
|
|
3780
3785
|
realtimeMarkers?: MarkersArray[];
|
|
3781
3786
|
}
|
|
3782
3787
|
export const TmMapPage: React.FC<TmMapPageProps>;
|
|
3788
|
+
export interface OrRentalLayoutProps {
|
|
3789
|
+
/**
|
|
3790
|
+
* Children component
|
|
3791
|
+
*/
|
|
3792
|
+
children?: React.ReactNode;
|
|
3793
|
+
/**
|
|
3794
|
+
* Background source
|
|
3795
|
+
*/
|
|
3796
|
+
$backgroundSrc?: string;
|
|
3797
|
+
}
|
|
3798
|
+
export const OrRentalLayout: React.FC<OrRentalLayoutProps>;
|
|
3799
|
+
export interface TmQuoteResultPageProps {
|
|
3800
|
+
/**
|
|
3801
|
+
* Background source
|
|
3802
|
+
*/
|
|
3803
|
+
$backgroundSrc?: string;
|
|
3804
|
+
/**
|
|
3805
|
+
* Rental result
|
|
3806
|
+
*/
|
|
3807
|
+
rentalResult: OrRentalResultProps;
|
|
3808
|
+
/**
|
|
3809
|
+
* Rental vehicle item
|
|
3810
|
+
*/
|
|
3811
|
+
rentalVehicleItem: OrRentalVehicleItemProps | null;
|
|
3812
|
+
/**
|
|
3813
|
+
* Loading status
|
|
3814
|
+
*/
|
|
3815
|
+
loading?: boolean;
|
|
3816
|
+
/**
|
|
3817
|
+
* Empty message
|
|
3818
|
+
*/
|
|
3819
|
+
emptyMessage?: string;
|
|
3820
|
+
/**
|
|
3821
|
+
* Empty button text
|
|
3822
|
+
*/
|
|
3823
|
+
emptyButtonText?: string;
|
|
3824
|
+
/**
|
|
3825
|
+
* Empty callback
|
|
3826
|
+
*/
|
|
3827
|
+
emptyCallback?: () => void;
|
|
3828
|
+
}
|
|
3829
|
+
export const TmQuoteResultPage: ({ $backgroundSrc, rentalResult, rentalVehicleItem, loading, emptyMessage, emptyButtonText, emptyCallback, }: TmQuoteResultPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
3783
3830
|
export interface TmRechargePageProps<FormType = any> {
|
|
3784
3831
|
/**
|
|
3785
3832
|
* Page title
|
|
@@ -3954,17 +4001,6 @@ export interface TmRechargePageProps<FormType = any> {
|
|
|
3954
4001
|
rate?: number;
|
|
3955
4002
|
}
|
|
3956
4003
|
export const TmRechargePage: <FormType extends Store>({ title, subtitle, balance, cardTitle, fontSize, height, ruleAmount, form, initialValues, onFinish, amountPlaceholder, currenciesOptions, defaultCurrency, amountToPayText, amountToPay, couponText, discount, totalText, taxText, tax, payBtn, drawerTitle, open, paymentMethods, currentPaymentSelectedFields, disabledButton, showPaymentMethods, termsDisclaimer, onCloseDrawer, showLeftArrow, onClickLeftArrow, editable, rate, values }: TmRechargePageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
3957
|
-
export interface OrRentalLayoutProps {
|
|
3958
|
-
/**
|
|
3959
|
-
* Children component
|
|
3960
|
-
*/
|
|
3961
|
-
children?: React.ReactNode;
|
|
3962
|
-
/**
|
|
3963
|
-
* Background source
|
|
3964
|
-
*/
|
|
3965
|
-
$backgroundSrc?: string;
|
|
3966
|
-
}
|
|
3967
|
-
export const OrRentalLayout: React.FC<OrRentalLayoutProps>;
|
|
3968
4004
|
export interface TmRentalsPageProps<FormType = any> {
|
|
3969
4005
|
/**
|
|
3970
4006
|
* Form Steps info
|
|
@@ -3992,21 +4028,6 @@ export interface TmRentalsPageProps<FormType = any> {
|
|
|
3992
4028
|
$backgroundSrc?: string;
|
|
3993
4029
|
}
|
|
3994
4030
|
export const TmRentalsPage: <FormType extends Store>({ formSteps, onValuesChange, currentFormStep, disabledButtons, showFormStepper, $backgroundSrc, }: TmRentalsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
3995
|
-
export interface TmQuoteResultPageProps {
|
|
3996
|
-
/**
|
|
3997
|
-
* Background source
|
|
3998
|
-
*/
|
|
3999
|
-
$backgroundSrc?: string;
|
|
4000
|
-
/**
|
|
4001
|
-
* Rental result
|
|
4002
|
-
*/
|
|
4003
|
-
rentalResult: OrRentalResultProps;
|
|
4004
|
-
/**
|
|
4005
|
-
* Rental vehicle item
|
|
4006
|
-
*/
|
|
4007
|
-
rentalVehicleItem: OrRentalVehicleItemProps;
|
|
4008
|
-
}
|
|
4009
|
-
export const TmQuoteResultPage: ({ $backgroundSrc, rentalResult, rentalVehicleItem }: TmQuoteResultPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
4010
4031
|
export interface PaymentMethod {
|
|
4011
4032
|
value: string;
|
|
4012
4033
|
icon?: React.ReactNode;
|
|
@@ -4282,11 +4303,15 @@ export interface OrRentalVehicleItemProps {
|
|
|
4282
4303
|
/**
|
|
4283
4304
|
* The on click event
|
|
4284
4305
|
*/
|
|
4285
|
-
onClick
|
|
4306
|
+
onClick?: () => void;
|
|
4286
4307
|
/**
|
|
4287
4308
|
* The max width of the card
|
|
4288
4309
|
*/
|
|
4289
4310
|
$maxWidth?: number;
|
|
4311
|
+
/**
|
|
4312
|
+
* The select text
|
|
4313
|
+
*/
|
|
4314
|
+
selectText?: string;
|
|
4290
4315
|
}
|
|
4291
4316
|
export const OrRentalVehicleItem: React.FC<OrRentalVehicleItemProps>;
|
|
4292
4317
|
export interface AtInputStatusProps {
|