@adaptabletools/adaptable 18.0.12 → 18.1.0-canary.0
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/agGrid.d.ts +4 -3
- package/agGrid.js +4 -3
- package/base.css +7 -2
- package/base.css.map +1 -1
- package/index.css +11 -2
- package/index.css.map +1 -1
- package/package.json +2 -2
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +1 -1
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +27 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +20 -7
- package/src/AdaptableOptions/ExpressionOptions.d.ts +12 -2
- package/src/AdaptableOptions/Fdc3Options.d.ts +48 -43
- package/src/Api/ColumnApi.d.ts +1 -1
- package/src/Api/Events/Fdc3MessageInfo.d.ts +5 -7
- package/src/Api/ExpressionApi.d.ts +2 -2
- package/src/Api/Fdc3Api.d.ts +14 -19
- package/src/Api/Implementation/ConfigApiImpl.js +3 -0
- package/src/Api/Implementation/Fdc3ApiImpl.d.ts +14 -16
- package/src/Api/Implementation/Fdc3ApiImpl.js +36 -12
- package/src/Api/Internal/AlertInternalApi.d.ts +17 -2
- package/src/Api/Internal/AlertInternalApi.js +196 -25
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +2 -0
- package/src/Api/Internal/ColumnFilterInternalApi.js +20 -0
- package/src/Api/Internal/ExportInternalApi.d.ts +3 -3
- package/src/Api/Internal/ExportInternalApi.js +31 -17
- package/src/Api/Internal/ExpressionInternalApi.d.ts +5 -1
- package/src/Api/Internal/ExpressionInternalApi.js +79 -0
- package/src/Api/Internal/Fdc3InternalApi.d.ts +8 -10
- package/src/Api/Internal/Fdc3InternalApi.js +6 -10
- package/src/PredefinedConfig/Common/AdaptableField.d.ts +18 -0
- package/src/PredefinedConfig/Common/AdaptableField.js +1 -0
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +18 -1
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +7 -226
- package/src/PredefinedConfig/Common/Fdc3Context.js +43 -31
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +6 -89
- package/src/PredefinedConfig/Common/Fdc3Intent.js +26 -73
- package/src/PredefinedConfig/Common/RowSummary.d.ts +2 -1
- package/src/PredefinedConfig/StyledColumnState.d.ts +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +0 -3
- package/src/Strategy/AdaptableModuleBase.js +1 -3
- package/src/Strategy/AlertModule.d.ts +1 -1
- package/src/Strategy/AlertModule.js +8 -8
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +1 -1
- package/src/Utilities/Services/Fdc3Service.d.ts +1 -1
- package/src/Utilities/Services/Fdc3Service.js +2 -2
- package/src/Utilities/Services/QueryLanguageService.d.ts +8 -4
- package/src/Utilities/Services/QueryLanguageService.js +105 -6
- package/src/Utilities/Services/ReportService.js +8 -5
- package/src/Utilities/Services/RowSummaryService.js +3 -1
- package/src/Utilities/divideBy100.d.ts +1 -0
- package/src/Utilities/divideBy100.js +30 -0
- package/src/Utilities/times100.d.ts +1 -0
- package/src/Utilities/times100.js +23 -0
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +2 -2
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -0
- package/src/View/Components/EntityRulesEditor/index.js +11 -7
- package/src/View/Components/ExpressionWizard.js +1 -1
- package/src/View/Components/FilterForm/QuickFilterValues.js +28 -4
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +6 -2
- package/src/View/Components/Selectors/FieldSelector.d.ts +13 -0
- package/src/View/Components/Selectors/FieldSelector.js +21 -0
- package/src/View/Components/Selectors/PermittedValuesSelector.js +8 -4
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
- package/src/View/GridFilter/GridFilterExpressionEditor.js +1 -1
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +4 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +7 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +3 -2
- package/src/agGrid/AdaptableAgGrid.d.ts +1 -2
- package/src/agGrid/AdaptableAgGrid.js +64 -33
- package/src/agGrid/AgGridColumnAdapter.d.ts +3 -0
- package/src/agGrid/AgGridColumnAdapter.js +22 -0
- package/src/agGrid/AgGridMenuAdapter.js +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +0 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +0 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +4 -16
- package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -18
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +4 -3
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +5 -2
- package/src/agGrid/editors/AdaptablePercentageEditor/InternalAdaptablePercentageEditor.d.ts +23 -0
- package/src/agGrid/editors/AdaptablePercentageEditor/InternalAdaptablePercentageEditor.js +80 -0
- package/src/agGrid/editors/AdaptablePercentageEditor/index.d.ts +47 -0
- package/src/agGrid/editors/AdaptablePercentageEditor/index.js +148 -0
- package/src/components/Accordion.js +1 -1
- package/src/components/Datepicker/DatepickerContext.d.ts +0 -2
- package/src/components/Datepicker/index.js +3 -4
- package/src/components/ExpressionEditor/DataTableEditor.d.ts +17 -0
- package/src/components/ExpressionEditor/DataTableEditor.js +63 -0
- package/src/components/ExpressionEditor/EditorInput.js +22 -9
- package/src/components/ExpressionEditor/NamedQueryEditor.d.ts +5 -0
- package/src/components/ExpressionEditor/NamedQueryEditor.js +30 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +10 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +7 -4
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +3 -2
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +71 -13
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +30 -22
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +9 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +41 -3
- package/src/components/ExpressionEditor/index.d.ts +3 -1
- package/src/components/ExpressionEditor/index.js +66 -91
- package/src/components/Input/NumberInput.d.ts +2 -1
- package/src/components/Input/NumberInput.js +7 -4
- package/src/components/OverlayTrigger/index.js +10 -6
- package/src/components/icons/column-outline.d.ts +3 -0
- package/src/components/icons/column-outline.js +4 -0
- package/src/components/icons/index.js +5 -1
- package/src/components/icons/sync.d.ts +3 -0
- package/src/components/icons/sync.js +4 -0
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +78 -200
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +1 -0
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +11 -2
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +4 -1
- package/src/parser/src/types.d.ts +101 -1
- package/src/types.d.ts +9 -7
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -3,7 +3,7 @@ import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChang
|
|
|
3
3
|
import { Report } from '../../PredefinedConfig/ExportState';
|
|
4
4
|
import { AdaptableColumnType } from '../../PredefinedConfig/Common/Types';
|
|
5
5
|
import { ExcelDataType, ExcelStyle } from '@ag-grid-community/core';
|
|
6
|
-
import { AdaptableColumnDataType } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
6
|
+
import { AdaptableColumn, AdaptableColumnDataType } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
7
7
|
import { DataFormatType } from '../../AdaptableOptions/ExportOptions';
|
|
8
8
|
export declare class ExportInternalApi extends ApiBase {
|
|
9
9
|
/**
|
|
@@ -14,8 +14,8 @@ export declare class ExportInternalApi extends ApiBase {
|
|
|
14
14
|
isDataChangeInReport(cellDataChangedInfo: CellDataChangedInfo, report: Report): boolean;
|
|
15
15
|
getExcelDataType(adaptableColumnType: string | string[] | AdaptableColumnType | AdaptableColumnType[]): ExcelDataType;
|
|
16
16
|
isVisualDataExportInProgress(): boolean;
|
|
17
|
-
isDateCellExportedAsFormattedValue(): boolean;
|
|
18
|
-
getCellExportFormatType(columnDataType: AdaptableColumnDataType): DataFormatType;
|
|
17
|
+
isDateCellExportedAsFormattedValue(abColumn: AdaptableColumn): boolean;
|
|
18
|
+
getCellExportFormatType(column: AdaptableColumn, columnDataType: AdaptableColumnDataType): DataFormatType;
|
|
19
19
|
isDestinationEnabled(destination: string): boolean;
|
|
20
20
|
getExcelStylesForVisualDataExport(original_excelStyles: ExcelStyle[]): ExcelStyle[];
|
|
21
21
|
}
|
|
@@ -94,28 +94,42 @@ export class ExportInternalApi extends ApiBase {
|
|
|
94
94
|
isVisualDataExportInProgress() {
|
|
95
95
|
return this.getAdaptableState().System.Export.visualDataExportInProgress;
|
|
96
96
|
}
|
|
97
|
-
isDateCellExportedAsFormattedValue() {
|
|
97
|
+
isDateCellExportedAsFormattedValue(abColumn) {
|
|
98
98
|
return (!!this.getExportOptions().exportDateFormat ||
|
|
99
|
-
this.getCellExportFormatType('Date') === 'formattedValue');
|
|
99
|
+
this.getCellExportFormatType(abColumn, 'Date') === 'formattedValue');
|
|
100
100
|
}
|
|
101
|
-
getCellExportFormatType(columnDataType) {
|
|
101
|
+
getCellExportFormatType(column, columnDataType) {
|
|
102
102
|
const exportOptions = this.getExportOptions();
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
const exportFormatType = exportOptions.exportFormatType;
|
|
104
|
+
// First check if a function was provided and return the result
|
|
105
|
+
if (exportFormatType != null && typeof exportFormatType === 'function') {
|
|
106
|
+
const context = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { column: column });
|
|
107
|
+
return exportFormatType(context);
|
|
106
108
|
}
|
|
107
|
-
//
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
return exportOptions.exportFormatType.string;
|
|
111
|
-
case 'Number':
|
|
112
|
-
return exportOptions.exportFormatType.number;
|
|
113
|
-
case 'Date':
|
|
114
|
-
return exportOptions.exportFormatType.date;
|
|
115
|
-
default:
|
|
116
|
-
// default to rawValue for all other column types
|
|
117
|
-
return 'rawValue';
|
|
109
|
+
// Next Check if a "hard-coded" value has been provided and return that
|
|
110
|
+
if (exportFormatType === 'rawValue') {
|
|
111
|
+
return 'rawValue';
|
|
118
112
|
}
|
|
113
|
+
if (exportFormatType === 'formattedValue') {
|
|
114
|
+
return 'formattedValue';
|
|
115
|
+
}
|
|
116
|
+
// Finally test if a DataType object has been provided and return the relevant property
|
|
117
|
+
const dataFormatDataType = exportFormatType;
|
|
118
|
+
if (dataFormatDataType) {
|
|
119
|
+
// format is customized based on column data type
|
|
120
|
+
switch (columnDataType) {
|
|
121
|
+
case 'String':
|
|
122
|
+
return dataFormatDataType.string;
|
|
123
|
+
case 'Number':
|
|
124
|
+
return dataFormatDataType.number;
|
|
125
|
+
case 'Date':
|
|
126
|
+
return dataFormatDataType.date;
|
|
127
|
+
default:
|
|
128
|
+
// default to rawValue for all other column types
|
|
129
|
+
return 'rawValue';
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return 'rawValue';
|
|
119
133
|
}
|
|
120
134
|
isDestinationEnabled(destination) {
|
|
121
135
|
if (destination === 'Table' && this.getLayoutApi().internalApi.isLayoutGrouped()) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import { AdaptableQLModule } from '../../PredefinedConfig/Common/Types';
|
|
3
|
-
import { AdaptableObject, AdaptablePredicate } from '../../types';
|
|
3
|
+
import { AdaptableField, AdaptableObject, AdaptablePredicate } from '../../types';
|
|
4
4
|
export declare class ExpressionInternalApi extends ApiBase {
|
|
5
5
|
/**
|
|
6
6
|
* Checks if a column is referenced in a given Expression
|
|
@@ -10,4 +10,8 @@ export declare class ExpressionInternalApi extends ApiBase {
|
|
|
10
10
|
isColumnReferencedInExpression(columnId: string, expression: string): boolean;
|
|
11
11
|
evaluateExpressionInAdaptableQL(module: AdaptableQLModule, object?: AdaptableObject, expression?: string): boolean;
|
|
12
12
|
evaluatePredicatesInAdaptableQL(module: AdaptableQLModule, object?: AdaptableObject, predicates?: AdaptablePredicate[]): boolean;
|
|
13
|
+
private getFieldsFromOptions;
|
|
14
|
+
getAvailableFields(data?: Record<string, any>): AdaptableField[];
|
|
15
|
+
getFieldType(field: string): AdaptableField['dataType'];
|
|
16
|
+
getFieldsOfType(type?: AdaptableField['dataType']): AdaptableField[];
|
|
13
17
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
|
+
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
2
3
|
export class ExpressionInternalApi extends ApiBase {
|
|
3
4
|
/**
|
|
4
5
|
* Checks if a column is referenced in a given Expression
|
|
@@ -45,4 +46,82 @@ export class ExpressionInternalApi extends ApiBase {
|
|
|
45
46
|
}
|
|
46
47
|
return !evaluateExpressionExternallyFn(context);
|
|
47
48
|
}
|
|
49
|
+
// Used later, when we extend to support inferring fields from data
|
|
50
|
+
// private getFieldsFromData<T extends Record<string, any>>(data: T): string[] {
|
|
51
|
+
// if (!data) {
|
|
52
|
+
// return [];
|
|
53
|
+
// }
|
|
54
|
+
// if (typeof data !== 'object' || Number.isNaN(data)) {
|
|
55
|
+
// return [];
|
|
56
|
+
// }
|
|
57
|
+
// const keys: string[] = [];
|
|
58
|
+
// for (const key in Object.keys(data)) {
|
|
59
|
+
// const candidate = data[key];
|
|
60
|
+
// if (
|
|
61
|
+
// typeof candidate === 'number' ||
|
|
62
|
+
// typeof candidate === 'string' ||
|
|
63
|
+
// typeof candidate === 'boolean' ||
|
|
64
|
+
// candidate instanceof Date
|
|
65
|
+
// ) {
|
|
66
|
+
// keys.push(key);
|
|
67
|
+
// continue;
|
|
68
|
+
// }
|
|
69
|
+
// // no support for arrays
|
|
70
|
+
// // for objects we go one level deep
|
|
71
|
+
// if (typeof candidate === 'object' && candidate !== null && !Array.isArray(candidate)) {
|
|
72
|
+
// const childKeys = this.getFieldsFromData(candidate);
|
|
73
|
+
// for (const childKey of childKeys) {
|
|
74
|
+
// keys.push(`${key}.${childKey}`);
|
|
75
|
+
// }
|
|
76
|
+
// }
|
|
77
|
+
// }
|
|
78
|
+
// return keys;
|
|
79
|
+
// }
|
|
80
|
+
getFieldsFromOptions() {
|
|
81
|
+
const fields = this.adaptable.api.optionsApi.getExpressionOptions().fields;
|
|
82
|
+
if (fields != null && typeof fields === 'function') {
|
|
83
|
+
return fields(this.getAdaptableApi().internalApi.buildBaseContext());
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
let arr = fields;
|
|
87
|
+
if (arr && ArrayExtensions.IsNotNullOrEmpty(arr)) {
|
|
88
|
+
return arr;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
getAvailableFields(data) {
|
|
93
|
+
var _a, _b;
|
|
94
|
+
const optionFields = (_b = ((_a = this.getFieldsFromOptions()) !== null && _a !== void 0 ? _a : [])) === null || _b === void 0 ? void 0 : _b.map((field) => (Object.assign(Object.assign({}, field), { label: field.label || field.name })));
|
|
95
|
+
// const existingFields = new Set<string>();
|
|
96
|
+
// Exclude fields already in options
|
|
97
|
+
// optionFields.forEach((field) => existingFields.add(field.value));
|
|
98
|
+
// const queriableColumns = this.getColumnApi().getQueryableColumns();
|
|
99
|
+
// Exclude queriable columns
|
|
100
|
+
// queriableColumns.forEach((column) => existingFields.add(column.field));
|
|
101
|
+
// const dataFields = this.getFieldsFromData(data).reduce<AdaptableField[]>((acc, field) => {
|
|
102
|
+
// if (!existingFields.has(field)) {
|
|
103
|
+
// acc.push({
|
|
104
|
+
// label: field,
|
|
105
|
+
// value: field,
|
|
106
|
+
// });
|
|
107
|
+
// }
|
|
108
|
+
// return acc;
|
|
109
|
+
// }, []);
|
|
110
|
+
return optionFields;
|
|
111
|
+
}
|
|
112
|
+
getFieldType(field) {
|
|
113
|
+
var _a;
|
|
114
|
+
const fieldDef = (_a = this.getFieldsFromOptions()) === null || _a === void 0 ? void 0 : _a.find((f) => f.name === field);
|
|
115
|
+
if (fieldDef) {
|
|
116
|
+
return fieldDef.dataType;
|
|
117
|
+
}
|
|
118
|
+
return 'String';
|
|
119
|
+
}
|
|
120
|
+
getFieldsOfType(type) {
|
|
121
|
+
var _a, _b, _c;
|
|
122
|
+
if (!type) {
|
|
123
|
+
return (_a = this.getAvailableFields()) !== null && _a !== void 0 ? _a : [];
|
|
124
|
+
}
|
|
125
|
+
return (_c = (_b = this.getAvailableFields()) === null || _b === void 0 ? void 0 : _b.filter((f) => f.dataType === type)) !== null && _c !== void 0 ? _c : [];
|
|
126
|
+
}
|
|
48
127
|
}
|
|
@@ -1,32 +1,30 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
|
-
import { Fdc3ContextType, Fdc3Context, Fdc3StandardContextType } from '../../PredefinedConfig/Common/Fdc3Context';
|
|
3
2
|
import { ColDef, IRowNode } from '@ag-grid-community/core';
|
|
4
|
-
import { AppIdentifier, Context, IntentResolution } from '@finos/fdc3';
|
|
3
|
+
import { AppIdentifier, Context, ContextType, Intent, IntentResolution, StandardContextType, StandardIntent } from '@finos/fdc3';
|
|
5
4
|
import { BroadcastConfig, RaiseIntentConfig } from '../../AdaptableOptions/Fdc3Options';
|
|
6
|
-
import { Fdc3IntentType, Fdc3StandardIntentType } from '../../PredefinedConfig/Common/Fdc3Intent';
|
|
7
5
|
import { AdaptableButton } from '../../PredefinedConfig/Common/AdaptableButton';
|
|
8
6
|
import { ActionColumnContext } from '../../AdaptableOptions/ActionColumnOptions';
|
|
9
7
|
import { AdaptableIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
|
|
10
8
|
export type WithContext<K> = K & {
|
|
11
|
-
contextType:
|
|
9
|
+
contextType: ContextType;
|
|
12
10
|
};
|
|
13
11
|
export type WithIntent<K> = K & {
|
|
14
|
-
intentType:
|
|
12
|
+
intentType: Intent;
|
|
15
13
|
};
|
|
16
14
|
export declare class Fdc3InternalApi extends ApiBase {
|
|
17
|
-
mapRowToContextData(contextType:
|
|
15
|
+
mapRowToContextData(contextType: ContextType, rowNode: IRowNode): Context;
|
|
18
16
|
getFdc3ActionColDefs(): ColDef[];
|
|
19
17
|
getButtonsForFdc3MainActionColumn(): AdaptableButton<ActionColumnContext<any>>[];
|
|
20
18
|
getButtonsForFdc3StandaloneActionColumn(columnId: string): AdaptableButton<ActionColumnContext<any>>[];
|
|
21
19
|
isFdc3MainActionColumn(columnId: string): boolean;
|
|
22
20
|
isFdc3StandaloneActionColumn(columnId: string, columnType: string | string[]): boolean;
|
|
23
21
|
handleIntentResolution(intentResolution: IntentResolution, context: Context, raisedIntent: string, app?: AppIdentifier): void;
|
|
24
|
-
isStandardContextType(contextType: string): contextType is
|
|
25
|
-
isStandardIntentType(intentType: string): intentType is
|
|
22
|
+
isStandardContextType(contextType: string): contextType is StandardContextType;
|
|
23
|
+
isStandardIntentType(intentType: string): intentType is StandardIntent;
|
|
26
24
|
getAllRaiseIntentConfigs(): WithIntent<RaiseIntentConfig>[];
|
|
27
25
|
getAllBroadcastContextConfigs(): WithContext<BroadcastConfig>[];
|
|
28
|
-
getDefaultIconForIntent(intentType:
|
|
29
|
-
getDefaultIconForContext(contextType:
|
|
26
|
+
getDefaultIconForIntent(intentType: Intent): AdaptableIcon;
|
|
27
|
+
getDefaultIconForContext(contextType: ContextType): AdaptableIcon;
|
|
30
28
|
private mapRowValueToContextData;
|
|
31
29
|
private isAtLeastOneActionButtonConfigured;
|
|
32
30
|
private getIntentConfigsWithActionButtons;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
|
-
import {
|
|
3
|
-
import { ContextTypes } from '@finos/fdc3';
|
|
2
|
+
import { isStandardContextType, isStandardIntent, } from '@finos/fdc3';
|
|
4
3
|
import { ColumnRefTypePrefix, FieldRefTypePrefix, } from '../../AdaptableOptions/Fdc3Options';
|
|
5
|
-
import { Fdc3StandardIntents, } from '../../PredefinedConfig/Common/Fdc3Intent';
|
|
6
4
|
import { AB_FDC3_COLUMN, AB_SPECIAL_COLUMN } from '../../Utilities/Constants/GeneralConstants';
|
|
7
5
|
import { ActionColumnRenderer, ReactActionColumnRenderer } from '../../agGrid/ActionColumnRenderer';
|
|
8
6
|
export class Fdc3InternalApi extends ApiBase {
|
|
9
7
|
mapRowToContextData(contextType, rowNode) {
|
|
10
8
|
var _a, _b, _c;
|
|
11
|
-
if (contextType ===
|
|
12
|
-
return { type:
|
|
9
|
+
if (contextType === 'fdc3.nothing') {
|
|
10
|
+
return { type: contextType };
|
|
13
11
|
}
|
|
14
|
-
const mappedContextData = this.mapRowValueToContextData(rowNode, this.isStandardContextType(contextType) && contextType !==
|
|
12
|
+
const mappedContextData = this.mapRowValueToContextData(rowNode, this.isStandardContextType(contextType) && contextType !== 'fdc3.nothing'
|
|
15
13
|
? (_a = this.getFdc3Options().gridDataContextMapping) === null || _a === void 0 ? void 0 : _a[contextType]
|
|
16
14
|
: (_c = (_b = this.getFdc3Options().gridDataContextMapping) === null || _b === void 0 ? void 0 : _b.custom) === null || _c === void 0 ? void 0 : _c[contextType]);
|
|
17
15
|
const contextMappedFromGridData = Object.assign({ type: contextType }, mappedContextData);
|
|
@@ -154,12 +152,10 @@ export class Fdc3InternalApi extends ApiBase {
|
|
|
154
152
|
}
|
|
155
153
|
}
|
|
156
154
|
isStandardContextType(contextType) {
|
|
157
|
-
|
|
158
|
-
return StandardContextTypes.includes(contextType);
|
|
155
|
+
return isStandardContextType(contextType);
|
|
159
156
|
}
|
|
160
157
|
isStandardIntentType(intentType) {
|
|
161
|
-
|
|
162
|
-
return Fdc3StandardIntents.includes(intentType);
|
|
158
|
+
return isStandardIntent(intentType);
|
|
163
159
|
}
|
|
164
160
|
getAllRaiseIntentConfigs() {
|
|
165
161
|
var _a;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdaptableColumnDataType } from './AdaptableColumn';
|
|
2
|
+
/**
|
|
3
|
+
* Used in Expressions to reference row values which are not a column definition
|
|
4
|
+
*/
|
|
5
|
+
export interface AdaptableField {
|
|
6
|
+
/**
|
|
7
|
+
* Name of field, e.g. 'rowId', 'parentObject.childObject.value'
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Label for field (optional - defaults to name)
|
|
12
|
+
*/
|
|
13
|
+
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Data Type of field, used to validate and show correctly in UI
|
|
16
|
+
*/
|
|
17
|
+
dataType: AdaptableColumnDataType;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -54,4 +54,4 @@ export interface AdaptableBaseIcon {
|
|
|
54
54
|
/**
|
|
55
55
|
* All AdapTable System Icon names
|
|
56
56
|
*/
|
|
57
|
-
export type AdaptableSystemIconName = 'add' | 'alert' | 'building' | 'laptop' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrow-expand' | 'paperclip' | 'unfilled-circle' | 'boolean-list' | 'broadcast' | 'brush' | 'spanner' | 'edit-table' | 'chart-and-grid' | 'calendar' | 'call' | 'cells' | 'fdc3' | 'flag' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'columns' | 'filter-list' | 'copy' | 'comment' | 'comments' | 'contains' | 'dashboard' | 'json' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'dollar' | 'drag' | 'edit' | 'ends-with' | 'equals' | 'equation' | 'error' | 'excel' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'filter-off' | 'lightning' | 'folder' | 'folder-open' | 'folder-shared' | 'color-palette' | 'horizontal-lines' | 'function' | 'greater-than' | 'greater-than-or-equal' | 'history' | 'home' | 'import-export' | 'info' | 'brain' | 'download' | 'grid' | 'interactions' | 'less-than' | 'less-than-or-equal' | 'list' | 'logout' | 'mail' | 'menu' | 'minus' | 'multiplication' | 'money' | 'newpage' | 'news' | 'filled-circle' | 'not-contains' | 'not-equal' | 'open-in-new' | 'order' | 'organisation' | 'pause' | 'percent' | 'percent-tag' | 'person' | 'contact' | 'pie-chart' | 'play' | 'plus' | 'add-circle' | 'search' | 'search-table' | 'select-all' | 'select-off' | 'select-fwd' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'science' | 'settings' | 'link' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'resume' | 'starts-with' | 'assignment' | 'statusbar' | 'stop' | 'traffic-lights' | 'tab-unselected' | 'theme' | 'clipboard' | 'target' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'downloaded' | 'upload' | 'warning' | 'gradient' | 'badge' | 'italic' | 'bold' | 'align-left' | 'align-right' | 'align-center' | 'align-justify' | 'underline' | 'strikethrough' | 'overline' | 'case-upper' | 'case-lower' | 'case-sentence' | 'visibility-on' | 'visibility-off' | 'visibility-off-bold' | 'visibility-on-bold' | 'note' | 'import' | 'grid-filter' | 'grid-info' | 'csv' | 'rows' | 'expand-all' | 'collapse-all';
|
|
57
|
+
export type AdaptableSystemIconName = 'add' | 'alert' | 'building' | 'laptop' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-long' | 'arrow-down-long' | 'arrow-expand' | 'paperclip' | 'unfilled-circle' | 'boolean-list' | 'broadcast' | 'brush' | 'spanner' | 'edit-table' | 'chart-and-grid' | 'calendar' | 'call' | 'cells' | 'fdc3' | 'flag' | 'chart' | 'chat' | 'check' | 'check-circle' | 'checked' | 'clone' | 'close' | 'cloud-upload' | 'collapse' | 'column-add' | 'columns' | 'filter-list' | 'copy' | 'comment' | 'comments' | 'contains' | 'dashboard' | 'json' | 'data-set' | 'date-range' | 'delete' | 'division' | 'dock' | 'dollar' | 'drag' | 'edit' | 'ends-with' | 'equals' | 'equation' | 'error' | 'excel' | 'expand' | 'exponent' | 'export' | 'export-data' | 'fast-backward' | 'fast-forward' | 'filter' | 'filter-off' | 'lightning' | 'folder' | 'folder-open' | 'folder-shared' | 'color-palette' | 'horizontal-lines' | 'function' | 'greater-than' | 'greater-than-or-equal' | 'history' | 'home' | 'import-export' | 'info' | 'brain' | 'download' | 'grid' | 'interactions' | 'less-than' | 'less-than-or-equal' | 'list' | 'logout' | 'mail' | 'menu' | 'minus' | 'multiplication' | 'money' | 'newpage' | 'news' | 'filled-circle' | 'not-contains' | 'not-equal' | 'open-in-new' | 'order' | 'organisation' | 'pause' | 'percent' | 'percent-tag' | 'person' | 'contact' | 'pie-chart' | 'play' | 'plus' | 'add-circle' | 'search' | 'search-table' | 'select-all' | 'select-off' | 'select-fwd' | 'sync' | 'quote' | 'refresh' | 'regex' | 'reminder' | 'save' | 'schedule' | 'science' | 'settings' | 'link' | 'sort-asc' | 'sort-desc' | 'spark-line' | 'resume' | 'starts-with' | 'assignment' | 'statusbar' | 'stop' | 'traffic-lights' | 'tab-unselected' | 'theme' | 'clipboard' | 'target' | 'triangle-down' | 'triangle-up' | 'unchecked' | 'undo' | 'downloaded' | 'upload' | 'warning' | 'gradient' | 'badge' | 'italic' | 'bold' | 'align-left' | 'align-right' | 'align-center' | 'align-justify' | 'underline' | 'strikethrough' | 'overline' | 'case-upper' | 'case-lower' | 'case-sentence' | 'visibility-on' | 'visibility-off' | 'visibility-off-bold' | 'visibility-on-bold' | 'note' | 'import' | 'grid-filter' | 'grid-info' | 'csv' | 'rows' | 'expand-all' | 'collapse-all' | 'column-outline';
|
|
@@ -25,7 +25,24 @@ export const SystemPredicateDefs = [
|
|
|
25
25
|
icon: { text: 'IN' },
|
|
26
26
|
columnScope: { DataTypes: ['String', 'Number', 'Date'] },
|
|
27
27
|
moduleScope: ['columnFilter', 'flashingcell', 'formatColumn', 'alert', 'badgeStyle'],
|
|
28
|
-
handler: (
|
|
28
|
+
handler: (context) => {
|
|
29
|
+
const { inputs, column, value, adaptableApi } = context;
|
|
30
|
+
const predicateInputs = context.inputs.reduce((acc, input) => {
|
|
31
|
+
const predicate = adaptableApi.predicateApi.getPredicateDefById(input);
|
|
32
|
+
if (predicate) {
|
|
33
|
+
acc.push(predicate);
|
|
34
|
+
}
|
|
35
|
+
return acc;
|
|
36
|
+
}, []);
|
|
37
|
+
if (predicateInputs.length) {
|
|
38
|
+
const nestedContext = Object.assign({}, context);
|
|
39
|
+
delete nestedContext.inputs;
|
|
40
|
+
return predicateInputs.some((predicate) => {
|
|
41
|
+
return adaptableApi.predicateApi.handlePredicate({
|
|
42
|
+
PredicateId: predicate.id,
|
|
43
|
+
}, nestedContext, false);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
29
46
|
if (inputs.length === 0) {
|
|
30
47
|
return true;
|
|
31
48
|
}
|
|
@@ -1,226 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
export type Fdc3CustomContextType = string;
|
|
10
|
-
/**
|
|
11
|
-
* Type for FDC3 Contexts (can be Standard or Custom)
|
|
12
|
-
*/
|
|
13
|
-
export type Fdc3ContextType = Fdc3StandardContextType | Fdc3CustomContextType;
|
|
14
|
-
export declare const ChartContextKey = "fdc3.chart";
|
|
15
|
-
/**
|
|
16
|
-
* Type for FDC3 Chart Context
|
|
17
|
-
*/
|
|
18
|
-
export type ChartContextType = typeof ChartContextKey;
|
|
19
|
-
export declare const ChatInitSettingsContextKey = "fdc3.chat.initSettings";
|
|
20
|
-
/**
|
|
21
|
-
* Type for FDC3 Chart Init Settings Context
|
|
22
|
-
*/
|
|
23
|
-
export type ChatInitSettingsContextType = typeof ChatInitSettingsContextKey;
|
|
24
|
-
export declare const ContactContextKey = "fdc3.contact";
|
|
25
|
-
/**
|
|
26
|
-
* Type for FDC3 Contact Context
|
|
27
|
-
*/
|
|
28
|
-
export type ContactContextType = typeof ContactContextKey;
|
|
29
|
-
export declare const ContactListContextKey = "fdc3.contactList";
|
|
30
|
-
/**
|
|
31
|
-
* Type for FDC3 Contact List Context
|
|
32
|
-
*/
|
|
33
|
-
export type ContactListContextType = typeof ContactListContextKey;
|
|
34
|
-
export declare const CountryContextKey = "fdc3.country";
|
|
35
|
-
/**
|
|
36
|
-
* Type for FDC3 Country Context
|
|
37
|
-
*/
|
|
38
|
-
export type CountryContextType = typeof CountryContextKey;
|
|
39
|
-
export declare const CurrencyContextKey = "fdc3.currency";
|
|
40
|
-
/**
|
|
41
|
-
* Type for FDC3 Currency Context
|
|
42
|
-
*/
|
|
43
|
-
export type CurrencyContextType = typeof CurrencyContextKey;
|
|
44
|
-
export declare const EmailContextKey = "fdc3.email";
|
|
45
|
-
/**
|
|
46
|
-
* Type for FDC3 Email Context
|
|
47
|
-
*/
|
|
48
|
-
export type EmailContextType = typeof EmailContextKey;
|
|
49
|
-
export declare const InstrumentContextKey = "fdc3.instrument";
|
|
50
|
-
/**
|
|
51
|
-
* Type for FDC3 Instrument Context
|
|
52
|
-
*/
|
|
53
|
-
export type InstrumentContextType = typeof InstrumentContextKey;
|
|
54
|
-
export declare const InstrumentListContextKey = "fdc3.instrumentList";
|
|
55
|
-
/**
|
|
56
|
-
* Type for FDC3 Instrument List Context
|
|
57
|
-
*/
|
|
58
|
-
export type InstrumentListContextType = typeof InstrumentListContextKey;
|
|
59
|
-
export declare const OrganizationContextKey = "fdc3.organization";
|
|
60
|
-
/**
|
|
61
|
-
* Type for FDC3 Organization Context
|
|
62
|
-
*/
|
|
63
|
-
export type OrganizationContextType = typeof OrganizationContextKey;
|
|
64
|
-
export declare const PortfolioContextKey = "fdc3.portfolio";
|
|
65
|
-
/**
|
|
66
|
-
* Type for FDC3 Portfolio Context
|
|
67
|
-
*/
|
|
68
|
-
export type PortfolioContextType = typeof PortfolioContextKey;
|
|
69
|
-
export declare const PositionContextKey = "fdc3.position";
|
|
70
|
-
/**
|
|
71
|
-
* Type for FDC3 Position Context
|
|
72
|
-
*/
|
|
73
|
-
export type PositionContextType = typeof PositionContextKey;
|
|
74
|
-
export declare const TimeRangeContextKey = "fdc3.timerange";
|
|
75
|
-
/**
|
|
76
|
-
* Type for FDC3 Time Range Context
|
|
77
|
-
*/
|
|
78
|
-
export type TimeRangeContextType = typeof TimeRangeContextKey;
|
|
79
|
-
export declare const ValuationContextKey = "fdc3.valuation";
|
|
80
|
-
/**
|
|
81
|
-
* Type for FDC3 Valuation Context
|
|
82
|
-
*/
|
|
83
|
-
export type ValuationContextType = typeof ValuationContextKey;
|
|
84
|
-
export declare const NothingContextKey = "fdc3.nothing";
|
|
85
|
-
/**
|
|
86
|
-
* Type for FDC3 Nothing Context
|
|
87
|
-
*/
|
|
88
|
-
export type NothingContextType = typeof NothingContextKey;
|
|
89
|
-
/**
|
|
90
|
-
* FDC3 (2.0) Contexts
|
|
91
|
-
*/
|
|
92
|
-
export type Fdc3StandardContext = ChartContext | ChatInitSettingsContext | ContactContext | ContactListContext | CountryContext | CurrencyContext | EmailContext | InstrumentContext | InstrumentListContext | OrganizationContext | PortfolioContext | PositionContext | TimeRangeContext | ValuationContext | NothingContext;
|
|
93
|
-
/**
|
|
94
|
-
* FDC3 (2.0) Custom Context
|
|
95
|
-
*/
|
|
96
|
-
export type Fdc3CustomContext = Context;
|
|
97
|
-
/**
|
|
98
|
-
* FDC3 (2.0) Generic Context (Standard or Custom)
|
|
99
|
-
*/
|
|
100
|
-
export type Fdc3Context = Fdc3StandardContext | Fdc3CustomContext;
|
|
101
|
-
export type TypedFdc3Context<CONTEXT, TYPE extends Fdc3StandardContextType> = CONTEXT & {
|
|
102
|
-
type: TYPE;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* FDC3 2.0 Chart Context
|
|
106
|
-
*/
|
|
107
|
-
export type ChartContext = TypedFdc3Context<Chart, ContextTypes.Chart>;
|
|
108
|
-
/**
|
|
109
|
-
* FDC3 2.0 Chat Context
|
|
110
|
-
*/
|
|
111
|
-
export type ChatInitSettingsContext = TypedFdc3Context<ChatInitSettings, ContextTypes.ChatInitSettings>;
|
|
112
|
-
/**
|
|
113
|
-
* FDC3 2.0 Contact Context
|
|
114
|
-
*/
|
|
115
|
-
export type ContactContext = TypedFdc3Context<Contact, ContextTypes.Contact>;
|
|
116
|
-
/**
|
|
117
|
-
* FDC3 2.0 Contact List Context
|
|
118
|
-
*/
|
|
119
|
-
export type ContactListContext = TypedFdc3Context<ContactList, ContextTypes.ContactList>;
|
|
120
|
-
/**
|
|
121
|
-
* FDC3 2.0 Country Context
|
|
122
|
-
*/
|
|
123
|
-
export type CountryContext = TypedFdc3Context<Country, ContextTypes.Country>;
|
|
124
|
-
/**
|
|
125
|
-
* FDC3 2.0 Currency Context
|
|
126
|
-
*/
|
|
127
|
-
export type CurrencyContext = TypedFdc3Context<Currency, ContextTypes.Currency>;
|
|
128
|
-
/**
|
|
129
|
-
* FDC3 2.0 Email Context
|
|
130
|
-
*/
|
|
131
|
-
export type EmailContext = TypedFdc3Context<Email, ContextTypes.Email>;
|
|
132
|
-
/**
|
|
133
|
-
* FDC3 2.0 Instrument Context
|
|
134
|
-
*/
|
|
135
|
-
export type InstrumentContext = TypedFdc3Context<Instrument, ContextTypes.Instrument>;
|
|
136
|
-
/**
|
|
137
|
-
* FDC3 2.0 Instrument List Context
|
|
138
|
-
*/
|
|
139
|
-
export type InstrumentListContext = TypedFdc3Context<InstrumentList, ContextTypes.InstrumentList>;
|
|
140
|
-
/**
|
|
141
|
-
* FDC3 2.0 Organization Context
|
|
142
|
-
*/
|
|
143
|
-
export type OrganizationContext = TypedFdc3Context<Organization, ContextTypes.Organization>;
|
|
144
|
-
/**
|
|
145
|
-
* FDC3 2.0 Portfolio Context
|
|
146
|
-
*/
|
|
147
|
-
export type PortfolioContext = TypedFdc3Context<Portfolio, ContextTypes.Portfolio>;
|
|
148
|
-
/**
|
|
149
|
-
* FDC3 2.0 Position Context
|
|
150
|
-
*/
|
|
151
|
-
export type PositionContext = TypedFdc3Context<Position, ContextTypes.Position>;
|
|
152
|
-
/**
|
|
153
|
-
* FDC3 2.0 Time Range Context
|
|
154
|
-
*/
|
|
155
|
-
export type TimeRangeContext = TypedFdc3Context<TimeRange, ContextTypes.TimeRange>;
|
|
156
|
-
/**
|
|
157
|
-
* FDC3 2.0 Valuation Context
|
|
158
|
-
*/
|
|
159
|
-
export type ValuationContext = TypedFdc3Context<Valuation, ContextTypes.Valuation>;
|
|
160
|
-
/**
|
|
161
|
-
* FDC3 2.0 Nothing Context
|
|
162
|
-
*/
|
|
163
|
-
export type NothingContext = TypedFdc3Context<Nothing, ContextTypes.Nothing>;
|
|
164
|
-
export declare const ContextConfiguration: {
|
|
165
|
-
readonly "fdc3.chart": {
|
|
166
|
-
readonly label: "Chart";
|
|
167
|
-
readonly icon: "pie-chart";
|
|
168
|
-
};
|
|
169
|
-
readonly "fdc3.chat.initSettings": {
|
|
170
|
-
readonly label: "ChatInitSettings";
|
|
171
|
-
readonly icon: "chat";
|
|
172
|
-
};
|
|
173
|
-
readonly "fdc3.contact": {
|
|
174
|
-
readonly label: "Contact";
|
|
175
|
-
readonly icon: "badge";
|
|
176
|
-
};
|
|
177
|
-
readonly "fdc3.contactList": {
|
|
178
|
-
readonly label: "ContactList";
|
|
179
|
-
readonly icon: "badge";
|
|
180
|
-
};
|
|
181
|
-
readonly "fdc3.country": {
|
|
182
|
-
readonly label: "Country";
|
|
183
|
-
readonly icon: "flag";
|
|
184
|
-
};
|
|
185
|
-
readonly "fdc3.currency": {
|
|
186
|
-
readonly label: "Currency";
|
|
187
|
-
readonly icon: "dollar";
|
|
188
|
-
};
|
|
189
|
-
readonly "fdc3.email": {
|
|
190
|
-
readonly label: "Email";
|
|
191
|
-
readonly icon: "mail";
|
|
192
|
-
};
|
|
193
|
-
readonly "fdc3.instrument": {
|
|
194
|
-
readonly label: "Instrument";
|
|
195
|
-
readonly icon: "money";
|
|
196
|
-
};
|
|
197
|
-
readonly "fdc3.instrumentList": {
|
|
198
|
-
readonly label: "InstrumentList";
|
|
199
|
-
readonly icon: "money";
|
|
200
|
-
};
|
|
201
|
-
readonly "fdc3.organization": {
|
|
202
|
-
readonly label: "Organization";
|
|
203
|
-
readonly icon: "organisation";
|
|
204
|
-
};
|
|
205
|
-
readonly "fdc3.portfolio": {
|
|
206
|
-
readonly label: "Portfolio";
|
|
207
|
-
readonly icon: "building";
|
|
208
|
-
};
|
|
209
|
-
readonly "fdc3.position": {
|
|
210
|
-
readonly label: "Position";
|
|
211
|
-
readonly icon: "building";
|
|
212
|
-
};
|
|
213
|
-
readonly "fdc3.timerange": {
|
|
214
|
-
readonly label: "TimeRange";
|
|
215
|
-
readonly icon: "date-range";
|
|
216
|
-
};
|
|
217
|
-
readonly "fdc3.valuation": {
|
|
218
|
-
readonly label: "Valuation";
|
|
219
|
-
readonly icon: "equation";
|
|
220
|
-
};
|
|
221
|
-
readonly "fdc3.nothing": {
|
|
222
|
-
readonly label: "Nothing";
|
|
223
|
-
readonly icon: "fdc3";
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
export declare const StandardContextTypes: Fdc3StandardContextType[];
|
|
1
|
+
import { StandardContextType } from '@finos/fdc3';
|
|
2
|
+
interface ContextConfig {
|
|
3
|
+
label: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const ContextConfiguration: Record<StandardContextType, ContextConfig>;
|
|
7
|
+
export {};
|