@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
@@ -13,24 +13,24 @@ import { MatIconModule } from '@angular/material/icon';
13
13
  import { __awaiter } from 'tslib';
14
14
  import * as i3 from '@angular/router';
15
15
  import { ActivationEnd, NavigationStart, Router } from '@angular/router';
16
- 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';
16
+ import { CloseModalDialogsAction, SetCurrentUrlAction, ResetSelectionAction, SnackbarErrorAction, SetRepositoryInfoAction, SetUserProfileAction, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, ReloadDocumentListAction, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
17
17
  import * as i1 from '@alfresco/adf-core';
18
- import { AppConfigService, IconModule, InfoDrawerModule, ShowHeaderMode, PipeModule, AlfrescoApiService, AlfrescoApiServiceMock, TranslationService, TranslationMock, TranslateLoaderService, CoreModule } from '@alfresco/adf-core';
18
+ import { AppConfigService, IconComponent, IconModule, InfoDrawerModule, ShowHeaderMode, AlfrescoApiService, AlfrescoApiServiceMock, TranslationService, TranslationMock, TranslateLoaderService } from '@alfresco/adf-core';
19
19
  import * as i1$2 from '@ngrx/store';
20
20
  import { Store, StoreModule } from '@ngrx/store';
21
21
  import * as i4$1 from '@alfresco/adf-content-services';
22
22
  import { FileAutoDownloadComponent, UploadService, DocumentListComponent } from '@alfresco/adf-content-services';
23
23
  import * as i3$1 from '@alfresco/adf-extensions';
24
- import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, ExtensionsModule } from '@alfresco/adf-extensions';
25
- import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi } from '@alfresco/js-api';
24
+ import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, DynamicExtensionComponent, DynamicTabComponent } from '@alfresco/adf-extensions';
25
+ import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, RepositoryInfo } from '@alfresco/js-api';
26
26
  import * as i7 from '@angular/cdk/overlay';
27
27
  import { OverlayModule } from '@angular/cdk/overlay';
28
28
  import * as i1$1 from '@angular/material/dialog';
29
29
  import { MAT_DIALOG_DATA, MatDialog, MatDialogModule } from '@angular/material/dialog';
30
30
  import { A11yModule } from '@angular/cdk/a11y';
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 i6 from '@angular/platform-browser';
36
36
  import * as i2$1 from '@angular/material/toolbar';
@@ -46,7 +46,7 @@ import { EffectsModule } from '@ngrx/effects';
46
46
  import { MatIconTestingModule } from '@angular/material/icon/testing';
47
47
 
48
48
  /*!
49
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
49
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
50
50
  *
51
51
  * Alfresco Example Content Application
52
52
  *
@@ -117,7 +117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
117
117
  } });
118
118
 
119
119
  /*!
120
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
120
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
121
121
  *
122
122
  * Alfresco Example Content Application
123
123
  *
@@ -165,7 +165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
165
165
  }] } });
166
166
 
167
167
  /*!
168
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
168
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
169
169
  *
170
170
  * Alfresco Example Content Application
171
171
  *
@@ -205,7 +205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
205
205
  }] });
206
206
 
207
207
  /*!
208
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
208
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
209
209
  *
210
210
  * Alfresco Example Content Application
211
211
  *
@@ -245,7 +245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
245
245
  }] });
246
246
 
247
247
  /*!
248
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
248
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
249
249
  *
250
250
  * Alfresco Example Content Application
251
251
  *
@@ -345,7 +345,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
345
345
  }], ctorParameters: function () { return [{ type: i3.Router }, { type: i3$1.ExtensionService }]; } });
346
346
 
347
347
  /*!
348
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
348
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
349
349
  *
350
350
  * Alfresco Example Content Application
351
351
  *
@@ -611,7 +611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
611
611
  }], ctorParameters: function () { return [{ type: i1.AlfrescoApiService }, { type: i1.UserPreferencesService }]; } });
612
612
 
613
613
  /*!
614
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
614
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
615
615
  *
616
616
  * Alfresco Example Content Application
617
617
  *
@@ -668,7 +668,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
668
668
  } });
669
669
 
670
670
  /*!
671
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
671
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
672
672
  *
673
673
  * Alfresco Example Content Application
674
674
  *
@@ -791,9 +791,316 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
791
791
  }]
792
792
  }] });
793
793
 
794
+ /*!
795
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
796
+ *
797
+ * Alfresco Example Content Application
798
+ *
799
+ * This file is part of the Alfresco Example Content Application.
800
+ * If the software was purchased under a paid Alfresco license, the terms of
801
+ * the paid license agreement will prevail. Otherwise, the software is
802
+ * provided under the following open source license terms:
803
+ *
804
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
805
+ * it under the terms of the GNU Lesser General Public License as published by
806
+ * the Free Software Foundation, either version 3 of the License, or
807
+ * (at your option) any later version.
808
+ *
809
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
810
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
811
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
812
+ * GNU Lesser General Public License for more details.
813
+ *
814
+ * You should have received a copy of the GNU Lesser General Public License
815
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
816
+ */
817
+ const DefaultMimeTypes = [
818
+ { value: 'video/3gpp', label: '3G Video' },
819
+ { value: 'video/3gpp2', label: '3G2 Video' },
820
+ { value: 'application/vnd.alfresco.ai.features.v1+json', label: 'AI-Features' },
821
+ { value: 'application/vnd.alfresco.ai.labels.v1+json', label: 'AI-Labels' },
822
+ { value: 'application/vnd.alfresco.ai.pii.entities.v1+json', label: 'AI-PII-Entities' },
823
+ { value: 'application/vnd.alfresco.ai.speech-to-text.v1+json', label: 'AI-SpeechToText' },
824
+ { value: 'application/vnd.alfresco.ai.textract.v1+json', label: 'AI-Textract' },
825
+ { value: 'audio/x-aiff', label: 'AIFF Audio' },
826
+ { value: 'application/vnd.adobe.air-application-installer-package+zip', label: 'Adobe AIR' },
827
+ { value: 'application/vnd.adobe.xdp+xml', label: 'Adobe Acrobat XML Data Package' },
828
+ { value: 'application/vnd.adobe.aftereffects.project', label: 'Adobe AfterEffects Project' },
829
+ { value: 'application/vnd.adobe.aftereffects.template', label: 'Adobe AfterEffects Template' },
830
+ { value: 'image/x-raw-adobe', label: 'Adobe Digital Negative Image' },
831
+ { value: 'application/x-zip', label: 'Adobe Flex Project File' },
832
+ { value: 'application/framemaker', label: 'Adobe FrameMaker' },
833
+ { value: 'application/illustrator', label: 'Adobe Illustrator File' },
834
+ { value: 'application/x-indesign', label: 'Adobe InDesign Document' },
835
+ { value: 'application/pdf', label: 'Adobe PDF Document' },
836
+ { value: 'application/pagemaker', label: 'Adobe PageMaker' },
837
+ { value: 'image/vnd.adobe.photoshop', label: 'Adobe Photoshop' },
838
+ { value: 'image/vnd.adobe.premiere', label: 'Adobe Premiere' },
839
+ { value: 'audio/vnd.adobe.soundbooth', label: 'Adobe SoundBooth' },
840
+ { value: 'application/acp', label: 'Alfresco Content Package' },
841
+ { value: 'application/vnd.android.package-archive', label: 'Android Package' },
842
+ { value: 'image/x-portable-anymap', label: 'Anymap Image' },
843
+ { value: 'image/icns', label: 'Apple Icon' },
844
+ { value: 'application/vnd.apple.keynote', label: 'Apple iWork Keynote' },
845
+ { value: 'application/vnd.apple.numbers', label: 'Apple iWork Numbers' },
846
+ { value: 'application/vnd.apple.pages', label: 'Apple iWork Pages' },
847
+ { value: 'image/vnd.dwg', label: 'AutoCAD Drawing' },
848
+ { value: 'image/x-dwt', label: 'AutoCAD Template' },
849
+ { value: 'audio/basic', label: 'Basic Audio' },
850
+ { value: 'application/x-dosexec', label: 'Binary File' },
851
+ { value: 'application/octet-stream', label: 'Binary File (Octet Stream)' },
852
+ { value: 'image/bmp', label: 'Bitmap Image' },
853
+ { value: 'image/cgm', label: 'CGM Image' },
854
+ { value: 'image/x-raw-canon', label: 'Canon RAW Image' },
855
+ { value: 'text/csv', label: 'Comma Separated Values (CSV)' },
856
+ { value: 'application/dita+xml', label: 'DITA' },
857
+ { value: 'message/rfc822', label: 'EMail' },
858
+ { value: 'application/eps', label: 'EPS Type PostScript' },
859
+ { value: 'audio/x-flac', label: 'FLAC Audio' },
860
+ { value: 'application/x-fla', label: 'Flash Source' },
861
+ { value: 'video/x-flv', label: 'Flash Video' },
862
+ { value: 'image/x-raw-fuji', label: 'Fuji RAW Image' },
863
+ { value: 'image/gif', label: 'GIF Image' },
864
+ { value: 'application/x-gzip', label: 'GZIP' },
865
+ { value: 'application/x-gtar', label: 'GZIP Tarball' },
866
+ { value: 'image/x-portable-graymap', label: 'Greymap Image' },
867
+ { value: 'text/html', label: 'HTML' },
868
+ { value: 'application/vnd.oasis.opendocument.text-web', label: 'HTML Document Template' },
869
+ { value: 'image/x-raw-hasselblad', label: 'Hasselblad RAW Image' },
870
+ { value: 'image/ief', label: 'IEF Image' },
871
+ { value: 'image/jp2', label: 'JPEG 2000 Image' },
872
+ { value: 'image/jpeg', label: 'JPEG Image' },
873
+ { value: 'application/json', label: 'JSON' },
874
+ { value: 'application/java-archive', label: 'Java Archive' },
875
+ { value: 'application/java', label: 'Java Class' },
876
+ { value: 'text/x-jsp', label: 'Java Server Page' },
877
+ { value: 'text/x-java-source', label: 'Java Source File' },
878
+ { value: 'application/x-javascript', label: 'JavaScript' },
879
+ { value: 'image/x-raw-kodak', label: 'Kodak RAW Image' },
880
+ { value: 'application/x-latex', label: 'LaTeX' },
881
+ { value: 'image/x-raw-leica', label: 'Leica RAW Image' },
882
+ { value: 'audio/mpeg', label: 'MPEG Audio' },
883
+ { value: 'video/mp2t', label: 'MPEG Transport Stream' },
884
+ { value: 'video/mpeg', label: 'MPEG Video' },
885
+ { value: 'video/mpeg2', label: 'MPEG2 Video' },
886
+ { value: 'audio/mp4', label: 'MPEG4 Audio' },
887
+ { value: 'video/mp4', label: 'MPEG4 Video' },
888
+ { value: 'video/x-m4v', label: 'MPEG4 Video (m4v)' },
889
+ { value: 'video/x-ms-asf', label: 'MS ASF Streaming Video' },
890
+ { value: 'video/x-msvideo', label: 'MS Video' },
891
+ { value: 'audio/x-ms-wma', label: 'MS WMA Streaming Audio' },
892
+ { value: 'video/x-ms-wmv', label: 'MS WMV Streaming Video' },
893
+ { value: 'application/x-troff-man', label: 'Man Page' },
894
+ { value: 'text/x-markdown', label: 'Markdown' },
895
+ { value: 'text/mediawiki', label: 'MediaWiki Markup' },
896
+ { value: 'application/vnd.ms-excel', label: 'Microsoft Excel' },
897
+ { value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', label: 'Microsoft Excel 2007' },
898
+ { value: 'application/vnd.ms-excel.addin.macroenabled.12', label: 'Microsoft Excel 2007 add-in' },
899
+ { value: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', label: 'Microsoft Excel 2007 binary workbook' },
900
+ { value: 'application/vnd.ms-excel.sheet.macroenabled.12', label: 'Microsoft Excel 2007 macro-enabled workbook' },
901
+ { value: 'application/vnd.ms-excel.template.macroenabled.12', label: 'Microsoft Excel 2007 macro-enabled workbook template' },
902
+ { value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', label: 'Microsoft Excel template 2007' },
903
+ { value: 'application/vnd.ms-outlook', label: 'Microsoft Outlook Message' },
904
+ { value: 'application/vnd.ms-powerpoint', label: 'Microsoft PowerPoint' },
905
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', label: 'Microsoft PowerPoint 2007' },
906
+ { value: 'application/vnd.ms-powerpoint.addin.macroenabled.12', label: 'Microsoft PowerPoint 2007 add-in' },
907
+ { value: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled presentation' },
908
+ { value: 'application/vnd.ms-powerpoint.template.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled presentation template' },
909
+ { value: 'application/vnd.ms-powerpoint.slide.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled slide' },
910
+ { value: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', label: 'Microsoft PowerPoint 2007 macro-enabled slide show' },
911
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.slide', label: 'Microsoft PowerPoint 2007 slide' },
912
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', label: 'Microsoft PowerPoint 2007 slide show' },
913
+ { value: 'application/vnd.openxmlformats-officedocument.presentationml.template', label: 'Microsoft PowerPoint 2007 template' },
914
+ { value: 'application/vnd.ms-project', label: 'Microsoft Project' },
915
+ { value: 'application/vnd.visio', label: 'Microsoft Visio' },
916
+ { value: 'application/vnd.visio2013', label: 'Microsoft Visio 2013' },
917
+ { value: 'application/vnd.ms-visio.drawing.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled drawing' },
918
+ { value: 'application/vnd.ms-visio.stencil.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled stencil' },
919
+ { value: 'application/vnd.ms-visio.template.macroenabled.main+xml', label: 'Microsoft Visio macro-enabled template' },
920
+ { value: 'application/vnd.ms-visio.stencil.main+xml', label: 'Microsoft Visio stencil' },
921
+ { value: 'application/vnd.ms-visio.template.main+xml', label: 'Microsoft Visio template' },
922
+ { value: 'application/msword', label: 'Microsoft Word' },
923
+ { value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', label: 'Microsoft Word 2007' },
924
+ { value: 'application/vnd.ms-word.document.macroenabled.12', label: 'Microsoft Word 2007 macro-enabled document' },
925
+ { value: 'application/vnd.ms-word.template.macroenabled.12', label: 'Microsoft Word 2007 macro-enabled document template' },
926
+ { value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', label: 'Microsoft Word 2007 template' },
927
+ { value: 'image/x-raw-minolta', label: 'Minolta RAW Image' },
928
+ { value: 'image/x-raw-nikon', label: 'Nikon RAW Image' },
929
+ { value: 'audio/ogg', label: 'Ogg Audio' },
930
+ { value: 'application/ogg', label: 'Ogg Multiplex' },
931
+ { value: 'video/ogg', label: 'Ogg Video' },
932
+ { value: 'audio/vorbis', label: 'Ogg Vorbis Audio' },
933
+ { value: 'image/x-raw-olympus', label: 'Olympus RAW Image' },
934
+ { value: 'application/vnd.oasis.opendocument.chart', label: 'OpenDocument Chart' },
935
+ { value: 'application/vnd.oasis.opendocument.database', label: 'OpenDocument Database' },
936
+ { value: 'application/vnd.oasis.opendocument.graphics', label: 'OpenDocument Drawing' },
937
+ { value: 'application/vnd.oasis.opendocument.graphics-template', label: 'OpenDocument Drawing Template' },
938
+ { value: 'application/vnd.oasis.opendocument.formula', label: 'OpenDocument Formula' },
939
+ { value: 'application/vnd.oasis.opendocument.image', label: 'OpenDocument Image' },
940
+ { value: 'application/vnd.oasis.opendocument.text-master', label: 'OpenDocument Master Document' },
941
+ { value: 'application/vnd.oasis.opendocument.presentation', label: 'OpenDocument Presentation' },
942
+ { value: 'application/vnd.oasis.opendocument.presentation-template', label: 'OpenDocument Presentation Template' },
943
+ { value: 'application/vnd.oasis.opendocument.spreadsheet', label: 'OpenDocument Spreadsheet' },
944
+ { value: 'application/vnd.oasis.opendocument.spreadsheet-template', label: 'OpenDocument Spreadsheet Template' },
945
+ { value: 'application/vnd.oasis.opendocument.text', label: 'OpenDocument Text (OpenOffice 2.0)' },
946
+ { value: 'application/vnd.oasis.opendocument.text-template', label: 'OpenDocument Text Template' },
947
+ { value: 'application/vnd.sun.xml.calc', label: 'OpenOffice 1.0/StarOffice6.0 Calc 6.0' },
948
+ { value: 'application/vnd.sun.xml.calc.template', label: 'OpenOffice 1.0/StarOffice6.0 Calc 6.0 Template' },
949
+ { value: 'application/vnd.sun.xml.draw', label: 'OpenOffice 1.0/StarOffice6.0 Draw 6.0' },
950
+ { value: 'application/vnd.sun.xml.impress', label: 'OpenOffice 1.0/StarOffice6.0 Impress 6.0' },
951
+ { value: 'application/vnd.sun.xml.impress.template', label: 'OpenOffice 1.0/StarOffice6.0 Impress 6.0 Template' },
952
+ { value: 'application/vnd.sun.xml.writer', label: 'OpenOffice 1.0/StarOffice6.0 Writer 6.0' },
953
+ { value: 'application/vnd.sun.xml.writer.template', label: 'OpenOffice 1.0/StarOffice6.0 Writer 6.0 Template' },
954
+ { value: 'image/png', label: 'PNG Image' },
955
+ { value: 'image/x-raw-panasonic', label: 'Panasonic RAW Image' },
956
+ { value: 'image/x-raw-pentax', label: 'Pentax RAW Image' },
957
+ { value: 'image/x-portable-pixmap', label: 'Pixmap Image' },
958
+ { value: 'text/plain', label: 'Plain Text' },
959
+ { value: 'image/x-portable-bitmap', label: 'Portable Bitmap' },
960
+ { value: 'application/postscript', label: 'PostScript' },
961
+ { value: 'application/remote-printing', label: 'Printer Text File' },
962
+ { value: 'video/quicktime', label: 'Quicktime Video' },
963
+ { value: 'video/x-rad-screenplay', label: 'RAD Screen Display' },
964
+ { value: 'application/x-rar-compressed', label: 'RAR Archive' },
965
+ { value: 'image/x-raw-red', label: 'RED RAW Image' },
966
+ { value: 'image/x-rgb', label: 'RGB Image' },
967
+ { value: 'application/rss+xml', label: 'RSS' },
968
+ { value: 'image/x-cmu-raster', label: 'Raster Image' },
969
+ { value: 'text/richtext', label: 'Rich Text' },
970
+ { value: 'application/rtf', label: 'Rich Text Format' },
971
+ { value: 'video/x-sgi-movie', label: 'SGI Video' },
972
+ { value: 'text/sgml', label: 'SGML (Human Readable)' },
973
+ { value: 'application/sgml', label: 'SGML (Machine Readable)' },
974
+ { value: 'image/svg+xml', label: 'Scalable Vector Graphics Image' },
975
+ { value: 'application/x-sh', label: 'Shell Script' },
976
+ { value: 'application/x-shockwave-flash', label: 'Shockwave Flash' },
977
+ { value: 'image/x-raw-sigma', label: 'Sigma RAW Image' },
978
+ { value: 'image/x-raw-sony', label: 'Sony RAW Image' },
979
+ { value: 'application/vnd.stardivision.chart', label: 'StarChart 5.x' },
980
+ { value: 'application/vnd.stardivision.calc', label: 'StarCalc 5.x' },
981
+ { value: 'application/vnd.stardivision.draw', label: 'StarDraw 5.x' },
982
+ { value: 'application/vnd.stardivision.impress', label: 'StarImpress 5.x' },
983
+ { value: 'application/vnd.stardivision.impress-packed', label: 'StarImpress Packed 5.x' },
984
+ { value: 'application/vnd.stardivision.math', label: 'StarMath 5.x' },
985
+ { value: 'application/vnd.stardivision.writer', label: 'StarWriter 5.x' },
986
+ { value: 'application/vnd.stardivision.writer-global', label: 'StarWriter 5.x global' },
987
+ { value: 'text/css', label: 'Style Sheet' },
988
+ { value: 'image/tiff', label: 'TIFF Image' },
989
+ { value: 'text/tab-separated-values', label: 'Tab Separated Values' },
990
+ { value: 'application/x-tar', label: 'Tarball' },
991
+ { value: 'application/x-tex', label: 'Tex' },
992
+ { value: 'application/x-texinfo', label: 'Tex Info' },
993
+ { value: 'x-world/x-vrml', label: 'VRML' },
994
+ { value: 'audio/x-wav', label: 'WAV Audio' },
995
+ { value: 'video/webm', label: 'WebM Video' },
996
+ { value: 'application/wordperfect', label: 'WordPerfect' },
997
+ { value: 'image/x-xbitmap', label: 'XBitmap Image' },
998
+ { value: 'application/xhtml+xml', label: 'XHTML' },
999
+ { value: 'text/xml', label: 'XML' },
1000
+ { value: 'image/x-xpixmap', label: 'XPixmap Image' },
1001
+ { value: 'image/x-xwindowdump', label: 'XWindow Dump' },
1002
+ { value: 'application/x-compress', label: 'Z Compress' },
1003
+ { value: 'application/zip', label: 'ZIP' },
1004
+ { value: 'text/calendar', label: 'iCalendar File' }
1005
+ ];
1006
+
1007
+ /*!
1008
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1009
+ *
1010
+ * Alfresco Example Content Application
1011
+ *
1012
+ * This file is part of the Alfresco Example Content Application.
1013
+ * If the software was purchased under a paid Alfresco license, the terms of
1014
+ * the paid license agreement will prevail. Otherwise, the software is
1015
+ * provided under the following open source license terms:
1016
+ *
1017
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1018
+ * it under the terms of the GNU Lesser General Public License as published by
1019
+ * the Free Software Foundation, either version 3 of the License, or
1020
+ * (at your option) any later version.
1021
+ *
1022
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1023
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1024
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1025
+ * GNU Lesser General Public License for more details.
1026
+ *
1027
+ * You should have received a copy of the GNU Lesser General Public License
1028
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1029
+ */
1030
+ class AppSettingsService {
1031
+ constructor() {
1032
+ this.appConfig = inject(AppConfigService);
1033
+ }
1034
+ /**
1035
+ * Get the AOS (Alfresco Office Services) host URL from the app settings.
1036
+ */
1037
+ get aosHost() {
1038
+ return this.appConfig.get('aosHost');
1039
+ }
1040
+ /**
1041
+ * Get the default landing page from the app settings.
1042
+ * Default value: `/personal-files`.
1043
+ */
1044
+ get landingPage() {
1045
+ return this.appConfig.get('landingPage', '/personal-files');
1046
+ }
1047
+ /**
1048
+ * Get the list of mime types from the app settings.
1049
+ */
1050
+ get mimeTypes() {
1051
+ return this.appConfig.get('mimeTypes', DefaultMimeTypes);
1052
+ }
1053
+ /**
1054
+ * Get the application name from the app settings.
1055
+ */
1056
+ get appName() {
1057
+ return this.appConfig.get('application.name', 'Alfresco Content Application');
1058
+ }
1059
+ /**
1060
+ * Get the application version from the app settings.
1061
+ */
1062
+ get appVersion() {
1063
+ return this.appConfig.get('application.version', '1.0.0');
1064
+ }
1065
+ /**
1066
+ * Get the application logo URL from the app settings.
1067
+ */
1068
+ get appLogoUrl() {
1069
+ return this.appConfig.get('application.logo', 'assets/images/app-logo.svg');
1070
+ }
1071
+ /**
1072
+ * Get the custom CSS stylesheet path from the app settings.
1073
+ */
1074
+ get customCssPath() {
1075
+ return this.appConfig.get('customCssPath', '');
1076
+ }
1077
+ /**
1078
+ * Get the custom web font path from the app settings.
1079
+ */
1080
+ get webFontPath() {
1081
+ return this.appConfig.get('webFontPath', '');
1082
+ }
1083
+ /**
1084
+ * Get the base share URL from the app settings.
1085
+ */
1086
+ get baseShareUrl() {
1087
+ let result = this.appConfig.get('baseShareUrl', '');
1088
+ if (!result.endsWith('/')) {
1089
+ result += '/';
1090
+ }
1091
+ return result;
1092
+ }
1093
+ }
1094
+ AppSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1095
+ AppSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, providedIn: 'root' });
1096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppSettingsService, decorators: [{
1097
+ type: Injectable,
1098
+ args: [{ providedIn: 'root' }]
1099
+ }] });
1100
+
794
1101
  // After moving shell to ADF to core, AppService will implement ShellAppService
795
1102
  class AppService {
796
- constructor(preferencesService, authenticationService, store, router, activatedRoute, config, pageTitle, alfrescoApiService, uploadService, routerExtensionService, contentApi, sharedLinksApiService, groupService, overlayContainer, initialAppState, searchQueryBuilderService, acaMobileAppSwitcherService) {
1103
+ constructor(preferencesService, authenticationService, store, router, activatedRoute, config, pageTitle, alfrescoApiService, uploadService, routerExtensionService, contentApi, sharedLinksApiService, groupService, overlayContainer, searchQueryBuilderService, acaMobileAppSwitcherService, appSettingsService) {
797
1104
  this.preferencesService = preferencesService;
798
1105
  this.authenticationService = authenticationService;
799
1106
  this.store = store;
@@ -808,8 +1115,8 @@ class AppService {
808
1115
  this.sharedLinksApiService = sharedLinksApiService;
809
1116
  this.groupService = groupService;
810
1117
  this.overlayContainer = overlayContainer;
811
- this.initialAppState = initialAppState;
812
1118
  this.acaMobileAppSwitcherService = acaMobileAppSwitcherService;
1119
+ this.appSettingsService = appSettingsService;
813
1120
  this.appNavNarMode$ = new BehaviorSubject('expanded');
814
1121
  this.toggleAppNavBar$ = new Subject();
815
1122
  this.hideSidenavConditions = ['/preview/'];
@@ -855,7 +1162,6 @@ class AppService {
855
1162
  }
856
1163
  }
857
1164
  });
858
- this.loadAppSettings();
859
1165
  this.loadCustomCss();
860
1166
  this.loadCustomWebFont();
861
1167
  const { router } = this;
@@ -907,14 +1213,6 @@ class AppService {
907
1213
  });
908
1214
  });
909
1215
  }
910
- loadAppSettings() {
911
- let baseShareUrl = this.config.get('baseShareUrl', '');
912
- if (!baseShareUrl.endsWith('/')) {
913
- baseShareUrl += '/';
914
- }
915
- const state = Object.assign(Object.assign({}, this.initialAppState), { appName: this.config.get('application.name'), logoPath: this.config.get('application.logo'), customCssPath: this.config.get('customCssPath'), webFontPath: this.config.get('webFontPath'), sharedUrl: baseShareUrl });
916
- this.store.dispatch(new SetInitialStateAction(state));
917
- }
918
1216
  onFileUploadedError(error) {
919
1217
  var _a, _b, _c, _d, _e;
920
1218
  let message = 'APP.MESSAGES.UPLOAD.ERROR.GENERIC';
@@ -936,18 +1234,16 @@ class AppService {
936
1234
  this.store.dispatch(new SnackbarErrorAction(message));
937
1235
  }
938
1236
  loadCustomCss() {
939
- this.store.select(getCustomCssPath).subscribe((cssPath) => {
940
- if (cssPath) {
941
- this.createLink(cssPath);
942
- }
943
- });
1237
+ const customCssPath = this.appSettingsService.customCssPath;
1238
+ if (customCssPath) {
1239
+ this.createLink(customCssPath);
1240
+ }
944
1241
  }
945
1242
  loadCustomWebFont() {
946
- this.store.select(getCustomWebFontPath).subscribe((fontUrl) => {
947
- if (fontUrl) {
948
- this.createLink(fontUrl);
949
- }
950
- });
1243
+ const webFontPath = this.appSettingsService.webFontPath;
1244
+ if (webFontPath) {
1245
+ this.createLink(webFontPath);
1246
+ }
951
1247
  }
952
1248
  createLink(url) {
953
1249
  const cssLinkElement = document.createElement('link');
@@ -966,22 +1262,17 @@ class AppService {
966
1262
  }
967
1263
  }
968
1264
  }
969
- 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 });
1265
+ 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 });
970
1266
  AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, providedIn: 'root' });
971
1267
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, decorators: [{
972
1268
  type: Injectable,
973
1269
  args: [{
974
1270
  providedIn: 'root'
975
1271
  }]
976
- }], ctorParameters: function () {
977
- 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: [{
978
- type: Inject,
979
- args: [STORE_INITIAL_APP_DATA]
980
- }] }, { type: i4$1.SearchQueryBuilderService }, { type: AcaMobileAppSwitcherService }];
981
- } });
1272
+ }], 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 }]; } });
982
1273
 
983
1274
  /*!
984
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1275
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
985
1276
  *
986
1277
  * Alfresco Example Content Application
987
1278
  *
@@ -1028,7 +1319,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1028
1319
  }] } });
1029
1320
 
1030
1321
  /*!
1031
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1322
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1032
1323
  *
1033
1324
  * Alfresco Example Content Application
1034
1325
  *
@@ -1064,7 +1355,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1064
1355
  }] });
1065
1356
 
1066
1357
  /*!
1067
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1358
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1068
1359
  *
1069
1360
  * Alfresco Example Content Application
1070
1361
  *
@@ -1112,7 +1403,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1112
1403
  }] } });
1113
1404
 
1114
1405
  /*!
1115
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1406
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1116
1407
  *
1117
1408
  * Alfresco Example Content Application
1118
1409
  *
@@ -1149,7 +1440,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1149
1440
  }] } });
1150
1441
 
1151
1442
  /*!
1152
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1443
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1153
1444
  *
1154
1445
  * Alfresco Example Content Application
1155
1446
  *
@@ -1250,7 +1541,6 @@ class AppExtensionService {
1250
1541
  this.navbar = [];
1251
1542
  this.sidebarTabs = [];
1252
1543
  this.viewerRules = {};
1253
- this.settingGroups = [];
1254
1544
  this._headerActions = new BehaviorSubject([]);
1255
1545
  this._toolbarActions = new BehaviorSubject([]);
1256
1546
  this._viewerToolbarActions = new BehaviorSubject([]);
@@ -1258,7 +1548,6 @@ class AppExtensionService {
1258
1548
  this._contextMenuActions = new BehaviorSubject([]);
1259
1549
  this._openWithActions = new BehaviorSubject([]);
1260
1550
  this._createActions = new BehaviorSubject([]);
1261
- this._mainActions = new BehaviorSubject(null);
1262
1551
  this._sidebarActions = new BehaviorSubject([]);
1263
1552
  this._badges = new BehaviorSubject([]);
1264
1553
  this._filesDocumentListPreset = new BehaviorSubject([]);
@@ -1297,7 +1586,6 @@ class AppExtensionService {
1297
1586
  this.logger.error('Extension configuration not found');
1298
1587
  return;
1299
1588
  }
1300
- this.settingGroups = this.loader.getElements(config, 'settings');
1301
1589
  this._headerActions.next(this.loader.getContentActions(config, 'features.header'));
1302
1590
  this._sidebarActions.next(this.loader.getContentActions(config, 'features.sidebar.toolbar'));
1303
1591
  this._toolbarActions.next(this.loader.getContentActions(config, 'features.toolbar'));
@@ -1306,7 +1594,6 @@ class AppExtensionService {
1306
1594
  this._contextMenuActions.next(this.loader.getContentActions(config, 'features.contextMenu'));
1307
1595
  this._openWithActions.next(this.loader.getContentActions(config, 'features.viewer.openWith'));
1308
1596
  this._createActions.next(this.loader.getElements(config, 'features.create'));
1309
- this._mainActions.next(this.loader.getFeatures(config).mainAction);
1310
1597
  this._badges.next(this.loader.getElements(config, 'features.badges'));
1311
1598
  this._filesDocumentListPreset.next(this.getDocumentListPreset(config, 'files'));
1312
1599
  this._customMetadataPanels.next(this.loader.getElements(config, 'features.customMetadataPanels'));
@@ -1445,9 +1732,6 @@ class AppExtensionService {
1445
1732
  return object;
1446
1733
  }
1447
1734
  }
1448
- getNavigationGroups() {
1449
- return this.navbar;
1450
- }
1451
1735
  getSidebarTabs() {
1452
1736
  return this.sidebarTabs.filter((action) => this.filterVisible(action));
1453
1737
  }
@@ -1469,13 +1753,6 @@ class AppExtensionService {
1469
1753
  .map((action) => this.buildMenu(action))
1470
1754
  .map((action) => this.setActionDisabledFromRule(action))));
1471
1755
  }
1472
- getMainAction() {
1473
- return this._mainActions.pipe(filter((mainAction) => mainAction && this.filterVisible(mainAction)), map((mainAction) => {
1474
- let actionCopy = this.copyAction(mainAction);
1475
- actionCopy = this.setActionDisabledFromRule(actionCopy);
1476
- return actionCopy;
1477
- }));
1478
- }
1479
1756
  getBadges(node) {
1480
1757
  return this._badges.pipe(map((badges) => badges.filter((badge) => this.evaluateRule(badge.rules.visible, node))));
1481
1758
  }
@@ -1554,9 +1831,6 @@ class AppExtensionService {
1554
1831
  getAllowedContextMenuActions() {
1555
1832
  return this._contextMenuActions.pipe(map((contextMenuActions) => (!this.selection.isEmpty ? this.getAllowedActions(contextMenuActions) : [])));
1556
1833
  }
1557
- getSettingsGroups() {
1558
- return this.settingGroups.filter((group) => this.filterVisible(group));
1559
- }
1560
1834
  copyAction(action) {
1561
1835
  return Object.assign(Object.assign({}, action), { children: (action.children || []).map((child) => this.copyAction(child)) });
1562
1836
  }
@@ -1649,7 +1923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1649
1923
  }], 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 }]; } });
1650
1924
 
1651
1925
  /*!
1652
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1926
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1653
1927
  *
1654
1928
  * Alfresco Example Content Application
1655
1929
  *
@@ -1693,10 +1967,10 @@ class ToolbarMenuItemComponent {
1693
1967
  }
1694
1968
  }
1695
1969
  ToolbarMenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuItemComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
1696
- 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 });
1970
+ 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 });
1697
1971
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuItemComponent, decorators: [{
1698
1972
  type: Component,
1699
- 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"] }]
1973
+ 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"] }]
1700
1974
  }], ctorParameters: function () { return [{ type: AppExtensionService }]; }, propDecorators: { actionRef: [{
1701
1975
  type: Input
1702
1976
  }], menuId: [{
@@ -1707,7 +1981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1707
1981
  }] } });
1708
1982
 
1709
1983
  /*!
1710
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1984
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1711
1985
  *
1712
1986
  * Alfresco Example Content Application
1713
1987
  *
@@ -1769,7 +2043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1769
2043
  }] } });
1770
2044
 
1771
2045
  /*!
1772
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2046
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1773
2047
  *
1774
2048
  * Alfresco Example Content Application
1775
2049
  *
@@ -1819,10 +2093,10 @@ class ToolbarMenuComponent {
1819
2093
  }
1820
2094
  }
1821
2095
  ToolbarMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1822
- 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 });
2096
+ 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 });
1823
2097
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarMenuComponent, decorators: [{
1824
2098
  type: Component,
1825
- 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" }]
2099
+ 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" }]
1826
2100
  }], propDecorators: { actionRef: [{
1827
2101
  type: Input
1828
2102
  }], color: [{
@@ -1844,7 +2118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1844
2118
  }] } });
1845
2119
 
1846
2120
  /*!
1847
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2121
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1848
2122
  *
1849
2123
  * Alfresco Example Content Application
1850
2124
  *
@@ -1880,10 +2154,10 @@ class ToolbarActionComponent {
1880
2154
  }
1881
2155
  }
1882
2156
  ToolbarActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1883
- 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 });
2157
+ 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 });
1884
2158
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, decorators: [{
1885
2159
  type: Component,
1886
- 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"] }]
2160
+ 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"] }]
1887
2161
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
1888
2162
  type: Input
1889
2163
  }], type: [{
@@ -1895,7 +2169,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1895
2169
  }] } });
1896
2170
 
1897
2171
  /*!
1898
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2172
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1899
2173
  *
1900
2174
  * Alfresco Example Content Application
1901
2175
  *
@@ -1932,7 +2206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1932
2206
  }] } });
1933
2207
 
1934
2208
  /*!
1935
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2209
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
1936
2210
  *
1937
2211
  * Alfresco Example Content Application
1938
2212
  *
@@ -2025,10 +2299,10 @@ class InfoDrawerComponent {
2025
2299
  }
2026
2300
  }
2027
2301
  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 });
2028
- 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 });
2302
+ 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 });
2029
2303
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, decorators: [{
2030
2304
  type: Component,
2031
- 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" }]
2305
+ 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" }]
2032
2306
  }], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4$1.NodesApiService }, { type: i4$1.ContentService }]; }, propDecorators: { nodeId: [{
2033
2307
  type: Input
2034
2308
  }], node: [{
@@ -2039,7 +2313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2039
2313
  }] } });
2040
2314
 
2041
2315
  /*!
2042
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2316
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2043
2317
  *
2044
2318
  * Alfresco Example Content Application
2045
2319
  *
@@ -2065,7 +2339,7 @@ class DocumentBasePageService {
2065
2339
  }
2066
2340
 
2067
2341
  /*!
2068
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2342
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2069
2343
  *
2070
2344
  * Alfresco Example Content Application
2071
2345
  *
@@ -2108,7 +2382,7 @@ function isLibrary(node) {
2108
2382
  }
2109
2383
 
2110
2384
  /*!
2111
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2385
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2112
2386
  *
2113
2387
  * Alfresco Example Content Application
2114
2388
  *
@@ -2156,7 +2430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2156
2430
  }], ctorParameters: function () { return [{ type: i1$1.MatDialog }, { type: i1.AppConfigService }]; } });
2157
2431
 
2158
2432
  /*!
2159
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2433
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2160
2434
  *
2161
2435
  * Alfresco Example Content Application
2162
2436
  *
@@ -2207,7 +2481,6 @@ class PageComponent {
2207
2481
  .subscribe((actions) => {
2208
2482
  this.createActions = actions;
2209
2483
  });
2210
- this.sharedPreviewUrl$ = this.store.select(getSharedUrl);
2211
2484
  this.infoDrawerOpened$ = this.store.select(isInfoDrawerOpened);
2212
2485
  this.store
2213
2486
  .select(getAppSelection)
@@ -2318,16 +2591,43 @@ class PageComponent {
2318
2591
  }
2319
2592
  }
2320
2593
  PageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2321
- 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 });
2594
+ 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 });
2322
2595
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PageComponent, decorators: [{
2323
2596
  type: Directive
2324
2597
  }], propDecorators: { documentList: [{
2325
2598
  type: ViewChild,
2326
2599
  args: [DocumentListComponent]
2600
+ }], onSortingChanged: [{
2601
+ type: HostListener,
2602
+ args: ['sorting-changed', ['$event']]
2327
2603
  }] } });
2328
2604
 
2329
2605
  /*!
2330
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2606
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2607
+ *
2608
+ * Alfresco Example Content Application
2609
+ *
2610
+ * This file is part of the Alfresco Example Content Application.
2611
+ * If the software was purchased under a paid Alfresco license, the terms of
2612
+ * the paid license agreement will prevail. Otherwise, the software is
2613
+ * provided under the following open source license terms:
2614
+ *
2615
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
2616
+ * it under the terms of the GNU Lesser General Public License as published by
2617
+ * the Free Software Foundation, either version 3 of the License, or
2618
+ * (at your option) any later version.
2619
+ *
2620
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
2621
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2622
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2623
+ * GNU Lesser General Public License for more details.
2624
+ *
2625
+ * You should have received a copy of the GNU Lesser General Public License
2626
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2627
+ */
2628
+
2629
+ /*!
2630
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2331
2631
  *
2332
2632
  * Alfresco Example Content Application
2333
2633
  *
@@ -2424,7 +2724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2424
2724
  }] } });
2425
2725
 
2426
2726
  /*!
2427
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2727
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2428
2728
  *
2429
2729
  * Alfresco Example Content Application
2430
2730
  *
@@ -2475,7 +2775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2475
2775
  }], ctorParameters: function () { return [{ type: i1.PaginationComponent }, { type: i1.UserPreferencesService }, { type: i1.AppConfigService }]; } });
2476
2776
 
2477
2777
  /*!
2478
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2778
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2479
2779
  *
2480
2780
  * Alfresco Example Content Application
2481
2781
  *
@@ -2517,8 +2817,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2517
2817
  }]
2518
2818
  }], ctorParameters: function () { return [{ type: i1$2.Store }]; } });
2519
2819
 
2820
+ class PluginEnabledGuard {
2821
+ constructor(appConfigService, router) {
2822
+ this.appConfigService = appConfigService;
2823
+ this.router = router;
2824
+ }
2825
+ canActivate(route) {
2826
+ const isPluginEnabled = this.appConfigService.get(route.data.plugin, true);
2827
+ if (!isPluginEnabled) {
2828
+ this.router.navigate(['/']);
2829
+ }
2830
+ return isPluginEnabled;
2831
+ }
2832
+ canActivateChild(route) {
2833
+ return this.canActivate(route);
2834
+ }
2835
+ }
2836
+ 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 });
2837
+ PluginEnabledGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PluginEnabledGuard, providedIn: 'root' });
2838
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: PluginEnabledGuard, decorators: [{
2839
+ type: Injectable,
2840
+ args: [{
2841
+ providedIn: 'root'
2842
+ }]
2843
+ }], ctorParameters: function () { return [{ type: i1.AppConfigService }, { type: i3.Router }]; } });
2844
+
2520
2845
  /*!
2521
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2846
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2522
2847
  *
2523
2848
  * Alfresco Example Content Application
2524
2849
  *
@@ -2602,7 +2927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2602
2927
  }] });
2603
2928
 
2604
2929
  /*!
2605
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
2930
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2606
2931
  *
2607
2932
  * Alfresco Example Content Application
2608
2933
  *
@@ -2654,6 +2979,27 @@ const initialState = {
2654
2979
  }
2655
2980
  }
2656
2981
  };
2982
+ const discoveryApiServiceMockValue = {
2983
+ ecmProductInfo$: new BehaviorSubject(null),
2984
+ getEcmProductInfo: () => of(new RepositoryInfo({
2985
+ version: {
2986
+ major: '10.0.0'
2987
+ }
2988
+ }))
2989
+ };
2990
+ class DocumentBasePageServiceMock extends DocumentBasePageService {
2991
+ canUpdateNode() {
2992
+ return true;
2993
+ }
2994
+ canUploadContent() {
2995
+ return true;
2996
+ }
2997
+ }
2998
+ DocumentBasePageServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
2999
+ DocumentBasePageServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock });
3000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DocumentBasePageServiceMock, decorators: [{
3001
+ type: Injectable
3002
+ }] });
2657
3003
  class LibTestingModule {
2658
3004
  }
2659
3005
  LibTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -2663,7 +3009,7 @@ LibTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
2663
3009
  RouterTestingModule,
2664
3010
  MatIconTestingModule,
2665
3011
  StoreModule,
2666
- OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule, PipeModule], exports: [TranslateModule] });
3012
+ OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule], exports: [TranslateModule] });
2667
3013
  LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, providers: [
2668
3014
  { provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
2669
3015
  { provide: TranslationService, useClass: TranslationMock }
@@ -2687,8 +3033,7 @@ LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
2687
3033
  provide: TranslateLoader,
2688
3034
  useClass: TranslateLoaderService
2689
3035
  }
2690
- }),
2691
- PipeModule, TranslateModule] });
3036
+ }), TranslateModule] });
2692
3037
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, decorators: [{
2693
3038
  type: NgModule,
2694
3039
  args: [{
@@ -2713,8 +3058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2713
3058
  provide: TranslateLoader,
2714
3059
  useClass: TranslateLoaderService
2715
3060
  }
2716
- }),
2717
- PipeModule
3061
+ })
2718
3062
  ],
2719
3063
  exports: [TranslateModule],
2720
3064
  providers: [
@@ -2725,7 +3069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2725
3069
  }] });
2726
3070
 
2727
3071
  /*!
2728
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3072
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2729
3073
  *
2730
3074
  * Alfresco Example Content Application
2731
3075
  *
@@ -2762,7 +3106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2762
3106
  }] });
2763
3107
 
2764
3108
  /*!
2765
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3109
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2766
3110
  *
2767
3111
  * Alfresco Example Content Application
2768
3112
  *
@@ -2788,38 +3132,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2788
3132
  class SharedToolbarModule {
2789
3133
  }
2790
3134
  SharedToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2791
- SharedToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [CommonModule,
2792
- CoreModule,
2793
- ExtensionsModule,
2794
- ToolbarButtonComponent,
2795
- ToolbarActionComponent,
2796
- ToolbarMenuItemComponent,
2797
- ToolbarMenuComponent], exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
2798
- SharedToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [CommonModule,
2799
- CoreModule,
2800
- ExtensionsModule,
2801
- ToolbarButtonComponent,
2802
- ToolbarActionComponent,
2803
- ToolbarMenuItemComponent,
2804
- ToolbarMenuComponent] });
3135
+ 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] });
3136
+ SharedToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
2805
3137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedToolbarModule, decorators: [{
2806
3138
  type: NgModule,
2807
3139
  args: [{
2808
- imports: [
2809
- CommonModule,
2810
- CoreModule,
2811
- ExtensionsModule,
2812
- ToolbarButtonComponent,
2813
- ToolbarActionComponent,
2814
- ToolbarMenuItemComponent,
2815
- ToolbarMenuComponent
2816
- ],
3140
+ imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent],
2817
3141
  exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent]
2818
3142
  }]
2819
3143
  }] });
2820
3144
 
2821
3145
  /*!
2822
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3146
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
2823
3147
  *
2824
3148
  * Alfresco Example Content Application
2825
3149
  *
@@ -2846,5 +3170,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2846
3170
  * Generated bundle index. Do not edit.
2847
3171
  */
2848
3172
 
2849
- 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 };
3173
+ 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 };
2850
3174
  //# sourceMappingURL=alfresco-aca-shared.mjs.map