@adaptabletools/adaptable-cjs 17.0.0-canary.3 → 18.0.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/base.css +1264 -1202
  2. package/base.css.map +1 -1
  3. package/index.css +2099 -22
  4. package/index.css.map +1 -1
  5. package/package.json +5 -4
  6. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
  7. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  8. package/src/AdaptableOptions/AlertOptions.d.ts +7 -7
  9. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +9 -9
  10. package/src/AdaptableOptions/CommentsOptions.d.ts +28 -0
  11. package/src/AdaptableOptions/EditOptions.d.ts +6 -6
  12. package/src/AdaptableOptions/GridFilterOptions.d.ts +13 -8
  13. package/src/AdaptableOptions/GroupingOptions.d.ts +9 -9
  14. package/src/AdaptableOptions/InteropioPluginOptions.d.ts +10 -0
  15. package/src/AdaptableOptions/MenuOptions.d.ts +18 -4
  16. package/src/AdaptableOptions/MenuOptions.js +14 -6
  17. package/src/AdaptableOptions/NotesOptions.d.ts +2 -9
  18. package/src/Api/AdaptableApi.d.ts +6 -1
  19. package/src/Api/CommentApi.d.ts +58 -0
  20. package/src/Api/EventApi.d.ts +48 -12
  21. package/src/Api/Events/CalculatedColumnChanged.d.ts +19 -0
  22. package/src/Api/Events/CellSelectionChanged.d.ts +11 -0
  23. package/src/Api/Events/CommentsChangedInfo.d.ts +5 -0
  24. package/src/Api/Events/LiveDataChanged.d.ts +3 -3
  25. package/src/Api/Events/RowSelectionChanged.d.ts +11 -0
  26. package/src/Api/GridApi.d.ts +0 -6
  27. package/src/Api/GridFilterApi.d.ts +2 -2
  28. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -6
  29. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  30. package/src/Api/Implementation/CommentsApiImpl.d.ts +15 -0
  31. package/src/Api/Implementation/CommentsApiImpl.js +46 -0
  32. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
  33. package/src/Api/Implementation/ExpressionApiImpl.js +3 -4
  34. package/src/Api/Implementation/GridApiImpl.d.ts +0 -1
  35. package/src/Api/Implementation/GridApiImpl.js +0 -4
  36. package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/GridFilterApiImpl.js +1 -1
  38. package/src/Api/Implementation/NotesApiImpl.d.ts +2 -6
  39. package/src/Api/Implementation/NotesApiImpl.js +1 -15
  40. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
  41. package/src/Api/Implementation/OptionsApiImpl.js +3 -0
  42. package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -6
  43. package/src/Api/Implementation/PluginsApiImpl.js +3 -15
  44. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -12
  45. package/src/Api/Implementation/ScheduleApiImpl.js +0 -36
  46. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -0
  47. package/src/Api/Implementation/ThemeApiImpl.js +3 -0
  48. package/src/Api/Internal/ActionRowInternalApi.js +1 -1
  49. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
  50. package/src/Api/Internal/AdaptableInternalApi.js +3 -0
  51. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +2 -0
  52. package/src/Api/Internal/CalculatedColumnInternalApi.js +16 -0
  53. package/src/Api/Internal/DashboardInternalApi.d.ts +1 -0
  54. package/src/Api/Internal/DashboardInternalApi.js +5 -0
  55. package/src/Api/Internal/DataImportInternalApi.js +2 -0
  56. package/src/Api/Internal/DataSetInternalApi.js +2 -1
  57. package/src/Api/Internal/GridInternalApi.d.ts +3 -1
  58. package/src/Api/Internal/GridInternalApi.js +32 -9
  59. package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
  60. package/src/Api/Internal/LayoutInternalApi.js +11 -11
  61. package/src/Api/InteropioPluginApi.d.ts +10 -0
  62. package/src/Api/{NotesAPi.d.ts → NotesApi.d.ts} +19 -21
  63. package/src/Api/OptionsApi.d.ts +5 -0
  64. package/src/Api/PluginsApi.d.ts +3 -13
  65. package/src/Api/ScheduleApi.d.ts +1 -48
  66. package/src/Api/ThemeApi.d.ts +5 -0
  67. package/src/PredefinedConfig/AdaptableState.d.ts +4 -2
  68. package/src/PredefinedConfig/CellAddress.d.ts +13 -0
  69. package/src/PredefinedConfig/CellAddress.js +5 -0
  70. package/src/PredefinedConfig/CommentState.d.ts +48 -0
  71. package/src/PredefinedConfig/CommentState.js +2 -0
  72. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  73. package/src/PredefinedConfig/Common/AdaptablePredicate.js +2 -1
  74. package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
  75. package/src/PredefinedConfig/Common/Enums.js +0 -1
  76. package/src/PredefinedConfig/Common/Schedule.d.ts +1 -1
  77. package/src/PredefinedConfig/Common/Types.d.ts +5 -5
  78. package/src/PredefinedConfig/Common/Types.js +0 -2
  79. package/src/PredefinedConfig/NotesState.d.ts +0 -13
  80. package/src/PredefinedConfig/PredefinedConfig.d.ts +3 -0
  81. package/src/PredefinedConfig/ScheduleState.d.ts +0 -5
  82. package/src/PredefinedConfig/SystemState.d.ts +5 -6
  83. package/src/PredefinedConfig/ThemeState.d.ts +1 -1
  84. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +79 -0
  85. package/src/Redux/ActionsReducers/CommentsRedux.js +189 -0
  86. package/src/Redux/ActionsReducers/NotesRedux.js +1 -2
  87. package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -48
  88. package/src/Redux/ActionsReducers/PluginsRedux.js +1 -49
  89. package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +16 -0
  90. package/src/Redux/ActionsReducers/PlusMinusRedux.js +47 -1
  91. package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +0 -53
  92. package/src/Redux/ActionsReducers/ScheduleRedux.js +2 -90
  93. package/src/Redux/ActionsReducers/SystemRedux.d.ts +23 -12
  94. package/src/Redux/ActionsReducers/SystemRedux.js +55 -23
  95. package/src/Redux/Store/AdaptableStore.d.ts +2 -2
  96. package/src/Redux/Store/AdaptableStore.js +107 -46
  97. package/src/Strategy/CommentsModule.d.ts +16 -0
  98. package/src/Strategy/CommentsModule.js +82 -0
  99. package/src/Strategy/LayoutModule.d.ts +12 -4
  100. package/src/Strategy/LayoutModule.js +19 -14
  101. package/src/Strategy/NotesModule.d.ts +0 -13
  102. package/src/Strategy/NotesModule.js +9 -88
  103. package/src/Strategy/PlusMinusModule.js +2 -0
  104. package/src/Strategy/ScheduleModule.js +0 -23
  105. package/src/Strategy/Utilities/Export/getExportRowsViewItems.d.ts +2 -1
  106. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +14 -5
  107. package/src/Strategy/Utilities/getExpressionViewItems.js +8 -2
  108. package/src/Utilities/Constants/ConfigConstants.d.ts +1 -0
  109. package/src/Utilities/Constants/ConfigConstants.js +2 -1
  110. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  111. package/src/Utilities/Constants/GeneralConstants.js +8 -3
  112. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -3
  113. package/src/Utilities/Constants/ModuleConstants.js +4 -4
  114. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
  115. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
  116. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +7 -1
  117. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +6 -0
  118. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  119. package/src/Utilities/ExpressionFunctions/dateUtils.js +18 -1
  120. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  121. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +12 -12
  122. package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -0
  123. package/src/Utilities/Extensions/ArrayExtensions.js +8 -1
  124. package/src/Utilities/Helpers/PreviewHelper.js +5 -2
  125. package/src/Utilities/ObjectFactory.d.ts +19 -22
  126. package/src/Utilities/ObjectFactory.js +51 -60
  127. package/src/Utilities/Services/CellPopupService.d.ts +23 -0
  128. package/src/Utilities/Services/CellPopupService.js +138 -0
  129. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  130. package/src/Utilities/Services/Interface/IThemeService.d.ts +8 -0
  131. package/src/Utilities/Services/ModuleService.js +1 -3
  132. package/src/Utilities/Services/ReportService.d.ts +1 -1
  133. package/src/Utilities/Services/ThemeService.d.ts +3 -0
  134. package/src/Utilities/Services/ThemeService.js +33 -1
  135. package/src/Utilities/Services/ValidationService.js +11 -11
  136. package/src/View/AdaptableView.js +3 -3
  137. package/src/View/AdaptableViewFactory.js +4 -2
  138. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -2
  139. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +1 -1
  140. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -1
  141. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
  142. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  143. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -3
  144. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  145. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
  146. package/src/View/Charting/useChartingElements.js +8 -3
  147. package/src/View/Comments/CommentsEditor.d.ts +7 -0
  148. package/src/View/Comments/CommentsEditor.js +100 -0
  149. package/src/View/Comments/CommentsPopup.d.ts +2 -0
  150. package/src/View/Comments/CommentsPopup.js +87 -0
  151. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -1
  152. package/src/View/Components/CellPopup/index.js +1 -1
  153. package/src/View/Components/FilterForm/FilterForm.js +8 -2
  154. package/src/View/Components/FilterForm/ListBoxFilterForm.js +1 -3
  155. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -4
  156. package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
  157. package/src/View/Components/FilterForm/QuickFilterValues.js +4 -3
  158. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -0
  159. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +67 -0
  160. package/src/View/Components/Popups/GridCellPopup/index.d.ts +1 -0
  161. package/src/View/Components/Popups/GridCellPopup/index.js +5 -0
  162. package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
  163. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  164. package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +5 -4
  165. package/src/View/Components/Selectors/PermittedValuesSelector.js +25 -3
  166. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -4
  167. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  168. package/src/View/Dashboard/PinnedDashboard.js +2 -1
  169. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +2 -2
  170. package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -1
  171. package/src/View/GridFilter/GridFilterExpressionEditor.js +1 -1
  172. package/src/View/GridFilter/GridFilterPopup.js +10 -8
  173. package/src/View/GridFilter/GridFilterViewPanel.js +14 -11
  174. package/src/View/GridFilter/NamedQuerySelector.js +1 -1
  175. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +3 -0
  176. package/src/View/GridFilter/useGridFilterExpressionEditor.js +17 -6
  177. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +5 -23
  178. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +3 -2
  179. package/src/View/Layout/Wizard/getGridFilterPreview.d.ts +6 -0
  180. package/src/View/Layout/Wizard/getGridFilterPreview.js +16 -0
  181. package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
  182. package/src/View/Layout/Wizard/sections/GridFilterSection.js +4 -4
  183. package/src/View/NamedQuery/EditCurrentQueryButton.js +1 -1
  184. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  185. package/src/View/Notes/NoteEditor.d.ts +8 -0
  186. package/src/View/Notes/NoteEditor.js +33 -0
  187. package/src/View/Notes/NotesPopup.d.ts +2 -2
  188. package/src/View/Notes/NotesPopup.js +78 -55
  189. package/src/View/PlusMinus/MovePlusMinus.d.ts +7 -0
  190. package/src/View/PlusMinus/MovePlusMinus.js +27 -0
  191. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +0 -9
  192. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +0 -4
  193. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -8
  194. package/src/View/Schedule/Wizard/ScheduleWizard.js +0 -8
  195. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +3 -1
  196. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +1 -2
  197. package/src/agGrid/Adaptable.d.ts +7 -0
  198. package/src/agGrid/Adaptable.js +49 -35
  199. package/src/agGrid/BadgeRenderer.js +9 -5
  200. package/src/agGrid/agGridHelper.d.ts +2 -1
  201. package/src/agGrid/agGridHelper.js +15 -3
  202. package/src/agGrid/agGridMenuHelper.d.ts +2 -0
  203. package/src/agGrid/agGridMenuHelper.js +73 -25
  204. package/src/components/Datepicker/index.js +4 -4
  205. package/src/components/ExpressionEditor/ExpressionPreview.d.ts +7 -0
  206. package/src/components/ExpressionEditor/ExpressionPreview.js +25 -0
  207. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +2 -2
  208. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +6 -0
  209. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +40 -11
  210. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +14 -2
  211. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +1 -0
  212. package/src/components/ExpressionEditor/QueryBuilder/utils.js +1 -1
  213. package/src/components/ExpressionEditor/index.js +4 -7
  214. package/src/components/InputGroup/InputGroup.d.ts +7 -0
  215. package/src/components/InputGroup/InputGroup.js +12 -0
  216. package/src/components/InputGroup/index.d.ts +1 -0
  217. package/src/components/InputGroup/index.js +4 -0
  218. package/src/components/OverlayTrigger/index.js +7 -2
  219. package/src/components/Select/Select.d.ts +1 -2
  220. package/src/components/Select/Select.js +63 -23
  221. package/src/components/Toastify/index.d.ts +2 -2
  222. package/src/components/Toastify/index.js +1 -1
  223. package/src/components/icons/comments.d.ts +3 -0
  224. package/src/components/icons/comments.js +7 -0
  225. package/src/components/icons/index.js +3 -1
  226. package/src/env.d.ts +3 -1
  227. package/src/env.js +3 -1
  228. package/src/metamodel/adaptable.metamodel.d.ts +72 -158
  229. package/src/metamodel/adaptable.metamodel.js +128 -260
  230. package/src/parser/src/parser.d.ts +2 -0
  231. package/src/parser/src/parser.js +1880 -705
  232. package/src/parser/src/predicate/mapQlPredicateToExpression.js +5 -2
  233. package/src/parser/src/predicate/types.d.ts +1 -1
  234. package/src/parser/src/types.d.ts +1 -1
  235. package/src/renderReactRoot.js +15 -0
  236. package/src/themes/index.js +4 -0
  237. package/src/types.d.ts +10 -13
  238. package/themes/dark.css +4 -4
  239. package/themes/dark.css.map +1 -1
  240. package/themes/light.css +1 -1
  241. package/themes/light.css.map +1 -1
  242. package/tsconfig.cjs.tsbuildinfo +1 -1
  243. package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +0 -35
  244. package/src/AdaptableOptions/Glue42PluginOptions.d.ts +0 -25
  245. package/src/AdaptableOptions/Glue42WebPluginOptions.d.ts +0 -10
  246. package/src/Api/Events/SelectionChanged.d.ts +0 -16
  247. package/src/Api/FinsembleApi.d.ts +0 -10
  248. package/src/Api/Glue42Api.d.ts +0 -75
  249. package/src/Api/Glue42WebApi.d.ts +0 -10
  250. package/src/PredefinedConfig/Glue42State.d.ts +0 -46
  251. package/src/View/Notes/NotesListing.d.ts +0 -2
  252. package/src/View/Notes/NotesListing.js +0 -88
  253. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.d.ts +0 -9
  254. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +0 -25
  255. package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -9
  256. package/src/bundle-dependencies/bundles/react-toastify/components/Icons.d.ts +0 -24
  257. package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -59
  258. package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
  259. package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
  260. package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -6
  261. package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -6
  262. package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
  263. package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
  264. package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -41
  265. package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -2
  266. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
  267. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -23
  268. package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
  269. package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
  270. package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
  271. package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -269
  272. package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
  273. package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -23
  274. package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -43
  275. package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -5
  276. package/src/bundle-dependencies/bundles/react-toastify/utils/mapper.d.ts +0 -2
  277. package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -9
  278. /package/src/AdaptableOptions/{FinsemblePluginOptions.js → CommentsOptions.js} +0 -0
  279. /package/src/AdaptableOptions/{Glue42PluginOptions.js → InteropioPluginOptions.js} +0 -0
  280. /package/src/{AdaptableOptions/Glue42WebPluginOptions.js → Api/CommentApi.js} +0 -0
  281. /package/src/Api/Events/{SelectionChanged.js → CalculatedColumnChanged.js} +0 -0
  282. /package/src/Api/{FinsembleApi.js → Events/CellSelectionChanged.js} +0 -0
  283. /package/src/Api/{Glue42Api.js → Events/CommentsChangedInfo.js} +0 -0
  284. /package/src/Api/{Glue42WebApi.js → Events/RowSelectionChanged.js} +0 -0
  285. /package/src/Api/Internal/{ExpressionnternalApi.d.ts → ExpressionInternalApi.d.ts} +0 -0
  286. /package/src/Api/Internal/{ExpressionnternalApi.js → ExpressionInternalApi.js} +0 -0
  287. /package/src/Api/{NotesAPi.js → InteropioPluginApi.js} +0 -0
  288. /package/src/{PredefinedConfig/Glue42State.js → Api/NotesApi.js} +0 -0
@@ -19,7 +19,6 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
19
19
  allSchedules.push(...this.getReminderSchedules());
20
20
  allSchedules.push(...this.getReportSchedules());
21
21
  allSchedules.push(...this.getIPushPullSchedules());
22
- allSchedules.push(...this.getGlue42Schedules());
23
22
  allSchedules.push(...this.getOpenFinSchedules());
24
23
  return allSchedules;
25
24
  }
@@ -114,36 +113,6 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
114
113
  this.dispatchAction(ScheduleRedux.IPushPullScheduleUnSuspend(schedule));
115
114
  return this.getScheduleById(schedule.Uuid);
116
115
  }
117
- getGlue42Schedules(config) {
118
- var _a;
119
- const glue42Api = this.adaptable.api.pluginsApi.getGlue42PluginApi();
120
- return ((_a = this.handleLayoutAssociatedObjects(glue42Api === null || glue42Api === void 0 ? void 0 : glue42Api.getGlue42Schedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
121
- }
122
- getActiveGlue42Schedules() {
123
- return this.getGlue42Schedules().filter((schedule) => !schedule.IsSuspended);
124
- }
125
- getSuspendedGlue42Schedules() {
126
- return this.getGlue42Schedules().filter((schedule) => schedule.IsSuspended);
127
- }
128
- addGlue42Schedule(schedule) {
129
- this.dispatchAction(ScheduleRedux.Glue42ScheduleAdd(schedule));
130
- return this.getScheduleById(schedule.Uuid);
131
- }
132
- editGlue42Schedule(schedule) {
133
- this.dispatchAction(ScheduleRedux.Glue42ScheduleEdit(schedule));
134
- return this.getScheduleById(schedule.Uuid);
135
- }
136
- deleteGlue42Schedule(schedule) {
137
- this.dispatchAction(ScheduleRedux.Glue42ScheduleDelete(schedule));
138
- }
139
- suspendGlue42Schedule(schedule) {
140
- this.dispatchAction(ScheduleRedux.Glue42ScheduleSuspend(schedule));
141
- return this.getScheduleById(schedule.Uuid);
142
- }
143
- unSuspendGlue42Schedule(schedule) {
144
- this.dispatchAction(ScheduleRedux.Glue42ScheduleUnSuspend(schedule));
145
- return this.getScheduleById(schedule.Uuid);
146
- }
147
116
  getOpenFinSchedules(config) {
148
117
  var _a;
149
118
  const openFinApi = this.adaptable.api.pluginsApi.getOpenFinPluginApi();
@@ -210,11 +179,6 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
210
179
  ippApi.startLiveData(iPushPullSchedule.IPushPullReport);
211
180
  }
212
181
  }
213
- else if (scheduleType == 'Glue42') {
214
- const glue42Api = this.adaptable.api.pluginsApi.getGlue42PluginApi();
215
- const glue42Schedule = schedule;
216
- glue42Api.sendSnapshotToDo(glue42Schedule.Glue42Report);
217
- }
218
182
  else if (scheduleType == 'OpenFin') {
219
183
  const openFinApi = this.adaptable.api.pluginsApi.getOpenFinPluginApi();
220
184
  const openFinSchedule = schedule;
@@ -18,6 +18,7 @@ export declare class ThemeApiImpl extends ApiBase implements ThemeApi {
18
18
  applyCurrentTheme(): void;
19
19
  getUserThemes(): AdaptableTheme[];
20
20
  getThemes(): AdaptableTheme[];
21
+ getThemeByName(themeName: string): AdaptableTheme;
21
22
  openThemeSettingsPanel(): void;
22
23
  getAgGridCurrentThemeName(): string;
23
24
  editTheme(theme: AdaptableTheme): void;
@@ -76,6 +76,9 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
76
76
  getThemes() {
77
77
  return [...this.getSystemThemes(), ...this.getUserThemes()];
78
78
  }
79
+ getThemeByName(themeName) {
80
+ return this.getThemes().find((theme) => theme.Name === themeName);
81
+ }
79
82
  openThemeSettingsPanel() {
80
83
  this.showModulePopup(ModuleConstants.ThemeModuleId);
81
84
  }
@@ -69,7 +69,7 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
69
69
  userName: this.getOptions().userName,
70
70
  adaptableId: this.getOptions().adaptableId,
71
71
  adaptableColumn,
72
- actionRowType
72
+ actionRowType,
73
73
  });
74
74
  }
75
75
  return true;
@@ -26,6 +26,7 @@ import { IModuleCollection } from '../../Strategy/Interface/IModule';
26
26
  import { AdaptableObjectTag, AdaptableObjectWithScope } from '../../PredefinedConfig/Common/AdaptableObject';
27
27
  import { IRowEditService } from '../../Utilities/Services/Interface/IRowEditService';
28
28
  import { Fdc3Service } from '../../Utilities/Services/Fdc3Service';
29
+ import { CellPopupService } from '../../Utilities/Services/CellPopupService';
29
30
  export declare class AdaptableInternalApi extends ApiBase {
30
31
  getSystemState(): SystemState;
31
32
  showPopupConfirmation(confirmation: UIConfirmation): void;
@@ -56,6 +57,7 @@ export declare class AdaptableInternalApi extends ApiBase {
56
57
  getValidationService(): IValidationService;
57
58
  getModuleService(): IModuleService;
58
59
  getDataService(): IDataService;
60
+ getCellPopupService(): CellPopupService;
59
61
  getReportService(): IReportService;
60
62
  getCalculatedColumnExpressionService(): ICalculatedColumnExpressionService;
61
63
  getEntitlementService(): IEntitlementService;
@@ -92,6 +92,9 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
92
92
  getDataService() {
93
93
  return this.adaptable.DataService;
94
94
  }
95
+ getCellPopupService() {
96
+ return this.adaptable.CellPopupService;
97
+ }
95
98
  getReportService() {
96
99
  return this.adaptable.ReportService;
97
100
  }
@@ -25,4 +25,6 @@ export declare class CalculatedColumnInternalApi extends ApiBase {
25
25
  getCalculatedColumnsDependentOnColumn(column: AdaptableColumn): string[];
26
26
  isCumulativeAggregatedExpression(input: string): boolean;
27
27
  isQuantileAggregatedExpression(input: string): boolean;
28
+ getExpressionFromCalculatedColumn(calculatedColumn: CalculatedColumn): string;
29
+ fireCalculatedColumnChangedEvent(trigger: string, calculatedColumn: CalculatedColumn): void;
28
30
  }
@@ -74,5 +74,21 @@ class CalculatedColumnInternalApi extends ApiBase_1.ApiBase {
74
74
  .internalApi.getQueryLanguageService()
75
75
  .getNodesFromExpression(input, 'QUANT')) === null || _a === void 0 ? void 0 : _a.length);
76
76
  }
77
+ getExpressionFromCalculatedColumn(calculatedColumn) {
78
+ var _a;
79
+ return ((_a = calculatedColumn.Query.ScalarExpression) !== null && _a !== void 0 ? _a : calculatedColumn.Query.AggregatedScalarExpression);
80
+ }
81
+ fireCalculatedColumnChangedEvent(trigger, calculatedColumn) {
82
+ const adaptableApi = this.getAdaptableApi();
83
+ const calculatedColumnChangedInfo = {
84
+ adaptableApi: adaptableApi,
85
+ actionName: trigger,
86
+ calculatedColumn: calculatedColumn,
87
+ calculatedColumnExpressionAST: adaptableApi.expressionApi.getASTForExpression(this.getExpressionFromCalculatedColumn(calculatedColumn)),
88
+ userName: adaptableApi.optionsApi.getUserName(),
89
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
90
+ };
91
+ this.adaptable.api.eventApi.emit('CalculatedColumnChanged', calculatedColumnChangedInfo);
92
+ }
77
93
  }
78
94
  exports.CalculatedColumnInternalApi = CalculatedColumnInternalApi;
@@ -6,6 +6,7 @@ export declare class DashboardInternalApi extends ApiBase {
6
6
  */
7
7
  fireDashboardChangedEvent(trigger: string, oldDashboardState: DashboardState, newDashboardState: DashboardState): void;
8
8
  isToolbarInActiveTab(toolbarName: string, dashboardState: DashboardState): boolean;
9
+ isToolbarCustom(toolbarName: string): boolean;
9
10
  getCustomToolbarRenderContainerId(customToolbarName: string): string;
10
11
  getCustomToolbarButtonsContainerId(customToolbarName: string): string;
11
12
  getCustomToolbarComponentContainerId(customToolbarName: string): string;
@@ -60,6 +60,11 @@ class DashboardInternalApi extends ApiBase_1.ApiBase {
60
60
  }
61
61
  return false;
62
62
  }
63
+ isToolbarCustom(toolbarName) {
64
+ return this.adaptable.api.dashboardApi
65
+ .getCustomToolbars()
66
+ .some((tb) => tb.name === toolbarName);
67
+ }
63
68
  getCustomToolbarRenderContainerId(customToolbarName) {
64
69
  return `ab-CustomToolbar__${customToolbarName}__renderContent`;
65
70
  }
@@ -4,6 +4,7 @@ exports.DataImportInternalApi = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ObjectFactory_1 = tslib_1.__importStar(require("../../Utilities/ObjectFactory"));
6
6
  const ApiBase_1 = require("../Implementation/ApiBase");
7
+ const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SystemRedux"));
7
8
  class DataImportInternalApi extends ApiBase_1.ApiBase {
8
9
  async importData(partialRows) {
9
10
  const dataImportOptions = this.getOptions().dataImportOptions;
@@ -64,6 +65,7 @@ class DataImportInternalApi extends ApiBase_1.ApiBase {
64
65
  userName: adaptableApi.optionsApi.getUserName(),
65
66
  adaptableId: adaptableApi.optionsApi.getAdaptableId(),
66
67
  };
68
+ this.adaptable.api.internalApi.dispatchReduxAction(SystemRedux.DataImportCompleted(dataImportedInfo));
67
69
  this.getEventApi().emit('DataImported', dataImportedInfo);
68
70
  }
69
71
  }
@@ -11,7 +11,8 @@ class DataSetInternalApi extends ApiBase_1.ApiBase {
11
11
  if (this.adaptable.isLive) {
12
12
  const dataSetSelectedInfo = {
13
13
  adaptableApi: this.adaptable.api,
14
- dataSet, userName: this.adaptable.api.optionsApi.getUserName(),
14
+ dataSet,
15
+ userName: this.adaptable.api.optionsApi.getUserName(),
15
16
  adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
16
17
  };
17
18
  this.adaptable.api.eventApi.emit('DataSetSelected', dataSetSelectedInfo);
@@ -26,7 +26,9 @@ export declare class GridInternalApi extends ApiBase {
26
26
  */
27
27
  getDistinctDisplayValuesForColumn(columnId: string): any[];
28
28
  /**
29
- * Gets all distinct Filter values for the Column with the given ColumnId (used for Floating Filter and Column Header filter)
29
+ * Gets all distinct Filter values for the Column with the given ColumnId
30
+ * used for Floating Filter and Column Header filter
31
+ * either returns a list of values or al ist a list of values with count
30
32
  * @param columnId Column to check
31
33
  * @param columnFilter Current applied filter
32
34
  */
@@ -74,11 +74,14 @@ class GridInternalApi extends ApiBase_1.ApiBase {
74
74
  });
75
75
  }
76
76
  /**
77
- * Gets all distinct Filter values for the Column with the given ColumnId (used for Floating Filter and Column Header filter)
77
+ * Gets all distinct Filter values for the Column with the given ColumnId
78
+ * used for Floating Filter and Column Header filter
79
+ * either returns a list of values or al ist a list of values with count
78
80
  * @param columnId Column to check
79
81
  * @param columnFilter Current applied filter
80
82
  */
81
83
  async getDistinctFilterDisplayValuesForColumn(columnId, filter, showFilteredRowsOnly) {
84
+ var _a;
82
85
  const abColumn = this.getColumnApi().getColumnWithColumnId(columnId);
83
86
  if (abColumn == undefined) {
84
87
  return {
@@ -90,19 +93,39 @@ class GridInternalApi extends ApiBase_1.ApiBase {
90
93
  visibleRowsOnly: showFilteredRowsOnly,
91
94
  };
92
95
  const { gridCells, suppressClientSideFilter } = await this.adaptable.getDistinctFilterListValuesForColumn(abColumn, filter, distinctValuesParams);
93
- let showValuesCount = false;
96
+ const sortedDistinctValues = this.sortDistinctValues(gridCells, abColumn);
97
+ let shouldShowValuesCount = false;
94
98
  const showValuesCountFunction = this.getColumnFilterOptions().valuesFilterOptions.showValuesCount;
95
99
  if (showValuesCountFunction) {
96
- showValuesCount = showValuesCountFunction(abColumn);
100
+ const columnFilterContext = {
101
+ column: abColumn,
102
+ adaptableApi: this.adaptable.api,
103
+ userName: this.adaptable.api.optionsApi.getUserName(),
104
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
105
+ };
106
+ shouldShowValuesCount = showValuesCountFunction(columnFilterContext);
107
+ }
108
+ if (shouldShowValuesCount) {
109
+ const allColumnDisplayValues = (_a = this.adaptable
110
+ .getGridCellsForColumn(columnId)) === null || _a === void 0 ? void 0 : _a.map((gc) => {
111
+ return gc.displayValue;
112
+ });
113
+ return {
114
+ values: sortedDistinctValues.map((cv) => {
115
+ const label = cv.displayValue +
116
+ NumberExtensions_1.default.WrapInParentheses(ArrayExtensions_1.default.getOccurrence(allColumnDisplayValues, cv.displayValue));
117
+ return {
118
+ label: label,
119
+ value: cv.normalisedValue,
120
+ };
121
+ }),
122
+ suppressClientSideFilter,
123
+ };
97
124
  }
98
125
  return {
99
- values: this.sortDistinctValues(gridCells, abColumn).map((cv) => {
100
- const label = showValuesCount
101
- ? cv.displayValue +
102
- NumberExtensions_1.default.WrapInParentheses(this.getGridApi().getCellDisplayValueCount(abColumn.columnId, cv.displayValue))
103
- : cv.displayValue;
126
+ values: sortedDistinctValues.map((cv) => {
104
127
  return {
105
- label: label,
128
+ label: cv.displayValue,
106
129
  value: cv.normalisedValue,
107
130
  };
108
131
  }),
@@ -1,7 +1,7 @@
1
- import { ApiBase } from '../Implementation/ApiBase';
2
- import { Layout, LayoutState } from '../../PredefinedConfig/LayoutState';
3
1
  import { LayoutAssociatedObject } from '../../AdaptableOptions/LayoutOptions';
4
2
  import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
3
+ import { Layout, LayoutState } from '../../PredefinedConfig/LayoutState';
4
+ import { ApiBase } from '../Implementation/ApiBase';
5
5
  export declare class LayoutInternalApi extends ApiBase {
6
6
  /**
7
7
  * Fires the `LayoutChanged` event
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LayoutInternalApi = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const ApiBase_1 = require("../Implementation/ApiBase");
6
5
  const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
7
- const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
8
- const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
9
6
  const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
10
- const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
7
+ const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
11
8
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
9
+ const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
10
+ const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
11
+ const ApiBase_1 = require("../Implementation/ApiBase");
12
12
  class LayoutInternalApi extends ApiBase_1.ApiBase {
13
13
  /**
14
14
  * Fires the `LayoutChanged` event
@@ -62,16 +62,15 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
62
62
  let layoutState = this.getLayoutApi().getLayoutState();
63
63
  const isLayoutDefined = (layoutName) => !!layoutState.Layouts.filter((layout) => layout.Name === layoutName)[0];
64
64
  let defaultLayoutColumns = gridState.Columns.filter((column) => column.visible);
65
- const columnsMap = gridState.Columns.reduce((acc, col) => {
66
- acc[col.columnId] = col;
67
- return acc;
68
- }, {});
69
65
  let shouldCreateDefaultLayout = this.getLayoutOptions().createDefaultLayout;
70
66
  if (!layoutState.Layouts || !layoutState.Layouts.length) {
71
67
  shouldCreateDefaultLayout = true;
72
68
  }
73
69
  if (shouldCreateDefaultLayout) {
74
70
  if (!layoutState.Layouts || !isLayoutDefined(GeneralConstants_1.DEFAULT_LAYOUT)) {
71
+ // augogroup columns are not in columns list
72
+ // the code that adds column ok grid state explicitly ignores autoColumns
73
+ const allGridColumns = this.adaptable.getAgGridAllGridColumns();
75
74
  let defaultLayout = ObjectFactory_1.default.CreateEmptyLayout({
76
75
  Name: GeneralConstants_1.DEFAULT_LAYOUT,
77
76
  Columns: defaultLayoutColumns.map((c) => c.columnId),
@@ -81,9 +80,10 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
81
80
  }
82
81
  return acc;
83
82
  }, {}),
84
- PinnedColumnsMap: defaultLayoutColumns.reduce((acc, col) => {
85
- if (col.pinned) {
86
- acc[col.columnId] = col.pinned;
83
+ PinnedColumnsMap: allGridColumns.reduce((acc, col) => {
84
+ const pinned = col.getPinned();
85
+ if (pinned) {
86
+ acc[col.getColId()] = pinned === true ? 'left' : pinned;
87
87
  }
88
88
  return acc;
89
89
  }, {}),
@@ -0,0 +1,10 @@
1
+ import { InteropioPluginOptions } from '../AdaptableOptions/InteropioPluginOptions';
2
+ /**
3
+ * Provides run-time access to the Glue42Web Plugin
4
+ */
5
+ export interface InteropioPluginApi {
6
+ /**
7
+ * Retrieves the Glue42WebPlugOptions provided in Glue42Web Plugin
8
+ */
9
+ getPluginOptions(): InteropioPluginOptions;
10
+ }
@@ -1,4 +1,5 @@
1
- import { AdaptableNote, AdaptableNotes, NoteGridCell, NotesState } from '../PredefinedConfig/NotesState';
1
+ import { AdaptableNote, AdaptableNotes, NotesState } from '../PredefinedConfig/NotesState';
2
+ import { CellAddress } from '../PredefinedConfig/CellAddress';
2
3
  /**
3
4
  * Provides run-time access to Notes Module and related State
4
5
  */
@@ -10,41 +11,38 @@ export interface NotesApi {
10
11
  * @param columnId
11
12
  */
12
13
  addNote(note: string, primaryKeyValue: any, columnId: string): void;
14
+ /**
15
+ * Edit note
16
+ * @param note
17
+ */
13
18
  editNote(note: AdaptableNote): void;
19
+ /**
20
+ * Edit note text
21
+ * @param noteStr
22
+ * @param note
23
+ */
14
24
  updateNoteText(noteStr: string, note: AdaptableNote): void;
15
25
  /**
16
26
  *
17
27
  * @param note
18
28
  */
19
29
  deleteNote(note: AdaptableNote): void;
30
+ /**
31
+ * Gets the Notes State
32
+ */
20
33
  getNotesState(): NotesState;
34
+ /**
35
+ * Gets all notes
36
+ */
21
37
  getAllNotes(): AdaptableNotes;
22
38
  /**
23
39
  * Gets all notes for a cell
24
- * @param noteGridCell note position
40
+ * @param CellAddress note position
25
41
  */
26
- getCellNotes(noteGridCell: NoteGridCell): AdaptableNote[];
42
+ getCellNotes(CellAddress: CellAddress): AdaptableNote[];
27
43
  /**
28
44
  * Returns a note by uuid
29
45
  * @param uuid note uuid
30
46
  */
31
47
  getNoteByUuid(uuid: string): AdaptableNote | undefined;
32
- /**
33
- * Gets all note for a cell
34
- * @param noteGridCell note position
35
- * @param editMode whether to show the note in edit mode
36
- */
37
- showNotes(noteGridCell: NoteGridCell, editMode?: boolean): void;
38
- /**
39
- * Hides the note popup
40
- */
41
- hideNote(): void;
42
- /**
43
- * Gets the note position of the currently open note popup
44
- */
45
- getOpenNoteGridCell(): NoteGridCell | null;
46
- /**
47
- * Gets the note edit mode
48
- */
49
- getNotePopupEditMode(): boolean;
50
48
  }
@@ -5,6 +5,7 @@ import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AlertOptions,
5
5
  import { Fdc3Options } from '../AdaptableOptions/Fdc3Options';
6
6
  import { ExpressionOptions } from '../AdaptableOptions/ExpressionOptions';
7
7
  import { DataImportOptions } from '../AdaptableOptions/DataImportOptions';
8
+ import { CommentsOptions } from '../AdaptableOptions/CommentsOptions';
8
9
  /**
9
10
  * Range of functions to access Adaptable Options
10
11
  */
@@ -77,6 +78,10 @@ export interface OptionsApi {
77
78
  * Returns `AdaptableOptions.noteOptions`
78
79
  */
79
80
  getNotesOptions(): Readonly<NotesOptions>;
81
+ /**
82
+ * Returns `AdaptableOptions.commentsOptions`
83
+ */
84
+ getCommentsOptions(): Readonly<CommentsOptions>;
80
85
  /**
81
86
  * Returns `AdaptableOptions.customSortOptions`
82
87
  */
@@ -1,9 +1,7 @@
1
1
  import { PluginsState } from '../Redux/ActionsReducers/PluginsRedux';
2
2
  import { IPushPullApi } from './IPushPullApi';
3
- import { Glue42Api } from './Glue42Api';
4
3
  import { OpenFinApi } from './OpenFinApi';
5
- import { FinsembleApi } from './FinsembleApi';
6
- import { Glue42WebApi } from './Glue42WebApi';
4
+ import { InteropioPluginApi } from './InteropioPluginApi';
7
5
  /**
8
6
  * API methods dealing with AdapTable plugins
9
7
  */
@@ -33,20 +31,12 @@ export interface PluginsApi {
33
31
  * Returns ipushpull API class in Adaptable API
34
32
  */
35
33
  getipushpullPluginApi(): IPushPullApi;
36
- /**
37
- * Returns Glue42 (Desktop) API class in Adaptable API
38
- */
39
- getGlue42PluginApi(): Glue42Api;
40
- /**
41
- * Returns Glue42 (Web) API class in Adaptable API
42
- */
43
- getGlue42WebPluginApi(): Glue42WebApi;
44
34
  /**
45
35
  * Returns OpenFin API class in Adaptable API
46
36
  */
47
37
  getOpenFinPluginApi(): OpenFinApi;
48
38
  /**
49
- * Returns Finsemble API class in Adaptable API
39
+ * Returns Interopio API class in Adaptable API
50
40
  */
51
- getFinsemblePluginApi(): FinsembleApi;
41
+ getInteropioPluginApi(): InteropioPluginApi;
52
42
  }
@@ -1,6 +1,5 @@
1
1
  import { BaseSchedule } from '../PredefinedConfig/Common/Schedule';
2
2
  import { ReportSchedule } from '../PredefinedConfig/ExportState';
3
- import { Glue42Schedule } from '../PredefinedConfig/Glue42State';
4
3
  import { IPushPullSchedule } from '../PredefinedConfig/IPushPullState';
5
4
  import { OpenFinSchedule } from '../PredefinedConfig/OpenFinState';
6
5
  import { ReminderSchedule, ScheduleState } from '../PredefinedConfig/ScheduleState';
@@ -161,52 +160,6 @@ export interface ScheduleApi {
161
160
  * @returns IPushPull schedule
162
161
  */
163
162
  unSuspendIPushPullSchedule(iPushPullSchedule: IPushPullSchedule): IPushPullSchedule;
164
- /**
165
- * Retrieves all Glue42-based Schedules from Schedule State
166
- * @returns Glue42 schedules
167
- */
168
- getGlue42Schedules(config?: {
169
- includeLayoutNotAssociatedObjects?: boolean;
170
- }): Glue42Schedule[];
171
- /**
172
- * Retrieves all active (not-suspended) Glue42-based Schedules from Schedule State
173
- * @returns Glue42 schedules
174
- */
175
- getActiveGlue42Schedules(): Glue42Schedule[];
176
- /**
177
- * Retrieves all suspended Glue42-based Schedules from Schedule State
178
- * @returns Glue42 schedules
179
- */
180
- getSuspendedGlue42Schedules(): Glue42Schedule[];
181
- /**
182
- * Add Glue42-based Schedule
183
- * @param Glue42Schedule Glue42-based Schedule to add
184
- * @returns Glue42 schedule
185
- */
186
- addGlue42Schedule(glue42Schedule: Glue42Schedule): Glue42Schedule;
187
- /**
188
- * Edit Glue42-based Schedule
189
- * @param Glue42Schedule Glue42-based Schedule to edit
190
- * @returns Glue42 schedule
191
- */
192
- editGlue42Schedule(glue42Schedule: Glue42Schedule): Glue42Schedule;
193
- /**
194
- * Delete Glue42-based Schedule
195
- * @param Glue42Schedule Glue42-based Schedule to delete
196
- */
197
- deleteGlue42Schedule(glue42Schedule: Glue42Schedule): void;
198
- /**
199
- * Suspends Glue42-based Schedule
200
- * @param Glue42Schedule Glue42-based Schedule to suspend
201
- * @returns Glue42 schedule
202
- */
203
- suspendGlue42Schedule(glue42Schedule: Glue42Schedule): Glue42Schedule;
204
- /**
205
- * Activates a suspended Glue42-based Schedule
206
- * @param Glue42Schedule Glue42-based Schedule to Un-suspend (activate)
207
- * @returns Glue42 schedule
208
- */
209
- unSuspendGlue42Schedule(glue42Schedule: Glue42Schedule): Glue42Schedule;
210
163
  /**
211
164
  * Retrieves all OpenFin-based Schedules from Schedule State
212
165
  * @returns OpenFin schedules
@@ -259,7 +212,7 @@ export interface ScheduleApi {
259
212
  * @param schedule Schedule to apply
260
213
  * @param scheduleType type of Schedule
261
214
  */
262
- applySchedule(schedule: BaseSchedule, scheduleType: 'Report' | 'ipushpull' | 'Glue42' | 'Reminder' | 'OpenFin'): void;
215
+ applySchedule(schedule: BaseSchedule, scheduleType: 'Report' | 'ipushpull' | 'Reminder' | 'OpenFin'): void;
263
216
  /**
264
217
  * Opens Settings Panel with Schedule section selected and visible
265
218
  */
@@ -70,6 +70,11 @@ export interface ThemeApi {
70
70
  * Retrieves all Themes (both System & User) in State
71
71
  */
72
72
  getThemes(): AdaptableTheme[];
73
+ /**
74
+ * Retrieves a Theme by name
75
+ * @param themeName
76
+ */
77
+ getThemeByName(themeName: string): AdaptableTheme;
73
78
  /**
74
79
  * Opens Settings Panel with Theme section selected and visible
75
80
  */
@@ -25,6 +25,7 @@ import { ChartingState } from './ChartingState';
25
25
  import { StyledColumnState } from './StyledColumnState';
26
26
  import { NotesState } from './NotesState';
27
27
  import { NamedQueryState } from './NamedQueryState';
28
+ import { CommentState } from './CommentState';
28
29
  /**
29
30
  * The main state object of Adaptable
30
31
  */
@@ -58,8 +59,8 @@ export interface AdaptablePersistentState {
58
59
  Charting: ChartingState;
59
60
  Notes: NotesState;
60
61
  /**
61
- * @deprecated
62
- */
62
+ * @deprecated
63
+ */
63
64
  Query: QueryState;
64
65
  }
65
66
  /**
@@ -69,6 +70,7 @@ export interface AdaptableTransientState {
69
70
  Popup: PopupState;
70
71
  Grid: GridState;
71
72
  System: SystemState;
73
+ Comment: CommentState;
72
74
  Plugins: {
73
75
  [key: string]: any;
74
76
  };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Cell that contains a Note
3
+ */
4
+ export type CellAddress = {
5
+ /**
6
+ * Value in Primary Key Column
7
+ */
8
+ PrimaryKeyValue: string | number;
9
+ /**
10
+ * Id of Column containing the Note
11
+ */
12
+ ColumnId: string;
13
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Cell that contains a Note
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,48 @@
1
+ import { AdaptableObject } from '../types';
2
+ import { ConfigState } from './ConfigState';
3
+ /**
4
+ * Note that can be applied to a Cell in AdapTable
5
+ */
6
+ export interface AdaptableComment extends AdaptableObject {
7
+ /**
8
+ * When Note was made
9
+ */
10
+ Timestamp: number;
11
+ /**
12
+ * Value of the Note
13
+ */
14
+ Value: string;
15
+ /**
16
+ * Author of the Note
17
+ */
18
+ Author?: {
19
+ UserName: string;
20
+ };
21
+ /**
22
+ * Id of this AdapTable instance
23
+ */
24
+ AdaptableId?: string;
25
+ }
26
+ export interface CommentThread extends AdaptableObject {
27
+ /**
28
+ * Value in Primary Key Column
29
+ */
30
+ PrimaryKeyValue: string | number;
31
+ /**
32
+ * Id of Column containing the Note
33
+ */
34
+ ColumnId: string;
35
+ /**
36
+ * Collection of Comments for this Cell
37
+ */
38
+ Comments: AdaptableComment[];
39
+ }
40
+ /**
41
+ * Predefined Configuration for Notes Module
42
+ */
43
+ export interface CommentState extends ConfigState {
44
+ /**
45
+ * Collection of AdapTable Notes
46
+ */
47
+ CommentThreads?: CommentThread[];
48
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });