enwawa-ui 2.4.0 → 2.4.2
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 +103 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +263 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +261 -0
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/wawa-isotype.412829c2.svg +0 -4
- package/lib/wawa-isotype.b3306037.svg +0 -4
- package/lib/wawa-logo.26a17016.svg +0 -6
- package/lib/wawa-logo.66641d13.svg +0 -6
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode, ChangeEvent, JSXElementConstructor, ReactElement } from "react";
|
|
2
2
|
import { ButtonShape, ButtonSize, ButtonType } from "antd/es/button";
|
|
3
3
|
import { ButtonProps, AutoCompleteProps, DescriptionsProps, SwitchProps } from "antd/lib";
|
|
4
|
-
import { CheckboxProps, CountdownProps, DatePickerProps, ImageProps, AlertProps, ColProps, BreadcrumbProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, RadioChangeEvent, TooltipProps, UploadProps, RowProps, CollapseProps, LayoutProps, SiderProps, SpaceProps, FormProps, ModalFuncProps, FormInstance, TableProps, StepsProps, ModalProps as _ModalProps1, TagProps } from "antd";
|
|
4
|
+
import { CheckboxProps, CountdownProps, DatePickerProps, ImageProps, AlertProps, ColProps, BreadcrumbProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, RadioChangeEvent, TooltipProps, UploadProps, RowProps, CollapseProps, LayoutProps, SiderProps, SpaceProps, FormProps, ModalFuncProps, FormInstance, TableProps, StepsProps, ModalProps as _ModalProps1, SpinProps, TagProps } from "antd";
|
|
5
5
|
import { Dayjs } from "dayjs";
|
|
6
6
|
import { RangePickerProps } from "antd/lib/date-picker";
|
|
7
7
|
import { IconComponentProps } from "@ant-design/icons/lib/components/Icon";
|
|
@@ -2241,6 +2241,57 @@ export interface OrColProps {
|
|
|
2241
2241
|
$flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
2242
2242
|
}
|
|
2243
2243
|
export const OrCol: React.FC<OrColProps>;
|
|
2244
|
+
export interface MlDetailsCardProps extends MlCardProps {
|
|
2245
|
+
/**
|
|
2246
|
+
* The items to display
|
|
2247
|
+
*/
|
|
2248
|
+
items?: {
|
|
2249
|
+
title: React.ReactNode;
|
|
2250
|
+
content: React.ReactNode;
|
|
2251
|
+
}[];
|
|
2252
|
+
/**
|
|
2253
|
+
* the direction of the card details
|
|
2254
|
+
*/
|
|
2255
|
+
direction?: 'row' | 'column';
|
|
2256
|
+
}
|
|
2257
|
+
/**
|
|
2258
|
+
* Primary input UI component for user interaction
|
|
2259
|
+
*/
|
|
2260
|
+
export const OrCardDetails: React.FC<MlDetailsCardProps>;
|
|
2261
|
+
export interface MlRequestCardProps extends MlCardProps {
|
|
2262
|
+
/**
|
|
2263
|
+
* The from direction
|
|
2264
|
+
*/
|
|
2265
|
+
fromText: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* The to direction
|
|
2268
|
+
*/
|
|
2269
|
+
toText: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* The pickup time
|
|
2272
|
+
*/
|
|
2273
|
+
fromTime: string;
|
|
2274
|
+
/**
|
|
2275
|
+
* The dropoff time
|
|
2276
|
+
*/
|
|
2277
|
+
toTime: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* vehicle spare
|
|
2280
|
+
*/
|
|
2281
|
+
vehicle?: React.ReactNode;
|
|
2282
|
+
/**
|
|
2283
|
+
* The request date
|
|
2284
|
+
*/
|
|
2285
|
+
date?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* The component status
|
|
2288
|
+
*/
|
|
2289
|
+
leftBadgeStatus?: React.ReactNode;
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* Primary input UI component for user interaction
|
|
2293
|
+
*/
|
|
2294
|
+
export const OrCardRequestSummary: React.FC<MlRequestCardProps>;
|
|
2244
2295
|
export interface OrCollapseProps {
|
|
2245
2296
|
/**
|
|
2246
2297
|
* If true, Collapse renders as an Accordion.
|
|
@@ -4545,6 +4596,54 @@ export interface TmRentalsPageProps<FormType = any> {
|
|
|
4545
4596
|
disclaimerMessage?: string;
|
|
4546
4597
|
}
|
|
4547
4598
|
export const TmRentalsPage: <FormType extends Store>({ formSteps, onValuesChange, currentFormStep, disabledButtons, showFormStepper, $backgroundSrc, disclaimer, disclaimerHref, disclaimerMessage, }: TmRentalsPageProps<FormType>) => import("react/jsx-runtime").JSX.Element;
|
|
4599
|
+
export interface TmRequestsPageProps {
|
|
4600
|
+
username?: string;
|
|
4601
|
+
/**
|
|
4602
|
+
* Main button label
|
|
4603
|
+
*/
|
|
4604
|
+
mainButtonLabel?: string;
|
|
4605
|
+
/**
|
|
4606
|
+
* Main button icon
|
|
4607
|
+
*/
|
|
4608
|
+
mainButtonIcon?: AtIconProps['name'];
|
|
4609
|
+
/**
|
|
4610
|
+
* Main button label
|
|
4611
|
+
*/
|
|
4612
|
+
cancelButtonLabel?: string;
|
|
4613
|
+
/**
|
|
4614
|
+
* cancel button icon
|
|
4615
|
+
*/
|
|
4616
|
+
cancelButtonIcon?: AtIconProps['name'];
|
|
4617
|
+
/**
|
|
4618
|
+
* Left arrow click event
|
|
4619
|
+
*/
|
|
4620
|
+
onClickLeftArrow?: () => void;
|
|
4621
|
+
/**
|
|
4622
|
+
* Main action click event
|
|
4623
|
+
*/
|
|
4624
|
+
onClickMainAction?: () => void;
|
|
4625
|
+
/**
|
|
4626
|
+
* cancel action click event
|
|
4627
|
+
*/
|
|
4628
|
+
onClickCancelAction?: () => void;
|
|
4629
|
+
/**
|
|
4630
|
+
* disabled cancel Button
|
|
4631
|
+
*/
|
|
4632
|
+
disabledCancelButton?: boolean;
|
|
4633
|
+
/**
|
|
4634
|
+
* disabled Main Button
|
|
4635
|
+
*/
|
|
4636
|
+
disabledMainButton?: boolean;
|
|
4637
|
+
/**
|
|
4638
|
+
* left column content
|
|
4639
|
+
*/
|
|
4640
|
+
firstColumnContent: React.ReactNode;
|
|
4641
|
+
/**
|
|
4642
|
+
* right column content
|
|
4643
|
+
*/
|
|
4644
|
+
secondColumnContent: React.ReactNode;
|
|
4645
|
+
}
|
|
4646
|
+
export const TmRequestsPage: React.FC<TmRequestsPageProps>;
|
|
4548
4647
|
export interface PaymentMethod {
|
|
4549
4648
|
value: string;
|
|
4550
4649
|
icon?: React.ReactNode;
|
|
@@ -5260,6 +5359,9 @@ export interface AtSelectProps {
|
|
|
5260
5359
|
maxCount?: SelectProps['maxCount'];
|
|
5261
5360
|
}
|
|
5262
5361
|
export const AtSelect: React.FC<AtSelectProps>;
|
|
5362
|
+
export interface AtSpinProps extends SpinProps {
|
|
5363
|
+
}
|
|
5364
|
+
export const AtSpin: React.FC<AtSpinProps>;
|
|
5263
5365
|
export interface AtSwitchProps extends SwitchProps {
|
|
5264
5366
|
/**
|
|
5265
5367
|
* Whether get focus when component mounted
|