@adaptabletools/adaptable 11.0.0-canary.0 → 11.0.0-canary.4
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 +21 -10
- package/bundle.cjs.js +98 -94
- package/index.css +23 -10
- package/package.json +32 -32
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +0 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +3 -2
- package/src/AdaptableOptions/EntitlementOptions.d.ts +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/Api/Events/SearchChanged.d.ts +1 -1
- package/src/Api/GridApi.d.ts +5 -4
- package/src/Api/Implementation/DashboardApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +2 -4
- package/src/Api/Implementation/GridApiImpl.d.ts +5 -4
- package/src/Api/Implementation/GridApiImpl.js +4 -0
- package/src/Api/Implementation/InternalApiImpl.d.ts +0 -1
- package/src/Api/Implementation/InternalApiImpl.js +1 -9
- package/src/Api/Implementation/LayoutApiImpl.js +1 -1
- package/src/Api/InternalApi.d.ts +0 -1
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +1 -12
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- 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/DashboardState.d.ts +4 -4
- package/src/PredefinedConfig/FlashingCellState.d.ts +2 -1
- package/src/PredefinedConfig/SystemState.d.ts +2 -1
- package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +1 -11
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +6 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +13 -13
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +5 -5
- package/src/Redux/Store/AdaptableStore.js +13 -3
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.js +32 -16
- package/src/Strategy/TeamSharingModule.js +1 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +3 -1
- package/src/Utilities/ExpressionFunctions/aggregationExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -3
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -2
- package/src/Utilities/ObjectFactory.js +4 -2
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/ReportService.js +1 -1
- package/src/View/AdaptableView.js +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +2 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +10 -23
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +15 -4
- package/src/View/Components/FilterForm/QuickFilterForm.js +4 -6
- package/src/View/Components/ModuleValueSelector/index.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +0 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +43 -87
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +10 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +54 -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 +6 -14
- 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/SharedProps/ModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +4 -4
- package/src/View/Components/ValueSelector/index.d.ts +2 -1
- 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 +4 -4
- package/src/View/Dashboard/DashboardPopup.js +5 -5
- 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 +5 -5
- 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/PlusMinus/Wizard/PlusMinusWizard.js +8 -2
- package/src/View/Query/QueryViewPanel.js +12 -9
- package/src/View/Query/Wizard/NamedQueryWizard.js +3 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +14 -14
- package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
- package/src/View/SpecialColumnSettingsWizardStep.js +62 -0
- 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 +0 -2
- package/src/agGrid/Adaptable.js +32 -22
- package/src/agGrid/agGridHelper.js +2 -3
- package/src/agGrid/agGridMenuHelper.js +5 -9
- 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/utils/useDraggable.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +9 -0
- package/src/metamodel/adaptable.metamodel.js +18 -11
- package/src/types.d.ts +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellDurationWizardSection.js +0 -60
|
@@ -2245,6 +2245,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2245
2245
|
"description": "Id of Column containing Cell",
|
|
2246
2246
|
"uiLabel": "Column Id"
|
|
2247
2247
|
},
|
|
2248
|
+
{
|
|
2249
|
+
"name": "highlightStyle",
|
|
2250
|
+
"kind": "REFERENCE",
|
|
2251
|
+
"description": "Adaptable Style to use in the Cell Highlight",
|
|
2252
|
+
"uiLabel": "Highlight Style",
|
|
2253
|
+
"reference": "AdaptableStyle"
|
|
2254
|
+
},
|
|
2248
2255
|
{
|
|
2249
2256
|
"name": "primaryKeyValue",
|
|
2250
2257
|
"kind": "unknown",
|
|
@@ -3918,7 +3925,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3918
3925
|
{
|
|
3919
3926
|
"name": "buttonsLocation",
|
|
3920
3927
|
"kind": "unknown",
|
|
3921
|
-
"description": "",
|
|
3928
|
+
"description": "Position in the Dashboard to show the Module and Custom Buttons",
|
|
3922
3929
|
"uiLabel": "Buttons Location",
|
|
3923
3930
|
"isOptional": true,
|
|
3924
3931
|
"defaultValue": "'right'"
|
|
@@ -3935,7 +3942,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3935
3942
|
{
|
|
3936
3943
|
"name": "customDashboardButtons",
|
|
3937
3944
|
"kind": "unknown",
|
|
3938
|
-
"description": "Custom Adaptable Buttons to appear in
|
|
3945
|
+
"description": "Custom Adaptable Buttons to appear in Dashboard (alongside Module Buttons)",
|
|
3939
3946
|
"uiLabel": "Custom Dashboard Buttons",
|
|
3940
3947
|
"isOptional": true
|
|
3941
3948
|
},
|
|
@@ -3949,7 +3956,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3949
3956
|
{
|
|
3950
3957
|
"name": "showQuickSearchInHeader",
|
|
3951
3958
|
"kind": "boolean",
|
|
3952
|
-
"description": "Shows Quick Search textbox in the Dashboard Header
|
|
3959
|
+
"description": "Shows Quick Search textbox in the Dashboard Header",
|
|
3953
3960
|
"uiLabel": "Show Quick Search In Header",
|
|
3954
3961
|
"isOptional": true,
|
|
3955
3962
|
"gridInfo": "item",
|
|
@@ -3972,7 +3979,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3972
3979
|
{
|
|
3973
3980
|
"name": "DashboardTitle",
|
|
3974
3981
|
"kind": "string",
|
|
3975
|
-
"description": "Title to display in Dashboard Header
|
|
3982
|
+
"description": "Title to display in Dashboard Header",
|
|
3976
3983
|
"uiLabel": "Dashboard Title",
|
|
3977
3984
|
"isOptional": true,
|
|
3978
3985
|
"defaultValue": "`adaptableId` in Adaptable Options"
|
|
@@ -3980,7 +3987,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3980
3987
|
{
|
|
3981
3988
|
"name": "FloatingPosition",
|
|
3982
3989
|
"kind": "REFERENCE",
|
|
3983
|
-
"description": "Position of Dashboard in 'floating mode'
|
|
3990
|
+
"description": "Position of Dashboard when in 'floating mode'",
|
|
3984
3991
|
"uiLabel": "Floating Position",
|
|
3985
3992
|
"isOptional": true,
|
|
3986
3993
|
"reference": "AdaptableCoordinate"
|
|
@@ -4020,10 +4027,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
4020
4027
|
{
|
|
4021
4028
|
"name": "ModuleButtons",
|
|
4022
4029
|
"kind": "REFERENCE",
|
|
4023
|
-
"description": "Module Buttons
|
|
4030
|
+
"description": "Module Buttons which open screen in Settings Panel for associated AdapTable Module",
|
|
4024
4031
|
"uiLabel": "Module Buttons",
|
|
4025
4032
|
"isOptional": true,
|
|
4026
|
-
"defaultValue": "
|
|
4033
|
+
"defaultValue": "['SettingsPanel']",
|
|
4027
4034
|
"reference": "unknown"
|
|
4028
4035
|
},
|
|
4029
4036
|
{
|
|
@@ -4443,7 +4450,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
4443
4450
|
{
|
|
4444
4451
|
"name": "defaultAccessLevel",
|
|
4445
4452
|
"kind": "unknown",
|
|
4446
|
-
"description": "AccessLevel to use when an Entitlement is not explicitly set;
|
|
4453
|
+
"description": "AccessLevel to use when an Entitlement is not explicitly set; can be hardcoded value or a function to invoke",
|
|
4447
4454
|
"uiLabel": "Default Access Level",
|
|
4448
4455
|
"isOptional": true,
|
|
4449
4456
|
"gridInfo": "item",
|
|
@@ -6201,7 +6208,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
6201
6208
|
{
|
|
6202
6209
|
"name": "caseSensitiveTextComparisons",
|
|
6203
6210
|
"kind": "boolean",
|
|
6204
|
-
"description": "
|
|
6211
|
+
"description": "Perform case-sensitive text comparisons in all search and filter operations: QuickSearch, Filters, Query, Predicates",
|
|
6205
6212
|
"uiLabel": "Case Sensitive Text Comparisons",
|
|
6206
6213
|
"isOptional": true,
|
|
6207
6214
|
"gridInfo": "item",
|
|
@@ -9758,7 +9765,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
9758
9765
|
{
|
|
9759
9766
|
"name": "searchChangedTrigger",
|
|
9760
9767
|
"kind": "unknown",
|
|
9761
|
-
"description": "What
|
|
9768
|
+
"description": "What search-related change caused the event to fire",
|
|
9762
9769
|
"uiLabel": "Search Changed Trigger"
|
|
9763
9770
|
}
|
|
9764
9771
|
]
|
|
@@ -10468,7 +10475,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10468
10475
|
{
|
|
10469
10476
|
"name": "updateNotification",
|
|
10470
10477
|
"kind": "unknown",
|
|
10471
|
-
"description": "How user is informed when Active Shared Entities have newer revisions
|
|
10478
|
+
"description": "How user is informed when Active Shared Entities have newer revisions",
|
|
10472
10479
|
"uiLabel": "Update Notification",
|
|
10473
10480
|
"isOptional": true,
|
|
10474
10481
|
"gridInfo": "item",
|
package/src/types.d.ts
CHANGED
|
@@ -107,7 +107,8 @@ export type { FDC3Context, InstrumentContext } from './PredefinedConfig/Common/F
|
|
|
107
107
|
export type { AdaptableScope } from './PredefinedConfig/Common/AdaptableScope';
|
|
108
108
|
export type { AdaptableStyle } from './PredefinedConfig/Common/AdaptableStyle';
|
|
109
109
|
export type { AdaptableIcon } from './PredefinedConfig/Common/AdaptableIcon';
|
|
110
|
-
export type { CellHighlightInfo
|
|
110
|
+
export type { CellHighlightInfo } from './PredefinedConfig/Common/CellHighlightInfo';
|
|
111
|
+
export type { RowHighlightInfo } from './PredefinedConfig/Common/RowHighlightInfo';
|
|
111
112
|
export type { ColumnSort } from './PredefinedConfig/Common/ColumnSort';
|
|
112
113
|
export type { DataChangedInfo } from './PredefinedConfig/Common/DataChangedInfo';
|
|
113
114
|
export type { DataUpdateConfig } from './PredefinedConfig/Common/DataUpdateConfig';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.0.0-canary.
|
|
1
|
+
declare const _default: "11.0.0-canary.4";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '11.0.0-canary.
|
|
3
|
+
exports.default = '11.0.0-canary.4'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FlashingAlertDurationWizardSection = exports.renderFlashingAlertDurationSummary = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const react_1 = require("react");
|
|
7
|
-
const rebass_1 = require("rebass");
|
|
8
|
-
const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
|
|
9
|
-
const usePrevious_1 = tslib_1.__importDefault(require("../../../components/utils/usePrevious"));
|
|
10
|
-
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
11
|
-
const Tabs_1 = require("../../../components/Tabs");
|
|
12
|
-
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
13
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
14
|
-
exports.renderFlashingAlertDurationSummary = (flashingAlert) => {
|
|
15
|
-
return (React.createElement(React.Fragment, null,
|
|
16
|
-
React.createElement(rebass_1.Text, { fontSize: 2 }, flashingAlert.FlashDuration === 'always' ? (React.createElement(React.Fragment, null, "Flashing is never removed")) : (React.createElement(React.Fragment, null,
|
|
17
|
-
"Flashing is removed after ",
|
|
18
|
-
React.createElement(CodeBlock_1.CodeBlock, null, flashingAlert.FlashDuration),
|
|
19
|
-
' ',
|
|
20
|
-
"milliseconds")))));
|
|
21
|
-
};
|
|
22
|
-
exports.FlashingAlertDurationWizardSection = (props) => {
|
|
23
|
-
var _a;
|
|
24
|
-
let { data: flashingAlert } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
25
|
-
flashingAlert = flashingAlert !== null && flashingAlert !== void 0 ? flashingAlert : props.flashingAlert;
|
|
26
|
-
const setDuration = (FlashDuration) => {
|
|
27
|
-
props.onChange(Object.assign(Object.assign({}, flashingAlert), { FlashDuration: FlashDuration }));
|
|
28
|
-
};
|
|
29
|
-
const duration = (_a = flashingAlert.FlashDuration) !== null && _a !== void 0 ? _a : 500;
|
|
30
|
-
const numberDuration = React.useRef(typeof duration === 'number' ? duration : 500);
|
|
31
|
-
const inputRef = react_1.useRef(null);
|
|
32
|
-
const oldDuration = usePrevious_1.default(duration, duration);
|
|
33
|
-
React.useEffect(() => {
|
|
34
|
-
var _a;
|
|
35
|
-
if (oldDuration === 'always' && duration != oldDuration) {
|
|
36
|
-
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
37
|
-
}
|
|
38
|
-
if (typeof duration === 'number') {
|
|
39
|
-
numberDuration.current = duration;
|
|
40
|
-
}
|
|
41
|
-
}, [duration, oldDuration]);
|
|
42
|
-
return (React.createElement(React.Fragment, null,
|
|
43
|
-
React.createElement(Tabs_1.Tabs, { value: duration === 'always' ? 'keep' : 'remove', onValueChange: (value) => {
|
|
44
|
-
setDuration(value === 'keep' ? 'always' : numberDuration.current);
|
|
45
|
-
} },
|
|
46
|
-
React.createElement(Tabs_1.Tabs.Tab, { value: "remove" },
|
|
47
|
-
React.createElement(Radio_1.default, { checked: duration !== 'always', margin: 0, tabIndex: -1 }, "Remove style")),
|
|
48
|
-
React.createElement(Tabs_1.Tabs.Tab, { value: "keep" },
|
|
49
|
-
React.createElement(Radio_1.default, { checked: duration == 'always', margin: 0, tabIndex: -1 }, "Keep style")),
|
|
50
|
-
React.createElement(Tabs_1.Tabs.Content, { value: "remove" },
|
|
51
|
-
React.createElement(rebass_1.Flex, { flexDirection: "row", alignItems: "baseline" },
|
|
52
|
-
React.createElement(rebass_1.Text, { fontSize: 2, mr: 2 }, "After"),
|
|
53
|
-
React.createElement(Input_1.default, { readOnly: props.readOnly, type: "text", name: "value", disabled: duration === 'always' || props.readOnly, ref: inputRef, mt: 2, mr: 1, value: duration !== 'always' ? duration : '', onChange: (event) => {
|
|
54
|
-
const value = event.target.value;
|
|
55
|
-
setDuration(isNaN(Number(value)) ? 500 : Number(value));
|
|
56
|
-
} }),
|
|
57
|
-
React.createElement(rebass_1.Text, { fontSize: 2 }, "milliseconds"))),
|
|
58
|
-
React.createElement(Tabs_1.Tabs.Content, null,
|
|
59
|
-
React.createElement(rebass_1.Text, { fontSize: 2 }, "Persists the flashing style indeterminately - can be removed manually")))));
|
|
60
|
-
};
|