@alfresco/aca-shared 7.2.0-18747209563 → 7.2.0-18771766913

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.
@@ -31,3 +31,6 @@ export interface Badge extends Partial<Pick<ContentActionRef, 'component' | 'act
31
31
  icon: string;
32
32
  tooltip: string;
33
33
  }
34
+ export interface UserProfileSection extends Partial<Pick<ContentActionRef, 'component' | 'rules'>> {
35
+ id: string;
36
+ }
@@ -31,7 +31,7 @@ import { AppConfigService, AuthenticationService, LogService } from '@alfresco/a
31
31
  import { Observable, Subject } from 'rxjs';
32
32
  import { NodeEntry, RepositoryInfo } from '@alfresco/js-api';
33
33
  import { ViewerRules } from '../models/viewer.rules';
34
- import { Badge } from '../models/types';
34
+ import { Badge, UserProfileSection } from '../models/types';
35
35
  import { NodePermissionService } from '../services/node-permission.service';
36
36
  import { SearchCategory } from '@alfresco/adf-content-services';
37
37
  import * as i0 from "@angular/core";
@@ -65,6 +65,7 @@ export declare class AppExtensionService implements RuleContext {
65
65
  private _filesDocumentListPreset;
66
66
  private _customMetadataPanels;
67
67
  private _bulkActions;
68
+ private readonly _userProfileSections;
68
69
  documentListPresets: {
69
70
  libraries: Array<DocumentListPresetRef>;
70
71
  favoriteLibraries: Array<DocumentListPresetRef>;
@@ -102,6 +103,7 @@ export declare class AppExtensionService implements RuleContext {
102
103
  updateSidebarActions(): void;
103
104
  getCreateActions(): Observable<Array<ContentActionRef>>;
104
105
  getBadges(node: NodeEntry): Observable<Array<Badge>>;
106
+ getUserProfileSections(): Observable<Array<UserProfileSection>>;
105
107
  getCustomMetadataPanels(node: NodeEntry): Observable<Array<ContentActionRef>>;
106
108
  private buildMenu;
107
109
  private getAllowedActions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/aca-shared",
3
- "version": "7.2.0-18747209563",
3
+ "version": "7.2.0-18771766913",
4
4
  "license": "LGPL-3.0",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": ">=15.2",
@@ -263,3 +263,4 @@ export declare function isSmartFolder(context: RuleContext): boolean;
263
263
  export declare const areTagsEnabled: (context: AcaRuleContext) => boolean;
264
264
  export declare const areCategoriesEnabled: (context: AcaRuleContext) => boolean;
265
265
  export declare const canDisplayKnowledgeRetrievalButton: (context: AcaRuleContext) => boolean;
266
+ export declare const isSSOEnabled: (context: AcaRuleContext) => boolean;