@adaptabletools/adaptable 11.0.0-canary.2 → 11.0.0-canary.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.d.ts +1 -1
- package/agGrid.js +3 -3
- package/base.css +138 -68
- package/bundle.cjs.js +131 -127
- package/index.css +140 -68
- package/package.json +33 -33
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +7 -5
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +1 -3
- package/src/AdaptableOptions/AdaptableOptions.d.ts +11 -2
- package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
- package/src/AdaptableOptions/AlertOptions.js +2 -0
- package/src/AdaptableOptions/ContainerOptions.d.ts +2 -2
- package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +1 -1
- package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -78
- package/src/AdaptableOptions/QueryLanguageOptions.d.ts +3 -7
- package/src/AdaptableOptions/StateOptions.d.ts +2 -1
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -3
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +3 -3
- package/src/Api/AdaptableApi.d.ts +6 -0
- package/src/Api/AlertApi.d.ts +2 -3
- package/src/Api/ColumnApi.d.ts +0 -4
- package/src/Api/EventApi.d.ts +8 -3
- package/src/Api/Events/GridDataChanged.d.ts +4 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +0 -12
- package/src/Api/GridApi.d.ts +5 -4
- package/src/Api/IPushPullApi.d.ts +1 -1
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
- package/src/Api/Implementation/AlertApiImpl.js +19 -10
- package/src/Api/Implementation/ApiBase.d.ts +2 -0
- package/src/Api/Implementation/ApiBase.js +3 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ColumnApiImpl.js +0 -5
- package/src/Api/Implementation/DashboardApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -4
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
- package/src/Api/Implementation/GridApiImpl.d.ts +5 -4
- package/src/Api/Implementation/GridApiImpl.js +4 -0
- package/src/Api/Implementation/InternalApiImpl.js +2 -2
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +12 -1
- package/src/Api/Implementation/QueryApiImpl.js +4 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.js +6 -7
- package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +7 -0
- package/src/Api/Implementation/SettingsPanelApiImpl.js +15 -0
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/OpenFinApi.d.ts +5 -0
- package/src/Api/PluginsApi.d.ts +29 -0
- package/src/Api/QueryLanguageApi.d.ts +10 -10
- package/src/Api/SettingsPanelApi.d.ts +17 -0
- package/src/Api/SettingsPanelApi.js +2 -0
- package/src/Api/UserInterfaceApi.d.ts +5 -2
- package/src/PredefinedConfig/AlertState.d.ts +4 -6
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -1
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +7 -4
- package/src/PredefinedConfig/Common/AdaptableQuery.js +3 -3
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +1 -12
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
- package/src/PredefinedConfig/Common/Enums.js +0 -2
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
- package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +15 -0
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -0
- package/src/PredefinedConfig/Common/Types.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +5 -2
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
- package/src/PredefinedConfig/LayoutState.d.ts +0 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -2
- package/src/PredefinedConfig/SystemState.d.ts +2 -1
- package/src/Redux/ActionsReducers/ApplicationRedux.js +9 -3
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
- package/src/Redux/ActionsReducers/GridRedux.js +3 -1
- package/src/Redux/ActionsReducers/PopupRedux.js +13 -3
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +3 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +6 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +16 -14
- package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
- package/src/Redux/Store/AdaptableStore.js +18 -6
- package/src/Strategy/AlertModule.js +14 -4
- package/src/Strategy/ConditionalStyleModule.js +4 -0
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.js +34 -18
- package/src/Strategy/FreeTextColumnModule.d.ts +2 -2
- package/src/Strategy/FreeTextColumnModule.js +10 -0
- package/src/Strategy/LayoutModule.js +1 -6
- package/src/Strategy/TeamSharingModule.js +1 -1
- package/src/Strategy/ToolPanelModule.js +5 -3
- package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +3 -1
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +1 -1
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +0 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +0 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +8 -6
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.d.ts → aggregatedBooleanExpressionFunctions.d.ts} +1 -1
- package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.js → aggregatedBooleanExpressionFunctions.js} +4 -4
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +7 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +42 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +35 -0
- package/src/Utilities/ExpressionFunctions/deepMap.js +283 -0
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +36 -0
- package/src/Utilities/ExpressionFunctions/groupingMap.js +104 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -3
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
- package/src/Utilities/Helpers/CalendarHelper.js +220 -55
- package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
- package/src/Utilities/ObjectFactory.js +5 -2
- package/src/Utilities/Services/AlertService.js +3 -3
- package/src/Utilities/Services/DataService.js +6 -1
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/QueryLanguageService.js +21 -16
- package/src/Utilities/Services/ReportService.js +7 -3
- package/src/Utilities/Services/TeamSharingService.js +5 -3
- package/src/View/AdaptablePopover/index.js +6 -1
- package/src/View/AdaptableView.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +5 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -1
- package/src/View/AdaptableWizardView/helper.js +5 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertWizard.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +3 -5
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +17 -6
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
- package/src/View/Components/EntityRulesEditor/index.js +9 -9
- package/src/View/Components/FilterForm/FilterForm.js +0 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +8 -7
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/ModuleValueSelector/index.js +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +0 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +45 -87
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +11 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +78 -0
- 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.d.ts +1 -3
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -13
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.d.ts +2 -0
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +44 -0
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -1
- package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +5 -12
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +38 -37
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +4 -1
- package/src/View/Components/ScopeComponent.js +4 -1
- package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -2
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +7 -5
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
- package/src/View/Components/ValueSelector/index.d.ts +2 -1
- package/src/View/Components/ValueSelector/index.js +5 -5
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +8 -0
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +27 -0
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +17 -5
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +17 -5
- package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
- package/src/View/Dashboard/Dashboard.js +5 -5
- package/src/View/Dashboard/DashboardPopup.js +8 -6
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
- package/src/View/Export/Wizard/NewReportWizard.js +13 -3
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +3 -1
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +3 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -4
- package/src/View/Filter/FilterViewPanel.js +1 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +17 -26
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +19 -2
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +20 -5
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +11 -6
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +12 -5
- package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -1
- package/src/View/Layout/Wizard/LayoutEditorWizard.js +7 -1
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
- package/src/View/Query/ExpandedQueryPopup.js +9 -2
- package/src/View/Query/QueryViewPanel.js +15 -10
- package/src/View/Query/Wizard/NamedQueryWizard.js +6 -4
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/View/UIHelper.js +4 -1
- package/src/View/Wizard/AdaptableWizard.js +13 -4
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -0
- package/src/View/Wizard/OnePageAdaptableWizard.js +6 -2
- package/src/agGrid/Adaptable.d.ts +2 -5
- package/src/agGrid/Adaptable.js +127 -75
- package/src/agGrid/agGridHelper.js +3 -8
- package/src/agGrid/agGridMenuHelper.js +5 -9
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
- package/src/components/ApplicationIcon.d.ts +1 -0
- package/src/components/ApplicationIcon.js +2 -2
- package/src/components/Dashboard/Dashboard.js +4 -1
- package/src/components/Dashboard/DashboardManager.d.ts +5 -3
- package/src/components/Dashboard/DashboardManager.js +33 -27
- package/src/components/Dropdown/index.js +8 -1
- package/src/components/DropdownButton/renderItem.js +1 -1
- package/src/components/ExpressionEditor/EditorInputReactive.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInputReactive.js +4 -2
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +4 -1
- package/src/components/ExpressionEditor/index.d.ts +1 -1
- package/src/components/ExpressionEditor/index.js +12 -5
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/Overlay.js +1 -1
- package/src/components/SizedContainer/index.js +7 -1
- package/src/components/WindowModal/WindowModal.js +4 -1
- package/src/metamodel/adaptable.metamodel.d.ts +75 -24
- package/src/metamodel/adaptable.metamodel.js +223 -115
- package/src/types.d.ts +6 -3
- package/themes/dark.css +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -14,22 +14,22 @@ const getToolbarTitle = (availableToolbars, toolbarId) => {
|
|
|
14
14
|
const found = availableToolbars.find((t) => t.Id === toolbarId);
|
|
15
15
|
return found ? found.Title : toolbarId;
|
|
16
16
|
};
|
|
17
|
-
function TabList({ tabs, onRemoveTab, onRemoveToolbar, onChangeTabName, }) {
|
|
17
|
+
function TabList({ tabs, onRemoveTab, onRemoveToolbar, onChangeTabName, disabled, }) {
|
|
18
18
|
return (React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: "MAIN", type: "TAB", direction: "horizontal" }, (provided) => (React.createElement("div", Object.assign({ ref: provided.innerRef }, provided.droppableProps, { style: { display: 'flex' }, "data-name": "dashboard-tabs" }),
|
|
19
|
-
tabs.map((tab, tabIndex) => (React.createElement(TabItem, { key: tabIndex, tabIndex: tabIndex, tab: tab, onRemove: () => onRemoveTab(tabIndex), onRemoveToolbar: (toolbarIndex) => onRemoveToolbar(tabIndex, toolbarIndex), onChangeTabName: (tabName) => onChangeTabName(tabIndex, tabName) }))),
|
|
19
|
+
tabs.map((tab, tabIndex) => (React.createElement(TabItem, { disabled: disabled, key: tabIndex, tabIndex: tabIndex, tab: tab, onRemove: () => onRemoveTab(tabIndex), onRemoveToolbar: (toolbarIndex) => onRemoveToolbar(tabIndex, toolbarIndex), onChangeTabName: (tabName) => onChangeTabName(tabIndex, tabName) }))),
|
|
20
20
|
provided.placeholder))));
|
|
21
21
|
}
|
|
22
|
-
function TabItem({ tab, tabIndex, onRemove, onRemoveToolbar, onChangeTabName, }) {
|
|
23
|
-
return (React.createElement(react_beautiful_dnd_1.Draggable, { draggableId: String(tabIndex), index: tabIndex }, (provided) => (React.createElement("div", Object.assign({ "data-name": "dashboard-tab", ref: provided.innerRef }, provided.draggableProps, { style: Object.assign(Object.assign({}, provided.draggableProps.style), { boxSizing: 'border-box', border: '1px solid var(--ab-color-primarydark)', borderRadius: 'var(--ab__border-radius)', marginRight: 'var(--ab-space-2)', width: 160, display: 'flex', flexDirection: 'column' }) }),
|
|
22
|
+
function TabItem({ tab, tabIndex, onRemove, onRemoveToolbar, onChangeTabName, disabled, }) {
|
|
23
|
+
return (React.createElement(react_beautiful_dnd_1.Draggable, { isDragDisabled: disabled, draggableId: String(tabIndex), index: tabIndex }, (provided) => (React.createElement("div", Object.assign({ "data-name": "dashboard-tab", ref: provided.innerRef }, provided.draggableProps, { style: Object.assign(Object.assign({}, (disabled ? {} : provided.draggableProps.style)), { boxSizing: 'border-box', border: '1px solid var(--ab-color-primarydark)', borderRadius: 'var(--ab__border-radius)', marginRight: 'var(--ab-space-2)', width: 160, display: 'flex', flexDirection: 'column' }) }),
|
|
24
24
|
React.createElement("div", { style: {
|
|
25
25
|
display: 'flex',
|
|
26
26
|
alignItems: 'center',
|
|
27
27
|
padding: 'var(--ab-space-1)',
|
|
28
28
|
borderBottom: '1px solid var(--ab-color-primarydark)',
|
|
29
29
|
} },
|
|
30
|
-
React.createElement("div", Object.assign({}, provided.dragHandleProps, { style: {} }),
|
|
30
|
+
React.createElement("div", Object.assign({}, (disabled ? {} : provided.dragHandleProps), { style: {} }),
|
|
31
31
|
React.createElement(icons_1.Icon, { name: "drag" })),
|
|
32
|
-
React.createElement("input", { type: "text", value: tab.Name, style: {
|
|
32
|
+
React.createElement("input", { type: "text", disabled: disabled, value: tab.Name, style: {
|
|
33
33
|
flex: 1,
|
|
34
34
|
width: '100%',
|
|
35
35
|
border: 'none',
|
|
@@ -41,11 +41,11 @@ function TabItem({ tab, tabIndex, onRemove, onRemoveToolbar, onChangeTabName, })
|
|
|
41
41
|
}, onChange: (event) => {
|
|
42
42
|
onChangeTabName(event.target.value);
|
|
43
43
|
} }),
|
|
44
|
-
React.createElement(SimpleButton_1.default, { icon: "delete", variant: "text", onClick: onRemove })),
|
|
45
|
-
React.createElement(ToolbarList, { toolbars: tab.Toolbars, droppableId: String(tabIndex), onRemove: onRemoveToolbar })))));
|
|
44
|
+
React.createElement(SimpleButton_1.default, { disabled: disabled, icon: "delete", variant: "text", onClick: onRemove })),
|
|
45
|
+
React.createElement(ToolbarList, { disabled: disabled, toolbars: tab.Toolbars, droppableId: String(tabIndex), onRemove: onRemoveToolbar })))));
|
|
46
46
|
}
|
|
47
|
-
function ToolbarList({ toolbars, droppableId, onRemove, }) {
|
|
48
|
-
return (React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: droppableId, type: "TOOLBAR" }, (provided, snapshot) => (React.createElement("div", Object.assign({ ref: provided.innerRef }, provided.droppableProps, { "data-name": "dashboard-toolbar-drop-target", style: {
|
|
47
|
+
function ToolbarList({ toolbars, droppableId, onRemove, disabled, }) {
|
|
48
|
+
return (React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: droppableId, type: "TOOLBAR" }, (provided, snapshot) => (React.createElement("div", Object.assign({ ref: provided.innerRef }, (disabled ? {} : provided.droppableProps), { "data-name": "dashboard-toolbar-drop-target", style: {
|
|
49
49
|
flex: 1,
|
|
50
50
|
padding: 4,
|
|
51
51
|
paddingBottom: 0,
|
|
@@ -54,18 +54,18 @@ function ToolbarList({ toolbars, droppableId, onRemove, }) {
|
|
|
54
54
|
: '',
|
|
55
55
|
minHeight: 200,
|
|
56
56
|
} }),
|
|
57
|
-
toolbars.map((toolbar, toolbarIndex) => (React.createElement(ToolbarItem, { key: toolbar, toolbar: toolbar, toolbarIndex: toolbarIndex, onRemove: () => onRemove(toolbarIndex) }))),
|
|
57
|
+
toolbars.map((toolbar, toolbarIndex) => (React.createElement(ToolbarItem, { disabled: disabled, key: toolbar, toolbar: toolbar, toolbarIndex: toolbarIndex, onRemove: () => onRemove(toolbarIndex) }))),
|
|
58
58
|
provided.placeholder))));
|
|
59
59
|
}
|
|
60
|
-
function ToolbarItem({ toolbar, toolbarIndex, onRemove, }) {
|
|
60
|
+
function ToolbarItem({ toolbar, toolbarIndex, onRemove, disabled, }) {
|
|
61
61
|
const { availableToolbars } = react_1.useContext(DashboardManagerContext);
|
|
62
|
-
return (React.createElement(react_beautiful_dnd_1.Draggable, { draggableId: toolbar, index: toolbarIndex }, (provided, snapshot) => (React.createElement("div", Object.assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { style: Object.assign(Object.assign({}, provided.draggableProps.style), { display: 'flex', alignItems: 'center', border: '1px solid var(--ab-color-primary)', backgroundColor: snapshot.isDragging
|
|
62
|
+
return (React.createElement(react_beautiful_dnd_1.Draggable, { isDragDisabled: disabled, draggableId: toolbar, index: toolbarIndex }, (provided, snapshot) => (React.createElement("div", Object.assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { style: Object.assign(Object.assign({}, provided.draggableProps.style), { display: 'flex', alignItems: 'center', border: '1px solid var(--ab-color-primary)', backgroundColor: snapshot.isDragging
|
|
63
63
|
? 'var(--ab-dashboard-toolbar-drag__background)'
|
|
64
64
|
: 'var(--ab-color-primarylight)', paddingLeft: 'var(--ab-space-1)', marginBottom: 'var(--ab-space-1)' }) }),
|
|
65
65
|
React.createElement("div", { style: { flex: 1 } }, getToolbarTitle(availableToolbars, toolbar)),
|
|
66
|
-
React.createElement(SimpleButton_1.default, { icon: "clear", variant: "text", padding: 1, onClick: onRemove })))));
|
|
66
|
+
React.createElement(SimpleButton_1.default, { disabled: disabled, icon: "clear", variant: "text", padding: 1, onClick: onRemove })))));
|
|
67
67
|
}
|
|
68
|
-
function UnusedPanel({ toolbars }) {
|
|
68
|
+
function UnusedPanel({ toolbars, disabled }) {
|
|
69
69
|
return (React.createElement("div", { "data-name": "dashboard-toolbars", style: {
|
|
70
70
|
border: '1px solid var(--ab-color-primarydark)',
|
|
71
71
|
borderRadius: 'var(--ab__border-radius)',
|
|
@@ -76,9 +76,9 @@ function UnusedPanel({ toolbars }) {
|
|
|
76
76
|
React.createElement("div", { style: { padding: 'var(--ab-space-2)' } },
|
|
77
77
|
React.createElement("b", null, "Available Toolbars"),
|
|
78
78
|
" (drag into a Tab below)"),
|
|
79
|
-
React.createElement(UnusedToolbarList, { toolbars: toolbars })));
|
|
79
|
+
React.createElement(UnusedToolbarList, { disabled: disabled, toolbars: toolbars })));
|
|
80
80
|
}
|
|
81
|
-
function UnusedToolbarList({ toolbars }) {
|
|
81
|
+
function UnusedToolbarList({ toolbars, disabled }) {
|
|
82
82
|
return (React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: "UNUSED", type: "TOOLBAR", isDropDisabled: true, direction: "horizontal" }, (provided) => (React.createElement("div", Object.assign({ ref: provided.innerRef, "data-name": "dashboard-toolbars-list" }, provided.droppableProps, { style: {
|
|
83
83
|
display: 'flex',
|
|
84
84
|
flexDirection: 'row',
|
|
@@ -86,16 +86,22 @@ function UnusedToolbarList({ toolbars }) {
|
|
|
86
86
|
paddingLeft: 'var(--ab-space-2)',
|
|
87
87
|
paddingRight: 'var(--ab-space-2)',
|
|
88
88
|
} }),
|
|
89
|
-
toolbars.map((toolbar, toolbarIndex) => (React.createElement(UnusedToolbarItem, { key: toolbar, toolbar: toolbar, toolbarIndex: toolbarIndex }))),
|
|
89
|
+
toolbars.map((toolbar, toolbarIndex) => (React.createElement(UnusedToolbarItem, { disabled: disabled, key: toolbar, toolbar: toolbar, toolbarIndex: toolbarIndex }))),
|
|
90
90
|
provided.placeholder))));
|
|
91
91
|
}
|
|
92
|
-
function UnusedToolbarItem({ toolbar, toolbarIndex }) {
|
|
92
|
+
function UnusedToolbarItem({ toolbar, toolbarIndex, disabled, }) {
|
|
93
93
|
const { availableToolbars } = react_1.useContext(DashboardManagerContext);
|
|
94
|
-
return (React.createElement(react_beautiful_dnd_1.Draggable, { draggableId: toolbar, index: toolbarIndex }, (provided, snapshot) =>
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
return (React.createElement(react_beautiful_dnd_1.Draggable, { isDragDisabled: disabled, draggableId: toolbar, index: toolbarIndex }, (provided, snapshot) => {
|
|
95
|
+
const eventHandlers = disabled
|
|
96
|
+
? {}
|
|
97
|
+
: Object.assign(Object.assign({}, provided.draggableProps), provided.dragHandleProps);
|
|
98
|
+
const dragStyle = disabled ? {} : provided.draggableProps.style;
|
|
99
|
+
return (React.createElement("div", Object.assign({ "data-name": "dashboard-toolbar", ref: provided.innerRef }, eventHandlers, { style: Object.assign(Object.assign({}, dragStyle), { border: '1px solid var(--ab-color-primary)', backgroundColor: snapshot.isDragging
|
|
100
|
+
? 'var(--ab-dashboard-toolbar-drag__background)'
|
|
101
|
+
: 'var(--ab-color-primarylight)', padding: 'var(--ab-space-1) var(--ab-space-2)', marginRight: 'var(--ab-space-1)', marginBottom: 'var(--ab-space-1)' }) }), getToolbarTitle(availableToolbars, toolbar)));
|
|
102
|
+
}));
|
|
97
103
|
}
|
|
98
|
-
|
|
104
|
+
const DashboardManager = ({ tabs, onTabsChange, availableToolbars, api, disabled, }) => {
|
|
99
105
|
const moduleService = api.internalApi.getModuleService();
|
|
100
106
|
const moduleInfo = moduleService.getModuleInfoByModule('Dashboard');
|
|
101
107
|
const contextValue = react_1.useMemo(() => ({
|
|
@@ -157,9 +163,9 @@ function DashboardManager({ tabs, onTabsChange, availableToolbars, api, }) {
|
|
|
157
163
|
} },
|
|
158
164
|
React.createElement(DashboardManagerContext.Provider, { value: contextValue },
|
|
159
165
|
React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
|
|
160
|
-
React.createElement(UnusedPanel, { toolbars: unusedToolbars }),
|
|
161
|
-
React.createElement(PanelWithButton_1.PanelWithButton, { headerText: moduleInfo.FriendlyName + ' Tabs', button: React.createElement(SimpleButton_1.default, { onClick: handleTabAdd }, "Add Tab") },
|
|
166
|
+
React.createElement(UnusedPanel, { disabled: disabled, toolbars: unusedToolbars }),
|
|
167
|
+
React.createElement(PanelWithButton_1.PanelWithButton, { headerText: moduleInfo.FriendlyName + ' Tabs', button: React.createElement(SimpleButton_1.default, { disabled: disabled, onClick: handleTabAdd }, "Add Tab") },
|
|
162
168
|
React.createElement("div", { style: { display: 'flex', flex: 1 } },
|
|
163
|
-
React.createElement(TabList, { tabs: tabs, onRemoveTab: handleRemoveTab, onRemoveToolbar: handleRemoveToolbar, onChangeTabName: handleChangeTabName })))))));
|
|
164
|
-
}
|
|
169
|
+
React.createElement(TabList, { disabled: disabled, tabs: tabs, onRemoveTab: handleRemoveTab, onRemoveToolbar: handleRemoveToolbar, onChangeTabName: handleChangeTabName })))))));
|
|
170
|
+
};
|
|
165
171
|
exports.default = DashboardManager;
|
|
@@ -90,7 +90,14 @@ const Dropdown = (props) => {
|
|
|
90
90
|
React.createElement("select", { ref: selectRef, tabIndex: -1, disabled: disabled, value: value == null ? '' : value, onChange: (e) => {
|
|
91
91
|
const selected = finalOptions.filter((o) => o.value == e.target.value)[0];
|
|
92
92
|
onChange(selected, e);
|
|
93
|
-
}, style: {
|
|
93
|
+
}, style: {
|
|
94
|
+
opacity: 0,
|
|
95
|
+
width: '100%',
|
|
96
|
+
height: '100%',
|
|
97
|
+
top: 0,
|
|
98
|
+
left: 0,
|
|
99
|
+
zIndex: 1,
|
|
100
|
+
}, onMouseDown: onMouseDown, name: name, multiple: multiple, autoFocus: autoFocus }, finalOptions.map((o) => {
|
|
94
101
|
return (React.createElement("option", { key: o.value, value: o.value }, o.label));
|
|
95
102
|
})),
|
|
96
103
|
showClearButton && selectedOption ? renderClearButton() : null));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
|
-
const isPlainObject_1 = tslib_1.__importDefault(require("lodash
|
|
5
|
+
const isPlainObject_1 = tslib_1.__importDefault(require("lodash/isPlainObject"));
|
|
6
6
|
exports.default = ({ domProps, item, onItemClick, index, columns, className, idProperty, style, }) => {
|
|
7
7
|
const key = item[idProperty] || index;
|
|
8
8
|
if (!isPlainObject_1.default(item)) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { AdaptableApi } from '../../Api/AdaptableApi';
|
|
3
3
|
import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
|
|
4
4
|
interface EditorInputReactiveProps {
|
|
5
|
-
type: 'observable' | '
|
|
5
|
+
type: 'observable' | 'aggregatedBoolean';
|
|
6
6
|
module: AdaptableModule;
|
|
7
7
|
value: string;
|
|
8
8
|
onChange: (value: string) => void;
|
|
@@ -17,9 +17,11 @@ function EditorInputReactive(props) {
|
|
|
17
17
|
.getModuleExpressionFunctions(props.module);
|
|
18
18
|
const reactiveExpressionFns = props.type === 'observable'
|
|
19
19
|
? moduleExpressionFunctions.observableFunctions
|
|
20
|
-
: moduleExpressionFunctions.
|
|
20
|
+
: moduleExpressionFunctions.aggregatedBooleanFunctions;
|
|
21
21
|
const whereClauseExpressionsFns = Object.assign(Object.assign({}, moduleExpressionFunctions.booleanFunctions), moduleExpressionFunctions.scalarFunctions);
|
|
22
|
-
const [value, setValue] = useProperty_1.default(props, 'value', '', {
|
|
22
|
+
const [value, setValue] = useProperty_1.default(props, 'value', '', {
|
|
23
|
+
onChange: props.onChange,
|
|
24
|
+
});
|
|
23
25
|
const [reactiveValue, whereClauseValue] = value.split(' WHERE ');
|
|
24
26
|
const updateReactiveValue = (value) => {
|
|
25
27
|
let fullExpressionString = value;
|
|
@@ -5,7 +5,10 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const rebass_1 = require("rebass");
|
|
6
6
|
const React = tslib_1.__importStar(require("react"));
|
|
7
7
|
exports.ExpressionFunctionDocumentation = (props) => {
|
|
8
|
-
return props.expressionFunction ? (React.createElement(rebass_1.Box, { "data-name": "expression-editor-documentation", my: 2, p: 2, style: {
|
|
8
|
+
return props.expressionFunction ? (React.createElement(rebass_1.Box, { "data-name": "expression-editor-documentation", my: 2, p: 2, style: {
|
|
9
|
+
background: 'var(--ab-color-primary)',
|
|
10
|
+
borderRadius: 'var(--ab__border-radius)',
|
|
11
|
+
} },
|
|
9
12
|
props.expressionFunction.description && (React.createElement(rebass_1.Box, { mb: 3, style: { fontWeight: 'bold' }, "data-name": "expression-editor-documentation-description" }, props.expressionFunction.description)),
|
|
10
13
|
props.expressionFunction.signatures && (React.createElement(rebass_1.Box, { "data-name": "expression-editor-documentation-signatures" },
|
|
11
14
|
React.createElement("b", null, "Signatures"),
|
|
@@ -4,7 +4,7 @@ import { NamedQuery } from '../../PredefinedConfig/QueryState';
|
|
|
4
4
|
interface ExpressionEditorProps {
|
|
5
5
|
value: string;
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
|
-
type: 'boolean' | 'scalar' | 'observable' | '
|
|
7
|
+
type: 'boolean' | 'scalar' | 'observable' | 'aggregatedBoolean';
|
|
8
8
|
module: AdaptableModule;
|
|
9
9
|
initialData: {
|
|
10
10
|
[key: string]: any;
|
|
@@ -35,7 +35,7 @@ function ExpressionEditor(props) {
|
|
|
35
35
|
const { namedQuery, setNamedQuery } = NamedQueryContext_1.useNamedQueryContext();
|
|
36
36
|
const textAreaRef = react_1.useRef(null);
|
|
37
37
|
const allowSaveNamedQuery = (_a = props.allowSaveNamedQuery) !== null && _a !== void 0 ? _a : type === 'boolean';
|
|
38
|
-
const editorInput = type === 'observable' || type === '
|
|
38
|
+
const editorInput = type === 'observable' || type === 'aggregatedBoolean' ? (React.createElement(EditorInputReactive_1.default, { type: type, module: module, value: props.value, onChange: (value) => {
|
|
39
39
|
setExpressionText(value);
|
|
40
40
|
props.onChange(value);
|
|
41
41
|
}, testData: data, api: props.api })) : (
|
|
@@ -66,7 +66,11 @@ function ExpressionEditor(props) {
|
|
|
66
66
|
: '', onChange: (e) => {
|
|
67
67
|
setData(Object.assign(Object.assign({}, data), { [column.columnId]: new Date(e.target.value) }));
|
|
68
68
|
}, style: { width: '100%' }, disabled: column.readOnly })) : column.dataType === 'Boolean' ? (React.createElement(CheckBox_1.CheckBox, { "data-name": "column-input", checked: data[column.columnId], onChange: (checked) => setData(Object.assign(Object.assign({}, data), { [column.columnId]: checked })), disabled: column.readOnly })) : null))))));
|
|
69
|
-
const namedQueries = (React.createElement("div", null, props.namedQueries.map((namedQuery) => (React.createElement(rebass_1.Flex, { key: namedQuery.Uuid, flexDirection: "column", alignItems: "start", style: {
|
|
69
|
+
const namedQueries = (React.createElement("div", null, props.namedQueries.map((namedQuery) => (React.createElement(rebass_1.Flex, { key: namedQuery.Uuid, flexDirection: "column", alignItems: "start", style: {
|
|
70
|
+
padding: 3,
|
|
71
|
+
marginTop: 'var(--ab-space-2)',
|
|
72
|
+
marginBottom: 'var(--ab-space-2)',
|
|
73
|
+
}, backgroundColor: "primarylight" },
|
|
70
74
|
' ',
|
|
71
75
|
React.createElement(EditorButton_1.default, { width: "100%", height: "100%", style: {
|
|
72
76
|
background: 'var(--ab-color-primary)',
|
|
@@ -153,7 +157,7 @@ const renderQueryHints = (type) => {
|
|
|
153
157
|
description: "An Order Cost cell contains its highest value in the whole Grid within the last hour - for rows where Cust Ref is 'TRADH'",
|
|
154
158
|
});
|
|
155
159
|
}
|
|
156
|
-
if (type === '
|
|
160
|
+
if (type === 'aggregatedBoolean') {
|
|
157
161
|
examples.push({
|
|
158
162
|
code: 'SUM([PnL]) > 50000000',
|
|
159
163
|
description: "The sum of the 'PnL' column values in all rows is greater than 5 Million",
|
|
@@ -163,7 +167,10 @@ const renderQueryHints = (type) => {
|
|
|
163
167
|
description: "The sum of the 'PnL' column values in all rows where named query 'CurrencyDollar' is evaluated to TRUE is greater than 5 Billions",
|
|
164
168
|
});
|
|
165
169
|
}
|
|
166
|
-
return examples.length ? (React.createElement(rebass_1.Box, { "data-name": "expression-hints", my: 2, p: 2, style: {
|
|
170
|
+
return examples.length ? (React.createElement(rebass_1.Box, { "data-name": "expression-hints", my: 2, p: 2, style: {
|
|
171
|
+
background: 'var(--ab-color-primary)',
|
|
172
|
+
borderRadius: 'var(--ab__border-radius)',
|
|
173
|
+
} },
|
|
167
174
|
React.createElement(rebass_1.Box, null,
|
|
168
175
|
React.createElement(rebass_1.Text, { marginBottom: 2 },
|
|
169
176
|
React.createElement("b", null, "Examples"),
|
|
@@ -181,5 +188,5 @@ const queryDocumentationLinks = {
|
|
|
181
188
|
boolean: DocumentationLinkConstants_1.BooleanQueryDocsLink,
|
|
182
189
|
scalar: DocumentationLinkConstants_1.ScalarQueryDocsLink,
|
|
183
190
|
observable: DocumentationLinkConstants_1.ObservableQueryDocsLink,
|
|
184
|
-
|
|
191
|
+
aggregatedBoolean: DocumentationLinkConstants_1.AggregationQueryDocsLink,
|
|
185
192
|
};
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const rebass_1 = require("rebass");
|
|
7
7
|
const react_1 = require("react");
|
|
8
|
-
const merge_1 = tslib_1.__importDefault(require("lodash
|
|
8
|
+
const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
|
|
9
9
|
const join_1 = tslib_1.__importDefault(require("../utils/join"));
|
|
10
10
|
const FormLayoutContext = react_1.createContext(null);
|
|
11
11
|
const defaultColumns = {
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const batchUpdate_1 = tslib_1.__importDefault(require("../utils/batchUpdate"));
|
|
8
8
|
const usePrevious_1 = tslib_1.__importDefault(require("../utils/usePrevious"));
|
|
9
|
-
const isEqual_1 = tslib_1.__importDefault(require("lodash
|
|
9
|
+
const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
10
10
|
const utils_1 = require("./utils");
|
|
11
11
|
exports.useRefresh = () => {
|
|
12
12
|
const [x, update] = react_1.useState(0);
|
|
@@ -9,7 +9,13 @@ const SizedContainer = (props) => {
|
|
|
9
9
|
const [size, onResize] = React.useState(null);
|
|
10
10
|
const sizeFn = props.children;
|
|
11
11
|
return (React.createElement(rebass_1.Box, Object.assign({}, domProps, { style: Object.assign(Object.assign({ flex: 1 }, domProps.style), { position: 'relative' }) }),
|
|
12
|
-
React.createElement(rebass_1.Box, { style: {
|
|
12
|
+
React.createElement(rebass_1.Box, { style: {
|
|
13
|
+
position: 'absolute',
|
|
14
|
+
left: 0,
|
|
15
|
+
top: 0,
|
|
16
|
+
width: '100%',
|
|
17
|
+
height: '100%',
|
|
18
|
+
}, "data-width": size ? size.width : null, "data-height": size ? size.height : null },
|
|
13
19
|
React.createElement(NotifyResize_1.default, { onResize: (size) => {
|
|
14
20
|
onResize(size);
|
|
15
21
|
onResizeFromProps === null || onResizeFromProps === void 0 ? void 0 : onResizeFromProps(size);
|
|
@@ -56,7 +56,10 @@ exports.WindowModal = (props) => {
|
|
|
56
56
|
top: props.position.y,
|
|
57
57
|
};
|
|
58
58
|
const handleDrop = (dx, dy) => {
|
|
59
|
-
const newPosition = {
|
|
59
|
+
const newPosition = {
|
|
60
|
+
x: positionRef.current.x + dx,
|
|
61
|
+
y: positionRef.current.y + dy,
|
|
62
|
+
};
|
|
60
63
|
props.onChange({
|
|
61
64
|
position: newPosition,
|
|
62
65
|
size: props.size,
|
|
@@ -349,8 +349,8 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
349
349
|
description: string;
|
|
350
350
|
uiLabel: string;
|
|
351
351
|
isOptional: boolean;
|
|
352
|
+
gridInfo: string;
|
|
352
353
|
reference: string;
|
|
353
|
-
gridInfo?: undefined;
|
|
354
354
|
defaultValue?: undefined;
|
|
355
355
|
} | {
|
|
356
356
|
name: string;
|
|
@@ -358,18 +358,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
358
358
|
description: string;
|
|
359
359
|
uiLabel: string;
|
|
360
360
|
isOptional: boolean;
|
|
361
|
+
reference: string;
|
|
361
362
|
gridInfo?: undefined;
|
|
362
363
|
defaultValue?: undefined;
|
|
363
|
-
reference?: undefined;
|
|
364
364
|
} | {
|
|
365
365
|
name: string;
|
|
366
366
|
kind: string;
|
|
367
367
|
description: string;
|
|
368
368
|
uiLabel: string;
|
|
369
369
|
isOptional: boolean;
|
|
370
|
-
gridInfo
|
|
371
|
-
reference: string;
|
|
370
|
+
gridInfo?: undefined;
|
|
372
371
|
defaultValue?: undefined;
|
|
372
|
+
reference?: undefined;
|
|
373
373
|
} | {
|
|
374
374
|
name: string;
|
|
375
375
|
kind: string;
|
|
@@ -663,17 +663,47 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
663
663
|
kind: string;
|
|
664
664
|
description: string;
|
|
665
665
|
};
|
|
666
|
+
AlertOptions: {
|
|
667
|
+
name: string;
|
|
668
|
+
kind: string;
|
|
669
|
+
description: string;
|
|
670
|
+
properties: ({
|
|
671
|
+
name: string;
|
|
672
|
+
kind: string;
|
|
673
|
+
description: string;
|
|
674
|
+
uiLabel: string;
|
|
675
|
+
isOptional: boolean;
|
|
676
|
+
gridInfo?: undefined;
|
|
677
|
+
defaultValue?: undefined;
|
|
678
|
+
} | {
|
|
679
|
+
name: string;
|
|
680
|
+
kind: string;
|
|
681
|
+
description: string;
|
|
682
|
+
uiLabel: string;
|
|
683
|
+
isOptional: boolean;
|
|
684
|
+
gridInfo: string;
|
|
685
|
+
defaultValue: string;
|
|
686
|
+
})[];
|
|
687
|
+
};
|
|
666
688
|
AlertProperties: {
|
|
667
689
|
name: string;
|
|
668
690
|
kind: string;
|
|
669
691
|
description: string;
|
|
670
|
-
properties: {
|
|
692
|
+
properties: ({
|
|
671
693
|
name: string;
|
|
672
694
|
kind: string;
|
|
673
695
|
description: string;
|
|
674
696
|
uiLabel: string;
|
|
675
697
|
isOptional: boolean;
|
|
676
|
-
|
|
698
|
+
defaultValue?: undefined;
|
|
699
|
+
} | {
|
|
700
|
+
name: string;
|
|
701
|
+
kind: string;
|
|
702
|
+
description: string;
|
|
703
|
+
uiLabel: string;
|
|
704
|
+
isOptional: boolean;
|
|
705
|
+
defaultValue: string;
|
|
706
|
+
})[];
|
|
677
707
|
};
|
|
678
708
|
AlertState: {
|
|
679
709
|
name: string;
|
|
@@ -685,7 +715,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
685
715
|
description: string;
|
|
686
716
|
uiLabel: string;
|
|
687
717
|
isOptional: boolean;
|
|
688
|
-
defaultValue: string;
|
|
689
718
|
}[];
|
|
690
719
|
};
|
|
691
720
|
AlternativeModuleName: {
|
|
@@ -849,7 +878,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
849
878
|
description: string;
|
|
850
879
|
uiLabel: string;
|
|
851
880
|
isOptional: boolean;
|
|
852
|
-
defaultValue: string;
|
|
853
881
|
}[];
|
|
854
882
|
};
|
|
855
883
|
CellChangedInfo: {
|
|
@@ -873,6 +901,14 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
873
901
|
kind: string;
|
|
874
902
|
description: string;
|
|
875
903
|
uiLabel: string;
|
|
904
|
+
reference?: undefined;
|
|
905
|
+
isOptional?: undefined;
|
|
906
|
+
} | {
|
|
907
|
+
name: string;
|
|
908
|
+
kind: string;
|
|
909
|
+
description: string;
|
|
910
|
+
uiLabel: string;
|
|
911
|
+
reference: string;
|
|
876
912
|
isOptional?: undefined;
|
|
877
913
|
} | {
|
|
878
914
|
name: string;
|
|
@@ -880,6 +916,7 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
880
916
|
description: string;
|
|
881
917
|
uiLabel: string;
|
|
882
918
|
isOptional: boolean;
|
|
919
|
+
reference?: undefined;
|
|
883
920
|
})[];
|
|
884
921
|
};
|
|
885
922
|
CellSummaryApi: {
|
|
@@ -1192,7 +1229,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1192
1229
|
description: string;
|
|
1193
1230
|
uiLabel: string;
|
|
1194
1231
|
isOptional: boolean;
|
|
1195
|
-
defaultValue: string;
|
|
1196
1232
|
}[];
|
|
1197
1233
|
};
|
|
1198
1234
|
CustomToolbar: {
|
|
@@ -1740,13 +1776,13 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1740
1776
|
kind: string;
|
|
1741
1777
|
description: string;
|
|
1742
1778
|
uiLabel: string;
|
|
1743
|
-
isOptional
|
|
1779
|
+
isOptional: boolean;
|
|
1744
1780
|
} | {
|
|
1745
1781
|
name: string;
|
|
1746
1782
|
kind: string;
|
|
1747
1783
|
description: string;
|
|
1748
1784
|
uiLabel: string;
|
|
1749
|
-
isOptional
|
|
1785
|
+
isOptional?: undefined;
|
|
1750
1786
|
})[];
|
|
1751
1787
|
};
|
|
1752
1788
|
FilterActionOnDataChange: {
|
|
@@ -1830,6 +1866,7 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1830
1866
|
description: string;
|
|
1831
1867
|
uiLabel: string;
|
|
1832
1868
|
isOptional: boolean;
|
|
1869
|
+
defaultValue: string;
|
|
1833
1870
|
}[];
|
|
1834
1871
|
};
|
|
1835
1872
|
FilterState: {
|
|
@@ -1960,7 +1997,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1960
1997
|
description: string;
|
|
1961
1998
|
uiLabel: string;
|
|
1962
1999
|
isOptional: boolean;
|
|
1963
|
-
defaultValue: string;
|
|
1964
2000
|
}[];
|
|
1965
2001
|
};
|
|
1966
2002
|
FormatColumn: {
|
|
@@ -2033,16 +2069,16 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2033
2069
|
kind: string;
|
|
2034
2070
|
description: string;
|
|
2035
2071
|
uiLabel: string;
|
|
2036
|
-
isOptional?: undefined;
|
|
2037
2072
|
defaultValue?: undefined;
|
|
2073
|
+
isOptional?: undefined;
|
|
2038
2074
|
reference?: undefined;
|
|
2039
2075
|
} | {
|
|
2040
2076
|
name: string;
|
|
2041
2077
|
kind: string;
|
|
2042
2078
|
description: string;
|
|
2043
2079
|
uiLabel: string;
|
|
2044
|
-
isOptional: boolean;
|
|
2045
2080
|
defaultValue: string;
|
|
2081
|
+
isOptional?: undefined;
|
|
2046
2082
|
reference?: undefined;
|
|
2047
2083
|
} | {
|
|
2048
2084
|
name: string;
|
|
@@ -2060,6 +2096,14 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2060
2096
|
isOptional: boolean;
|
|
2061
2097
|
reference: string;
|
|
2062
2098
|
defaultValue?: undefined;
|
|
2099
|
+
} | {
|
|
2100
|
+
name: string;
|
|
2101
|
+
kind: string;
|
|
2102
|
+
description: string;
|
|
2103
|
+
uiLabel: string;
|
|
2104
|
+
isOptional: boolean;
|
|
2105
|
+
defaultValue: string;
|
|
2106
|
+
reference?: undefined;
|
|
2063
2107
|
})[];
|
|
2064
2108
|
};
|
|
2065
2109
|
FreeTextColumnApi: {
|
|
@@ -2441,7 +2485,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2441
2485
|
description: string;
|
|
2442
2486
|
uiLabel: string;
|
|
2443
2487
|
isOptional: boolean;
|
|
2444
|
-
defaultValue: string;
|
|
2445
2488
|
}[];
|
|
2446
2489
|
};
|
|
2447
2490
|
LiveDataChangedInfo: {
|
|
@@ -2523,15 +2566,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2523
2566
|
kind: string;
|
|
2524
2567
|
description: string;
|
|
2525
2568
|
properties: ({
|
|
2526
|
-
name: string;
|
|
2527
|
-
kind: string;
|
|
2528
|
-
description: string;
|
|
2529
|
-
uiLabel: string;
|
|
2530
|
-
isOptional: boolean;
|
|
2531
|
-
gridInfo?: undefined;
|
|
2532
|
-
defaultValue?: undefined;
|
|
2533
|
-
reference?: undefined;
|
|
2534
|
-
} | {
|
|
2535
2569
|
name: string;
|
|
2536
2570
|
kind: string;
|
|
2537
2571
|
description: string;
|
|
@@ -2653,6 +2687,12 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2653
2687
|
name: string;
|
|
2654
2688
|
kind: string;
|
|
2655
2689
|
description: string;
|
|
2690
|
+
properties: {
|
|
2691
|
+
name: string;
|
|
2692
|
+
kind: string;
|
|
2693
|
+
description: string;
|
|
2694
|
+
uiLabel: string;
|
|
2695
|
+
}[];
|
|
2656
2696
|
};
|
|
2657
2697
|
PlusMinusApi: {
|
|
2658
2698
|
name: string;
|
|
@@ -3047,6 +3087,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3047
3087
|
reference: string;
|
|
3048
3088
|
}[];
|
|
3049
3089
|
};
|
|
3090
|
+
SettingsPanelApi: {
|
|
3091
|
+
name: string;
|
|
3092
|
+
kind: string;
|
|
3093
|
+
description: string;
|
|
3094
|
+
properties: {
|
|
3095
|
+
name: string;
|
|
3096
|
+
kind: string;
|
|
3097
|
+
description: string;
|
|
3098
|
+
uiLabel: string;
|
|
3099
|
+
}[];
|
|
3100
|
+
};
|
|
3050
3101
|
SharedEntity: {
|
|
3051
3102
|
name: string;
|
|
3052
3103
|
kind: string;
|