@adaptabletools/adaptable 10.0.4-canary.5 → 11.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 (233) hide show
  1. package/base.css +19 -15
  2. package/bundle.cjs.js +121 -115
  3. package/index.css +20 -17
  4. package/package.json +32 -32
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +9 -4
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +13 -2
  9. package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
  10. package/src/AdaptableOptions/DashboardOptions.d.ts +7 -9
  11. package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
  12. package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
  13. package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
  14. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  16. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -7
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +14 -2
  18. package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -15
  20. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -0
  21. package/src/Api/AdaptableApi.d.ts +6 -6
  22. package/src/Api/ChartingApi.d.ts +9 -0
  23. package/src/Api/{ChartApi.js → ChartingApi.js} +0 -0
  24. package/src/Api/ColumnApi.d.ts +11 -1
  25. package/src/Api/ConfigApi.d.ts +0 -12
  26. package/src/Api/EventApi.d.ts +3 -3
  27. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  28. package/src/Api/Events/FlashingCellDisplayed.d.ts +2 -2
  29. package/src/Api/Events/SearchChanged.d.ts +1 -1
  30. package/src/Api/FlashingCellApi.d.ts +35 -24
  31. package/src/Api/GridApi.d.ts +3 -3
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -2
  34. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
  35. package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
  36. package/src/Api/Implementation/ChartingApiImpl.js +10 -0
  37. package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
  38. package/src/Api/Implementation/ColumnApiImpl.js +9 -3
  39. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  40. package/src/Api/Implementation/ConfigApiImpl.js +0 -16
  41. package/src/Api/Implementation/DashboardApiImpl.js +1 -1
  42. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +8 -4
  43. package/src/Api/Implementation/FlashingCellApiImpl.js +42 -29
  44. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  45. package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
  46. package/src/Api/Implementation/GridApiImpl.js +5 -1
  47. package/src/Api/Implementation/InternalApiImpl.d.ts +0 -5
  48. package/src/Api/Implementation/InternalApiImpl.js +1 -15
  49. package/src/Api/Implementation/LayoutApiImpl.js +1 -1
  50. package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
  51. package/src/Api/Implementation/PluginsApiImpl.js +0 -6
  52. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  53. package/src/Api/Implementation/QueryApiImpl.js +1 -1
  54. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  55. package/src/Api/InternalApi.d.ts +0 -5
  56. package/src/Api/PluginsApi.d.ts +0 -2
  57. package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
  59. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
  60. package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
  61. package/src/PredefinedConfig/Common/Enums.js +1 -0
  62. package/src/PredefinedConfig/Common/Menu.d.ts +15 -19
  63. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
  64. package/src/PredefinedConfig/Common/Types.d.ts +5 -5
  65. package/src/PredefinedConfig/Common/Types.js +0 -2
  66. package/src/PredefinedConfig/DashboardState.d.ts +4 -4
  67. package/src/PredefinedConfig/FlashingCellState.d.ts +16 -20
  68. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
  69. package/src/PredefinedConfig/SystemState.d.ts +0 -4
  70. package/src/PredefinedConfig/ThemeState.d.ts +2 -1
  71. package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
  72. package/src/Redux/ActionsReducers/DashboardRedux.js +2 -12
  73. package/src/Redux/ActionsReducers/PopupRedux.d.ts +0 -2
  74. package/src/Redux/ActionsReducers/SystemRedux.d.ts +0 -12
  75. package/src/Redux/ActionsReducers/SystemRedux.js +1 -21
  76. package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -2
  77. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
  78. package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
  79. package/src/Redux/Store/AdaptableStore.js +21 -21
  80. package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
  81. package/src/Strategy/AdaptableModuleBase.js +0 -3
  82. package/src/Strategy/AlertModule.js +2 -2
  83. package/src/Strategy/CalculatedColumnModule.js +17 -12
  84. package/src/Strategy/ChartingModule.d.ts +7 -0
  85. package/src/Strategy/ChartingModule.js +15 -0
  86. package/src/Strategy/ConditionalStyleModule.js +1 -1
  87. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  88. package/src/Strategy/FilterModule.js +3 -2
  89. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  90. package/src/Strategy/FlashingCellModule.js +35 -19
  91. package/src/Strategy/FormatColumnModule.js +2 -2
  92. package/src/Strategy/Interface/IModule.d.ts +0 -1
  93. package/src/Strategy/LayoutModule.js +15 -3
  94. package/src/Strategy/QueryModule.d.ts +1 -1
  95. package/src/Strategy/QueryModule.js +1 -3
  96. package/src/Strategy/SetingsPanelModule.d.ts +1 -0
  97. package/src/Strategy/SetingsPanelModule.js +7 -1
  98. package/src/Strategy/TeamSharingModule.js +1 -1
  99. package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
  100. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +11 -0
  101. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
  102. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
  103. package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
  104. package/src/Utilities/Constants/ConfigConstants.js +1 -2
  105. package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
  106. package/src/Utilities/Constants/GeneralConstants.js +1 -12
  107. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -2
  108. package/src/Utilities/Constants/ModuleConstants.js +2 -3
  109. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -18
  110. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +2 -1
  111. package/src/Utilities/ExpressionFunctions/aggregationExpressionFunctions.js +1 -1
  112. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
  113. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
  114. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  115. package/src/Utilities/Helpers/AdaptableHelper.js +4 -4
  116. package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
  117. package/src/Utilities/ObjectFactory.d.ts +0 -10
  118. package/src/Utilities/ObjectFactory.js +6 -67
  119. package/src/Utilities/Services/EntitlementService.js +1 -1
  120. package/src/Utilities/Services/LicenseService.js +1 -1
  121. package/src/Utilities/Services/ModuleService.js +7 -11
  122. package/src/Utilities/Services/ReportService.js +1 -1
  123. package/src/View/AdaptableView.js +2 -8
  124. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
  125. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
  126. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -9
  127. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +3 -3
  128. package/src/View/AdaptableWizardView/index.js +1 -1
  129. package/src/View/Alert/AlertEmptyView.js +1 -1
  130. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
  131. package/src/View/Alert/Wizard/AlertWizard.js +3 -3
  132. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -2
  133. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  134. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +0 -1
  135. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
  136. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +11 -24
  137. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +16 -4
  138. package/src/View/Components/FilterForm/QuickFilterForm.js +2 -2
  139. package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
  140. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  141. package/src/View/Components/NewScopeComponent.js +1 -1
  142. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +9 -7
  143. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +3 -1
  144. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +19 -6
  145. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
  146. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
  147. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +46 -81
  148. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  149. package/src/View/Components/ToolPanel/ToolPanelPopup.js +11 -4
  150. package/src/View/Components/ValueSelector/index.d.ts +2 -0
  151. package/src/View/Components/ValueSelector/index.js +5 -5
  152. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +10 -5
  153. package/src/View/CustomSort/Wizard/CustomSortWizard.js +16 -4
  154. package/src/View/Dashboard/Dashboard.js +14 -36
  155. package/src/View/Dashboard/DashboardPopup.js +24 -16
  156. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -2
  157. package/src/View/Export/Wizard/NewReportWizard.js +13 -3
  158. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +17 -26
  159. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +19 -2
  160. package/src/View/FlashingCell/Wizard/{FlashingCellDurationWizardSection.d.ts → FlashingCellSettingsWizardSection.d.ts} +3 -3
  161. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +81 -0
  162. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +6 -8
  163. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
  164. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  165. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +10 -5
  166. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +8 -3
  167. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +13 -5
  168. package/src/View/GridInfo/GridInfoPopup.js +3 -2
  169. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
  170. package/src/View/Query/QueryViewPanel.js +12 -9
  171. package/src/View/Query/Wizard/NamedQueryWizard.js +13 -8
  172. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  173. package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
  174. package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
  175. package/src/View/Shortcut/shortcutKeys.js +0 -1
  176. package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
  177. package/src/View/SpecialColumnSettingsWizardStep.js +63 -0
  178. package/src/View/UIHelper.d.ts +0 -4
  179. package/src/View/UIHelper.js +1 -34
  180. package/src/View/Wizard/AdaptableWizard.js +1 -1
  181. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -0
  182. package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
  183. package/src/agGrid/Adaptable.d.ts +10 -7
  184. package/src/agGrid/Adaptable.js +80 -57
  185. package/src/agGrid/agGridHelper.d.ts +1 -2
  186. package/src/agGrid/agGridHelper.js +8 -5
  187. package/src/agGrid/agGridMenuHelper.js +12 -8
  188. package/src/components/ApplicationIcon.d.ts +1 -1
  189. package/src/components/Dashboard/Dashboard.js +1 -1
  190. package/src/components/Dashboard/DashboardManager.d.ts +5 -3
  191. package/src/components/Dashboard/DashboardManager.js +33 -27
  192. package/src/components/DropdownButton/renderItem.js +1 -1
  193. package/src/components/FormLayout/index.js +1 -1
  194. package/src/components/OverlayTrigger/Overlay.js +1 -1
  195. package/src/components/WindowModal/WindowModal.js +17 -2
  196. package/src/components/icons/column-add.d.ts +3 -0
  197. package/src/components/icons/column-add.js +10 -0
  198. package/src/components/icons/index.js +2 -0
  199. package/src/components/utils/useDraggable.js +2 -1
  200. package/src/metamodel/adaptable.metamodel.d.ts +58 -91
  201. package/src/metamodel/adaptable.metamodel.js +248 -297
  202. package/src/types.d.ts +4 -7
  203. package/version.d.ts +1 -1
  204. package/version.js +1 -1
  205. package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
  206. package/src/Api/ChartApi.d.ts +0 -20
  207. package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
  208. package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
  209. package/src/Api/SparklineColumnApi.d.ts +0 -23
  210. package/src/Api/SparklineColumnApi.js +0 -2
  211. package/src/PredefinedConfig/ChartState.d.ts +0 -144
  212. package/src/PredefinedConfig/ChartState.js +0 -2
  213. package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
  214. package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
  215. package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
  216. package/src/PredefinedConfig/SparklineColumnState.js +0 -2
  217. package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
  218. package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
  219. package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
  220. package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
  221. package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
  222. package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
  223. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
  224. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
  225. package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
  226. package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
  227. package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
  228. package/src/View/Components/Popups/AdaptableChart.js +0 -40
  229. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
  230. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
  231. package/src/View/FlashingCell/Wizard/FlashingCellDurationWizardSection.js +0 -60
  232. package/src/components/ChartContainer/index.d.ts +0 -15
  233. package/src/components/ChartContainer/index.js +0 -22
package/index.css CHANGED
@@ -2402,9 +2402,6 @@ template {
2402
2402
  box-shadow: var(--ab-focus__box-shadow);
2403
2403
  outline: var(--ab-focus__outline); }
2404
2404
 
2405
- .ab-Dialog > * {
2406
- flex: 1; }
2407
-
2408
2405
  .ab-Dialog__close-button {
2409
2406
  position: absolute;
2410
2407
  right: 6px;
@@ -3012,9 +3009,6 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
3012
3009
  .ab-FileDroppable, .ab-FileDroppable *, .ab-FileDroppable *:before, .ab-FileDroppable *:after {
3013
3010
  box-sizing: border-box; }
3014
3011
 
3015
- .ab-ChartContainer canvas {
3016
- left: 0; }
3017
-
3018
3012
  .ab-WizardPanel > .ab-Panel__body {
3019
3013
  display: flex;
3020
3014
  flex-flow: column; }
@@ -3345,7 +3339,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
3345
3339
 
3346
3340
  .ab-Tag {
3347
3341
  display: inline-flex;
3348
- font-size: var(--ab-cmp-Tag__font-size); }
3342
+ font-size: var(--ab-cmp-Tag__font-size);
3343
+ max-width: 100%; }
3349
3344
 
3350
3345
  .ab-AdaptableOptions {
3351
3346
  background: var(--ab-cmp-adaptable-options__background-color); }
@@ -3616,6 +3611,10 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
3616
3611
  .ab-Adaptable-Object-List__Item__edit-property {
3617
3612
  visibility: hidden; }
3618
3613
 
3614
+ .ab-Adaptable-Object-List__Item__values {
3615
+ min-width: 0;
3616
+ word-break: break-all; }
3617
+
3619
3618
  .ab-Adaptable-Object-List__Item__buttons {
3620
3619
  padding-left: var(--ab-space-2);
3621
3620
  min-width: 80px;
@@ -3666,7 +3665,7 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
3666
3665
  .ab_div-colour-render-text {
3667
3666
  position: absolute;
3668
3667
  font-weight: normal;
3669
- font-size: 12p;
3668
+ font-size: 12px;
3670
3669
  z-index: 100; }
3671
3670
 
3672
3671
  .ab_div-colour-render-div {
@@ -3695,26 +3694,30 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
3695
3694
  border-style: none;
3696
3695
  --ab-toast-cmp__shadow-color: var(--ab-color-accent);
3697
3696
  box-shadow: 0 0 7px 2px var(--ab-toast-cmp__shadow-color);
3698
- background: var(--ab-toast-cmp__shadow-color); }
3697
+ background: var(--ab-toast-cmp__shadow-color);
3698
+ --toastify-text-color-info: var(--ab-color-text-on-primary);
3699
+ --toastify-text-color-success: var(--ab-color-text-on-primary);
3700
+ --toastify-text-color-warning: var(--ab-color-text-on-primary);
3701
+ --toastify-text-color-error: var(--ab-color-text-on-primary);
3702
+ --toastify-color-info: var(--ab-color-info);
3703
+ --toastify-color-success: var(--ab-color-success);
3704
+ --toastify-color-warning: var(--ab-color-warn);
3705
+ --toastify-color-error: var(--ab-color-error); }
3699
3706
 
3700
3707
  .Toastify__toast-body {
3701
3708
  padding: 0; }
3702
3709
 
3703
3710
  .Toastify__toast--info {
3704
- --ab-toast-cmp__shadow-color: var(--ab-color-info);
3705
- color: var(--ab-color-text-on-primary); }
3711
+ --ab-toast-cmp__shadow-color: var(--ab-color-info); }
3706
3712
 
3707
3713
  .Toastify__toast--success {
3708
- --ab-toast-cmp__shadow-color: var(--ab-color-success);
3709
- color: var(--ab-color-text-on-primary); }
3714
+ --ab-toast-cmp__shadow-color: var(--ab-color-success); }
3710
3715
 
3711
3716
  .Toastify__toast--warning {
3712
- --ab-toast-cmp__shadow-color: var(--ab-color-warn);
3713
- color: var(--ab-color-text-on-primary); }
3717
+ --ab-toast-cmp__shadow-color: var(--ab-color-warn); }
3714
3718
 
3715
3719
  .Toastify__toast--error {
3716
- --ab-toast-cmp__shadow-color: var(--ab-color-error);
3717
- color: var(--ab-color-text-on-primary); }
3720
+ --ab-toast-cmp__shadow-color: var(--ab-color-error); }
3718
3721
 
3719
3722
  .ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar,
3720
3723
  .ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar,
package/package.json CHANGED
@@ -1,21 +1,47 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "10.0.4-canary.5",
3
+ "version": "11.0.0-canary.3",
4
4
  "description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
5
- "main": "index.js",
6
- "typings": "index.d.ts",
5
+ "keywords": [
6
+ "web-components",
7
+ "datagrid",
8
+ "fintech",
9
+ "grid",
10
+ "data",
11
+ "table",
12
+ "data-table",
13
+ "openfin",
14
+ "ag-grid",
15
+ "infinite-table",
16
+ "adaptable",
17
+ "blotter"
18
+ ],
19
+ "homepage": "http://www.adaptabletools.com/",
20
+ "license": "SEE LICENSE IN LICENSE.md",
21
+ "author": {
22
+ "name": "Jonny Wolfson",
23
+ "email": "jonny.wolfson@adaptabletools.com"
24
+ },
25
+ "maintainers": [
26
+ {
27
+ "name": "JonnyAdaptableTools",
28
+ "email": "jonny.wolfson@adaptabletools.com"
29
+ }
30
+ ],
31
+ "main": "agGrid.js",
32
+ "typings": "types.d.ts",
7
33
  "dependencies": {
8
34
  "@infinite-table/infinite-react": "0.0.1-canary.11",
9
35
  "date-fns": "2.22.1",
10
36
  "debug": "^4.3.1",
11
37
  "isomorphic-fetch": "^2.2.1",
12
- "lodash-es": "^4.17.15",
38
+ "lodash": "^4.17.15",
13
39
  "normalize.css": "^8.0.1",
14
40
  "prop-types": "^15.6.2",
15
41
  "re-resizable": "^6.9.1",
16
42
  "react": ">=16.8.0",
17
43
  "react-beautiful-dnd": "13.1.0",
18
- "react-day-picker": "8.0.0-beta.36",
44
+ "react-day-picker": "8.0.0-beta.37",
19
45
  "react-dom": ">=16.8.0",
20
46
  "react-redux": "7.2.4",
21
47
  "react-remove-scroll": "2.4.2",
@@ -31,31 +57,5 @@
31
57
  },
32
58
  "peerDependencies": {
33
59
  "@ag-grid-community/all-modules": ">=26.2.0"
34
- },
35
- "keywords": [
36
- "web-components",
37
- "datagrid",
38
- "fintech",
39
- "grid",
40
- "data",
41
- "table",
42
- "data-table",
43
- "openfin",
44
- "ag-grid",
45
- "infinite-table",
46
- "adaptable",
47
- "blotter"
48
- ],
49
- "maintainers": [
50
- {
51
- "name": "JonnyAdaptableTools",
52
- "email": "jonny.wolfson@adaptabletools.com"
53
- }
54
- ],
55
- "author": {
56
- "name": "Jonny Wolfson",
57
- "email": "jonny.wolfson@adaptabletools.com"
58
- },
59
- "homepage": "http://www.adaptabletools.com/",
60
- "license": "SEE LICENSE IN LICENSE.md"
60
+ }
61
61
  }
@@ -1,2 +1,2 @@
1
- declare const _default: 1643056480240;
1
+ declare const _default: 1643989382977;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1643056480240;
3
+ exports.default = 1643989382977;
@@ -37,7 +37,7 @@ export interface IAdaptable {
37
37
  api: AdaptableApi;
38
38
  adaptableOptions: AdaptableOptions;
39
39
  adaptableStore: IAdaptableStore;
40
- modules: IModuleCollection;
40
+ adaptableModules: IModuleCollection;
41
41
  /**
42
42
  * If using AG Grid community (which has no menu)
43
43
  */
@@ -75,7 +75,6 @@ export interface IAdaptable {
75
75
  _on(eventName: 'GridRefreshed', callback: () => void): () => void;
76
76
  _on(eventName: 'GridFiltered', callback: () => void): () => void;
77
77
  _on(eventName: 'SortChanged', callback: (columnSorts: ColumnSort[]) => void): () => void;
78
- _on(eventName: 'ColumnResized', callback: (colId: string) => void): () => void;
79
78
  _on(eventName: 'KeyDown', callback: (keyDownEvent: any) => void): () => void;
80
79
  _on(eventName: 'CellEditorKeyDown', callback: (param: {
81
80
  keyDownEvent: KeyboardEvent;
@@ -124,8 +123,12 @@ export interface IAdaptable {
124
123
  updateRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
125
124
  addRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
126
125
  deleteRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
127
- selectColumn(columnId: string): void;
128
- selectColumns(columnIds: string[]): void;
126
+ selectColumn(columnId: string, config?: {
127
+ keepExistingSelection?: boolean;
128
+ }): void;
129
+ selectColumns(columnIds: string[], config?: {
130
+ keepExistingSelection?: boolean;
131
+ }): void;
129
132
  selectAll(): void;
130
133
  deselectAll(): void;
131
134
  hideColumn(columnId: string): void;
@@ -185,6 +188,8 @@ export interface IAdaptable {
185
188
  canExportToExcel(): boolean;
186
189
  exportToExcel(reportData: ReportData, fileName: string): void;
187
190
  exportVisualDataToExcel(): void;
191
+ canGenerateCharts(): boolean;
192
+ canHaveSparklines(): boolean;
188
193
  getCurrentIPPStyle(): IPPStyle;
189
194
  getDefaultIPPStyle(): IPPStyle;
190
195
  getRowCount(): number;
@@ -19,6 +19,8 @@ import { FilterOptions } from './FilterOptions';
19
19
  import { QueryLanguageOptions } from './QueryLanguageOptions';
20
20
  import { DataChangeHistoryOptions } from './DataChangeHistoryOptions';
21
21
  import { SettingsPanelOptions } from './SettingsPanelOptions';
22
+ import { GridOptions, Module } from '@ag-grid-community/all-modules';
23
+ import { FlashingCellOptions } from './FlashingCellOptions';
22
24
  /**
23
25
  * Group of property options enabling developers to set up AdapTable at design time to fit precise requirements - provides AG Grid, Predefined Config and other information required to ensure a full, rich user experience
24
26
  */
@@ -74,7 +76,8 @@ export interface AdaptableOptions {
74
76
  *
75
77
  * @defaultValue n/a (Mandatory)
76
78
  */
77
- agGridOptions?: any;
79
+ gridOptions?: GridOptions;
80
+ modules?: Module[];
78
81
  /**
79
82
  * Options for managing Notifications in AdapTable
80
83
  *
@@ -82,7 +85,7 @@ export interface AdaptableOptions {
82
85
  */
83
86
  notificationsOptions?: NotificationsOptions;
84
87
  /**
85
- * Options for setting the 'Div' elements in which AdapTable, AG Grid, popups and charts are placed
88
+ * Options for setting the 'Div' elements in which AdapTable, AG Grid, popups are placed
86
89
  */
87
90
  containerOptions?: ContainerOptions;
88
91
  /**
@@ -109,6 +112,12 @@ export interface AdaptableOptions {
109
112
  * @gridInfoContainer
110
113
  */
111
114
  exportOptions?: ExportOptions;
115
+ /**
116
+ * Options for managing Flashing Cells - primarily default values
117
+ *
118
+ * @gridInfoContainer
119
+ */
120
+ flashingCellOptions?: FlashingCellOptions;
112
121
  /**
113
122
  * General options to manage AdapTable e.g. grouping behaviour, Primary Keys
114
123
  *
@@ -183,6 +192,8 @@ export interface AdaptableOptions {
183
192
  customPredicateDefs?: AdaptablePredicateDef[];
184
193
  /**
185
194
  * Setting panel options
195
+ *
196
+ * @gridInfoContainer
186
197
  */
187
198
  settingsPanelOptions?: SettingsPanelOptions;
188
199
  }
@@ -30,13 +30,6 @@ export interface ContainerOptions {
30
30
  * @gridInfoItem
31
31
  */
32
32
  modalContainer?: string;
33
- /**
34
- * Name of div where charts appear (if null, will be centre of page)
35
- *
36
- * @defaultValue undefined
37
- * @gridInfoItem
38
- */
39
- chartContainer?: string;
40
33
  /**
41
34
  * Div to show System Status messages - string Id or HTMLElement
42
35
  *
@@ -15,27 +15,25 @@ export interface DashboardOptions {
15
15
  */
16
16
  canFloat?: boolean;
17
17
  /**
18
- * Displays a button which opens the Settings Panel
19
- *
20
- * @defaultValue true
21
- * @gridInfoItem
22
- */
23
- showSettingsPanel?: boolean;
24
- /**
25
- * Shows Quick Search textbox in the Dashboard Header; the UI component is still subject to the QuickSearch Entitlements
18
+ * Shows Quick Search textbox in the Dashboard Header
26
19
  *
27
20
  * @defaultValue true
28
21
  * @gridInfoItem
29
22
  */
30
23
  showQuickSearchInHeader?: boolean;
31
24
  /**
32
- * Custom Adaptable Buttons to appear in top corner of Dashboard - next to Module Buttons
25
+ * Custom Adaptable Buttons to appear in Dashboard (alongside Module Buttons)
33
26
  */
34
27
  customDashboardButtons?: AdaptableButton<DashboardButtonContext>[];
35
28
  /**
36
29
  * Toolbars provided by Users which contain custom content
37
30
  */
38
31
  customToolbars?: CustomToolbar[];
32
+ /**
33
+ * Position in the Dashboard to show the Module and Custom Buttons
34
+ * @defaultValue 'right'
35
+ */
36
+ buttonsLocation?: 'left' | 'right';
39
37
  }
40
38
  /**
41
39
  * Custom Toolbar (which AdapTable will manage) enabling devs to populate Dashboard with bepoke content
@@ -11,7 +11,7 @@ export interface EntitlementOptions {
11
11
  */
12
12
  moduleEntitlements?: Entitlement[] | ((adaptableModule: AdaptableModule, userName: string, adaptableId: string, defaultAccessLevel: AccessLevel) => AccessLevel | undefined);
13
13
  /**
14
- * AccessLevel to use when an Entitlement is not explicitly set; may be provided as a hardcoded value or as a function to invoke
14
+ * AccessLevel to use when an Entitlement is not explicitly set; can be hardcoded value or a function to invoke
15
15
  *
16
16
  * @defaultValue 'Full'
17
17
  * @gridInfoItem
@@ -0,0 +1,31 @@
1
+ import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
2
+ /**
3
+ * Properties for Flashing Cell
4
+ */
5
+ export interface FlashingCellOptions {
6
+ /**
7
+ * Should a cell or whole row flash
8
+ * @defaultValue 'cell'
9
+ */
10
+ defaultFlashTarget?: 'row' | 'cell';
11
+ /**
12
+ * Style for 'Down' value changes
13
+ * @defaultValue Red BackColour
14
+ */
15
+ defaultDownChangeStyle?: AdaptableStyle;
16
+ /**
17
+ * Style for 'Up' value changes
18
+ * @defaultValue Green BackColour
19
+ */
20
+ defaultUpChangeStyle?: AdaptableStyle;
21
+ /**
22
+ * Style for 'Neutral' value changes
23
+ * @defaultValue Gray BackColour
24
+ */
25
+ defaultNeutralChangeStyle?: AdaptableStyle;
26
+ /**
27
+ * Duration of Flash - can be number (in ms) or 'always'
28
+ * @defaultValue 500ms
29
+ */
30
+ defaultFlashDuration?: number | 'always';
31
+ }
@@ -71,7 +71,7 @@ export interface GeneralOptions {
71
71
  */
72
72
  customSortComparers?: ColumnValuesComparer[];
73
73
  /**
74
- * Maintain upper and lower case when performing text operations (applies to both Expressions and Predicates)
74
+ * Perform case-sensitive text comparisons in all search and filter operations: QuickSearch, Filters, Query, Predicates
75
75
  *
76
76
  * @defaultValue false
77
77
  * @gridInfoItem
@@ -39,11 +39,11 @@ export interface MenuOptions {
39
39
  */
40
40
  contextMenuOrder?: ('aggrid' | 'adaptable' | 'user')[];
41
41
  /**
42
- * A collection of UserMenuItem objects to be added to the Column Menu (the one that appears as a dropdown in each Column Header).
42
+ * User-defined Menu Items to add to the Column Menu
43
43
  */
44
44
  columnMenuItems?: UserMenuItem<ColumnMenuContext>[];
45
45
  /**
46
- * A collection of UserMenuItem objects to be added to the Context Menu (the one that appears when you right-click on a cell, or cells, in the Grid).
46
+ * User-defined Menu Items to add to the Context Menu
47
47
  */
48
48
  contextMenuItems?: UserMenuItem<ContextMenuContext>[];
49
49
  }
@@ -2,7 +2,6 @@ import { AlertButton, AlertDefinition } from '../PredefinedConfig/AlertState';
2
2
  import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
3
3
  import { ButtonContext } from '../PredefinedConfig/Common/AdaptableButton';
4
4
  import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
5
- import { FlashingCellProperties } from '../PredefinedConfig/FlashingCellState';
6
5
  import { DataChangedInfo } from '../types';
7
6
  /**
8
7
  * Options related to Alerts, System Status Messages and Notifications in Adaptable.
@@ -22,12 +21,6 @@ export interface NotificationsOptions {
22
21
  * @gridInfoItem
23
22
  */
24
23
  maxNotifications?: number;
25
- /**
26
- * Flashing Alert Defaults
27
- *
28
- * @defaultValue BackColors: Green (up), Red (down), Gray (neutral), Duration: 500ms
29
- */
30
- flashingCellDefaultProperties?: FlashingCellProperties;
31
24
  /**
32
25
  * Where Notification will appear (if anywhere)
33
26
  *
@@ -11,9 +11,21 @@ export interface SettingsPanelOptions {
11
11
  /**
12
12
  * Icon for Settings Panel Can be `ConfigurationIcon`, `ApplicationIcon` or a custom Icon
13
13
  *
14
- * @defdefaultValueault 'ConfigurationIcon'
14
+ * @defaultValue 'ConfigurationIcon'
15
15
  */
16
16
  icon?: 'ConfigurationIcon' | 'ApplicationIcon' | AdaptableIcon;
17
+ /**
18
+ * Whether a Settings Panel button should always be displayed in `ModuleButtons` area of Dashboard
19
+ * @defaultValue false
20
+ * @gridInfoItem
21
+ */
22
+ alwaysShowInDashboard?: boolean;
23
+ /**
24
+ * Whether a Settings Panel button should always be displayed in `ModuleButtons` area of ToolPanel
25
+ * @defaultValue false
26
+ * @gridInfoItem
27
+ */
28
+ alwaysShowInToolPanel?: boolean;
17
29
  /**
18
30
  * Ordered items to display at side of Settings Panel
19
31
  */
@@ -43,7 +55,7 @@ export interface SettingsPanelOptions {
43
55
  *
44
56
  * @defaultValue 'window'
45
57
  */
46
- type?: 'modal' | 'window';
58
+ popupType?: 'modal' | 'window';
47
59
  /**
48
60
  * Custom Settings Panels provided by developers at design-time
49
61
  */
@@ -30,7 +30,7 @@ export interface TeamSharingOptions {
30
30
  */
31
31
  updateInterval?: number;
32
32
  /**
33
- * How user is informed when Active Shared Entities have newer revisions: can be 'Alert', 'AlertWithNotification' or 'SystemStatus'
33
+ * How user is informed when Active Shared Entities have newer revisions
34
34
  *
35
35
  * @defaultValue null (none)
36
36
  * @gridInfoItem
@@ -25,7 +25,6 @@ export interface ToolPanelOptions {
25
25
  * Key of icon to be used (beside the label) for Adaptable ToolPanel Component
26
26
  *
27
27
  * @defaultValue 'menu'
28
- * @see https://www.ag-grid.com/javascript-grid/side-bar/#sidebardef-configuration
29
28
  * @gridInfoItem
30
29
  */
31
30
  iconKey?: string;
@@ -52,20 +51,6 @@ export interface ToolPanelOptions {
52
51
  * @defaultValue ['filters', 'columns', 'adaptable']
53
52
  */
54
53
  toolPanelOrder?: ('adaptable' | 'columns' | 'filters')[];
55
- /**
56
- * Display the Modules dropdown
57
- *
58
- * @defaultValue true
59
- * @gridInfoItem
60
- */
61
- showModulesDropdown?: boolean;
62
- /**
63
- * Display the Columns dropdown
64
- *
65
- * @defaultValue true
66
- * @gridInfoItem
67
- */
68
- showColumnsDropdown?: boolean;
69
54
  /**
70
55
  * Display the Tool Panels dropdown
71
56
  *
@@ -74,6 +74,11 @@ export interface UserInterfaceOptions {
74
74
  * @gridInfoItem
75
75
  */
76
76
  styleClassNames?: string[];
77
+ /**
78
+ * Optional list of Column Types - used primarily for special columns
79
+ *
80
+ */
81
+ columnTypes?: string[];
77
82
  /**
78
83
  * Provide links to AdapTable documentation (in Module popups and Expression Editor)
79
84
  *
@@ -1,4 +1,3 @@
1
- import { SparklineColumnApi } from './SparklineColumnApi';
2
1
  import { AlertApi } from './AlertApi';
3
2
  import { PluginsApi } from './PluginsApi';
4
3
  import { BulkUpdateApi } from './BulkUpdateApi';
@@ -35,6 +34,7 @@ import { ScopeApi } from './ScopeApi';
35
34
  import { PredicateApi } from './PredicateApi';
36
35
  import { DataChangeHistoryApi } from './DataChangeHistoryApi';
37
36
  import { FlashingCellApi } from './FlashingCellApi';
37
+ import { ChartingApi } from './ChartingApi';
38
38
  /**
39
39
  *
40
40
  * The `AdaptableApi` provides developers with run-time access to AdapTable.
@@ -124,7 +124,7 @@ export interface AdaptableApi {
124
124
  */
125
125
  plusMinusApi: PlusMinusApi;
126
126
  /**
127
- * Offers access to AdapTable Plugin (e.g. charts, ipushpull, OpenFin etc)
127
+ * Offers access to AdapTable Plugin (e.g. ipushpull, OpenFin etc)
128
128
  */
129
129
  pluginsApi: PluginsApi;
130
130
  /**
@@ -159,10 +159,6 @@ export interface AdaptableApi {
159
159
  * Provides access to the Smart Edit Module
160
160
  */
161
161
  smartEditApi: SmartEditApi;
162
- /**
163
- * Provides access to the Sparkline Column in the Charts Plugin
164
- */
165
- sparklineColumnApi: SparklineColumnApi;
166
162
  /**
167
163
  * Methods related to displaying System Status and application health messages
168
164
  */
@@ -183,6 +179,10 @@ export interface AdaptableApi {
183
179
  * Manages User Interface Options where colours, styles and permitted values are configured
184
180
  */
185
181
  userInterfaceApi: UserInterfaceApi;
182
+ /**
183
+ * Provides run-time access to Charting Module and state
184
+ */
185
+ chartingApi: ChartingApi;
186
186
  /**
187
187
  * Api methods used *internally* within AdapTable.
188
188
  */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Provides run-time access to Charting Module and state
3
+ */
4
+ export interface ChartingApi {
5
+ /**
6
+ * Whether this Adaptable instance has Charting functions available.
7
+ */
8
+ isChartingEnabled(): boolean;
9
+ }
File without changes
@@ -12,7 +12,7 @@ export interface ColumnApi {
12
12
  getColumns(): AdaptableColumn[];
13
13
  /**
14
14
  * Retrieves 'ColumnType' property for a given Column
15
- * @param columnId Colmun to use
15
+ * @param columnId Column to use
16
16
  */
17
17
  getAgGridColumnType(columnId: string): string | string[];
18
18
  /**
@@ -69,11 +69,21 @@ export interface ColumnApi {
69
69
  * @param columnId Column to select
70
70
  */
71
71
  selectColumn(columnId: string): void;
72
+ /**
73
+ * Adds (highlights) a Column to any existing selection
74
+ * @param columnId Column to select
75
+ */
76
+ addColumnToSelection(columnId: string): void;
72
77
  /**
73
78
  * Selects (highlights) group of Columns
74
79
  * @param columnIds columns to select
75
80
  */
76
81
  selectColumns(columnIds: string[]): void;
82
+ /**
83
+ * Adds (highlights) a group of Columns to any existing selection
84
+ * @param columnIds columns to select
85
+ */
86
+ addColumnsToSelection(columnIds: string[]): void;
77
87
  /**
78
88
  * Selects all Columns
79
89
  */
@@ -1,4 +1,3 @@
1
- import { ChartState } from '../PredefinedConfig/ChartState';
2
1
  import { ThemeState } from '../PredefinedConfig/ThemeState';
3
2
  import { ShortcutState } from '../PredefinedConfig/ShortcutState';
4
3
  import { QuickSearchState } from '../PredefinedConfig/QuickSearchState';
@@ -14,7 +13,6 @@ import { AlertState } from '../PredefinedConfig/AlertState';
14
13
  import { ConfigState } from '../PredefinedConfig/ConfigState';
15
14
  import { PlusMinusState } from '../PredefinedConfig/PlusMinusState';
16
15
  import { ApplicationState } from '../PredefinedConfig/ApplicationState';
17
- import { SparklineColumnState } from '../PredefinedConfig/SparklineColumnState';
18
16
  import { AdaptableState } from '../PredefinedConfig/AdaptableState';
19
17
  import { FreeTextColumnState } from '../PredefinedConfig/FreeTextColumnState';
20
18
  import { FilterState } from '../PredefinedConfig/FilterState';
@@ -114,11 +112,6 @@ export interface ConfigApi {
114
112
  * @param returnJson return as JSON rather than object
115
113
  */
116
114
  getCalculatedColumnState(returnJson: boolean): CalculatedColumnState;
117
- /**
118
- * Returns Chart section of Adaptable State
119
- * @param returnJson return as JSON rather than object
120
- */
121
- getChartState(returnJson: boolean): ChartState;
122
115
  /**
123
116
  * Returns Conditional Style section of Adaptable State
124
117
  * @param returnJson return as JSON rather than object
@@ -189,11 +182,6 @@ export interface ConfigApi {
189
182
  * @param returnJson return as JSON rather than object
190
183
  */
191
184
  getShortcutState(returnJson: boolean): ShortcutState;
192
- /**
193
- * Returns Sparkline Column section of Adaptable State
194
- * @param returnJson return as JSON rather than object
195
- */
196
- getSparklineColumnState(returnJson: boolean): SparklineColumnState;
197
185
  /**
198
186
  * Returns Theme section of Adaptable State
199
187
  * @param returnJson return as JSON rather than object
@@ -115,9 +115,9 @@ export interface EventApi {
115
115
  */
116
116
  off(eventName: 'AlertFired', callback: (alertFiredInfo: AlertFiredInfo) => void): void;
117
117
  /**
118
- * Event fired whenever a **FlashingCell is triggered** in AdapTable.
119
- * @param eventName FlashingCellFired
120
- * @param callback FlashingCellFiredInfo which wrap the FlashingCell that was fired
118
+ * Event fired whenever **Cell Flashing** is triggered in AdapTable.
119
+ * @param eventName FlashingCellDisplayed
120
+ * @param callback FlashingCellDisplayedInfo which wrap the `AdaptableFlashingCell` that was displayed
121
121
  * @returns the unsubscribe function
122
122
  */
123
123
  on(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): VoidFunction;
@@ -7,5 +7,5 @@ export interface AdaptableReadyInfo extends BaseEventInfo {
7
7
  /**
8
8
  * Underlying AG Grid GridOptions object
9
9
  */
10
- agGridOptions: GridOptions;
10
+ gridOptions: GridOptions;
11
11
  }
@@ -1,11 +1,11 @@
1
1
  import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
2
2
  import { BaseEventInfo } from './BaseEventInfo';
3
3
  /**
4
- * Object returned by the `FlashingAlertFired` event
4
+ * Object returned by the `FlashingCellDisplayed` event
5
5
  */
6
6
  export interface FlashingCellDisplayedInfo extends BaseEventInfo {
7
7
  /**
8
- * FlashingAlert which has been fired
8
+ * Details of the Cell (or row) which has just flashed
9
9
  */
10
10
  flashingCell: AdaptableFlashingCell;
11
11
  }