@adaptabletools/adaptable 11.0.0-canary.5 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/agGrid.d.ts +5 -4
  2. package/agGrid.js +9 -7
  3. package/base.css +2 -2
  4. package/bundle.cjs.js +103 -98
  5. package/index.css +2 -2
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +4 -6
  11. package/src/AdaptableOptions/{QueryLanguageOptions.d.ts → AdaptableQLOptions.d.ts} +37 -5
  12. package/src/AdaptableOptions/{QueryLanguageOptions.js → AdaptableQLOptions.js} +0 -0
  13. package/src/AdaptableOptions/ContainerOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
  15. package/src/AdaptableOptions/SearchOptions.d.ts +0 -9
  16. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +4 -3
  17. package/src/AdaptableOptions/StateOptions.d.ts +7 -7
  18. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  19. package/src/Api/AdaptableApi.d.ts +5 -0
  20. package/src/Api/CalculatedColumnApi.d.ts +2 -9
  21. package/src/Api/ColumnApi.d.ts +0 -4
  22. package/src/Api/GridApi.d.ts +11 -1
  23. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
  24. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  25. package/src/Api/Implementation/AlertApiImpl.js +4 -1
  26. package/src/Api/Implementation/ApiBase.d.ts +3 -2
  27. package/src/Api/Implementation/ApiBase.js +5 -2
  28. package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -4
  29. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -1
  30. package/src/Api/Implementation/ColumnApiImpl.js +0 -5
  31. package/src/Api/Implementation/GridApiImpl.d.ts +2 -0
  32. package/src/Api/Implementation/GridApiImpl.js +27 -4
  33. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -3
  34. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  35. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +4 -1
  36. package/src/Api/Implementation/QueryLanguageApiImpl.js +17 -4
  37. package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +7 -0
  38. package/src/Api/Implementation/SettingsPanelApiImpl.js +15 -0
  39. package/src/Api/InternalApi.d.ts +2 -3
  40. package/src/Api/QueryApi.d.ts +2 -2
  41. package/src/Api/QueryLanguageApi.d.ts +23 -10
  42. package/src/Api/SettingsPanelApi.d.ts +16 -0
  43. package/src/Api/SettingsPanelApi.js +2 -0
  44. package/src/PredefinedConfig/AlertState.d.ts +6 -2
  45. package/src/PredefinedConfig/CalculatedColumnState.d.ts +8 -3
  46. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
  47. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +7 -5
  48. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -6
  49. package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
  50. package/src/PredefinedConfig/Common/Enums.js +0 -2
  51. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
  52. package/src/PredefinedConfig/Common/Types.d.ts +6 -1
  53. package/src/PredefinedConfig/Common/Types.js +1 -0
  54. package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
  55. package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
  56. package/src/PredefinedConfig/Selection/GridCellRange.d.ts +3 -1
  57. package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
  58. package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
  59. package/src/Redux/Store/AdaptableStore.js +27 -2
  60. package/src/Strategy/AlertModule.js +12 -3
  61. package/src/Strategy/CalculatedColumnModule.js +4 -4
  62. package/src/Strategy/ChartingModule.d.ts +3 -3
  63. package/src/Strategy/ChartingModule.js +2 -2
  64. package/src/Strategy/FlashingCellModule.js +2 -2
  65. package/src/Strategy/FreeTextColumnModule.js +1 -0
  66. package/src/Strategy/{SetingsPanelModule.d.ts → SettingsPanelModule.d.ts} +0 -0
  67. package/src/Strategy/{SetingsPanelModule.js → SettingsPanelModule.js} +0 -0
  68. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +1 -1
  69. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +2 -2
  70. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  71. package/src/Strategy/Utilities/getRuleViewItems.js +1 -2
  72. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +3 -2
  73. package/src/Utilities/Constants/DocumentationLinkConstants.js +12 -10
  74. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +17 -13
  75. package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.d.ts → aggregatedBooleanExpressionFunctions.d.ts} +1 -1
  76. package/src/Utilities/ExpressionFunctions/{aggregationExpressionFunctions.js → aggregatedBooleanExpressionFunctions.js} +4 -4
  77. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +24 -0
  78. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +339 -0
  79. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +35 -0
  80. package/src/Utilities/ExpressionFunctions/deepMap.js +283 -0
  81. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +2 -2
  82. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +8 -8
  83. package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +35 -0
  84. package/src/Utilities/ExpressionFunctions/groupingMap.js +105 -0
  85. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
  86. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +33 -0
  87. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +154 -0
  88. package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
  89. package/src/Utilities/Services/AlertService.js +8 -4
  90. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +7 -3
  91. package/src/Utilities/Services/CalculatedColumnExpressionService.js +143 -18
  92. package/src/Utilities/Services/Interface/IAdaptableService.d.ts +1 -1
  93. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +6 -3
  94. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +9 -3
  95. package/src/Utilities/Services/LicenseService.js +1 -1
  96. package/src/Utilities/Services/ModuleService.js +33 -40
  97. package/src/Utilities/Services/QueryLanguageService.d.ts +11 -4
  98. package/src/Utilities/Services/QueryLanguageService.js +84 -25
  99. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -3
  100. package/src/View/AdaptableWizardView/helper.js +2 -2
  101. package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +1 -0
  102. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
  103. package/src/View/Alert/Wizard/AlertWizard.js +2 -2
  104. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -2
  105. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -2
  106. package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
  107. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +3 -3
  108. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +2 -4
  109. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +43 -12
  110. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -2
  111. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -2
  112. package/src/View/ColorPicker.d.ts +1 -1
  113. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  114. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  115. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  116. package/src/View/Components/EntityRulesEditor/index.js +11 -12
  117. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  118. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  119. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
  120. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
  121. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -0
  122. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  123. package/src/View/Components/ValueSelector/index.js +1 -1
  124. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +2 -2
  125. package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
  126. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
  127. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +1 -1
  128. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
  129. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  130. package/src/View/License/LicenseWatermark.js +1 -1
  131. package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
  132. package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
  133. package/src/agGrid/Adaptable.d.ts +1 -0
  134. package/src/agGrid/Adaptable.js +13 -14
  135. package/src/agGrid/agGridHelper.js +3 -7
  136. package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +4 -2
  137. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +4 -4
  138. package/src/components/Datepicker/index.d.ts +1 -1
  139. package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
  140. package/src/components/ExpressionEditor/EditorInput.js +5 -2
  141. package/src/components/ExpressionEditor/EditorInputReactive.d.ts +1 -1
  142. package/src/components/ExpressionEditor/EditorInputReactive.js +1 -1
  143. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
  144. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +2 -0
  145. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +45 -0
  146. package/src/components/ExpressionEditor/editorButtonsReactive.js +8 -13
  147. package/src/components/ExpressionEditor/index.d.ts +2 -1
  148. package/src/components/ExpressionEditor/index.js +11 -4
  149. package/src/components/Input/index.d.ts +1 -1
  150. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  151. package/src/components/Logo/index.js +8 -7
  152. package/src/components/PopupWithFooter.d.ts +1 -1
  153. package/src/components/Textarea/index.d.ts +1 -1
  154. package/src/components/icons/calculated-column.js +2 -1
  155. package/src/metamodel/adaptable.metamodel.d.ts +233 -37
  156. package/src/metamodel/adaptable.metamodel.js +448 -149
  157. package/src/types.d.ts +5 -4
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { InputProps } from '../../../components/Input';
3
3
  export declare type AdaptableInputProps = InputProps;
4
- declare const AdaptableInput: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "colSpan" | "rowSpan" | "name" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
4
+ declare const AdaptableInput: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "name" | "colSpan" | "rowSpan" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
5
5
  export default AdaptableInput;
@@ -14,5 +14,5 @@ declare class ButtonDeleteComponent extends React.Component<DeleteButtonProps, {
14
14
  render(): JSX.Element;
15
15
  onClick(): void;
16
16
  }
17
- export declare let ButtonDelete: import("react-redux").ConnectedComponent<typeof ButtonDeleteComponent, Pick<React.ClassAttributes<ButtonDeleteComponent> & DeleteButtonProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "icon" | "tooltip" | "border" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "ref" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "colSpan" | "rowSpan" | "name" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "borderX" | "borderY" | "variant" | "tone" | "iconSize" | "iconPosition" | "accessLevel" | "tooltipAnchor" | "onConfirmWarning" | "ConfirmAction" | "ConfirmationMsg" | "ConfirmationTitle" | "onClickAction"> & DeleteButtonProps>;
17
+ export declare let ButtonDelete: import("react-redux").ConnectedComponent<typeof ButtonDeleteComponent, Pick<React.ClassAttributes<ButtonDeleteComponent> & DeleteButtonProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "icon" | "tooltip" | "border" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "margin" | "ref" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "name" | "colSpan" | "rowSpan" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "borderX" | "borderY" | "variant" | "tone" | "iconSize" | "iconPosition" | "accessLevel" | "tooltipAnchor" | "onConfirmWarning" | "ConfirmAction" | "ConfirmationMsg" | "ConfirmationTitle" | "onClickAction"> & DeleteButtonProps>;
18
18
  export {};
@@ -10,7 +10,6 @@ const DropdownButton_1 = tslib_1.__importDefault(require("../../../components/Dr
10
10
  const ExpressionEditor_1 = require("../../../components/ExpressionEditor");
11
11
  const HelpBlock_1 = tslib_1.__importDefault(require("../../../components/HelpBlock"));
12
12
  const AdaptableInput_1 = tslib_1.__importDefault(require("../AdaptableInput"));
13
- const AdaptableQuery_1 = require("../../../PredefinedConfig/Common/AdaptableQuery");
14
13
  const AdaptableContext_1 = require("../../AdaptableContext");
15
14
  const ButtonInfo_1 = require("../Buttons/ButtonInfo");
16
15
  const DocumentationLinkConstants_1 = require("../../../Utilities/Constants/DocumentationLinkConstants");
@@ -45,8 +44,8 @@ QueryTab.defaultProps = {
45
44
  };
46
45
  exports.EntityRulesSummary = (props) => {
47
46
  const { data } = props;
48
- const { api: { predicateApi }, } = AdaptableContext_1.useAdaptable();
49
- return (React.createElement(rebass_1.Text, { fontSize: 2 }, data.Rule.Predicate ? (React.createElement(React.Fragment, null, props.renderPredicate(predicateApi.predicateToString(data.Rule.Predicate)))) : (React.createElement(React.Fragment, null, props.renderQueryExpression(AdaptableQuery_1.getAdaptableQueryExpression(data.Rule))))));
47
+ const { api: { predicateApi, queryLanguageApi }, } = AdaptableContext_1.useAdaptable();
48
+ return (React.createElement(rebass_1.Text, { fontSize: 2 }, data.Rule.Predicate ? (React.createElement(React.Fragment, null, props.renderPredicate(predicateApi.predicateToString(data.Rule.Predicate)))) : (React.createElement(React.Fragment, null, props.renderQueryExpression(queryLanguageApi.getAdaptableQueryExpression(data.Rule))))));
50
49
  };
51
50
  exports.EntityRulesEditor = (props) => {
52
51
  var _a, _b;
@@ -56,8 +55,8 @@ exports.EntityRulesEditor = (props) => {
56
55
  ? 'BooleanExpression'
57
56
  : data.Rule.ObservableExpression != undefined && showObservable
58
57
  ? 'ObservableExpression'
59
- : data.Rule.AggregationExpression != undefined && showAggregation
60
- ? 'AggregationExpression'
58
+ : data.Rule.AggregatedBooleanExpression != undefined && showAggregation
59
+ ? 'AggregatedBooleanExpression'
61
60
  : 'Predicate';
62
61
  const [selectedTab, setSelectedTab] = React.useState(type);
63
62
  const setType = (type) => {
@@ -72,9 +71,9 @@ exports.EntityRulesEditor = (props) => {
72
71
  ObservableExpression: '',
73
72
  } }));
74
73
  }
75
- else if (type === 'AggregationExpression' && showAggregation) {
74
+ else if (type === 'AggregatedBooleanExpression' && showAggregation) {
76
75
  props.onChange(Object.assign(Object.assign({}, data), { Rule: {
77
- AggregationExpression: '',
76
+ AggregatedBooleanExpression: '',
78
77
  } }));
79
78
  }
80
79
  else {
@@ -127,7 +126,7 @@ exports.EntityRulesEditor = (props) => {
127
126
  props.onChange(Object.assign(Object.assign({}, data), { Rule: { ObservableExpression: expression } }));
128
127
  };
129
128
  const setAggregationExpression = (expression) => {
130
- props.onChange(Object.assign(Object.assign({}, data), { Rule: { AggregationExpression: expression } }));
129
+ props.onChange(Object.assign(Object.assign({}, data), { Rule: { AggregatedBooleanExpression: expression } }));
131
130
  };
132
131
  const initialData = api.internalApi.getQueryPreviewData();
133
132
  const showDocumentationLinks = api.internalApi.isDocumentationLinksDisplayed();
@@ -162,13 +161,13 @@ exports.EntityRulesEditor = (props) => {
162
161
  background: 'var(--ab-color-action-add)',
163
162
  }, onClick: () => window.open(DocumentationLinkConstants_1.PredicateDocsLink, '_blank') }),
164
163
  "See Predicate documentation for more details and examples")))) : null,
165
- showBoolean ? (React.createElement(QueryTab, { value: "BooleanExpression", type: type, label: "Boolean" })) : null,
164
+ showBoolean ? React.createElement(QueryTab, { value: "BooleanExpression", type: type, label: "Boolean" }) : null,
166
165
  showBoolean ? (React.createElement(Tabs_1.Tabs.Content, { value: 'BooleanExpression', paddingLeft: 0 },
167
166
  React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'boolean', module: module, value: data.Rule.BooleanExpression, onChange: setBooleanExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null,
168
167
  showObservable ? (React.createElement(QueryTab, { value: "ObservableExpression", type: type, label: "Observable" })) : null,
169
168
  showObservable ? (React.createElement(Tabs_1.Tabs.Content, { value: 'ObservableExpression', paddingLeft: 0 },
170
169
  React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'observable', module: module, value: data.Rule.ObservableExpression, onChange: setReactiveExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null,
171
- showAggregation ? (React.createElement(QueryTab, { value: "AggregationExpression", type: type, label: "Aggregation" })) : null,
172
- showAggregation ? (React.createElement(Tabs_1.Tabs.Content, { value: 'AggregationExpression', paddingLeft: 0 },
173
- React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'aggregation', module: module, value: data.Rule.AggregationExpression, onChange: setAggregationExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null)));
170
+ showAggregation ? (React.createElement(QueryTab, { value: "AggregatedBooleanExpression", type: type, label: "AggregatedBoolean" })) : null,
171
+ showAggregation ? (React.createElement(Tabs_1.Tabs.Content, { value: 'AggregatedBooleanExpression', paddingLeft: 0 },
172
+ React.createElement(ExpressionEditor_1.ExpressionEditor, { type: 'aggregatedBoolean', module: module, value: data.Rule.AggregatedBooleanExpression, onChange: setAggregationExpression, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }))) : null)));
174
173
  };
@@ -7,4 +7,4 @@ export declare type AdaptableFormControlTextClearProps = {
7
7
  autoFocus?: boolean;
8
8
  inputStyle?: CSSProperties;
9
9
  } & InputProps;
10
- export declare const AdaptableFormControlTextClear: React.ForwardRefExoticComponent<Pick<AdaptableFormControlTextClearProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "colSpan" | "rowSpan" | "name" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "focusOnClear" | "placehoder" | "OnTextChange" | "inputStyle"> & React.RefAttributes<any>>;
10
+ export declare const AdaptableFormControlTextClear: React.ForwardRefExoticComponent<Pick<AdaptableFormControlTextClearProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "download" | "value" | "checked" | "onClick" | "name" | "colSpan" | "rowSpan" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "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" | "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" | "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" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "headers" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "focusOnClear" | "placehoder" | "OnTextChange" | "inputStyle"> & React.RefAttributes<any>>;
@@ -93,9 +93,9 @@ export declare const PanelWithImage: React.ForwardRefExoticComponent<{
93
93
  value?: string | number | readonly string[];
94
94
  checked?: boolean;
95
95
  onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) & ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void);
96
+ name?: string;
96
97
  colSpan?: number;
97
98
  rowSpan?: number;
98
- name?: string;
99
99
  className?: string;
100
100
  id?: string;
101
101
  lang?: string;
@@ -16,7 +16,7 @@ const CustomSettingsPanelView_1 = require("./CustomSettingsPanelView");
16
16
  const useMenuItems_1 = require("./useMenuItems");
17
17
  const AdaptablePopupDialog_1 = require("./AdaptablePopupDialog");
18
18
  exports.AdaptablePopup = (props) => {
19
- var _a, _b;
19
+ var _a, _b, _c;
20
20
  const adaptable = AdaptableContext_1.useAdaptable();
21
21
  const settingsPanelOptions = adaptable.adaptableOptions.settingsPanelOptions;
22
22
  const settingsPanelTitle = adaptable.api.internalApi.getModuleFriendlyName('SettingsPanel');
@@ -33,16 +33,12 @@ exports.AdaptablePopup = (props) => {
33
33
  let componentModule = props.componentModule;
34
34
  let componentName = props.componentName;
35
35
  // ts forces to check for General, there is no menu item General
36
- const useFirstItem = !props.componentModule;
36
+ const useFirstItem = !props.componentName;
37
37
  if (useFirstItem && firstMenuModule !== 'General') {
38
38
  componentModule = firstMenuModule;
39
39
  }
40
- const isCustomSettingsPanel = componentModule === 'CustomSettingsPanelModule';
41
- if (isCustomSettingsPanel) {
42
- if (useFirstItem) {
43
- componentName = firstMenuItem.label;
44
- }
45
- const customSettingsPanel = settingsPanelOptions.customSettingsPanels.find((settingsPanel) => settingsPanel.name === componentName);
40
+ const customSettingsPanel = (_c = settingsPanelOptions === null || settingsPanelOptions === void 0 ? void 0 : settingsPanelOptions.customSettingsPanels) === null || _c === void 0 ? void 0 : _c.find((customPanel) => useFirstItem ? customPanel.name === firstMenuItem.label : customPanel.name === componentName);
41
+ if (customSettingsPanel) {
46
42
  friendlyName = customSettingsPanel.name;
47
43
  activeItem = customSettingsPanel.name;
48
44
  moduleViewContent = React.createElement(CustomSettingsPanelView_1.CustomSettingsPanelView, { settingsPanel: customSettingsPanel });
@@ -32,9 +32,8 @@ exports.useMenuItems = () => {
32
32
  if (customSettingsPanel) {
33
33
  customPanelMenuItem = {
34
34
  label: customSettingsPanel.name,
35
- module: 'CustomSettingsPanelModule',
36
35
  isVisible: true,
37
- reduxAction: PopupRedux.PopupShowScreen('CustomSettingsPanelModule', customSettingsPanel.name),
36
+ reduxAction: PopupRedux.PopupShowScreen(null, customSettingsPanel.name),
38
37
  };
39
38
  }
40
39
  return customPanelMenuItem || visibleItems.find((item) => item.module === moduleName);
@@ -6,5 +6,6 @@ export interface AdaptablePopupAlertProps {
6
6
  api: AdaptableApi;
7
7
  adaptableAlert: AdaptableAlert;
8
8
  headless?: boolean;
9
+ focusFirstButton?: boolean;
9
10
  }
10
11
  export declare const AdaptablePopupAlert: (props: AdaptablePopupAlertProps) => JSX.Element;
@@ -69,7 +69,7 @@ exports.AdaptablePopupAlert = (props) => {
69
69
  })
70
70
  : msg),
71
71
  React.createElement(rebass_1.Box, { margin: 2 },
72
- React.createElement(AdaptableFormComponent_1.AdaptableFormComponent, { data: formData, formDef: adaptableForm, displayTitle: true, onChange: setFormData, api: props.api, context: context, onButtonClick: (button) => {
72
+ React.createElement(AdaptableFormComponent_1.AdaptableFormComponent, { focusFirstButton: props.focusFirstButton, data: formData, formDef: adaptableForm, displayTitle: true, onChange: setFormData, api: props.api, context: context, onButtonClick: (button) => {
73
73
  props.onClose();
74
74
  // we want to give the current popup time to close
75
75
  // and we reopen with a delay in case this button action causes another popup
@@ -148,7 +148,7 @@ function ValueSelector(props) {
148
148
  borderRadius: 'var(--ab__border-radius)',
149
149
  overflow: 'hidden',
150
150
  }, fontSize: 2, backgroundColor: "defaultbackground" },
151
- React.createElement(CheckBox_1.CheckBox, { disabled: !value.length, checked: selectedOnly, onChange: setSelectedOnly }, showSelectedOnlyLabel !== null && showSelectedOnlyLabel !== void 0 ? showSelectedOnlyLabel : 'Show selected only'))),
151
+ React.createElement(CheckBox_1.CheckBox, { disabled: !value.length, checked: selectedOnly, onChange: setSelectedOnly }, showSelectedOnlyLabel !== null && showSelectedOnlyLabel !== void 0 ? showSelectedOnlyLabel : 'Show Selected Only'))),
152
152
  React.createElement(react_beautiful_dnd_1.Droppable, { droppableId: "droppable" }, (droppableProvided) => {
153
153
  return (React.createElement("div", Object.assign({ ref: droppableProvided.innerRef }, droppableProvided.droppableProps),
154
154
  options
@@ -34,9 +34,9 @@ function ConditionalStyleRuleWizardSection(props) {
34
34
  React.createElement("i", null, "Scope"),
35
35
  " is 'Whole Row' - so any data change may be evaluated in a complex ObservableExpression")),
36
36
  useAggregationQuery: (React.createElement(React.Fragment, null,
37
- "Use an AggregationQuery if ",
37
+ "Use an AggregatedBooleanQuery if ",
38
38
  React.createElement("i", null, "Scope"),
39
- " is 'Whole Row' - so any data change may be evaluated in a complex AggregationExpression")),
39
+ " is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
40
40
  } })));
41
41
  }
42
42
  exports.ConditionalStyleRuleWizardSection = ConditionalStyleRuleWizardSection;
@@ -53,7 +53,7 @@ exports.CustomSortWizard = (props) => {
53
53
  },
54
54
  {
55
55
  title: 'Sort Order',
56
- details: 'Select values to specify Custom Sort order - use the "Drag to reorder" checkbox to modify order',
56
+ details: 'Select values to specify Custom Sort order - use "Drag to reorder" checkbox to modify order',
57
57
  isValid: CustomSortValuesWizardSection_1.isValidCustomSortOrder,
58
58
  renderSummary: CustomSortValuesWizardSection_1.renderCustomSortValuesSummary,
59
59
  render: () => (React.createElement(rebass_1.Box, { padding: 2, style: { height: '100%' } },
@@ -41,8 +41,8 @@ exports.FlashingAlertRulesWizardSection = (props) => {
41
41
  React.createElement("i", null, "Scope"),
42
42
  " is 'Whole Row' - so any data change may be evaluated in a complex ObservableExpression")),
43
43
  useAggregationQuery: (React.createElement(React.Fragment, null,
44
- "Use an AggregationQuery if ",
44
+ "Use an AggregatedBooleanQuery if ",
45
45
  React.createElement("i", null, "Scope"),
46
- " is 'Whole Row' - so any data change may be evaluated in a complex AggregationExpression")),
46
+ " is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
47
47
  } }));
48
48
  };
@@ -65,7 +65,7 @@ exports.FlashingCellWizard = (props) => {
65
65
  title: 'Scope',
66
66
  },
67
67
  {
68
- details: 'Build the rules for when Cells should Flash',
68
+ details: 'Build the Rules for when Cells should Flash',
69
69
  isValid: isValidFlashingCellRules_1.isValidFlashingCellRules,
70
70
  render: () => React.createElement(FlashingCellRulesWizardSection_1.FlashingAlertRulesWizardSection, { onChange: setFlashingCell }),
71
71
  renderSummary: FlashingCellRulesWizardSection_1.renderFlashingAlertRulesSummary,
@@ -113,7 +113,7 @@ function FormatColumnWizard(props) {
113
113
  },
114
114
  {
115
115
  title: 'Style',
116
- details: 'Format Column style',
116
+ details: 'Format Column Style',
117
117
  isValid: FormatColumnStyleWizardSection_1.isFormatColumnStyleValid,
118
118
  renderSummary: FormatColumnStyleWizardSection_1.renderFormatColumnStyleSummary,
119
119
  render: () => {
@@ -37,7 +37,7 @@ const ColumnLabels = (props) => {
37
37
  'Pivotable',
38
38
  'Sortable',
39
39
  ];
40
- const labels = labelNames.map((name) => (columnProperties[name] ? name.charAt(0) : ''));
40
+ const labels = labelNames.map((name) => columnProperties[name.toLocaleLowerCase()] ? name.charAt(0) : '');
41
41
  const flexProps = {
42
42
  [flexDirection === 'row' ? 'alignItems' : 'justifyContent']: 'center',
43
43
  };
@@ -60,6 +60,6 @@ exports.LicenseWatermark = (props) => {
60
60
  return () => clearTimeout(timerId);
61
61
  }, []);
62
62
  return (React.createElement(rebass_1.Flex, { style: style, ref: ref },
63
- React.createElement(Logo_1.Logo, { style: { marginRight: 10, width: 100 } }),
63
+ React.createElement(Logo_1.Logo, { style: { marginRight: 10 } }),
64
64
  React.createElement("div", null, props.children)));
65
65
  };
@@ -33,14 +33,14 @@ function NamedQueryWizard(props) {
33
33
  return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, onFinish: handleFinish, sections: [
34
34
  {
35
35
  title: 'Expression',
36
- details: 'Specify the query expression',
36
+ details: "Specify the Query's Expression",
37
37
  renderSummary: NamedQueryExpressionWizardSection_1.renderNamedQueryExpressionSummary,
38
38
  isValid: NamedQueryExpressionWizardSection_1.isValidNamedQueryExpression,
39
39
  render: () => React.createElement(NamedQueryExpressionWizardSection_1.NamedQueryExpressionWizardSection, { onChange: setNamedQuery }),
40
40
  },
41
41
  {
42
42
  title: 'Query Name',
43
- details: 'Specify a unique name for the query',
43
+ details: 'Specify a unique name for the Query',
44
44
  renderSummary: NamedQuerySettingsWizardSection_1.renderNamedQuerySettingsSummary,
45
45
  isValid: NamedQuerySettingsWizardSection_1.isValidNamedQuerySettings,
46
46
  render: () => {
@@ -50,7 +50,7 @@ function NamedQueryWizard(props) {
50
50
  '-',
51
51
  {
52
52
  title: 'Summary',
53
- details: 'Review your query',
53
+ details: 'Review your Query',
54
54
  render: () => {
55
55
  return (React.createElement(rebass_1.Box, { padding: 2 },
56
56
  React.createElement(OnePageAdaptableWizard_1.OnePageWizardSummary, null)));
@@ -13,10 +13,10 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
13
13
  const react_redux_1 = require("react-redux");
14
14
  const ScheduleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ScheduleRedux"));
15
15
  exports.ScheduleWizard = (props) => {
16
- var _a, _b;
16
+ var _a, _b, _c;
17
17
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : props.popupParams.value;
18
- const isNew = props.popupParams.action ? props.popupParams.action === 'New' : !props.data;
19
- const scheduleType = data ? data.ScheduleType : (_b = props === null || props === void 0 ? void 0 : props.abObjectType) === null || _b === void 0 ? void 0 : _b.name;
18
+ const isNew = ((_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.action) ? props.popupParams.action === 'New' : !props.data;
19
+ const scheduleType = data ? data.ScheduleType : (_c = props === null || props === void 0 ? void 0 : props.abObjectType) === null || _c === void 0 ? void 0 : _c.name;
20
20
  const [schedule, setSchedule] = React.useState(() => {
21
21
  if (data) {
22
22
  return data;
@@ -172,6 +172,7 @@ export declare class Adaptable implements IAdaptable {
172
172
  getRawValueFromRowNode(rowNode: RowNode, columnId: string): any;
173
173
  getDataRowFromRowNode(rowNode: RowNode): any;
174
174
  getRowNodeForPrimaryKey(primaryKeyValue: any): any;
175
+ getRowNodeByIndex(index: number): RowNode;
175
176
  getRowNodesForPrimaryKeys(primaryKeyValues: any[]): any[];
176
177
  forAllRowNodesDo(func: (rowNode: RowNode) => void): void;
177
178
  forAllVisibleRowNodesDo(func: (rowNode: RowNode, rowIndex: number) => void): void;
@@ -291,7 +291,7 @@ class Adaptable {
291
291
  // the 'old' constructor which takes an Adaptable adaptable object
292
292
  // this is still used internally but should not be used externally as a preference
293
293
  async init(adaptableOptions, runtimeConfig, _staticInit) {
294
- var _a, _b, _c, _d, _e, _f, _g;
294
+ var _a, _b, _c, _d, _e, _f;
295
295
  if (!_staticInit) {
296
296
  LoggingHelper_1.ConsoleLogWarning(`
297
297
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -376,7 +376,6 @@ class Adaptable {
376
376
  abColDefDate: (_d = this.gridOptions.columnTypes.abColDefDate) !== null && _d !== void 0 ? _d : {},
377
377
  abColDefObject: (_e = this.gridOptions.columnTypes.abColDefObject) !== null && _e !== void 0 ? _e : {},
378
378
  abColDefCustom: (_f = this.gridOptions.columnTypes.abColDefCustom) !== null && _f !== void 0 ? _f : {},
379
- abColDefNumberArray: (_g = this.gridOptions.columnTypes.abColDefNumberArray) !== null && _g !== void 0 ? _g : {},
380
379
  });
381
380
  if (this.gridOptions.columnTypes.abColDefNumber.cellEditor === undefined) {
382
381
  this.gridOptions.columnTypes.abColDefNumber.cellEditor = AdaptableNumberEditor_1.AdaptableNumberEditor;
@@ -1824,6 +1823,9 @@ class Adaptable {
1824
1823
  });
1825
1824
  }
1826
1825
  }
1826
+ getRowNodeByIndex(index) {
1827
+ return this.gridOptions.api.getDisplayedRowAtIndex(index);
1828
+ }
1827
1829
  getRowNodesForPrimaryKeys(primaryKeyValues) {
1828
1830
  let rowNodes = [];
1829
1831
  if (this.useRowNodeLookUp) {
@@ -2107,11 +2109,10 @@ class Adaptable {
2107
2109
  : true;
2108
2110
  const defaultCalculatedColumnSettings = ObjectFactory_1.CreateEmptyCalculatedColumn(specialColumnsAreFilterable).CalculatedColumnSettings;
2109
2111
  return this.api.calculatedColumnApi.getAllCalculatedColumn().map((calculatedColumn) => {
2110
- var _a;
2111
2112
  const calculatedColumnSettings = Object.assign(Object.assign({}, defaultCalculatedColumnSettings), calculatedColumn.CalculatedColumnSettings);
2112
2113
  if (!calculatedColumnSettings.DataType) {
2113
2114
  calculatedColumnSettings.DataType =
2114
- this.CalculatedColumnExpressionService.GetCalculatedColumnDataType((_a = calculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.ScalarExpression);
2115
+ this.CalculatedColumnExpressionService.getCalculatedColumnDataType(calculatedColumn.Query);
2115
2116
  }
2116
2117
  const columnTypes = [
2117
2118
  GeneralConstants_1.AB_SPECIAL_COLUMN,
@@ -2139,15 +2140,13 @@ class Adaptable {
2139
2140
  suppressMovable: calculatedColumnSettings.SuppressMovable,
2140
2141
  type: columnTypes,
2141
2142
  valueGetter: (params) => {
2142
- var _a;
2143
- return this.CalculatedColumnExpressionService.ComputeExpressionValue((_a = calculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.ScalarExpression, params.node);
2143
+ return this.CalculatedColumnExpressionService.evaluateCalculatedColumnQuery(calculatedColumn, params.node);
2144
2144
  },
2145
2145
  };
2146
2146
  if (calculatedColumnSettings.ShowToolTip != null &&
2147
2147
  calculatedColumnSettings.ShowToolTip == true) {
2148
2148
  newColDef.tooltipValueGetter = () => {
2149
- var _a;
2150
- return (_a = calculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.ScalarExpression;
2149
+ return this.api.queryLanguageApi.getAdaptableQueryExpression(calculatedColumn.Query);
2151
2150
  };
2152
2151
  }
2153
2152
  LoggingHelper_1.LogAdaptableInfo('Setting up Calculated Column: ' + calculatedColumn.ColumnId);
@@ -2596,8 +2595,8 @@ class Adaptable {
2596
2595
  (originalisExternalFilterPresent ? originalisExternalFilterPresent() : false));
2597
2596
  };
2598
2597
  const originaldoesExternalFilterPass = this.gridOptions.doesExternalFilterPass;
2599
- const evaluateQueryOnClient = !this.api.internalApi.isServerSearchOptionSet('Query');
2600
- const evaluateFilterOnClient = !this.api.internalApi.isServerSearchOptionSet('Filter');
2598
+ const evaluateQueryOnClient = this.api.internalApi.runModuleInAdaptableQL('Query');
2599
+ const evaluateFilterOnClient = this.api.internalApi.runModuleInAdaptableQL('Filter');
2601
2600
  this.gridOptions.doesExternalFilterPass = (node) => {
2602
2601
  // first we assess Query (if its running locally)
2603
2602
  if (evaluateQueryOnClient && !this.isGroupRowNode(node)) {
@@ -2843,11 +2842,11 @@ class Adaptable {
2843
2842
  });
2844
2843
  }
2845
2844
  getExcelClassNameForCell(colId, primaryKeyValue) {
2846
- let primaryKeyString = `${primaryKeyValue}`;
2847
- if (primaryKeyString.indexOf(' ') > 0) {
2848
- primaryKeyString.replace(/\s/g, '_');
2845
+ let excelClassName = `--excel-cell-${colId}-${primaryKeyValue}`;
2846
+ if (excelClassName.indexOf(' ') > 0) {
2847
+ excelClassName = excelClassName.replace(/\s/g, '_');
2849
2848
  }
2850
- return `--excel-cell-${colId}-${primaryKeyString}`;
2849
+ return excelClassName;
2851
2850
  }
2852
2851
  setupColumnCellEditor({ colId, col }) {
2853
2852
  const adaptableColumn = this.api.columnApi.getColumnFromId(colId);
@@ -39,7 +39,7 @@ const FormatHelper_1 = tslib_1.__importDefault(require("../Utilities/Helpers/For
39
39
  const CheckboxRenderer_1 = require("./CheckboxRenderer");
40
40
  const DataChangeHistoryModule_1 = require("../Strategy/DataChangeHistoryModule");
41
41
  const FlashingCellModule_1 = require("../Strategy/FlashingCellModule");
42
- const SetingsPanelModule_1 = require("../Strategy/SetingsPanelModule");
42
+ const SettingsPanelModule_1 = require("../Strategy/SettingsPanelModule");
43
43
  const ChartingModule_1 = require("../Strategy/ChartingModule");
44
44
  const tinycolor = require('tinycolor2');
45
45
  /**
@@ -97,7 +97,7 @@ class agGridHelper {
97
97
  modules.set(ModuleConstants.SystemStatusModuleId, new SystemStatusModule_1.SystemStatusModule(api));
98
98
  modules.set(ModuleConstants.ThemeModuleId, new ThemeModule_1.ThemeModule(api));
99
99
  modules.set(ModuleConstants.GridInfoModuleId, new GridInfoModule_1.GridInfoModule(api));
100
- modules.set(ModuleConstants.SettingsPanelModuleId, new SetingsPanelModule_1.SettingsPanelModule(api));
100
+ modules.set(ModuleConstants.SettingsPanelModuleId, new SettingsPanelModule_1.SettingsPanelModule(api));
101
101
  modules.set(ModuleConstants.ChartingModuleId, new ChartingModule_1.ChartingModule(api));
102
102
  return modules;
103
103
  }
@@ -494,7 +494,7 @@ class agGridHelper {
494
494
  dataType = Enums_1.DataType.Date;
495
495
  }
496
496
  else if (Array.isArray(value) && value.length && typeof value[0] === 'number') {
497
- dataType = Enums_1.DataType.NumberArray;
497
+ dataType = Enums_1.DataType.Unknown;
498
498
  }
499
499
  else {
500
500
  switch (typeof value) {
@@ -525,8 +525,6 @@ class agGridHelper {
525
525
  switch (colType) {
526
526
  case 'abColDefNumber':
527
527
  return Enums_1.DataType.Number;
528
- case 'abColDefNumberArray':
529
- return Enums_1.DataType.NumberArray;
530
528
  case 'abColDefString':
531
529
  return Enums_1.DataType.String;
532
530
  case 'abColDefBoolean':
@@ -552,8 +550,6 @@ class agGridHelper {
552
550
  return 'abColDefDate';
553
551
  case Enums_1.DataType.Number:
554
552
  return 'abColDefNumber';
555
- case Enums_1.DataType.NumberArray:
556
- return 'abColDefNumberArray';
557
553
  case Enums_1.DataType.Object:
558
554
  return 'abColDefObject';
559
555
  case Enums_1.DataType.String:
@@ -11,14 +11,16 @@ interface AdaptableFormComponentProps {
11
11
  displayTitle: boolean;
12
12
  api: AdaptableApi;
13
13
  context?: ButtonContext;
14
+ focusFirstButton?: boolean;
14
15
  }
15
- export declare function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabledButtons, api, context, }: {
16
+ export declare function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabledButtons, api, context, focusFirstButton, }: {
16
17
  disabledButtons?: boolean[];
17
18
  defaultTone: SimpleButtonProps['tone'];
18
19
  onClick: (button: AdaptableButton<ButtonContext>) => void;
19
20
  formDef: AdaptableForm<ButtonContext>;
20
21
  api: AdaptableApi;
21
22
  context: ButtonContext;
23
+ focusFirstButton?: boolean;
22
24
  }): JSX.Element;
23
- export declare function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displayTitle, api, context, }: AdaptableFormComponentProps): JSX.Element;
25
+ export declare function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displayTitle, api, context, focusFirstButton, }: AdaptableFormComponentProps): JSX.Element;
24
26
  export {};