@adaptabletools/adaptable 11.0.0 → 11.0.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/README.md +4 -4
- package/base.css +1 -2
- package/bundle.cjs.js +66 -66
- package/index.css +1 -2
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +4 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +3 -3
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/Api/GridApi.d.ts +1 -2
- package/src/Api/Implementation/AlertApiImpl.js +1 -2
- package/src/Api/Implementation/ColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.js +14 -17
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/PlusMinusState.d.ts +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +4 -4
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +4 -4
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.js +4 -4
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +12 -12
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +33 -29
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +4 -4
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +4 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
- package/src/Redux/ActionsReducers/ScheduleRedux.js +16 -16
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ShortcutRedux.js +4 -4
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +20 -20
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -1
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/agGrid/Adaptable.d.ts +3 -1
- package/src/agGrid/Adaptable.js +59 -36
- package/src/agGrid/CheckboxRenderer.d.ts +8 -1
- package/src/agGrid/CheckboxRenderer.js +18 -3
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +7 -8
- package/src/components/icons/calculated-column.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +13 -4
- package/src/metamodel/adaptable.metamodel.js +18 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -56,6 +56,7 @@ const publishTimestamp_1 = tslib_1.__importDefault(require("../../publishTimesta
|
|
|
56
56
|
const MetamodelService_1 = require("../Utilities/Services/MetamodelService");
|
|
57
57
|
const DocumentationLinkConstants_1 = require("../Utilities/Constants/DocumentationLinkConstants");
|
|
58
58
|
const ModuleConstants_1 = require("../Utilities/Constants/ModuleConstants");
|
|
59
|
+
const CheckboxRenderer_1 = require("./CheckboxRenderer");
|
|
59
60
|
const tinycolor = require('tinycolor2');
|
|
60
61
|
all_modules_1.ModuleRegistry.registerModules(all_modules_1.AllCommunityModules);
|
|
61
62
|
const GROUP_PATH_SEPARATOR = '/';
|
|
@@ -797,6 +798,7 @@ class Adaptable {
|
|
|
797
798
|
return;
|
|
798
799
|
}
|
|
799
800
|
let style = {};
|
|
801
|
+
// percent bar && do we show text
|
|
800
802
|
const columnStyle = formatColumn.ColumnStyle;
|
|
801
803
|
if (columnStyle) {
|
|
802
804
|
const gradientStyle = columnStyle === null || columnStyle === void 0 ? void 0 : columnStyle.GradientStyle;
|
|
@@ -824,6 +826,10 @@ class Adaptable {
|
|
|
824
826
|
}
|
|
825
827
|
style.backgroundColor = tinycolor(cellBackColor).setAlpha(alpha).toRgbString();
|
|
826
828
|
}
|
|
829
|
+
if (columnStyle.PercentBarStyle && columnStyle.PercentBarStyle.CellText) {
|
|
830
|
+
style.paddingTop = 0;
|
|
831
|
+
style.paddingBottom = 0;
|
|
832
|
+
}
|
|
827
833
|
}
|
|
828
834
|
else if (formatColumn.Style) {
|
|
829
835
|
style = this.convertAdaptableStyleToCSS(formatColumn.Style);
|
|
@@ -1240,6 +1246,24 @@ class Adaptable {
|
|
|
1240
1246
|
}
|
|
1241
1247
|
const pivoted = !!layout.EnablePivot;
|
|
1242
1248
|
const shouldUpdatePivoted = this.gridOptions.columnApi.isPivotMode() !== pivoted;
|
|
1249
|
+
/**
|
|
1250
|
+
* Pivot columns are secondary columns that are created on the fly and base
|
|
1251
|
+
* their configuration on the main columns by copying that configuration.
|
|
1252
|
+
* Because they copy the colDefs they might have an old copy of the colldefs.
|
|
1253
|
+
* This is why when the layout is pivoted we need to set columns before pivoting is applied.
|
|
1254
|
+
* e.g. {
|
|
1255
|
+
* field: 'pivot-1',
|
|
1256
|
+
* pivotValueColumn: {
|
|
1257
|
+
* colDef: {
|
|
1258
|
+
* field: 'price',
|
|
1259
|
+
* // this is a copy of the original column
|
|
1260
|
+
* }
|
|
1261
|
+
* }
|
|
1262
|
+
*
|
|
1263
|
+
*/
|
|
1264
|
+
if (shouldUpdatePivoted) {
|
|
1265
|
+
this.setupColumns();
|
|
1266
|
+
}
|
|
1243
1267
|
isChanged = isChanged || shouldUpdatePivoted;
|
|
1244
1268
|
let shouldUpdateHeaders = false;
|
|
1245
1269
|
shouldUpdateHeaders = this.setupColumnHeaderAggregations(layout);
|
|
@@ -1520,6 +1544,10 @@ class Adaptable {
|
|
|
1520
1544
|
cancelEdit() {
|
|
1521
1545
|
this.gridOptions.api.stopEditing(true);
|
|
1522
1546
|
}
|
|
1547
|
+
isCellEditable(rowNode, column) {
|
|
1548
|
+
// it's safe to rely on the AG Grid implementation because we override the colDef.editable property, which is in this case the single source of truth
|
|
1549
|
+
return column === null || column === void 0 ? void 0 : column.isCellEditable(rowNode);
|
|
1550
|
+
}
|
|
1523
1551
|
getDistinctValuesForColumn(column, visibleRowsOnly, skipRowNode, permittedValues) {
|
|
1524
1552
|
let returnValues = [];
|
|
1525
1553
|
// this function does NOT look up for server values but actually it should...
|
|
@@ -2360,24 +2388,6 @@ class Adaptable {
|
|
|
2360
2388
|
this.checkColumnsDataTypeSet();
|
|
2361
2389
|
this.setLayout();
|
|
2362
2390
|
});
|
|
2363
|
-
/**
|
|
2364
|
-
* Use Case: User has started to edit a readonly cell
|
|
2365
|
-
* Action1: Stop editing immediately
|
|
2366
|
-
* Note: Deals only with user edits and not ticking data (not a problem)
|
|
2367
|
-
*/
|
|
2368
|
-
this.gridOptions.api.addEventListener(all_modules_1.Events.EVENT_CELL_EDITING_STARTED, (params) => {
|
|
2369
|
-
if (this.gridOptions.columnApi.isPivotMode()) {
|
|
2370
|
-
return;
|
|
2371
|
-
}
|
|
2372
|
-
const cellEditableFn = this.adaptableOptions.editOptions.isCellEditable;
|
|
2373
|
-
if (cellEditableFn) {
|
|
2374
|
-
let gridCell = this.getGridCellFromRowNode(params.node, params.column.getColId());
|
|
2375
|
-
let isEditable = cellEditableFn(gridCell);
|
|
2376
|
-
if (!isEditable) {
|
|
2377
|
-
this.gridOptions.api.stopEditing();
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
});
|
|
2381
2391
|
/**
|
|
2382
2392
|
* Use Case: Entered or Left Pivot Mode
|
|
2383
2393
|
* Action 1: Autosize pivot columns when entering pivot mode (if autosize pivot in Layout is true)
|
|
@@ -2689,6 +2699,7 @@ class Adaptable {
|
|
|
2689
2699
|
this.setupColumnFilter(colSetupInfo);
|
|
2690
2700
|
this.setupColumnFloatingFilter(colSetupInfo);
|
|
2691
2701
|
this.setupColumnValueFormatter(colSetupInfo);
|
|
2702
|
+
this.setupColumnEditable(colSetupInfo);
|
|
2692
2703
|
this.setupColumnValueSetter(colSetupInfo);
|
|
2693
2704
|
this.setupColumnComparator(colSetupInfo);
|
|
2694
2705
|
this.setupColumnCellEditor(colSetupInfo);
|
|
@@ -2852,6 +2863,11 @@ class Adaptable {
|
|
|
2852
2863
|
const adaptableColumn = this.api.columnApi.getColumnFromId(colId);
|
|
2853
2864
|
const editLookUpItem = this.api.userInterfaceApi.getEditLookUpItemForColumn(adaptableColumn);
|
|
2854
2865
|
this.setColDefProperty(col, 'cellEditor', () => {
|
|
2866
|
+
var _a;
|
|
2867
|
+
const formatColumn = this.api.formatColumnApi.getFormatColumnForColumn(adaptableColumn);
|
|
2868
|
+
if (formatColumn && !(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.IsSuspended) && ((_a = formatColumn.ColumnStyle) === null || _a === void 0 ? void 0 : _a.CheckBoxStyle)) {
|
|
2869
|
+
return CheckboxRenderer_1.CheckboxEditor;
|
|
2870
|
+
}
|
|
2855
2871
|
if (editLookUpItem) {
|
|
2856
2872
|
return this.isModulePresent('rich-select')
|
|
2857
2873
|
? 'agRichSelectCellEditor'
|
|
@@ -2872,7 +2888,7 @@ class Adaptable {
|
|
|
2872
2888
|
setupColumnCellRenderer({ col, colId, abColumn }) {
|
|
2873
2889
|
this.setColDefProperty(col, 'cellRenderer', () => {
|
|
2874
2890
|
const formatColumn = this.api.formatColumnApi.getFormatColumnForColumn(abColumn);
|
|
2875
|
-
if (!(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.IsSuspended) && formatColumn
|
|
2891
|
+
if (formatColumn && !(formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.IsSuspended) && formatColumn.ColumnStyle) {
|
|
2876
2892
|
if (formatColumn.ColumnStyle.PercentBarStyle) {
|
|
2877
2893
|
return this.agGridHelper.createNumericStyleRendererFunc(formatColumn);
|
|
2878
2894
|
}
|
|
@@ -3019,6 +3035,23 @@ class Adaptable {
|
|
|
3019
3035
|
}
|
|
3020
3036
|
});
|
|
3021
3037
|
}
|
|
3038
|
+
setupColumnEditable({ col }) {
|
|
3039
|
+
this.setColDefProperty(col, 'editable', (userValue) => {
|
|
3040
|
+
// if AG Grid defines the column as NOT editable, we don't mess with it
|
|
3041
|
+
if (typeof userValue === 'boolean' && userValue === false) {
|
|
3042
|
+
return userValue;
|
|
3043
|
+
}
|
|
3044
|
+
const cellEditableFn = this.adaptableOptions.editOptions.isCellEditable;
|
|
3045
|
+
if (!cellEditableFn) {
|
|
3046
|
+
return userValue;
|
|
3047
|
+
}
|
|
3048
|
+
const editableCallback = (params) => {
|
|
3049
|
+
const gridCell = this.getGridCellFromRowNode(params.node, params.column.getColId());
|
|
3050
|
+
return cellEditableFn(gridCell);
|
|
3051
|
+
};
|
|
3052
|
+
return editableCallback;
|
|
3053
|
+
});
|
|
3054
|
+
}
|
|
3022
3055
|
setupColumnValueSetter({ col, colId, abColumn }) {
|
|
3023
3056
|
this.setColDefProperty(col, 'valueSetter', (userValueSetter) => {
|
|
3024
3057
|
var _a;
|
|
@@ -3027,19 +3060,14 @@ class Adaptable {
|
|
|
3027
3060
|
.filter((alertDefinition) => {
|
|
3028
3061
|
return this.api.scopeApi.isColumnInScope(abColumn, alertDefinition.Scope);
|
|
3029
3062
|
});
|
|
3030
|
-
const cellEditableFn = this.adaptableOptions.editOptions.isCellEditable;
|
|
3031
3063
|
const noValidations = !preventEditAlertsForColumn.length && !((_a = this.adaptableOptions.editOptions) === null || _a === void 0 ? void 0 : _a.validateOnServer);
|
|
3032
|
-
if (noValidations
|
|
3064
|
+
if (noValidations) {
|
|
3033
3065
|
return;
|
|
3034
3066
|
}
|
|
3035
3067
|
const valueSetter = (params) => {
|
|
3036
3068
|
var _a;
|
|
3037
|
-
if (
|
|
3038
|
-
|
|
3039
|
-
let isEditable = cellEditableFn(gridCell);
|
|
3040
|
-
if (!isEditable) {
|
|
3041
|
-
return false;
|
|
3042
|
-
}
|
|
3069
|
+
if (preventEditAlertsForColumn.length) {
|
|
3070
|
+
return false;
|
|
3043
3071
|
}
|
|
3044
3072
|
const field = params.column.getColDef().field;
|
|
3045
3073
|
if (noValidations) {
|
|
@@ -3064,10 +3092,6 @@ class Adaptable {
|
|
|
3064
3092
|
rowNode: params.node,
|
|
3065
3093
|
trigger: 'edit',
|
|
3066
3094
|
});
|
|
3067
|
-
// just Prevent Edit Alerts below
|
|
3068
|
-
if (!preventEditAlertsForColumn.length) {
|
|
3069
|
-
return true;
|
|
3070
|
-
}
|
|
3071
3095
|
if (dataChangedInfo.oldValue === dataChangedInfo.newValue) {
|
|
3072
3096
|
return true;
|
|
3073
3097
|
}
|
|
@@ -3387,10 +3411,8 @@ class Adaptable {
|
|
|
3387
3411
|
this.gridOptions.api.onGroupExpandedOrCollapsed();
|
|
3388
3412
|
}
|
|
3389
3413
|
}
|
|
3390
|
-
|
|
3391
|
-
return this.gridOptions.columnApi
|
|
3392
|
-
.getAllColumns()
|
|
3393
|
-
.find((c) => c.getColId() === abColumn.columnId);
|
|
3414
|
+
getAgGridColumnForColumnId(columnId) {
|
|
3415
|
+
return this.gridOptions.columnApi.getColumn(columnId);
|
|
3394
3416
|
}
|
|
3395
3417
|
setRowGroupColumns(columnIds) {
|
|
3396
3418
|
this.gridOptions.columnApi.setRowGroupColumns(columnIds);
|
|
@@ -3717,7 +3739,8 @@ class Adaptable {
|
|
|
3717
3739
|
return false;
|
|
3718
3740
|
}
|
|
3719
3741
|
showQuickFilter() {
|
|
3720
|
-
this.
|
|
3742
|
+
const height = this.api.internalApi.getAdaptableOptions().filterOptions.quickFilterHeight;
|
|
3743
|
+
this.gridOptions.api.setFloatingFiltersHeight(height);
|
|
3721
3744
|
}
|
|
3722
3745
|
hideQuickFilter() {
|
|
3723
3746
|
this.gridOptions.api.setFloatingFiltersHeight(0);
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { ICellRendererFunc } from '@ag-grid-community/all-modules';
|
|
2
2
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
|
-
|
|
3
|
+
import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core/dist/cjs/es5/interfaces/iCellEditor';
|
|
4
|
+
export declare const getCheckboxRendererForColumn: (columnId: string, isColumnReadOnly: boolean, api: AdaptableApi) => ICellRendererFunc;
|
|
5
|
+
export declare class CheckboxEditor implements ICellEditorComp {
|
|
6
|
+
isCancelBeforeStart(): boolean;
|
|
7
|
+
init(params: ICellEditorParams): void;
|
|
8
|
+
getGui(): HTMLElement;
|
|
9
|
+
getValue(): any;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCheckboxRendererForColumn = void 0;
|
|
4
|
-
exports.getCheckboxRendererForColumn = (columnId,
|
|
3
|
+
exports.CheckboxEditor = exports.getCheckboxRendererForColumn = void 0;
|
|
4
|
+
exports.getCheckboxRendererForColumn = (columnId, isColumnReadOnly, api) => {
|
|
5
5
|
const CheckboxRenderer = function () {
|
|
6
6
|
return '';
|
|
7
7
|
};
|
|
@@ -10,7 +10,9 @@ exports.getCheckboxRendererForColumn = (columnId, readOnly, api) => {
|
|
|
10
10
|
const inputElement = document.createElement('input');
|
|
11
11
|
inputElement.type = 'checkbox';
|
|
12
12
|
inputElement.checked = params.value;
|
|
13
|
-
inputElement.disabled =
|
|
13
|
+
inputElement.disabled =
|
|
14
|
+
isColumnReadOnly ||
|
|
15
|
+
!api.internalApi.getAdaptableInstance().isCellEditable(params.node, params.column);
|
|
14
16
|
this.checkedHandler = this.checkedHandler.bind(this);
|
|
15
17
|
inputElement.addEventListener('click', this.checkedHandler);
|
|
16
18
|
this.eGui = document.createElement('div');
|
|
@@ -33,3 +35,16 @@ exports.getCheckboxRendererForColumn = (columnId, readOnly, api) => {
|
|
|
33
35
|
};
|
|
34
36
|
return CheckboxRenderer;
|
|
35
37
|
};
|
|
38
|
+
// this is just a stub editor instance, we just need the `isCancelBeforeStart()` hook
|
|
39
|
+
class CheckboxEditor {
|
|
40
|
+
isCancelBeforeStart() {
|
|
41
|
+
// never show the editor, we edit it via the checkbox input element
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
init(params) { }
|
|
45
|
+
getGui() {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
getValue() { }
|
|
49
|
+
}
|
|
50
|
+
exports.CheckboxEditor = CheckboxEditor;
|
|
@@ -21,7 +21,7 @@ export declare class agGridHelper {
|
|
|
21
21
|
getAgGridDarkThemeName(): string;
|
|
22
22
|
setUpModules(): Map<AdaptableModule, IModule>;
|
|
23
23
|
TrySetUpNodeIds(): boolean;
|
|
24
|
-
createCheckboxRendererComp(columnId: string,
|
|
24
|
+
createCheckboxRendererComp(columnId: string, isColumnReadOnly: boolean): ICellRendererFunc | undefined;
|
|
25
25
|
createNumericStyleRendererFunc(formatColumn: FormatColumn): ICellRendererFunc;
|
|
26
26
|
getCleanValue(value: string): string | undefined;
|
|
27
27
|
getRenderedValue(colDef: ColDef, valueToRender: any): any;
|
|
@@ -118,8 +118,8 @@ class agGridHelper {
|
|
|
118
118
|
};
|
|
119
119
|
return true;
|
|
120
120
|
}
|
|
121
|
-
createCheckboxRendererComp(columnId,
|
|
122
|
-
return CheckboxRenderer_1.getCheckboxRendererForColumn(columnId,
|
|
121
|
+
createCheckboxRendererComp(columnId, isColumnReadOnly) {
|
|
122
|
+
return CheckboxRenderer_1.getCheckboxRendererForColumn(columnId, isColumnReadOnly, this.adaptable.api);
|
|
123
123
|
}
|
|
124
124
|
createNumericStyleRendererFunc(formatColumn) {
|
|
125
125
|
const numericStyle = formatColumn.ColumnStyle;
|
|
@@ -331,13 +331,12 @@ class agGridHelper {
|
|
|
331
331
|
this.adaptable.api.eventApi.emit('SelectionChanged', selectionChangedInfo);
|
|
332
332
|
}
|
|
333
333
|
isColumnReadonly(colDef) {
|
|
334
|
-
//
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
if (colDef && typeof colDef.editable === 'boolean') {
|
|
338
|
-
return !colDef.editable;
|
|
334
|
+
// if the column has conditional/dynamic editability, we assume some rows may be editable
|
|
335
|
+
if (colDef && typeof colDef.editable === 'function') {
|
|
336
|
+
return false;
|
|
339
337
|
}
|
|
340
|
-
|
|
338
|
+
// otherwise we evaluate the colDef.editable property (columns are NOT editable by default)
|
|
339
|
+
return !colDef.editable;
|
|
341
340
|
}
|
|
342
341
|
isColumnSortable(colDef) {
|
|
343
342
|
if (colDef && colDef.sortable != null) {
|
|
@@ -4,5 +4,5 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
5
|
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
6
|
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
-
React.createElement("path", { d: "M14.67 14.4337V21.7831H9.33V14.4337H14.67ZM15.67 21.7831L20.9277 21.8072V14.4337H15.67V21.7831ZM8.33 21.7831V2.14458H3V21.7831H8.33Z"
|
|
8
|
-
React.createElement("path", { d: "M19.6426 2H10.6466C9.93976 2 9.36145 2.57831 9.36145 3.28514V12.2811C9.36145 12.988 9.93976 13.5663 10.6466 13.5663H19.6426C20.3494 13.5663 20.9277 12.988 20.9277 12.2811V3.28514C20.9277 2.57831 20.3494 2 19.6426 2ZM15.8064 4.60884L16.4876 3.92771L17.3936 4.83373L18.2996 3.92771L18.9807 4.60884L18.0747 5.51486L18.9807 6.42088L18.2996 7.10201L17.3936 6.20241L16.4876 7.10843L15.8064 6.42731L16.7124 5.52128L15.8064 4.60884ZM11.4498 5.03293H14.6627V5.99679H11.4498V5.03293ZM14.8233 10.3534H13.5382V11.6386H12.5743V10.3534H11.2892V9.38956H12.5743V8.10442H13.5382V9.38956H14.8233V10.3534ZM19 11.1566H15.7871V10.1928H19V11.1566ZM19 9.5502H15.7871V8.58635H19V9.5502Z"
|
|
7
|
+
React.createElement("path", { d: "M14.67 14.4337V21.7831H9.33V14.4337H14.67ZM15.67 21.7831L20.9277 21.8072V14.4337H15.67V21.7831ZM8.33 21.7831V2.14458H3V21.7831H8.33Z" }),
|
|
8
|
+
React.createElement("path", { d: "M19.6426 2H10.6466C9.93976 2 9.36145 2.57831 9.36145 3.28514V12.2811C9.36145 12.988 9.93976 13.5663 10.6466 13.5663H19.6426C20.3494 13.5663 20.9277 12.988 20.9277 12.2811V3.28514C20.9277 2.57831 20.3494 2 19.6426 2ZM15.8064 4.60884L16.4876 3.92771L17.3936 4.83373L18.2996 3.92771L18.9807 4.60884L18.0747 5.51486L18.9807 6.42088L18.2996 7.10201L17.3936 6.20241L16.4876 7.10843L15.8064 6.42731L16.7124 5.52128L15.8064 4.60884ZM11.4498 5.03293H14.6627V5.99679H11.4498V5.03293ZM14.8233 10.3534H13.5382V11.6386H12.5743V10.3534H11.2892V9.38956H12.5743V8.10442H13.5382V9.38956H14.8233V10.3534ZM19 11.1566H15.7871V10.1928H19V11.1566ZM19 9.5502H15.7871V8.58635H19V9.5502Z" })));
|
|
@@ -1421,20 +1421,20 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1421
1421
|
description: string;
|
|
1422
1422
|
uiLabel: string;
|
|
1423
1423
|
isOptional: boolean;
|
|
1424
|
-
reference
|
|
1424
|
+
reference?: undefined;
|
|
1425
1425
|
} | {
|
|
1426
1426
|
name: string;
|
|
1427
1427
|
kind: string;
|
|
1428
1428
|
description: string;
|
|
1429
1429
|
uiLabel: string;
|
|
1430
|
-
isOptional
|
|
1431
|
-
reference
|
|
1430
|
+
isOptional: boolean;
|
|
1431
|
+
reference: string;
|
|
1432
1432
|
} | {
|
|
1433
1433
|
name: string;
|
|
1434
1434
|
kind: string;
|
|
1435
1435
|
description: string;
|
|
1436
1436
|
uiLabel: string;
|
|
1437
|
-
isOptional
|
|
1437
|
+
isOptional?: undefined;
|
|
1438
1438
|
reference?: undefined;
|
|
1439
1439
|
})[];
|
|
1440
1440
|
};
|
|
@@ -1998,6 +1998,15 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1998
1998
|
defaultValue: string;
|
|
1999
1999
|
gridInfo?: undefined;
|
|
2000
2000
|
reference?: undefined;
|
|
2001
|
+
} | {
|
|
2002
|
+
name: string;
|
|
2003
|
+
kind: string;
|
|
2004
|
+
description: string;
|
|
2005
|
+
uiLabel: string;
|
|
2006
|
+
isOptional: boolean;
|
|
2007
|
+
gridInfo?: undefined;
|
|
2008
|
+
defaultValue?: undefined;
|
|
2009
|
+
reference?: undefined;
|
|
2001
2010
|
} | {
|
|
2002
2011
|
name: string;
|
|
2003
2012
|
kind: string;
|
|
@@ -599,7 +599,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
599
599
|
{
|
|
600
600
|
"name": "readOnly",
|
|
601
601
|
"kind": "boolean",
|
|
602
|
-
"description": "Is column editable",
|
|
602
|
+
"description": "Is the column editable; returns FALSE if the column has conditional/dynamic editability, assuming some rows are editable",
|
|
603
603
|
"uiLabel": "Read Only"
|
|
604
604
|
},
|
|
605
605
|
{
|
|
@@ -3861,6 +3861,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3861
3861
|
"kind": "Interface",
|
|
3862
3862
|
"description": "Defines a Custom ToolPanel - provided by Users and contains custom content",
|
|
3863
3863
|
"properties": [
|
|
3864
|
+
{
|
|
3865
|
+
"name": "buttons",
|
|
3866
|
+
"kind": "unknown",
|
|
3867
|
+
"description": "Optional set of buttons to show in the ToolPanel",
|
|
3868
|
+
"uiLabel": "Buttons",
|
|
3869
|
+
"isOptional": true
|
|
3870
|
+
},
|
|
3864
3871
|
{
|
|
3865
3872
|
"name": "frameworkComponent",
|
|
3866
3873
|
"kind": "REFERENCE",
|
|
@@ -3888,13 +3895,6 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3888
3895
|
"description": "Title to display in Custom ToolPanel; if undefined, will default to `name` property",
|
|
3889
3896
|
"uiLabel": "Title",
|
|
3890
3897
|
"isOptional": true
|
|
3891
|
-
},
|
|
3892
|
-
{
|
|
3893
|
-
"name": "toolPanelButtons",
|
|
3894
|
-
"kind": "unknown",
|
|
3895
|
-
"description": "Optional set of buttons to show in the ToolPanel",
|
|
3896
|
-
"uiLabel": "Tool Panel Buttons",
|
|
3897
|
-
"isOptional": true
|
|
3898
3898
|
}
|
|
3899
3899
|
]
|
|
3900
3900
|
},
|
|
@@ -5682,6 +5682,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
5682
5682
|
"gridInfo": "item",
|
|
5683
5683
|
"defaultValue": "2,000"
|
|
5684
5684
|
},
|
|
5685
|
+
{
|
|
5686
|
+
"name": "quickFilterHeight",
|
|
5687
|
+
"kind": "number",
|
|
5688
|
+
"description": "TODO: add comment",
|
|
5689
|
+
"uiLabel": "Quick Filter Height",
|
|
5690
|
+
"isOptional": true
|
|
5691
|
+
},
|
|
5685
5692
|
{
|
|
5686
5693
|
"name": "quickFilterTrigger",
|
|
5687
5694
|
"kind": "unknown",
|
|
@@ -8930,7 +8937,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8930
8937
|
{
|
|
8931
8938
|
"name": "Rule",
|
|
8932
8939
|
"kind": "REFERENCE",
|
|
8933
|
-
"description": "(Optional) Boolean
|
|
8940
|
+
"description": "(Optional) Boolean Expression to determine whether to apply the Nudge",
|
|
8934
8941
|
"uiLabel": "Rule",
|
|
8935
8942
|
"isOptional": true,
|
|
8936
8943
|
"reference": "unknown"
|
|
@@ -11087,10 +11094,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
11087
11094
|
"defaultValue": "'AdapTable'"
|
|
11088
11095
|
},
|
|
11089
11096
|
{
|
|
11090
|
-
"name": "
|
|
11097
|
+
"name": "customButtons",
|
|
11091
11098
|
"kind": "unknown",
|
|
11092
11099
|
"description": "ToolPanel Buttons provided by Users which perform custom behaviour",
|
|
11093
|
-
"uiLabel": "Custom
|
|
11100
|
+
"uiLabel": "Custom Buttons",
|
|
11094
11101
|
"isOptional": true
|
|
11095
11102
|
},
|
|
11096
11103
|
{
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.0.
|
|
1
|
+
declare const _default: "11.0.1";
|
|
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.
|
|
3
|
+
exports.default = '11.0.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|