@adaptabletools/adaptable 13.1.0 → 13.1.1
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 +561 -1971
- package/base.css.map +1 -1
- package/bundle.cjs.js +222 -222
- package/index.css +196 -847
- package/index.css.map +1 -1
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +4 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +4 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +9 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +6 -0
- package/src/Api/AlertApi.d.ts +5 -0
- package/src/Api/ColumnApi.d.ts +14 -0
- package/src/Api/FinanceApi.d.ts +5 -0
- package/src/Api/GridApi.d.ts +1 -0
- package/src/Api/IPushPullApi.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -0
- package/src/Api/Implementation/AlertApiImpl.js +14 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -0
- package/src/Api/Implementation/ColumnApiImpl.js +11 -0
- package/src/Api/Implementation/FormatColumnApiImpl.js +3 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -0
- package/src/Api/Implementation/GridApiImpl.js +3 -0
- package/src/Api/Implementation/InternalApiImpl.d.ts +6 -0
- package/src/Api/Implementation/InternalApiImpl.js +66 -0
- package/src/Api/InternalApi.d.ts +6 -0
- package/src/PredefinedConfig/AlertState.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +2 -2
- package/src/PredefinedConfig/Common/Types.d.ts +1 -1
- package/src/PredefinedConfig/StyledColumnState.d.ts +5 -0
- package/src/PredefinedConfig/SystemState.d.ts +7 -0
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +8 -0
- package/src/Redux/ActionsReducers/SystemRedux.js +32 -2
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +1 -1
- package/src/Strategy/StyledColumnModule.js +5 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +0 -4
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +8 -10
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +10 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +20 -0
- package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +7 -1
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +16 -8
- package/src/View/Components/Charting/ChartingViewPanel.js +9 -7
- package/src/View/Components/Charting/ShowChartButton.js +6 -6
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +2 -2
- package/src/View/Components/RangesComponent.js +1 -1
- package/src/View/Dashboard/Dashboard.js +3 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.d.ts +6 -0
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +285 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +28 -17
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +7 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +16 -7
- package/src/agGrid/Adaptable.d.ts +10 -1
- package/src/agGrid/Adaptable.js +89 -7
- package/src/agGrid/agGridHelper.js +12 -0
- package/src/components/ColorPicker/ColorPicker.js +1 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/ExpressionEditor/index.js +3 -41
- package/src/components/OverlayTrigger/Overlay.d.ts +1 -4
- package/src/components/OverlayTrigger/Overlay.js +3 -40
- package/src/components/OverlayTrigger/index.d.ts +4 -4
- package/src/components/OverlayTrigger/index.js +71 -50
- package/src/components/SimpleButton/index.d.ts +0 -2
- package/src/components/SimpleButton/index.js +2 -2
- package/src/components/Tooltip/index.d.ts +1 -3
- package/src/components/Tooltip/index.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +7 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/components/OverlayTrigger/getOverlayStyle.d.ts +0 -13
- package/src/components/OverlayTrigger/getOverlayStyle.js +0 -56
|
@@ -2,7 +2,6 @@ import * as React from 'react';
|
|
|
2
2
|
import { ButtonProps } from 'rebass';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { AccessLevel } from '../../PredefinedConfig/Common/Entitlement';
|
|
5
|
-
import { OverlayProps } from '../OverlayTrigger/Overlay';
|
|
6
5
|
import { AdaptableIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
|
|
7
6
|
export declare const baseClassName = "ab-SimpleButton";
|
|
8
7
|
export interface SimpleButtonProps extends Omit<ButtonProps, 'ref'> {
|
|
@@ -14,7 +13,6 @@ export interface SimpleButtonProps extends Omit<ButtonProps, 'ref'> {
|
|
|
14
13
|
iconPosition?: 'start' | 'end';
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
accessLevel?: AccessLevel;
|
|
17
|
-
tooltipAnchor?: OverlayProps['anchor'];
|
|
18
16
|
}
|
|
19
17
|
declare const SimpleButton: React.ForwardRefExoticComponent<SimpleButtonProps & {
|
|
20
18
|
children?: React.ReactNode;
|
|
@@ -12,7 +12,7 @@ const AdaptableIconComponent_1 = require("../AdaptableIconComponent");
|
|
|
12
12
|
exports.baseClassName = 'ab-SimpleButton';
|
|
13
13
|
const SimpleButton = React.forwardRef((props, theRef) => {
|
|
14
14
|
var _a, _b;
|
|
15
|
-
let { children, disabled, variant = 'outlined', tone = 'neutral', iconPosition = 'start', iconSize, className, icon, tooltip,
|
|
15
|
+
let { children, disabled, variant = 'outlined', tone = 'neutral', iconPosition = 'start', iconSize, className, icon, tooltip, accessLevel: accessLevel, type } = props, buttonProps = tslib_1.__rest(props, ["children", "disabled", "variant", "tone", "iconPosition", "iconSize", "className", "icon", "tooltip", "accessLevel", "type"]);
|
|
16
16
|
let adaptableInternalIcon;
|
|
17
17
|
if ((0, AdaptableIconComponent_1.isAdaptableInternalIcon)(icon)) {
|
|
18
18
|
adaptableInternalIcon = icon;
|
|
@@ -77,7 +77,7 @@ const SimpleButton = React.forwardRef((props, theRef) => {
|
|
|
77
77
|
? (_b = (_a = theme_1.default[buttonProps.fontWeight]) !== null && _a !== void 0 ? _a : buttonProps.fontWeight) !== null && _b !== void 0 ? _b : 'normal'
|
|
78
78
|
: 'normal';
|
|
79
79
|
const btn = (React.createElement(rebass_1.Button, Object.assign({}, buttonProps, { disabled: disabled, className: (0, join_1.default)(className, exports.baseClassName, disabled ? `${exports.baseClassName}--disabled` : '', fontWeight ? `${exports.baseClassName}--font-weight=${fontWeight}` : '', `${exports.baseClassName}--variant-${variant}`, `${exports.baseClassName}--tone-${tone}`), ref: theRef }), children));
|
|
80
|
-
return tooltip ?
|
|
80
|
+
return tooltip ? React.createElement(Tooltip_1.default, { label: tooltip }, btn) : btn;
|
|
81
81
|
});
|
|
82
82
|
SimpleButton.defaultProps = {
|
|
83
83
|
px: null,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const Tooltip: ({ label, children, anchor, }: {
|
|
2
|
+
declare const Tooltip: ({ label, children }: {
|
|
4
3
|
label?: React.ReactNode;
|
|
5
4
|
children: React.ReactNode;
|
|
6
|
-
anchor?: OverlayProps['anchor'];
|
|
7
5
|
}) => JSX.Element;
|
|
8
6
|
export default Tooltip;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const OverlayTrigger_1 = tslib_1.__importDefault(require("../OverlayTrigger"));
|
|
6
|
-
const Tooltip = ({ label, children
|
|
7
|
-
return (React.createElement(OverlayTrigger_1.default, {
|
|
6
|
+
const Tooltip = ({ label, children }) => {
|
|
7
|
+
return (React.createElement(OverlayTrigger_1.default, { defaultZIndex: 2000000, className: "ab-Tooltip", render: () => label }, children));
|
|
8
8
|
};
|
|
9
9
|
exports.default = Tooltip;
|
|
@@ -111,6 +111,13 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
111
111
|
name: string;
|
|
112
112
|
kind: string;
|
|
113
113
|
description: string;
|
|
114
|
+
properties: {
|
|
115
|
+
name: string;
|
|
116
|
+
kind: string;
|
|
117
|
+
description: string;
|
|
118
|
+
uiLabel: string;
|
|
119
|
+
reference: string;
|
|
120
|
+
}[];
|
|
114
121
|
};
|
|
115
122
|
ActionRowButtonType: {
|
|
116
123
|
name: string;
|