@mescius/wijmo.react.viewer 5.20241.10-nightly.d20240427.t020122 → 5.20241.10-nightly.d20240501.t020145
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 +49 -69
- 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.d20240501.t020145
|
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"));
|
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]};function ReportViewer(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.ReportViewerMeta.inputs,events:exports.ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}exports.ReportViewer=ReportViewer;exports.PdfViewerMeta={inputs:[...exports.ViewerBaseMeta.inputs],events:[...exports.ViewerBaseMeta.events]};function PdfViewer(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.PdfViewerMeta.inputs,events:exports.PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}exports.PdfViewer=PdfViewer;
|
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.d20240501.t020145
|
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{
|
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 function ReportViewer(e){return useWjComponentBase({properties:ReportViewerMeta.inputs,events:ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}export const PdfViewerMeta={inputs:[...ViewerBaseMeta.inputs],events:[...ViewerBaseMeta.events]};export function PdfViewer(e){return useWjComponentBase({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.d20240501.t020145
|
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
|
-
|
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 function ReportViewer(e){return useWjComponentBase({properties:ReportViewerMeta.inputs,events:ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}export var PdfViewerMeta={inputs:ViewerBaseMeta.inputs.slice(),events:ViewerBaseMeta.events.slice()};export function PdfViewer(e){return useWjComponentBase({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.d20240501.t020145
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -18,7 +18,46 @@
|
|
18
18
|
*
|
19
19
|
*/
|
20
20
|
export declare var ___keepComment: any;
|
21
|
-
import {
|
21
|
+
import { ControlBaseEvents, ControlBaseProps } from '@mescius/wijmo.react.base';
|
22
|
+
import * as wjcCore from '@mescius/wijmo';
|
23
|
+
import * as wjcViewer from '@mescius/wijmo.viewer';
|
24
|
+
export declare type ViewerBaseProps = ControlBaseProps & {
|
25
|
+
filePath?: string;
|
26
|
+
fullScreen?: boolean;
|
27
|
+
mouseMode?: wjcViewer.MouseMode;
|
28
|
+
pageIndex?: number;
|
29
|
+
requestHeaders?: any;
|
30
|
+
serviceUrl?: string;
|
31
|
+
thresholdWidth?: number;
|
32
|
+
viewMode?: wjcViewer.ViewMode;
|
33
|
+
zoomFactor?: number;
|
34
|
+
zoomMode?: wjcViewer.ZoomMode;
|
35
|
+
};
|
36
|
+
export declare type ViewerBaseEvents<T> = ControlBaseEvents<T> & {
|
37
|
+
beforeSendRequest?: wjcCore.IEventHandler<T, wjcViewer.RequestEventArgs>;
|
38
|
+
fullScreenChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
39
|
+
mouseModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
40
|
+
pageIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
41
|
+
pageLoaded?: wjcCore.IEventHandler<T, wjcViewer.PageLoadedEventArgs>;
|
42
|
+
queryLoadingData?: wjcCore.IEventHandler<T, wjcViewer.QueryLoadingDataEventArgs>;
|
43
|
+
viewModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
44
|
+
zoomFactorChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
45
|
+
zoomModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
46
|
+
};
|
47
|
+
export declare const ViewerBaseMeta: {
|
48
|
+
inputs: string[];
|
49
|
+
events: string[];
|
50
|
+
};
|
51
|
+
export declare type ReportViewerProps = ViewerBaseProps & {
|
52
|
+
paginated?: boolean;
|
53
|
+
parameters?: any;
|
54
|
+
reportName?: string;
|
55
|
+
};
|
56
|
+
export declare type ReportViewerEvents<T> = ViewerBaseEvents<T> & {};
|
57
|
+
export declare const ReportViewerMeta: {
|
58
|
+
inputs: string[];
|
59
|
+
events: string[];
|
60
|
+
};
|
22
61
|
/**
|
23
62
|
* React component for the {@link wijmo.viewer.ReportViewer} control.
|
24
63
|
*
|
@@ -28,41 +67,13 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
|
|
28
67
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
29
68
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
30
69
|
*/
|
31
|
-
export declare
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
filePath?: any;
|
39
|
-
fullScreen?: any;
|
40
|
-
zoomFactor?: any;
|
41
|
-
zoomMode?: any;
|
42
|
-
mouseMode?: any;
|
43
|
-
viewMode?: any;
|
44
|
-
requestHeaders?: any;
|
45
|
-
parameters?: any;
|
46
|
-
paginated?: any;
|
47
|
-
reportName?: any;
|
48
|
-
initialized?: any;
|
49
|
-
gotFocus?: any;
|
50
|
-
lostFocus?: any;
|
51
|
-
refreshing?: any;
|
52
|
-
refreshed?: any;
|
53
|
-
invalidInput?: any;
|
54
|
-
pageIndexChanged?: any;
|
55
|
-
queryLoadingData?: any;
|
56
|
-
beforeSendRequest?: any;
|
57
|
-
fullScreenChanged?: any;
|
58
|
-
zoomFactorChanged?: any;
|
59
|
-
zoomModeChanged?: any;
|
60
|
-
mouseModeChanged?: any;
|
61
|
-
viewModeChanged?: any;
|
62
|
-
[key: string]: any;
|
63
|
-
};
|
64
|
-
constructor(props: any);
|
65
|
-
}
|
70
|
+
export declare function ReportViewer(props: ReportViewerProps & ReportViewerEvents<wjcViewer.ReportViewer>): any;
|
71
|
+
export declare type PdfViewerProps = ViewerBaseProps & {};
|
72
|
+
export declare type PdfViewerEvents<T> = ViewerBaseEvents<T> & {};
|
73
|
+
export declare const PdfViewerMeta: {
|
74
|
+
inputs: string[];
|
75
|
+
events: string[];
|
76
|
+
};
|
66
77
|
/**
|
67
78
|
* React component for the {@link wijmo.viewer.PdfViewer} control.
|
68
79
|
*
|
@@ -72,35 +83,4 @@ export declare class ReportViewer extends ComponentBase {
|
|
72
83
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
73
84
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
74
85
|
*/
|
75
|
-
export declare
|
76
|
-
props: {
|
77
|
-
template?: any;
|
78
|
-
children?: any;
|
79
|
-
isDisabled?: any;
|
80
|
-
tabOrder?: any;
|
81
|
-
serviceUrl?: any;
|
82
|
-
filePath?: any;
|
83
|
-
fullScreen?: any;
|
84
|
-
zoomFactor?: any;
|
85
|
-
zoomMode?: any;
|
86
|
-
mouseMode?: any;
|
87
|
-
viewMode?: any;
|
88
|
-
requestHeaders?: any;
|
89
|
-
initialized?: any;
|
90
|
-
gotFocus?: any;
|
91
|
-
lostFocus?: any;
|
92
|
-
refreshing?: any;
|
93
|
-
refreshed?: any;
|
94
|
-
invalidInput?: any;
|
95
|
-
pageIndexChanged?: any;
|
96
|
-
queryLoadingData?: any;
|
97
|
-
beforeSendRequest?: any;
|
98
|
-
fullScreenChanged?: any;
|
99
|
-
zoomFactorChanged?: any;
|
100
|
-
zoomModeChanged?: any;
|
101
|
-
mouseModeChanged?: any;
|
102
|
-
viewModeChanged?: any;
|
103
|
-
[key: string]: any;
|
104
|
-
};
|
105
|
-
constructor(props: any);
|
106
|
-
}
|
86
|
+
export declare function PdfViewer(props: PdfViewerProps & PdfViewerEvents<wjcViewer.PdfViewer>): any;
|
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.d20240501.t020145
|
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
|
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()};function ReportViewer(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.ReportViewerMeta.inputs,events:exports.ReportViewerMeta.events,props:e,constructor:wjcViewer.ReportViewer}).renderResult}exports.ReportViewer=ReportViewer;exports.PdfViewerMeta={inputs:exports.ViewerBaseMeta.inputs.slice(),events:exports.ViewerBaseMeta.events.slice()};function PdfViewer(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.PdfViewerMeta.inputs,events:exports.PdfViewerMeta.events,props:e,constructor:wjcViewer.PdfViewer}).renderResult}exports.PdfViewer=PdfViewer;
|
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.d20240501.t020145",
|
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.d20240501.t020145",
|
11
|
+
"@mescius/wijmo.viewer": "5.20241.10-nightly.d20240501.t020145",
|
12
|
+
"@mescius/wijmo.react.base": "5.20241.10-nightly.d20240501.t020145"
|
13
13
|
},
|
14
14
|
"homepage": "https://developer.mescius.com/wijmo",
|
15
15
|
"bugs": {
|