@adaptabletools/adaptable 20.0.0-canary.3 → 20.0.0-canary.5
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/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -1
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +1 -1
- package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +1 -1
- package/src/AdaptableOptions/EditOptions.d.ts +14 -3
- package/src/AdaptableOptions/ExportOptions.d.ts +4 -18
- package/src/AdaptableOptions/PredicateOptions.d.ts +4 -4
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +7 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +1 -0
- package/src/Api/Implementation/ExportApiImpl.js +3 -2
- package/src/Api/Implementation/ScheduleApiImpl.js +1 -1
- package/src/Api/Implementation/StyledColumnApiImpl.js +1 -1
- package/src/Api/Implementation/ThemeApiImpl.js +3 -1
- package/src/Api/Internal/EventInternalApi.js +6 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/Internal/RowFormInternalApi.js +1 -1
- package/src/Api/ThemeApi.d.ts +2 -0
- package/src/PredefinedConfig/AlertState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumnContext.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +0 -16
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
- package/src/PredefinedConfig/LayoutState.d.ts +16 -16
- package/src/PredefinedConfig/StyledColumnState.d.ts +1 -1
- package/src/Strategy/StyledColumnModule.js +6 -6
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/ThemeService.d.ts +1 -1
- package/src/Utilities/Services/ThemeService.js +5 -5
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +4 -1
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +7 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +2 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +18 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.d.ts +3 -4
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +348 -191
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +4 -4
- package/src/agGrid/AdaptableAgGrid.d.ts +3 -8
- package/src/agGrid/AdaptableAgGrid.js +35 -116
- package/src/agGrid/AgGridAdapter.d.ts +1 -1
- package/src/agGrid/AgGridAdapter.js +6 -7
- package/src/agGrid/AgGridColumnAdapter.js +5 -7
- package/src/agGrid/AgGridThemeAdapter.d.ts +19 -0
- package/src/agGrid/AgGridThemeAdapter.js +122 -0
- package/src/components/ColorPicker/ColorPicker.js +2 -2
- package/src/components/OverlayTrigger/useAgGridClassName.js +1 -1
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +16 -15
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade20.d.ts +1 -0
- package/src/migration/VersionUpgrade20.js +69 -0
- package/src/types.d.ts +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -18,14 +18,24 @@ export const ScheduleSettingsReport = (props) => {
|
|
|
18
18
|
});
|
|
19
19
|
},
|
|
20
20
|
}));
|
|
21
|
+
const destinationOptions = props.allDestinations.map((destination) => ({
|
|
22
|
+
label: destination,
|
|
23
|
+
value: destination,
|
|
24
|
+
onClick: () => {
|
|
25
|
+
props.onChange({
|
|
26
|
+
...props.report,
|
|
27
|
+
ExportDestination: destination,
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
}));
|
|
21
31
|
return (React.createElement(Box, { "data-name": "schedule-settings-report" },
|
|
22
32
|
React.createElement(Tabs, { autoFocus: false, mb: 3 },
|
|
23
|
-
React.createElement(Tabs.Tab, null, "Report
|
|
33
|
+
React.createElement(Tabs.Tab, null, "Report Settings"),
|
|
24
34
|
React.createElement(Tabs.Content, null,
|
|
25
35
|
React.createElement(FormLayout, null,
|
|
26
36
|
React.createElement(FormRow, { label: "Export" },
|
|
27
37
|
React.createElement(Box, { maxWidth: 300 },
|
|
28
|
-
React.createElement(Select, { "data-name": "select-
|
|
38
|
+
React.createElement(Select, { "data-name": "select-report", options: reportOptions, value: props?.report?.ReportName, placeholder: "Select Export", onChange: (value) => props.onChange({
|
|
29
39
|
...props.report,
|
|
30
40
|
ReportName: value,
|
|
31
41
|
}) }))),
|
|
@@ -34,5 +44,11 @@ export const ScheduleSettingsReport = (props) => {
|
|
|
34
44
|
React.createElement(Select, { "data-name": "select-format", options: formatOptions, value: props?.report?.ReportFormat, placeholder: "Select Format", onChange: (value) => props.onChange({
|
|
35
45
|
...props.report,
|
|
36
46
|
ReportFormat: value,
|
|
47
|
+
}) }))),
|
|
48
|
+
React.createElement(FormRow, { label: "Destination" },
|
|
49
|
+
React.createElement(Box, { maxWidth: 300 },
|
|
50
|
+
React.createElement(Select, { "data-name": "select-destination", options: destinationOptions, value: props?.report?.ExportDestination, placeholder: "Select Format", onChange: (value) => props.onChange({
|
|
51
|
+
...props.report,
|
|
52
|
+
ExportDestination: value,
|
|
37
53
|
}) }))))))));
|
|
38
54
|
};
|
|
@@ -39,6 +39,10 @@ export const getScheduleSettingsValues = (data) => {
|
|
|
39
39
|
label: 'Report Format',
|
|
40
40
|
value: report?.ReportFormat || 'Not Specified',
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
label: 'Export Destination',
|
|
44
|
+
value: report?.ExportDestination || 'Download',
|
|
45
|
+
},
|
|
42
46
|
];
|
|
43
47
|
}
|
|
44
48
|
if (data.ScheduleType === ScheduleType.ipushpull) {
|
|
@@ -13,7 +13,8 @@ export const ScheduleSettingsWizard = (props) => {
|
|
|
13
13
|
}
|
|
14
14
|
if (data?.ScheduleType === ScheduleType.Report) {
|
|
15
15
|
const allFormats = api.exportApi.getAvailableSystemFormats();
|
|
16
|
-
|
|
16
|
+
const allDestinations = api.exportApi.getAllExportDestinations();
|
|
17
|
+
return (React.createElement(ScheduleSettingsReport, { allReports: allReports ?? [], allFormats: allFormats ?? [], allDestinations: allDestinations ?? [], report: data, onChange: props.onChange }));
|
|
17
18
|
}
|
|
18
19
|
if (data?.ScheduleType === ScheduleType.ipushpull) {
|
|
19
20
|
const ippApi = api.pluginsApi.getipushpullPluginApi();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StyledColumn } from '../../../types';
|
|
3
|
-
export
|
|
2
|
+
import type { StyledColumn } from '../../../types';
|
|
3
|
+
export declare const StyledColumnSparklineSettingsSection: React.FC<{
|
|
4
4
|
onChange: (data: StyledColumn) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const StyledColumnSparklineSettingsSection: React.FunctionComponent<StyledColumnSparklineSettingsSectionProps>;
|
|
5
|
+
}>;
|