@adaptabletools/adaptable 11.1.5 → 11.1.8

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 (50) hide show
  1. package/bundle.cjs.js +122 -122
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/AdaptableOptions/FinancePluginOptions.d.ts +139 -9
  6. package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +3 -3
  7. package/src/AdaptableOptions/SmartEdit.d.ts +2 -2
  8. package/src/Api/AdaptableApi.d.ts +4 -1
  9. package/src/Api/EventApi.d.ts +1 -1
  10. package/src/Api/Implementation/ColumnApiImpl.js +4 -1
  11. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  12. package/src/Api/Implementation/FormatColumnApiImpl.js +11 -7
  13. package/src/Api/Implementation/GridApiImpl.js +0 -4
  14. package/src/Api/Implementation/ScopeApiImpl.d.ts +2 -0
  15. package/src/Api/Implementation/ScopeApiImpl.js +12 -0
  16. package/src/Api/ScopeApi.d.ts +10 -0
  17. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +8 -0
  18. package/src/PredefinedConfig/Common/FDC3Context.d.ts +144 -3
  19. package/src/PredefinedConfig/Common/Menu.d.ts +4 -0
  20. package/src/Redux/Store/AdaptableStore.js +11 -1
  21. package/src/Strategy/SmartEditModule.js +1 -1
  22. package/src/Utilities/Helpers/FormatHelper.js +6 -0
  23. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
  24. package/src/View/Components/Selectors/ColumnSelector.js +1 -1
  25. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -1
  26. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
  27. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +15 -2
  28. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +2 -1
  29. package/src/agGrid/Adaptable.js +3 -3
  30. package/src/agGrid/agGridMenuHelper.js +1 -0
  31. package/src/components/icons/analysis.d.ts +3 -0
  32. package/src/components/icons/analysis.js +8 -0
  33. package/src/components/icons/call.d.ts +3 -0
  34. package/src/components/icons/call.js +7 -0
  35. package/src/components/icons/chat.d.ts +3 -0
  36. package/src/components/icons/chat.js +8 -0
  37. package/src/components/icons/index.js +14 -0
  38. package/src/components/icons/instrument.d.ts +3 -0
  39. package/src/components/icons/instrument.js +8 -0
  40. package/src/components/icons/news.d.ts +3 -0
  41. package/src/components/icons/news.js +8 -0
  42. package/src/components/icons/person.d.ts +3 -0
  43. package/src/components/icons/person.js +7 -0
  44. package/src/components/icons/quote.d.ts +3 -0
  45. package/src/components/icons/quote.js +7 -0
  46. package/src/metamodel/adaptable.metamodel.d.ts +112 -5
  47. package/src/metamodel/adaptable.metamodel.js +212 -21
  48. package/src/types.d.ts +2 -2
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
@@ -283,6 +283,13 @@ exports.ADAPTABLE_METAMODEL = {
283
283
  "uiLabel": "Filter Api",
284
284
  "reference": "FilterApi"
285
285
  },
286
+ {
287
+ "name": "flashingCellApi",
288
+ "kind": "REFERENCE",
289
+ "description": "Provides access to the Flashing Cell Module",
290
+ "uiLabel": "Flashing Cell Api",
291
+ "reference": "FlashingCellApi"
292
+ },
286
293
  {
287
294
  "name": "formatColumnApi",
288
295
  "kind": "REFERENCE",
@@ -3548,6 +3555,35 @@ exports.ADAPTABLE_METAMODEL = {
3548
3555
  }
3549
3556
  ]
3550
3557
  },
3558
+ "ContactColumn": {
3559
+ "name": "ContactColumn",
3560
+ "kind": "Interface",
3561
+ "description": "A (String) Column which will be defined as an FDC3 Contact columnId and at least one other property is required",
3562
+ "properties": [
3563
+ {
3564
+ "name": "emailColumnId",
3565
+ "kind": "string",
3566
+ "description": "Column which holds the email address of a Contact",
3567
+ "uiLabel": "Email Column Id",
3568
+ "isOptional": true
3569
+ },
3570
+ {
3571
+ "name": "fds_IdColumnId",
3572
+ "kind": "string",
3573
+ "description": "Column which holds an FDS_ID value a Contact",
3574
+ "uiLabel": "Fds_Id Column Id",
3575
+ "isOptional": true
3576
+ },
3577
+ {
3578
+ "name": "intents",
3579
+ "kind": "REFERENCE",
3580
+ "description": "FDC3 Intents available to the Column",
3581
+ "uiLabel": "Intents",
3582
+ "isOptional": true,
3583
+ "reference": "unknown"
3584
+ }
3585
+ ]
3586
+ },
3551
3587
  "ContainerOptions": {
3552
3588
  "name": "ContainerOptions",
3553
3589
  "kind": "Interface",
@@ -3653,6 +3689,12 @@ exports.ADAPTABLE_METAMODEL = {
3653
3689
  "description": "Whether cell that was clicked is also currently selected",
3654
3690
  "uiLabel": "Is Selected Cell"
3655
3691
  },
3692
+ {
3693
+ "name": "isSingleSelectedCell",
3694
+ "kind": "boolean",
3695
+ "description": "Whether the clicked cell is the only selected cell",
3696
+ "uiLabel": "Is Single Selected Cell"
3697
+ },
3656
3698
  {
3657
3699
  "name": "isSingleSelectedColumn",
3658
3700
  "kind": "boolean",
@@ -3688,6 +3730,35 @@ exports.ADAPTABLE_METAMODEL = {
3688
3730
  }
3689
3731
  ]
3690
3732
  },
3733
+ "CountryColumn": {
3734
+ "name": "CountryColumn",
3735
+ "kind": "Interface",
3736
+ "description": "A (String) Column which will be defined as an FDC3 Country",
3737
+ "properties": [
3738
+ {
3739
+ "name": "intents",
3740
+ "kind": "REFERENCE",
3741
+ "description": "FDC3 Intents available to the Column",
3742
+ "uiLabel": "Intents",
3743
+ "isOptional": true,
3744
+ "reference": "unknown"
3745
+ },
3746
+ {
3747
+ "name": "isoAlpha2ColumnId",
3748
+ "kind": "string",
3749
+ "description": "Column which contains the ISOALPHA2 Standard",
3750
+ "uiLabel": "Iso Alpha2Column Id",
3751
+ "isOptional": true
3752
+ },
3753
+ {
3754
+ "name": "isoAlpha3ColumnId",
3755
+ "kind": "string",
3756
+ "description": "Column which contains the ISOALPHA3 Standard",
3757
+ "uiLabel": "Iso Alpha3Column Id",
3758
+ "isOptional": true
3759
+ }
3760
+ ]
3761
+ },
3691
3762
  "CustomDestination": {
3692
3763
  "name": "CustomDestination",
3693
3764
  "kind": "Interface",
@@ -5885,10 +5956,10 @@ exports.ADAPTABLE_METAMODEL = {
5885
5956
  "description": "Options required for when using the Finance plugin",
5886
5957
  "properties": [
5887
5958
  {
5888
- "name": "instrumentColumns",
5959
+ "name": "fdc3Columns",
5889
5960
  "kind": "unknown",
5890
- "description": "Columns to be defined as (FDC3) Instrument",
5891
- "uiLabel": "Instrument Columns",
5961
+ "description": "Columns to be defined as FDC3",
5962
+ "uiLabel": "Fdc3Columns",
5892
5963
  "isOptional": true
5893
5964
  },
5894
5965
  {
@@ -7593,7 +7664,7 @@ exports.ADAPTABLE_METAMODEL = {
7593
7664
  "InstrumentColumn": {
7594
7665
  "name": "InstrumentColumn",
7595
7666
  "kind": "Interface",
7596
- "description": "Defines an Column which will be defind as an (FDC3) Instrument",
7667
+ "description": "A Column which will be defined as an FDC3 Instrument",
7597
7668
  "properties": [
7598
7669
  {
7599
7670
  "name": "bbgColumnId",
@@ -7602,12 +7673,6 @@ exports.ADAPTABLE_METAMODEL = {
7602
7673
  "uiLabel": "Bbg Column Id",
7603
7674
  "isOptional": true
7604
7675
  },
7605
- {
7606
- "name": "columnId",
7607
- "kind": "string",
7608
- "description": "Column defined as an Instrument - its value provides the `name` property in the FDC3 message",
7609
- "uiLabel": "Column Id"
7610
- },
7611
7676
  {
7612
7677
  "name": "cusipColumnId",
7613
7678
  "kind": "string",
@@ -7622,6 +7687,14 @@ exports.ADAPTABLE_METAMODEL = {
7622
7687
  "uiLabel": "Figi Column Id",
7623
7688
  "isOptional": true
7624
7689
  },
7690
+ {
7691
+ "name": "intents",
7692
+ "kind": "REFERENCE",
7693
+ "description": "FDC3 Intents available to the Column",
7694
+ "uiLabel": "Intents",
7695
+ "isOptional": true,
7696
+ "reference": "unknown"
7697
+ },
7625
7698
  {
7626
7699
  "name": "isinColumnId",
7627
7700
  "kind": "string",
@@ -7662,19 +7735,21 @@ exports.ADAPTABLE_METAMODEL = {
7662
7735
  "InstrumentContext": {
7663
7736
  "name": "InstrumentContext",
7664
7737
  "kind": "Interface",
7665
- "description": "Built-in context to define a financial instrument.",
7738
+ "description": "Built-in context to define a financial Instrument",
7666
7739
  "properties": [
7667
7740
  {
7668
7741
  "name": "id",
7669
7742
  "kind": "unknown",
7670
7743
  "description": "The instrument data",
7671
- "uiLabel": "Id"
7744
+ "uiLabel": "Id",
7745
+ "isOptional": true
7672
7746
  },
7673
7747
  {
7674
7748
  "name": "name",
7675
7749
  "kind": "string",
7676
7750
  "description": "Free text name of instrument",
7677
- "uiLabel": "Name"
7751
+ "uiLabel": "Name",
7752
+ "isOptional": true
7678
7753
  },
7679
7754
  {
7680
7755
  "name": "type",
@@ -8804,13 +8879,6 @@ exports.ADAPTABLE_METAMODEL = {
8804
8879
  "kind": "Interface",
8805
8880
  "description": "Options required for when using the OpenFin plugin",
8806
8881
  "properties": [
8807
- {
8808
- "name": "broadcastFDC3Instrument",
8809
- "kind": "unknown",
8810
- "description": "Useful when you also use the finance plugin configured with instrumentColumns - values in cells in an instrument column can be broadcasted to fdc3, and this function will be called for broadcasting. It's your job to broadcast to the desired fdc3 channel",
8811
- "uiLabel": "Broadcast FDC3Instrument",
8812
- "isOptional": true
8813
- },
8814
8882
  {
8815
8883
  "name": "notificationTimeout",
8816
8884
  "kind": "unknown",
@@ -8819,6 +8887,13 @@ exports.ADAPTABLE_METAMODEL = {
8819
8887
  "isOptional": true,
8820
8888
  "defaultValue": "5000"
8821
8889
  },
8890
+ {
8891
+ "name": "onFDC3MessageSent",
8892
+ "kind": "unknown",
8893
+ "description": "Useful when you also use the finance plugin configured with fdc3 related columns - values in cells such columns can be broadcasted to fdc3, and this function will be called for broadcasting. It's your job to broadcast to the desired fdc3 channel",
8894
+ "uiLabel": "On FDC3Message Sent",
8895
+ "isOptional": true
8896
+ },
8822
8897
  {
8823
8898
  "name": "onNotificationAction",
8824
8899
  "kind": "unknown",
@@ -8904,6 +8979,42 @@ exports.ADAPTABLE_METAMODEL = {
8904
8979
  "kind": "Interface",
8905
8980
  "description": "Internal State used by AdapTable for managing the OpenFin plugin"
8906
8981
  },
8982
+ "OrganizationColumn": {
8983
+ "name": "OrganizationColumn",
8984
+ "kind": "Interface",
8985
+ "description": "A (String) Column which will be defined as an FDC3 Organization",
8986
+ "properties": [
8987
+ {
8988
+ "name": "fds_IdColumnId",
8989
+ "kind": "string",
8990
+ "description": "Column which contains an FDS_ID",
8991
+ "uiLabel": "Fds_Id Column Id",
8992
+ "isOptional": true
8993
+ },
8994
+ {
8995
+ "name": "intents",
8996
+ "kind": "REFERENCE",
8997
+ "description": "FDC3 Intents available to the Column",
8998
+ "uiLabel": "Intents",
8999
+ "isOptional": true,
9000
+ "reference": "unknown"
9001
+ },
9002
+ {
9003
+ "name": "leiColumnId",
9004
+ "kind": "string",
9005
+ "description": "Column which contains the LEI",
9006
+ "uiLabel": "Lei Column Id",
9007
+ "isOptional": true
9008
+ },
9009
+ {
9010
+ "name": "permIdColumnId",
9011
+ "kind": "string",
9012
+ "description": "Column which contains a PermId",
9013
+ "uiLabel": "Perm Id Column Id",
9014
+ "isOptional": true
9015
+ }
9016
+ ]
9017
+ },
8907
9018
  "PercentBarStyle": {
8908
9019
  "name": "PercentBarStyle",
8909
9020
  "kind": "Interface",
@@ -9140,6 +9251,60 @@ exports.ADAPTABLE_METAMODEL = {
9140
9251
  }
9141
9252
  ]
9142
9253
  },
9254
+ "PositionColumn": {
9255
+ "name": "PositionColumn",
9256
+ "kind": "Interface",
9257
+ "description": "A (Numeric) Column which will be defined as an FDC3 Position",
9258
+ "properties": [
9259
+ {
9260
+ "name": "instrumentColumnId",
9261
+ "kind": "string",
9262
+ "description": "Column which contains the Instrument information of the FDC3 Message",
9263
+ "uiLabel": "Instrument Column Id"
9264
+ },
9265
+ {
9266
+ "name": "intents",
9267
+ "kind": "REFERENCE",
9268
+ "description": "FDC3 Intents available to the Column",
9269
+ "uiLabel": "Intents",
9270
+ "isOptional": true,
9271
+ "reference": "unknown"
9272
+ }
9273
+ ]
9274
+ },
9275
+ "PositionContext": {
9276
+ "name": "PositionContext",
9277
+ "kind": "Interface",
9278
+ "description": "Built-in context to define a financial position",
9279
+ "properties": [
9280
+ {
9281
+ "name": "holding",
9282
+ "kind": "number",
9283
+ "description": "Holding in the Position",
9284
+ "uiLabel": "Holding"
9285
+ },
9286
+ {
9287
+ "name": "id",
9288
+ "kind": "unknown",
9289
+ "description": "Optional Id",
9290
+ "uiLabel": "Id",
9291
+ "isOptional": true
9292
+ },
9293
+ {
9294
+ "name": "name",
9295
+ "kind": "string",
9296
+ "description": "Free text name of Position",
9297
+ "uiLabel": "Name",
9298
+ "isOptional": true
9299
+ },
9300
+ {
9301
+ "name": "type",
9302
+ "kind": "unknown",
9303
+ "description": "Context type is always 'position'",
9304
+ "uiLabel": "Type"
9305
+ }
9306
+ ]
9307
+ },
9143
9308
  "PredefinedConfig": {
9144
9309
  "name": "PredefinedConfig",
9145
9310
  "kind": "Interface",
@@ -10136,6 +10301,12 @@ exports.ADAPTABLE_METAMODEL = {
10136
10301
  "kind": "Interface",
10137
10302
  "description": "Provides access to a suite of functions related to the `Scope` object",
10138
10303
  "properties": [
10304
+ {
10305
+ "name": "areAllBooleanColumnsInScope",
10306
+ "kind": "function",
10307
+ "description": "True if all selected columns are boolean",
10308
+ "uiLabel": "Are All Boolean Columns In Scope"
10309
+ },
10139
10310
  {
10140
10311
  "name": "createCellColorRangesForScope",
10141
10312
  "kind": "function",
@@ -10250,6 +10421,12 @@ exports.ADAPTABLE_METAMODEL = {
10250
10421
  "description": "True if Scope contains DataTypes",
10251
10422
  "uiLabel": "Scope Has Data Type"
10252
10423
  },
10424
+ {
10425
+ "name": "scopeHasOnlyBooleanDataType",
10426
+ "kind": "function",
10427
+ "description": "True if the Scope is DataTypes and contains only Boolean",
10428
+ "uiLabel": "Scope Has Only Boolean Data Type"
10429
+ },
10253
10430
  {
10254
10431
  "name": "scopeIsAll",
10255
10432
  "kind": "function",
@@ -10792,6 +10969,20 @@ exports.ADAPTABLE_METAMODEL = {
10792
10969
  "uiLabel": "Case",
10793
10970
  "isOptional": true
10794
10971
  },
10972
+ {
10973
+ "name": "Prefix",
10974
+ "kind": "string",
10975
+ "description": "Prefix to use before the cell text",
10976
+ "uiLabel": "Prefix",
10977
+ "isOptional": true
10978
+ },
10979
+ {
10980
+ "name": "Suffix",
10981
+ "kind": "string",
10982
+ "description": "Suffix to use after the cell text",
10983
+ "uiLabel": "Suffix",
10984
+ "isOptional": true
10985
+ },
10795
10986
  {
10796
10987
  "name": "Trim",
10797
10988
  "kind": "boolean",
@@ -11683,7 +11874,7 @@ exports.ADAPTABLE_METAMODEL = {
11683
11874
  "WeightedAverageColumn": {
11684
11875
  "name": "WeightedAverageColumn",
11685
11876
  "kind": "Interface",
11686
- "description": "Defines an Column which have Weighted Average aggregation",
11877
+ "description": "An Column which contains a Weighted Average aggregation",
11687
11878
  "properties": [
11688
11879
  {
11689
11880
  "name": "columnId",
package/src/types.d.ts CHANGED
@@ -19,7 +19,7 @@ export type { Glue42PluginOptions } from './AdaptableOptions/Glue42PluginOptions
19
19
  export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
20
20
  export type { LayoutOptions } from './AdaptableOptions/LayoutOptions';
21
21
  export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptions';
22
- export type { FinancePluginOptions, WeightedAverageColumn, InstrumentColumn, } from './AdaptableOptions/FinancePluginOptions';
22
+ export type { FinancePluginOptions, WeightedAverageColumn, FDC3Column, InstrumentColumn, PositionColumn, CountryColumn, InstrumentIntent, InstrumentIntents, PositionIntent, PositionIntents, ContactIntent, ContactIntents, CountryIntent, CountryIntents, ContactColumn, OrganizationColumn, OrganizationIntent, OrganizationIntents, FDC3Intent, } from './AdaptableOptions/FinancePluginOptions';
23
23
  export type { DateInputOptions } from './AdaptableOptions/DateInputOptions';
24
24
  export type { FilterOptions } from './AdaptableOptions/FilterOptions';
25
25
  export type { SearchOptions } from './AdaptableOptions/SearchOptions';
@@ -111,7 +111,7 @@ export type { AdaptableObject } from './PredefinedConfig/Common/AdaptableObject'
111
111
  export type { SuspendableObject } from './PredefinedConfig/Common/SuspendableObject';
112
112
  export type { AdaptableQuery, AdaptableAggregatedBooleanQuery, AdaptableAggregatedScalarQuery, AdaptableBooleanQuery, AdaptableObservableQuery, AdaptableScalarQuery, } from './PredefinedConfig/Common/AdaptableQuery';
113
113
  export type { AdaptablePredicate, AdaptablePredicateDef, ModuleScope, PredicateDefHandlerParams, PredicateDefInput, PredicateDefToStringParams, } from './PredefinedConfig/Common/AdaptablePredicate';
114
- export type { FDC3Context, InstrumentContext } from './PredefinedConfig/Common/FDC3Context';
114
+ export type { FDC3Context, InstrumentContext, InstrumentListContext, PositionContext, PortfolioContext, ContactContext, ContactListContext, CountryContext, OrganizationContext, AdaptableFDC3EventInfo, } from './PredefinedConfig/Common/FDC3Context';
115
115
  export type { AdaptableScope } from './PredefinedConfig/Common/AdaptableScope';
116
116
  export type { AdaptableStyle } from './PredefinedConfig/Common/AdaptableStyle';
117
117
  export type { AdaptableIcon } from './PredefinedConfig/Common/AdaptableIcon';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "11.1.5";
1
+ declare const _default: "11.1.8";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '11.1.5'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '11.1.8'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version