@adaptabletools/adaptable 13.0.0-canary.1 → 13.0.0-canary.11

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 (179) 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 +169 -169
  5. package/index.css +1 -0
  6. package/package.json +3 -3
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -3
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +0 -2
  11. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +118 -26
  12. package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +32 -0
  13. package/src/AdaptableOptions/FinsemblePluginOptions.js +2 -0
  14. package/src/AdaptableOptions/GeneralOptions.d.ts +5 -0
  15. package/src/Api/ConditionalStyleApi.d.ts +20 -42
  16. package/src/Api/ConfigApi.d.ts +1 -2
  17. package/src/Api/FinsembleApi.d.ts +10 -0
  18. package/src/Api/FinsembleApi.js +2 -0
  19. package/src/Api/FormatColumnApi.d.ts +47 -3
  20. package/src/Api/Implementation/ColumnApiImpl.js +5 -7
  21. package/src/Api/Implementation/DashboardApiImpl.js +2 -3
  22. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +18 -1
  23. package/src/Api/Implementation/FormatColumnApiImpl.js +98 -15
  24. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -0
  25. package/src/Api/Implementation/InternalApiImpl.js +4 -0
  26. package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -0
  27. package/src/Api/Implementation/PluginsApiImpl.js +6 -0
  28. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +2 -3
  29. package/src/Api/Implementation/QueryLanguageApiImpl.js +9 -18
  30. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -2
  31. package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -1
  32. package/src/Api/Implementation/ToolPanelApiImpl.js +8 -0
  33. package/src/Api/InternalApi.d.ts +1 -0
  34. package/src/Api/PluginsApi.d.ts +5 -0
  35. package/src/Api/QueryLanguageApi.d.ts +3 -7
  36. package/src/Api/ToolPanelApi.d.ts +10 -1
  37. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
  38. package/src/PredefinedConfig/Common/AdaptablePredicate.js +37 -37
  39. package/src/PredefinedConfig/ConditionalStyleState.d.ts +10 -19
  40. package/src/PredefinedConfig/FormatColumnState.d.ts +19 -6
  41. package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -0
  42. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +14 -0
  43. package/src/Redux/ActionsReducers/FormatColumnRedux.js +43 -1
  44. package/src/Redux/Store/AdaptableStore.js +2 -0
  45. package/src/Strategy/ConditionalStyleModule.d.ts +2 -0
  46. package/src/Strategy/ConditionalStyleModule.js +6 -0
  47. package/src/Strategy/DataChangeHistoryModule.d.ts +1 -0
  48. package/src/Strategy/DataChangeHistoryModule.js +12 -0
  49. package/src/Strategy/FormatColumnModule.d.ts +4 -9
  50. package/src/Strategy/FormatColumnModule.js +52 -2
  51. package/src/Strategy/Interface/IModule.d.ts +11 -10
  52. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +2 -2
  53. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.d.ts +1 -1
  54. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +3 -4
  55. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +6 -11
  56. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -2
  57. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -1
  58. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -0
  59. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +3 -1
  60. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
  61. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +3 -1
  62. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -0
  63. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -1
  64. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -0
  65. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -1
  66. package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -0
  67. package/src/Utilities/Extensions/TypeExtensions.js +5 -0
  68. package/src/Utilities/ObjectFactory.js +0 -1
  69. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +14 -4
  70. package/src/Utilities/Services/{LicenseService.d.ts → LicenseService/index.d.ts} +3 -3
  71. package/src/Utilities/Services/LicenseService/index.js +1 -0
  72. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.d.ts +1 -0
  73. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +15 -0
  74. package/src/Utilities/Services/QueryLanguageService.d.ts +3 -3
  75. package/src/Utilities/Services/QueryLanguageService.js +88 -39
  76. package/src/Utilities/license/LicenseDetails.d.ts +1 -1
  77. package/src/Utilities/license/decode.d.ts +1 -0
  78. package/src/Utilities/license/decode.js +1 -1
  79. package/src/View/AdaptablePopover/index.d.ts +2 -2
  80. package/src/View/AdaptableView.d.ts +3 -3
  81. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +1 -1
  82. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts +1 -1
  83. package/src/View/AdaptableWizardView/index.d.ts +1 -1
  84. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +3 -3
  85. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +3 -3
  86. package/src/View/ColorPicker.d.ts +1 -5
  87. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  88. package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -1
  89. package/src/View/Components/EntityRulesEditor/index.d.ts +2 -1
  90. package/src/View/Components/EntityRulesEditor/index.js +29 -19
  91. package/src/View/Components/NewScopeComponent.js +2 -2
  92. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +1 -1
  93. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +2 -2
  94. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +1 -1
  95. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -0
  96. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +1 -1
  97. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +1 -1
  98. package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +1 -1
  99. package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +1 -1
  100. package/src/View/Components/RangesComponent.d.ts +6 -0
  101. package/src/View/Components/RangesComponent.js +54 -18
  102. package/src/View/Components/ScopeComponent.js +2 -2
  103. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +4 -0
  104. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -2
  105. package/src/View/ConditionalStyle/ConditionalStylePopupHeader.d.ts +2 -0
  106. package/src/View/ConditionalStyle/ConditionalStylePopupHeader.js +18 -0
  107. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +3 -3
  108. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +3 -3
  109. package/src/View/FormatColumn/MoveFormatColumn.d.ts +7 -0
  110. package/src/View/FormatColumn/MoveFormatColumn.js +27 -0
  111. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  112. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +8 -0
  113. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +29 -0
  114. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +21 -3
  115. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +0 -22
  116. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +18 -4
  117. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +15 -2
  118. package/src/View/FormatColumn/Wizard/constants.d.ts +1 -0
  119. package/src/View/FormatColumn/Wizard/constants.js +4 -0
  120. package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
  121. package/src/View/Layout/Wizard/sections/SettingsSection.d.ts +2 -2
  122. package/src/View/License/LicenseWatermark.d.ts +1 -1
  123. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +1 -1
  124. package/src/View/StateManagement/components/ClearButton.d.ts +1 -1
  125. package/src/View/StateManagement/components/LoadButton.d.ts +1 -1
  126. package/src/View/StatusBar/StatusBarPanel.d.ts +4 -4
  127. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +3 -3
  128. package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
  129. package/src/View/Wizard/OnePageWizards.d.ts +3 -3
  130. package/src/View/Wizard/OnePageWizards.js +2 -2
  131. package/src/agGrid/ActionColumnRenderer.d.ts +1 -0
  132. package/src/agGrid/ActionColumnRenderer.js +5 -5
  133. package/src/agGrid/Adaptable.d.ts +16 -2
  134. package/src/agGrid/Adaptable.js +167 -85
  135. package/src/agGrid/FilterWrapper.js +5 -5
  136. package/src/agGrid/FloatingFilterWrapper.js +3 -4
  137. package/src/agGrid/agGridHelper.js +12 -13
  138. package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -0
  139. package/src/agGrid/createAgStatusPanelComponent.js +3 -3
  140. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -0
  141. package/src/agGrid/editors/AdaptableDateEditor/index.js +3 -3
  142. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
  143. package/src/agGrid/editors/AdaptableNumberEditor/index.js +3 -3
  144. package/src/components/CheckBox/index.d.ts +1 -1
  145. package/src/components/Datepicker/index.d.ts +1 -1
  146. package/src/components/Dialog/index.d.ts +4 -2
  147. package/src/components/Dialog/index.js +2 -2
  148. package/src/components/DropdownButton/index.d.ts +21 -4
  149. package/src/components/DropdownButton/index.js +5 -6
  150. package/src/components/ExpressionEditor/BaseEditorInput.d.ts +1 -1
  151. package/src/components/ExpressionEditor/EditorInput.js +1 -1
  152. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +1 -1
  153. package/src/components/Input/index.d.ts +1 -1
  154. package/src/components/List/ListGroupItem/index.d.ts +4 -2
  155. package/src/components/Loader/Loader.d.ts +2 -2
  156. package/src/components/Logo/index.d.ts +1 -1
  157. package/src/components/Modal/index.d.ts +1 -1
  158. package/src/components/PopupWithFooter.d.ts +2 -2
  159. package/src/components/ProgressIndicator/ProgressIndicator.d.ts +1 -1
  160. package/src/components/SelectList.d.ts +1 -1
  161. package/src/components/SimpleButton/index.d.ts +4 -5
  162. package/src/components/SimpleButton/index.js +3 -2
  163. package/src/components/StylePreview.d.ts +1 -1
  164. package/src/components/Tag/Tag.d.ts +1 -1
  165. package/src/components/Textarea/index.d.ts +6 -4
  166. package/src/components/ToggleButton/index.d.ts +1 -1
  167. package/src/components/WindowModal/WindowModal.d.ts +1 -1
  168. package/src/components/icons/index.d.ts +3 -2
  169. package/src/components/icons/layout.d.ts +2 -1
  170. package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
  171. package/src/metamodel/adaptable.metamodel.d.ts +112 -64
  172. package/src/metamodel/adaptable.metamodel.js +1 -1
  173. package/src/parser/src/types.d.ts +6 -3
  174. package/src/renderReactRoot.d.ts +3 -0
  175. package/src/renderReactRoot.js +54 -0
  176. package/src/types.d.ts +4 -2
  177. package/version.d.ts +1 -1
  178. package/version.js +1 -1
  179. package/src/Utilities/Services/LicenseService.js +0 -1
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare const _default: (props: any) => JSX.Element;
2
+ import { IconProps } from './DefaultIcon';
3
+ declare const _default: (props: IconProps) => JSX.Element;
3
4
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare type UseContainerScrollObserverCallback = (currentIndex: number) => void;
2
2
  export declare const useContainerScrollObserver: (callback: UseContainerScrollObserverCallback) => {
3
- ref: (node: any) => void;
3
+ ref: (node: HTMLElement) => void;
4
4
  scrollToIndex: (index: number) => void;
5
5
  };
6
6
  export {};
@@ -574,15 +574,6 @@ export declare const ADAPTABLE_METAMODEL: {
574
574
  gridInfo: string;
575
575
  reference: string;
576
576
  defaultValue?: undefined;
577
- } | {
578
- name: string;
579
- kind: string;
580
- description: string;
581
- uiLabel: string;
582
- isOptional: boolean;
583
- defaultValue: string;
584
- reference: string;
585
- gridInfo?: undefined;
586
577
  } | {
587
578
  name: string;
588
579
  kind: string;
@@ -888,12 +879,12 @@ export declare const ADAPTABLE_METAMODEL: {
888
879
  defaultValue: string;
889
880
  })[];
890
881
  };
891
- AggregatedScalarFunctionName: {
882
+ AggregatedBooleanFunctionName: {
892
883
  name: string;
893
884
  kind: string;
894
885
  description: string;
895
886
  };
896
- AggregationFunctionName: {
887
+ AggregatedScalarFunctionName: {
897
888
  name: string;
898
889
  kind: string;
899
890
  description: string;
@@ -1643,23 +1634,6 @@ export declare const ADAPTABLE_METAMODEL: {
1643
1634
  name: string;
1644
1635
  kind: string;
1645
1636
  description: string;
1646
- properties: ({
1647
- name: string;
1648
- kind: string;
1649
- description: string;
1650
- uiLabel: string;
1651
- isOptional: boolean;
1652
- defaultValue: string;
1653
- reference?: undefined;
1654
- } | {
1655
- name: string;
1656
- kind: string;
1657
- description: string;
1658
- uiLabel: string;
1659
- reference: string;
1660
- isOptional?: undefined;
1661
- defaultValue?: undefined;
1662
- })[];
1663
1637
  };
1664
1638
  ConditionalStyleApi: {
1665
1639
  name: string;
@@ -1681,13 +1655,6 @@ export declare const ADAPTABLE_METAMODEL: {
1681
1655
  name: string;
1682
1656
  kind: string;
1683
1657
  description: string;
1684
- properties: {
1685
- name: string;
1686
- kind: string;
1687
- description: string;
1688
- uiLabel: string;
1689
- isOptional: boolean;
1690
- }[];
1691
1658
  };
1692
1659
  ConfigApi: {
1693
1660
  name: string;
@@ -2559,6 +2526,26 @@ export declare const ADAPTABLE_METAMODEL: {
2559
2526
  defaultValue?: undefined;
2560
2527
  })[];
2561
2528
  };
2529
+ EvaluateExpressionExternallyContext: {
2530
+ name: string;
2531
+ kind: string;
2532
+ description: string;
2533
+ properties: ({
2534
+ name: string;
2535
+ kind: string;
2536
+ description: string;
2537
+ uiLabel: string;
2538
+ isOptional: boolean;
2539
+ reference?: undefined;
2540
+ } | {
2541
+ name: string;
2542
+ kind: string;
2543
+ description: string;
2544
+ uiLabel: string;
2545
+ reference: string;
2546
+ isOptional?: undefined;
2547
+ })[];
2548
+ };
2562
2549
  EventApi: {
2563
2550
  name: string;
2564
2551
  kind: string;
@@ -2657,28 +2644,12 @@ export declare const ADAPTABLE_METAMODEL: {
2657
2644
  description: string;
2658
2645
  uiLabel: string;
2659
2646
  isOptional?: undefined;
2660
- reference?: undefined;
2661
2647
  } | {
2662
2648
  name: string;
2663
2649
  kind: string;
2664
2650
  description: string;
2665
2651
  uiLabel: string;
2666
2652
  isOptional: boolean;
2667
- reference?: undefined;
2668
- } | {
2669
- name: string;
2670
- kind: string;
2671
- description: string;
2672
- uiLabel: string;
2673
- reference: string;
2674
- isOptional?: undefined;
2675
- } | {
2676
- name: string;
2677
- kind: string;
2678
- description: string;
2679
- uiLabel: string;
2680
- isOptional: boolean;
2681
- reference: string;
2682
2653
  })[];
2683
2654
  };
2684
2655
  ExpressionFunction: {
@@ -2711,20 +2682,16 @@ export declare const ADAPTABLE_METAMODEL: {
2711
2682
  kind: string;
2712
2683
  description: string;
2713
2684
  };
2685
+ ExpressionFunctionMap: {
2686
+ name: string;
2687
+ kind: string;
2688
+ description: string;
2689
+ };
2714
2690
  ExpressionOptions: {
2715
2691
  name: string;
2716
2692
  kind: string;
2717
2693
  description: string;
2718
2694
  properties: ({
2719
- name: string;
2720
- kind: string;
2721
- description: string;
2722
- uiLabel: string;
2723
- isOptional: boolean;
2724
- gridInfo?: undefined;
2725
- defaultValue?: undefined;
2726
- reference?: undefined;
2727
- } | {
2728
2695
  name: string;
2729
2696
  kind: string;
2730
2697
  description: string;
@@ -2732,16 +2699,14 @@ export declare const ADAPTABLE_METAMODEL: {
2732
2699
  isOptional: boolean;
2733
2700
  gridInfo: string;
2734
2701
  defaultValue: string;
2735
- reference: string;
2736
2702
  } | {
2737
2703
  name: string;
2738
2704
  kind: string;
2739
2705
  description: string;
2740
2706
  uiLabel: string;
2741
2707
  isOptional: boolean;
2742
- gridInfo: string;
2743
- defaultValue: string;
2744
- reference?: undefined;
2708
+ gridInfo?: undefined;
2709
+ defaultValue?: undefined;
2745
2710
  })[];
2746
2711
  };
2747
2712
  FDC3Column: {
@@ -2928,6 +2893,47 @@ export declare const ADAPTABLE_METAMODEL: {
2928
2893
  isOptional: boolean;
2929
2894
  }[];
2930
2895
  };
2896
+ FinsembleApi: {
2897
+ name: string;
2898
+ kind: string;
2899
+ description: string;
2900
+ properties: {
2901
+ name: string;
2902
+ kind: string;
2903
+ description: string;
2904
+ uiLabel: string;
2905
+ }[];
2906
+ };
2907
+ FinsemblePluginOptions: {
2908
+ name: string;
2909
+ kind: string;
2910
+ description: string;
2911
+ properties: ({
2912
+ name: string;
2913
+ kind: string;
2914
+ description: string;
2915
+ uiLabel: string;
2916
+ isOptional: boolean;
2917
+ defaultValue?: undefined;
2918
+ reference?: undefined;
2919
+ } | {
2920
+ name: string;
2921
+ kind: string;
2922
+ description: string;
2923
+ uiLabel: string;
2924
+ isOptional: boolean;
2925
+ defaultValue: string;
2926
+ reference?: undefined;
2927
+ } | {
2928
+ name: string;
2929
+ kind: string;
2930
+ description: string;
2931
+ uiLabel: string;
2932
+ isOptional: boolean;
2933
+ reference: string;
2934
+ defaultValue?: undefined;
2935
+ })[];
2936
+ };
2931
2937
  FlashingCellApi: {
2932
2938
  name: string;
2933
2939
  kind: string;
@@ -3203,6 +3209,17 @@ export declare const ADAPTABLE_METAMODEL: {
3203
3209
  defaultValue: string;
3204
3210
  })[];
3205
3211
  };
3212
+ GlobalExpressionFunctionsContext: {
3213
+ name: string;
3214
+ kind: string;
3215
+ description: string;
3216
+ properties: {
3217
+ name: string;
3218
+ kind: string;
3219
+ description: string;
3220
+ uiLabel: string;
3221
+ }[];
3222
+ };
3206
3223
  Glue42Api: {
3207
3224
  name: string;
3208
3225
  kind: string;
@@ -3757,6 +3774,25 @@ export declare const ADAPTABLE_METAMODEL: {
3757
3774
  name: string;
3758
3775
  kind: string;
3759
3776
  description: string;
3777
+ properties: {
3778
+ name: string;
3779
+ kind: string;
3780
+ description: string;
3781
+ uiLabel: string;
3782
+ isOptional: boolean;
3783
+ gridInfo: string;
3784
+ defaultValue: string;
3785
+ }[];
3786
+ };
3787
+ ModuleExpressionFunctionsContext: {
3788
+ name: string;
3789
+ kind: string;
3790
+ description: string;
3791
+ };
3792
+ ModuleExpressionFunctionsMap: {
3793
+ name: string;
3794
+ kind: string;
3795
+ description: string;
3760
3796
  };
3761
3797
  NamedQuery: {
3762
3798
  name: string;
@@ -4159,6 +4195,18 @@ export declare const ADAPTABLE_METAMODEL: {
4159
4195
  reference?: undefined;
4160
4196
  })[];
4161
4197
  };
4198
+ QueryableColumnContext: {
4199
+ name: string;
4200
+ kind: string;
4201
+ description: string;
4202
+ properties: {
4203
+ name: string;
4204
+ kind: string;
4205
+ description: string;
4206
+ uiLabel: string;
4207
+ reference: string;
4208
+ }[];
4209
+ };
4162
4210
  QueryApi: {
4163
4211
  name: string;
4164
4212
  kind: string;