@adaptabletools/adaptable 16.0.0-canary.7 → 16.0.0-canary.9

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 (62) hide show
  1. package/base.css +24 -0
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +204 -177
  4. package/index.css +32 -0
  5. package/index.css.map +1 -1
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
  10. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +17 -0
  11. package/src/Api/AdaptableApi.d.ts +5 -0
  12. package/src/Api/CommentsApi.d.ts +50 -0
  13. package/src/Api/CommentsApi.js +2 -0
  14. package/src/Api/EntitlementApi.d.ts +1 -1
  15. package/src/Api/Fdc3Api.d.ts +1 -1
  16. package/src/Api/GridApi.d.ts +0 -7
  17. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  18. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  19. package/src/Api/Implementation/CommentsApiImpl.d.ts +20 -0
  20. package/src/Api/Implementation/CommentsApiImpl.js +59 -0
  21. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  22. package/src/Api/Implementation/GridApiImpl.js +0 -3
  23. package/src/PredefinedConfig/AdaptableState.d.ts +2 -2
  24. package/src/PredefinedConfig/CommentsState.d.ts +29 -0
  25. package/src/PredefinedConfig/CommentsState.js +2 -0
  26. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +2 -2
  27. package/src/PredefinedConfig/Common/FDC3Context_DEPR.d.ts +3 -3
  28. package/src/PredefinedConfig/Common/Types.d.ts +2 -2
  29. package/src/PredefinedConfig/Common/Types.js +1 -0
  30. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -0
  31. package/src/PredefinedConfig/SystemState.d.ts +5 -0
  32. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +31 -0
  33. package/src/Redux/ActionsReducers/CommentsRedux.js +83 -0
  34. package/src/Redux/ActionsReducers/SystemRedux.d.ts +13 -1
  35. package/src/Redux/ActionsReducers/SystemRedux.js +37 -2
  36. package/src/Redux/Store/AdaptableStore.js +20 -6
  37. package/src/Strategy/CommentsModule.d.ts +23 -0
  38. package/src/Strategy/CommentsModule.js +141 -0
  39. package/src/Strategy/FormatColumnModule.d.ts +0 -1
  40. package/src/Strategy/FormatColumnModule.js +4 -28
  41. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
  42. package/src/Utilities/Constants/ModuleConstants.js +5 -2
  43. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
  44. package/src/Utilities/Helpers/AdaptableHelper.d.ts +2 -2
  45. package/src/Utilities/Helpers/AdaptableHelper.js +4 -4
  46. package/src/View/AdaptableView.js +2 -0
  47. package/src/View/AdaptableViewFactory.js +2 -0
  48. package/src/View/Comments/CommentListing.d.ts +2 -0
  49. package/src/View/Comments/CommentListing.js +89 -0
  50. package/src/View/Comments/CommentPopup.d.ts +2 -0
  51. package/src/View/Comments/CommentPopup.js +65 -0
  52. package/src/View/Components/CellPopup/index.d.ts +12 -0
  53. package/src/View/Components/CellPopup/index.js +69 -0
  54. package/src/agGrid/Adaptable.d.ts +4 -1
  55. package/src/agGrid/Adaptable.js +57 -17
  56. package/src/agGrid/agGridHelper.js +2 -0
  57. package/src/components/OverlayTrigger/utils.d.ts +1 -1
  58. package/src/metamodel/adaptable.metamodel.d.ts +27 -0
  59. package/src/metamodel/adaptable.metamodel.js +1 -1
  60. package/src/types.d.ts +4 -1
  61. package/version.d.ts +1 -1
  62. package/version.js +1 -1
@@ -35,6 +35,7 @@ const DataChangeHistoryModule_1 = require("../Strategy/DataChangeHistoryModule")
35
35
  const FlashingCellModule_1 = require("../Strategy/FlashingCellModule");
36
36
  const SettingsPanelModule_1 = require("../Strategy/SettingsPanelModule");
37
37
  const ChartingModule_1 = require("../Strategy/ChartingModule");
38
+ const CommentsModule_1 = require("../Strategy/CommentsModule");
38
39
  const PercentBarRenderer_1 = require("./PercentBarRenderer");
39
40
  const BadgeRenderer_1 = require("./BadgeRenderer");
40
41
  const Helper_1 = require("../Utilities/Helpers/Helper");
@@ -104,6 +105,7 @@ class agGridHelper {
104
105
  modules.set(ModuleConstants.SettingsPanelModuleId, new SettingsPanelModule_1.SettingsPanelModule(api));
105
106
  modules.set(ModuleConstants.StatusBarModuleId, new StatusBarModule_1.StatusBarModule(api));
106
107
  modules.set(ModuleConstants.ChartingModuleId, new ChartingModule_1.ChartingModule(api));
108
+ modules.set(ModuleConstants.CommentsModuleId, new CommentsModule_1.CommentsModule(api));
107
109
  modules.set(ModuleConstants.StyledColumnModuleId, new StyledColumnModule_1.StyledColumnModule(api));
108
110
  modules.set(ModuleConstants.Fdc3ModuleId, new Fdc3Module_1.Fdc3Module(api));
109
111
  return modules;
@@ -1,4 +1,4 @@
1
1
  import { BoundingClientRect } from '../utils/getAvailableSizeInfo';
2
- export declare const getRect: (node: HTMLElement, offset?: number) => BoundingClientRect;
2
+ export declare const getRect: (node: Element, offset?: number) => BoundingClientRect;
3
3
  export declare const getDocRect: () => BoundingClientRect;
4
4
  export declare const getIntersection: (rect1: BoundingClientRect, rect2: BoundingClientRect) => BoundingClientRect;
@@ -312,6 +312,11 @@ export declare const ADAPTABLE_METAMODEL: {
312
312
  kind: string;
313
313
  desc: string;
314
314
  };
315
+ AdaptableComment: {
316
+ name: string;
317
+ kind: string;
318
+ desc: string;
319
+ };
315
320
  AdaptableComparerFunction: {
316
321
  name: string;
317
322
  kind: string;
@@ -1698,6 +1703,28 @@ export declare const ADAPTABLE_METAMODEL: {
1698
1703
  ref: string;
1699
1704
  })[];
1700
1705
  };
1706
+ CommentsState: {
1707
+ name: string;
1708
+ kind: string;
1709
+ desc: string;
1710
+ props: {
1711
+ name: string;
1712
+ kind: string;
1713
+ desc: string;
1714
+ isOpt: boolean;
1715
+ ref: string;
1716
+ }[];
1717
+ };
1718
+ CommmentableCellContext: {
1719
+ name: string;
1720
+ kind: string;
1721
+ desc: string;
1722
+ props: {
1723
+ name: string;
1724
+ kind: string;
1725
+ desc: string;
1726
+ }[];
1727
+ };
1701
1728
  CompatibleContext: {
1702
1729
  name: string;
1703
1730
  kind: string;