@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.
- package/README.md +4 -4
- package/agGrid.d.ts +5 -4
- package/agGrid.js +7 -5
- package/base.css +3 -4
- package/bundle.cjs.js +120 -115
- package/index.css +3 -4
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -5
- package/src/AdaptableOptions/{QueryLanguageOptions.d.ts → AdaptableQLOptions.d.ts} +34 -2
- package/src/AdaptableOptions/{QueryLanguageOptions.js → AdaptableQLOptions.js} +0 -0
- package/src/AdaptableOptions/FilterOptions.d.ts +4 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +0 -7
- package/src/AdaptableOptions/SearchOptions.d.ts +0 -9
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +7 -6
- package/src/AdaptableOptions/StateOptions.d.ts +7 -7
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/Api/CalculatedColumnApi.d.ts +2 -9
- package/src/Api/GridApi.d.ts +12 -3
- package/src/Api/Implementation/AlertApiImpl.js +1 -2
- package/src/Api/Implementation/ApiBase.d.ts +3 -2
- package/src/Api/Implementation/ApiBase.js +5 -2
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -4
- package/src/Api/Implementation/ColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -0
- package/src/Api/Implementation/GridApiImpl.js +41 -21
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -3
- package/src/Api/Implementation/InternalApiImpl.js +5 -4
- package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +3 -0
- package/src/Api/Implementation/QueryLanguageApiImpl.js +15 -2
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/Api/InternalApi.d.ts +2 -3
- package/src/Api/QueryApi.d.ts +2 -2
- package/src/Api/QueryLanguageApi.d.ts +13 -0
- package/src/Api/SettingsPanelApi.d.ts +4 -5
- package/src/PredefinedConfig/AlertState.d.ts +5 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +8 -3
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +0 -1
- package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +6 -1
- package/src/PredefinedConfig/Common/Types.js +1 -0
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
- package/src/PredefinedConfig/PlusMinusState.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCellRange.d.ts +3 -1
- package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +4 -4
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +4 -4
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.js +4 -4
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +12 -12
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +33 -29
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +4 -4
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +4 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
- package/src/Redux/ActionsReducers/ScheduleRedux.js +16 -16
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ShortcutRedux.js +4 -4
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +47 -22
- package/src/Strategy/AlertModule.js +4 -4
- package/src/Strategy/CalculatedColumnModule.js +4 -4
- package/src/Strategy/ChartingModule.d.ts +3 -3
- package/src/Strategy/ChartingModule.js +2 -2
- package/src/Strategy/FlashingCellModule.js +4 -4
- package/src/Strategy/FreeTextColumnModule.js +1 -0
- package/src/Strategy/{SetingsPanelModule.d.ts → SettingsPanelModule.d.ts} +0 -0
- package/src/Strategy/{SetingsPanelModule.js → SettingsPanelModule.js} +0 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +1 -1
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +3 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.js +12 -10
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +18 -13
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +18 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +311 -14
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +2 -2
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +8 -8
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +2 -3
- package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +33 -0
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +154 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
- package/src/Utilities/Services/AlertService.js +5 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +7 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +143 -18
- package/src/Utilities/Services/Interface/IAdaptableService.d.ts +1 -1
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +6 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +7 -1
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +33 -40
- package/src/Utilities/Services/QueryLanguageService.d.ts +9 -2
- package/src/Utilities/Services/QueryLanguageService.js +81 -22
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -3
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +2 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +43 -12
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +3 -4
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ValueSelector/index.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
- package/src/agGrid/Adaptable.d.ts +4 -1
- package/src/agGrid/Adaptable.js +71 -48
- package/src/agGrid/CheckboxRenderer.d.ts +8 -1
- package/src/agGrid/CheckboxRenderer.js +18 -3
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +9 -10
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +4 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +4 -4
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +5 -2
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +2 -0
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +45 -0
- package/src/components/ExpressionEditor/editorButtonsReactive.js +8 -13
- package/src/components/ExpressionEditor/index.d.ts +2 -1
- package/src/components/ExpressionEditor/index.js +9 -2
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/Logo/index.js +8 -7
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/icons/calculated-column.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +235 -41
- package/src/metamodel/adaptable.metamodel.js +435 -149
- package/src/types.d.ts +5 -5
- package/version.d.ts +1 -1
- 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/
|
|
6
|
-
and [Angular](https://docs.adaptabletools.com/
|
|
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
|
|
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/
|
|
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<"
|
|
7
|
-
export declare const AdaptableAggregatedBooleanExpressionFunctions: Record<"
|
|
8
|
-
|
|
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
|
-
|
|
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
|
|
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:
|
|
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(
|
|
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 {
|