@adaptabletools/adaptable 12.1.4 → 12.1.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 (68) hide show
  1. package/bundle.cjs.js +116 -143
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/Api/Implementation/FilterApiImpl.js +3 -0
  6. package/src/PredefinedConfig/AlertState.d.ts +2 -2
  7. package/src/PredefinedConfig/Common/AdaptablePredicate.js +9 -1
  8. package/src/PredefinedConfig/Common/Types.d.ts +1 -0
  9. package/src/PredefinedConfig/Common/Types.js +38 -1
  10. package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
  11. package/src/Strategy/AlertModule.js +1 -1
  12. package/src/Strategy/BulkUpdateModule.js +1 -1
  13. package/src/Strategy/CalculatedColumnModule.js +1 -1
  14. package/src/Strategy/CellSummaryModule.js +1 -1
  15. package/src/Strategy/ChartingModule.js +1 -1
  16. package/src/Strategy/ConditionalStyleModule.js +1 -1
  17. package/src/Strategy/CustomSortModule.js +1 -1
  18. package/src/Strategy/DashboardModule.js +1 -1
  19. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  20. package/src/Strategy/DataSetModule.js +1 -1
  21. package/src/Strategy/ExportModule.js +1 -1
  22. package/src/Strategy/FilterModule.js +1 -1
  23. package/src/Strategy/FlashingCellModule.js +1 -1
  24. package/src/Strategy/FormatColumnModule.js +1 -1
  25. package/src/Strategy/FreeTextColumnModule.js +1 -1
  26. package/src/Strategy/GridInfoModule.js +1 -1
  27. package/src/Strategy/LayoutModule.js +1 -1
  28. package/src/Strategy/PlusMinusModule.js +1 -1
  29. package/src/Strategy/QueryModule.js +1 -1
  30. package/src/Strategy/QuickSearchModule.js +1 -1
  31. package/src/Strategy/ScheduleModule.js +1 -1
  32. package/src/Strategy/ShortcutModule.js +1 -1
  33. package/src/Strategy/SmartEditModule.js +1 -1
  34. package/src/Strategy/StateManagementModule.js +1 -1
  35. package/src/Strategy/StatusBarModule.js +1 -1
  36. package/src/Strategy/SystemStatusModule.js +1 -1
  37. package/src/Strategy/TeamSharingModule.js +1 -1
  38. package/src/Strategy/ThemeModule.js +1 -1
  39. package/src/Strategy/ToolPanelModule.js +1 -1
  40. package/src/Utilities/Constants/ModuleConstants.d.ts +68 -0
  41. package/src/Utilities/Constants/ModuleConstants.js +70 -1
  42. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -1
  43. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +5 -0
  44. package/src/Utilities/Services/MetamodelService.d.ts +4 -4
  45. package/src/Utilities/Services/MetamodelService.js +19 -12
  46. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +193 -135
  47. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +23 -15
  48. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -7
  49. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +2 -2
  50. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +148 -8
  51. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -7
  52. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.d.ts +6 -0
  53. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +33 -0
  54. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +6 -0
  55. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +82 -0
  56. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +6 -0
  57. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +109 -0
  58. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +8 -0
  59. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +16 -0
  60. package/src/View/AdaptableWizardView/Wizard.js +2 -1
  61. package/src/View/AdaptableWizardView/helper.d.ts +1 -1
  62. package/src/View/AdaptableWizardView/helper.js +3 -10
  63. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  64. package/src/View/Layout/Wizard/sections/ColumnsSection.js +2 -2
  65. package/src/agGrid/Adaptable.js +4 -1
  66. package/src/metamodel/adaptable.metamodel.js +1 -1
  67. package/version.d.ts +1 -1
  68. package/version.js +1 -1
@@ -392,7 +392,7 @@ class Adaptable {
392
392
  this.AlertService = new AlertService_1.AlertService(this.api);
393
393
  this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this.api);
394
394
  this.RowEditService = new RowEditService_1.RowEditService(this.api);
395
- this.MetamodelService = new MetamodelService_1.MetamodelService(this.api);
395
+ this.MetamodelService = new MetamodelService_1.MetamodelService(() => this.api.internalApi.getAdaptableOptions());
396
396
  this.forPlugins((plugin) => plugin.afterInitServices(this));
397
397
  // Set up Modules - we set up all the Modules suitable for AG Grid
398
398
  // But users can make some hidden or readonly in their entitlements
@@ -1395,6 +1395,9 @@ class Adaptable {
1395
1395
  shouldUpdateHeaders = this.setupColumnHeader(colSetupInfo) || shouldUpdateHeaders;
1396
1396
  });
1397
1397
  isChanged = isChanged || shouldUpdateHeaders;
1398
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(layout.ColumnFilters)) {
1399
+ this.gridOptions.api.onFilterChanged();
1400
+ }
1398
1401
  if (isChanged) {
1399
1402
  // it's important we set pivot mode
1400
1403
  // before we set column state