@adaptabletools/adaptable 11.0.0-canary.4 → 11.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/base.css +130 -67
- package/bundle.cjs.js +86 -86
- package/index.css +130 -67
- package/package.json +2 -2
- 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 +10 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
- package/src/AdaptableOptions/AlertOptions.js +2 -0
- package/src/AdaptableOptions/ContainerOptions.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 +0 -4
- package/src/AdaptableOptions/StateOptions.d.ts +2 -1
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +1 -0
- package/src/Api/AlertApi.d.ts +2 -3
- 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/IPushPullApi.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
- package/src/Api/Implementation/AlertApiImpl.js +15 -9
- package/src/Api/Implementation/ApiBase.d.ts +2 -0
- package/src/Api/Implementation/ApiBase.js +3 -0
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
- package/src/Api/Implementation/InternalApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +11 -0
- package/src/Api/Implementation/QueryApiImpl.js +4 -1
- package/src/Api/Implementation/QueryLanguageApiImpl.js +4 -5
- 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/UserInterfaceApi.d.ts +5 -2
- package/src/PredefinedConfig/AlertState.d.ts +2 -4
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -1
- package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
- package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +3 -1
- 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/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.js +3 -1
- package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
- package/src/Redux/Store/AdaptableStore.js +5 -4
- package/src/Strategy/AlertModule.js +4 -3
- package/src/Strategy/ConditionalStyleModule.js +4 -0
- package/src/Strategy/FlashingCellModule.js +2 -2
- 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/ToolPanelModule.js +5 -3
- 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 +6 -4
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
- package/src/Utilities/Helpers/AdaptableHelper.js +1 -0
- package/src/Utilities/Helpers/CalendarHelper.js +220 -55
- package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/DataService.js +6 -1
- package/src/Utilities/Services/QueryLanguageService.js +16 -11
- package/src/Utilities/Services/ReportService.js +6 -2
- 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 +3 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
- package/src/View/Components/FilterForm/FilterForm.js +0 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +4 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
- 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/ToolPanel/CustomToolPanelContent.js +5 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
- 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 +7 -0
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +3 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
- 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/FreeTextColumn/FreeTextColumnSummary.js +1 -2
- 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/Query/ExpandedQueryPopup.js +9 -2
- package/src/View/Query/QueryViewPanel.js +3 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
- package/src/View/UIHelper.js +4 -1
- package/src/View/Wizard/AdaptableWizard.js +12 -3
- package/src/View/Wizard/OnePageAdaptableWizard.js +5 -1
- package/src/agGrid/Adaptable.d.ts +2 -3
- package/src/agGrid/Adaptable.js +96 -54
- 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/Dropdown/index.js +8 -1
- package/src/components/ExpressionEditor/EditorInputReactive.js +3 -1
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +4 -1
- package/src/components/ExpressionEditor/index.js +9 -2
- package/src/components/SizedContainer/index.js +7 -1
- package/src/components/WindowModal/WindowModal.js +4 -1
- package/src/metamodel/adaptable.metamodel.d.ts +55 -24
- package/src/metamodel/adaptable.metamodel.js +179 -98
- package/src/types.d.ts +2 -1
- package/themes/dark.css +4 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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: {
|
|
@@ -1201,7 +1229,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1201
1229
|
description: string;
|
|
1202
1230
|
uiLabel: string;
|
|
1203
1231
|
isOptional: boolean;
|
|
1204
|
-
defaultValue: string;
|
|
1205
1232
|
}[];
|
|
1206
1233
|
};
|
|
1207
1234
|
CustomToolbar: {
|
|
@@ -1749,13 +1776,13 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1749
1776
|
kind: string;
|
|
1750
1777
|
description: string;
|
|
1751
1778
|
uiLabel: string;
|
|
1752
|
-
isOptional
|
|
1779
|
+
isOptional: boolean;
|
|
1753
1780
|
} | {
|
|
1754
1781
|
name: string;
|
|
1755
1782
|
kind: string;
|
|
1756
1783
|
description: string;
|
|
1757
1784
|
uiLabel: string;
|
|
1758
|
-
isOptional
|
|
1785
|
+
isOptional?: undefined;
|
|
1759
1786
|
})[];
|
|
1760
1787
|
};
|
|
1761
1788
|
FilterActionOnDataChange: {
|
|
@@ -1839,6 +1866,7 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1839
1866
|
description: string;
|
|
1840
1867
|
uiLabel: string;
|
|
1841
1868
|
isOptional: boolean;
|
|
1869
|
+
defaultValue: string;
|
|
1842
1870
|
}[];
|
|
1843
1871
|
};
|
|
1844
1872
|
FilterState: {
|
|
@@ -1969,7 +1997,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1969
1997
|
description: string;
|
|
1970
1998
|
uiLabel: string;
|
|
1971
1999
|
isOptional: boolean;
|
|
1972
|
-
defaultValue: string;
|
|
1973
2000
|
}[];
|
|
1974
2001
|
};
|
|
1975
2002
|
FormatColumn: {
|
|
@@ -2042,16 +2069,16 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2042
2069
|
kind: string;
|
|
2043
2070
|
description: string;
|
|
2044
2071
|
uiLabel: string;
|
|
2045
|
-
isOptional?: undefined;
|
|
2046
2072
|
defaultValue?: undefined;
|
|
2073
|
+
isOptional?: undefined;
|
|
2047
2074
|
reference?: undefined;
|
|
2048
2075
|
} | {
|
|
2049
2076
|
name: string;
|
|
2050
2077
|
kind: string;
|
|
2051
2078
|
description: string;
|
|
2052
2079
|
uiLabel: string;
|
|
2053
|
-
isOptional: boolean;
|
|
2054
2080
|
defaultValue: string;
|
|
2081
|
+
isOptional?: undefined;
|
|
2055
2082
|
reference?: undefined;
|
|
2056
2083
|
} | {
|
|
2057
2084
|
name: string;
|
|
@@ -2069,6 +2096,14 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2069
2096
|
isOptional: boolean;
|
|
2070
2097
|
reference: string;
|
|
2071
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;
|
|
2072
2107
|
})[];
|
|
2073
2108
|
};
|
|
2074
2109
|
FreeTextColumnApi: {
|
|
@@ -2450,7 +2485,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2450
2485
|
description: string;
|
|
2451
2486
|
uiLabel: string;
|
|
2452
2487
|
isOptional: boolean;
|
|
2453
|
-
defaultValue: string;
|
|
2454
2488
|
}[];
|
|
2455
2489
|
};
|
|
2456
2490
|
LiveDataChangedInfo: {
|
|
@@ -2532,15 +2566,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2532
2566
|
kind: string;
|
|
2533
2567
|
description: string;
|
|
2534
2568
|
properties: ({
|
|
2535
|
-
name: string;
|
|
2536
|
-
kind: string;
|
|
2537
|
-
description: string;
|
|
2538
|
-
uiLabel: string;
|
|
2539
|
-
isOptional: boolean;
|
|
2540
|
-
gridInfo?: undefined;
|
|
2541
|
-
defaultValue?: undefined;
|
|
2542
|
-
reference?: undefined;
|
|
2543
|
-
} | {
|
|
2544
2569
|
name: string;
|
|
2545
2570
|
kind: string;
|
|
2546
2571
|
description: string;
|
|
@@ -2662,6 +2687,12 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2662
2687
|
name: string;
|
|
2663
2688
|
kind: string;
|
|
2664
2689
|
description: string;
|
|
2690
|
+
properties: {
|
|
2691
|
+
name: string;
|
|
2692
|
+
kind: string;
|
|
2693
|
+
description: string;
|
|
2694
|
+
uiLabel: string;
|
|
2695
|
+
}[];
|
|
2665
2696
|
};
|
|
2666
2697
|
PlusMinusApi: {
|
|
2667
2698
|
name: string;
|