enwawa-ui 3.3.0 → 3.3.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 +35 -16
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +107 -57
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +110 -60
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
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, TableProps as _TableProps1, BreadcrumbProps as _BreadcrumbProps1, SwitchProps } from "antd/lib";
|
|
4
|
-
import { CheckboxProps, AlertProps, ColProps, BreadcrumbProps, TooltipProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, RadioChangeEvent, UploadProps, RowProps as _RowProps1, CollapseProps, LayoutProps, SiderProps, SpaceProps, StepsProps, TableProps, TableColumnsType, FormProps, ModalFuncProps, FormInstance, ModalProps as _ModalProps1, CountdownProps, DatePickerProps, ImageProps, SpinProps, TagProps } from "antd";
|
|
4
|
+
import { CheckboxProps, AlertProps, ColProps, BreadcrumbProps, TooltipProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, PopoverProps, RadioChangeEvent, UploadProps, RowProps as _RowProps1, CollapseProps, LayoutProps, SiderProps, SpaceProps, StepsProps, TableProps, TableColumnsType, FormProps, ModalFuncProps, FormInstance, ModalProps as _ModalProps1, CountdownProps, DatePickerProps, ImageProps, SpinProps, TagProps } from "antd";
|
|
5
5
|
import { TabsProps } from "antd/es/tabs";
|
|
6
6
|
import { CardTabListType } from "antd/es/card";
|
|
7
7
|
import { CardType } from "antd/es/card/Card";
|
|
@@ -1333,6 +1333,17 @@ export interface MlPaginationProps {
|
|
|
1333
1333
|
onShowSizeChange?: (current: number, size: number) => void;
|
|
1334
1334
|
}
|
|
1335
1335
|
export const MlPagination: React.FC<MlPaginationProps>;
|
|
1336
|
+
interface MlPopoverProps extends PopoverProps {
|
|
1337
|
+
/**
|
|
1338
|
+
* content to hover
|
|
1339
|
+
*/
|
|
1340
|
+
content: any;
|
|
1341
|
+
/**
|
|
1342
|
+
* icon to display the content of popover
|
|
1343
|
+
*/
|
|
1344
|
+
markSelectIcon?: React.ReactNode;
|
|
1345
|
+
}
|
|
1346
|
+
export const MlPopover: React.FC<MlPopoverProps>;
|
|
1336
1347
|
export interface MlRadioGroupProps {
|
|
1337
1348
|
/**
|
|
1338
1349
|
* The ID for input
|
|
@@ -2247,6 +2258,20 @@ export interface OrCountryCardProps {
|
|
|
2247
2258
|
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
2248
2259
|
}
|
|
2249
2260
|
export const OrCountryCard: React.FC<OrCountryCardProps>;
|
|
2261
|
+
interface OverlayViewProps {
|
|
2262
|
+
children?: React.ReactNode | undefined;
|
|
2263
|
+
position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
|
|
2264
|
+
getPixelPositionOffset?: ((offsetWidth: number, offsetHeight: number) => {
|
|
2265
|
+
x: number;
|
|
2266
|
+
y: number;
|
|
2267
|
+
}) | undefined;
|
|
2268
|
+
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
|
|
2269
|
+
zIndex?: number | undefined;
|
|
2270
|
+
onLoad?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
2271
|
+
onUnmount?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
2272
|
+
hasOverlay?: boolean;
|
|
2273
|
+
}
|
|
2274
|
+
export const OrCustomOverlay: React.FC<OverlayViewProps>;
|
|
2250
2275
|
export interface OrLayoutProps {
|
|
2251
2276
|
/**
|
|
2252
2277
|
* Children component
|
|
@@ -2419,6 +2444,10 @@ export interface OrHeaderProps {
|
|
|
2419
2444
|
label: string;
|
|
2420
2445
|
icon?: JSX.Element;
|
|
2421
2446
|
}[];
|
|
2447
|
+
/**
|
|
2448
|
+
* countrySelect component id
|
|
2449
|
+
*/
|
|
2450
|
+
countrySelectID?: string;
|
|
2422
2451
|
/**
|
|
2423
2452
|
* Default Value for select
|
|
2424
2453
|
*/
|
|
@@ -2512,6 +2541,10 @@ export interface OrDashboardLayoutProps {
|
|
|
2512
2541
|
* Header select options
|
|
2513
2542
|
*/
|
|
2514
2543
|
countrySelectOptions?: OrHeaderProps['countrySelectOptions'];
|
|
2544
|
+
/**
|
|
2545
|
+
* Header select options
|
|
2546
|
+
*/
|
|
2547
|
+
countrySelectID?: OrHeaderProps['countrySelectID'];
|
|
2515
2548
|
/**
|
|
2516
2549
|
* Header nav items
|
|
2517
2550
|
*/
|
|
@@ -2535,7 +2568,7 @@ export interface OrDashboardLayoutProps {
|
|
|
2535
2568
|
selectedKeys?: OrSiderMenuProps['selectedKeys'];
|
|
2536
2569
|
/**
|
|
2537
2570
|
* Or header props
|
|
2538
|
-
|
|
2571
|
+
*/
|
|
2539
2572
|
headerProps?: OrHeaderProps;
|
|
2540
2573
|
}
|
|
2541
2574
|
export const OrDashboardLayout: React.FC<OrDashboardLayoutProps>;
|
|
@@ -3343,20 +3376,6 @@ export interface AtInputStatusProps {
|
|
|
3343
3376
|
}
|
|
3344
3377
|
export const AtInputStatus: React.FC<AtInputStatusProps>;
|
|
3345
3378
|
type _Size1 = 'large' | 'middle' | 'small';
|
|
3346
|
-
interface OverlayViewProps {
|
|
3347
|
-
children?: React.ReactNode | undefined;
|
|
3348
|
-
position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
|
|
3349
|
-
getPixelPositionOffset?: ((offsetWidth: number, offsetHeight: number) => {
|
|
3350
|
-
x: number;
|
|
3351
|
-
y: number;
|
|
3352
|
-
}) | undefined;
|
|
3353
|
-
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
|
|
3354
|
-
zIndex?: number | undefined;
|
|
3355
|
-
onLoad?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
3356
|
-
onUnmount?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
3357
|
-
hasOverlay?: boolean;
|
|
3358
|
-
}
|
|
3359
|
-
export const CustomOverlay: React.FC<OverlayViewProps>;
|
|
3360
3379
|
export interface OrMarkProps {
|
|
3361
3380
|
id?: string;
|
|
3362
3381
|
text?: string;
|