@valtimo/case-migration 12.14.1 → 13.0.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"valtimo-case-migration.mjs","sources":["../../../../projects/valtimo/case-migration/src/lib/models/case-migration.model.ts","../../../../projects/valtimo/case-migration/src/lib/models/index.ts","../../../../projects/valtimo/case-migration/src/lib/services/case-migration.service.ts","../../../../projects/valtimo/case-migration/src/lib/services/index.ts","../../../../projects/valtimo/case-migration/src/lib/components/case-migration-component/case-migration.component.ts","../../../../projects/valtimo/case-migration/src/lib/components/case-migration-component/case-migration.component.html","../../../../projects/valtimo/case-migration/src/lib/case-migration-routing.module.ts","../../../../projects/valtimo/case-migration/src/lib/case-migration.module.ts","../../../../projects/valtimo/case-migration/src/public-api.ts","../../../../projects/valtimo/case-migration/src/valtimo-case-migration.ts"],"sourcesContent":["/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\ninterface LoadedValue<T> {\n isLoading: boolean;\n value?: T;\n}\n\ninterface DocumentMigrationConflictRequest {\n documentDefinitionNameSource: string;\n documentDefinitionVersionSource: number;\n documentDefinitionNameTarget: string;\n documentDefinitionVersionTarget: number;\n patches: DocumentMigrationPatch[];\n}\n\ninterface DocumentMigrationConflictResponse {\n documentDefinitionNameSource: string;\n documentDefinitionVersionSource: number;\n documentDefinitionNameTarget: string;\n documentDefinitionVersionTarget: number;\n conflicts: DocumentMigrationPatch[];\n errors: Array<string>;\n documentCount: number;\n}\n\ninterface DocumentMigrationPatch {\n source: string;\n target?: string;\n error?: string;\n}\n\nexport {\n LoadedValue,\n DocumentMigrationConflictRequest,\n DocumentMigrationConflictResponse,\n DocumentMigrationPatch,\n};\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './case-migration.model';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {HttpClient} from '@angular/common/http';\nimport {ConfigService} from '@valtimo/config';\nimport {Observable} from 'rxjs';\nimport {DocumentMigrationConflictRequest, DocumentMigrationConflictResponse} from '../models';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CaseMigrationService {\n private readonly valtimoEndpointUri!: string;\n\n constructor(\n private http: HttpClient,\n configService: ConfigService\n ) {\n this.valtimoEndpointUri = configService.config.valtimoApi.endpointUri;\n }\n\n public getConflicts(\n request: DocumentMigrationConflictRequest\n ): Observable<DocumentMigrationConflictResponse> {\n return this.http.post<DocumentMigrationConflictResponse>(\n `${this.valtimoEndpointUri}management/v1/document-definition/migration/conflicts`,\n request\n );\n }\n\n public migrate(request: DocumentMigrationConflictRequest): Observable<void> {\n return this.http.post<void>(\n `${this.valtimoEndpointUri}management/v1/document-definition/migrate`,\n request\n );\n }\n}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './case-migration.service';\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component} from '@angular/core';\nimport {DocumentDefinitionId, DocumentService} from '@valtimo/document';\nimport {MultiInputValues} from '@valtimo/components';\nimport {\n BehaviorSubject,\n combineLatest,\n filter,\n map,\n Observable,\n shareReplay,\n startWith,\n switchMap,\n take,\n} from 'rxjs';\nimport {ListItem} from 'carbon-components-angular/dropdown';\nimport {DocumentMigrationConflictRequest, DocumentMigrationPatch, LoadedValue} from '../../models';\nimport {CaseMigrationService} from '../../services';\nimport {WatsonHealthStackedMove16} from '@carbon/icons';\nimport {IconService} from 'carbon-components-angular';\n\n@Component({\n selector: 'valtimo-case-migration',\n templateUrl: './case-migration.component.html',\n})\nexport class CaseMigrationComponent {\n public readonly sourceDocumentDefinitionNameSelected$ = new BehaviorSubject<string | null>(null);\n public readonly sourceDocumentDefinitionVersionSelected$ = new BehaviorSubject<number | null>(\n null\n );\n public readonly targetDocumentDefinitionNameSelected$ = new BehaviorSubject<string | null>(null);\n public readonly targetDocumentDefinitionVersionSelected$ = new BehaviorSubject<number | null>(\n null\n );\n public readonly patchItems$ = new BehaviorSubject<MultiInputValues>([]);\n public readonly errors$ = new BehaviorSubject<Array<string>>([]);\n public readonly showConfirmationModal$ = new BehaviorSubject<boolean>(false);\n\n constructor(\n private readonly documentService: DocumentService,\n private readonly caseMigrationService: CaseMigrationService,\n private readonly iconService: IconService\n ) {\n this.iconService.registerAll([WatsonHealthStackedMove16]);\n }\n\n public readonly documentDefinitionIds$: Observable<Array<DocumentDefinitionId>> =\n this.documentService.getAllDefinitions().pipe(\n map(definitions => definitions.content.map(definition => definition.id)),\n shareReplay(1)\n );\n public readonly sourceDocumentDefinitionNameItems$: Observable<LoadedValue<Array<ListItem>>> =\n this.documentDefinitionIds$.pipe(\n map(documentDefinitionIds =>\n documentDefinitionIds.map(\n documentDefinitionId =>\n ({\n documentDefinitionName: documentDefinitionId.name,\n content: documentDefinitionId.name,\n selected: false,\n }) as ListItem\n )\n ),\n map(items => ({\n value: items,\n isLoading: false,\n })),\n startWith({isLoading: true})\n );\n public readonly sourceDocumentDefinitionVersionItems$: Observable<Array<ListItem>> =\n combineLatest([this.sourceDocumentDefinitionNameSelected$, this.documentDefinitionIds$]).pipe(\n map(([sourceDocumentDefinitionNameSelected, documentDefinitionIds]) =>\n documentDefinitionIds.find(id => id.name === sourceDocumentDefinitionNameSelected)\n ),\n filter(documentDefinitionId => !!documentDefinitionId),\n map(documentDefinitionId => [...Array(documentDefinitionId.version).keys()].map(v => v + 1)),\n map(versions =>\n versions.map(\n version =>\n ({\n documentDefinitionVersion: version,\n content: version.toString(),\n selected: false,\n }) as ListItem\n )\n )\n );\n public readonly targetDocumentDefinitionNameItems$: Observable<LoadedValue<Array<ListItem>>> =\n this.documentDefinitionIds$.pipe(\n map(documentDefinitionIds =>\n documentDefinitionIds.map(\n documentDefinitionId =>\n ({\n documentDefinitionName: documentDefinitionId.name,\n content: documentDefinitionId.name,\n selected: false,\n }) as ListItem\n )\n ),\n map(items => ({\n value: items,\n isLoading: false,\n })),\n startWith({isLoading: true})\n );\n public readonly targetDocumentDefinitionVersionItems$: Observable<Array<ListItem>> =\n combineLatest([this.targetDocumentDefinitionNameSelected$, this.documentDefinitionIds$]).pipe(\n map(([targetDocumentDefinitionNameSelected, documentDefinitionIds]) =>\n documentDefinitionIds.find(id => id.name === targetDocumentDefinitionNameSelected)\n ),\n filter(documentDefinitionId => !!documentDefinitionId),\n map(documentDefinitionId => [...Array(documentDefinitionId.version).keys()].map(v => v + 1)),\n map(versions =>\n versions.map(\n version =>\n ({\n documentDefinitionVersion: version,\n content: version.toString(),\n selected: false,\n }) as ListItem\n )\n )\n );\n public readonly patches$: Observable<Array<DocumentMigrationPatch>> = this.patchItems$.pipe(\n map(patchItems =>\n patchItems.map(\n patchItem =>\n ({\n source: patchItem.key,\n target: patchItem.value,\n }) as DocumentMigrationPatch\n )\n )\n );\n\n mappingValueChange(patches: MultiInputValues): void {\n this.patchItems$.next(patches);\n }\n\n checkPatches() {\n combineLatest([\n this.sourceDocumentDefinitionNameSelected$,\n this.sourceDocumentDefinitionVersionSelected$,\n this.targetDocumentDefinitionNameSelected$,\n this.targetDocumentDefinitionVersionSelected$,\n this.patches$,\n ])\n .pipe(\n take(1),\n map(\n ([\n documentDefinitionNameSource,\n documentDefinitionVersionSource,\n documentDefinitionNameTarget,\n documentDefinitionVersionTarget,\n patches,\n ]) =>\n ({\n documentDefinitionNameSource,\n documentDefinitionVersionSource,\n documentDefinitionNameTarget,\n documentDefinitionVersionTarget,\n patches,\n }) as DocumentMigrationConflictRequest\n ),\n switchMap(request =>\n this.caseMigrationService.getConflicts(request as DocumentMigrationConflictRequest)\n )\n )\n .subscribe(response => {\n this.errors$.next(\n response.errors.concat(\n response.conflicts.filter(c => !!c.error).map(c => c.source + ': ' + c.error)\n )\n );\n });\n }\n\n migrate() {\n combineLatest([\n this.sourceDocumentDefinitionNameSelected$,\n this.sourceDocumentDefinitionVersionSelected$,\n this.targetDocumentDefinitionNameSelected$,\n this.targetDocumentDefinitionVersionSelected$,\n this.patches$,\n ])\n .pipe(\n take(1),\n map(\n ([\n documentDefinitionNameSource,\n documentDefinitionVersionSource,\n documentDefinitionNameTarget,\n documentDefinitionVersionTarget,\n patches,\n ]) =>\n ({\n documentDefinitionNameSource,\n documentDefinitionVersionSource,\n documentDefinitionNameTarget,\n documentDefinitionVersionTarget,\n patches,\n }) as DocumentMigrationConflictRequest\n ),\n switchMap(request =>\n this.caseMigrationService.migrate(request as DocumentMigrationConflictRequest)\n )\n )\n .subscribe();\n }\n\n protected readonly CARBON_THEME = 'g10';\n}\n","<!--\n ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n class=\"case-count-configuration-form\"\n *ngIf=\"{\n sourceDocumentDefinitionNameItems: sourceDocumentDefinitionNameItems$ | async,\n sourceDocumentDefinitionVersionItems: sourceDocumentDefinitionVersionItems$ | async,\n targetDocumentDefinitionNameItems: targetDocumentDefinitionNameItems$ | async,\n targetDocumentDefinitionVersionItems: targetDocumentDefinitionVersionItems$ | async,\n sourceDocumentDefinitionNameSelected: sourceDocumentDefinitionNameSelected$ | async,\n sourceDocumentDefinitionVersionSelected: sourceDocumentDefinitionVersionSelected$ | async,\n targetDocumentDefinitionNameSelected: targetDocumentDefinitionNameSelected$ | async,\n targetDocumentDefinitionVersionSelected: targetDocumentDefinitionVersionSelected$ | async,\n patchItems: patchItems$ | async,\n errors: errors$ | async,\n showConfirmationModal: showConfirmationModal$,\n } as obs\"\n>\n <ng-container>\n <div class=\"pb-2\">\n <cds-notification\n [notificationObj]=\"{\n type: 'warning',\n title: 'caseMigration.warningBeta' | translate,\n showClose: false,\n }\"\n >\n </cds-notification>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.caseDefinition' | translate }}</h2>\n </div>\n </div>\n\n <div class=\"row m-0\">\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.sourceDocumentDefinitionName' | translate\"\n [style.width.px]=\"350\"\n [disabled]=\"obs.sourceDocumentDefinitionNameItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.sourceDocumentDefinitionNameItems.isLoading\"\n (selected)=\"sourceDocumentDefinitionNameSelected$.next($event.item.documentDefinitionName)\"\n >\n <cds-dropdown-list\n [items]=\"obs.sourceDocumentDefinitionNameItems.value || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.sourceDocumentDefinitionVersion' | translate\"\n [style.width.px]=\"300\"\n [disabled]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n (selected)=\"\n sourceDocumentDefinitionVersionSelected$.next($event.item.documentDefinitionVersion)\n \"\n >\n <cds-dropdown-list\n [items]=\"obs.sourceDocumentDefinitionVersionItems || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"row m-0\">\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.targetDocumentDefinitionName' | translate\"\n [style.width.px]=\"350\"\n [disabled]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n (selected)=\"targetDocumentDefinitionNameSelected$.next($event.item.documentDefinitionName)\"\n >\n <cds-dropdown-list\n [items]=\"obs.targetDocumentDefinitionNameItems.value || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.targetDocumentDefinitionVersion' | translate\"\n [style.width.px]=\"300\"\n [disabled]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetDocumentDefinitionNameItems.isLoading\"\n (selected)=\"\n targetDocumentDefinitionVersionSelected$.next($event.item.documentDefinitionVersion)\n \"\n >\n <cds-dropdown-list\n [items]=\"obs.targetDocumentDefinitionVersionItems || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"pt-2 pb-2\">\n <div class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.patches' | translate }}</h2>\n </div>\n </div>\n <valtimo-carbon-multi-input\n type=\"keyValue\"\n (valueChange)=\"mappingValueChange($event)\"\n [title]=\"' '\"\n [tooltip]=\"'caseMigration.patchTooltip' | translate\"\n [defaultValues]=\"[]\"\n [keyColumnTitle]=\"'caseMigration.patchSource' | translate\"\n [valueColumnTitle]=\"'caseMigration.patchTarget' | translate\"\n [fullWidth]=\"true\"\n ></valtimo-carbon-multi-input>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"pt-2\">\n <div *ngIf=\"obs.errors?.length >= 1\" class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.errors' | translate }}</h2>\n </div>\n </div>\n\n <div class=\"pb-2\" *ngFor=\"let error of obs.errors\">\n <cds-notification\n [notificationObj]=\"{\n type: 'error',\n title: error,\n showClose: false,\n }\"\n >\n </cds-notification>\n </div>\n </div>\n </ng-container>\n\n <ng-container>\n <button\n class=\"mt-2 mb-2 mr-2\"\n cdsButton=\"secondary\"\n size=\"md\"\n (click)=\"checkPatches()\"\n [disabled]=\"\n !obs.sourceDocumentDefinitionNameSelected ||\n !obs.sourceDocumentDefinitionVersionSelected ||\n !obs.targetDocumentDefinitionNameSelected ||\n !obs.targetDocumentDefinitionVersionSelected\n \"\n >\n {{ 'caseMigration.checkPatches' | translate }}\n </button>\n <button\n class=\"mt-2 mb-2 ml-2\"\n cdsButton=\"primary\"\n size=\"md\"\n (click)=\"showConfirmationModal$.next(true)\"\n [disabled]=\"\n !obs.sourceDocumentDefinitionNameSelected ||\n !obs.sourceDocumentDefinitionVersionSelected ||\n !obs.targetDocumentDefinitionNameSelected ||\n !obs.targetDocumentDefinitionVersionSelected\n \"\n >\n {{ 'caseMigration.migrate' | translate }}\n <svg class=\"cds--btn__icon\" cdsIcon=\"watsonHealthStackedMove\" size=\"16\"></svg>\n </button>\n </ng-container>\n\n <valtimo-confirmation-modal\n [showModalSubject$]=\"obs.showConfirmationModal\"\n (confirmEvent)=\"migrate()\"\n (cancelEvent)=\"showConfirmationModal$.next(false)\"\n cancelButtonType=\"ghost\"\n confirmButtonTextTranslationKey=\"caseMigration.modalTitle\"\n titleTranslationKey=\"caseMigration.modalTitle\"\n contentTranslationKey=\"caseMigration.modalContent\"\n ></valtimo-confirmation-modal>\n</ng-container>\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {RouterModule, Routes} from '@angular/router';\nimport {CommonModule} from '@angular/common';\nimport {AuthGuardService} from '@valtimo/security';\nimport {ROLE_ADMIN} from '@valtimo/config';\nimport {CaseMigrationComponent} from './components/case-migration-component/case-migration.component';\n\nconst routes: Routes = [\n {\n path: 'case-migration',\n component: CaseMigrationComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Case migration', roles: [ROLE_ADMIN]},\n },\n];\n\n@NgModule({\n imports: [CommonModule, RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class CaseMigrationRoutingModule {}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {CaseMigrationRoutingModule} from './case-migration-routing.module';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {\n CarbonMultiInputModule,\n ConfirmationModalModule,\n RenderInPageHeaderDirectiveModule,\n TooltipIconModule,\n WidgetModule,\n} from '@valtimo/components';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {CaseMigrationComponent} from './components/case-migration-component/case-migration.component';\nimport {\n ButtonModule,\n DropdownModule,\n IconModule,\n InputModule,\n NotificationModule,\n} from 'carbon-components-angular';\n\n@NgModule({\n declarations: [CaseMigrationComponent],\n imports: [\n CommonModule,\n CaseMigrationRoutingModule,\n ReactiveFormsModule,\n WidgetModule,\n FormsModule,\n TranslateModule,\n DropdownModule,\n RenderInPageHeaderDirectiveModule,\n InputModule,\n TooltipIconModule,\n ButtonModule,\n IconModule,\n CarbonMultiInputModule,\n ConfirmationModalModule,\n NotificationModule,\n ],\n})\nexport class CaseMigrationModule {}\n","/*\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of case-migration\n */\n\nexport * from './lib/models';\nexport * from './lib/services';\nexport * from './lib/case-migration.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.CaseMigrationService"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;MAWU,oBAAoB,CAAA;IAG/B,WACU,CAAA,IAAgB,EACxB,aAA4B,EAAA;QADpB,IAAI,CAAA,IAAA,GAAJ,IAAI;QAGZ,IAAI,CAAC,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;;AAGhE,IAAA,YAAY,CACjB,OAAyC,EAAA;AAEzC,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,CAAA,EAAG,IAAI,CAAC,kBAAkB,CAAA,qDAAA,CAAuD,EACjF,OAAO,CACR;;AAGI,IAAA,OAAO,CAAC,OAAyC,EAAA;AACtD,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,CAAA,EAAG,IAAI,CAAC,kBAAkB,CAAA,yCAAA,CAA2C,EACrE,OAAO,CACR;;+GAvBQ,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,aAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA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AAA,EAAA,CAnBf,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAEnC,YAAY;YACZ,0BAA0B;YAC1B,mBAAmB;YACnB,YAAY;YACZ,WAAW;YACX,eAAe;YACf,cAAc;YACd,iCAAiC;YACjC,WAAW;YACX,iBAAiB;YACjB,YAAY;YACZ,UAAU;YACV,sBAAsB;YACtB,uBAAuB;YACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAjB5B,YAAY;YACZ,0BAA0B;YAC1B,mBAAmB;YACnB,YAAY;YACZ,WAAW;YACX,eAAe;YACf,cAAc;YACd,iCAAiC;YACjC,WAAW;YACX,iBAAiB;YACjB,YAAY;YACZ,UAAU;YACV,sBAAsB;YACtB,uBAAuB;YACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4FAGT,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,0BAA0B;wBAC1B,mBAAmB;wBACnB,YAAY;wBACZ,WAAW;wBACX,eAAe;wBACf,cAAc;wBACd,iCAAiC;wBACjC,WAAW;wBACX,iBAAiB;wBACjB,YAAY;wBACZ,UAAU;wBACV,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA;AACF,iBAAA;;;ACxDD;;;;;;;;;;;;;;AAcG;AAEH;;AAEG;;AClBH;;AAEG;;;;"}
1
+ {"version":3,"file":"valtimo-case-migration.mjs","sources":["../../../../projects/valtimo/case-migration/src/lib/models/case-migration.model.ts","../../../../projects/valtimo/case-migration/src/lib/models/index.ts","../../../../projects/valtimo/case-migration/src/lib/services/case-migration.service.ts","../../../../projects/valtimo/case-migration/src/lib/services/index.ts","../../../../projects/valtimo/case-migration/src/lib/components/case-migration-component/case-migration.component.ts","../../../../projects/valtimo/case-migration/src/lib/components/case-migration-component/case-migration.component.html","../../../../projects/valtimo/case-migration/src/lib/case-migration-routing.module.ts","../../../../projects/valtimo/case-migration/src/lib/case-migration.module.ts","../../../../projects/valtimo/case-migration/src/public-api.ts","../../../../projects/valtimo/case-migration/src/valtimo-case-migration.ts"],"sourcesContent":["/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {CaseDefinitionId} from '@valtimo/document';\n\ninterface LoadedValue<T> {\n isLoading: boolean;\n value?: T;\n}\n\ninterface DocumentMigrationConflictRequest {\n documentDefinitionNameSource: string;\n caseDefinitionIdSource: CaseDefinitionId;\n documentDefinitionNameTarget: string;\n caseDefinitionIdTarget: CaseDefinitionId;\n patches: DocumentMigrationPatch[];\n}\n\ninterface DocumentMigrationConflictResponse {\n documentDefinitionNameSource: string;\n caseDefinitionIdSource: CaseDefinitionId;\n documentDefinitionNameTarget: string;\n caseDefinitionIdTarget: CaseDefinitionId;\n conflicts: DocumentMigrationPatch[];\n errors: Array<string>;\n documentCount: number;\n}\n\ninterface DocumentMigrationPatch {\n source: string;\n target?: string;\n error?: string;\n}\n\nexport {\n LoadedValue,\n DocumentMigrationConflictRequest,\n DocumentMigrationConflictResponse,\n DocumentMigrationPatch,\n};\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './case-migration.model';\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Injectable} from '@angular/core';\nimport {HttpClient} from '@angular/common/http';\nimport {ConfigService} from '@valtimo/shared';\nimport {Observable} from 'rxjs';\nimport {DocumentMigrationConflictRequest, DocumentMigrationConflictResponse} from '../models';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CaseMigrationService {\n private readonly valtimoEndpointUri!: string;\n\n constructor(\n private http: HttpClient,\n configService: ConfigService\n ) {\n this.valtimoEndpointUri = configService.config.valtimoApi.endpointUri;\n }\n\n public getConflicts(\n request: DocumentMigrationConflictRequest\n ): Observable<DocumentMigrationConflictResponse> {\n return this.http.post<DocumentMigrationConflictResponse>(\n `${this.valtimoEndpointUri}management/v1/document-definition/migration/conflicts`,\n request\n );\n }\n\n public migrate(request: DocumentMigrationConflictRequest): Observable<void> {\n return this.http.post<void>(\n `${this.valtimoEndpointUri}management/v1/document-definition/migrate`,\n request\n );\n }\n}\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './case-migration.service';\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component} from '@angular/core';\nimport {CaseDefinition, DocumentService} from '@valtimo/document';\nimport {MultiInputValues} from '@valtimo/components';\nimport {\n BehaviorSubject,\n combineLatest,\n map,\n Observable,\n shareReplay,\n startWith,\n switchMap,\n take,\n} from 'rxjs';\nimport {ListItem} from 'carbon-components-angular/dropdown';\nimport {DocumentMigrationConflictRequest, DocumentMigrationPatch, LoadedValue} from '../../models';\nimport {CaseMigrationService} from '../../services';\nimport {WatsonHealthStackedMove16} from '@carbon/icons';\nimport {IconService} from 'carbon-components-angular';\nimport {GlobalNotificationService} from '@valtimo/shared';\nimport {TranslateService} from '@ngx-translate/core';\n\n@Component({\n standalone: false,\n selector: 'valtimo-case-migration',\n templateUrl: './case-migration.component.html',\n})\nexport class CaseMigrationComponent {\n public readonly sourceCaseDefinitionKeySelected$ = new BehaviorSubject<string | null>(null);\n public readonly sourceCaseDefinitionVersionTagSelected$ = new BehaviorSubject<string | null>(\n null\n );\n public readonly targetCaseDefinitionKeySelected$ = new BehaviorSubject<string | null>(null);\n public readonly targetCaseDefinitionVersionTagSelected$ = new BehaviorSubject<string | null>(\n null\n );\n public readonly patchItems$ = new BehaviorSubject<MultiInputValues>([]);\n public readonly errors$ = new BehaviorSubject<Array<string> | null>(null);\n public readonly showConfirmationModal$ = new BehaviorSubject<boolean>(false);\n\n constructor(\n private readonly documentService: DocumentService,\n private readonly caseMigrationService: CaseMigrationService,\n private readonly iconService: IconService,\n private readonly globalNotificationService: GlobalNotificationService,\n private readonly translateService: TranslateService\n ) {\n this.iconService.registerAll([WatsonHealthStackedMove16]);\n }\n\n public readonly caseDefinitions$: Observable<Array<CaseDefinition>> = this.documentService\n .getCaseDefinitionsManagement({sort: 'name,id.versionTag'})\n .pipe(\n map(caseDefinitionsPage => caseDefinitionsPage.content),\n shareReplay(1)\n );\n public readonly sourceCaseDefinitionKeyItems$: Observable<LoadedValue<Array<ListItem>>> =\n this.caseDefinitions$.pipe(\n map(caseDefinitions => [\n ...new Map(caseDefinitions.map(item => [item.caseDefinitionKey, item])).values(),\n ]),\n map(caseDefinitions =>\n caseDefinitions.map(\n caseDefinition =>\n ({\n caseDefinitionKey: caseDefinition.caseDefinitionKey,\n content: caseDefinition.name,\n selected: false,\n }) as ListItem\n )\n ),\n map(items => ({\n value: items,\n isLoading: false,\n })),\n startWith({isLoading: true})\n );\n public readonly sourceCaseDefinitionVersionTagItems$: Observable<Array<ListItem>> = combineLatest(\n [this.sourceCaseDefinitionKeySelected$, this.caseDefinitions$]\n ).pipe(\n map(([sourceCaseDefinitionKeySelected, caseDefinitions]) =>\n caseDefinitions.filter(\n caseDefinition => caseDefinition.caseDefinitionKey === sourceCaseDefinitionKeySelected\n )\n ),\n map(caseDefinitions =>\n caseDefinitions.map(caseDefinition => caseDefinition.caseDefinitionVersionTag)\n ),\n map(versions =>\n versions.map(\n version =>\n ({\n caseDefinitionVersionTag: version,\n content: version.toString(),\n selected: false,\n }) as ListItem\n )\n )\n );\n public readonly targetCaseDefinitionKeyItems$: Observable<LoadedValue<Array<ListItem>>> =\n this.caseDefinitions$.pipe(\n map(caseDefinitions => [\n ...new Map(caseDefinitions.map(item => [item.caseDefinitionKey, item])).values(),\n ]),\n map(caseDefinitions =>\n caseDefinitions.map(\n caseDefinition =>\n ({\n caseDefinitionKey: caseDefinition.caseDefinitionKey,\n content: caseDefinition.name,\n selected: false,\n }) as ListItem\n )\n ),\n map(items => ({\n value: items,\n isLoading: false,\n })),\n startWith({isLoading: true})\n );\n public readonly targetCaseDefinitionVersionTagItems$: Observable<Array<ListItem>> = combineLatest(\n [this.targetCaseDefinitionKeySelected$, this.caseDefinitions$]\n ).pipe(\n map(([targetCaseDefinitionKeySelected, caseDefinitions]) =>\n caseDefinitions.filter(\n caseDefinition => caseDefinition.caseDefinitionKey === targetCaseDefinitionKeySelected\n )\n ),\n map(caseDefinitions =>\n caseDefinitions.map(caseDefinition => caseDefinition.caseDefinitionVersionTag)\n ),\n map(versions =>\n versions.map(\n version =>\n ({\n caseDefinitionVersionTag: version,\n content: version.toString(),\n selected: false,\n }) as ListItem\n )\n )\n );\n public readonly patches$: Observable<Array<DocumentMigrationPatch>> = this.patchItems$.pipe(\n map(patchItems =>\n patchItems.map(\n patchItem =>\n ({\n source: patchItem.key,\n target: patchItem.value,\n }) as DocumentMigrationPatch\n )\n )\n );\n\n mappingValueChange(patches: MultiInputValues): void {\n this.patchItems$.next(patches);\n }\n\n checkPatches() {\n this.errors$.next(null);\n combineLatest([\n this.sourceCaseDefinitionKeySelected$,\n this.sourceCaseDefinitionVersionTagSelected$,\n this.targetCaseDefinitionKeySelected$,\n this.targetCaseDefinitionVersionTagSelected$,\n this.patches$,\n ])\n .pipe(\n take(1),\n map(\n ([\n caseDefinitionKeySource,\n caseDefinitionVersionTagSource,\n caseDefinitionKeyTarget,\n caseDefinitionVersionTagTarget,\n patches,\n ]) =>\n ({\n documentDefinitionNameSource: caseDefinitionKeySource,\n caseDefinitionIdSource: {\n key: caseDefinitionKeySource,\n versionTag: caseDefinitionVersionTagSource,\n },\n documentDefinitionNameTarget: caseDefinitionKeyTarget,\n caseDefinitionIdTarget: {\n key: caseDefinitionKeyTarget,\n versionTag: caseDefinitionVersionTagTarget,\n },\n patches,\n }) as DocumentMigrationConflictRequest\n ),\n switchMap(request =>\n this.caseMigrationService.getConflicts(request as DocumentMigrationConflictRequest)\n )\n )\n .subscribe(response => {\n this.errors$.next(\n response.errors.concat(\n response.conflicts.filter(c => !!c.error).map(c => c.source + ': ' + c.error)\n )\n );\n });\n }\n\n migrate() {\n this.errors$.next(null);\n combineLatest([\n this.sourceCaseDefinitionKeySelected$,\n this.sourceCaseDefinitionVersionTagSelected$,\n this.targetCaseDefinitionKeySelected$,\n this.targetCaseDefinitionVersionTagSelected$,\n this.patches$,\n ])\n .pipe(\n take(1),\n map(\n ([\n caseDefinitionKeySource,\n caseDefinitionVersionTagSource,\n caseDefinitionKeyTarget,\n caseDefinitionVersionTagTarget,\n patches,\n ]) =>\n ({\n documentDefinitionNameSource: caseDefinitionKeySource,\n caseDefinitionIdSource: {\n key: caseDefinitionKeySource,\n versionTag: caseDefinitionVersionTagSource,\n },\n documentDefinitionNameTarget: caseDefinitionKeyTarget,\n caseDefinitionIdTarget: {\n key: caseDefinitionKeyTarget,\n versionTag: caseDefinitionVersionTagTarget,\n },\n patches,\n }) as DocumentMigrationConflictRequest\n ),\n switchMap(request =>\n this.caseMigrationService.migrate(request as DocumentMigrationConflictRequest)\n )\n )\n .subscribe({\n next: () => {\n this.errors$.next([]);\n this.globalNotificationService.showToast({\n title: this.translateService.instant('caseMigration.noErrors'),\n type: 'success',\n });\n },\n error: error => this.errors$.next([error.message]),\n });\n }\n\n protected readonly CARBON_THEME = 'g10';\n}\n","<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n class=\"case-count-configuration-form\"\n *ngIf=\"{\n sourceCaseDefinitionKeyItems: sourceCaseDefinitionKeyItems$ | async,\n sourceCaseDefinitionVersionTagItems: sourceCaseDefinitionVersionTagItems$ | async,\n targetCaseDefinitionKeyItems: targetCaseDefinitionKeyItems$ | async,\n targetCaseDefinitionVersionTagItems: targetCaseDefinitionVersionTagItems$ | async,\n sourceCaseDefinitionKeySelected: sourceCaseDefinitionKeySelected$ | async,\n sourceCaseDefinitionVersionTagSelected: sourceCaseDefinitionVersionTagSelected$ | async,\n targetCaseDefinitionKeySelected: targetCaseDefinitionKeySelected$ | async,\n targetCaseDefinitionVersionTagSelected: targetCaseDefinitionVersionTagSelected$ | async,\n patchItems: patchItems$ | async,\n errors: errors$ | async,\n showConfirmationModal: showConfirmationModal$,\n } as obs\"\n>\n <ng-container>\n <div class=\"pb-2\">\n <cds-notification\n [notificationObj]=\"{\n type: 'warning',\n title: 'caseMigration.warningBeta' | translate,\n showClose: false,\n }\"\n >\n </cds-notification>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.caseDefinition' | translate }}</h2>\n </div>\n </div>\n\n <div class=\"row m-0\">\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.sourceCaseDefinitionKey' | translate\"\n [style.width.px]=\"350\"\n [disabled]=\"obs.sourceCaseDefinitionKeyItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.sourceCaseDefinitionKeyItems.isLoading\"\n (selected)=\"sourceCaseDefinitionKeySelected$.next($event.item.caseDefinitionKey)\"\n >\n <cds-dropdown-list\n [items]=\"obs.sourceCaseDefinitionKeyItems.value || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.sourceCaseDefinitionVersionTag' | translate\"\n [style.width.px]=\"300\"\n [disabled]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n (selected)=\"\n sourceCaseDefinitionVersionTagSelected$.next($event.item.caseDefinitionVersionTag)\n \"\n >\n <cds-dropdown-list\n [items]=\"obs.sourceCaseDefinitionVersionTagItems || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"row m-0\">\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.targetCaseDefinitionKey' | translate\"\n [style.width.px]=\"350\"\n [disabled]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n (selected)=\"targetCaseDefinitionKeySelected$.next($event.item.caseDefinitionKey)\"\n >\n <cds-dropdown-list\n [items]=\"obs.targetCaseDefinitionKeyItems.value || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n <cds-dropdown\n class=\"pr-2 pb-2\"\n [label]=\"'caseMigration.targetCaseDefinitionVersionTag' | translate\"\n [style.width.px]=\"300\"\n [disabled]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n [dropUp]=\"false\"\n [skeleton]=\"obs.targetCaseDefinitionKeyItems.isLoading\"\n (selected)=\"\n targetCaseDefinitionVersionTagSelected$.next($event.item.caseDefinitionVersionTag)\n \"\n >\n <cds-dropdown-list\n [items]=\"obs.targetCaseDefinitionVersionTagItems || []\"\n ></cds-dropdown-list>\n </cds-dropdown>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"pt-2 pb-2\">\n <div class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.patches' | translate }}</h2>\n </div>\n </div>\n <valtimo-carbon-multi-input\n type=\"keyValue\"\n (valueChange)=\"mappingValueChange($event)\"\n [title]=\"' '\"\n [tooltip]=\"'caseMigration.patchTooltip' | translate\"\n [defaultValues]=\"[]\"\n [keyColumnTitle]=\"'caseMigration.patchSource' | translate\"\n [valueColumnTitle]=\"'caseMigration.patchTarget' | translate\"\n [fullWidth]=\"true\"\n ></valtimo-carbon-multi-input>\n </div>\n </ng-container>\n\n <ng-container>\n <div class=\"pt-2\">\n <div *ngIf=\"obs.errors?.length === 0\" class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n {{ 'caseMigration.noErrors' | translate }}\n </div>\n </div>\n <div *ngIf=\"obs.errors?.length >= 1\" class=\"input-group mt-4 mb-2 align-items-center\">\n <div>\n <h2>{{ 'caseMigration.errors' | translate }}</h2>\n </div>\n </div>\n\n <div class=\"pb-2\" *ngFor=\"let error of obs.errors\">\n <cds-notification\n [notificationObj]=\"{\n type: 'error',\n title: error,\n showClose: false,\n }\"\n >\n </cds-notification>\n </div>\n </div>\n </ng-container>\n\n <ng-container>\n <button\n class=\"mt-2 mb-2 mr-2\"\n cdsButton=\"secondary\"\n size=\"md\"\n (click)=\"checkPatches()\"\n [disabled]=\"\n !obs.sourceCaseDefinitionKeySelected ||\n !obs.sourceCaseDefinitionVersionTagSelected ||\n !obs.targetCaseDefinitionKeySelected ||\n !obs.targetCaseDefinitionVersionTagSelected\n \"\n >\n {{ 'caseMigration.checkPatches' | translate }}\n </button>\n <button\n class=\"mt-2 mb-2 ml-2\"\n cdsButton=\"primary\"\n size=\"md\"\n (click)=\"showConfirmationModal$.next(true)\"\n [disabled]=\"\n !obs.sourceCaseDefinitionKeySelected ||\n !obs.sourceCaseDefinitionVersionTagSelected ||\n !obs.targetCaseDefinitionKeySelected ||\n !obs.targetCaseDefinitionVersionTagSelected\n \"\n >\n {{ 'caseMigration.migrate' | translate }}\n <svg class=\"cds--btn__icon\" cdsIcon=\"watsonHealthStackedMove\" size=\"16\"></svg>\n </button>\n </ng-container>\n\n <valtimo-confirmation-modal\n [showModalSubject$]=\"obs.showConfirmationModal\"\n (confirmEvent)=\"migrate()\"\n (cancelEvent)=\"showConfirmationModal$.next(false)\"\n cancelButtonType=\"ghost\"\n confirmButtonTextTranslationKey=\"caseMigration.modalTitle\"\n titleTranslationKey=\"caseMigration.modalTitle\"\n contentTranslationKey=\"caseMigration.modalContent\"\n ></valtimo-confirmation-modal>\n</ng-container>\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {RouterModule, Routes} from '@angular/router';\nimport {CommonModule} from '@angular/common';\nimport {AuthGuardService} from '@valtimo/security';\nimport {ROLE_ADMIN} from '@valtimo/shared';\nimport {CaseMigrationComponent} from './components/case-migration-component/case-migration.component';\n\nconst routes: Routes = [\n {\n path: 'case-migration',\n component: CaseMigrationComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Case migration', roles: [ROLE_ADMIN]},\n },\n];\n\n@NgModule({\n imports: [CommonModule, RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class CaseMigrationRoutingModule {}\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {CaseMigrationRoutingModule} from './case-migration-routing.module';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {\n CarbonMultiInputModule,\n ConfirmationModalModule,\n RenderInPageHeaderDirective,\n TooltipIconModule,\n WidgetModule,\n} from '@valtimo/components';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {CaseMigrationComponent} from './components/case-migration-component/case-migration.component';\nimport {\n ButtonModule,\n DropdownModule,\n IconModule,\n InputModule,\n NotificationModule,\n} from 'carbon-components-angular';\n\n@NgModule({\n declarations: [CaseMigrationComponent],\n imports: [\n CommonModule,\n CaseMigrationRoutingModule,\n ReactiveFormsModule,\n WidgetModule,\n FormsModule,\n TranslateModule,\n DropdownModule,\n RenderInPageHeaderDirective,\n InputModule,\n TooltipIconModule,\n ButtonModule,\n IconModule,\n CarbonMultiInputModule,\n ConfirmationModalModule,\n NotificationModule,\n ],\n})\nexport class CaseMigrationModule {}\n","/*\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of case-migration\n */\n\nexport * from './lib/models';\nexport * from './lib/services';\nexport * from './lib/case-migration.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.CaseMigrationService","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;MAWU,oBAAoB,CAAA;IAG/B,WACU,CAAA,IAAgB,EACxB,aAA4B,EAAA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ACZ,WAAW;YACX,eAAe;YACf,cAAc;YAEd,WAAW;YACX,iBAAiB;YACjB,YAAY;YACZ,UAAU;YACV,sBAAsB;YACtB,uBAAuB;YACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;;4FAGT,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,0BAA0B;wBAC1B,mBAAmB;wBACnB,YAAY;wBACZ,WAAW;wBACX,eAAe;wBACf,cAAc;wBACd,2BAA2B;wBAC3B,WAAW;wBACX,iBAAiB;wBACjB,YAAY;wBACZ,UAAU;wBACV,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA;AACF,iBAAA;;;ACxDD;;;;;;;;;;;;;;AAcG;AAEH;;AAEG;;AClBH;;AAEG;;;;"}
@@ -8,7 +8,7 @@ import * as i6 from "@ngx-translate/core";
8
8
  import * as i7 from "carbon-components-angular";
9
9
  export declare class CaseMigrationModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseMigrationModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<CaseMigrationModule, [typeof i1.CaseMigrationComponent], [typeof i2.CommonModule, typeof i3.CaseMigrationRoutingModule, typeof i4.ReactiveFormsModule, typeof i5.WidgetModule, typeof i4.FormsModule, typeof i6.TranslateModule, typeof i7.DropdownModule, typeof i5.RenderInPageHeaderDirectiveModule, typeof i7.InputModule, typeof i5.TooltipIconModule, typeof i7.ButtonModule, typeof i7.IconModule, typeof i5.CarbonMultiInputModule, typeof i5.ConfirmationModalModule, typeof i7.NotificationModule], never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CaseMigrationModule, [typeof i1.CaseMigrationComponent], [typeof i2.CommonModule, typeof i3.CaseMigrationRoutingModule, typeof i4.ReactiveFormsModule, typeof i5.WidgetModule, typeof i4.FormsModule, typeof i6.TranslateModule, typeof i7.DropdownModule, typeof i5.RenderInPageHeaderDirective, typeof i7.InputModule, typeof i5.TooltipIconModule, typeof i7.ButtonModule, typeof i7.IconModule, typeof i5.CarbonMultiInputModule, typeof i5.ConfirmationModalModule, typeof i7.NotificationModule], never>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<CaseMigrationModule>;
13
13
  }
14
14
  //# sourceMappingURL=case-migration.module.d.ts.map
@@ -1,28 +1,32 @@
1
- import { DocumentDefinitionId, DocumentService } from '@valtimo/document';
1
+ import { CaseDefinition, DocumentService } from '@valtimo/document';
2
2
  import { MultiInputValues } from '@valtimo/components';
3
3
  import { BehaviorSubject, Observable } from 'rxjs';
4
4
  import { ListItem } from 'carbon-components-angular/dropdown';
5
5
  import { DocumentMigrationPatch, LoadedValue } from '../../models';
6
6
  import { CaseMigrationService } from '../../services';
7
7
  import { IconService } from 'carbon-components-angular';
8
+ import { GlobalNotificationService } from '@valtimo/shared';
9
+ import { TranslateService } from '@ngx-translate/core';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class CaseMigrationComponent {
10
12
  private readonly documentService;
11
13
  private readonly caseMigrationService;
12
14
  private readonly iconService;
13
- readonly sourceDocumentDefinitionNameSelected$: BehaviorSubject<string>;
14
- readonly sourceDocumentDefinitionVersionSelected$: BehaviorSubject<number>;
15
- readonly targetDocumentDefinitionNameSelected$: BehaviorSubject<string>;
16
- readonly targetDocumentDefinitionVersionSelected$: BehaviorSubject<number>;
15
+ private readonly globalNotificationService;
16
+ private readonly translateService;
17
+ readonly sourceCaseDefinitionKeySelected$: BehaviorSubject<string>;
18
+ readonly sourceCaseDefinitionVersionTagSelected$: BehaviorSubject<string>;
19
+ readonly targetCaseDefinitionKeySelected$: BehaviorSubject<string>;
20
+ readonly targetCaseDefinitionVersionTagSelected$: BehaviorSubject<string>;
17
21
  readonly patchItems$: BehaviorSubject<MultiInputValues>;
18
22
  readonly errors$: BehaviorSubject<string[]>;
19
23
  readonly showConfirmationModal$: BehaviorSubject<boolean>;
20
- constructor(documentService: DocumentService, caseMigrationService: CaseMigrationService, iconService: IconService);
21
- readonly documentDefinitionIds$: Observable<Array<DocumentDefinitionId>>;
22
- readonly sourceDocumentDefinitionNameItems$: Observable<LoadedValue<Array<ListItem>>>;
23
- readonly sourceDocumentDefinitionVersionItems$: Observable<Array<ListItem>>;
24
- readonly targetDocumentDefinitionNameItems$: Observable<LoadedValue<Array<ListItem>>>;
25
- readonly targetDocumentDefinitionVersionItems$: Observable<Array<ListItem>>;
24
+ constructor(documentService: DocumentService, caseMigrationService: CaseMigrationService, iconService: IconService, globalNotificationService: GlobalNotificationService, translateService: TranslateService);
25
+ readonly caseDefinitions$: Observable<Array<CaseDefinition>>;
26
+ readonly sourceCaseDefinitionKeyItems$: Observable<LoadedValue<Array<ListItem>>>;
27
+ readonly sourceCaseDefinitionVersionTagItems$: Observable<Array<ListItem>>;
28
+ readonly targetCaseDefinitionKeyItems$: Observable<LoadedValue<Array<ListItem>>>;
29
+ readonly targetCaseDefinitionVersionTagItems$: Observable<Array<ListItem>>;
26
30
  readonly patches$: Observable<Array<DocumentMigrationPatch>>;
27
31
  mappingValueChange(patches: MultiInputValues): void;
28
32
  checkPatches(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"case-migration.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/case-migration/src/lib/components/case-migration-component/case-migration.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,oBAAoB,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,eAAe,EAIf,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,QAAQ,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAmC,sBAAsB,EAAE,WAAW,EAAC,MAAM,cAAc,CAAC;AACnG,OAAO,EAAC,oBAAoB,EAAC,MA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UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAoBnF;IACJ,SAAgB,oCAAoC,EAAE,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAqB/E;IACF,SAAgB,6BAA6B,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAoBnF;IACJ,SAAgB,oCAAoC,EAAE,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAqB/E;IACF,SAAgB,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAUjE;IAEF,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAInD,YAAY;IA8CZ,OAAO;IAiDP,SAAS,CAAC,QAAQ,CAAC,YAAY,SAAS;yCAlO7B,sBAAsB;2CAAtB,sBAAsB;CAmOlC"}
@@ -1,19 +1,20 @@
1
+ import { CaseDefinitionId } from '@valtimo/document';
1
2
  interface LoadedValue<T> {
2
3
  isLoading: boolean;
3
4
  value?: T;
4
5
  }
5
6
  interface DocumentMigrationConflictRequest {
6
7
  documentDefinitionNameSource: string;
7
- documentDefinitionVersionSource: number;
8
+ caseDefinitionIdSource: CaseDefinitionId;
8
9
  documentDefinitionNameTarget: string;
9
- documentDefinitionVersionTarget: number;
10
+ caseDefinitionIdTarget: CaseDefinitionId;
10
11
  patches: DocumentMigrationPatch[];
11
12
  }
12
13
  interface DocumentMigrationConflictResponse {
13
14
  documentDefinitionNameSource: string;
14
- documentDefinitionVersionSource: number;
15
+ caseDefinitionIdSource: CaseDefinitionId;
15
16
  documentDefinitionNameTarget: string;
16
- documentDefinitionVersionTarget: number;
17
+ caseDefinitionIdTarget: CaseDefinitionId;
17
18
  conflicts: DocumentMigrationPatch[];
18
19
  errors: Array<string>;
19
20
  documentCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"case-migration.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-migration/src/lib/models/case-migration.model.ts"],"names":[],"mappings":"AAgBA,UAAU,WAAW,CAAC,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,CAAC,CAAC;CACX;AAED,UAAU,gCAAgC;IACxC,4BAA4B,EAAE,MAAM,CAAC;IACrC,+BAA+B,EAAE,MAAM,CAAC;IACxC,4BAA4B,EAAE,MAAM,CAAC;IACrC,+BAA+B,EAAE,MAAM,CAAC;IACxC,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACnC;AAED,UAAU,iCAAiC;IACzC,4BAA4B,EAAE,MAAM,CAAC;IACrC,+BAA+B,EAAE,MAAM,CAAC;IACxC,4BAA4B,EAAE,MAAM,CAAC;IACrC,+BAA+B,EAAE,MAAM,CAAC;IACxC,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,sBAAsB;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,OAAO,EACL,WAAW,EACX,gCAAgC,EAChC,iCAAiC,EACjC,sBAAsB,GACvB,CAAC"}
1
+ {"version":3,"file":"case-migration.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case-migration/src/lib/models/case-migration.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAEnD,UAAU,WAAW,CAAC,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,CAAC,CAAC;CACX;AAED,UAAU,gCAAgC;IACxC,4BAA4B,EAAE,MAAM,CAAC;IACrC,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,4BAA4B,EAAE,MAAM,CAAC;IACrC,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACnC;AAED,UAAU,iCAAiC;IACzC,4BAA4B,EAAE,MAAM,CAAC;IACrC,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,4BAA4B,EAAE,MAAM,CAAC;IACrC,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,sBAAsB;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,OAAO,EACL,WAAW,EACX,gCAAgC,EAChC,iCAAiC,EACjC,sBAAsB,GACvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { ConfigService } from '@valtimo/config';
2
+ import { ConfigService } from '@valtimo/shared';
3
3
  import { Observable } from 'rxjs';
4
4
  import { DocumentMigrationConflictRequest, DocumentMigrationConflictResponse } from '../models';
5
5
  import * as i0 from "@angular/core";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@valtimo/case-migration",
3
3
  "license": "EUPL-1.2",
4
- "version": "12.14.1",
4
+ "version": "13.0.0",
5
5
  "peerDependencies": {
6
- "@angular/common": "^17.2.2",
7
- "@angular/core": "^17.2.2"
6
+ "@angular/common": "^19.2.8",
7
+ "@angular/core": "^19.2.8"
8
8
  },
9
9
  "dependencies": {
10
- "tslib": "2.6.3"
10
+ "tslib": "2.8.1"
11
11
  },
12
12
  "module": "fesm2022/valtimo-case-migration.mjs",
13
13
  "typings": "index.d.ts",
@@ -17,8 +17,6 @@
17
17
  },
18
18
  ".": {
19
19
  "types": "./index.d.ts",
20
- "esm2022": "./esm2022/valtimo-case-migration.mjs",
21
- "esm": "./esm2022/valtimo-case-migration.mjs",
22
20
  "default": "./fesm2022/valtimo-case-migration.mjs"
23
21
  }
24
22
  },
@@ -1,44 +0,0 @@
1
- /*
2
- * Copyright 2015-2024 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { NgModule } from '@angular/core';
17
- import { RouterModule } from '@angular/router';
18
- import { CommonModule } from '@angular/common';
19
- import { AuthGuardService } from '@valtimo/security';
20
- import { ROLE_ADMIN } from '@valtimo/config';
21
- import { CaseMigrationComponent } from './components/case-migration-component/case-migration.component';
22
- import * as i0 from "@angular/core";
23
- import * as i1 from "@angular/router";
24
- const routes = [
25
- {
26
- path: 'case-migration',
27
- component: CaseMigrationComponent,
28
- canActivate: [AuthGuardService],
29
- data: { title: 'Case migration', roles: [ROLE_ADMIN] },
30
- },
31
- ];
32
- export class CaseMigrationRoutingModule {
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationRoutingModule, imports: [CommonModule, i1.RouterModule], exports: [RouterModule] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationRoutingModule, imports: [CommonModule, RouterModule.forChild(routes), RouterModule] }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationRoutingModule, decorators: [{
38
- type: NgModule,
39
- args: [{
40
- imports: [CommonModule, RouterModule.forChild(routes)],
41
- exports: [RouterModule],
42
- }]
43
- }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1taWdyYXRpb24tcm91dGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2Nhc2UtbWlncmF0aW9uL3NyYy9saWIvY2FzZS1taWdyYXRpb24tcm91dGluZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQVMsTUFBTSxpQkFBaUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLGdFQUFnRSxDQUFDOzs7QUFFdEcsTUFBTSxNQUFNLEdBQVc7SUFDckI7UUFDRSxJQUFJLEVBQUUsZ0JBQWdCO1FBQ3RCLFNBQVMsRUFBRSxzQkFBc0I7UUFDakMsV0FBVyxFQUFFLENBQUMsZ0JBQWdCLENBQUM7UUFDL0IsSUFBSSxFQUFFLEVBQUMsS0FBSyxFQUFFLGdCQUFnQixFQUFFLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxFQUFDO0tBQ3JEO0NBQ0YsQ0FBQztBQU1GLE1BQU0sT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G9ydCBjbGFzcyBDYXNlTWlncmF0aW9uUm91dGluZ01vZHVsZSB7fVxuIl19
@@ -1,81 +0,0 @@
1
- /*
2
- * Copyright 2015-2024 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { NgModule } from '@angular/core';
17
- import { CaseMigrationRoutingModule } from './case-migration-routing.module';
18
- import { CommonModule } from '@angular/common';
19
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
20
- import { CarbonMultiInputModule, ConfirmationModalModule, RenderInPageHeaderDirectiveModule, TooltipIconModule, WidgetModule, } from '@valtimo/components';
21
- import { TranslateModule } from '@ngx-translate/core';
22
- import { CaseMigrationComponent } from './components/case-migration-component/case-migration.component';
23
- import { ButtonModule, DropdownModule, IconModule, InputModule, NotificationModule, } from 'carbon-components-angular';
24
- import * as i0 from "@angular/core";
25
- export class CaseMigrationModule {
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationModule, declarations: [CaseMigrationComponent], imports: [CommonModule,
28
- CaseMigrationRoutingModule,
29
- ReactiveFormsModule,
30
- WidgetModule,
31
- FormsModule,
32
- TranslateModule,
33
- DropdownModule,
34
- RenderInPageHeaderDirectiveModule,
35
- InputModule,
36
- TooltipIconModule,
37
- ButtonModule,
38
- IconModule,
39
- CarbonMultiInputModule,
40
- ConfirmationModalModule,
41
- NotificationModule] }); }
42
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationModule, imports: [CommonModule,
43
- CaseMigrationRoutingModule,
44
- ReactiveFormsModule,
45
- WidgetModule,
46
- FormsModule,
47
- TranslateModule,
48
- DropdownModule,
49
- RenderInPageHeaderDirectiveModule,
50
- InputModule,
51
- TooltipIconModule,
52
- ButtonModule,
53
- IconModule,
54
- CarbonMultiInputModule,
55
- ConfirmationModalModule,
56
- NotificationModule] }); }
57
- }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationModule, decorators: [{
59
- type: NgModule,
60
- args: [{
61
- declarations: [CaseMigrationComponent],
62
- imports: [
63
- CommonModule,
64
- CaseMigrationRoutingModule,
65
- ReactiveFormsModule,
66
- WidgetModule,
67
- FormsModule,
68
- TranslateModule,
69
- DropdownModule,
70
- RenderInPageHeaderDirectiveModule,
71
- InputModule,
72
- TooltipIconModule,
73
- ButtonModule,
74
- IconModule,
75
- CarbonMultiInputModule,
76
- ConfirmationModalModule,
77
- NotificationModule,
78
- ],
79
- }]
80
- }] });
81
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1taWdyYXRpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdmFsdGltby9jYXNlLW1pZ3JhdGlvbi9zcmMvbGliL2Nhc2UtbWlncmF0aW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLDBCQUEwQixFQUFDLE1BQU0saUN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