@adaptabletools/adaptable 11.0.0-canary.4 → 11.0.0-canary.5

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 (147) hide show
  1. package/base.css +130 -67
  2. package/bundle.cjs.js +86 -86
  3. package/index.css +130 -67
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +7 -5
  8. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +1 -3
  9. package/src/AdaptableOptions/AdaptableOptions.d.ts +10 -1
  10. package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
  11. package/src/AdaptableOptions/AlertOptions.js +2 -0
  12. package/src/AdaptableOptions/ContainerOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/FilterOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -78
  15. package/src/AdaptableOptions/QueryLanguageOptions.d.ts +0 -4
  16. package/src/AdaptableOptions/StateOptions.d.ts +2 -1
  17. package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
  18. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -2
  19. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
  20. package/src/Api/AdaptableApi.d.ts +1 -0
  21. package/src/Api/AlertApi.d.ts +2 -3
  22. package/src/Api/EventApi.d.ts +8 -3
  23. package/src/Api/Events/GridDataChanged.d.ts +4 -2
  24. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
  25. package/src/Api/FreeTextColumnApi.d.ts +0 -12
  26. package/src/Api/IPushPullApi.d.ts +1 -1
  27. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
  28. package/src/Api/Implementation/AlertApiImpl.js +15 -9
  29. package/src/Api/Implementation/ApiBase.d.ts +2 -0
  30. package/src/Api/Implementation/ApiBase.js +3 -0
  31. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
  32. package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
  33. package/src/Api/Implementation/InternalApiImpl.js +1 -1
  34. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
  35. package/src/Api/Implementation/LayoutApiImpl.js +11 -0
  36. package/src/Api/Implementation/QueryApiImpl.js +4 -1
  37. package/src/Api/Implementation/QueryLanguageApiImpl.js +4 -5
  38. package/src/Api/LayoutApi.d.ts +7 -0
  39. package/src/Api/OpenFinApi.d.ts +5 -0
  40. package/src/Api/PluginsApi.d.ts +29 -0
  41. package/src/Api/UserInterfaceApi.d.ts +5 -2
  42. package/src/PredefinedConfig/AlertState.d.ts +2 -4
  43. package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -1
  44. package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
  45. package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
  46. package/src/PredefinedConfig/FlashingCellState.d.ts +3 -1
  47. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
  48. package/src/PredefinedConfig/LayoutState.d.ts +0 -2
  49. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -2
  50. package/src/Redux/ActionsReducers/ApplicationRedux.js +9 -3
  51. package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
  52. package/src/Redux/ActionsReducers/GridRedux.js +3 -1
  53. package/src/Redux/ActionsReducers/PopupRedux.js +13 -3
  54. package/src/Redux/ActionsReducers/QuickSearchRedux.js +3 -1
  55. package/src/Redux/ActionsReducers/SystemRedux.js +3 -1
  56. package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
  57. package/src/Redux/Store/AdaptableStore.js +5 -4
  58. package/src/Strategy/AlertModule.js +4 -3
  59. package/src/Strategy/ConditionalStyleModule.js +4 -0
  60. package/src/Strategy/FlashingCellModule.js +2 -2
  61. package/src/Strategy/FreeTextColumnModule.d.ts +2 -2
  62. package/src/Strategy/FreeTextColumnModule.js +10 -0
  63. package/src/Strategy/LayoutModule.js +1 -6
  64. package/src/Strategy/ToolPanelModule.js +5 -3
  65. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +1 -1
  66. package/src/Strategy/Utilities/getRuleViewItems.d.ts +0 -1
  67. package/src/Strategy/Utilities/getRuleViewItems.js +0 -1
  68. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +6 -4
  69. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  70. package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
  71. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
  72. package/src/Utilities/Helpers/AdaptableHelper.js +1 -0
  73. package/src/Utilities/Helpers/CalendarHelper.js +220 -55
  74. package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
  75. package/src/Utilities/ObjectFactory.js +1 -0
  76. package/src/Utilities/Services/DataService.js +6 -1
  77. package/src/Utilities/Services/QueryLanguageService.js +16 -11
  78. package/src/Utilities/Services/ReportService.js +6 -2
  79. package/src/Utilities/Services/TeamSharingService.js +5 -3
  80. package/src/View/AdaptablePopover/index.js +6 -1
  81. package/src/View/AdaptableView.js +1 -1
  82. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +5 -1
  83. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -2
  84. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -1
  85. package/src/View/AdaptableWizardView/helper.js +3 -1
  86. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
  87. package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
  88. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
  89. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
  90. package/src/View/Components/FilterForm/FilterForm.js +0 -2
  91. package/src/View/Components/FilterForm/QuickFilterForm.js +4 -1
  92. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  93. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  94. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -1
  95. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -0
  96. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -1
  97. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
  98. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -1
  99. package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +5 -12
  100. package/src/View/Components/Popups/AdaptablePopupPrompt.js +38 -37
  101. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +4 -1
  102. package/src/View/Components/ScopeComponent.js +4 -1
  103. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +5 -1
  104. package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -1
  105. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  106. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +8 -0
  107. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +27 -0
  108. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +7 -0
  109. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
  110. package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
  111. package/src/View/Dashboard/Dashboard.js +1 -1
  112. package/src/View/Dashboard/DashboardPopup.js +3 -1
  113. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
  114. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +3 -1
  115. package/src/View/Export/Wizard/ReportRowTypeWizard.js +3 -1
  116. package/src/View/Filter/FilterViewPanel.d.ts +1 -4
  117. package/src/View/Filter/FilterViewPanel.js +1 -3
  118. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -2
  119. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -1
  120. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -1
  121. package/src/View/Layout/Wizard/LayoutEditorWizard.js +7 -1
  122. package/src/View/Query/ExpandedQueryPopup.js +9 -2
  123. package/src/View/Query/QueryViewPanel.js +3 -1
  124. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  125. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
  126. package/src/View/UIHelper.js +4 -1
  127. package/src/View/Wizard/AdaptableWizard.js +12 -3
  128. package/src/View/Wizard/OnePageAdaptableWizard.js +5 -1
  129. package/src/agGrid/Adaptable.d.ts +2 -3
  130. package/src/agGrid/Adaptable.js +96 -54
  131. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  132. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  133. package/src/components/ApplicationIcon.d.ts +1 -0
  134. package/src/components/ApplicationIcon.js +2 -2
  135. package/src/components/Dashboard/Dashboard.js +4 -1
  136. package/src/components/Dropdown/index.js +8 -1
  137. package/src/components/ExpressionEditor/EditorInputReactive.js +3 -1
  138. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +4 -1
  139. package/src/components/ExpressionEditor/index.js +9 -2
  140. package/src/components/SizedContainer/index.js +7 -1
  141. package/src/components/WindowModal/WindowModal.js +4 -1
  142. package/src/metamodel/adaptable.metamodel.d.ts +55 -24
  143. package/src/metamodel/adaptable.metamodel.js +179 -98
  144. package/src/types.d.ts +2 -1
  145. package/themes/dark.css +4 -4
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
@@ -94,7 +94,11 @@ exports.AlertButtonsEditor = (props) => {
94
94
  ' ',
95
95
  StringExtensions_1.default.CapitaliseFirstLetter((_a = buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.variant) !== null && _a !== void 0 ? _a : 'raised'))),
96
96
  React.createElement(DropdownButton_1.default, { columns: ['label'], marginLeft: 2, style: { minWidth: 120 }, items: [
97
- { label: 'Use Alert Tone', value: 'text', onClick: () => setTone(null) },
97
+ {
98
+ label: 'Use Alert Tone',
99
+ value: 'text',
100
+ onClick: () => setTone(null),
101
+ },
98
102
  ...['success', 'info', 'error', 'warning', 'accent', 'neutral'].map((tone) => {
99
103
  return {
100
104
  label: StringExtensions_1.default.CapitaliseFirstLetter(tone),
@@ -38,8 +38,7 @@ class CellSummaryViewPanelComponent extends React.Component {
38
38
  onClick: () => this.props.onCellSummaryOperationChange(summaryOperation),
39
39
  };
40
40
  });
41
- const cellSummaryOperationDefinitions = this.props.api.internalApi.getAdaptableOptions()
42
- .generalOptions.cellSummaryOperations;
41
+ const cellSummaryOperationDefinitions = this.props.api.internalApi.getAdaptableOptions().generalOptions.cellSummaryOperations;
43
42
  const operationDefinitions = ArrayExtensions_1.default.IsNullOrEmpty(cellSummaryOperationDefinitions)
44
43
  ? []
45
44
  : cellSummaryOperationDefinitions.map((operationDefinition) => {
@@ -45,13 +45,16 @@ exports.AdaptableObjectListItem = (props) => {
45
45
  };
46
46
  const hasSuspend = Boolean(viewOptions.getSuspendAction);
47
47
  const actions = (_e = (_d = viewOptions === null || viewOptions === void 0 ? void 0 : viewOptions.actions) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.call(_d, (component, index) => {
48
- return React.createElement(component, { data: props.data.abObject, key: index });
48
+ return React.createElement(component, {
49
+ data: props.data.abObject,
50
+ key: index,
51
+ });
49
52
  });
50
53
  const iconSize = 26;
51
54
  return (React.createElement(rebass_1.Flex, { as: "li", mb: 3, className: itemClassName },
52
55
  React.createElement(rebass_1.Box, { flex: 1, className: `${baseClassName}__rows` }, (_f = props.data.items) === null || _f === void 0 ? void 0 : _f.map((tag, index) => {
53
56
  var _a;
54
- return (React.createElement(rebass_1.Flex, { key: index, mb: 2, className: `${baseClassName}__row` },
57
+ return (React.createElement(rebass_1.Flex, { "data-name": tag.name, key: index, mb: 2, className: `${baseClassName}__row` },
55
58
  React.createElement(rebass_1.Box, { className: `${baseClassName}__label`, mr: 3 },
56
59
  tag.label || tag.name,
57
60
  EditWizard && (React.createElement(SimpleButton_1.default, { accessLevel: accessLevel, className: `${baseClassName}__edit-property`, ml: 1, icon: "edit", tooltip: "edit", iconSize: 18, variant: "text", onClick: () => {
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const FilterRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FilterRedux"));
8
- const PopupRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/PopupRedux"));
9
8
  const Enums_1 = require("../../../PredefinedConfig/Common/Enums");
10
9
  const ListBoxFilterForm_1 = require("./ListBoxFilterForm");
11
10
  const ButtonClose_1 = require("../Buttons/ButtonClose");
@@ -276,7 +275,6 @@ function mapDispatchToProps(dispatch) {
276
275
  onAddColumnFilter: (columnFilter) => dispatch(FilterRedux.ColumnFilterAdd(columnFilter)),
277
276
  onEditColumnFilter: (columnFilter) => dispatch(FilterRedux.ColumnFilterEdit(columnFilter)),
278
277
  onSetColumnFilter: (columnFilter) => dispatch(FilterRedux.ColumnFilterSet(columnFilter)),
279
- onShowPrompt: (prompt) => dispatch(PopupRedux.PopupShowPrompt(prompt)),
280
278
  onHideFilterForm: () => dispatch(FilterRedux.FilterFormHide()),
281
279
  };
282
280
  }
@@ -130,7 +130,10 @@ class QuickFilterFormComponent extends React.Component {
130
130
  predicateDefs.map((p) => (React.createElement(SimpleButton_1.default, { key: p.id, p: 2, variant: "text", tone: (filter === null || filter === void 0 ? void 0 : filter.Predicate.PredicateId) === p.id ? 'info' : 'none', onClick: () => this.selectColumnPredicate(p.id) },
131
131
  React.createElement("span", { style: { width: 20, marginRight: 10 } }, this.renderPredicateIcon(p)),
132
132
  p.label))))) },
133
- React.createElement(SimpleButton_1.default, { style: { borderRadius: 0, borderColor: 'var(--ab-color-primarydark)' } }, this.renderPredicateIcon(activePredicateDef)))),
133
+ React.createElement(SimpleButton_1.default, { style: {
134
+ borderRadius: 0,
135
+ borderColor: 'var(--ab-color-primarydark)',
136
+ } }, this.renderPredicateIcon(activePredicateDef)))),
134
137
  showQuickFilterInput && this.renderLabel(filter, activePredicateDef),
135
138
  showQuickFilterInput && this.renderPredicateInput(activePredicateDef, filter)));
136
139
  }
@@ -1,3 +1,3 @@
1
1
  import { AdaptableColumn } from '../../../PredefinedConfig/Common/AdaptableColumn';
2
2
  import { SystemFilterPredicateId } from '../../../PredefinedConfig/FilterState';
3
- export declare const getDefaultColumnFilterPredicate: (column: AdaptableColumn, defaultColumnFilter: "After" | "Before" | "Today" | "Yesterday" | "Tomorrow" | "Values" | "Blanks" | "NonBlanks" | "GreaterThan" | "LessThan" | "Positive" | "Negative" | "Zero" | "Equals" | "NotEquals" | "Between" | "NotBetween" | "Is" | "IsNot" | "Contains" | "NotContains" | "StartsWith" | "EndsWith" | "Regex" | "ThisWeek" | "ThisMonth" | "ThisQuarter" | "ThisYear" | "InPast" | "InFuture" | "On" | "NotOn" | "NextWorkDay" | "LastWorkDay" | "InRange" | "True" | "False" | "BooleanToggle" | ((column: AdaptableColumn) => SystemFilterPredicateId)) => SystemFilterPredicateId;
3
+ export declare const getDefaultColumnFilterPredicate: (column: AdaptableColumn, defaultColumnFilter: "Before" | "After" | "Today" | "Yesterday" | "Tomorrow" | "Values" | "Blanks" | "NonBlanks" | "GreaterThan" | "LessThan" | "Positive" | "Negative" | "Zero" | "Equals" | "NotEquals" | "Between" | "NotBetween" | "Is" | "IsNot" | "Contains" | "NotContains" | "StartsWith" | "EndsWith" | "Regex" | "ThisWeek" | "ThisMonth" | "ThisQuarter" | "ThisYear" | "InPast" | "InFuture" | "On" | "NotOn" | "NextWorkDay" | "LastWorkDay" | "InRange" | "True" | "False" | "BooleanToggle" | ((column: AdaptableColumn) => SystemFilterPredicateId)) => SystemFilterPredicateId;
@@ -148,7 +148,7 @@ export declare const PanelWithImage: React.ForwardRefExoticComponent<{
148
148
  'aria-rowspan'?: number;
149
149
  'aria-selected'?: boolean | "false" | "true";
150
150
  'aria-setsize'?: number;
151
- 'aria-sort'?: "none" | "ascending" | "descending" | "other";
151
+ 'aria-sort'?: "none" | "other" | "ascending" | "descending";
152
152
  'aria-valuemax'?: number;
153
153
  'aria-valuemin'?: number;
154
154
  'aria-valuenow'?: number;
@@ -16,11 +16,13 @@ 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
20
  const adaptable = AdaptableContext_1.useAdaptable();
20
21
  const settingsPanelOptions = adaptable.adaptableOptions.settingsPanelOptions;
21
22
  const settingsPanelTitle = adaptable.api.internalApi.getModuleFriendlyName('SettingsPanel');
22
23
  const menuItems = useMenuItems_1.useMenuItems();
23
24
  const isWindowModal = settingsPanelOptions.popupType === 'window';
25
+ const modalContainer = (_b = (_a = adaptable.adaptableOptions) === null || _a === void 0 ? void 0 : _a.containerOptions) === null || _b === void 0 ? void 0 : _b.modalContainer;
24
26
  let friendlyName = null;
25
27
  let isActionModule = false;
26
28
  let moduleViewContent = null;
@@ -68,7 +70,7 @@ exports.AdaptablePopup = (props) => {
68
70
  }
69
71
  },
70
72
  } },
71
- React.createElement(AdaptablePopupDialog_1.AdaptablePopupDialog, { baseClassName: baseClassName, className: className, friendlyName: friendlyName, isActionModule: isActionModule, isWindowModal: isWindowModal, onHide: props.onHide },
73
+ React.createElement(AdaptablePopupDialog_1.AdaptablePopupDialog, { baseClassName: baseClassName, className: className, friendlyName: friendlyName, isActionModule: isActionModule, isWindowModal: isWindowModal, onHide: props.onHide, modalContainer: modalContainer },
72
74
  !isActionModule && React.createElement(TopBar_1.default, { icon: settingsPanelOptions.icon }, settingsPanelTitle),
73
75
  React.createElement(rebass_1.Flex, { "data-name": props.componentName, flexDirection: "row", flex: "1 1 0", style: { minHeight: 0 }, className: accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '' },
74
76
  !isActionModule && (React.createElement(Navigation_1.Navigation, { menuItems: menuItems, api: props.api, activeItem: activeItem, customSettingsPanels: settingsPanelOptions.customSettingsPanels })),
@@ -7,4 +7,5 @@ export declare const AdaptablePopupDialog: React.FunctionComponent<{
7
7
  isWindowModal: boolean;
8
8
  onHide: () => void;
9
9
  style?: React.CSSProperties;
10
+ modalContainer?: string | HTMLElement;
10
11
  }>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdaptablePopupDialog = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
+ const react_dom_1 = require("react-dom");
6
7
  const react_redux_1 = require("react-redux");
7
8
  const Dialog_1 = tslib_1.__importDefault(require("../../../../components/Dialog"));
8
9
  const SystemRedux_1 = require("../../../../Redux/ActionsReducers/SystemRedux");
@@ -42,7 +43,30 @@ const PopupDialog = (props) => {
42
43
  return (React.createElement(Dialog_1.default, Object.assign({ fixed: false, style: props.style, padding: 0, height: '90vh', width: '90vw', className: className, onDismiss: onHide, isOpen: true, showCloseButton: true }, dialogProps), children));
43
44
  };
44
45
  exports.AdaptablePopupDialog = (props) => {
45
- const { isActionModule, style, friendlyName, baseClassName, className, children, onHide, isWindowModal, } = props;
46
+ const { isActionModule, style, friendlyName, baseClassName, className, children, onHide, isWindowModal, modalContainer, } = props;
47
+ const elementRef = React.useMemo(() => {
48
+ if (!modalContainer) {
49
+ return null;
50
+ }
51
+ let ref = null;
52
+ if (typeof modalContainer === 'string') {
53
+ ref = globalThis.document.querySelector(modalContainer);
54
+ }
55
+ else {
56
+ ref = modalContainer;
57
+ }
58
+ return ref;
59
+ }, [modalContainer]);
60
+ if (modalContainer) {
61
+ let ref = null;
62
+ if (typeof modalContainer === 'string') {
63
+ ref = globalThis.document.querySelector(modalContainer);
64
+ }
65
+ else {
66
+ ref = modalContainer;
67
+ }
68
+ return react_dom_1.createPortal(React.createElement(Dialog_1.default, { modal: false, fixed: false, onDismiss: onHide, className: className }, children), ref);
69
+ }
46
70
  if (isWindowModal) {
47
71
  const settingsPanelOptionsKey = isActionModule ? `action-${friendlyName}` : 'settings';
48
72
  return (React.createElement(WindowDialog, { settingsPanelOptionsKey: settingsPanelOptionsKey, isActionModule: isActionModule, onHide: onHide, style: style, baseClassName: baseClassName, className: className }, children));
@@ -13,17 +13,18 @@ exports.TopBar = (props) => {
13
13
  const adaptable = AdaptableContext_1.useAdaptable();
14
14
  const applicationIcon = (_a = adaptable.api.internalApi.getAdaptableOptions().userInterfaceOptions) === null || _a === void 0 ? void 0 : _a.applicationIcon;
15
15
  let icon = React.createElement(React.Fragment, null);
16
+ const iconClassName = `${baseClassName}__Icon`;
16
17
  if (props.icon === 'ConfigurationIcon') {
17
- icon = React.createElement(icons_1.Icon, { className: `${baseClassName}__Icon`, name: "settings" });
18
+ icon = React.createElement(icons_1.Icon, { className: iconClassName, name: "settings" });
18
19
  }
19
20
  else if (props.icon === 'ApplicationIcon' && applicationIcon) {
20
- icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: applicationIcon });
21
+ icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { className: iconClassName, icon: applicationIcon });
21
22
  }
22
23
  else if (typeof props.icon === 'object' && props.icon.src) {
23
- icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: props.icon });
24
+ icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { className: iconClassName, icon: props.icon });
24
25
  }
25
26
  return (React.createElement(rebass_1.Flex, { flex: 0, className: baseClassName },
26
27
  icon,
27
- React.createElement(rebass_1.Text, null, props.children)));
28
+ React.createElement(rebass_1.Text, { className: `${baseClassName}__Title` }, props.children)));
28
29
  };
29
30
  exports.default = exports.TopBar;
@@ -14,7 +14,9 @@ class AdaptablePopupConfirmation extends React.Component {
14
14
  constructor(props) {
15
15
  super(props);
16
16
  this.changeContent = (e) => {
17
- this.setState({ PromptText: e.target.value });
17
+ this.setState({
18
+ PromptText: e.target.value,
19
+ });
18
20
  };
19
21
  this.state = { PromptText: '' };
20
22
  }
@@ -1,18 +1,11 @@
1
1
  import * as React from 'react';
2
- export interface AdaptablePopupPromptProps extends React.ClassAttributes<AdaptablePopupPrompt> {
3
- showPopup: boolean;
2
+ import { Action } from 'redux';
3
+ export interface AdaptablePopupPromptProps {
4
4
  header: string;
5
5
  message: string;
6
6
  onClose: () => void;
7
7
  onConfirm: Function;
8
+ onConfirmActionCreator?: (inputText: string) => Action;
9
+ defaultValue?: string;
8
10
  }
9
- export interface AdaptablePopupPromptState {
10
- promptText: string;
11
- }
12
- export declare class AdaptablePopupPrompt extends React.Component<AdaptablePopupPromptProps, AdaptablePopupPromptState> {
13
- constructor(props: AdaptablePopupPromptProps);
14
- render(): JSX.Element;
15
- onCloseForm(): void;
16
- onConfirmmForm(): void;
17
- changeContent: (e: any) => void;
18
- }
11
+ export declare const AdaptablePopupPrompt: React.FunctionComponent<AdaptablePopupPromptProps>;
@@ -8,40 +8,41 @@ const Dialog_1 = tslib_1.__importDefault(require("../../../components/Dialog"));
8
8
  const rebass_1 = require("rebass");
9
9
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
10
10
  const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
11
- class AdaptablePopupPrompt extends React.Component {
12
- constructor(props) {
13
- super(props);
14
- this.changeContent = (e) => {
15
- this.setState({ promptText: e.target.value });
16
- };
17
- this.state = { promptText: '' };
18
- }
19
- render() {
20
- return (this.props.showPopup && (React.createElement(Dialog_1.default, { modal: true, "data-name": `prompt-popup`, isOpen: this.props.showPopup, onDismiss: this.props.onClose, showCloseButton: false, style: { minHeight: 'auto', maxWidth: '50%' } },
21
- React.createElement(rebass_1.Flex, { flexDirection: "column" },
22
- React.createElement(rebass_1.Box, { marginTop: 3, mx: 2 }, this.props.header),
23
- StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.props.message) && (React.createElement(rebass_1.Box, { marginTop: 3, mx: 2 },
24
- ' ',
25
- React.createElement("div", { style: { display: 'flex', alignItems: 'center' } }, this.props.message.split('\n').map(function (item, index) {
26
- return (React.createElement("span", { key: index },
27
- item,
28
- React.createElement("br", null)));
29
- })))),
30
- React.createElement(Input_1.default, { autoFocus: true, marginTop: 3, mx: 3, value: this.state.promptText, type: "string", placeholder: "Enter text", onChange: (e) => this.changeContent(e) }),
31
- React.createElement(rebass_1.Box, { marginTop: 3 },
32
- React.createElement(rebass_1.Flex, { padding: 2 },
33
- React.createElement(SimpleButton_1.default, { tone: "accent", "data-name": "ok", variant: "raised", disabled: StringExtensions_1.StringExtensions.IsNullOrEmpty(this.state.promptText), onClick: () => this.onConfirmmForm() }, "OK"),
34
- React.createElement("div", { style: { flex: 1 } }),
35
- React.createElement(SimpleButton_1.default, { tone: "neutral", variant: "raised", onClick: () => this.onCloseForm(), "data-name": "cancel" }, "Cancel")))))));
36
- }
37
- onCloseForm() {
38
- this.setState({ promptText: '' });
39
- this.props.onClose();
40
- }
41
- onConfirmmForm() {
42
- let promptText = this.state.promptText;
43
- this.setState({ promptText: '' });
44
- this.props.onConfirm(promptText);
45
- }
46
- }
47
- exports.AdaptablePopupPrompt = AdaptablePopupPrompt;
11
+ const react_redux_1 = require("react-redux");
12
+ exports.AdaptablePopupPrompt = (props) => {
13
+ var _a;
14
+ const dispatch = react_redux_1.useDispatch();
15
+ const [promptText, setPromptText] = React.useState((_a = props.defaultValue) !== null && _a !== void 0 ? _a : '');
16
+ const onCloseForm = () => {
17
+ setPromptText('');
18
+ props.onClose();
19
+ };
20
+ const onConfirmForm = () => {
21
+ props.onConfirm(promptText);
22
+ const confirmationAction = typeof props.onConfirmActionCreator === 'function' &&
23
+ props.onConfirmActionCreator(promptText);
24
+ if (confirmationAction) {
25
+ dispatch(confirmationAction);
26
+ }
27
+ setPromptText('');
28
+ };
29
+ const changeContent = (e) => {
30
+ setPromptText(e.target.value);
31
+ };
32
+ return (React.createElement(Dialog_1.default, { modal: true, "data-name": `prompt-popup`, isOpen: true, onDismiss: props.onClose, showCloseButton: false, style: { minHeight: 'auto', maxWidth: '50%' } },
33
+ React.createElement(rebass_1.Flex, { flexDirection: "column" },
34
+ React.createElement(rebass_1.Box, { marginTop: 3, mx: 2 }, props.header),
35
+ StringExtensions_1.StringExtensions.IsNotNullOrEmpty(props.message) && (React.createElement(rebass_1.Box, { marginTop: 3, mx: 2 },
36
+ ' ',
37
+ React.createElement("div", { style: { display: 'flex', alignItems: 'center' } }, props.message.split('\n').map(function (item, index) {
38
+ return (React.createElement("span", { key: index },
39
+ item,
40
+ React.createElement("br", null)));
41
+ })))),
42
+ React.createElement(Input_1.default, { autoFocus: true, marginTop: 3, mx: 3, value: promptText, type: "string", placeholder: "Enter text", onChange: (e) => changeContent(e) }),
43
+ React.createElement(rebass_1.Box, { marginTop: 3 },
44
+ React.createElement(rebass_1.Flex, { padding: 2 },
45
+ React.createElement(SimpleButton_1.default, { tone: "accent", "data-name": "ok", variant: "raised", disabled: StringExtensions_1.StringExtensions.IsNullOrEmpty(promptText), onClick: () => onConfirmForm() }, "OK"),
46
+ React.createElement("div", { style: { flex: 1 } }),
47
+ React.createElement(SimpleButton_1.default, { tone: "neutral", variant: "raised", onClick: () => onCloseForm(), "data-name": "cancel" }, "Cancel"))))));
48
+ };
@@ -14,7 +14,10 @@ const HelpBlock_1 = tslib_1.__importDefault(require("../../../components/HelpBlo
14
14
  const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
15
15
  exports.AdaptablePopupTeamSharing = (props) => {
16
16
  const { showPopup, onClose, onConfirm, header } = props;
17
- const [config, setConfig] = react_1.useState({ description: '', type: 'Snapshot' });
17
+ const [config, setConfig] = react_1.useState({
18
+ description: '',
19
+ type: 'Snapshot',
20
+ });
18
21
  return (React.createElement(React.Fragment, null,
19
22
  React.createElement(Dialog_1.default, { modal: true, "data-name": "teamsharing-popup", isOpen: showPopup, onDismiss: onClose, autoFocus: false, showCloseButton: false, style: { minHeight: 'auto', maxWidth: '50%' } },
20
23
  React.createElement(rebass_1.Flex, { flexDirection: "column" },
@@ -99,7 +99,10 @@ class ScopeComponent extends React.Component {
99
99
  };
100
100
  newScopeChoice = 'All';
101
101
  }
102
- this.setState({ ScopeChoice: newScopeChoice, componentScope: newScope }, () => this.forceUpdate());
102
+ this.setState({
103
+ ScopeChoice: newScopeChoice,
104
+ componentScope: newScope,
105
+ }, () => this.forceUpdate());
103
106
  this.props.updateScope(newScope);
104
107
  }
105
108
  onColumnsSelectedChanged(columnFriendlyNames) {
@@ -19,7 +19,11 @@ exports.CustomToolPanelContent = (props) => {
19
19
  react_1.useLayoutEffect(() => {
20
20
  const node = contentsDivDomRef.current;
21
21
  if (hasCustomRenderFn(customToolPanel)) {
22
- const html = customToolPanel.render({ visible: true, node, adaptableApi: api });
22
+ const html = customToolPanel.render({
23
+ visible: true,
24
+ node,
25
+ adaptableApi: api,
26
+ });
23
27
  setContentsHTML(html);
24
28
  }
25
29
  else if (hasCustomFrameworkComponent(customToolPanel)) {
@@ -86,7 +86,9 @@ class ToolPanelPopupComponent extends React.Component {
86
86
  onShowGridPropertiesChanged(event) {
87
87
  let e = event.target;
88
88
  let ToolPanelConfigView = e.value;
89
- this.setState({ ToolPanelConfigView: ToolPanelConfigView });
89
+ this.setState({
90
+ ToolPanelConfigView: ToolPanelConfigView,
91
+ });
90
92
  }
91
93
  onToolPanelToolPanelsChanged(selectedValues) {
92
94
  const currentSelectedToolPanelDefinitions = this.props.ToolPanelState.ToolPanels;
@@ -40,7 +40,7 @@ exports.ToolPanelWrapper = (props) => {
40
40
  ];
41
41
  }
42
42
  };
43
- const [toolPanelName, toolPanelHeader, toolPanelContent, moduleInfo,] = getToolPanelConfiguration();
43
+ const [toolPanelName, toolPanelHeader, toolPanelContent, moduleInfo] = getToolPanelConfiguration();
44
44
  const isMinimised = visibilityMode === 'collapsed';
45
45
  const isConfigurable =
46
46
  // only module toolPanels are configurable
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { ConditionalStyle } from '../../../../types';
3
+ export declare const renderConditionalStyleSettingsSummary: (data: ConditionalStyle) => JSX.Element;
4
+ interface ConditionalStyleSettingsWizardSettingsProps {
5
+ onChange: (data: ConditionalStyle) => void;
6
+ }
7
+ export declare const ConditionalStyleSettingsWizardSettings: React.FunctionComponent<ConditionalStyleSettingsWizardSettingsProps>;
8
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConditionalStyleSettingsWizardSettings = exports.renderConditionalStyleSettingsSummary = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const rebass_1 = require("rebass");
7
+ const CheckBox_1 = require("../../../components/CheckBox");
8
+ const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
9
+ const Tabs_1 = require("../../../components/Tabs");
10
+ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
+ exports.renderConditionalStyleSettingsSummary = (data) => (React.createElement(rebass_1.Box, { padding: 2 },
12
+ React.createElement(rebass_1.Text, null, "Include grouped rows"),
13
+ React.createElement(rebass_1.Text, { mt: 3 }, data.IncludeGroupedRows ? 'Yes' : 'No')));
14
+ exports.ConditionalStyleSettingsWizardSettings = (props) => {
15
+ const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
16
+ const onIncludeGroupedRowsChanged = (checked) => {
17
+ props.onChange(Object.assign(Object.assign({}, data), { IncludeGroupedRows: checked }));
18
+ };
19
+ return (React.createElement(Tabs_1.Tabs, null,
20
+ React.createElement(Tabs_1.Tabs.Tab, null, "Settings"),
21
+ React.createElement(Tabs_1.Tabs.Content, null,
22
+ React.createElement(rebass_1.Flex, { flexDirection: "row" },
23
+ React.createElement(FormLayout_1.default, null,
24
+ React.createElement(FormLayout_1.FormRow, { label: "Include Grouped Rows:" },
25
+ React.createElement(rebass_1.Flex, { alignItems: "center", marginLeft: 2 },
26
+ React.createElement(CheckBox_1.CheckBox, { checked: data.IncludeGroupedRows, onChange: onIncludeGroupedRowsChanged, mr: 2 }))))))));
27
+ };
@@ -17,6 +17,7 @@ const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
17
17
  const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
18
18
  const react_redux_1 = require("react-redux");
19
19
  const ConditionalStyleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ConditionalStyleRedux"));
20
+ const ConditionalStyleSettingsWizardSettings_1 = require("./ConditionalStyleSettingsWizardSettings");
20
21
  exports.ConditionalStyleWizard = (props) => {
21
22
  var _a;
22
23
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : props.popupParams.value;
@@ -84,6 +85,12 @@ exports.ConditionalStyleWizard = (props) => {
84
85
  },
85
86
  renderSummary: ConditionalStyleRuleWizardSection_1.renderConditionalStyleRuleSummary,
86
87
  },
88
+ {
89
+ title: 'Settings',
90
+ renderSummary: ConditionalStyleSettingsWizardSettings_1.renderConditionalStyleSettingsSummary,
91
+ render: () => (React.createElement(rebass_1.Box, { padding: 2 },
92
+ React.createElement(ConditionalStyleSettingsWizardSettings_1.ConditionalStyleSettingsWizardSettings, { onChange: setConditionalStyle }))),
93
+ },
87
94
  '-',
88
95
  {
89
96
  details: 'Review the Conditional Style',
@@ -55,7 +55,9 @@ exports.CustomSortValuesWizardSection = (props) => {
55
55
  return sortedValuesMap.has(option);
56
56
  }, [sortedValuesMap]);
57
57
  const options = react_1.useMemo(() => {
58
- return sortWithOrder_1.sortWithOrderArray(distinctValues, data.SortedValues, { sortUnorderedItems: false });
58
+ return sortWithOrder_1.sortWithOrderArray(distinctValues, data.SortedValues, {
59
+ sortUnorderedItems: false,
60
+ });
59
61
  }, [allowReorder, distinctValues, data.SortedValues]);
60
62
  const baseClassName = 'ab-CustomSortWizard__SortOrder';
61
63
  const className = join_1.default(baseClassName, isDistinctValuesLoading && `${baseClassName}--loading`);
@@ -17,7 +17,11 @@ exports.CustomToolbarWrapper = (props) => {
17
17
  const node = contentsDivRef.current;
18
18
  const adaptableApi = api;
19
19
  if (props.customToolbar.render) {
20
- const html = props.customToolbar.render({ visible: true, node, adaptableApi });
20
+ const html = props.customToolbar.render({
21
+ visible: true,
22
+ node,
23
+ adaptableApi,
24
+ });
21
25
  setContentsHTML(html);
22
26
  }
23
27
  else if (props.customToolbar.frameworkComponent) {
@@ -150,7 +150,7 @@ const DashboardComponent = (props) => {
150
150
  props.onSetFloatingPosition(FloatingPositionCallback);
151
151
  }
152
152
  }, left: React.createElement(React.Fragment, null,
153
- React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon }),
153
+ React.createElement(ApplicationIcon_1.ApplicationIcon, { className: "ab-Dashboard__application-icon", icon: props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon }),
154
154
  dashboardOptions.buttonsLocation === 'left' && renderModuleButtons()), right: React.createElement(React.Fragment, null,
155
155
  renderDashboardButtons(),
156
156
  dashboardOptions.buttonsLocation === 'right' && renderModuleButtons(),
@@ -90,7 +90,9 @@ class DashboardPopupComponent extends React.Component {
90
90
  onDashboardConfigViewChanged(event) {
91
91
  let e = event.target;
92
92
  let dashboardConfigView = e.value;
93
- this.setState({ DashboardConfigView: dashboardConfigView });
93
+ this.setState({
94
+ DashboardConfigView: dashboardConfigView,
95
+ });
94
96
  }
95
97
  }
96
98
  function mapStateToProps(state, ownProps) {
@@ -189,7 +189,8 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
189
189
  const layoutColumns = options.predefinedConfig.Layout.Layouts[0].Columns;
190
190
  if (layoutColumns.includes('undoActionColumn')) {
191
191
  // remove action column from layout
192
- options.predefinedConfig.Layout.Layouts[0].Columns = layoutColumns.filter((columnId) => columnId !== 'undoActionColumn');
192
+ options.predefinedConfig.Layout.Layouts[0].Columns =
193
+ layoutColumns.filter((columnId) => columnId !== 'undoActionColumn');
193
194
  }
194
195
  }
195
196
  return options;
@@ -44,7 +44,9 @@ class ReportColumnTypeWizard extends React.Component {
44
44
  }, () => this.props.updateGoBackState());
45
45
  }
46
46
  else {
47
- this.setState({ ReportColumnScope: Enums_1.ReportColumnScope.ScopeColumns }, () => this.props.updateGoBackState());
47
+ this.setState({
48
+ ReportColumnScope: Enums_1.ReportColumnScope.ScopeColumns,
49
+ }, () => this.props.updateGoBackState());
48
50
  }
49
51
  }
50
52
  canNext() {
@@ -44,7 +44,9 @@ class ReportRowTypeWizard extends React.Component {
44
44
  }, () => this.props.updateGoBackState());
45
45
  }
46
46
  else {
47
- this.setState({ ReportRowScope: Enums_1.ReportRowScope.ExpressionRows }, () => this.props.updateGoBackState());
47
+ this.setState({
48
+ ReportRowScope: Enums_1.ReportRowScope.ExpressionRows,
49
+ }, () => this.props.updateGoBackState());
48
50
  }
49
51
  }
50
52
  canNext() {
@@ -1,13 +1,10 @@
1
1
  import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
2
- import { UIPrompt } from '../../Utilities/Interface/MessagePopups';
3
- import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
4
2
  import * as FilterRedux from '../../Redux/ActionsReducers/FilterRedux';
5
3
  import { ColumnFilter } from '../../PredefinedConfig/FilterState';
6
4
  import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
7
5
  import { Entitlement } from '../../PredefinedConfig/Common/Entitlement';
8
6
  import * as React from 'react';
9
7
  export interface FilterViewPanelComponentProps extends ViewPanelProps {
10
- onShowPrompt: (prompt: UIPrompt) => PopupRedux.PopupShowPromptAction;
11
8
  onHideQuickFilterBar: () => FilterRedux.QuickFilterBarHideAction;
12
9
  onShowQuickFilterBar: () => FilterRedux.QuickFilterBarShowAction;
13
10
  ColumnFilters: ColumnFilter[];
@@ -21,5 +18,5 @@ declare class FilterViewPanelComponent extends React.Component<FilterViewPanelCo
21
18
  private onClearFilters;
22
19
  private onClearColumnFilter;
23
20
  }
24
- export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, any>;
21
+ export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, Pick<React.ClassAttributes<FilterViewPanelComponent> & FilterViewPanelComponentProps, "ref" | "key">>;
25
22
  export {};
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FilterViewPanelControl = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
6
5
  const FilterRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/FilterRedux"));
7
6
  const React = tslib_1.__importStar(require("react"));
8
7
  const ActiveFiltersPanel_1 = require("./ActiveFiltersPanel");
@@ -37,7 +36,7 @@ class FilterViewPanelComponent extends React.Component {
37
36
  this.props.api.filterApi.clearColumnFilterByColumn(columnFilter.ColumnId);
38
37
  }
39
38
  }
40
- function mapStateToProps(state, ownProps) {
39
+ function mapStateToProps(state) {
41
40
  return {
42
41
  ColumnFilters: state.Filter.ColumnFilters,
43
42
  IsQuickFilterVisible: state.Filter.IsQuickFilterVisible,
@@ -45,7 +44,6 @@ function mapStateToProps(state, ownProps) {
45
44
  }
46
45
  function mapDispatchToProps(dispatch) {
47
46
  return {
48
- onShowPrompt: (prompt) => dispatch(PopupRedux.PopupShowPrompt(prompt)),
49
47
  onHideQuickFilterBar: () => dispatch(FilterRedux.QuickFilterBarHide()),
50
48
  onShowQuickFilterBar: () => dispatch(FilterRedux.QuickFilterBarShow()),
51
49
  };
@@ -49,8 +49,7 @@ class FreeTextColumnSummaryComponent extends React.Component {
49
49
  this.state.editedAdaptableObject && (React.createElement(FreeTextColumnWizard_1.FreeTextColumnWizard, { moduleInfo: this.props.moduleInfo, data: this.state.editedAdaptableObject, configEntities: this.props.FreeTextColumns, onCloseWizard: () => this.onCloseWizard(), onFinishWizard: this.onFinishWizard }))));
50
50
  }
51
51
  onNew() {
52
- const specialColumnsAreFilterable = this.props.api.internalApi.getAdaptableOptions()
53
- .filterOptions.enableFilterOnSpecialColumns;
52
+ const specialColumnsAreFilterable = this.props.api.internalApi.getAdaptableOptions().filterOptions.enableFilterOnSpecialColumns;
54
53
  let configEntity = ObjectFactory_1.ObjectFactory.CreateEmptyFreeTextColumn(specialColumnsAreFilterable);
55
54
  configEntity.ColumnId = this.props.summarisedColumn.columnId;
56
55
  this.setState({
@@ -92,7 +92,10 @@ const OptionContainerComponent = (props) => {
92
92
  const panelButton = viewMode === 'expanded' ? (React.createElement(ButtonMinimise_1.ButtonMinimise, { onClick: () => requestViewModeChange(), tooltip: `Hide ${label}` })) : (React.createElement(ButtonMaximise_1.ButtonMaximise, { onClick: () => requestViewModeChange(), tooltip: `Show ${label}` }));
93
93
  return (React.createElement(PanelWithButton_1.PanelWithButton, { className: `options-container-${name}`, variant: "default", headerText: label, headerProps: {
94
94
  fontSize: 3,
95
- style: { fontWeight: viewMode === 'expanded' ? 800 : 400, cursor: 'pointer' },
95
+ style: {
96
+ fontWeight: viewMode === 'expanded' ? 800 : 400,
97
+ cursor: 'pointer',
98
+ },
96
99
  'data-name': `options-container-header-${name}`,
97
100
  onClick: () => requestViewModeChange(),
98
101
  }, button: panelButton, style: { marginBottom: 3 } }, viewMode === 'expanded' && children));
@@ -21,7 +21,11 @@ const PivotList_1 = require("./PivotList");
21
21
  const ButtonInfo_1 = require("../../../Components/Buttons/ButtonInfo");
22
22
  const Input_1 = tslib_1.__importDefault(require("../../../../components/Input"));
23
23
  const StringExtensions_1 = tslib_1.__importDefault(require("../../../../Utilities/Extensions/StringExtensions"));
24
- const verticalPanelStyle = { minHeight: 150, flex: '1 0 auto', overflow: 'auto' };
24
+ const verticalPanelStyle = {
25
+ minHeight: 150,
26
+ flex: '1 0 auto',
27
+ overflow: 'auto',
28
+ };
25
29
  const ListPanel = (props) => (React.createElement(Panel_1.default, Object.assign({ variant: "modern", bodyProps: { padding: 0 }, style: Object.assign(Object.assign({}, verticalPanelStyle), props.style) }, props)));
26
30
  const ColumnLabels = (props) => {
27
31
  const { children, showBoth, showTitle, flexDirection = 'row', labels: labelsProp } = props, columnProperties = tslib_1.__rest(props, ["children", "showBoth", "showTitle", "flexDirection", "labels"]);