@adaptabletools/adaptable 12.0.0 → 12.0.2

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 (161) hide show
  1. package/base.css +6 -19
  2. package/bundle.cjs.js +129 -129
  3. package/index.css +7 -23
  4. package/package.json +1 -1
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -2
  8. package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
  9. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
  10. package/src/AdaptableOptions/StateOptions.d.ts +9 -23
  11. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +34 -1
  12. package/src/Api/ChartingApi.d.ts +19 -2
  13. package/src/Api/FilterApi.d.ts +7 -2
  14. package/src/Api/FormatColumnApi.d.ts +6 -6
  15. package/src/Api/GridApi.d.ts +1 -1
  16. package/src/Api/Implementation/ChartingApiImpl.d.ts +6 -0
  17. package/src/Api/Implementation/ChartingApiImpl.js +17 -0
  18. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -0
  19. package/src/Api/Implementation/ConfigApiImpl.js +11 -0
  20. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -0
  21. package/src/Api/Implementation/FilterApiImpl.js +5 -0
  22. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -3
  23. package/src/Api/Implementation/FormatColumnApiImpl.js +13 -11
  24. package/src/Api/Implementation/GridApiImpl.d.ts +1 -1
  25. package/src/Api/Implementation/GridApiImpl.js +2 -2
  26. package/src/Api/Implementation/InternalApiImpl.d.ts +4 -1
  27. package/src/Api/Implementation/InternalApiImpl.js +16 -3
  28. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -0
  29. package/src/Api/Implementation/TeamSharingApiImpl.js +5 -0
  30. package/src/Api/InternalApi.d.ts +4 -1
  31. package/src/Api/TeamSharingApi.d.ts +4 -0
  32. package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
  33. package/src/PredefinedConfig/CalculatedColumnState.d.ts +0 -5
  34. package/src/PredefinedConfig/ChartingState.d.ts +20 -0
  35. package/src/PredefinedConfig/ChartingState.js +2 -0
  36. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +27 -6
  37. package/src/PredefinedConfig/Common/AdaptablePredicate.js +2 -2
  38. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  39. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
  40. package/src/PredefinedConfig/Selection/GridCellRange.d.ts +19 -0
  41. package/src/PredefinedConfig/StatusBarState.d.ts +1 -1
  42. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +23 -0
  43. package/src/Redux/ActionsReducers/ChartingRedux.js +38 -0
  44. package/src/Redux/ActionsReducers/LayoutRedux.js +3 -0
  45. package/src/Redux/Store/AdaptableStore.js +2 -0
  46. package/src/Strategy/AdaptableModuleBase.d.ts +10 -5
  47. package/src/Strategy/AdaptableModuleBase.js +6 -0
  48. package/src/Strategy/AlertModule.d.ts +2 -8
  49. package/src/Strategy/AlertModule.js +6 -3
  50. package/src/Strategy/ChartingModule.js +1 -1
  51. package/src/Strategy/DashboardModule.js +1 -0
  52. package/src/Strategy/ExportModule.js +1 -0
  53. package/src/Strategy/FlashingCellModule.js +3 -3
  54. package/src/Strategy/FormatColumnModule.js +3 -3
  55. package/src/Strategy/GridInfoModule.js +2 -0
  56. package/src/Strategy/Interface/IModule.d.ts +16 -4
  57. package/src/Strategy/LayoutModule.js +2 -0
  58. package/src/Strategy/TeamSharingModule.d.ts +11 -1
  59. package/src/Strategy/TeamSharingModule.js +104 -0
  60. package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
  61. package/src/Utilities/Helpers/FormatHelper.js +6 -2
  62. package/src/Utilities/MenuItem.d.ts +4 -4
  63. package/src/Utilities/ObjectFactory.d.ts +5 -1
  64. package/src/Utilities/ObjectFactory.js +11 -1
  65. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  66. package/src/Utilities/Services/ReportService.d.ts +1 -1
  67. package/src/Utilities/Services/ReportService.js +5 -5
  68. package/src/Utilities/Services/TeamSharingService.js +0 -2
  69. package/src/View/AdaptableViewFactory.js +0 -2
  70. package/src/View/Alert/ActiveAlertsPanelItemLabel.d.ts +5 -0
  71. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +22 -0
  72. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -11
  73. package/src/View/ColorPicker.d.ts +1 -1
  74. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  75. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +8 -4
  76. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +13 -1
  77. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +23 -15
  78. package/src/View/Components/Buttons/ButtonDelete.js +3 -3
  79. package/src/View/Components/Buttons/ButtonPause.js +11 -1
  80. package/src/View/Components/FilterForm/QuickFilterForm.js +23 -2
  81. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -1
  82. package/src/View/Components/Panels/PanelWithImage.d.ts +3 -2
  83. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -0
  84. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
  85. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -11
  86. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -11
  87. package/src/View/Dashboard/CustomDashboardButton.js +2 -15
  88. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -11
  89. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +13 -9
  90. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -0
  91. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  92. package/src/View/Layout/LayoutEditorStandalonePopup.js +3 -1
  93. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  94. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  95. package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +2 -27
  96. package/src/View/TeamSharing/SharedEntityDependencies.d.ts +8 -0
  97. package/src/View/TeamSharing/SharedEntityDependencies.js +27 -0
  98. package/src/View/TeamSharing/SharedEntityObjectView.d.ts +9 -0
  99. package/src/View/TeamSharing/SharedEntityObjectView.js +84 -0
  100. package/src/View/TeamSharing/TeamSharingApplyButton.d.ts +6 -0
  101. package/src/View/TeamSharing/TeamSharingApplyButton.js +15 -0
  102. package/src/View/UIHelper.d.ts +2 -2
  103. package/src/agGrid/ActionColumnRenderer.js +5 -11
  104. package/src/agGrid/Adaptable.d.ts +5 -27
  105. package/src/agGrid/Adaptable.js +87 -72
  106. package/src/agGrid/agGridMenuHelper.d.ts +1 -0
  107. package/src/agGrid/agGridMenuHelper.js +15 -4
  108. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -12
  109. package/src/components/AdaptableIconComponent/index.d.ts +2 -1
  110. package/src/components/AdaptableIconComponent/index.js +36 -3
  111. package/src/components/Datepicker/index.d.ts +1 -1
  112. package/src/components/Input/index.d.ts +1 -1
  113. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  114. package/src/components/PopupWithFooter.d.ts +1 -1
  115. package/src/components/SimpleButton/index.js +1 -1
  116. package/src/components/Textarea/index.d.ts +1 -1
  117. package/src/components/icons/{color-drop.d.ts → ends-with.d.ts} +0 -0
  118. package/src/components/icons/{format-letter-ends-with.js → ends-with.js} +0 -0
  119. package/src/components/icons/{filter-outline.d.ts → filter.d.ts} +0 -0
  120. package/src/components/icons/{filter-outline.js → filter.js} +0 -0
  121. package/src/components/icons/index.d.ts +5 -7
  122. package/src/components/icons/index.js +7 -21
  123. package/src/components/icons/{format-letter-ends-with.d.ts → starts-with.d.ts} +0 -0
  124. package/src/components/icons/{format-letter-starts-with.js → starts-with.js} +0 -0
  125. package/src/metamodel/adaptable.metamodel.d.ts +150 -1
  126. package/src/metamodel/adaptable.metamodel.js +1 -1
  127. package/src/types.d.ts +4 -2
  128. package/version.d.ts +1 -1
  129. package/version.js +1 -1
  130. package/src/View/Alert/AlertSharedEntity.d.ts +0 -5
  131. package/src/View/Alert/AlertSharedEntity.js +0 -19
  132. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.d.ts +0 -5
  133. package/src/View/CalculatedColumn/CalculatedColumnSharedEntity.js +0 -20
  134. package/src/View/ConditionalStyle/ConditionalStyleSharedEntity.d.ts +0 -5
  135. package/src/View/ConditionalStyle/ConditionalStyleSharedEntity.js +0 -23
  136. package/src/View/CustomSort/CustomSortSharedEntity.d.ts +0 -6
  137. package/src/View/CustomSort/CustomSortSharedEntity.js +0 -24
  138. package/src/View/Export/ExportSharedEntity.d.ts +0 -5
  139. package/src/View/Export/ExportSharedEntity.js +0 -16
  140. package/src/View/Filter/FilterSharedEntity.d.ts +0 -5
  141. package/src/View/Filter/FilterSharedEntity.js +0 -15
  142. package/src/View/FormatColumn/FormatColumnSharedEntity.d.ts +0 -5
  143. package/src/View/FormatColumn/FormatColumnSharedEntity.js +0 -18
  144. package/src/View/FreeTextColumn/FreeTextColumnSharedEntity.d.ts +0 -5
  145. package/src/View/FreeTextColumn/FreeTextColumnSharedEntity.js +0 -24
  146. package/src/View/Layout/LayoutSharedEntity.d.ts +0 -5
  147. package/src/View/Layout/LayoutSharedEntity.js +0 -15
  148. package/src/View/PlusMinus/PlusMinusSharedEntity.d.ts +0 -5
  149. package/src/View/PlusMinus/PlusMinusSharedEntity.js +0 -21
  150. package/src/View/Query/NamedQuerySharedEntity.d.ts +0 -5
  151. package/src/View/Query/NamedQuerySharedEntity.js +0 -19
  152. package/src/View/Shortcut/ShortcutSharedEntity.d.ts +0 -5
  153. package/src/View/Shortcut/ShortcutSharedEntity.js +0 -19
  154. package/src/View/TeamSharing/TeamSharingPopup.d.ts +0 -23
  155. package/src/View/TeamSharing/TeamSharingPopup.js +0 -163
  156. package/src/agGrid/rowEditIcons.d.ts +0 -5
  157. package/src/agGrid/rowEditIcons.js +0 -10
  158. package/src/components/icons/color-drop.js +0 -7
  159. package/src/components/icons/format-letter-starts-with.d.ts +0 -3
  160. package/src/components/icons/pause-red.d.ts +0 -3
  161. package/src/components/icons/pause-red.js +0 -7
@@ -196,6 +196,26 @@ export declare const ADAPTABLE_METAMODEL: {
196
196
  reference?: undefined;
197
197
  })[];
198
198
  };
199
+ AdaptableBaseIcon: {
200
+ name: string;
201
+ kind: string;
202
+ description: string;
203
+ properties: ({
204
+ name: string;
205
+ kind: string;
206
+ description: string;
207
+ uiLabel: string;
208
+ isOptional: boolean;
209
+ reference?: undefined;
210
+ } | {
211
+ name: string;
212
+ kind: string;
213
+ description: string;
214
+ uiLabel: string;
215
+ isOptional: boolean;
216
+ reference: string;
217
+ })[];
218
+ };
199
219
  AdaptableButton: {
200
220
  name: string;
201
221
  kind: string;
@@ -301,10 +321,27 @@ export declare const ADAPTABLE_METAMODEL: {
301
321
  kind: string;
302
322
  description: string;
303
323
  };
324
+ AdaptableElementIcon: {
325
+ name: string;
326
+ kind: string;
327
+ description: string;
328
+ properties: {
329
+ name: string;
330
+ kind: string;
331
+ description: string;
332
+ uiLabel: string;
333
+ }[];
334
+ };
304
335
  AdaptableExternalIcon: {
305
336
  name: string;
306
337
  kind: string;
307
338
  description: string;
339
+ properties: {
340
+ name: string;
341
+ kind: string;
342
+ description: string;
343
+ uiLabel: string;
344
+ }[];
308
345
  };
309
346
  AdaptableFDC3EventInfo: {
310
347
  name: string;
@@ -413,6 +450,26 @@ export declare const ADAPTABLE_METAMODEL: {
413
450
  name: string;
414
451
  kind: string;
415
452
  description: string;
453
+ properties: ({
454
+ name: string;
455
+ kind: string;
456
+ description: string;
457
+ uiLabel: string;
458
+ reference: string;
459
+ isOptional?: undefined;
460
+ } | {
461
+ name: string;
462
+ kind: string;
463
+ description: string;
464
+ uiLabel: string;
465
+ isOptional: boolean;
466
+ reference?: undefined;
467
+ })[];
468
+ };
469
+ AdaptableInternalIconName: {
470
+ name: string;
471
+ kind: string;
472
+ description: string;
416
473
  };
417
474
  AdaptableLoadStateFunction: {
418
475
  name: string;
@@ -1296,6 +1353,41 @@ export declare const ADAPTABLE_METAMODEL: {
1296
1353
  kind: string;
1297
1354
  description: string;
1298
1355
  };
1356
+ ChartDefinition: {
1357
+ name: string;
1358
+ kind: string;
1359
+ description: string;
1360
+ properties: {
1361
+ name: string;
1362
+ kind: string;
1363
+ description: string;
1364
+ uiLabel: string;
1365
+ reference: string;
1366
+ }[];
1367
+ };
1368
+ ChartingApi: {
1369
+ name: string;
1370
+ kind: string;
1371
+ description: string;
1372
+ properties: {
1373
+ name: string;
1374
+ kind: string;
1375
+ description: string;
1376
+ uiLabel: string;
1377
+ }[];
1378
+ };
1379
+ ChartingState: {
1380
+ name: string;
1381
+ kind: string;
1382
+ description: string;
1383
+ properties: {
1384
+ name: string;
1385
+ kind: string;
1386
+ description: string;
1387
+ uiLabel: string;
1388
+ isOptional: boolean;
1389
+ }[];
1390
+ };
1299
1391
  CheckboxColumnClickedInfo: {
1300
1392
  name: string;
1301
1393
  kind: string;
@@ -1739,6 +1831,29 @@ export declare const ADAPTABLE_METAMODEL: {
1739
1831
  isOptional?: undefined;
1740
1832
  })[];
1741
1833
  };
1834
+ CustomDisplayFormatter: {
1835
+ name: string;
1836
+ kind: string;
1837
+ description: string;
1838
+ };
1839
+ CustomDisplayFormatterContext: {
1840
+ name: string;
1841
+ kind: string;
1842
+ description: string;
1843
+ properties: ({
1844
+ name: string;
1845
+ kind: string;
1846
+ description: string;
1847
+ uiLabel: string;
1848
+ reference: string;
1849
+ } | {
1850
+ name: string;
1851
+ kind: string;
1852
+ description: string;
1853
+ uiLabel: string;
1854
+ reference?: undefined;
1855
+ })[];
1856
+ };
1742
1857
  CustomFDC3Column: {
1743
1858
  name: string;
1744
1859
  kind: string;
@@ -3022,6 +3137,24 @@ export declare const ADAPTABLE_METAMODEL: {
3022
3137
  reference?: undefined;
3023
3138
  })[];
3024
3139
  };
3140
+ GridCellRange: {
3141
+ name: string;
3142
+ kind: string;
3143
+ description: string;
3144
+ properties: ({
3145
+ name: string;
3146
+ kind: string;
3147
+ description: string;
3148
+ uiLabel: string;
3149
+ isOptional?: undefined;
3150
+ } | {
3151
+ name: string;
3152
+ kind: string;
3153
+ description: string;
3154
+ uiLabel: string;
3155
+ isOptional: boolean;
3156
+ })[];
3157
+ };
3025
3158
  GridDataChangedInfo: {
3026
3159
  name: string;
3027
3160
  kind: string;
@@ -4182,7 +4315,7 @@ export declare const ADAPTABLE_METAMODEL: {
4182
4315
  description: string;
4183
4316
  uiLabel: string;
4184
4317
  isOptional: boolean;
4185
- defaultValue: string;
4318
+ defaultValue?: undefined;
4186
4319
  reference?: undefined;
4187
4320
  } | {
4188
4321
  name: string;
@@ -4192,6 +4325,22 @@ export declare const ADAPTABLE_METAMODEL: {
4192
4325
  isOptional: boolean;
4193
4326
  defaultValue: string;
4194
4327
  reference: string;
4328
+ } | {
4329
+ name: string;
4330
+ kind: string;
4331
+ description: string;
4332
+ uiLabel: string;
4333
+ isOptional: boolean;
4334
+ defaultValue: string;
4335
+ reference?: undefined;
4336
+ } | {
4337
+ name: string;
4338
+ kind: string;
4339
+ description: string;
4340
+ uiLabel: string;
4341
+ isOptional: boolean;
4342
+ reference: string;
4343
+ defaultValue?: undefined;
4195
4344
  })[];
4196
4345
  };
4197
4346
  StatusBarState: {