@adaptabletools/adaptable 12.1.8-canary.1 → 12.2.0-canary.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 (84) hide show
  1. package/base.css +116 -22
  2. package/bundle.cjs.js +108 -108
  3. package/index.css +132 -23
  4. package/package.json +1 -1
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +44 -10
  8. package/src/AdaptableOptions/LayoutOptions.d.ts +10 -1
  9. package/src/AdaptableOptions/StateOptions.d.ts +1 -1
  10. package/src/Api/Implementation/AlertApiImpl.js +1 -2
  11. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -1
  12. package/src/Api/Implementation/InternalApiImpl.js +34 -0
  13. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +1 -0
  14. package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -0
  15. package/src/Api/InternalApi.d.ts +6 -1
  16. package/src/Api/QueryLanguageApi.d.ts +5 -0
  17. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  18. package/src/Strategy/CalculatedColumnModule.js +1 -1
  19. package/src/Strategy/QueryModule.js +1 -1
  20. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +0 -13
  21. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +3 -4
  22. package/src/Strategy/Utilities/getExpressionViewItems.js +3 -3
  23. package/src/Strategy/Utilities/getRuleViewItems.js +1 -1
  24. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
  25. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -0
  26. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  27. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +14 -0
  28. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +2 -0
  29. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -1
  30. package/src/Utilities/Services/QueryLanguageService.js +45 -19
  31. package/src/Utilities/Services/ReportService.js +1 -2
  32. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.d.ts +1 -1
  33. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +10 -10
  34. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +3 -0
  35. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -0
  36. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +14 -15
  37. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +1 -1
  38. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +2 -2
  39. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +7 -0
  40. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +280 -0
  41. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.d.ts +1 -0
  42. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/index.js +5 -0
  43. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +1 -1
  44. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +4 -4
  45. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +2 -8
  46. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +1 -1
  47. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +3 -3
  48. package/src/View/AdaptableWizardView/Wizard.js +2 -2
  49. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -1
  50. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -8
  51. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +4 -3
  52. package/src/View/Components/AdaptableObjectCollection/index.d.ts +3 -4
  53. package/src/View/Components/AdaptableObjectCollection/index.js +7 -8
  54. package/src/View/Components/AdaptableObjectRow/index.js +1 -4
  55. package/src/View/Components/EntityRulesEditor/index.js +2 -2
  56. package/src/View/Components/FilterForm/QuickFilterForm.js +9 -1
  57. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -0
  58. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  59. package/src/View/Components/ValueSelector/index.js +8 -19
  60. package/src/View/CustomSort/CustomSortSummary.js +1 -1
  61. package/src/View/Dashboard/DashboardPopup.js +11 -10
  62. package/src/View/Export/ExportViewPanel.js +2 -2
  63. package/src/View/Export/Wizard/ReportRowsWizardSection.js +4 -3
  64. package/src/View/Filter/FilterViewPanel.js +3 -2
  65. package/src/View/GridInfo/AdaptableObjectsSummary.js +5 -3
  66. package/src/View/GridInfo/AdaptableOptionsComponent.js +1 -1
  67. package/src/View/GridInfo/GridInfoPopup.js +6 -7
  68. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -4
  69. package/src/View/StateManagement/StateManagementPopup.js +18 -19
  70. package/src/agGrid/Adaptable.d.ts +2 -0
  71. package/src/agGrid/Adaptable.js +56 -13
  72. package/src/components/DragAndDropContext/ModuleManager.js +3 -4
  73. package/src/components/DragAndDropContext/TabList.js +9 -30
  74. package/src/components/DragAndDropContext/UnusedPanel.js +1 -7
  75. package/src/components/DropdownButton/index.js +2 -2
  76. package/src/components/EmptyContent/index.js +2 -2
  77. package/src/components/ExpressionEditor/BaseEditorInput.js +1 -0
  78. package/src/components/ExpressionEditor/index.js +24 -14
  79. package/src/metamodel/adaptable.metamodel.d.ts +31 -4
  80. package/src/metamodel/adaptable.metamodel.js +1 -1
  81. package/src/parser/src/types.d.ts +14 -10
  82. package/src/types.d.ts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
@@ -20,11 +20,11 @@ export interface ExpressionContext extends BaseContext {
20
20
  */
21
21
  node: any;
22
22
  /**
23
- * All Expression Functions available to AdapTableQL
23
+ * All Expression Functions available to AdaptableQL
24
24
  */
25
25
  functions: ExpressionFunctionMap;
26
26
  /**
27
- * Expression Functions available to AdapTableQL in (optional) WHERE clause
27
+ * Expression Functions available to AdaptableQL in (optional) WHERE clause
28
28
  */
29
29
  whereClauseFunctions?: ExpressionFunctionMap;
30
30
  /**
@@ -35,14 +35,18 @@ export interface ExpressionContext extends BaseContext {
35
35
  * All Named Query evaluations: tracked in order to detect circular dependencies
36
36
  */
37
37
  namedQueryCallStack?: string[];
38
+ /**
39
+ * Evaluate custom variables
40
+ */
41
+ evaluateCustomQueryVariable: (functionName: string, args?: any[]) => any;
38
42
  }
39
43
  export declare type ExpressionFunctionMap = Record<string, ExpressionFunction>;
40
44
  /**
41
- * Defines an AdapTableQL Function used in an Adaptable Expression
45
+ * Defines an AdaptableQL Function used in an Adaptable Expression
42
46
  */
43
47
  export interface ExpressionFunction {
44
48
  /**
45
- * Actual AdapTableQL Function called by the Expression (mandatory prop)
49
+ * Actual AdaptableQL Function called by the Expression (mandatory prop)
46
50
  */
47
51
  handler: ExpressionFunctionHandler;
48
52
  /**
@@ -50,19 +54,19 @@ export interface ExpressionFunction {
50
54
  */
51
55
  isHiddenFromMenu?: boolean;
52
56
  /**
53
- * Whether the AdapTableQL Function returns true, if so can be used as Query
57
+ * Whether the AdaptableQL Function returns true, if so can be used as Query
54
58
  */
55
59
  isPredicate?: boolean;
56
60
  /**
57
- * What the AdapTableQL Function does
61
+ * What the AdaptableQL Function does
58
62
  */
59
63
  description?: string;
60
64
  /**
61
- * How the AdapTableQL Function should be called
65
+ * How the AdaptableQL Function should be called
62
66
  */
63
67
  signatures?: string[];
64
68
  /**
65
- * Examples that use the AdapTableQL Function
69
+ * Examples that use the AdaptableQL Function
66
70
  */
67
71
  examples?: string[];
68
72
  /**
@@ -71,7 +75,7 @@ export interface ExpressionFunction {
71
75
  hasEagerEvaluation?: boolean;
72
76
  }
73
77
  /**
74
- * Defines how an AdapTableQL Function is described in Expression Editor
78
+ * Defines how an AdaptableQL Function is described in Expression Editor
75
79
  */
76
80
  export declare type ExpressionFunctionDocBlock = {
77
81
  type: 'code';
@@ -81,7 +85,7 @@ export declare type ExpressionFunctionDocBlock = {
81
85
  content: string;
82
86
  };
83
87
  /**
84
- * The javascript function which is invoked by an AdapTableQL Function
88
+ * The javascript function which is invoked by an AdaptableQL Function
85
89
  */
86
90
  export declare type ExpressionFunctionHandler = (
87
91
  /**
package/src/types.d.ts CHANGED
@@ -18,7 +18,7 @@ export type { ExportOptions, SystemExportDestination, SystemExportDestinations,
18
18
  export type { GeneralOptions, ColumnValuesComparer, DataSet, DataSetFormContext, } from './AdaptableOptions/GeneralOptions';
19
19
  export type { Glue42PluginOptions } from './AdaptableOptions/Glue42PluginOptions';
20
20
  export type { IPushPullPluginOptions } from './AdaptableOptions/IPushPullPluginOptions';
21
- export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, LayoutAssociatedObject, } from './AdaptableOptions/LayoutOptions';
21
+ export type { LayoutOptions, LayoutViewOptions, LayoutTagOptions, LayoutAvailableContext, AutoGenerateTagsForLayoutsContext, GroupUnbalancedGroupsUnderKeyContext, LayoutAssociatedObject, } from './AdaptableOptions/LayoutOptions';
22
22
  export type { OpenFinPluginOptions } from './AdaptableOptions/OpenFinPluginOptions';
23
23
  export type { MasterDetailPluginOptions } from './AdaptableOptions/MasterDetailPluginOptions';
24
24
  export type { FinancePluginOptions, WeightedAverageColumn, FDC3Column, InstrumentColumn, PositionColumn, CountryColumn, InstrumentIntent, InstrumentIntents, PositionIntent, PositionIntents, ContactIntent, ContactIntents, CountryIntent, CountryIntents, ContactColumn, OrganizationColumn, OrganizationIntent, OrganizationIntents, FDC3Intent, RaiseFDC3IntentContext, FDC3DesktopAgent, CustomFDC3Column, CustomFDC3Intent, } from './AdaptableOptions/FinancePluginOptions';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "12.1.8-canary.1";
1
+ declare const _default: "12.2.0-canary.0";
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 = '12.1.8-canary.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '12.2.0-canary.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version