@valtimo/case-management 13.24.1 → 13.25.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.
- package/fesm2022/valtimo-case-management.mjs +21 -5
- package/fesm2022/valtimo-case-management.mjs.map +1 -1
- package/lib/components/case-management-detail/tabs/case-management-document-definition/case-management-document-definition.component.d.ts +3 -0
- package/lib/components/case-management-detail/tabs/case-management-document-definition/case-management-document-definition.component.d.ts.map +1 -1
- package/lib/components/case-management-detail/tabs/case-management-statuses/case-management-status-modal/case-management-status-modal.component.d.ts +1 -0
- package/lib/components/case-management-detail/tabs/case-management-statuses/case-management-status-modal/case-management-status-modal.component.d.ts.map +1 -1
- package/lib/components/case-management-detail/tabs/case-management-tags/case-management-tags-modal/case-management-tags-modal.component.d.ts +1 -0
- package/lib/components/case-management-detail/tabs/case-management-tags/case-management-tags-modal/case-management-tags-modal.component.d.ts.map +1 -1
- package/lib/constants/case-management.test-ids.d.ts +3 -0
- package/lib/constants/case-management.test-ids.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1530,6 +1530,9 @@ const CASE_MANAGEMENT_TAGS_MODAL_TEST_IDS = {
|
|
|
1530
1530
|
const CASE_MANAGEMENT_TAGS_TEST_IDS = {
|
|
1531
1531
|
addButton: 'caseTagAddButton',
|
|
1532
1532
|
};
|
|
1533
|
+
const CASE_MANAGEMENT_DOCUMENT_TEST_IDS = {
|
|
1534
|
+
downloadButton: 'caseManagementDocumentDownloadButton',
|
|
1535
|
+
};
|
|
1533
1536
|
|
|
1534
1537
|
/*
|
|
1535
1538
|
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
@@ -1549,9 +1552,15 @@ const CASE_MANAGEMENT_TAGS_TEST_IDS = {
|
|
|
1549
1552
|
class CaseManagementStatusModalComponent {
|
|
1550
1553
|
set type(value) {
|
|
1551
1554
|
this._type$.next(value);
|
|
1555
|
+
// Cancel any pending closed animation delay
|
|
1556
|
+
if (this._closedAnimationTimeout) {
|
|
1557
|
+
clearTimeout(this._closedAnimationTimeout);
|
|
1558
|
+
this._closedAnimationTimeout = undefined;
|
|
1559
|
+
}
|
|
1552
1560
|
if (value === 'closed') {
|
|
1553
|
-
setTimeout(() => {
|
|
1561
|
+
this._closedAnimationTimeout = setTimeout(() => {
|
|
1554
1562
|
this._typeAnimationDelay$.next(value);
|
|
1563
|
+
this._closedAnimationTimeout = undefined;
|
|
1555
1564
|
}, CARBON_CONSTANTS.modalAnimationMs);
|
|
1556
1565
|
}
|
|
1557
1566
|
else {
|
|
@@ -1982,9 +1991,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1982
1991
|
class CaseManagementTagsModalComponent {
|
|
1983
1992
|
set type(value) {
|
|
1984
1993
|
this._type$.next(value);
|
|
1994
|
+
// Cancel any pending 'closed' animation delay
|
|
1995
|
+
if (this._closedAnimationTimeout) {
|
|
1996
|
+
clearTimeout(this._closedAnimationTimeout);
|
|
1997
|
+
this._closedAnimationTimeout = undefined;
|
|
1998
|
+
}
|
|
1985
1999
|
if (value === 'closed') {
|
|
1986
|
-
setTimeout(() => {
|
|
2000
|
+
this._closedAnimationTimeout = setTimeout(() => {
|
|
1987
2001
|
this._typeAnimationDelay$.next(value);
|
|
2002
|
+
this._closedAnimationTimeout = undefined;
|
|
1988
2003
|
}, CARBON_CONSTANTS.modalAnimationMs);
|
|
1989
2004
|
}
|
|
1990
2005
|
else {
|
|
@@ -4302,6 +4317,7 @@ class CaseManagementDocumentDefinitionComponent {
|
|
|
4302
4317
|
this.cancelRedirect = new EventEmitter();
|
|
4303
4318
|
this.confirmRedirect = new EventEmitter();
|
|
4304
4319
|
this.pendingChangesUpdate = new EventEmitter();
|
|
4320
|
+
this.testIds = CASE_MANAGEMENT_DOCUMENT_TEST_IDS;
|
|
4305
4321
|
this.loadingDocumentDefinition$ = this.caseDetailService.loadingDocumentDefinition$;
|
|
4306
4322
|
this._refreshEditor$ = new BehaviorSubject(null);
|
|
4307
4323
|
this.documentDefinitionModel$ = this._refreshEditor$.pipe(switchMap$1(() => this.caseDetailService.documentDefinitionModel$));
|
|
@@ -4354,11 +4370,11 @@ class CaseManagementDocumentDefinitionComponent {
|
|
|
4354
4370
|
this._pendingChanges$.next(true);
|
|
4355
4371
|
}
|
|
4356
4372
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CaseManagementDocumentDefinitionComponent, deps: [{ token: i1$2.DocumentService }, { token: CaseDetailService }, { token: i2.IconService }, { token: i7.PageHeaderService }, { token: i2$1.ActivatedRoute }, { token: i3$1.EditPermissionsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4357
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CaseManagementDocumentDefinitionComponent, isStandalone: false, selector: "ng-component", inputs: { caseDefinitionKey: "caseDefinitionKey" }, outputs: { cancelRedirect: "cancelRedirect", confirmRedirect: "confirmRedirect", pendingChangesUpdate: "pendingChangesUpdate" }, viewQueries: [{ propertyName: "cancelModal", first: true, predicate: ["cancelModal"], descendants: true }], 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<valtimo-json-editor\n [model]=\"documentDefinitionModel$ | async\"\n [fitPage]=\"true\"\n [fitPageSpaceAdjustment]=\"128\"\n [showEditButton]=\"hasEditPermissions$ | async\"\n (changeEvent)=\"onChangeEvent()\"\n (discardEvent)=\"onDiscardEvent()\"\n (keepEditingEvent)=\"onKeepEditingEvent()\"\n (saveEvent)=\"onSaveEvent($event)\"\n>\n <button\n cdsButton=\"ghost\"\n [disabled]=\"\n (loadingDocumentDefinition$ | async) || (selectedDocumentDefinition$ | async) === null\n \"\n (click)=\"downloadDefinition()\"\n >\n {{ 'interface.download' | translate }}\n\n <svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n </button>\n</valtimo-json-editor>\n\n<a id=\"downloadAnchorElement\" style=\"display: none\"></a>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;width:100%;justify-content:center;padding-top:16px;padding-bottom:16px}:host ::ng-deep .cds--toolbar-content{width:100%;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i2.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i2.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "component", type: i7.JsonEditorComponent, selector: "valtimo-json-editor", inputs: ["disabled", "model", "editorOptions", "fitPage", "fitPageSpaceAdjustment", "formatOnLoad", "heightPx", "heightStyle", "jsonSchema", "showEditButton", "widthPx"], outputs: ["changeEvent", "discardEvent", "keepEditingEvent", "saveEvent"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4373
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CaseManagementDocumentDefinitionComponent, isStandalone: false, selector: "ng-component", inputs: { caseDefinitionKey: "caseDefinitionKey" }, outputs: { cancelRedirect: "cancelRedirect", confirmRedirect: "confirmRedirect", pendingChangesUpdate: "pendingChangesUpdate" }, viewQueries: [{ propertyName: "cancelModal", first: true, predicate: ["cancelModal"], descendants: true }], 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<valtimo-json-editor\n [model]=\"documentDefinitionModel$ | async\"\n [fitPage]=\"true\"\n [fitPageSpaceAdjustment]=\"128\"\n [showEditButton]=\"hasEditPermissions$ | async\"\n (changeEvent)=\"onChangeEvent()\"\n (discardEvent)=\"onDiscardEvent()\"\n (keepEditingEvent)=\"onKeepEditingEvent()\"\n (saveEvent)=\"onSaveEvent($event)\"\n>\n <button\n cdsButton=\"ghost\"\n [disabled]=\"\n (loadingDocumentDefinition$ | async) || (selectedDocumentDefinition$ | async) === null\n \"\n (click)=\"downloadDefinition()\"\n [attr.data-test-id]=\"testIds.downloadButton\"\n >\n {{ 'interface.download' | translate }}\n\n <svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n </button>\n</valtimo-json-editor>\n\n<a id=\"downloadAnchorElement\" style=\"display: none\"></a>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;width:100%;justify-content:center;padding-top:16px;padding-bottom:16px}:host ::ng-deep .cds--toolbar-content{width:100%;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i2.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i2.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: i2.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "component", type: i7.JsonEditorComponent, selector: "valtimo-json-editor", inputs: ["disabled", "model", "editorOptions", "fitPage", "fitPageSpaceAdjustment", "formatOnLoad", "heightPx", "heightStyle", "jsonSchema", "showEditButton", "widthPx"], outputs: ["changeEvent", "discardEvent", "keepEditingEvent", "saveEvent"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4358
4374
|
}
|
|
4359
4375
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CaseManagementDocumentDefinitionComponent, decorators: [{
|
|
4360
4376
|
type: Component,
|
|
4361
|
-
args: [{ standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, 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<valtimo-json-editor\n [model]=\"documentDefinitionModel$ | async\"\n [fitPage]=\"true\"\n [fitPageSpaceAdjustment]=\"128\"\n [showEditButton]=\"hasEditPermissions$ | async\"\n (changeEvent)=\"onChangeEvent()\"\n (discardEvent)=\"onDiscardEvent()\"\n (keepEditingEvent)=\"onKeepEditingEvent()\"\n (saveEvent)=\"onSaveEvent($event)\"\n>\n <button\n cdsButton=\"ghost\"\n [disabled]=\"\n (loadingDocumentDefinition$ | async) || (selectedDocumentDefinition$ | async) === null\n \"\n (click)=\"downloadDefinition()\"\n >\n {{ 'interface.download' | translate }}\n\n <svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n </button>\n</valtimo-json-editor>\n\n<a id=\"downloadAnchorElement\" style=\"display: none\"></a>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;width:100%;justify-content:center;padding-top:16px;padding-bottom:16px}:host ::ng-deep .cds--toolbar-content{width:100%;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
4377
|
+
args: [{ standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, 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<valtimo-json-editor\n [model]=\"documentDefinitionModel$ | async\"\n [fitPage]=\"true\"\n [fitPageSpaceAdjustment]=\"128\"\n [showEditButton]=\"hasEditPermissions$ | async\"\n (changeEvent)=\"onChangeEvent()\"\n (discardEvent)=\"onDiscardEvent()\"\n (keepEditingEvent)=\"onKeepEditingEvent()\"\n (saveEvent)=\"onSaveEvent($event)\"\n>\n <button\n cdsButton=\"ghost\"\n [disabled]=\"\n (loadingDocumentDefinition$ | async) || (selectedDocumentDefinition$ | async) === null\n \"\n (click)=\"downloadDefinition()\"\n [attr.data-test-id]=\"testIds.downloadButton\"\n >\n {{ 'interface.download' | translate }}\n\n <svg cdsIcon=\"download\" size=\"16\" class=\"cds--btn__icon\"></svg>\n </button>\n</valtimo-json-editor>\n\n<a id=\"downloadAnchorElement\" style=\"display: none\"></a>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;width:100%;justify-content:center;padding-top:16px;padding-bottom:16px}:host ::ng-deep .cds--toolbar-content{width:100%;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
4362
4378
|
}], ctorParameters: () => [{ type: i1$2.DocumentService }, { type: CaseDetailService }, { type: i2.IconService }, { type: i7.PageHeaderService }, { type: i2$1.ActivatedRoute }, { type: i3$1.EditPermissionsService }], propDecorators: { cancelModal: [{
|
|
4363
4379
|
type: ViewChild,
|
|
4364
4380
|
args: ['cancelModal']
|
|
@@ -6570,5 +6586,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6570
6586
|
* Generated bundle index. Do not edit.
|
|
6571
6587
|
*/
|
|
6572
6588
|
|
|
6573
|
-
export { CASE_MANAGEMENT_CASE_HANDLER_TEST_IDS, CASE_MANAGEMENT_CREATE_TEST_IDS, CASE_MANAGEMENT_DETAIL_ACTIONS_TEST_IDS, CASE_MANAGEMENT_DETAIL_TEST_IDS, CASE_MANAGEMENT_EXTERNAL_START_FORM_TEST_IDS, CASE_MANAGEMENT_LIST_COLUMNS_TEST_IDS, CASE_MANAGEMENT_LIST_TEST_IDS, CASE_MANAGEMENT_STATUSES_TEST_IDS, CASE_MANAGEMENT_STATUS_MODAL_TEST_IDS, CASE_MANAGEMENT_TAGS_MODAL_TEST_IDS, CASE_MANAGEMENT_TAGS_TEST_IDS, CASE_MANAGEMENT_UPLOAD_TEST_IDS, CaseDefinition, CaseDetailService, CaseListItem, CaseManagementDraftWarningComponent, CaseManagementListComponent, CaseManagementModule, CaseManagementService, CaseWidgetManagementApiService, DraftVersion, ReleaseInformationData, ReleaseVersionData, StartableItemApiService, StartableItemManagementService, StartableItemType, TabEnum, TabManagementService, TabService };
|
|
6589
|
+
export { CASE_MANAGEMENT_CASE_HANDLER_TEST_IDS, CASE_MANAGEMENT_CREATE_TEST_IDS, CASE_MANAGEMENT_DETAIL_ACTIONS_TEST_IDS, CASE_MANAGEMENT_DETAIL_TEST_IDS, CASE_MANAGEMENT_DOCUMENT_TEST_IDS, CASE_MANAGEMENT_EXTERNAL_START_FORM_TEST_IDS, CASE_MANAGEMENT_LIST_COLUMNS_TEST_IDS, CASE_MANAGEMENT_LIST_TEST_IDS, CASE_MANAGEMENT_STATUSES_TEST_IDS, CASE_MANAGEMENT_STATUS_MODAL_TEST_IDS, CASE_MANAGEMENT_TAGS_MODAL_TEST_IDS, CASE_MANAGEMENT_TAGS_TEST_IDS, CASE_MANAGEMENT_UPLOAD_TEST_IDS, CaseDefinition, CaseDetailService, CaseListItem, CaseManagementDraftWarningComponent, CaseManagementListComponent, CaseManagementModule, CaseManagementService, CaseWidgetManagementApiService, DraftVersion, ReleaseInformationData, ReleaseVersionData, StartableItemApiService, StartableItemManagementService, StartableItemType, TabEnum, TabManagementService, TabService };
|
|
6574
6590
|
//# sourceMappingURL=valtimo-case-management.mjs.map
|