flexmonster 2.9.85 → 2.9.87

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 (62) hide show
  1. package/LICENSE.md +4 -3
  2. package/flexmonster.css +16 -1
  3. package/flexmonster.full.js +2330 -2318
  4. package/flexmonster.js +2424 -2412
  5. package/flexmonster.min.css +16 -1
  6. package/lib/flexmonster.amcharts.js +13 -3
  7. package/lib/flexmonster.fusioncharts.js +18 -8
  8. package/lib/flexmonster.googlecharts.js +13 -3
  9. package/lib/flexmonster.highcharts.js +18 -6
  10. package/package.json +1 -1
  11. package/theme/accessible/flexmonster.css +16 -1
  12. package/theme/accessible/flexmonster.less +16 -1
  13. package/theme/accessible/flexmonster.min.css +16 -1
  14. package/theme/blackorange/flexmonster.css +16 -1
  15. package/theme/blackorange/flexmonster.less +16 -1
  16. package/theme/blackorange/flexmonster.min.css +16 -1
  17. package/theme/brightorange/flexmonster.css +16 -1
  18. package/theme/brightorange/flexmonster.less +16 -1
  19. package/theme/brightorange/flexmonster.min.css +16 -1
  20. package/theme/dark/flexmonster.css +16 -1
  21. package/theme/dark/flexmonster.less +16 -1
  22. package/theme/dark/flexmonster.min.css +16 -1
  23. package/theme/default/flexmonster.less +16 -1
  24. package/theme/flexmonster-base.less +17 -2
  25. package/theme/green/flexmonster.css +16 -1
  26. package/theme/green/flexmonster.less +16 -1
  27. package/theme/green/flexmonster.min.css +16 -1
  28. package/theme/lightblue/flexmonster.css +16 -1
  29. package/theme/lightblue/flexmonster.less +16 -1
  30. package/theme/lightblue/flexmonster.min.css +16 -1
  31. package/theme/macos/flexmonster.css +16 -1
  32. package/theme/macos/flexmonster.less +16 -1
  33. package/theme/macos/flexmonster.min.css +16 -1
  34. package/theme/midnight/flexmonster.css +16 -1
  35. package/theme/midnight/flexmonster.less +16 -1
  36. package/theme/midnight/flexmonster.min.css +16 -1
  37. package/theme/old/flexmonster.css +16 -1
  38. package/theme/old/flexmonster.less +16 -1
  39. package/theme/old/flexmonster.min.css +16 -1
  40. package/theme/orange/flexmonster.css +16 -1
  41. package/theme/orange/flexmonster.less +16 -1
  42. package/theme/orange/flexmonster.min.css +16 -1
  43. package/theme/purple/flexmonster.css +16 -1
  44. package/theme/purple/flexmonster.less +16 -1
  45. package/theme/purple/flexmonster.min.css +16 -1
  46. package/theme/softdefault/flexmonster.css +16 -1
  47. package/theme/softdefault/flexmonster.less +16 -1
  48. package/theme/softdefault/flexmonster.min.css +16 -1
  49. package/theme/stripedblue/flexmonster.css +16 -1
  50. package/theme/stripedblue/flexmonster.less +16 -1
  51. package/theme/stripedblue/flexmonster.min.css +16 -1
  52. package/theme/stripedteal/flexmonster.css +16 -1
  53. package/theme/stripedteal/flexmonster.less +16 -1
  54. package/theme/stripedteal/flexmonster.min.css +16 -1
  55. package/theme/teal/flexmonster.css +16 -1
  56. package/theme/teal/flexmonster.less +16 -1
  57. package/theme/teal/flexmonster.min.css +16 -1
  58. package/theme/yellow/flexmonster.css +16 -1
  59. package/theme/yellow/flexmonster.less +16 -1
  60. package/theme/yellow/flexmonster.min.css +16 -1
  61. package/toolbar/flexmonster.toolbar.js +21 -18
  62. package/types/flexmonster.d.ts +16 -10
@@ -1,11 +1,17 @@
1
1
  /**
2
2
  * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
3
- * September 2024 (v. 2.9.85)
3
+ * September 2024 (v. 2.9.87)
4
4
  * Copyright (c) 2024 Flexmonster. All rights reserved.
5
5
  *
6
- * Flexmonster Pivot Table & Charts commercial licenses may be obtained at
6
+ * Flexmonster Pivot Table & Charts is a part of Flexmonster Software that is distributed under the terms and conditions of Flexmonster Software License Agreement:
7
+ * https://www.flexmonster.com/software-license-agreement/
8
+ *
9
+ * By downloading, installing, and/or otherwise using Flexmonster Pivot Table & Charts, you accept and agree to be bound by and require each of your Representatives,
10
+ * clients and/or end-users, as the case may be, to be bound by all the terms and conditions of
11
+ * Flexmonster Software License Agreement: https://www.flexmonster.com/software-license-agreement/
12
+ *
13
+ * Pricing for Commercial License Models can be found on Flexmonster pricing page:
7
14
  * https://www.flexmonster.com/pivot-table-editions-and-pricing/
8
- * If you do not own a commercial license, this file shall be governed by the trial license terms.
9
15
  */
10
16
  var FlexmonsterToolbar = function (pivotContainer, pivot, _, width, labels, dataSourceType) {
11
17
  this.pivot = pivot;
@@ -3211,7 +3217,8 @@ FlexmonsterToolbar.prototype.createTabMenu = function (dataProvider, parentTab)
3211
3217
 
3212
3218
  var _activeItemIndex = -1;
3213
3219
 
3214
- parentTab.querySelector("a").addEventListener("click", function () {
3220
+ parentTab.querySelector("a").addEventListener("click", function (e) {
3221
+ e.preventDefault();
3215
3222
  var _isOpen = parentTab.classList.contains("fm-opened");
3216
3223
  _isOpen ? hide() : show();
3217
3224
  });
@@ -3601,7 +3608,7 @@ FlexmonsterToolbar.ColorPicker = function (toolbar, popupContainer) {
3601
3608
  });
3602
3609
  this.popup.addEventListener("keydown", function (e) {
3603
3610
  if (e.keyCode == 27) {
3604
- _this.closePopup();
3611
+ _this.closePopup(_this.cancelHandler);
3605
3612
  e.stopImmediatePropagation();
3606
3613
  }
3607
3614
  });
@@ -3748,14 +3755,14 @@ FlexmonsterToolbar.ColorPicker = function (toolbar, popupContainer) {
3748
3755
 
3749
3756
  function onBodyClick(event) {
3750
3757
  if (_this.isOpened()) {
3751
- _this.closePopup();
3758
+ _this.closePopup(_this.cancelHandler);
3752
3759
  }
3753
3760
  }
3754
3761
 
3755
3762
  function onColorButtonClick(event) {
3756
3763
  event.stopPropagation();
3757
3764
  if (_this.isOpened()) {
3758
- _this.closePopup();
3765
+ _this.closePopup(_this.cancelHandler);
3759
3766
  } else {
3760
3767
  _this.openPopup();
3761
3768
  }
@@ -3793,19 +3800,11 @@ FlexmonsterToolbar.ColorPicker = function (toolbar, popupContainer) {
3793
3800
  }
3794
3801
 
3795
3802
  function onApplyClick(e) {
3796
- _this.closePopup();
3797
- if (_this.applyHandler) {
3798
- _this.applyHandler();
3799
- }
3800
- _this.colorPickerButton.focus();
3803
+ _this.closePopup(_this.applyHandler);
3801
3804
  }
3802
3805
 
3803
3806
  function onCancelClick(e) {
3804
- _this.closePopup();
3805
- if (_this.cancelHandler) {
3806
- _this.cancelHandler();
3807
- }
3808
- _this.colorPickerButton.focus();
3807
+ _this.closePopup(_this.cancelHandler);
3809
3808
  }
3810
3809
  }
3811
3810
  FlexmonsterToolbar.ColorPicker.prototype.colors = {
@@ -3912,7 +3911,7 @@ FlexmonsterToolbar.ColorPicker.prototype.findMain = function (color) {
3912
3911
  FlexmonsterToolbar.ColorPicker.prototype.isColor = function (value) {
3913
3912
  return value.match(/^#?[0-9A-Fa-f]{6}$/g);
3914
3913
  }
3915
- FlexmonsterToolbar.ColorPicker.prototype.closePopup = function () {
3914
+ FlexmonsterToolbar.ColorPicker.prototype.closePopup = function (callback) {
3916
3915
  if (!this.popup.parentElement) {
3917
3916
  return;
3918
3917
  }
@@ -3923,6 +3922,10 @@ FlexmonsterToolbar.ColorPicker.prototype.closePopup = function () {
3923
3922
  setTimeout(function () {
3924
3923
  _this.justClosed = false;
3925
3924
  }, 100);
3925
+ if (callback) {
3926
+ callback();
3927
+ }
3928
+ this.colorPickerButton.focus();
3926
3929
  }
3927
3930
  FlexmonsterToolbar.ColorPicker.prototype.openPopup = function () {
3928
3931
  if (this.justClosed) {
@@ -1,13 +1,18 @@
1
- // Type definitions for flexmonster 2.8
2
- // Project: https://flexmonster.com/
3
- // Definitions by: Dima Zvazhii <https://github.com/Uaman>
4
- // Ian Sadovy <https://github.com/iansadovy>
5
- // Flexmonster Team (Admin) <https://github.com/flexmonsterowner>
6
- // Flexmonster Team <https://github.com/flexmonsterteam>
7
- // Iryna Kulchytska <https://github.com/irakulchytska>
8
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
9
- // TypeScript Version: 2.9
10
-
1
+ /**
2
+ * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
3
+ * September 2024 (v. 2.9.87)
4
+ * Copyright (c) 2024 Flexmonster. All rights reserved.
5
+ *
6
+ * Flexmonster Pivot Table & Charts is a part of Flexmonster Software that is distributed under the terms and conditions of Flexmonster Software License Agreement:
7
+ * https://www.flexmonster.com/software-license-agreement/
8
+ *
9
+ * By downloading, installing, and/or otherwise using Flexmonster Pivot Table & Charts, you accept and agree to be bound by and require each of your Representatives,
10
+ * clients and/or end-users, as the case may be, to be bound by all the terms and conditions of
11
+ * Flexmonster Software License Agreement: https://www.flexmonster.com/software-license-agreement/
12
+ *
13
+ * Pricing for Commercial License Models can be found on Flexmonster pricing page:
14
+ * https://www.flexmonster.com/pivot-table-editions-and-pricing/
15
+ */
11
16
  export as namespace Flexmonster;
12
17
 
13
18
  declare const Flexmonster: FlexmonsterConstructor;
@@ -375,6 +380,7 @@ declare namespace Flexmonster {
375
380
  dateFormat?: string;
376
381
  liveSearch?: boolean;
377
382
  filterByDateAndTime?: boolean;
383
+ allowEmptyMembersFilter?: boolean;
378
384
  };
379
385
  allowBrowsersCache?: boolean;
380
386
  configuratorActive?: boolean;