@adaptabletools/adaptable 13.0.0-canary.1 → 13.0.0-canary.3
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/agGrid.d.ts +23 -1
- package/agGrid.js +23 -1
- package/base.css +1 -0
- package/bundle.cjs.js +158 -158
- package/index.css +1 -0
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +42 -14
- package/src/Api/ConditionalStyleApi.d.ts +20 -0
- package/src/Api/FormatColumnApi.d.ts +42 -3
- package/src/Api/Implementation/DashboardApiImpl.js +2 -3
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +17 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +94 -14
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +0 -2
- package/src/Api/Implementation/QueryLanguageApiImpl.js +0 -3
- package/src/Api/QueryLanguageApi.d.ts +0 -5
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +37 -37
- package/src/PredefinedConfig/FormatColumnState.d.ts +19 -0
- package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +14 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +43 -1
- package/src/Redux/Store/AdaptableStore.js +2 -0
- package/src/Strategy/FormatColumnModule.d.ts +2 -9
- package/src/Strategy/FormatColumnModule.js +5 -1
- package/src/Strategy/Interface/IModule.d.ts +10 -10
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +5 -5
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -2
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +4 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +4 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +4 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +4 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
- package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -0
- package/src/Utilities/Extensions/TypeExtensions.js +5 -0
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +14 -4
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +5 -3
- package/src/Utilities/Services/QueryLanguageService.js +92 -39
- package/src/Utilities/license/LicenseDetails.d.ts +1 -1
- package/src/Utilities/license/decode.d.ts +1 -0
- package/src/Utilities/license/decode.js +1 -1
- package/src/View/AdaptablePopover/index.d.ts +2 -2
- package/src/View/AdaptableView.d.ts +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +1 -1
- package/src/View/AdaptableWizardView/index.d.ts +1 -1
- package/src/View/ColorPicker.d.ts +1 -5
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +1 -1
- package/src/View/FormatColumn/MoveFormatColumn.d.ts +7 -0
- package/src/View/FormatColumn/MoveFormatColumn.js +27 -0
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +9 -0
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +66 -0
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +20 -2
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +14 -0
- package/src/View/FormatColumn/Wizard/constants.d.ts +1 -0
- package/src/View/FormatColumn/Wizard/constants.js +4 -0
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/SettingsSection.d.ts +2 -2
- package/src/View/License/LicenseWatermark.d.ts +1 -1
- package/src/View/StateManagement/components/ClearButton.d.ts +1 -1
- package/src/View/StateManagement/components/LoadButton.d.ts +1 -1
- package/src/View/StatusBar/StatusBarPanel.d.ts +4 -4
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +3 -3
- package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
- package/src/View/Wizard/OnePageWizards.d.ts +3 -3
- package/src/View/Wizard/OnePageWizards.js +2 -2
- package/src/agGrid/Adaptable.d.ts +11 -0
- package/src/agGrid/Adaptable.js +134 -66
- package/src/agGrid/FilterWrapper.js +4 -5
- package/src/agGrid/FloatingFilterWrapper.js +3 -4
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -0
- package/src/agGrid/createAgStatusPanelComponent.js +3 -3
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Dialog/index.d.ts +4 -2
- package/src/components/Dialog/index.js +2 -2
- package/src/components/DropdownButton/index.d.ts +21 -4
- package/src/components/DropdownButton/index.js +5 -6
- package/src/components/ExpressionEditor/BaseEditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +1 -1
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +1 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +4 -2
- package/src/components/Loader/Loader.d.ts +2 -2
- package/src/components/Logo/index.d.ts +1 -1
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +2 -2
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +1 -1
- package/src/components/SelectList.d.ts +1 -1
- package/src/components/SimpleButton/index.d.ts +4 -5
- package/src/components/SimpleButton/index.js +3 -2
- package/src/components/StylePreview.d.ts +1 -1
- package/src/components/Tag/Tag.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +6 -4
- package/src/components/ToggleButton/index.d.ts +1 -1
- package/src/components/WindowModal/WindowModal.d.ts +1 -1
- package/src/components/icons/index.d.ts +3 -2
- package/src/components/icons/layout.d.ts +2 -1
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +47 -29
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/types.d.ts +6 -3
- package/src/renderReactRoot.d.ts +3 -0
- package/src/renderReactRoot.js +54 -0
- package/src/types.d.ts +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableInputProps } from '../AdaptableInput';
|
|
3
3
|
export declare type AdaptableDateInputProps = AdaptableInputProps;
|
|
4
|
-
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignSelf" | "backgroundColor" | "color" | "content" | "flex" | "fontSize" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "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" | "mt" | "
|
|
4
|
+
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "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" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export default AdaptableDateInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
3
|
-
export declare const ButtonEdit: React.FunctionComponent<SimpleButtonProps
|
|
3
|
+
export declare const ButtonEdit: React.FunctionComponent<React.PropsWithChildren<SimpleButtonProps>>;
|
|
@@ -11,5 +11,5 @@ interface AdaptablePopupBodyProps {
|
|
|
11
11
|
onHide?: () => void;
|
|
12
12
|
api: AdaptableApi;
|
|
13
13
|
}
|
|
14
|
-
export declare const AdaptablePopupBody: React.FunctionComponent<AdaptablePopupBodyProps
|
|
14
|
+
export declare const AdaptablePopupBody: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupBodyProps>>;
|
|
15
15
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const AdaptablePopupDialog: React.FunctionComponent<{
|
|
2
|
+
export declare const AdaptablePopupDialog: React.FunctionComponent<React.PropsWithChildren<{
|
|
3
3
|
baseClassName: string;
|
|
4
4
|
className: string;
|
|
5
5
|
friendlyName: string;
|
|
@@ -8,4 +8,4 @@ export declare const AdaptablePopupDialog: React.FunctionComponent<{
|
|
|
8
8
|
onHide: () => void;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
modalContainer?: string | HTMLElement;
|
|
11
|
-
}
|
|
11
|
+
}>>;
|
|
@@ -8,4 +8,4 @@ export interface AdaptablePopupModuleViewProps extends ModuleViewPopupProps<type
|
|
|
8
8
|
accessLevel: AccessLevel;
|
|
9
9
|
popupParams?: ModuleParams;
|
|
10
10
|
}
|
|
11
|
-
export declare const AdaptablePopupModuleView: React.FunctionComponent<AdaptablePopupModuleViewProps
|
|
11
|
+
export declare const AdaptablePopupModuleView: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupModuleViewProps>>;
|
|
@@ -7,5 +7,5 @@ interface NavigationProps {
|
|
|
7
7
|
activeItem: string;
|
|
8
8
|
customSettingsPanels?: CustomSettingsPanel[];
|
|
9
9
|
}
|
|
10
|
-
export declare const Navigation: React.FunctionComponent<NavigationProps
|
|
10
|
+
export declare const Navigation: React.FunctionComponent<React.PropsWithChildren<NavigationProps>>;
|
|
11
11
|
export {};
|
|
@@ -8,4 +8,4 @@ export interface PanelWithButtonProps {
|
|
|
8
8
|
infoLink?: string;
|
|
9
9
|
infoLinkDisabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const PopupPanel: React.FunctionComponent<PanelWithButtonProps
|
|
11
|
+
export declare const PopupPanel: React.FunctionComponent<React.PropsWithChildren<PanelWithButtonProps>>;
|
|
@@ -3,5 +3,5 @@ import { SettingsPanelOptions } from '../../../../AdaptableOptions/SettingsPanel
|
|
|
3
3
|
interface TopBarProps {
|
|
4
4
|
icon: SettingsPanelOptions['icon'];
|
|
5
5
|
}
|
|
6
|
-
export declare const TopBar: React.FunctionComponent<TopBarProps
|
|
6
|
+
export declare const TopBar: React.FunctionComponent<React.PropsWithChildren<TopBarProps>>;
|
|
7
7
|
export default TopBar;
|
|
@@ -8,4 +8,4 @@ export interface AdaptablePopupPromptProps {
|
|
|
8
8
|
onConfirmActionCreator?: (inputText: string) => Action;
|
|
9
9
|
defaultValue?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const AdaptablePopupPrompt: React.FunctionComponent<AdaptablePopupPromptProps
|
|
11
|
+
export declare const AdaptablePopupPrompt: React.FunctionComponent<React.PropsWithChildren<AdaptablePopupPromptProps>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MoveFormatColumn = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
|
|
7
|
+
const FormatColumnRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/FormatColumnRedux"));
|
|
8
|
+
const react_redux_1 = require("react-redux");
|
|
9
|
+
const AdaptableContext_1 = require("../AdaptableContext");
|
|
10
|
+
const MoveFormatColumn = (props) => {
|
|
11
|
+
const dispatch = (0, react_redux_1.useDispatch)();
|
|
12
|
+
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
13
|
+
const formatColumn = adaptable.api.formatColumnApi.getAllFormatColumn();
|
|
14
|
+
const handleMoveUp = React.useCallback(() => {
|
|
15
|
+
dispatch(FormatColumnRedux.FormatColumnMoveUp(props.data));
|
|
16
|
+
}, []);
|
|
17
|
+
const handleMoveDown = React.useCallback(() => {
|
|
18
|
+
dispatch(FormatColumnRedux.FormatColumnMoveDown(props.data));
|
|
19
|
+
}, []);
|
|
20
|
+
if ((formatColumn === null || formatColumn === void 0 ? void 0 : formatColumn.length) <= 1) {
|
|
21
|
+
return React.createElement(React.Fragment, null);
|
|
22
|
+
}
|
|
23
|
+
return (React.createElement(React.Fragment, null,
|
|
24
|
+
React.createElement(SimpleButton_1.default, { "data-id": "move-up", title: "move up", onClick: handleMoveUp, variant: "text", icon: "arrow-up" }),
|
|
25
|
+
React.createElement(SimpleButton_1.default, { "data-name": "move-down", title: "move down", onClick: handleMoveDown, variant: "text", icon: "arrow-down" })));
|
|
26
|
+
};
|
|
27
|
+
exports.MoveFormatColumn = MoveFormatColumn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormatColumn } from '../../../../types';
|
|
3
|
+
declare type FormatColumnRuleWizardSectionProps = {
|
|
4
|
+
onChange: (data: FormatColumn) => void;
|
|
5
|
+
defaultPredicateId: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function renderFormatColumnRuleSummary(data: FormatColumn): JSX.Element;
|
|
8
|
+
export declare function FormatColumnRuleWizardSection(props: FormatColumnRuleWizardSectionProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormatColumnRuleWizardSection = exports.renderFormatColumnRuleSummary = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const rebass_1 = require("rebass");
|
|
7
|
+
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
8
|
+
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
9
|
+
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
10
|
+
const CheckBox_1 = require("../../../components/CheckBox");
|
|
11
|
+
const constants_1 = require("./constants");
|
|
12
|
+
function renderFormatColumnRuleSummary(data) {
|
|
13
|
+
return (React.createElement(EntityRulesEditor_1.EntityRulesSummary, { data: data, renderPredicate: (contents) => {
|
|
14
|
+
return (React.createElement(React.Fragment, null,
|
|
15
|
+
"Apply Format Column on ",
|
|
16
|
+
React.createElement(CodeBlock_1.CodeBlock, null, contents)));
|
|
17
|
+
}, renderQueryExpression: (contents) => {
|
|
18
|
+
return (React.createElement(React.Fragment, null,
|
|
19
|
+
"Apply Format Column when",
|
|
20
|
+
' ',
|
|
21
|
+
React.createElement("b", null,
|
|
22
|
+
React.createElement(CodeBlock_1.CodeBlock, null, contents))));
|
|
23
|
+
} }));
|
|
24
|
+
}
|
|
25
|
+
exports.renderFormatColumnRuleSummary = renderFormatColumnRuleSummary;
|
|
26
|
+
function FormatColumnRuleWizardSection(props) {
|
|
27
|
+
const { data, api, moduleInfo } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
28
|
+
const hasRule = Boolean(data.Rule);
|
|
29
|
+
const handleRuleToggle = React.useCallback(() => {
|
|
30
|
+
const newFormatColumn = Object.assign({}, data);
|
|
31
|
+
if (hasRule) {
|
|
32
|
+
delete newFormatColumn.Rule;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
newFormatColumn.Rule = {
|
|
36
|
+
Predicate: {
|
|
37
|
+
PredicateId: constants_1.DEFAULT_PREDICATE_ID_FOR_FORMAT_COLUMN,
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
props.onChange(newFormatColumn);
|
|
42
|
+
}, [data.Rule]);
|
|
43
|
+
const hasIncompatibleStyle = Boolean(data.ColumnStyle);
|
|
44
|
+
return (React.createElement(rebass_1.Box, null,
|
|
45
|
+
React.createElement(rebass_1.Box, { p: 2, mb: 1 },
|
|
46
|
+
React.createElement(CheckBox_1.CheckBox, { disabled: hasIncompatibleStyle, checked: hasRule, onClick: handleRuleToggle }, "Enable Condition"),
|
|
47
|
+
hasIncompatibleStyle && (React.createElement(rebass_1.Text, { ml: 1 }, "Condition is only available for Standard Style."))),
|
|
48
|
+
hasRule && (React.createElement(EntityRulesEditor_1.EntityRulesEditor, { module: moduleInfo.ModuleName, defaultPredicateId: props.defaultPredicateId,
|
|
49
|
+
// TODO see what is this
|
|
50
|
+
predicateDefs: api.formatColumnApi.getFormatColumnDefsForScope(data.Scope), showAggregation: false, showObservable: false, showPredicate: !api.scopeApi.scopeIsAll(data.Scope), data: data, onChange: (formatColumn) => props.onChange(formatColumn), descriptions: {
|
|
51
|
+
selectPredicate: 'Select a Format Column Rule - to be applied when data changes',
|
|
52
|
+
useBooleanQuery: (React.createElement(React.Fragment, null,
|
|
53
|
+
"Use an BooleanQuery if ",
|
|
54
|
+
React.createElement("i", null, "Scope"),
|
|
55
|
+
" is 'Whole Row' - so any data change may be evaluated in a complex BooleanExpression")),
|
|
56
|
+
useObservableQuery: (React.createElement(React.Fragment, null,
|
|
57
|
+
"Use an ObservableQuery if ",
|
|
58
|
+
React.createElement("i", null, "Scope"),
|
|
59
|
+
" is 'Whole Row' - so any data change may be evaluated in a complex ObservableExpression")),
|
|
60
|
+
useAggregationQuery: (React.createElement(React.Fragment, null,
|
|
61
|
+
"Use an AggregatedBooleanQuery if ",
|
|
62
|
+
React.createElement("i", null, "Scope"),
|
|
63
|
+
" is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
|
|
64
|
+
} }))));
|
|
65
|
+
}
|
|
66
|
+
exports.FormatColumnRuleWizardSection = FormatColumnRuleWizardSection;
|
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
|
|
7
7
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
8
|
+
const constants_1 = require("./constants");
|
|
8
9
|
const renderFormatColumnScopeSummary = (data) => {
|
|
9
10
|
return (0, NewScopeComponent_1.renderScopeSummary)(data.Scope, {
|
|
10
11
|
scopeWholeRow: 'Matching rows will be formatted',
|
|
@@ -14,12 +15,29 @@ const renderFormatColumnScopeSummary = (data) => {
|
|
|
14
15
|
};
|
|
15
16
|
exports.renderFormatColumnScopeSummary = renderFormatColumnScopeSummary;
|
|
16
17
|
const FormatColumnScopeWizardSection = (props) => {
|
|
17
|
-
const { data } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
18
|
+
const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
18
19
|
return (React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
|
|
19
20
|
rowScope: 'Apply a style to an entire row',
|
|
20
21
|
columnScope: 'Select columns to format',
|
|
21
22
|
}, scope: data.Scope, updateScope: (Scope) => {
|
|
22
|
-
|
|
23
|
+
var _a;
|
|
24
|
+
const newData = Object.assign(Object.assign({}, data), { Scope });
|
|
25
|
+
const wholeRow = api.scopeApi.scopeIsAll(Scope);
|
|
26
|
+
if ((_a = newData.Rule) === null || _a === void 0 ? void 0 : _a.Predicate) {
|
|
27
|
+
if (wholeRow) {
|
|
28
|
+
// if scope is whole row, a predicate cannot be present, so we set the rule
|
|
29
|
+
// to be a boolean expression
|
|
30
|
+
delete newData.Rule.Predicate;
|
|
31
|
+
newData.Rule.BooleanExpression = '';
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
// if scope is not whole row, if you have a predicate, reset it
|
|
35
|
+
newData.Rule.Predicate = {
|
|
36
|
+
PredicateId: constants_1.DEFAULT_PREDICATE_ID_FOR_FORMAT_COLUMN,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
props.onChange(newData);
|
|
23
41
|
} }));
|
|
24
42
|
};
|
|
25
43
|
exports.FormatColumnScopeWizardSection = FormatColumnScopeWizardSection;
|
|
@@ -278,6 +278,7 @@ function FormatColumnStyleWizardSection(props) {
|
|
|
278
278
|
props.onChange(newData);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
+
const onlyStandardStyleAvailable = Boolean(data.Rule);
|
|
281
282
|
return (React.createElement(React.Fragment, null,
|
|
282
283
|
onlyBooleanColumnsInScope && (React.createElement(Tabs_1.Tabs, null,
|
|
283
284
|
React.createElement(Tabs_1.Tabs.Tab, null, "CheckBox Column"),
|
|
@@ -293,7 +294,7 @@ function FormatColumnStyleWizardSection(props) {
|
|
|
293
294
|
}
|
|
294
295
|
props.onChange(formatColumn);
|
|
295
296
|
} }, "Display Column As CheckBox")))),
|
|
296
|
-
singleNumericColumn ? (React.createElement(React.Fragment, null,
|
|
297
|
+
singleNumericColumn && !onlyStandardStyleAvailable ? (React.createElement(React.Fragment, null,
|
|
297
298
|
React.createElement(Tabs_1.Tabs, null,
|
|
298
299
|
React.createElement(Tabs_1.Tabs.Tab, null, "Create a Format Column Style"),
|
|
299
300
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
@@ -17,6 +17,9 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
|
|
|
17
17
|
const react_redux_1 = require("react-redux");
|
|
18
18
|
const FormatColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FormatColumnRedux"));
|
|
19
19
|
const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
|
|
20
|
+
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
21
|
+
const FormatColumnRuleWizardSection_1 = require("./FormatColumnRuleWizardSection");
|
|
22
|
+
const constants_1 = require("./constants");
|
|
20
23
|
const adjustDisplayFormat = (formatColumn, api) => {
|
|
21
24
|
formatColumn = Object.assign({}, formatColumn);
|
|
22
25
|
const formatDataType = (0, FormatColumnFormatWizardSection_1.getFormatDisplayTypeForScope)(formatColumn.Scope, api);
|
|
@@ -113,6 +116,17 @@ function FormatColumnWizard(props) {
|
|
|
113
116
|
React.createElement(FormatColumnScopeWizardSection_1.FormatColumnScopeWizardSection, { onChange: setFormatColumn })));
|
|
114
117
|
},
|
|
115
118
|
},
|
|
119
|
+
{
|
|
120
|
+
isValid: (abObject, api, context) => {
|
|
121
|
+
return abObject.Rule ? (0, EntityRulesEditor_1.isRuleValid)(abObject, api, context) : true;
|
|
122
|
+
},
|
|
123
|
+
title: 'Condition',
|
|
124
|
+
details: 'Build the rules when Format column should be applied',
|
|
125
|
+
render: () => {
|
|
126
|
+
return (React.createElement(rebass_1.Box, { p: 2 },
|
|
127
|
+
React.createElement(FormatColumnRuleWizardSection_1.FormatColumnRuleWizardSection, { onChange: setFormatColumn, defaultPredicateId: constants_1.DEFAULT_PREDICATE_ID_FOR_FORMAT_COLUMN })));
|
|
128
|
+
},
|
|
129
|
+
},
|
|
116
130
|
{
|
|
117
131
|
title: 'Style',
|
|
118
132
|
details: 'Format Column Style',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_PREDICATE_ID_FOR_FORMAT_COLUMN = "NonBlanks";
|
|
@@ -33,7 +33,7 @@ const AggregationsSectionSummary = () => {
|
|
|
33
33
|
let content = null;
|
|
34
34
|
if (entires.length) {
|
|
35
35
|
content = (React.createElement(FormLayout_1.default, null, entires.map(([columnId, aggregation]) => (React.createElement(FormLayout_1.FormRow, { key: columnId, label: adaptable.api.columnApi.getFriendlyNameFromColumnId(columnId) },
|
|
36
|
-
React.createElement(Tag_1.Tag, null, aggregation))))));
|
|
36
|
+
React.createElement(Tag_1.Tag, null, aggregation /* TODO fix for Bogdan */))))));
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
39
|
content = React.createElement(Tag_1.Tag, null, "No Aggregations");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layout } from '../../../../../types';
|
|
3
|
-
export declare const SettingsSectionSummary: React.FunctionComponent
|
|
3
|
+
export declare const SettingsSectionSummary: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
4
4
|
interface SettingsSectionProps {
|
|
5
5
|
onChange: (data: Layout) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const SettingsSection: React.FunctionComponent<SettingsSectionProps
|
|
7
|
+
export declare const SettingsSection: React.FunctionComponent<React.PropsWithChildren<SettingsSectionProps>>;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const LicenseWatermark: React.FunctionComponent
|
|
2
|
+
export declare const LicenseWatermark: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
3
3
|
interface ClearButtonProps extends SimpleButtonProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ClearButton: React.FunctionComponent<ClearButtonProps
|
|
5
|
+
export declare const ClearButton: React.FunctionComponent<React.PropsWithChildren<ClearButtonProps>>;
|
|
6
6
|
export {};
|
|
@@ -3,5 +3,5 @@ import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
|
3
3
|
interface LoadButtonProps extends SimpleButtonProps {
|
|
4
4
|
onLoad: (json: any) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const LoadButton: React.FunctionComponent<LoadButtonProps
|
|
6
|
+
export declare const LoadButton: React.FunctionComponent<React.PropsWithChildren<LoadButtonProps>>;
|
|
7
7
|
export {};
|
|
@@ -15,7 +15,7 @@ import { FlexProps } from 'rebass';
|
|
|
15
15
|
*/
|
|
16
16
|
export interface StatusBarPanelProps extends Omit<FlexProps, 'content'> {
|
|
17
17
|
icon?: string;
|
|
18
|
-
content?: React.ReactNode | React.FunctionComponent
|
|
18
|
+
content?: React.ReactNode | React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
19
19
|
/**
|
|
20
20
|
* weather to trigger onAction when the wrapper is clicked
|
|
21
21
|
*/
|
|
@@ -24,14 +24,14 @@ export interface StatusBarPanelProps extends Omit<FlexProps, 'content'> {
|
|
|
24
24
|
* When specified this content will be rendered when the text
|
|
25
25
|
* is clicked.
|
|
26
26
|
*/
|
|
27
|
-
popover?: React.ReactNode | React.FunctionComponent
|
|
27
|
+
popover?: React.ReactNode | React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
28
28
|
popoverMinWidth?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Allow to render custom content
|
|
31
31
|
*/
|
|
32
|
-
view?: React.FunctionComponent
|
|
32
|
+
view?: React.FunctionComponent<React.PropsWithChildren<unknown>>;
|
|
33
33
|
onAction?: () => void;
|
|
34
|
-
extraActions?: React.FunctionComponent[];
|
|
34
|
+
extraActions?: React.FunctionComponent<React.PropsWithChildren<unknown>>[];
|
|
35
35
|
tooltip?: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
@@ -11,9 +11,9 @@ export declare type OnePageAdaptableWizardContextType<T> = {
|
|
|
11
11
|
api: AdaptableApi;
|
|
12
12
|
namedQuery: ExpressionEditorNamedQuery;
|
|
13
13
|
};
|
|
14
|
-
export declare const SummaryTag: React.FunctionComponent<TextProps
|
|
15
|
-
export declare const SummaryText: React.FunctionComponent<TextProps
|
|
16
|
-
export declare const FormDescriptionText: React.FunctionComponent<TextProps
|
|
14
|
+
export declare const SummaryTag: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
15
|
+
export declare const SummaryText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
16
|
+
export declare const FormDescriptionText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
17
17
|
export declare const OnePageAdaptableWizardContext: React.Context<OnePageAdaptableWizardContextType<any>>;
|
|
18
18
|
export declare function useOnePageAdaptableWizardContext<ENTITY>(): OnePageAdaptableWizardContextType<ENTITY>;
|
|
19
19
|
export interface OnePageAdaptableWizardSection<ENTITY> {
|
|
@@ -13,11 +13,11 @@ const Tabs_1 = require("../../components/Tabs");
|
|
|
13
13
|
const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
|
|
14
14
|
const OnePageWizards_1 = require("./OnePageWizards");
|
|
15
15
|
const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
|
|
16
|
-
const SummaryTag = (props) => React.createElement(rebass_1.Text, Object.assign({}, props));
|
|
16
|
+
const SummaryTag = (props) => (React.createElement(rebass_1.Text, Object.assign({}, props)));
|
|
17
17
|
exports.SummaryTag = SummaryTag;
|
|
18
18
|
const SummaryText = (props) => (React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mb: 3 }, props)));
|
|
19
19
|
exports.SummaryText = SummaryText;
|
|
20
|
-
const FormDescriptionText = (props) =>
|
|
20
|
+
const FormDescriptionText = (props) => React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mt: 1 }, props));
|
|
21
21
|
exports.FormDescriptionText = FormDescriptionText;
|
|
22
22
|
exports.OnePageAdaptableWizardContext = React.createContext({
|
|
23
23
|
data: null,
|
|
@@ -6,9 +6,9 @@ export declare type OnePageWizardContextType<T> = {
|
|
|
6
6
|
sections: (OnePageWizardSection<T> | '-')[];
|
|
7
7
|
setCurrentSection: (index: number) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const SummaryTag: React.FunctionComponent<TextProps
|
|
10
|
-
export declare const SummaryText: React.FunctionComponent<TextProps
|
|
11
|
-
export declare const FormDescriptionText: React.FunctionComponent<TextProps
|
|
9
|
+
export declare const SummaryTag: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
10
|
+
export declare const SummaryText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
11
|
+
export declare const FormDescriptionText: React.FunctionComponent<React.PropsWithChildren<TextProps>>;
|
|
12
12
|
export declare const OnePageWizardContext: React.Context<OnePageWizardContextType<any>>;
|
|
13
13
|
export declare function useOnePageWizardContext<ENTITY>(): OnePageWizardContextType<ENTITY>;
|
|
14
14
|
export declare type OnePageWizardSection<ENTITY> = {
|
|
@@ -14,11 +14,11 @@ const icons_1 = require("../../components/icons");
|
|
|
14
14
|
const ResizeObserver_1 = require("../../components/ResizeObserver");
|
|
15
15
|
const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
|
|
16
16
|
const useKeyboardNavigation_1 = require("./useKeyboardNavigation");
|
|
17
|
-
const SummaryTag = (props) => React.createElement(rebass_1.Text, Object.assign({}, props));
|
|
17
|
+
const SummaryTag = (props) => (React.createElement(rebass_1.Text, Object.assign({}, props)));
|
|
18
18
|
exports.SummaryTag = SummaryTag;
|
|
19
19
|
const SummaryText = (props) => (React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mb: 3 }, props)));
|
|
20
20
|
exports.SummaryText = SummaryText;
|
|
21
|
-
const FormDescriptionText = (props) =>
|
|
21
|
+
const FormDescriptionText = (props) => React.createElement(rebass_1.Text, Object.assign({ fontSize: 2, mt: 1 }, props));
|
|
22
22
|
exports.FormDescriptionText = FormDescriptionText;
|
|
23
23
|
exports.OnePageWizardContext = React.createContext({
|
|
24
24
|
data: null,
|
|
@@ -35,8 +35,11 @@ import { CustomSort } from '../PredefinedConfig/CustomSortState';
|
|
|
35
35
|
import { ColumnValuesComparer } from '../AdaptableOptions/GeneralOptions';
|
|
36
36
|
import { IMetamodelService } from '../Utilities/Services/Interface/IMetamodelService';
|
|
37
37
|
import { IRowEditService } from '../Utilities/Services/Interface/IRowEditService';
|
|
38
|
+
import { RenderReactRootFn } from '../renderReactRoot';
|
|
38
39
|
declare type RuntimeConfig = {
|
|
39
40
|
waitForAgGrid?: boolean;
|
|
41
|
+
supressReact18RenderWarning?: boolean;
|
|
42
|
+
renderReactRoot?: RenderReactRootFn;
|
|
40
43
|
};
|
|
41
44
|
export declare class Adaptable implements IAdaptable {
|
|
42
45
|
api: AdaptableApi;
|
|
@@ -75,6 +78,7 @@ export declare class Adaptable implements IAdaptable {
|
|
|
75
78
|
private currentColumnDefs?;
|
|
76
79
|
private rowListeners;
|
|
77
80
|
private isCheckedColumnDataType;
|
|
81
|
+
private unmountReactRoot?;
|
|
78
82
|
get isLive(): boolean;
|
|
79
83
|
_on: (eventName: string, callback: EmitterCallback) => (() => void);
|
|
80
84
|
_onIncludeFired: (eventName: string, callback: EmitterCallback) => (() => void);
|
|
@@ -83,6 +87,8 @@ export declare class Adaptable implements IAdaptable {
|
|
|
83
87
|
private _adaptableReady;
|
|
84
88
|
isDestroyed: boolean;
|
|
85
89
|
private listenerKeydown;
|
|
90
|
+
supressReact18RenderWarning: boolean;
|
|
91
|
+
renderReactRoot: RenderReactRootFn;
|
|
86
92
|
private listenerFirstDataRendered;
|
|
87
93
|
private listenerPivotModeChanged;
|
|
88
94
|
private listenerPivotChanged;
|
|
@@ -148,7 +154,11 @@ export declare class Adaptable implements IAdaptable {
|
|
|
148
154
|
updateColumnsIntoStore(): void;
|
|
149
155
|
private createAdaptableColumn;
|
|
150
156
|
private safeSetColDefs;
|
|
157
|
+
private getFormatColumnSpecialColumnStyle;
|
|
158
|
+
private getFormatColumnColumnStyle;
|
|
151
159
|
private getFormatColumnCellStyle;
|
|
160
|
+
private getFormatColumnCellClass;
|
|
161
|
+
private getFormatColumnRowClass;
|
|
152
162
|
private getActiveAlertWithHighlightCell;
|
|
153
163
|
private getActiveAlertWithHighlightRow;
|
|
154
164
|
private getAlertCellStyle;
|
|
@@ -352,6 +362,7 @@ export declare class Adaptable implements IAdaptable {
|
|
|
352
362
|
private setupColumnHeaderAggregations;
|
|
353
363
|
private getConditionalStyleRowClass;
|
|
354
364
|
private getConditionalStyleRowStyle;
|
|
365
|
+
private getFormatColumnRowStyle;
|
|
355
366
|
private getGridOptionsApi;
|
|
356
367
|
canGenerateCharts(): boolean;
|
|
357
368
|
canHaveSparklines(): boolean;
|