@regenbio/regenbio-components-react 1.4.11 → 1.4.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/build/index.d.ts +0 -10
- package/build/index.js +3 -3
- package/build/index.js.LICENSE.txt +18 -31
- package/build/locales/en-US.d.ts +0 -10
- package/build/locales/zh-CN.d.ts +0 -10
- package/package.json +2 -4
- package/build/components/DataDisplay/LazyFrame/hook.d.ts +0 -8
- package/build/components/DataDisplay/LazyFrame/index.d.ts +0 -9
- package/build/components/DataDisplay/LazyFrame/type.d.ts +0 -22
- package/build/components/DataDisplay/PdfDrawer/hook.d.ts +0 -38
- package/build/components/DataDisplay/PdfDrawer/index.d.ts +0 -11
- package/build/components/DataDisplay/PdfDrawer/locales/en-US.d.ts +0 -13
- package/build/components/DataDisplay/PdfDrawer/locales/zh-CN.d.ts +0 -13
- package/build/components/DataDisplay/PdfDrawer/type.d.ts +0 -36
- package/build/components/Dev/index.d.ts +0 -2
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
/*!
|
|
14
14
|
* @antv/g-lite
|
|
15
15
|
* @description A core module for rendering engine implements DOM API.
|
|
16
|
-
* @version 2.2.
|
|
17
|
-
* @date
|
|
16
|
+
* @version 2.2.19
|
|
17
|
+
* @date 5/9/2025, 8:18:56 AM
|
|
18
|
+
* @author AntVis
|
|
19
|
+
* @docs https://g.antv.antgroup.com/
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*!
|
|
23
|
+
* @antv/g-math
|
|
24
|
+
* @description Geometry util
|
|
25
|
+
* @version 3.0.1
|
|
26
|
+
* @date 5/9/2025, 8:18:51 AM
|
|
18
27
|
* @author AntVis
|
|
19
28
|
* @docs https://g.antv.antgroup.com/
|
|
20
29
|
*/
|
|
@@ -22,8 +31,8 @@
|
|
|
22
31
|
/*!
|
|
23
32
|
* @antv/g-plugin-canvas-path-generator
|
|
24
33
|
* @description A G plugin of path generator with Canvas2D API
|
|
25
|
-
* @version 2.1.
|
|
26
|
-
* @date
|
|
34
|
+
* @version 2.1.19
|
|
35
|
+
* @date 5/9/2025, 8:19:59 AM
|
|
27
36
|
* @author AntVis
|
|
28
37
|
* @docs https://g.antv.antgroup.com/
|
|
29
38
|
*/
|
|
@@ -31,8 +40,8 @@
|
|
|
31
40
|
/*!
|
|
32
41
|
* @antv/g-plugin-image-loader
|
|
33
42
|
* @description A G plugin for loading image
|
|
34
|
-
* @version 2.1.
|
|
35
|
-
* @date
|
|
43
|
+
* @version 2.1.23
|
|
44
|
+
* @date 5/30/2025, 2:54:46 AM
|
|
36
45
|
* @author AntVis
|
|
37
46
|
* @docs https://g.antv.antgroup.com/
|
|
38
47
|
*/
|
|
@@ -40,8 +49,8 @@
|
|
|
40
49
|
/*!
|
|
41
50
|
* @antv/g-web-animations-api
|
|
42
51
|
* @description A simple implementation of Web Animations API.
|
|
43
|
-
* @version 2.1.
|
|
44
|
-
* @date
|
|
52
|
+
* @version 2.1.25
|
|
53
|
+
* @date 5/23/2025, 7:01:32 AM
|
|
45
54
|
* @author AntVis
|
|
46
55
|
* @docs https://g.antv.antgroup.com/
|
|
47
56
|
*/
|
|
@@ -52,7 +61,7 @@
|
|
|
52
61
|
Copied from https://github.com/grassator/insert-text-at-cursor
|
|
53
62
|
*/
|
|
54
63
|
|
|
55
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/
|
|
64
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
56
65
|
|
|
57
66
|
/*! showdown v 2.1.0 - 21-04-2022 */
|
|
58
67
|
|
|
@@ -95,28 +104,6 @@
|
|
|
95
104
|
* LICENSE file in the root directory of this source tree.
|
|
96
105
|
*/
|
|
97
106
|
|
|
98
|
-
/**
|
|
99
|
-
* @licstart The following is the entire license notice for the
|
|
100
|
-
* JavaScript code in this page
|
|
101
|
-
*
|
|
102
|
-
* Copyright 2024 Mozilla Foundation
|
|
103
|
-
*
|
|
104
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
105
|
-
* you may not use this file except in compliance with the License.
|
|
106
|
-
* You may obtain a copy of the License at
|
|
107
|
-
*
|
|
108
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
109
|
-
*
|
|
110
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
111
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
112
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
113
|
-
* See the License for the specific language governing permissions and
|
|
114
|
-
* limitations under the License.
|
|
115
|
-
*
|
|
116
|
-
* @licend The above is the entire license notice for the
|
|
117
|
-
* JavaScript code in this page
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
107
|
/** */
|
|
121
108
|
|
|
122
109
|
/** */
|
package/build/locales/en-US.d.ts
CHANGED
|
@@ -4,16 +4,6 @@ declare const _default: {
|
|
|
4
4
|
'components.constants.sex-list.secret': string;
|
|
5
5
|
'components.constants.sex-list.male': string;
|
|
6
6
|
'components.constants.sex-list.female': string;
|
|
7
|
-
'components.pdf-drawer.error-load-pdf': string;
|
|
8
|
-
'components.pdf-drawer.operation-exit': string;
|
|
9
|
-
'components.pdf-drawer.operation-download': string;
|
|
10
|
-
'components.pdf-drawer.operation-order': string;
|
|
11
|
-
'components.pdf-drawer.operation-view': string;
|
|
12
|
-
'components.pdf-drawer.operation-zoom-in': string;
|
|
13
|
-
'components.pdf-drawer.operation-zoom-out': string;
|
|
14
|
-
'components.pdf-drawer.operation-next-page': string;
|
|
15
|
-
'components.pdf-drawer.operation-last-page': string;
|
|
16
|
-
'components.pdf-drawer.operation-side': string;
|
|
17
7
|
'components.bind-frame.title.mail-force': string;
|
|
18
8
|
'components.bind-frame.title.password-force': string;
|
|
19
9
|
'components.bind-frame.title.external-force': string;
|
package/build/locales/zh-CN.d.ts
CHANGED
|
@@ -4,16 +4,6 @@ declare const _default: {
|
|
|
4
4
|
'components.constants.sex-list.secret': string;
|
|
5
5
|
'components.constants.sex-list.male': string;
|
|
6
6
|
'components.constants.sex-list.female': string;
|
|
7
|
-
'components.pdf-drawer.error-load-pdf': string;
|
|
8
|
-
'components.pdf-drawer.operation-exit': string;
|
|
9
|
-
'components.pdf-drawer.operation-download': string;
|
|
10
|
-
'components.pdf-drawer.operation-order': string;
|
|
11
|
-
'components.pdf-drawer.operation-view': string;
|
|
12
|
-
'components.pdf-drawer.operation-zoom-in': string;
|
|
13
|
-
'components.pdf-drawer.operation-zoom-out': string;
|
|
14
|
-
'components.pdf-drawer.operation-next-page': string;
|
|
15
|
-
'components.pdf-drawer.operation-last-page': string;
|
|
16
|
-
'components.pdf-drawer.operation-side': string;
|
|
17
7
|
'components.bind-frame.title.mail-force': string;
|
|
18
8
|
'components.bind-frame.title.password-force': string;
|
|
19
9
|
'components.bind-frame.title.external-force': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regenbio/regenbio-components-react",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.13",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -46,9 +46,7 @@
|
|
|
46
46
|
"ts-loader": "^9.5.1",
|
|
47
47
|
"typescript": "^5.7.2",
|
|
48
48
|
"webpack": "^5.97.1",
|
|
49
|
-
"webpack-cli": "^6.0.1"
|
|
50
|
-
"react-custom-scrollbars": "^4.2.1",
|
|
51
|
-
"react-pdf": "^9.1.0"
|
|
49
|
+
"webpack-cli": "^6.0.1"
|
|
52
50
|
},
|
|
53
51
|
"dependencies": {
|
|
54
52
|
"@antv/g2": "^5.2.7",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* 懒加载模块属性
|
|
4
|
-
*/
|
|
5
|
-
export type RbLazyFrameProps = {
|
|
6
|
-
/**
|
|
7
|
-
* 唯一键
|
|
8
|
-
*/
|
|
9
|
-
key: string;
|
|
10
|
-
/**
|
|
11
|
-
* ID
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* 样式
|
|
16
|
-
*/
|
|
17
|
-
style: React.CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* 子节点
|
|
20
|
-
*/
|
|
21
|
-
children: React.ReactNode | React.ReactNode[];
|
|
22
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { RbPdfDrawerProps } from "./type";
|
|
2
|
-
/**
|
|
3
|
-
* PDF抽屉Hook
|
|
4
|
-
*
|
|
5
|
-
* @param props 属性
|
|
6
|
-
*/
|
|
7
|
-
declare const useRbPdfDrawer: (props: RbPdfDrawerProps) => {
|
|
8
|
-
setOrderType: any;
|
|
9
|
-
setPageNum: any;
|
|
10
|
-
setPdfDoc: any;
|
|
11
|
-
setPageSize: any;
|
|
12
|
-
setPageWidth: any;
|
|
13
|
-
setFileSize: any;
|
|
14
|
-
setResponsive: any;
|
|
15
|
-
setLeftSize: any;
|
|
16
|
-
savePdf: () => void;
|
|
17
|
-
scrollToPage: any;
|
|
18
|
-
scrollToViewPage: any;
|
|
19
|
-
renderViewPage: () => any[];
|
|
20
|
-
getOrderAnchor: () => any[];
|
|
21
|
-
debouncedHandleScroll: any;
|
|
22
|
-
renderPage: () => any[];
|
|
23
|
-
intl: any;
|
|
24
|
-
responsive: any;
|
|
25
|
-
fileName: any;
|
|
26
|
-
fileSize: any;
|
|
27
|
-
pdfLoading: any;
|
|
28
|
-
pageWidth: any;
|
|
29
|
-
leftSize: any;
|
|
30
|
-
pageNum: any;
|
|
31
|
-
orderType: any;
|
|
32
|
-
pdfDoc: any;
|
|
33
|
-
rightScrollbarsRef: any;
|
|
34
|
-
isActive: any;
|
|
35
|
-
pageSize: any;
|
|
36
|
-
defaultLeftSize: number;
|
|
37
|
-
};
|
|
38
|
-
export default useRbPdfDrawer;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
|
|
3
|
-
import 'react-pdf/dist/esm/Page/TextLayer.css';
|
|
4
|
-
import { RbPdfDrawerProps } from "./type";
|
|
5
|
-
/**
|
|
6
|
-
* PDF模态框
|
|
7
|
-
*
|
|
8
|
-
* @constructor
|
|
9
|
-
*/
|
|
10
|
-
declare const RbPdfDrawer: React.FC<RbPdfDrawerProps>;
|
|
11
|
-
export default RbPdfDrawer;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'components.pdf-drawer.error-load-pdf': string;
|
|
3
|
-
'components.pdf-drawer.operation-exit': string;
|
|
4
|
-
'components.pdf-drawer.operation-download': string;
|
|
5
|
-
'components.pdf-drawer.operation-order': string;
|
|
6
|
-
'components.pdf-drawer.operation-view': string;
|
|
7
|
-
'components.pdf-drawer.operation-zoom-in': string;
|
|
8
|
-
'components.pdf-drawer.operation-zoom-out': string;
|
|
9
|
-
'components.pdf-drawer.operation-next-page': string;
|
|
10
|
-
'components.pdf-drawer.operation-last-page': string;
|
|
11
|
-
'components.pdf-drawer.operation-side': string;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'components.pdf-drawer.error-load-pdf': string;
|
|
3
|
-
'components.pdf-drawer.operation-exit': string;
|
|
4
|
-
'components.pdf-drawer.operation-download': string;
|
|
5
|
-
'components.pdf-drawer.operation-order': string;
|
|
6
|
-
'components.pdf-drawer.operation-view': string;
|
|
7
|
-
'components.pdf-drawer.operation-zoom-in': string;
|
|
8
|
-
'components.pdf-drawer.operation-zoom-out': string;
|
|
9
|
-
'components.pdf-drawer.operation-next-page': string;
|
|
10
|
-
'components.pdf-drawer.operation-last-page': string;
|
|
11
|
-
'components.pdf-drawer.operation-side': string;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* PDF模态框属性
|
|
4
|
-
*/
|
|
5
|
-
export type RbPdfDrawerProps = {
|
|
6
|
-
/**
|
|
7
|
-
* 文件名
|
|
8
|
-
*/
|
|
9
|
-
fileName?: string;
|
|
10
|
-
/**
|
|
11
|
-
* PDF地址(与 文件主键ID 取其一)
|
|
12
|
-
*/
|
|
13
|
-
url?: string | null;
|
|
14
|
-
/**
|
|
15
|
-
* 文件主键ID(与 PDF地址 取其一)
|
|
16
|
-
*/
|
|
17
|
-
guid?: string;
|
|
18
|
-
/**
|
|
19
|
-
* 抽屉展示状态
|
|
20
|
-
*/
|
|
21
|
-
showStatus: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* 抽屉层级,用于支持多层抽屉展示的情况
|
|
24
|
-
*/
|
|
25
|
-
zIndex?: number;
|
|
26
|
-
/**
|
|
27
|
-
* 取消回调
|
|
28
|
-
*/
|
|
29
|
-
onCancel?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
30
|
-
/**
|
|
31
|
-
* 生成下载URL
|
|
32
|
-
*
|
|
33
|
-
* @param guid 文件主键ID
|
|
34
|
-
*/
|
|
35
|
-
downloadUrl: (guid: string) => null | string;
|
|
36
|
-
};
|