@adaptabletools/adaptable 16.0.0-canary.2 → 16.0.0-canary.4

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 (189) hide show
  1. package/README.md +2 -0
  2. package/base.css +62 -54
  3. package/base.css.map +1 -1
  4. package/bundle.cjs.js +159 -159
  5. package/index.css +82 -70
  6. package/index.css.map +1 -1
  7. package/package.json +10 -2
  8. package/publishTimestamp.d.ts +1 -1
  9. package/publishTimestamp.js +1 -1
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +5 -1
  11. package/src/AdaptableOptions/ActionRowOptions.d.ts +8 -5
  12. package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
  13. package/src/AdaptableOptions/ColumnOptions.d.ts +1 -10
  14. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +6 -2
  15. package/src/AdaptableOptions/Fdc3Options.d.ts +150 -0
  16. package/src/AdaptableOptions/Fdc3Options.js +5 -0
  17. package/src/AdaptableOptions/FilterOptions.d.ts +1 -0
  18. package/src/AdaptableOptions/FinancePluginOptions.d.ts +9 -9
  19. package/src/AdaptableOptions/FormatColumnOptions.d.ts +7 -7
  20. package/src/AdaptableOptions/GroupingOptions.d.ts +6 -11
  21. package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
  22. package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
  23. package/src/AdaptableOptions/TeamSharingOptions.d.ts +5 -0
  24. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +21 -11
  25. package/src/Api/AdaptableApi.d.ts +7 -2
  26. package/src/Api/ColumnApi.d.ts +18 -7
  27. package/src/Api/DataChangeHistoryApi.d.ts +6 -0
  28. package/src/Api/EventApi.d.ts +22 -9
  29. package/src/Api/Events/ChexboxColumnClicked.d.ts +1 -0
  30. package/src/Api/Events/ScheduleTriggered.d.ts +11 -0
  31. package/src/Api/Events/ThemeChanged.d.ts +0 -6
  32. package/src/Api/Events/ThemeEdited.d.ts +11 -0
  33. package/src/Api/Events/ThemeEdited.js +2 -0
  34. package/src/Api/Fdc3Api.d.ts +83 -0
  35. package/src/Api/Fdc3Api.js +2 -0
  36. package/src/Api/FinanceApi.d.ts +12 -12
  37. package/src/Api/Implementation/ActionRowApiImpl.js +7 -5
  38. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  39. package/src/Api/Implementation/AdaptableApiImpl.js +3 -0
  40. package/src/Api/Implementation/ApiBase.d.ts +4 -0
  41. package/src/Api/Implementation/ApiBase.js +6 -0
  42. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -0
  43. package/src/Api/Implementation/ChartingApiImpl.js +4 -0
  44. package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -1
  45. package/src/Api/Implementation/ColumnApiImpl.js +22 -3
  46. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  47. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +3 -0
  48. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +26 -0
  49. package/src/Api/Implementation/Fdc3ApiImpl.js +79 -0
  50. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
  51. package/src/Api/Implementation/OptionsApiImpl.js +3 -0
  52. package/src/Api/Implementation/PredicateApiImpl.d.ts +5 -5
  53. package/src/Api/Implementation/PredicateApiImpl.js +8 -8
  54. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -0
  55. package/src/Api/Implementation/QuickSearchApiImpl.js +7 -0
  56. package/src/Api/Implementation/ScheduleApiImpl.d.ts +4 -0
  57. package/src/Api/Implementation/ScheduleApiImpl.js +5 -0
  58. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +0 -3
  59. package/src/Api/Implementation/StyledColumnApiImpl.js +0 -26
  60. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -4
  61. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -0
  62. package/src/Api/Internal/AdaptableInternalApi.d.ts +5 -3
  63. package/src/Api/Internal/AdaptableInternalApi.js +18 -12
  64. package/src/Api/Internal/AlertInternalApi.js +7 -2
  65. package/src/Api/Internal/Fdc3InternalApi.d.ts +11 -0
  66. package/src/Api/Internal/Fdc3InternalApi.js +72 -0
  67. package/src/Api/Internal/FilterInternalApi.js +8 -4
  68. package/src/Api/Internal/FormatColumnInternalApi.js +11 -13
  69. package/src/Api/Internal/ScheduleInternalApi.d.ts +8 -0
  70. package/src/Api/Internal/ScheduleInternalApi.js +20 -0
  71. package/src/Api/Internal/StyledColumnInternalApi.d.ts +5 -2
  72. package/src/Api/Internal/StyledColumnInternalApi.js +29 -2
  73. package/src/Api/Internal/UserInterfaceInternalApi.d.ts +5 -0
  74. package/src/Api/Internal/UserInterfaceInternalApi.js +18 -0
  75. package/src/Api/OptionsApi.d.ts +6 -1
  76. package/src/Api/PredicateApi.d.ts +5 -5
  77. package/src/Api/QuickSearchApi.d.ts +8 -0
  78. package/src/Api/StyledColumnApi.d.ts +0 -14
  79. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
  80. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +7 -7
  81. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +8 -15
  82. package/src/PredefinedConfig/Common/AdaptablePredicate.js +65 -41
  83. package/src/PredefinedConfig/Common/{FDC3Context.d.ts → FDC3Context_DEPR.d.ts} +19 -19
  84. package/src/PredefinedConfig/Common/FDC3Context_DEPR.js +2 -0
  85. package/src/PredefinedConfig/Common/Fdc3Context.d.ts +53 -0
  86. package/src/PredefinedConfig/Common/Fdc3Context.js +35 -0
  87. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +68 -0
  88. package/src/PredefinedConfig/Common/Fdc3Intent.js +75 -0
  89. package/src/PredefinedConfig/Common/Types.d.ts +2 -2
  90. package/src/PredefinedConfig/StyledColumnState.d.ts +3 -2
  91. package/src/PredefinedConfig/SystemState.d.ts +3 -0
  92. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  93. package/src/Redux/ActionsReducers/SystemRedux.d.ts +17 -6
  94. package/src/Redux/ActionsReducers/SystemRedux.js +33 -3
  95. package/src/Redux/Store/AdaptableStore.js +3 -4
  96. package/src/Strategy/AdaptableModuleBase.d.ts +6 -6
  97. package/src/Strategy/Fdc3Module.d.ts +13 -0
  98. package/src/Strategy/Fdc3Module.js +85 -0
  99. package/src/Strategy/FlashingCellModule.js +6 -2
  100. package/src/Strategy/Interface/IModule.d.ts +2 -2
  101. package/src/Strategy/ScheduleModule.js +3 -2
  102. package/src/Strategy/StyledColumnModule.js +24 -15
  103. package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
  104. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
  105. package/src/Utilities/Constants/ModuleConstants.js +5 -2
  106. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +9 -3
  107. package/src/Utilities/MenuItem.d.ts +4 -4
  108. package/src/Utilities/Services/Fdc3Service.d.ts +20 -0
  109. package/src/Utilities/Services/Fdc3Service.js +87 -0
  110. package/src/Utilities/Services/MetamodelService.js +5 -1
  111. package/src/Utilities/Services/ModuleService.js +1 -1
  112. package/src/Utilities/Services/QueryLanguageService.js +1 -1
  113. package/src/Utilities/Services/RowEditService.js +1 -1
  114. package/src/Utilities/Services/TeamSharingService.d.ts +2 -0
  115. package/src/Utilities/Services/TeamSharingService.js +60 -3
  116. package/src/Utilities/Services/ValidationService.js +6 -2
  117. package/src/View/AdaptableView.js +9 -7
  118. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +9 -0
  119. package/src/View/Charting/useChartingElements.js +1 -1
  120. package/src/View/Components/AdaptableButton/index.d.ts +3 -0
  121. package/src/View/Components/AdaptableButton/index.js +18 -0
  122. package/src/View/Components/AdaptableIconComponent/index.d.ts +7 -0
  123. package/src/View/Components/AdaptableIconComponent/index.js +16 -0
  124. package/src/View/Components/AdaptableIconComponent/useCustomIcon.d.ts +2 -0
  125. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +12 -0
  126. package/src/{components → View/Components}/Badge/index.d.ts +1 -1
  127. package/src/{components → View/Components}/Badge/index.js +1 -1
  128. package/src/View/Components/FilterForm/FilterForm.js +1 -1
  129. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  130. package/src/View/Components/FilterForm/QuickFilterForm.js +3 -2
  131. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
  132. package/src/View/Components/Panels/PanelWithImage.d.ts +3 -3
  133. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
  134. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +2 -3
  135. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  136. package/src/View/Components/PredicateEditor/PredicateEditor.js +4 -4
  137. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -2
  138. package/src/View/Dashboard/Dashboard.js +3 -3
  139. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -0
  140. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +13 -7
  141. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -1
  142. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  143. package/src/View/DataChangeHistory/buildActionColumnButton.js +9 -2
  144. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
  145. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.d.ts +2 -0
  146. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +26 -0
  147. package/src/View/QuickSearch/QuickSearchInput.d.ts +6 -0
  148. package/src/View/QuickSearch/QuickSearchInput.js +22 -0
  149. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +2 -5
  150. package/src/View/QuickSearch/QuickSearchViewPanel.js +5 -19
  151. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
  152. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  153. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -5
  154. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +2 -9
  155. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +0 -1
  156. package/src/View/UIHelper.d.ts +2 -2
  157. package/src/agGrid/ActionColumnRenderer.d.ts +0 -2
  158. package/src/agGrid/ActionColumnRenderer.js +21 -6
  159. package/src/agGrid/Adaptable.d.ts +7 -2
  160. package/src/agGrid/Adaptable.js +82 -37
  161. package/src/agGrid/BadgeRenderer.js +19 -20
  162. package/src/agGrid/CheckboxRenderer.js +1 -1
  163. package/src/agGrid/agGridHelper.js +4 -0
  164. package/src/agGrid/agGridMenuHelper.js +11 -4
  165. package/src/agGrid/attachAddaptableColumnTypes.d.ts +1 -0
  166. package/src/agGrid/attachAddaptableColumnTypes.js +5 -4
  167. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  168. package/src/components/Drawer/index.d.ts +6 -0
  169. package/src/components/Drawer/index.js +60 -0
  170. package/src/components/ExpressionEditor/index.js +4 -2
  171. package/src/components/Icon/index.d.ts +11 -0
  172. package/src/components/{AdaptableIconComponent → Icon}/index.js +10 -10
  173. package/src/components/IconSelector/IconSelector.js +3 -3
  174. package/src/components/SimpleButton/index.js +10 -10
  175. package/src/components/Toggle/Toggle.d.ts +2 -2
  176. package/src/components/Toggle/Toggle.js +2 -2
  177. package/src/components/icons/fdc3.d.ts +3 -0
  178. package/src/components/icons/fdc3.js +9 -0
  179. package/src/components/icons/index.d.ts +4 -4
  180. package/src/components/icons/index.js +9 -7
  181. package/src/metamodel/adaptable.metamodel.d.ts +117 -47
  182. package/src/metamodel/adaptable.metamodel.js +1 -1
  183. package/src/types.d.ts +9 -5
  184. package/version.d.ts +1 -1
  185. package/version.js +1 -1
  186. package/src/View/Components/AdaptableViewIcon/index.d.ts +0 -10
  187. package/src/View/Components/AdaptableViewIcon/index.js +0 -18
  188. package/src/components/AdaptableIconComponent/index.d.ts +0 -11
  189. /package/src/{PredefinedConfig/Common/FDC3Context.js → Api/Events/ScheduleTriggered.js} +0 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContextLabels = exports.NothingContextKey = exports.ValuationContextKey = exports.TimeRangeContextKey = exports.PositionContextKey = exports.PortfolioContextKey = exports.OrganizationContextKey = exports.InstrumentListContextKey = exports.InstrumentContextKey = exports.EmailContextKey = exports.CurrencyContextKey = exports.CountryContextKey = exports.ContactListContextKey = exports.ContactContextKey = exports.ChatInitSettingsContextKey = exports.ChartContextKey = void 0;
4
+ exports.ChartContextKey = 'fdc3.chart';
5
+ exports.ChatInitSettingsContextKey = 'fdc3.chat.initSettings';
6
+ exports.ContactContextKey = 'fdc3.contact';
7
+ exports.ContactListContextKey = 'fdc3.contactList';
8
+ exports.CountryContextKey = 'fdc3.country';
9
+ exports.CurrencyContextKey = 'fdc3.currency';
10
+ exports.EmailContextKey = 'fdc3.email';
11
+ exports.InstrumentContextKey = 'fdc3.instrument';
12
+ exports.InstrumentListContextKey = 'fdc3.instrumentList';
13
+ exports.OrganizationContextKey = 'fdc3.organization';
14
+ exports.PortfolioContextKey = 'fdc3.portfolio';
15
+ exports.PositionContextKey = 'fdc3.position';
16
+ exports.TimeRangeContextKey = 'fdc3.timerange';
17
+ exports.ValuationContextKey = 'fdc3.valuation';
18
+ exports.NothingContextKey = 'fdc3.nothing';
19
+ exports.ContextLabels = {
20
+ [exports.ChartContextKey]: 'Chart',
21
+ [exports.ChatInitSettingsContextKey]: 'Chat Init Settings',
22
+ [exports.ContactContextKey]: 'Contact',
23
+ [exports.ContactListContextKey]: 'Contact List',
24
+ [exports.CountryContextKey]: 'Country',
25
+ [exports.CurrencyContextKey]: 'Currency',
26
+ [exports.EmailContextKey]: 'Email',
27
+ [exports.InstrumentContextKey]: 'Instrument',
28
+ [exports.InstrumentListContextKey]: 'Instrument List',
29
+ [exports.OrganizationContextKey]: 'Organization',
30
+ [exports.PortfolioContextKey]: 'Portfolio',
31
+ [exports.PositionContextKey]: 'Position',
32
+ [exports.TimeRangeContextKey]: 'Time Range',
33
+ [exports.ValuationContextKey]: 'Valuation',
34
+ [exports.NothingContextKey]: 'Nothing',
35
+ };
@@ -0,0 +1,68 @@
1
+ export declare const StartCallIntent = "StartCall";
2
+ export declare const StartChatIntent = "StartChat";
3
+ export declare const StartEmailIntent = "StartEmail";
4
+ export declare const ViewAnalysisIntent = "ViewAnalysis";
5
+ export declare const ViewChartIntent = "ViewChart";
6
+ export declare const ViewContactIntent = "ViewContact";
7
+ export declare const ViewHoldingsIntent = "ViewHoldings";
8
+ export declare const ViewInstrumentIntent = "ViewInstrument";
9
+ export declare const ViewInteractionsIntent = "ViewInteractions";
10
+ export declare const ViewNewsIntent = "ViewNews";
11
+ export declare const ViewOrdersIntent = "ViewOrders";
12
+ export declare const ViewProfileIntent = "ViewProfile";
13
+ export declare const ViewQuoteIntent = "ViewQuote";
14
+ export declare const ViewResearchIntent = "ViewResearch";
15
+ export declare const Fdc3IntentConfiguration: {
16
+ readonly StartCall: {
17
+ readonly contexts: readonly ["fdc3.contact", "fdc3.contactList"];
18
+ };
19
+ readonly StartChat: {
20
+ readonly contexts: readonly ["fdc3.contact", "fdc3.contactList", "fdc3.chat.initSettings"];
21
+ };
22
+ readonly StartEmail: {
23
+ readonly contexts: readonly ["fdc3.email"];
24
+ };
25
+ readonly ViewAnalysis: {
26
+ readonly contexts: readonly ["fdc3.instrument", "fdc3.organization", "fdc3.portfolio"];
27
+ };
28
+ readonly ViewChart: {
29
+ readonly contexts: readonly ["fdc3.chart", "fdc3.instrument", "fdc3.organization", "fdc3.portfolio", "fdc3.position"];
30
+ };
31
+ readonly ViewContact: {
32
+ readonly contexts: readonly ["fdc3.contact"];
33
+ };
34
+ readonly ViewHoldings: {
35
+ readonly contexts: readonly ["fdc3.instrument", "fdc3.instrumentList", "fdc3.organization"];
36
+ };
37
+ readonly ViewInstrument: {
38
+ readonly contexts: readonly ["fdc3.instrument"];
39
+ };
40
+ readonly ViewInteractions: {
41
+ readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization"];
42
+ };
43
+ readonly ViewNews: {
44
+ readonly contexts: readonly ["fdc3.country", "fdc3.instrument", "fdc3.instrumentList", "fdc3.organization", "fdc3.portfolio"];
45
+ };
46
+ readonly ViewOrders: {
47
+ readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization"];
48
+ };
49
+ readonly ViewProfile: {
50
+ readonly contexts: readonly ["fdc3.contact", "fdc3.organization"];
51
+ };
52
+ readonly ViewQuote: {
53
+ readonly contexts: readonly ["fdc3.instrument"];
54
+ };
55
+ readonly ViewResearch: {
56
+ readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization"];
57
+ };
58
+ };
59
+ declare const Fdc3Intents: ("StartCall" | "StartChat" | "StartEmail" | "ViewAnalysis" | "ViewChart" | "ViewContact" | "ViewHoldings" | "ViewInstrument" | "ViewInteractions" | "ViewNews" | "ViewOrders" | "ViewProfile" | "ViewQuote" | "ViewResearch")[];
60
+ /**
61
+ * All FDC3 intents
62
+ */
63
+ export declare type Fdc3IntentType = typeof Fdc3Intents[number];
64
+ /**
65
+ * Valid context for a given FDC3 intent
66
+ */
67
+ export declare type CompatibleContext<F extends Fdc3IntentType> = typeof Fdc3IntentConfiguration[F]['contexts'][number];
68
+ export {};
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Fdc3IntentConfiguration = exports.ViewResearchIntent = exports.ViewQuoteIntent = exports.ViewProfileIntent = exports.ViewOrdersIntent = exports.ViewNewsIntent = exports.ViewInteractionsIntent = exports.ViewInstrumentIntent = exports.ViewHoldingsIntent = exports.ViewContactIntent = exports.ViewChartIntent = exports.ViewAnalysisIntent = exports.StartEmailIntent = exports.StartChatIntent = exports.StartCallIntent = void 0;
4
+ const Fdc3Context_1 = require("./Fdc3Context");
5
+ exports.StartCallIntent = 'StartCall';
6
+ exports.StartChatIntent = 'StartChat';
7
+ exports.StartEmailIntent = 'StartEmail';
8
+ exports.ViewAnalysisIntent = 'ViewAnalysis';
9
+ exports.ViewChartIntent = 'ViewChart';
10
+ exports.ViewContactIntent = 'ViewContact';
11
+ exports.ViewHoldingsIntent = 'ViewHoldings';
12
+ exports.ViewInstrumentIntent = 'ViewInstrument';
13
+ exports.ViewInteractionsIntent = 'ViewInteractions';
14
+ exports.ViewNewsIntent = 'ViewNews';
15
+ exports.ViewOrdersIntent = 'ViewOrders';
16
+ exports.ViewProfileIntent = 'ViewProfile';
17
+ exports.ViewQuoteIntent = 'ViewQuote';
18
+ exports.ViewResearchIntent = 'ViewResearch';
19
+ exports.Fdc3IntentConfiguration = {
20
+ [exports.StartCallIntent]: {
21
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.ContactListContextKey],
22
+ },
23
+ [exports.StartChatIntent]: {
24
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.ContactListContextKey, Fdc3Context_1.ChatInitSettingsContextKey],
25
+ },
26
+ [exports.StartEmailIntent]: {
27
+ contexts: [Fdc3Context_1.EmailContextKey],
28
+ },
29
+ [exports.ViewAnalysisIntent]: {
30
+ contexts: [Fdc3Context_1.InstrumentContextKey, Fdc3Context_1.OrganizationContextKey, Fdc3Context_1.PortfolioContextKey],
31
+ },
32
+ [exports.ViewChartIntent]: {
33
+ contexts: [
34
+ Fdc3Context_1.ChartContextKey,
35
+ Fdc3Context_1.InstrumentContextKey,
36
+ Fdc3Context_1.OrganizationContextKey,
37
+ Fdc3Context_1.PortfolioContextKey,
38
+ Fdc3Context_1.PositionContextKey,
39
+ ],
40
+ },
41
+ [exports.ViewContactIntent]: {
42
+ contexts: [Fdc3Context_1.ContactContextKey],
43
+ },
44
+ [exports.ViewHoldingsIntent]: {
45
+ contexts: [Fdc3Context_1.InstrumentContextKey, Fdc3Context_1.InstrumentListContextKey, Fdc3Context_1.OrganizationContextKey],
46
+ },
47
+ [exports.ViewInstrumentIntent]: {
48
+ contexts: [Fdc3Context_1.InstrumentContextKey],
49
+ },
50
+ [exports.ViewInteractionsIntent]: {
51
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.InstrumentListContextKey, Fdc3Context_1.OrganizationContextKey],
52
+ },
53
+ [exports.ViewNewsIntent]: {
54
+ contexts: [
55
+ Fdc3Context_1.CountryContextKey,
56
+ Fdc3Context_1.InstrumentContextKey,
57
+ Fdc3Context_1.InstrumentListContextKey,
58
+ Fdc3Context_1.OrganizationContextKey,
59
+ Fdc3Context_1.PortfolioContextKey,
60
+ ],
61
+ },
62
+ [exports.ViewOrdersIntent]: {
63
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.InstrumentListContextKey, Fdc3Context_1.OrganizationContextKey],
64
+ },
65
+ [exports.ViewProfileIntent]: {
66
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.OrganizationContextKey],
67
+ },
68
+ [exports.ViewQuoteIntent]: {
69
+ contexts: [Fdc3Context_1.InstrumentContextKey],
70
+ },
71
+ [exports.ViewResearchIntent]: {
72
+ contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.InstrumentListContextKey, Fdc3Context_1.OrganizationContextKey],
73
+ },
74
+ };
75
+ const Fdc3Intents = Object.keys(exports.Fdc3IntentConfiguration);
@@ -34,7 +34,7 @@ export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFi
34
34
  /**
35
35
  * Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
36
36
  */
37
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
37
+ export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSet' | 'Export' | 'Fdc3' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StyledColumn' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
38
38
  export declare const ALL_MODULES: AdaptableModule[];
39
39
  /**
40
40
  * Modules which can appear in the Settings Panel
@@ -51,4 +51,4 @@ export declare type AdaptableQLModule = 'Alert' | 'CalculatedColumn' | 'Filter'
51
51
  /**
52
52
  * Column Types recognised by AdapTable; to be set in GridOptions
53
53
  */
54
- export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn';
54
+ export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefStringArray' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn';
@@ -1,7 +1,7 @@
1
1
  import { ConfigState } from './ConfigState';
2
2
  import { SuspendableObject } from './Common/SuspendableObject';
3
3
  import { SparklineOptions } from '@ag-grid-community/core';
4
- import { AdaptableExternalIcon, AdaptableInternalIcon, AdaptablePredicate, AdaptableStyle } from '../types';
4
+ import { AdaptableCustomIcon, AdaptableSystemIcon, AdaptablePredicate, AdaptableStyle } from '../types';
5
5
  import { TypeHint } from './Common/Types';
6
6
  /**
7
7
  * Predefined Configuration for Styled Column Module
@@ -30,6 +30,7 @@ export interface StyledColumn extends SuspendableObject {
30
30
  PercentBarStyle?: PercentBarStyle;
31
31
  /**
32
32
  * Renders a Checkbox in a boolean column
33
+ * @deprecated - AG Grid 30 now provides identical functionality
33
34
  */
34
35
  CheckBoxStyle?: boolean;
35
36
  /**
@@ -180,7 +181,7 @@ export interface BadgeStyleDefinition {
180
181
  /**
181
182
  * Icon to display in Badge
182
183
  */
183
- Icon?: AdaptableInternalIcon | AdaptableExternalIcon;
184
+ Icon?: AdaptableSystemIcon | AdaptableCustomIcon;
184
185
  /**
185
186
  * Position of Icon in the Badge - 'Start' or 'End'
186
187
  */
@@ -94,6 +94,9 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
94
94
  Export: {
95
95
  inProgressVisualData: boolean;
96
96
  };
97
+ QuickSearch?: {
98
+ floatingVisible?: boolean;
99
+ };
97
100
  }
98
101
  export interface ProgressIndicator {
99
102
  active: boolean;
@@ -73,7 +73,7 @@ export interface AdaptableSharedEntity extends AdaptableObject {
73
73
  */
74
74
  ChangedAt: number;
75
75
  /**
76
- * 'Snapshot' (for 1-time sharing) or 'Active' (for continuous sharing between local state & Team Share)
76
+ * 'Snapshot' (for 1-time sharing) or 'Active' (for continuous sharing)
77
77
  */
78
78
  Type: SharedEntityType;
79
79
  }
@@ -56,6 +56,7 @@ export declare const SYSTEM_LICENSE_SHOW_WATERMARK = "SYSTEM_LICENSE_SHOW_WATERM
56
56
  export declare const SYSTEM_LICENSE_DISABLE_PERSISTENCE = "SYSTEM_LICENSE_DISABLE_PERSISTENCE";
57
57
  export declare const SYSTEM_DATA_CHANGE_HISTORY_ADD = "SYSTEM_DATA_CHANGE_HISTORY_ADD";
58
58
  export declare const SYSTEM_DATA_CHANGE_HISTORY_UNDO = "SYSTEM_DATA_CHANGE_HISTORY_UNDO";
59
+ export declare const SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW = "SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW";
59
60
  export declare const SYSTEM_DATA_CHANGE_HISTORY_ENABLE = "SYSTEM_DATA_CHANGE_HISTORY_ENABLE";
60
61
  export declare const SYSTEM_DATA_CHANGE_HISTORY_DISABLE = "SYSTEM_DATA_CHANGE_HISTORY_DISABLE";
61
62
  export declare const SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = "SYSTEM_DATA_CHANGE_HISTORY_SUSPEND";
@@ -70,6 +71,7 @@ export declare const DASHBOARD_REFRESH = "DASHBOARD_REFRESH";
70
71
  export declare const SYSTEM_DATA_SET_SELECT = "SYSTEM_DATA_SET_SELECT";
71
72
  export declare const SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = "SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS";
72
73
  export declare const SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = "SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX";
74
+ export declare const SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = "SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY";
73
75
  export declare const SYSTEM_VISUAL_EXPORT_BEGIN = "SYSTEM_VISUAL_EXPORT_BEGIN";
74
76
  export declare const SYSTEM_VISUAL_EXPORT_END = "SYSTEM_VISUAL_EXPORT_END";
75
77
  export interface SystemHighlightCellAddAction extends Redux.Action {
@@ -205,6 +207,9 @@ export interface SystemDataChangeHistoryAddAction extends Redux.Action {
205
207
  export interface SystemDataChangeHistoryUndoAction extends Redux.Action {
206
208
  changeInfo: CellDataChangedInfo;
207
209
  }
210
+ export interface SystemDataChangeHistoryClearRowAction extends Redux.Action {
211
+ changeInfo: CellDataChangedInfo;
212
+ }
208
213
  export interface SystemDataChangeHistoryEnableAction extends Redux.Action {
209
214
  }
210
215
  export interface SystemDataChangeHistoryDisableAction extends Redux.Action {
@@ -213,7 +218,7 @@ export interface SystemDataChangeHistorySuspendAction extends Redux.Action {
213
218
  }
214
219
  export interface SystemDataChangeHistoryResumeAction extends Redux.Action {
215
220
  }
216
- export interface SystemDisableDeleteConfirmation extends Redux.Action {
221
+ export interface SystemDisableDeleteConfirmationAction extends Redux.Action {
217
222
  }
218
223
  export interface SystemDashboardRefreshAction extends Redux.Action {
219
224
  }
@@ -241,9 +246,12 @@ export interface SystemSetPreviousGroupedColumnIndexAction extends Redux.Action
241
246
  columnId: string;
242
247
  columnIndex: number;
243
248
  }
244
- export interface SystemVisualExportBegin extends Redux.Action {
249
+ export interface SystemVisualExportBeginAction extends Redux.Action {
250
+ }
251
+ export interface SystemVisualExportEndAction extends Redux.Action {
245
252
  }
246
- export interface SystemVisualExportEnd extends Redux.Action {
253
+ export interface SystemQuickSearchFloatingVisibilityAction extends Redux.Action {
254
+ visible: boolean;
247
255
  }
248
256
  export declare const SystemHighlightCellAdd: (cellHighlightInfo: CellHighlightInfo) => SystemHighlightCellAddAction;
249
257
  export declare const SystemHighlightCellDelete: (primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']) => SystemHighlightCellDeleteAction;
@@ -283,6 +291,7 @@ export declare const SystemLicenseShowWatermark: (text: string) => SystemLicense
283
291
  export declare const SystemLicenseDisablePersistence: () => SystemLicenseDisablePersistenceAction;
284
292
  export declare const SystemDataChangeHistoryAdd: (changeInfo: CellDataChangedInfo) => SystemDataChangeHistoryAddAction;
285
293
  export declare const SystemDataChangeHistoryUndo: (changeInfo: CellDataChangedInfo) => SystemDataChangeHistoryUndoAction;
294
+ export declare const SystemDataChangeHistoryClearRow: (changeInfo: CellDataChangedInfo) => SystemDataChangeHistoryClearRowAction;
286
295
  export declare const SystemDataChangeHistoryEnable: () => SystemDataChangeHistoryEnableAction;
287
296
  export declare const SystemDataChangeHistoryDisable: () => SystemDataChangeHistoryDisableAction;
288
297
  export declare const SystemDataChangeHistorySuspend: () => SystemDataChangeHistorySuspendAction;
@@ -297,9 +306,11 @@ export declare const SystemDataSetSelect: (dataSet: DataSet) => SystemDataSetSel
297
306
  export declare const SystemChartingSetCurrentChartModels: (chartModels: ChartModel[]) => SystemChartingSetCurrentChartModelsAction;
298
307
  export declare const SystemChartingCurrentChartModelsSelector: (state: SystemState) => ChartModel[];
299
308
  export declare const SystemSetPreviousGroupedColumnsIndex: (layoutId: string, columnId: string, columnIndex: number) => SystemSetPreviousGroupedColumnIndexAction;
300
- export declare const SystemDisableDeleteConfirmation: () => SystemDisableDeleteConfirmation;
301
- export declare const SystemVisualExportBegin: () => SystemVisualExportBegin;
302
- export declare const SystemVisualExportEnd: () => SystemVisualExportEnd;
309
+ export declare const SystemDisableDeleteConfirmation: () => SystemDisableDeleteConfirmationAction;
310
+ export declare const SystemVisualExportBegin: () => SystemVisualExportBeginAction;
311
+ export declare const SystemVisualExportEnd: () => SystemVisualExportEndAction;
312
+ export declare const SystemQuickSearchFloatingVisibility: (visible: boolean) => SystemQuickSearchFloatingVisibilityAction;
303
313
  export declare const SystemDisableDeleteConfirmationSelector: (state: SystemState) => boolean;
304
314
  export declare const SystemPreviousGroupedColumnsSelector: (state: SystemState) => Record<string, Record<string, number>>;
315
+ export declare const SystemQuickSearchFloatingVisibilitySelector: (state: SystemState) => boolean;
305
316
  export declare const SystemReducer: Redux.Reducer<SystemState>;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = exports.SYSTEM_DISABLE_DELETE_CONFIRMATION = exports.SYSTEM_FILTER_FORM_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_SHOW = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
4
- exports.SystemQuickFilterBarShow = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_VISUAL_EXPORT_END = exports.SYSTEM_VISUAL_EXPORT_BEGIN = exports.SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = exports.SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = exports.SYSTEM_DATA_SET_SELECT = exports.DASHBOARD_REFRESH = void 0;
5
- exports.SystemReducer = exports.SystemPreviousGroupedColumnsSelector = exports.SystemDisableDeleteConfirmationSelector = exports.SystemVisualExportEnd = exports.SystemVisualExportBegin = exports.SystemDisableDeleteConfirmation = exports.SystemSetPreviousGroupedColumnsIndex = exports.SystemChartingCurrentChartModelsSelector = exports.SystemChartingSetCurrentChartModels = exports.SystemDataSetSelect = exports.SystemDashboardRefresh = exports.SystemLayoutShowNotAssociatedObjects = exports.SystemFilterFormHide = exports.SystemQuickFilterBarHide = void 0;
3
+ exports.SYSTEM_DISABLE_DELETE_CONFIRMATION = exports.SYSTEM_FILTER_FORM_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_SHOW = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
4
+ exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryClearRow = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_VISUAL_EXPORT_END = exports.SYSTEM_VISUAL_EXPORT_BEGIN = exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = exports.SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = exports.SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = exports.SYSTEM_DATA_SET_SELECT = exports.DASHBOARD_REFRESH = exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = void 0;
5
+ exports.SystemReducer = exports.SystemQuickSearchFloatingVisibilitySelector = exports.SystemPreviousGroupedColumnsSelector = exports.SystemDisableDeleteConfirmationSelector = exports.SystemQuickSearchFloatingVisibility = exports.SystemVisualExportEnd = exports.SystemVisualExportBegin = exports.SystemDisableDeleteConfirmation = exports.SystemSetPreviousGroupedColumnsIndex = exports.SystemChartingCurrentChartModelsSelector = exports.SystemChartingSetCurrentChartModels = exports.SystemDataSetSelect = exports.SystemDashboardRefresh = exports.SystemLayoutShowNotAssociatedObjects = exports.SystemFilterFormHide = exports.SystemQuickFilterBarHide = exports.SystemQuickFilterBarShow = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = void 0;
6
6
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
7
7
  const Enums_1 = require("../../PredefinedConfig/Common/Enums");
8
8
  const Helper_1 = require("../../Utilities/Helpers/Helper");
@@ -64,6 +64,7 @@ exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = 'SYSTEM_LICENSE_DISABLE_PERSISTENCE
64
64
  // Change History
65
65
  exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = 'SYSTEM_DATA_CHANGE_HISTORY_ADD';
66
66
  exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = 'SYSTEM_DATA_CHANGE_HISTORY_UNDO';
67
+ exports.SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW = 'SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW';
67
68
  exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = 'SYSTEM_DATA_CHANGE_HISTORY_ENABLE';
68
69
  exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = 'SYSTEM_DATA_CHANGE_HISTORY_DISABLE';
69
70
  exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = 'SYSTEM_DATA_CHANGE_HISTORY_SUSPEND';
@@ -85,6 +86,8 @@ exports.SYSTEM_DATA_SET_SELECT = 'SYSTEM_DATA_SET_SELECT';
85
86
  exports.SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = 'SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS';
86
87
  // Layout
87
88
  exports.SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = 'SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX';
89
+ // Quick Search
90
+ exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = 'SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY';
88
91
  // Data Export (Report)
89
92
  exports.SYSTEM_VISUAL_EXPORT_BEGIN = 'SYSTEM_VISUAL_EXPORT_BEGIN';
90
93
  exports.SYSTEM_VISUAL_EXPORT_END = 'SYSTEM_VISUAL_EXPORT_END';
@@ -273,6 +276,11 @@ const SystemDataChangeHistoryUndo = (changeInfo) => ({
273
276
  changeInfo,
274
277
  });
275
278
  exports.SystemDataChangeHistoryUndo = SystemDataChangeHistoryUndo;
279
+ const SystemDataChangeHistoryClearRow = (changeInfo) => ({
280
+ type: exports.SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW,
281
+ changeInfo,
282
+ });
283
+ exports.SystemDataChangeHistoryClearRow = SystemDataChangeHistoryClearRow;
276
284
  const SystemDataChangeHistoryEnable = () => ({
277
285
  type: exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE,
278
286
  });
@@ -349,6 +357,11 @@ const SystemVisualExportEnd = () => ({
349
357
  type: exports.SYSTEM_VISUAL_EXPORT_END,
350
358
  });
351
359
  exports.SystemVisualExportEnd = SystemVisualExportEnd;
360
+ const SystemQuickSearchFloatingVisibility = (visible) => ({
361
+ type: exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY,
362
+ visible,
363
+ });
364
+ exports.SystemQuickSearchFloatingVisibility = SystemQuickSearchFloatingVisibility;
352
365
  const SystemDisableDeleteConfirmationSelector = (state) => {
353
366
  return state.DisableDeleteConfirmation;
354
367
  };
@@ -357,6 +370,11 @@ const SystemPreviousGroupedColumnsSelector = (state) => {
357
370
  return state.Layout.previousGroupedColumns;
358
371
  };
359
372
  exports.SystemPreviousGroupedColumnsSelector = SystemPreviousGroupedColumnsSelector;
373
+ const SystemQuickSearchFloatingVisibilitySelector = (state) => {
374
+ var _a;
375
+ return (_a = state === null || state === void 0 ? void 0 : state.QuickSearch) === null || _a === void 0 ? void 0 : _a.floatingVisible;
376
+ };
377
+ exports.SystemQuickSearchFloatingVisibilitySelector = SystemQuickSearchFloatingVisibilitySelector;
360
378
  const initialState = {
361
379
  AdaptableAlerts: GeneralConstants_1.EMPTY_ARRAY,
362
380
  AdaptableFlashingCells: {},
@@ -670,6 +688,14 @@ const SystemReducer = (state = initialState, action) => {
670
688
  delete updatedDataChangeHistoryLogs[uniqueKey];
671
689
  return Object.assign(Object.assign({}, state), { DataChangeHistory: Object.assign(Object.assign({}, state.DataChangeHistory), { logs: updatedDataChangeHistoryLogs }) });
672
690
  }
691
+ case exports.SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW: {
692
+ const actionTypedUndo = action;
693
+ const cellDataChangedInfo = actionTypedUndo.changeInfo;
694
+ const uniqueKey = getDataChangeHistoryKey(cellDataChangedInfo);
695
+ const updatedDataChangeHistoryLogs = Object.assign({}, state.DataChangeHistory.logs);
696
+ delete updatedDataChangeHistoryLogs[uniqueKey];
697
+ return Object.assign(Object.assign({}, state), { DataChangeHistory: Object.assign(Object.assign({}, state.DataChangeHistory), { logs: updatedDataChangeHistoryLogs }) });
698
+ }
673
699
  case exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE: {
674
700
  return Object.assign(Object.assign({}, state), { DataChangeHistory: Object.assign(Object.assign({}, state.DataChangeHistory), { currentMode: 'ACTIVE', enableTime: new Date(), suspendTime: null }) });
675
701
  }
@@ -732,6 +758,10 @@ const SystemReducer = (state = initialState, action) => {
732
758
  inProgressVisualData: false,
733
759
  } });
734
760
  }
761
+ case exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY: {
762
+ const typedAction = action;
763
+ return Object.assign(Object.assign({}, state), { QuickSearch: Object.assign(Object.assign({}, state.QuickSearch), { floatingVisible: typedAction.visible }) });
764
+ }
735
765
  default:
736
766
  return state;
737
767
  }
@@ -7,6 +7,7 @@ const Redux = tslib_1.__importStar(require("redux"));
7
7
  const AdaptableReduxLocalStorageEngine_1 = require("./AdaptableReduxLocalStorageEngine");
8
8
  const AdaptableReduxMerger_1 = require("./AdaptableReduxMerger");
9
9
  const PopupRedux = tslib_1.__importStar(require("../ActionsReducers/PopupRedux"));
10
+ const PopupRedux_1 = require("../ActionsReducers/PopupRedux");
10
11
  const PluginsRedux = tslib_1.__importStar(require("../ActionsReducers/PluginsRedux"));
11
12
  const AlertRedux = tslib_1.__importStar(require("../ActionsReducers/AlertRedux"));
12
13
  const FlashingCellRedux = tslib_1.__importStar(require("../ActionsReducers/FlashingCellRedux"));
@@ -18,6 +19,7 @@ const CalculatedColumnRedux = tslib_1.__importStar(require("../ActionsReducers/C
18
19
  const ShortcutRedux = tslib_1.__importStar(require("../ActionsReducers/ShortcutRedux"));
19
20
  const GridRedux = tslib_1.__importStar(require("../ActionsReducers/GridRedux"));
20
21
  const SystemRedux = tslib_1.__importStar(require("../ActionsReducers/SystemRedux"));
22
+ const SystemRedux_1 = require("../ActionsReducers/SystemRedux");
21
23
  const PlusMinusRedux = tslib_1.__importStar(require("../ActionsReducers/PlusMinusRedux"));
22
24
  const ExportRedux = tslib_1.__importStar(require("../ActionsReducers/ExportRedux"));
23
25
  const QuickSearchRedux = tslib_1.__importStar(require("../ActionsReducers/QuickSearchRedux"));
@@ -43,8 +45,6 @@ const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions"
43
45
  const Emitter_1 = tslib_1.__importDefault(require("../../Utilities/Emitter"));
44
46
  const AdaptableAlert_1 = require("../../PredefinedConfig/Common/AdaptableAlert");
45
47
  const AdaptableToaster_1 = require("../../View/Components/Popups/AdaptableToaster");
46
- const SystemRedux_1 = require("../ActionsReducers/SystemRedux");
47
- const PopupRedux_1 = require("../ActionsReducers/PopupRedux");
48
48
  const TeamSharingState_1 = require("../../PredefinedConfig/TeamSharingState");
49
49
  exports.INIT_STATE = 'INIT_STATE';
50
50
  exports.LOAD_STATE = 'LOAD_STATE';
@@ -332,7 +332,6 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
332
332
  /**
333
333
  * Use Case: Query has changed
334
334
  * Action: Filter the Grid and fire Query Run Event
335
- * Also run SearchChangedEvent (to be removed in AdapTable 13)
336
335
  */
337
336
  case QueryRedux.QUERY_RUN: {
338
337
  let ret = next(action);
@@ -702,7 +701,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
702
701
  /**
703
702
  * Use Case: User has run a Quick Search
704
703
  * Action1: Call Adaptable to redraw body so cells can be highlighted
705
- * Action2: Run Query using Quick Search text it set in Search Options
704
+ * Action2: Run Query using Quick Search text
706
705
  */
707
706
  case QuickSearchRedux.QUICK_SEARCH_RUN: {
708
707
  let returnAction = next(action);
@@ -11,7 +11,7 @@ import { AdaptableApi } from '../Api/AdaptableApi';
11
11
  import { AccessLevel } from '../PredefinedConfig/Common/Entitlement';
12
12
  import { CalculatedColumn } from '../PredefinedConfig/CalculatedColumnState';
13
13
  import { FreeTextColumn } from '../PredefinedConfig/FreeTextColumnState';
14
- import { AdaptableInternalIconName } from '../PredefinedConfig/Common/AdaptableIcon';
14
+ import { AdaptableSystemIconName } from '../PredefinedConfig/Common/AdaptableIcon';
15
15
  import { AdaptableStateReloadedInfo } from '../Api/Events/AdaptableStateReloaded';
16
16
  /**
17
17
  * Base class for all strategies and does most of the work of creating menus
@@ -20,7 +20,7 @@ export declare abstract class AdaptableModuleBase implements IModule {
20
20
  protected api: AdaptableApi;
21
21
  moduleInfo: ModuleInfo;
22
22
  AccessLevel: AccessLevel;
23
- constructor(module: AdaptableModule, friendlyName: string, glyph: AdaptableInternalIconName, popup: string, description: string, api: AdaptableApi);
23
+ constructor(module: AdaptableModule, friendlyName: string, glyph: AdaptableSystemIconName, popup: string, description: string, api: AdaptableApi);
24
24
  protected getViewAccessLevel(): AccessLevel;
25
25
  protected getEditAccessLevel(): AccessLevel;
26
26
  isModuleAvailable(): boolean;
@@ -44,12 +44,12 @@ export declare abstract class AdaptableModuleBase implements IModule {
44
44
  createMainMenuItemShowPopup({ Label, ComponentName, Icon, PopupParams, }: {
45
45
  Label: string;
46
46
  ComponentName: string;
47
- Icon: AdaptableInternalIconName;
47
+ Icon: AdaptableSystemIconName;
48
48
  PopupParams?: ModuleParams;
49
49
  }): MenuItemShowPopup;
50
- createColumnMenuItemClickFunction(Label: string, Icon: AdaptableInternalIconName, ClickFunction: () => void): MenuItemDoClickFunction;
51
- createColumnMenuItemReduxAction(Label: string, Icon: AdaptableInternalIconName, Action: Action): MenuItemDoReduxAction;
52
- createColumnMenuItemShowPopup(Label: string, ComponentName: string, Icon: AdaptableInternalIconName, PopupParams?: ModuleParams): MenuItemShowPopup;
50
+ createColumnMenuItemClickFunction(Label: string, Icon: AdaptableSystemIconName, ClickFunction: () => void): MenuItemDoClickFunction;
51
+ createColumnMenuItemReduxAction(Label: string, Icon: AdaptableSystemIconName, Action: Action): MenuItemDoReduxAction;
52
+ createColumnMenuItemShowPopup(Label: string, ComponentName: string, Icon: AdaptableSystemIconName, PopupParams?: ModuleParams): MenuItemShowPopup;
53
53
  canCreateColumnMenuItem(column: AdaptableColumn, minimumAccessLevel: AccessLevel, functionType?: 'sort' | 'editable' | 'style' | 'filter' | 'quickfilter' | 'numeric'): boolean;
54
54
  getTeamSharingAction(): TeamSharingImportInfo<AdaptableObject> | undefined;
55
55
  getModuleNamedQueryReferences(): string[];
@@ -0,0 +1,13 @@
1
+ import { AdaptableModuleBase } from './AdaptableModuleBase';
2
+ import { IModule } from './Interface/IModule';
3
+ import { AdaptableApi } from '../Api/AdaptableApi';
4
+ import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
5
+ export declare class Fdc3Module extends AdaptableModuleBase implements IModule {
6
+ constructor(api: AdaptableApi);
7
+ isModuleAvailable(): boolean;
8
+ addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
9
+ private buildRaiseIntentMenuItem;
10
+ private buildBroadcastMenuItem;
11
+ private getFdc3Options;
12
+ private getFdc3Api;
13
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Fdc3Module = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const AdaptableModuleBase_1 = require("./AdaptableModuleBase");
6
+ const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
7
+ class Fdc3Module extends AdaptableModuleBase_1.AdaptableModuleBase {
8
+ constructor(api) {
9
+ super(ModuleConstants.Fdc3ModuleId, ModuleConstants.Fdc3FriendlyName, 'fdc3', null, 'The FDC3 Module - handles the FDC3 integration', api);
10
+ }
11
+ isModuleAvailable() {
12
+ return this.getFdc3Options().enableFdc3;
13
+ }
14
+ addContextMenuItems(menuContext) {
15
+ var _a, _b;
16
+ if (!this.isModuleAvailable()) {
17
+ return;
18
+ }
19
+ const currentColumnId = menuContext.adaptableColumn.columnId;
20
+ const currentRowNode = menuContext.rowNode;
21
+ const contextMenuItems = [];
22
+ // Raise Intent menu items
23
+ const raiseIntents = ((_a = this.getFdc3Options().intents) === null || _a === void 0 ? void 0 : _a.raises) || {};
24
+ Object.keys(raiseIntents).forEach((intent) => {
25
+ const contexts = raiseIntents[intent];
26
+ const configsWithMenuItemsForCurrentColumn = contexts.filter((configElem) => { var _a; return (_a = configElem.contextMenu) === null || _a === void 0 ? void 0 : _a.columnIds.includes(currentColumnId); });
27
+ configsWithMenuItemsForCurrentColumn.forEach((raiseContextConfig) => {
28
+ contextMenuItems.push(this.buildRaiseIntentMenuItem(intent, raiseContextConfig.type, currentRowNode));
29
+ });
30
+ });
31
+ // Broadcast menu items
32
+ const broadcastContext = ((_b = this.getFdc3Options().contexts) === null || _b === void 0 ? void 0 : _b.broadcasts) || {};
33
+ Object.keys(broadcastContext).forEach((contextType) => {
34
+ var _a;
35
+ const config = broadcastContext[contextType];
36
+ if ((_a = config === null || config === void 0 ? void 0 : config.contextMenu) === null || _a === void 0 ? void 0 : _a.columnIds.includes(currentColumnId)) {
37
+ contextMenuItems.push(this.buildBroadcastMenuItem(contextType, currentRowNode));
38
+ }
39
+ });
40
+ if (contextMenuItems.length > 1) {
41
+ const groupMenuItem = {
42
+ label: 'FDC3',
43
+ icon: {
44
+ name: 'fdc3',
45
+ },
46
+ isVisible: true,
47
+ subItems: contextMenuItems,
48
+ };
49
+ return [groupMenuItem];
50
+ }
51
+ else if (contextMenuItems.length === 1) {
52
+ contextMenuItems[0].icon = {
53
+ name: 'fdc3',
54
+ };
55
+ return contextMenuItems;
56
+ }
57
+ }
58
+ buildRaiseIntentMenuItem(intent, context, rowNode) {
59
+ const menuItem = {
60
+ label: `Raise ${intent}`,
61
+ onClick: () => {
62
+ this.getFdc3Api().raiseIntentFromRow(rowNode, intent, context);
63
+ },
64
+ isVisible: true,
65
+ };
66
+ return menuItem;
67
+ }
68
+ buildBroadcastMenuItem(context, rowNode) {
69
+ const menuItem = {
70
+ label: `Broadcast ${this.getFdc3Api().getContextLabel(context)}`,
71
+ onClick: () => {
72
+ this.getFdc3Api().broadcastFromRow(rowNode, context);
73
+ },
74
+ isVisible: true,
75
+ };
76
+ return menuItem;
77
+ }
78
+ getFdc3Options() {
79
+ return this.api.optionsApi.getFdc3Options();
80
+ }
81
+ getFdc3Api() {
82
+ return this.api.fdc3Api;
83
+ }
84
+ }
85
+ exports.Fdc3Module = Fdc3Module;
@@ -216,14 +216,18 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
216
216
  }
217
217
  isAlertPredicateTriggered(alert, dataChangedEvent, defaultNoPredicateReturn = false) {
218
218
  var _a;
219
- return this.api.predicateApi.handleColumnPredicates((_a = alert.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, {
219
+ const predicateDefHandlerContext = {
220
220
  value: dataChangedEvent.newValue,
221
221
  oldValue: dataChangedEvent.oldValue,
222
222
  // TODO send real display value
223
223
  displayValue: null,
224
224
  node: dataChangedEvent.rowNode,
225
225
  column: dataChangedEvent.column,
226
- }, defaultNoPredicateReturn);
226
+ adaptableApi: this.api,
227
+ userName: this.api.optionsApi.getUserName(),
228
+ adaptableId: this.api.optionsApi.getAdaptableId(),
229
+ };
230
+ return this.api.predicateApi.handleColumnPredicates((_a = alert.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, predicateDefHandlerContext, defaultNoPredicateReturn);
227
231
  }
228
232
  getTeamSharingAction() {
229
233
  return {
@@ -9,13 +9,13 @@ import { CalculatedColumn } from '../../PredefinedConfig/CalculatedColumnState';
9
9
  import { FreeTextColumn } from '../../PredefinedConfig/FreeTextColumnState';
10
10
  import { AdaptableOnePageWizardProps } from '../../View/Wizard/Interface/IAdaptableWizard';
11
11
  import * as Redux from 'redux';
12
- import { AdaptableInternalIconName, SuspendableObject } from '../../../types';
12
+ import { AdaptableSystemIconName, SuspendableObject } from '../../../types';
13
13
  import { StatusBarPanelProps } from '../../View/StatusBar/StatusBarPanel';
14
14
  import { StrictExtract } from '../../Utilities/Extensions/TypeExtensions';
15
15
  export interface ModuleInfo {
16
16
  ModuleName: AdaptableModule;
17
17
  FriendlyName: string;
18
- Glyph: AdaptableInternalIconName;
18
+ Glyph: AdaptableSystemIconName;
19
19
  Popup: string;
20
20
  Description: string;
21
21
  HelpPage: string;