@alfresco/aca-shared 4.4.1 → 4.5.0-10004013253

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 (137) hide show
  1. package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +2 -2
  2. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +8 -6
  3. package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +2 -2
  4. package/esm2020/lib/components/generic-error/generic-error.component.mjs +2 -2
  5. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +5 -6
  6. package/esm2020/lib/components/locked-by/locked-by.component.mjs +2 -2
  7. package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +2 -2
  8. package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +2 -2
  9. package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +2 -2
  10. package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +2 -2
  11. package/esm2020/lib/components/page-layout/page-layout.component.mjs +2 -2
  12. package/esm2020/lib/components/page-layout/page-layout.module.mjs +2 -2
  13. package/esm2020/lib/components/toolbar/toolbar-action/toolbar-action.component.mjs +5 -6
  14. package/esm2020/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +2 -2
  15. package/esm2020/lib/components/toolbar/toolbar-menu/toolbar-menu.component.mjs +6 -8
  16. package/esm2020/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +8 -10
  17. package/esm2020/lib/components/toolbar/toolbar.component.mjs +2 -2
  18. package/esm2020/lib/constants/index.mjs +25 -0
  19. package/esm2020/lib/constants/mime-types.mjs +213 -0
  20. package/esm2020/lib/deprecated/shared-toolbar.module.mjs +5 -28
  21. package/esm2020/lib/deprecated/shared.module.mjs +2 -2
  22. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +2 -2
  23. package/esm2020/lib/directives/pagination.directive.mjs +2 -2
  24. package/esm2020/lib/models/types.mjs +2 -2
  25. package/esm2020/lib/models/viewer.rules.mjs +2 -2
  26. package/esm2020/lib/routing/plugin-enabled.guard.mjs +54 -0
  27. package/esm2020/lib/routing/shared.guard.mjs +2 -2
  28. package/esm2020/lib/services/aca-file-auto-download.service.mjs +2 -2
  29. package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +2 -2
  30. package/esm2020/lib/services/app-hook.service.mjs +2 -2
  31. package/esm2020/lib/services/app-settings.service.mjs +98 -0
  32. package/esm2020/lib/services/app.extension.service.mjs +3 -20
  33. package/esm2020/lib/services/app.service.mjs +18 -37
  34. package/esm2020/lib/services/content-api.service.mjs +2 -2
  35. package/esm2020/lib/services/node-permission.service.mjs +2 -2
  36. package/esm2020/lib/services/router.extension.service.mjs +2 -2
  37. package/esm2020/lib/testing/lib-testing-module.mjs +31 -9
  38. package/esm2020/lib/utils/node.utils.mjs +2 -2
  39. package/esm2020/public-api.mjs +5 -3
  40. package/esm2020/rules/app.rules.mjs +10 -24
  41. package/esm2020/rules/navigation.rules.mjs +2 -2
  42. package/esm2020/rules/public-api.mjs +2 -2
  43. package/esm2020/rules/repository.rules.mjs +2 -2
  44. package/esm2020/rules/user.rules.mjs +2 -2
  45. package/esm2020/store/actions/app-action-types.mjs +2 -3
  46. package/esm2020/store/actions/app.actions.mjs +2 -8
  47. package/esm2020/store/actions/context-menu-action-types.mjs +2 -2
  48. package/esm2020/store/actions/contextmenu.actions.mjs +2 -2
  49. package/esm2020/store/actions/library.actions.mjs +2 -2
  50. package/esm2020/store/actions/metadata-aspect.actions.mjs +2 -2
  51. package/esm2020/store/actions/node.actions.mjs +2 -2
  52. package/esm2020/store/actions/router-action-types.mjs +2 -2
  53. package/esm2020/store/actions/router.actions.mjs +2 -2
  54. package/esm2020/store/actions/search.actions.mjs +2 -2
  55. package/esm2020/store/actions/snackbar.actions.mjs +2 -2
  56. package/esm2020/store/actions/template-action-types.mjs +2 -2
  57. package/esm2020/store/actions/template.actions.mjs +2 -2
  58. package/esm2020/store/actions/upload.actions.mjs +2 -2
  59. package/esm2020/store/actions/viewer.actions.mjs +4 -4
  60. package/esm2020/store/effects/dialog.effects.mjs +2 -2
  61. package/esm2020/store/effects/router.effects.mjs +2 -2
  62. package/esm2020/store/effects/snackbar.effects.mjs +2 -2
  63. package/esm2020/store/models/delete-status.model.mjs +2 -2
  64. package/esm2020/store/models/deleted-node-info.model.mjs +2 -2
  65. package/esm2020/store/models/modal-configuration.mjs +2 -2
  66. package/esm2020/store/models/node-info.model.mjs +2 -2
  67. package/esm2020/store/models/search-option.model.mjs +2 -2
  68. package/esm2020/store/public-api.mjs +2 -2
  69. package/esm2020/store/selectors/app.selectors.mjs +4 -8
  70. package/esm2020/store/states/app.state.mjs +35 -2
  71. package/esm2020/store/store.module.mjs +2 -2
  72. package/fesm2015/alfresco-aca-shared-rules.mjs +14 -28
  73. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -1
  74. package/fesm2015/alfresco-aca-shared-store.mjs +61 -39
  75. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -1
  76. package/fesm2015/alfresco-aca-shared.mjs +445 -121
  77. package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
  78. package/fesm2020/alfresco-aca-shared-rules.mjs +14 -28
  79. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -1
  80. package/fesm2020/alfresco-aca-shared-store.mjs +64 -42
  81. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -1
  82. package/fesm2020/alfresco-aca-shared.mjs +460 -142
  83. package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
  84. package/lib/adf-extensions/extensions-data-loader.guard.d.ts +1 -1
  85. package/lib/components/document-base-page/document-base-page.component.d.ts +1 -2
  86. package/lib/components/document-base-page/document-base-page.service.d.ts +1 -1
  87. package/lib/components/info-drawer/info-drawer.component.d.ts +1 -1
  88. package/lib/components/locked-by/locked-by.component.d.ts +1 -1
  89. package/lib/components/page-layout/page-layout.component.d.ts +1 -1
  90. package/lib/components/toolbar/toolbar-action/toolbar-action.component.d.ts +1 -1
  91. package/lib/components/toolbar/toolbar-menu/toolbar-menu.component.d.ts +1 -1
  92. package/lib/{models/modal-configuration.d.ts → constants/index.d.ts} +2 -4
  93. package/lib/constants/mime-types.d.ts +28 -0
  94. package/lib/deprecated/shared-toolbar.module.d.ts +5 -8
  95. package/lib/directives/contextmenu/contextmenu.directive.d.ts +1 -1
  96. package/lib/directives/pagination.directive.d.ts +1 -1
  97. package/lib/models/types.d.ts +1 -17
  98. package/lib/models/viewer.rules.d.ts +1 -1
  99. package/lib/routing/plugin-enabled.guard.d.ts +35 -0
  100. package/lib/services/app-settings.service.d.ts +44 -0
  101. package/lib/services/app.extension.service.d.ts +2 -7
  102. package/lib/services/app.service.d.ts +7 -6
  103. package/lib/testing/lib-testing-module.d.ts +14 -2
  104. package/lib/utils/node.utils.d.ts +1 -1
  105. package/package.json +5 -5
  106. package/public-api.d.ts +4 -2
  107. package/rules/app.rules.d.ts +1 -7
  108. package/rules/navigation.rules.d.ts +1 -1
  109. package/rules/public-api.d.ts +1 -1
  110. package/rules/repository.rules.d.ts +1 -1
  111. package/rules/user.rules.d.ts +1 -1
  112. package/store/actions/app-action-types.d.ts +1 -2
  113. package/store/actions/app.actions.d.ts +1 -7
  114. package/store/actions/context-menu-action-types.d.ts +1 -1
  115. package/store/actions/contextmenu.actions.d.ts +1 -1
  116. package/store/actions/library.actions.d.ts +1 -1
  117. package/store/actions/metadata-aspect.actions.d.ts +1 -1
  118. package/store/actions/node.actions.d.ts +1 -1
  119. package/store/actions/router-action-types.d.ts +1 -1
  120. package/store/actions/router.actions.d.ts +1 -1
  121. package/store/actions/search.actions.d.ts +1 -1
  122. package/store/actions/snackbar.actions.d.ts +1 -1
  123. package/store/actions/template-action-types.d.ts +1 -1
  124. package/store/actions/template.actions.d.ts +1 -1
  125. package/store/actions/upload.actions.d.ts +1 -1
  126. package/store/actions/viewer.actions.d.ts +4 -4
  127. package/store/effects/dialog.effects.d.ts +1 -1
  128. package/store/effects/snackbar.effects.d.ts +1 -1
  129. package/store/models/delete-status.model.d.ts +1 -1
  130. package/store/models/deleted-node-info.model.d.ts +1 -1
  131. package/store/models/modal-configuration.d.ts +1 -1
  132. package/store/models/node-info.model.d.ts +1 -1
  133. package/store/models/search-option.model.d.ts +1 -1
  134. package/store/public-api.d.ts +1 -1
  135. package/store/selectors/app.selectors.d.ts +2 -7
  136. package/store/states/app.state.d.ts +5 -7
  137. package/esm2020/lib/models/modal-configuration.mjs +0 -25
@@ -3,17 +3,17 @@ import { InjectionToken, Injectable, Inject, Component, ViewEncapsulation, Chang
3
3
  import { of, forkJoin, from, BehaviorSubject, Subject } from 'rxjs';
4
4
  import { map, tap, catchError, filter, takeUntil, debounceTime } from 'rxjs/operators';
5
5
  import * as i1 from '@alfresco/adf-core';
6
- import { AppConfigService, IconModule, InfoDrawerModule, ShowHeaderMode, PipeModule, AlfrescoApiService, AlfrescoApiServiceMock, TranslationService, TranslationMock, TranslateLoaderService, CoreModule } from '@alfresco/adf-core';
6
+ import { AppConfigService, IconComponent, IconModule, InfoDrawerModule, ShowHeaderMode, AlfrescoApiService, AlfrescoApiServiceMock, TranslationService, TranslationMock, TranslateLoaderService } from '@alfresco/adf-core';
7
7
  import * as i4$1 from '@alfresco/adf-content-services';
8
8
  import { FileAutoDownloadComponent, UploadService, DocumentListComponent } from '@alfresco/adf-content-services';
9
9
  import * as i7 from '@angular/cdk/overlay';
10
10
  import { OverlayModule } from '@angular/cdk/overlay';
11
11
  import * as i3 from '@angular/router';
12
12
  import { ActivationEnd, NavigationStart, Router } from '@angular/router';
13
- import { CloseModalDialogsAction, SetCurrentUrlAction, ResetSelectionAction, SnackbarErrorAction, SetRepositoryInfoAction, SetUserProfileAction, SetInitialStateAction, getCustomCssPath, getCustomWebFontPath, STORE_INITIAL_APP_DATA, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, getSharedUrl, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, ReloadDocumentListAction, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
14
- import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi } from '@alfresco/js-api';
13
+ import { CloseModalDialogsAction, SetCurrentUrlAction, ResetSelectionAction, SnackbarErrorAction, SetRepositoryInfoAction, SetUserProfileAction, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, ReloadDocumentListAction, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
14
+ import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, RepositoryInfo } from '@alfresco/js-api';
15
15
  import * as i3$1 from '@alfresco/adf-extensions';
16
- import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, ExtensionsModule } from '@alfresco/adf-extensions';
16
+ import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, DynamicExtensionComponent, DynamicTabComponent } from '@alfresco/adf-extensions';
17
17
  import * as i1$2 from '@ngrx/store';
18
18
  import { Store, StoreModule } from '@ngrx/store';
19
19
  import * as i1$1 from '@angular/material/dialog';
@@ -28,9 +28,9 @@ import * as i5 from '@angular/material/icon';
28
28
  import { MatIconModule } from '@angular/material/icon';
29
29
  import { A11yModule } from '@angular/cdk/a11y';
30
30
  import * as i6 from '@angular/platform-browser';
31
- import * as i5$1 from '@angular/material/menu';
31
+ import * as i4$2 from '@angular/material/menu';
32
32
  import { MatMenuItem, MatMenuModule, MatMenu } from '@angular/material/menu';
33
- import * as i6$1 from '@angular/material/divider';
33
+ import * as i5$1 from '@angular/material/divider';
34
34
  import { MatDividerModule } from '@angular/material/divider';
35
35
  import * as i2$1 from '@angular/material/toolbar';
36
36
  import { MatToolbarModule } from '@angular/material/toolbar';
@@ -45,7 +45,7 @@ import { EffectsModule } from '@ngrx/effects';
45
45
  import { MatIconTestingModule } from '@angular/material/icon/testing';
46
46
 
47
47
  /*!
48
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
48
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
49
49
  *
50
50
  * Alfresco Example Content Application
51
51
  *
@@ -114,7 +114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
114
114
  }] }]; } });
115
115
 
116
116
  /*!
117
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
117
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
118
118
  *
119
119
  * Alfresco Example Content Application
120
120
  *
@@ -162,7 +162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
162
162
  }] } });
163
163
 
164
164
  /*!
165
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
165
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
166
166
  *
167
167
  * Alfresco Example Content Application
168
168
  *
@@ -202,7 +202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
202
202
  }] });
203
203
 
204
204
  /*!
205
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
205
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
206
206
  *
207
207
  * Alfresco Example Content Application
208
208
  *
@@ -242,7 +242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
242
242
  }] });
243
243
 
244
244
  /*!
245
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
245
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
246
246
  *
247
247
  * Alfresco Example Content Application
248
248
  *
@@ -501,7 +501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
501
501
  }], ctorParameters: function () { return [{ type: i1.AlfrescoApiService }, { type: i1.UserPreferencesService }]; } });
502
502
 
503
503
  /*!
504
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
504
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
505
505
  *
506
506
  * Alfresco Example Content Application
507
507
  *
@@ -600,7 +600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
600
600
  }], ctorParameters: function () { return [{ type: i3.Router }, { type: i3$1.ExtensionService }]; } });
601
601
 
602
602
  /*!
603
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
603
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
604
604
  *
605
605
  * Alfresco Example Content Application
606
606
  *
@@ -655,7 +655,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
655
655
  }] }, { type: i1$1.MatDialogRef }]; } });
656
656
 
657
657
  /*!
658
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
658
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
659
659
  *
660
660
  * Alfresco Example Content Application
661
661
  *
@@ -779,7 +779,314 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
779
779
  }] });
780
780
 
781
781
  /*!
782
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
782
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
783
+ *
784
+ * Alfresco Example Content Application
785
+ *
786
+ * This file is part of the Alfresco Example Content Application.
787
+ * If the software was purchased under a paid Alfresco license, the terms of
788
+ * the paid license agreement will prevail. Otherwise, the software is
789
+ * provided under the following open source license terms:
790
+ *
791
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
792
+ * it under the terms of the GNU Lesser General Public License as published by
793
+ * the Free Software Foundation, either version 3 of the License, or
794
+ * (at your option) any later version.
795
+ *
796
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
797
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
798
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
799
+ * GNU Lesser General Public License for more details.
800
+ *
801
+ * You should have received a copy of the GNU Lesser General Public License
802
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
803
+ */
804
+ const DefaultMimeTypes = [
805
+ { value: 'video/3gpp', label: '3G Video' },
806
+ { value: 'video/3gpp2', label: '3G2 Video' },
807
+ { value: 'application/vnd.alfresco.ai.features.v1+json', label: 'AI-Features' },
808
+ { value: 'application/vnd.alfresco.ai.labels.v1+json', label: 'AI-Labels' },
809
+ { value: 'application/vnd.alfresco.ai.pii.entities.v1+json', label: 'AI-PII-Entities' },
810
+ { value: 'application/vnd.alfresco.ai.speech-to-text.v1+json', label: 'AI-SpeechToText' },
811
+ { value: 'application/vnd.alfresco.ai.textract.v1+json', label: 'AI-Textract' },
812
+ { value: 'audio/x-aiff', label: 'AIFF Audio' },
813
+ { value: 'application/vnd.adobe.air-application-installer-package+zip', label: 'Adobe AIR' },
814
+ { value: 'application/vnd.adobe.xdp+xml', label: 'Adobe Acrobat XML Data Package' },
815
+ { value: 'application/vnd.adobe.aftereffects.project', label: 'Adobe AfterEffects Project' },
816
+ { value: 'application/vnd.adobe.aftereffects.template', label: 'Adobe AfterEffects Template' },
817
+ { value: 'image/x-raw-adobe', label: 'Adobe Digital Negative Image' },
818
+ { value: 'application/x-zip', label: 'Adobe Flex Project File' },
819
+ { value: 'application/framemaker', label: 'Adobe FrameMaker' },
820
+ { value: 'application/illustrator', label: 'Adobe Illustrator File' },
821
+ { value: 'application/x-indesign', label: 'Adobe InDesign Document' },
822
+ { value: 'application/pdf', label: 'Adobe PDF Document' },
823
+ { value: 'application/pagemaker', label: 'Adobe PageMaker' },
824
+ { value: 'image/vnd.adobe.photoshop', label: 'Adobe Photoshop' },
825
+ { value: 'image/vnd.adobe.premiere', label: 'Adobe Premiere' },
826
+ { value: 'audio/vnd.adobe.soundbooth', label: 'Adobe SoundBooth' },
827
+ { value: 'application/acp', label: 'Alfresco Content Package' },
828
+ { value: 'application/vnd.android.package-archive', label: 'Android Package' },
829
+ { value: 'image/x-portable-anymap', label: 'Anymap Image' },
830
+ { value: 'image/icns', label: 'Apple Icon' },
831
+ { value: 'application/vnd.apple.keynote', label: 'Apple iWork Keynote' },
832
+ { value: 'application/vnd.apple.numbers', label: 'Apple iWork Numbers' },
833
+ { value: 'application/vnd.apple.pages', label: 'Apple iWork Pages' },
834
+ { value: 'image/vnd.dwg', label: 'AutoCAD Drawing' },
835
+ { value: 'image/x-dwt', label: 'AutoCAD Template' },
836
+ { value: 'audio/basic', label: 'Basic Audio' },
837
+ { value: 'application/x-dosexec', label: 'Binary File' },
838
+ { value: 'application/octet-stream', label: 'Binary File (Octet Stream)' },
839
+ { value: 'image/bmp', label: 'Bitmap Image' },
840
+ { value: 'image/cgm', label: 'CGM Image' },
841
+ { value: 'image/x-raw-canon', label: 'Canon RAW Image' },
842
+ { value: 'text/csv', label: 'Comma Separated Values (CSV)' },
843
+ { value: 'application/dita+xml', label: 'DITA' },
844
+ { value: 'message/rfc822', label: 'EMail' },
845
+ { value: 'application/eps', label: 'EPS Type PostScript' },
846
+ { value: 'audio/x-flac', label: 'FLAC Audio' },
847
+ { value: 'application/x-fla', label: 'Flash Source' },
848
+ { value: 'video/x-flv', label: 'Flash Video' },
849
+ { value: 'image/x-raw-fuji', label: 'Fuji RAW Image' },
850
+ { value: 'image/gif', label: 'GIF Image' },
851
+ { value: 'application/x-gzip', label: 'GZIP' },
852
+ { value: 'application/x-gtar', label: 'GZIP Tarball' },
853
+ { value: 'image/x-portable-graymap', label: 'Greymap Image' },
854
+ { value: 'text/html', label: 'HTML' },
855
+ { value: 'application/vnd.oasis.opendocument.text-web', label: 'HTML Document Template' },
856
+ { value: 'image/x-raw-hasselblad', label: 'Hasselblad RAW Image' },
857
+ { value: 'image/ief', label: 'IEF Image' },
858
+ { value: 'image/jp2', label: 'JPEG 2000 Image' },
859
+ { value: 'image/jpeg', label: 'JPEG Image' },
860
+ { value: 'application/json', label: 'JSON' },
861
+ { value: 'application/java-archive', label: 'Java Archive' },
862
+ { value: 'application/java', label: 'Java Class' },
863
+ { value: 'text/x-jsp', label: 'Java Server Page' },
864
+ { value: 'text/x-java-source', label: 'Java Source File' },
865
+ { value: 'application/x-javascript', label: 'JavaScript' },
866
+ { value: 'image/x-raw-kodak', label: 'Kodak RAW Image' },
867
+ { value: 'application/x-latex', label: 'LaTeX' },
868
+ { value: 'image/x-raw-leica', label: 'Leica RAW Image' },
869
+ { value: 'audio/mpeg', label: 'MPEG Audio' },
870
+ { value: 'video/mp2t', label: 'MPEG Transport Stream' },
871
+ { value: 'video/mpeg', label: 'MPEG Video' },
872
+ { value: 'video/mpeg2', label: 'MPEG2 Video' },
873
+ { value: 'audio/mp4', label: 'MPEG4 Audio' },
874
+ { value: 'video/mp4', label: 'MPEG4 Video' },
875
+ { value: 'video/x-m4v', label: 'MPEG4 Video (m4v)' },
876
+ { value: 'video/x-ms-asf', label: 'MS ASF Streaming Video' },
877
+ { value: 'video/x-msvideo', label: 'MS Video' },
878
+ { value: 'audio/x-ms-wma', label: 'MS WMA Streaming Audio' },
879
+ { value: 'video/x-ms-wmv', label: 'MS WMV Streaming Video' },
880
+ { value: 'application/x-troff-man', label: 'Man Page' },
881
+ { value: 'text/x-markdown', label: 'Markdown' },
882
+ { value: 'text/mediawiki', label: 'MediaWiki Markup' },
883
+ { value: 'application/vnd.ms-excel', label: 'Microsoft Excel' },
884
+ { value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', label: 'Microsoft Excel 2007' },
885
+ { value: 'application/vnd.ms-excel.addin.macroenabled.12', label: 'Microsoft Excel 2007 add-in' },
886
+ { value: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', label: 'Microsoft Excel 2007 binary workbook' },
887
+ { value: 'application/vnd.ms-excel.sheet.macroenabled.12', label: 'Microsoft Excel 2007 macro-enabled workbook' },
888
+ { value: 'application/vnd.ms-excel.template.macroenabled.12', label: 'Microsoft Excel 2007 macro-enabled workbook template' },
889
+ { value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', label: 'Microsoft Excel template 2007' },
890
+ { value: 'application/vnd.ms-outlook', label: 'Microsoft Outlook Message' },
891
+ { value: 'application/vnd.ms-powerpoint', label: 'Microsoft PowerPoint' },
892
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', label: 'Microsoft PowerPoint 2007' },
893
+ { value: 'application/vnd.ms-powerpoint.addin.macroenabled.12', label: 'Microsoft PowerPoint 2007 add-in' },
894
+ { value: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled presentation' },
895
+ { value: 'application/vnd.ms-powerpoint.template.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled presentation template' },
896
+ { value: 'application/vnd.ms-powerpoint.slide.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled slide' },
897
+ { value: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled slide show' },
898
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.slide', label: 'Microsoft PowerPoint 2007 slide' },
899
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', label: 'Microsoft PowerPoint 2007 slide show' },
900
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.template', label: 'Microsoft PowerPoint 2007 template' },
901
+ { value: 'application/vnd.ms-project', label: 'Microsoft Project' },
902
+ { value: 'application/vnd.visio', label: 'Microsoft Visio' },
903
+ { value: 'application/vnd.visio2013', label: 'Microsoft Visio 2013' },
904
+ { value: 'application/vnd.ms-visio.drawing.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled drawing' },
905
+ { value: 'application/vnd.ms-visio.stencil.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled stencil' },
906
+ { value: 'application/vnd.ms-visio.template.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled template' },
907
+ { value: 'application/vnd.ms-visio.stencil.main+xml', label: 'Microsoft Visio stencil' },
908
+ { value: 'application/vnd.ms-visio.template.main+xml', label: 'Microsoft Visio template' },
909
+ { value: 'application/msword', label: 'Microsoft Word' },
910
+ { value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', label: 'Microsoft Word 2007' },
911
+ { value: 'application/vnd.ms-word.document.macroenabled.12', label: 'Microsoft Word 2007 macro-enabled document' },
912
+ { value: 'application/vnd.ms-word.template.macroenabled.12', label: 'Microsoft Word 2007 macro-enabled document template' },
913
+ { value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', label: 'Microsoft Word 2007 template' },
914
+ { value: 'image/x-raw-minolta', label: 'Minolta RAW Image' },
915
+ { value: 'image/x-raw-nikon', label: 'Nikon RAW Image' },
916
+ { value: 'audio/ogg', label: 'Ogg Audio' },
917
+ { value: 'application/ogg', label: 'Ogg Multiplex' },
918
+ { value: 'video/ogg', label: 'Ogg Video' },
919
+ { value: 'audio/vorbis', label: 'Ogg Vorbis Audio' },
920
+ { value: 'image/x-raw-olympus', label: 'Olympus RAW Image' },
921
+ { value: 'application/vnd.oasis.opendocument.chart', label: 'OpenDocument Chart' },
922
+ { value: 'application/vnd.oasis.opendocument.database', label: 'OpenDocument Database' },
923
+ { value: 'application/vnd.oasis.opendocument.graphics', label: 'OpenDocument Drawing' },
924
+ { value: 'application/vnd.oasis.opendocument.graphics-template', label: 'OpenDocument Drawing Template' },
925
+ { value: 'application/vnd.oasis.opendocument.formula', label: 'OpenDocument Formula' },
926
+ { value: 'application/vnd.oasis.opendocument.image', label: 'OpenDocument Image' },
927
+ { value: 'application/vnd.oasis.opendocument.text-master', label: 'OpenDocument Master Document' },
928
+ { value: 'application/vnd.oasis.opendocument.presentation', label: 'OpenDocument Presentation' },
929
+ { value: 'application/vnd.oasis.opendocument.presentation-template', label: 'OpenDocument Presentation Template' },
930
+ { value: 'application/vnd.oasis.opendocument.spreadsheet', label: 'OpenDocument Spreadsheet' },
931
+ { value: 'application/vnd.oasis.opendocument.spreadsheet-template', label: 'OpenDocument Spreadsheet Template' },
932
+ { value: 'application/vnd.oasis.opendocument.text', label: 'OpenDocument Text (OpenOffice 2.0)' },
933
+ { value: 'application/vnd.oasis.opendocument.text-template', label: 'OpenDocument Text Template' },
934
+ { value: 'application/vnd.sun.xml.calc', label: 'OpenOffice 1.0/StarOffice6.0 Calc 6.0' },
935
+ { value: 'application/vnd.sun.xml.calc.template', label: 'OpenOffice 1.0/StarOffice6.0 Calc 6.0 Template' },
936
+ { value: 'application/vnd.sun.xml.draw', label: 'OpenOffice 1.0/StarOffice6.0 Draw 6.0' },
937
+ { value: 'application/vnd.sun.xml.impress', label: 'OpenOffice 1.0/StarOffice6.0 Impress 6.0' },
938
+ { value: 'application/vnd.sun.xml.impress.template', label: 'OpenOffice 1.0/StarOffice6.0 Impress 6.0 Template' },
939
+ { value: 'application/vnd.sun.xml.writer', label: 'OpenOffice 1.0/StarOffice6.0 Writer 6.0' },
940
+ { value: 'application/vnd.sun.xml.writer.template', label: 'OpenOffice 1.0/StarOffice6.0 Writer 6.0 Template' },
941
+ { value: 'image/png', label: 'PNG Image' },
942
+ { value: 'image/x-raw-panasonic', label: 'Panasonic RAW Image' },
943
+ { value: 'image/x-raw-pentax', label: 'Pentax RAW Image' },
944
+ { value: 'image/x-portable-pixmap', label: 'Pixmap Image' },
945
+ { value: 'text/plain', label: 'Plain Text' },
946
+ { value: 'image/x-portable-bitmap', label: 'Portable Bitmap' },
947
+ { value: 'application/postscript', label: 'PostScript' },
948
+ { value: 'application/remote-printing', label: 'Printer Text File' },
949
+ { value: 'video/quicktime', label: 'Quicktime Video' },
950
+ { value: 'video/x-rad-screenplay', label: 'RAD Screen Display' },
951
+ { value: 'application/x-rar-compressed', label: 'RAR Archive' },
952
+ { value: 'image/x-raw-red', label: 'RED RAW Image' },
953
+ { value: 'image/x-rgb', label: 'RGB Image' },
954
+ { value: 'application/rss+xml', label: 'RSS' },
955
+ { value: 'image/x-cmu-raster', label: 'Raster Image' },
956
+ { value: 'text/richtext', label: 'Rich Text' },
957
+ { value: 'application/rtf', label: 'Rich Text Format' },
958
+ { value: 'video/x-sgi-movie', label: 'SGI Video' },
959
+ { value: 'text/sgml', label: 'SGML (Human Readable)' },
960
+ { value: 'application/sgml', label: 'SGML (Machine Readable)' },
961
+ { value: 'image/svg+xml', label: 'Scalable Vector Graphics Image' },
962
+ { value: 'application/x-sh', label: 'Shell Script' },
963
+ { value: 'application/x-shockwave-flash', label: 'Shockwave Flash' },
964
+ { value: 'image/x-raw-sigma', label: 'Sigma RAW Image' },
965
+ { value: 'image/x-raw-sony', label: 'Sony RAW Image' },
966
+ { value: 'application/vnd.stardivision.chart', label: 'StarChart 5.x' },
967
+ { value: 'application/vnd.stardivision.calc', label: 'StarCalc 5.x' },
968
+ { value: 'application/vnd.stardivision.draw', label: 'StarDraw 5.x' },
969
+ { value: 'application/vnd.stardivision.impress', label: 'StarImpress 5.x' },
970
+ { value: 'application/vnd.stardivision.impress-packed', label: 'StarImpress Packed 5.x' },
971
+ { value: 'application/vnd.stardivision.math', label: 'StarMath 5.x' },
972
+ { value: 'application/vnd.stardivision.writer', label: 'StarWriter 5.x' },
973
+ { value: 'application/vnd.stardivision.writer-global', label: 'StarWriter 5.x global' },
974
+ { value: 'text/css', label: 'Style Sheet' },
975
+ { value: 'image/tiff', label: 'TIFF Image' },
976
+ { value: 'text/tab-separated-values', label: 'Tab Separated Values' },
977
+ { value: 'application/x-tar', label: 'Tarball' },
978
+ { value: 'application/x-tex', label: 'Tex' },
979
+ { value: 'application/x-texinfo', label: 'Tex Info' },
980
+ { value: 'x-world/x-vrml', label: 'VRML' },
981
+ { value: 'audio/x-wav', label: 'WAV Audio' },
982
+ { value: 'video/webm', label: 'WebM Video' },
983
+ { value: 'application/wordperfect', label: 'WordPerfect' },
984
+ { value: 'image/x-xbitmap', label: 'XBitmap Image' },
985
+ { value: 'application/xhtml+xml', label: 'XHTML' },
986
+ { value: 'text/xml', label: 'XML' },
987
+ { value: 'image/x-xpixmap', label: 'XPixmap Image' },
988
+ { value: 'image/x-xwindowdump', label: 'XWindow Dump' },
989
+ { value: 'application/x-compress', label: 'Z Compress' },
990
+ { value: 'application/zip', label: 'ZIP' },
991
+ { value: 'text/calendar', label: 'iCalendar File' }
992
+ ];
993
+
994
+ /*!
995
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
996
+ *
997
+ * Alfresco Example Content Application
998
+ *
999
+ * This file is part of the Alfresco Example Content Application.
1000
+ * If the software was purchased under a paid Alfresco license, the terms of
1001
+ * the paid license agreement will prevail. Otherwise, the software is
1002
+ * provided under the following open source license terms:
1003
+ *
1004
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1005
+ * it under the terms of the GNU Lesser General Public License as published by
1006
+ * the Free Software Foundation, either version 3 of the License, or
1007
+ * (at your option) any later version.
1008
+ *
1009
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1010
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1011
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1012
+ * GNU Lesser General Public License for more details.
1013
+ *
1014
+ * You should have received a copy of the GNU Lesser General Public License
1015
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1016
+ */
1017
+ class AppSettingsService {
1018
+ constructor() {
1019
+ this.appConfig = inject(AppConfigService);
1020
+ }
1021
+ /**
1022
+ * Get the AOS (Alfresco Office Services) host URL from the app settings.
1023
+ */
1024
+ get aosHost() {
1025
+ return this.appConfig.get('aosHost');
1026
+ }
1027
+ /**
1028
+ * Get the default landing page from the app settings.
1029
+ * Default value: `/personal-files`.
1030
+ */
1031
+ get landingPage() {
1032
+ return this.appConfig.get('landingPage', '/personal-files');
1033
+ }
1034
+ /**
1035
+ * Get the list of mime types from the app settings.
1036
+ */
1037
+ get mimeTypes() {
1038
+ return this.appConfig.get('mimeTypes', DefaultMimeTypes);
1039
+ }
1040
+ /**
1041
+ * Get the application name from the app settings.
1042
+ */
1043
+ get appName() {
1044
+ return this.appConfig.get('application.name', 'Alfresco Content Application');
1045
+ }
1046
+ /**
1047
+ * Get the application version from the app settings.
1048
+ */
1049
+ get appVersion() {
1050
+ return this.appConfig.get('application.version', '1.0.0');
1051
+ }
1052
+ /**
1053
+ * Get the application logo URL from the app settings.
1054
+ */
1055
+ get appLogoUrl() {
1056
+ return this.appConfig.get('application.logo', 'assets/images/app-logo.svg');
1057
+ }
1058
+ /**
1059
+ * Get the custom CSS stylesheet path from the app settings.
1060
+ */
1061
+ get customCssPath() {
1062
+ return this.appConfig.get('customCssPath', '');
1063
+ }
1064
+ /**
1065
+ * Get the custom web font path from the app settings.
1066
+ */
1067
+ get webFontPath() {
1068
+ return this.appConfig.get('webFontPath', '');
1069
+ }
1070
+ /**
1071
+ * Get the base share URL from the app settings.
1072
+ */
1073
+ get baseShareUrl() {
1074
+ let result = this.appConfig.get('baseShareUrl', '');
1075
+ if (!result.endsWith('/')) {
1076
+ result += '/';
1077
+ }
1078
+ return result;
1079
+ }
1080
+ }
1081
+ AppSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1082
+ AppSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, providedIn: 'root' });
1083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, decorators: [{
1084
+ type: Injectable,
1085
+ args: [{ providedIn: 'root' }]
1086
+ }] });
1087
+
1088
+ /*!
1089
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
783
1090
  *
784
1091
  * Alfresco Example Content Application
785
1092
  *
@@ -803,7 +1110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
803
1110
  */
804
1111
  // After moving shell to ADF to core, AppService will implement ShellAppService
805
1112
  class AppService {
806
- constructor(preferencesService, authenticationService, store, router, activatedRoute, config, pageTitle, alfrescoApiService, uploadService, routerExtensionService, contentApi, sharedLinksApiService, groupService, overlayContainer, initialAppState, searchQueryBuilderService, acaMobileAppSwitcherService) {
1113
+ constructor(preferencesService, authenticationService, store, router, activatedRoute, config, pageTitle, alfrescoApiService, uploadService, routerExtensionService, contentApi, sharedLinksApiService, groupService, overlayContainer, searchQueryBuilderService, acaMobileAppSwitcherService, appSettingsService) {
807
1114
  this.preferencesService = preferencesService;
808
1115
  this.authenticationService = authenticationService;
809
1116
  this.store = store;
@@ -818,8 +1125,8 @@ class AppService {
818
1125
  this.sharedLinksApiService = sharedLinksApiService;
819
1126
  this.groupService = groupService;
820
1127
  this.overlayContainer = overlayContainer;
821
- this.initialAppState = initialAppState;
822
1128
  this.acaMobileAppSwitcherService = acaMobileAppSwitcherService;
1129
+ this.appSettingsService = appSettingsService;
823
1130
  this.appNavNarMode$ = new BehaviorSubject('expanded');
824
1131
  this.toggleAppNavBar$ = new Subject();
825
1132
  this.hideSidenavConditions = ['/preview/'];
@@ -864,7 +1171,6 @@ class AppService {
864
1171
  }
865
1172
  }
866
1173
  });
867
- this.loadAppSettings();
868
1174
  this.loadCustomCss();
869
1175
  this.loadCustomWebFont();
870
1176
  const { router } = this;
@@ -913,21 +1219,6 @@ class AppService {
913
1219
  this.store.dispatch(new SetUserProfileAction({ person: person.entry, groups }));
914
1220
  });
915
1221
  }
916
- loadAppSettings() {
917
- let baseShareUrl = this.config.get('baseShareUrl', '');
918
- if (!baseShareUrl.endsWith('/')) {
919
- baseShareUrl += '/';
920
- }
921
- const state = {
922
- ...this.initialAppState,
923
- appName: this.config.get('application.name'),
924
- logoPath: this.config.get('application.logo'),
925
- customCssPath: this.config.get('customCssPath'),
926
- webFontPath: this.config.get('webFontPath'),
927
- sharedUrl: baseShareUrl
928
- };
929
- this.store.dispatch(new SetInitialStateAction(state));
930
- }
931
1222
  onFileUploadedError(error) {
932
1223
  let message = 'APP.MESSAGES.UPLOAD.ERROR.GENERIC';
933
1224
  if (error?.error?.status === 403) {
@@ -948,18 +1239,16 @@ class AppService {
948
1239
  this.store.dispatch(new SnackbarErrorAction(message));
949
1240
  }
950
1241
  loadCustomCss() {
951
- this.store.select(getCustomCssPath).subscribe((cssPath) => {
952
- if (cssPath) {
953
- this.createLink(cssPath);
954
- }
955
- });
1242
+ const customCssPath = this.appSettingsService.customCssPath;
1243
+ if (customCssPath) {
1244
+ this.createLink(customCssPath);
1245
+ }
956
1246
  }
957
1247
  loadCustomWebFont() {
958
- this.store.select(getCustomWebFontPath).subscribe((fontUrl) => {
959
- if (fontUrl) {
960
- this.createLink(fontUrl);
961
- }
962
- });
1248
+ const webFontPath = this.appSettingsService.webFontPath;
1249
+ if (webFontPath) {
1250
+ this.createLink(webFontPath);
1251
+ }
963
1252
  }
964
1253
  createLink(url) {
965
1254
  const cssLinkElement = document.createElement('link');
@@ -978,20 +1267,17 @@ class AppService {
978
1267
  }
979
1268
  }
980
1269
  }
981
- AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, deps: [{ token: i1.UserPreferencesService }, { token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i1.AppConfigService }, { token: i1.PageTitleService }, { token: i1.AlfrescoApiService }, { token: i4$1.UploadService }, { token: RouterExtensionService }, { token: ContentApiService }, { token: i4$1.SharedLinksApiService }, { token: i4$1.GroupService }, { token: i7.OverlayContainer }, { token: STORE_INITIAL_APP_DATA }, { token: i4$1.SearchQueryBuilderService }, { token: AcaMobileAppSwitcherService }], target: i0.ɵɵFactoryTarget.Injectable });
1270
+ AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, deps: [{ token: i1.UserPreferencesService }, { token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i1.AppConfigService }, { token: i1.PageTitleService }, { token: i1.AlfrescoApiService }, { token: i4$1.UploadService }, { token: RouterExtensionService }, { token: ContentApiService }, { token: i4$1.SharedLinksApiService }, { token: i4$1.GroupService }, { token: i7.OverlayContainer }, { token: i4$1.SearchQueryBuilderService }, { token: AcaMobileAppSwitcherService }, { token: AppSettingsService }], target: i0.ɵɵFactoryTarget.Injectable });
982
1271
  AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, providedIn: 'root' });
983
1272
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, decorators: [{
984
1273
  type: Injectable,
985
1274
  args: [{
986
1275
  providedIn: 'root'
987
1276
  }]
988
- }], ctorParameters: function () { return [{ type: i1.UserPreferencesService }, { type: i1.AuthenticationService }, { type: i1$2.Store }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: i1.AppConfigService }, { type: i1.PageTitleService }, { type: i1.AlfrescoApiService }, { type: i4$1.UploadService }, { type: RouterExtensionService }, { type: ContentApiService }, { type: i4$1.SharedLinksApiService }, { type: i4$1.GroupService }, { type: i7.OverlayContainer }, { type: undefined, decorators: [{
989
- type: Inject,
990
- args: [STORE_INITIAL_APP_DATA]
991
- }] }, { type: i4$1.SearchQueryBuilderService }, { type: AcaMobileAppSwitcherService }]; } });
1277
+ }], ctorParameters: function () { return [{ type: i1.UserPreferencesService }, { type: i1.AuthenticationService }, { type: i1$2.Store }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: i1.AppConfigService }, { type: i1.PageTitleService }, { type: i1.AlfrescoApiService }, { type: i4$1.UploadService }, { type: RouterExtensionService }, { type: ContentApiService }, { type: i4$1.SharedLinksApiService }, { type: i4$1.GroupService }, { type: i7.OverlayContainer }, { type: i4$1.SearchQueryBuilderService }, { type: AcaMobileAppSwitcherService }, { type: AppSettingsService }]; } });
992
1278
 
993
1279
  /*!
994
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1280
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
995
1281
  *
996
1282
  * Alfresco Example Content Application
997
1283
  *
@@ -1038,7 +1324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1038
1324
  }] } });
1039
1325
 
1040
1326
  /*!
1041
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1327
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1042
1328
  *
1043
1329
  * Alfresco Example Content Application
1044
1330
  *
@@ -1074,7 +1360,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1074
1360
  }] });
1075
1361
 
1076
1362
  /*!
1077
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1363
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1078
1364
  *
1079
1365
  * Alfresco Example Content Application
1080
1366
  *
@@ -1121,7 +1407,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1121
1407
  }] } });
1122
1408
 
1123
1409
  /*!
1124
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1410
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1125
1411
  *
1126
1412
  * Alfresco Example Content Application
1127
1413
  *
@@ -1158,7 +1444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1158
1444
  }] } });
1159
1445
 
1160
1446
  /*!
1161
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1447
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1162
1448
  *
1163
1449
  * Alfresco Example Content Application
1164
1450
  *
@@ -1245,7 +1531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1245
1531
  }] });
1246
1532
 
1247
1533
  /*!
1248
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1534
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1249
1535
  *
1250
1536
  * Alfresco Example Content Application
1251
1537
  *
@@ -1282,7 +1568,6 @@ class AppExtensionService {
1282
1568
  this.navbar = [];
1283
1569
  this.sidebarTabs = [];
1284
1570
  this.viewerRules = {};
1285
- this.settingGroups = [];
1286
1571
  this._headerActions = new BehaviorSubject([]);
1287
1572
  this._toolbarActions = new BehaviorSubject([]);
1288
1573
  this._viewerToolbarActions = new BehaviorSubject([]);
@@ -1290,7 +1575,6 @@ class AppExtensionService {
1290
1575
  this._contextMenuActions = new BehaviorSubject([]);
1291
1576
  this._openWithActions = new BehaviorSubject([]);
1292
1577
  this._createActions = new BehaviorSubject([]);
1293
- this._mainActions = new BehaviorSubject(null);
1294
1578
  this._sidebarActions = new BehaviorSubject([]);
1295
1579
  this._badges = new BehaviorSubject([]);
1296
1580
  this._filesDocumentListPreset = new BehaviorSubject([]);
@@ -1326,7 +1610,6 @@ class AppExtensionService {
1326
1610
  this.logger.error('Extension configuration not found');
1327
1611
  return;
1328
1612
  }
1329
- this.settingGroups = this.loader.getElements(config, 'settings');
1330
1613
  this._headerActions.next(this.loader.getContentActions(config, 'features.header'));
1331
1614
  this._sidebarActions.next(this.loader.getContentActions(config, 'features.sidebar.toolbar'));
1332
1615
  this._toolbarActions.next(this.loader.getContentActions(config, 'features.toolbar'));
@@ -1335,7 +1618,6 @@ class AppExtensionService {
1335
1618
  this._contextMenuActions.next(this.loader.getContentActions(config, 'features.contextMenu'));
1336
1619
  this._openWithActions.next(this.loader.getContentActions(config, 'features.viewer.openWith'));
1337
1620
  this._createActions.next(this.loader.getElements(config, 'features.create'));
1338
- this._mainActions.next(this.loader.getFeatures(config).mainAction);
1339
1621
  this._badges.next(this.loader.getElements(config, 'features.badges'));
1340
1622
  this._filesDocumentListPreset.next(this.getDocumentListPreset(config, 'files'));
1341
1623
  this._customMetadataPanels.next(this.loader.getElements(config, 'features.customMetadataPanels'));
@@ -1491,9 +1773,6 @@ class AppExtensionService {
1491
1773
  return object;
1492
1774
  }
1493
1775
  }
1494
- getNavigationGroups() {
1495
- return this.navbar;
1496
- }
1497
1776
  getSidebarTabs() {
1498
1777
  return this.sidebarTabs.filter((action) => this.filterVisible(action));
1499
1778
  }
@@ -1517,13 +1796,6 @@ class AppExtensionService {
1517
1796
  .map((action) => this.buildMenu(action))
1518
1797
  .map((action) => this.setActionDisabledFromRule(action))));
1519
1798
  }
1520
- getMainAction() {
1521
- return this._mainActions.pipe(filter((mainAction) => mainAction && this.filterVisible(mainAction)), map((mainAction) => {
1522
- let actionCopy = this.copyAction(mainAction);
1523
- actionCopy = this.setActionDisabledFromRule(actionCopy);
1524
- return actionCopy;
1525
- }));
1526
- }
1527
1799
  getBadges(node) {
1528
1800
  return this._badges.pipe(map((badges) => badges.filter((badge) => this.evaluateRule(badge.rules.visible, node))));
1529
1801
  }
@@ -1602,9 +1874,6 @@ class AppExtensionService {
1602
1874
  getAllowedContextMenuActions() {
1603
1875
  return this._contextMenuActions.pipe(map((contextMenuActions) => (!this.selection.isEmpty ? this.getAllowedActions(contextMenuActions) : [])));
1604
1876
  }
1605
- getSettingsGroups() {
1606
- return this.settingGroups.filter((group) => this.filterVisible(group));
1607
- }
1608
1877
  copyAction(action) {
1609
1878
  return {
1610
1879
  ...action,
@@ -1698,7 +1967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1698
1967
  }], ctorParameters: function () { return [{ type: i1.AuthenticationService }, { type: i1$2.Store }, { type: i3$1.ExtensionLoaderService }, { type: i3$1.ExtensionService }, { type: NodePermissionService }, { type: i1.AppConfigService }, { type: i5.MatIconRegistry }, { type: i6.DomSanitizer }, { type: i1.LogService }]; } });
1699
1968
 
1700
1969
  /*!
1701
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1970
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1702
1971
  *
1703
1972
  * Alfresco Example Content Application
1704
1973
  *
@@ -1741,10 +2010,10 @@ class ToolbarMenuItemComponent {
1741
2010
  }
1742
2011
  }
1743
2012
  ToolbarMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuItemComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
1744
- ToolbarMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarMenuItemComponent, isStandalone: true, selector: "app-toolbar-menu-item", inputs: { actionRef: "actionRef", menuId: "menuId" }, host: { classAttribute: "app-toolbar-menu-item" }, viewQueries: [{ propertyName: "menuItem", first: true, predicate: MatMenuItem, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\"></app-toolbar-menu-item>\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider></mat-divider>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}\n"], dependencies: [{ kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i5$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i6$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
2013
+ ToolbarMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarMenuItemComponent, isStandalone: true, selector: "app-toolbar-menu-item", inputs: { actionRef: "actionRef", menuId: "menuId" }, host: { classAttribute: "app-toolbar-menu-item" }, viewQueries: [{ propertyName: "menuItem", first: true, predicate: MatMenuItem, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\"></app-toolbar-menu-item>\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider></mat-divider>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}\n"], dependencies: [{ kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i5$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
1745
2014
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuItemComponent, decorators: [{
1746
2015
  type: Component,
1747
- args: [{ standalone: true, imports: [CommonModule, TranslateModule, IconModule, MatMenuModule, MatDividerModule, ExtensionsModule], selector: 'app-toolbar-menu-item', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu-item' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\"></app-toolbar-menu-item>\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider></mat-divider>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}\n"] }]
2016
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatMenuModule, MatDividerModule, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu-item', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu-item' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\"></app-toolbar-menu-item>\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider></mat-divider>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}\n"] }]
1748
2017
  }], ctorParameters: function () { return [{ type: AppExtensionService }]; }, propDecorators: { actionRef: [{
1749
2018
  type: Input
1750
2019
  }], menuId: [{
@@ -1755,7 +2024,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1755
2024
  }] } });
1756
2025
 
1757
2026
  /*!
1758
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2027
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1759
2028
  *
1760
2029
  * Alfresco Example Content Application
1761
2030
  *
@@ -1816,7 +2085,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1816
2085
  }] } });
1817
2086
 
1818
2087
  /*!
1819
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2088
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1820
2089
  *
1821
2090
  * Alfresco Example Content Application
1822
2091
  *
@@ -1865,10 +2134,10 @@ class ToolbarMenuComponent {
1865
2134
  }
1866
2135
  }
1867
2136
  ToolbarMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1868
- ToolbarMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarMenuComponent, isStandalone: true, selector: "app-toolbar-menu", inputs: { actionRef: "actionRef", color: "color", data: "data" }, host: { listeners: { "document:keydown.Escape": "handleKeydownEscape()" }, classAttribute: "app-toolbar-menu" }, viewQueries: [{ propertyName: "matTrigger", first: true, predicate: ["matTrigger"], descendants: true }, { propertyName: "menu", first: true, predicate: MatMenu, descendants: true }, { propertyName: "toolbarMenuItems", predicate: ToolbarMenuItemComponent, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\"></adf-dynamic-component>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\"></app-toolbar-menu-item>\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "directive", type: i5$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }], encapsulation: i0.ViewEncapsulation.None });
2137
+ ToolbarMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarMenuComponent, isStandalone: true, selector: "app-toolbar-menu", inputs: { actionRef: "actionRef", color: "color", data: "data" }, host: { listeners: { "document:keydown.Escape": "handleKeydownEscape()" }, classAttribute: "app-toolbar-menu" }, viewQueries: [{ propertyName: "matTrigger", first: true, predicate: ["matTrigger"], descendants: true }, { propertyName: "menu", first: true, predicate: MatMenu, descendants: true }, { propertyName: "toolbarMenuItems", predicate: ToolbarMenuItemComponent, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\"></adf-dynamic-component>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\"></app-toolbar-menu-item>\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
1869
2138
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuComponent, decorators: [{
1870
2139
  type: Component,
1871
- args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatMenuModule, IconModule, ExtensionsModule, ToolbarMenuItemComponent], selector: 'app-toolbar-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu' }, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\"></adf-dynamic-component>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\"></app-toolbar-menu-item>\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n" }]
2140
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatMenuModule, ToolbarMenuItemComponent, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu' }, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\"></adf-dynamic-component>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\"></app-toolbar-menu-item>\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n" }]
1872
2141
  }], propDecorators: { actionRef: [{
1873
2142
  type: Input
1874
2143
  }], color: [{
@@ -1890,7 +2159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1890
2159
  }] } });
1891
2160
 
1892
2161
  /*!
1893
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2162
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1894
2163
  *
1895
2164
  * Alfresco Example Content Application
1896
2165
  *
@@ -1926,10 +2195,10 @@ class ToolbarActionComponent {
1926
2195
  }
1927
2196
  }
1928
2197
  ToolbarActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1929
- ToolbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }, { kind: "component", type: ToolbarButtonComponent, selector: "app-toolbar-button", inputs: ["data", "type", "color", "actionRef"] }, { kind: "component", type: ToolbarMenuComponent, selector: "app-toolbar-menu", inputs: ["actionRef", "color", "data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2198
+ ToolbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarButtonComponent, selector: "app-toolbar-button", inputs: ["data", "type", "color", "actionRef"] }, { kind: "component", type: ToolbarMenuComponent, selector: "app-toolbar-menu", inputs: ["actionRef", "color", "data"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1930
2199
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, decorators: [{
1931
2200
  type: Component,
1932
- args: [{ standalone: true, imports: [CommonModule, ExtensionsModule, ToolbarButtonComponent, ToolbarMenuComponent], selector: 'aca-toolbar-action', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-toolbar-action' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"] }]
2201
+ args: [{ standalone: true, imports: [CommonModule, ToolbarButtonComponent, ToolbarMenuComponent, DynamicExtensionComponent], selector: 'aca-toolbar-action', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-toolbar-action' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"] }]
1933
2202
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
1934
2203
  type: Input
1935
2204
  }], type: [{
@@ -1941,7 +2210,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1941
2210
  }] } });
1942
2211
 
1943
2212
  /*!
1944
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2213
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1945
2214
  *
1946
2215
  * Alfresco Example Content Application
1947
2216
  *
@@ -1978,7 +2247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1978
2247
  }] } });
1979
2248
 
1980
2249
  /*!
1981
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2250
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1982
2251
  *
1983
2252
  * Alfresco Example Content Application
1984
2253
  *
@@ -2071,10 +2340,10 @@ class InfoDrawerComponent {
2071
2340
  }
2072
2341
  }
2073
2342
  InfoDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }, { token: i4$1.NodesApiService }, { token: i4$1.ContentService }], target: i0.ɵɵFactoryTarget.Component });
2074
- InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "icon", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
2343
+ InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "icon", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }], encapsulation: i0.ViewEncapsulation.None });
2075
2344
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, decorators: [{
2076
2345
  type: Component,
2077
- args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, ExtensionsModule, A11yModule, ToolbarComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
2346
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, A11yModule, ToolbarComponent, DynamicTabComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
2078
2347
  }], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4$1.NodesApiService }, { type: i4$1.ContentService }]; }, propDecorators: { nodeId: [{
2079
2348
  type: Input
2080
2349
  }], node: [{
@@ -2085,7 +2354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2085
2354
  }] } });
2086
2355
 
2087
2356
  /*!
2088
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2357
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2089
2358
  *
2090
2359
  * Alfresco Example Content Application
2091
2360
  *
@@ -2111,7 +2380,7 @@ class DocumentBasePageService {
2111
2380
  }
2112
2381
 
2113
2382
  /*!
2114
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2383
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2115
2384
  *
2116
2385
  * Alfresco Example Content Application
2117
2386
  *
@@ -2153,7 +2422,7 @@ function isLibrary(node) {
2153
2422
  }
2154
2423
 
2155
2424
  /*!
2156
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2425
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2157
2426
  *
2158
2427
  * Alfresco Example Content Application
2159
2428
  *
@@ -2201,7 +2470,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2201
2470
  }], ctorParameters: function () { return [{ type: i1$1.MatDialog }, { type: i1.AppConfigService }]; } });
2202
2471
 
2203
2472
  /*!
2204
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2473
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2205
2474
  *
2206
2475
  * Alfresco Example Content Application
2207
2476
  *
@@ -2252,7 +2521,6 @@ class PageComponent {
2252
2521
  .subscribe((actions) => {
2253
2522
  this.createActions = actions;
2254
2523
  });
2255
- this.sharedPreviewUrl$ = this.store.select(getSharedUrl);
2256
2524
  this.infoDrawerOpened$ = this.store.select(isInfoDrawerOpened);
2257
2525
  this.store
2258
2526
  .select(getAppSelection)
@@ -2361,16 +2629,43 @@ class PageComponent {
2361
2629
  }
2362
2630
  }
2363
2631
  PageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2364
- PageComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: PageComponent, viewQueries: [{ propertyName: "documentList", first: true, predicate: DocumentListComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
2632
+ PageComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: PageComponent, host: { listeners: { "sorting-changed": "onSortingChanged($event)" } }, viewQueries: [{ propertyName: "documentList", first: true, predicate: DocumentListComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
2365
2633
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PageComponent, decorators: [{
2366
2634
  type: Directive
2367
2635
  }], propDecorators: { documentList: [{
2368
2636
  type: ViewChild,
2369
2637
  args: [DocumentListComponent]
2638
+ }], onSortingChanged: [{
2639
+ type: HostListener,
2640
+ args: ['sorting-changed', ['$event']]
2370
2641
  }] } });
2371
2642
 
2372
2643
  /*!
2373
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2644
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2645
+ *
2646
+ * Alfresco Example Content Application
2647
+ *
2648
+ * This file is part of the Alfresco Example Content Application.
2649
+ * If the software was purchased under a paid Alfresco license, the terms of
2650
+ * the paid license agreement will prevail. Otherwise, the software is
2651
+ * provided under the following open source license terms:
2652
+ *
2653
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
2654
+ * it under the terms of the GNU Lesser General Public License as published by
2655
+ * the Free Software Foundation, either version 3 of the License, or
2656
+ * (at your option) any later version.
2657
+ *
2658
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
2659
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2660
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2661
+ * GNU Lesser General Public License for more details.
2662
+ *
2663
+ * You should have received a copy of the GNU Lesser General Public License
2664
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2665
+ */
2666
+
2667
+ /*!
2668
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2374
2669
  *
2375
2670
  * Alfresco Example Content Application
2376
2671
  *
@@ -2467,7 +2762,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2467
2762
  }] } });
2468
2763
 
2469
2764
  /*!
2470
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2765
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2471
2766
  *
2472
2767
  * Alfresco Example Content Application
2473
2768
  *
@@ -2518,7 +2813,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2518
2813
  }], ctorParameters: function () { return [{ type: i1.PaginationComponent }, { type: i1.UserPreferencesService }, { type: i1.AppConfigService }]; } });
2519
2814
 
2520
2815
  /*!
2521
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2816
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2522
2817
  *
2523
2818
  * Alfresco Example Content Application
2524
2819
  *
@@ -2542,7 +2837,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2542
2837
  */
2543
2838
 
2544
2839
  /*!
2545
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2840
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2546
2841
  *
2547
2842
  * Alfresco Example Content Application
2548
2843
  *
@@ -2566,7 +2861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2566
2861
  */
2567
2862
 
2568
2863
  /*!
2569
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2864
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2570
2865
  *
2571
2866
  * Alfresco Example Content Application
2572
2867
  *
@@ -2588,9 +2883,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2588
2883
  * You should have received a copy of the GNU Lesser General Public License
2589
2884
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2590
2885
  */
2886
+ class AppSharedRuleGuard {
2887
+ constructor(store) {
2888
+ this.isQuickShareEnabled$ = store.select(isQuickShareEnabled);
2889
+ }
2890
+ canActivate() {
2891
+ return this.isQuickShareEnabled$;
2892
+ }
2893
+ canActivateChild() {
2894
+ return this.canActivate();
2895
+ }
2896
+ }
2897
+ AppSharedRuleGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Injectable });
2898
+ AppSharedRuleGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, providedIn: 'root' });
2899
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, decorators: [{
2900
+ type: Injectable,
2901
+ args: [{
2902
+ providedIn: 'root'
2903
+ }]
2904
+ }], ctorParameters: function () { return [{ type: i1$2.Store }]; } });
2591
2905
 
2592
2906
  /*!
2593
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2907
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2594
2908
  *
2595
2909
  * Alfresco Example Content Application
2596
2910
  *
@@ -2612,28 +2926,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2612
2926
  * You should have received a copy of the GNU Lesser General Public License
2613
2927
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2614
2928
  */
2615
- class AppSharedRuleGuard {
2616
- constructor(store) {
2617
- this.isQuickShareEnabled$ = store.select(isQuickShareEnabled);
2929
+ class PluginEnabledGuard {
2930
+ constructor(appConfigService, router) {
2931
+ this.appConfigService = appConfigService;
2932
+ this.router = router;
2618
2933
  }
2619
- canActivate() {
2620
- return this.isQuickShareEnabled$;
2934
+ canActivate(route) {
2935
+ const isPluginEnabled = this.appConfigService.get(route.data.plugin, true);
2936
+ if (!isPluginEnabled) {
2937
+ this.router.navigate(['/']);
2938
+ }
2939
+ return isPluginEnabled;
2621
2940
  }
2622
- canActivateChild() {
2623
- return this.canActivate();
2941
+ canActivateChild(route) {
2942
+ return this.canActivate(route);
2624
2943
  }
2625
2944
  }
2626
- AppSharedRuleGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Injectable });
2627
- AppSharedRuleGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, providedIn: 'root' });
2628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSharedRuleGuard, decorators: [{
2945
+ PluginEnabledGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PluginEnabledGuard, deps: [{ token: i1.AppConfigService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2946
+ PluginEnabledGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PluginEnabledGuard, providedIn: 'root' });
2947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PluginEnabledGuard, decorators: [{
2629
2948
  type: Injectable,
2630
2949
  args: [{
2631
2950
  providedIn: 'root'
2632
2951
  }]
2633
- }], ctorParameters: function () { return [{ type: i1$2.Store }]; } });
2952
+ }], ctorParameters: function () { return [{ type: i1.AppConfigService }, { type: i3.Router }]; } });
2634
2953
 
2635
2954
  /*!
2636
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2955
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2637
2956
  *
2638
2957
  * Alfresco Example Content Application
2639
2958
  *
@@ -2717,7 +3036,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2717
3036
  }] });
2718
3037
 
2719
3038
  /*!
2720
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3039
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2721
3040
  *
2722
3041
  * Alfresco Example Content Application
2723
3042
  *
@@ -2769,6 +3088,27 @@ const initialState = {
2769
3088
  }
2770
3089
  }
2771
3090
  };
3091
+ const discoveryApiServiceMockValue = {
3092
+ ecmProductInfo$: new BehaviorSubject(null),
3093
+ getEcmProductInfo: () => of(new RepositoryInfo({
3094
+ version: {
3095
+ major: '10.0.0'
3096
+ }
3097
+ }))
3098
+ };
3099
+ class DocumentBasePageServiceMock extends DocumentBasePageService {
3100
+ canUpdateNode() {
3101
+ return true;
3102
+ }
3103
+ canUploadContent() {
3104
+ return true;
3105
+ }
3106
+ }
3107
+ DocumentBasePageServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
3108
+ DocumentBasePageServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock });
3109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock, decorators: [{
3110
+ type: Injectable
3111
+ }] });
2772
3112
  class LibTestingModule {
2773
3113
  }
2774
3114
  LibTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -2778,7 +3118,7 @@ LibTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
2778
3118
  RouterTestingModule,
2779
3119
  MatIconTestingModule,
2780
3120
  StoreModule,
2781
- OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule, PipeModule], exports: [TranslateModule] });
3121
+ OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule], exports: [TranslateModule] });
2782
3122
  LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, providers: [
2783
3123
  { provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
2784
3124
  { provide: TranslationService, useClass: TranslationMock }
@@ -2802,8 +3142,7 @@ LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2802
3142
  provide: TranslateLoader,
2803
3143
  useClass: TranslateLoaderService
2804
3144
  }
2805
- }),
2806
- PipeModule, TranslateModule] });
3145
+ }), TranslateModule] });
2807
3146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, decorators: [{
2808
3147
  type: NgModule,
2809
3148
  args: [{
@@ -2828,8 +3167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2828
3167
  provide: TranslateLoader,
2829
3168
  useClass: TranslateLoaderService
2830
3169
  }
2831
- }),
2832
- PipeModule
3170
+ })
2833
3171
  ],
2834
3172
  exports: [TranslateModule],
2835
3173
  providers: [
@@ -2840,7 +3178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2840
3178
  }] });
2841
3179
 
2842
3180
  /*!
2843
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3181
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2844
3182
  *
2845
3183
  * Alfresco Example Content Application
2846
3184
  *
@@ -2877,7 +3215,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2877
3215
  }] });
2878
3216
 
2879
3217
  /*!
2880
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3218
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2881
3219
  *
2882
3220
  * Alfresco Example Content Application
2883
3221
  *
@@ -2903,38 +3241,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2903
3241
  class SharedToolbarModule {
2904
3242
  }
2905
3243
  SharedToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2906
- SharedToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [CommonModule,
2907
- CoreModule,
2908
- ExtensionsModule,
2909
- ToolbarButtonComponent,
2910
- ToolbarActionComponent,
2911
- ToolbarMenuItemComponent,
2912
- ToolbarMenuComponent], exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
2913
- SharedToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [CommonModule,
2914
- CoreModule,
2915
- ExtensionsModule,
2916
- ToolbarButtonComponent,
2917
- ToolbarActionComponent,
2918
- ToolbarMenuItemComponent,
2919
- ToolbarMenuComponent] });
3244
+ SharedToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent], exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
3245
+ SharedToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
2920
3246
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, decorators: [{
2921
3247
  type: NgModule,
2922
3248
  args: [{
2923
- imports: [
2924
- CommonModule,
2925
- CoreModule,
2926
- ExtensionsModule,
2927
- ToolbarButtonComponent,
2928
- ToolbarActionComponent,
2929
- ToolbarMenuItemComponent,
2930
- ToolbarMenuComponent
2931
- ],
3249
+ imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent],
2932
3250
  exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent]
2933
3251
  }]
2934
3252
  }] });
2935
3253
 
2936
3254
  /*!
2937
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3255
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2938
3256
  *
2939
3257
  * Alfresco Example Content Application
2940
3258
  *
@@ -2961,5 +3279,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2961
3279
  * Generated bundle index. Do not edit.
2962
3280
  */
2963
3281
 
2964
- export { AcaFileAutoDownloadService, AppExtensionService, AppHookService, AppService, AppSharedRuleGuard, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DocumentBasePageService, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, initialState, isLibrary, isLocked };
3282
+ export { AcaFileAutoDownloadService, AppExtensionService, AppHookService, AppService, AppSettingsService, AppSharedRuleGuard, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DefaultMimeTypes, DocumentBasePageService, DocumentBasePageServiceMock, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, PluginEnabledGuard, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, discoveryApiServiceMockValue, initialState, isLibrary, isLocked };
2965
3283
  //# sourceMappingURL=alfresco-aca-shared.mjs.map