@adaptabletools/adaptable 12.1.3 → 12.1.6
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 +116 -143
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +10 -4
- package/src/AdaptableOptions/FilterOptions.d.ts +7 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +31 -24
- package/src/Api/ColumnApi.d.ts +7 -1
- package/src/Api/Events/SearchChanged.d.ts +1 -0
- package/src/Api/FilterApi.d.ts +6 -0
- package/src/Api/FormatColumnApi.d.ts +5 -3
- package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ColumnApiImpl.js +17 -2
- package/src/Api/Implementation/DataSetApiImpl.js +1 -1
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -0
- package/src/Api/Implementation/FilterApiImpl.js +10 -1
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +5 -3
- package/src/Api/Implementation/FormatColumnApiImpl.js +40 -11
- package/src/Api/Implementation/GridApiImpl.js +4 -4
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -1
- package/src/Api/Implementation/LayoutApiImpl.js +4 -3
- package/src/Api/Implementation/QueryApiImpl.js +1 -1
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -1
- package/src/Api/LayoutApi.d.ts +1 -1
- package/src/PredefinedConfig/AlertState.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.js +3 -2
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +9 -1
- package/src/PredefinedConfig/Common/Types.d.ts +1 -0
- package/src/PredefinedConfig/Common/Types.js +38 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
- package/src/PredefinedConfig/FormatColumnState.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +18 -10
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/BulkUpdateModule.js +1 -1
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/CellSummaryModule.js +1 -1
- package/src/Strategy/ChartingModule.js +1 -1
- package/src/Strategy/ConditionalStyleModule.js +1 -1
- package/src/Strategy/CustomSortModule.js +1 -1
- package/src/Strategy/DashboardModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.js +1 -1
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +1 -1
- package/src/Strategy/FormatColumnModule.js +1 -1
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/GridInfoModule.js +1 -1
- package/src/Strategy/LayoutModule.js +3 -3
- package/src/Strategy/PlusMinusModule.js +1 -1
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/QuickSearchModule.js +1 -1
- package/src/Strategy/ScheduleModule.js +1 -1
- package/src/Strategy/ShortcutModule.js +1 -1
- package/src/Strategy/SmartEditModule.js +1 -1
- package/src/Strategy/StateManagementModule.js +1 -1
- package/src/Strategy/StatusBarModule.js +1 -1
- package/src/Strategy/SystemStatusModule.js +1 -1
- package/src/Strategy/TeamSharingModule.js +1 -1
- package/src/Strategy/ThemeModule.js +1 -1
- package/src/Strategy/ToolPanelModule.js +1 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +68 -0
- package/src/Utilities/Constants/ModuleConstants.js +70 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -1
- package/src/Utilities/Extensions/ArrayExtensions.js +6 -0
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +5 -0
- package/src/Utilities/Services/MetamodelService.d.ts +4 -4
- package/src/Utilities/Services/MetamodelService.js +19 -12
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +193 -135
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +23 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -7
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +148 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -7
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.d.ts +6 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +33 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +6 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +82 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +6 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +109 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +8 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +16 -0
- package/src/View/AdaptableWizardView/Wizard.js +2 -1
- package/src/View/AdaptableWizardView/helper.d.ts +1 -1
- package/src/View/AdaptableWizardView/helper.js +3 -10
- package/src/View/Components/FilterForm/FilterForm.js +4 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +2 -1
- package/src/View/Components/RangesComponent.js +1 -1
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -4
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +3 -2
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +1 -1
- package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
- package/src/View/Layout/Wizard/sections/SortSection.js +1 -1
- package/src/agGrid/Adaptable.d.ts +2 -1
- package/src/agGrid/Adaptable.js +19 -12
- package/src/agGrid/PercentBarRenderer.d.ts +2 -1
- package/src/agGrid/PercentBarRenderer.js +3 -3
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +2 -2
- package/src/components/ProgressIndicator/ProgressIndicator.js +10 -12
- package/src/metamodel/adaptable.metamodel.d.ts +74 -6
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/types.d.ts +1 -1
- package/src/types.d.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -266,6 +266,9 @@ class Adaptable {
|
|
|
266
266
|
};
|
|
267
267
|
// (global as any).adaptable = this;
|
|
268
268
|
}
|
|
269
|
+
get isLive() {
|
|
270
|
+
return this.isInitialised && !this.isDestroyed;
|
|
271
|
+
}
|
|
269
272
|
static init(adaptableOptions) {
|
|
270
273
|
return Adaptable.initInternal(adaptableOptions);
|
|
271
274
|
}
|
|
@@ -392,7 +395,7 @@ class Adaptable {
|
|
|
392
395
|
this.AlertService = new AlertService_1.AlertService(this.api);
|
|
393
396
|
this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this.api);
|
|
394
397
|
this.RowEditService = new RowEditService_1.RowEditService(this.api);
|
|
395
|
-
this.MetamodelService = new MetamodelService_1.MetamodelService(this.api);
|
|
398
|
+
this.MetamodelService = new MetamodelService_1.MetamodelService(() => this.api.internalApi.getAdaptableOptions());
|
|
396
399
|
this.forPlugins((plugin) => plugin.afterInitServices(this));
|
|
397
400
|
// Set up Modules - we set up all the Modules suitable for AG Grid
|
|
398
401
|
// But users can make some hidden or readonly in their entitlements
|
|
@@ -542,7 +545,7 @@ class Adaptable {
|
|
|
542
545
|
});
|
|
543
546
|
}
|
|
544
547
|
performAudit(action, oldState, newState) {
|
|
545
|
-
if (this.
|
|
548
|
+
if (this.isLive) {
|
|
546
549
|
const adaptableStateChangedInfo = {
|
|
547
550
|
adaptableApi: this.api,
|
|
548
551
|
actionName: action.type,
|
|
@@ -893,7 +896,7 @@ class Adaptable {
|
|
|
893
896
|
this.gridOptions.api.setColumnDefs(colDefs);
|
|
894
897
|
this.updateColumnsIntoStore(); // todo remove this from here!!!
|
|
895
898
|
}
|
|
896
|
-
getFormatColumnCellStyle(formatColumn, params) {
|
|
899
|
+
getFormatColumnCellStyle(abColumn, formatColumn, params) {
|
|
897
900
|
if (!formatColumn.IncludeGroupedRows && this.isGroupRowNode(params.node)) {
|
|
898
901
|
return;
|
|
899
902
|
}
|
|
@@ -906,8 +909,8 @@ class Adaptable {
|
|
|
906
909
|
if (columnStyle) {
|
|
907
910
|
const gradientStyle = columnStyle === null || columnStyle === void 0 ? void 0 : columnStyle.GradientStyle;
|
|
908
911
|
if (gradientStyle) {
|
|
909
|
-
const min = this.api.formatColumnApi.getNumericStyleMinValue(columnStyle, params.node, params.value);
|
|
910
|
-
const max = this.api.formatColumnApi.getNumericStyleMaxValue(columnStyle, params.node, params.value);
|
|
912
|
+
const min = this.api.formatColumnApi.getNumericStyleMinValue(columnStyle, abColumn, params.node, params.value);
|
|
913
|
+
const max = this.api.formatColumnApi.getNumericStyleMaxValue(columnStyle, abColumn, params.node, params.value);
|
|
911
914
|
const clampedValue = clamp_1.default(params.value, min, max);
|
|
912
915
|
let cellBackColor;
|
|
913
916
|
let reverseGradient = false;
|
|
@@ -915,7 +918,8 @@ class Adaptable {
|
|
|
915
918
|
cellBackColor = gradientStyle.ColumnComparison.Color;
|
|
916
919
|
}
|
|
917
920
|
else {
|
|
918
|
-
const matchingRange = gradientStyle.CellRanges.find((r) => r.Min
|
|
921
|
+
const matchingRange = gradientStyle.CellRanges.find((r) => (r.Min == 'Col-Min' || r.Min <= clampedValue) &&
|
|
922
|
+
(r.Max == 'Col-Max' || r.Max >= clampedValue));
|
|
919
923
|
if (matchingRange) {
|
|
920
924
|
cellBackColor = matchingRange.Color;
|
|
921
925
|
reverseGradient = matchingRange.ReverseGradient;
|
|
@@ -1394,6 +1398,9 @@ class Adaptable {
|
|
|
1394
1398
|
shouldUpdateHeaders = this.setupColumnHeader(colSetupInfo) || shouldUpdateHeaders;
|
|
1395
1399
|
});
|
|
1396
1400
|
isChanged = isChanged || shouldUpdateHeaders;
|
|
1401
|
+
if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(layout.ColumnFilters)) {
|
|
1402
|
+
this.gridOptions.api.onFilterChanged();
|
|
1403
|
+
}
|
|
1397
1404
|
if (isChanged) {
|
|
1398
1405
|
// it's important we set pivot mode
|
|
1399
1406
|
// before we set column state
|
|
@@ -1716,7 +1723,7 @@ class Adaptable {
|
|
|
1716
1723
|
const filterPermittedValuesParams = {
|
|
1717
1724
|
adaptableApi: this.api,
|
|
1718
1725
|
column: column,
|
|
1719
|
-
|
|
1726
|
+
searchFilter: filter,
|
|
1720
1727
|
};
|
|
1721
1728
|
preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(filterPermittedValuesParams));
|
|
1722
1729
|
}
|
|
@@ -3129,7 +3136,7 @@ class Adaptable {
|
|
|
3129
3136
|
const hasQuickSearchStyle = quickSearchStyle != undefined;
|
|
3130
3137
|
const cellStyle = (params) => {
|
|
3131
3138
|
const formatColumnCellStyle = formatColumn
|
|
3132
|
-
? this.getFormatColumnCellStyle(formatColumn, params)
|
|
3139
|
+
? this.getFormatColumnCellStyle(abColumn, formatColumn, params)
|
|
3133
3140
|
: undefined;
|
|
3134
3141
|
const isQuickSearchActive = hasQuickSearchStyle && this.isQuickSearchActive(abColumn, params);
|
|
3135
3142
|
const result = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, defaultCellStyle), this.getReadOnlyCellStyle(abColumn, params)), this.getEditableCellStyle(abColumn, params)), (typeof userCellStyle === 'function' ? userCellStyle(params) : userCellStyle)), formatColumnCellStyle), this.getConditionalStyleCellStyle(conditionalStyles, abColumn, params)), (isQuickSearchActive ? quickSearchStyle : undefined)), this.getAlertCellStyle(abColumn, params)), this.getFlashingCellStyle(abColumn, params)), this.getCellHighlightStyle(abColumn, params));
|
|
@@ -3221,7 +3228,7 @@ class Adaptable {
|
|
|
3221
3228
|
const formatColumn = this.api.formatColumnApi.getActiveFormatColumnForColumn(abColumn);
|
|
3222
3229
|
if (formatColumn && !(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.IsSuspended) && formatColumn.ColumnStyle) {
|
|
3223
3230
|
if (formatColumn.ColumnStyle.PercentBarStyle) {
|
|
3224
|
-
return this.agGridHelper.createPercentBarRendererComp(formatColumn);
|
|
3231
|
+
return this.agGridHelper.createPercentBarRendererComp(formatColumn, abColumn);
|
|
3225
3232
|
}
|
|
3226
3233
|
if (formatColumn.ColumnStyle.CheckBoxStyle) {
|
|
3227
3234
|
return this.agGridHelper.createCheckboxRendererComp(abColumn.columnId, abColumn.readOnly);
|
|
@@ -3229,7 +3236,7 @@ class Adaptable {
|
|
|
3229
3236
|
}
|
|
3230
3237
|
});
|
|
3231
3238
|
}
|
|
3232
|
-
setupColumnTooltipValueGetter({ col, colId }) {
|
|
3239
|
+
setupColumnTooltipValueGetter({ col, colId, abColumn }) {
|
|
3233
3240
|
this.setColDefProperty(col, 'tooltipValueGetter', () => {
|
|
3234
3241
|
var _a;
|
|
3235
3242
|
const formatColumn = this.api.formatColumnApi.getFormatColumnForColumnId(colId);
|
|
@@ -3240,8 +3247,8 @@ class Adaptable {
|
|
|
3240
3247
|
formatColumn.ColumnStyle.PercentBarStyle.ToolTipText) {
|
|
3241
3248
|
if ((_a = formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle) {
|
|
3242
3249
|
return (params) => {
|
|
3243
|
-
const min = this.api.formatColumnApi.getNumericStyleMinValue(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle, params.node, params.value);
|
|
3244
|
-
const max = this.api.formatColumnApi.getNumericStyleMaxValue(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle, params.node, params.value);
|
|
3250
|
+
const min = this.api.formatColumnApi.getNumericStyleMinValue(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle, abColumn, params.node, params.value);
|
|
3251
|
+
const max = this.api.formatColumnApi.getNumericStyleMaxValue(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle, abColumn, params.node, params.value);
|
|
3245
3252
|
const textOptions = formatColumn.ColumnStyle.PercentBarStyle.ToolTipText;
|
|
3246
3253
|
let returnValue = '';
|
|
3247
3254
|
if (textOptions.includes('CellValue')) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { FormatColumn } from '../PredefinedConfig/FormatColumnState';
|
|
2
2
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
|
-
|
|
3
|
+
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
|
+
export declare const getPercentBarRendererForColumn: (formatColumn: FormatColumn, abColumn: AdaptableColumn, api: AdaptableApi) => any;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const Helper_1 = tslib_1.__importDefault(require("../Utilities/Helpers/Helper"));
|
|
6
6
|
const clamp_1 = tslib_1.__importDefault(require("lodash/clamp"));
|
|
7
7
|
const FormatHelper_1 = tslib_1.__importDefault(require("../Utilities/Helpers/FormatHelper"));
|
|
8
|
-
const getPercentBarRendererForColumn = (formatColumn, api) => {
|
|
8
|
+
const getPercentBarRendererForColumn = (formatColumn, abColumn, api) => {
|
|
9
9
|
var _a;
|
|
10
10
|
if (!((_a = formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle)) {
|
|
11
11
|
return;
|
|
@@ -15,8 +15,8 @@ const getPercentBarRendererForColumn = (formatColumn, api) => {
|
|
|
15
15
|
if (!formatColumn.IncludeGroupedRows && api.gridApi.isGroupRowNode(params.node)) {
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
|
-
const min = api.formatColumnApi.getNumericStyleMinValue(formatColumn.ColumnStyle, params.node, params.value);
|
|
19
|
-
const max = api.formatColumnApi.getNumericStyleMaxValue(formatColumn.ColumnStyle, params.node, params.value);
|
|
18
|
+
const min = api.formatColumnApi.getNumericStyleMinValue(formatColumn.ColumnStyle, abColumn, params.node, params.value);
|
|
19
|
+
const max = api.formatColumnApi.getNumericStyleMaxValue(formatColumn.ColumnStyle, abColumn, params.node, params.value);
|
|
20
20
|
let value = params.value;
|
|
21
21
|
if (Helper_1.default.objectNotExists(value)) {
|
|
22
22
|
value = 0;
|
|
@@ -21,7 +21,7 @@ export declare class agGridHelper {
|
|
|
21
21
|
setUpModules(): Map<AdaptableModule, IModule>;
|
|
22
22
|
TrySetUpNodeIds(hasAutogeneratedPrimaryKey: boolean): boolean;
|
|
23
23
|
createCheckboxRendererComp(columnId: string, isColumnReadOnly: boolean): ICellRendererFunc | undefined;
|
|
24
|
-
createPercentBarRendererComp(formatColumn: FormatColumn): ICellRendererFunc;
|
|
24
|
+
createPercentBarRendererComp(formatColumn: FormatColumn, abColumn: AdaptableColumn): ICellRendererFunc;
|
|
25
25
|
getCleanValue(value: string): string | undefined;
|
|
26
26
|
getRenderedValue(colDef: ColDef, valueToRender: any): any;
|
|
27
27
|
createAdaptableColumnFromAgGridColumn(agGridColumn: Column, colsToGroups: Record<string, AdaptableColumnGroup>): AdaptableColumn;
|
|
@@ -148,8 +148,8 @@ class agGridHelper {
|
|
|
148
148
|
createCheckboxRendererComp(columnId, isColumnReadOnly) {
|
|
149
149
|
return CheckboxRenderer_1.getCheckboxRendererForColumn(columnId, isColumnReadOnly, this.adaptable.api);
|
|
150
150
|
}
|
|
151
|
-
createPercentBarRendererComp(formatColumn) {
|
|
152
|
-
return PercentBarRenderer_1.getPercentBarRendererForColumn(formatColumn, this.adaptable.api);
|
|
151
|
+
createPercentBarRendererComp(formatColumn, abColumn) {
|
|
152
|
+
return PercentBarRenderer_1.getPercentBarRendererForColumn(formatColumn, abColumn, this.adaptable.api);
|
|
153
153
|
}
|
|
154
154
|
getCleanValue(value) {
|
|
155
155
|
if (value == null || value == 'null' || value == undefined || value == 'undefined') {
|
|
@@ -17,31 +17,29 @@ const ProgressIndicator = () => {
|
|
|
17
17
|
width: 0,
|
|
18
18
|
});
|
|
19
19
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
20
|
-
const
|
|
21
|
-
const gridContainerRef = react_1.useRef(adaptable.getAgGridContainerElement());
|
|
22
|
-
const disableAdaptableGrid = (elemRef, disabled) => {
|
|
20
|
+
const disableAdaptableGrid = (containerElement, disabled) => {
|
|
23
21
|
const DISABLING_CSS_CLASS = 'ab-wait-for-progress-indicator';
|
|
24
|
-
if (!
|
|
22
|
+
if (!containerElement) {
|
|
25
23
|
return;
|
|
26
24
|
}
|
|
27
25
|
if (disabled) {
|
|
28
|
-
|
|
26
|
+
containerElement.classList.add(DISABLING_CSS_CLASS);
|
|
29
27
|
}
|
|
30
28
|
else {
|
|
31
|
-
|
|
29
|
+
containerElement.classList.remove(DISABLING_CSS_CLASS);
|
|
32
30
|
}
|
|
33
31
|
};
|
|
34
|
-
const updateGridContainerCoordinates = () => {
|
|
35
|
-
if (!
|
|
32
|
+
const updateGridContainerCoordinates = (containerElement) => {
|
|
33
|
+
if (!containerElement) {
|
|
36
34
|
return;
|
|
37
35
|
}
|
|
38
|
-
const { top, left, height, width } =
|
|
36
|
+
const { top, left, height, width } = containerElement.getBoundingClientRect();
|
|
39
37
|
setProgressIndicatorCoordinates({ top, left, height, width });
|
|
40
38
|
};
|
|
41
39
|
react_1.useEffect(() => {
|
|
42
|
-
disableAdaptableGrid(
|
|
43
|
-
disableAdaptableGrid(
|
|
44
|
-
updateGridContainerCoordinates();
|
|
40
|
+
disableAdaptableGrid(adaptable.getAdaptableContainerElement(), active);
|
|
41
|
+
disableAdaptableGrid(adaptable.getAgGridContainerElement(), active);
|
|
42
|
+
updateGridContainerCoordinates(adaptable.getAdaptableContainerElement());
|
|
45
43
|
// without RAF the progress indicator would be rendered instantly, without the 'transition-delay' defined via CSS
|
|
46
44
|
requestAnimationFrame(() => {
|
|
47
45
|
setVisible(active);
|
|
@@ -1142,6 +1142,23 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1142
1142
|
name: string;
|
|
1143
1143
|
kind: string;
|
|
1144
1144
|
description: string;
|
|
1145
|
+
properties: {
|
|
1146
|
+
name: string;
|
|
1147
|
+
kind: string;
|
|
1148
|
+
description: string;
|
|
1149
|
+
uiLabel: string;
|
|
1150
|
+
}[];
|
|
1151
|
+
};
|
|
1152
|
+
BulkUpdatePermittedValuesContext: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
kind: string;
|
|
1155
|
+
description: string;
|
|
1156
|
+
properties: {
|
|
1157
|
+
name: string;
|
|
1158
|
+
kind: string;
|
|
1159
|
+
description: string;
|
|
1160
|
+
uiLabel: string;
|
|
1161
|
+
}[];
|
|
1145
1162
|
};
|
|
1146
1163
|
ButtonStyle: {
|
|
1147
1164
|
name: string;
|
|
@@ -1379,11 +1396,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1379
1396
|
kind: string;
|
|
1380
1397
|
description: string;
|
|
1381
1398
|
};
|
|
1382
|
-
CellValuesList: {
|
|
1383
|
-
name: string;
|
|
1384
|
-
kind: string;
|
|
1385
|
-
description: string;
|
|
1386
|
-
};
|
|
1387
1399
|
ChartDefinition: {
|
|
1388
1400
|
name: string;
|
|
1389
1401
|
kind: string;
|
|
@@ -1987,6 +1999,12 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1987
1999
|
name: string;
|
|
1988
2000
|
kind: string;
|
|
1989
2001
|
description: string;
|
|
2002
|
+
properties: {
|
|
2003
|
+
name: string;
|
|
2004
|
+
kind: string;
|
|
2005
|
+
description: string;
|
|
2006
|
+
uiLabel: string;
|
|
2007
|
+
}[];
|
|
1990
2008
|
};
|
|
1991
2009
|
CustomSortState: {
|
|
1992
2010
|
name: string;
|
|
@@ -2398,10 +2416,30 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2398
2416
|
reference?: undefined;
|
|
2399
2417
|
})[];
|
|
2400
2418
|
};
|
|
2419
|
+
EditLookUpContext: {
|
|
2420
|
+
name: string;
|
|
2421
|
+
kind: string;
|
|
2422
|
+
description: string;
|
|
2423
|
+
properties: {
|
|
2424
|
+
name: string;
|
|
2425
|
+
kind: string;
|
|
2426
|
+
description: string;
|
|
2427
|
+
uiLabel: string;
|
|
2428
|
+
isOptional: boolean;
|
|
2429
|
+
reference: string;
|
|
2430
|
+
}[];
|
|
2431
|
+
};
|
|
2401
2432
|
EditLookUpPermittedValues: {
|
|
2402
2433
|
name: string;
|
|
2403
2434
|
kind: string;
|
|
2404
2435
|
description: string;
|
|
2436
|
+
properties: {
|
|
2437
|
+
name: string;
|
|
2438
|
+
kind: string;
|
|
2439
|
+
description: string;
|
|
2440
|
+
uiLabel: string;
|
|
2441
|
+
isOptional: boolean;
|
|
2442
|
+
}[];
|
|
2405
2443
|
};
|
|
2406
2444
|
EditOptions: {
|
|
2407
2445
|
name: string;
|
|
@@ -2757,13 +2795,31 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2757
2795
|
name: string;
|
|
2758
2796
|
kind: string;
|
|
2759
2797
|
description: string;
|
|
2760
|
-
properties: {
|
|
2798
|
+
properties: ({
|
|
2761
2799
|
name: string;
|
|
2762
2800
|
kind: string;
|
|
2763
2801
|
description: string;
|
|
2764
2802
|
uiLabel: string;
|
|
2765
2803
|
isOptional: boolean;
|
|
2766
2804
|
defaultValue: string;
|
|
2805
|
+
} | {
|
|
2806
|
+
name: string;
|
|
2807
|
+
kind: string;
|
|
2808
|
+
description: string;
|
|
2809
|
+
uiLabel: string;
|
|
2810
|
+
isOptional?: undefined;
|
|
2811
|
+
defaultValue?: undefined;
|
|
2812
|
+
})[];
|
|
2813
|
+
};
|
|
2814
|
+
FilterPermittedValuesContext: {
|
|
2815
|
+
name: string;
|
|
2816
|
+
kind: string;
|
|
2817
|
+
description: string;
|
|
2818
|
+
properties: {
|
|
2819
|
+
name: string;
|
|
2820
|
+
kind: string;
|
|
2821
|
+
description: string;
|
|
2822
|
+
uiLabel: string;
|
|
2767
2823
|
}[];
|
|
2768
2824
|
};
|
|
2769
2825
|
FinanceApi: {
|
|
@@ -3821,6 +3877,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3821
3877
|
isOptional: boolean;
|
|
3822
3878
|
}[];
|
|
3823
3879
|
};
|
|
3880
|
+
PermittedValuesContext: {
|
|
3881
|
+
name: string;
|
|
3882
|
+
kind: string;
|
|
3883
|
+
description: string;
|
|
3884
|
+
properties: {
|
|
3885
|
+
name: string;
|
|
3886
|
+
kind: string;
|
|
3887
|
+
description: string;
|
|
3888
|
+
uiLabel: string;
|
|
3889
|
+
reference: string;
|
|
3890
|
+
}[];
|
|
3891
|
+
};
|
|
3824
3892
|
PluginsApi: {
|
|
3825
3893
|
name: string;
|
|
3826
3894
|
kind: string;
|