@regenbio/regenbio-components-react 1.4.12 → 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 +0 -22
- package/build/locales/en-US.d.ts +0 -10
- package/build/locales/zh-CN.d.ts +0 -10
- package/package.json +3 -7
- 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
|
@@ -104,28 +104,6 @@
|
|
|
104
104
|
* LICENSE file in the root directory of this source tree.
|
|
105
105
|
*/
|
|
106
106
|
|
|
107
|
-
/**
|
|
108
|
-
* @licstart The following is the entire license notice for the
|
|
109
|
-
* JavaScript code in this page
|
|
110
|
-
*
|
|
111
|
-
* Copyright 2024 Mozilla Foundation
|
|
112
|
-
*
|
|
113
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
114
|
-
* you may not use this file except in compliance with the License.
|
|
115
|
-
* You may obtain a copy of the License at
|
|
116
|
-
*
|
|
117
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
118
|
-
*
|
|
119
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
120
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
121
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
122
|
-
* See the License for the specific language governing permissions and
|
|
123
|
-
* limitations under the License.
|
|
124
|
-
*
|
|
125
|
-
* @licend The above is the entire license notice for the
|
|
126
|
-
* JavaScript code in this page
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
107
|
/** */
|
|
130
108
|
|
|
131
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
|
},
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
"antd": "^5.22.2",
|
|
23
23
|
"antd-style": "^3.6.1",
|
|
24
24
|
"react": "^18.2.0",
|
|
25
|
-
"react-dom": "^18.2.0"
|
|
26
|
-
"react-custom-scrollbars": "^4.2.1",
|
|
27
|
-
"react-pdf": "^9.1.0"
|
|
25
|
+
"react-dom": "^18.2.0"
|
|
28
26
|
},
|
|
29
27
|
"devDependencies": {
|
|
30
28
|
"@ant-design/pro-components": "^2.6.48",
|
|
@@ -48,9 +46,7 @@
|
|
|
48
46
|
"ts-loader": "^9.5.1",
|
|
49
47
|
"typescript": "^5.7.2",
|
|
50
48
|
"webpack": "^5.97.1",
|
|
51
|
-
"webpack-cli": "^6.0.1"
|
|
52
|
-
"react-custom-scrollbars": "^4.2.1",
|
|
53
|
-
"react-pdf": "^9.1.0"
|
|
49
|
+
"webpack-cli": "^6.0.1"
|
|
54
50
|
},
|
|
55
51
|
"dependencies": {
|
|
56
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
|
-
};
|