@adaptabletools/adaptable 13.0.0-canary.2 → 13.0.0-canary.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/agGrid.d.ts +23 -1
  2. package/agGrid.js +23 -1
  3. package/base.css +1 -0
  4. package/bundle.cjs.js +158 -158
  5. package/index.css +1 -0
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +42 -14
  10. package/src/Api/ConditionalStyleApi.d.ts +20 -0
  11. package/src/Api/FormatColumnApi.d.ts +42 -3
  12. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +17 -1
  13. package/src/Api/Implementation/FormatColumnApiImpl.js +94 -14
  14. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +0 -2
  15. package/src/Api/Implementation/QueryLanguageApiImpl.js +0 -3
  16. package/src/Api/QueryLanguageApi.d.ts +0 -5
  17. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
  18. package/src/PredefinedConfig/Common/AdaptablePredicate.js +37 -37
  19. package/src/PredefinedConfig/FormatColumnState.d.ts +19 -0
  20. package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -0
  21. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +14 -0
  22. package/src/Redux/ActionsReducers/FormatColumnRedux.js +43 -1
  23. package/src/Redux/Store/AdaptableStore.js +2 -0
  24. package/src/Strategy/FormatColumnModule.d.ts +2 -9
  25. package/src/Strategy/FormatColumnModule.js +5 -1
  26. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +5 -5
  27. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -2
  28. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +4 -1
  29. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -0
  30. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +4 -1
  31. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
  32. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +4 -1
  33. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -0
  34. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +4 -1
  35. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -0
  36. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
  37. package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -0
  38. package/src/Utilities/Extensions/TypeExtensions.js +5 -0
  39. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +14 -4
  40. package/src/Utilities/Services/LicenseService.js +1 -1
  41. package/src/Utilities/Services/QueryLanguageService.d.ts +5 -3
  42. package/src/Utilities/Services/QueryLanguageService.js +92 -39
  43. package/src/Utilities/license/LicenseDetails.d.ts +1 -1
  44. package/src/Utilities/license/decode.d.ts +1 -0
  45. package/src/Utilities/license/decode.js +1 -1
  46. package/src/View/FormatColumn/MoveFormatColumn.d.ts +7 -0
  47. package/src/View/FormatColumn/MoveFormatColumn.js +27 -0
  48. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +9 -0
  49. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +66 -0
  50. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +20 -2
  51. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -1
  52. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +14 -0
  53. package/src/View/FormatColumn/Wizard/constants.d.ts +1 -0
  54. package/src/View/FormatColumn/Wizard/constants.js +4 -0
  55. package/src/agGrid/Adaptable.d.ts +5 -0
  56. package/src/agGrid/Adaptable.js +103 -45
  57. package/src/components/ExpressionEditor/BaseEditorInput.d.ts +1 -1
  58. package/src/components/ExpressionEditor/EditorInput.js +1 -1
  59. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +1 -1
  60. package/src/metamodel/adaptable.metamodel.d.ts +47 -29
  61. package/src/metamodel/adaptable.metamodel.js +1 -1
  62. package/src/parser/src/types.d.ts +6 -3
  63. package/src/types.d.ts +2 -2
  64. package/version.d.ts +1 -1
  65. package/version.js +1 -1
@@ -22,11 +22,11 @@ export interface ExpressionContext extends BaseContext {
22
22
  /**
23
23
  * All Expression Functions available to AdaptableQL
24
24
  */
25
- functions: ExpressionFunctionMap;
25
+ functions: ExpressionFunctionMap<string>;
26
26
  /**
27
27
  * Expression Functions available to AdaptableQL in (optional) WHERE clause
28
28
  */
29
- whereClauseFunctions?: ExpressionFunctionMap;
29
+ whereClauseFunctions?: ExpressionFunctionMap<string>;
30
30
  /**
31
31
  * Optional filter function to be applied before evaluating the expression
32
32
  */
@@ -40,7 +40,10 @@ export interface ExpressionContext extends BaseContext {
40
40
  */
41
41
  evaluateCustomQueryVariable: (functionName: string, args?: any[]) => any;
42
42
  }
43
- export declare type ExpressionFunctionMap = Record<string, ExpressionFunction>;
43
+ /**
44
+ * Key-Value map of Expression Names and their implementation
45
+ */
46
+ export declare type ExpressionFunctionMap<T extends string> = Record<T | string, ExpressionFunction>;
44
47
  /**
45
48
  * Defines an AdaptableQL Function used in an Adaptable Expression
46
49
  */
package/src/types.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { AdaptableNoCodeWizardOptions, IAdaptableNoCodeWizard, } from './Ad
3
3
  export type { BooleanFunctionName } from './Utilities/ExpressionFunctions/booleanExpressionFunctions';
4
4
  export type { ScalarFunctionName } from './Utilities/ExpressionFunctions/scalarExpressionFunctions';
5
5
  export type { ObservableFunctionName } from './Utilities/ExpressionFunctions/observableExpressionFunctions';
6
- export type { AggregationFunctionName } from './Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions';
6
+ export type { AggregatedBooleanFunctionName } from './Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions';
7
7
  export type { AggregatedScalarFunctionName } from './Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions';
8
8
  export type { AdaptableOptions } from './AdaptableOptions/AdaptableOptions';
9
9
  export { AdaptablePlugin } from './AdaptableOptions/AdaptablePlugin';
@@ -37,7 +37,7 @@ export type { UserInterfaceOptions, BasePermittedValues, PermittedValues, EditLo
37
37
  export type { MenuOptions } from './AdaptableOptions/MenuOptions';
38
38
  export type { CustomSettingsPanel, SettingsPanelOptions, } from './AdaptableOptions/SettingsPanelOptions';
39
39
  export type { EntitlementOptions, EntitlementContext } from './AdaptableOptions/EntitlementOptions';
40
- export type { ExpressionOptions, ModuleExpressionFunctions, AdaptableQLOptions, CustomQueryVariableContext, } from './AdaptableOptions/AdaptableQLOptions';
40
+ export type { ExpressionOptions, ModuleExpressionFunctions, ModuleExpressionFunctionsMap, DefaultExpressionFunctionsContext, EvaluateExpressionExternallyContext, ExpressionFunctionDefinitions, ModuleExpressionFunctionsContext, AdaptableQLOptions, CustomQueryVariableContext, } from './AdaptableOptions/AdaptableQLOptions';
41
41
  export type { DataChangeHistoryOptions, DataChangeHistoryButton, DataChangeHistoryContext, AdaptableDataChangeHistoryAction, } from './AdaptableOptions/DataChangeHistoryOptions';
42
42
  export type { LayoutAssociatedObjectLoadConfig } from './Api/Implementation/ApiBase';
43
43
  export type { AdaptableApi } from './Api/AdaptableApi';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "13.0.0-canary.2";
1
+ declare const _default: "13.0.0-canary.3";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '13.0.0-canary.2'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '13.0.0-canary.3'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version