@adaptabletools/adaptable 13.0.0-canary.11 → 13.0.0-canary.13

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.
Files changed (100) hide show
  1. package/bundle.cjs.js +169 -169
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
  6. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +20 -3
  7. package/src/AdaptableOptions/LayoutOptions.d.ts +2 -1
  8. package/src/Api/AdaptableApi.d.ts +2 -0
  9. package/src/Api/ColumnApi.d.ts +7 -1
  10. package/src/Api/FormatColumnApi.d.ts +2 -23
  11. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  12. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  13. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  14. package/src/Api/Implementation/ColumnApiImpl.js +8 -2
  15. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -6
  16. package/src/Api/Implementation/FormatColumnApiImpl.js +15 -115
  17. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +19 -0
  18. package/src/Api/Implementation/StyledColumnApiImpl.js +134 -0
  19. package/src/Api/StyledColumnApi.d.ts +68 -0
  20. package/src/Api/StyledColumnApi.js +2 -0
  21. package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
  22. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  23. package/src/PredefinedConfig/Common/Types.d.ts +3 -3
  24. package/src/PredefinedConfig/Common/Types.js +1 -0
  25. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
  26. package/src/PredefinedConfig/StyledColumnState.d.ts +113 -0
  27. package/src/PredefinedConfig/StyledColumnState.js +2 -0
  28. package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +49 -0
  29. package/src/Redux/ActionsReducers/StyledColumnRedux.js +92 -0
  30. package/src/Redux/Store/AdaptableStore.js +7 -0
  31. package/src/Strategy/StyledColumnModule.d.ts +24 -0
  32. package/src/Strategy/StyledColumnModule.js +165 -0
  33. package/src/Strategy/Utilities/getScopeViewItems.js +1 -1
  34. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
  35. package/src/Utilities/Constants/ModuleConstants.js +4 -1
  36. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
  37. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -4
  38. package/src/Utilities/ObjectFactory.d.ts +3 -0
  39. package/src/Utilities/ObjectFactory.js +11 -3
  40. package/src/Utilities/Services/ModuleService.js +3 -1
  41. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  42. package/src/View/Components/RangesComponent.d.ts +1 -0
  43. package/src/View/Components/RangesComponent.js +19 -19
  44. package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
  45. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  46. package/src/View/Components/StyleComponent.js +2 -2
  47. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -11
  48. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +21 -9
  49. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  50. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  51. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  52. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  53. package/src/View/Filter/FilterSummary.d.ts +1 -1
  54. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  55. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +3 -3
  56. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +6 -315
  57. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  58. package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
  59. package/src/View/Layout/Wizard/sections/ColumnsSection.js +2 -1
  60. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  61. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  62. package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +7 -0
  63. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +77 -0
  64. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +9 -0
  65. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +65 -0
  66. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.d.ts +9 -0
  67. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.js +238 -0
  68. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +7 -0
  69. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +59 -0
  70. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  71. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
  72. package/src/agGrid/Adaptable.d.ts +5 -2
  73. package/src/agGrid/Adaptable.js +73 -40
  74. package/src/agGrid/FilterWrapper.js +58 -15
  75. package/src/agGrid/FloatingFilterWrapper.d.ts +2 -2
  76. package/src/agGrid/FloatingFilterWrapper.js +71 -32
  77. package/src/agGrid/PercentBarRenderer.d.ts +6 -2
  78. package/src/agGrid/PercentBarRenderer.js +10 -18
  79. package/src/agGrid/agGridHelper.d.ts +6 -2
  80. package/src/agGrid/agGridHelper.js +4 -2
  81. package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
  82. package/src/agGrid/createAgStatusPanelComponent.js +17 -0
  83. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +4 -1
  84. package/src/agGrid/editors/AdaptableDateEditor/index.js +84 -17
  85. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
  86. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +2 -3
  87. package/src/agGrid/editors/AdaptableNumberEditor/index.js +78 -27
  88. package/src/components/Datepicker/index.d.ts +1 -1
  89. package/src/components/icons/brush.d.ts +3 -0
  90. package/src/components/icons/brush.js +7 -0
  91. package/src/components/icons/index.js +2 -0
  92. package/src/metamodel/adaptable.metamodel.d.ts +56 -20
  93. package/src/metamodel/adaptable.metamodel.js +1 -1
  94. package/src/renderReactRoot.d.ts +2 -0
  95. package/src/renderReactRoot.js +11 -9
  96. package/src/types.d.ts +3 -1
  97. package/version.d.ts +1 -1
  98. package/version.js +1 -1
  99. package/src/AdaptableComponents.d.ts +0 -1
  100. package/src/AdaptableComponents.js +0 -5
@@ -1,11 +1,82 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdaptableNumberEditor = void 0;
3
+ exports.AdaptableNumberEditor = exports.ReactAdaptableNumberEditor = void 0;
4
4
  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 InternalAdaptableNumberEditor_1 = require("./InternalAdaptableNumberEditor");
8
8
  const core_1 = require("@ag-grid-community/core");
9
+ const react_1 = require("react");
10
+ function shouldClearExistingValue(params) {
11
+ return params.eventKey === core_1.KeyCode.BACKSPACE || params.eventKey === core_1.KeyCode.DELETE;
12
+ }
13
+ function isValidChar(char) {
14
+ // allow only digits
15
+ return ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'].includes(char);
16
+ // we do NOT allow key shortcuts for starting non-digits (minus sign, decimal separators) as the input[number] handling is very buggy and we would open a can of worms
17
+ }
18
+ function getStartValue(params) {
19
+ if (shouldClearExistingValue(params)) {
20
+ return '';
21
+ }
22
+ if (params.charPress && isValidChar(params.charPress)) {
23
+ return params.charPress;
24
+ }
25
+ return params.value;
26
+ }
27
+ const defaultValueParser = ({ newValue, oldValue: _ }) => {
28
+ return newValue;
29
+ };
30
+ const style = {
31
+ position: 'absolute',
32
+ top: '0px',
33
+ left: '0px',
34
+ right: '0px',
35
+ bottom: '0px',
36
+ };
37
+ exports.ReactAdaptableNumberEditor = (0, react_1.forwardRef)((props, ref) => {
38
+ var _a, _b;
39
+ const [initialValue] = (0, react_1.useState)(() => getStartValue(props));
40
+ const valueRef = (0, react_1.useRef)(initialValue);
41
+ const columnId = props.column.getColId();
42
+ const adaptable = props.api.__adaptable;
43
+ const colValueParser = props.column.getColDef().valueParser;
44
+ const valueParser = typeof colValueParser === 'function' ? colValueParser : defaultValueParser;
45
+ function onValueChange(value) {
46
+ value = valueParser
47
+ ? valueParser(Object.assign(Object.assign({}, props), { oldValue: props.value, newValue: value }))
48
+ : value;
49
+ valueRef.current = value;
50
+ }
51
+ const editorRef = (0, react_1.useRef)(null);
52
+ (0, react_1.useImperativeHandle)(ref, () => {
53
+ return {
54
+ focusIn() {
55
+ var _a;
56
+ (_a = editorRef.current) === null || _a === void 0 ? void 0 : _a.focus();
57
+ },
58
+ // the final value to send to the grid, on completion of editing
59
+ getValue() {
60
+ return valueRef.current;
61
+ },
62
+ };
63
+ });
64
+ const editorElement = (React.createElement(InternalAdaptableNumberEditor_1.InternalAdaptableNumberEditor, { defaultValue: initialValue, showClearButton: (_a = props.showClearButton) !== null && _a !== void 0 ? _a : true, emptyValue: (_b = props.emptyValue) !== null && _b !== void 0 ? _b : '', onValueChange: onValueChange, ref: (editor) => {
65
+ editorRef.current = editor;
66
+ editor === null || editor === void 0 ? void 0 : editor.focus();
67
+ } }));
68
+ function onKeyDown(keyDownEvent) {
69
+ adaptable._emit('CellEditorKeyDown', {
70
+ keyDownEvent,
71
+ cellValue: valueRef.current,
72
+ columnId,
73
+ updateValueCallback: (updatedValue) => {
74
+ editorRef.current.setValue(updatedValue);
75
+ },
76
+ });
77
+ }
78
+ return (React.createElement("div", { style: style, onKeyDown: onKeyDown }, (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(editorElement, adaptable)));
79
+ });
9
80
  /**
10
81
  * Used by default for all `abColDefNumber` columns.
11
82
  *
@@ -29,9 +100,7 @@ const core_1 = require("@ag-grid-community/core");
29
100
  */
30
101
  class AdaptableNumberEditor {
31
102
  constructor() {
32
- this.valueParser = ({ newValue, oldValue: _ }) => {
33
- return newValue;
34
- };
103
+ this.valueParser = defaultValueParser;
35
104
  this.onValueChange = (value) => {
36
105
  this.value = this.valueParser
37
106
  ? this.valueParser(Object.assign(Object.assign({}, this.params), { oldValue: this.params.value, newValue: value }))
@@ -39,7 +108,7 @@ class AdaptableNumberEditor {
39
108
  };
40
109
  }
41
110
  init(params) {
42
- this.value = this.getStartValue(params);
111
+ this.value = getStartValue(params);
43
112
  this.params = params;
44
113
  this.columnId = params.column.getColId();
45
114
  const { valueParser } = params.column.getColDef();
@@ -47,11 +116,10 @@ class AdaptableNumberEditor {
47
116
  this.valueParser = valueParser;
48
117
  }
49
118
  this.el = document.createElement('div');
50
- this.el.style.position = 'absolute';
51
- this.el.style.top = '0px';
52
- this.el.style.left = '0px';
53
- this.el.style.right = '0px';
54
- this.el.style.bottom = '0px';
119
+ Object.keys(style).forEach((key) => {
120
+ //@ts-ignore
121
+ this.el.style[key] = style[key];
122
+ });
55
123
  }
56
124
  /* Component Editor Lifecycle methods */
57
125
  // gets called once when grid ready to insert the element
@@ -92,22 +160,5 @@ class AdaptableNumberEditor {
92
160
  var _a;
93
161
  (_a = this.unmountReactRoot) === null || _a === void 0 ? void 0 : _a.call(this);
94
162
  }
95
- getStartValue(params) {
96
- if (this.shouldClearExistingValue(params)) {
97
- return '';
98
- }
99
- if (params.charPress && this.isValidChar(params.charPress)) {
100
- return params.charPress;
101
- }
102
- return params.value;
103
- }
104
- shouldClearExistingValue(params) {
105
- return params.eventKey === core_1.KeyCode.BACKSPACE || params.eventKey === core_1.KeyCode.DELETE;
106
- }
107
- isValidChar(char) {
108
- // allow only digits
109
- return ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'].includes(char);
110
- // we do NOT allow key shortcuts for starting non-digits (minus sign, decimal separators) as the input[number] handling is very buggy and we would open a can of worms
111
- }
112
163
  }
113
164
  exports.AdaptableNumberEditor = AdaptableNumberEditor;
@@ -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" | "showClearButton" | "onHide" | "showOutsideDays" | "showWeekNumber" | "datepickerButtons" | "dateProps"> & React.RefAttributes<HTMLInputElement>>;
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,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -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;