@regenbio/regenbio-components-react 1.4.12 → 1.4.14

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.
@@ -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
  /**![account-book](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcxMiAzMDRjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgzODR2NDhjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgxODR2NTg0aDY1NlYyNTZINzEydjQ4em0tNjUuNiAxMjEuOGwtODkuMyAxNjQuMWg0OS4xYzQuNCAwIDggMy42IDggOHYyMS4zYzAgNC40LTMuNiA4LTggOGgtNjUuNHYzMy43aDY1LjRjNC40IDAgOCAzLjYgOCA4djIxLjNjMCA0LjQtMy42IDgtOCA4aC02NS40Vjc1MmMwIDQuNC0zLjYgOC04IDhoLTQx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4zYzAgNS41LTQuNSAxMC0xMCAxMGgtNjMuNFY3NTJjMCA1LjUtNC41IDEwLTEwIDEwaC00MS4zYy01LjUgMC0xMC00LjUtMTAtMTB2LTUxLjhoLTYzLjFjLTUuNSAwLTEwLTQuNS0xMC0xMHYtMjEuM2MwLTUuNSA0LjUtMTAgMTAtMTBoNjMuMXYtMjkuN2gtNjMuMWMtNS41IDAtMTAtNC41LTEwLTEwdi0yMS4zYzAtNS41IDQuNS0xMCAxMC0xMGg0NS4ybC04OC0xNjEuMWMtMi42LTQuOC0uOS0xMC45IDQtMTMuNiAxLjUtLjggMy4xLTEuMiA0LjgtMS4yaDQ2YzMuOCAwIDcuMiAyLjEgOC45IDUuNWw3Mi45IDE0NC4zIDczLjItMTQ0LjNhMTAgMTAgMCAwMTguOS01LjVoNDVjNS41IDAgMTAgNC41IDEwIDEwIC4xIDEuNy0uMyAzLjMtMS4xIDQuOHoiIC8+PC9zdmc+) */
@@ -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;
@@ -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.12",
3
+ "version": "1.4.14",
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,8 +0,0 @@
1
- /**
2
- * 懒加载模块Hook
3
- */
4
- declare const useRbLazyFrame: () => {
5
- frameRef: any;
6
- isVisible: any;
7
- };
8
- export default useRbLazyFrame;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { RbLazyFrameProps } from "./type";
3
- /**
4
- * 懒加载模块
5
- *
6
- * @constructor
7
- */
8
- declare const RbLazyFrame: React.FC<RbLazyFrameProps>;
9
- export default RbLazyFrame;
@@ -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
- };
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const ResultComp: React.FC<any>;