@adaptabletools/adaptable 16.0.0-canary.1 → 16.0.0-canary.3

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 (169) hide show
  1. package/base.css +31 -31
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +155 -155
  4. package/index.css +39 -39
  5. package/index.css.map +1 -1
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -1
  10. package/src/AdaptableOptions/ActionRowOptions.d.ts +8 -5
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +7 -2
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +6 -2
  13. package/src/AdaptableOptions/FilterOptions.d.ts +1 -0
  14. package/src/AdaptableOptions/FormatColumnOptions.d.ts +51 -0
  15. package/src/AdaptableOptions/GroupingOptions.d.ts +0 -13
  16. package/src/AdaptableOptions/{SearchOptions.d.ts → QuickSearchOptions.d.ts} +3 -3
  17. package/src/AdaptableOptions/QuickSearchOptions.js +2 -0
  18. package/src/AdaptableOptions/TeamSharingOptions.d.ts +5 -0
  19. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +8 -41
  20. package/src/Api/ColumnApi.d.ts +18 -7
  21. package/src/Api/DataChangeHistoryApi.d.ts +6 -0
  22. package/src/Api/EventApi.d.ts +19 -6
  23. package/src/Api/Events/ChexboxColumnClicked.d.ts +1 -0
  24. package/src/Api/Events/ScheduleTriggered.d.ts +11 -0
  25. package/src/Api/Events/ScheduleTriggered.js +2 -0
  26. package/src/Api/Implementation/ActionRowApiImpl.js +7 -5
  27. package/src/Api/Implementation/ApiBase.d.ts +3 -2
  28. package/src/Api/Implementation/ApiBase.js +5 -2
  29. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -0
  30. package/src/Api/Implementation/ChartingApiImpl.js +4 -0
  31. package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -1
  32. package/src/Api/Implementation/ColumnApiImpl.js +22 -3
  33. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  34. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +3 -0
  35. package/src/Api/Implementation/OptionsApiImpl.d.ts +3 -2
  36. package/src/Api/Implementation/OptionsApiImpl.js +5 -2
  37. package/src/Api/Implementation/PredicateApiImpl.d.ts +5 -5
  38. package/src/Api/Implementation/PredicateApiImpl.js +8 -8
  39. package/src/Api/Implementation/ScheduleApiImpl.d.ts +4 -0
  40. package/src/Api/Implementation/ScheduleApiImpl.js +5 -0
  41. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +0 -3
  42. package/src/Api/Implementation/StyledColumnApiImpl.js +0 -26
  43. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -4
  44. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -0
  45. package/src/Api/Internal/AdaptableInternalApi.js +2 -2
  46. package/src/Api/Internal/AlertInternalApi.js +7 -2
  47. package/src/Api/Internal/FilterInternalApi.js +8 -4
  48. package/src/Api/Internal/FormatColumnInternalApi.js +12 -14
  49. package/src/Api/Internal/ScheduleInternalApi.d.ts +8 -0
  50. package/src/Api/Internal/ScheduleInternalApi.js +20 -0
  51. package/src/Api/Internal/StyledColumnInternalApi.d.ts +5 -2
  52. package/src/Api/Internal/StyledColumnInternalApi.js +29 -2
  53. package/src/Api/Internal/UserInterfaceInternalApi.d.ts +5 -0
  54. package/src/Api/Internal/UserInterfaceInternalApi.js +18 -0
  55. package/src/Api/OptionsApi.d.ts +7 -3
  56. package/src/Api/PredicateApi.d.ts +5 -5
  57. package/src/Api/StyledColumnApi.d.ts +0 -14
  58. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
  59. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +7 -7
  60. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +8 -15
  61. package/src/PredefinedConfig/Common/AdaptablePredicate.js +65 -41
  62. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  63. package/src/PredefinedConfig/StyledColumnState.d.ts +3 -2
  64. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  65. package/src/Redux/ActionsReducers/SystemRedux.d.ts +5 -0
  66. package/src/Redux/ActionsReducers/SystemRedux.js +17 -3
  67. package/src/Redux/Store/AdaptableStore.js +2 -3
  68. package/src/Strategy/AdaptableModuleBase.d.ts +6 -6
  69. package/src/Strategy/FlashingCellModule.js +6 -2
  70. package/src/Strategy/Interface/IModule.d.ts +2 -2
  71. package/src/Strategy/ScheduleModule.js +3 -2
  72. package/src/Strategy/StyledColumnModule.js +24 -15
  73. package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
  74. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +7 -3
  75. package/src/Utilities/Helpers/AdaptableHelper.js +1 -1
  76. package/src/Utilities/MenuItem.d.ts +4 -4
  77. package/src/Utilities/Services/MetamodelService.js +5 -1
  78. package/src/Utilities/Services/ModuleService.js +1 -1
  79. package/src/Utilities/Services/QueryLanguageService.js +1 -1
  80. package/src/Utilities/Services/RowEditService.js +1 -1
  81. package/src/Utilities/Services/TeamSharingService.d.ts +2 -0
  82. package/src/Utilities/Services/TeamSharingService.js +60 -3
  83. package/src/Utilities/Services/ValidationService.js +6 -2
  84. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +6 -0
  85. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +2 -0
  86. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.d.ts +1 -1
  87. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +1 -1
  88. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +6 -6
  89. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +32 -23
  90. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +3 -3
  91. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +5 -5
  92. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +1 -1
  93. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +2 -2
  94. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +3 -3
  95. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +11 -11
  96. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +3 -3
  97. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +11 -21
  98. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +3 -3
  99. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +6 -7
  100. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +3 -3
  101. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +3 -3
  102. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +4 -1
  103. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +3 -4
  104. package/src/View/AdaptableWizardView/Wizard.d.ts +4 -1
  105. package/src/View/AdaptableWizardView/Wizard.js +11 -10
  106. package/src/View/Charting/useChartingElements.js +1 -1
  107. package/src/View/Components/AdaptableButton/index.d.ts +3 -0
  108. package/src/View/Components/AdaptableButton/index.js +18 -0
  109. package/src/View/Components/AdaptableIconComponent/index.d.ts +7 -0
  110. package/src/View/Components/AdaptableIconComponent/index.js +16 -0
  111. package/src/View/Components/AdaptableIconComponent/useCustomIcon.d.ts +2 -0
  112. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +12 -0
  113. package/src/{components → View/Components}/Badge/index.d.ts +1 -1
  114. package/src/{components → View/Components}/Badge/index.js +1 -1
  115. package/src/View/Components/FilterForm/FilterForm.js +1 -1
  116. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  117. package/src/View/Components/FilterForm/QuickFilterForm.js +3 -2
  118. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
  119. package/src/View/Components/Panels/PanelWithImage.d.ts +3 -3
  120. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
  121. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +2 -3
  122. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  123. package/src/View/Components/PredicateEditor/PredicateEditor.js +4 -4
  124. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -2
  125. package/src/View/Dashboard/Dashboard.js +4 -4
  126. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -0
  127. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +13 -7
  128. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -1
  129. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  130. package/src/View/DataChangeHistory/buildActionColumnButton.js +9 -2
  131. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  132. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
  133. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  134. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +1 -1
  135. package/src/View/QuickSearch/QuickSearchViewPanel.js +1 -1
  136. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
  137. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  138. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -5
  139. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +2 -9
  140. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +0 -1
  141. package/src/View/UIHelper.d.ts +2 -2
  142. package/src/agGrid/ActionColumnRenderer.d.ts +0 -2
  143. package/src/agGrid/ActionColumnRenderer.js +20 -5
  144. package/src/agGrid/Adaptable.d.ts +5 -2
  145. package/src/agGrid/Adaptable.js +61 -25
  146. package/src/agGrid/BadgeRenderer.js +19 -20
  147. package/src/agGrid/CheckboxRenderer.js +1 -1
  148. package/src/agGrid/agGridHelper.js +4 -2
  149. package/src/agGrid/agGridMenuHelper.js +11 -4
  150. package/src/agGrid/attachAddaptableColumnTypes.d.ts +1 -0
  151. package/src/agGrid/attachAddaptableColumnTypes.js +5 -4
  152. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  153. package/src/components/Icon/index.d.ts +11 -0
  154. package/src/components/{AdaptableIconComponent → Icon}/index.js +10 -10
  155. package/src/components/IconSelector/IconSelector.js +3 -3
  156. package/src/components/SimpleButton/index.js +10 -10
  157. package/src/components/Toggle/Toggle.d.ts +2 -2
  158. package/src/components/Toggle/Toggle.js +2 -2
  159. package/src/components/icons/index.d.ts +4 -4
  160. package/src/components/icons/index.js +6 -6
  161. package/src/metamodel/adaptable.metamodel.d.ts +125 -57
  162. package/src/metamodel/adaptable.metamodel.js +1 -1
  163. package/src/types.d.ts +9 -6
  164. package/version.d.ts +1 -1
  165. package/version.js +1 -1
  166. package/src/View/Components/AdaptableViewIcon/index.d.ts +0 -10
  167. package/src/View/Components/AdaptableViewIcon/index.js +0 -18
  168. package/src/components/AdaptableIconComponent/index.d.ts +0 -11
  169. /package/src/AdaptableOptions/{SearchOptions.js → FormatColumnOptions.js} +0 -0
@@ -327,27 +327,27 @@ export declare const ADAPTABLE_METAMODEL: {
327
327
  desc: string;
328
328
  }[];
329
329
  };
330
- AdaptableDashboardToolbar: {
330
+ AdaptableCustomIcon: {
331
331
  name: string;
332
332
  kind: string;
333
333
  desc: string;
334
+ props: {
335
+ name: string;
336
+ kind: string;
337
+ desc: string;
338
+ }[];
334
339
  };
335
- AdaptableDataChangeHistoryAction: {
340
+ AdaptableDashboardToolbar: {
336
341
  name: string;
337
342
  kind: string;
338
343
  desc: string;
339
344
  };
340
- AdaptableElementIcon: {
345
+ AdaptableDataChangeHistoryAction: {
341
346
  name: string;
342
347
  kind: string;
343
348
  desc: string;
344
- props: {
345
- name: string;
346
- kind: string;
347
- desc: string;
348
- }[];
349
349
  };
350
- AdaptableExternalIcon: {
350
+ AdaptableElementIcon: {
351
351
  name: string;
352
352
  kind: string;
353
353
  desc: string;
@@ -470,27 +470,6 @@ export declare const ADAPTABLE_METAMODEL: {
470
470
  kind: string;
471
471
  desc: string;
472
472
  };
473
- AdaptableInternalIcon: {
474
- name: string;
475
- kind: string;
476
- desc: string;
477
- props: ({
478
- name: string;
479
- kind: string;
480
- desc: string;
481
- isOpt?: undefined;
482
- } | {
483
- name: string;
484
- kind: string;
485
- desc: string;
486
- isOpt: boolean;
487
- })[];
488
- };
489
- AdaptableInternalIconName: {
490
- name: string;
491
- kind: string;
492
- desc: string;
493
- };
494
473
  AdaptableLoadStateFunction: {
495
474
  name: string;
496
475
  kind: string;
@@ -920,6 +899,27 @@ export declare const ADAPTABLE_METAMODEL: {
920
899
  isOpt: boolean;
921
900
  }[];
922
901
  };
902
+ AdaptableSystemIcon: {
903
+ name: string;
904
+ kind: string;
905
+ desc: string;
906
+ props: ({
907
+ name: string;
908
+ kind: string;
909
+ desc: string;
910
+ isOpt?: undefined;
911
+ } | {
912
+ name: string;
913
+ kind: string;
914
+ desc: string;
915
+ isOpt: boolean;
916
+ })[];
917
+ };
918
+ AdaptableSystemIconName: {
919
+ name: string;
920
+ kind: string;
921
+ desc: string;
922
+ };
923
923
  AdaptableTheme: {
924
924
  name: string;
925
925
  kind: string;
@@ -964,6 +964,22 @@ export declare const ADAPTABLE_METAMODEL: {
964
964
  kind: string;
965
965
  desc: string;
966
966
  };
967
+ AgGridConfig: {
968
+ name: string;
969
+ kind: string;
970
+ desc: string;
971
+ props: ({
972
+ name: string;
973
+ kind: string;
974
+ desc: string;
975
+ ref: string;
976
+ } | {
977
+ name: string;
978
+ kind: string;
979
+ desc: string;
980
+ ref?: undefined;
981
+ })[];
982
+ };
967
983
  AlertButton: {
968
984
  name: string;
969
985
  kind: string;
@@ -1912,6 +1928,22 @@ export declare const ADAPTABLE_METAMODEL: {
1912
1928
  kind: string;
1913
1929
  desc: string;
1914
1930
  };
1931
+ CustomIcon: {
1932
+ name: string;
1933
+ kind: string;
1934
+ desc: string;
1935
+ props: ({
1936
+ name: string;
1937
+ kind: string;
1938
+ desc: string;
1939
+ ref: string;
1940
+ } | {
1941
+ name: string;
1942
+ kind: string;
1943
+ desc: string;
1944
+ ref?: undefined;
1945
+ })[];
1946
+ };
1915
1947
  CustomQueryVariableContext: {
1916
1948
  name: string;
1917
1949
  kind: string;
@@ -2975,6 +3007,17 @@ export declare const ADAPTABLE_METAMODEL: {
2975
3007
  defVal?: undefined;
2976
3008
  })[];
2977
3009
  };
3010
+ FormatColumnOptions: {
3011
+ name: string;
3012
+ kind: string;
3013
+ desc: string;
3014
+ props: {
3015
+ name: string;
3016
+ kind: string;
3017
+ desc: string;
3018
+ isOpt: boolean;
3019
+ }[];
3020
+ };
2978
3021
  FormatColumnPredicate: {
2979
3022
  name: string;
2980
3023
  kind: string;
@@ -3906,7 +3949,7 @@ export declare const ADAPTABLE_METAMODEL: {
3906
3949
  ref: string;
3907
3950
  }[];
3908
3951
  };
3909
- PredicateDefHandlerParams: {
3952
+ PredicateDefHandlerContext: {
3910
3953
  name: string;
3911
3954
  kind: string;
3912
3955
  desc: string;
@@ -3915,11 +3958,19 @@ export declare const ADAPTABLE_METAMODEL: {
3915
3958
  kind: string;
3916
3959
  desc: string;
3917
3960
  ref: string;
3961
+ isOpt?: undefined;
3918
3962
  } | {
3919
3963
  name: string;
3920
3964
  kind: string;
3921
3965
  desc: string;
3922
3966
  ref?: undefined;
3967
+ isOpt?: undefined;
3968
+ } | {
3969
+ name: string;
3970
+ kind: string;
3971
+ desc: string;
3972
+ isOpt: boolean;
3973
+ ref?: undefined;
3923
3974
  })[];
3924
3975
  };
3925
3976
  PredicateDefInput: {
@@ -3986,6 +4037,36 @@ export declare const ADAPTABLE_METAMODEL: {
3986
4037
  isOpt: boolean;
3987
4038
  }[];
3988
4039
  };
4040
+ QuickSearchOptions: {
4041
+ name: string;
4042
+ kind: string;
4043
+ desc: string;
4044
+ props: ({
4045
+ name: string;
4046
+ kind: string;
4047
+ desc: string;
4048
+ isOpt: boolean;
4049
+ gridInfo: string;
4050
+ defVal: string;
4051
+ noCode?: undefined;
4052
+ } | {
4053
+ name: string;
4054
+ kind: string;
4055
+ desc: string;
4056
+ isOpt: boolean;
4057
+ defVal: string;
4058
+ gridInfo?: undefined;
4059
+ noCode?: undefined;
4060
+ } | {
4061
+ name: string;
4062
+ kind: string;
4063
+ desc: string;
4064
+ isOpt: boolean;
4065
+ gridInfo: string;
4066
+ noCode: string;
4067
+ defVal: string;
4068
+ })[];
4069
+ };
3989
4070
  QuickSearchState: {
3990
4071
  name: string;
3991
4072
  kind: string;
@@ -4215,37 +4296,17 @@ export declare const ADAPTABLE_METAMODEL: {
4215
4296
  isOpt: boolean;
4216
4297
  }[];
4217
4298
  };
4218
- SearchOptions: {
4299
+ SelectedCellInfo: {
4219
4300
  name: string;
4220
4301
  kind: string;
4221
4302
  desc: string;
4222
- props: ({
4223
- name: string;
4224
- kind: string;
4225
- desc: string;
4226
- isOpt: boolean;
4227
- gridInfo: string;
4228
- defVal: string;
4229
- noCode?: undefined;
4230
- } | {
4231
- name: string;
4232
- kind: string;
4233
- desc: string;
4234
- isOpt: boolean;
4235
- defVal: string;
4236
- gridInfo?: undefined;
4237
- noCode?: undefined;
4238
- } | {
4303
+ props: {
4239
4304
  name: string;
4240
4305
  kind: string;
4241
4306
  desc: string;
4242
- isOpt: boolean;
4243
- gridInfo: string;
4244
- noCode: string;
4245
- defVal: string;
4246
- })[];
4307
+ }[];
4247
4308
  };
4248
- SelectedCellInfo: {
4309
+ SelectedRowInfo: {
4249
4310
  name: string;
4250
4311
  kind: string;
4251
4312
  desc: string;
@@ -4255,7 +4316,7 @@ export declare const ADAPTABLE_METAMODEL: {
4255
4316
  desc: string;
4256
4317
  }[];
4257
4318
  };
4258
- SelectedRowInfo: {
4319
+ ServerValidationContext: {
4259
4320
  name: string;
4260
4321
  kind: string;
4261
4322
  desc: string;
@@ -4265,7 +4326,7 @@ export declare const ADAPTABLE_METAMODEL: {
4265
4326
  desc: string;
4266
4327
  }[];
4267
4328
  };
4268
- ServerValidationContext: {
4329
+ SetPrimaryKeyValueContext: {
4269
4330
  name: string;
4270
4331
  kind: string;
4271
4332
  desc: string;
@@ -4651,6 +4712,13 @@ export declare const ADAPTABLE_METAMODEL: {
4651
4712
  defVal: string;
4652
4713
  isOpt?: undefined;
4653
4714
  gridInfo?: undefined;
4715
+ } | {
4716
+ name: string;
4717
+ kind: string;
4718
+ desc: string;
4719
+ isOpt: boolean;
4720
+ defVal: string;
4721
+ gridInfo?: undefined;
4654
4722
  } | {
4655
4723
  name: string;
4656
4724
  kind: string;