@adaptabletools/adaptable 11.1.16 → 11.2.1-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/bundle.cjs.js +78 -78
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/Api/AlertApi.d.ts +3 -1
- package/src/Api/ConditionalStyleApi.d.ts +3 -1
- package/src/Api/CustomSortApi.d.ts +3 -1
- package/src/Api/EventApi.d.ts +13 -0
- package/src/Api/FlashingCellApi.d.ts +3 -1
- package/src/Api/FormatColumnApi.d.ts +3 -1
- package/src/Api/Implementation/AlertApiImpl.d.ts +3 -1
- package/src/Api/Implementation/AlertApiImpl.js +3 -2
- package/src/Api/Implementation/ApiBase.d.ts +1 -1
- package/src/Api/Implementation/ApiBase.js +2 -2
- package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ConditionalStyleApiImpl.js +3 -2
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +3 -1
- package/src/Api/Implementation/CustomSortApiImpl.js +3 -2
- package/src/Api/Implementation/EventApiImpl.js +1 -0
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +3 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +3 -2
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +3 -2
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -0
- package/src/Api/Implementation/InternalApiImpl.js +12 -2
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +3 -1
- package/src/Api/Implementation/PlusMinusApiImpl.js +3 -2
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +15 -5
- package/src/Api/Implementation/ScheduleApiImpl.js +15 -10
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ShortcutApiImpl.js +3 -2
- package/src/Api/Implementation/ToolPanelApiImpl.d.ts +1 -2
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +2 -2
- package/src/Api/InternalApi.d.ts +3 -0
- package/src/Api/PlusMinusApi.d.ts +3 -1
- package/src/Api/ScheduleApi.d.ts +15 -5
- package/src/Api/ShortcutApi.d.ts +3 -1
- package/src/Api/ToolPanelApi.d.ts +1 -2
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -1
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
- package/src/PredefinedConfig/SystemState.d.ts +1 -0
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +5 -0
- package/src/Redux/ActionsReducers/SystemRedux.js +11 -1
- package/src/Strategy/AdaptableModuleBase.d.ts +5 -0
- package/src/Strategy/AdaptableModuleBase.js +9 -0
- package/src/Strategy/AlertModule.d.ts +4 -1
- package/src/Strategy/AlertModule.js +9 -4
- package/src/Strategy/ConditionalStyleModule.d.ts +4 -1
- package/src/Strategy/ConditionalStyleModule.js +8 -3
- package/src/Strategy/CustomSortModule.d.ts +4 -1
- package/src/Strategy/CustomSortModule.js +8 -3
- package/src/Strategy/FlashingCellModule.d.ts +4 -1
- package/src/Strategy/FlashingCellModule.js +8 -5
- package/src/Strategy/FormatColumnModule.d.ts +4 -1
- package/src/Strategy/FormatColumnModule.js +8 -3
- package/src/Strategy/Interface/IModule.d.ts +1 -0
- package/src/Strategy/PlusMinusModule.d.ts +4 -1
- package/src/Strategy/PlusMinusModule.js +8 -3
- package/src/Strategy/ScheduleModule.d.ts +4 -1
- package/src/Strategy/ScheduleModule.js +12 -7
- package/src/Strategy/ShortcutModule.d.ts +4 -1
- package/src/Strategy/ShortcutModule.js +8 -3
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -2
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -2
- package/src/Utilities/Emitter.js +5 -0
- package/src/Utilities/Services/AlertService.d.ts +1 -1
- package/src/Utilities/Services/AlertService.js +7 -5
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +13 -3
- package/src/Utilities/Services/DataService.d.ts +2 -2
- package/src/Utilities/Services/DataService.js +11 -4
- package/src/Utilities/Services/ValidationService.js +5 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +9 -4
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +3 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +22 -0
- package/src/View/Components/Popups/AdaptableToaster.js +11 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -2
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/agGrid/Adaptable.d.ts +3 -2
- package/src/agGrid/Adaptable.js +114 -81
- package/src/agGrid/agGridHelper.js +2 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.js +13 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.2.1-canary.0",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"uuid": "^3.3.2"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@ag-grid-community/all-modules": ">=27.
|
|
59
|
+
"@ag-grid-community/all-modules": ">=27.2.0"
|
|
60
60
|
}
|
|
61
61
|
}
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1652703967435;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -85,7 +85,7 @@ export interface LayoutViewOptions {
|
|
|
85
85
|
* Context for `LayoutOptions.isObjectAvailableInLayout` method
|
|
86
86
|
*/
|
|
87
87
|
export interface IsObjectAvailableInLayoutContext {
|
|
88
|
-
|
|
88
|
+
abObject: LayoutAssociatedObject;
|
|
89
89
|
module: AdaptableModule;
|
|
90
90
|
layout: Layout;
|
|
91
91
|
adaptableApi: AdaptableApi;
|
package/src/Api/AlertApi.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ export interface AlertApi {
|
|
|
24
24
|
* Retrieves all Alert Definitions in Alert State
|
|
25
25
|
* @returns alert definitions
|
|
26
26
|
*/
|
|
27
|
-
getAlertDefinitions(
|
|
27
|
+
getAlertDefinitions(config?: {
|
|
28
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
29
|
+
}): AlertDefinition[];
|
|
28
30
|
/**
|
|
29
31
|
* Retrieves alert definition by id
|
|
30
32
|
* @param id alert definition id
|
|
@@ -12,7 +12,9 @@ export interface ConditionalStyleApi {
|
|
|
12
12
|
/**
|
|
13
13
|
* Gets all Conditional Styles in Adaptable State
|
|
14
14
|
*/
|
|
15
|
-
getAllConditionalStyle(
|
|
15
|
+
getAllConditionalStyle(config?: {
|
|
16
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
17
|
+
}): ConditionalStyle[];
|
|
16
18
|
/**
|
|
17
19
|
* Get conditional style by id
|
|
18
20
|
* @param id conditional style id
|
|
@@ -10,7 +10,9 @@ export interface CustomSortApi {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves all Custom Sorts in Adaptable State
|
|
12
12
|
*/
|
|
13
|
-
getAllCustomSort(
|
|
13
|
+
getAllCustomSort(config?: {
|
|
14
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
15
|
+
}): CustomSort[];
|
|
14
16
|
/**
|
|
15
17
|
* Retrieves Custom Sort by id
|
|
16
18
|
* @param id Custom Sort id
|
package/src/Api/EventApi.d.ts
CHANGED
|
@@ -205,12 +205,25 @@ export interface EventApi {
|
|
|
205
205
|
* ```
|
|
206
206
|
*/
|
|
207
207
|
on(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): VoidFunction;
|
|
208
|
+
/**
|
|
209
|
+
* Fired when Adaptable is destroyed
|
|
210
|
+
* @param eventName - AdaptableDestroy
|
|
211
|
+
* @param callback - A callback for listening to `AdaptableDestroy`
|
|
212
|
+
* @returns the unsubscribe function
|
|
213
|
+
*
|
|
214
|
+
* @example Use as
|
|
215
|
+
* ```
|
|
216
|
+
* adaptableApi.eventApi.on('AdaptableDestroy', () => { .....[do stuff]...})
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
219
|
+
on(eventName: 'AdaptableDestroy', callback: () => void): VoidFunction;
|
|
208
220
|
/**
|
|
209
221
|
* Unsubscribe from AdaptableReady
|
|
210
222
|
*/
|
|
211
223
|
off(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): void;
|
|
212
224
|
emitSync(eventName: 'DashboardChanged', data?: any): any[];
|
|
213
225
|
emitSync(eventName: 'FlashingCellDisplayed', data?: any): any[];
|
|
226
|
+
emitSync(eventName: 'AdaptableDestroy'): any[];
|
|
214
227
|
emit(eventName: 'AdaptableReady' | 'AlertFired' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'AdaptableStateChanged' | 'DashboardChanged' | 'CellChanged' | 'GridDataChanged' | 'LayoutChanged' | 'LiveDataChanged' | 'SearchChanged' | 'SelectionChanged' | 'SystemStatusMessageDisplayed' | 'TeamSharingEntityChanged' | 'ThemeChanged' | 'FDC3MessageSent', data?: any): Promise<any>;
|
|
215
228
|
destroy(): void;
|
|
216
229
|
}
|
|
@@ -14,7 +14,9 @@ export interface FlashingCellApi {
|
|
|
14
14
|
/**
|
|
15
15
|
* Retrieves all Flashing cell Definitions in Flashing Cell State
|
|
16
16
|
*/
|
|
17
|
-
getFlashingCellDefinitions(
|
|
17
|
+
getFlashingCellDefinitions(config?: {
|
|
18
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
19
|
+
}): FlashingCellDefinition[];
|
|
18
20
|
/**
|
|
19
21
|
* Retrieves Flashing cell Definition By Id
|
|
20
22
|
* @param id Flashing Cell Definition Id
|
|
@@ -13,7 +13,9 @@ export interface FormatColumnApi {
|
|
|
13
13
|
* Retrieves all Format Columns in Adaptable State
|
|
14
14
|
* @returns format columns
|
|
15
15
|
*/
|
|
16
|
-
getAllFormatColumn(
|
|
16
|
+
getAllFormatColumn(config?: {
|
|
17
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
18
|
+
}): FormatColumn[];
|
|
17
19
|
/**
|
|
18
20
|
* Retrieves Format Column by Id
|
|
19
21
|
* @param id Format Column id
|
|
@@ -12,7 +12,9 @@ import { GridDataChangedInfo } from '../Events/GridDataChanged';
|
|
|
12
12
|
export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
13
13
|
getAlertState(): AlertState;
|
|
14
14
|
getAdaptableFormByName(name: string): AdaptableForm<AlertButtonContext> | undefined;
|
|
15
|
-
getAlertDefinitions(
|
|
15
|
+
getAlertDefinitions(config?: {
|
|
16
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
17
|
+
}): AlertDefinition[];
|
|
16
18
|
getAlertDefinitionById(id: AlertDefinition['Uuid']): AlertDefinition;
|
|
17
19
|
getNonReactiveAlertDefinitions(): AlertDefinition[];
|
|
18
20
|
getActiveNonReactiveAlertDefinitions(): AlertDefinition[];
|
|
@@ -20,9 +20,10 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
20
20
|
const alertForms = this.getAlertOptions().alertForms || [];
|
|
21
21
|
return (_a = alertForms.find((f) => f.name === name)) === null || _a === void 0 ? void 0 : _a.form;
|
|
22
22
|
}
|
|
23
|
-
getAlertDefinitions() {
|
|
23
|
+
getAlertDefinitions(config) {
|
|
24
24
|
var _a, _b;
|
|
25
|
-
return ((_b = (_a = this.getAlertState().AlertDefinitions) === null || _a === void 0 ? void 0 : _a.filter((alertDefinition) =>
|
|
25
|
+
return ((_b = (_a = this.getAlertState().AlertDefinitions) === null || _a === void 0 ? void 0 : _a.filter((alertDefinition) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
26
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(alertDefinition, 'Alert'))) !== null && _b !== void 0 ? _b : []);
|
|
26
27
|
}
|
|
27
28
|
getAlertDefinitionById(id) {
|
|
28
29
|
return this.getAlertDefinitions().find((alert) => (alert === null || alert === void 0 ? void 0 : alert.Uuid) === id);
|
|
@@ -43,7 +43,7 @@ export declare abstract class ApiBase {
|
|
|
43
43
|
getAdaptableState(): AdaptableState;
|
|
44
44
|
protected addUidToAdaptableObject(adaptableObject: AdaptableObject): void;
|
|
45
45
|
protected getModuleInfoByModuleId(module: AdaptableModule): ModuleInfo;
|
|
46
|
-
protected showModulePopup(module: AdaptableModule,
|
|
46
|
+
protected showModulePopup(module: AdaptableModule, moduleParams?: ModuleParams): void;
|
|
47
47
|
protected getOptions(): AdaptableOptions;
|
|
48
48
|
protected getContainerOptions(): ContainerOptions;
|
|
49
49
|
protected getNotificationsOptions(): NotificationsOptions;
|
|
@@ -65,10 +65,10 @@ class ApiBase {
|
|
|
65
65
|
getModuleInfoByModuleId(module) {
|
|
66
66
|
return this.adaptable.ModuleService.getModuleInfoByModule(module);
|
|
67
67
|
}
|
|
68
|
-
showModulePopup(module,
|
|
68
|
+
showModulePopup(module, moduleParams) {
|
|
69
69
|
let moduleInfo = this.getModuleInfoByModuleId(module);
|
|
70
70
|
if (moduleInfo) {
|
|
71
|
-
this.adaptable.api.internalApi.showPopupScreen(moduleInfo.ModuleName, moduleInfo.Popup,
|
|
71
|
+
this.adaptable.api.internalApi.showPopupScreen(moduleInfo.ModuleName, moduleInfo.Popup, moduleParams);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
getOptions() {
|
|
@@ -5,7 +5,9 @@ import { AdaptableColumn, AdaptableScope } from '../../types';
|
|
|
5
5
|
import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
|
|
6
6
|
export declare class ConditionalStyleApiImpl extends ApiBase implements ConditionalStyleApi {
|
|
7
7
|
getConditionalStyleState(): ConditionalStyleState;
|
|
8
|
-
getAllConditionalStyle(
|
|
8
|
+
getAllConditionalStyle(config?: {
|
|
9
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
10
|
+
}): ConditionalStyle[];
|
|
9
11
|
getAllActiveConditionalStyle(): ConditionalStyle[];
|
|
10
12
|
getConditionalStyleById(id: ConditionalStyle['Uuid']): ConditionalStyle;
|
|
11
13
|
getAllSuspendedConditionalStyle(): ConditionalStyle[];
|
|
@@ -9,9 +9,10 @@ class ConditionalStyleApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getConditionalStyleState() {
|
|
10
10
|
return this.getAdaptableState().ConditionalStyle;
|
|
11
11
|
}
|
|
12
|
-
getAllConditionalStyle() {
|
|
12
|
+
getAllConditionalStyle(config) {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
return ((_b = (_a = this.getConditionalStyleState().ConditionalStyles) === null || _a === void 0 ? void 0 : _a.filter((conditionalStyle) =>
|
|
14
|
+
return ((_b = (_a = this.getConditionalStyleState().ConditionalStyles) === null || _a === void 0 ? void 0 : _a.filter((conditionalStyle) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
15
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(conditionalStyle, 'ConditionalStyle'))) !== null && _b !== void 0 ? _b : []);
|
|
15
16
|
}
|
|
16
17
|
getAllActiveConditionalStyle() {
|
|
17
18
|
return this.getAllConditionalStyle().filter((style) => !style.IsSuspended);
|
|
@@ -3,7 +3,9 @@ import { CustomSortApi } from '../CustomSortApi';
|
|
|
3
3
|
import { CustomSortState, CustomSort } from '../../PredefinedConfig/CustomSortState';
|
|
4
4
|
export declare class CustomSortApiImpl extends ApiBase implements CustomSortApi {
|
|
5
5
|
getCustomSortState(): CustomSortState;
|
|
6
|
-
getAllCustomSort(
|
|
6
|
+
getAllCustomSort(config?: {
|
|
7
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
8
|
+
}): CustomSort[];
|
|
7
9
|
getCustomSortById(id: CustomSort['Uuid']): CustomSort;
|
|
8
10
|
getAllActiveCustomSort(): CustomSort[];
|
|
9
11
|
getAllSuspendedCustomSort(): CustomSort[];
|
|
@@ -9,9 +9,10 @@ class CustomSortApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getCustomSortState() {
|
|
10
10
|
return this.getAdaptableState().CustomSort;
|
|
11
11
|
}
|
|
12
|
-
getAllCustomSort() {
|
|
12
|
+
getAllCustomSort(config) {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
return ((_b = (_a = this.getCustomSortState().CustomSorts) === null || _a === void 0 ? void 0 : _a.filter((customSort) =>
|
|
14
|
+
return ((_b = (_a = this.getCustomSortState().CustomSorts) === null || _a === void 0 ? void 0 : _a.filter((customSort) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
15
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(customSort, 'CustomSort'))) !== null && _b !== void 0 ? _b : []);
|
|
15
16
|
}
|
|
16
17
|
getCustomSortById(id) {
|
|
17
18
|
return this.getAllCustomSort().find((customSort) => customSort.Uuid === id);
|
|
@@ -6,7 +6,9 @@ import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePr
|
|
|
6
6
|
import { AdaptableScope } from '../../PredefinedConfig/Common/AdaptableScope';
|
|
7
7
|
export declare class FlashingCellApiImpl extends ApiBase implements FlashingCellApi {
|
|
8
8
|
getFlashingCellState(): FlashingCellState;
|
|
9
|
-
getFlashingCellDefinitions(
|
|
9
|
+
getFlashingCellDefinitions(config?: {
|
|
10
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
11
|
+
}): FlashingCellDefinition[];
|
|
10
12
|
mergeFlashingCellDefinitionWithDefaults(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
11
13
|
getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
|
|
12
14
|
getActiveFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
@@ -9,9 +9,10 @@ class FlashingCellApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getFlashingCellState() {
|
|
10
10
|
return this.getAdaptableState().FlashingCell;
|
|
11
11
|
}
|
|
12
|
-
getFlashingCellDefinitions() {
|
|
12
|
+
getFlashingCellDefinitions(config) {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
const flashingCellDefinitions = (_b = (_a = this.getFlashingCellState().FlashingCellDefinitions) === null || _a === void 0 ? void 0 : _a.filter((flashingCellDefinition) =>
|
|
14
|
+
const flashingCellDefinitions = (_b = (_a = this.getFlashingCellState().FlashingCellDefinitions) === null || _a === void 0 ? void 0 : _a.filter((flashingCellDefinition) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
15
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(flashingCellDefinition, 'FlashingCell'))) !== null && _b !== void 0 ? _b : [];
|
|
15
16
|
return flashingCellDefinitions.map((flashingCellDefinition) => {
|
|
16
17
|
return this.mergeFlashingCellDefinitionWithDefaults(flashingCellDefinition);
|
|
17
18
|
});
|
|
@@ -6,7 +6,9 @@ import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
|
6
6
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
7
7
|
export declare class FormatColumnApiImpl extends ApiBase implements FormatColumnApi {
|
|
8
8
|
getFormatColumnState(): FormatColumnState;
|
|
9
|
-
getAllFormatColumn(
|
|
9
|
+
getAllFormatColumn(config?: {
|
|
10
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
11
|
+
}): FormatColumn[];
|
|
10
12
|
getFormatColumnById(id: FormatColumn['Uuid']): FormatColumn;
|
|
11
13
|
getAllActiveFormatColumn(): FormatColumn[];
|
|
12
14
|
getAllSuspendedFormatColumn(): FormatColumn[];
|
|
@@ -12,9 +12,10 @@ class FormatColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
12
12
|
getFormatColumnState() {
|
|
13
13
|
return this.getAdaptableState().FormatColumn;
|
|
14
14
|
}
|
|
15
|
-
getAllFormatColumn() {
|
|
15
|
+
getAllFormatColumn(config) {
|
|
16
16
|
var _a, _b;
|
|
17
|
-
return ((_b = (_a = this.getFormatColumnState().FormatColumns) === null || _a === void 0 ? void 0 : _a.filter((formatColumn) =>
|
|
17
|
+
return ((_b = (_a = this.getFormatColumnState().FormatColumns) === null || _a === void 0 ? void 0 : _a.filter((formatColumn) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
18
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(formatColumn, 'FormatColumn'))) !== null && _b !== void 0 ? _b : []);
|
|
18
19
|
}
|
|
19
20
|
getFormatColumnById(id) {
|
|
20
21
|
return this.getAllFormatColumn().find((formatColumn) => formatColumn.Uuid === id);
|
|
@@ -122,10 +122,13 @@ export declare class InternalApiImpl extends ApiBase implements InternalApi {
|
|
|
122
122
|
executeWithProgressIndicator(label: string, executeFn: () => void): void;
|
|
123
123
|
hideProgressIndicator(): void;
|
|
124
124
|
getCorrectEnglishVariant(wordToSpell: string): string;
|
|
125
|
+
hasLayoutSpecificObjects(): boolean;
|
|
125
126
|
isObjectAvailableInLayout(object: LayoutAssociatedObject, module: AdaptableModule): boolean;
|
|
127
|
+
showLayoutNotAssociatedObjects(): boolean;
|
|
126
128
|
shouldDisplayTagSections(): boolean;
|
|
127
129
|
getAvailableTags(): AdaptableObjectTag[] | undefined;
|
|
128
130
|
private getObjectTags;
|
|
129
131
|
private getLayoutTags;
|
|
130
132
|
dispatchReduxAction(action: Action): void;
|
|
133
|
+
showSettingsPanel(module: AdaptableModule, moduleParams?: ModuleParams): void;
|
|
131
134
|
}
|
|
@@ -469,18 +469,24 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
469
469
|
}
|
|
470
470
|
return wordToSpell;
|
|
471
471
|
}
|
|
472
|
+
hasLayoutSpecificObjects() {
|
|
473
|
+
return (typeof this.adaptable.adaptableOptions.layoutOptions.isObjectAvailableInLayout === 'function');
|
|
474
|
+
}
|
|
472
475
|
isObjectAvailableInLayout(object, module) {
|
|
473
|
-
if (!this.
|
|
476
|
+
if (!this.hasLayoutSpecificObjects()) {
|
|
474
477
|
return true;
|
|
475
478
|
}
|
|
476
479
|
const context = {
|
|
477
|
-
object,
|
|
480
|
+
abObject: object,
|
|
478
481
|
module,
|
|
479
482
|
layout: this.adaptable.api.layoutApi.getCurrentLayout(),
|
|
480
483
|
adaptableApi: this.adaptable.api,
|
|
481
484
|
};
|
|
482
485
|
return this.adaptable.adaptableOptions.layoutOptions.isObjectAvailableInLayout(context);
|
|
483
486
|
}
|
|
487
|
+
showLayoutNotAssociatedObjects() {
|
|
488
|
+
return this.getAdaptableState().System.ShowLayoutNotAssociatedObjects;
|
|
489
|
+
}
|
|
484
490
|
shouldDisplayTagSections() {
|
|
485
491
|
return this.getAvailableTags() != undefined;
|
|
486
492
|
}
|
|
@@ -531,5 +537,9 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
531
537
|
dispatchReduxAction(action) {
|
|
532
538
|
this.dispatchAction(action);
|
|
533
539
|
}
|
|
540
|
+
// doing it this way to avoid having to expose Module Params which is internal
|
|
541
|
+
showSettingsPanel(module, moduleParams) {
|
|
542
|
+
this.showModulePopup(module, moduleParams);
|
|
543
|
+
}
|
|
534
544
|
}
|
|
535
545
|
exports.InternalApiImpl = InternalApiImpl;
|
|
@@ -4,7 +4,9 @@ import { PlusMinusApi } from '../PlusMinusApi';
|
|
|
4
4
|
import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
|
|
5
5
|
export declare class PlusMinusApiImpl extends ApiBase implements PlusMinusApi {
|
|
6
6
|
getPlusMinusState(): PlusMinusState;
|
|
7
|
-
getAllPlusMinus(
|
|
7
|
+
getAllPlusMinus(config?: {
|
|
8
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
9
|
+
}): PlusMinusNudge[];
|
|
8
10
|
getPlusMinusById(id: PlusMinusNudge['Uuid']): PlusMinusNudge;
|
|
9
11
|
getAllActivePlusMinus(): PlusMinusNudge[];
|
|
10
12
|
getAllSuspendedPlusMinus(): PlusMinusNudge[];
|
|
@@ -9,9 +9,10 @@ class PlusMinusApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getPlusMinusState() {
|
|
10
10
|
return this.getAdaptableState().PlusMinus;
|
|
11
11
|
}
|
|
12
|
-
getAllPlusMinus() {
|
|
12
|
+
getAllPlusMinus(config) {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
const layoutSpecificPlusMinusNudges = (_b = (_a = this.getPlusMinusState().PlusMinusNudges) === null || _a === void 0 ? void 0 : _a.filter((plusMinusNudge) =>
|
|
14
|
+
const layoutSpecificPlusMinusNudges = (_b = (_a = this.getPlusMinusState().PlusMinusNudges) === null || _a === void 0 ? void 0 : _a.filter((plusMinusNudge) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
15
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(plusMinusNudge, 'PlusMinus'))) !== null && _b !== void 0 ? _b : [];
|
|
15
16
|
return layoutSpecificPlusMinusNudges.filter((plusMinusNudge) => plusMinusNudge.Rule == undefined || plusMinusNudge.Rule.BooleanExpression != undefined);
|
|
16
17
|
}
|
|
17
18
|
getPlusMinusById(id) {
|
|
@@ -9,7 +9,9 @@ import { ReminderSchedule, ScheduleState } from '../../PredefinedConfig/Schedule
|
|
|
9
9
|
export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
10
10
|
getScheduleState(): ScheduleState;
|
|
11
11
|
getAllSchedule(): BaseSchedule[];
|
|
12
|
-
getAllReminderSchedule(
|
|
12
|
+
getAllReminderSchedule(config?: {
|
|
13
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
14
|
+
}): ReminderSchedule[];
|
|
13
15
|
getScheduleById(id: BaseSchedule['Uuid']): BaseSchedule;
|
|
14
16
|
getAllActiveReminderSchedule(): ReminderSchedule[];
|
|
15
17
|
getAllSuspendedReminderSchedule(): ReminderSchedule[];
|
|
@@ -18,7 +20,9 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
18
20
|
editReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
19
21
|
suspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
20
22
|
unSuspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
|
|
21
|
-
getAllReportSchedule(
|
|
23
|
+
getAllReportSchedule(config?: {
|
|
24
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
25
|
+
}): ReportSchedule[];
|
|
22
26
|
getAllActiveReportSchedule(): ReportSchedule[];
|
|
23
27
|
getAllSuspendedReportSchedule(): ReportSchedule[];
|
|
24
28
|
addReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
@@ -26,7 +30,9 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
26
30
|
deleteReportSchedule(schedule: ReportSchedule): void;
|
|
27
31
|
suspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
28
32
|
unSuspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
|
|
29
|
-
getAllIPushPullSchedule(
|
|
33
|
+
getAllIPushPullSchedule(config?: {
|
|
34
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
35
|
+
}): IPushPullSchedule[];
|
|
30
36
|
getAllActiveIPushPullSchedule(): IPushPullSchedule[];
|
|
31
37
|
getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
|
|
32
38
|
addIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
@@ -34,7 +40,9 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
34
40
|
deleteIPushPullSchedule(schedule: IPushPullSchedule): void;
|
|
35
41
|
suspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
36
42
|
unSuspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
|
|
37
|
-
getAllGlue42Schedule(
|
|
43
|
+
getAllGlue42Schedule(config?: {
|
|
44
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
45
|
+
}): Glue42Schedule[];
|
|
38
46
|
getAllActiveGlue42Schedule(): Glue42Schedule[];
|
|
39
47
|
getAllSuspendedGlue42Schedule(): Glue42Schedule[];
|
|
40
48
|
addGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
@@ -42,7 +50,9 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
|
42
50
|
deleteGlue42Schedule(schedule: Glue42Schedule): void;
|
|
43
51
|
suspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
44
52
|
unSuspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
|
|
45
|
-
getAllOpenFinSchedule(
|
|
53
|
+
getAllOpenFinSchedule(config?: {
|
|
54
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
55
|
+
}): OpenFinSchedule[];
|
|
46
56
|
getAllActiveOpenFinSchedule(): OpenFinSchedule[];
|
|
47
57
|
getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
|
|
48
58
|
addOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
|
|
@@ -18,9 +18,10 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
18
18
|
allSchedules.push(...this.getAllOpenFinSchedule());
|
|
19
19
|
return allSchedules;
|
|
20
20
|
}
|
|
21
|
-
getAllReminderSchedule() {
|
|
21
|
+
getAllReminderSchedule(config) {
|
|
22
22
|
var _a, _b;
|
|
23
|
-
return ((_b = (_a = this.getScheduleState().Reminders) === null || _a === void 0 ? void 0 : _a.filter((schedule) =>
|
|
23
|
+
return ((_b = (_a = this.getScheduleState().Reminders) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
24
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
24
25
|
}
|
|
25
26
|
getScheduleById(id) {
|
|
26
27
|
return this.getAllSchedule().find((schedule) => (schedule === null || schedule === void 0 ? void 0 : schedule.Uuid) === id);
|
|
@@ -50,10 +51,11 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
50
51
|
this.dispatchAction(ScheduleRedux.ReminderScheduleUnSuspend(schedule));
|
|
51
52
|
return this.getScheduleById(schedule.Uuid);
|
|
52
53
|
}
|
|
53
|
-
getAllReportSchedule() {
|
|
54
|
+
getAllReportSchedule(config) {
|
|
54
55
|
var _a, _b;
|
|
55
56
|
return ((_b = (_a = this.adaptable.api.exportApi
|
|
56
|
-
.getReportSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) =>
|
|
57
|
+
.getReportSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
58
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
57
59
|
}
|
|
58
60
|
getAllActiveReportSchedule() {
|
|
59
61
|
return this.getAllReportSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -80,10 +82,11 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
80
82
|
this.dispatchAction(ScheduleRedux.ReportScheduleUnSuspend(schedule));
|
|
81
83
|
return this.getScheduleById(schedule.Uuid);
|
|
82
84
|
}
|
|
83
|
-
getAllIPushPullSchedule() {
|
|
85
|
+
getAllIPushPullSchedule(config) {
|
|
84
86
|
var _a, _b;
|
|
85
87
|
const ippApi = this.adaptable.api.pluginsApi.getipushpullPluginApi();
|
|
86
|
-
return ((_b = (_a = ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) =>
|
|
88
|
+
return ((_b = (_a = ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
89
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
87
90
|
}
|
|
88
91
|
getAllActiveIPushPullSchedule() {
|
|
89
92
|
return this.getAllIPushPullSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -110,10 +113,11 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
110
113
|
this.dispatchAction(ScheduleRedux.IPushPullScheduleUnSuspend(schedule));
|
|
111
114
|
return this.getScheduleById(schedule.Uuid);
|
|
112
115
|
}
|
|
113
|
-
getAllGlue42Schedule() {
|
|
116
|
+
getAllGlue42Schedule(config) {
|
|
114
117
|
var _a, _b;
|
|
115
118
|
const glue42Api = this.adaptable.api.pluginsApi.getGlue42PluginApi();
|
|
116
|
-
return ((_b = (_a = glue42Api === null || glue42Api === void 0 ? void 0 : glue42Api.getGlue42Schedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) =>
|
|
119
|
+
return ((_b = (_a = glue42Api === null || glue42Api === void 0 ? void 0 : glue42Api.getGlue42Schedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
120
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
117
121
|
}
|
|
118
122
|
getAllActiveGlue42Schedule() {
|
|
119
123
|
return this.getAllGlue42Schedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -140,10 +144,11 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
140
144
|
this.dispatchAction(ScheduleRedux.Glue42ScheduleUnSuspend(schedule));
|
|
141
145
|
return this.getScheduleById(schedule.Uuid);
|
|
142
146
|
}
|
|
143
|
-
getAllOpenFinSchedule() {
|
|
147
|
+
getAllOpenFinSchedule(config) {
|
|
144
148
|
var _a, _b;
|
|
145
149
|
const openFinApi = this.adaptable.api.pluginsApi.getOpenFinPluginApi();
|
|
146
|
-
return ((_b = (_a = openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) =>
|
|
150
|
+
return ((_b = (_a = openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules()) === null || _a === void 0 ? void 0 : _a.filter((schedule) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
151
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(schedule, 'Schedule'))) !== null && _b !== void 0 ? _b : []);
|
|
147
152
|
}
|
|
148
153
|
getAllActiveOpenFinSchedule() {
|
|
149
154
|
return this.getAllOpenFinSchedule().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -3,7 +3,9 @@ import { ShortcutApi } from '../ShortcutApi';
|
|
|
3
3
|
import { ShortcutState, Shortcut } from '../../PredefinedConfig/ShortcutState';
|
|
4
4
|
export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
|
|
5
5
|
getShortcutState(): ShortcutState;
|
|
6
|
-
getAllShortcut(
|
|
6
|
+
getAllShortcut(config?: {
|
|
7
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
8
|
+
}): Shortcut[];
|
|
7
9
|
getShortcutById(id: Shortcut['Uuid']): Shortcut;
|
|
8
10
|
getAllActiveShortcut(): Shortcut[];
|
|
9
11
|
getAllSuspendedShortcut(): Shortcut[];
|
|
@@ -9,9 +9,10 @@ class ShortcutApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getShortcutState() {
|
|
10
10
|
return this.getAdaptableState().Shortcut;
|
|
11
11
|
}
|
|
12
|
-
getAllShortcut() {
|
|
12
|
+
getAllShortcut(config) {
|
|
13
13
|
var _a, _b;
|
|
14
|
-
return ((_b = (_a = this.getShortcutState().Shortcuts) === null || _a === void 0 ? void 0 : _a.filter((shortcut) =>
|
|
14
|
+
return ((_b = (_a = this.getShortcutState().Shortcuts) === null || _a === void 0 ? void 0 : _a.filter((shortcut) => (config === null || config === void 0 ? void 0 : config.includeLayoutNotAssociatedObjects) ||
|
|
15
|
+
this.adaptable.api.internalApi.isObjectAvailableInLayout(shortcut, 'Shortcut'))) !== null && _b !== void 0 ? _b : []);
|
|
15
16
|
}
|
|
16
17
|
getShortcutById(id) {
|
|
17
18
|
return this.getAllShortcut().find((shortcut) => (shortcut === null || shortcut === void 0 ? void 0 : shortcut.Uuid) === id);
|
|
@@ -3,11 +3,10 @@ import { ToolPanelApi } from '../ToolPanelApi';
|
|
|
3
3
|
import { ToolPanelState, ToolPanelVisibilityMode } from '../../PredefinedConfig/ToolPanelState';
|
|
4
4
|
import { CustomToolPanel, ToolPanelButtonContext } from '../../AdaptableOptions/ToolPanelOptions';
|
|
5
5
|
import { AdaptableButton } from '../../PredefinedConfig/Common/AdaptableButton';
|
|
6
|
-
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
|
|
7
6
|
import { AdaptableToolPanel } from '../../PredefinedConfig/Common/Types';
|
|
8
7
|
export declare class ToolPanelApiImpl extends ApiBase implements ToolPanelApi {
|
|
9
8
|
getToolPanelState(): ToolPanelState;
|
|
10
|
-
showToolPanelPopup(
|
|
9
|
+
showToolPanelPopup(): void;
|
|
11
10
|
openAdapTableToolPanel(): void;
|
|
12
11
|
closeAdapTableToolPanel(): void;
|
|
13
12
|
getCustomToolPanels(): CustomToolPanel[];
|
|
@@ -9,8 +9,8 @@ class ToolPanelApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
getToolPanelState() {
|
|
10
10
|
return this.getAdaptableState().ToolPanel;
|
|
11
11
|
}
|
|
12
|
-
showToolPanelPopup(
|
|
13
|
-
this.showModulePopup(ModuleConstants.ToolPanelModuleId
|
|
12
|
+
showToolPanelPopup() {
|
|
13
|
+
this.showModulePopup(ModuleConstants.ToolPanelModuleId);
|
|
14
14
|
}
|
|
15
15
|
openAdapTableToolPanel() {
|
|
16
16
|
let gridOptions = this.getOptions().gridOptions;
|
|
@@ -137,12 +137,12 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
137
137
|
let editLookUpValues = editLookUpItem.values;
|
|
138
138
|
// first do the function then get hardcoded items
|
|
139
139
|
if (editLookUpValues != null && typeof editLookUpValues === 'function') {
|
|
140
|
-
const
|
|
140
|
+
const editLookUpContext = {
|
|
141
141
|
adaptableApi: this.adaptable.api,
|
|
142
142
|
column: gridCell.column,
|
|
143
143
|
gridCell: gridCell,
|
|
144
144
|
};
|
|
145
|
-
return editLookUpValues(
|
|
145
|
+
return editLookUpValues(editLookUpContext);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
148
148
|
let arr = editLookUpValues;
|
package/src/Api/InternalApi.d.ts
CHANGED
|
@@ -122,10 +122,13 @@ export interface InternalApi {
|
|
|
122
122
|
destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar' | string): void;
|
|
123
123
|
initializeDataChangeHistory(): void;
|
|
124
124
|
isTextComparisonCaseSensitive(): boolean;
|
|
125
|
+
hasLayoutSpecificObjects(): boolean;
|
|
125
126
|
isObjectAvailableInLayout(object: LayoutAssociatedObject, module: AdaptableModule): boolean;
|
|
127
|
+
showLayoutNotAssociatedObjects(): boolean;
|
|
126
128
|
executeWithProgressIndicator(label: string, executeFn: () => unknown): void;
|
|
127
129
|
hideProgressIndicator(): void;
|
|
128
130
|
getCorrectEnglishVariant(wordToSpell: string): string;
|
|
129
131
|
shouldDisplayTagSections(): boolean;
|
|
130
132
|
getAvailableTags(): AdaptableObjectTag[] | undefined;
|
|
133
|
+
showSettingsPanel(module: AdaptableModule, moduleParams?: ModuleParams): void;
|
|
131
134
|
}
|
|
@@ -12,7 +12,9 @@ export interface PlusMinusApi {
|
|
|
12
12
|
* Retrieves all Plus Minus Rules in Adaptable State with those with expressions first
|
|
13
13
|
* @returns plus minus rule
|
|
14
14
|
*/
|
|
15
|
-
getAllPlusMinus(
|
|
15
|
+
getAllPlusMinus(config?: {
|
|
16
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
17
|
+
}): PlusMinusNudge[];
|
|
16
18
|
/**
|
|
17
19
|
* Retrieves Plus Minus Rule by Id
|
|
18
20
|
* @param id Plus Minus id
|