@adaptabletools/adaptable 11.0.0-canary.4 → 11.0.0-canary.5

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 (147) hide show
  1. package/base.css +130 -67
  2. package/bundle.cjs.js +86 -86
  3. package/index.css +130 -67
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +7 -5
  8. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +1 -3
  9. package/src/AdaptableOptions/AdaptableOptions.d.ts +10 -1
  10. package/src/AdaptableOptions/AlertOptions.d.ts +82 -0
  11. package/src/AdaptableOptions/AlertOptions.js +2 -0
  12. package/src/AdaptableOptions/ContainerOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/FilterOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -78
  15. package/src/AdaptableOptions/QueryLanguageOptions.d.ts +0 -4
  16. package/src/AdaptableOptions/StateOptions.d.ts +2 -1
  17. package/src/AdaptableOptions/TeamSharingOptions.d.ts +2 -2
  18. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -2
  19. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
  20. package/src/Api/AdaptableApi.d.ts +1 -0
  21. package/src/Api/AlertApi.d.ts +2 -3
  22. package/src/Api/EventApi.d.ts +8 -3
  23. package/src/Api/Events/GridDataChanged.d.ts +4 -2
  24. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
  25. package/src/Api/FreeTextColumnApi.d.ts +0 -12
  26. package/src/Api/IPushPullApi.d.ts +1 -1
  27. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -2
  28. package/src/Api/Implementation/AlertApiImpl.js +15 -9
  29. package/src/Api/Implementation/ApiBase.d.ts +2 -0
  30. package/src/Api/Implementation/ApiBase.js +3 -0
  31. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -5
  32. package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -9
  33. package/src/Api/Implementation/InternalApiImpl.js +1 -1
  34. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
  35. package/src/Api/Implementation/LayoutApiImpl.js +11 -0
  36. package/src/Api/Implementation/QueryApiImpl.js +4 -1
  37. package/src/Api/Implementation/QueryLanguageApiImpl.js +4 -5
  38. package/src/Api/LayoutApi.d.ts +7 -0
  39. package/src/Api/OpenFinApi.d.ts +5 -0
  40. package/src/Api/PluginsApi.d.ts +29 -0
  41. package/src/Api/UserInterfaceApi.d.ts +5 -2
  42. package/src/PredefinedConfig/AlertState.d.ts +2 -4
  43. package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -1
  44. package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -12
  45. package/src/PredefinedConfig/CustomSortState.d.ts +0 -1
  46. package/src/PredefinedConfig/FlashingCellState.d.ts +3 -1
  47. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
  48. package/src/PredefinedConfig/LayoutState.d.ts +0 -2
  49. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -2
  50. package/src/Redux/ActionsReducers/ApplicationRedux.js +9 -3
  51. package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
  52. package/src/Redux/ActionsReducers/GridRedux.js +3 -1
  53. package/src/Redux/ActionsReducers/PopupRedux.js +13 -3
  54. package/src/Redux/ActionsReducers/QuickSearchRedux.js +3 -1
  55. package/src/Redux/ActionsReducers/SystemRedux.js +3 -1
  56. package/src/Redux/ActionsReducers/ThemeRedux.js +3 -1
  57. package/src/Redux/Store/AdaptableStore.js +5 -4
  58. package/src/Strategy/AlertModule.js +4 -3
  59. package/src/Strategy/ConditionalStyleModule.js +4 -0
  60. package/src/Strategy/FlashingCellModule.js +2 -2
  61. package/src/Strategy/FreeTextColumnModule.d.ts +2 -2
  62. package/src/Strategy/FreeTextColumnModule.js +10 -0
  63. package/src/Strategy/LayoutModule.js +1 -6
  64. package/src/Strategy/ToolPanelModule.js +5 -3
  65. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +1 -1
  66. package/src/Strategy/Utilities/getRuleViewItems.d.ts +0 -1
  67. package/src/Strategy/Utilities/getRuleViewItems.js +0 -1
  68. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +6 -4
  69. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  70. package/src/Utilities/ExpressionFunctions/dateUtils.js +13 -0
  71. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -4
  72. package/src/Utilities/Helpers/AdaptableHelper.js +1 -0
  73. package/src/Utilities/Helpers/CalendarHelper.js +220 -55
  74. package/src/Utilities/Interface/MessagePopups.d.ts +6 -2
  75. package/src/Utilities/ObjectFactory.js +1 -0
  76. package/src/Utilities/Services/DataService.js +6 -1
  77. package/src/Utilities/Services/QueryLanguageService.js +16 -11
  78. package/src/Utilities/Services/ReportService.js +6 -2
  79. package/src/Utilities/Services/TeamSharingService.js +5 -3
  80. package/src/View/AdaptablePopover/index.js +6 -1
  81. package/src/View/AdaptableView.js +1 -1
  82. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +5 -1
  83. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +5 -2
  84. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -1
  85. package/src/View/AdaptableWizardView/helper.js +3 -1
  86. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
  87. package/src/View/Alert/Wizard/AlertButtonsEditor.js +5 -1
  88. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
  89. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
  90. package/src/View/Components/FilterForm/FilterForm.js +0 -2
  91. package/src/View/Components/FilterForm/QuickFilterForm.js +4 -1
  92. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  93. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
  94. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -1
  95. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -0
  96. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -1
  97. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +5 -4
  98. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -1
  99. package/src/View/Components/Popups/AdaptablePopupPrompt.d.ts +5 -12
  100. package/src/View/Components/Popups/AdaptablePopupPrompt.js +38 -37
  101. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +4 -1
  102. package/src/View/Components/ScopeComponent.js +4 -1
  103. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +5 -1
  104. package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -1
  105. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  106. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.d.ts +8 -0
  107. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +27 -0
  108. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +7 -0
  109. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +3 -1
  110. package/src/View/Dashboard/CustomToolbarWrapper.js +5 -1
  111. package/src/View/Dashboard/Dashboard.js +1 -1
  112. package/src/View/Dashboard/DashboardPopup.js +3 -1
  113. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
  114. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +3 -1
  115. package/src/View/Export/Wizard/ReportRowTypeWizard.js +3 -1
  116. package/src/View/Filter/FilterViewPanel.d.ts +1 -4
  117. package/src/View/Filter/FilterViewPanel.js +1 -3
  118. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -2
  119. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -1
  120. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -1
  121. package/src/View/Layout/Wizard/LayoutEditorWizard.js +7 -1
  122. package/src/View/Query/ExpandedQueryPopup.js +9 -2
  123. package/src/View/Query/QueryViewPanel.js +3 -1
  124. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  125. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +12 -2
  126. package/src/View/UIHelper.js +4 -1
  127. package/src/View/Wizard/AdaptableWizard.js +12 -3
  128. package/src/View/Wizard/OnePageAdaptableWizard.js +5 -1
  129. package/src/agGrid/Adaptable.d.ts +2 -3
  130. package/src/agGrid/Adaptable.js +96 -54
  131. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  132. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  133. package/src/components/ApplicationIcon.d.ts +1 -0
  134. package/src/components/ApplicationIcon.js +2 -2
  135. package/src/components/Dashboard/Dashboard.js +4 -1
  136. package/src/components/Dropdown/index.js +8 -1
  137. package/src/components/ExpressionEditor/EditorInputReactive.js +3 -1
  138. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +4 -1
  139. package/src/components/ExpressionEditor/index.js +9 -2
  140. package/src/components/SizedContainer/index.js +7 -1
  141. package/src/components/WindowModal/WindowModal.js +4 -1
  142. package/src/metamodel/adaptable.metamodel.d.ts +55 -24
  143. package/src/metamodel/adaptable.metamodel.js +179 -98
  144. package/src/types.d.ts +2 -1
  145. package/themes/dark.css +4 -4
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
@@ -9,7 +9,13 @@ const SizedContainer = (props) => {
9
9
  const [size, onResize] = React.useState(null);
10
10
  const sizeFn = props.children;
11
11
  return (React.createElement(rebass_1.Box, Object.assign({}, domProps, { style: Object.assign(Object.assign({ flex: 1 }, domProps.style), { position: 'relative' }) }),
12
- React.createElement(rebass_1.Box, { style: { position: 'absolute', left: 0, top: 0, width: '100%', height: '100%' }, "data-width": size ? size.width : null, "data-height": size ? size.height : null },
12
+ React.createElement(rebass_1.Box, { style: {
13
+ position: 'absolute',
14
+ left: 0,
15
+ top: 0,
16
+ width: '100%',
17
+ height: '100%',
18
+ }, "data-width": size ? size.width : null, "data-height": size ? size.height : null },
13
19
  React.createElement(NotifyResize_1.default, { onResize: (size) => {
14
20
  onResize(size);
15
21
  onResizeFromProps === null || onResizeFromProps === void 0 ? void 0 : onResizeFromProps(size);
@@ -56,7 +56,10 @@ exports.WindowModal = (props) => {
56
56
  top: props.position.y,
57
57
  };
58
58
  const handleDrop = (dx, dy) => {
59
- const newPosition = { x: positionRef.current.x + dx, y: positionRef.current.y + dy };
59
+ const newPosition = {
60
+ x: positionRef.current.x + dx,
61
+ y: positionRef.current.y + dy,
62
+ };
60
63
  props.onChange({
61
64
  position: newPosition,
62
65
  size: props.size,
@@ -349,8 +349,8 @@ export declare const ADAPTABLE_METAMODEL: {
349
349
  description: string;
350
350
  uiLabel: string;
351
351
  isOptional: boolean;
352
+ gridInfo: string;
352
353
  reference: string;
353
- gridInfo?: undefined;
354
354
  defaultValue?: undefined;
355
355
  } | {
356
356
  name: string;
@@ -358,18 +358,18 @@ export declare const ADAPTABLE_METAMODEL: {
358
358
  description: string;
359
359
  uiLabel: string;
360
360
  isOptional: boolean;
361
+ reference: string;
361
362
  gridInfo?: undefined;
362
363
  defaultValue?: undefined;
363
- reference?: undefined;
364
364
  } | {
365
365
  name: string;
366
366
  kind: string;
367
367
  description: string;
368
368
  uiLabel: string;
369
369
  isOptional: boolean;
370
- gridInfo: string;
371
- reference: string;
370
+ gridInfo?: undefined;
372
371
  defaultValue?: undefined;
372
+ reference?: undefined;
373
373
  } | {
374
374
  name: string;
375
375
  kind: string;
@@ -663,17 +663,47 @@ export declare const ADAPTABLE_METAMODEL: {
663
663
  kind: string;
664
664
  description: string;
665
665
  };
666
+ AlertOptions: {
667
+ name: string;
668
+ kind: string;
669
+ description: string;
670
+ properties: ({
671
+ name: string;
672
+ kind: string;
673
+ description: string;
674
+ uiLabel: string;
675
+ isOptional: boolean;
676
+ gridInfo?: undefined;
677
+ defaultValue?: undefined;
678
+ } | {
679
+ name: string;
680
+ kind: string;
681
+ description: string;
682
+ uiLabel: string;
683
+ isOptional: boolean;
684
+ gridInfo: string;
685
+ defaultValue: string;
686
+ })[];
687
+ };
666
688
  AlertProperties: {
667
689
  name: string;
668
690
  kind: string;
669
691
  description: string;
670
- properties: {
692
+ properties: ({
671
693
  name: string;
672
694
  kind: string;
673
695
  description: string;
674
696
  uiLabel: string;
675
697
  isOptional: boolean;
676
- }[];
698
+ defaultValue?: undefined;
699
+ } | {
700
+ name: string;
701
+ kind: string;
702
+ description: string;
703
+ uiLabel: string;
704
+ isOptional: boolean;
705
+ defaultValue: string;
706
+ })[];
677
707
  };
678
708
  AlertState: {
679
709
  name: string;
@@ -685,7 +715,6 @@ export declare const ADAPTABLE_METAMODEL: {
685
715
  description: string;
686
716
  uiLabel: string;
687
717
  isOptional: boolean;
688
- defaultValue: string;
689
718
  }[];
690
719
  };
691
720
  AlternativeModuleName: {
@@ -849,7 +878,6 @@ export declare const ADAPTABLE_METAMODEL: {
849
878
  description: string;
850
879
  uiLabel: string;
851
880
  isOptional: boolean;
852
- defaultValue: string;
853
881
  }[];
854
882
  };
855
883
  CellChangedInfo: {
@@ -1201,7 +1229,6 @@ export declare const ADAPTABLE_METAMODEL: {
1201
1229
  description: string;
1202
1230
  uiLabel: string;
1203
1231
  isOptional: boolean;
1204
- defaultValue: string;
1205
1232
  }[];
1206
1233
  };
1207
1234
  CustomToolbar: {
@@ -1749,13 +1776,13 @@ export declare const ADAPTABLE_METAMODEL: {
1749
1776
  kind: string;
1750
1777
  description: string;
1751
1778
  uiLabel: string;
1752
- isOptional?: undefined;
1779
+ isOptional: boolean;
1753
1780
  } | {
1754
1781
  name: string;
1755
1782
  kind: string;
1756
1783
  description: string;
1757
1784
  uiLabel: string;
1758
- isOptional: boolean;
1785
+ isOptional?: undefined;
1759
1786
  })[];
1760
1787
  };
1761
1788
  FilterActionOnDataChange: {
@@ -1839,6 +1866,7 @@ export declare const ADAPTABLE_METAMODEL: {
1839
1866
  description: string;
1840
1867
  uiLabel: string;
1841
1868
  isOptional: boolean;
1869
+ defaultValue: string;
1842
1870
  }[];
1843
1871
  };
1844
1872
  FilterState: {
@@ -1969,7 +1997,6 @@ export declare const ADAPTABLE_METAMODEL: {
1969
1997
  description: string;
1970
1998
  uiLabel: string;
1971
1999
  isOptional: boolean;
1972
- defaultValue: string;
1973
2000
  }[];
1974
2001
  };
1975
2002
  FormatColumn: {
@@ -2042,16 +2069,16 @@ export declare const ADAPTABLE_METAMODEL: {
2042
2069
  kind: string;
2043
2070
  description: string;
2044
2071
  uiLabel: string;
2045
- isOptional?: undefined;
2046
2072
  defaultValue?: undefined;
2073
+ isOptional?: undefined;
2047
2074
  reference?: undefined;
2048
2075
  } | {
2049
2076
  name: string;
2050
2077
  kind: string;
2051
2078
  description: string;
2052
2079
  uiLabel: string;
2053
- isOptional: boolean;
2054
2080
  defaultValue: string;
2081
+ isOptional?: undefined;
2055
2082
  reference?: undefined;
2056
2083
  } | {
2057
2084
  name: string;
@@ -2069,6 +2096,14 @@ export declare const ADAPTABLE_METAMODEL: {
2069
2096
  isOptional: boolean;
2070
2097
  reference: string;
2071
2098
  defaultValue?: undefined;
2099
+ } | {
2100
+ name: string;
2101
+ kind: string;
2102
+ description: string;
2103
+ uiLabel: string;
2104
+ isOptional: boolean;
2105
+ defaultValue: string;
2106
+ reference?: undefined;
2072
2107
  })[];
2073
2108
  };
2074
2109
  FreeTextColumnApi: {
@@ -2450,7 +2485,6 @@ export declare const ADAPTABLE_METAMODEL: {
2450
2485
  description: string;
2451
2486
  uiLabel: string;
2452
2487
  isOptional: boolean;
2453
- defaultValue: string;
2454
2488
  }[];
2455
2489
  };
2456
2490
  LiveDataChangedInfo: {
@@ -2532,15 +2566,6 @@ export declare const ADAPTABLE_METAMODEL: {
2532
2566
  kind: string;
2533
2567
  description: string;
2534
2568
  properties: ({
2535
- name: string;
2536
- kind: string;
2537
- description: string;
2538
- uiLabel: string;
2539
- isOptional: boolean;
2540
- gridInfo?: undefined;
2541
- defaultValue?: undefined;
2542
- reference?: undefined;
2543
- } | {
2544
2569
  name: string;
2545
2570
  kind: string;
2546
2571
  description: string;
@@ -2662,6 +2687,12 @@ export declare const ADAPTABLE_METAMODEL: {
2662
2687
  name: string;
2663
2688
  kind: string;
2664
2689
  description: string;
2690
+ properties: {
2691
+ name: string;
2692
+ kind: string;
2693
+ description: string;
2694
+ uiLabel: string;
2695
+ }[];
2665
2696
  };
2666
2697
  PlusMinusApi: {
2667
2698
  name: string;