@cloud-app-dev/vidc 3.2.20 → 3.2.21
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/es/AppContext/Sync.d.ts +1 -0
- package/es/Box/TwoColumnBox/index.less +1 -1
- package/es/Box/index.d.ts +3 -3
- package/es/CheckGroupFixed/demo.d.ts +1 -0
- package/es/CheckGroupFixed/index.d.ts +1 -0
- package/es/DomMove/demo.d.ts +1 -0
- package/es/Drawer/Footer.d.ts +1 -0
- package/es/DynamicGridList/Demo.d.ts +1 -0
- package/es/DynamicList/demo.d.ts +1 -0
- package/es/DynamicList/index.d.ts +1 -0
- package/es/ErrorFallback/index.d.ts +1 -0
- package/es/FullScreen/index.d.ts +1 -0
- package/es/GridList/Demo.d.ts +1 -0
- package/es/Input/demo.d.ts +1 -0
- package/es/Input/index.d.ts +1 -0
- package/es/LabelValue/index.less +2 -2
- package/es/List/demo.d.ts +1 -0
- package/es/List/index.d.ts +4 -4
- package/es/ListWithSizeAnimate/demo.d.ts +1 -0
- package/es/Map/BasicMap/LeafletInstance.d.ts +1 -1
- package/es/Map/ClusterLayer/hook.d.ts +2 -2
- package/es/Map/ClusterLayer/index.d.ts +1 -0
- package/es/Map/FindPio/index.d.ts +1 -0
- package/es/Map/InfoWindow/MakerLikeWindow.d.ts +1 -0
- package/es/Map/InfoWindow/demo.d.ts +1 -0
- package/es/Map/InfoWindow/index.d.ts +1 -0
- package/es/Map/LevelCenter/DragMarker/index.d.ts +1 -0
- package/es/Map/LevelCenter/demo.d.ts +1 -0
- package/es/Map/LevelCenter/index.d.ts +1 -1
- package/es/Map/MapDrawSelect/demo.d.ts +1 -0
- package/es/Map/MapDrawSelect/index.d.ts +1 -1
- package/es/Map/ResetTools/index.d.ts +1 -0
- package/es/Map/SinglePoint/index.d.ts +1 -1
- package/es/Map/icon.d.ts +1 -1
- package/es/Map/index.d.ts +21 -11
- package/es/Map/withMap/index.d.ts +1 -0
- package/es/Modal/demo.d.ts +1 -0
- package/es/Modal/index.d.ts +8 -8
- package/es/Picture/component/DefaultRects/RectInfo.d.ts +1 -0
- package/es/Picture/component/DefaultRects/index.d.ts +1 -0
- package/es/Picture/component/DrawRect/index.d.ts +1 -0
- package/es/Picture/component/RectMenu/index.d.ts +1 -0
- package/es/Picture/component/WheelScale/index.d.ts +1 -0
- package/es/Picture/demo.d.ts +1 -0
- package/es/Picture/index.d.ts +1 -0
- package/es/Picture/utils.d.ts +1 -1
- package/es/Player/contraller_bar/time.d.ts +1 -0
- package/es/Player/demo.d.ts +1 -0
- package/es/Player/empty.d.ts +1 -0
- package/es/Player/fps_play.d.ts +1 -0
- package/es/Player/frontend_player.d.ts +1 -0
- package/es/Player/frontend_timeline.d.ts +1 -0
- package/es/Player/iconfont.d.ts +1 -0
- package/es/Player/message.d.ts +1 -0
- package/es/Player/segment_player.d.ts +1 -0
- package/es/Player/segment_timeline.d.ts +1 -0
- package/es/Player/timeline.d.ts +2 -1
- package/es/Player/util.d.ts +3 -2
- package/es/PlayerExt/demo.d.ts +1 -0
- package/es/PlayerExt/index.d.ts +1 -0
- package/es/Progress/index.d.ts +1 -0
- package/es/ROI/demo.d.ts +1 -0
- package/es/ScreenPlayer/Live.d.ts +1 -0
- package/es/ScreenPlayer/RatePick.d.ts +1 -0
- package/es/ScreenPlayer/Record.d.ts +1 -0
- package/es/ScreenPlayer/ScreenSelect.d.ts +1 -0
- package/es/ScreenPlayer/SegmentTimeLine.d.ts +1 -0
- package/es/ScreenPlayer/TimeMode.d.ts +1 -0
- package/es/ScreenPlayer/TimeSelect.d.ts +1 -0
- package/es/ScreenPlayer/demo.d.ts +1 -0
- package/es/ScreenPlayer/demo2.d.ts +1 -0
- package/es/ScreenPlayer/index.d.ts +3 -2
- package/es/ScreenPlayer/useTimeSlider.d.ts +1 -0
- package/es/ScreenPlayer/useVideoFit.d.ts +2 -2
- package/es/Service/fetch-adapter.d.ts +1 -1
- package/es/Service/fetch-adapter.js +2 -2
- package/es/Service/interface.d.ts +1 -2
- package/es/ThemeAntd/demo.d.ts +1 -0
- package/es/ThemeAntd/demo.js +1 -1
- package/es/ThemeAntd/demo.less +2 -0
- package/es/ThemeAntd/style/button.less +3 -3
- package/es/ThemeAntd/style/pagination.less +1 -1
- package/es/Timeout/index.d.ts +1 -0
- package/es/Tree/demo.d.ts +1 -0
- package/es/Tree/index.d.ts +1 -1
- package/es/VList/index.d.ts +1 -0
- package/es/useDrawROI/index.d.ts +4 -4
- package/es/useFullscreen/demo.d.ts +1 -0
- package/es/useFullscreen/index.d.ts +5 -4
- package/es/useHistory/index.d.ts +1 -1
- package/es/useHistory/interface.d.ts +2 -3
- package/es/useVirtualList/index.d.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.json +1 -0
package/es/AppContext/Sync.d.ts
CHANGED
package/es/Box/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export interface ContentBoxProps {
|
|
|
7
7
|
}
|
|
8
8
|
declare function Box({ className, contentGrid, children }: ContentBoxProps): JSX.Element;
|
|
9
9
|
declare namespace Box {
|
|
10
|
-
var TwoColumnBox:
|
|
11
|
-
var InfoBox:
|
|
12
|
-
var BetweenBox:
|
|
10
|
+
var TwoColumnBox: typeof import("./TwoColumnBox").default;
|
|
11
|
+
var InfoBox: typeof import("./InfoBox").default;
|
|
12
|
+
var BetweenBox: typeof import("./BetweenBox").default;
|
|
13
13
|
}
|
|
14
14
|
export default Box;
|
package/es/DomMove/demo.d.ts
CHANGED
package/es/Drawer/Footer.d.ts
CHANGED
package/es/DynamicList/demo.d.ts
CHANGED
package/es/FullScreen/index.d.ts
CHANGED
package/es/GridList/Demo.d.ts
CHANGED
package/es/Input/demo.d.ts
CHANGED
package/es/Input/index.d.ts
CHANGED
package/es/LabelValue/index.less
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
span {
|
|
6
6
|
&:first-child {
|
|
7
7
|
padding-right: 4px;
|
|
8
|
-
color: var(--
|
|
8
|
+
color: var(--color4);
|
|
9
9
|
white-space: nowrap;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&:last-child {
|
|
13
13
|
flex: 1;
|
|
14
|
-
color: var(--
|
|
14
|
+
color: var(--color6);
|
|
15
15
|
|
|
16
16
|
&.no-wrap {
|
|
17
17
|
overflow: hidden;
|
package/es/List/demo.d.ts
CHANGED
package/es/List/index.d.ts
CHANGED
|
@@ -33,9 +33,9 @@ declare namespace List {
|
|
|
33
33
|
itemNameKey: string;
|
|
34
34
|
renderHeaderExt: () => JSX.Element;
|
|
35
35
|
};
|
|
36
|
-
var VList:
|
|
37
|
-
var DynamicList:
|
|
38
|
-
var GridList:
|
|
39
|
-
var DynamicGridList:
|
|
36
|
+
var VList: typeof import("../VList").default;
|
|
37
|
+
var DynamicList: typeof import("../DynamicList").default;
|
|
38
|
+
var GridList: React.ForwardRefExoticComponent<import("../GridList").GridListProps<unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
var DynamicGridList: typeof import("../DynamicGridList").default;
|
|
40
40
|
}
|
|
41
41
|
export default List;
|
|
@@ -10,7 +10,7 @@ declare class LeafletInstance implements IMapInstance {
|
|
|
10
10
|
mapReset(): void;
|
|
11
11
|
setZoom(zoom: number): void;
|
|
12
12
|
setCenter(center: [number, number] | LatLng): void;
|
|
13
|
-
getZoom():
|
|
13
|
+
getZoom(): number;
|
|
14
14
|
on(type: string, fn: (event: any) => void): void;
|
|
15
15
|
off(type: string, fn: (event: any) => void): void;
|
|
16
16
|
setCursor(cursor: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../AMap.d.ts" />
|
|
2
|
-
import { MapPoint, LClusterInterface } from '../interface';
|
|
2
|
+
import { MapPoint, Marker, LClusterInterface } from '../interface';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export declare function useMarkerCluster(onPointClick?: (point: MapPoint) => void): (LClusterInterface & AMap.MarkerCluster) | null;
|
|
5
|
-
export declare function useMarkers(points?: MapPoint[]):
|
|
5
|
+
export declare function useMarkers(points?: MapPoint[]): Marker[];
|
package/es/Map/icon.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const LevelCenterCenterSvg = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"28px\" height=\"40px\" viewBox=\"0 0 28 40\" version=\"1.1\"><defs><linearGradient x1=\"6.38826004%\" y1=\"96.2639042%\" x2=\"66.7998206%\" y2=\"14.972142%\" id=\"linearGradient-1\"><stop stop-color=\"#000000\" stop-opacity=\"0.2\" offset=\"0%\"/><stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"/></linearGradient></defs><g id=\"Img/Add\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M22,28 L28,28 L15.2872963,39.7348034 C15.102574,39.9053163 14.8604062,40 14.6090162,40 L14,40 C13.7238576,40 13.5,39.7761424 13.5,39.5 C13.5,39.3918149 13.5350889,39.2865481 13.6,39.2 L22,28 Z\" id=\"Rectangle\" fill=\"url(#linearGradient-1)\"/><path d=\"M11,23 L17,23 L15.103901,39.1168412 C15.0446525,39.6204542 14.6178366,40 14.1107504,40 L13.8892496,40 C13.3821634,40 12.9553475,39.6204542 12.896099,39.1168412 L11,23 Z\" id=\"Rectangle\" fill=\"#FF8800\"/><circle id=\"Oval\" stroke=\"#FF8800\" fill=\"#FFAA00\" cx=\"14\" cy=\"12\" r=\"11.5\"/><circle id=\"Oval\" fill=\"#FF8800\" cx=\"15\" cy=\"13\" r=\"4\"/><circle id=\"Oval\" fill=\"#FFFFFF\" cx=\"14\" cy=\"12\" r=\"4\"/></g></svg>";
|
|
2
|
-
export declare function createMapCenterIcon():
|
|
2
|
+
export declare function createMapCenterIcon(): import("leaflet").DivIcon;
|
package/es/Map/index.d.ts
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import ClusterLayer from './ClusterLayer';
|
|
3
|
+
import Config from './Config';
|
|
4
|
+
import Context from './Context';
|
|
5
|
+
import FindPio from './FindPio';
|
|
6
|
+
import LoaderMap from './LoaderMap';
|
|
7
|
+
import BasicMap from './BasicMap';
|
|
8
|
+
import ResetTools from './ResetTools';
|
|
9
|
+
import useMarker from './useMarker';
|
|
10
|
+
import withMap from './withMap';
|
|
1
11
|
declare const Map: {
|
|
2
|
-
ClusterLayer:
|
|
3
|
-
Config:
|
|
4
|
-
Context:
|
|
5
|
-
FindPio:
|
|
6
|
-
LevelCenter:
|
|
7
|
-
LoaderMap:
|
|
8
|
-
BasicMap:
|
|
9
|
-
ResetTools:
|
|
10
|
-
SinglePoint:
|
|
11
|
-
useMarker:
|
|
12
|
-
withMap:
|
|
12
|
+
ClusterLayer: typeof ClusterLayer;
|
|
13
|
+
Config: typeof Config;
|
|
14
|
+
Context: typeof Context;
|
|
15
|
+
FindPio: typeof FindPio;
|
|
16
|
+
LevelCenter: (props: import("./LevelCenter").ILevelCenter) => JSX.Element;
|
|
17
|
+
LoaderMap: typeof LoaderMap;
|
|
18
|
+
BasicMap: typeof BasicMap;
|
|
19
|
+
ResetTools: typeof ResetTools;
|
|
20
|
+
SinglePoint: (props: import("./SinglePoint").ISinglePlayerProps) => JSX.Element;
|
|
21
|
+
useMarker: typeof useMarker;
|
|
22
|
+
withMap: typeof withMap;
|
|
13
23
|
};
|
|
14
24
|
export default Map;
|
package/es/Modal/demo.d.ts
CHANGED
package/es/Modal/index.d.ts
CHANGED
|
@@ -7,18 +7,18 @@ declare namespace Modal {
|
|
|
7
7
|
className: string;
|
|
8
8
|
getContainer: boolean;
|
|
9
9
|
};
|
|
10
|
-
var info:
|
|
11
|
-
var success:
|
|
12
|
-
var error:
|
|
13
|
-
var warn:
|
|
14
|
-
var warning:
|
|
15
|
-
var confirm:
|
|
16
|
-
var destroyAll:
|
|
10
|
+
var info: import("antd/lib/modal/confirm").ModalFunc;
|
|
11
|
+
var success: import("antd/lib/modal/confirm").ModalFunc;
|
|
12
|
+
var error: import("antd/lib/modal/confirm").ModalFunc;
|
|
13
|
+
var warn: import("antd/lib/modal/confirm").ModalFunc;
|
|
14
|
+
var warning: import("antd/lib/modal/confirm").ModalFunc;
|
|
15
|
+
var confirm: import("antd/lib/modal/confirm").ModalFunc;
|
|
16
|
+
var destroyAll: () => void;
|
|
17
17
|
var useModal: (prefixCls?: string) => {
|
|
18
18
|
open: (options: IUseModalHookState) => void;
|
|
19
19
|
close: () => void;
|
|
20
20
|
};
|
|
21
|
-
var useAntdModal:
|
|
21
|
+
var useAntdModal: typeof import("antd/lib/modal/useModal").default;
|
|
22
22
|
var RefModal: React.ForwardRefExoticComponent<IModalProps & React.RefAttributes<IRefModalMethodsProps>>;
|
|
23
23
|
}
|
|
24
24
|
export interface IUseModalHookState {
|
package/es/Picture/demo.d.ts
CHANGED
package/es/Picture/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { IPictureProps } from './interface';
|
|
2
3
|
import './index.less';
|
|
3
4
|
declare function Picture({ className, width, height, minHeight, disabledDrag, imagePath, rects, isOpenSelect, disabledDrawMenu, menus, hasTool, fullScreenEle, ...props }: IPictureProps): JSX.Element;
|
package/es/Picture/utils.d.ts
CHANGED
package/es/Player/demo.d.ts
CHANGED
package/es/Player/empty.d.ts
CHANGED
package/es/Player/fps_play.d.ts
CHANGED
package/es/Player/iconfont.d.ts
CHANGED
package/es/Player/message.d.ts
CHANGED
package/es/Player/timeline.d.ts
CHANGED
package/es/Player/util.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Flvjs from '@cloud-app-dev/flv.js';
|
|
2
2
|
import Hls, { HlsConfig } from 'hls.js';
|
|
3
|
+
import type VideoEventInstance from './event';
|
|
3
4
|
import type { FlvPlayerConfig } from './player';
|
|
4
5
|
export declare function tryCatch(fn: () => void | Promise<any>): Promise<void>;
|
|
5
6
|
/**
|
|
@@ -21,7 +22,7 @@ export declare function createFlvPlayer(video: HTMLVideoElement, url?: string, i
|
|
|
21
22
|
* @param hls
|
|
22
23
|
* @returns
|
|
23
24
|
*/
|
|
24
|
-
export declare const playUnload: (video?: HTMLVideoElement, flv?:
|
|
25
|
+
export declare const playUnload: (video?: HTMLVideoElement, flv?: Flvjs.Player, hls?: Hls) => void;
|
|
25
26
|
/**
|
|
26
27
|
* reload
|
|
27
28
|
* @param video
|
|
@@ -30,7 +31,7 @@ export declare const playUnload: (video?: HTMLVideoElement, flv?: any, hls?: any
|
|
|
30
31
|
* @param hls
|
|
31
32
|
* @param url
|
|
32
33
|
*/
|
|
33
|
-
export declare const playReload: (video?: HTMLVideoElement, event?:
|
|
34
|
+
export declare const playReload: (video?: HTMLVideoElement, event?: VideoEventInstance, flv?: Flvjs.Player, hls?: Hls, url?: string) => undefined;
|
|
34
35
|
/**
|
|
35
36
|
* 获取播放文件类型
|
|
36
37
|
* @param {*} url
|
package/es/PlayerExt/demo.d.ts
CHANGED
package/es/PlayerExt/index.d.ts
CHANGED
package/es/Progress/index.d.ts
CHANGED
package/es/ROI/demo.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const Sceenplayer: {
|
|
2
|
-
LivePlayer:
|
|
3
|
-
RecordPlayer:
|
|
3
|
+
LivePlayer: import("react").ComponentType<import("./interface").ILivePlayerProps>;
|
|
4
|
+
RecordPlayer: import("react").ComponentType<import("./interface").IRecordPlayerProps>;
|
|
4
5
|
};
|
|
5
6
|
export default Sceenplayer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="test/typings/global" />
|
|
2
|
-
import {
|
|
2
|
+
import { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
3
3
|
export interface AxiosFetchRequestConfig extends AxiosRequestConfig<BodyInit> {
|
|
4
4
|
mode?: RequestMode;
|
|
5
5
|
body?: BodyInit;
|
|
@@ -13,10 +13,10 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
13
13
|
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
14
14
|
/// <reference path="../../typings/global.d.ts"/>
|
|
15
15
|
import { AxiosError } from 'axios';
|
|
16
|
+
import CanceledError from 'axios/lib/cancel/CanceledError';
|
|
17
|
+
import buildFullPath from 'axios/lib/core/buildFullPath';
|
|
16
18
|
import settle from 'axios/lib/core/settle';
|
|
17
19
|
import buildURL from 'axios/lib/helpers/buildURL';
|
|
18
|
-
import buildFullPath from 'axios/lib/core/buildFullPath';
|
|
19
|
-
import CanceledError from 'axios/lib/cancel/CanceledError';
|
|
20
20
|
import { isUndefined } from 'lodash-es';
|
|
21
21
|
export default function fetchAdapter(config) {
|
|
22
22
|
return new Promise(function (resolve, reject) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
export type RsponseType = AxiosRequestConfig & { requestId?: string; cancelHttp?: (cancel: (o?:any) => void) => void; loggerIndex?: number };
|
|
2
|
+
export type RsponseType = AxiosRequestConfig & { requestId?: string; cancelHttp?: (cancel: (o?: any) => void) => void; loggerIndex?: number };
|
|
3
3
|
|
|
4
4
|
export type XHRResponse = {
|
|
5
5
|
url: string;
|
|
@@ -20,4 +20,3 @@ export type IServiceInterface = {
|
|
|
20
20
|
registerResponseMiddleware(fn: MiddleWareType): void;
|
|
21
21
|
registerResponseErrorMiddleware(fn: MiddleWareType): void;
|
|
22
22
|
};
|
|
23
|
-
|
package/es/ThemeAntd/demo.d.ts
CHANGED
package/es/ThemeAntd/demo.js
CHANGED
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
|
|
27
27
|
var App = function App() {
|
|
28
|
-
var ref = useRef();
|
|
28
|
+
var ref = useRef(null);
|
|
29
29
|
return /*#__PURE__*/_jsx(_ConfigProvider, {
|
|
30
30
|
prefixCls: "cloudapp",
|
|
31
31
|
children: /*#__PURE__*/_jsx(ThemeAntd, {
|
package/es/ThemeAntd/demo.less
CHANGED
|
@@ -16,7 +16,7 @@ div {
|
|
|
16
16
|
|
|
17
17
|
.@{ant-prefix}-btn-primary:hover,
|
|
18
18
|
.@{ant-prefix}-btn-primary:focus {
|
|
19
|
-
color:
|
|
19
|
+
color: #fff;
|
|
20
20
|
background: var(--primary-dark);
|
|
21
21
|
border-color: var(--primary-dark);
|
|
22
22
|
}
|
|
@@ -25,7 +25,7 @@ div {
|
|
|
25
25
|
.@{ant-prefix}-btn-primary[disabled]:hover,
|
|
26
26
|
.@{ant-prefix}-btn-primary[disabled]:focus,
|
|
27
27
|
.@{ant-prefix}-btn-primary[disabled]:active {
|
|
28
|
-
color:
|
|
28
|
+
color: #fff;
|
|
29
29
|
background: var(--primary-dark);
|
|
30
30
|
opacity: .8;
|
|
31
31
|
border-color: var(--primary-dark);
|
|
@@ -49,7 +49,7 @@ div {
|
|
|
49
49
|
|
|
50
50
|
.@{ant-prefix}-btn-danger:hover,
|
|
51
51
|
.@{ant-prefix}-btn-danger:focus {
|
|
52
|
-
color:
|
|
52
|
+
color: #fff;
|
|
53
53
|
background: var(--danger-dark);
|
|
54
54
|
border-color: var(--danger-dark);
|
|
55
55
|
}
|
|
@@ -44,7 +44,7 @@ div {
|
|
|
44
44
|
|
|
45
45
|
.@{ant-prefix}-pagination-item:focus a,
|
|
46
46
|
.@{ant-prefix}-pagination-item:hover a {
|
|
47
|
-
color:
|
|
47
|
+
color: #fff;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.@{ant-prefix}-pagination-prev:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
|
package/es/Timeout/index.d.ts
CHANGED
package/es/Tree/demo.d.ts
CHANGED
package/es/Tree/index.d.ts
CHANGED
|
@@ -20,5 +20,5 @@ export interface BaseTreeProps extends Omit<TreeProps, 'icon'> {
|
|
|
20
20
|
treeNodeProps?: ITreeNodeProps;
|
|
21
21
|
icon?: (node: DataNode) => JSX.Element;
|
|
22
22
|
}
|
|
23
|
-
declare const BTree: React.ForwardRefExoticComponent<
|
|
23
|
+
declare const BTree: React.ForwardRefExoticComponent<BaseTreeProps & React.RefAttributes<any>>;
|
|
24
24
|
export default BTree;
|
package/es/VList/index.d.ts
CHANGED
package/es/useDrawROI/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ interface ROIOptions {
|
|
|
5
5
|
defaultAreas?: [number, number][][];
|
|
6
6
|
}
|
|
7
7
|
declare function useDrawROI(target: BasicTarget<HTMLCanvasElement>, { row, rowItems, defaultAreas }: ROIOptions): {
|
|
8
|
-
open: () =>
|
|
9
|
-
close: () =>
|
|
10
|
-
clear: () =>
|
|
8
|
+
open: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
clear: () => void;
|
|
11
11
|
rio: number[][];
|
|
12
12
|
status: string;
|
|
13
|
-
areas:
|
|
13
|
+
areas: [number, number][][];
|
|
14
14
|
deleteArea: (area: number[][]) => void;
|
|
15
15
|
};
|
|
16
16
|
export default useDrawROI;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { BasicTarget } from 'ahooks/es/utils/domTarget';
|
|
1
2
|
export interface Options {
|
|
2
3
|
onExit?: () => void;
|
|
3
4
|
onEnter?: () => void;
|
|
4
5
|
}
|
|
5
6
|
declare const useFullscreen: (target: BasicTarget, options?: Options) => readonly [boolean, {
|
|
6
|
-
readonly enterFullscreen:
|
|
7
|
-
readonly exitFullscreen:
|
|
8
|
-
readonly toggleFullscreen:
|
|
9
|
-
readonly isEnabled:
|
|
7
|
+
readonly enterFullscreen: () => void;
|
|
8
|
+
readonly exitFullscreen: () => void;
|
|
9
|
+
readonly toggleFullscreen: () => void;
|
|
10
|
+
readonly isEnabled: boolean;
|
|
10
11
|
}];
|
|
11
12
|
export default useFullscreen;
|
package/es/useHistory/index.d.ts
CHANGED
package/package.json
CHANGED