ngx-edu-sharing-ui 10.0.1 → 10.0.3

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.
@@ -16,7 +16,7 @@ export declare class ListTextComponent extends ListWidget implements OnInit {
16
16
  displayName$: BehaviorSubject<string>;
17
17
  constructor(nodeHelper: NodeHelperService, mds: MdsService, changeDetectorRef: ChangeDetectorRef);
18
18
  ngOnInit(): Promise<void>;
19
- getNode(): Constants.Node | Constants.Person | Constants.Group | Constants.Statistics;
19
+ getNode(): Constants.Node | Constants.Group | Constants.Person | Constants.Statistics;
20
20
  isUserProfileAttribute(attribute: string): boolean;
21
21
  getWorkflowStatus(): import("ngx-edu-sharing-ui").WorkflowDefinition;
22
22
  getI18n(item: ListItem): string;
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
7
7
  export declare class ListWidget {
8
8
  get node(): Node | ProposalNode | Group | Person | Statistics;
9
9
  set node(value: Node | ProposalNode | Group | Person | Statistics);
10
- protected readonly nodeSubject: BehaviorSubject<Node | ProposalNode | Person | Group | Statistics>;
10
+ protected readonly nodeSubject: BehaviorSubject<Node | Group | Person | ProposalNode | Statistics>;
11
11
  get item(): ListItem;
12
12
  set item(value: ListItem);
13
13
  protected readonly itemSubject: BehaviorSubject<ListItem>;
@@ -33,7 +33,7 @@ export declare class NodeEntriesCardComponent<T extends Node> implements OnChang
33
33
  isCollection: boolean;
34
34
  constructor(entriesService: NodeEntriesService<T>, nodeHelper: NodeHelperService, applicationRef: ApplicationRef, configService: ConfigService, authenticationService: AuthenticationService, templatesService: NodeEntriesTemplatesService, nodeEntriesGlobalService: NodeEntriesGlobalService, toast: Toast);
35
35
  ngOnChanges(changes: SimpleChanges): void;
36
- getTextColor(): "#000" | "#fff";
36
+ getTextColor(): "#fff" | "#000";
37
37
  optionsOnCard(): import("../../types/option-item").OptionItem[];
38
38
  openContextmenu(event: MouseEvent | Event, node: T): void;
39
39
  getVisibleColumns(): import("ngx-edu-sharing-ui").ListItem[];
@@ -19,6 +19,7 @@ export declare class NodeEntriesComponent<T extends NodeEntriesDataType> impleme
19
19
  readonly NodeEntriesDisplayType: typeof NodeEntriesDisplayType;
20
20
  paginator: MatPaginator;
21
21
  private readonly destroyed;
22
+ private readonly updateKeyboardShortcuts;
22
23
  constructor(changeDetectorRef: ChangeDetectorRef, entriesGlobalService: NodeEntriesGlobalService, entriesService: NodeEntriesService<T>, templatesService: NodeEntriesTemplatesService, globalKeyboardShortcuts: KeyboardShortcutsService, route: ActivatedRoute, translate: TranslateService);
23
24
  ngOnInit(): void;
24
25
  ngAfterViewInit(): void;
@@ -8,6 +8,7 @@ import { OptionsHelperService } from './abstract/options-helper.service';
8
8
  import { KeyboardShortcutsService } from './abstract/keyboard-shortcuts.service';
9
9
  import { ActivatedRoute } from '@angular/router';
10
10
  import { LocalEventsService } from './local-events.service';
11
+ import { Toast } from './abstract/toast.service';
11
12
  import * as i0 from "@angular/core";
12
13
  type DeleteEvent = {
13
14
  objects: Node[] | any;
@@ -36,6 +37,7 @@ export declare class OptionsHelperDataService implements OnDestroy {
36
37
  private route;
37
38
  private localEvents;
38
39
  private authenticationService;
40
+ private toast;
39
41
  private userService;
40
42
  private networkService;
41
43
  private keyboardShortcutsService;
@@ -49,7 +51,7 @@ export declare class OptionsHelperDataService implements OnDestroy {
49
51
  readonly nodesChanged: EventEmitter<void | Node[]>;
50
52
  readonly nodesDeleted: EventEmitter<DeleteEvent>;
51
53
  readonly displayTypeChanged: EventEmitter<NodeEntriesDisplayType>;
52
- constructor(ngZone: NgZone, route: ActivatedRoute, localEvents: LocalEventsService, authenticationService: AuthenticationService, userService: UserService, networkService: NetworkService, keyboardShortcutsService: KeyboardShortcutsService, optionsHelperService: OptionsHelperService);
54
+ constructor(ngZone: NgZone, route: ActivatedRoute, localEvents: LocalEventsService, authenticationService: AuthenticationService, toast: Toast, userService: UserService, networkService: NetworkService, keyboardShortcutsService: KeyboardShortcutsService, optionsHelperService: OptionsHelperService);
53
55
  /** Performs subscriptions that don't have to be refreshed. */
54
56
  private registerStaticSubscriptions;
55
57
  ngOnDestroy(): void;
@@ -69,7 +71,7 @@ export declare class OptionsHelperDataService implements OnDestroy {
69
71
  */
70
72
  clearComponents(actionbar: ActionbarComponent, list?: ListEventInterface<Node>): void;
71
73
  pasteNode(nodes?: Node[]): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionsHelperDataService, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionsHelperDataService, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
73
75
  static ɵprov: i0.ɵɵInjectableDeclaration<OptionsHelperDataService>;
74
76
  }
75
77
  export {};
@@ -185,6 +185,7 @@ export declare enum Scope {
185
185
  Sharing = "Sharing",
186
186
  Oer = "Oer",
187
187
  UserManagement = "UserManagement",
188
+ UserProfile = "UserProfile",
188
189
  Stream = "Stream",
189
190
  CreateMenu = "CreateMenu",
190
191
  MediacenterNodesList = "MediacenterNodesList",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-edu-sharing-ui",
3
- "version": "10.0.1",
3
+ "version": "10.0.3",
4
4
  "license": "GNU GPL v2",
5
5
  "description": "Angular components for Edu-Sharing UX parts",
6
6
  "peerDependencies": {
@@ -9,7 +9,7 @@
9
9
  "@angular/core": ">=14.0.0 ",
10
10
  "@angular/material": ">=14.0.0",
11
11
  "material-design-icons": "^3.0.1",
12
- "@ngx-translate/core": ">=15.0.0",
12
+ "@ngx-translate/core": ">=14.0.0",
13
13
  "angular-material-css-vars": "^6.0.0 || ^7.0.0",
14
14
  "rxjs": "^6.6.7 || ^7.0.0"
15
15
  },