@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.
@@ -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.14
17
- * @date 1/2/2025, 2:54:20 AM
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.14
26
- * @date 1/2/2025, 2:55:27 AM
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.16
35
- * @date 1/2/2025, 2:55:54 AM
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.19
44
- * @date 1/2/2025, 2:56:26 AM
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/facebook/regenerator/blob/main/LICENSE */
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
  /**![account-book](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcxMiAzMDRjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgzODR2NDhjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgxODR2NTg0aDY1NlYyNTZINzEydjQ4em0tNjUuNiAxMjEuOGwtODkuMyAxNjQuMWg0OS4xYzQuNCAwIDggMy42IDggOHYyMS4zYzAgNC40LTMuNiA4LTggOGgtN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UgMCAxMCA0LjUgMTAgMTB2MjEuM2MwIDUuNS00LjUgMTAtMTAgMTBoLTYzLjR2MjkuN2g2My40YzUuNSAwIDEwIDQuNSAxMCAxMHYyMS4zYzAgNS41LTQuNSAxMC0xMCAxMGgtNjMuNFY3NTJjMCA1LjUtNC41IDEwLTEwIDEwaC00MS4zYy01LjUgMC0xMC00LjUtMTAtMTB2LTUxLjhoLTYzLjFjLTUuNSAwLTEwLTQuNS0xMC0xMHYtMjEuM2MwLTUuNSA0LjUtMTAgMTAtMTBoNjMuMXYtMjkuN2gtNjMuMWMtNS41IDAtMTAtNC41LTEwLTEwdi0yMS4zYzAtNS41IDQuNS0xMCAxMC0xMGg0NS4ybC04OC0xNjEuMWMtMi42LTQuOC0uOS0xMC45IDQtMTMuNiAxLjUtLjggMy4xLTEuMiA0LjgtMS4yaDQ2YzMuOCAwIDcuMiAyLjEgOC45IDUuNWw3Mi45IDE0NC4zIDczLjItMTQ0LjNhMTAgMTAgMCAwMTguOS01LjVoNDVjNS41IDAgMTAgNC41IDEwIDEwIC4xIDEuNy0uMyAzLjMtMS4xIDQuOHoiIC8+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.11",
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,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>;