@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/src/Api/ScheduleApi.d.ts
CHANGED
|
@@ -27,7 +27,9 @@ export interface ScheduleApi {
|
|
|
27
27
|
* Retrieves all Reminder-based Schedules from Schedule State
|
|
28
28
|
* @returns reminder schedules
|
|
29
29
|
*/
|
|
30
|
-
getAllReminderSchedule(
|
|
30
|
+
getAllReminderSchedule(config?: {
|
|
31
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
32
|
+
}): ReminderSchedule[];
|
|
31
33
|
/**
|
|
32
34
|
* Retrieves all active (not-suspended) Reminder-based Schedules from Schedule State
|
|
33
35
|
* @returns reminder schedules
|
|
@@ -71,7 +73,9 @@ export interface ScheduleApi {
|
|
|
71
73
|
* Retrieves all Report / Export Schedules from Schedule State
|
|
72
74
|
* @returns report schedules
|
|
73
75
|
*/
|
|
74
|
-
getAllReportSchedule(
|
|
76
|
+
getAllReportSchedule(config?: {
|
|
77
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
78
|
+
}): ReportSchedule[];
|
|
75
79
|
/**
|
|
76
80
|
* Retrieves all active (not-suspended) Report / Export Schedules from Schedule State
|
|
77
81
|
* @returns report schedules
|
|
@@ -115,7 +119,9 @@ export interface ScheduleApi {
|
|
|
115
119
|
* Retrieves all ipushpull-based Schedules from Schedule State
|
|
116
120
|
* @returns IPushPull schedules
|
|
117
121
|
*/
|
|
118
|
-
getAllIPushPullSchedule(
|
|
122
|
+
getAllIPushPullSchedule(config?: {
|
|
123
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
124
|
+
}): IPushPullSchedule[];
|
|
119
125
|
/**
|
|
120
126
|
* Retrieves all active (not-suspended) ipushpull-based Schedules from Schedule State
|
|
121
127
|
* @returns IPushPull schedules
|
|
@@ -159,7 +165,9 @@ export interface ScheduleApi {
|
|
|
159
165
|
* Retrieves all Glue42-based Schedules from Schedule State
|
|
160
166
|
* @returns Glue42 schedules
|
|
161
167
|
*/
|
|
162
|
-
getAllGlue42Schedule(
|
|
168
|
+
getAllGlue42Schedule(config?: {
|
|
169
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
170
|
+
}): Glue42Schedule[];
|
|
163
171
|
/**
|
|
164
172
|
* Retrieves all active (not-suspended) Glue42-based Schedules from Schedule State
|
|
165
173
|
* @returns Glue42 schedules
|
|
@@ -203,7 +211,9 @@ export interface ScheduleApi {
|
|
|
203
211
|
* Retrieves all OpenFin-based Schedules from Schedule State
|
|
204
212
|
* @returns OpenFin schedules
|
|
205
213
|
*/
|
|
206
|
-
getAllOpenFinSchedule(
|
|
214
|
+
getAllOpenFinSchedule(config?: {
|
|
215
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
216
|
+
}): OpenFinSchedule[];
|
|
207
217
|
/**
|
|
208
218
|
* Retrieves all active (not-suspended) OpenFin-based Schedules from Schedule State
|
|
209
219
|
* @returns OpenFin schedules
|
package/src/Api/ShortcutApi.d.ts
CHANGED
|
@@ -11,7 +11,9 @@ export interface ShortcutApi {
|
|
|
11
11
|
* Gets all Shortcuts in Adaptable State
|
|
12
12
|
* @returns shortcuts
|
|
13
13
|
*/
|
|
14
|
-
getAllShortcut(
|
|
14
|
+
getAllShortcut(config?: {
|
|
15
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
16
|
+
}): Shortcut[];
|
|
15
17
|
/**
|
|
16
18
|
* Retrieves Shortcut by Id
|
|
17
19
|
* @param id Shortcut id
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ToolPanelState, ToolPanelVisibilityMode } from '../PredefinedConfig/ToolPanelState';
|
|
2
2
|
import { CustomToolPanel, ToolPanelButtonContext } from '../AdaptableOptions/ToolPanelOptions';
|
|
3
3
|
import { AdaptableButton } from '../PredefinedConfig/Common/AdaptableButton';
|
|
4
|
-
import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProps';
|
|
5
4
|
import { AdaptableToolPanel } from '../PredefinedConfig/Common/Types';
|
|
6
5
|
/**
|
|
7
6
|
* Functions for managing the AdapTable ToolPanel Component (at side of grid)
|
|
@@ -14,7 +13,7 @@ export interface ToolPanelApi {
|
|
|
14
13
|
/**
|
|
15
14
|
* Opens the Tool Panel popup
|
|
16
15
|
*/
|
|
17
|
-
showToolPanelPopup(
|
|
16
|
+
showToolPanelPopup(): void;
|
|
18
17
|
/**
|
|
19
18
|
* Opens the Adaptable ToolPanel Component
|
|
20
19
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
2
|
+
import { InitialGroupOrderComparatorParams } from '@ag-grid-community/core/dist/cjs/es5/entities/iCallbackParams';
|
|
2
3
|
/**
|
|
3
4
|
* Standard comparer function used to evaluate custom sorts, returns -1, 0, 1 as required
|
|
4
5
|
*/
|
|
@@ -19,4 +20,4 @@ nodeA?: RowNode,
|
|
|
19
20
|
* Second Row Node to compare
|
|
20
21
|
*/
|
|
21
22
|
nodeB?: RowNode) => number;
|
|
22
|
-
export declare type AdaptableNodeComparerFunction = (
|
|
23
|
+
export declare type AdaptableNodeComparerFunction = (params: InitialGroupOrderComparatorParams) => number;
|
|
@@ -59,6 +59,7 @@ export declare const SYSTEM_DATA_CHANGE_HISTORY_DISABLE = "SYSTEM_DATA_CHANGE_HI
|
|
|
59
59
|
export declare const SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = "SYSTEM_DATA_CHANGE_HISTORY_SUSPEND";
|
|
60
60
|
export declare const SYSTEM_DATA_CHANGE_HISTORY_RESUME = "SYSTEM_DATA_CHANGE_HISTORY_RESUME";
|
|
61
61
|
export declare const SYSTEM_SETTINGS_PANEL_SET = "SYSTEM_SETTINGS_PANEL_SET";
|
|
62
|
+
export declare const SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = "SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS";
|
|
62
63
|
export interface SystemHighlightCellAddAction extends Redux.Action {
|
|
63
64
|
cellHighlightInfo: CellHighlightInfo;
|
|
64
65
|
}
|
|
@@ -205,6 +206,9 @@ export interface SystemSettingsPanelSetAction extends Redux.Action {
|
|
|
205
206
|
name: string;
|
|
206
207
|
settings: SystemState['SettingsPanel']['0'];
|
|
207
208
|
}
|
|
209
|
+
export interface SystemLayoutShowNotAssociatedObjectsAction extends Redux.Action {
|
|
210
|
+
showNotAssociatedObjects: boolean;
|
|
211
|
+
}
|
|
208
212
|
export declare const SystemHighlightCellAdd: (cellHighlightInfo: CellHighlightInfo) => SystemHighlightCellAddAction;
|
|
209
213
|
export declare const SystemHighlightCellDelete: (primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']) => SystemHighlightCellDeleteAction;
|
|
210
214
|
export declare const SystemHighlightCellDeleteAll: () => SystemHighlightCellDeleteAllAction;
|
|
@@ -248,4 +252,5 @@ export declare const SystemDataChangeHistoryDisable: () => SystemDataChangeHisto
|
|
|
248
252
|
export declare const SystemDataChangeHistorySuspend: () => SystemDataChangeHistorySuspendAction;
|
|
249
253
|
export declare const SystemDataChangeHistoryResume: () => SystemDataChangeHistoryResumeAction;
|
|
250
254
|
export declare const SystemSettingsPanelSet: (name: string, settings: SystemState['SettingsPanel']['0']) => SystemSettingsPanelSetAction;
|
|
255
|
+
export declare const SystemLayoutShowNotAssociatedObjects: (showNotAssociatedObjects: boolean) => SystemLayoutShowNotAssociatedObjectsAction;
|
|
251
256
|
export declare const SystemReducer: Redux.Reducer<SystemState>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SystemReducer = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
|
|
3
|
+
exports.SystemReducer = exports.SystemLayoutShowNotAssociatedObjects = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
|
|
4
4
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
5
5
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
6
6
|
const Helper_1 = require("../../Utilities/Helpers/Helper");
|
|
@@ -68,6 +68,7 @@ exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = 'SYSTEM_DATA_CHANGE_HISTORY_SUSPEND
|
|
|
68
68
|
exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = 'SYSTEM_DATA_CHANGE_HISTORY_RESUME';
|
|
69
69
|
// Settings panel
|
|
70
70
|
exports.SYSTEM_SETTINGS_PANEL_SET = 'SYSTEM_SETTINGS_PANEL_SET';
|
|
71
|
+
exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = 'SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS';
|
|
71
72
|
exports.SystemHighlightCellAdd = (cellHighlightInfo) => ({
|
|
72
73
|
type: exports.SYSTEM_HIGHLIGHT_CELL_ADD,
|
|
73
74
|
cellHighlightInfo: cellHighlightInfo,
|
|
@@ -233,6 +234,10 @@ exports.SystemSettingsPanelSet = (name, settings) => ({
|
|
|
233
234
|
name,
|
|
234
235
|
settings,
|
|
235
236
|
});
|
|
237
|
+
exports.SystemLayoutShowNotAssociatedObjects = (showNotAssociatedObjects) => ({
|
|
238
|
+
type: exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS,
|
|
239
|
+
showNotAssociatedObjects,
|
|
240
|
+
});
|
|
236
241
|
const initialState = {
|
|
237
242
|
AdaptableAlerts: GeneralConstants_1.EMPTY_ARRAY,
|
|
238
243
|
AdaptableFlashingCells: {},
|
|
@@ -264,6 +269,7 @@ const initialState = {
|
|
|
264
269
|
suspendTime: null,
|
|
265
270
|
},
|
|
266
271
|
SettingsPanel: {},
|
|
272
|
+
ShowLayoutNotAssociatedObjects: false,
|
|
267
273
|
};
|
|
268
274
|
exports.SystemReducer = (state = initialState, action) => {
|
|
269
275
|
let alerts;
|
|
@@ -548,6 +554,10 @@ exports.SystemReducer = (state = initialState, action) => {
|
|
|
548
554
|
const setSettingsAction = action;
|
|
549
555
|
return Object.assign(Object.assign({}, state), { SettingsPanel: Object.assign(Object.assign({}, state === null || state === void 0 ? void 0 : state.SettingsPanel), { [setSettingsAction.name]: setSettingsAction.settings }) });
|
|
550
556
|
}
|
|
557
|
+
case exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS: {
|
|
558
|
+
const typedAction = action;
|
|
559
|
+
return Object.assign(Object.assign({}, state), { ShowLayoutNotAssociatedObjects: typedAction.showNotAssociatedObjects });
|
|
560
|
+
}
|
|
551
561
|
default:
|
|
552
562
|
return state;
|
|
553
563
|
}
|
|
@@ -50,6 +50,11 @@ export declare abstract class AdaptableModuleBase implements IModule {
|
|
|
50
50
|
getModuleFreeTextColumnReferences(): FreeTextColumn[];
|
|
51
51
|
getTeamSharingReferences(adaptableObject: AdaptableObject): TeamSharingReferences;
|
|
52
52
|
getPopupMaxWidth(): number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* TRUE for objects of type {@link LayoutAssociatedObject}
|
|
55
|
+
*/
|
|
56
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
57
|
+
showLayoutNotAssociatedObjects(): boolean;
|
|
53
58
|
private getFriendlyName;
|
|
54
59
|
private hasRequiredAccessLevel;
|
|
55
60
|
}
|
|
@@ -222,6 +222,15 @@ class AdaptableModuleBase {
|
|
|
222
222
|
// it allows every module to define a specific popup width
|
|
223
223
|
return undefined;
|
|
224
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* TRUE for objects of type {@link LayoutAssociatedObject}
|
|
227
|
+
*/
|
|
228
|
+
canBeAssociatedWithLayouts() {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
showLayoutNotAssociatedObjects() {
|
|
232
|
+
return this.api.internalApi.showLayoutNotAssociatedObjects();
|
|
233
|
+
}
|
|
225
234
|
getFriendlyName(module, friendlyName) {
|
|
226
235
|
let returnValue = friendlyName;
|
|
227
236
|
let generalOptions = this.api.internalApi.getAdaptableOptions().generalOptions;
|
|
@@ -9,7 +9,9 @@ import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
|
9
9
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
10
10
|
export declare class AlertModule extends AdaptableModuleBase implements IModule {
|
|
11
11
|
constructor(api: AdaptableApi);
|
|
12
|
-
getModuleAdaptableObjects(
|
|
12
|
+
getModuleAdaptableObjects(config?: {
|
|
13
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
14
|
+
}): AdaptableObject[];
|
|
13
15
|
getExplicitlyReferencedColumnIds(alertDefinition: AlertDefinition): string[];
|
|
14
16
|
getReferencedNamedQueryNames(alertDefinition: AlertDefinition): string[];
|
|
15
17
|
updateOldConfig(): void;
|
|
@@ -38,4 +40,5 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
|
|
|
38
40
|
view: () => JSX.Element;
|
|
39
41
|
};
|
|
40
42
|
};
|
|
43
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
41
44
|
}
|
|
@@ -51,8 +51,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
51
51
|
.getAlertService()
|
|
52
52
|
.onReactiveAlertTriggered((reactiveAlertInfo) => this.handleReactiveAlertTriggered(reactiveAlertInfo));
|
|
53
53
|
}
|
|
54
|
-
getModuleAdaptableObjects() {
|
|
55
|
-
return this.api.alertApi.getAlertDefinitions();
|
|
54
|
+
getModuleAdaptableObjects(config) {
|
|
55
|
+
return this.api.alertApi.getAlertDefinitions(config);
|
|
56
56
|
}
|
|
57
57
|
getExplicitlyReferencedColumnIds(alertDefinition) {
|
|
58
58
|
const queryExpression = this.api.queryLanguageApi.getAdaptableQueryExpression(alertDefinition.Rule);
|
|
@@ -249,7 +249,7 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
249
249
|
items: [
|
|
250
250
|
getScopeViewItems_1.getScopeViewItems(alert.Scope, this.api),
|
|
251
251
|
getRuleViewItems_1.getRuleViewItems(alert.Rule, this.api),
|
|
252
|
-
getAlertBehaviourViewItems_1.getAlertBehaviourViewItems(),
|
|
252
|
+
getAlertBehaviourViewItems_1.getAlertBehaviourViewItems(this.api),
|
|
253
253
|
getAlertPreviewViewItems_1.getAlertPreviewViewItems(alert, this.api),
|
|
254
254
|
getObjectTagsViewItems_1.getObjectTagsViewItems(alert, this.api),
|
|
255
255
|
],
|
|
@@ -257,7 +257,9 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
toViewAll() {
|
|
260
|
-
return this.
|
|
260
|
+
return this.getModuleAdaptableObjects({
|
|
261
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
262
|
+
}).map((alert) => this.toView(alert));
|
|
261
263
|
}
|
|
262
264
|
getViewProperties() {
|
|
263
265
|
return {
|
|
@@ -273,5 +275,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
273
275
|
},
|
|
274
276
|
};
|
|
275
277
|
}
|
|
278
|
+
canBeAssociatedWithLayouts() {
|
|
279
|
+
return true;
|
|
280
|
+
}
|
|
276
281
|
}
|
|
277
282
|
exports.AlertModule = AlertModule;
|
|
@@ -11,7 +11,9 @@ import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
|
11
11
|
import { AdaptableObjectView } from './Interface/IModule';
|
|
12
12
|
export declare class ConditionalStyleModule extends AdaptableModuleBase implements IConditionalStyleModule {
|
|
13
13
|
constructor(api: AdaptableApi);
|
|
14
|
-
getModuleAdaptableObjects(
|
|
14
|
+
getModuleAdaptableObjects(config?: {
|
|
15
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
16
|
+
}): AdaptableObject[];
|
|
15
17
|
getExplicitlyReferencedColumnIds(conditionalStyle: ConditionalStyle): string[];
|
|
16
18
|
getReferencedNamedQueryNames(conditionalStyle: ConditionalStyle): string[];
|
|
17
19
|
updateOldConfig(): void;
|
|
@@ -31,4 +33,5 @@ export declare class ConditionalStyleModule extends AdaptableModuleBase implemen
|
|
|
31
33
|
emptyView: string;
|
|
32
34
|
getEditWizard(): import("react").FunctionComponent<import("../View/ConditionalStyle/Wizard/ConditionalStyleWizard").ConditionalStyleWizardProps>;
|
|
33
35
|
};
|
|
36
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
34
37
|
}
|
|
@@ -17,8 +17,8 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
17
17
|
constructor(api) {
|
|
18
18
|
super(ModuleConstants.ConditionalStyleModuleId, 'Conditional Style', 'conditional-style', 'ConditionalStylePopup', 'Style columns and rows dynamically based on rules and cell values', api);
|
|
19
19
|
}
|
|
20
|
-
getModuleAdaptableObjects() {
|
|
21
|
-
return this.api.conditionalStyleApi.getAllConditionalStyle();
|
|
20
|
+
getModuleAdaptableObjects(config) {
|
|
21
|
+
return this.api.conditionalStyleApi.getAllConditionalStyle(config);
|
|
22
22
|
}
|
|
23
23
|
getExplicitlyReferencedColumnIds(conditionalStyle) {
|
|
24
24
|
if (conditionalStyle.Rule.BooleanExpression) {
|
|
@@ -203,7 +203,9 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
toViewAll() {
|
|
206
|
-
return this.getModuleAdaptableObjects(
|
|
206
|
+
return this.getModuleAdaptableObjects({
|
|
207
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
208
|
+
}).map((conditionalStyle) => this.toView(conditionalStyle));
|
|
207
209
|
}
|
|
208
210
|
getViewProperties() {
|
|
209
211
|
return {
|
|
@@ -216,5 +218,8 @@ class ConditionalStyleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
216
218
|
},
|
|
217
219
|
};
|
|
218
220
|
}
|
|
221
|
+
canBeAssociatedWithLayouts() {
|
|
222
|
+
return true;
|
|
223
|
+
}
|
|
219
224
|
}
|
|
220
225
|
exports.ConditionalStyleModule = ConditionalStyleModule;
|
|
@@ -10,7 +10,9 @@ import { AdaptableApi } from '../Api/AdaptableApi';
|
|
|
10
10
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
11
11
|
export declare class CustomSortModule extends AdaptableModuleBase implements IModule {
|
|
12
12
|
constructor(api: AdaptableApi);
|
|
13
|
-
getModuleAdaptableObjects(
|
|
13
|
+
getModuleAdaptableObjects(config?: {
|
|
14
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
15
|
+
}): AdaptableObject[];
|
|
14
16
|
getExplicitlyReferencedColumnIds(customSort: CustomSort): string[];
|
|
15
17
|
hasNamedQueryReferences(): boolean;
|
|
16
18
|
addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
|
|
@@ -24,4 +26,5 @@ export declare class CustomSortModule extends AdaptableModuleBase implements IMo
|
|
|
24
26
|
emptyView: string;
|
|
25
27
|
getEditWizard(): (props: import("../View/CustomSort/Wizard/CustomSortWizard").CustomSortWizardProps) => JSX.Element;
|
|
26
28
|
};
|
|
29
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
27
30
|
}
|
|
@@ -13,8 +13,8 @@ class CustomSortModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
13
13
|
constructor(api) {
|
|
14
14
|
super(ModuleConstants.CustomSortModuleId, 'Custom Sort', 'custom-sort', 'CustomSortPopup', 'Provide bespoke sorting information for Columns (in place of alphabetical sorting)', api);
|
|
15
15
|
}
|
|
16
|
-
getModuleAdaptableObjects() {
|
|
17
|
-
return this.api.customSortApi.getAllCustomSort();
|
|
16
|
+
getModuleAdaptableObjects(config) {
|
|
17
|
+
return this.api.customSortApi.getAllCustomSort(config);
|
|
18
18
|
}
|
|
19
19
|
getExplicitlyReferencedColumnIds(customSort) {
|
|
20
20
|
return [customSort.ColumnId];
|
|
@@ -61,7 +61,9 @@ class CustomSortModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
toViewAll() {
|
|
64
|
-
return this.getModuleAdaptableObjects(
|
|
64
|
+
return this.getModuleAdaptableObjects({
|
|
65
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
66
|
+
}).map((customSort) => this.toView(customSort));
|
|
65
67
|
}
|
|
66
68
|
getViewProperties() {
|
|
67
69
|
return {
|
|
@@ -74,5 +76,8 @@ class CustomSortModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
74
76
|
},
|
|
75
77
|
};
|
|
76
78
|
}
|
|
79
|
+
canBeAssociatedWithLayouts() {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
77
82
|
}
|
|
78
83
|
exports.CustomSortModule = CustomSortModule;
|
|
@@ -11,7 +11,9 @@ import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
|
11
11
|
import { FlashingCellDefinition } from '../PredefinedConfig/FlashingCellState';
|
|
12
12
|
export declare class FlashingCellModule extends AdaptableModuleBase implements IModule {
|
|
13
13
|
constructor(api: AdaptableApi);
|
|
14
|
-
getModuleAdaptableObjects(
|
|
14
|
+
getModuleAdaptableObjects(config?: {
|
|
15
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
16
|
+
}): AdaptableObject[];
|
|
15
17
|
getExplicitlyReferencedColumnIds(alertDefinition: FlashingCellDefinition): string[];
|
|
16
18
|
getReferencedNamedQueryNames(alertDefinition: FlashingCellDefinition): string[];
|
|
17
19
|
addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
|
|
@@ -30,4 +32,5 @@ export declare class FlashingCellModule extends AdaptableModuleBase implements I
|
|
|
30
32
|
getDeleteAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionDeleteAction;
|
|
31
33
|
getEditWizard: () => (props: import("../View/FlashingCell/Wizard/FlashingCellWizard").FlashingCellWizardProps) => JSX.Element;
|
|
32
34
|
};
|
|
35
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
33
36
|
}
|
|
@@ -41,8 +41,8 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
41
41
|
this.handleDataSourceChanged(cellDataChangedInfo);
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
getModuleAdaptableObjects() {
|
|
45
|
-
return this.api.flashingCellApi.getFlashingCellDefinitions();
|
|
44
|
+
getModuleAdaptableObjects(config) {
|
|
45
|
+
return this.api.flashingCellApi.getFlashingCellDefinitions(config);
|
|
46
46
|
}
|
|
47
47
|
getExplicitlyReferencedColumnIds(alertDefinition) {
|
|
48
48
|
const queryExpression = this.api.queryLanguageApi.getAdaptableQueryExpression(alertDefinition.Rule);
|
|
@@ -227,9 +227,9 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
toViewAll() {
|
|
230
|
-
return this.
|
|
231
|
-
.
|
|
232
|
-
|
|
230
|
+
return this.getModuleAdaptableObjects({
|
|
231
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
232
|
+
}).map((flashingCell) => this.toView(flashingCell));
|
|
233
233
|
}
|
|
234
234
|
getViewProperties() {
|
|
235
235
|
return {
|
|
@@ -239,5 +239,8 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
239
239
|
getEditWizard: () => FlashingCellWizard_1.FlashingCellWizard,
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
+
canBeAssociatedWithLayouts() {
|
|
243
|
+
return true;
|
|
244
|
+
}
|
|
242
245
|
}
|
|
243
246
|
exports.FlashingCellModule = FlashingCellModule;
|
|
@@ -10,7 +10,9 @@ import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
|
10
10
|
import { FormatColumnWizard } from '../View/FormatColumn/Wizard/FormatColumnWizard';
|
|
11
11
|
export declare class FormatColumnModule extends AdaptableModuleBase implements IModule {
|
|
12
12
|
constructor(api: AdaptableApi);
|
|
13
|
-
getModuleAdaptableObjects(
|
|
13
|
+
getModuleAdaptableObjects(config?: {
|
|
14
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
15
|
+
}): AdaptableObject[];
|
|
14
16
|
getExplicitlyReferencedColumnIds(formatColumn: FormatColumn): string[];
|
|
15
17
|
hasNamedQueryReferences(): boolean;
|
|
16
18
|
updateOldConfig(): void;
|
|
@@ -25,4 +27,5 @@ export declare class FormatColumnModule extends AdaptableModuleBase implements I
|
|
|
25
27
|
getUnSuspendAction: (formatColumn: FormatColumn) => FormatColumnRedux.FormatColumnSuspendAction;
|
|
26
28
|
getEditWizard(): typeof FormatColumnWizard;
|
|
27
29
|
};
|
|
30
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
28
31
|
}
|
|
@@ -38,8 +38,8 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
getModuleAdaptableObjects() {
|
|
42
|
-
return this.api.formatColumnApi.getAllFormatColumn();
|
|
41
|
+
getModuleAdaptableObjects(config) {
|
|
42
|
+
return this.api.formatColumnApi.getAllFormatColumn(config);
|
|
43
43
|
}
|
|
44
44
|
getExplicitlyReferencedColumnIds(formatColumn) {
|
|
45
45
|
if (this.api.scopeApi.scopeHasColumns(formatColumn.Scope)) {
|
|
@@ -255,7 +255,9 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
toViewAll() {
|
|
258
|
-
return this.getModuleAdaptableObjects(
|
|
258
|
+
return this.getModuleAdaptableObjects({
|
|
259
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
260
|
+
}).map((formatColumn) => this.toView(formatColumn));
|
|
259
261
|
}
|
|
260
262
|
getViewProperties() {
|
|
261
263
|
return {
|
|
@@ -267,5 +269,8 @@ class FormatColumnModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
267
269
|
},
|
|
268
270
|
};
|
|
269
271
|
}
|
|
272
|
+
canBeAssociatedWithLayouts() {
|
|
273
|
+
return true;
|
|
274
|
+
}
|
|
270
275
|
}
|
|
271
276
|
exports.FormatColumnModule = FormatColumnModule;
|
|
@@ -122,6 +122,7 @@ export interface IModule {
|
|
|
122
122
|
getModuleCalculatedColumnReferences(): CalculatedColumn[];
|
|
123
123
|
getModuleFreeTextColumnReferences(): FreeTextColumn[];
|
|
124
124
|
getPopupMaxWidth(): number | undefined;
|
|
125
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
125
126
|
updateOldConfig(): void;
|
|
126
127
|
/**
|
|
127
128
|
* The following view options are used to render adaptable objects and
|
|
@@ -14,7 +14,9 @@ export declare class PlusMinusModule extends AdaptableModuleBase implements IPlu
|
|
|
14
14
|
private shouldHandleKeyDown;
|
|
15
15
|
private adaptable;
|
|
16
16
|
constructor(api: AdaptableApi);
|
|
17
|
-
getModuleAdaptableObjects(
|
|
17
|
+
getModuleAdaptableObjects(config?: {
|
|
18
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
19
|
+
}): AdaptableObject[];
|
|
18
20
|
getExplicitlyReferencedColumnIds(plusMinusNudge: PlusMinusNudge): string[];
|
|
19
21
|
getReferencedNamedQueryNames(plusMinusNudge: PlusMinusNudge): string[];
|
|
20
22
|
handleAdaptableReady(): void;
|
|
@@ -34,4 +36,5 @@ export declare class PlusMinusModule extends AdaptableModuleBase implements IPlu
|
|
|
34
36
|
getUnSuspendAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeUnSuspendAction;
|
|
35
37
|
getEditWizard(): import("react").FunctionComponent<import("../View/PlusMinus/Wizard/PlusMinusWizard").PlusMinusWizardProps>;
|
|
36
38
|
};
|
|
39
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
37
40
|
}
|
|
@@ -19,8 +19,8 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
19
19
|
this.shouldHandleKeyDown = false;
|
|
20
20
|
this.adaptable = api.internalApi.getAdaptableInstance();
|
|
21
21
|
}
|
|
22
|
-
getModuleAdaptableObjects() {
|
|
23
|
-
return this.api.plusMinusApi.getAllPlusMinus();
|
|
22
|
+
getModuleAdaptableObjects(config) {
|
|
23
|
+
return this.api.plusMinusApi.getAllPlusMinus(config);
|
|
24
24
|
}
|
|
25
25
|
getExplicitlyReferencedColumnIds(plusMinusNudge) {
|
|
26
26
|
if (this.api.scopeApi.scopeHasColumns(plusMinusNudge.Scope)) {
|
|
@@ -204,7 +204,9 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
toViewAll() {
|
|
207
|
-
return this.getModuleAdaptableObjects(
|
|
207
|
+
return this.getModuleAdaptableObjects({
|
|
208
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
209
|
+
}).map((plusMinus) => this.toView(plusMinus));
|
|
208
210
|
}
|
|
209
211
|
getViewProperties() {
|
|
210
212
|
return {
|
|
@@ -216,5 +218,8 @@ class PlusMinusModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
216
218
|
},
|
|
217
219
|
};
|
|
218
220
|
}
|
|
221
|
+
canBeAssociatedWithLayouts() {
|
|
222
|
+
return true;
|
|
223
|
+
}
|
|
219
224
|
}
|
|
220
225
|
exports.PlusMinusModule = PlusMinusModule;
|
|
@@ -14,7 +14,9 @@ export declare class ScheduleModule extends AdaptableModuleBase implements ISche
|
|
|
14
14
|
private addMidnightRefreshSchedule;
|
|
15
15
|
private getDateFromSchedule;
|
|
16
16
|
private clearAllJobs;
|
|
17
|
-
getModuleAdaptableObjects(
|
|
17
|
+
getModuleAdaptableObjects(config?: {
|
|
18
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
19
|
+
}): BaseSchedule[];
|
|
18
20
|
toView(schedule: BaseSchedule): AdaptableObjectView;
|
|
19
21
|
toViewAll(): AdaptableObjectView[];
|
|
20
22
|
getViewProperties(): {
|
|
@@ -27,4 +29,5 @@ export declare class ScheduleModule extends AdaptableModuleBase implements ISche
|
|
|
27
29
|
getUnSuspendAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleUnSuspendAction | ScheduleRedux.OpenFinScheduleUnSuspendAction | ScheduleRedux.IPushPullScheduleUnSuspendAction | ScheduleRedux.ReminderScheduleUnSuspendAction | ScheduleRedux.ReportScheduleUnSuspendAction;
|
|
28
30
|
getEditWizard(): import("react").FunctionComponent<import("../View/Schedule/Wizard/ScheduleWizard").ScheduleWizardProps>;
|
|
29
31
|
};
|
|
32
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
30
33
|
}
|
|
@@ -121,20 +121,20 @@ class ScheduleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
121
121
|
});
|
|
122
122
|
this.scheduleJobs = [];
|
|
123
123
|
}
|
|
124
|
-
getModuleAdaptableObjects() {
|
|
124
|
+
getModuleAdaptableObjects(config) {
|
|
125
125
|
const entitlementService = this.api.internalApi.getEntitlementService();
|
|
126
126
|
const accessLevel = entitlementService.getEntitlementAccessLevelForModule(this.moduleInfo.ModuleName);
|
|
127
127
|
const exportAcessLevel = entitlementService.getEntitlementAccessLevelForModule(ModuleConstants.ExportModuleId);
|
|
128
128
|
let allSchedules = [];
|
|
129
129
|
if (accessLevel !== 'Hidden') {
|
|
130
|
-
allSchedules.push(...this.api.scheduleApi.getAllReminderSchedule());
|
|
130
|
+
allSchedules.push(...this.api.scheduleApi.getAllReminderSchedule(config));
|
|
131
131
|
}
|
|
132
132
|
if (exportAcessLevel !== 'Hidden') {
|
|
133
|
-
allSchedules.push(...this.api.scheduleApi.getAllReportSchedule());
|
|
133
|
+
allSchedules.push(...this.api.scheduleApi.getAllReportSchedule(config));
|
|
134
134
|
}
|
|
135
|
-
allSchedules.push(...this.api.scheduleApi.getAllIPushPullSchedule());
|
|
136
|
-
allSchedules.push(...this.api.scheduleApi.getAllGlue42Schedule());
|
|
137
|
-
allSchedules.push(...this.api.scheduleApi.getAllOpenFinSchedule());
|
|
135
|
+
allSchedules.push(...this.api.scheduleApi.getAllIPushPullSchedule(config));
|
|
136
|
+
allSchedules.push(...this.api.scheduleApi.getAllGlue42Schedule(config));
|
|
137
|
+
allSchedules.push(...this.api.scheduleApi.getAllOpenFinSchedule(config));
|
|
138
138
|
return allSchedules;
|
|
139
139
|
}
|
|
140
140
|
toView(schedule) {
|
|
@@ -154,7 +154,9 @@ class ScheduleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
toViewAll() {
|
|
157
|
-
return this.getModuleAdaptableObjects(
|
|
157
|
+
return this.getModuleAdaptableObjects({
|
|
158
|
+
includeLayoutNotAssociatedObjects: this.showLayoutNotAssociatedObjects(),
|
|
159
|
+
}).map((schedule) => this.toView(schedule));
|
|
158
160
|
}
|
|
159
161
|
getViewProperties() {
|
|
160
162
|
const entitlementService = this.api.internalApi.getEntitlementService();
|
|
@@ -264,5 +266,8 @@ class ScheduleModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
264
266
|
},
|
|
265
267
|
};
|
|
266
268
|
}
|
|
269
|
+
canBeAssociatedWithLayouts() {
|
|
270
|
+
return true;
|
|
271
|
+
}
|
|
267
272
|
}
|
|
268
273
|
exports.ScheduleModule = ScheduleModule;
|
|
@@ -11,7 +11,9 @@ export declare class ShortcutModule extends AdaptableModuleBase implements IShor
|
|
|
11
11
|
private shouldHandleKeyDown;
|
|
12
12
|
private adaptable;
|
|
13
13
|
constructor(api: AdaptableApi);
|
|
14
|
-
getModuleAdaptableObjects(
|
|
14
|
+
getModuleAdaptableObjects(config?: {
|
|
15
|
+
includeLayoutNotAssociatedObjects?: boolean;
|
|
16
|
+
}): AdaptableObject[];
|
|
15
17
|
hasNamedQueryReferences(): boolean;
|
|
16
18
|
getTeamSharingAction(): TeamSharingImportInfo<Shortcut>;
|
|
17
19
|
handleAdaptableReady(): void;
|
|
@@ -26,4 +28,5 @@ export declare class ShortcutModule extends AdaptableModuleBase implements IShor
|
|
|
26
28
|
getUnSuspendAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
|
|
27
29
|
getEditWizard(): import("react").FunctionComponent<import("../View/Shortcut/Wizard/ShortcutWizard").ShortcutWizardProps>;
|
|
28
30
|
};
|
|
31
|
+
canBeAssociatedWithLayouts(): boolean;
|
|
29
32
|
}
|