@adaptabletools/adaptable 11.0.0-canary.7 → 11.0.0
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 +75 -75
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +3 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +4 -3
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
- package/src/PredefinedConfig/Common/Types.d.ts +4 -1
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
- package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +11 -10
- package/src/Utilities/Services/ModuleService.js +33 -40
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
- package/src/agGrid/Adaptable.js +2 -4
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/icons/calculated-column.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +181 -0
- package/src/metamodel/adaptable.metamodel.js +262 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "11.0.0
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1645637438183;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExpressionFunctionMap } from '../parser/src/types';
|
|
2
2
|
import { AdaptableModule, AdaptableQLModules } from '../PredefinedConfig/Common/Types';
|
|
3
|
+
/**
|
|
4
|
+
* Options for managing AdaptableQL - the Adaptable Query Lanaguage which evaluates Predicates and Expressions
|
|
5
|
+
*/
|
|
3
6
|
export interface AdaptableQLOptions {
|
|
4
7
|
/**
|
|
5
8
|
* Perform case-sensitive text comparisons in all search and filter operations: QuickSearch, Filters, Query, Predicates
|
|
@@ -61,11 +61,12 @@ export interface SettingsPanelOptions {
|
|
|
61
61
|
*/
|
|
62
62
|
customSettingsPanels?: CustomSettingsPanel[];
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Definition of a Custom Panel to add to the Adaptable Settings Panel
|
|
66
|
+
*/
|
|
64
67
|
export interface CustomSettingsPanel {
|
|
65
68
|
/**
|
|
66
|
-
*
|
|
67
|
-
* To be shown you must include it in settingsPanelOptions.navigation.
|
|
68
|
-
* By default is added to the end.
|
|
69
|
+
* Appears in Settings Panel Navigation and must be included in settingsPanelOptions.navigation for it to be displayed (by default added to the end)
|
|
69
70
|
*/
|
|
70
71
|
name: string;
|
|
71
72
|
/**
|
|
@@ -9,7 +9,7 @@ class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
|
|
|
9
9
|
this.dispatchAction(PopupRedux.PopupShowScreen(moduleName));
|
|
10
10
|
}
|
|
11
11
|
showCustomSettingsPanel(name) {
|
|
12
|
-
this.dispatchAction(PopupRedux.PopupShowScreen(
|
|
12
|
+
this.dispatchAction(PopupRedux.PopupShowScreen(null, name));
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
exports.SettingsPanelApiImpl = SettingsPanelApiImpl;
|
|
@@ -22,7 +22,10 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
22
22
|
export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
23
23
|
export declare type AdaptableStateKeys = AdaptableStateKey[];
|
|
24
24
|
export declare type AdaptableStateKey = 'Alert' | 'FlashingCell' | 'Application' | 'CalculatedColumn' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'Theme' | 'ToolPanel';
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
|
|
27
|
+
*/
|
|
28
|
+
export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
26
29
|
export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
|
|
27
30
|
export declare type TypeHint<Base, Literals> = (Base & {
|
|
28
31
|
__subType?: true;
|
|
@@ -11,7 +11,7 @@ import { SuspendableObject } from './Common/SuspendableObject';
|
|
|
11
11
|
**/
|
|
12
12
|
export interface ConditionalStyleState extends ConfigState {
|
|
13
13
|
/**
|
|
14
|
-
* Array of Conditional Styles to ship with
|
|
14
|
+
* Array of Conditional Styles to ship with AdapTable
|
|
15
15
|
*/
|
|
16
16
|
ConditionalStyles?: ConditionalStyle[];
|
|
17
17
|
}
|
|
@@ -32,7 +32,7 @@ export interface ConditionalStyle extends SuspendableObject {
|
|
|
32
32
|
*/
|
|
33
33
|
Style: AdaptableStyle;
|
|
34
34
|
/**
|
|
35
|
-
* Whether to apply Style in Grouped Rows
|
|
35
|
+
* Whether to apply Style in Grouped Rows and when Pivoting
|
|
36
36
|
* @defaultValue false
|
|
37
37
|
*/
|
|
38
38
|
IncludeGroupedRows?: boolean;
|
|
@@ -48,6 +48,9 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
48
48
|
*/
|
|
49
49
|
IncludeGroupedRows?: boolean;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Special Style used when Formatting Columns: Gradient, PercentBar or CheckBox
|
|
53
|
+
*/
|
|
51
54
|
export interface ColumnStyle {
|
|
52
55
|
/**
|
|
53
56
|
* Style a numeric column so each cell value shows a gradient shade
|
|
@@ -62,6 +65,9 @@ export interface ColumnStyle {
|
|
|
62
65
|
*/
|
|
63
66
|
CheckBoxStyle?: boolean;
|
|
64
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Style used to display Percent Bars in Format Column
|
|
70
|
+
*/
|
|
65
71
|
export interface PercentBarStyle {
|
|
66
72
|
/**
|
|
67
73
|
* Ranges (e.g. to allow a traffic light effect)
|
|
@@ -85,6 +91,9 @@ export interface PercentBarStyle {
|
|
|
85
91
|
*/
|
|
86
92
|
BackColor?: string;
|
|
87
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Used to display Gradient Styles in Format Column
|
|
96
|
+
*/
|
|
88
97
|
export interface GradientStyle {
|
|
89
98
|
/**
|
|
90
99
|
* Ranges (e.g. to allow a traffic light effect)
|
|
@@ -95,6 +104,9 @@ export interface GradientStyle {
|
|
|
95
104
|
*/
|
|
96
105
|
ColumnComparison?: ColumnComparison;
|
|
97
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Defines which Colours to show in Gradient and Percent Bar Styles
|
|
109
|
+
*/
|
|
98
110
|
export interface CellColorRange {
|
|
99
111
|
/**
|
|
100
112
|
* Start number of Range
|
|
@@ -113,6 +125,9 @@ export interface CellColorRange {
|
|
|
113
125
|
*/
|
|
114
126
|
ReverseGradient?: boolean;
|
|
115
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Enables a Percent Bar or Gradient Style to use another column in its calculations
|
|
130
|
+
*/
|
|
116
131
|
export interface ColumnComparison {
|
|
117
132
|
/**
|
|
118
133
|
* Start value - either numeric or Column name
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOST_URL_DOCS = "https://docs.adaptabletools.com
|
|
1
|
+
export declare const HOST_URL_DOCS = "https://docs.adaptabletools.com";
|
|
2
2
|
export declare const ExpressionEditorDocsLink: string;
|
|
3
3
|
export declare const BooleanQueryDocsLink: string;
|
|
4
4
|
export declare const ScalarQueryDocsLink: string;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LicenseDocsLink = exports.PrimaryKeyDocsLink = exports.PredicateDocsLink = exports.AggregatedScalarQueryDocsLink = exports.AggregatedBooleanQueryDocsLink = exports.ObservableQueryDocsLink = exports.ScalarQueryDocsLink = exports.BooleanQueryDocsLink = exports.ExpressionEditorDocsLink = exports.HOST_URL_DOCS = void 0;
|
|
4
|
-
exports.HOST_URL_DOCS = 'https://docs.adaptabletools.com
|
|
5
|
-
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
4
|
+
exports.HOST_URL_DOCS = 'https://docs.adaptabletools.com';
|
|
5
|
+
//export const HOST_URL_DOCS = 'http://localhost:3000';
|
|
6
|
+
exports.ExpressionEditorDocsLink = `${exports.HOST_URL_DOCS}/learn/ui-expression-editor`;
|
|
7
|
+
exports.BooleanQueryDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-expression#boolean-expressions`;
|
|
8
|
+
exports.ScalarQueryDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-expression#scalar-expressions`;
|
|
9
|
+
exports.ObservableQueryDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-expression#observable-expressions`;
|
|
10
|
+
exports.AggregatedBooleanQueryDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-expression#aggregation-boolean-expressions`;
|
|
11
|
+
exports.AggregatedScalarQueryDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-expression#aggregation-scalar-expressions`;
|
|
12
|
+
exports.PredicateDocsLink = `${exports.HOST_URL_DOCS}/learn/adaptable-ql-predicate`;
|
|
13
|
+
exports.PrimaryKeyDocsLink = `${exports.HOST_URL_DOCS}/learn/dev-guide-tutorial-primary-key`;
|
|
14
|
+
exports.LicenseDocsLink = `${exports.HOST_URL_DOCS}/licensing`;
|
|
@@ -76,75 +76,68 @@ class ModuleService {
|
|
|
76
76
|
}
|
|
77
77
|
getModuleDocumentationPageByModule(adaptableModule) {
|
|
78
78
|
let url = `${DocumentationLinkConstants_1.HOST_URL_DOCS}/`;
|
|
79
|
-
let
|
|
80
|
-
let editingUrl = url + 'editing/';
|
|
81
|
-
let searchingUrl = url + 'searching/';
|
|
82
|
-
let filteringUrl = url + 'filtering/';
|
|
83
|
-
let themingUrl = url + 'theming/';
|
|
84
|
-
let stylingUrl = url + 'styling/';
|
|
85
|
-
let advancedFeaturesUrl = url + 'advanced-features/';
|
|
86
|
-
let gridManagementUrl = url + 'grid-management/';
|
|
87
|
-
let userInterfaceUrl = url + 'user-interface/';
|
|
88
|
-
let pluginUrl = url + 'plugins/';
|
|
79
|
+
let learnUrl = url + 'learn/';
|
|
89
80
|
switch (adaptableModule) {
|
|
90
81
|
case 'Alert':
|
|
91
|
-
return
|
|
82
|
+
return learnUrl + 'handbook-alerting';
|
|
92
83
|
case 'BulkUpdate':
|
|
93
|
-
return
|
|
84
|
+
return url + 'handbook-editing#bulk-update';
|
|
94
85
|
case 'CalculatedColumn':
|
|
95
|
-
return
|
|
86
|
+
return learnUrl + 'handbook-calculated-column';
|
|
96
87
|
case 'CellSummary':
|
|
97
|
-
return
|
|
88
|
+
return learnUrl + 'handbook-summarising#cell-summary-information';
|
|
98
89
|
case 'ConditionalStyle':
|
|
99
|
-
return
|
|
90
|
+
return learnUrl + 'handbook-conditional-styling';
|
|
100
91
|
case 'CustomSort':
|
|
101
|
-
return
|
|
92
|
+
return learnUrl + 'handbook-sorting';
|
|
102
93
|
case 'Dashboard':
|
|
103
|
-
return
|
|
94
|
+
return learnUrl + 'ui-dashboard';
|
|
104
95
|
case 'DataSource':
|
|
105
|
-
return
|
|
96
|
+
return learnUrl + 'handbook-data-sources';
|
|
97
|
+
case 'DataChangeHistory':
|
|
98
|
+
return learnUrl + 'handbook-monitoring#data-change-history';
|
|
106
99
|
case 'Export':
|
|
107
|
-
return
|
|
100
|
+
return learnUrl + 'handbook-exporting';
|
|
108
101
|
case 'Filter':
|
|
109
|
-
return
|
|
102
|
+
return learnUrl + 'handbook-filtering';
|
|
103
|
+
case 'FlashingCell':
|
|
104
|
+
return learnUrl + 'handbook-cell-flashing';
|
|
110
105
|
case 'FormatColumn':
|
|
111
|
-
return
|
|
106
|
+
return learnUrl + 'handbook-column-formatting';
|
|
112
107
|
case 'FreeTextColumn':
|
|
113
|
-
return
|
|
108
|
+
return learnUrl + 'handbook-freetext-column';
|
|
114
109
|
case 'GridInfo':
|
|
115
|
-
return
|
|
110
|
+
return learnUrl + 'handbook-monitoring#grid-info-panel';
|
|
116
111
|
case 'Layout':
|
|
117
|
-
return
|
|
112
|
+
return learnUrl + 'handbook-layouts';
|
|
118
113
|
case 'PlusMinus':
|
|
119
|
-
return
|
|
114
|
+
return learnUrl + 'handbook-editing#plus-minus';
|
|
120
115
|
case 'Query':
|
|
121
|
-
return
|
|
116
|
+
return learnUrl + 'handbook-querying';
|
|
122
117
|
case 'QuickSearch':
|
|
123
|
-
return
|
|
118
|
+
return learnUrl + 'handbook-searching';
|
|
124
119
|
case 'Schedule':
|
|
125
|
-
return
|
|
120
|
+
return learnUrl + 'handbook-scheduling';
|
|
126
121
|
case 'Shortcut':
|
|
127
|
-
return
|
|
122
|
+
return learnUrl + 'handbook-editing#shortcuts';
|
|
128
123
|
case 'SmartEdit':
|
|
129
|
-
return
|
|
124
|
+
return learnUrl + 'handbook-editing#smart-edit';
|
|
130
125
|
case 'StateManagement':
|
|
131
|
-
return
|
|
126
|
+
return learnUrl + 'dev-guide-adaptable-state';
|
|
132
127
|
case 'SystemStatus':
|
|
133
|
-
return
|
|
128
|
+
return learnUrl + 'handbook-notifying';
|
|
134
129
|
case 'TeamSharing':
|
|
135
|
-
return url + '
|
|
130
|
+
return url + 'handbook-collaborating';
|
|
136
131
|
case 'Theme':
|
|
137
|
-
return
|
|
132
|
+
return learnUrl + 'handbook-theming';
|
|
138
133
|
case 'ToolPanel':
|
|
139
|
-
return
|
|
140
|
-
case 'DataChangeHistory':
|
|
141
|
-
return editingUrl + 'change-history-module';
|
|
134
|
+
return learnUrl + 'ui-tool-panel';
|
|
142
135
|
case 'Glue42':
|
|
143
|
-
return
|
|
136
|
+
return learnUrl + 'integrations-glue42';
|
|
144
137
|
case 'IPushPull':
|
|
145
|
-
return
|
|
138
|
+
return learnUrl + 'integrations-ipushpull';
|
|
146
139
|
case 'OpenFin':
|
|
147
|
-
return
|
|
140
|
+
return learnUrl + 'integrations-openfin';
|
|
148
141
|
default:
|
|
149
142
|
return 'good';
|
|
150
143
|
}
|
|
@@ -16,7 +16,7 @@ const CustomSettingsPanelView_1 = require("./CustomSettingsPanelView");
|
|
|
16
16
|
const useMenuItems_1 = require("./useMenuItems");
|
|
17
17
|
const AdaptablePopupDialog_1 = require("./AdaptablePopupDialog");
|
|
18
18
|
exports.AdaptablePopup = (props) => {
|
|
19
|
-
var _a, _b;
|
|
19
|
+
var _a, _b, _c;
|
|
20
20
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
21
21
|
const settingsPanelOptions = adaptable.adaptableOptions.settingsPanelOptions;
|
|
22
22
|
const settingsPanelTitle = adaptable.api.internalApi.getModuleFriendlyName('SettingsPanel');
|
|
@@ -33,16 +33,12 @@ exports.AdaptablePopup = (props) => {
|
|
|
33
33
|
let componentModule = props.componentModule;
|
|
34
34
|
let componentName = props.componentName;
|
|
35
35
|
// ts forces to check for General, there is no menu item General
|
|
36
|
-
const useFirstItem = !props.
|
|
36
|
+
const useFirstItem = !props.componentName;
|
|
37
37
|
if (useFirstItem && firstMenuModule !== 'General') {
|
|
38
38
|
componentModule = firstMenuModule;
|
|
39
39
|
}
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
42
|
-
if (useFirstItem) {
|
|
43
|
-
componentName = firstMenuItem.label;
|
|
44
|
-
}
|
|
45
|
-
const customSettingsPanel = settingsPanelOptions.customSettingsPanels.find((settingsPanel) => settingsPanel.name === componentName);
|
|
40
|
+
const customSettingsPanel = (_c = settingsPanelOptions === null || settingsPanelOptions === void 0 ? void 0 : settingsPanelOptions.customSettingsPanels) === null || _c === void 0 ? void 0 : _c.find((customPanel) => useFirstItem ? customPanel.name === firstMenuItem.label : customPanel.name === componentName);
|
|
41
|
+
if (customSettingsPanel) {
|
|
46
42
|
friendlyName = customSettingsPanel.name;
|
|
47
43
|
activeItem = customSettingsPanel.name;
|
|
48
44
|
moduleViewContent = React.createElement(CustomSettingsPanelView_1.CustomSettingsPanelView, { settingsPanel: customSettingsPanel });
|
|
@@ -32,9 +32,8 @@ exports.useMenuItems = () => {
|
|
|
32
32
|
if (customSettingsPanel) {
|
|
33
33
|
customPanelMenuItem = {
|
|
34
34
|
label: customSettingsPanel.name,
|
|
35
|
-
module: 'CustomSettingsPanelModule',
|
|
36
35
|
isVisible: true,
|
|
37
|
-
reduxAction: PopupRedux.PopupShowScreen(
|
|
36
|
+
reduxAction: PopupRedux.PopupShowScreen(null, customSettingsPanel.name),
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
39
|
return customPanelMenuItem || visibleItems.find((item) => item.module === moduleName);
|
|
@@ -13,10 +13,10 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
|
|
|
13
13
|
const react_redux_1 = require("react-redux");
|
|
14
14
|
const ScheduleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ScheduleRedux"));
|
|
15
15
|
exports.ScheduleWizard = (props) => {
|
|
16
|
-
var _a, _b;
|
|
16
|
+
var _a, _b, _c;
|
|
17
17
|
const data = (_a = props.data) !== null && _a !== void 0 ? _a : props.popupParams.value;
|
|
18
|
-
const isNew = props.popupParams.action ? props.popupParams.action === 'New' : !props.data;
|
|
19
|
-
const scheduleType = data ? data.ScheduleType : (
|
|
18
|
+
const isNew = ((_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.action) ? props.popupParams.action === 'New' : !props.data;
|
|
19
|
+
const scheduleType = data ? data.ScheduleType : (_c = props === null || props === void 0 ? void 0 : props.abObjectType) === null || _c === void 0 ? void 0 : _c.name;
|
|
20
20
|
const [schedule, setSchedule] = React.useState(() => {
|
|
21
21
|
if (data) {
|
|
22
22
|
return data;
|
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -1909,10 +1909,8 @@ class Adaptable {
|
|
|
1909
1909
|
return isVisible;
|
|
1910
1910
|
}
|
|
1911
1911
|
redrawBody() {
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
this._emit('GridRefreshed');
|
|
1915
|
-
}, 0);
|
|
1912
|
+
this.gridOptions.api.redrawRows();
|
|
1913
|
+
this._emit('GridRefreshed');
|
|
1916
1914
|
}
|
|
1917
1915
|
redrawHeader() {
|
|
1918
1916
|
this.gridOptions.api.refreshHeader();
|
|
@@ -195,5 +195,5 @@ const queryDocumentationLinks = {
|
|
|
195
195
|
scalar: DocumentationLinkConstants_1.ScalarQueryDocsLink,
|
|
196
196
|
observable: DocumentationLinkConstants_1.ObservableQueryDocsLink,
|
|
197
197
|
aggregatedBoolean: DocumentationLinkConstants_1.AggregatedBooleanQueryDocsLink,
|
|
198
|
-
aggregatedScalar: DocumentationLinkConstants_1.
|
|
198
|
+
aggregatedScalar: DocumentationLinkConstants_1.AggregatedScalarQueryDocsLink,
|
|
199
199
|
};
|
|
@@ -4,4 +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: "
|
|
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", fill: "currentColor" }),
|
|
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", fill: "currentColor" })));
|
|
@@ -320,6 +320,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
320
320
|
kind: string;
|
|
321
321
|
description: string;
|
|
322
322
|
};
|
|
323
|
+
AdaptableModule: {
|
|
324
|
+
name: string;
|
|
325
|
+
kind: string;
|
|
326
|
+
description: string;
|
|
327
|
+
};
|
|
323
328
|
AdaptableObject: {
|
|
324
329
|
name: string;
|
|
325
330
|
kind: string;
|
|
@@ -459,6 +464,39 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
459
464
|
reference?: undefined;
|
|
460
465
|
})[];
|
|
461
466
|
};
|
|
467
|
+
AdaptableQLOptions: {
|
|
468
|
+
name: string;
|
|
469
|
+
kind: string;
|
|
470
|
+
description: string;
|
|
471
|
+
properties: ({
|
|
472
|
+
name: string;
|
|
473
|
+
kind: string;
|
|
474
|
+
description: string;
|
|
475
|
+
uiLabel: string;
|
|
476
|
+
isOptional: boolean;
|
|
477
|
+
gridInfo: string;
|
|
478
|
+
defaultValue: string;
|
|
479
|
+
reference?: undefined;
|
|
480
|
+
} | {
|
|
481
|
+
name: string;
|
|
482
|
+
kind: string;
|
|
483
|
+
description: string;
|
|
484
|
+
uiLabel: string;
|
|
485
|
+
isOptional: boolean;
|
|
486
|
+
reference: string;
|
|
487
|
+
gridInfo?: undefined;
|
|
488
|
+
defaultValue?: undefined;
|
|
489
|
+
} | {
|
|
490
|
+
name: string;
|
|
491
|
+
kind: string;
|
|
492
|
+
description: string;
|
|
493
|
+
uiLabel: string;
|
|
494
|
+
isOptional: boolean;
|
|
495
|
+
gridInfo: string;
|
|
496
|
+
defaultValue: string;
|
|
497
|
+
reference: string;
|
|
498
|
+
})[];
|
|
499
|
+
};
|
|
462
500
|
AdaptableReadyInfo: {
|
|
463
501
|
name: string;
|
|
464
502
|
kind: string;
|
|
@@ -907,6 +945,24 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
907
945
|
reference: string;
|
|
908
946
|
}[];
|
|
909
947
|
};
|
|
948
|
+
CellColorRange: {
|
|
949
|
+
name: string;
|
|
950
|
+
kind: string;
|
|
951
|
+
description: string;
|
|
952
|
+
properties: ({
|
|
953
|
+
name: string;
|
|
954
|
+
kind: string;
|
|
955
|
+
description: string;
|
|
956
|
+
uiLabel: string;
|
|
957
|
+
isOptional?: undefined;
|
|
958
|
+
} | {
|
|
959
|
+
name: string;
|
|
960
|
+
kind: string;
|
|
961
|
+
description: string;
|
|
962
|
+
uiLabel: string;
|
|
963
|
+
isOptional: boolean;
|
|
964
|
+
})[];
|
|
965
|
+
};
|
|
910
966
|
CellHighlightInfo: {
|
|
911
967
|
name: string;
|
|
912
968
|
kind: string;
|
|
@@ -1007,6 +1063,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1007
1063
|
uiLabel: string;
|
|
1008
1064
|
}[];
|
|
1009
1065
|
};
|
|
1066
|
+
ColumnComparison: {
|
|
1067
|
+
name: string;
|
|
1068
|
+
kind: string;
|
|
1069
|
+
description: string;
|
|
1070
|
+
properties: {
|
|
1071
|
+
name: string;
|
|
1072
|
+
kind: string;
|
|
1073
|
+
description: string;
|
|
1074
|
+
uiLabel: string;
|
|
1075
|
+
}[];
|
|
1076
|
+
};
|
|
1010
1077
|
ColumnFilter: {
|
|
1011
1078
|
name: string;
|
|
1012
1079
|
kind: string;
|
|
@@ -1054,6 +1121,26 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1054
1121
|
uiLabel: string;
|
|
1055
1122
|
}[];
|
|
1056
1123
|
};
|
|
1124
|
+
ColumnStyle: {
|
|
1125
|
+
name: string;
|
|
1126
|
+
kind: string;
|
|
1127
|
+
description: string;
|
|
1128
|
+
properties: ({
|
|
1129
|
+
name: string;
|
|
1130
|
+
kind: string;
|
|
1131
|
+
description: string;
|
|
1132
|
+
uiLabel: string;
|
|
1133
|
+
isOptional: boolean;
|
|
1134
|
+
reference?: undefined;
|
|
1135
|
+
} | {
|
|
1136
|
+
name: string;
|
|
1137
|
+
kind: string;
|
|
1138
|
+
description: string;
|
|
1139
|
+
uiLabel: string;
|
|
1140
|
+
isOptional: boolean;
|
|
1141
|
+
reference: string;
|
|
1142
|
+
})[];
|
|
1143
|
+
};
|
|
1057
1144
|
ColumnValuesComparer: {
|
|
1058
1145
|
name: string;
|
|
1059
1146
|
kind: string;
|
|
@@ -1200,6 +1287,33 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1200
1287
|
uiLabel: string;
|
|
1201
1288
|
}[];
|
|
1202
1289
|
};
|
|
1290
|
+
CustomSettingsPanel: {
|
|
1291
|
+
name: string;
|
|
1292
|
+
kind: string;
|
|
1293
|
+
description: string;
|
|
1294
|
+
properties: ({
|
|
1295
|
+
name: string;
|
|
1296
|
+
kind: string;
|
|
1297
|
+
description: string;
|
|
1298
|
+
uiLabel: string;
|
|
1299
|
+
isOptional: boolean;
|
|
1300
|
+
reference: string;
|
|
1301
|
+
} | {
|
|
1302
|
+
name: string;
|
|
1303
|
+
kind: string;
|
|
1304
|
+
description: string;
|
|
1305
|
+
uiLabel: string;
|
|
1306
|
+
isOptional?: undefined;
|
|
1307
|
+
reference?: undefined;
|
|
1308
|
+
} | {
|
|
1309
|
+
name: string;
|
|
1310
|
+
kind: string;
|
|
1311
|
+
description: string;
|
|
1312
|
+
uiLabel: string;
|
|
1313
|
+
isOptional: boolean;
|
|
1314
|
+
reference?: undefined;
|
|
1315
|
+
})[];
|
|
1316
|
+
};
|
|
1203
1317
|
CustomSort: {
|
|
1204
1318
|
name: string;
|
|
1205
1319
|
kind: string;
|
|
@@ -2286,6 +2400,26 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2286
2400
|
reference?: undefined;
|
|
2287
2401
|
})[];
|
|
2288
2402
|
};
|
|
2403
|
+
GradientStyle: {
|
|
2404
|
+
name: string;
|
|
2405
|
+
kind: string;
|
|
2406
|
+
description: string;
|
|
2407
|
+
properties: ({
|
|
2408
|
+
name: string;
|
|
2409
|
+
kind: string;
|
|
2410
|
+
description: string;
|
|
2411
|
+
uiLabel: string;
|
|
2412
|
+
isOptional: boolean;
|
|
2413
|
+
reference?: undefined;
|
|
2414
|
+
} | {
|
|
2415
|
+
name: string;
|
|
2416
|
+
kind: string;
|
|
2417
|
+
description: string;
|
|
2418
|
+
uiLabel: string;
|
|
2419
|
+
isOptional: boolean;
|
|
2420
|
+
reference: string;
|
|
2421
|
+
})[];
|
|
2422
|
+
};
|
|
2289
2423
|
GridApi: {
|
|
2290
2424
|
name: string;
|
|
2291
2425
|
kind: string;
|
|
@@ -2710,6 +2844,36 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2710
2844
|
kind: string;
|
|
2711
2845
|
description: string;
|
|
2712
2846
|
};
|
|
2847
|
+
PercentBarStyle: {
|
|
2848
|
+
name: string;
|
|
2849
|
+
kind: string;
|
|
2850
|
+
description: string;
|
|
2851
|
+
properties: ({
|
|
2852
|
+
name: string;
|
|
2853
|
+
kind: string;
|
|
2854
|
+
description: string;
|
|
2855
|
+
uiLabel: string;
|
|
2856
|
+
isOptional: boolean;
|
|
2857
|
+
defaultValue: string;
|
|
2858
|
+
reference?: undefined;
|
|
2859
|
+
} | {
|
|
2860
|
+
name: string;
|
|
2861
|
+
kind: string;
|
|
2862
|
+
description: string;
|
|
2863
|
+
uiLabel: string;
|
|
2864
|
+
isOptional: boolean;
|
|
2865
|
+
defaultValue?: undefined;
|
|
2866
|
+
reference?: undefined;
|
|
2867
|
+
} | {
|
|
2868
|
+
name: string;
|
|
2869
|
+
kind: string;
|
|
2870
|
+
description: string;
|
|
2871
|
+
uiLabel: string;
|
|
2872
|
+
isOptional: boolean;
|
|
2873
|
+
reference: string;
|
|
2874
|
+
defaultValue?: undefined;
|
|
2875
|
+
})[];
|
|
2876
|
+
};
|
|
2713
2877
|
PermittedValues: {
|
|
2714
2878
|
name: string;
|
|
2715
2879
|
kind: string;
|
|
@@ -3220,6 +3384,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3220
3384
|
reference?: undefined;
|
|
3221
3385
|
})[];
|
|
3222
3386
|
};
|
|
3387
|
+
StringFormatterOptions: {
|
|
3388
|
+
name: string;
|
|
3389
|
+
kind: string;
|
|
3390
|
+
description: string;
|
|
3391
|
+
properties: {
|
|
3392
|
+
name: string;
|
|
3393
|
+
kind: string;
|
|
3394
|
+
description: string;
|
|
3395
|
+
uiLabel: string;
|
|
3396
|
+
isOptional: boolean;
|
|
3397
|
+
}[];
|
|
3398
|
+
};
|
|
3223
3399
|
SuspendableObject: {
|
|
3224
3400
|
name: string;
|
|
3225
3401
|
kind: string;
|
|
@@ -3455,6 +3631,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3455
3631
|
reference?: undefined;
|
|
3456
3632
|
})[];
|
|
3457
3633
|
};
|
|
3634
|
+
ToolPanelVisibilityMode: {
|
|
3635
|
+
name: string;
|
|
3636
|
+
kind: string;
|
|
3637
|
+
description: string;
|
|
3638
|
+
};
|
|
3458
3639
|
UserInterfaceApi: {
|
|
3459
3640
|
name: string;
|
|
3460
3641
|
kind: string;
|