@valtimo/case-migration 13.12.0 → 13.13.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.
|
@@ -77,10 +77,10 @@ class CaseMigrationService {
|
|
|
77
77
|
migrate(request) {
|
|
78
78
|
return this.http.post(`${this.valtimoEndpointUri}management/v1/document-definition/migrate`, request);
|
|
79
79
|
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
81
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
81
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationService, providedIn: 'root' }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationService, decorators: [{
|
|
84
84
|
type: Injectable,
|
|
85
85
|
args: [{
|
|
86
86
|
providedIn: 'root',
|
|
@@ -234,10 +234,10 @@ class CaseMigrationComponent {
|
|
|
234
234
|
error: error => this.errors$.next([error.message]),
|
|
235
235
|
});
|
|
236
236
|
}
|
|
237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
238
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: CaseMigrationComponent, isStandalone: false, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.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", "readonly", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp", "fluid"], 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: i7.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["addRowText", "addButtonType", "addRowTranslationKey", "arbitraryAmountTitles", "arbitraryValueAmount", "defaultValues", "deleteRowText", "deleteRowTranslationKey", "disabled", "dropdownColumnTitle", "dropdownItems", "dropdownWidth", "fullWidth", "hideAddButton", "hideDeleteButton", "initialAmountOfRows", "keyColumnTitle", "margin", "maxRows", "minimumAmountOfRows", "name", "required", "title", "titleTranslationKey", "tooltip", "type", "valueColumnTitle", "valuePathSelectorCaseDefinitionKey", "valuePathSelectorPrefixes", "valuePathSelectorShowCaseDefinitionSelector", "valuePathSelectorNotation", "keyColumnFlex", "dropdownColumnFlex", "valueColumnFlex"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i7.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: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationComponent, deps: [{ token: i1$1.DocumentService }, { token: CaseMigrationService }, { token: i3.IconService }, { token: i2.GlobalNotificationService }, { token: i5.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
238
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: CaseMigrationComponent, isStandalone: false, selector: "valtimo-case-migration", ngImport: i0, template: "<!--\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", dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.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", "readonly", "skeleton", "inline", "disableArrowKeys", "invalid", "invalidText", "warn", "warnText", "appendInline", "scrollableContainer", "itemValueKey", "selectionFeedback", "menuButtonLabel", "selectedLabel", "dropUp", "fluid"], 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: i7.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["addRowText", "addButtonType", "addRowTranslationKey", "arbitraryAmountTitles", "arbitraryValueAmount", "defaultValues", "deleteRowText", "deleteRowTranslationKey", "disabled", "dropdownColumnTitle", "dropdownItems", "dropdownWidth", "fullWidth", "hideAddButton", "hideDeleteButton", "initialAmountOfRows", "keyColumnTitle", "margin", "maxRows", "minimumAmountOfRows", "name", "required", "title", "titleTranslationKey", "tooltip", "type", "valueColumnTitle", "valuePathSelectorCaseDefinitionKey", "valuePathSelectorPrefixes", "valuePathSelectorShowCaseDefinitionSelector", "valuePathSelectorNotation", "keyColumnFlex", "dropdownColumnFlex", "valueColumnFlex"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "component", type: i7.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: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
|
|
239
239
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationComponent, decorators: [{
|
|
241
241
|
type: Component,
|
|
242
242
|
args: [{ standalone: false, selector: 'valtimo-case-migration', template: "<!--\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" }]
|
|
243
243
|
}], ctorParameters: () => [{ type: i1$1.DocumentService }, { type: CaseMigrationService }, { type: i3.IconService }, { type: i2.GlobalNotificationService }, { type: i5.TranslateService }] });
|
|
@@ -266,11 +266,11 @@ const routes = [
|
|
|
266
266
|
},
|
|
267
267
|
];
|
|
268
268
|
class CaseMigrationRoutingModule {
|
|
269
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
270
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
271
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
270
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationRoutingModule, imports: [CommonModule, i1$2.RouterModule], exports: [RouterModule] }); }
|
|
271
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationRoutingModule, imports: [CommonModule, RouterModule.forChild(routes), RouterModule] }); }
|
|
272
272
|
}
|
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationRoutingModule, decorators: [{
|
|
274
274
|
type: NgModule,
|
|
275
275
|
args: [{
|
|
276
276
|
imports: [CommonModule, RouterModule.forChild(routes)],
|
|
@@ -294,8 +294,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
294
294
|
* limitations under the License.
|
|
295
295
|
*/
|
|
296
296
|
class CaseMigrationModule {
|
|
297
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
298
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
298
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationModule, declarations: [CaseMigrationComponent], imports: [CommonModule,
|
|
299
299
|
CaseMigrationRoutingModule,
|
|
300
300
|
ReactiveFormsModule,
|
|
301
301
|
WidgetModule,
|
|
@@ -310,7 +310,7 @@ class CaseMigrationModule {
|
|
|
310
310
|
CarbonMultiInputModule,
|
|
311
311
|
ConfirmationModalModule,
|
|
312
312
|
NotificationModule] }); }
|
|
313
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
313
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationModule, imports: [CommonModule,
|
|
314
314
|
CaseMigrationRoutingModule,
|
|
315
315
|
ReactiveFormsModule,
|
|
316
316
|
WidgetModule,
|
|
@@ -325,7 +325,7 @@ class CaseMigrationModule {
|
|
|
325
325
|
ConfirmationModalModule,
|
|
326
326
|
NotificationModule] }); }
|
|
327
327
|
}
|
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CaseMigrationModule, decorators: [{
|
|
329
329
|
type: NgModule,
|
|
330
330
|
args: [{
|
|
331
331
|
declarations: [CaseMigrationComponent],
|