flexmonster 2.9.89 → 2.9.91

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/flexmonster.css +12 -2
  2. package/flexmonster.full.js +2422 -2376
  3. package/flexmonster.js +2409 -2363
  4. package/flexmonster.min.css +2 -2
  5. package/lib/flexmonster.amcharts.js +1 -1
  6. package/lib/flexmonster.fusioncharts.js +1 -1
  7. package/lib/flexmonster.googlecharts.js +1 -1
  8. package/lib/flexmonster.highcharts.js +1 -1
  9. package/lib/sha1.min.js +1 -1
  10. package/package.json +1 -1
  11. package/theme/accessible/flexmonster.css +12 -2
  12. package/theme/accessible/flexmonster.less +1 -1
  13. package/theme/accessible/flexmonster.min.css +2 -2
  14. package/theme/blackorange/flexmonster.css +12 -2
  15. package/theme/blackorange/flexmonster.less +1 -1
  16. package/theme/blackorange/flexmonster.min.css +2 -2
  17. package/theme/brightorange/flexmonster.css +12 -2
  18. package/theme/brightorange/flexmonster.less +1 -1
  19. package/theme/brightorange/flexmonster.min.css +2 -2
  20. package/theme/dark/flexmonster.css +12 -2
  21. package/theme/dark/flexmonster.less +1 -1
  22. package/theme/dark/flexmonster.min.css +2 -2
  23. package/theme/default/flexmonster.less +1 -1
  24. package/theme/flexmonster-base.less +10 -2
  25. package/theme/green/flexmonster.css +12 -2
  26. package/theme/green/flexmonster.less +1 -1
  27. package/theme/green/flexmonster.min.css +2 -2
  28. package/theme/lightblue/flexmonster.css +12 -2
  29. package/theme/lightblue/flexmonster.less +1 -1
  30. package/theme/lightblue/flexmonster.min.css +2 -2
  31. package/theme/macos/flexmonster.css +12 -2
  32. package/theme/macos/flexmonster.less +1 -1
  33. package/theme/macos/flexmonster.min.css +2 -2
  34. package/theme/midnight/flexmonster.css +12 -2
  35. package/theme/midnight/flexmonster.less +1 -1
  36. package/theme/midnight/flexmonster.min.css +2 -2
  37. package/theme/old/flexmonster.css +12 -2
  38. package/theme/old/flexmonster.less +1 -1
  39. package/theme/old/flexmonster.min.css +2 -2
  40. package/theme/orange/flexmonster.css +12 -2
  41. package/theme/orange/flexmonster.less +1 -1
  42. package/theme/orange/flexmonster.min.css +2 -2
  43. package/theme/purple/flexmonster.css +12 -2
  44. package/theme/purple/flexmonster.less +1 -1
  45. package/theme/purple/flexmonster.min.css +2 -2
  46. package/theme/softdefault/flexmonster.css +12 -2
  47. package/theme/softdefault/flexmonster.less +1 -1
  48. package/theme/softdefault/flexmonster.min.css +2 -2
  49. package/theme/stripedblue/flexmonster.css +12 -2
  50. package/theme/stripedblue/flexmonster.less +1 -1
  51. package/theme/stripedblue/flexmonster.min.css +2 -2
  52. package/theme/stripedteal/flexmonster.css +12 -2
  53. package/theme/stripedteal/flexmonster.less +1 -1
  54. package/theme/stripedteal/flexmonster.min.css +2 -2
  55. package/theme/teal/flexmonster.css +12 -2
  56. package/theme/teal/flexmonster.less +1 -1
  57. package/theme/teal/flexmonster.min.css +2 -2
  58. package/theme/yellow/flexmonster.css +12 -2
  59. package/theme/yellow/flexmonster.less +1 -1
  60. package/theme/yellow/flexmonster.min.css +2 -2
  61. package/toolbar/flexmonster.toolbar.js +8 -1
  62. package/types/flexmonster.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
3
- * October 2024 (v. 2.9.89)
3
+ * November 2024 (v. 2.9.91)
4
4
  * Copyright (c) 2024 Flexmonster. All rights reserved.
5
5
  *
6
6
  * Flexmonster Pivot Table & Charts is a part of Flexmonster Software that is distributed under the terms and conditions of Flexmonster Software License Agreement:
@@ -1346,6 +1346,7 @@ FlexmonsterToolbar.prototype.showFormatCellsDialog = function (measureName, meas
1346
1346
 
1347
1347
  function validateForm() {
1348
1348
  var isEnabled = valuesDropDown.getValue() != null;
1349
+ setApplyButtonDissabled(!isEnabled);
1349
1350
  textAlignDropDown.setEnabled(isEnabled);
1350
1351
  thousandsSepDropDown.setEnabled(isEnabled);
1351
1352
  decimalSepDropDown.setEnabled(isEnabled);
@@ -1500,6 +1501,11 @@ FlexmonsterToolbar.prototype.showFormatCellsDialog = function (measureName, meas
1500
1501
  valuesDropDown.setValue(currentMeasureNames);
1501
1502
  }
1502
1503
 
1504
+ var setApplyButtonDissabled = function (isDissabled) {
1505
+ var applyButton = document.querySelector(".fm-popup-format-cells #fm-btn-apply");
1506
+ applyButton.disabled = isDissabled;
1507
+ }
1508
+
1503
1509
  function isStringDataMode() {
1504
1510
  var options = _this.pivot.getOptions({
1505
1511
  withDefaults: true
@@ -1573,6 +1579,7 @@ FlexmonsterToolbar.prototype.showFormatCellsDialog = function (measureName, meas
1573
1579
  }
1574
1580
  }
1575
1581
  var applyHandler = function () {
1582
+ if (valuesDropDown.getValue() == null) return;
1576
1583
  var currentReport = (currentFormatVO.name != "" || valuesDropDown.getValue()[0] == "") ? _this.pivot.getReport() : {};
1577
1584
  var formatVO = undefined;
1578
1585
  if (currentReport.hasOwnProperty("formats") && currentReport.formats.length > 0) {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
3
- * October 2024 (v. 2.9.89)
3
+ * November 2024 (v. 2.9.91)
4
4
  * Copyright (c) 2024 Flexmonster. All rights reserved.
5
5
  *
6
6
  * Flexmonster Pivot Table & Charts is a part of Flexmonster Software that is distributed under the terms and conditions of Flexmonster Software License Agreement: