@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.
- package/bundle.cjs.js +148 -148
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ExpressionOptions.d.ts +52 -16
- package/src/AdaptableOptions/Fdc3Options.d.ts +23 -7
- package/src/AdaptableOptions/FilterOptions.d.ts +7 -0
- package/src/AdaptableOptions/PredicateOptions.d.ts +10 -2
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +8 -0
- package/src/Api/ExportApi.d.ts +12 -3
- package/src/Api/ExpressionApi.d.ts +4 -0
- package/src/Api/FilterApi.d.ts +7 -1
- package/src/Api/Implementation/ApiBase.d.ts +3 -4
- package/src/Api/Implementation/ApiBase.js +5 -5
- package/src/Api/Implementation/ExportApiImpl.d.ts +2 -0
- package/src/Api/Implementation/ExportApiImpl.js +6 -0
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ExpressionApiImpl.js +4 -0
- package/src/Api/Implementation/FilterApiImpl.d.ts +2 -1
- package/src/Api/Implementation/FilterApiImpl.js +14 -1
- package/src/Api/Implementation/OptionsApiImpl.d.ts +3 -2
- package/src/Api/Implementation/OptionsApiImpl.js +2 -2
- package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -0
- package/src/Api/Implementation/PredicateApiImpl.js +4 -2
- package/src/Api/Implementation/ScheduleApiImpl.js +1 -1
- package/src/Api/Internal/AdaptableInternalApi.d.ts +0 -1
- package/src/Api/Internal/AdaptableInternalApi.js +2 -5
- package/src/Api/Internal/ExpressionnternalApi.js +2 -2
- package/src/Api/Internal/PredicateInternalApi.js +5 -5
- package/src/Api/OptionsApi.d.ts +4 -3
- package/src/Api/PredicateApi.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +15 -8
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +13 -0
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +1 -1
- package/src/PredefinedConfig/Common/Fdc3Context.js +1 -1
- package/src/Strategy/Fdc3Module.js +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +3 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +22 -21
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -3
- package/src/Utilities/Services/QueryLanguageService.js +4 -4
- package/src/View/Export/ExportSelector.js +2 -2
- package/src/agGrid/Adaptable.js +9 -3
- package/src/components/ExpressionEditor/BaseEditorInput.js +4 -4
- package/src/metamodel/adaptable.metamodel.d.ts +79 -45
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +3 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +0 -58
- 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,
|
|
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.
|
|
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.
|
|
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
|
-
}
|