@adaptabletools/adaptable 18.1.14 → 19.0.0-canary.0

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 (160) hide show
  1. package/package.json +2 -2
  2. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -5
  3. package/src/AdaptableOptions/AlertOptions.d.ts +2 -1
  4. package/src/AdaptableOptions/ChartingOptions.d.ts +5 -1
  5. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +5 -1
  6. package/src/AdaptableOptions/DashboardOptions.d.ts +5 -1
  7. package/src/AdaptableOptions/FlashingCellOptions.d.ts +5 -1
  8. package/src/AdaptableOptions/LayoutOptions.d.ts +5 -1
  9. package/src/AdaptableOptions/NotificationsOptions.d.ts +6 -2
  10. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +5 -1
  11. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  12. package/src/Api/ChartingApi.d.ts +2 -2
  13. package/src/Api/ColumnApi.d.ts +6 -0
  14. package/src/Api/ConfigApi.d.ts +22 -2
  15. package/src/Api/Events/LiveDataChanged.d.ts +1 -1
  16. package/src/Api/Implementation/AdaptableApiImpl.d.ts +1 -1
  17. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  18. package/src/Api/Implementation/ChartingApiImpl.js +2 -2
  19. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  20. package/src/Api/Implementation/ColumnApiImpl.js +3 -0
  21. package/src/Api/Implementation/ConfigApiImpl.d.ts +4 -1
  22. package/src/Api/Implementation/ConfigApiImpl.js +16 -1
  23. package/src/Api/Implementation/EntitlementApiImpl.d.ts +4 -1
  24. package/src/Api/Implementation/EntitlementApiImpl.js +31 -6
  25. package/src/Api/Implementation/ExportApiImpl.js +5 -7
  26. package/src/Api/Implementation/GridApiImpl.js +1 -1
  27. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/LayoutApiImpl.js +61 -0
  29. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -6
  30. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -6
  31. package/src/Api/Internal/AdaptableInternalApi.js +5 -11
  32. package/src/Api/Internal/EntitlementInternalApi.d.ts +4 -0
  33. package/src/Api/Internal/EntitlementInternalApi.js +11 -0
  34. package/src/Api/Internal/ExportInternalApi.d.ts +33 -8
  35. package/src/Api/Internal/ExportInternalApi.js +576 -5
  36. package/src/Api/Internal/NamedQueryInternalApi.d.ts +0 -1
  37. package/src/Api/Internal/NamedQueryInternalApi.js +0 -4
  38. package/src/Api/LayoutApi.d.ts +7 -0
  39. package/src/PredefinedConfig/AdaptableState.d.ts +0 -5
  40. package/src/PredefinedConfig/Common/ExtendedLayoutInfo.d.ts +12 -0
  41. package/src/PredefinedConfig/Common/FilterActionOnDataChange.d.ts +2 -1
  42. package/src/PredefinedConfig/StyledColumnState.d.ts +1 -1
  43. package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -6
  44. package/src/Redux/ActionsReducers/GridRedux.js +8 -8
  45. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +3 -3
  46. package/src/Redux/ActionsReducers/LayoutRedux.js +9 -9
  47. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
  48. package/src/Redux/ActionsReducers/NamedQueryRedux.js +1 -1
  49. package/src/Redux/ActionsReducers/PluginsRedux.d.ts +2 -2
  50. package/src/Redux/ActionsReducers/PluginsRedux.js +2 -2
  51. package/src/Redux/Store/AdaptableReduxMerger.js +3 -3
  52. package/src/Redux/Store/AdaptableStore.js +2 -4
  53. package/src/Strategy/AdaptableModuleBase.js +1 -2
  54. package/src/Strategy/ColumnFilterModule.js +1 -2
  55. package/src/Strategy/ExportModule.js +17 -44
  56. package/src/Strategy/FlashingCellModule.js +2 -10
  57. package/src/Strategy/ScheduleModule.js +4 -6
  58. package/src/Strategy/SmartEditModule.js +1 -7
  59. package/src/Strategy/TeamSharingModule.js +2 -2
  60. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -1
  61. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +1 -3
  62. package/src/Utilities/Constants/FilterConstants.d.ts +10 -0
  63. package/src/Utilities/Constants/FilterConstants.js +8 -0
  64. package/src/Utilities/Constants/GeneralConstants.d.ts +41 -4
  65. package/src/Utilities/Constants/GeneralConstants.js +42 -3
  66. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -2
  67. package/src/Utilities/Defaults/DefaultSettingsPanel.js +0 -5
  68. package/src/Utilities/Extensions/ArrayExtensions.d.ts +14 -0
  69. package/src/Utilities/Extensions/ArrayExtensions.js +65 -0
  70. package/src/Utilities/Extensions/EnumExtensions.d.ts +0 -4
  71. package/src/Utilities/Extensions/EnumExtensions.js +2 -12
  72. package/src/Utilities/Helpers/AdaptableHelper.d.ts +4 -10
  73. package/src/Utilities/Helpers/AdaptableHelper.js +7 -59
  74. package/src/Utilities/Helpers/FormatHelper.d.ts +9 -0
  75. package/src/Utilities/Helpers/FormatHelper.js +26 -14
  76. package/src/Utilities/Helpers/Helper.d.ts +0 -10
  77. package/src/Utilities/Helpers/Helper.js +0 -70
  78. package/src/Utilities/Services/ChartingService.d.ts +2 -2
  79. package/src/Utilities/Services/ChartingService.js +5 -11
  80. package/src/Utilities/Services/ModuleService.js +35 -31
  81. package/src/Utilities/Services/RowEditService.js +1 -6
  82. package/src/Utilities/Services/RowSummaryService.js +2 -2
  83. package/src/Utilities/Services/ValidationService.js +2 -16
  84. package/src/View/Alert/AlertEmptyView.js +1 -2
  85. package/src/View/Charting/ChartingStatusBarPopover.js +1 -2
  86. package/src/View/Charting/useChartingElements.js +1 -1
  87. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +2 -6
  88. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -4
  89. package/src/View/Components/FilterForm/QuickFilterForm.js +2 -12
  90. package/src/View/Components/ModuleValueSelector/index.js +2 -2
  91. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -5
  92. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -3
  93. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  94. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -7
  95. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -12
  96. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +3 -23
  97. package/src/View/Components/ToolPanel/ToolPanelPopup.js +4 -5
  98. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -3
  99. package/src/View/Components/ValueSelector/index.js +2 -2
  100. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +2 -2
  101. package/src/View/Dashboard/CustomDashboardButton.js +1 -6
  102. package/src/View/Dashboard/CustomToolbar.js +2 -9
  103. package/src/View/Dashboard/Dashboard.js +2 -4
  104. package/src/View/Dashboard/DashboardPopup.js +1 -3
  105. package/src/View/Dashboard/DashboardToolbarFactory.js +1 -2
  106. package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -2
  107. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -3
  108. package/src/View/Export/ExportViewPanel.js +2 -4
  109. package/src/View/Export/Wizard/ReportSummaryWizard.js +2 -6
  110. package/src/View/GridFilter/GridFilterExpressionEditor.js +2 -2
  111. package/src/View/GridFilter/useGridFilterExpressionEditor.js +2 -6
  112. package/src/View/Layout/LayoutViewPanel.js +1 -1
  113. package/src/View/Layout/PivotDetailsPopoup.js +1 -7
  114. package/src/View/Layout/SaveLayoutButton.js +1 -3
  115. package/src/View/Layout/Wizard/sections/AggregationsSection.js +2 -2
  116. package/src/View/Layout/Wizard/sections/ColumnsSection.js +2 -2
  117. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +2 -2
  118. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +2 -2
  119. package/src/View/Layout/Wizard/sections/RowSummarySection.js +2 -2
  120. package/src/View/Layout/Wizard/sections/SortSection.js +2 -2
  121. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +3 -3
  122. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  123. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  124. package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
  125. package/src/agGrid/ActionColumnRenderer.js +8 -22
  126. package/src/agGrid/AdaptableAgGrid.d.ts +6 -7
  127. package/src/agGrid/AdaptableAgGrid.js +165 -146
  128. package/src/agGrid/AgGridAdapter.d.ts +0 -1
  129. package/src/agGrid/AgGridAdapter.js +8 -11
  130. package/src/agGrid/AgGridColumnAdapter.d.ts +3 -1
  131. package/src/agGrid/AgGridColumnAdapter.js +40 -14
  132. package/src/agGrid/BadgeRenderer.js +4 -22
  133. package/src/agGrid/FloatingFilterWrapper.js +21 -0
  134. package/src/agGrid/buildSortedColumnStateForLayout.d.ts +1 -1
  135. package/src/agGrid/buildSortedColumnStateForLayout.js +2 -2
  136. package/src/agGrid/defaultAdaptableOptions.js +35 -30
  137. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -15
  138. package/src/env.js +2 -2
  139. package/src/metamodel/adaptable.metamodel.d.ts +89 -8
  140. package/src/metamodel/adaptable.metamodel.js +1 -1
  141. package/src/types.d.ts +10 -9
  142. package/tsconfig.esm.tsbuildinfo +1 -1
  143. package/src/Redux/ActionsReducers/QueryRedux.d.ts +0 -10
  144. package/src/Redux/ActionsReducers/QueryRedux.js +0 -20
  145. package/src/Utilities/Helpers/FormatContentHelper.d.ts +0 -22
  146. package/src/Utilities/Helpers/FormatContentHelper.js +0 -34
  147. package/src/Utilities/Services/EntitlementService.d.ts +0 -14
  148. package/src/Utilities/Services/EntitlementService.js +0 -63
  149. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -10
  150. package/src/Utilities/Services/Interface/IReportService.d.ts +0 -27
  151. package/src/Utilities/Services/Interface/IReportService.js +0 -1
  152. package/src/Utilities/Services/ReportService.d.ts +0 -41
  153. package/src/Utilities/Services/ReportService.js +0 -603
  154. package/src/Utilities/isAdaptableObject.d.ts +0 -2
  155. package/src/Utilities/isAdaptableObject.js +0 -4
  156. package/src/Utilities/reorder.d.ts +0 -1
  157. package/src/Utilities/reorder.js +0 -13
  158. package/src/Utilities/sortWithOrder.d.ts +0 -11
  159. package/src/Utilities/sortWithOrder.js +0 -50
  160. /package/src/{Utilities/Services/Interface/IEntitlementService.js → PredefinedConfig/Common/ExtendedLayoutInfo.js} +0 -0
@@ -851,12 +851,6 @@ export declare const ADAPTABLE_METAMODEL: {
851
851
  name: string;
852
852
  kind: string;
853
853
  desc: string;
854
- props: {
855
- name: string;
856
- kind: string;
857
- desc: string;
858
- ref: string;
859
- }[];
860
854
  };
861
855
  AdaptablePersistStateFunction: {
862
856
  name: string;
@@ -1367,6 +1361,17 @@ export declare const ADAPTABLE_METAMODEL: {
1367
1361
  isOpt: boolean;
1368
1362
  gridInfo?: undefined;
1369
1363
  defVal?: undefined;
1364
+ ref?: undefined;
1365
+ noCode?: undefined;
1366
+ uiLabel?: undefined;
1367
+ } | {
1368
+ name: string;
1369
+ kind: string;
1370
+ desc: string;
1371
+ isOpt: boolean;
1372
+ gridInfo: string;
1373
+ defVal: string;
1374
+ ref?: undefined;
1370
1375
  noCode?: undefined;
1371
1376
  uiLabel?: undefined;
1372
1377
  } | {
@@ -1376,6 +1381,7 @@ export declare const ADAPTABLE_METAMODEL: {
1376
1381
  isOpt: boolean;
1377
1382
  gridInfo: string;
1378
1383
  defVal: string;
1384
+ ref: string;
1379
1385
  noCode?: undefined;
1380
1386
  uiLabel?: undefined;
1381
1387
  } | {
@@ -1386,6 +1392,7 @@ export declare const ADAPTABLE_METAMODEL: {
1386
1392
  gridInfo: string;
1387
1393
  noCode: string;
1388
1394
  defVal: string;
1395
+ ref?: undefined;
1389
1396
  uiLabel?: undefined;
1390
1397
  } | {
1391
1398
  name: string;
@@ -1396,6 +1403,7 @@ export declare const ADAPTABLE_METAMODEL: {
1396
1403
  gridInfo: string;
1397
1404
  noCode: string;
1398
1405
  defVal: string;
1406
+ ref?: undefined;
1399
1407
  } | {
1400
1408
  name: string;
1401
1409
  kind: string;
@@ -1403,6 +1411,7 @@ export declare const ADAPTABLE_METAMODEL: {
1403
1411
  isOpt: boolean;
1404
1412
  defVal: string;
1405
1413
  gridInfo?: undefined;
1414
+ ref?: undefined;
1406
1415
  noCode?: undefined;
1407
1416
  uiLabel?: undefined;
1408
1417
  })[];
@@ -1909,7 +1918,7 @@ export declare const ADAPTABLE_METAMODEL: {
1909
1918
  isOpt: boolean;
1910
1919
  noCode: string;
1911
1920
  defVal: string;
1912
- ref?: undefined;
1921
+ ref: string;
1913
1922
  })[];
1914
1923
  };
1915
1924
  ChartingState: {
@@ -2618,6 +2627,11 @@ export declare const ADAPTABLE_METAMODEL: {
2618
2627
  ref: string;
2619
2628
  }[];
2620
2629
  };
2630
+ DashboardButtonsLocation: {
2631
+ name: string;
2632
+ kind: string;
2633
+ desc: string;
2634
+ };
2621
2635
  DashboardOptions: {
2622
2636
  name: string;
2623
2637
  kind: string;
@@ -2629,6 +2643,7 @@ export declare const ADAPTABLE_METAMODEL: {
2629
2643
  isOpt: boolean;
2630
2644
  noCode: string;
2631
2645
  defVal: string;
2646
+ ref: string;
2632
2647
  gridInfo?: undefined;
2633
2648
  } | {
2634
2649
  name: string;
@@ -2638,6 +2653,7 @@ export declare const ADAPTABLE_METAMODEL: {
2638
2653
  gridInfo: string;
2639
2654
  noCode: string;
2640
2655
  defVal: string;
2656
+ ref?: undefined;
2641
2657
  } | {
2642
2658
  name: string;
2643
2659
  kind: string;
@@ -2645,6 +2661,7 @@ export declare const ADAPTABLE_METAMODEL: {
2645
2661
  isOpt: boolean;
2646
2662
  noCode?: undefined;
2647
2663
  defVal?: undefined;
2664
+ ref?: undefined;
2648
2665
  gridInfo?: undefined;
2649
2666
  })[];
2650
2667
  };
@@ -2921,6 +2938,11 @@ export declare const ADAPTABLE_METAMODEL: {
2921
2938
  ref: string;
2922
2939
  })[];
2923
2940
  };
2941
+ DisplayRowGroups: {
2942
+ name: string;
2943
+ kind: string;
2944
+ desc: string;
2945
+ };
2924
2946
  EditActionRowFormContext: {
2925
2947
  name: string;
2926
2948
  kind: string;
@@ -3229,6 +3251,11 @@ export declare const ADAPTABLE_METAMODEL: {
3229
3251
  noCode?: undefined;
3230
3252
  })[];
3231
3253
  };
3254
+ ExtendedLayoutInfo: {
3255
+ name: string;
3256
+ kind: string;
3257
+ desc: string;
3258
+ };
3232
3259
  ExternalChartingContext: {
3233
3260
  name: string;
3234
3261
  kind: string;
@@ -3403,12 +3430,14 @@ export declare const ADAPTABLE_METAMODEL: {
3403
3430
  name: string;
3404
3431
  kind: string;
3405
3432
  desc: string;
3433
+ ref: string;
3406
3434
  isOpt?: undefined;
3407
3435
  } | {
3408
3436
  name: string;
3409
3437
  kind: string;
3410
3438
  desc: string;
3411
3439
  isOpt: boolean;
3440
+ ref?: undefined;
3412
3441
  })[];
3413
3442
  };
3414
3443
  FilterFormOptions: {
@@ -3461,6 +3490,11 @@ export declare const ADAPTABLE_METAMODEL: {
3461
3490
  desc: string;
3462
3491
  }[];
3463
3492
  };
3493
+ FilterTrigger: {
3494
+ name: string;
3495
+ kind: string;
3496
+ desc: string;
3497
+ };
3464
3498
  FlashingCellDefinition: {
3465
3499
  name: string;
3466
3500
  kind: string;
@@ -3519,6 +3553,11 @@ export declare const ADAPTABLE_METAMODEL: {
3519
3553
  isOpt: boolean;
3520
3554
  }[];
3521
3555
  };
3556
+ FlashTarget: {
3557
+ name: string;
3558
+ kind: string;
3559
+ desc: string;
3560
+ };
3522
3561
  FormatColumn: {
3523
3562
  name: string;
3524
3563
  kind: string;
@@ -4011,6 +4050,15 @@ export declare const ADAPTABLE_METAMODEL: {
4011
4050
  defVal: string;
4012
4051
  noCode?: undefined;
4013
4052
  ref?: undefined;
4053
+ } | {
4054
+ name: string;
4055
+ kind: string;
4056
+ desc: string;
4057
+ isOpt: boolean;
4058
+ gridInfo: string;
4059
+ defVal: string;
4060
+ ref: string;
4061
+ noCode?: undefined;
4014
4062
  } | {
4015
4063
  name: string;
4016
4064
  kind: string;
@@ -4394,6 +4442,11 @@ export declare const ADAPTABLE_METAMODEL: {
4394
4442
  isOpt: boolean;
4395
4443
  }[];
4396
4444
  };
4445
+ PopupType: {
4446
+ name: string;
4447
+ kind: string;
4448
+ desc: string;
4449
+ };
4397
4450
  PredefinedConfig: {
4398
4451
  name: string;
4399
4452
  kind: string;
@@ -4534,6 +4587,7 @@ export declare const ADAPTABLE_METAMODEL: {
4534
4587
  defVal: string;
4535
4588
  gridInfo?: undefined;
4536
4589
  noCode?: undefined;
4590
+ ref?: undefined;
4537
4591
  } | {
4538
4592
  name: string;
4539
4593
  kind: string;
@@ -4542,6 +4596,7 @@ export declare const ADAPTABLE_METAMODEL: {
4542
4596
  gridInfo: string;
4543
4597
  defVal: string;
4544
4598
  noCode?: undefined;
4599
+ ref?: undefined;
4545
4600
  } | {
4546
4601
  name: string;
4547
4602
  kind: string;
@@ -4550,6 +4605,7 @@ export declare const ADAPTABLE_METAMODEL: {
4550
4605
  gridInfo: string;
4551
4606
  noCode: string;
4552
4607
  defVal: string;
4608
+ ref: string;
4553
4609
  } | {
4554
4610
  name: string;
4555
4611
  kind: string;
@@ -4558,6 +4614,7 @@ export declare const ADAPTABLE_METAMODEL: {
4558
4614
  defVal?: undefined;
4559
4615
  gridInfo?: undefined;
4560
4616
  noCode?: undefined;
4617
+ ref?: undefined;
4561
4618
  } | {
4562
4619
  name: string;
4563
4620
  kind: string;
@@ -4566,6 +4623,7 @@ export declare const ADAPTABLE_METAMODEL: {
4566
4623
  noCode: string;
4567
4624
  defVal: string;
4568
4625
  gridInfo?: undefined;
4626
+ ref?: undefined;
4569
4627
  })[];
4570
4628
  };
4571
4629
  QuickSearchContext: {
@@ -4906,6 +4964,11 @@ export declare const ADAPTABLE_METAMODEL: {
4906
4964
  kind: string;
4907
4965
  desc: string;
4908
4966
  };
4967
+ SaveChartBehaviour: {
4968
+ name: string;
4969
+ kind: string;
4970
+ desc: string;
4971
+ };
4909
4972
  Schedule: {
4910
4973
  name: string;
4911
4974
  kind: string;
@@ -5020,6 +5083,7 @@ export declare const ADAPTABLE_METAMODEL: {
5020
5083
  gridInfo: string;
5021
5084
  noCode: string;
5022
5085
  defVal: string;
5086
+ ref?: undefined;
5023
5087
  } | {
5024
5088
  name: string;
5025
5089
  kind: string;
@@ -5028,6 +5092,7 @@ export declare const ADAPTABLE_METAMODEL: {
5028
5092
  gridInfo?: undefined;
5029
5093
  noCode?: undefined;
5030
5094
  defVal?: undefined;
5095
+ ref?: undefined;
5031
5096
  } | {
5032
5097
  name: string;
5033
5098
  kind: string;
@@ -5036,6 +5101,16 @@ export declare const ADAPTABLE_METAMODEL: {
5036
5101
  defVal: string;
5037
5102
  gridInfo?: undefined;
5038
5103
  noCode?: undefined;
5104
+ ref?: undefined;
5105
+ } | {
5106
+ name: string;
5107
+ kind: string;
5108
+ desc: string;
5109
+ isOpt: boolean;
5110
+ defVal: string;
5111
+ ref: string;
5112
+ gridInfo?: undefined;
5113
+ noCode?: undefined;
5039
5114
  } | {
5040
5115
  name: string;
5041
5116
  kind: string;
@@ -5044,6 +5119,7 @@ export declare const ADAPTABLE_METAMODEL: {
5044
5119
  gridInfo: string;
5045
5120
  defVal: string;
5046
5121
  noCode?: undefined;
5122
+ ref?: undefined;
5047
5123
  })[];
5048
5124
  };
5049
5125
  SharedEntitiesContext: {
@@ -5405,7 +5481,12 @@ export declare const ADAPTABLE_METAMODEL: {
5405
5481
  isOpt: boolean;
5406
5482
  }[];
5407
5483
  };
5408
- TOAST_POSITIONS: {
5484
+ ToastPositions: {
5485
+ name: string;
5486
+ kind: string;
5487
+ desc: string;
5488
+ };
5489
+ ToastTransitions: {
5409
5490
  name: string;
5410
5491
  kind: string;
5411
5492
  desc: string;