@adaptabletools/adaptable 13.0.0-canary.12 → 13.0.0-canary.14
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 +1131 -732
- package/base.css.map +1 -0
- package/bundle.cjs.js +174 -157
- package/index.css +1132 -732
- package/index.css.map +1 -0
- package/package.json +5 -5
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +20 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +2 -1
- package/src/Api/AdaptableApi.d.ts +2 -0
- package/src/Api/FormatColumnApi.d.ts +2 -23
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -6
- package/src/Api/Implementation/FormatColumnApiImpl.js +13 -111
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +19 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +134 -0
- package/src/Api/StyledColumnApi.d.ts +68 -0
- package/src/Api/StyledColumnApi.js +2 -0
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +3 -3
- package/src/PredefinedConfig/Common/Types.js +1 -0
- package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
- package/src/PredefinedConfig/StyledColumnState.d.ts +113 -0
- package/src/PredefinedConfig/StyledColumnState.js +2 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +49 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +92 -0
- package/src/Redux/Store/AdaptableStore.js +7 -0
- package/src/Strategy/StyledColumnModule.d.ts +24 -0
- package/src/Strategy/StyledColumnModule.js +165 -0
- package/src/Strategy/Utilities/getScopeViewItems.js +1 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
- package/src/Utilities/Constants/ModuleConstants.js +4 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -4
- package/src/Utilities/ObjectFactory.d.ts +3 -0
- package/src/Utilities/ObjectFactory.js +11 -3
- package/src/Utilities/Services/ModuleService.js +3 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/Components/RangesComponent.d.ts +1 -0
- package/src/View/Components/RangesComponent.js +12 -12
- package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/StyleComponent.js +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -11
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +21 -9
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +6 -315
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +77 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +65 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.js +238 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +59 -0
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/agGrid/Adaptable.d.ts +2 -1
- package/src/agGrid/Adaptable.js +49 -35
- package/src/agGrid/FilterWrapper.js +58 -19
- package/src/agGrid/FloatingFilterWrapper.js +10 -12
- package/src/agGrid/PercentBarRenderer.d.ts +6 -2
- package/src/agGrid/PercentBarRenderer.js +10 -18
- package/src/agGrid/agGridHelper.d.ts +6 -2
- package/src/agGrid/agGridHelper.js +4 -2
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
- package/src/agGrid/createAgStatusPanelComponent.js +17 -0
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/icons/brush.d.ts +3 -0
- package/src/components/icons/brush.js +7 -0
- package/src/components/icons/index.js +2 -0
- package/src/metamodel/adaptable.metamodel.d.ts +56 -20
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +3 -1
- package/themes/dark.css +8 -4
- package/themes/dark.css.map +1 -0
- package/themes/light.css +4 -1
- package/themes/light.css.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableComponents.d.ts +0 -1
- package/src/AdaptableComponents.js +0 -5
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FloatingFilterWrapperFactory = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const QuickFilterForm_1 = require("../View/Components/FilterForm/QuickFilterForm");
|
|
6
|
-
const react_1 = require("react");
|
|
7
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_1 = require("react");
|
|
7
|
+
const QuickFilterForm_1 = require("../View/Components/FilterForm/QuickFilterForm");
|
|
8
8
|
const filterContainerStyle = {
|
|
9
9
|
overflow: 'hidden',
|
|
10
10
|
minWidth: '0',
|
|
@@ -27,34 +27,32 @@ const FloatingFilterWrapperFactory = (adaptable) => {
|
|
|
27
27
|
return filterContext;
|
|
28
28
|
}
|
|
29
29
|
function patchParentElement(filterContainer) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
if (filterContainer) {
|
|
31
|
+
// todo: consider theme
|
|
32
|
+
filterContainer.parentElement.style.overflow = 'visible';
|
|
33
|
+
filterContainer.parentElement.parentElement.style.padding = 'var(--ab-space-1)';
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
36
|
if (adaptable.variant === 'react') {
|
|
35
|
-
return (0, react_1.forwardRef)((props, ref)
|
|
37
|
+
return (0, react_1.forwardRef)(function ReactFloatingFilterWrapper(props, ref) {
|
|
36
38
|
const colId = props.column.getId();
|
|
37
39
|
const column = adaptable.api.columnApi.getColumnFromId(colId);
|
|
38
|
-
const domRef = (0, react_1.useRef)(null);
|
|
39
40
|
(0, react_1.useImperativeHandle)(ref, () => {
|
|
40
41
|
return {
|
|
41
42
|
onParentModelChanged() { },
|
|
42
43
|
};
|
|
43
44
|
});
|
|
44
|
-
(0, react_1.useEffect)(() => {
|
|
45
|
-
patchParentElement(domRef.current);
|
|
46
|
-
}, []);
|
|
47
45
|
if (!column) {
|
|
48
46
|
return null;
|
|
49
47
|
}
|
|
50
|
-
return (React.createElement("div", { ref:
|
|
48
|
+
return (React.createElement("div", { ref: patchParentElement, id: getContainerId(colId), style: filterContainerStyle }, (0, QuickFilterForm_1.QuickFilterFormReact)(getFilterContext(colId))));
|
|
51
49
|
});
|
|
52
50
|
}
|
|
53
51
|
return class FloatingFilterWrapper {
|
|
54
52
|
onParentModelChanged(parentModel, filterChangedEvent) {
|
|
55
53
|
// todo?
|
|
56
54
|
}
|
|
57
|
-
afterGuiAttached(
|
|
55
|
+
afterGuiAttached() {
|
|
58
56
|
patchParentElement(this.filterContainer);
|
|
59
57
|
}
|
|
60
58
|
init(params) {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GradientStyle, PercentBarStyle } from '../PredefinedConfig/FormatColumnState';
|
|
2
2
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
3
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
|
-
export declare const getPercentBarRendererForColumn: (
|
|
4
|
+
export declare const getPercentBarRendererForColumn: (columnStyle: {
|
|
5
|
+
GradientStyle?: GradientStyle;
|
|
6
|
+
PercentBarStyle?: PercentBarStyle;
|
|
7
|
+
CheckBoxStyle?: boolean;
|
|
8
|
+
}, abColumn: AdaptableColumn, api: AdaptableApi) => any;
|
|
@@ -4,19 +4,14 @@ exports.getPercentBarRendererForColumn = void 0;
|
|
|
4
4
|
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
|
-
const
|
|
8
|
-
|
|
9
|
-
var _a;
|
|
10
|
-
if (!((_a = formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.ColumnStyle) === null || _a === void 0 ? void 0 : _a.PercentBarStyle)) {
|
|
7
|
+
const getPercentBarRendererForColumn = (columnStyle, abColumn, api) => {
|
|
8
|
+
if (!columnStyle.PercentBarStyle) {
|
|
11
9
|
return;
|
|
12
10
|
}
|
|
13
11
|
return class PercentBarRenderer {
|
|
14
12
|
init(params) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
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);
|
|
13
|
+
const min = api.styledColumnApi.getNumericStyleMinValue(columnStyle, abColumn, params.node, params.value);
|
|
14
|
+
const max = api.styledColumnApi.getNumericStyleMaxValue(columnStyle, abColumn, params.node, params.value);
|
|
20
15
|
let value = params.value;
|
|
21
16
|
if (Helper_1.default.objectNotExists(value)) {
|
|
22
17
|
value = 0;
|
|
@@ -24,12 +19,16 @@ const getPercentBarRendererForColumn = (formatColumn, abColumn, api) => {
|
|
|
24
19
|
const clampedValue = (0, clamp_1.default)(value, min, max);
|
|
25
20
|
const percentageValue = ((clampedValue - min) / (max - min)) * 100;
|
|
26
21
|
let cellBackColor;
|
|
27
|
-
const percentBarStyle =
|
|
22
|
+
const percentBarStyle = columnStyle.PercentBarStyle;
|
|
28
23
|
if (percentBarStyle.ColumnComparison) {
|
|
29
24
|
cellBackColor = percentBarStyle.ColumnComparison.Color;
|
|
30
25
|
}
|
|
31
26
|
else {
|
|
32
|
-
const matchingRange = percentBarStyle.CellRanges.find((r) =>
|
|
27
|
+
const matchingRange = percentBarStyle.CellRanges.find((r) => {
|
|
28
|
+
const rMin = r.Min === 'Col-Min' ? min : r.Min;
|
|
29
|
+
const rMax = r.Max === 'Col-Max' ? max : r.Max;
|
|
30
|
+
return rMin <= clampedValue && rMax >= clampedValue;
|
|
31
|
+
});
|
|
33
32
|
if (matchingRange) {
|
|
34
33
|
cellBackColor = matchingRange.Color;
|
|
35
34
|
}
|
|
@@ -57,13 +56,6 @@ const getPercentBarRendererForColumn = (formatColumn, abColumn, api) => {
|
|
|
57
56
|
textEl.className = 'ab-PercentBar__text';
|
|
58
57
|
textEl.style.lineHeight = '1.2';
|
|
59
58
|
if (percentBarStyle.CellText.includes('CellValue')) {
|
|
60
|
-
if (formatColumn.DisplayFormat) {
|
|
61
|
-
const options = formatColumn.DisplayFormat
|
|
62
|
-
.Options;
|
|
63
|
-
if (options) {
|
|
64
|
-
value = FormatHelper_1.default.NumberFormatter(params.value, options);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
59
|
textEl.innerText = value;
|
|
68
60
|
}
|
|
69
61
|
if (percentBarStyle.CellText.includes('PercentageValue')) {
|
|
@@ -5,7 +5,7 @@ import { AdaptableNodeComparerFunction } from '../PredefinedConfig/Common/Adapta
|
|
|
5
5
|
import { AdaptableColumnType, AdaptableModule } from '../PredefinedConfig/Common/Types';
|
|
6
6
|
import { IModule } from '../Strategy/Interface/IModule';
|
|
7
7
|
import { IPPStyle } from '../Utilities/Interface/IPPStyle';
|
|
8
|
-
import {
|
|
8
|
+
import { GradientStyle, PercentBarStyle } from '../PredefinedConfig/FormatColumnState';
|
|
9
9
|
/**
|
|
10
10
|
* Adaptable AG Grid implementation is getting really big and unwieldy
|
|
11
11
|
* So lets put some of the more obvious 'Helper' functions here
|
|
@@ -22,7 +22,11 @@ export declare class agGridHelper {
|
|
|
22
22
|
setUpModules(): Map<AdaptableModule, IModule>;
|
|
23
23
|
TrySetUpNodeIds(hasAutogeneratedPrimaryKey: boolean): boolean;
|
|
24
24
|
createCheckboxRendererComp(columnId: string, isColumnReadOnly: boolean): ICellRendererFunc | undefined;
|
|
25
|
-
createPercentBarRendererComp(
|
|
25
|
+
createPercentBarRendererComp(columnStyle: {
|
|
26
|
+
GradientStyle?: GradientStyle;
|
|
27
|
+
PercentBarStyle?: PercentBarStyle;
|
|
28
|
+
CheckBoxStyle?: boolean;
|
|
29
|
+
}, abColumn: AdaptableColumn): ICellRendererFunc;
|
|
26
30
|
getCleanValue(value: string): string | undefined;
|
|
27
31
|
getRenderedValue(colDef: ColDef, valueToRender: any): any;
|
|
28
32
|
createAdaptableColumnFromAgGridColumn(agGridColumn: Column, colsToGroups: Record<string, AdaptableColumnGroup>): AdaptableColumn;
|
|
@@ -43,6 +43,7 @@ const StatusBarModule_1 = require("../Strategy/StatusBarModule");
|
|
|
43
43
|
const GeneralConstants = tslib_1.__importStar(require("../Utilities/Constants/GeneralConstants"));
|
|
44
44
|
const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
|
|
45
45
|
const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
|
|
46
|
+
const StyledColumnModule_1 = require("../Strategy/StyledColumnModule");
|
|
46
47
|
const tinycolor = require('tinycolor2');
|
|
47
48
|
/**
|
|
48
49
|
* Adaptable AG Grid implementation is getting really big and unwieldy
|
|
@@ -104,6 +105,7 @@ class agGridHelper {
|
|
|
104
105
|
modules.set(ModuleConstants.SettingsPanelModuleId, new SettingsPanelModule_1.SettingsPanelModule(api));
|
|
105
106
|
modules.set(ModuleConstants.StatusBarModuleId, new StatusBarModule_1.StatusBarModule(api));
|
|
106
107
|
modules.set(ModuleConstants.ChartingModuleId, new ChartingModule_1.ChartingModule(api));
|
|
108
|
+
modules.set(ModuleConstants.StyledColumnModuleId, new StyledColumnModule_1.StyledColumnModule(api));
|
|
107
109
|
return modules;
|
|
108
110
|
}
|
|
109
111
|
TrySetUpNodeIds(hasAutogeneratedPrimaryKey) {
|
|
@@ -150,8 +152,8 @@ class agGridHelper {
|
|
|
150
152
|
createCheckboxRendererComp(columnId, isColumnReadOnly) {
|
|
151
153
|
return (0, CheckboxRenderer_1.getCheckboxRendererForColumn)(columnId, isColumnReadOnly, this.adaptable.api);
|
|
152
154
|
}
|
|
153
|
-
createPercentBarRendererComp(
|
|
154
|
-
return (0, PercentBarRenderer_1.getPercentBarRendererForColumn)(
|
|
155
|
+
createPercentBarRendererComp(columnStyle, abColumn) {
|
|
156
|
+
return (0, PercentBarRenderer_1.getPercentBarRendererForColumn)(columnStyle, abColumn, this.adaptable.api);
|
|
155
157
|
}
|
|
156
158
|
getCleanValue(value) {
|
|
157
159
|
if (value == null || value == 'null' || value == undefined || value == 'undefined') {
|
|
@@ -9,7 +9,7 @@ export interface StatusPanelProps {
|
|
|
9
9
|
Key: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export declare const createAgStatusPanelComponent: (component: React.FunctionComponent<StatusPanelProps>, adaptable: IAdaptable, context: StatusPanelProps['context']) => {
|
|
12
|
+
export declare const createAgStatusPanelComponent: (component: React.FunctionComponent<StatusPanelProps>, adaptable: IAdaptable, context: StatusPanelProps['context']) => ((props: IStatusPanelParams) => JSX.Element) | {
|
|
13
13
|
new (): {
|
|
14
14
|
params: IStatusPanelParams;
|
|
15
15
|
eGui: HTMLElement;
|
|
@@ -5,6 +5,23 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const renderWithAdaptableContext_1 = require("../View/renderWithAdaptableContext");
|
|
7
7
|
const createAgStatusPanelComponent = (component, adaptable, context) => {
|
|
8
|
+
if (adaptable.variant === 'react') {
|
|
9
|
+
return (props) => {
|
|
10
|
+
const children = (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(component, {
|
|
11
|
+
params: props,
|
|
12
|
+
adaptableApi: adaptable.api,
|
|
13
|
+
context,
|
|
14
|
+
}), adaptable);
|
|
15
|
+
return (React.createElement("div", { className: "ab-StatusBar", ref: (node) => {
|
|
16
|
+
if (node) {
|
|
17
|
+
// in React rendering, ag-grid renders an additional extra div
|
|
18
|
+
// around the status panel container, with className of 'ag-react-container'
|
|
19
|
+
// which needs to be stretched in order to fill the status panel
|
|
20
|
+
node.parentElement.style.display = 'flex';
|
|
21
|
+
}
|
|
22
|
+
} }, children));
|
|
23
|
+
};
|
|
24
|
+
}
|
|
8
25
|
return class StatusBarRenderer {
|
|
9
26
|
init(params) {
|
|
10
27
|
this.params = params;
|
|
@@ -15,4 +15,4 @@ export declare type DatepickerProps = Omit<BoxProps, 'value' | 'onChange' | 'def
|
|
|
15
15
|
showWeekNumber?: boolean;
|
|
16
16
|
showOutsideDays?: boolean;
|
|
17
17
|
};
|
|
18
|
-
export declare const Datepicker: React.ForwardRefExoticComponent<Pick<DatepickerProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "color" | "content" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "verticalAlign" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bg" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "variant" | "tx" | "sx" | "
|
|
18
|
+
export declare const Datepicker: React.ForwardRefExoticComponent<Pick<DatepickerProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "color" | "content" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "verticalAlign" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bg" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "variant" | "tx" | "sx" | "showOutsideDays" | "showWeekNumber" | "onHide" | "showClearButton" | "datepickerButtons" | "dateProps"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M6 21q-1.125 0-2.225-.55T2 19q.65 0 1.325-.512Q4 17.975 4 17q0-1.25.875-2.125T7 14q1.25 0 2.125.875T10 17q0 1.65-1.175 2.825Q7.65 21 6 21Zm0-2q.825 0 1.412-.587Q8 17.825 8 17q0-.425-.287-.712Q7.425 16 7 16t-.713.288Q6 16.575 6 17q0 .575-.137 1.05-.138.475-.363.9.125.05.25.05H6Zm5.75-4L9 12.25l8.95-8.95q.275-.275.688-.288.412-.012.712.288l1.35 1.35q.3.3.3.7 0 .4-.3.7ZM7 17Z" })));
|
|
@@ -132,6 +132,7 @@ const track_changes_1 = tslib_1.__importDefault(require("./track-changes"));
|
|
|
132
132
|
const menu_1 = tslib_1.__importDefault(require("./menu"));
|
|
133
133
|
const statusbar_1 = tslib_1.__importDefault(require("./statusbar"));
|
|
134
134
|
const add_row_1 = tslib_1.__importDefault(require("./add-row"));
|
|
135
|
+
const brush_1 = tslib_1.__importDefault(require("./brush"));
|
|
135
136
|
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
136
137
|
const quote_1 = tslib_1.__importDefault(require("./quote"));
|
|
137
138
|
const news_1 = tslib_1.__importDefault(require("./news"));
|
|
@@ -154,6 +155,7 @@ const allIcons = {
|
|
|
154
155
|
call: call_1.default,
|
|
155
156
|
instrument: instrument_1.default,
|
|
156
157
|
news: news_1.default,
|
|
158
|
+
brush: brush_1.default,
|
|
157
159
|
'data-set': data_set_1.default,
|
|
158
160
|
export: export_1.default,
|
|
159
161
|
campaign: campaign_1.default,
|
|
@@ -1598,26 +1598,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1598
1598
|
uiLabel: string;
|
|
1599
1599
|
}[];
|
|
1600
1600
|
};
|
|
1601
|
-
ColumnStyle: {
|
|
1602
|
-
name: string;
|
|
1603
|
-
kind: string;
|
|
1604
|
-
description: string;
|
|
1605
|
-
properties: ({
|
|
1606
|
-
name: string;
|
|
1607
|
-
kind: string;
|
|
1608
|
-
description: string;
|
|
1609
|
-
uiLabel: string;
|
|
1610
|
-
isOptional: boolean;
|
|
1611
|
-
reference?: undefined;
|
|
1612
|
-
} | {
|
|
1613
|
-
name: string;
|
|
1614
|
-
kind: string;
|
|
1615
|
-
description: string;
|
|
1616
|
-
uiLabel: string;
|
|
1617
|
-
isOptional: boolean;
|
|
1618
|
-
reference: string;
|
|
1619
|
-
})[];
|
|
1620
|
-
};
|
|
1621
1601
|
ColumnValuesComparer: {
|
|
1622
1602
|
name: string;
|
|
1623
1603
|
kind: string;
|
|
@@ -3788,6 +3768,19 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3788
3768
|
name: string;
|
|
3789
3769
|
kind: string;
|
|
3790
3770
|
description: string;
|
|
3771
|
+
properties: ({
|
|
3772
|
+
name: string;
|
|
3773
|
+
kind: string;
|
|
3774
|
+
description: string;
|
|
3775
|
+
uiLabel: string;
|
|
3776
|
+
reference?: undefined;
|
|
3777
|
+
} | {
|
|
3778
|
+
name: string;
|
|
3779
|
+
kind: string;
|
|
3780
|
+
description: string;
|
|
3781
|
+
uiLabel: string;
|
|
3782
|
+
reference: string;
|
|
3783
|
+
})[];
|
|
3791
3784
|
};
|
|
3792
3785
|
ModuleExpressionFunctionsMap: {
|
|
3793
3786
|
name: string;
|
|
@@ -4724,6 +4717,49 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
4724
4717
|
isOptional: boolean;
|
|
4725
4718
|
}[];
|
|
4726
4719
|
};
|
|
4720
|
+
StyledColumn: {
|
|
4721
|
+
name: string;
|
|
4722
|
+
kind: string;
|
|
4723
|
+
description: string;
|
|
4724
|
+
properties: ({
|
|
4725
|
+
name: string;
|
|
4726
|
+
kind: string;
|
|
4727
|
+
description: string;
|
|
4728
|
+
uiLabel: string;
|
|
4729
|
+
isOptional: boolean;
|
|
4730
|
+
reference?: undefined;
|
|
4731
|
+
} | {
|
|
4732
|
+
name: string;
|
|
4733
|
+
kind: string;
|
|
4734
|
+
description: string;
|
|
4735
|
+
uiLabel: string;
|
|
4736
|
+
isOptional: boolean;
|
|
4737
|
+
reference: string;
|
|
4738
|
+
})[];
|
|
4739
|
+
};
|
|
4740
|
+
StyledColumnApi: {
|
|
4741
|
+
name: string;
|
|
4742
|
+
kind: string;
|
|
4743
|
+
description: string;
|
|
4744
|
+
properties: {
|
|
4745
|
+
name: string;
|
|
4746
|
+
kind: string;
|
|
4747
|
+
description: string;
|
|
4748
|
+
uiLabel: string;
|
|
4749
|
+
}[];
|
|
4750
|
+
};
|
|
4751
|
+
StyledColumnState: {
|
|
4752
|
+
name: string;
|
|
4753
|
+
kind: string;
|
|
4754
|
+
description: string;
|
|
4755
|
+
properties: {
|
|
4756
|
+
name: string;
|
|
4757
|
+
kind: string;
|
|
4758
|
+
description: string;
|
|
4759
|
+
uiLabel: string;
|
|
4760
|
+
isOptional: boolean;
|
|
4761
|
+
}[];
|
|
4762
|
+
};
|
|
4727
4763
|
SuspendableObject: {
|
|
4728
4764
|
name: string;
|
|
4729
4765
|
kind: string;
|