@valtimo/case-migration 12.1.3 → 12.2.1

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.
@@ -109,7 +109,7 @@ export class CaseMigrationComponent {
109
109
  .subscribe();
110
110
  }
111
111
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationComponent, deps: [{ token: i1.DocumentService }, { token: i2.CaseMigrationService }, { token: i3.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
112
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CaseMigrationComponent, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: ["id", "label", "helperText", "placeholder", "displayValue", "clearText", "size", "type", "theme", "disabled", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp"], outputs: ["selected", "onClose", "close"] }, { kind: "component", type: i3.DropdownList, selector: "cds-dropdown-list, ibm-dropdown-list", inputs: ["ariaLabel", "items", "listTpl", "type", "showTitles"], outputs: ["select", "scroll", "blurIntent"] }, { kind: "directive", type: i3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i5.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "arbitraryValueAmount", "arbitraryAmountTitles", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required", "keyColumnTitle", "valueColumnTitle", "dropdownColumnTitle", "hideDeleteButton", "hideAddButton", "dropdownItems", "dropdownWidth", "fullWidth", "carbonTheme"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i5.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }, { kind: "component", type: i3.Notification, selector: "cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification", inputs: ["notificationObj"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
112
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CaseMigrationComponent, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: ["id", "label", "hideLabel", "helperText", "placeholder", "displayValue", "clearText", "size", "type", "theme", "disabled", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp"], outputs: ["selected", "onClose", "close"] }, { kind: "component", type: i3.DropdownList, selector: "cds-dropdown-list, ibm-dropdown-list", inputs: ["ariaLabel", "items", "listTpl", "type", "showTitles"], outputs: ["select", "scroll", "blurIntent"] }, { kind: "directive", type: i3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i5.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "arbitraryValueAmount", "arbitraryAmountTitles", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required", "keyColumnTitle", "valueColumnTitle", "dropdownColumnTitle", "hideDeleteButton", "hideAddButton", "dropdownItems", "dropdownWidth", "fullWidth", "carbonTheme"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i5.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }, { kind: "component", type: i3.Notification, selector: "cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification", inputs: ["notificationObj"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
113
113
  }
114
114
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationComponent, decorators: [{
115
115
  type: Component,
@@ -204,7 +204,7 @@ class CaseMigrationComponent {
204
204
  .subscribe();
205
205
  }
206
206
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationComponent, deps: [{ token: i1$1.DocumentService }, { token: CaseMigrationService }, { token: i3.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
207
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CaseMigrationComponent, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: ["id", "label", "helperText", "placeholder", "displayValue", "clearText", "size", "type", "theme", "disabled", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp"], outputs: ["selected", "onClose", "close"] }, { kind: "component", type: i3.DropdownList, selector: "cds-dropdown-list, ibm-dropdown-list", inputs: ["ariaLabel", "items", "listTpl", "type", "showTitles"], outputs: ["select", "scroll", "blurIntent"] }, { kind: "directive", type: i3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i5.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "arbitraryValueAmount", "arbitraryAmountTitles", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required", "keyColumnTitle", "valueColumnTitle", "dropdownColumnTitle", "hideDeleteButton", "hideAddButton", "dropdownItems", "dropdownWidth", "fullWidth", "carbonTheme"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i5.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }, { kind: "component", type: i3.Notification, selector: "cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification", inputs: ["notificationObj"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
207
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CaseMigrationComponent, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: ["id", "label", "hideLabel", "helperText", "placeholder", "displayValue", "clearText", "size", "type", "theme", "disabled", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp"], outputs: ["selected", "onClose", "close"] }, { kind: "component", type: i3.DropdownList, selector: "cds-dropdown-list, ibm-dropdown-list", inputs: ["ariaLabel", "items", "listTpl", "type", "showTitles"], outputs: ["select", "scroll", "blurIntent"] }, { kind: "directive", type: i3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i5.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "arbitraryValueAmount", "arbitraryAmountTitles", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required", "keyColumnTitle", "valueColumnTitle", "dropdownColumnTitle", "hideDeleteButton", "hideAddButton", "dropdownItems", "dropdownWidth", "fullWidth", "carbonTheme"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i5.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }, { kind: "component", type: i3.Notification, selector: "cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification", inputs: ["notificationObj"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
208
208
  }
209
209
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseMigrationComponent, decorators: [{
210
210
  type: Component,
@@ -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,CAAY;QAGxB,IAAI,CAAC,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC;KACvE;AAEM,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,CAAC;KACH;AAEM,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,CAAC;KACH;+GAxBU,o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,eAAe;wBACf,cAAc;wBACd,iCAAiC;wBACjC,WAAW;wBACX,iBAAiB;wBACjB,YAAY;wBACZ,UAAU;wBACV,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;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-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,CAAY;QAGxB,IAAI,CAAC,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC;KACvE;AAEM,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,CAAC;KACH;AAEM,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,CAAC;KACH;+GAxBU,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EA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,WAAW;wBACX,iBAAiB;wBACjB,YAAY;wBACZ,UAAU;wBACV,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACxDD;;;;;;;;;;;;;;AAcG;AAEH;;AAEG;;AClBH;;AAEG;;;;"}
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.1.3",
4
+ "version": "12.2.1",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.2.2",
7
7
  "@angular/core": "^17.2.2"
8
8
  },
9
9
  "dependencies": {
10
- "tslib": "2.6.2"
10
+ "tslib": "2.6.3"
11
11
  },
12
12
  "module": "fesm2022/valtimo-case-migration.mjs",
13
13
  "typings": "index.d.ts",