@adaptabletools/adaptable 10.0.4-canary.5 → 11.0.0-canary.3
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/base.css +19 -15
- package/bundle.cjs.js +121 -115
- package/index.css +20 -17
- package/package.json +32 -32
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +9 -4
- package/src/AdaptableOptions/AdaptableOptions.d.ts +13 -2
- package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
- package/src/AdaptableOptions/DashboardOptions.d.ts +7 -9
- package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
- package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
- package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -7
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +14 -2
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -15
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -0
- package/src/Api/AdaptableApi.d.ts +6 -6
- package/src/Api/ChartingApi.d.ts +9 -0
- package/src/Api/{ChartApi.js → ChartingApi.js} +0 -0
- package/src/Api/ColumnApi.d.ts +11 -1
- package/src/Api/ConfigApi.d.ts +0 -12
- package/src/Api/EventApi.d.ts +3 -3
- package/src/Api/Events/AdaptableReady.d.ts +1 -1
- package/src/Api/Events/FlashingCellDisplayed.d.ts +2 -2
- package/src/Api/Events/SearchChanged.d.ts +1 -1
- package/src/Api/FlashingCellApi.d.ts +35 -24
- package/src/Api/GridApi.d.ts +3 -3
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -2
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
- package/src/Api/Implementation/ChartingApiImpl.js +10 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ColumnApiImpl.js +9 -3
- package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
- package/src/Api/Implementation/ConfigApiImpl.js +0 -16
- package/src/Api/Implementation/DashboardApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +8 -4
- package/src/Api/Implementation/FlashingCellApiImpl.js +42 -29
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
- package/src/Api/Implementation/GridApiImpl.js +5 -1
- package/src/Api/Implementation/InternalApiImpl.d.ts +0 -5
- package/src/Api/Implementation/InternalApiImpl.js +1 -15
- package/src/Api/Implementation/LayoutApiImpl.js +1 -1
- package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
- package/src/Api/Implementation/PluginsApiImpl.js +0 -6
- package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
- package/src/Api/Implementation/QueryApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/InternalApi.d.ts +0 -5
- package/src/Api/PluginsApi.d.ts +0 -2
- package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Enums.js +1 -0
- package/src/PredefinedConfig/Common/Menu.d.ts +15 -19
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +0 -2
- package/src/PredefinedConfig/DashboardState.d.ts +4 -4
- package/src/PredefinedConfig/FlashingCellState.d.ts +16 -20
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
- package/src/PredefinedConfig/SystemState.d.ts +0 -4
- package/src/PredefinedConfig/ThemeState.d.ts +2 -1
- package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +2 -12
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +0 -2
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +0 -12
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -21
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
- package/src/Redux/Store/AdaptableStore.js +21 -21
- package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
- package/src/Strategy/AdaptableModuleBase.js +0 -3
- package/src/Strategy/AlertModule.js +2 -2
- package/src/Strategy/CalculatedColumnModule.js +17 -12
- package/src/Strategy/ChartingModule.d.ts +7 -0
- package/src/Strategy/ChartingModule.js +15 -0
- package/src/Strategy/ConditionalStyleModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/FilterModule.js +3 -2
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.js +35 -19
- package/src/Strategy/FormatColumnModule.js +2 -2
- package/src/Strategy/Interface/IModule.d.ts +0 -1
- package/src/Strategy/LayoutModule.js +15 -3
- package/src/Strategy/QueryModule.d.ts +1 -1
- package/src/Strategy/QueryModule.js +1 -3
- package/src/Strategy/SetingsPanelModule.d.ts +1 -0
- package/src/Strategy/SetingsPanelModule.js +7 -1
- package/src/Strategy/TeamSharingModule.js +1 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +11 -0
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
- package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
- package/src/Utilities/Constants/ConfigConstants.js +1 -2
- package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
- package/src/Utilities/Constants/GeneralConstants.js +1 -12
- package/src/Utilities/Constants/ModuleConstants.d.ts +1 -2
- package/src/Utilities/Constants/ModuleConstants.js +2 -3
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -18
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +2 -1
- package/src/Utilities/ExpressionFunctions/aggregationExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +4 -4
- package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
- package/src/Utilities/ObjectFactory.d.ts +0 -10
- package/src/Utilities/ObjectFactory.js +6 -67
- package/src/Utilities/Services/EntitlementService.js +1 -1
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +7 -11
- package/src/Utilities/Services/ReportService.js +1 -1
- package/src/View/AdaptableView.js +2 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +3 -3
- package/src/View/AdaptableWizardView/index.js +1 -1
- package/src/View/Alert/AlertEmptyView.js +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertWizard.js +3 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +0 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +11 -24
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +16 -4
- package/src/View/Components/FilterForm/QuickFilterForm.js +2 -2
- package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
- package/src/View/Components/ModuleValueSelector/index.js +1 -1
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +9 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +3 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +19 -6
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
- package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +46 -81
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +11 -4
- package/src/View/Components/ValueSelector/index.d.ts +2 -0
- package/src/View/Components/ValueSelector/index.js +5 -5
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +10 -5
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +16 -4
- package/src/View/Dashboard/Dashboard.js +14 -36
- package/src/View/Dashboard/DashboardPopup.js +24 -16
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -2
- package/src/View/Export/Wizard/NewReportWizard.js +13 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +17 -26
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +19 -2
- package/src/View/FlashingCell/Wizard/{FlashingCellDurationWizardSection.d.ts → FlashingCellSettingsWizardSection.d.ts} +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +81 -0
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +6 -8
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +10 -5
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +8 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +13 -5
- package/src/View/GridInfo/GridInfoPopup.js +3 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
- package/src/View/Query/QueryViewPanel.js +12 -9
- package/src/View/Query/Wizard/NamedQueryWizard.js +13 -8
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
- package/src/View/Shortcut/shortcutKeys.js +0 -1
- package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
- package/src/View/SpecialColumnSettingsWizardStep.js +63 -0
- package/src/View/UIHelper.d.ts +0 -4
- package/src/View/UIHelper.js +1 -34
- package/src/View/Wizard/AdaptableWizard.js +1 -1
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -0
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
- package/src/agGrid/Adaptable.d.ts +10 -7
- package/src/agGrid/Adaptable.js +80 -57
- package/src/agGrid/agGridHelper.d.ts +1 -2
- package/src/agGrid/agGridHelper.js +8 -5
- package/src/agGrid/agGridMenuHelper.js +12 -8
- package/src/components/ApplicationIcon.d.ts +1 -1
- package/src/components/Dashboard/Dashboard.js +1 -1
- package/src/components/Dashboard/DashboardManager.d.ts +5 -3
- package/src/components/Dashboard/DashboardManager.js +33 -27
- package/src/components/DropdownButton/renderItem.js +1 -1
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/Overlay.js +1 -1
- package/src/components/WindowModal/WindowModal.js +17 -2
- package/src/components/icons/column-add.d.ts +3 -0
- package/src/components/icons/column-add.js +10 -0
- package/src/components/icons/index.js +2 -0
- package/src/components/utils/useDraggable.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +58 -91
- package/src/metamodel/adaptable.metamodel.js +248 -297
- package/src/types.d.ts +4 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
- package/src/Api/ChartApi.d.ts +0 -20
- package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
- package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
- package/src/Api/SparklineColumnApi.d.ts +0 -23
- package/src/Api/SparklineColumnApi.js +0 -2
- package/src/PredefinedConfig/ChartState.d.ts +0 -144
- package/src/PredefinedConfig/ChartState.js +0 -2
- package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
- package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
- package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
- package/src/PredefinedConfig/SparklineColumnState.js +0 -2
- package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
- package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
- package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
- package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
- package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
- package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
- package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
- package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
- package/src/View/Components/Popups/AdaptableChart.js +0 -40
- package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
- package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
- package/src/View/FlashingCell/Wizard/FlashingCellDurationWizardSection.js +0 -60
- package/src/components/ChartContainer/index.d.ts +0 -15
- package/src/components/ChartContainer/index.js +0 -22
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SummaryOperation } from '../../PredefinedConfig/Common/Enums';
|
|
2
|
-
import { ChartVisibility, AxisTotal } from '../../PredefinedConfig/Common/ChartEnums';
|
|
3
2
|
import { AdaptableTheme } from '../../PredefinedConfig/ThemeState';
|
|
4
3
|
import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
|
|
5
4
|
export declare const AUTOGENERATED_PK_COLUMN: string;
|
|
@@ -22,30 +21,22 @@ export declare const AB_SPECIAL_COLUMN = "abSpecialColumn";
|
|
|
22
21
|
export declare const HALF_SECOND: number;
|
|
23
22
|
export declare const AG_GRID_GROUPED_COLUMN: string;
|
|
24
23
|
export declare const SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE: number;
|
|
25
|
-
export declare const CHART_DEFAULT_REFRESH_RATE: number;
|
|
26
24
|
export declare const QUICK_SEARCH_DEFAULT_BACK_COLOR: string;
|
|
27
25
|
export declare const QUICK_SEARCH_DEFAULT_FORE_COLOR: string;
|
|
28
26
|
export declare const QUICK_SEARCH_DEBOUNCE_TIME: number;
|
|
29
27
|
export declare const CELL_SUMMARY_DEFAULT_OPERATION: SummaryOperation | string;
|
|
30
|
-
export declare const SYSTEM_DEFAULT_CHART_VISIBILITY: ChartVisibility;
|
|
31
28
|
export declare const SYSTEM_DEFAULT_SYSTEM_STATUS_TYPE: AdaptableMessageType;
|
|
32
29
|
export declare const THEME_DEFAULT_CURRENT_THEME: string;
|
|
33
30
|
export declare const DEFAULT_LIVE_REPORT_THROTTLE_TIME: number;
|
|
34
31
|
/**
|
|
35
32
|
* Object Factory
|
|
36
33
|
*/
|
|
37
|
-
export declare const CHART_DEFAULT_YAXIS_TOTAL: AxisTotal;
|
|
38
34
|
export declare const PLUS_MINUS_DEFAULT_NUDGE_VALUE: number;
|
|
39
|
-
export declare const ALERT_DEFAULT_RANGE_OPERAND_TYPE: 'Value' | 'Column';
|
|
40
35
|
export declare const ALERT_DEFAULT_MESSAGE_TYPE: AdaptableMessageType;
|
|
41
36
|
export declare const ALERT_DEFAULT_SHOW_POPUP: boolean;
|
|
42
|
-
export declare const ALERT_DEFAULT_HIGHLIGHT_CELL: boolean;
|
|
43
|
-
export declare const ALERT_DEFAULT_HIGHLIGHT_ROW: boolean;
|
|
44
|
-
export declare const ALERT_DEFAULT_LOG_TO_CONSOLE: boolean;
|
|
45
37
|
/**
|
|
46
38
|
* Constants for State (primarily for audit property events) - good idea?
|
|
47
39
|
*/
|
|
48
|
-
export declare const CURRENT_CHART_NAME_STATE_PROPERTY: string;
|
|
49
40
|
export declare const SUMMARY_OPERATION_STATE_PROPERTY: string;
|
|
50
41
|
export declare const CURRENT_LAYOUT_STATE_PROPERTY: string;
|
|
51
42
|
export declare const CURRENT_DATA_SOURCE_STATE_PROPERTY: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.THEME_STYLE = exports.SELECTED_ROWS_REPORT = exports.SELECTED_CELLS_REPORT = exports.CURRENT_DATA_REPORT = exports.ALL_DATA_REPORT = exports.VISUAL_DATA_REPORT = exports.SYSTEM_THEMES = exports.SMART_EDIT_MATH_OPERATION_STATE_PROPERTY = exports.SMART_EDIT_VALUE_STATE_PROPERTY = exports.QUICK_SEARCH_STYLE_STATE_PROPERTY = exports.QUICK_SEARCH_TEXT_STATE_PROPERTY = exports.CURRENT_THEME_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DURATION_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DOWN_COLOR_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_UP_COLOR_STATE_PROPERTY = exports.CURRENT_REPORT_STATE_PROPERTY = exports.CURRENT_DATA_SOURCE_STATE_PROPERTY = exports.CURRENT_LAYOUT_STATE_PROPERTY = exports.SUMMARY_OPERATION_STATE_PROPERTY = exports.
|
|
3
|
+
exports.THEME_STYLE = exports.SELECTED_ROWS_REPORT = exports.SELECTED_CELLS_REPORT = exports.CURRENT_DATA_REPORT = exports.ALL_DATA_REPORT = exports.VISUAL_DATA_REPORT = exports.SYSTEM_THEMES = exports.SMART_EDIT_MATH_OPERATION_STATE_PROPERTY = exports.SMART_EDIT_VALUE_STATE_PROPERTY = exports.QUICK_SEARCH_STYLE_STATE_PROPERTY = exports.QUICK_SEARCH_TEXT_STATE_PROPERTY = exports.CURRENT_THEME_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DURATION_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DOWN_COLOR_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_UP_COLOR_STATE_PROPERTY = exports.CURRENT_REPORT_STATE_PROPERTY = exports.CURRENT_DATA_SOURCE_STATE_PROPERTY = exports.CURRENT_LAYOUT_STATE_PROPERTY = exports.SUMMARY_OPERATION_STATE_PROPERTY = exports.ALERT_DEFAULT_SHOW_POPUP = exports.ALERT_DEFAULT_MESSAGE_TYPE = exports.PLUS_MINUS_DEFAULT_NUDGE_VALUE = exports.DEFAULT_LIVE_REPORT_THROTTLE_TIME = exports.THEME_DEFAULT_CURRENT_THEME = exports.SYSTEM_DEFAULT_SYSTEM_STATUS_TYPE = exports.CELL_SUMMARY_DEFAULT_OPERATION = exports.QUICK_SEARCH_DEBOUNCE_TIME = exports.QUICK_SEARCH_DEFAULT_FORE_COLOR = exports.QUICK_SEARCH_DEFAULT_BACK_COLOR = exports.SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE = exports.AG_GRID_GROUPED_COLUMN = exports.HALF_SECOND = exports.AB_SPECIAL_COLUMN = exports.EMPTY_ARRAY = exports.EMPTY_STRING = exports.FILTER_THROTTLE = exports.FILTER_NEVER = exports.FILTER_ALWAYS = exports.ALL_COLUMN_VALUES = exports.READ_ONLY_STYLE = exports.MENU_PREFIX = exports.ADAPTABLE = exports.ADAPTABLE_ID = exports.USER_NAME = exports.DARK_THEME = exports.LIGHT_THEME = exports.DEFAULT_LAYOUT = exports.MISSING_COLUMN = exports.AUTOGENERATED_PK_COLUMN = void 0;
|
|
4
4
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
5
|
-
const ChartEnums_1 = require("../../PredefinedConfig/Common/ChartEnums");
|
|
6
5
|
const UIHelper_1 = require("../../View/UIHelper");
|
|
7
6
|
exports.AUTOGENERATED_PK_COLUMN = '__ADAPTABLE_PK__';
|
|
8
7
|
exports.MISSING_COLUMN = ' [MISSING]';
|
|
@@ -30,16 +29,12 @@ Please!!!
|
|
|
30
29
|
*/
|
|
31
30
|
//System Status
|
|
32
31
|
exports.SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE = 100;
|
|
33
|
-
// Charts
|
|
34
|
-
exports.CHART_DEFAULT_REFRESH_RATE = 3; // refresh the chart every 3 seconds if stuff chnanges
|
|
35
32
|
// Quick Search
|
|
36
33
|
exports.QUICK_SEARCH_DEFAULT_BACK_COLOR = UIHelper_1.getHexForName(UIHelper_1.LIGHT_YELLOW);
|
|
37
34
|
exports.QUICK_SEARCH_DEFAULT_FORE_COLOR = UIHelper_1.getHexForName(UIHelper_1.BLACK);
|
|
38
35
|
exports.QUICK_SEARCH_DEBOUNCE_TIME = 350;
|
|
39
36
|
// Cells Summary
|
|
40
37
|
exports.CELL_SUMMARY_DEFAULT_OPERATION = Enums_1.SummaryOperation.Sum;
|
|
41
|
-
// system
|
|
42
|
-
exports.SYSTEM_DEFAULT_CHART_VISIBILITY = ChartEnums_1.ChartVisibility.Hidden;
|
|
43
38
|
// export const SYSTEM_DEFAULT_SYSTEM_STATUS_COLOUR: 'Red' | 'Amber' | 'Green' | 'Blue' =
|
|
44
39
|
// StatusColour.Green;
|
|
45
40
|
exports.SYSTEM_DEFAULT_SYSTEM_STATUS_TYPE = 'Info';
|
|
@@ -50,18 +45,12 @@ exports.DEFAULT_LIVE_REPORT_THROTTLE_TIME = 2000;
|
|
|
50
45
|
/**
|
|
51
46
|
* Object Factory
|
|
52
47
|
*/
|
|
53
|
-
exports.CHART_DEFAULT_YAXIS_TOTAL = ChartEnums_1.AxisTotal.Sum;
|
|
54
48
|
exports.PLUS_MINUS_DEFAULT_NUDGE_VALUE = 1;
|
|
55
|
-
exports.ALERT_DEFAULT_RANGE_OPERAND_TYPE = 'Column';
|
|
56
49
|
exports.ALERT_DEFAULT_MESSAGE_TYPE = 'Error';
|
|
57
50
|
exports.ALERT_DEFAULT_SHOW_POPUP = true;
|
|
58
|
-
exports.ALERT_DEFAULT_HIGHLIGHT_CELL = true;
|
|
59
|
-
exports.ALERT_DEFAULT_HIGHLIGHT_ROW = true;
|
|
60
|
-
exports.ALERT_DEFAULT_LOG_TO_CONSOLE = true;
|
|
61
51
|
/**
|
|
62
52
|
* Constants for State (primarily for audit property events) - good idea?
|
|
63
53
|
*/
|
|
64
|
-
exports.CURRENT_CHART_NAME_STATE_PROPERTY = 'CurrentChartName';
|
|
65
54
|
exports.SUMMARY_OPERATION_STATE_PROPERTY = 'SummaryOperation';
|
|
66
55
|
exports.CURRENT_LAYOUT_STATE_PROPERTY = 'CurrentLayout';
|
|
67
56
|
exports.CURRENT_DATA_SOURCE_STATE_PROPERTY = 'CurrentDataSource';
|
|
@@ -4,7 +4,7 @@ export declare const FlashingCellModuleId: ModuleConstants;
|
|
|
4
4
|
export declare const BulkUpdateModuleId: ModuleConstants;
|
|
5
5
|
export declare const CalculatedColumnModuleId: ModuleConstants;
|
|
6
6
|
export declare const CellSummaryModuleId: ModuleConstants;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ChartingModuleId: ModuleConstants;
|
|
8
8
|
export declare const ConditionalStyleModuleId: ModuleConstants;
|
|
9
9
|
export declare const CustomSortModuleId: ModuleConstants;
|
|
10
10
|
export declare const DashboardModuleId: ModuleConstants;
|
|
@@ -25,7 +25,6 @@ export declare const QuickSearchModuleId: ModuleConstants;
|
|
|
25
25
|
export declare const ScheduleModuleId: ModuleConstants;
|
|
26
26
|
export declare const ShortcutModuleId: ModuleConstants;
|
|
27
27
|
export declare const SmartEditModuleId: ModuleConstants;
|
|
28
|
-
export declare const SparklineColumnModuleId: ModuleConstants;
|
|
29
28
|
export declare const StateManagementModuleId: ModuleConstants;
|
|
30
29
|
export declare const SystemStatusModuleId: ModuleConstants;
|
|
31
30
|
export declare const TeamSharingModuleId: ModuleConstants;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SettingsPanelModuleId = exports.ToolPanelModuleId = exports.ThemeModuleId = exports.TeamSharingModuleId = exports.SystemStatusModuleId = exports.StateManagementModuleId = exports.
|
|
3
|
+
exports.SettingsPanelModuleId = exports.ToolPanelModuleId = exports.ThemeModuleId = exports.TeamSharingModuleId = exports.SystemStatusModuleId = exports.StateManagementModuleId = exports.SmartEditModuleId = exports.ShortcutModuleId = exports.ScheduleModuleId = exports.QuickSearchModuleId = exports.QueryModuleId = exports.PlusMinusModuleId = exports.OpenFinModuleId = exports.LayoutModuleId = exports.IPushPullModuleId = exports.GridInfoModuleId = exports.Glue42ModuleId = exports.FreeTextColumnModuleId = exports.FormatColumnModuleId = exports.FilterModuleId = exports.ExportModuleId = exports.DataSourceModuleId = exports.DataChangeHistoryModuleId = exports.DashboardModuleId = exports.CustomSortModuleId = exports.ConditionalStyleModuleId = exports.ChartingModuleId = exports.CellSummaryModuleId = exports.CalculatedColumnModuleId = exports.BulkUpdateModuleId = exports.FlashingCellModuleId = exports.AlertModuleId = void 0;
|
|
4
4
|
exports.AlertModuleId = 'Alert';
|
|
5
5
|
exports.FlashingCellModuleId = 'FlashingCell';
|
|
6
6
|
exports.BulkUpdateModuleId = 'BulkUpdate';
|
|
7
7
|
exports.CalculatedColumnModuleId = 'CalculatedColumn';
|
|
8
8
|
exports.CellSummaryModuleId = 'CellSummary';
|
|
9
|
-
exports.
|
|
9
|
+
exports.ChartingModuleId = 'Charting';
|
|
10
10
|
exports.ConditionalStyleModuleId = 'ConditionalStyle';
|
|
11
11
|
exports.CustomSortModuleId = 'CustomSort';
|
|
12
12
|
exports.DashboardModuleId = 'Dashboard';
|
|
@@ -27,7 +27,6 @@ exports.QuickSearchModuleId = 'QuickSearch';
|
|
|
27
27
|
exports.ScheduleModuleId = 'Schedule';
|
|
28
28
|
exports.ShortcutModuleId = 'Shortcut';
|
|
29
29
|
exports.SmartEditModuleId = 'SmartEdit';
|
|
30
|
-
exports.SparklineColumnModuleId = 'SparklineColumn';
|
|
31
30
|
exports.StateManagementModuleId = 'StateManagement';
|
|
32
31
|
exports.SystemStatusModuleId = 'SystemStatus';
|
|
33
32
|
exports.TeamSharingModuleId = 'TeamSharing';
|
|
@@ -14,7 +14,7 @@ const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
|
14
14
|
exports.DefaultAdaptableOptions = {
|
|
15
15
|
adaptableId: GeneralConstants.ADAPTABLE_ID,
|
|
16
16
|
adaptableStateKey: undefined,
|
|
17
|
-
|
|
17
|
+
gridOptions: null,
|
|
18
18
|
primaryKey: '',
|
|
19
19
|
autogeneratePrimaryKey: false,
|
|
20
20
|
userName: GeneralConstants.USER_NAME,
|
|
@@ -34,36 +34,36 @@ exports.DefaultAdaptableOptions = {
|
|
|
34
34
|
transition: 'Slide',
|
|
35
35
|
actionHandlers: undefined,
|
|
36
36
|
showApplicationIcon: false,
|
|
37
|
-
flashingCellDefaultProperties: {
|
|
38
|
-
FlashDuration: 500,
|
|
39
|
-
DownChangeStyle: {
|
|
40
|
-
BackColor: UIHelper_1.getHexForName(UIHelper_1.RED),
|
|
41
|
-
},
|
|
42
|
-
UpChangeStyle: {
|
|
43
|
-
BackColor: UIHelper_1.getHexForName(UIHelper_1.GREEN),
|
|
44
|
-
},
|
|
45
|
-
NeutralChangeStyle: {
|
|
46
|
-
BackColor: UIHelper_1.getHexForName(UIHelper_1.GRAY),
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
37
|
showSystemStatusMessageNotifications: false,
|
|
50
38
|
maxSystemMessagesInStore: 100,
|
|
51
39
|
},
|
|
40
|
+
flashingCellOptions: {
|
|
41
|
+
defaultFlashDuration: 500,
|
|
42
|
+
defaultFlashTarget: 'cell',
|
|
43
|
+
defaultDownChangeStyle: {
|
|
44
|
+
BackColor: UIHelper_1.getHexForName(UIHelper_1.RED),
|
|
45
|
+
},
|
|
46
|
+
defaultUpChangeStyle: {
|
|
47
|
+
BackColor: UIHelper_1.getHexForName(UIHelper_1.GREEN),
|
|
48
|
+
},
|
|
49
|
+
defaultNeutralChangeStyle: {
|
|
50
|
+
BackColor: UIHelper_1.getHexForName(UIHelper_1.GRAY),
|
|
51
|
+
},
|
|
52
|
+
},
|
|
52
53
|
containerOptions: {
|
|
53
54
|
adaptableContainer: 'adaptable',
|
|
54
55
|
agGridContainer: 'grid',
|
|
55
56
|
agGridContainerWaitTimeout: 60000,
|
|
56
57
|
modalContainer: undefined,
|
|
57
|
-
chartContainer: undefined,
|
|
58
58
|
systemStatusContainer: undefined,
|
|
59
59
|
alertContainer: undefined,
|
|
60
60
|
},
|
|
61
61
|
dashboardOptions: {
|
|
62
62
|
canFloat: true,
|
|
63
|
-
showSettingsPanel: true,
|
|
64
63
|
showQuickSearchInHeader: true,
|
|
65
64
|
customDashboardButtons: undefined,
|
|
66
65
|
customToolbars: undefined,
|
|
66
|
+
buttonsLocation: 'right',
|
|
67
67
|
},
|
|
68
68
|
editOptions: {
|
|
69
69
|
validateOnServer: undefined,
|
|
@@ -187,6 +187,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
187
187
|
editableCellStyle: undefined,
|
|
188
188
|
readOnlyCellStyle: undefined,
|
|
189
189
|
styleClassNames: GeneralConstants_1.EMPTY_ARRAY,
|
|
190
|
+
columnTypes: GeneralConstants_1.EMPTY_ARRAY,
|
|
190
191
|
permittedValues: undefined,
|
|
191
192
|
editLookUpItems: undefined,
|
|
192
193
|
actionColumns: undefined,
|
|
@@ -196,9 +197,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
196
197
|
toolPanelOptions: {
|
|
197
198
|
showAdaptableToolPanel: true,
|
|
198
199
|
adaptableToolPanelTitle: GeneralConstants.ADAPTABLE,
|
|
199
|
-
showModulesDropdown: true,
|
|
200
200
|
showToolPanelsDropdown: true,
|
|
201
|
-
showColumnsDropdown: true,
|
|
202
201
|
customToolPanelButtons: undefined,
|
|
203
202
|
customToolPanels: undefined,
|
|
204
203
|
iconKey: 'menu',
|
|
@@ -223,9 +222,11 @@ exports.DefaultAdaptableOptions = {
|
|
|
223
222
|
},
|
|
224
223
|
customPredicateDefs: [],
|
|
225
224
|
settingsPanelOptions: {
|
|
226
|
-
|
|
225
|
+
popupType: 'window',
|
|
227
226
|
title: 'Settings Panel',
|
|
228
227
|
icon: 'ConfigurationIcon',
|
|
229
228
|
navigation: {},
|
|
229
|
+
alwaysShowInDashboard: false,
|
|
230
|
+
alwaysShowInToolPanel: false,
|
|
230
231
|
},
|
|
231
232
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { AdaptableSettingsPanel } from '../../PredefinedConfig/Common/Types';
|
|
1
2
|
import { AdaptableModule } from '../../types';
|
|
2
3
|
export declare const ACTION_POPUPS: AdaptableModule[];
|
|
3
4
|
/**
|
|
4
5
|
* This constants determines the order and the items that appear in the navigation.
|
|
5
6
|
*/
|
|
6
|
-
export declare const DEFAULT_NAVIGATION_ITEMS: (
|
|
7
|
+
export declare const DEFAULT_NAVIGATION_ITEMS: (AdaptableSettingsPanel | '-')[];
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.aggregationExpressionFunctions = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
|
-
const parseInt_1 = tslib_1.__importDefault(require("lodash
|
|
6
|
+
const parseInt_1 = tslib_1.__importDefault(require("lodash/parseInt"));
|
|
7
7
|
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
8
8
|
const operators_1 = require("rxjs/operators");
|
|
9
9
|
const expressionFunctionUtils_1 = require("./expressionFunctionUtils");
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
6
6
|
const StringExtensions_1 = tslib_1.__importDefault(require("../Extensions/StringExtensions"));
|
|
7
7
|
const operators_1 = require("rxjs/operators");
|
|
8
|
-
const toNumber_1 = tslib_1.__importDefault(require("lodash
|
|
8
|
+
const toNumber_1 = tslib_1.__importDefault(require("lodash/toNumber"));
|
|
9
9
|
const evaluator_1 = require("../../parser/src/evaluator");
|
|
10
10
|
// string functions may be case (in)sensitive, see internalApi.isTextComparisonCaseSensitive()
|
|
11
11
|
// if case is insensitive, we convert ALL involved strings to lower case
|
|
@@ -4,7 +4,7 @@ exports.observableExpressionFunctions = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
6
|
const operators_1 = require("rxjs/operators");
|
|
7
|
-
const parseInt_1 = tslib_1.__importDefault(require("lodash
|
|
7
|
+
const parseInt_1 = tslib_1.__importDefault(require("lodash/parseInt"));
|
|
8
8
|
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
9
9
|
const expressionFunctionUtils_1 = require("./expressionFunctionUtils");
|
|
10
10
|
// numeric value(digits) followed by a single 's', 'm' or 'h' letter (case insensitive)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StringExtensions = exports.IsNumeric = exports.ReplaceEmptySpacesWithUnderscore = exports.Humanize = exports.CapitaliseFirstLetter = exports.AbbreviateString = exports.NotIncludes = exports.Includes = exports.ToLowerCase = exports.RemoveTrailingComma = exports.CamelCaseToHumanText = exports.IsNotNullOrEmptyOrWhiteSpace = exports.IsNullOrEmptyOrWhiteSpace = exports.IsNotNullOrEmpty = exports.IsNullOrEmpty = exports.IsNotEmpty = exports.IsEmpty = exports.IsNotNull = exports.IsNull = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const startCase_1 = tslib_1.__importDefault(require("lodash
|
|
5
|
+
const startCase_1 = tslib_1.__importDefault(require("lodash/startCase"));
|
|
6
6
|
function IsNull(stringToCheck) {
|
|
7
7
|
return stringToCheck == null || stringToCheck == undefined;
|
|
8
8
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AdaptableHelper = exports.addAdaptableObjectUuidAndSource = exports.runAdaptableComparerFunction = exports.checkAdaptableOptions = exports.getAppropriateAccessLevel = exports.AdaptableObjectExistsInState = exports.checkValidPrimaryKey = exports.initPredefinedConfigWithUuids = exports.assignAdaptableOptions = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const cloneDeepWith_1 = tslib_1.__importDefault(require("lodash
|
|
6
|
-
const isPlainObject_1 = tslib_1.__importDefault(require("lodash
|
|
5
|
+
const cloneDeepWith_1 = tslib_1.__importDefault(require("lodash/cloneDeepWith"));
|
|
6
|
+
const isPlainObject_1 = tslib_1.__importDefault(require("lodash/isPlainObject"));
|
|
7
7
|
const LoggingHelper_1 = require("./LoggingHelper");
|
|
8
8
|
const Uuid_1 = require("../../PredefinedConfig/Uuid");
|
|
9
9
|
const DefaultAdaptableOptions_1 = require("../Defaults/DefaultAdaptableOptions");
|
|
10
10
|
function assignAdaptableOptions(adaptableOptions) {
|
|
11
|
-
var _a
|
|
11
|
+
var _a;
|
|
12
12
|
const returnedAdaptableOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions, adaptableOptions);
|
|
13
13
|
returnedAdaptableOptions.adaptableStateKey = (_a = returnedAdaptableOptions.adaptableStateKey) !== null && _a !== void 0 ? _a : returnedAdaptableOptions.adaptableId;
|
|
14
14
|
returnedAdaptableOptions.layoutOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.layoutOptions, adaptableOptions.layoutOptions);
|
|
15
15
|
returnedAdaptableOptions.notificationsOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.notificationsOptions, adaptableOptions.notificationsOptions);
|
|
16
|
+
returnedAdaptableOptions.flashingCellOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.flashingCellOptions, adaptableOptions.flashingCellOptions);
|
|
16
17
|
returnedAdaptableOptions.entitlementOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.entitlementOptions, adaptableOptions.entitlementOptions);
|
|
17
|
-
returnedAdaptableOptions.notificationsOptions.flashingCellDefaultProperties = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.notificationsOptions.flashingCellDefaultProperties, (_b = adaptableOptions.notificationsOptions) === null || _b === void 0 ? void 0 : _b.flashingCellDefaultProperties);
|
|
18
18
|
returnedAdaptableOptions.dashboardOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.dashboardOptions, adaptableOptions.dashboardOptions);
|
|
19
19
|
returnedAdaptableOptions.editOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.editOptions, adaptableOptions.editOptions);
|
|
20
20
|
returnedAdaptableOptions.containerOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.containerOptions, adaptableOptions.containerOptions);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ScheduleType } from '../PredefinedConfig/Common/Enums';
|
|
2
2
|
import { CustomSort } from '../PredefinedConfig/CustomSortState';
|
|
3
3
|
import { DataSource } from '../PredefinedConfig/DataSourceState';
|
|
4
|
-
import { PieChartDefinition, CategoryChartDefinition, SparklinesChartDefinition } from '../PredefinedConfig/ChartState';
|
|
5
4
|
import { CalculatedColumn } from '../PredefinedConfig/CalculatedColumnState';
|
|
6
5
|
import { PlusMinusNudge } from '../PredefinedConfig/PlusMinusState';
|
|
7
6
|
import { AlertDefinition, AlertProperties } from '../PredefinedConfig/AlertState';
|
|
@@ -14,7 +13,6 @@ import { ConditionalStyle } from '../PredefinedConfig/ConditionalStyleState';
|
|
|
14
13
|
import { FormatColumn } from '../PredefinedConfig/FormatColumnState';
|
|
15
14
|
import { FreeTextColumn } from '../PredefinedConfig/FreeTextColumnState';
|
|
16
15
|
import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
|
|
17
|
-
import { SparklineColumn } from '../PredefinedConfig/SparklineColumnState';
|
|
18
16
|
import { DataChangedInfo } from '../PredefinedConfig/Common/DataChangedInfo';
|
|
19
17
|
import { Glue42Report, Glue42Schedule } from '../PredefinedConfig/Glue42State';
|
|
20
18
|
import { IPushPullReport } from '../PredefinedConfig/SystemState';
|
|
@@ -32,9 +30,6 @@ import { FlashingCellDefinition } from '../types';
|
|
|
32
30
|
import { ToastOptions } from 'react-toastify';
|
|
33
31
|
export declare function CreateEmptyCustomSort(): CustomSort;
|
|
34
32
|
export declare function CreateEmptyDataSource(): DataSource;
|
|
35
|
-
export declare function CreateEmptyPieChartDefinition(): PieChartDefinition;
|
|
36
|
-
export declare function CreateEmptySparklinesChartDefinition(): SparklinesChartDefinition;
|
|
37
|
-
export declare function CreateEmptyCategoryChartDefinition(): CategoryChartDefinition;
|
|
38
33
|
export declare function CreateEmptyCalculatedColumn(isFilterable: boolean): CalculatedColumn;
|
|
39
34
|
export declare function CreateEmptyNamedQuery(expression?: string): NamedQuery;
|
|
40
35
|
export declare function CreateEmptyPlusMinusNudge(): PlusMinusNudge;
|
|
@@ -43,7 +38,6 @@ export declare function CreateAlert(alertHeader: string, alertMessage: string, a
|
|
|
43
38
|
export declare function CreateEmptyAlertDefinition(): AlertDefinition;
|
|
44
39
|
export declare function CreateEmptyFlashingCellDefinition(): FlashingCellDefinition;
|
|
45
40
|
export declare function CreateInternalAlertDefinitionForMessages(messageType: AdaptableMessageType, alertProperties?: AlertProperties): AlertDefinition;
|
|
46
|
-
export declare function CreateEmptySparklineColumn(): SparklineColumn;
|
|
47
41
|
export declare function CreateEmptyReport(): Report;
|
|
48
42
|
export declare function CreateEmptyBaseSchedule(scheduleType: ScheduleType): BaseSchedule;
|
|
49
43
|
export declare function CreateEmptyReminderSchedule(): ReminderSchedule;
|
|
@@ -75,9 +69,6 @@ export declare function CreateToastOptions(notificationsOptions: NotificationsOp
|
|
|
75
69
|
export declare const ObjectFactory: {
|
|
76
70
|
CreateEmptyCustomSort: typeof CreateEmptyCustomSort;
|
|
77
71
|
CreateEmptyDataSource: typeof CreateEmptyDataSource;
|
|
78
|
-
CreateEmptyPieChartDefinition: typeof CreateEmptyPieChartDefinition;
|
|
79
|
-
CreateEmptySparklinesChartDefinition: typeof CreateEmptySparklinesChartDefinition;
|
|
80
|
-
CreateEmptyCategoryChartDefinition: typeof CreateEmptyCategoryChartDefinition;
|
|
81
72
|
CreateEmptyCalculatedColumn: typeof CreateEmptyCalculatedColumn;
|
|
82
73
|
CreateEmptyNamedQuery: typeof CreateEmptyNamedQuery;
|
|
83
74
|
CreateEmptyPlusMinusNudge: typeof CreateEmptyPlusMinusNudge;
|
|
@@ -86,7 +77,6 @@ export declare const ObjectFactory: {
|
|
|
86
77
|
CreateEmptyAlertDefinition: typeof CreateEmptyAlertDefinition;
|
|
87
78
|
CreateEmptyFlashingCellDefinition: typeof CreateEmptyFlashingCellDefinition;
|
|
88
79
|
CreateInternalAlertDefinitionForMessages: typeof CreateInternalAlertDefinitionForMessages;
|
|
89
|
-
CreateEmptySparklineColumn: typeof CreateEmptySparklineColumn;
|
|
90
80
|
CreateEmptyReport: typeof CreateEmptyReport;
|
|
91
81
|
CreateEmptyBaseSchedule: typeof CreateEmptyBaseSchedule;
|
|
92
82
|
CreateEmptyReminderSchedule: typeof CreateEmptyReminderSchedule;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectFactory = exports.CreateToastOptions = exports.CreateColumnFilter = exports.CreateEmptyCellSummmary = exports.CreateSystemStatusMessageInfo = exports.CreateEmptyStyle = exports.CreateEmptyLayout = exports.CreateEmptyFreeTextColumn = exports.CreateEmptyFormatColumn = exports.CreateEmptyConditionalStyle = exports.CreateEmptyShortcut = exports.CreateEmptySchedule = exports.CreateReportSchedule = exports.CreateGlue42Schedule = exports.CreateIPushPullSchedule = exports.CreateEmptyOpenFinSchedule = exports.CreateEmptyGlue42Schedule = exports.CreateEmptyIPushPullSchedule = exports.CreateEmptyOpenFinReport = exports.CreateEmptyGlue42Report = exports.CreateEmptyIPushPullReport = exports.CreateEmptyReportSchedule = exports.CreateEmptyReminderSchedule = exports.CreateEmptyBaseSchedule = exports.CreateEmptyReport = exports.
|
|
3
|
+
exports.ObjectFactory = exports.CreateToastOptions = exports.CreateColumnFilter = exports.CreateEmptyCellSummmary = exports.CreateSystemStatusMessageInfo = exports.CreateEmptyStyle = exports.CreateEmptyLayout = exports.CreateEmptyFreeTextColumn = exports.CreateEmptyFormatColumn = exports.CreateEmptyConditionalStyle = exports.CreateEmptyShortcut = exports.CreateEmptySchedule = exports.CreateReportSchedule = exports.CreateGlue42Schedule = exports.CreateIPushPullSchedule = exports.CreateEmptyOpenFinSchedule = exports.CreateEmptyGlue42Schedule = exports.CreateEmptyIPushPullSchedule = exports.CreateEmptyOpenFinReport = exports.CreateEmptyGlue42Report = exports.CreateEmptyIPushPullReport = exports.CreateEmptyReportSchedule = exports.CreateEmptyReminderSchedule = exports.CreateEmptyBaseSchedule = exports.CreateEmptyReport = exports.CreateInternalAlertDefinitionForMessages = exports.CreateEmptyFlashingCellDefinition = exports.CreateEmptyAlertDefinition = exports.CreateAlert = exports.CreateEmptyAlert = exports.CreateEmptyPlusMinusNudge = exports.CreateEmptyNamedQuery = exports.CreateEmptyCalculatedColumn = exports.CreateEmptyDataSource = exports.CreateEmptyCustomSort = void 0;
|
|
4
4
|
const Enums_1 = require("../PredefinedConfig/Common/Enums");
|
|
5
5
|
const GeneralConstants_1 = require("./Constants/GeneralConstants");
|
|
6
|
-
const ChartEnums_1 = require("../PredefinedConfig/Common/ChartEnums");
|
|
7
|
-
const DefaultPieChartProperties_1 = require("./Defaults/DefaultPieChartProperties");
|
|
8
|
-
const DefaultCategoryChartProperties_1 = require("./Defaults/DefaultCategoryChartProperties");
|
|
9
6
|
const Uuid_1 = require("../PredefinedConfig/Uuid");
|
|
10
|
-
const DefaultSparklinesChartProperties_1 = require("./Defaults/DefaultSparklinesChartProperties");
|
|
11
7
|
const react_toastify_1 = require("react-toastify");
|
|
12
8
|
function CreateEmptyCustomSort() {
|
|
13
9
|
return { Uuid: Uuid_1.createUuid(), ColumnId: GeneralConstants_1.EMPTY_STRING, SortedValues: [] };
|
|
@@ -17,48 +13,6 @@ function CreateEmptyDataSource() {
|
|
|
17
13
|
return { Uuid: Uuid_1.createUuid(), Name: GeneralConstants_1.EMPTY_STRING, Description: GeneralConstants_1.EMPTY_STRING };
|
|
18
14
|
}
|
|
19
15
|
exports.CreateEmptyDataSource = CreateEmptyDataSource;
|
|
20
|
-
function CreateEmptyPieChartDefinition() {
|
|
21
|
-
return {
|
|
22
|
-
Uuid: Uuid_1.createUuid(),
|
|
23
|
-
Name: GeneralConstants_1.EMPTY_STRING,
|
|
24
|
-
Description: GeneralConstants_1.EMPTY_STRING,
|
|
25
|
-
PrimaryColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
26
|
-
SecondaryColumnId: undefined,
|
|
27
|
-
SecondaryColumnOperation: ChartEnums_1.SecondaryColumnOperation.Count,
|
|
28
|
-
ChartProperties: DefaultPieChartProperties_1.DefaultPieChartProperties,
|
|
29
|
-
ChartType: ChartEnums_1.ChartType.PieChart,
|
|
30
|
-
VisibleRowsOnly: true,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
exports.CreateEmptyPieChartDefinition = CreateEmptyPieChartDefinition;
|
|
34
|
-
function CreateEmptySparklinesChartDefinition() {
|
|
35
|
-
return {
|
|
36
|
-
Uuid: Uuid_1.createUuid(),
|
|
37
|
-
Name: GeneralConstants_1.EMPTY_STRING,
|
|
38
|
-
Description: GeneralConstants_1.EMPTY_STRING,
|
|
39
|
-
ColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
40
|
-
Expression: undefined,
|
|
41
|
-
ChartProperties: DefaultSparklinesChartProperties_1.DefaultSparklinesChartProperties,
|
|
42
|
-
ChartType: ChartEnums_1.ChartType.SparklinesChart,
|
|
43
|
-
VisibleRowsOnly: true,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.CreateEmptySparklinesChartDefinition = CreateEmptySparklinesChartDefinition;
|
|
47
|
-
function CreateEmptyCategoryChartDefinition() {
|
|
48
|
-
return {
|
|
49
|
-
Uuid: Uuid_1.createUuid(),
|
|
50
|
-
Name: GeneralConstants_1.EMPTY_STRING,
|
|
51
|
-
Description: GeneralConstants_1.EMPTY_STRING,
|
|
52
|
-
YAxisColumnIds: [],
|
|
53
|
-
YAxisTotal: GeneralConstants_1.CHART_DEFAULT_YAXIS_TOTAL,
|
|
54
|
-
XAxisColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
55
|
-
XAxisExpression: undefined,
|
|
56
|
-
ChartProperties: DefaultCategoryChartProperties_1.DefaultCategoryChartProperties,
|
|
57
|
-
ChartType: ChartEnums_1.ChartType.CategoryChart,
|
|
58
|
-
VisibleRowsOnly: true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.CreateEmptyCategoryChartDefinition = CreateEmptyCategoryChartDefinition;
|
|
62
16
|
function CreateEmptyCalculatedColumn(isFilterable) {
|
|
63
17
|
return {
|
|
64
18
|
Uuid: Uuid_1.createUuid(),
|
|
@@ -124,18 +78,18 @@ function CreateEmptyAlertDefinition() {
|
|
|
124
78
|
Predicate: undefined,
|
|
125
79
|
},
|
|
126
80
|
MessageType: GeneralConstants_1.ALERT_DEFAULT_MESSAGE_TYPE,
|
|
127
|
-
AlertProperties: {
|
|
128
|
-
LogToConsole: GeneralConstants_1.ALERT_DEFAULT_LOG_TO_CONSOLE,
|
|
129
|
-
},
|
|
81
|
+
AlertProperties: {},
|
|
130
82
|
};
|
|
131
83
|
}
|
|
132
84
|
exports.CreateEmptyAlertDefinition = CreateEmptyAlertDefinition;
|
|
133
85
|
function CreateEmptyFlashingCellDefinition() {
|
|
134
86
|
return {
|
|
135
87
|
Uuid: Uuid_1.createUuid(),
|
|
136
|
-
Scope: {
|
|
88
|
+
Scope: { ColumnIds: [] },
|
|
137
89
|
Rule: {
|
|
138
|
-
Predicate:
|
|
90
|
+
Predicate: {
|
|
91
|
+
PredicateId: 'Any',
|
|
92
|
+
},
|
|
139
93
|
},
|
|
140
94
|
};
|
|
141
95
|
}
|
|
@@ -155,17 +109,6 @@ function CreateInternalAlertDefinitionForMessages(messageType, alertProperties)
|
|
|
155
109
|
};
|
|
156
110
|
}
|
|
157
111
|
exports.CreateInternalAlertDefinitionForMessages = CreateInternalAlertDefinitionForMessages;
|
|
158
|
-
function CreateEmptySparklineColumn() {
|
|
159
|
-
return {
|
|
160
|
-
Uuid: Uuid_1.createUuid(),
|
|
161
|
-
ColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
162
|
-
MaximumValue: undefined,
|
|
163
|
-
MinimumValue: undefined,
|
|
164
|
-
ShowToolTip: true,
|
|
165
|
-
LineColor: DefaultSparklinesChartProperties_1.DefaultSparklinesChartProperties.Brush,
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
exports.CreateEmptySparklineColumn = CreateEmptySparklineColumn;
|
|
169
112
|
function CreateEmptyReport() {
|
|
170
113
|
return {
|
|
171
114
|
Uuid: Uuid_1.createUuid(),
|
|
@@ -456,9 +399,6 @@ function getToastTransition(transition) {
|
|
|
456
399
|
exports.ObjectFactory = {
|
|
457
400
|
CreateEmptyCustomSort,
|
|
458
401
|
CreateEmptyDataSource,
|
|
459
|
-
CreateEmptyPieChartDefinition,
|
|
460
|
-
CreateEmptySparklinesChartDefinition,
|
|
461
|
-
CreateEmptyCategoryChartDefinition,
|
|
462
402
|
CreateEmptyCalculatedColumn,
|
|
463
403
|
CreateEmptyNamedQuery,
|
|
464
404
|
CreateEmptyPlusMinusNudge,
|
|
@@ -467,7 +407,6 @@ exports.ObjectFactory = {
|
|
|
467
407
|
CreateEmptyAlertDefinition,
|
|
468
408
|
CreateEmptyFlashingCellDefinition,
|
|
469
409
|
CreateInternalAlertDefinitionForMessages,
|
|
470
|
-
CreateEmptySparklineColumn,
|
|
471
410
|
CreateEmptyReport,
|
|
472
411
|
CreateEmptyBaseSchedule,
|
|
473
412
|
CreateEmptyReminderSchedule,
|
|
@@ -6,7 +6,7 @@ const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
|
6
6
|
const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
|
|
7
7
|
const ObjectFactory_1 = tslib_1.__importDefault(require("../ObjectFactory"));
|
|
8
8
|
const LoggingHelper_1 = require("../Helpers/LoggingHelper");
|
|
9
|
-
const clamp_1 = tslib_1.__importDefault(require("lodash
|
|
9
|
+
const clamp_1 = tslib_1.__importDefault(require("lodash/clamp"));
|
|
10
10
|
const DocumentationLinkConstants_1 = require("../Constants/DocumentationLinkConstants");
|
|
11
11
|
const decode_1 = require("../license/decode");
|
|
12
12
|
const EMAIL = 'sales@adaptabletools.com';
|
|
@@ -12,7 +12,7 @@ class ModuleService {
|
|
|
12
12
|
createModuleMenus() {
|
|
13
13
|
const dropdownMenuItems = [];
|
|
14
14
|
const buttonMenuItems = [];
|
|
15
|
-
this.adaptable.
|
|
15
|
+
this.adaptable.adaptableModules.forEach((module) => {
|
|
16
16
|
const dropdownMenuItem = module.addModuleMenuItem('ModuleMenu');
|
|
17
17
|
if (Helper_1.default.objectExists(dropdownMenuItem)) {
|
|
18
18
|
if (dropdownMenuItems.findIndex((m) => m.module == dropdownMenuItem.module) == -1) {
|
|
@@ -31,35 +31,35 @@ class ModuleService {
|
|
|
31
31
|
this.adaptable.api.internalApi.setModuleButtonMenuItems(buttonMenuItems);
|
|
32
32
|
}
|
|
33
33
|
isModuleAvailable(adaptableModule) {
|
|
34
|
-
let module = this.adaptable.
|
|
34
|
+
let module = this.adaptable.adaptableModules.get(adaptableModule);
|
|
35
35
|
if (!module) {
|
|
36
36
|
return false;
|
|
37
37
|
}
|
|
38
38
|
return module.isModuleAvailable();
|
|
39
39
|
}
|
|
40
40
|
isModuleEditable(adaptableModule) {
|
|
41
|
-
let module = this.adaptable.
|
|
41
|
+
let module = this.adaptable.adaptableModules.get(adaptableModule);
|
|
42
42
|
if (!module) {
|
|
43
43
|
return false;
|
|
44
44
|
}
|
|
45
45
|
return module.isModuleEditable();
|
|
46
46
|
}
|
|
47
47
|
getTeamSharingAction(adaptableModule) {
|
|
48
|
-
let module = this.adaptable.
|
|
48
|
+
let module = this.adaptable.adaptableModules.get(adaptableModule);
|
|
49
49
|
if (!module) {
|
|
50
50
|
return undefined;
|
|
51
51
|
}
|
|
52
52
|
return module.getTeamSharingAction();
|
|
53
53
|
}
|
|
54
54
|
getModuleById(adaptableModule) {
|
|
55
|
-
return this.adaptable.
|
|
55
|
+
return this.adaptable.adaptableModules.get(adaptableModule);
|
|
56
56
|
}
|
|
57
57
|
getModuleInfoByModule(adaptableModule) {
|
|
58
58
|
const module = this.getModuleById(adaptableModule);
|
|
59
59
|
return module ? module.moduleInfo : undefined;
|
|
60
60
|
}
|
|
61
61
|
getModuleInfoByFriendlyName(friendlyName) {
|
|
62
|
-
for (let module of this.adaptable.
|
|
62
|
+
for (let module of this.adaptable.adaptableModules.values()) {
|
|
63
63
|
let moduleInfo = module.moduleInfo;
|
|
64
64
|
if (moduleInfo && moduleInfo.FriendlyName == friendlyName) {
|
|
65
65
|
return moduleInfo;
|
|
@@ -72,7 +72,7 @@ class ModuleService {
|
|
|
72
72
|
return (_a = this.getModuleById(adaptableModule)) === null || _a === void 0 ? void 0 : _a.getPopupMaxWidth();
|
|
73
73
|
}
|
|
74
74
|
getModuleCollection() {
|
|
75
|
-
return this.adaptable.
|
|
75
|
+
return this.adaptable.adaptableModules;
|
|
76
76
|
}
|
|
77
77
|
getModuleDocumentationPageByModule(adaptableModule) {
|
|
78
78
|
let url = `${DocumentationLinkConstants_1.HOST_URL_DOCS}/`;
|
|
@@ -139,10 +139,6 @@ class ModuleService {
|
|
|
139
139
|
return userInterfaceUrl + 'tool-panel';
|
|
140
140
|
case 'DataChangeHistory':
|
|
141
141
|
return editingUrl + 'change-history-module';
|
|
142
|
-
case 'Chart':
|
|
143
|
-
return pluginUrl + 'chart/chart-plugin';
|
|
144
|
-
case 'SparklineColumn':
|
|
145
|
-
return pluginUrl + 'chart/sparkline-column-module';
|
|
146
142
|
case 'Glue42':
|
|
147
143
|
return pluginUrl + 'glue42/glue42-plugin';
|
|
148
144
|
case 'IPushPull':
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ReportService = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const groupBy_1 = tslib_1.__importDefault(require("lodash
|
|
5
|
+
const groupBy_1 = tslib_1.__importDefault(require("lodash/groupBy"));
|
|
6
6
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
7
7
|
const Uuid_1 = require("../../PredefinedConfig/Uuid");
|
|
8
8
|
const GeneralConstants_1 = require("../Constants/GeneralConstants");
|