@adaptabletools/adaptable 16.0.0-canary.3 → 16.0.0-canary.5
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.
- package/README.md +2 -0
- package/base.css +31 -23
- package/base.css.map +1 -1
- package/bundle.cjs.js +184 -184
- package/index.css +43 -31
- package/index.css.map +1 -1
- package/package.json +10 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ColumnOptions.d.ts +1 -10
- package/src/AdaptableOptions/Fdc3Options.d.ts +279 -0
- package/src/AdaptableOptions/Fdc3Options.js +5 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +25 -25
- package/src/AdaptableOptions/GroupingOptions.d.ts +8 -0
- package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -6
- package/src/Api/AdaptableApi.d.ts +7 -2
- package/src/Api/ColumnApi.d.ts +0 -5
- package/src/Api/EventApi.d.ts +3 -3
- package/src/Api/Events/ThemeChanged.d.ts +0 -6
- package/src/Api/Events/ThemeEdited.d.ts +11 -0
- package/src/Api/Fdc3Api.d.ts +91 -0
- package/src/Api/Fdc3Api.js +2 -0
- package/src/Api/FinanceApi.d.ts +13 -13
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -0
- package/src/Api/Implementation/ApiBase.d.ts +4 -0
- package/src/Api/Implementation/ApiBase.js +6 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ColumnApiImpl.js +0 -3
- package/src/Api/Implementation/Fdc3ApiImpl.d.ts +28 -0
- package/src/Api/Implementation/Fdc3ApiImpl.js +87 -0
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
- package/src/Api/Implementation/OptionsApiImpl.js +3 -0
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -0
- package/src/Api/Implementation/QuickSearchApiImpl.js +7 -0
- package/src/Api/Internal/ActionRowInternalApi.js +1 -1
- package/src/Api/Internal/AdaptableInternalApi.d.ts +11 -4
- package/src/Api/Internal/AdaptableInternalApi.js +59 -10
- package/src/Api/Internal/ColumnInternalApi.d.ts +1 -0
- package/src/Api/Internal/ColumnInternalApi.js +4 -0
- package/src/Api/Internal/Fdc3InternalApi.d.ts +27 -0
- package/src/Api/Internal/Fdc3InternalApi.js +442 -0
- package/src/Api/OptionsApi.d.ts +5 -0
- package/src/Api/QuickSearchApi.d.ts +8 -0
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/{FDC3Context.d.ts → FDC3Context_DEPR.d.ts} +22 -22
- package/src/PredefinedConfig/Common/FDC3Context_DEPR.js +2 -0
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +55 -0
- package/src/PredefinedConfig/Common/Fdc3Context.js +36 -0
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +71 -0
- package/src/PredefinedConfig/Common/Fdc3Intent.js +107 -0
- package/src/PredefinedConfig/Common/Types.d.ts +2 -2
- package/src/PredefinedConfig/SystemState.d.ts +3 -0
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +12 -6
- package/src/Redux/ActionsReducers/SystemRedux.js +18 -2
- package/src/Redux/Store/AdaptableStore.js +2 -2
- package/src/Strategy/Fdc3Module.d.ts +13 -0
- package/src/Strategy/Fdc3Module.js +105 -0
- package/src/Utilities/Constants/GeneralConstants.d.ts +4 -0
- package/src/Utilities/Constants/GeneralConstants.js +6 -2
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
- package/src/Utilities/Constants/ModuleConstants.js +5 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +11 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
- package/src/Utilities/Services/Fdc3Service.d.ts +20 -0
- package/src/Utilities/Services/Fdc3Service.js +92 -0
- package/src/View/AdaptableView.js +9 -7
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +9 -0
- package/src/View/Layout/Wizard/sections/Utilities.js +1 -1
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.d.ts +2 -0
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +26 -0
- package/src/View/QuickSearch/QuickSearchInput.d.ts +6 -0
- package/src/View/QuickSearch/QuickSearchInput.js +22 -0
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +2 -5
- package/src/View/QuickSearch/QuickSearchViewPanel.js +5 -19
- package/src/agGrid/ActionColumnRenderer.js +2 -31
- package/src/agGrid/Adaptable.d.ts +2 -0
- package/src/agGrid/Adaptable.js +22 -16
- package/src/agGrid/agGridHelper.js +7 -2
- package/src/components/Drawer/index.d.ts +6 -0
- package/src/components/Drawer/index.js +60 -0
- package/src/components/ExpressionEditor/index.js +4 -2
- package/src/components/icons/fdc3.d.ts +3 -0
- package/src/components/icons/fdc3.js +9 -0
- package/src/components/icons/index.js +3 -1
- package/src/metamodel/adaptable.metamodel.d.ts +161 -19
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +8 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/src/{PredefinedConfig/Common/FDC3Context.js → Api/Events/ThemeEdited.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomFDC3Intent_Depr } from '../../AdaptableOptions/FinancePluginOptions';
|
|
2
2
|
import { BaseEventInfo } from '../../Api/Events/BaseEventInfo';
|
|
3
|
-
import {
|
|
3
|
+
import { FDC3Intent_Depr } from '../../types';
|
|
4
4
|
/**
|
|
5
5
|
* General-purpose context type, as defined by [FDC3](https://fdc3.finos.org/docs/1.0/context-intro).
|
|
6
6
|
* A context object is a well-understood datum that is streamable between FDC3 participants. As a result
|
|
@@ -10,11 +10,11 @@ import { FDC3Intent } from '../../types';
|
|
|
10
10
|
/**
|
|
11
11
|
* General-purpose context type, as defined by FDC3
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface FDC3Context_DEPR {
|
|
14
14
|
/**
|
|
15
|
-
* Type of
|
|
15
|
+
* Type of FDC3Context_DEPR that uniquely identifies it, e.g. "instrument"; used to refer to the accepted context(s) when declaring intents
|
|
16
16
|
*/
|
|
17
|
-
type:
|
|
17
|
+
type: FDC3ContextTypeDepr;
|
|
18
18
|
/**
|
|
19
19
|
* Name of the context data (optional) - a text string that describes the data being sent
|
|
20
20
|
*/
|
|
@@ -33,7 +33,7 @@ export interface FDC3Context {
|
|
|
33
33
|
/**
|
|
34
34
|
* FDC3 Context to define a financial Instrument
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface InstrumentContextDepr extends FDC3Context_DEPR {
|
|
37
37
|
/**
|
|
38
38
|
* Context type is always `instrument`
|
|
39
39
|
*/
|
|
@@ -61,7 +61,7 @@ export interface InstrumentContext extends FDC3Context {
|
|
|
61
61
|
/**
|
|
62
62
|
* FDC3 Context to define an array of financial Instruments
|
|
63
63
|
*/
|
|
64
|
-
export interface
|
|
64
|
+
export interface InstrumentListContextDepr extends FDC3Context_DEPR {
|
|
65
65
|
/**
|
|
66
66
|
* Context type is always `instrumentList`
|
|
67
67
|
*/
|
|
@@ -77,12 +77,12 @@ export interface InstrumentListContext extends FDC3Context {
|
|
|
77
77
|
/**
|
|
78
78
|
* The instrument data
|
|
79
79
|
*/
|
|
80
|
-
instruments?:
|
|
80
|
+
instruments?: InstrumentContextDepr[];
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* FDC3 Context to define a financial Position (requires an Instrument)
|
|
84
84
|
*/
|
|
85
|
-
export interface
|
|
85
|
+
export interface PositionContextDepr extends FDC3Context_DEPR {
|
|
86
86
|
/**
|
|
87
87
|
* Context type is always `position`
|
|
88
88
|
*/
|
|
@@ -90,7 +90,7 @@ export interface PositionContext extends FDC3Context {
|
|
|
90
90
|
/**
|
|
91
91
|
* The `InstrumentContext` of the relevant Instrument
|
|
92
92
|
*/
|
|
93
|
-
instrument:
|
|
93
|
+
instrument: InstrumentContextDepr;
|
|
94
94
|
/**
|
|
95
95
|
* Free text name of Position
|
|
96
96
|
*/
|
|
@@ -107,7 +107,7 @@ export interface PositionContext extends FDC3Context {
|
|
|
107
107
|
/**
|
|
108
108
|
* FDC3 Context to define a financial Portfolio (array of Positions)
|
|
109
109
|
*/
|
|
110
|
-
export interface
|
|
110
|
+
export interface PortfolioContextDepr extends FDC3Context_DEPR {
|
|
111
111
|
/**
|
|
112
112
|
* Context type is always `portfolio`
|
|
113
113
|
*/
|
|
@@ -123,12 +123,12 @@ export interface PortfolioContext extends FDC3Context {
|
|
|
123
123
|
/**
|
|
124
124
|
* The position data
|
|
125
125
|
*/
|
|
126
|
-
positions?:
|
|
126
|
+
positions?: PositionContextDepr[];
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
129
|
* FDC3 Context to define a Contact
|
|
130
130
|
*/
|
|
131
|
-
export interface
|
|
131
|
+
export interface ContactContextDepr extends FDC3Context_DEPR {
|
|
132
132
|
/**
|
|
133
133
|
* Context type is always `contact`
|
|
134
134
|
*/
|
|
@@ -150,7 +150,7 @@ export interface ContactContext extends FDC3Context {
|
|
|
150
150
|
/**
|
|
151
151
|
* FDC3 Context to define a list of Contacts
|
|
152
152
|
*/
|
|
153
|
-
export interface
|
|
153
|
+
export interface ContactListContextDepr extends FDC3Context_DEPR {
|
|
154
154
|
/**
|
|
155
155
|
* Context type is always `contactList`
|
|
156
156
|
*/
|
|
@@ -166,12 +166,12 @@ export interface ContactListContext extends FDC3Context {
|
|
|
166
166
|
/**
|
|
167
167
|
* The array of Contacts
|
|
168
168
|
*/
|
|
169
|
-
contacts?:
|
|
169
|
+
contacts?: ContactContextDepr[];
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* FDC3 Context to define an Organization
|
|
173
173
|
*/
|
|
174
|
-
export interface
|
|
174
|
+
export interface OrganizationContextDepr extends FDC3Context_DEPR {
|
|
175
175
|
/**
|
|
176
176
|
* Context type is always `organization`
|
|
177
177
|
*/
|
|
@@ -194,7 +194,7 @@ export interface OrganizationContext extends FDC3Context {
|
|
|
194
194
|
/**
|
|
195
195
|
* FDC3 Context to define a Country
|
|
196
196
|
*/
|
|
197
|
-
export interface
|
|
197
|
+
export interface CountryContextDepr extends FDC3Context_DEPR {
|
|
198
198
|
/**
|
|
199
199
|
* Context type is always `country`
|
|
200
200
|
*/
|
|
@@ -224,23 +224,23 @@ export interface AdaptableFDC3EventInfo extends BaseEventInfo {
|
|
|
224
224
|
/**
|
|
225
225
|
* The FDC3 Intent which caused Event to fire (if type is `RaiseIntent`)
|
|
226
226
|
*/
|
|
227
|
-
intent?:
|
|
227
|
+
intent?: FDC3Intent_Depr | CustomFDC3Intent_Depr;
|
|
228
228
|
/**
|
|
229
229
|
* Full FDC3 Context for the object related to the event
|
|
230
230
|
*/
|
|
231
|
-
context:
|
|
231
|
+
context: FDC3Context_DEPR;
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
234
234
|
* Defines which FDC3 context is being used
|
|
235
235
|
*/
|
|
236
|
-
export declare type
|
|
236
|
+
export declare type FDC3ContextTypeDepr = 'fdc3.instrument' | 'fdc3.instrumentList' | 'fdc3.position' | 'fdc3.portfolio' | 'fdc3.contact' | 'fdc3.contactList' | 'fdc3.organization' | 'fdc3.country';
|
|
237
237
|
/**
|
|
238
238
|
* Context used when providing Custom FDC3 content
|
|
239
239
|
*/
|
|
240
|
-
export interface CustomFDC3Context extends
|
|
240
|
+
export interface CustomFDC3Context extends FDC3Context_DEPR {
|
|
241
241
|
type: any;
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
* Data used in FDC3 Contexts
|
|
245
245
|
*/
|
|
246
|
-
export declare type
|
|
246
|
+
export declare type ContextDataDepr = Record<string, unknown>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Chart, ChatInitSettings, Contact, ContactList, Context, Country, Currency, Email, Instrument, InstrumentList, Nothing, Organization, Portfolio, Position, TimeRange, Valuation, ContextTypes } from '@finos/fdc3';
|
|
2
|
+
export declare type Fdc3ContextType = ChartContextType | ChatInitSettingsContextType | ContactContextType | ContactListContextType | CountryContextType | CurrencyContextType | EmailContextType | InstrumentContextType | InstrumentListContextType | OrganizationContextType | PortfolioContextType | PositionContextType | TimeRangeContextType | ValuationContextType | NothingContextType;
|
|
3
|
+
export declare type Fdc3CustomContextType = string;
|
|
4
|
+
export declare const ChartContextKey = "fdc3.chart";
|
|
5
|
+
export declare type ChartContextType = typeof ChartContextKey;
|
|
6
|
+
export declare const ChatInitSettingsContextKey = "fdc3.chat.initSettings";
|
|
7
|
+
export declare type ChatInitSettingsContextType = typeof ChatInitSettingsContextKey;
|
|
8
|
+
export declare const ContactContextKey = "fdc3.contact";
|
|
9
|
+
export declare type ContactContextType = typeof ContactContextKey;
|
|
10
|
+
export declare const ContactListContextKey = "fdc3.contactList";
|
|
11
|
+
export declare type ContactListContextType = typeof ContactListContextKey;
|
|
12
|
+
export declare const CountryContextKey = "fdc3.country";
|
|
13
|
+
export declare type CountryContextType = typeof CountryContextKey;
|
|
14
|
+
export declare const CurrencyContextKey = "fdc3.currency";
|
|
15
|
+
export declare type CurrencyContextType = typeof CurrencyContextKey;
|
|
16
|
+
export declare const EmailContextKey = "fdc3.email";
|
|
17
|
+
export declare type EmailContextType = typeof EmailContextKey;
|
|
18
|
+
export declare const InstrumentContextKey = "fdc3.instrument";
|
|
19
|
+
export declare type InstrumentContextType = typeof InstrumentContextKey;
|
|
20
|
+
export declare const InstrumentListContextKey = "fdc3.instrumentList";
|
|
21
|
+
export declare type InstrumentListContextType = typeof InstrumentListContextKey;
|
|
22
|
+
export declare const OrganizationContextKey = "fdc3.organization";
|
|
23
|
+
export declare type OrganizationContextType = typeof OrganizationContextKey;
|
|
24
|
+
export declare const PortfolioContextKey = "fdc3.portfolio";
|
|
25
|
+
export declare type PortfolioContextType = typeof PortfolioContextKey;
|
|
26
|
+
export declare const PositionContextKey = "fdc3.position";
|
|
27
|
+
export declare type PositionContextType = typeof PositionContextKey;
|
|
28
|
+
export declare const TimeRangeContextKey = "fdc3.timerange";
|
|
29
|
+
export declare type TimeRangeContextType = typeof TimeRangeContextKey;
|
|
30
|
+
export declare const ValuationContextKey = "fdc3.valuation";
|
|
31
|
+
export declare type ValuationContextType = typeof ValuationContextKey;
|
|
32
|
+
export declare const NothingContextKey = "fdc3.nothing";
|
|
33
|
+
export declare type NothingContextType = typeof NothingContextKey;
|
|
34
|
+
export declare type Fdc3Context = ChartContext | ChatInitSettingsContext | ContactContext | ContactListContext | CountryContext | CurrencyContext | EmailContext | InstrumentContext | InstrumentListContext | OrganizationContext | PortfolioContext | PositionContext | TimeRangeContext | ValuationContext | NothingContext;
|
|
35
|
+
export declare type Fdc3CustomContext = Context;
|
|
36
|
+
export declare type TypedFdc3Context<CONTEXT, TYPE extends Fdc3ContextType> = CONTEXT & {
|
|
37
|
+
type: TYPE;
|
|
38
|
+
};
|
|
39
|
+
export declare type ChartContext = TypedFdc3Context<Chart, ContextTypes.Chart>;
|
|
40
|
+
export declare type ChatInitSettingsContext = TypedFdc3Context<ChatInitSettings, ContextTypes.ChatInitSettings>;
|
|
41
|
+
export declare type ContactContext = TypedFdc3Context<Contact, ContextTypes.Contact>;
|
|
42
|
+
export declare type ContactListContext = TypedFdc3Context<ContactList, ContextTypes.ContactList>;
|
|
43
|
+
export declare type CountryContext = TypedFdc3Context<Country, ContextTypes.Country>;
|
|
44
|
+
export declare type CurrencyContext = TypedFdc3Context<Currency, ContextTypes.Currency>;
|
|
45
|
+
export declare type EmailContext = TypedFdc3Context<Email, ContextTypes.Email>;
|
|
46
|
+
export declare type InstrumentContext = TypedFdc3Context<Instrument, ContextTypes.Instrument>;
|
|
47
|
+
export declare type InstrumentListContext = TypedFdc3Context<InstrumentList, ContextTypes.InstrumentList>;
|
|
48
|
+
export declare type OrganizationContext = TypedFdc3Context<Organization, ContextTypes.Organization>;
|
|
49
|
+
export declare type PortfolioContext = TypedFdc3Context<Portfolio, ContextTypes.Portfolio>;
|
|
50
|
+
export declare type PositionContext = TypedFdc3Context<Position, ContextTypes.Position>;
|
|
51
|
+
export declare type TimeRangeContext = TypedFdc3Context<TimeRange, ContextTypes.TimeRange>;
|
|
52
|
+
export declare type ValuationContext = TypedFdc3Context<Valuation, ContextTypes.Valuation>;
|
|
53
|
+
export declare type NothingContext = TypedFdc3Context<Nothing, ContextTypes.Nothing>;
|
|
54
|
+
export declare const ContextLabels: Record<Fdc3ContextType, string>;
|
|
55
|
+
export declare const StandardContextTypes: Fdc3ContextType[];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StandardContextTypes = 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]: 'ChatInitSettings',
|
|
22
|
+
[exports.ContactContextKey]: 'Contact',
|
|
23
|
+
[exports.ContactListContextKey]: 'ContactList',
|
|
24
|
+
[exports.CountryContextKey]: 'Country',
|
|
25
|
+
[exports.CurrencyContextKey]: 'Currency',
|
|
26
|
+
[exports.EmailContextKey]: 'Email',
|
|
27
|
+
[exports.InstrumentContextKey]: 'Instrument',
|
|
28
|
+
[exports.InstrumentListContextKey]: 'InstrumentList',
|
|
29
|
+
[exports.OrganizationContextKey]: 'Organization',
|
|
30
|
+
[exports.PortfolioContextKey]: 'Portfolio',
|
|
31
|
+
[exports.PositionContextKey]: 'Position',
|
|
32
|
+
[exports.TimeRangeContextKey]: 'TimeRange',
|
|
33
|
+
[exports.ValuationContextKey]: 'Valuation',
|
|
34
|
+
[exports.NothingContextKey]: 'Nothing',
|
|
35
|
+
};
|
|
36
|
+
exports.StandardContextTypes = Object.keys(exports.ContextLabels);
|
|
@@ -0,0 +1,71 @@
|
|
|
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", "fdc3.nothing"];
|
|
18
|
+
};
|
|
19
|
+
readonly StartChat: {
|
|
20
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.contactList", "fdc3.chat.initSettings", "fdc3.nothing"];
|
|
21
|
+
};
|
|
22
|
+
readonly StartEmail: {
|
|
23
|
+
readonly contexts: readonly ["fdc3.email"];
|
|
24
|
+
};
|
|
25
|
+
readonly ViewAnalysis: {
|
|
26
|
+
readonly contexts: readonly ["fdc3.instrument", "fdc3.organization", "fdc3.portfolio", "fdc3.nothing"];
|
|
27
|
+
};
|
|
28
|
+
readonly ViewChart: {
|
|
29
|
+
readonly contexts: readonly ["fdc3.chart", "fdc3.instrument", "fdc3.organization", "fdc3.portfolio", "fdc3.position", "fdc3.nothing"];
|
|
30
|
+
};
|
|
31
|
+
readonly ViewContact: {
|
|
32
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.nothing"];
|
|
33
|
+
};
|
|
34
|
+
readonly ViewHoldings: {
|
|
35
|
+
readonly contexts: readonly ["fdc3.instrument", "fdc3.instrumentList", "fdc3.organization", "fdc3.nothing"];
|
|
36
|
+
};
|
|
37
|
+
readonly ViewInstrument: {
|
|
38
|
+
readonly contexts: readonly ["fdc3.instrument", "fdc3.nothing"];
|
|
39
|
+
};
|
|
40
|
+
readonly ViewInteractions: {
|
|
41
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization", "fdc3.nothing"];
|
|
42
|
+
};
|
|
43
|
+
readonly ViewNews: {
|
|
44
|
+
readonly contexts: readonly ["fdc3.country", "fdc3.instrument", "fdc3.instrumentList", "fdc3.organization", "fdc3.portfolio", "fdc3.nothing"];
|
|
45
|
+
};
|
|
46
|
+
readonly ViewOrders: {
|
|
47
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization", "fdc3.nothing"];
|
|
48
|
+
};
|
|
49
|
+
readonly ViewProfile: {
|
|
50
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.organization", "fdc3.nothing"];
|
|
51
|
+
};
|
|
52
|
+
readonly ViewQuote: {
|
|
53
|
+
readonly contexts: readonly ["fdc3.instrument", "fdc3.nothing"];
|
|
54
|
+
};
|
|
55
|
+
readonly ViewResearch: {
|
|
56
|
+
readonly contexts: readonly ["fdc3.contact", "fdc3.instrumentList", "fdc3.organization", "fdc3.nothing"];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const Fdc3StandardIntents: ("StartCall" | "StartChat" | "StartEmail" | "ViewAnalysis" | "ViewChart" | "ViewContact" | "ViewHoldings" | "ViewInstrument" | "ViewInteractions" | "ViewNews" | "ViewOrders" | "ViewProfile" | "ViewQuote" | "ViewResearch")[];
|
|
60
|
+
/**
|
|
61
|
+
* All FDC3 standard intents
|
|
62
|
+
*/
|
|
63
|
+
export declare type Fdc3IntentType = typeof Fdc3StandardIntents[number];
|
|
64
|
+
/**
|
|
65
|
+
* Custom FDC3 intent
|
|
66
|
+
*/
|
|
67
|
+
export declare type Fdc3CustomIntentType = string;
|
|
68
|
+
/**
|
|
69
|
+
* Valid context for a given FDC3 intent
|
|
70
|
+
*/
|
|
71
|
+
export declare type CompatibleContext<F extends Fdc3IntentType> = typeof Fdc3IntentConfiguration[F]['contexts'][number];
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Fdc3StandardIntents = 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, Fdc3Context_1.NothingContextKey],
|
|
22
|
+
},
|
|
23
|
+
[exports.StartChatIntent]: {
|
|
24
|
+
contexts: [
|
|
25
|
+
Fdc3Context_1.ContactContextKey,
|
|
26
|
+
Fdc3Context_1.ContactListContextKey,
|
|
27
|
+
Fdc3Context_1.ChatInitSettingsContextKey,
|
|
28
|
+
Fdc3Context_1.NothingContextKey,
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
[exports.StartEmailIntent]: {
|
|
32
|
+
contexts: [Fdc3Context_1.EmailContextKey],
|
|
33
|
+
},
|
|
34
|
+
[exports.ViewAnalysisIntent]: {
|
|
35
|
+
contexts: [
|
|
36
|
+
Fdc3Context_1.InstrumentContextKey,
|
|
37
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
38
|
+
Fdc3Context_1.PortfolioContextKey,
|
|
39
|
+
Fdc3Context_1.NothingContextKey,
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
[exports.ViewChartIntent]: {
|
|
43
|
+
contexts: [
|
|
44
|
+
Fdc3Context_1.ChartContextKey,
|
|
45
|
+
Fdc3Context_1.InstrumentContextKey,
|
|
46
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
47
|
+
Fdc3Context_1.PortfolioContextKey,
|
|
48
|
+
Fdc3Context_1.PositionContextKey,
|
|
49
|
+
Fdc3Context_1.NothingContextKey,
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
[exports.ViewContactIntent]: {
|
|
53
|
+
contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.NothingContextKey],
|
|
54
|
+
},
|
|
55
|
+
[exports.ViewHoldingsIntent]: {
|
|
56
|
+
contexts: [
|
|
57
|
+
Fdc3Context_1.InstrumentContextKey,
|
|
58
|
+
Fdc3Context_1.InstrumentListContextKey,
|
|
59
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
60
|
+
Fdc3Context_1.NothingContextKey,
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
[exports.ViewInstrumentIntent]: {
|
|
64
|
+
contexts: [Fdc3Context_1.InstrumentContextKey, Fdc3Context_1.NothingContextKey],
|
|
65
|
+
},
|
|
66
|
+
[exports.ViewInteractionsIntent]: {
|
|
67
|
+
contexts: [
|
|
68
|
+
Fdc3Context_1.ContactContextKey,
|
|
69
|
+
Fdc3Context_1.InstrumentListContextKey,
|
|
70
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
71
|
+
Fdc3Context_1.NothingContextKey,
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
[exports.ViewNewsIntent]: {
|
|
75
|
+
contexts: [
|
|
76
|
+
Fdc3Context_1.CountryContextKey,
|
|
77
|
+
Fdc3Context_1.InstrumentContextKey,
|
|
78
|
+
Fdc3Context_1.InstrumentListContextKey,
|
|
79
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
80
|
+
Fdc3Context_1.PortfolioContextKey,
|
|
81
|
+
Fdc3Context_1.NothingContextKey,
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
[exports.ViewOrdersIntent]: {
|
|
85
|
+
contexts: [
|
|
86
|
+
Fdc3Context_1.ContactContextKey,
|
|
87
|
+
Fdc3Context_1.InstrumentListContextKey,
|
|
88
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
89
|
+
Fdc3Context_1.NothingContextKey,
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
[exports.ViewProfileIntent]: {
|
|
93
|
+
contexts: [Fdc3Context_1.ContactContextKey, Fdc3Context_1.OrganizationContextKey, Fdc3Context_1.NothingContextKey],
|
|
94
|
+
},
|
|
95
|
+
[exports.ViewQuoteIntent]: {
|
|
96
|
+
contexts: [Fdc3Context_1.InstrumentContextKey, Fdc3Context_1.NothingContextKey],
|
|
97
|
+
},
|
|
98
|
+
[exports.ViewResearchIntent]: {
|
|
99
|
+
contexts: [
|
|
100
|
+
Fdc3Context_1.ContactContextKey,
|
|
101
|
+
Fdc3Context_1.InstrumentListContextKey,
|
|
102
|
+
Fdc3Context_1.OrganizationContextKey,
|
|
103
|
+
Fdc3Context_1.NothingContextKey,
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
exports.Fdc3StandardIntents = 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' | 'abColDefStringArray' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn';
|
|
54
|
+
export declare type AdaptableColumnType = 'abColDefBoolean' | 'abColDefDate' | 'abColDefNumber' | 'abColDefString' | 'abColDefObject' | 'abColDefStringArray' | 'abColDefNumberArray' | 'abColDefTupleNumberArray' | 'abColDefObjectNumberArray' | 'abColDefCustom' | 'abSpecialColumn' | 'abRowActionsColumn' | 'abFdc3Column';
|
|
@@ -71,6 +71,7 @@ export declare const DASHBOARD_REFRESH = "DASHBOARD_REFRESH";
|
|
|
71
71
|
export declare const SYSTEM_DATA_SET_SELECT = "SYSTEM_DATA_SET_SELECT";
|
|
72
72
|
export declare const SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = "SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS";
|
|
73
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";
|
|
74
75
|
export declare const SYSTEM_VISUAL_EXPORT_BEGIN = "SYSTEM_VISUAL_EXPORT_BEGIN";
|
|
75
76
|
export declare const SYSTEM_VISUAL_EXPORT_END = "SYSTEM_VISUAL_EXPORT_END";
|
|
76
77
|
export interface SystemHighlightCellAddAction extends Redux.Action {
|
|
@@ -217,7 +218,7 @@ export interface SystemDataChangeHistorySuspendAction extends Redux.Action {
|
|
|
217
218
|
}
|
|
218
219
|
export interface SystemDataChangeHistoryResumeAction extends Redux.Action {
|
|
219
220
|
}
|
|
220
|
-
export interface
|
|
221
|
+
export interface SystemDisableDeleteConfirmationAction extends Redux.Action {
|
|
221
222
|
}
|
|
222
223
|
export interface SystemDashboardRefreshAction extends Redux.Action {
|
|
223
224
|
}
|
|
@@ -245,9 +246,12 @@ export interface SystemSetPreviousGroupedColumnIndexAction extends Redux.Action
|
|
|
245
246
|
columnId: string;
|
|
246
247
|
columnIndex: number;
|
|
247
248
|
}
|
|
248
|
-
export interface
|
|
249
|
+
export interface SystemVisualExportBeginAction extends Redux.Action {
|
|
249
250
|
}
|
|
250
|
-
export interface
|
|
251
|
+
export interface SystemVisualExportEndAction extends Redux.Action {
|
|
252
|
+
}
|
|
253
|
+
export interface SystemQuickSearchFloatingVisibilityAction extends Redux.Action {
|
|
254
|
+
visible: boolean;
|
|
251
255
|
}
|
|
252
256
|
export declare const SystemHighlightCellAdd: (cellHighlightInfo: CellHighlightInfo) => SystemHighlightCellAddAction;
|
|
253
257
|
export declare const SystemHighlightCellDelete: (primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']) => SystemHighlightCellDeleteAction;
|
|
@@ -302,9 +306,11 @@ export declare const SystemDataSetSelect: (dataSet: DataSet) => SystemDataSetSel
|
|
|
302
306
|
export declare const SystemChartingSetCurrentChartModels: (chartModels: ChartModel[]) => SystemChartingSetCurrentChartModelsAction;
|
|
303
307
|
export declare const SystemChartingCurrentChartModelsSelector: (state: SystemState) => ChartModel[];
|
|
304
308
|
export declare const SystemSetPreviousGroupedColumnsIndex: (layoutId: string, columnId: string, columnIndex: number) => SystemSetPreviousGroupedColumnIndexAction;
|
|
305
|
-
export declare const SystemDisableDeleteConfirmation: () =>
|
|
306
|
-
export declare const SystemVisualExportBegin: () =>
|
|
307
|
-
export declare const 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;
|
|
308
313
|
export declare const SystemDisableDeleteConfirmationSelector: (state: SystemState) => boolean;
|
|
309
314
|
export declare const SystemPreviousGroupedColumnsSelector: (state: SystemState) => Record<string, Record<string, number>>;
|
|
315
|
+
export declare const SystemQuickSearchFloatingVisibilitySelector: (state: SystemState) => boolean;
|
|
310
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
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.
|
|
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 = exports.SystemQuickFilterBarShow = exports.SystemSettingsPanelSet = 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");
|
|
@@ -86,6 +86,8 @@ exports.SYSTEM_DATA_SET_SELECT = 'SYSTEM_DATA_SET_SELECT';
|
|
|
86
86
|
exports.SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = 'SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS';
|
|
87
87
|
// Layout
|
|
88
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';
|
|
89
91
|
// Data Export (Report)
|
|
90
92
|
exports.SYSTEM_VISUAL_EXPORT_BEGIN = 'SYSTEM_VISUAL_EXPORT_BEGIN';
|
|
91
93
|
exports.SYSTEM_VISUAL_EXPORT_END = 'SYSTEM_VISUAL_EXPORT_END';
|
|
@@ -355,6 +357,11 @@ const SystemVisualExportEnd = () => ({
|
|
|
355
357
|
type: exports.SYSTEM_VISUAL_EXPORT_END,
|
|
356
358
|
});
|
|
357
359
|
exports.SystemVisualExportEnd = SystemVisualExportEnd;
|
|
360
|
+
const SystemQuickSearchFloatingVisibility = (visible) => ({
|
|
361
|
+
type: exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY,
|
|
362
|
+
visible,
|
|
363
|
+
});
|
|
364
|
+
exports.SystemQuickSearchFloatingVisibility = SystemQuickSearchFloatingVisibility;
|
|
358
365
|
const SystemDisableDeleteConfirmationSelector = (state) => {
|
|
359
366
|
return state.DisableDeleteConfirmation;
|
|
360
367
|
};
|
|
@@ -363,6 +370,11 @@ const SystemPreviousGroupedColumnsSelector = (state) => {
|
|
|
363
370
|
return state.Layout.previousGroupedColumns;
|
|
364
371
|
};
|
|
365
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;
|
|
366
378
|
const initialState = {
|
|
367
379
|
AdaptableAlerts: GeneralConstants_1.EMPTY_ARRAY,
|
|
368
380
|
AdaptableFlashingCells: {},
|
|
@@ -746,6 +758,10 @@ const SystemReducer = (state = initialState, action) => {
|
|
|
746
758
|
inProgressVisualData: false,
|
|
747
759
|
} });
|
|
748
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
|
+
}
|
|
749
765
|
default:
|
|
750
766
|
return state;
|
|
751
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';
|
|
@@ -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
|
+
}
|