flexmonster 2.9.53 → 2.9.55

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 (39) hide show
  1. package/flexmonster.css +1 -1
  2. package/flexmonster.full.js +2527 -2285
  3. package/flexmonster.js +2455 -2213
  4. package/flexmonster.min.css +1 -1
  5. package/package.json +1 -1
  6. package/theme/accessible/flexmonster.css +1 -1
  7. package/theme/accessible/flexmonster.min.css +1 -1
  8. package/theme/blackorange/flexmonster.css +1 -1
  9. package/theme/blackorange/flexmonster.min.css +1 -1
  10. package/theme/brightorange/flexmonster.css +1 -1
  11. package/theme/brightorange/flexmonster.min.css +1 -1
  12. package/theme/dark/flexmonster.css +1 -1
  13. package/theme/dark/flexmonster.min.css +1 -1
  14. package/theme/flexmonster-base.less +1 -1
  15. package/theme/green/flexmonster.css +1 -1
  16. package/theme/green/flexmonster.min.css +1 -1
  17. package/theme/lightblue/flexmonster.css +1 -1
  18. package/theme/lightblue/flexmonster.min.css +1 -1
  19. package/theme/macos/flexmonster.css +1 -1
  20. package/theme/macos/flexmonster.min.css +1 -1
  21. package/theme/midnight/flexmonster.css +1 -1
  22. package/theme/midnight/flexmonster.min.css +1 -1
  23. package/theme/old/flexmonster.css +1 -1
  24. package/theme/old/flexmonster.min.css +1 -1
  25. package/theme/orange/flexmonster.css +1 -1
  26. package/theme/orange/flexmonster.min.css +1 -1
  27. package/theme/purple/flexmonster.css +1 -1
  28. package/theme/purple/flexmonster.min.css +1 -1
  29. package/theme/softdefault/flexmonster.css +1 -1
  30. package/theme/softdefault/flexmonster.min.css +1 -1
  31. package/theme/stripedblue/flexmonster.css +1 -1
  32. package/theme/stripedblue/flexmonster.min.css +1 -1
  33. package/theme/stripedteal/flexmonster.css +1 -1
  34. package/theme/stripedteal/flexmonster.min.css +1 -1
  35. package/theme/teal/flexmonster.css +1 -1
  36. package/theme/teal/flexmonster.min.css +1 -1
  37. package/theme/yellow/flexmonster.css +1 -1
  38. package/theme/yellow/flexmonster.min.css +1 -1
  39. package/toolbar/flexmonster.toolbar.js +12 -6
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
3
- * June 2023 (v. 2.9.53)
3
+ * July 2023 (v. 2.9.55)
4
4
  * Copyright (c) 2023 Flexmonster. All rights reserved.
5
5
  *
6
6
  * Flexmonster Pivot Table & Charts commercial licenses may be obtained at
@@ -512,11 +512,14 @@ FlexmonsterToolbar.prototype.init = function () {
512
512
  createToolbar();
513
513
  enableToolbarScrolling();
514
514
  if (_this.isFullscreen()) {
515
- _this.pivotContainer.querySelector("#fm-tab-fullscreen > a > div").innerHTML = _this.icons.minimize;
516
- _this.setText(_this.pivotContainer.querySelector("#fm-tab-fullscreen .fm-tab-label"), _this.Labels.minimize);
515
+ var fullscreenTab = _this.pivotContainer.querySelector("#fm-tab-fullscreen");
516
+ if (fullscreenTab) {
517
+ fullscreenTab.querySelector(".fm-svg-icon").innerHTML = _this.icons.minimize;
518
+ _this.setText(fullscreenTab.querySelector(".fm-tab-label"), _this.Labels.minimize);
519
+ }
517
520
  }
518
521
  }
519
-
522
+
520
523
  _this._redrawToolbar();
521
524
  window.addEventListener("resize", _this._redrawToolbar);
522
525
  }
@@ -2601,8 +2604,11 @@ FlexmonsterToolbar.prototype.exitFullscreen = function () {
2601
2604
 
2602
2605
  this._redrawToolbar();
2603
2606
 
2604
- this.setText(document.querySelector("#fm-tab-fullscreen .fm-tab-label"), this.Labels.fullscreen);
2605
- document.querySelector("#fm-tab-fullscreen .fm-svg-icon").innerHTML = this.icons.fullscreen;
2607
+ var fullscreenTab = this.pivotContainer.querySelector("#fm-tab-fullscreen");
2608
+ if (fullscreenTab) {
2609
+ fullscreenTab.querySelector(".fm-svg-icon").innerHTML = this.icons.minimize;
2610
+ this.setText(fullscreenTab.querySelector(".fm-tab-label"), this.Labels.minimize);
2611
+ }
2606
2612
  }
2607
2613
 
2608
2614
  // PRIVATE API