@mescius/wijmo.react.viewer 5.20241.9-rc → 5.20241.9-temp1-nightly.d20240524.t154527

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
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"));class ReportViewer extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcViewer.ReportViewer,{objectProps:["requestHeaders","parameters"]})}}exports.ReportViewer=ReportViewer;class PdfViewer extends wijmo_react_base_1.ComponentBase{constructor(e){super(e,wjcViewer.PdfViewer,{objectProps:["requestHeaders"]})}}exports.PdfViewer=PdfViewer;
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.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
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{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";export class ReportViewer extends ComponentBase{constructor(e){super(e,wjcViewer.ReportViewer,{objectProps:["requestHeaders","parameters"]})}}export class PdfViewer extends ComponentBase{constructor(e){super(e,wjcViewer.PdfViewer,{objectProps:["requestHeaders"]})}}
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.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
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
- var __extends=this&&this.__extends||function(){var extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};return function(e,r){extendStatics(e,r);function __(){this.constructor=e}e.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)}}();import{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcViewer from"@mescius/wijmo.viewer";var ReportViewer=function(e){__extends(ReportViewer,e);function ReportViewer(r){return e.call(this,r,wjcViewer.ReportViewer,{objectProps:["requestHeaders","parameters"]})||this}return ReportViewer}(ComponentBase);export{ReportViewer};var PdfViewer=function(e){__extends(PdfViewer,e);function PdfViewer(r){return e.call(this,r,wjcViewer.PdfViewer,{objectProps:["requestHeaders"]})||this}return PdfViewer}(ComponentBase);export{PdfViewer};
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.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -18,7 +18,47 @@
18
18
  *
19
19
  */
20
20
  export declare var ___keepComment: any;
21
- import { ComponentBase } from '@mescius/wijmo.react.base';
21
+ import { ControlBaseEvents, ControlBaseProps } from '@mescius/wijmo.react.base';
22
+ import * as React from 'react';
23
+ import * as wjcCore from '@mescius/wijmo';
24
+ import * as wjcViewer from '@mescius/wijmo.viewer';
25
+ export declare type ViewerBaseProps = ControlBaseProps & {
26
+ filePath?: string;
27
+ fullScreen?: boolean;
28
+ mouseMode?: wjcViewer.MouseMode | string;
29
+ pageIndex?: number;
30
+ requestHeaders?: any;
31
+ serviceUrl?: string;
32
+ thresholdWidth?: number;
33
+ viewMode?: wjcViewer.ViewMode | string;
34
+ zoomFactor?: number;
35
+ zoomMode?: wjcViewer.ZoomMode | string;
36
+ };
37
+ export declare type ViewerBaseEvents<T> = ControlBaseEvents<T> & {
38
+ beforeSendRequest?: wjcCore.IEventHandler<T, wjcViewer.RequestEventArgs>;
39
+ fullScreenChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
40
+ mouseModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
41
+ pageIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
42
+ pageLoaded?: wjcCore.IEventHandler<T, wjcViewer.PageLoadedEventArgs>;
43
+ queryLoadingData?: wjcCore.IEventHandler<T, wjcViewer.QueryLoadingDataEventArgs>;
44
+ viewModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
45
+ zoomFactorChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
46
+ zoomModeChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
47
+ };
48
+ export declare const ViewerBaseMeta: {
49
+ inputs: string[];
50
+ events: string[];
51
+ };
52
+ export declare type ReportViewerProps = ViewerBaseProps & {
53
+ paginated?: boolean;
54
+ parameters?: any;
55
+ reportName?: string;
56
+ };
57
+ export declare type ReportViewerEvents<T> = ViewerBaseEvents<T> & {};
58
+ export declare const ReportViewerMeta: {
59
+ inputs: string[];
60
+ events: string[];
61
+ };
22
62
  /**
23
63
  * React component for the {@link wijmo.viewer.ReportViewer} control.
24
64
  *
@@ -28,41 +68,13 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
28
68
  * You can use this event to perform further initialization in addition to setting properties in JSX.
29
69
  * The signature of the handler function is the same as any other Wijmo event handlers.
30
70
  */
31
- export declare class ReportViewer extends ComponentBase {
32
- props: {
33
- template?: any;
34
- children?: any;
35
- isDisabled?: any;
36
- tabOrder?: any;
37
- serviceUrl?: any;
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
- }
71
+ export declare const ReportViewer: React.ForwardRefExoticComponent<ReportViewerProps & ReportViewerEvents<wjcViewer.ReportViewer>>;
72
+ export declare type PdfViewerProps = ViewerBaseProps & {};
73
+ export declare type PdfViewerEvents<T> = ViewerBaseEvents<T> & {};
74
+ export declare const PdfViewerMeta: {
75
+ inputs: string[];
76
+ events: string[];
77
+ };
66
78
  /**
67
79
  * React component for the {@link wijmo.viewer.PdfViewer} control.
68
80
  *
@@ -72,35 +84,4 @@ export declare class ReportViewer extends ComponentBase {
72
84
  * You can use this event to perform further initialization in addition to setting properties in JSX.
73
85
  * The signature of the handler function is the same as any other Wijmo event handlers.
74
86
  */
75
- export declare class PdfViewer extends ComponentBase {
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
- }
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.9
3
+ * Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
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 __extends=this&&this.__extends||function(){var extendStatics=function(e,r){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};return function(e,r){extendStatics(e,r);function __(){this.constructor=e}e.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)}}(),__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")),ReportViewer=function(e){__extends(ReportViewer,e);function ReportViewer(r){return e.call(this,r,wjcViewer.ReportViewer,{objectProps:["requestHeaders","parameters"]})||this}return ReportViewer}(wijmo_react_base_1.ComponentBase);exports.ReportViewer=ReportViewer;var PdfViewer=function(e){__extends(PdfViewer,e);function PdfViewer(r){return e.call(this,r,wjcViewer.PdfViewer,{objectProps:["requestHeaders"]})||this}return PdfViewer}(wijmo_react_base_1.ComponentBase);exports.PdfViewer=PdfViewer;
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.9-rc",
3
+ "version": "5.20241.9-temp1-nightly.d20240524.t154527",
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.9-rc",
11
- "@mescius/wijmo.viewer": "5.20241.9-rc",
12
- "@mescius/wijmo.react.base": "5.20241.9-rc"
10
+ "@mescius/wijmo": "5.20241.9-temp1-nightly.d20240524.t154527",
11
+ "@mescius/wijmo.viewer": "5.20241.9-temp1-nightly.d20240524.t154527",
12
+ "@mescius/wijmo.react.base": "5.20241.9-temp1-nightly.d20240524.t154527"
13
13
  },
14
14
  "homepage": "https://developer.mescius.com/wijmo",
15
15
  "bugs": {