@adaptabletools/adaptable 13.0.0-canary.17 → 13.0.0-canary.19
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 +99 -0
- package/base.css.map +1 -1
- package/bundle.cjs.js +128 -128
- package/index.css +115 -0
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +2 -2
- package/src/Api/ExportApi.d.ts +6 -6
- package/src/Api/FormatColumnApi.d.ts +47 -29
- package/src/Api/Implementation/ExportApiImpl.d.ts +4 -4
- package/src/Api/Implementation/ExportApiImpl.js +14 -14
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +23 -11
- package/src/Api/Implementation/FormatColumnApiImpl.js +48 -63
- package/src/PredefinedConfig/FormatColumnState.d.ts +4 -3
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +0 -18
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +0 -18
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/PluginsRedux.js +5 -5
- package/src/Strategy/FormatColumnModule.js +2 -12
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -1
- package/src/Utilities/ObjectFactory.d.ts +2 -2
- package/src/Utilities/ObjectFactory.js +4 -4
- package/src/Utilities/Services/ReportService.js +6 -6
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +9 -9
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -5
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -1
- package/src/View/Components/AdaptableObjectRow/index.js +1 -6
- package/src/View/Components/Buttons/ButtonInfo.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonInfo.js +3 -5
- package/src/View/Components/EntityRulesEditor/index.js +8 -17
- package/src/View/Components/FilterForm/FilterForm.js +11 -16
- package/src/View/Components/FilterForm/QuickFilterForm.js +7 -13
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Panels/PanelWithButton.js +1 -5
- package/src/View/Components/Panels/PanelWithImage.js +1 -5
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +3 -16
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +5 -5
- package/src/View/Components/ScopeComponent.js +4 -4
- package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
- package/src/View/Components/StyleComponent.js +12 -17
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
- package/src/View/DataSet/DataSetSelector.js +1 -1
- package/src/View/Export/ExportViewPanel.js +4 -4
- package/src/View/Export/ReportExportDropdown.js +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.js +10 -11
- package/src/View/FlashingCell/FlashingCellStyle.js +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +6 -6
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +4 -4
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +26 -26
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +2 -6
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
- package/src/View/Layout/LayoutRadioSelector.js +1 -1
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +5 -5
- package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +3 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +3 -3
- package/src/View/SmartEdit/SmartEditPopup.js +3 -3
- package/src/View/SpecialColumnSettingsWizardStep.js +10 -10
- package/src/View/StateManagement/StateManagementPopup.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.js +2 -6
- package/src/View/SystemStatus/SystemStatusEntityRow.js +4 -6
- package/src/View/TeamSharing/SharedEntityObjectView.js +1 -1
- package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
- package/src/View/Theme/ThemePopup.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -2
- package/src/agGrid/Adaptable.d.ts +0 -1
- package/src/agGrid/Adaptable.js +41 -65
- package/src/agGrid/PercentBarRenderer.js +3 -6
- package/src/agGrid/weightedAverage.js +19 -11
- package/src/components/CheckBox/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +13 -32
- package/src/components/ExpressionEditor/index.js +9 -17
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/StylePreview.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +16 -11
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -19,6 +19,7 @@ const DocumentationLinkConstants_1 = require("../../Utilities/Constants/Document
|
|
|
19
19
|
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
20
20
|
const icons_1 = require("../icons");
|
|
21
21
|
const AdaptableContext_1 = require("../../View/AdaptableContext");
|
|
22
|
+
const join_1 = tslib_1.__importDefault(require("../utils/join"));
|
|
22
23
|
const VarEditorButton = () => {
|
|
23
24
|
var _a, _b;
|
|
24
25
|
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
@@ -39,6 +40,7 @@ function BaseEditorInput(props) {
|
|
|
39
40
|
let evaluationError;
|
|
40
41
|
let expressionError;
|
|
41
42
|
let selectedFunctionName;
|
|
43
|
+
const baseClassName = 'ab-ExpressionEditorInput';
|
|
42
44
|
const buildParserExceptionMessage = (e) => {
|
|
43
45
|
const parserExceptionSummary = 'Invalid expression is not parsable';
|
|
44
46
|
if (!e.message) {
|
|
@@ -101,55 +103,34 @@ function BaseEditorInput(props) {
|
|
|
101
103
|
props.onSelectedFunctionChange(selectedFunctionName ? expressionFunctions[selectedFunctionName] : null);
|
|
102
104
|
}
|
|
103
105
|
}, [selectedFunctionName]);
|
|
104
|
-
const functionsDropdown = (React.createElement(OverlayTrigger_1.default, { render: () => (React.createElement(rebass_1.Flex, { "data-name": "expression-dropdown-list", flexDirection: "column", p: 2,
|
|
105
|
-
fontSize: 'var(--ab-font-size-2)',
|
|
106
|
-
border: '1px solid var(--ab-color-primarydark)',
|
|
107
|
-
borderRadius: 'var(--ab__border-radius)',
|
|
108
|
-
background: 'var(--ab-color-primarylight)',
|
|
109
|
-
zIndex: 1000,
|
|
110
|
-
maxHeight: 300,
|
|
111
|
-
overflow: 'auto',
|
|
112
|
-
} }, Object.keys(expressionFunctions)
|
|
106
|
+
const functionsDropdown = (React.createElement(OverlayTrigger_1.default, { render: () => (React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list`, "data-name": "expression-dropdown-fuctions-list", flexDirection: "column", p: 2 }, Object.keys(expressionFunctions)
|
|
113
107
|
.filter((functionName) => !expressionFunctions[functionName].isHiddenFromMenu)
|
|
114
108
|
.map((functionName) => functionName === 'VAR' ? (React.createElement(VarEditorButton, { key: functionName })) : (React.createElement(EditorButton_1.default, { data: `${functionName}()`, key: functionName, mr: 1 }, functionName))))), showEvent: "focus", hideEvent: "blur" },
|
|
115
109
|
React.createElement(SimpleButton_1.default, { "data-name": "expression-dropdown", icon: "arrow-down", iconPosition: 'end', mr: 1 },
|
|
116
|
-
React.createElement(rebass_1.Flex, { marginRight: 1,
|
|
117
|
-
React.createElement(icons_1.Icon, { name:
|
|
110
|
+
React.createElement(rebass_1.Flex, { marginRight: 1, fontSize: 2 },
|
|
111
|
+
React.createElement(icons_1.Icon, { name: "equation" })))));
|
|
118
112
|
const operatorButtons = props.editorButtons
|
|
119
113
|
.filter((editorButtonDef) => !!expressionFunctions[editorButtonDef.functionName])
|
|
120
114
|
.map((editorButtonDef) => (React.createElement(EditorButton_1.default, { key: `${editorButtonDef.functionName}-operator`, data: editorButtonDef.data, icon: editorButtonDef.icon }, !editorButtonDef.icon && (editorButtonDef.text || editorButtonDef.functionName))));
|
|
121
115
|
const showDocumentationLink = props.api.internalApi.isDocumentationLinksDisplayed();
|
|
122
116
|
return (React.createElement(React.Fragment, null,
|
|
123
|
-
React.createElement(rebass_1.Flex, { "data-name": "expression-toolbar", py: 2, mb: 2, flexWrap: "wrap",
|
|
124
|
-
background: 'var(--ab-color-primarylight)',
|
|
125
|
-
borderRadius: 'var(--ab__border-radius)',
|
|
126
|
-
'--ab-overlay-horizontal-align': 'left',
|
|
127
|
-
width: '100%',
|
|
128
|
-
marginTop: 5,
|
|
129
|
-
} },
|
|
117
|
+
React.createElement(rebass_1.Flex, { className: baseClassName, "data-name": "expression-toolbar", py: 2, mb: 2, mt: 2, flexWrap: "wrap" },
|
|
130
118
|
React.createElement(rebass_1.Flex, { style: { flex: 1, marginLeft: 5 }, flexWrap: "wrap" },
|
|
131
119
|
functionsDropdown,
|
|
132
120
|
operatorButtons),
|
|
133
121
|
showDocumentationLink && (React.createElement(rebass_1.Flex, { alignItems: "flex-start" },
|
|
134
|
-
React.createElement(ButtonInfo_1.ButtonInfo, {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
background: 'var(--ab-color-action-add)',
|
|
138
|
-
marginRight: 5,
|
|
139
|
-
}, tooltip: 'Learn how to use the Expression Editor', onClick: () => window.open(DocumentationLinkConstants_1.ExpressionEditorDocsLink, '_blank') })))),
|
|
140
|
-
React.createElement(Textarea_1.default, { "data-name": `expression-input-${type}`, ref: textAreaRefCallback, value: props.value || '', placeholder: props.placeholder || 'Create Query', disabled: props.disabled || false, className: "ab-ExpressionEditor__textarea", autoFocus: true, spellCheck: "false", onChange: (event) => {
|
|
122
|
+
React.createElement(ButtonInfo_1.ButtonInfo, { mr: 2, tooltip: 'Learn how to use the Expression Editor', onClick: () => window.open(DocumentationLinkConstants_1.ExpressionEditorDocsLink, '_blank') })))),
|
|
123
|
+
React.createElement(Textarea_1.default, { "data-name": `expression-input-${type}`, ref: textAreaRefCallback, value: props.value || '', placeholder: props.placeholder || 'Create Query', disabled: props.disabled || false, className: (0, join_1.default)('ab-ExpressionEditor__textarea', // left for backwards compatibility
|
|
124
|
+
`${baseClassName}__textarea`), autoFocus: true, spellCheck: "false", onChange: (event) => {
|
|
141
125
|
props.onChange(event.target.value);
|
|
142
|
-
}, style:
|
|
143
|
-
props.isFullExpression !== true && (React.createElement(HelpBlock_1.default, { mt: 2, mb: 2, p: 2,
|
|
126
|
+
}, style: style }),
|
|
127
|
+
props.isFullExpression !== true && (React.createElement(HelpBlock_1.default, { mt: 2, mb: 2, p: 2, fontSize: 3 },
|
|
144
128
|
"This Query must resolve to a ",
|
|
145
129
|
React.createElement("b", null, "boolean "),
|
|
146
130
|
"(i.e. true / false) value")),
|
|
147
|
-
expressionError && (React.createElement(ErrorBox_1.default, { style: { whiteSpace: 'pre-wrap' }, mt: 2 }, expressionError)),
|
|
131
|
+
expressionError && (React.createElement(ErrorBox_1.default, { width: "100%", style: { whiteSpace: 'pre-wrap' }, mt: 2 }, expressionError)),
|
|
148
132
|
evaluationError && (React.createElement(ErrorBox_1.default, { style: { whiteSpace: 'pre-wrap' }, mt: 2 }, `${evaluationError.expressionFnName} ${evaluationError.message}`)),
|
|
149
|
-
!props.hideResultPreview && result !== undefined && (React.createElement(rebass_1.Box, { "data-name": "expression-editor-feedback", mt: 2, p: 2,
|
|
150
|
-
background: 'var(--ab-color-primarylight)',
|
|
151
|
-
borderRadius: 'var(--ab__border-radius)',
|
|
152
|
-
} },
|
|
133
|
+
!props.hideResultPreview && result !== undefined && (React.createElement(rebass_1.Box, { className: `${baseClassName}__editor-feedback`, "data-name": "expression-editor-feedback", mt: 2, p: 2 },
|
|
153
134
|
React.createElement("pre", { style: { whiteSpace: 'pre-wrap', margin: 0 } },
|
|
154
135
|
"Result (using Test Data): ",
|
|
155
136
|
React.createElement("b", null, JSON.stringify(result)))))));
|
|
@@ -31,6 +31,7 @@ function ExpressionEditor(props) {
|
|
|
31
31
|
const [data, setData] = (0, react_1.useState)(props.initialData);
|
|
32
32
|
const [showColumnIds, setShowColumnIds] = (0, react_1.useState)(false);
|
|
33
33
|
const [showNamedQueries, setShowNamedQueries] = (0, react_1.useState)(false);
|
|
34
|
+
const baseClassName = `ab-ExpressionEditor`;
|
|
34
35
|
const [selectedFunction, setSelectedFunction] = (0, react_1.useState)(null);
|
|
35
36
|
const [expressionText, setExpressionText] = (0, react_1.useState)('');
|
|
36
37
|
const { namedQuery, setNamedQuery } = (0, NamedQueryContext_1.useNamedQueryContext)();
|
|
@@ -102,7 +103,7 @@ function ExpressionEditor(props) {
|
|
|
102
103
|
};
|
|
103
104
|
const [searchInputValue, setSearchInputValue] = React.useState('');
|
|
104
105
|
const dataTableEditor = (React.createElement(React.Fragment, null,
|
|
105
|
-
React.createElement(rebass_1.Flex, { flexDirection: "column", alignItems: "start", style: { marginTop: 2 } },
|
|
106
|
+
React.createElement(rebass_1.Flex, { className: `${baseClassName}__columns-list`, flexDirection: "column", alignItems: "start", style: { marginTop: 2 } },
|
|
106
107
|
React.createElement(CheckBox_1.CheckBox, { checked: showColumnIds, onChange: (checked) => setShowColumnIds(checked), style: {
|
|
107
108
|
float: 'right',
|
|
108
109
|
margin: 0,
|
|
@@ -157,28 +158,24 @@ function ExpressionEditor(props) {
|
|
|
157
158
|
setSelectedFunction,
|
|
158
159
|
textAreaRef,
|
|
159
160
|
} },
|
|
160
|
-
React.createElement(
|
|
161
|
+
React.createElement(rebass_1.Flex, { className: baseClassName, flex: 1, "data-name": "expression-editor-wrapper", pl: 2, style: props.style },
|
|
161
162
|
React.createElement(rebass_1.Flex, { flex: 1, style: { minHeight: 0 }, flexDirection: "column", onFocus: (event) => {
|
|
162
163
|
if (event.target.tagName === 'TEXTAREA') {
|
|
163
164
|
textAreaRef.current = event.target;
|
|
164
165
|
}
|
|
165
166
|
} },
|
|
166
|
-
React.createElement(rebass_1.Flex, { flex: 1, flexDirection: "row", "data-name": "expression-editor",
|
|
167
|
+
React.createElement(rebass_1.Flex, { flex: 1, flexDirection: "row", "data-name": "expression-editor", fontSize: 2, style: { minHeight: 0 } },
|
|
167
168
|
React.createElement(rebass_1.Flex, { flex: 1, paddingRight: 2, style: { overflow: 'auto' }, "data-name": "expression-builder", flexDirection: "column" },
|
|
168
169
|
editorInput,
|
|
169
170
|
StringExtensions_1.default.IsNotNullOrEmpty(expressionText === null || expressionText === void 0 ? void 0 : expressionText.trim()) && (React.createElement(ExpressionFunctionDocumentation_1.ExpressionFunctionDocumentation, { expressionFunction: selectedFunction })),
|
|
170
171
|
/* displayed for advanced queries (observable&Aggregation) to give the users a starting point */
|
|
171
172
|
StringExtensions_1.default.IsNullOrEmpty(expressionText === null || expressionText === void 0 ? void 0 : expressionText.trim()) && renderQueryHints(type),
|
|
172
|
-
showDocumentationLinks && (React.createElement(HelpBlock_1.default, { "data-name": "query-documentation", mt: 2, mb: 2,
|
|
173
|
-
React.createElement(ButtonInfo_1.ButtonInfo, { mr: 2,
|
|
174
|
-
color: 'var(--ab-color-text-on-add)',
|
|
175
|
-
fill: 'var(--ab-color-text-on-add)',
|
|
176
|
-
background: 'var(--ab-color-action-add)',
|
|
177
|
-
}, onClick: () => window.open(queryDocumentationLink, '_blank') }),
|
|
173
|
+
showDocumentationLinks && (React.createElement(HelpBlock_1.default, { "data-name": "query-documentation", mt: 2, mb: 2, fontSize: 3 },
|
|
174
|
+
React.createElement(ButtonInfo_1.ButtonInfo, { mr: 2, onClick: () => window.open(queryDocumentationLink, '_blank') }),
|
|
178
175
|
"See ",
|
|
179
176
|
StringExtensions_1.default.CapitaliseFirstLetter(type),
|
|
180
177
|
" Query documentation for more details and examples")),
|
|
181
|
-
React.createElement(
|
|
178
|
+
React.createElement(rebass_1.Box, { flex: 1 }),
|
|
182
179
|
allowSaveNamedQuery &&
|
|
183
180
|
props.api.internalApi
|
|
184
181
|
.getModuleService()
|
|
@@ -202,13 +199,8 @@ function ExpressionEditor(props) {
|
|
|
202
199
|
BooleanExpression: expressionText,
|
|
203
200
|
});
|
|
204
201
|
} })) : null))),
|
|
205
|
-
React.createElement(rebass_1.Box, { "data-name": "expression-column-picker", pb: 2, paddingLeft: 2,
|
|
206
|
-
|
|
207
|
-
minWidth: 220,
|
|
208
|
-
height: '100%',
|
|
209
|
-
paddingRight: 'var(--ab-space-2)',
|
|
210
|
-
} },
|
|
211
|
-
ArrayExtensions_1.default.IsNotNullOrEmpty(props.namedQueries) && (React.createElement(rebass_1.Flex, { flexDirection: "row", alignItems: "start", style: { padding: 3, marginTop: 5 }, backgroundColor: "primarylight" },
|
|
202
|
+
React.createElement(rebass_1.Box, { className: `${baseClassName}__column-picker`, "data-name": "expression-column-picker", pb: 2, paddingLeft: 2, pr: 2 },
|
|
203
|
+
ArrayExtensions_1.default.IsNotNullOrEmpty(props.namedQueries) && (React.createElement(rebass_1.Flex, { flexDirection: "row", alignItems: "start", p: 1, mt: 2, backgroundColor: "primarylight" },
|
|
212
204
|
React.createElement(Radio_1.default, { checked: !showNamedQueries, onChange: (checked) => setShowNamedQueries(!checked), style: { marginRight: 10 } }, "Columns"),
|
|
213
205
|
React.createElement(Radio_1.default, { checked: showNamedQueries, onChange: (checked) => setShowNamedQueries(checked), style: { marginLeft: 10, whiteSpace: 'nowrap' } }, "Named Queries"))),
|
|
214
206
|
showNamedQueries ? React.createElement("div", null, namedQueries) : React.createElement("div", null, dataTableEditor)))))));
|
|
@@ -73,7 +73,7 @@ const FormRow = (props) => {
|
|
|
73
73
|
}
|
|
74
74
|
if (props.as != null || column.component != null) {
|
|
75
75
|
const Cmp = column.component;
|
|
76
|
-
value = (React.createElement(Cmp, { style: Object.assign(Object.assign({}, column.style), { gridColumn: columnIndex + 1, gridRow: rowIndex + 1 }), className: column.className }, value));
|
|
76
|
+
value = (React.createElement(Cmp, { "data-name": props.dataName, style: Object.assign(Object.assign({}, column.style), { gridColumn: columnIndex + 1, gridRow: rowIndex + 1 }), className: column.className }, value));
|
|
77
77
|
}
|
|
78
78
|
return typeof value === 'string' ? value : React.cloneElement(value, { key: columnName });
|
|
79
79
|
});
|
|
@@ -5,8 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const rebass_1 = require("rebass");
|
|
7
7
|
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
|
|
8
|
+
const join_1 = tslib_1.__importDefault(require("./utils/join"));
|
|
8
9
|
const StylePreview = (props) => {
|
|
9
10
|
var _a, _b, _c;
|
|
10
|
-
return (React.createElement(rebass_1.Box, Object.assign({}, props, { padding: (_a = props.padding) !== null && _a !== void 0 ? _a : 2, mt: (_b = props.mt) !== null && _b !== void 0 ? _b : 2, style: Object.assign(Object.assign({}, (0, StyleHelper_1.toStyle)(props.styleObject)), props.style) }), (_c = props.children) !== null && _c !== void 0 ? _c : 'Preview result'));
|
|
11
|
+
return (React.createElement(rebass_1.Box, Object.assign({}, props, { className: (0, join_1.default)('ab-StylePreview', props.className), padding: (_a = props.padding) !== null && _a !== void 0 ? _a : 2, mt: (_b = props.mt) !== null && _b !== void 0 ? _b : 2, style: Object.assign(Object.assign({}, (0, StyleHelper_1.toStyle)(props.styleObject)), props.style) }), (_c = props.children) !== null && _c !== void 0 ? _c : 'Preview result'));
|
|
11
12
|
};
|
|
12
13
|
exports.StylePreview = StylePreview;
|
|
@@ -1931,17 +1931,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1931
1931
|
kind: string;
|
|
1932
1932
|
description: string;
|
|
1933
1933
|
};
|
|
1934
|
-
CustomReport: {
|
|
1935
|
-
name: string;
|
|
1936
|
-
kind: string;
|
|
1937
|
-
description: string;
|
|
1938
|
-
properties: {
|
|
1939
|
-
name: string;
|
|
1940
|
-
kind: string;
|
|
1941
|
-
description: string;
|
|
1942
|
-
uiLabel: string;
|
|
1943
|
-
}[];
|
|
1944
|
-
};
|
|
1945
1934
|
CustomSettingsPanel: {
|
|
1946
1935
|
name: string;
|
|
1947
1936
|
kind: string;
|
|
@@ -3050,6 +3039,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3050
3039
|
uiLabel: string;
|
|
3051
3040
|
}[];
|
|
3052
3041
|
};
|
|
3042
|
+
FormatColumnRule: {
|
|
3043
|
+
name: string;
|
|
3044
|
+
kind: string;
|
|
3045
|
+
description: string;
|
|
3046
|
+
};
|
|
3053
3047
|
FormatColumnState: {
|
|
3054
3048
|
name: string;
|
|
3055
3049
|
kind: string;
|
|
@@ -4511,6 +4505,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
4511
4505
|
reference: string;
|
|
4512
4506
|
}[];
|
|
4513
4507
|
};
|
|
4508
|
+
ServerReport: {
|
|
4509
|
+
name: string;
|
|
4510
|
+
kind: string;
|
|
4511
|
+
description: string;
|
|
4512
|
+
properties: {
|
|
4513
|
+
name: string;
|
|
4514
|
+
kind: string;
|
|
4515
|
+
description: string;
|
|
4516
|
+
uiLabel: string;
|
|
4517
|
+
}[];
|
|
4518
|
+
};
|
|
4514
4519
|
SettingsPanelApi: {
|
|
4515
4520
|
name: string;
|
|
4516
4521
|
kind: string;
|