@acorex/modules 20.7.20 → 20.7.21

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 (41) hide show
  1. package/asset-management/index.d.ts +24 -33
  2. package/dashboard-management/index.d.ts +40 -5
  3. package/document-management/index.d.ts +1 -26
  4. package/fesm2022/acorex-modules-asset-management-asset.entity-D_w4zjNb.mjs +612 -0
  5. package/fesm2022/acorex-modules-asset-management-asset.entity-D_w4zjNb.mjs.map +1 -0
  6. package/fesm2022/acorex-modules-asset-management-manual-asset-category.entity-DyIV_vbE.mjs +267 -0
  7. package/fesm2022/acorex-modules-asset-management-manual-asset-category.entity-DyIV_vbE.mjs.map +1 -0
  8. package/fesm2022/acorex-modules-asset-management.mjs +59 -117
  9. package/fesm2022/acorex-modules-asset-management.mjs.map +1 -1
  10. package/fesm2022/acorex-modules-dashboard-management.mjs +454 -116
  11. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  12. package/fesm2022/acorex-modules-data-management.mjs +4 -2
  13. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  14. package/fesm2022/acorex-modules-document-management.mjs +40 -99
  15. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  16. package/fesm2022/acorex-modules-maintenance-management.mjs +194 -103
  17. package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
  18. package/fesm2022/acorex-modules-notification-management.mjs +21 -6
  19. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  20. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-CkHGIQ38.mjs +2135 -0
  21. package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-CkHGIQ38.mjs.map +1 -0
  22. package/fesm2022/acorex-modules-reservation-management-reservation-class-status.entity-Clyj7r2x.mjs +263 -0
  23. package/fesm2022/acorex-modules-reservation-management-reservation-class-status.entity-Clyj7r2x.mjs.map +1 -0
  24. package/fesm2022/acorex-modules-reservation-management-reservation-resource-type.entity-BXb0FTQ5.mjs +184 -0
  25. package/fesm2022/acorex-modules-reservation-management-reservation-resource-type.entity-BXb0FTQ5.mjs.map +1 -0
  26. package/fesm2022/acorex-modules-reservation-management-reservation-status-transition.entity-BT8GQ9MC.mjs +247 -0
  27. package/fesm2022/acorex-modules-reservation-management-reservation-status-transition.entity-BT8GQ9MC.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-reservation-management.mjs +1 -3325
  29. package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
  30. package/fesm2022/{acorex-modules-task-management-task-board.page-BOOY3qla.mjs → acorex-modules-task-management-task-board.page-BBKB4yir.mjs} +114 -62
  31. package/fesm2022/acorex-modules-task-management-task-board.page-BBKB4yir.mjs.map +1 -0
  32. package/fesm2022/acorex-modules-task-management.mjs +43 -13
  33. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  34. package/maintenance-management/index.d.ts +7 -3
  35. package/package.json +2 -2
  36. package/reservation-management/index.d.ts +84 -338
  37. package/fesm2022/acorex-modules-asset-management-asset.entity-C57iN3Bo.mjs +0 -357
  38. package/fesm2022/acorex-modules-asset-management-asset.entity-C57iN3Bo.mjs.map +0 -1
  39. package/fesm2022/acorex-modules-asset-management-inspection.entity-CpDuN-qj.mjs +0 -198
  40. package/fesm2022/acorex-modules-asset-management-inspection.entity-CpDuN-qj.mjs.map +0 -1
  41. package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +0 -1
@@ -3,7 +3,6 @@ import { AXPEntityDefinitionLoader } from '@acorex/platform/layout/entity';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Injector } from '@angular/core';
5
5
  import { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';
6
- import { AXPMetaData } from '@acorex/platform/core';
7
6
 
8
7
  declare const RootConfig: {
9
8
  config: {
@@ -127,6 +126,7 @@ interface AXMMaintenanceManagementMaintenanceEntityModel {
127
126
  title: string;
128
127
  code: string;
129
128
  };
129
+ dateAdded: Date;
130
130
  maintenanceTypeId: string;
131
131
  maintenanceType?: {
132
132
  id: string;
@@ -145,15 +145,19 @@ interface AXMMaintenanceManagementMaintenanceEntityModel {
145
145
  displayName?: string;
146
146
  };
147
147
  description?: string;
148
- metaDataForm?: AXPMetaData;
149
148
  }
150
149
 
151
150
  declare function factory$1(injector: Injector): Promise<AXPEntity | null>;
152
151
 
153
152
  interface AXMMaintenanceManagementMaintenanceTypeEntityModel {
154
153
  id: string;
154
+ name: string;
155
155
  title: string;
156
- maintenanceTypeLabel?: string;
156
+ questionnaireId?: string;
157
+ questionnaire?: {
158
+ id: string;
159
+ title: string;
160
+ };
157
161
  }
158
162
 
159
163
  declare function factory(injector: Injector): Promise<AXPEntity | null>;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@acorex/modules",
3
- "version": "20.7.20",
3
+ "version": "20.7.21",
4
4
  "peerDependencies": {
5
- "@acorex/platform": "20.7.20",
5
+ "@acorex/platform": "20.7.21",
6
6
  "@angular/service-worker": "^20.0.0",
7
7
  "angular-oauth2-oidc": "^15.0.0",
8
8
  "d3": "^7.0.0",
@@ -1,10 +1,7 @@
1
1
  import { AXPEntity, AXPMenuProvider, AXPMenuProviderContext, AXPSearchCommandProvider, AXPSearchResult, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Injector } from '@angular/core';
4
- import { AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity, AXPEntityActionPlugin } from '@acorex/platform/layout/entity';
5
- import { AXDataSource } from '@acorex/cdk/common';
6
- import * as i1 from '@acorex/platform/layout/widget-core';
7
- import { AXPValueWidgetComponent, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
4
+ import { AXMEntityCrudServiceImpl, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity } from '@acorex/platform/layout/entity';
8
5
  import { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';
9
6
 
10
7
  declare const RootConfig: {
@@ -62,6 +59,34 @@ declare const RootConfig: {
62
59
  titlePlural: string;
63
60
  icon: string;
64
61
  };
62
+ reservationStatusTransition: {
63
+ name: string;
64
+ source: string;
65
+ title: string;
66
+ titlePlural: string;
67
+ icon: string;
68
+ };
69
+ reservationResourceType: {
70
+ name: string;
71
+ source: string;
72
+ title: string;
73
+ titlePlural: string;
74
+ icon: string;
75
+ };
76
+ reservationClassStatus: {
77
+ name: string;
78
+ source: string;
79
+ title: string;
80
+ titlePlural: string;
81
+ icon: string;
82
+ };
83
+ reservationClassType: {
84
+ name: string;
85
+ source: string;
86
+ title: string;
87
+ titlePlural: string;
88
+ icon: string;
89
+ };
65
90
  };
66
91
  };
67
92
 
@@ -75,10 +100,24 @@ declare class AXPReservationManagementReservationEntityModule {
75
100
 
76
101
  interface AXPReservationManagementReservationEntityModel {
77
102
  id: string;
103
+ reservationResourceTypeId: string;
104
+ reservationResourceType?: {
105
+ id: string;
106
+ title: string;
107
+ name: string;
108
+ };
78
109
  reservationTypeId: string;
79
- reservationClassId: string;
110
+ reservationType?: {
111
+ id: string;
112
+ title: string;
113
+ name: string;
114
+ };
80
115
  reservationStatusId: string;
81
- resourceEntityId: string;
116
+ reservationStatus?: {
117
+ id: string;
118
+ title: string;
119
+ name: string;
120
+ };
82
121
  resourceId: string;
83
122
  resource?: {
84
123
  id: string;
@@ -86,12 +125,18 @@ interface AXPReservationManagementReservationEntityModel {
86
125
  };
87
126
  startDate: Date;
88
127
  endDate: Date;
89
- note: string;
90
128
  requestedById: string;
129
+ requestedBy?: {
130
+ id: string;
131
+ displayName: string;
132
+ };
133
+ requestedDate: Date;
91
134
  approvedById: string;
135
+ approvedBy?: {
136
+ id: string;
137
+ displayName: string;
138
+ };
92
139
  approvedDate: Date;
93
- isBlocking?: boolean;
94
- reservationKind: string;
95
140
  }
96
141
 
97
142
  declare abstract class AXPReservationManagementReservationService extends AXMEntityCrudServiceImpl<string, AXPReservationManagementReservationEntityModel> {
@@ -104,60 +149,16 @@ declare class AXPReservationManagementReservationServiceImpl extends AXPReservat
104
149
 
105
150
  declare function reservationClassFactory(injector: Injector): Promise<AXPEntity | null>;
106
151
 
107
- interface AXPReservationManagementReservationClassStatusEntityModel {
108
- id: string;
109
- reservationClassId: string;
110
- reservationStatusId: string;
111
- reservationStatus?: {
112
- id: string;
113
- title: string;
114
- code: string;
115
- color: string;
116
- icon?: string;
117
- };
118
- isInitial: boolean;
119
- isFinal: boolean;
120
- order?: number;
121
- }
122
-
123
- interface AXPReservationManagementReservationStatusTransitionEntityModel {
124
- id: string;
125
- reservationClassId: string;
126
- fromStatusId: string;
127
- toStatusId: string;
128
- fromStatus?: {
129
- id: string;
130
- title: string;
131
- code: string;
132
- };
133
- toStatus?: {
134
- id: string;
135
- title: string;
136
- code: string;
137
- };
138
- title?: string;
139
- requiresPermission?: string;
140
- isActive: boolean;
141
- order?: number;
142
- }
143
-
144
152
  interface AXPReservationManagementReservationClassEntityModel {
145
153
  id: string;
146
- code: string;
154
+ name: string;
147
155
  title: string;
148
- reservationTypeId: string;
149
- reservationType?: {
156
+ reservationTypeIds: string[];
157
+ reservationTypes?: {
150
158
  id: string;
151
159
  title: string;
152
- code: string;
153
- };
154
- requiresApproval: boolean;
155
- allowAutoApprove?: boolean;
156
- conflictPolicy: 'strict' | 'soft';
157
- allowHold: boolean;
158
- isArchived?: boolean;
159
- allowedStatuses?: AXPReservationManagementReservationClassStatusEntityModel[];
160
- transitions?: AXPReservationManagementReservationStatusTransitionEntityModel[];
160
+ name: string;
161
+ }[];
161
162
  }
162
163
 
163
164
  declare abstract class AXPReservationManagementReservationClassService extends AXMEntityCrudServiceImpl<string, AXPReservationManagementReservationClassEntityModel> {
@@ -219,10 +220,10 @@ declare class AXPReservationManagementReservationStatusEntityModule {
219
220
 
220
221
  interface AXPReservationManagementReservationStatusEntityModel {
221
222
  id: string;
222
- code: string;
223
+ name: string;
223
224
  title: string;
224
225
  color: string;
225
- order?: number;
226
+ icon: string;
226
227
  }
227
228
 
228
229
  declare abstract class AXPReservationManagementReservationStatusService extends AXMEntityCrudServiceImpl<string, AXPReservationManagementReservationStatusEntityModel> {
@@ -243,11 +244,9 @@ declare class AXPReservationManagementReservationTypeEntityModule {
243
244
 
244
245
  interface AXPReservationManagementReservationTypeEntityModel {
245
246
  id: string;
246
- code: string;
247
+ name: string;
247
248
  title: string;
248
- resourceEntityIds?: string[];
249
- isActive: boolean;
250
- isArchived?: boolean;
249
+ isBlocking: boolean;
251
250
  }
252
251
 
253
252
  declare abstract class AXPReservationManagementReservationTypeService extends AXMEntityCrudServiceImpl<string, AXPReservationManagementReservationTypeEntityModel> {
@@ -270,219 +269,6 @@ declare class AXMReservationManagementEntityProvider implements AXPEntityDefinit
270
269
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMReservationManagementEntityProvider>;
271
270
  }
272
271
 
273
- interface NormalizedReservation {
274
- id: string;
275
- kind: 'reservation' | 'hold';
276
- statusId: string;
277
- status?: {
278
- id: string;
279
- title: string;
280
- color: string;
281
- icon?: string;
282
- };
283
- startDate: Date;
284
- endDate: Date;
285
- requestedBy?: {
286
- id: string;
287
- displayName?: string;
288
- name?: string;
289
- };
290
- approvedBy?: {
291
- id: string;
292
- displayName?: string;
293
- name?: string;
294
- };
295
- note: string;
296
- isBlocking?: boolean;
297
- }
298
- declare class AXPReservationPanelWidgetComponent extends AXPValueWidgetComponent<any> {
299
- private readonly reservationService;
300
- protected readonly resourceEntityId: i0.Signal<string>;
301
- protected readonly resourceId: i0.Signal<string>;
302
- protected readonly resourceRef: i0.Signal<{
303
- title?: string;
304
- code?: string;
305
- } | undefined>;
306
- protected readonly reservationTypeId: i0.Signal<string | undefined>;
307
- protected readonly reservationTypeCode: i0.Signal<string | undefined>;
308
- protected readonly defaultClassId: i0.Signal<string | undefined>;
309
- protected readonly displayMode: i0.Signal<"list" | "calendar" | "both">;
310
- protected readonly readonly: i0.Signal<boolean>;
311
- protected readonly dateRangeDays: i0.Signal<number>;
312
- protected readonly allowHold: i0.Signal<boolean | undefined>;
313
- readonly viewMode: i0.WritableSignal<"list" | "calendar" | "split">;
314
- readonly selectedClassId: i0.WritableSignal<string | null>;
315
- readonly dateFrom: i0.WritableSignal<Date>;
316
- readonly dateTo: i0.WritableSignal<Date>;
317
- readonly showReservations: i0.WritableSignal<boolean>;
318
- readonly showHolds: i0.WritableSignal<boolean>;
319
- readonly selectedStatusIds: i0.WritableSignal<string[]>;
320
- readonly reservations: i0.WritableSignal<NormalizedReservation[]>;
321
- readonly availableClasses: i0.WritableSignal<any[]>;
322
- readonly availableStatuses: i0.WritableSignal<any[]>;
323
- readonly transitions: i0.WritableSignal<any[]>;
324
- readonly policy: i0.WritableSignal<{
325
- conflictPolicy?: "strict" | "soft";
326
- allowHold?: boolean;
327
- requiresApproval?: boolean;
328
- }>;
329
- readonly filteredReservations: i0.Signal<NormalizedReservation[]>;
330
- readonly classDataSource: i0.Signal<{
331
- id: any;
332
- title: any;
333
- }[]>;
334
- readonly statusDataSource: i0.Signal<{
335
- id: any;
336
- title: any;
337
- color: any;
338
- }[]>;
339
- readonly tableDataSource: i0.Signal<AXDataSource<{
340
- startDate: string;
341
- endDate: string;
342
- statusTitle: string;
343
- requestedByName: string;
344
- approvedByName: string;
345
- id: string;
346
- kind: "reservation" | "hold";
347
- statusId: string;
348
- status?: {
349
- id: string;
350
- title: string;
351
- color: string;
352
- icon?: string;
353
- };
354
- requestedBy?: {
355
- id: string;
356
- displayName?: string;
357
- name?: string;
358
- };
359
- approvedBy?: {
360
- id: string;
361
- displayName?: string;
362
- name?: string;
363
- };
364
- note: string;
365
- isBlocking?: boolean;
366
- }>>;
367
- readonly timelineDays: i0.Signal<{
368
- date: Date;
369
- reservations: NormalizedReservation[];
370
- }[]>;
371
- constructor();
372
- loadData(): Promise<void>;
373
- setDateRange(range: 'today' | 'week' | 'month'): void;
374
- getAvailableTransitions(reservation: NormalizedReservation): any[];
375
- openCreateReservationModal(): void;
376
- openCreateHoldModal(): void;
377
- openReservationDetails(reservationId: string): void;
378
- openTransitionModal(reservationId: string, transitionId: string): void;
379
- getCommandItems(): {
380
- name: string;
381
- text: string;
382
- icon: string;
383
- }[];
384
- handleCommandClick(event: any): void;
385
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationPanelWidgetComponent, never>;
386
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPReservationPanelWidgetComponent, "axp-reservation-panel", never, {}, {}, never, never, true, never>;
387
- }
388
-
389
- declare const AXPReservationPanelWidget: AXPWidgetConfig;
390
-
391
- declare class AXPReservationPluginModule {
392
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationPluginModule, never>;
393
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPReservationPluginModule, never, [typeof i1.AXPWidgetCoreModule], never>;
394
- static ɵinj: i0.ɵɵInjectorDeclaration<AXPReservationPluginModule>;
395
- }
396
-
397
- interface AXPReservationPanelInputs {
398
- resourceEntityId: string;
399
- resourceId: string;
400
- resourceRef?: {
401
- title?: string;
402
- code?: string;
403
- };
404
- reservationTypeId?: string;
405
- reservationTypeCode?: string;
406
- defaultClassId?: string;
407
- mode?: 'calendar' | 'list' | 'both';
408
- readonly?: boolean;
409
- dateRangeDays?: number;
410
- allowHold?: boolean;
411
- }
412
- interface AXPReservationConflict {
413
- reservationId: string;
414
- startDate: Date;
415
- endDate: Date;
416
- kind: 'reservation' | 'hold';
417
- isBlocking: boolean;
418
- }
419
- interface AXPReservationTransition {
420
- id: string;
421
- fromStatusId: string;
422
- toStatusId: string;
423
- title: string;
424
- icon?: string;
425
- color?: string;
426
- requiresPermission?: string;
427
- isActive: boolean;
428
- }
429
- interface AXPReservationCreateData {
430
- reservationClassId: string;
431
- startDateTime: Date;
432
- endDateTime: Date;
433
- purpose?: string;
434
- note?: string;
435
- }
436
- interface AXPReservationHoldCreateData {
437
- startDateTime: Date;
438
- endDateTime: Date;
439
- isBlocking: boolean;
440
- holdTypeCode: string;
441
- holdReason?: string;
442
- }
443
- interface AXPReservationTransitionData {
444
- reservationId: string;
445
- transitionId: string;
446
- note?: string;
447
- }
448
-
449
- interface AXPReservationPluginOptions {
450
- /**
451
- * Reservation type ID or code
452
- */
453
- reservationTypeId?: string;
454
- reservationTypeCode?: string;
455
- /**
456
- * Default reservation class ID
457
- */
458
- defaultClassId?: string;
459
- /**
460
- * Display mode: 'calendar', 'list', or 'both'
461
- */
462
- mode?: 'calendar' | 'list' | 'both';
463
- /**
464
- * Whether the widget is readonly
465
- */
466
- readonly?: boolean;
467
- /**
468
- * Date range in days (default: 30)
469
- */
470
- dateRangeDays?: number;
471
- /**
472
- * Allow hold creation
473
- */
474
- allowHold?: boolean;
475
- /**
476
- * Optional group ID for the property
477
- */
478
- groupId?: string;
479
- /**
480
- * Optional title for the property
481
- */
482
- title?: string;
483
- }
484
- declare const reservationPlugin: AXPEntityActionPlugin;
485
-
486
272
  declare const AXMReservationManagementMenuKeys: {
487
273
  readonly ReservationTypes: "reservation-management:Menu:ReservationTypes";
488
274
  readonly ReservationStatuses: "reservation-management:Menu:ReservationStatuses";
@@ -524,6 +310,24 @@ declare class AXPReservationManagementReservationClassEntityModule {
524
310
  static ɵinj: i0.ɵɵInjectorDeclaration<AXPReservationManagementReservationClassEntityModule>;
525
311
  }
526
312
 
313
+ declare class AXPReservationManagementReservationClassStatusEntityModule {
314
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationManagementReservationClassStatusEntityModule, never>;
315
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPReservationManagementReservationClassStatusEntityModule, never, never, never>;
316
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPReservationManagementReservationClassStatusEntityModule>;
317
+ }
318
+
319
+ declare class AXPReservationManagementReservationStatusTransitionEntityModule {
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationManagementReservationStatusTransitionEntityModule, never>;
321
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPReservationManagementReservationStatusTransitionEntityModule, never, never, never>;
322
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPReservationManagementReservationStatusTransitionEntityModule>;
323
+ }
324
+
325
+ declare class AXPReservationManagementReservationResourceTypeEntityModule {
326
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationManagementReservationResourceTypeEntityModule, never>;
327
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPReservationManagementReservationResourceTypeEntityModule, never, never, never>;
328
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPReservationManagementReservationResourceTypeEntityModule>;
329
+ }
330
+
527
331
  declare class AXPReservationManagementReservationEventEntityModule {
528
332
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationManagementReservationEventEntityModule, never>;
529
333
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXPReservationManagementReservationEventEntityModule, never, never, never>;
@@ -532,7 +336,7 @@ declare class AXPReservationManagementReservationEventEntityModule {
532
336
 
533
337
  declare class AXMReservationManagementModule {
534
338
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMReservationManagementModule, never>;
535
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXMReservationManagementModule, never, [typeof AXPReservationManagementReservationTypeEntityModule, typeof AXPReservationManagementReservationStatusEntityModule, typeof AXPReservationManagementReservationClassEntityModule, typeof AXPReservationManagementReservationEventEntityModule, typeof AXPReservationManagementReservationEntityModule, typeof AXPReservationPluginModule], never>;
339
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMReservationManagementModule, never, [typeof AXPReservationManagementReservationTypeEntityModule, typeof AXPReservationManagementReservationStatusEntityModule, typeof AXPReservationManagementReservationClassEntityModule, typeof AXPReservationManagementReservationClassStatusEntityModule, typeof AXPReservationManagementReservationStatusTransitionEntityModule, typeof AXPReservationManagementReservationResourceTypeEntityModule, typeof AXPReservationManagementReservationEventEntityModule, typeof AXPReservationManagementReservationEntityModule], never>;
536
340
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMReservationManagementModule>;
537
341
  }
538
342
 
@@ -544,67 +348,9 @@ declare class AXMReservationManagementSearchCommandProvider extends AXPSearchCom
544
348
  commands: AXPSearchResult[];
545
349
  }
546
350
 
547
- declare class AXPReservationService {
548
- private readonly reservationService;
549
- private readonly reservationClassService;
550
- private readonly reservationTypeService;
551
- private readonly reservationStatusService;
552
- /**
553
- * Get available reservation classes for a resource type
554
- */
555
- getAvailableClasses(reservationTypeId: string): Promise<any[]>;
556
- /**
557
- * Get reservations for a resource
558
- */
559
- getReservations(resourceEntityId: string, resourceId: string, startDate?: Date, endDate?: Date): Promise<any[]>;
560
- /**
561
- * Check for conflicts
562
- */
563
- checkConflict(resourceEntityId: string, resourceId: string, startDate: Date, endDate: Date, excludeReservationId?: string): Promise<AXPReservationConflict[]>;
564
- /**
565
- * Create a reservation
566
- */
567
- createReservation(data: AXPReservationCreateData, resourceEntityId: string, resourceId: string): Promise<string>;
568
- /**
569
- * Create a hold
570
- */
571
- createHold(data: AXPReservationHoldCreateData, resourceEntityId: string, resourceId: string): Promise<string>;
572
- /**
573
- * Get available transitions for a reservation
574
- */
575
- getAvailableTransitions(reservationId: string): Promise<any[]>;
576
- /**
577
- * Execute a transition
578
- */
579
- executeTransition(data: AXPReservationTransitionData): Promise<void>;
580
- /**
581
- * Resolve reservation type from code
582
- */
583
- resolveReservationType(code: string): Promise<string | null>;
584
- /**
585
- * Get widget context (statuses, transitions, policy)
586
- */
587
- getWidgetContext(params: {
588
- resourceEntityId: string;
589
- resourceId: string;
590
- reservationTypeId: string;
591
- classId?: string;
592
- }): Promise<{
593
- statuses: any[];
594
- transitions: any[];
595
- policy: {
596
- conflictPolicy?: 'strict' | 'soft';
597
- allowHold?: boolean;
598
- requiresApproval?: boolean;
599
- };
600
- }>;
601
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPReservationService, never>;
602
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPReservationService>;
603
- }
604
-
605
351
  declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
606
352
  provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
607
353
  }
608
354
 
609
- export { AXMPermissionsKeys, AXMReservationManagementEntityProvider, AXMReservationManagementMenuKeys, AXMReservationManagementMenuProvider, AXMReservationManagementModule, AXMReservationManagementPermissionDefinitionProvider, AXMReservationManagementSearchCommandProvider, AXMSearchCommandProvider, AXMSettingProvider, AXPReservationManagementReservationClassService, AXPReservationManagementReservationClassServiceImpl, AXPReservationManagementReservationEntityModule, AXPReservationManagementReservationEventService, AXPReservationManagementReservationEventServiceImpl, AXPReservationManagementReservationService, AXPReservationManagementReservationServiceImpl, AXPReservationManagementReservationStatusEntityModule, AXPReservationManagementReservationStatusService, AXPReservationManagementReservationStatusServiceImpl, AXPReservationManagementReservationTypeEntityModule, AXPReservationManagementReservationTypeService, AXPReservationManagementReservationTypeServiceImpl, AXPReservationPanelWidget, AXPReservationPanelWidgetComponent, AXPReservationPluginModule, AXPReservationService, RootConfig, reservationClassFactory, reservationEventFactory, reservationFactory, reservationPlugin, reservationStatusFactory, reservationTypeFactory };
610
- export type { AXPReservationConflict, AXPReservationCreateData, AXPReservationHoldCreateData, AXPReservationManagementReservationClassEntityModel, AXPReservationManagementReservationEntityModel, AXPReservationManagementReservationEventEntityModel, AXPReservationManagementReservationStatusEntityModel, AXPReservationManagementReservationTypeEntityModel, AXPReservationPanelInputs, AXPReservationPluginOptions, AXPReservationTransition, AXPReservationTransitionData };
355
+ export { AXMPermissionsKeys, AXMReservationManagementEntityProvider, AXMReservationManagementMenuKeys, AXMReservationManagementMenuProvider, AXMReservationManagementModule, AXMReservationManagementPermissionDefinitionProvider, AXMReservationManagementSearchCommandProvider, AXMSearchCommandProvider, AXMSettingProvider, AXPReservationManagementReservationClassService, AXPReservationManagementReservationClassServiceImpl, AXPReservationManagementReservationEntityModule, AXPReservationManagementReservationEventService, AXPReservationManagementReservationEventServiceImpl, AXPReservationManagementReservationService, AXPReservationManagementReservationServiceImpl, AXPReservationManagementReservationStatusEntityModule, AXPReservationManagementReservationStatusService, AXPReservationManagementReservationStatusServiceImpl, AXPReservationManagementReservationTypeEntityModule, AXPReservationManagementReservationTypeService, AXPReservationManagementReservationTypeServiceImpl, RootConfig, reservationClassFactory, reservationEventFactory, reservationFactory, reservationStatusFactory, reservationTypeFactory };
356
+ export type { AXPReservationManagementReservationClassEntityModel, AXPReservationManagementReservationEntityModel, AXPReservationManagementReservationEventEntityModel, AXPReservationManagementReservationStatusEntityModel, AXPReservationManagementReservationTypeEntityModel };