@adaptabletools/adaptable 11.0.0-canary.6 → 11.0.1

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 (164) hide show
  1. package/README.md +4 -4
  2. package/agGrid.d.ts +5 -4
  3. package/agGrid.js +7 -5
  4. package/base.css +3 -4
  5. package/bundle.cjs.js +120 -115
  6. package/index.css +3 -4
  7. package/package.json +1 -1
  8. package/publishTimestamp.d.ts +1 -1
  9. package/publishTimestamp.js +1 -1
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -1
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -5
  12. package/src/AdaptableOptions/{QueryLanguageOptions.d.ts → AdaptableQLOptions.d.ts} +34 -2
  13. package/src/AdaptableOptions/{QueryLanguageOptions.js → AdaptableQLOptions.js} +0 -0
  14. package/src/AdaptableOptions/FilterOptions.d.ts +4 -0
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
  16. package/src/AdaptableOptions/SearchOptions.d.ts +0 -9
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +7 -6
  18. package/src/AdaptableOptions/StateOptions.d.ts +7 -7
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
  20. package/src/Api/CalculatedColumnApi.d.ts +2 -9
  21. package/src/Api/GridApi.d.ts +12 -3
  22. package/src/Api/Implementation/AlertApiImpl.js +1 -2
  23. package/src/Api/Implementation/ApiBase.d.ts +3 -2
  24. package/src/Api/Implementation/ApiBase.js +5 -2
  25. package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -4
  26. package/src/Api/Implementation/ColumnApiImpl.js +1 -1
  27. package/src/Api/Implementation/GridApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/GridApiImpl.js +41 -21
  29. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -3
  30. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  31. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +3 -0
  32. package/src/Api/Implementation/QueryLanguageApiImpl.js +15 -2
  33. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  34. package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
  35. package/src/Api/InternalApi.d.ts +2 -3
  36. package/src/Api/QueryApi.d.ts +2 -2
  37. package/src/Api/QueryLanguageApi.d.ts +13 -0
  38. package/src/Api/SettingsPanelApi.d.ts +4 -5
  39. package/src/PredefinedConfig/AlertState.d.ts +5 -1
  40. package/src/PredefinedConfig/CalculatedColumnState.d.ts +8 -3
  41. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
  42. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
  43. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +0 -1
  44. package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
  45. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
  46. package/src/PredefinedConfig/Common/Types.d.ts +6 -1
  47. package/src/PredefinedConfig/Common/Types.js +1 -0
  48. package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
  49. package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
  50. package/src/PredefinedConfig/PlusMinusState.d.ts +1 -1
  51. package/src/PredefinedConfig/Selection/GridCellRange.d.ts +3 -1
  52. package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
  53. package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
  54. package/src/Redux/ActionsReducers/AlertRedux.js +4 -4
  55. package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +1 -1
  56. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +4 -4
  57. package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
  58. package/src/Redux/ActionsReducers/CustomSortRedux.js +4 -4
  59. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +12 -12
  60. package/src/Redux/ActionsReducers/FlashingCellRedux.js +33 -29
  61. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
  62. package/src/Redux/ActionsReducers/FormatColumnRedux.js +4 -4
  63. package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +1 -1
  64. package/src/Redux/ActionsReducers/PlusMinusRedux.js +4 -4
  65. package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
  66. package/src/Redux/ActionsReducers/ScheduleRedux.js +16 -16
  67. package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
  68. package/src/Redux/ActionsReducers/ShortcutRedux.js +4 -4
  69. package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
  70. package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
  71. package/src/Redux/Store/AdaptableStore.js +47 -22
  72. package/src/Strategy/AlertModule.js +4 -4
  73. package/src/Strategy/CalculatedColumnModule.js +4 -4
  74. package/src/Strategy/ChartingModule.d.ts +3 -3
  75. package/src/Strategy/ChartingModule.js +2 -2
  76. package/src/Strategy/FlashingCellModule.js +4 -4
  77. package/src/Strategy/FreeTextColumnModule.js +1 -0
  78. package/src/Strategy/{SetingsPanelModule.d.ts → SettingsPanelModule.d.ts} +0 -0
  79. package/src/Strategy/{SetingsPanelModule.js → SettingsPanelModule.js} +0 -0
  80. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +1 -1
  81. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +2 -2
  82. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  83. package/src/Strategy/Utilities/getRuleViewItems.js +1 -2
  84. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +3 -2
  85. package/src/Utilities/Constants/DocumentationLinkConstants.js +12 -10
  86. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +18 -13
  87. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
  88. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +18 -1
  89. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +311 -14
  90. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +2 -2
  91. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +8 -8
  92. package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +2 -3
  93. package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -2
  94. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
  95. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +33 -0
  96. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +154 -0
  97. package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
  98. package/src/Utilities/Services/AlertService.js +5 -1
  99. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +7 -3
  100. package/src/Utilities/Services/CalculatedColumnExpressionService.js +143 -18
  101. package/src/Utilities/Services/Interface/IAdaptableService.d.ts +1 -1
  102. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +6 -3
  103. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +7 -1
  104. package/src/Utilities/Services/LicenseService.js +1 -1
  105. package/src/Utilities/Services/ModuleService.js +33 -40
  106. package/src/Utilities/Services/QueryLanguageService.d.ts +9 -2
  107. package/src/Utilities/Services/QueryLanguageService.js +81 -22
  108. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -3
  109. package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +1 -0
  110. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
  111. package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
  112. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +3 -3
  113. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +2 -4
  114. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +43 -12
  115. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -2
  116. package/src/View/ColorPicker.d.ts +1 -1
  117. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  118. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  119. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  120. package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
  121. package/src/View/Components/EntityRulesEditor/index.js +3 -4
  122. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  123. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  124. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
  125. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
  126. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -0
  127. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  128. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  129. package/src/View/Components/ValueSelector/index.js +1 -1
  130. package/src/View/Dashboard/DashboardPopup.js +1 -1
  131. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
  132. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  133. package/src/View/License/LicenseWatermark.js +1 -1
  134. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
  135. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  136. package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
  137. package/src/agGrid/Adaptable.d.ts +4 -1
  138. package/src/agGrid/Adaptable.js +71 -48
  139. package/src/agGrid/CheckboxRenderer.d.ts +8 -1
  140. package/src/agGrid/CheckboxRenderer.js +18 -3
  141. package/src/agGrid/agGridHelper.d.ts +1 -1
  142. package/src/agGrid/agGridHelper.js +9 -10
  143. package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +4 -2
  144. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +4 -4
  145. package/src/components/Datepicker/index.d.ts +1 -1
  146. package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
  147. package/src/components/ExpressionEditor/EditorInput.js +5 -2
  148. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
  149. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +2 -0
  150. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +45 -0
  151. package/src/components/ExpressionEditor/editorButtonsReactive.js +8 -13
  152. package/src/components/ExpressionEditor/index.d.ts +2 -1
  153. package/src/components/ExpressionEditor/index.js +9 -2
  154. package/src/components/Input/index.d.ts +1 -1
  155. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  156. package/src/components/Logo/index.js +8 -7
  157. package/src/components/PopupWithFooter.d.ts +1 -1
  158. package/src/components/Textarea/index.d.ts +1 -1
  159. package/src/components/icons/calculated-column.js +2 -1
  160. package/src/metamodel/adaptable.metamodel.d.ts +235 -41
  161. package/src/metamodel/adaptable.metamodel.js +435 -149
  162. package/src/types.d.ts +5 -5
  163. package/version.d.ts +1 -1
  164. package/version.js +1 -1
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Repository for the 'Core' AdapTable package - developed by Adaptable Tools.
4
4
 
5
- There are also [React](https://docs.adaptabletools.com/docs/react-wrapper/react-wrapper-overview)
6
- and [Angular](https://docs.adaptabletools.com/docs/angular-wrapper/angular-wrapper-overview) Wrappers available for those who wish to access AdapTable (when running with AG Grid) using their preferred Framework.
5
+ There are also [AdapTable React](https://docs.adaptabletools.com/learn/react-overview)
6
+ and [AdapTable Angular](https://docs.adaptabletools.com/learn/angular-overview) versions available for those who wish to access AdapTable (when running with AG Grid) using their preferred Framework.
7
7
 
8
8
  ## Documentation
9
9
 
10
- For full details on how to install, instantiate and reference AdapTable programmatically at run-time please read the [AdapTable Developer Documentation](https://docs.adaptabletools.com/docs/).
10
+ For full details on how to install, instantiate and reference AdapTable programmatically at run-time please read the [AdapTable Developer Documentation](https://docs.adaptabletools.com).
11
11
 
12
12
  ## Licenses
13
13
 
@@ -19,7 +19,7 @@ We can also make a trial license available for a short period of time to allow y
19
19
 
20
20
  **Note: The AdapTable license does not include an AG Grid license, so if you plan to use AdapTable with a Grid that requires a commercial license, you must pay for that separately**.
21
21
 
22
- Please contact [`sales@adaptabletools.com`](mailto:sales@adaptabletools.com) or see our [License Help Page](https://docs.adaptabletools.com/docs/getting-started/licence) for more information.
22
+ Please contact [`sales@adaptabletools.com`](mailto:sales@adaptabletools.com) or see our [License Help Page](https://docs.adaptabletools.com/licensing) for more information.
23
23
 
24
24
 
25
25
  ## Demo
package/agGrid.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import Adaptable, { AdaptableWizardView } from './src/agGrid';
2
+ import { AdaptableNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
3
+ import { AdaptableDateEditor } from './src/agGrid/editors/AdaptableDateEditor';
2
4
  export default Adaptable;
3
5
  export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
4
6
  export declare const AdaptableBooleanExpressionFunctions: Record<import("./src/Utilities/ExpressionFunctions/booleanExpressionFunctions").BooleanFunctionName, import("./types").ExpressionFunction>;
5
7
  export declare const AdaptableScalarExpressionFunctions: Record<import("./src/Utilities/ExpressionFunctions/scalarExpressionFunctions").ScalarFunctionName, import("./types").ExpressionFunction>;
6
- export declare const AdaptableObservableExpressionFunctions: Record<"ROW_CHANGE" | "GRID_CHANGE" | "COUNT" | "NONE" | "MIN" | "MAX" | "TIMEFRAME" | "COL" | "WHERE", import("./types").ExpressionFunction>;
7
- export declare const AdaptableAggregatedBooleanExpressionFunctions: Record<"EQ" | "NEQ" | "LT" | "GT" | "LTE" | "GTE" | "SUM" | "COL" | "WHERE", import("./types").ExpressionFunction>;
8
- import { AdaptableNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
9
- import { AdaptableDateEditor } from './src/agGrid/editors/AdaptableDateEditor';
8
+ export declare const AdaptableObservableExpressionFunctions: Record<"COL" | "MIN" | "MAX" | "ROW_CHANGE" | "GRID_CHANGE" | "COUNT" | "NONE" | "TIMEFRAME" | "WHERE", import("./types").ExpressionFunction>;
9
+ export declare const AdaptableAggregatedBooleanExpressionFunctions: Record<"COL" | "SUM" | "EQ" | "NEQ" | "LT" | "GT" | "LTE" | "GTE" | "WHERE", import("./types").ExpressionFunction>;
10
+ export declare const AdaptableAggregatedScalarExpressionFunctions: Record<import("./src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions").AggregatedScalarFunctionName, import("./types").ExpressionFunction>;
10
11
  export { AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView };
package/agGrid.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdaptableWizardView = exports.AdaptableDateEditor = exports.AdaptableNumberEditor = exports.AdaptableAggregatedBooleanExpressionFunctions = exports.AdaptableObservableExpressionFunctions = exports.AdaptableScalarExpressionFunctions = exports.AdaptableBooleanExpressionFunctions = exports.AdaptableNoCodeWizard = void 0;
3
+ exports.AdaptableWizardView = exports.AdaptableDateEditor = exports.AdaptableNumberEditor = exports.AdaptableAggregatedScalarExpressionFunctions = exports.AdaptableAggregatedBooleanExpressionFunctions = exports.AdaptableObservableExpressionFunctions = exports.AdaptableScalarExpressionFunctions = exports.AdaptableBooleanExpressionFunctions = exports.AdaptableNoCodeWizard = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const agGrid_1 = tslib_1.__importStar(require("./src/agGrid"));
6
6
  Object.defineProperty(exports, "AdaptableWizardView", { enumerable: true, get: function () { return agGrid_1.AdaptableWizardView; } });
@@ -8,13 +8,15 @@ const booleanExpressionFunctions_1 = require("./src/Utilities/ExpressionFunction
8
8
  const scalarExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/scalarExpressionFunctions");
9
9
  const observableExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/observableExpressionFunctions");
10
10
  const aggregatedBooleanExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions");
11
+ const aggregatedScalarExpressionFunctions_1 = require("./src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions");
12
+ const AdaptableNumberEditor_1 = require("./src/agGrid/editors/AdaptableNumberEditor");
13
+ Object.defineProperty(exports, "AdaptableNumberEditor", { enumerable: true, get: function () { return AdaptableNumberEditor_1.AdaptableNumberEditor; } });
14
+ const AdaptableDateEditor_1 = require("./src/agGrid/editors/AdaptableDateEditor");
15
+ Object.defineProperty(exports, "AdaptableDateEditor", { enumerable: true, get: function () { return AdaptableDateEditor_1.AdaptableDateEditor; } });
11
16
  exports.default = agGrid_1.default;
12
17
  exports.AdaptableNoCodeWizard = agGrid_1.AdaptableNoCodeWizard;
13
18
  exports.AdaptableBooleanExpressionFunctions = booleanExpressionFunctions_1.booleanExpressionFunctions;
14
19
  exports.AdaptableScalarExpressionFunctions = scalarExpressionFunctions_1.scalarExpressionFunctions;
15
20
  exports.AdaptableObservableExpressionFunctions = observableExpressionFunctions_1.observableExpressionFunctions;
16
21
  exports.AdaptableAggregatedBooleanExpressionFunctions = aggregatedBooleanExpressionFunctions_1.aggregatedBooleanExpressionFunctions;
17
- const AdaptableNumberEditor_1 = require("./src/agGrid/editors/AdaptableNumberEditor");
18
- Object.defineProperty(exports, "AdaptableNumberEditor", { enumerable: true, get: function () { return AdaptableNumberEditor_1.AdaptableNumberEditor; } });
19
- const AdaptableDateEditor_1 = require("./src/agGrid/editors/AdaptableDateEditor");
20
- Object.defineProperty(exports, "AdaptableDateEditor", { enumerable: true, get: function () { return AdaptableDateEditor_1.AdaptableDateEditor; } });
22
+ exports.AdaptableAggregatedScalarExpressionFunctions = aggregatedScalarExpressionFunctions_1.aggregatedScalarExpressionFunctions;
package/base.css CHANGED
@@ -2322,8 +2322,7 @@ input[type='number'].ab-Input:hover::-webkit-inner-spin-button:active {
2322
2322
  align-items: stretch;
2323
2323
  flex: 1;
2324
2324
  overflow-x: auto;
2325
- padding-top: var(--ab-dashboard-gap-size);
2326
- padding-bottom: var(--ab-dashboard-gap-size); }
2325
+ padding: var(--ab-dashboard-gap-size); }
2327
2326
  .ab-Dashboard__container {
2328
2327
  display: flex;
2329
2328
  flex-shrink: 0;
@@ -2441,7 +2440,7 @@ input[type='number'].ab-Input:hover::-webkit-inner-spin-button:active {
2441
2440
  position: relative;
2442
2441
  display: inline-block;
2443
2442
  min-width: 40px;
2444
- width: 87px;
2443
+ width: 77px;
2445
2444
  height: 32px; }
2446
2445
  .ab-ToggleButton:hover:not(.ab-ToggleButton--disabled) {
2447
2446
  cursor: pointer;
@@ -2473,7 +2472,7 @@ input[type='number'].ab-Input:hover::-webkit-inner-spin-button:active {
2473
2472
  .ab-ToggleButton__input:checked + .ab-ToggleButton__slider {
2474
2473
  background-color: var(--ab-cmp-toggle-button--active__background); }
2475
2474
  .ab-ToggleButton__input:checked + .ab-ToggleButton__slider:before {
2476
- transform: translateX(54px); }
2475
+ transform: translateX(45px); }
2477
2476
  .ab-ToggleButton__input:focus + .ab-ToggleButton__slider {
2478
2477
  box-shadow: var(--ab-focus__box-shadow); }
2479
2478
  .ab-ToggleButton__input:disabled + .ab-ToggleButton__slider {