@adaptabletools/adaptable 11.0.0-canary.2 → 11.0.0-canary.6

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 (244) hide show
  1. package/agGrid.d.ts +1 -1
  2. package/agGrid.js +3 -3
  3. package/base.css +138 -68
  4. package/bundle.cjs.js +131 -127
  5. package/index.css +140 -68
  6. package/package.json +33 -33
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +7 -5
  10. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +1 -3
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +11 -2
  12. package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
  13. package/src/AdaptableOptions/AlertOptions.js +2 -0
  14. package/src/AdaptableOptions/ContainerOptions.d.ts +2 -2
  15. package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/FilterOptions.d.ts +1 -1
  17. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -78
  18. package/src/AdaptableOptions/QueryLanguageOptions.d.ts +3 -7
  19. package/src/AdaptableOptions/StateOptions.d.ts +2 -1
  20. package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
  21. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -3
  22. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +3 -3
  23. package/src/Api/AdaptableApi.d.ts +6 -0
  24. package/src/Api/AlertApi.d.ts +2 -3
  25. package/src/Api/ColumnApi.d.ts +0 -4
  26. package/src/Api/EventApi.d.ts +8 -3
  27. package/src/Api/Events/GridDataChanged.d.ts +4 -2
  28. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
  29. package/src/Api/FreeTextColumnApi.d.ts +0 -12
  30. package/src/Api/GridApi.d.ts +5 -4
  31. package/src/Api/IPushPullApi.d.ts +1 -1
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  34. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
  35. package/src/Api/Implementation/AlertApiImpl.js +19 -10
  36. package/src/Api/Implementation/ApiBase.d.ts +2 -0
  37. package/src/Api/Implementation/ApiBase.js +3 -0
  38. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
  39. package/src/Api/Implementation/ColumnApiImpl.js +0 -5
  40. package/src/Api/Implementation/DashboardApiImpl.js +1 -1
  41. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -4
  42. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
  43. package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
  44. package/src/Api/Implementation/GridApiImpl.d.ts +5 -4
  45. package/src/Api/Implementation/GridApiImpl.js +4 -0
  46. package/src/Api/Implementation/InternalApiImpl.js +2 -2
  47. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
  48. package/src/Api/Implementation/LayoutApiImpl.js +12 -1
  49. package/src/Api/Implementation/QueryApiImpl.js +4 -1
  50. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -1
  51. package/src/Api/Implementation/QueryLanguageApiImpl.js +6 -7
  52. package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +7 -0
  53. package/src/Api/Implementation/SettingsPanelApiImpl.js +15 -0
  54. package/src/Api/LayoutApi.d.ts +7 -0
  55. package/src/Api/OpenFinApi.d.ts +5 -0
  56. package/src/Api/PluginsApi.d.ts +29 -0
  57. package/src/Api/QueryLanguageApi.d.ts +10 -10
  58. package/src/Api/SettingsPanelApi.d.ts +17 -0
  59. package/src/Api/SettingsPanelApi.js +2 -0
  60. package/src/Api/UserInterfaceApi.d.ts +5 -2
  61. package/src/PredefinedConfig/AlertState.d.ts +4 -6
  62. package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -1
  63. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +7 -4
  64. package/src/PredefinedConfig/Common/AdaptableQuery.js +3 -3
  65. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +1 -12
  66. package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
  67. package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
  68. package/src/PredefinedConfig/Common/Enums.js +0 -2
  69. package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
  70. package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +15 -0
  71. package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -0
  72. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  73. package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
  74. package/src/PredefinedConfig/FlashingCellState.d.ts +5 -2
  75. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
  76. package/src/PredefinedConfig/LayoutState.d.ts +0 -2
  77. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -2
  78. package/src/PredefinedConfig/SystemState.d.ts +2 -1
  79. package/src/Redux/ActionsReducers/ApplicationRedux.js +9 -3
  80. package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
  81. package/src/Redux/ActionsReducers/GridRedux.js +3 -1
  82. package/src/Redux/ActionsReducers/PopupRedux.js +13 -3
  83. package/src/Redux/ActionsReducers/QuickSearchRedux.js +3 -1
  84. package/src/Redux/ActionsReducers/SystemRedux.d.ts +6 -5
  85. package/src/Redux/ActionsReducers/SystemRedux.js +16 -14
  86. package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
  87. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
  88. package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
  89. package/src/Redux/Store/AdaptableStore.js +18 -6
  90. package/src/Strategy/AlertModule.js +14 -4
  91. package/src/Strategy/ConditionalStyleModule.js +4 -0
  92. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  93. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  94. package/src/Strategy/FlashingCellModule.js +34 -18
  95. package/src/Strategy/FreeTextColumnModule.d.ts +2 -2
  96. package/src/Strategy/FreeTextColumnModule.js +10 -0
  97. package/src/Strategy/LayoutModule.js +1 -6
  98. package/src/Strategy/TeamSharingModule.js +1 -1
  99. package/src/Strategy/ToolPanelModule.js +5 -3
  100. package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +1 -1
  101. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +3 -1
  102. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +1 -1
  103. package/src/Strategy/Utilities/getRuleViewItems.d.ts +0 -1
  104. package/src/Strategy/Utilities/getRuleViewItems.js +0 -1
  105. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +8 -6
  106. package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.d.ts → aggregatedBooleanExpressionFunctions.d.ts} +1 -1
  107. package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.js → aggregatedBooleanExpressionFunctions.js} +4 -4
  108. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +7 -0
  109. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +42 -0
  110. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  111. package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
  112. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +35 -0
  113. package/src/Utilities/ExpressionFunctions/deepMap.js +283 -0
  114. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
  115. package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +36 -0
  116. package/src/Utilities/ExpressionFunctions/groupingMap.js +104 -0
  117. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -3
  118. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
  119. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  120. package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
  121. package/src/Utilities/Helpers/CalendarHelper.js +220 -55
  122. package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
  123. package/src/Utilities/ObjectFactory.js +5 -2
  124. package/src/Utilities/Services/AlertService.js +3 -3
  125. package/src/Utilities/Services/DataService.js +6 -1
  126. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +2 -2
  127. package/src/Utilities/Services/LicenseService.js +1 -1
  128. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
  129. package/src/Utilities/Services/QueryLanguageService.js +21 -16
  130. package/src/Utilities/Services/ReportService.js +7 -3
  131. package/src/Utilities/Services/TeamSharingService.js +5 -3
  132. package/src/View/AdaptablePopover/index.js +6 -1
  133. package/src/View/AdaptableView.js +1 -1
  134. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +5 -1
  135. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -2
  136. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -1
  137. package/src/View/AdaptableWizardView/helper.js +5 -3
  138. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
  139. package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
  140. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  141. package/src/View/Alert/Wizard/AlertWizard.js +2 -2
  142. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -3
  143. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +3 -5
  144. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -2
  145. package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
  146. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +17 -6
  147. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
  148. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
  149. package/src/View/Components/EntityRulesEditor/index.js +9 -9
  150. package/src/View/Components/FilterForm/FilterForm.js +0 -2
  151. package/src/View/Components/FilterForm/QuickFilterForm.js +8 -7
  152. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  153. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  154. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  155. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +0 -3
  156. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +45 -87
  157. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +11 -0
  158. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +78 -0
  159. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +3 -1
  160. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +19 -6
  161. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -3
  162. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -13
  163. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
  164. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.d.ts +2 -0
  165. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +44 -0
  166. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -1
  167. package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +5 -12
  168. package/src/View/Components/Popups/AdaptablePopupPrompt.js +38 -37
  169. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +4 -1
  170. package/src/View/Components/ScopeComponent.js +4 -1
  171. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
  172. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  173. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -2
  174. package/src/View/Components/ToolPanel/ToolPanelPopup.js +7 -5
  175. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  176. package/src/View/Components/ValueSelector/index.d.ts +2 -1
  177. package/src/View/Components/ValueSelector/index.js +5 -5
  178. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +2 -2
  179. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +8 -0
  180. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +27 -0
  181. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +17 -5
  182. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
  183. package/src/View/CustomSort/Wizard/CustomSortWizard.js +17 -5
  184. package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
  185. package/src/View/Dashboard/Dashboard.js +5 -5
  186. package/src/View/Dashboard/DashboardPopup.js +8 -6
  187. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
  188. package/src/View/Export/Wizard/NewReportWizard.js +13 -3
  189. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +3 -1
  190. package/src/View/Export/Wizard/ReportRowTypeWizard.js +3 -1
  191. package/src/View/Filter/FilterViewPanel.d.ts +1 -4
  192. package/src/View/Filter/FilterViewPanel.js +1 -3
  193. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +17 -26
  194. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +19 -2
  195. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +20 -5
  196. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -2
  197. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  198. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +11 -6
  199. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -2
  200. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +12 -5
  201. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -1
  202. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -1
  203. package/src/View/Layout/Wizard/LayoutEditorWizard.js +7 -1
  204. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
  205. package/src/View/Query/ExpandedQueryPopup.js +9 -2
  206. package/src/View/Query/QueryViewPanel.js +15 -10
  207. package/src/View/Query/Wizard/NamedQueryWizard.js +6 -4
  208. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  209. package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
  210. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
  211. package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
  212. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  213. package/src/View/UIHelper.js +4 -1
  214. package/src/View/Wizard/AdaptableWizard.js +13 -4
  215. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -0
  216. package/src/View/Wizard/OnePageAdaptableWizard.js +6 -2
  217. package/src/agGrid/Adaptable.d.ts +2 -5
  218. package/src/agGrid/Adaptable.js +127 -75
  219. package/src/agGrid/agGridHelper.js +3 -8
  220. package/src/agGrid/agGridMenuHelper.js +5 -9
  221. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  222. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  223. package/src/components/ApplicationIcon.d.ts +1 -0
  224. package/src/components/ApplicationIcon.js +2 -2
  225. package/src/components/Dashboard/Dashboard.js +4 -1
  226. package/src/components/Dashboard/DashboardManager.d.ts +5 -3
  227. package/src/components/Dashboard/DashboardManager.js +33 -27
  228. package/src/components/Dropdown/index.js +8 -1
  229. package/src/components/DropdownButton/renderItem.js +1 -1
  230. package/src/components/ExpressionEditor/EditorInputReactive.d.ts +1 -1
  231. package/src/components/ExpressionEditor/EditorInputReactive.js +4 -2
  232. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +4 -1
  233. package/src/components/ExpressionEditor/index.d.ts +1 -1
  234. package/src/components/ExpressionEditor/index.js +12 -5
  235. package/src/components/FormLayout/index.js +1 -1
  236. package/src/components/OverlayTrigger/Overlay.js +1 -1
  237. package/src/components/SizedContainer/index.js +7 -1
  238. package/src/components/WindowModal/WindowModal.js +4 -1
  239. package/src/metamodel/adaptable.metamodel.d.ts +75 -24
  240. package/src/metamodel/adaptable.metamodel.js +223 -115
  241. package/src/types.d.ts +6 -3
  242. package/themes/dark.css +4 -4
  243. package/version.d.ts +1 -1
  244. package/version.js +1 -1
@@ -12,95 +12,260 @@ function getAvailableCalendars() {
12
12
  Name: 'United Kingdom',
13
13
  YearName: 2020,
14
14
  CalendarEntries: [
15
- { HolidayName: "New Year's Day", HolidayDate: new Date('January 01, 2020').toJSON() },
16
- { HolidayName: 'Good Friday', HolidayDate: new Date('April 10, 2020').toJSON() },
17
- { HolidayName: 'Easter Monday', HolidayDate: new Date('April 13, 2020').toJSON() },
18
- { HolidayName: 'Early May Bank Holiday', HolidayDate: new Date('May 8 2020').toJSON() },
19
- { HolidayName: 'Spring Bank Holiday', HolidayDate: new Date('May 25, 2020').toJSON() },
20
- { HolidayName: 'Summer Bank Holiday', HolidayDate: new Date('August 31, 2020').toJSON() },
21
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
22
- { HolidayName: 'Boxing Day', HolidayDate: new Date('December 28, 2020').toJSON() },
15
+ {
16
+ HolidayName: "New Year's Day",
17
+ HolidayDate: new Date('January 01, 2020').toJSON(),
18
+ },
19
+ {
20
+ HolidayName: 'Good Friday',
21
+ HolidayDate: new Date('April 10, 2020').toJSON(),
22
+ },
23
+ {
24
+ HolidayName: 'Easter Monday',
25
+ HolidayDate: new Date('April 13, 2020').toJSON(),
26
+ },
27
+ {
28
+ HolidayName: 'Early May Bank Holiday',
29
+ HolidayDate: new Date('May 8 2020').toJSON(),
30
+ },
31
+ {
32
+ HolidayName: 'Spring Bank Holiday',
33
+ HolidayDate: new Date('May 25, 2020').toJSON(),
34
+ },
35
+ {
36
+ HolidayName: 'Summer Bank Holiday',
37
+ HolidayDate: new Date('August 31, 2020').toJSON(),
38
+ },
39
+ {
40
+ HolidayName: 'Christmas Day',
41
+ HolidayDate: new Date('December 25, 2020').toJSON(),
42
+ },
43
+ {
44
+ HolidayName: 'Boxing Day',
45
+ HolidayDate: new Date('December 28, 2020').toJSON(),
46
+ },
23
47
  ],
24
48
  },
25
49
  {
26
50
  Name: 'Germany',
27
51
  YearName: 2020,
28
52
  CalendarEntries: [
29
- { HolidayName: "New Year's Day", HolidayDate: new Date('January 01, 2020').toJSON() },
30
- { HolidayName: 'Good Friday', HolidayDate: new Date('April 10, 2020').toJSON() },
31
- { HolidayName: 'Easter Monday', HolidayDate: new Date('April 13, 2020').toJSON() },
32
- { HolidayName: 'Labour Day', HolidayDate: new Date('May 01 2020').toJSON() },
33
- { HolidayName: 'Ascension Day', HolidayDate: new Date('May 21 2020').toJSON() },
34
- { HolidayName: 'Whit Monday', HolidayDate: new Date('June 01, 2020').toJSON() },
35
- { HolidayName: 'German Unity Day', HolidayDate: new Date('October 03, 2020').toJSON() },
36
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
37
- { HolidayName: "St Stephen's Day", HolidayDate: new Date('December 26, 2020').toJSON() },
53
+ {
54
+ HolidayName: "New Year's Day",
55
+ HolidayDate: new Date('January 01, 2020').toJSON(),
56
+ },
57
+ {
58
+ HolidayName: 'Good Friday',
59
+ HolidayDate: new Date('April 10, 2020').toJSON(),
60
+ },
61
+ {
62
+ HolidayName: 'Easter Monday',
63
+ HolidayDate: new Date('April 13, 2020').toJSON(),
64
+ },
65
+ {
66
+ HolidayName: 'Labour Day',
67
+ HolidayDate: new Date('May 01 2020').toJSON(),
68
+ },
69
+ {
70
+ HolidayName: 'Ascension Day',
71
+ HolidayDate: new Date('May 21 2020').toJSON(),
72
+ },
73
+ {
74
+ HolidayName: 'Whit Monday',
75
+ HolidayDate: new Date('June 01, 2020').toJSON(),
76
+ },
77
+ {
78
+ HolidayName: 'German Unity Day',
79
+ HolidayDate: new Date('October 03, 2020').toJSON(),
80
+ },
81
+ {
82
+ HolidayName: 'Christmas Day',
83
+ HolidayDate: new Date('December 25, 2020').toJSON(),
84
+ },
85
+ {
86
+ HolidayName: "St Stephen's Day",
87
+ HolidayDate: new Date('December 26, 2020').toJSON(),
88
+ },
38
89
  ],
39
90
  },
40
91
  {
41
92
  Name: 'France',
42
93
  YearName: 2020,
43
94
  CalendarEntries: [
44
- { HolidayName: 'New Years Day', HolidayDate: new Date('January 01, 2020').toJSON() },
45
- { HolidayName: 'Easter Monday', HolidayDate: new Date('April 13, 2020').toJSON() },
46
- { HolidayName: 'Labour Day', HolidayDate: new Date('May 01, 2020').toJSON() },
47
- { HolidayName: 'VE Day', HolidayDate: new Date('May 08, 2020').toJSON() },
48
- { HolidayName: 'Ascension Day', HolidayDate: new Date('May 21, 2020').toJSON() },
49
- { HolidayName: 'Whitmonday', HolidayDate: new Date('June 01, 2020').toJSON() },
50
- { HolidayName: 'Bastille Day', HolidayDate: new Date('July 14, 2020').toJSON() },
51
- { HolidayName: 'Assumption Day', HolidayDate: new Date('August 15, 2020').toJSON() },
52
- { HolidayName: 'All Saints Day', HolidayDate: new Date('November 01, 2020').toJSON() },
53
- { HolidayName: 'Armistice Day', HolidayDate: new Date('November 11, 2020').toJSON() },
54
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
95
+ {
96
+ HolidayName: 'New Years Day',
97
+ HolidayDate: new Date('January 01, 2020').toJSON(),
98
+ },
99
+ {
100
+ HolidayName: 'Easter Monday',
101
+ HolidayDate: new Date('April 13, 2020').toJSON(),
102
+ },
103
+ {
104
+ HolidayName: 'Labour Day',
105
+ HolidayDate: new Date('May 01, 2020').toJSON(),
106
+ },
107
+ {
108
+ HolidayName: 'VE Day',
109
+ HolidayDate: new Date('May 08, 2020').toJSON(),
110
+ },
111
+ {
112
+ HolidayName: 'Ascension Day',
113
+ HolidayDate: new Date('May 21, 2020').toJSON(),
114
+ },
115
+ {
116
+ HolidayName: 'Whitmonday',
117
+ HolidayDate: new Date('June 01, 2020').toJSON(),
118
+ },
119
+ {
120
+ HolidayName: 'Bastille Day',
121
+ HolidayDate: new Date('July 14, 2020').toJSON(),
122
+ },
123
+ {
124
+ HolidayName: 'Assumption Day',
125
+ HolidayDate: new Date('August 15, 2020').toJSON(),
126
+ },
127
+ {
128
+ HolidayName: 'All Saints Day',
129
+ HolidayDate: new Date('November 01, 2020').toJSON(),
130
+ },
131
+ {
132
+ HolidayName: 'Armistice Day',
133
+ HolidayDate: new Date('November 11, 2020').toJSON(),
134
+ },
135
+ {
136
+ HolidayName: 'Christmas Day',
137
+ HolidayDate: new Date('December 25, 2020').toJSON(),
138
+ },
55
139
  ],
56
140
  },
57
141
  {
58
142
  Name: 'United States',
59
143
  YearName: 2020,
60
144
  CalendarEntries: [
61
- { HolidayName: 'New Years Day', HolidayDate: new Date('January 01, 2020').toJSON() },
145
+ {
146
+ HolidayName: 'New Years Day',
147
+ HolidayDate: new Date('January 01, 2020').toJSON(),
148
+ },
62
149
  {
63
150
  HolidayName: 'Martin Luther King Day',
64
151
  HolidayDate: new Date('January 20, 2020').toJSON(),
65
152
  },
66
- { HolidayName: 'Presidents Day', HolidayDate: new Date('February 17, 2020').toJSON() },
67
- { HolidayName: 'Memorial Day', HolidayDate: new Date('May 25, 2020').toJSON() },
68
- { HolidayName: 'Independence Day', HolidayDate: new Date('July 03, 2020').toJSON() },
69
- { HolidayName: 'Labour Day', HolidayDate: new Date('September 07, 2020').toJSON() },
70
- { HolidayName: 'Columbus Day', HolidayDate: new Date('October 12, 2020').toJSON() },
71
- { HolidayName: 'Veterans Day', HolidayDate: new Date('November 11, 2020').toJSON() },
72
- { HolidayName: 'Thanksgiving Day', HolidayDate: new Date('November 26, 2020').toJSON() },
73
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
153
+ {
154
+ HolidayName: 'Presidents Day',
155
+ HolidayDate: new Date('February 17, 2020').toJSON(),
156
+ },
157
+ {
158
+ HolidayName: 'Memorial Day',
159
+ HolidayDate: new Date('May 25, 2020').toJSON(),
160
+ },
161
+ {
162
+ HolidayName: 'Independence Day',
163
+ HolidayDate: new Date('July 03, 2020').toJSON(),
164
+ },
165
+ {
166
+ HolidayName: 'Labour Day',
167
+ HolidayDate: new Date('September 07, 2020').toJSON(),
168
+ },
169
+ {
170
+ HolidayName: 'Columbus Day',
171
+ HolidayDate: new Date('October 12, 2020').toJSON(),
172
+ },
173
+ {
174
+ HolidayName: 'Veterans Day',
175
+ HolidayDate: new Date('November 11, 2020').toJSON(),
176
+ },
177
+ {
178
+ HolidayName: 'Thanksgiving Day',
179
+ HolidayDate: new Date('November 26, 2020').toJSON(),
180
+ },
181
+ {
182
+ HolidayName: 'Christmas Day',
183
+ HolidayDate: new Date('December 25, 2020').toJSON(),
184
+ },
74
185
  ],
75
186
  },
76
187
  {
77
188
  Name: 'Canada',
78
189
  YearName: 2020,
79
190
  CalendarEntries: [
80
- { HolidayName: 'New Years Day', HolidayDate: new Date('January 01, 2020').toJSON() },
81
- { HolidayName: 'Good Friday', HolidayDate: new Date('April 10, 2020').toJSON() },
82
- { HolidayName: 'Victoria Day', HolidayDate: new Date('May 18, 2020').toJSON() },
83
- { HolidayName: 'Canada Day', HolidayDate: new Date('July 01, 2020').toJSON() },
84
- { HolidayName: 'Labour Day', HolidayDate: new Date('September 07, 2020').toJSON() },
85
- { HolidayName: 'Thanksgiving', HolidayDate: new Date('October 12, 2020').toJSON() },
86
- { HolidayName: 'Rememberance Day', HolidayDate: new Date('November 11, 2020').toJSON() },
87
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
88
- { HolidayName: 'Boxing Day', HolidayDate: new Date('December 26, 2020').toJSON() },
191
+ {
192
+ HolidayName: 'New Years Day',
193
+ HolidayDate: new Date('January 01, 2020').toJSON(),
194
+ },
195
+ {
196
+ HolidayName: 'Good Friday',
197
+ HolidayDate: new Date('April 10, 2020').toJSON(),
198
+ },
199
+ {
200
+ HolidayName: 'Victoria Day',
201
+ HolidayDate: new Date('May 18, 2020').toJSON(),
202
+ },
203
+ {
204
+ HolidayName: 'Canada Day',
205
+ HolidayDate: new Date('July 01, 2020').toJSON(),
206
+ },
207
+ {
208
+ HolidayName: 'Labour Day',
209
+ HolidayDate: new Date('September 07, 2020').toJSON(),
210
+ },
211
+ {
212
+ HolidayName: 'Thanksgiving',
213
+ HolidayDate: new Date('October 12, 2020').toJSON(),
214
+ },
215
+ {
216
+ HolidayName: 'Rememberance Day',
217
+ HolidayDate: new Date('November 11, 2020').toJSON(),
218
+ },
219
+ {
220
+ HolidayName: 'Christmas Day',
221
+ HolidayDate: new Date('December 25, 2020').toJSON(),
222
+ },
223
+ {
224
+ HolidayName: 'Boxing Day',
225
+ HolidayDate: new Date('December 26, 2020').toJSON(),
226
+ },
89
227
  ],
90
228
  },
91
229
  {
92
230
  Name: 'Singapore',
93
231
  YearName: 2020,
94
232
  CalendarEntries: [
95
- { HolidayName: 'New Years Day', HolidayDate: new Date('January 01, 2020').toJSON() },
96
- { HolidayName: 'Chinese New Year', HolidayDate: new Date('January 25, 2020').toJSON() },
97
- { HolidayName: 'Good Friday', HolidayDate: new Date('April 10, 2020').toJSON() },
98
- { HolidayName: 'Labour Day', HolidayDate: new Date('May 01, 2020').toJSON() },
99
- { HolidayName: 'Vesak Day', HolidayDate: new Date('May 07, 2020').toJSON() },
100
- { HolidayName: 'National Day', HolidayDate: new Date('August 09, 2020').toJSON() },
101
- { HolidayName: 'Hari Raya Haji', HolidayDate: new Date('August 10, 2020').toJSON() },
102
- { HolidayName: 'Deewali', HolidayDate: new Date('November 14, 2020').toJSON() },
103
- { HolidayName: 'Christmas Day', HolidayDate: new Date('December 25, 2020').toJSON() },
233
+ {
234
+ HolidayName: 'New Years Day',
235
+ HolidayDate: new Date('January 01, 2020').toJSON(),
236
+ },
237
+ {
238
+ HolidayName: 'Chinese New Year',
239
+ HolidayDate: new Date('January 25, 2020').toJSON(),
240
+ },
241
+ {
242
+ HolidayName: 'Good Friday',
243
+ HolidayDate: new Date('April 10, 2020').toJSON(),
244
+ },
245
+ {
246
+ HolidayName: 'Labour Day',
247
+ HolidayDate: new Date('May 01, 2020').toJSON(),
248
+ },
249
+ {
250
+ HolidayName: 'Vesak Day',
251
+ HolidayDate: new Date('May 07, 2020').toJSON(),
252
+ },
253
+ {
254
+ HolidayName: 'National Day',
255
+ HolidayDate: new Date('August 09, 2020').toJSON(),
256
+ },
257
+ {
258
+ HolidayName: 'Hari Raya Haji',
259
+ HolidayDate: new Date('August 10, 2020').toJSON(),
260
+ },
261
+ {
262
+ HolidayName: 'Deewali',
263
+ HolidayDate: new Date('November 14, 2020').toJSON(),
264
+ },
265
+ {
266
+ HolidayName: 'Christmas Day',
267
+ HolidayDate: new Date('December 25, 2020').toJSON(),
268
+ },
104
269
  ],
105
270
  },
106
271
  ];
@@ -19,7 +19,9 @@ export interface InputAction extends Action {
19
19
  export interface UIPrompt {
20
20
  Header: string;
21
21
  Msg: string;
22
- ConfirmAction: InputAction;
22
+ DefaultValue?: string;
23
+ ConfirmAction?: InputAction;
24
+ ConfirmActionCreator?: (inputText: string) => Action;
23
25
  }
24
26
  export interface ScreenPopup {
25
27
  ShowScreenPopup: boolean;
@@ -52,5 +54,7 @@ export interface PromptPopup {
52
54
  ShowPromptPopup: boolean;
53
55
  Header: string;
54
56
  Message: string;
55
- ConfirmAction: InputAction;
57
+ ConfirmAction?: InputAction;
58
+ DefaultValue?: string;
59
+ ConfirmActionCreator?: (inputText: string) => Action;
56
60
  }
@@ -85,9 +85,11 @@ exports.CreateEmptyAlertDefinition = CreateEmptyAlertDefinition;
85
85
  function CreateEmptyFlashingCellDefinition() {
86
86
  return {
87
87
  Uuid: Uuid_1.createUuid(),
88
- Scope: { All: true },
88
+ Scope: { ColumnIds: [] },
89
89
  Rule: {
90
- Predicate: undefined,
90
+ Predicate: {
91
+ PredicateId: 'Any',
92
+ },
91
93
  },
92
94
  };
93
95
  }
@@ -278,6 +280,7 @@ function CreateEmptyFreeTextColumn(isFilterable) {
278
280
  DefaultValue: GeneralConstants_1.EMPTY_STRING,
279
281
  FreeTextStoredValues: [],
280
282
  TextEditor: 'Inline',
283
+ DataType: 'String',
281
284
  FreeTextColumnSettings: {
282
285
  Filterable: isFilterable,
283
286
  Resizable: true,
@@ -55,8 +55,8 @@ class AlertService {
55
55
  isValidExpression(rule) {
56
56
  return rule.ObservableExpression
57
57
  ? this.adaptable.api.queryLanguageApi.isValidObservableExpression(rule.ObservableExpression, ModuleConstants_1.AlertModuleId, `Invalid Alert rule with observable expression `)
58
- : rule.AggregationExpression
59
- ? this.adaptable.api.queryLanguageApi.isValidAggregationExpression(rule.AggregationExpression, ModuleConstants_1.AlertModuleId, `Invalid Alert rule with aggregation expression `)
58
+ : rule.AggregatedBooleanExpression
59
+ ? this.adaptable.api.queryLanguageApi.isValidAggregatedBooleanExpression(rule.AggregatedBooleanExpression, ModuleConstants_1.AlertModuleId, `Invalid Alert rule with aggregation expression `)
60
60
  : false;
61
61
  }
62
62
  evaluateReactiveExpression(rule) {
@@ -66,7 +66,7 @@ class AlertService {
66
66
  .evaluateObservableExpression(rule.ObservableExpression, ModuleConstants_1.AlertModuleId)
67
67
  : this.adaptable.api.internalApi
68
68
  .getQueryLanguageService()
69
- .evaluateAggregationExpression(rule.AggregationExpression, ModuleConstants_1.AlertModuleId);
69
+ .evaluateAggregatedBooleanExpression(rule.AggregatedBooleanExpression, ModuleConstants_1.AlertModuleId);
70
70
  }
71
71
  }
72
72
  exports.AlertService = AlertService;
@@ -58,7 +58,12 @@ class DataService {
58
58
  return result;
59
59
  }
60
60
  getUndoChangeKey(primaryKeyValue, columnId, previousValue, newValue) {
61
- return JSON.stringify({ primaryKeyValue, columnId, previousValue, newValue });
61
+ return JSON.stringify({
62
+ primaryKeyValue,
63
+ columnId,
64
+ previousValue,
65
+ newValue,
66
+ });
62
67
  }
63
68
  logDataChange(dataChangedInfo) {
64
69
  const dataChangeLogEntry = this.extractDataChangeLogEntry(dataChangedInfo);
@@ -8,7 +8,7 @@ export interface IQueryLanguageService extends IAdaptableService {
8
8
  evaluateBooleanExpression(expression: string, module: AdaptableModule, rowNode: RowNode): boolean;
9
9
  evaluateScalarExpression(expression: string, module: AdaptableModule, rowNode: RowNode): any;
10
10
  evaluateObservableExpression(expression: string, module: AdaptableModule): Observable<DataChangedInfo>;
11
- evaluateAggregationExpression(expression: string, module: AdaptableModule): Observable<DataChangedInfo>;
11
+ evaluateAggregatedBooleanExpression(expression: string, module: AdaptableModule): Observable<DataChangedInfo>;
12
12
  validateBoolean(expression: string, module: AdaptableModule, config?: {
13
13
  force?: boolean;
14
14
  }): {
@@ -19,7 +19,7 @@ export interface IQueryLanguageService extends IAdaptableService {
19
19
  isValid: boolean;
20
20
  errorMessage: string;
21
21
  };
22
- validateAggregation(expression: string, module: AdaptableModule): {
22
+ validateAggregatedBoolean(expression: string, module: AdaptableModule): {
23
23
  isValid: boolean;
24
24
  errorMessage: string;
25
25
  };
@@ -6,7 +6,7 @@ const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
6
6
  const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
7
7
  const ObjectFactory_1 = tslib_1.__importDefault(require("../ObjectFactory"));
8
8
  const LoggingHelper_1 = require("../Helpers/LoggingHelper");
9
- const clamp_1 = tslib_1.__importDefault(require("lodash-es/clamp"));
9
+ const clamp_1 = tslib_1.__importDefault(require("lodash/clamp"));
10
10
  const DocumentationLinkConstants_1 = require("../Constants/DocumentationLinkConstants");
11
11
  const decode_1 = require("../license/decode");
12
12
  const EMAIL = 'sales@adaptabletools.com';
@@ -15,7 +15,7 @@ export declare class QueryLanguageService implements IQueryLanguageService {
15
15
  evaluateBooleanExpression(expression: string, module: AdaptableModule, rowNode: any): any;
16
16
  evaluateScalarExpression(expression: string, module: AdaptableModule, rowNode: RowNode): any;
17
17
  evaluateObservableExpression(reactiveExpression: string, module: AdaptableModule): Observable<DataChangedInfo>;
18
- evaluateAggregationExpression(aggregationExpression: string, module: AdaptableModule): Observable<DataChangedInfo>;
18
+ evaluateAggregatedBooleanExpression(aggregationExpression: string, module: AdaptableModule): Observable<DataChangedInfo>;
19
19
  validateBoolean(expressionInput: string, module: AdaptableModule, config?: {
20
20
  force?: boolean;
21
21
  }): {
@@ -26,7 +26,7 @@ export declare class QueryLanguageService implements IQueryLanguageService {
26
26
  isValid: boolean;
27
27
  errorMessage: string;
28
28
  };
29
- validateAggregation(expressionInput: string, module: AdaptableModule): {
29
+ validateAggregatedBoolean(expressionInput: string, module: AdaptableModule): {
30
30
  isValid: boolean;
31
31
  errorMessage: string;
32
32
  };
@@ -37,13 +37,13 @@ class QueryLanguageService {
37
37
  });
38
38
  return reactiveExpression$;
39
39
  }
40
- evaluateAggregationExpression(aggregationExpression, module) {
40
+ evaluateAggregatedBooleanExpression(aggregationExpression, module) {
41
41
  const moduleExpressionFunctions = this.getModuleExpressionFunctions(module);
42
42
  const booleanAndScalarFunctions = this.getBooleanAndScalarFunctions(moduleExpressionFunctions);
43
43
  const aggregationExpression$ = parser.evaluate(aggregationExpression, {
44
44
  node: aggregationExpression,
45
45
  api: this.adaptable.api,
46
- functions: moduleExpressionFunctions.aggregationFunctions,
46
+ functions: moduleExpressionFunctions.aggregatedBooleanFunctions,
47
47
  whereClauseFunctions: booleanAndScalarFunctions,
48
48
  });
49
49
  return aggregationExpression$;
@@ -57,7 +57,10 @@ class QueryLanguageService {
57
57
  }
58
58
  const expression = expressionInput.trim();
59
59
  if (expression === '') {
60
- const result = { isValid: false, errorMessage: 'empty boolean expression' };
60
+ const result = {
61
+ isValid: false,
62
+ errorMessage: 'empty boolean expression',
63
+ };
61
64
  this.cacheBooleanValidation.set(cacheKey, result);
62
65
  return result;
63
66
  }
@@ -113,7 +116,10 @@ class QueryLanguageService {
113
116
  }
114
117
  const expression = expressionInput.trim();
115
118
  if (expression === '') {
116
- const result = { isValid: false, errorMessage: 'empty observable expression' };
119
+ const result = {
120
+ isValid: false,
121
+ errorMessage: 'empty observable expression',
122
+ };
117
123
  this.cacheObservableValidation.set(cacheKey, result);
118
124
  return result;
119
125
  }
@@ -140,19 +146,22 @@ class QueryLanguageService {
140
146
  return result;
141
147
  }
142
148
  }
143
- validateAggregation(expressionInput = '', module) {
149
+ validateAggregatedBoolean(expressionInput = '', module) {
144
150
  const cacheKey = this.getExpressionCacheKey(expressionInput, module);
145
151
  if (this.cacheAggregationValidation.has(cacheKey)) {
146
152
  return this.cacheAggregationValidation.get(cacheKey);
147
153
  }
148
154
  const expression = expressionInput.trim();
149
155
  if (expression === '') {
150
- const result = { isValid: false, errorMessage: 'empty aggregation expression' };
156
+ const result = {
157
+ isValid: false,
158
+ errorMessage: 'empty aggregation expression',
159
+ };
151
160
  this.cacheAggregationValidation.set(cacheKey, result);
152
161
  return result;
153
162
  }
154
163
  try {
155
- const aggregationExpression = this.evaluateAggregationExpression(expression, module);
164
+ const aggregationExpression = this.evaluateAggregatedBooleanExpression(expression, module);
156
165
  if (!rxjs_1.isObservable(aggregationExpression)) {
157
166
  const result = {
158
167
  isValid: false,
@@ -187,14 +196,10 @@ class QueryLanguageService {
187
196
  if (!module) {
188
197
  LoggingHelper_1.LogAdaptableInfo(`QueryLanguageService.getModuleExpressionFunctions() was called with an undefined 'module' param, this should never happen`);
189
198
  return {
190
- booleanFunctions: this.adaptable.adaptableOptions.queryLanguageOptions
191
- .defaultBooleanFunctions,
192
- scalarFunctions: this.adaptable.adaptableOptions.queryLanguageOptions
193
- .defaultScalarFunctions,
194
- observableFunctions: this.adaptable.adaptableOptions.queryLanguageOptions
195
- .defaultObservableFunctions,
196
- aggregationFunctions: this.adaptable.adaptableOptions.queryLanguageOptions
197
- .defaultAggregationFunctions,
199
+ booleanFunctions: this.adaptable.adaptableOptions.queryLanguageOptions.defaultBooleanFunctions,
200
+ scalarFunctions: this.adaptable.adaptableOptions.queryLanguageOptions.defaultScalarFunctions,
201
+ observableFunctions: this.adaptable.adaptableOptions.queryLanguageOptions.defaultObservableFunctions,
202
+ aggregatedBooleanFunctions: this.adaptable.adaptableOptions.queryLanguageOptions.defaultAggregatedBooleanFunctions,
198
203
  };
199
204
  }
200
205
  let cachedResult = this.cacheModuleSpecificExpressionFunctions.get(module);
@@ -206,7 +211,7 @@ class QueryLanguageService {
206
211
  booleanFunctions: (_c = moduleSpecificOptions.booleanFunctions) !== null && _c !== void 0 ? _c : this.adaptable.adaptableOptions.queryLanguageOptions.defaultBooleanFunctions,
207
212
  scalarFunctions: (_d = moduleSpecificOptions.scalarFunctions) !== null && _d !== void 0 ? _d : this.adaptable.adaptableOptions.queryLanguageOptions.defaultScalarFunctions,
208
213
  observableFunctions: (_e = moduleSpecificOptions.observableFunctions) !== null && _e !== void 0 ? _e : this.adaptable.adaptableOptions.queryLanguageOptions.defaultObservableFunctions,
209
- aggregationFunctions: (_f = moduleSpecificOptions.aggregationFunctions) !== null && _f !== void 0 ? _f : this.adaptable.adaptableOptions.queryLanguageOptions.defaultAggregationFunctions,
214
+ aggregatedBooleanFunctions: (_f = moduleSpecificOptions.aggregatedBooleanFunctions) !== null && _f !== void 0 ? _f : this.adaptable.adaptableOptions.queryLanguageOptions.defaultAggregatedBooleanFunctions,
210
215
  };
211
216
  this.cacheModuleSpecificExpressionFunctions.set(module, moduleSpecificFunctions);
212
217
  return moduleSpecificFunctions;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReportService = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const groupBy_1 = tslib_1.__importDefault(require("lodash-es/groupBy"));
5
+ const groupBy_1 = tslib_1.__importDefault(require("lodash/groupBy"));
6
6
  const Enums_1 = require("../../PredefinedConfig/Common/Enums");
7
7
  const Uuid_1 = require("../../PredefinedConfig/Uuid");
8
8
  const GeneralConstants_1 = require("../Constants/GeneralConstants");
@@ -305,7 +305,9 @@ class ReportService {
305
305
  // if this is a date column and there is a custom export date format provided, that will take precedence
306
306
  if (columnType === 'Date' && !!this.getCustomExportDateFormat()) {
307
307
  const exportDateFormat = this.getCustomExportDateFormat();
308
- return FormatHelper_1.default.DateFormatter(cellRawValue, { Pattern: exportDateFormat });
308
+ return FormatHelper_1.default.DateFormatter(cellRawValue, {
309
+ Pattern: exportDateFormat,
310
+ });
309
311
  }
310
312
  // otherwise check the general export format types
311
313
  let cellExportFormat = this.computeCellExportValueFormat(columnType);
@@ -314,7 +316,9 @@ class ReportService {
314
316
  getReportFileName(reportName) {
315
317
  let fileName = StringExtensions_1.default.ReplaceEmptySpacesWithUnderscore(reportName);
316
318
  if (this.adaptable.adaptableOptions.exportOptions.appendFileTimestamp) {
317
- fileName = `${fileName}_${FormatHelper_1.DateFormatter(new Date(), { Pattern: 'yyyyMMdd_HHmmss' })}`;
319
+ fileName = `${fileName}_${FormatHelper_1.DateFormatter(new Date(), {
320
+ Pattern: 'yyyyMMdd_HHmmss',
321
+ })}`;
318
322
  }
319
323
  return fileName;
320
324
  }
@@ -45,7 +45,10 @@ class TeamSharingService {
45
45
  .includes(reference.Reference.Uuid));
46
46
  const newSharedEntityDependencies = [];
47
47
  freshReferences.forEach((reference) => {
48
- this.createSharedEntity(reference.Reference, reference.Module, { description: activeSharedEntity.Description, type: activeSharedEntity.Type }, activeSharedEntity.UserName, Date.now(), newSharedEntityDependencies);
48
+ this.createSharedEntity(reference.Reference, reference.Module, {
49
+ description: activeSharedEntity.Description,
50
+ type: activeSharedEntity.Type,
51
+ }, activeSharedEntity.UserName, Date.now(), newSharedEntityDependencies);
49
52
  });
50
53
  updatedEntityDependencyIds.push(...newSharedEntityDependencies.map((sharedEntity) => sharedEntity.Uuid));
51
54
  activeSharedEntity.EntityDependencyIds = updatedEntityDependencyIds;
@@ -84,8 +87,7 @@ class TeamSharingService {
84
87
  }
85
88
  getStaleActiveSharedEntities() {
86
89
  const sharedEntities = this.adaptable.api.teamSharingApi.getSharedEntities();
87
- const activeEntities = this.adaptable.api.teamSharingApi.getTeamSharingState()
88
- .ActiveSharedEntityMap;
90
+ const activeEntities = this.adaptable.api.teamSharingApi.getTeamSharingState().ActiveSharedEntityMap;
89
91
  const result = {};
90
92
  sharedEntities
91
93
  .filter((sharedEntity) => sharedEntity.Type === 'Active')
@@ -17,7 +17,12 @@ class AdaptablePopover extends React.Component {
17
17
  const title = StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.props.headerText)
18
18
  ? this.props.headerText
19
19
  : '';
20
- const popoverClickRootClose = (React.createElement(rebass_1.Box, { className: "ab-Popover", style: { margin: '0px', padding: '0px', minWidth: popoverMinWidth, maxWidth: 300 } },
20
+ const popoverClickRootClose = (React.createElement(rebass_1.Box, { className: "ab-Popover", style: {
21
+ margin: '0px',
22
+ padding: '0px',
23
+ minWidth: popoverMinWidth,
24
+ maxWidth: 300,
25
+ } },
21
26
  title ? (React.createElement(rebass_1.Text, { fontSize: 2, padding: 2 },
22
27
  React.createElement("b", null, title))) : null,
23
28
  React.createElement(rebass_1.Box, { padding: 2 }, this.props.bodyText.map((textOrHTML, index) => (React.createElement("span", { key: index }, textOrHTML))))));
@@ -22,7 +22,7 @@ class AdaptableView extends React.Component {
22
22
  return (React.createElement("div", null,
23
23
  this.props.AdaptableApi.internalApi.getModuleService().isModuleAvailable('Dashboard') && (React.createElement(Dashboard_1.Dashboard, { api: this.props.AdaptableApi })),
24
24
  React.createElement(AdaptableLoadingScreen_1.AdaptableLoadingScreen, { onClose: this.props.onCloseLoadingPopup, showLoadingScreen: this.props.PopupState.LoadingPopup.ShowLoadingPopup }),
25
- React.createElement(AdaptablePopupPrompt_1.AdaptablePopupPrompt, { message: this.props.PopupState.PromptPopup.Message, header: this.props.PopupState.PromptPopup.Header, onClose: this.props.onClosePromptPopup, onConfirm: this.props.onConfirmPromptPopup, showPopup: this.props.PopupState.PromptPopup.ShowPromptPopup }),
25
+ this.props.PopupState.PromptPopup.ShowPromptPopup && (React.createElement(AdaptablePopupPrompt_1.AdaptablePopupPrompt, { message: this.props.PopupState.PromptPopup.Message, header: this.props.PopupState.PromptPopup.Header, onClose: this.props.onClosePromptPopup, onConfirm: this.props.onConfirmPromptPopup, onConfirmActionCreator: this.props.PopupState.PromptPopup.ConfirmActionCreator, defaultValue: this.props.PopupState.PromptPopup.DefaultValue })),
26
26
  React.createElement(AdaptablePopupConfirmation_1.AdaptablePopupConfirmation, { header: this.props.PopupState.ConfirmationPopup.Header, messsage: this.props.PopupState.ConfirmationPopup.Msg, showPopup: this.props.PopupState.ConfirmationPopup.ShowConfirmationPopup, cancelButtonText: this.props.PopupState.ConfirmationPopup.CancelButtonText, confirmButtonText: this.props.PopupState.ConfirmationPopup.ConfirmButtonText, onCancel: this.props.onCancelConfirmationPopup, onConfirm: this.props.onConfirmConfirmationPopup, showInputBox: this.props.PopupState.ConfirmationPopup.ShowInputBox, messageType: this.props.PopupState.ConfirmationPopup.MessageType, api: this.props.AdaptableApi }),
27
27
  Boolean(this.props.PopupState.ScreenPopup.ShowScreenPopup) && (React.createElement(AdaptablePopup_1.AdaptablePopup, { componentName: this.props.PopupState.ScreenPopup.ComponentName, componentModule: this.props.PopupState.ScreenPopup.ComponentModule, onHide: this.props.onCloseScreenPopup, api: this.props.AdaptableApi, onClearParams: () => this.props.onClearPopupParams(), moduleParams: this.props.PopupState.ScreenPopup.Params, moduleProps: this.props.PopupState.ScreenPopup.PopupProps })),
28
28
  React.createElement(ExportCustomDestinationFormPopups_1.ExportCustomDestinationFormPopups, { api: this.props.AdaptableApi }),
@@ -26,7 +26,11 @@ const dataTypes = [
26
26
  label: 'Boolean',
27
27
  },
28
28
  ];
29
- const inputStyle = { width: '100%', minWidth: 50, textAlign: 'start' };
29
+ const inputStyle = {
30
+ width: '100%',
31
+ minWidth: 50,
32
+ textAlign: 'start',
33
+ };
30
34
  const useForceRender = () => {
31
35
  const [, setNow] = react_1.useState(Date.now());
32
36
  return () => {