@mescius/wijmo.react.viewer 5.20241.10-nightly.d20240501.t020145 → 5.20241.10-nightly.d20240502.t041331
Sign up to get free protection for your applications and to get access to all the features.
- package/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +7 -6
- package/index.js +2 -2
- package/package.json +4 -4
package/es2015-commonjs.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240502.t041331
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcViewer=__importStar(require("@mescius/wijmo.viewer"));exports.ViewerBaseMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"]};exports.ReportViewerMeta={inputs:[...exports.ViewerBaseMeta.inputs,"paginated","parameters","reportName"],events:[...exports.ViewerBaseMeta.events]};
|
14
|
+
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcViewer=__importStar(require("@mescius/wijmo.viewer"));exports.ViewerBaseMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"]};exports.ReportViewerMeta={inputs:[...exports.ViewerBaseMeta.inputs,"paginated","parameters","reportName"],events:[...exports.ViewerBaseMeta.events]};exports.ReportViewer=react_1.forwardRef((function(e,r){return wijmo_react_base_1.useWjComponentBase({ref:r,properties:exports.ReportViewerMeta.inputs,events:exports.ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}));exports.PdfViewerMeta={inputs:[...exports.ViewerBaseMeta.inputs],events:[...exports.ViewerBaseMeta.events]};exports.PdfViewer=react_1.forwardRef((function(e,r){return wijmo_react_base_1.useWjComponentBase({ref:r,properties:exports.PdfViewerMeta.inputs,events:exports.PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}));
|
package/es2015-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240502.t041331
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";export const ViewerBaseMeta={inputs:[...ControlBaseMeta.inputs,"filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"],events:[...ControlBaseMeta.events,"beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"]};export const ReportViewerMeta={inputs:[...ViewerBaseMeta.inputs,"paginated","parameters","reportName"],events:[...ViewerBaseMeta.events]};export
|
14
|
+
import{forwardRef}from"react";import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";export const ViewerBaseMeta={inputs:[...ControlBaseMeta.inputs,"filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"],events:[...ControlBaseMeta.events,"beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"]};export const ReportViewerMeta={inputs:[...ViewerBaseMeta.inputs,"paginated","parameters","reportName"],events:[...ViewerBaseMeta.events]};export const ReportViewer=forwardRef((function(e,r){return useWjComponentBase({ref:r,properties:ReportViewerMeta.inputs,events:ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}));export const PdfViewerMeta={inputs:[...ViewerBaseMeta.inputs],events:[...ViewerBaseMeta.events]};export const PdfViewer=forwardRef((function(e,r){return useWjComponentBase({ref:r,properties:PdfViewerMeta.inputs,events:PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}));
|
package/es5-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240502.t041331
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";export var ViewerBaseMeta={inputs:ControlBaseMeta.inputs.concat(["filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"]),events:ControlBaseMeta.events.concat(["beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"])};export var ReportViewerMeta={inputs:ViewerBaseMeta.inputs.concat(["paginated","parameters","reportName"]),events:ViewerBaseMeta.events.slice()};export
|
14
|
+
import{forwardRef}from"react";import{ControlBaseMeta,useWjComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";export var ViewerBaseMeta={inputs:ControlBaseMeta.inputs.concat(["filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"]),events:ControlBaseMeta.events.concat(["beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"])};export var ReportViewerMeta={inputs:ViewerBaseMeta.inputs.concat(["paginated","parameters","reportName"]),events:ViewerBaseMeta.events.slice()};export var ReportViewer=forwardRef((function(e,r){return useWjComponentBase({ref:r,properties:ReportViewerMeta.inputs,events:ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}));export var PdfViewerMeta={inputs:ViewerBaseMeta.inputs.slice(),events:ViewerBaseMeta.events.slice()};export var PdfViewer=forwardRef((function(e,r){return useWjComponentBase({ref:r,properties:PdfViewerMeta.inputs,events:PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}));
|
package/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240502.t041331
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -19,19 +19,20 @@
|
|
19
19
|
*/
|
20
20
|
export declare var ___keepComment: any;
|
21
21
|
import { ControlBaseEvents, ControlBaseProps } from '@mescius/wijmo.react.base';
|
22
|
+
import * as React from 'react';
|
22
23
|
import * as wjcCore from '@mescius/wijmo';
|
23
24
|
import * as wjcViewer from '@mescius/wijmo.viewer';
|
24
25
|
export declare type ViewerBaseProps = ControlBaseProps & {
|
25
26
|
filePath?: string;
|
26
27
|
fullScreen?: boolean;
|
27
|
-
mouseMode?: wjcViewer.MouseMode;
|
28
|
+
mouseMode?: wjcViewer.MouseMode | string;
|
28
29
|
pageIndex?: number;
|
29
30
|
requestHeaders?: any;
|
30
31
|
serviceUrl?: string;
|
31
32
|
thresholdWidth?: number;
|
32
|
-
viewMode?: wjcViewer.ViewMode;
|
33
|
+
viewMode?: wjcViewer.ViewMode | string;
|
33
34
|
zoomFactor?: number;
|
34
|
-
zoomMode?: wjcViewer.ZoomMode;
|
35
|
+
zoomMode?: wjcViewer.ZoomMode | string;
|
35
36
|
};
|
36
37
|
export declare type ViewerBaseEvents<T> = ControlBaseEvents<T> & {
|
37
38
|
beforeSendRequest?: wjcCore.IEventHandler<T, wjcViewer.RequestEventArgs>;
|
@@ -67,7 +68,7 @@ export declare const ReportViewerMeta: {
|
|
67
68
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
68
69
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
69
70
|
*/
|
70
|
-
export declare
|
71
|
+
export declare const ReportViewer: React.ForwardRefExoticComponent<ReportViewerProps & ReportViewerEvents<wjcViewer.ReportViewer>>;
|
71
72
|
export declare type PdfViewerProps = ViewerBaseProps & {};
|
72
73
|
export declare type PdfViewerEvents<T> = ViewerBaseEvents<T> & {};
|
73
74
|
export declare const PdfViewerMeta: {
|
@@ -83,4 +84,4 @@ export declare const PdfViewerMeta: {
|
|
83
84
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
84
85
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
85
86
|
*/
|
86
|
-
export declare
|
87
|
+
export declare const PdfViewer: React.ForwardRefExoticComponent<PdfViewerProps & PdfViewerEvents<wjcViewer.PdfViewer>>;
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240502.t041331
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcViewer=__importStar(require("@mescius/wijmo.viewer"));exports.ViewerBaseMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"])};exports.ReportViewerMeta={inputs:exports.ViewerBaseMeta.inputs.concat(["paginated","parameters","reportName"]),events:exports.ViewerBaseMeta.events.slice()};
|
14
|
+
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);r.default=e;return r};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcViewer=__importStar(require("@mescius/wijmo.viewer"));exports.ViewerBaseMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["filePath","fullScreen","mouseMode","pageIndex","requestHeaders","serviceUrl","thresholdWidth","viewMode","zoomFactor","zoomMode"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["beforeSendRequest","fullScreenChanged","mouseModeChanged","pageIndexChanged","pageLoaded","queryLoadingData","viewModeChanged","zoomFactorChanged","zoomModeChanged"])};exports.ReportViewerMeta={inputs:exports.ViewerBaseMeta.inputs.concat(["paginated","parameters","reportName"]),events:exports.ViewerBaseMeta.events.slice()};exports.ReportViewer=react_1.forwardRef((function(e,r){return wijmo_react_base_1.useWjComponentBase({ref:r,properties:exports.ReportViewerMeta.inputs,events:exports.ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}));exports.PdfViewerMeta={inputs:exports.ViewerBaseMeta.inputs.slice(),events:exports.ViewerBaseMeta.events.slice()};exports.PdfViewer=react_1.forwardRef((function(e,r){return wijmo_react_base_1.useWjComponentBase({ref:r,properties:exports.PdfViewerMeta.inputs,events:exports.PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}));
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mescius/wijmo.react.viewer",
|
3
|
-
"version": "5.20241.10-nightly.
|
3
|
+
"version": "5.20241.10-nightly.d20240502.t041331",
|
4
4
|
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
5
5
|
"author": "MESCIUS inc",
|
6
6
|
"license": "Commercial",
|
7
7
|
"main": "./index.js",
|
8
8
|
"types": "./index.d.ts",
|
9
9
|
"dependencies": {
|
10
|
-
"@mescius/wijmo": "5.20241.10-nightly.
|
11
|
-
"@mescius/wijmo.viewer": "5.20241.10-nightly.
|
12
|
-
"@mescius/wijmo.react.base": "5.20241.10-nightly.
|
10
|
+
"@mescius/wijmo": "5.20241.10-nightly.d20240502.t041331",
|
11
|
+
"@mescius/wijmo.viewer": "5.20241.10-nightly.d20240502.t041331",
|
12
|
+
"@mescius/wijmo.react.base": "5.20241.10-nightly.d20240502.t041331"
|
13
13
|
},
|
14
14
|
"homepage": "https://developer.mescius.com/wijmo",
|
15
15
|
"bugs": {
|