@adaptabletools/adaptable 16.0.4 → 16.0.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.
Files changed (55) hide show
  1. package/bundle.cjs.js +148 -148
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
  6. package/src/AdaptableOptions/ExpressionOptions.d.ts +52 -16
  7. package/src/AdaptableOptions/Fdc3Options.d.ts +23 -7
  8. package/src/AdaptableOptions/FilterOptions.d.ts +7 -0
  9. package/src/AdaptableOptions/PredicateOptions.d.ts +10 -2
  10. package/src/AdaptableOptions/QuickSearchOptions.d.ts +8 -0
  11. package/src/Api/ExportApi.d.ts +12 -3
  12. package/src/Api/ExpressionApi.d.ts +4 -0
  13. package/src/Api/FilterApi.d.ts +7 -1
  14. package/src/Api/Implementation/ApiBase.d.ts +3 -4
  15. package/src/Api/Implementation/ApiBase.js +5 -5
  16. package/src/Api/Implementation/ExportApiImpl.d.ts +2 -0
  17. package/src/Api/Implementation/ExportApiImpl.js +6 -0
  18. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -0
  19. package/src/Api/Implementation/ExpressionApiImpl.js +4 -0
  20. package/src/Api/Implementation/FilterApiImpl.d.ts +2 -1
  21. package/src/Api/Implementation/FilterApiImpl.js +14 -1
  22. package/src/Api/Implementation/OptionsApiImpl.d.ts +3 -2
  23. package/src/Api/Implementation/OptionsApiImpl.js +2 -2
  24. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -0
  25. package/src/Api/Implementation/PredicateApiImpl.js +4 -2
  26. package/src/Api/Implementation/ScheduleApiImpl.js +1 -1
  27. package/src/Api/Internal/AdaptableInternalApi.d.ts +0 -1
  28. package/src/Api/Internal/AdaptableInternalApi.js +2 -5
  29. package/src/Api/Internal/ExpressionnternalApi.js +2 -2
  30. package/src/Api/Internal/PredicateInternalApi.js +5 -5
  31. package/src/Api/OptionsApi.d.ts +4 -3
  32. package/src/Api/PredicateApi.d.ts +4 -0
  33. package/src/PredefinedConfig/Common/AdaptablePredicate.js +15 -8
  34. package/src/PredefinedConfig/Common/ColumnFilter.d.ts +13 -0
  35. package/src/PredefinedConfig/Common/Fdc3Context.d.ts +1 -1
  36. package/src/PredefinedConfig/Common/Fdc3Context.js +1 -1
  37. package/src/Strategy/Fdc3Module.js +1 -1
  38. package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
  39. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  40. package/src/Utilities/Constants/GeneralConstants.js +3 -2
  41. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +22 -21
  42. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
  43. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
  44. package/src/Utilities/Helpers/AdaptableHelper.js +2 -3
  45. package/src/Utilities/Services/QueryLanguageService.js +4 -4
  46. package/src/View/Export/ExportSelector.js +2 -2
  47. package/src/agGrid/Adaptable.js +9 -3
  48. package/src/components/ExpressionEditor/BaseEditorInput.js +4 -4
  49. package/src/metamodel/adaptable.metamodel.d.ts +79 -45
  50. package/src/metamodel/adaptable.metamodel.js +1 -1
  51. package/src/types.d.ts +3 -4
  52. package/version.d.ts +1 -1
  53. package/version.js +1 -1
  54. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +0 -58
  55. package/src/AdaptableOptions/AdaptableQLOptions.js +0 -2
package/src/types.d.ts CHANGED
@@ -48,8 +48,7 @@ export type { UserInterfaceOptions, BasePermittedValues, PermittedValues, EditLo
48
48
  export type { MenuOptions } from './AdaptableOptions/MenuOptions';
49
49
  export type { CustomSettingsPanel, SettingsPanelOptions, } from './AdaptableOptions/SettingsPanelOptions';
50
50
  export type { EntitlementOptions, EntitlementContext, DefaultAccessLevelContext, } from './AdaptableOptions/EntitlementOptions';
51
- export type { EvaluateExpressionExternallyContext, AdaptableQLOptions, } from './AdaptableOptions/AdaptableQLOptions';
52
- export type { ExpressionOptions, ModuleExpressionFunctions, ModuleExpressionFunctionsMap, GlobalExpressionFunctionsContext, ModuleExpressionFunctionsContext, CustomQueryVariableContext, QueryableColumnContext, } from './AdaptableOptions/ExpressionOptions';
51
+ export type { EvaluateExpressionExternallyContext, ExpressionOptions, ModuleExpressionFunctions, ModuleExpressionFunctionsMap, GlobalExpressionFunctionsContext, ModuleExpressionFunctionsContext, CustomQueryVariableContext, QueryableColumnContext, } from './AdaptableOptions/ExpressionOptions';
53
52
  export type { PredicateOptions, SystemPredicatesContext, } from './AdaptableOptions/PredicateOptions';
54
53
  export type { CalendarOptions } from './AdaptableOptions/CalendarOptions';
55
54
  export type { DataChangeHistoryOptions, DataChangeHistoryButton, DataChangeHistoryContext, AdaptableDataChangeHistoryAction, } from './AdaptableOptions/DataChangeHistoryOptions';
@@ -172,7 +171,7 @@ export type { ChartDefinition, ChartingState, ChartingAggFunc, } from './Predefi
172
171
  export type { CustomSort, CustomSortState } from './PredefinedConfig/CustomSortState';
173
172
  export type { DashboardState, DashboardTab, AdaptableCoordinate, } from './PredefinedConfig/DashboardState';
174
173
  export type { ExportState, Report, ReportData, ReportSchedule, SystemReportName, SystemReportNames, ReportRowScope, ReportColumnScope, } from './PredefinedConfig/ExportState';
175
- export type { ColumnFilter, ColumnFilterPredicate, SystemFilterPredicateIds, SystemFilterPredicateId, } from './PredefinedConfig/Common/ColumnFilter';
174
+ export type { ColumnFilter, ColumnFilterConfig, ColumnFilterPredicate, SystemFilterPredicateIds, SystemFilterPredicateId, } from './PredefinedConfig/Common/ColumnFilter';
176
175
  export type { FormatColumn, FormatColumnState, FormatColumnRule, FormatColumnPredicate, SystemFormatColumnPredicateId, SystemFormatColumnPredicateIds, } from './PredefinedConfig/FormatColumnState';
177
176
  export type { StyledColumn, StyledColumnState, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, NumericStyledColumn, RangeValueType, SparkLineStyle, BadgeStyle, BadgeStyleDefinition, BadgeStylePredicate, SystemBadgeStylePredicateId, SystemBadgeStylePredicateIds, } from './PredefinedConfig/StyledColumnState';
178
177
  export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './PredefinedConfig/FreeTextColumnState';
@@ -198,4 +197,4 @@ export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityM
198
197
  export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, CustomRenderContext, } from './AdaptableOptions/AdaptableFrameworkComponent';
199
198
  export type { Fdc3StandardContextType, Fdc3CustomContextType, InstrumentContext, InstrumentListContext, PositionContext, PortfolioContext, ContactContext, ContactListContext, CountryContext, OrganizationContext, Fdc3ContextType, Fdc3Context, ChartContextType, ChartContext, ChatInitSettingsContext, ChatInitSettingsContextType, ContactContextType, ContactListContextType, CurrencyContext, EmailContext, CountryContextType, CurrencyContextType, EmailContextType, InstrumentContextType, InstrumentListContextType, NothingContextType, OrganizationContextType, PortfolioContextType, PositionContextType, NothingContext, Fdc3CustomContext, ValuationContext, ValuationContextType, TimeRangeContextType, TimeRangeContext, } from './PredefinedConfig/Common/Fdc3Context';
200
199
  export type { Fdc3IntentType, Fdc3StandardIntentType, Fdc3CustomIntentType, CompatibleContext, } from './PredefinedConfig/Common/Fdc3Intent';
201
- export type { Fdc3Options, GridDataContextMapping, ActionColumnDefaultConfiguration, ResolveContextDataContext, RaiseIntentConfig, BroadcastConfig, HandleFdc3IntentContext, HandleFdc3Context, Fdc3ButtonContext, Fdc3AdaptableButton, HandleFdc3IntentResolutionContext, UIControlConfig, Fdc3IntentOptions, Fdc3ContextOptions, } from './AdaptableOptions/Fdc3Options';
200
+ export type { Fdc3Options, GridDataContextMapping, ActionColumnDefaultConfiguration, ResolveContextDataContext, RaiseIntentConfig, BroadcastConfig, HandleFdc3IntentContext, HandleFdc3Context, Fdc3ButtonContext, Fdc3AdaptableButton, HandleFdc3IntentResolutionContext, UIControlConfig, Fdc3IntentOptions, Fdc3ContextOptions, RaiseIntentConfiguration, BroadcastConfiguration, FDC3ActionColumn, } from './AdaptableOptions/Fdc3Options';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "16.0.4";
1
+ declare const _default: "16.0.5";
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 = '16.0.4'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '16.0.5'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
@@ -1,58 +0,0 @@
1
- import { AdaptablePredicate } from '../PredefinedConfig/Common/AdaptablePredicate';
2
- import { AdaptableQLModule } from '../PredefinedConfig/Common/Types';
3
- import { BaseContext } from '../PredefinedConfig/Common/BaseContext';
4
- import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
5
- import { ExpressionOptions } from './ExpressionOptions';
6
- import { PredicateOptions } from './PredicateOptions';
7
- import { AdaptableObject } from '../types';
8
- /**
9
- * Options for managing AdapTableQL: AdapTable's Query Language which evaluates Predicates and Expressions
10
- */
11
- export interface AdaptableQLOptions<TData = any> {
12
- /**
13
- * Perform case-sensitive text comparisons when evaluating Predicates and Expressions
14
- *
15
- * @defaultValue false
16
- * @gridInfoItem
17
- * @noCodeItem
18
- */
19
- caseSensitiveTextComparisons?: boolean;
20
- /**
21
- * Whether a Module (or specific expression) should be evaluated by AdapTableQL
22
- * @defaultValue All Modules are evaluated by AdapTable
23
- */
24
- evaluateAdaptableQLExternally?: (context: EvaluateExpressionExternallyContext<TData>) => boolean;
25
- /**
26
- * Options for managing Expressions in AdapTableQL
27
- */
28
- expressionOptions?: ExpressionOptions;
29
- /**
30
- * Options for managing Predicates in AdapTableQL
31
- */
32
- predicateOptions?: PredicateOptions;
33
- }
34
- /**
35
- * Context passed when evaluating `AdaptableQLOptions.evaluateExpressionExternally()`
36
- */
37
- export interface EvaluateExpressionExternallyContext<TData = any> extends BaseContext {
38
- /**
39
- * Module where Expression is being evaluated
40
- */
41
- module: AdaptableQLModule;
42
- /**
43
- * AdapTable Object which contains the Expression or Predicates
44
- */
45
- object?: AdaptableObject;
46
- /**
47
- * Expression to evaluate
48
- */
49
- expression?: string;
50
- /**
51
- * Any Predicates to evaluate
52
- */
53
- predicates?: AdaptablePredicate[];
54
- /**
55
- * Columns contained in Expression
56
- */
57
- referencedColumns?: AdaptableColumn<TData>[];
58
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });