@kmme/kmme-ui-angular 0.0.8 → 0.0.10

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.
package/index.d.ts CHANGED
@@ -13,7 +13,29 @@ declare class KmmeUiAngular {
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<KmmeUiAngular, "lib-kmme-ui-angular", never, {}, {}, never, never, true, never>;
14
14
  }
15
15
 
16
+ interface LinkedObjectOption {
17
+ id: string;
18
+ label: string;
19
+ }
20
+ interface LinkedObjectParticipant {
21
+ participantRefType: string;
22
+ participantRefId: string;
23
+ name: string;
24
+ email?: string | null;
25
+ participationRole: string;
26
+ }
27
+ interface MeetingCreationResult {
28
+ meetingId: string;
29
+ linkedObjectType: string;
30
+ linkedObjectId: string;
31
+ scheduledAt: string;
32
+ status: 'DRAFT' | 'PLANNED';
33
+ stage: 'CREATED' | 'DRAFT_SAVED' | 'PLANNED';
34
+ }
16
35
  interface IKmmeWorkspaceContext {
36
+ onMeetingCreationResult?(result: MeetingCreationResult): void;
37
+ getLinkedObjectParticipants?(type: string, id: string): Observable<LinkedObjectParticipant[]>;
38
+ getLinkedObjects?(type: string): Observable<LinkedObjectOption[]>;
17
39
  getMeetingList(): Observable<MeetingListViewModel[]>;
18
40
  getMeetingDetail(meetingId: string): Observable<MeetingDetailViewModel>;
19
41
  getMeetingWorkspace(meetingId: string): Observable<MeetingWorkspaceViewModel>;
@@ -59,6 +81,7 @@ interface IKmmeWorkspaceContext {
59
81
  deleteMeetingMaterial(meetingId: string, materialId: string, req: any): Observable<any>;
60
82
  getMeetingMaterials(meetingId: string): Observable<MeetingMaterialViewModel[]>;
61
83
  getExternalDocuments?(meetingId: string): Observable<ExternalDocumentOptionViewModel[]>;
84
+ getAvailableDocumentsForMeetingCreation?(): Observable<ExternalDocumentOptionViewModel[]>;
62
85
  getMeetingParticipants(meetingId: string): Observable<MeetingParticipantViewModel[]>;
63
86
  getParticipantDirectory(): Observable<ParticipantDirectoryViewModel[]>;
64
87
  getMeetingPacks(meetingId: string): Observable<MeetingPackViewModel[]>;
@@ -92,7 +115,7 @@ interface IKmmeWorkspaceContext {
92
115
  }
93
116
  declare const KMME_WORKSPACE_CONTEXT: InjectionToken<IKmmeWorkspaceContext>;
94
117
 
95
- type CreationMode = 'meeting' | 'series';
118
+ type CreationMode = 'meeting' | 'series' | 'committee';
96
119
  declare class MeetingListTable {
97
120
  private readonly router;
98
121
  private _items;
@@ -429,4 +452,4 @@ declare class MeetingTypeForm {
429
452
  }
430
453
 
431
454
  export { ActionItemsTable, AgendaProposalsTable, AgendaTable, AttendanceTable, KMME_WORKSPACE_CONTEXT, KmmeUiAngular, MaterialsTable, MeetingListTable, MeetingTypeForm, MeetingTypesTable, TemplatesTable };
432
- export type { IKmmeWorkspaceContext, MeetingTypeFormValue };
455
+ export type { IKmmeWorkspaceContext, LinkedObjectOption, LinkedObjectParticipant, MeetingCreationResult, MeetingTypeFormValue };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@kmme/kmme-ui-angular",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^20.3.0",
6
- "@kmme/kmme-viewmodels": "0.0.1"
6
+ "@kmme/kmme-viewmodels": "0.0.2"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.3.0"
@@ -20,4 +20,4 @@
20
20
  "default": "./fesm2022/kmme-kmme-ui-angular.mjs"
21
21
  }
22
22
  }
23
- }
23
+ }