flexmonster 2.9.8 → 2.9.12

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 (50) hide show
  1. package/README.md +8 -1
  2. package/flexmonster.css +60 -35
  3. package/flexmonster.es5.full.js +2855 -2740
  4. package/flexmonster.es5.js +2595 -2571
  5. package/flexmonster.full.js +2495 -2388
  6. package/flexmonster.js +2237 -2220
  7. package/flexmonster.min.css +1 -1
  8. package/lib/html2canvas.v1.min.js +3 -2
  9. package/lib/jspdf.min.js +254 -165
  10. package/lib/promise.min.js +1 -1
  11. package/localizations/id.json +602 -0
  12. package/localizations/nl.json +2 -2
  13. package/localizations/pt.json +1 -1
  14. package/localizations/th.json +602 -0
  15. package/package.json +1 -1
  16. package/theme/accessible/flexmonster.css +60 -35
  17. package/theme/accessible/flexmonster.min.css +1 -1
  18. package/theme/blackorange/flexmonster.css +60 -35
  19. package/theme/blackorange/flexmonster.min.css +1 -1
  20. package/theme/brightorange/flexmonster.css +60 -35
  21. package/theme/brightorange/flexmonster.min.css +1 -1
  22. package/theme/dark/flexmonster.css +60 -35
  23. package/theme/dark/flexmonster.min.css +1 -1
  24. package/theme/flexmonster-base.less +67 -50
  25. package/theme/green/flexmonster.css +60 -35
  26. package/theme/green/flexmonster.min.css +1 -1
  27. package/theme/lightblue/flexmonster.css +60 -35
  28. package/theme/lightblue/flexmonster.min.css +1 -1
  29. package/theme/macos/flexmonster.css +60 -35
  30. package/theme/macos/flexmonster.min.css +1 -1
  31. package/theme/midnight/flexmonster.css +60 -35
  32. package/theme/midnight/flexmonster.min.css +1 -1
  33. package/theme/old/flexmonster.css +60 -35
  34. package/theme/old/flexmonster.min.css +1 -1
  35. package/theme/orange/flexmonster.css +60 -35
  36. package/theme/orange/flexmonster.min.css +1 -1
  37. package/theme/purple/flexmonster.css +60 -35
  38. package/theme/purple/flexmonster.min.css +1 -1
  39. package/theme/softdefault/flexmonster.css +60 -35
  40. package/theme/softdefault/flexmonster.min.css +1 -1
  41. package/theme/stripedblue/flexmonster.css +60 -35
  42. package/theme/stripedblue/flexmonster.min.css +1 -1
  43. package/theme/stripedteal/flexmonster.css +60 -35
  44. package/theme/stripedteal/flexmonster.min.css +1 -1
  45. package/theme/teal/flexmonster.css +60 -35
  46. package/theme/teal/flexmonster.min.css +1 -1
  47. package/theme/yellow/flexmonster.css +60 -35
  48. package/theme/yellow/flexmonster.min.css +1 -1
  49. package/toolbar/flexmonster.toolbar.js +6 -5
  50. 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.12";
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: fit-content;
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;
@@ -3909,6 +3929,14 @@
3909
3929
  }
3910
3930
 
3911
3931
  &.fm-layout-mobile-small {
3932
+ .fm-popup-header {
3933
+ flex-direction: column;
3934
+ }
3935
+
3936
+ .fm-ui-col:nth-child(2) {
3937
+ margin-left: auto;
3938
+ }
3939
+
3912
3940
  .fm-popup-content {
3913
3941
  height: ~"calc(100% - 95px)";
3914
3942
  height: ~"-webkit-calc(100% - 95px)";
@@ -3926,9 +3954,6 @@
3926
3954
  height: 467px;
3927
3955
 
3928
3956
  .fm-popup-header {
3929
- .fm-ui-col:first-child {
3930
- margin-right: 20px;
3931
- }
3932
3957
 
3933
3958
  .fm-btn-add-measure {
3934
3959
  min-width: 40px;
@@ -4164,11 +4189,6 @@
4164
4189
  }
4165
4190
  /* layouts */
4166
4191
  &.fm-layout-tablet {
4167
- .fm-popup-header {
4168
- .fm-ui-col:first-child {
4169
- margin-right: 20px;
4170
- }
4171
- }
4172
4192
 
4173
4193
  .fm-list-wrap .fm-list-header.fm-list-header-wide {
4174
4194
  .fm-list-header-label-wrap {
@@ -6172,12 +6192,12 @@
6172
6192
  left: 0px;
6173
6193
  }
6174
6194
 
6175
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:after {
6195
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:after {
6176
6196
  left: inherit;
6177
6197
  right: 20px;
6178
6198
  }
6179
6199
 
6180
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:before {
6200
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:before {
6181
6201
  left: inherit;
6182
6202
  right: 19px;
6183
6203
  }
@@ -6282,11 +6302,13 @@
6282
6302
  }
6283
6303
 
6284
6304
  #fm-toolbar-wrapper div.fm-panel .fm-title-bar .fm-toolbox {
6305
+ flex: 1;
6285
6306
  margin-top: 0;
6286
- max-width: 55%;
6287
- width: 55%;
6307
+ min-width: fit-content;
6308
+ width: fit-content;
6288
6309
  float: right;
6289
6310
  text-align: right;
6311
+ margin-left: 30px;
6290
6312
  }
6291
6313
 
6292
6314
  #fm-toolbar-wrapper div.fm-panel .fm-toolbox .fm-ui-btn {
@@ -6306,8 +6328,10 @@
6306
6328
 
6307
6329
  #fm-toolbar-wrapper div.fm-panel .fm-panel-content {
6308
6330
  position: relative;
6309
-
6331
+
6310
6332
  .fm-title-bar {
6333
+ display: flex;
6334
+ justify-content: center;
6311
6335
  clear: both;
6312
6336
  margin-bottom: 24px;
6313
6337
 
@@ -6323,7 +6347,7 @@
6323
6347
 
6324
6348
  &.fm-ui-col {
6325
6349
  text-align: left;
6326
- max-width: 45%;
6350
+ flex: 1;
6327
6351
  }
6328
6352
  }
6329
6353
  }
@@ -6358,32 +6382,30 @@
6358
6382
  #fm-toolbar-wrapper div.fm-panel.fm-popup {
6359
6383
  &.fm-layout-mobile {
6360
6384
  padding: 20px;
6361
- }
6362
6385
 
6363
- &.fm-layout-mobile-small {
6364
6386
  .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
6387
  .fm-title-bar {
6379
- .fm-title-text {
6388
+ display: flex;
6389
+ flex-direction: column;
6390
+
6391
+ .fm-title-text.fm-ui-col {
6392
+ max-width: none !important;
6380
6393
  width: 100%;
6381
- margin-bottom: 10px;
6382
- text-align: left;
6383
6394
  font-size: @ui-title-font-size-smaller;
6395
+ margin-bottom: 10px;
6384
6396
  }
6385
-
6397
+ }
6386
6398
 
6399
+ .fm-toolbox {
6400
+ display: flex;
6401
+ max-width: none !important;
6402
+ width: auto !important;
6403
+ margin-left: 0;
6404
+
6405
+ .fm-ui-btn:not(.fm-button-add) {
6406
+ max-width: none;
6407
+ flex: 1;
6408
+ }
6387
6409
  }
6388
6410
  }
6389
6411
  }
@@ -6394,7 +6416,13 @@
6394
6416
  width: 610px;
6395
6417
  min-width: 400px;
6396
6418
 
6419
+ .fm-toolbox {
6420
+ max-width: 54% !important;
6421
+ width: 54% !important;
6422
+ }
6423
+
6397
6424
  .fm-title-text {
6425
+ max-width: 46% !important;
6398
6426
  width: ~"-webkit-calc(100% - 270px)";
6399
6427
  width: ~"calc(100% - 270px)";
6400
6428
  }
@@ -6436,7 +6464,8 @@
6436
6464
  }
6437
6465
 
6438
6466
  .fm-values {
6439
- width: 150px;
6467
+ width: ~"calc(100% - 390px)";
6468
+ width: ~"-webkit-calc(100% - 390px)";
6440
6469
  }
6441
6470
 
6442
6471
  .fm-conditions {
@@ -6444,7 +6473,8 @@
6444
6473
  }
6445
6474
 
6446
6475
  .fm-font-family {
6447
- width: 150px;
6476
+ width: ~"calc(100% - 390px)";
6477
+ width: ~"-webkit-calc(100% - 390px)";
6448
6478
  }
6449
6479
 
6450
6480
  .fm-font-size {
@@ -6489,19 +6519,6 @@
6489
6519
  top: -90px;
6490
6520
  }
6491
6521
  }
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
6522
  }
6506
6523
 
6507
6524
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-cr-inner {
@@ -7156,7 +7173,7 @@
7156
7173
 
7157
7174
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add {
7158
7175
  padding-right: 30px;
7159
- min-width: unset;
7176
+ min-width: auto;
7160
7177
  }
7161
7178
 
7162
7179
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add-large {
@@ -1,3 +1,6 @@
1
+ :root {
2
+ --fm-version: "2.9.12";
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: fit-content;
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,12 @@
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-small .fm-popup-header {
4332
+ flex-direction: column;
4333
+ }
4334
+ #fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-ui-col:nth-child(2) {
4335
+ margin-left: auto;
4336
+ }
4313
4337
  #fm-pivot-view .fm-fields-view.fm-layout-mobile-small .fm-popup-content {
4314
4338
  height: calc(100% - 95px);
4315
4339
  height: -webkit-calc(100% - 95px);
@@ -4323,9 +4347,6 @@
4323
4347
  min-height: 467px;
4324
4348
  height: 467px;
4325
4349
  }
4326
- #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-ui-col:first-child {
4327
- margin-right: 20px;
4328
- }
4329
4350
  #fm-pivot-view .fm-fields-view.fm-flat-fields .fm-popup-header .fm-btn-add-measure {
4330
4351
  min-width: 40px;
4331
4352
  width: 40px;
@@ -4564,9 +4585,6 @@
4564
4585
  height: calc(100% - 35px);
4565
4586
  height: -webkit-calc(100% - 35px);
4566
4587
  }
4567
- #fm-pivot-view .fm-fields-view.fm-layout-tablet .fm-popup-header .fm-ui-col:first-child {
4568
- margin-right: 20px;
4569
- }
4570
4588
  #fm-pivot-view .fm-fields-view.fm-layout-tablet .fm-list-wrap .fm-list-header.fm-list-header-wide .fm-list-header-label-wrap {
4571
4589
  position: absolute;
4572
4590
  top: 50%;
@@ -6372,11 +6390,11 @@
6372
6390
  #fm-toolbar-wrapper #fm-toolbar .fm-dropdown-scrollable-left:before {
6373
6391
  left: 0px;
6374
6392
  }
6375
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:after {
6393
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:after {
6376
6394
  left: inherit;
6377
6395
  right: 20px;
6378
6396
  }
6379
- #fm-toolbar-wrapper #fm-toolbar .fm-align-rigth .fm-dropdown-content:before {
6397
+ #fm-toolbar-wrapper #fm-toolbar .fm-align-right .fm-dropdown-content:before {
6380
6398
  left: inherit;
6381
6399
  right: 19px;
6382
6400
  }
@@ -6443,11 +6461,13 @@
6443
6461
  text-align: center;
6444
6462
  }
6445
6463
  #fm-toolbar-wrapper div.fm-panel .fm-title-bar .fm-toolbox {
6464
+ flex: 1;
6446
6465
  margin-top: 0;
6447
- max-width: 55%;
6448
- width: 55%;
6466
+ min-width: fit-content;
6467
+ width: fit-content;
6449
6468
  float: right;
6450
6469
  text-align: right;
6470
+ margin-left: 30px;
6451
6471
  }
6452
6472
  #fm-toolbar-wrapper div.fm-panel .fm-toolbox .fm-ui-btn {
6453
6473
  height: 38px;
@@ -6465,6 +6485,8 @@
6465
6485
  position: relative;
6466
6486
  }
6467
6487
  #fm-toolbar-wrapper div.fm-panel .fm-panel-content .fm-title-bar {
6488
+ display: flex;
6489
+ justify-content: center;
6468
6490
  clear: both;
6469
6491
  margin-bottom: 24px;
6470
6492
  }
@@ -6480,7 +6502,7 @@
6480
6502
  }
6481
6503
  #fm-toolbar-wrapper div.fm-panel .fm-panel-content .fm-title-bar .fm-title-text.fm-ui-col {
6482
6504
  text-align: left;
6483
- max-width: 45%;
6505
+ flex: 1;
6484
6506
  }
6485
6507
  #fm-toolbar-wrapper .fm-popup-modal-overlay {
6486
6508
  z-index: 20;
@@ -6506,29 +6528,37 @@
6506
6528
  #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile {
6507
6529
  padding: 20px;
6508
6530
  }
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);
6531
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-title-bar {
6532
+ display: flex;
6533
+ flex-direction: column;
6519
6534
  }
6520
- #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile-small .fm-panel-content .fm-title-bar .fm-title-text {
6535
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-title-bar .fm-title-text.fm-ui-col {
6536
+ max-width: none !important;
6521
6537
  width: 100%;
6522
- margin-bottom: 10px;
6523
- text-align: left;
6524
6538
  font-size: 18px;
6539
+ margin-bottom: 10px;
6540
+ }
6541
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox {
6542
+ display: flex;
6543
+ max-width: none !important;
6544
+ width: auto !important;
6545
+ margin-left: 0;
6546
+ }
6547
+ #fm-toolbar-wrapper div.fm-panel.fm-popup.fm-layout-mobile .fm-panel-content .fm-toolbox .fm-ui-btn:not(.fm-button-add) {
6548
+ max-width: none;
6549
+ flex: 1;
6525
6550
  }
6526
6551
  /* Conditional formatting */
6527
6552
  #fm-toolbar-wrapper .fm-popup-conditional {
6528
6553
  width: 610px;
6529
6554
  min-width: 400px;
6530
6555
  }
6556
+ #fm-toolbar-wrapper .fm-popup-conditional .fm-toolbox {
6557
+ max-width: 54% !important;
6558
+ width: 54% !important;
6559
+ }
6531
6560
  #fm-toolbar-wrapper .fm-popup-conditional .fm-title-text {
6561
+ max-width: 46% !important;
6532
6562
  width: -webkit-calc(100% - 270px);
6533
6563
  width: calc(100% - 270px);
6534
6564
  }
@@ -6564,13 +6594,15 @@
6564
6594
  color: #59a10e;
6565
6595
  }
6566
6596
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-values {
6567
- width: 150px;
6597
+ width: calc(100% - 390px);
6598
+ width: -webkit-calc(100% - 390px);
6568
6599
  }
6569
6600
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-conditions {
6570
6601
  width: 150px;
6571
6602
  }
6572
6603
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-family {
6573
- width: 150px;
6604
+ width: calc(100% - 390px);
6605
+ width: -webkit-calc(100% - 390px);
6574
6606
  }
6575
6607
  #fm-toolbar-wrapper .fm-popup-conditional .fm-condition-row .fm-font-size {
6576
6608
  width: 100px;
@@ -6604,13 +6636,6 @@
6604
6636
  #fm-toolbar-wrapper .fm-popup-conditional.fm-layout-mobile .fm-cr-delete {
6605
6637
  top: -90px;
6606
6638
  }
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
6639
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-cr-inner {
6615
6640
  font-size: 0;
6616
6641
  margin-bottom: 10px;
@@ -7168,7 +7193,7 @@
7168
7193
  }
7169
7194
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add {
7170
7195
  padding-right: 30px;
7171
- min-width: unset;
7196
+ min-width: auto;
7172
7197
  }
7173
7198
  #fm-toolbar-wrapper .fm-toolbar-ui .fm-button-add-large {
7174
7199
  padding-left: 36px;