flexmonster 2.9.18 → 2.9.19

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 (43) hide show
  1. package/flexmonster.css +99 -1
  2. package/flexmonster.es5.full.js +2553 -2549
  3. package/flexmonster.es5.js +2552 -2548
  4. package/flexmonster.full.js +2366 -2364
  5. package/flexmonster.js +2365 -2363
  6. package/flexmonster.min.css +1 -1
  7. package/lib/flexmonster.highcharts.js +6 -0
  8. package/package.json +1 -1
  9. package/theme/accessible/flexmonster.css +99 -1
  10. package/theme/accessible/flexmonster.min.css +1 -1
  11. package/theme/blackorange/flexmonster.css +99 -1
  12. package/theme/blackorange/flexmonster.min.css +1 -1
  13. package/theme/brightorange/flexmonster.css +99 -1
  14. package/theme/brightorange/flexmonster.min.css +1 -1
  15. package/theme/dark/flexmonster.css +99 -1
  16. package/theme/dark/flexmonster.min.css +1 -1
  17. package/theme/flexmonster-base.less +116 -1
  18. package/theme/green/flexmonster.css +99 -1
  19. package/theme/green/flexmonster.min.css +1 -1
  20. package/theme/lightblue/flexmonster.css +99 -1
  21. package/theme/lightblue/flexmonster.min.css +1 -1
  22. package/theme/macos/flexmonster.css +99 -1
  23. package/theme/macos/flexmonster.min.css +1 -1
  24. package/theme/midnight/flexmonster.css +99 -1
  25. package/theme/midnight/flexmonster.min.css +1 -1
  26. package/theme/old/flexmonster.css +99 -1
  27. package/theme/old/flexmonster.min.css +1 -1
  28. package/theme/orange/flexmonster.css +99 -1
  29. package/theme/orange/flexmonster.min.css +1 -1
  30. package/theme/purple/flexmonster.css +99 -1
  31. package/theme/purple/flexmonster.min.css +1 -1
  32. package/theme/softdefault/flexmonster.css +99 -1
  33. package/theme/softdefault/flexmonster.min.css +1 -1
  34. package/theme/stripedblue/flexmonster.css +99 -1
  35. package/theme/stripedblue/flexmonster.min.css +1 -1
  36. package/theme/stripedteal/flexmonster.css +99 -1
  37. package/theme/stripedteal/flexmonster.min.css +1 -1
  38. package/theme/teal/flexmonster.css +99 -1
  39. package/theme/teal/flexmonster.min.css +1 -1
  40. package/theme/yellow/flexmonster.css +99 -1
  41. package/theme/yellow/flexmonster.min.css +1 -1
  42. package/toolbar/flexmonster.toolbar.js +1 -1
  43. package/types/flexmonster.d.ts +7 -3
@@ -246,6 +246,7 @@
246
246
  for (var j = 0; j < data.meta.vAmount; j++) {
247
247
  _yName = data.meta["v" + j + "Name"];
248
248
  _seriesName = _seriesBasedOnC ? record["c0"] : _yName;
249
+ // Add "_" at the start to ensure order remains unchanged
249
250
  if (series["_" + _yName] == undefined) {
250
251
  series["_" + _yName] = {};
251
252
  }
@@ -262,6 +263,8 @@
262
263
  var yn = 0;
263
264
  for (var yAxis in series) {
264
265
  var _series = series[yAxis];
266
+ // Remove the "_" helper symbol
267
+ yAxis = yAxis.replace("_", "");
265
268
  for (var seriesname in _series) {
266
269
  var s = {
267
270
  name: (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0 && data.meta["vAmount"] > 1) ?
@@ -303,6 +306,7 @@
303
306
  for (var j = 0; j < data.meta.vAmount; j++) {
304
307
  _yName = data.meta["v" + j + "Name"];
305
308
  _seriesName = _seriesBasedOnC ? record["c0"] : _yName;
309
+ // Add "_" at the start to ensure order remains unchanged
306
310
  if (series["_" + _yName] == undefined) {
307
311
  series["_" + _yName] = {};
308
312
  }
@@ -319,6 +323,8 @@
319
323
  var yn = 0;
320
324
  for (var yAxis in series) {
321
325
  var _series = series[yAxis];
326
+ // Remove the "_" helper symbol
327
+ yAxis = yAxis.replace("_", "");
322
328
  for (var seriesname in _series) {
323
329
  var s = {
324
330
  name: (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0 && data.meta["vAmount"] > 1) ?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexmonster",
3
- "version": "2.9.18",
3
+ "version": "2.9.19",
4
4
  "description": "Pivot table component for web reporting. The most powerful JavaScript tool to visualize your business data.",
5
5
  "main": "flexmonster.full.js",
6
6
  "typings": "./types/flexmonster.d.ts",
@@ -1,5 +1,5 @@
1
1
  :root {
2
- --fm-version: "2.9.18";
2
+ --fm-version: "2.9.19";
3
3
  }
4
4
  /* ===== RESET STYLES ===== */
5
5
  #fm-pivot-view,
@@ -4848,10 +4848,104 @@
4848
4848
  }
4849
4849
  #fm-pivot-view div.fm-calculated-view .fm-popup-content {
4850
4850
  position: relative;
4851
+ /*Calculated view search */
4851
4852
  }
4852
4853
  #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-name-input {
4853
4854
  margin-bottom: 20px;
4854
4855
  }
4856
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header {
4857
+ background: #E8E8E8;
4858
+ position: relative;
4859
+ border: 1px solid #111;
4860
+ border-bottom: 0px;
4861
+ }
4862
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-list-header-label-wrap {
4863
+ width: calc(100% - 40px);
4864
+ width: -webkit-calc(60%);
4865
+ padding: 10px;
4866
+ }
4867
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header span.fm-ui-label {
4868
+ color: #111;
4869
+ }
4870
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap {
4871
+ position: absolute;
4872
+ top: 0;
4873
+ right: 0;
4874
+ width: 40px;
4875
+ height: 100%;
4876
+ border-left: 1px solid #111;
4877
+ z-index: 9;
4878
+ }
4879
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-search-btn {
4880
+ position: absolute;
4881
+ width: 100%;
4882
+ height: 38px;
4883
+ cursor: pointer;
4884
+ z-index: 3;
4885
+ border: none;
4886
+ background: transparent;
4887
+ }
4888
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-search-btn .fm-icon-act_search {
4889
+ color: #111;
4890
+ position: absolute;
4891
+ top: 5px;
4892
+ right: 7px;
4893
+ }
4894
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-search-btn .fm-icon-act_search::before {
4895
+ font-size: 25px;
4896
+ }
4897
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened {
4898
+ width: 100%;
4899
+ height: 100%;
4900
+ border-left: none;
4901
+ }
4902
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened .fm-icon-act_close,
4903
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened .fm-search-inp {
4904
+ visibility: visible;
4905
+ opacity: 1;
4906
+ }
4907
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened .fm-select-counter {
4908
+ display: none;
4909
+ }
4910
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened .fm-search-btn {
4911
+ font-size: 0;
4912
+ width: 40px;
4913
+ left: 0;
4914
+ pointer-events: none;
4915
+ }
4916
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap.fm-search-opened .fm-search-btn .fm-icon-act_search:before {
4917
+ color: #111;
4918
+ }
4919
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-icon-act_close {
4920
+ visibility: hidden;
4921
+ position: absolute;
4922
+ right: 0;
4923
+ top: 0;
4924
+ height: 100%;
4925
+ width: 39px;
4926
+ cursor: pointer;
4927
+ z-index: 3;
4928
+ color: #111;
4929
+ }
4930
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-icon-act_close::before {
4931
+ font-size: 26px;
4932
+ position: absolute;
4933
+ top: 5px;
4934
+ left: 6px;
4935
+ }
4936
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-header .fm-search-wrap .fm-search-inp {
4937
+ visibility: hidden;
4938
+ position: absolute;
4939
+ right: 0;
4940
+ top: 0px;
4941
+ width: 100%;
4942
+ height: 37px;
4943
+ padding-left: 40px;
4944
+ padding-right: 40px;
4945
+ border-top: 0px;
4946
+ border-right: 0px;
4947
+ border-left: 0px;
4948
+ }
4855
4949
  #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-list-content {
4856
4950
  border: 1px solid #111;
4857
4951
  margin-bottom: 20px;
@@ -4883,6 +4977,10 @@
4883
4977
  width: calc(100% - 50px);
4884
4978
  width: -webkit-calc(100% - 50px);
4885
4979
  }
4980
+ #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-lst-measures li .fm-text-display .fm-search-highlight {
4981
+ background-color: #FFFF00;
4982
+ font-weight: inherit;
4983
+ }
4886
4984
  #fm-pivot-view div.fm-calculated-view .fm-popup-content .fm-lst-measures li .fm-aggr-display {
4887
4985
  width: 32px;
4888
4986
  height: 100%;