@mescius/wijmo.viewer 5.20251.41-nightly.d20250729.t185913 → 5.20251.41-nightly.d20250730.t190039
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.
- package/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +36 -18
- package/index.js +2 -2
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20251.41-nightly.
|
|
3
|
+
* Wijmo Library 5.20251.41-nightly.d20250730.t190039
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -544,6 +544,22 @@ export declare const ViewerBaseClsNames: {
|
|
|
544
544
|
viewerMenu: string;
|
|
545
545
|
zoomBar: string;
|
|
546
546
|
};
|
|
547
|
+
export declare class _VScroller extends _Scroller {
|
|
548
|
+
private _wrapper;
|
|
549
|
+
private _height;
|
|
550
|
+
private _max;
|
|
551
|
+
private _desiredValue;
|
|
552
|
+
static _ctrlTemplate: string;
|
|
553
|
+
static controlTemplate: string;
|
|
554
|
+
constructor(element: any);
|
|
555
|
+
readonly valueChanged: Event<_VScroller, EventArgs>;
|
|
556
|
+
onValueChanged(): void;
|
|
557
|
+
preventScrollEvent(): void;
|
|
558
|
+
height: number;
|
|
559
|
+
value: number;
|
|
560
|
+
max: number;
|
|
561
|
+
refresh(fullUpdate?: boolean): void;
|
|
562
|
+
}
|
|
547
563
|
export declare enum _UnitType {
|
|
548
564
|
Document = 0,
|
|
549
565
|
Inch = 1,
|
|
@@ -1048,22 +1064,6 @@ export declare class _TouchManager {
|
|
|
1048
1064
|
readonly contentElement: Element;
|
|
1049
1065
|
dispose(): void;
|
|
1050
1066
|
}
|
|
1051
|
-
export declare class _VScroller extends _Scroller {
|
|
1052
|
-
private _wrapper;
|
|
1053
|
-
private _height;
|
|
1054
|
-
private _max;
|
|
1055
|
-
private _desiredValue;
|
|
1056
|
-
static _ctrlTemplate: string;
|
|
1057
|
-
static controlTemplate: string;
|
|
1058
|
-
constructor(element: any);
|
|
1059
|
-
readonly valueChanged: Event<_VScroller, EventArgs>;
|
|
1060
|
-
onValueChanged(): void;
|
|
1061
|
-
preventScrollEvent(): void;
|
|
1062
|
-
height: number;
|
|
1063
|
-
value: number;
|
|
1064
|
-
max: number;
|
|
1065
|
-
refresh(fullUpdate?: boolean): void;
|
|
1066
|
-
}
|
|
1067
1067
|
export declare class _ExportOptionEditor extends Control {
|
|
1068
1068
|
private _exportDescription;
|
|
1069
1069
|
private _options;
|
|
@@ -1075,6 +1075,8 @@ export declare class _ExportOptionEditor extends Control {
|
|
|
1075
1075
|
private static _generalGroupName;
|
|
1076
1076
|
private _optionLabels;
|
|
1077
1077
|
private _groupTitleField;
|
|
1078
|
+
private _clickHandlerTimer;
|
|
1079
|
+
private _selectedHandlerTimer;
|
|
1078
1080
|
constructor(element: any);
|
|
1079
1081
|
readonly options: Object;
|
|
1080
1082
|
exportDescription: _IExportDescription;
|
|
@@ -1094,6 +1096,7 @@ export declare class _ExportOptionEditor extends Control {
|
|
|
1094
1096
|
private readonly _optionLabelsText;
|
|
1095
1097
|
private readonly _groupTitle;
|
|
1096
1098
|
private _globalize;
|
|
1099
|
+
dispose(): void;
|
|
1097
1100
|
refresh(fullUpdate?: boolean): void;
|
|
1098
1101
|
}
|
|
1099
1102
|
export interface _IHttpRequest {
|
|
@@ -1473,6 +1476,7 @@ export declare class _SearchManager {
|
|
|
1473
1476
|
private _onSearchCompleted;
|
|
1474
1477
|
private _onResultsCleared;
|
|
1475
1478
|
private _onTextChanged;
|
|
1479
|
+
dispose(): void;
|
|
1476
1480
|
}
|
|
1477
1481
|
export declare class _Page {
|
|
1478
1482
|
private _documentSource;
|
|
@@ -1541,6 +1545,7 @@ export interface _IPageView {
|
|
|
1541
1545
|
resetPages(): any;
|
|
1542
1546
|
invalidate(): any;
|
|
1543
1547
|
refresh(): any;
|
|
1548
|
+
dispose(): any;
|
|
1544
1549
|
}
|
|
1545
1550
|
export interface _IZoomModeChangedEventArgs {
|
|
1546
1551
|
oldValue: ZoomMode;
|
|
@@ -1562,7 +1567,7 @@ export declare class _PageViewBase extends Control implements _IPageView {
|
|
|
1562
1567
|
private _pages;
|
|
1563
1568
|
private _zoomFactor;
|
|
1564
1569
|
private _zoomMode;
|
|
1565
|
-
|
|
1570
|
+
_touchManager: _TouchManager;
|
|
1566
1571
|
private _zoomModeUpdating;
|
|
1567
1572
|
protected _pagesWrapper: HTMLElement;
|
|
1568
1573
|
private _fBorderBoxMode;
|
|
@@ -1674,6 +1679,8 @@ export declare class _SinglePageView extends _PageViewBase {
|
|
|
1674
1679
|
private _innerNavigating;
|
|
1675
1680
|
private _virtualScrollMode;
|
|
1676
1681
|
static _ctrlTemplate: string;
|
|
1682
|
+
private _timeoutId;
|
|
1683
|
+
private _swipeHandler;
|
|
1677
1684
|
static controlTemplate: string;
|
|
1678
1685
|
constructor(element: any);
|
|
1679
1686
|
_init(): void;
|
|
@@ -1715,6 +1722,7 @@ export declare class _SinglePageView extends _PageViewBase {
|
|
|
1715
1722
|
_zoomToViewWidth(): void;
|
|
1716
1723
|
protected _calcZoomToViewWidthFactor(): number;
|
|
1717
1724
|
refresh(fullUpdate?: boolean): void;
|
|
1725
|
+
dispose(): void;
|
|
1718
1726
|
}
|
|
1719
1727
|
export declare class _CompositePageView extends Control implements _IPageView {
|
|
1720
1728
|
private _activePageView;
|
|
@@ -1764,6 +1772,7 @@ export declare class _CompositePageView extends Control implements _IPageView {
|
|
|
1764
1772
|
resetPages(): void;
|
|
1765
1773
|
refresh(fullUpdate?: boolean): void;
|
|
1766
1774
|
isPageContentLoaded(pageIndex: number): boolean;
|
|
1775
|
+
dispose(): void;
|
|
1767
1776
|
}
|
|
1768
1777
|
export declare const _commandTagAttr = "command-tag";
|
|
1769
1778
|
export declare function isIOS(): boolean;
|
|
@@ -1907,6 +1916,7 @@ export declare class _PageSetupEditor extends Control {
|
|
|
1907
1916
|
_updateUI(): void;
|
|
1908
1917
|
private _findIndex;
|
|
1909
1918
|
refresh(fullUpdate?: boolean): void;
|
|
1919
|
+
dispose(): void;
|
|
1910
1920
|
}
|
|
1911
1921
|
export declare class _PageSetupDialog extends Popup {
|
|
1912
1922
|
private _pageSetupEditorElement;
|
|
@@ -1926,6 +1936,7 @@ export declare class _PageSetupDialog extends Popup {
|
|
|
1926
1936
|
private onApplied;
|
|
1927
1937
|
showWithValue(pageSettings: _IPageSettings): void;
|
|
1928
1938
|
refresh(fullUpdate?: boolean): void;
|
|
1939
|
+
dispose(): void;
|
|
1929
1940
|
}
|
|
1930
1941
|
export declare class _MouseTool extends Control {
|
|
1931
1942
|
private _pageView;
|
|
@@ -2067,6 +2078,11 @@ export declare class ViewerBase extends Control implements IHttpRequestHandler {
|
|
|
2067
2078
|
}[];
|
|
2068
2079
|
private static _exportItems;
|
|
2069
2080
|
static _ctrlTemplate: string;
|
|
2081
|
+
private _positionChangedTimeout;
|
|
2082
|
+
private _exportOptionEditor;
|
|
2083
|
+
private _searchBarInstance;
|
|
2084
|
+
private _viewerZoomBarInstance;
|
|
2085
|
+
private _compositePageViewInstance;
|
|
2070
2086
|
/**
|
|
2071
2087
|
* Gets or sets the template used to instantiate the viewer controls.
|
|
2072
2088
|
*/
|
|
@@ -2400,6 +2416,7 @@ export declare class ViewerBase extends Control implements IHttpRequestHandler {
|
|
|
2400
2416
|
*/
|
|
2401
2417
|
onPageLoaded(e: PageLoadedEventArgs): void;
|
|
2402
2418
|
beforeSend(e: RequestEventArgs): void;
|
|
2419
|
+
dispose(): void;
|
|
2403
2420
|
}
|
|
2404
2421
|
/**
|
|
2405
2422
|
* Defines the PDFViewer control for displaying the PDF document.
|
|
@@ -2786,4 +2803,5 @@ export declare class ReportViewer extends ViewerBase {
|
|
|
2786
2803
|
_createPage(index: number, defPageSize: _ISize): _Page;
|
|
2787
2804
|
protected _actionElementClicked(element: SVGElement): void;
|
|
2788
2805
|
protected _getActionInfo(element: SVGElement): _IDocAction;
|
|
2806
|
+
dispose(): void;
|
|
2789
2807
|
}
|