{"_id":"@crczp/sandbox-agenda","_rev":"11-be90c6ea251de07a2012a7893ccd41d6","name":"@crczp/sandbox-agenda","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@crczp/sandbox-agenda","version":"1.0.0","license":"MIT","_id":"@crczp/sandbox-agenda@1.0.0","maintainers":[{"name":"andy-cshub","email":"kiruscanka@cshub.cz"}],"homepage":"https://github.com/cyberrangecz/frontend-sandbox-agenda#readme","bugs":{"url":"https://github.com/cyberrangecz/frontend-sandbox-agenda/issues"},"dist":{"shasum":"34d9b7233e1da120c13ea0828cd6554b313f7722","tarball":"https://registry.npmjs.org/@crczp/sandbox-agenda/-/sandbox-agenda-1.0.0.tgz","fileCount":320,"integrity":"sha512-NUbSkhGs0VOxVMgENqukcJRTnuLu4c1WKMoLUTaQ5cy7S/Rvh03FkSD0aLzangTD6OxTnuAQ6WVlEL9ImHu9DQ==","signatures":[{"sig":"MEQCIE9aw4YDs8sUDDTT2ZYqJhkC6vdZ3k0nVB5PV0z15mNMAiBRr4dth/QMqlFVd2E2GfBB/8P/3uqr7gQzJxexfgA5nA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2256000},"module":"fesm2022/crczp-sandbox-agenda.mjs","exports":{".":{"esm":"./esm2022/crczp-sandbox-agenda.mjs","types":"./index.d.ts","default":"./fesm2022/crczp-sandbox-agenda.mjs","esm2022":"./esm2022/crczp-sandbox-agenda.mjs"},"./internal":{"esm":"./esm2022/internal/crczp-sandbox-agenda-internal.mjs","types":"./internal/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-internal.mjs","esm2022":"./esm2022/internal/crczp-sandbox-agenda-internal.mjs"},"./topology":{"esm":"./esm2022/topology/crczp-sandbox-agenda-topology.mjs","types":"./topology/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-topology.mjs","esm2022":"./esm2022/topology/crczp-sandbox-agenda-topology.mjs"},"./pool-edit":{"esm":"./esm2022/pool-edit/crczp-sandbox-agenda-pool-edit.mjs","types":"./pool-edit/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-pool-edit.mjs","esm2022":"./esm2022/pool-edit/crczp-sandbox-agenda-pool-edit.mjs"},"./resolvers":{"esm":"./esm2022/resolvers/crczp-sandbox-agenda-resolvers.mjs","types":"./resolvers/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-resolvers.mjs","esm2022":"./esm2022/resolvers/crczp-sandbox-agenda-resolvers.mjs"},"./pool-detail":{"esm":"./esm2022/pool-detail/crczp-sandbox-agenda-pool-detail.mjs","types":"./pool-detail/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-pool-detail.mjs","esm2022":"./esm2022/pool-detail/crczp-sandbox-agenda-pool-detail.mjs"},"./package.json":{"default":"./package.json"},"./pool-overview":{"esm":"./esm2022/pool-overview/crczp-sandbox-agenda-pool-overview.mjs","types":"./pool-overview/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-pool-overview.mjs","esm2022":"./esm2022/pool-overview/crczp-sandbox-agenda-pool-overview.mjs"},"./request-detail":{"esm":"./esm2022/request-detail/crczp-sandbox-agenda-request-detail.mjs","types":"./request-detail/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-request-detail.mjs","esm2022":"./esm2022/request-detail/crczp-sandbox-agenda-request-detail.mjs"},"./sandbox-images":{"esm":"./esm2022/sandbox-images/crczp-sandbox-agenda-sandbox-images.mjs","types":"./sandbox-images/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-sandbox-images.mjs","esm2022":"./esm2022/sandbox-images/crczp-sandbox-agenda-sandbox-images.mjs"},"./sandbox-definition-edit":{"esm":"./esm2022/sandbox-definition-edit/crczp-sandbox-agenda-sandbox-definition-edit.mjs","types":"./sandbox-definition-edit/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-sandbox-definition-edit.mjs","esm2022":"./esm2022/sandbox-definition-edit/crczp-sandbox-agenda-sandbox-definition-edit.mjs"},"./sandbox-definition-overview":{"esm":"./esm2022/sandbox-definition-overview/crczp-sandbox-agenda-sandbox-definition-overview.mjs","types":"./sandbox-definition-overview/index.d.ts","default":"./fesm2022/crczp-sandbox-agenda-sandbox-definition-overview.mjs","esm2022":"./esm2022/sandbox-definition-overview/crczp-sandbox-agenda-sandbox-definition-overview.mjs"}},"gitHead":"8d2a6758144a9a0d7dc88269f1f54c33c3a5c5b3","typings":"index.d.ts","_npmUser":{"name":"andy-cshub","email":"kiruscanka@cshub.cz"},"repository":{"url":"git+https://github.com/cyberrangecz/frontend-sandbox-agenda.git","type":"git"},"_npmVersion":"10.8.2","description":"Sandbox Agenda is a library containing components and services to manage sandbox definitions, pools, and sandbox instances. It is developed as a frontend of [Sandbox service](https://github.com/cyberrangecz/backend-sandbox-service)","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"tslib":"^2.7.0"},"_hasShrinkwrap":false,"peerDependencies":{"file-saver":"^2.0.5","@crczp/theme":"^1.0.0","@angular/core":"^18.2.13","@angular/common":"^18.2.13","@sentinel/common":"^18.0.4","@angular/material":"^18.2.13","@crczp/sandbox-api":"^1.0.0","@crczp/sandbox-model":"^1.0.0","@sentinel/components":"^18.2.7","@crczp/topology-graph":"^1.0.0","@crczp/topology-graph-model":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sandbox-agenda_1.0.0_1742913272346_0.8299198769668048","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@crczp/sandbox-agenda","version":"1.1.1","license":"MIT","peerDependencies":{"@angular/common":"^18.2.13","@angular/core":"^18.2.13","@angular/material":"^18.2.13","@sentinel/common":"^18.0.4","@sentinel/components":"^18.2.7","@crczp/sandbox-api":"^1.0.0","@crczp/sandbox-model":"^1.0.0","@crczp/topology-graph":"^1.0.0","@crczp/topology-graph-model":"^1.0.0","@crczp/theme":"^1.0.0","file-saver":"^2.0.5"},"dependencies":{"tslib":"^2.7.0"},"repository":{"type":"git","url":"git+https://github.com/cyberrangecz/frontend-sandbox-agenda.git"},"module":"fesm2022/crczp-sandbox-agenda.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2022":"./esm2022/crczp-sandbox-agenda.mjs","esm":"./esm2022/crczp-sandbox-agenda.mjs","default":"./fesm2022/crczp-sandbox-agenda.mjs"},"./internal":{"types":"./internal/index.d.ts","esm2022":"./esm2022/internal/crczp-sandbox-agenda-internal.mjs","esm":"./esm2022/internal/crczp-sandbox-agenda-internal.mjs","default":"./fesm2022/crczp-sandbox-agenda-internal.mjs"},"./pool-detail":{"types":"./pool-detail/index.d.ts","esm2022":"./esm2022/pool-detail/crczp-sandbox-agenda-pool-detail.mjs","esm":"./esm2022/pool-detail/crczp-sandbox-agenda-pool-detail.mjs","default":"./fesm2022/crczp-sandbox-agenda-pool-detail.mjs"},"./pool-edit":{"types":"./pool-edit/index.d.ts","esm2022":"./esm2022/pool-edit/crczp-sandbox-agenda-pool-edit.mjs","esm":"./esm2022/pool-edit/crczp-sandbox-agenda-pool-edit.mjs","default":"./fesm2022/crczp-sandbox-agenda-pool-edit.mjs"},"./pool-overview":{"types":"./pool-overview/index.d.ts","esm2022":"./esm2022/pool-overview/crczp-sandbox-agenda-pool-overview.mjs","esm":"./esm2022/pool-overview/crczp-sandbox-agenda-pool-overview.mjs","default":"./fesm2022/crczp-sandbox-agenda-pool-overview.mjs"},"./request-detail":{"types":"./request-detail/index.d.ts","esm2022":"./esm2022/request-detail/crczp-sandbox-agenda-request-detail.mjs","esm":"./esm2022/request-detail/crczp-sandbox-agenda-request-detail.mjs","default":"./fesm2022/crczp-sandbox-agenda-request-detail.mjs"},"./resolvers":{"types":"./resolvers/index.d.ts","esm2022":"./esm2022/resolvers/crczp-sandbox-agenda-resolvers.mjs","esm":"./esm2022/resolvers/crczp-sandbox-agenda-resolvers.mjs","default":"./fesm2022/crczp-sandbox-agenda-resolvers.mjs"},"./sandbox-definition-edit":{"types":"./sandbox-definition-edit/index.d.ts","esm2022":"./esm2022/sandbox-definition-edit/crczp-sandbox-agenda-sandbox-definition-edit.mjs","esm":"./esm2022/sandbox-definition-edit/crczp-sandbox-agenda-sandbox-definition-edit.mjs","default":"./fesm2022/crczp-sandbox-agenda-sandbox-definition-edit.mjs"},"./sandbox-definition-overview":{"types":"./sandbox-definition-overview/index.d.ts","esm2022":"./esm2022/sandbox-definition-overview/crczp-sandbox-agenda-sandbox-definition-overview.mjs","esm":"./esm2022/sandbox-definition-overview/crczp-sandbox-agenda-sandbox-definition-overview.mjs","default":"./fesm2022/crczp-sandbox-agenda-sandbox-definition-overview.mjs"},"./sandbox-images":{"types":"./sandbox-images/index.d.ts","esm2022":"./esm2022/sandbox-images/crczp-sandbox-agenda-sandbox-images.mjs","esm":"./esm2022/sandbox-images/crczp-sandbox-agenda-sandbox-images.mjs","default":"./fesm2022/crczp-sandbox-agenda-sandbox-images.mjs"},"./topology":{"types":"./topology/index.d.ts","esm2022":"./esm2022/topology/crczp-sandbox-agenda-topology.mjs","esm":"./esm2022/topology/crczp-sandbox-agenda-topology.mjs","default":"./fesm2022/crczp-sandbox-agenda-topology.mjs"}},"sideEffects":false,"_id":"@crczp/sandbox-agenda@1.1.1","gitHead":"ce731fdb249ce859b588177dd2914557fcbcadcd","description":"Sandbox Agenda is a library containing components and services to manage sandbox definitions, pools, and sandbox instances. It is developed as a frontend of [Sandbox service](https://github.com/cyberrangecz/backend-sandbox-service)","bugs":{"url":"https://github.com/cyberrangecz/frontend-sandbox-agenda/issues"},"homepage":"https://github.com/cyberrangecz/frontend-sandbox-agenda#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-pL3L6id/Qmjp1WibDuIrTbg4tKnNcP6qvNE+Ma0dOjPR3d+jbeq74b4si+/k+883aKWKpZbnIwnRIFboDKdxGA==","shasum":"3b19c8354061bcb4df3ed4ff86a748ff906deb21","tarball":"https://registry.npmjs.org/@crczp/sandbox-agenda/-/sandbox-agenda-1.1.1.tgz","fileCount":322,"unpackedSize":2287799,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crczp%2fsandbox-agenda@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDS1TNSllJKqPqdUR4Nmj/J65UDMdAg+7s0C5qPMci4QQIgVFtGPiA9N/EHNnFIJOFN41/5EK+DjVGcoskWrWtY4o8="}]},"_npmUser":{"name":"andy-cshub","email":"kiruscanka@cshub.cz"},"directories":{},"maintainers":[{"name":"andy-cshub","email":"kiruscanka@cshub.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sandbox-agenda_1.1.1_1743608172612_0.43514962723128625"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-28T20:27:59.775Z","modified":"2025-04-02T15:36:13.261Z","0.0.2":"2025-02-28T20:28:00.170Z","0.0.3":"2025-03-03T13:11:16.855Z","0.0.4":"2025-03-14T17:38:33.736Z","0.0.5":"2025-03-19T12:58:05.067Z","1.0.0":"2025-03-25T14:34:32.646Z","1.1.1":"2025-04-02T15:36:12.873Z"},"bugs":{"url":"https://github.com/cyberrangecz/frontend-sandbox-agenda/issues"},"license":"MIT","homepage":"https://github.com/cyberrangecz/frontend-sandbox-agenda#readme","repository":{"type":"git","url":"git+https://github.com/cyberrangecz/frontend-sandbox-agenda.git"},"description":"Sandbox Agenda is a library containing components and services to manage sandbox definitions, pools, and sandbox instances. It is developed as a frontend of [Sandbox service](https://github.com/cyberrangecz/backend-sandbox-service)","maintainers":[{"name":"andy-cshub","email":"kiruscanka@cshub.cz"}],"readme":"# CyberRangeᶜᶻ Platform Sandbox Agenda\n\nSandbox Agenda is a library containing components and services to manage sandbox definitions, pools, and sandbox instances.\nIt is developed as a frontend of [Sandbox service](https://github.com/cyberrangecz/backend-sandbox-service)\n\nThe library follows smart-dumb architecture. Smart components are exported from the library, and you can use them at your will. The project contains example implementation with lazy loading modules which you can use as an inspiration.\nYou can modify the behaviour of components by implementing abstract service class and injecting it through Angular dependency injection.\n\n## Features\n\n* Components and services for managing sandbox definitions\n* Components and services for managing pools\n* Components and services for managing sandbox instances\n* Components and services for managing sandbox allocation and allocation stages\n* Default routing (overridable)\n* Errors, notifications, and navigation services\n* CanDeactivate interface on all main components\n* Resolvers for all main components\n\n## Usage\n\nTo use the sandbox agenda in your Angular application follow these steps:\n\n1. Run `npm install @crczp/sandbox-agenda`\n2. Install all peer dependencies\n3. Create config class extending `SandboxAgendaConfig` from the library. Config contains following options:\n    + pollingPeriod\n    + defaultPaginationSize\n    + topologyConfig\n4. Import specific modules containing components (for example `SandboxDefinitionOverviewComponentsModule`) and provide config through `.forRoot()` method.\n5. If you do not override the services, you will also need to provide API service. See [Sandbox api](https://github.com/cyberrangecz/frontend-sandbox-api).\n6. You need to provide implementation of abstract services `SandboxErrorHandler` and `SandboxNotificationService` for error handling and notification displaying.\n7. Optionally, you can override `SandboxNavigator` service to provide custom navigation if you do not want to use default routes.\n8. Optionally, you can override and provide own implementation of services\n\nFor example, you would add `SandboxDefinitionOverviewComponent` like this:\n\n1. Create feature module `SandboxDefinitionOverviewModule` containing all necessary imports and providers\n\n```\n@NgModule({\n  imports: [\n    CommonModule,\n    SandboxDefinitionOverviewRoutingModule,\n    SandboxDefinitionOverviewComponentsModule.forRoot(agendaConfig),\n    SandboxApiModule.forRoot(apiConfig),\n  ],\n  providers: [\n    { provide: SandboxErrorHandler, useClass: ClientErrorHandlerService },\n    { provide: SandboxNotificationService, useClass: ClientNotificationService },\n  ],\n})\nexport class SandboxDefinitionOverviewModule {}\n```\n\n2. Create routing module importing the `SandboxDefinitionOverviewModule`\n\n```\nconst routes: Routes = [\n  {\n    path: '',\n    component: SandboxDefinitionOverviewComponent,\n  },\n];\n@NgModule({\n  imports: [RouterModule.forChild(routes)],\n  exports: [RouterModule],\n})\nexport class SandboxDefinitionOverviewRoutingModule {}\n```\n\n3. Lazy load the module in the parent routing module\n\n```\n  {\n    path: SANDBOX_DEFINITION_PATH,\n    loadChildren: () => import('./lazy-loaded-modules/sandbox-definition/sandbox-definition-overview.module).then((m) => m.SandboxDefinitionOverviewModule)\n  }\n```\n\n---\nSources: https://github.com/cyberrangecz/frontend-sandbox-agenda\n","readmeFilename":"README.md"}