@adaptabletools/adaptable 14.0.4 → 15.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.cjs.js +177 -177
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ChartingOptions.d.ts +6 -0
- package/src/Api/ChartingApi.d.ts +7 -8
- package/src/Api/DashboardApi.d.ts +4 -6
- package/src/Api/EventApi.d.ts +10 -10
- package/src/Api/Events/ChartChanged.d.ts +37 -0
- package/src/Api/Events/{ChartStateChangeInfo.js → ChartChanged.js} +0 -0
- package/src/Api/Events/DashboardChanged.d.ts +8 -0
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ChartingApiImpl.js +3 -0
- package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -1
- package/src/Api/Implementation/DashboardApiImpl.js +3 -18
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +2 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +6 -0
- package/src/Api/Implementation/ThemeApiImpl.js +4 -1
- package/src/Api/Internal/DashboardInternalApi.d.ts +1 -0
- package/src/Api/Internal/DashboardInternalApi.js +28 -3
- package/src/Api/Internal/ExportInternalApi.d.ts +1 -0
- package/src/Api/Internal/ExportInternalApi.js +6 -0
- package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
- package/src/Api/Internal/LayoutInternalApi.js +7 -0
- package/src/Api/StyledColumnApi.d.ts +10 -0
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/AlertRedux.js +23 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/CustomSortRedux.js +23 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +15 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +23 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +26 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +23 -1
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +70 -0
- package/src/Redux/ActionsReducers/ScheduleRedux.js +112 -2
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/ShortcutRedux.js +23 -1
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +23 -1
- package/src/Redux/ActionsReducers/utils.d.ts +2 -0
- package/src/Redux/ActionsReducers/utils.js +20 -2
- package/src/Redux/Store/AdaptableStore.js +45 -4
- package/src/Strategy/AlertModule.js +2 -0
- package/src/Strategy/CustomSortModule.d.ts +2 -0
- package/src/Strategy/CustomSortModule.js +2 -0
- package/src/Strategy/FlashingCellModule.js +2 -0
- package/src/Strategy/FormatColumnModule.js +2 -0
- package/src/Strategy/PlusMinusModule.js +2 -0
- package/src/Strategy/ShortcutModule.js +2 -0
- package/src/Strategy/StyledColumnModule.js +2 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
- package/src/Utilities/Services/AlertService.d.ts +2 -0
- package/src/Utilities/Services/AlertService.js +6 -0
- package/src/Utilities/Services/ChartingService.js +4 -3
- package/src/Utilities/Services/Interface/IAlertService.d.ts +2 -0
- package/src/Utilities/license/hashing.js +1 -1
- package/src/Utilities/logDeprecation.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +2 -2
- package/src/View/Charting/ShowChartButton.js +3 -2
- package/src/View/Charting/useChartingElements.js +6 -5
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +22 -1
- package/src/View/Export/ExportSelector.js +1 -0
- package/src/View/Export/ExportViewPanel.js +1 -0
- package/src/View/Export/ReportExportDropdown.js +1 -0
- package/src/View/Theme/ThemePopup.d.ts +0 -3
- package/src/View/Theme/ThemePopup.js +1 -9
- package/src/View/Theme/ThemeViewPanel.js +4 -3
- package/src/metamodel/adaptable.metamodel.d.ts +41 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/ChartStateChangeInfo.d.ts +0 -5
|
@@ -10,7 +10,8 @@ const DropdownButton_1 = tslib_1.__importDefault(require("../../components/Dropd
|
|
|
10
10
|
const react_redux_1 = require("react-redux");
|
|
11
11
|
class ThemeViewPanelComponent extends React.Component {
|
|
12
12
|
render() {
|
|
13
|
-
|
|
13
|
+
var _a, _b, _c, _d;
|
|
14
|
+
const allThemes = (_c = (_b = (_a = this.props.api) === null || _a === void 0 ? void 0 : _a.themeApi) === null || _b === void 0 ? void 0 : _b.getThemes) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
14
15
|
let themes = allThemes.map((theme, index) => {
|
|
15
16
|
if (typeof theme === 'string') {
|
|
16
17
|
// protection against old state, which could be string
|
|
@@ -24,8 +25,8 @@ class ThemeViewPanelComponent extends React.Component {
|
|
|
24
25
|
onClick: () => this.onSelectTheme(theme),
|
|
25
26
|
};
|
|
26
27
|
});
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
const currentThemeObj = allThemes.find((theme) => theme.Name === this.props.CurrentTheme);
|
|
29
|
+
const currentThemeDescription = (_d = currentThemeObj === null || currentThemeObj === void 0 ? void 0 : currentThemeObj.Description) !== null && _d !== void 0 ? _d : this.props.CurrentTheme;
|
|
29
30
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
30
31
|
const dropDownStyle = this.props.viewType === 'Toolbar'
|
|
31
32
|
? {
|
|
@@ -1648,6 +1648,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1648
1648
|
kind: string;
|
|
1649
1649
|
description: string;
|
|
1650
1650
|
};
|
|
1651
|
+
ChartChangedInfo: {
|
|
1652
|
+
name: string;
|
|
1653
|
+
kind: string;
|
|
1654
|
+
description: string;
|
|
1655
|
+
properties: {
|
|
1656
|
+
name: string;
|
|
1657
|
+
kind: string;
|
|
1658
|
+
description: string;
|
|
1659
|
+
uiLabel: string;
|
|
1660
|
+
reference: string;
|
|
1661
|
+
}[];
|
|
1662
|
+
};
|
|
1651
1663
|
ChartContainer: {
|
|
1652
1664
|
name: string;
|
|
1653
1665
|
kind: string;
|
|
@@ -1686,6 +1698,24 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1686
1698
|
reference?: undefined;
|
|
1687
1699
|
})[];
|
|
1688
1700
|
};
|
|
1701
|
+
ChartDisplayedInfo: {
|
|
1702
|
+
name: string;
|
|
1703
|
+
kind: string;
|
|
1704
|
+
description: string;
|
|
1705
|
+
properties: ({
|
|
1706
|
+
name: string;
|
|
1707
|
+
kind: string;
|
|
1708
|
+
description: string;
|
|
1709
|
+
uiLabel: string;
|
|
1710
|
+
reference: string;
|
|
1711
|
+
} | {
|
|
1712
|
+
name: string;
|
|
1713
|
+
kind: string;
|
|
1714
|
+
description: string;
|
|
1715
|
+
uiLabel: string;
|
|
1716
|
+
reference?: undefined;
|
|
1717
|
+
})[];
|
|
1718
|
+
};
|
|
1689
1719
|
ChartingAggFunc: {
|
|
1690
1720
|
name: string;
|
|
1691
1721
|
kind: string;
|
|
@@ -1702,6 +1732,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1702
1732
|
uiLabel: string;
|
|
1703
1733
|
}[];
|
|
1704
1734
|
};
|
|
1735
|
+
ChartingOpenState: {
|
|
1736
|
+
name: string;
|
|
1737
|
+
kind: string;
|
|
1738
|
+
description: string;
|
|
1739
|
+
properties: {
|
|
1740
|
+
name: string;
|
|
1741
|
+
kind: string;
|
|
1742
|
+
description: string;
|
|
1743
|
+
uiLabel: string;
|
|
1744
|
+
}[];
|
|
1745
|
+
};
|
|
1705
1746
|
ChartingOptions: {
|
|
1706
1747
|
name: string;
|
|
1707
1748
|
kind: string;
|