@acorex-platform/module-reservation-management-client 0.0.32 → 0.0.37

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 (52) hide show
  1. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs +322 -0
  2. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs +296 -0
  4. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs +341 -0
  6. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs +245 -0
  8. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs +305 -0
  10. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs +250 -0
  12. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs +242 -0
  14. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs +491 -0
  16. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-ClAI9Vjo.mjs +125 -0
  18. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-acorex-platform-module-reservation-management-client-contracts-entity-catalog-ClAI9Vjo.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-DxL8xo19.mjs +223 -0
  20. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class-status.entity-DxL8xo19.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-CcH8dDaj.mjs +197 -0
  22. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-class.entity-CcH8dDaj.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-CuSeIX8T.mjs +242 -0
  24. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-event.entity-CuSeIX8T.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-Ck2vLXdx.mjs +146 -0
  26. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-resource-type.entity-Ck2vLXdx.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-BtLUko4J.mjs +206 -0
  28. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status-transition.entity-BtLUko4J.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-CJ26bHTc.mjs +151 -0
  30. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-status.entity-CJ26bHTc.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-CKv5nyxw.mjs +143 -0
  32. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation-type.entity-CKv5nyxw.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BQ019c2A.mjs +392 -0
  34. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog-reservation.entity-BQ019c2A.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs +2 -0
  36. package/fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-reservation-management-client-contracts.mjs.map +1 -1
  38. package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs +36 -0
  39. package/fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs.map +1 -0
  40. package/fesm2022/acorex-platform-module-reservation-management-client.mjs.map +1 -1
  41. package/package.json +41 -1
  42. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.d.ts +5 -0
  43. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.d.ts +5 -0
  44. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.d.ts +5 -0
  45. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.d.ts +5 -0
  46. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.d.ts +5 -0
  47. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.d.ts +5 -0
  48. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.d.ts +5 -0
  49. package/types/acorex-platform-module-reservation-management-client-contracts-entities-reservation.d.ts +5 -0
  50. package/types/acorex-platform-module-reservation-management-client-contracts-entity-catalog.d.ts +10 -0
  51. package/types/acorex-platform-module-reservation-management-client-contracts.d.ts +6 -0
  52. package/types/acorex-platform-module-reservation-management-client-local-entities.d.ts +12 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-reservation-management-client.mjs","sources":["../../../../libs/modules/reservation-management/client/src/lib/menu.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/manifest.ts","../../../../libs/modules/reservation-management/client/src/lib/reservation-management.module.ts","../../../../libs/modules/reservation-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/setting.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/reservation-board.page.ts","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/reservation-board.page.html","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/index.ts","../../../../libs/modules/reservation-management/client/src/acorex-platform-module-reservation-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-reservation-management-client/contracts';\nimport { AXMReservationManagementMenuKeys } from '@acorex-platform/module-reservation-management-client/contracts';\n\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMReservationManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n // Reservation group under Configuration/Scheduling and Events (with divider before)\n context.find(AXPCommonMenuKeys.SchedulingAndEvents).addItems([\n { name: `${AXMReservationManagementMenuKeys.ReservationTypes}:divider`, text: '', type: 'break', priority: 5 },\n {\n name: AXMReservationManagementMenuKeys.ReservationTypes,\n text: '@reservation-management:reservation-types.menus.reservation-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationType.name),\n icon: 'fa-light fa-list',\n priority: 10,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMReservationManagementMenuKeys.ReservationStatuses,\n text: '@reservation-management:reservation-statuses.menus.reservation-statuses.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationStatus.name),\n icon: 'fa-light fa-flag',\n priority: 11,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMReservationManagementMenuKeys.ReservationClasses,\n text: '@reservation-management:reservation-classes.menus.reservation-classes.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationClass.name),\n icon: 'fa-light fa-tag',\n priority: 12,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n ]);\n\n // Root under MODULES: Reservations (operational)\n // context.addItems([\n // {\n // name: AXMReservationManagementMenuKeys.Reservations,\n // priority: 9051,\n // text: '@general:menus.reservations.title',\n // icon: RootConfig.entities.reservation.icon,\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservation.name),\n // policy: {\n // features: [module.name],\n // permissions: [keys.Reservation.Management],\n // },\n // children: [\n // {\n // name: AXMReservationManagementMenuKeys.ReservationTypes,\n // text: '@reservation-management:reservation-types.menus.reservation-types.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationType.name),\n // icon: 'fa-light fa-list',\n // priority: 1,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationClasses,\n // text: '@reservation-management:reservation-classes.menus.reservation-classes.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationClass.name),\n // icon: 'fa-light fa-tag',\n // priority: 2,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationTypes,\n // text: '@reservation-management:reservation-resource-types.menus.reservation-resource-types.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationResourceType.name),\n // icon: 'fa-light fa-cubes',\n // priority: 3,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationStatuses,\n // text: '@reservation-management:reservation-statuses.menus.reservation-statuses.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationStatus.name),\n // icon: 'fa-light fa-flag',\n // priority: 4,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.Reservations,\n // text: '@reservation-management:reservations.menus.reservations.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservation.name),\n // icon: 'fa-light fa-calendar-check',\n // priority: 5,\n // },\n // // {\n // // name: AXMReservationManagementMenuKeys.ReservationBoard,\n // // text: RootConfig.pages.reservationBoard.title,\n // // path: `${this.sessionService.application?.name}/${RootConfig.pages.reservationBoard.path}`,\n // // icon: RootConfig.pages.reservationBoard.icon,\n // // priority: 6,\n // // policy: {\n // // features: [module.name],\n // // permissions: [keys.Reservation.Management],\n // // },\n // // },\n // ],\n // },\n // ]);\n }\n}\n\n//#endregion\n","//#region ----- Imports -----\r\n\r\nimport {\r\n AXPPermissionDefinitionProvider,\r\n AXPPermissionDefinitionProviderContext,\r\n} from '@acorex-platform/framework-client/auth';\r\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-reservation-management-client/contracts';\n\r\nimport { Injectable } from '@angular/core';\r\n\r\n//#endregion\r\n\r\n//#region ----- Permission Definition Provider -----\r\n\r\n/**\r\n * Registers reservation capabilities into the shared Collaboration group.\r\n */\r\n@Injectable()\r\nexport class AXMReservationManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\r\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\r\n const keys = AXPCollaborationPermissionKeys;\r\n const groups = AXPCommonPermissionGroupKeys;\r\n const P = '@common:collaboration.permissions';\r\n const G = '@common:permission-groups';\r\n\r\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.Scheduling,\n `${G}.collaboration-scheduling.title`,\n `${G}.collaboration-scheduling.description`,\n { parent: groups.Collaboration.Root, order: 20 },\n )\n .addPermission(\r\n keys.MaintainReservations,\r\n `${P}.maintain-reservations.title`,\r\n `${P}.maintain-reservations.description`,\r\n )\r\n .endPermission()\r\r\n .endGroup();\r\n }\r\n}\r\n\r\n//#endregion\r\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Reservation Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const ReservationManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'domain',\n domain: 'operations',\n required: false,\n // Module dependencies (optional)\n};\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXP_MENU_PROVIDER, AXP_PROTECTED_ROUTE_GUARDS, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { AXP_ENTITY_CONFIG_TOKEN } from '@acorex-platform/framework-client/layout/entity';\nimport { inject, NgModule } from '@angular/core';\nimport { ActivatedRouteSnapshot, Route, ROUTES } from '@angular/router';\nimport { ReservationManagementManifest } from './manifest';\n//#endregion\n\n//#region ---- Reservation Board Route ----\n\nfunction createReservationBoardRoute(): Route {\n const config = inject(AXP_ENTITY_CONFIG_TOKEN);\n return {\n path: ':app/reservation-board',\n canActivate: [...AXP_PROTECTED_ROUTE_GUARDS],\n data: { rootLayout: true },\n loadComponent: () => config.viewers.root(),\n children: [\n {\n path: '',\n loadComponent: () =>\n import('./features/reservation-board/reservation-board.page').then((c) => c.AXMReservationBoardPage),\n },\n {\n path: ':providerName',\n loadComponent: () =>\n import('./features/reservation-board/reservation-board.page').then((c) => c.AXMReservationBoardPage),\n resolve: {\n providerName: (route: ActivatedRouteSnapshot) =>\n route.paramMap.get('providerName') ?? undefined,\n },\n },\n ],\n };\n}\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [\n ],\n providers: [\n // Reservation Board route and home page\n {\n provide: ROUTES,\n multi: true,\n useFactory: () => [createReservationBoardRoute()],\n },\n\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: ReservationManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () =>\n import('./permission-definition.provider').then((m) => m.AXMReservationManagementPermissionDefinitionProvider),\n ),\n provideLazyProvider(AXP_MENU_PROVIDER, () =>\n import('./menu.provider').then((m) => m.AXMReservationManagementMenuProvider),\n ),\n provideLazyProvider(AXP_SEARCH_PROVIDER, () =>\n import('./search-command.provider').then((m) => m.AXMReservationManagementSearchCommandProvider),\n ),\n ],\n})\nexport class AXMReservationManagementModule {}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';\n\nexport class AXMReservationManagementSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-reservation',\n group: 'command',\n title: RootConfig.entities.reservation.title,\n icon: RootConfig.entities.reservation.icon,\n description: RootConfig.entities.reservation.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservation.name}`,\n { name: RootConfig.entities.reservation.name, module: RootConfig.module.name, title: RootConfig.entities.reservation.title }\n ),\n },\n },\n {\n id: 'create-reservation-type',\n group: 'command',\n title: RootConfig.entities.reservationType.title,\n icon: RootConfig.entities.reservationType.icon,\n description: RootConfig.entities.reservationType.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationType.name}`,\n { name: RootConfig.entities.reservationType.name, module: RootConfig.module.name, title: RootConfig.entities.reservationType.title }\n ),\n },\n },\n {\n id: 'create-reservation-status',\n group: 'command',\n title: RootConfig.entities.reservationStatus.title,\n icon: RootConfig.entities.reservationStatus.icon,\n description: RootConfig.entities.reservationStatus.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationStatus.name}`,\n { name: RootConfig.entities.reservationStatus.name, module: RootConfig.module.name, title: RootConfig.entities.reservationStatus.title }\n ),\n },\n },\n {\n id: 'create-reservation-class',\n group: 'command',\n title: RootConfig.entities.reservationClass.title,\n icon: RootConfig.entities.reservationClass.icon,\n description: RootConfig.entities.reservationClass.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationClass.name}`,\n { name: RootConfig.entities.reservationClass.name, module: RootConfig.module.name, title: RootConfig.entities.reservationClass.title }\n ),\n },\n },\n ];\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","//#region ---- Imports ----\n\nimport { AXPResourceAppointmentComponent } from '@acorex-platform/framework-client/layout/components';\n\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n//#endregion\n\n@Component({\n selector: 'axm-reservation-board-page',\n templateUrl: './reservation-board.page.html',\n imports: [AXPResourceAppointmentComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXMReservationBoardPage {}\n","<axp-resource-appointment [showResourceHeaders]=\"true\" [showUnassignedAppointments]=\"true\" />\n","/** Re-export platform resource-appointment types and token for modules that provide AXP_RESOURCE_APPOINTMENT_PROVIDER. */\nexport {\n AXPResourceAppointmentComponent,\n AXPResourceAppointmentService,\n type AXPResourceAppointmentActionMenuItem,\n type AXPResourceAppointmentBoardFilter,\n type AXPResourceAppointmentBoardProvider,\n type AXPResourceAppointmentResource,\n type AXPResourceAppointmentItem,\n} from '@acorex-platform/framework-client/layout/components';\n\nexport { AXMReservationBoardPage } from './reservation-board.page';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAgBA;AAEA;MAEa,oCAAoC,CAAA;AAAjD,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IA2G7D;IAzGE,MAAM,OAAO,CAAC,OAA+B,EAAA;AAC3C,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;QAChC,MAAM,IAAI,GAAG,8BAA8B;;QAG3C,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;AAC3D,YAAA,EAAE,IAAI,EAAE,CAAA,EAAG,gCAAgC,CAAC,gBAAgB,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;AAC9G,YAAA;gBACE,IAAI,EAAE,gCAAgC,CAAC,gBAAgB;AACvD,gBAAA,IAAI,EAAE,yE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AAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfpC,qGACA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDUY,+BAA+B,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,qBAAA,EAAA,4BAAA,EAAA,cAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAI9B,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;+BACE,4BAA4B,EAAA,OAAA,EAE7B,CAAC,+BAA+B,CAAC,EAAA,eAAA,EACzB,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,qGAAA,EAAA;;;;;;;;AEbvC;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-platform-module-reservation-management-client.mjs","sources":["../../../../libs/modules/reservation-management/client/src/lib/menu.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/manifest.ts","../../../../libs/modules/reservation-management/client/src/lib/reservation-management.module.ts","../../../../libs/modules/reservation-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/setting.provider.ts","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/reservation-board.page.ts","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/reservation-board.page.html","../../../../libs/modules/reservation-management/client/src/lib/features/reservation-board/index.ts","../../../../libs/modules/reservation-management/client/src/acorex-platform-module-reservation-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-reservation-management-client/contracts';\nimport { AXMReservationManagementMenuKeys } from '@acorex-platform/module-reservation-management-client/contracts';\n\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMReservationManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n // Reservation group under Configuration/Scheduling and Events (with divider before)\n context.find(AXPCommonMenuKeys.SchedulingAndEvents).addItems([\n { name: `${AXMReservationManagementMenuKeys.ReservationTypes}:divider`, text: '', type: 'break', priority: 5 },\n {\n name: AXMReservationManagementMenuKeys.ReservationTypes,\n text: '@reservation-management:reservation-types.menus.reservation-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationType.name),\n icon: 'fa-light fa-list',\n priority: 10,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMReservationManagementMenuKeys.ReservationStatuses,\n text: '@reservation-management:reservation-statuses.menus.reservation-statuses.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationStatus.name),\n icon: 'fa-light fa-flag',\n priority: 11,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMReservationManagementMenuKeys.ReservationClasses,\n text: '@reservation-management:reservation-classes.menus.reservation-classes.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reservationClass.name),\n icon: 'fa-light fa-tag',\n priority: 12,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n ]);\n\n // Root under MODULES: Reservations (operational)\n // context.addItems([\n // {\n // name: AXMReservationManagementMenuKeys.Reservations,\n // priority: 9051,\n // text: '@general:menus.reservations.title',\n // icon: RootConfig.entities.reservation.icon,\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservation.name),\n // policy: {\n // features: [module.name],\n // permissions: [keys.Reservation.Management],\n // },\n // children: [\n // {\n // name: AXMReservationManagementMenuKeys.ReservationTypes,\n // text: '@reservation-management:reservation-types.menus.reservation-types.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationType.name),\n // icon: 'fa-light fa-list',\n // priority: 1,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationClasses,\n // text: '@reservation-management:reservation-classes.menus.reservation-classes.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationClass.name),\n // icon: 'fa-light fa-tag',\n // priority: 2,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationTypes,\n // text: '@reservation-management:reservation-resource-types.menus.reservation-resource-types.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationResourceType.name),\n // icon: 'fa-light fa-cubes',\n // priority: 3,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.ReservationStatuses,\n // text: '@reservation-management:reservation-statuses.menus.reservation-statuses.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservationStatus.name),\n // icon: 'fa-light fa-flag',\n // priority: 4,\n // },\n // {\n // name: AXMReservationManagementMenuKeys.Reservations,\n // text: '@reservation-management:reservations.menus.reservations.title',\n // path: this.entityService.createPath(module.name, RootConfig.entities.reservation.name),\n // icon: 'fa-light fa-calendar-check',\n // priority: 5,\n // },\n // // {\n // // name: AXMReservationManagementMenuKeys.ReservationBoard,\n // // text: RootConfig.pages.reservationBoard.title,\n // // path: `${this.sessionService.application?.name}/${RootConfig.pages.reservationBoard.path}`,\n // // icon: RootConfig.pages.reservationBoard.icon,\n // // priority: 6,\n // // policy: {\n // // features: [module.name],\n // // permissions: [keys.Reservation.Management],\n // // },\n // // },\n // ],\n // },\n // ]);\n }\n}\n\n//#endregion\n","//#region ----- Imports -----\r\n\r\nimport {\r\n AXPPermissionDefinitionProvider,\r\n AXPPermissionDefinitionProviderContext,\r\n} from '@acorex-platform/framework-client/auth';\r\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-reservation-management-client/contracts';\n\r\nimport { Injectable } from '@angular/core';\r\n\r\n//#endregion\r\n\r\n//#region ----- Permission Definition Provider -----\r\n\r\n/**\r\n * Registers reservation capabilities into the shared Collaboration group.\r\n */\r\n@Injectable()\r\nexport class AXMReservationManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\r\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\r\n const keys = AXPCollaborationPermissionKeys;\r\n const groups = AXPCommonPermissionGroupKeys;\r\n const P = '@common:collaboration.permissions';\r\n const G = '@common:permission-groups';\r\n\r\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.Scheduling,\n `${G}.collaboration-scheduling.title`,\n `${G}.collaboration-scheduling.description`,\n { parent: groups.Collaboration.Root, order: 20 },\n )\n .addPermission(\r\n keys.MaintainReservations,\r\n `${P}.maintain-reservations.title`,\r\n `${P}.maintain-reservations.description`,\r\n )\r\n .endPermission()\r\r\n .endGroup();\r\n }\r\n}\r\n\r\n//#endregion\r\n","//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Reservation Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const ReservationManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'domain',\n domain: 'operations',\n required: false,\n // Module dependencies (optional)\n};\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXP_MENU_PROVIDER, AXP_PROTECTED_ROUTE_GUARDS, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { AXP_ENTITY_CONFIG_TOKEN } from '@acorex-platform/framework-client/layout/entity';\nimport { inject, NgModule } from '@angular/core';\nimport { ActivatedRouteSnapshot, Route, ROUTES } from '@angular/router';\nimport { ReservationManagementManifest } from './manifest';\n//#endregion\n\n//#region ---- Reservation Board Route ----\n\nfunction createReservationBoardRoute(): Route {\n const config = inject(AXP_ENTITY_CONFIG_TOKEN);\n return {\n path: ':app/reservation-board',\n canActivate: [...AXP_PROTECTED_ROUTE_GUARDS],\n data: { rootLayout: true },\n loadComponent: () => config.viewers.root(),\n children: [\n {\n path: '',\n loadComponent: () =>\n import('./features/reservation-board/reservation-board.page').then((c) => c.AXMReservationBoardPage),\n },\n {\n path: ':providerName',\n loadComponent: () =>\n import('./features/reservation-board/reservation-board.page').then((c) => c.AXMReservationBoardPage),\n resolve: {\n providerName: (route: ActivatedRouteSnapshot) =>\n route.paramMap.get('providerName') ?? undefined,\n },\n },\n ],\n };\n}\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [\n ],\n providers: [\n // Reservation Board route and home page\n {\n provide: ROUTES,\n multi: true,\n useFactory: () => [createReservationBoardRoute()],\n },\n\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: ReservationManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () =>\n import('./permission-definition.provider').then((m) => m.AXMReservationManagementPermissionDefinitionProvider),\n ),\n provideLazyProvider(AXP_MENU_PROVIDER, () =>\n import('./menu.provider').then((m) => m.AXMReservationManagementMenuProvider),\n ),\n provideLazyProvider(AXP_SEARCH_PROVIDER, () =>\n import('./search-command.provider').then((m) => m.AXMReservationManagementSearchCommandProvider),\n ),\n ],\n})\nexport class AXMReservationManagementModule {}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-reservation-management-client/contracts';\n\nexport class AXMReservationManagementSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-reservation',\n group: 'command',\n title: RootConfig.entities.reservation.title,\n icon: RootConfig.entities.reservation.icon,\n description: RootConfig.entities.reservation.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservation.name}`,\n { name: RootConfig.entities.reservation.name, module: RootConfig.module.name, title: RootConfig.entities.reservation.title }\n ),\n },\n },\n {\n id: 'create-reservation-type',\n group: 'command',\n title: RootConfig.entities.reservationType.title,\n icon: RootConfig.entities.reservationType.icon,\n description: RootConfig.entities.reservationType.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationType.name}`,\n { name: RootConfig.entities.reservationType.name, module: RootConfig.module.name, title: RootConfig.entities.reservationType.title }\n ),\n },\n },\n {\n id: 'create-reservation-status',\n group: 'command',\n title: RootConfig.entities.reservationStatus.title,\n icon: RootConfig.entities.reservationStatus.icon,\n description: RootConfig.entities.reservationStatus.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationStatus.name}`,\n { name: RootConfig.entities.reservationStatus.name, module: RootConfig.module.name, title: RootConfig.entities.reservationStatus.title }\n ),\n },\n },\n {\n id: 'create-reservation-class',\n group: 'command',\n title: RootConfig.entities.reservationClass.title,\n icon: RootConfig.entities.reservationClass.icon,\n description: RootConfig.entities.reservationClass.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.reservationClass.name}`,\n { name: RootConfig.entities.reservationClass.name, module: RootConfig.module.name, title: RootConfig.entities.reservationClass.title }\n ),\n },\n },\n ];\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","//#region ---- Imports ----\n\nimport { AXPResourceAppointmentComponent } from '@acorex-platform/framework-client/layout/components';\n\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n//#endregion\n\n@Component({\n selector: 'axm-reservation-board-page',\n templateUrl: './reservation-board.page.html',\n imports: [AXPResourceAppointmentComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXMReservationBoardPage {}\n","<axp-resource-appointment [showResourceHeaders]=\"true\" [showUnassignedAppointments]=\"true\" />\n","/** Re-export platform resource-appointment types and token for modules that provide AXP_RESOURCE_APPOINTMENT_PROVIDER. */\nexport {\n AXPResourceAppointmentComponent,\n AXPResourceAppointmentService,\n type AXPResourceAppointmentActionMenuItem,\n type AXPResourceAppointmentBoardFilter,\n type AXPResourceAppointmentBoardProvider,\n type AXPResourceAppointmentResource,\n type AXPResourceAppointmentItem,\n} from '@acorex-platform/framework-client/layout/components';\n\nexport { AXMReservationBoardPage } from './reservation-board.page';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAgBA;AAEA;MAEa,oCAAoC,CAAA;AAAjD,IAAA,WAAA,GAAA;AACmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;IA2G7D;IAzGE,MAAM,OAAO,CAAC,OAA+B,EAAA;AAC3C,QAAA,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM;QAChC,MAAM,IAAI,GAAG,8BAA8B;;QAG3C,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;AAC3D,YAAA,EAAE,IAAI,EAAE,CAAA,EAAG,gCAAgC,CAAC,gBAAgB,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;AAC9G,YAAA;gBACE,IAAI,EAAE,gCAAgC,CAAC,gBAAgB;AACvD,gBAAA,IAAI,EAAE,yEAAyE;AAC/E,gBAAA,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC;AAC1F,gBAAA,IAAI,EAAE,kBAAkB;AACxB,gBAAA,QAAQ,EAAE,EAAE;AACZ,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;AACvB,oBAAA,WAAW,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;AAC1B,iBAAA;AACF,aAAA;AACD,YAAA;gBACE,IAAI,EAAE,gCAAgC,CAAC,mBAAmB;AAC1D,gBAAA,IAAI,EAAE,+EAA+E;AACrF,gBAAA,I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4B,EAAA,OAAA,EAE7B,CAAC,+BAA+B,CAAC,EAAA,eAAA,EACzB,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,qGAAA,EAAA;;;;;;;;AEbvC;;ACAA;;AAEG;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-reservation-management-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.37",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,46 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-reservation-management-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/reservation": {
27
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation.mjs"
29
+ },
30
+ "./contracts/entities/reservation-class": {
31
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class.mjs"
33
+ },
34
+ "./contracts/entities/reservation-class-status": {
35
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-class-status.mjs"
37
+ },
38
+ "./contracts/entities/reservation-event": {
39
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-event.mjs"
41
+ },
42
+ "./contracts/entities/reservation-resource-type": {
43
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-resource-type.mjs"
45
+ },
46
+ "./contracts/entities/reservation-status": {
47
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.d.ts",
48
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status.mjs"
49
+ },
50
+ "./contracts/entities/reservation-status-transition": {
51
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.d.ts",
52
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-status-transition.mjs"
53
+ },
54
+ "./contracts/entities/reservation-type": {
55
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.d.ts",
56
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entities-reservation-type.mjs"
57
+ },
58
+ "./contracts/entity-catalog": {
59
+ "types": "./types/acorex-platform-module-reservation-management-client-contracts-entity-catalog.d.ts",
60
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-contracts-entity-catalog.mjs"
61
+ },
62
+ "./local-entities": {
63
+ "types": "./types/acorex-platform-module-reservation-management-client-local-entities.d.ts",
64
+ "default": "./fesm2022/acorex-platform-module-reservation-management-client-local-entities.mjs"
25
65
  }
26
66
  },
27
67
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationClassStatusFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationClassStatusFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationClassFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationClassFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationEventFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationEventFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationResourceTypeFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationResourceTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationStatusTransitionFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationStatusTransitionFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationStatusFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationStatusFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationTypeFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationTypeFactory };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function reservationFactory(): Promise<AXPEntity | null>;
4
+
5
+ export { reservationFactory };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const reservationManagementLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { reservationManagementLocalEntityCatalog };
@@ -188,6 +188,12 @@ interface AXPReservationManagementReservationClassEntityModel {
188
188
  title: AXPMultiLanguageString;
189
189
  name: string;
190
190
  }[];
191
+ /** Expanded from `reservationTypeIds` for list/detail grids (multi-lookup join alias). */
192
+ reservationTypesList?: {
193
+ id: string;
194
+ title: AXPMultiLanguageString;
195
+ name: string;
196
+ }[];
191
197
  }
192
198
 
193
199
  interface AXPReservationManagementReservationClassStatusEntityModel {
@@ -0,0 +1,12 @@
1
+ import * as _angular_core from '@angular/core';
2
+ export { reservationManagementLocalEntityCatalog } from '@acorex-platform/module-reservation-management-client/contracts/entity-catalog';
3
+
4
+ /**
5
+ * Registers reservation-management layouts on the client from packaged factories.
6
+ * Each `import()` targets a secondary entry so unused entities stay out of the
7
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
8
+ * `Domain:GetEntityLayout`.
9
+ */
10
+ declare function provideReservationManagementLocalEntities(): _angular_core.EnvironmentProviders;
11
+
12
+ export { provideReservationManagementLocalEntities };