flexmonster 2.9.7 → 2.9.11

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 (49) hide show
  1. package/README.md +7 -0
  2. package/flexmonster.css +60 -27
  3. package/flexmonster.es5.full.js +2801 -2702
  4. package/flexmonster.es5.js +2546 -2537
  5. package/flexmonster.full.js +2441 -2347
  6. package/flexmonster.js +2188 -2183
  7. package/flexmonster.min.css +1 -1
  8. package/lib/jspdf.min.js +254 -165
  9. package/lib/promise.min.js +1 -1
  10. package/localizations/id.json +602 -0
  11. package/localizations/nl.json +2 -2
  12. package/localizations/pt.json +1 -1
  13. package/localizations/th.json +602 -0
  14. package/package.json +1 -1
  15. package/theme/accessible/flexmonster.css +60 -27
  16. package/theme/accessible/flexmonster.min.css +1 -1
  17. package/theme/blackorange/flexmonster.css +60 -27
  18. package/theme/blackorange/flexmonster.min.css +1 -1
  19. package/theme/brightorange/flexmonster.css +60 -27
  20. package/theme/brightorange/flexmonster.min.css +1 -1
  21. package/theme/dark/flexmonster.css +60 -27
  22. package/theme/dark/flexmonster.min.css +1 -1
  23. package/theme/flexmonster-base.less +68 -39
  24. package/theme/green/flexmonster.css +60 -27
  25. package/theme/green/flexmonster.min.css +1 -1
  26. package/theme/lightblue/flexmonster.css +60 -27
  27. package/theme/lightblue/flexmonster.min.css +1 -1
  28. package/theme/macos/flexmonster.css +60 -27
  29. package/theme/macos/flexmonster.min.css +1 -1
  30. package/theme/midnight/flexmonster.css +60 -27
  31. package/theme/midnight/flexmonster.min.css +1 -1
  32. package/theme/old/flexmonster.css +60 -27
  33. package/theme/old/flexmonster.min.css +1 -1
  34. package/theme/orange/flexmonster.css +60 -27
  35. package/theme/orange/flexmonster.min.css +1 -1
  36. package/theme/purple/flexmonster.css +60 -27
  37. package/theme/purple/flexmonster.min.css +1 -1
  38. package/theme/softdefault/flexmonster.css +60 -27
  39. package/theme/softdefault/flexmonster.min.css +1 -1
  40. package/theme/stripedblue/flexmonster.css +60 -27
  41. package/theme/stripedblue/flexmonster.min.css +1 -1
  42. package/theme/stripedteal/flexmonster.css +60 -27
  43. package/theme/stripedteal/flexmonster.min.css +1 -1
  44. package/theme/teal/flexmonster.css +60 -27
  45. package/theme/teal/flexmonster.min.css +1 -1
  46. package/theme/yellow/flexmonster.css +60 -27
  47. package/theme/yellow/flexmonster.min.css +1 -1
  48. package/toolbar/flexmonster.toolbar.js +4 -4
  49. package/types/flexmonster.d.ts +9 -9
@@ -1,5 +1,9 @@
1
1
  @import (reference) "default/flexmonster.less";
2
2
 
3
+ :root {
4
+ --fm-version: "2.9.11";
5
+ }
6
+
3
7
  /* ===== RESET STYLES ===== */
4
8
  #fm-pivot-view,
5
9
  #fm-toolbar-wrapper {
@@ -3282,8 +3286,9 @@
3282
3286
  }
3283
3287
 
3284
3288
  .fm-popup-header {
3289
+ display: flex;
3285
3290
  .fm-ui-col:first-child {
3286
- max-width: 300px;
3291
+ min-width: 100px;
3287
3292
 
3288
3293
  span.fm-ui-label {
3289
3294
  white-space: nowrap;
@@ -3292,6 +3297,21 @@
3292
3297
  }
3293
3298
  }
3294
3299
 
3300
+ .fm-ui-col:nth-child(1) {
3301
+ flex: 1;
3302
+
3303
+ .fm-popup-subtitle {
3304
+ width: fit-content;
3305
+ }
3306
+ }
3307
+
3308
+ .fm-ui-col:nth-child(2) {
3309
+ min-width: 405px;
3310
+ position: relative;
3311
+ right: 0px;
3312
+ margin-left: 30px;
3313
+ }
3314
+
3295
3315
  .fm-btn-add-measure {
3296
3316
  padding-right: 32px;
3297
3317
  max-width: 250px;
@@ -3906,9 +3926,21 @@
3906
3926
  height: ~"calc(100% - 50px)";
3907
3927
  height: ~"-webkit-calc(100% - 50px)";
3908
3928
  }
3929
+
3930
+ .fm-ui-col:nth-child(2) {
3931
+ min-width: 260px;
3932
+ }
3909
3933
  }
3910
3934
 
3911
3935
  &.fm-layout-mobile-small {
3936
+ .fm-popup-header {
3937
+ flex-direction: column;
3938
+ }
3939
+
3940
+ .fm-ui-col:nth-child(2) {
3941
+ margin-left: auto;
3942
+ }
3943
+
3912
3944
  .fm-popup-content {
3913
3945
  height: ~"calc(100% - 95px)";
3914
3946
  height: ~"-webkit-calc(100% - 95px)";
@@ -3926,8 +3958,13 @@
3926
3958
  height: 467px;
3927
3959
 
3928
3960
  .fm-popup-header {
3929
- .fm-ui-col:first-child {
3961
+ .fm-ui-col:nth-child(1) {
3930
3962
  margin-right: 20px;
3963
+ flex: none;
3964
+ }
3965
+
3966
+ .fm-ui-col:nth-child(2) {
3967
+ min-width: auto;
3931
3968
  }
3932
3969
 
3933
3970
  .fm-btn-add-measure {
@@ -6172,12 +6209,12 @@
6172
6209
  left: 0px;
6173
6210
  }
6174
6211
 
6175
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:after {
6212
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:after {
6176
6213
  left: inherit;
6177
6214
  right: 20px;
6178
6215
  }
6179
6216
 
6180
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:before {
6217
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:before {
6181
6218
  left: inherit;
6182
6219
  right: 19px;
6183
6220
  }
@@ -6358,32 +6395,29 @@
6358
6395
  #fm-toolbar-wrapper div.fm-panel.fm-popup {
6359
6396
  &.fm-layout-mobile {
6360
6397
  padding: 20px;
6361
- }
6362
6398
 
6363
- &.fm-layout-mobile-small {
6364
6399
  .fm-panel-content {
6365
- .fm-toolbox {
6366
- position: relative;
6367
- right: initial;
6368
- right: auto;
6369
- text-align: left;
6370
- width: 100%;
6371
-
6372
- a.fm-ui-btn {
6373
- width: ~"calc(50% - 10px)";
6374
- width: ~"-webkit-calc(50% - 10px)";
6375
- }
6376
-
6377
- }
6378
6400
  .fm-title-bar {
6379
- .fm-title-text {
6401
+ display: flex;
6402
+ flex-direction: column;
6403
+
6404
+ .fm-title-text.fm-ui-col {
6405
+ max-width: none !important;
6380
6406
  width: 100%;
6381
- margin-bottom: 10px;
6382
- text-align: left;
6383
6407
  font-size: @ui-title-font-size-smaller;
6408
+ margin-bottom: 10px;
6384
6409
  }
6385
-
6410
+ }
6411
+
6412
+ .fm-toolbox {
6413
+ display: flex;
6414
+ max-width: none !important;
6415
+ width: auto !important;
6386
6416
 
6417
+ .fm-ui-btn:not(.fm-button-add) {
6418
+ max-width: none;
6419
+ flex: 1;
6420
+ }
6387
6421
  }
6388
6422
  }
6389
6423
  }
@@ -6394,7 +6428,13 @@
6394
6428
  width: 610px;
6395
6429
  min-width: 400px;
6396
6430
 
6431
+ .fm-toolbox {
6432
+ max-width: 54% !important;
6433
+ width: 54% !important;
6434
+ }
6435
+
6397
6436
  .fm-title-text {
6437
+ max-width: 46% !important;
6398
6438
  width: ~"-webkit-calc(100% - 270px)";
6399
6439
  width: ~"calc(100% - 270px)";
6400
6440
  }
@@ -6436,7 +6476,8 @@
6436
6476
  }
6437
6477
 
6438
6478
  .fm-values {
6439
- width: 150px;
6479
+ width: ~"calc(100% - 390px)";
6480
+ width: ~"-webkit-calc(100% - 390px)";
6440
6481
  }
6441
6482
 
6442
6483
  .fm-conditions {
@@ -6444,7 +6485,8 @@
6444
6485
  }
6445
6486
 
6446
6487
  .fm-font-family {
6447
- width: 150px;
6488
+ width: ~"calc(100% - 390px)";
6489
+ width: ~"-webkit-calc(100% - 390px)";
6448
6490
  }
6449
6491
 
6450
6492
  .fm-font-size {
@@ -6489,19 +6531,6 @@
6489
6531
  top: -90px;
6490
6532
  }
6491
6533
  }
6492
-
6493
- &.fm-layout-mobile-small {
6494
- .fm-title-text {
6495
- width: 100%;
6496
- }
6497
-
6498
- .fm-panel-content .fm-toolbox {
6499
- .fm-ui-btn:not(.fm-button-add) {
6500
- width: ~"calc(50% - 42px)";
6501
- width: ~"-webkit-calc(50% - 42px)";
6502
- }
6503
- }
6504
- }
6505
6534
  }
6506
6535
 
6507
6536
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-cr-inner {
@@ -7156,7 +7185,7 @@
7156
7185
 
7157
7186
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add {
7158
7187
  padding-right: 30px;
7159
- min-width: unset;
7188
+ min-width: auto;
7160
7189
  }
7161
7190
 
7162
7191
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add-large {
@@ -1,3 +1,6 @@
1
+ :root {
2
+ --fm-version: "2.9.11";
3
+ }
1
4
  /* ===== RESET STYLES ===== */
2
5
  #fm-pivot-view,
3
6
  #fm-toolbar-wrapper {
@@ -3438,14 +3441,29 @@
3438
3441
  #fm-pivot-view .fm-fields-view .fm-btn-add-measure-2:hover:before {
3439
3442
  color: #59a10e;
3440
3443
  }
3444
+ #fm-pivot-view .fm-fields-view .fm-popup-header {
3445
+ display: flex;
3446
+ }
3441
3447
  #fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:first-child {
3442
- max-width: 300px;
3448
+ min-width: 100px;
3443
3449
  }
3444
3450
  #fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:first-child span.fm-ui-label {
3445
3451
  white-space: nowrap;
3446
3452
  text-overflow: ellipsis;
3447
3453
  overflow: hidden;
3448
3454
  }
3455
+ #fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(1) {
3456
+ flex: 1;
3457
+ }
3458
+ #fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(1) .fm-popup-subtitle {
3459
+ width: fit-content;
3460
+ }
3461
+ #fm-pivot-view .fm-fields-view .fm-popup-header .fm-ui-col:nth-child(2) {
3462
+ min-width: 405px;
3463
+ position: relative;
3464
+ right: 0px;
3465
+ margin-left: 30px;
3466
+ }
3449
3467
  #fm-pivot-view .fm-fields-view .fm-popup-header .fm-btn-add-measure {
3450
3468
  padding-right: 32px;
3451
3469
  max-width: 250px;
@@ -4310,6 +4328,15 @@
4310
4328
  height: calc(100% - 50px);
4311
4329
  height: -webkit-calc(100% - 50px);
4312
4330
  }
4331
+ #fm-pivot-view .fm-fields-view.fm-layout-mobile .fm-ui-col:nth-child(2) {
4332
+ min-width: 260px;
4333
+ }
4334
+ #fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-popup-header {
4335
+ flex-direction: column;
4336
+ }
4337
+ #fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-ui-col:nth-child(2) {
4338
+ margin-left: auto;
4339
+ }
4313
4340
  #fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-popup-content {
4314
4341
  height: calc(100% - 95px);
4315
4342
  height: -webkit-calc(100% - 95px);
@@ -4323,8 +4350,12 @@
4323
4350
  min-height: 467px;
4324
4351
  height: 467px;
4325
4352
  }
4326
- #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-ui-col:first-child {
4353
+ #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-ui-col:nth-child(1) {
4327
4354
  margin-right: 20px;
4355
+ flex: none;
4356
+ }
4357
+ #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-ui-col:nth-child(2) {
4358
+ min-width: auto;
4328
4359
  }
4329
4360
  #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-btn-add-measure {
4330
4361
  min-width: 40px;
@@ -6372,11 +6403,11 @@
6372
6403
  #fm-toolbar-wrapper #fm-toolbar .fm-dropdown-scrollable-left:before {
6373
6404
  left: 0px;
6374
6405
  }
6375
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:after {
6406
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:after {
6376
6407
  left: inherit;
6377
6408
  right: 20px;
6378
6409
  }
6379
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:before {
6410
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:before {
6380
6411
  left: inherit;
6381
6412
  right: 19px;
6382
6413
  }
@@ -6506,29 +6537,36 @@
6506
6537
  #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile {
6507
6538
  padding: 20px;
6508
6539
  }
6509
- #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile-small .fm-panel-content .fm-toolbox {
6510
- position: relative;
6511
- right: initial;
6512
- right: auto;
6513
- text-align: left;
6514
- width: 100%;
6515
- }
6516
- #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile-small .fm-panel-content .fm-toolbox a.fm-ui-btn {
6517
- width: calc(50% - 10px);
6518
- width: -webkit-calc(50% - 10px);
6540
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-title-bar {
6541
+ display: flex;
6542
+ flex-direction: column;
6519
6543
  }
6520
- #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile-small .fm-panel-content .fm-title-bar .fm-title-text {
6544
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-title-bar .fm-title-text.fm-ui-col {
6545
+ max-width: none !important;
6521
6546
  width: 100%;
6522
- margin-bottom: 10px;
6523
- text-align: left;
6524
6547
  font-size: 18px;
6548
+ margin-bottom: 10px;
6549
+ }
6550
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox {
6551
+ display: flex;
6552
+ max-width: none !important;
6553
+ width: auto !important;
6554
+ }
6555
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox .fm-ui-btn:not(.fm-button-add) {
6556
+ max-width: none;
6557
+ flex: 1;
6525
6558
  }
6526
6559
  /* Conditional formatting */
6527
6560
  #fm-toolbar-wrapper .fm-popup-conditional {
6528
6561
  width: 610px;
6529
6562
  min-width: 400px;
6530
6563
  }
6564
+ #fm-toolbar-wrapper .fm-popup-conditional .fm-toolbox {
6565
+ max-width: 54% !important;
6566
+ width: 54% !important;
6567
+ }
6531
6568
  #fm-toolbar-wrapper .fm-popup-conditional .fm-title-text {
6569
+ max-width: 46% !important;
6532
6570
  width: -webkit-calc(100% - 270px);
6533
6571
  width: calc(100% - 270px);
6534
6572
  }
@@ -6564,13 +6602,15 @@
6564
6602
  color: #59a10e;
6565
6603
  }
6566
6604
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-values {
6567
- width: 150px;
6605
+ width: calc(100% - 390px);
6606
+ width: -webkit-calc(100% - 390px);
6568
6607
  }
6569
6608
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-conditions {
6570
6609
  width: 150px;
6571
6610
  }
6572
6611
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-family {
6573
- width: 150px;
6612
+ width: calc(100% - 390px);
6613
+ width: -webkit-calc(100% - 390px);
6574
6614
  }
6575
6615
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-size {
6576
6616
  width: 100px;
@@ -6604,13 +6644,6 @@
6604
6644
  #fm-toolbar-wrapper .fm-popup-conditional.fm-layout-mobile .fm-cr-delete {
6605
6645
  top: -90px;
6606
6646
  }
6607
- #fm-toolbar-wrapper .fm-popup-conditional.fm-layout-mobile-small .fm-title-text {
6608
- width: 100%;
6609
- }
6610
- #fm-toolbar-wrapper .fm-popup-conditional.fm-layout-mobile-small .fm-panel-content .fm-toolbox .fm-ui-btn:not(.fm-button-add) {
6611
- width: calc(50% - 42px);
6612
- width: -webkit-calc(50% - 42px);
6613
- }
6614
6647
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-cr-inner {
6615
6648
  font-size: 0;
6616
6649
  margin-bottom: 10px;
@@ -7168,7 +7201,7 @@
7168
7201
  }
7169
7202
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add {
7170
7203
  padding-right: 30px;
7171
- min-width: unset;
7204
+ min-width: auto;
7172
7205
  }
7173
7206
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add-large {
7174
7207
  padding-left: 36px;