@syncfusion/ej2-pdfviewer 17.3.57-4568 → 17.3.59-4568

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.
Files changed (102) hide show
  1. package/dist/ej2-pdfviewer.umd.min.js +1 -1
  2. package/dist/ej2-pdfviewer.umd.min.js.map +1 -1
  3. package/dist/es6/ej2-pdfviewer.es2015.js +42 -44
  4. package/dist/es6/ej2-pdfviewer.es2015.js.map +1 -1
  5. package/dist/es6/ej2-pdfviewer.es5.js +42 -44
  6. package/dist/es6/ej2-pdfviewer.es5.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/pdfviewer/annotation/annotation.js +3 -0
  9. package/src/pdfviewer/base/pdfviewer-base.d.ts +2 -0
  10. package/src/pdfviewer/base/pdfviewer-base.js +33 -10
  11. package/src/pdfviewer/magnification/magnification.d.ts +0 -1
  12. package/src/pdfviewer/magnification/magnification.js +2 -32
  13. package/src/pdfviewer/tagged-pdf/tagged-pdf.js +4 -2
  14. package/styles/bootstrap-dark.css +326 -10
  15. package/styles/bootstrap-dark.scss +4 -1
  16. package/styles/bootstrap.css +328 -10
  17. package/styles/bootstrap.scss +4 -1
  18. package/styles/bootstrap4.css +330 -11
  19. package/styles/bootstrap4.scss +4 -1
  20. package/styles/bootstrap5-dark.css +332 -13
  21. package/styles/bootstrap5-dark.scss +4 -1
  22. package/styles/bootstrap5.css +332 -13
  23. package/styles/bootstrap5.scss +4 -1
  24. package/styles/fabric-dark.css +326 -10
  25. package/styles/fabric-dark.scss +4 -1
  26. package/styles/fabric.css +328 -10
  27. package/styles/fabric.scss +4 -1
  28. package/styles/fluent-dark.css +328 -11
  29. package/styles/fluent-dark.scss +4 -1
  30. package/styles/fluent.css +328 -11
  31. package/styles/fluent.scss +4 -1
  32. package/styles/fluent2.css +4876 -0
  33. package/styles/fluent2.scss +4 -0
  34. package/styles/highcontrast-light.css +326 -10
  35. package/styles/highcontrast-light.scss +4 -1
  36. package/styles/highcontrast.css +326 -10
  37. package/styles/highcontrast.scss +4 -1
  38. package/styles/material-dark.css +326 -10
  39. package/styles/material-dark.scss +4 -1
  40. package/styles/material.css +326 -10
  41. package/styles/material.scss +4 -1
  42. package/styles/material3-dark.css +329 -14
  43. package/styles/material3-dark.scss +4 -1
  44. package/styles/material3.css +329 -14
  45. package/styles/material3.scss +4 -1
  46. package/styles/pdfviewer/_bds-definition.scss +6 -0
  47. package/styles/pdfviewer/_bootstrap-dark-definition.scss +6 -0
  48. package/styles/pdfviewer/_bootstrap-definition.scss +6 -0
  49. package/styles/pdfviewer/_bootstrap4-definition.scss +6 -0
  50. package/styles/pdfviewer/_bootstrap5-definition.scss +7 -1
  51. package/styles/pdfviewer/_fabric-dark-definition.scss +6 -0
  52. package/styles/pdfviewer/_fabric-definition.scss +6 -0
  53. package/styles/pdfviewer/_fluent-definition.scss +6 -0
  54. package/styles/pdfviewer/_fluent2-definition.scss +550 -0
  55. package/styles/pdfviewer/_fusionnew-definition.scss +6 -0
  56. package/styles/pdfviewer/_highcontrast-definition.scss +6 -0
  57. package/styles/pdfviewer/_highcontrast-light-definition.scss +6 -0
  58. package/styles/pdfviewer/_material-dark-definition.scss +12 -6
  59. package/styles/pdfviewer/_material-definition.scss +11 -5
  60. package/styles/pdfviewer/_material3-definition.scss +7 -1
  61. package/styles/pdfviewer/_tailwind-definition.scss +7 -1
  62. package/styles/pdfviewer/_theme.scss +764 -34
  63. package/styles/pdfviewer/bootstrap-dark.css +326 -10
  64. package/styles/pdfviewer/bootstrap.css +328 -10
  65. package/styles/pdfviewer/bootstrap4.css +330 -11
  66. package/styles/pdfviewer/bootstrap5-dark.css +332 -13
  67. package/styles/pdfviewer/bootstrap5.css +332 -13
  68. package/styles/pdfviewer/fabric-dark.css +326 -10
  69. package/styles/pdfviewer/fabric.css +328 -10
  70. package/styles/pdfviewer/fluent-dark.css +328 -11
  71. package/styles/pdfviewer/fluent.css +328 -11
  72. package/styles/pdfviewer/fluent2.css +4876 -0
  73. package/styles/pdfviewer/fluent2.scss +4 -0
  74. package/styles/pdfviewer/highcontrast-light.css +326 -10
  75. package/styles/pdfviewer/highcontrast.css +326 -10
  76. package/styles/pdfviewer/icons/_bds.scss +511 -0
  77. package/styles/pdfviewer/icons/_bootstrap-dark.scss +22 -0
  78. package/styles/pdfviewer/icons/_bootstrap.scss +22 -0
  79. package/styles/pdfviewer/icons/_bootstrap4.scss +22 -0
  80. package/styles/pdfviewer/icons/_bootstrap5.scss +23 -3
  81. package/styles/pdfviewer/icons/_fabric-dark.scss +22 -0
  82. package/styles/pdfviewer/icons/_fabric.scss +22 -0
  83. package/styles/pdfviewer/icons/_fluent.scss +23 -1
  84. package/styles/pdfviewer/icons/_fluent2.scss +510 -0
  85. package/styles/pdfviewer/icons/_fusionnew.scss +23 -1
  86. package/styles/pdfviewer/icons/_highcontrast-light.scss +22 -0
  87. package/styles/pdfviewer/icons/_highcontrast.scss +22 -0
  88. package/styles/pdfviewer/icons/_material-dark.scss +22 -0
  89. package/styles/pdfviewer/icons/_material.scss +22 -0
  90. package/styles/pdfviewer/icons/_material3.scss +23 -1
  91. package/styles/pdfviewer/icons/_tailwind-dark.scss +22 -0
  92. package/styles/pdfviewer/icons/_tailwind.scss +22 -0
  93. package/styles/pdfviewer/material-dark.css +326 -10
  94. package/styles/pdfviewer/material.css +326 -10
  95. package/styles/pdfviewer/material3-dark.css +329 -14
  96. package/styles/pdfviewer/material3.css +329 -14
  97. package/styles/pdfviewer/tailwind-dark.css +327 -11
  98. package/styles/pdfviewer/tailwind.css +327 -11
  99. package/styles/tailwind-dark.css +327 -11
  100. package/styles/tailwind-dark.scss +4 -1
  101. package/styles/tailwind.css +327 -11
  102. package/styles/tailwind.scss +4 -1
package/package.json CHANGED
@@ -70,5 +70,5 @@
70
70
  },
71
71
  "sideEffects": false,
72
72
  "typings": "index.d.ts",
73
- "version": "17.3.57-4568"
73
+ "version": "17.3.59-4568"
74
74
  }
@@ -357,6 +357,9 @@ var Annotation = /** @class */ (function () {
357
357
  // tslint:disable-next-line
358
358
  var sessionSize = Math.round(JSON.stringify(window.sessionStorage).length / 1024);
359
359
  var maxSessionSize = 4500;
360
+ if (this.pdfViewerBase.isDeviceiOS || this.pdfViewerBase.isMacSafari) {
361
+ maxSessionSize = 2000;
362
+ }
360
363
  if (sessionSize > maxSessionSize) {
361
364
  var storageLength = window.sessionStorage.length;
362
365
  // tslint:disable-next-line
@@ -473,6 +473,8 @@ export declare class PdfViewerBase {
473
473
  private isGotoPageEnabled;
474
474
  private taggedTextHandler;
475
475
  private taggedCollection;
476
+ private isScrollerMoving;
477
+ private isScrollerMovingTimer;
476
478
  constructor(viewer: PdfViewer);
477
479
  /**
478
480
  * @private
@@ -362,12 +362,12 @@ var PdfViewerBase = /** @class */ (function () {
362
362
  * @private
363
363
  */
364
364
  // eslint-disable-next-line
365
- this.isDeviceiOS = (['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) || (navigator.userAgent.includes("Mac") && "ontouchend" in document));
365
+ this.isDeviceiOS = false;
366
366
  /**
367
367
  * @private
368
368
  */
369
369
  // eslint-disable-next-line
370
- this.isMacSafari = navigator.userAgent.indexOf("Safari") > -1 && navigator.userAgent.indexOf("Chrome") === -1 && !this.isDeviceiOS;
370
+ this.isMacSafari = false;
371
371
  /**
372
372
  * @private
373
373
  */
@@ -376,6 +376,8 @@ var PdfViewerBase = /** @class */ (function () {
376
376
  this.isGotoPageEnabled = false;
377
377
  this.taggedTextHandler = null;
378
378
  this.taggedCollection = [];
379
+ this.isScrollerMoving = false;
380
+ this.isScrollerMovingTimer = null;
379
381
  this.clearSessionStorage = function () {
380
382
  var documentId = window.sessionStorage.getItem('hashId');
381
383
  var documentLiveCount = window.sessionStorage.getItem('documentLiveCount');
@@ -1368,9 +1370,21 @@ var PdfViewerBase = /** @class */ (function () {
1368
1370
  if (_this.isThumb) {
1369
1371
  _this.ispageMoved = true;
1370
1372
  event.preventDefault();
1373
+ _this.isScrollerMoving = true;
1371
1374
  _this.mobilePageNoContainer.style.display = 'block';
1372
1375
  scrollposX = event.touches[0].pageX - _this.scrollX;
1373
1376
  scrollposY = event.touches[0].pageY - _this.viewerContainer.offsetTop;
1377
+ if (isNullOrUndefined(_this.isScrollerMovingTimer)) {
1378
+ _this.isScrollerMovingTimer = setTimeout(function () {
1379
+ _this.isScrollerMoving = false;
1380
+ _this.pageViewScrollChanged(_this.currentPageNumber);
1381
+ }, 300);
1382
+ }
1383
+ var differenceY = Math.abs(_this.viewerContainer.scrollTop - (scrollposY * ratio));
1384
+ if (differenceY > 10) {
1385
+ clearTimeout(_this.isScrollerMovingTimer);
1386
+ _this.isScrollerMovingTimer = null;
1387
+ }
1374
1388
  _this.viewerContainer.scrollTop = scrollposY * ratio;
1375
1389
  // tslint:disable-next-line
1376
1390
  var containerValue = event.touches[0].pageY;
@@ -1485,8 +1499,6 @@ var PdfViewerBase = /** @class */ (function () {
1485
1499
  this.textLayer = new TextLayer(this.pdfViewer, this);
1486
1500
  this.taggedPdf = new TaggedPDF(this.pdfViewer, this);
1487
1501
  this.signatureModule = new Signature(this.pdfViewer, this);
1488
- // tslint:disable-next-line:max-line-length
1489
- this.isWebkitMobile = /Chrome/.test(navigator.userAgent) || /Google Inc/.test(navigator.vendor) || (navigator.userAgent.indexOf('Safari') !== -1);
1490
1502
  }
1491
1503
  /**
1492
1504
  * @private
@@ -1631,6 +1643,7 @@ var PdfViewerBase = /** @class */ (function () {
1631
1643
  PdfViewerBase.prototype.mobileScrollContainerDown = function (event) {
1632
1644
  this.ispageMoved = false;
1633
1645
  this.isThumb = true;
1646
+ this.isScrollerMoving = false;
1634
1647
  if (this.isTextMarkupAnnotationModule()) {
1635
1648
  if (this.pdfViewer.annotationModule.textMarkupAnnotationModule.selectTextMarkupCurrentPage != null && Browser.isDevice) {
1636
1649
  var pageNumber = this.pdfViewer.annotationModule.textMarkupAnnotationModule.selectTextMarkupCurrentPage;
@@ -1704,6 +1717,8 @@ var PdfViewerBase = /** @class */ (function () {
1704
1717
  }
1705
1718
  this.isThumb = false;
1706
1719
  this.ispageMoved = false;
1720
+ this.isScrollerMoving = false;
1721
+ this.pageViewScrollChanged(this.currentPageNumber);
1707
1722
  this.mobileScrollerContainer.removeEventListener('touchmove', this.viewerContainerOnScroll.bind(this), true);
1708
1723
  this.mobilePageNoContainer.style.display = 'none';
1709
1724
  };
@@ -2748,6 +2763,9 @@ var PdfViewerBase = /** @class */ (function () {
2748
2763
  };
2749
2764
  PdfViewerBase.prototype.wireEvents = function () {
2750
2765
  var _this = this;
2766
+ this.isDeviceiOS = (['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) || (navigator.userAgent.includes("Mac") && "ontouchend" in document));
2767
+ this.isMacSafari = navigator.userAgent.indexOf("Safari") > -1 && navigator.userAgent.indexOf("Chrome") === -1 && !this.isDeviceiOS;
2768
+ this.isWebkitMobile = /Chrome/.test(navigator.userAgent) || /Google Inc/.test(navigator.vendor) || (navigator.userAgent.indexOf('Safari') !== -1) || (navigator.userAgent.indexOf('WebKit') !== -1);
2751
2769
  this.viewerContainer.addEventListener('scroll', this.viewerContainerOnScroll, true);
2752
2770
  if (Browser.isDevice) {
2753
2771
  this.viewerContainer.addEventListener('touchmove', this.viewerContainerOnScroll, true);
@@ -4018,7 +4036,7 @@ var PdfViewerBase = /** @class */ (function () {
4018
4036
  if (this.isDataExits && !this.getStoredData(currentPageIndex)) {
4019
4037
  isSkip = true;
4020
4038
  }
4021
- if (this.renderedPagesList.indexOf(currentPageIndex) === -1 && !this.getMagnified() && !isSkip) {
4039
+ if (this.renderedPagesList.indexOf(currentPageIndex) === -1 && !this.getMagnified() && !isSkip && !this.isScrollerMoving) {
4022
4040
  this.createRequestForRender(currentPageIndex);
4023
4041
  this.renderCountIncrement();
4024
4042
  }
@@ -4031,7 +4049,7 @@ var PdfViewerBase = /** @class */ (function () {
4031
4049
  isSkip = true;
4032
4050
  }
4033
4051
  if (canvas !== null && !isSkip) {
4034
- if (this.renderedPagesList.indexOf(previous) === -1 && !this.getMagnified()) {
4052
+ if (this.renderedPagesList.indexOf(previous) === -1 && !this.getMagnified() && !this.isScrollerMoving) {
4035
4053
  this.createRequestForRender(previous);
4036
4054
  this.renderCountIncrement();
4037
4055
  }
@@ -4043,7 +4061,7 @@ var PdfViewerBase = /** @class */ (function () {
4043
4061
  var pageHeight = 0;
4044
4062
  if (next < this.pageCount) {
4045
4063
  pageHeight = this.getPageHeight(next);
4046
- if ((this.renderedPagesList.indexOf(next) === -1 || this.isMinimumZoom) && !this.getMagnified()) {
4064
+ if ((this.renderedPagesList.indexOf(next) === -1 || this.isMinimumZoom) && !this.getMagnified() && !this.isScrollerMoving) {
4047
4065
  if (this.renderedPagesList.indexOf(next) === -1) {
4048
4066
  this.createRequestForRender(next);
4049
4067
  this.renderCountIncrement();
@@ -4841,6 +4859,11 @@ var PdfViewerBase = /** @class */ (function () {
4841
4859
  // tslint:disable-next-line
4842
4860
  var sessionSize = Math.round(JSON.stringify(window.sessionStorage).length / 1024);
4843
4861
  var maxSessionSize = 5000;
4862
+ var maxSessionLength = 200;
4863
+ if (this.isDeviceiOS || this.isMacSafari) {
4864
+ maxSessionSize = 2000;
4865
+ maxSessionLength = 80;
4866
+ }
4844
4867
  if (sessionSize >= maxSessionSize) {
4845
4868
  if (!this.isStorageExceed) {
4846
4869
  // tslint:disable-next-line
@@ -4862,10 +4885,10 @@ var PdfViewerBase = /** @class */ (function () {
4862
4885
  }
4863
4886
  this.isStorageExceed = true;
4864
4887
  sessionSize = Math.round(JSON.stringify(window.sessionStorage).length / 1024);
4865
- if (sessionSize >= 5000) {
4888
+ if (sessionSize >= maxSessionSize) {
4866
4889
  var storageLength = window.sessionStorage.length;
4867
- if (storageLength > 200) {
4868
- storageLength = 200;
4890
+ if (storageLength > maxSessionLength) {
4891
+ storageLength = maxSessionLength;
4869
4892
  }
4870
4893
  for (var i = 0; i < storageLength; i++) {
4871
4894
  if (window.sessionStorage.key(i) && window.sessionStorage.key(i).split('_')[3]) {
@@ -73,7 +73,6 @@ export declare class Magnification {
73
73
  * @private
74
74
  */
75
75
  isDoubleTapZoom: boolean;
76
- private isWebkitMobile;
77
76
  /**
78
77
  * @private
79
78
  */
@@ -71,12 +71,9 @@ var Magnification = /** @class */ (function () {
71
71
  * @private
72
72
  */
73
73
  this.isDoubleTapZoom = false;
74
- this.isWebkitMobile = false;
75
74
  this.pdfViewer = pdfViewer;
76
75
  this.pdfViewerBase = viewerBase;
77
76
  this.zoomLevel = 2;
78
- // tslint:disable-next-line:max-line-length
79
- this.isWebkitMobile = /Chrome/.test(navigator.userAgent) || /Google Inc/.test(navigator.vendor) || (navigator.userAgent.indexOf('Safari') !== -1);
80
77
  }
81
78
  /**
82
79
  * Zoom the PDF document to the given zoom value
@@ -169,7 +166,7 @@ var Magnification = /** @class */ (function () {
169
166
  this.isAutoZoom = false;
170
167
  this.onZoomChanged(zoomValue);
171
168
  if (Browser.isDevice) {
172
- if (this.isWebkitMobile) {
169
+ if (this.pdfViewerBase.isWebkitMobile) {
173
170
  this.pdfViewerBase.viewerContainer.style.overflowY = 'auto';
174
171
  }
175
172
  else {
@@ -331,7 +328,7 @@ var Magnification = /** @class */ (function () {
331
328
  this.pdfViewerBase.isMinimumZoom = false;
332
329
  }
333
330
  if (Browser.isDevice) {
334
- if (this.isWebkitMobile) {
331
+ if (this.pdfViewerBase.isWebkitMobile) {
335
332
  this.pdfViewerBase.viewerContainer.style.overflowY = 'auto';
336
333
  }
337
334
  else {
@@ -898,33 +895,6 @@ var Magnification = /** @class */ (function () {
898
895
  aElement[index].parentNode.removeChild(aElement[index]);
899
896
  }
900
897
  }
901
- if (textLayer) {
902
- textLayer.style.width = width + 'px';
903
- textLayer.style.height = height + 'px';
904
- if (this.pdfViewer.textSelectionModule) {
905
- if (this.isPinchZoomed) {
906
- textLayer.style.display = 'none';
907
- }
908
- else if (this.isMagnified) {
909
- var lowerValue = ((pageNumber - 2) === 0) ? 0 : (pageNumber - 2);
910
- // eslint-disable-next-line max-len
911
- var higherValue = ((pageNumber) === (this.pdfViewerBase.pageCount)) ? (this.pdfViewerBase.pageCount - 1) : (pageNumber + 1);
912
- if ((lowerValue <= i) && (i <= higherValue) && ((this.pdfViewer.textSelectionModule.isTextSelection && isSelectionAvailable) || this.pdfViewerBase.textLayer.getTextSearchStatus() || this.pdfViewerBase.isInitialPageMode)) {
913
- this.pdfViewerBase.textLayer.resizeTextContentsOnZoom(i);
914
- if (this.pdfViewer.textSelectionModule.isTextSelection && isSelectionAvailable) {
915
- this.pdfViewer.textSelectionModule.applySelectionRangeOnScroll(i);
916
- }
917
- }
918
- else {
919
- textLayer.style.display = 'none';
920
- }
921
- }
922
- else {
923
- textLayer.style.display = 'none';
924
- }
925
- }
926
- this.pdfViewerBase.applyElementStyles(textLayer, i);
927
- }
928
898
  var adornerSvg = getDiagramElement(this.pdfViewer.element.id + '_textLayer_' + i);
929
899
  if (adornerSvg) {
930
900
  var adonerLayer = getDiagramElement(this.pdfViewer.element.id + i + '_diagramAdorner_svg');
@@ -31,8 +31,10 @@ var TaggedPDF = /** @class */ (function () {
31
31
  if (text.trim() != "") {
32
32
  textTag.innerText = text;
33
33
  }
34
- if (altText && altText.trim() !== "" && (tagType === "Image" || tagType === "Figure")) {
35
- textTag.alt = altText;
34
+ if (tagType === "Image" || tagType === "Figure") {
35
+ if (altText && altText.trim() !== "") {
36
+ textTag.alt = altText;
37
+ }
36
38
  textTag.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=";
37
39
  }
38
40
  if (childTags && childTags.length > 0) {
@@ -18,6 +18,23 @@
18
18
  .e-pdfviewer .e-pv-first-page-navigation-icon::before {
19
19
  content: "\ec2c";
20
20
  }
21
+ .e-pdfviewer .e-pv-rotate-right-icon::before {
22
+ content: "\e971";
23
+ }
24
+ .e-pdfviewer .e-pv-organize-view-icon::before {
25
+ content: "\e117";
26
+ }
27
+ .e-pdfviewer .e-pv-organize-view-disable-icon::before {
28
+ color: rgba(240, 240, 240, 0.2);
29
+ content: "\e117";
30
+ }
31
+ .e-pdfviewer .e-pv-organize-view-selection-icon::before {
32
+ color: #0070f0;
33
+ content: "\e117";
34
+ }
35
+ .e-pdfviewer .e-pv-rotate-left-icon::before {
36
+ content: "\e970";
37
+ }
21
38
  .e-pdfviewer .e-pv-previous-page-navigation-icon::before,
22
39
  .e-pdfviewer .e-pv-prev-search-icon::before {
23
40
  content: "\ec2d";
@@ -778,6 +795,18 @@ input.e-pv-input-password::-ms-reveal {
778
795
  padding-top: 16px;
779
796
  }
780
797
 
798
+ .e-pv-image-container {
799
+ width: 100%;
800
+ height: 100%;
801
+ display: -ms-flexbox;
802
+ display: flex;
803
+ -ms-flex-pack: center;
804
+ justify-content: center;
805
+ -ms-flex-align: center;
806
+ align-items: center;
807
+ padding: 3px;
808
+ }
809
+
781
810
  .e-pv-gotopage-apply-btn.e-btn.e-flat.e-primary:disabled {
782
811
  background-color: transparent;
783
812
  }
@@ -985,6 +1014,10 @@ input.e-pv-input-password::-ms-reveal {
985
1014
  padding: 0 0 0 3px;
986
1015
  }
987
1016
 
1017
+ .e-pv-fontfamily-container .e-input-group.e-control-wrapper.e-pv-prop-dropdown.e-ddl.e-valid-input {
1018
+ width: 100px;
1019
+ }
1020
+
988
1021
  .e-input-group.e-control-wrapper.e-pv-zoom-drop-down.e-ddl.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error),
989
1022
  .e-input-group.e-control-wrapper.e-pv-prop-dropdown.e-ddl.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error),
990
1023
  .e-input-group.e-control-wrapper.e-pv-zoom-drop-down-rtl.e-ddl.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error),
@@ -1135,6 +1168,10 @@ input.e-pv-input-password::-ms-reveal {
1135
1168
  padding-top: 6px;
1136
1169
  }
1137
1170
 
1171
+ .e-dialog .e-dlg-header {
1172
+ width: auto;
1173
+ }
1174
+
1138
1175
  .e-pv-current-page-box.e-input-group.e-control-wrapper input.e-input {
1139
1176
  max-height: 30px;
1140
1177
  padding-bottom: 3px;
@@ -1322,7 +1359,8 @@ input.e-pv-input-password::-ms-reveal {
1322
1359
  border-radius: 100px;
1323
1360
  }
1324
1361
 
1325
- .e-pv-thumbnail-view-button.e-btn {
1362
+ .e-pv-thumbnail-view-button.e-btn,
1363
+ .e-pv-organize-view-button.e-btn {
1326
1364
  background: transparent;
1327
1365
  border: 0;
1328
1366
  border-radius: 4px;
@@ -1336,6 +1374,262 @@ input.e-pv-input-password::-ms-reveal {
1336
1374
  width: 32px;
1337
1375
  }
1338
1376
 
1377
+ .e-pv-organize-tile.e-pv-thumbnail-column {
1378
+ width: 100%;
1379
+ height: 100%;
1380
+ }
1381
+
1382
+ .e-pv-organize-content-apperance {
1383
+ overflow: hidden;
1384
+ }
1385
+
1386
+ .e-pv-organize-tile-view.e-pv-thumbnail-row {
1387
+ display: -ms-flexbox;
1388
+ display: flex;
1389
+ -ms-flex-pack: center;
1390
+ justify-content: center;
1391
+ -ms-flex-wrap: wrap;
1392
+ flex-wrap: wrap;
1393
+ overflow: auto;
1394
+ overflow-x: hidden;
1395
+ }
1396
+
1397
+ .e-pv-organize-anchor-node {
1398
+ border: 2px solid #505050;
1399
+ margin: 24px;
1400
+ width: 140px;
1401
+ height: 140px;
1402
+ }
1403
+ @media only screen and (max-width: 1399.98px) {
1404
+ .e-pv-organize-anchor-node {
1405
+ width: 140px;
1406
+ height: 140px;
1407
+ }
1408
+ }
1409
+ @media only screen and (max-width: 1199.98px) {
1410
+ .e-pv-organize-anchor-node {
1411
+ width: 140px;
1412
+ height: 140px;
1413
+ }
1414
+ }
1415
+ @media only screen and (max-width: 991.98px) {
1416
+ .e-pv-organize-anchor-node {
1417
+ width: 140px;
1418
+ height: 140px;
1419
+ }
1420
+ }
1421
+ @media only screen and (max-width: 767.98px) {
1422
+ .e-pv-organize-anchor-node {
1423
+ width: 140px;
1424
+ height: 140px;
1425
+ min-width: 140px;
1426
+ min-height: 140px;
1427
+ }
1428
+ }
1429
+ @media only screen and (max-width: 575.98px) {
1430
+ .e-pv-organize-anchor-node {
1431
+ width: 140px;
1432
+ height: 140px;
1433
+ min-width: 140px;
1434
+ min-height: 140px;
1435
+ margin: 24px 20px;
1436
+ }
1437
+ }
1438
+
1439
+ .e-pdfviewer .e-pv-organize-tile.e-pv-thumbnail-column .e-checkbox-wrapper {
1440
+ width: 100%;
1441
+ height: 100%;
1442
+ position: relative;
1443
+ top: -100%;
1444
+ padding: 4px;
1445
+ }
1446
+
1447
+ @media screen and (max-width: 480px) {
1448
+ .e-pdfviewer .e-pv-organize-tile.e-pv-thumbnail-column .e-checkbox-wrapper {
1449
+ width: 100%;
1450
+ height: 100%;
1451
+ position: relative;
1452
+ top: -100%;
1453
+ padding: 4px;
1454
+ }
1455
+ }
1456
+ .e-pv-organize-buttondiv {
1457
+ -ms-flex-pack: center;
1458
+ justify-content: center;
1459
+ -ms-flex-wrap: nowrap;
1460
+ flex-wrap: nowrap;
1461
+ position: relative;
1462
+ text-align: center;
1463
+ top: calc(-100% - 12px + 1px);
1464
+ }
1465
+
1466
+ .e-pv-organize-anchor-node.e-pv-organize-node-selection-ring {
1467
+ border: 2px solid #0070f0;
1468
+ border-radius: 2px;
1469
+ }
1470
+
1471
+ @media screen and (max-width: 480px) {
1472
+ .e-pv-organize-anchor-node.e-pv-organize-node-selection-ring {
1473
+ border: 2px solid #0070f0;
1474
+ border-radius: 2px;
1475
+ }
1476
+ }
1477
+ .e-pv-organize-window {
1478
+ border: 1px solid #505050;
1479
+ border-radius: 0;
1480
+ }
1481
+
1482
+ .e-pdfviewer .e-pv-organize-window .e-footer-content {
1483
+ border-top: 1px solid #505050;
1484
+ padding: 15px;
1485
+ }
1486
+
1487
+ .e-pdfviewer .e-pv-organize-window .e-dlg-header-content {
1488
+ padding: 15px;
1489
+ }
1490
+
1491
+ .e-pv-tile-number {
1492
+ text-align: center;
1493
+ margin-top: 16.5px;
1494
+ }
1495
+
1496
+ .e-pv-delete-button.e-btn,
1497
+ .e-pv-rotate-left-button.e-btn,
1498
+ .e-pv-rotate-right-button.e-btn {
1499
+ width: 25px;
1500
+ height: 25px;
1501
+ -ms-flex-pack: center;
1502
+ justify-content: center;
1503
+ -ms-flex-align: center;
1504
+ align-items: center;
1505
+ margin: 0 5px;
1506
+ padding: 0;
1507
+ }
1508
+
1509
+ .e-pv-insert-left-button.e-btn {
1510
+ width: 25px;
1511
+ height: 25px;
1512
+ -ms-flex-pack: center;
1513
+ justify-content: center;
1514
+ -ms-flex-align: center;
1515
+ align-items: center;
1516
+ position: absolute;
1517
+ left: calc(-1 * (25px / 2 + 2px / 2));
1518
+ top: -70px;
1519
+ padding: 0;
1520
+ }
1521
+ @media only screen and (max-width: 1399.98px) {
1522
+ .e-pv-insert-left-button.e-btn {
1523
+ top: -70px;
1524
+ }
1525
+ }
1526
+ @media only screen and (max-width: 1199.98px) {
1527
+ .e-pv-insert-left-button.e-btn {
1528
+ top: -70px;
1529
+ }
1530
+ }
1531
+ @media only screen and (max-width: 991.98px) {
1532
+ .e-pv-insert-left-button.e-btn {
1533
+ top: -70px;
1534
+ }
1535
+ }
1536
+ @media only screen and (max-width: 767.98px) {
1537
+ .e-pv-insert-left-button.e-btn {
1538
+ top: -70px;
1539
+ }
1540
+ }
1541
+ @media only screen and (max-width: 575.98px) {
1542
+ .e-pv-insert-left-button.e-btn {
1543
+ top: -70px;
1544
+ }
1545
+ }
1546
+
1547
+ .e-pv-insert-right-button.e-btn {
1548
+ width: 25px;
1549
+ height: 25px;
1550
+ -ms-flex-pack: center;
1551
+ justify-content: center;
1552
+ -ms-flex-align: center;
1553
+ align-items: center;
1554
+ position: absolute;
1555
+ right: calc(-1 * (25px / 2 + 2px / 2));
1556
+ top: -70px;
1557
+ padding: 0;
1558
+ }
1559
+ @media only screen and (max-width: 1399.98px) {
1560
+ .e-pv-insert-right-button.e-btn {
1561
+ top: -70px;
1562
+ }
1563
+ }
1564
+ @media only screen and (max-width: 1199.98px) {
1565
+ .e-pv-insert-right-button.e-btn {
1566
+ top: -70px;
1567
+ }
1568
+ }
1569
+ @media only screen and (max-width: 991.98px) {
1570
+ .e-pv-insert-right-button.e-btn {
1571
+ top: -70px;
1572
+ }
1573
+ }
1574
+ @media only screen and (max-width: 767.98px) {
1575
+ .e-pv-insert-right-button.e-btn {
1576
+ top: -70px;
1577
+ }
1578
+ }
1579
+ @media only screen and (max-width: 575.98px) {
1580
+ .e-pv-insert-right-button.e-btn {
1581
+ top: -70px;
1582
+ }
1583
+ }
1584
+
1585
+ .e-pv-toolbar-rotate-left-button {
1586
+ height: 32px;
1587
+ width: 32px;
1588
+ padding: 0;
1589
+ top: 7px;
1590
+ position: relative;
1591
+ left: 436px;
1592
+ box-shadow: none;
1593
+ }
1594
+
1595
+ .e-pv-toolbar-rotate-right-button {
1596
+ height: 32px;
1597
+ width: 32px;
1598
+ padding: 0;
1599
+ top: 7px;
1600
+ position: relative;
1601
+ left: 445px;
1602
+ box-shadow: none;
1603
+ }
1604
+
1605
+ .e-pdfviewer .e-pv-organize-window .e-dlg-content {
1606
+ padding: 0;
1607
+ overflow: hidden;
1608
+ border-radius: 0;
1609
+ }
1610
+
1611
+ .e-pv-organize-toolbar-apperance.e-toolbar {
1612
+ width: 1172px;
1613
+ border: 1px solid #505050;
1614
+ border-width: 1px 0;
1615
+ background: transparent !important; /* stylelint-disable-line declaration-no-important */
1616
+ }
1617
+ .e-pv-organize-toolbar-apperance.e-toolbar .e-toolbar-items.e-tbar-pos {
1618
+ background: transparent !important; /* stylelint-disable-line declaration-no-important */
1619
+ }
1620
+
1621
+ .e-pdfviewer .e-pv-organize-toolbar-apperance .e-checkbox-wrapper {
1622
+ margin-left: 22px;
1623
+ margin-right: 8px;
1624
+ text-wrap: nowrap;
1625
+ }
1626
+
1627
+ @media screen and (max-width: 480px) {
1628
+ .e-pdfviewer .e-pv-organize-toolbar-apperance .e-checkbox-wrapper {
1629
+ width: 35px;
1630
+ margin-left: 22px;
1631
+ }
1632
+ }
1339
1633
  .e-pv-thumbnail-view-button-selection.e-pv-thumbnail-view-button.e-btn,
1340
1634
  .e-pv-bookmark-button-selection.e-pv-bookmark-button.e-btn {
1341
1635
  background: #131313;
@@ -1421,9 +1715,8 @@ input.e-pv-input-password::-ms-reveal {
1421
1715
  .e-pv-thumbnail-number {
1422
1716
  color: #fff;
1423
1717
  font-family: Roboto;
1424
- padding-left: 50px;
1425
- padding-right: 50px;
1426
1718
  padding-top: 8px;
1719
+ text-align: center;
1427
1720
  }
1428
1721
 
1429
1722
  .e-pv-thumbnail-selection-ring {
@@ -1906,10 +2199,30 @@ div > .e-pv-bookmark-icon.e-pv-icon {
1906
2199
  width: 32px;
1907
2200
  }
1908
2201
 
2202
+ .e-pv-organize-total-page-button {
2203
+ float: left;
2204
+ font-weight: normal;
2205
+ color: #f0f0f0;
2206
+ font-size: 12;
2207
+ }
2208
+
2209
+ .e-pdfviewer .e-pv-organize-window .e-footer-content .e-btn.e-flat:disabled {
2210
+ background-color: transparent;
2211
+ background: transparent;
2212
+ color: #f0f0f0;
2213
+ cursor: default;
2214
+ }
2215
+
1909
2216
  .e-pv-annotation-thickness-slider-container {
1910
2217
  margin-top: -6px;
1911
2218
  }
1912
2219
 
2220
+ .e-pv-organize-image {
2221
+ width: calc(100% - 4px);
2222
+ height: calc(100% - 4px);
2223
+ border: 1px solid #505050;
2224
+ }
2225
+
1913
2226
  .e-pv-annotation-opacity-icon {
1914
2227
  padding-top: 1px;
1915
2228
  }
@@ -2147,8 +2460,8 @@ div > .e-pv-bookmark-icon.e-pv-icon {
2147
2460
  .e-pv-properties-line-stroke-color-label,
2148
2461
  .e-pv-properties-line-opacity-label,
2149
2462
  .e-pv-properties-line-leader-length-label {
2150
- margin-bottom: 8px;
2151
2463
  font-size: 14px;
2464
+ margin-bottom: 8px;
2152
2465
  }
2153
2466
 
2154
2467
  .e-pv-properties-line-end-container,
@@ -2378,6 +2691,7 @@ div > .e-pv-bookmark-icon.e-pv-icon {
2378
2691
  .e-pdfviewer .e-checkbox-wrapper .e-frame + .e-label,
2379
2692
  .e-pdfviewer .e-css.e-checkbox-wrapper .e-frame + .e-label {
2380
2693
  margin-right: 10px;
2694
+ font-size: 14px;
2381
2695
  }
2382
2696
 
2383
2697
  div > .e-pv-bookmark-icon.e-pv-icon.e-right {
@@ -2609,17 +2923,19 @@ div > .e-pv-bookmark-icon.e-pv-icon.e-right {
2609
2923
  padding-left: 32px;
2610
2924
  padding-top: 8px;
2611
2925
  font-size: 14px;
2612
- max-width: 237px;
2613
2926
  position: absolute;
2927
+ overflow: hidden;
2928
+ text-overflow: ellipsis;
2614
2929
  }
2615
2930
 
2616
2931
  .e-pv-reply-title {
2617
2932
  color: rgba(255, 255, 255, 0.6);
2618
2933
  font-size: 14px;
2619
- max-width: 212px;
2620
2934
  padding-left: 8px;
2621
2935
  padding-top: 8px;
2622
2936
  position: absolute;
2937
+ overflow: hidden;
2938
+ text-overflow: ellipsis;
2623
2939
  }
2624
2940
 
2625
2941
  .e-pv-comments-hover {
@@ -2733,8 +3049,8 @@ div > .e-pv-bookmark-icon.e-pv-icon.e-right {
2733
3049
  }
2734
3050
 
2735
3051
  .e-pdfviewer .e-pv-signature-apperance .e-checkbox-wrapper {
2736
- margin-top: 10px;
2737
3052
  padding-bottom: 1px;
3053
+ margin-top: 10px;
2738
3054
  }
2739
3055
 
2740
3056
  .e-pdfviewer .e-pv-signature-window .e-footer-content {
@@ -2826,12 +3142,12 @@ div > .e-pv-bookmark-icon.e-pv-icon.e-right {
2826
3142
  border-radius: 5px;
2827
3143
  display: inline-block;
2828
3144
  font-size: 13px;
2829
- height: 88px;
2830
- margin: 15px;
2831
3145
  padding-top: 40px;
2832
3146
  text-align: center;
2833
- width: 311px;
2834
3147
  word-wrap: break-word;
3148
+ height: 88px;
3149
+ width: 311px;
3150
+ margin: 15px;
2835
3151
  }
2836
3152
 
2837
3153
  .e-pv-stamp-template-container .e-menu-container .e-menu .e-menu-item.e-focused {
@@ -1 +1,4 @@
1
- @import 'pdfviewer/bootstrap-dark.scss';
1
+ @import 'ej2-base/styles/definition/bootstrap-dark.scss';
2
+ @import 'pdfviewer/bootstrap-dark-definition.scss';
3
+ @import 'pdfviewer/icons/bootstrap-dark.scss';
4
+ @import 'pdfviewer/all.scss';