@valtimo/process-link 13.14.0 → 13.16.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-process-link.mjs +10 -3
- package/fesm2022/valtimo-process-link.mjs.map +1 -1
- package/lib/components/select-form/select-form.component.d.ts +2 -1
- package/lib/components/select-form/select-form.component.d.ts.map +1 -1
- package/lib/constants/process.link.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -738,7 +738,7 @@ const formSizeToCarbonModalSizeMap = {
|
|
|
738
738
|
medium: 'md',
|
|
739
739
|
large: 'lg',
|
|
740
740
|
};
|
|
741
|
-
const UNSUPPORTED_PROCESS_LINK_TYPES_IN_BUILDING_BLOCK = ['form
|
|
741
|
+
const UNSUPPORTED_PROCESS_LINK_TYPES_IN_BUILDING_BLOCK = ['form-flow', 'ui-component'];
|
|
742
742
|
|
|
743
743
|
/*
|
|
744
744
|
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
@@ -3053,9 +3053,16 @@ class SelectFormComponent {
|
|
|
3053
3053
|
this.subtitlesValue = [];
|
|
3054
3054
|
this.saving$ = this.stateService.saving$;
|
|
3055
3055
|
this.caseDefinitionId$ = getCaseManagementRouteParams(this.route);
|
|
3056
|
-
this.
|
|
3056
|
+
this.buildingBlockDefinitionId$ = getBuildingBlockManagementRouteParams(this.route);
|
|
3057
|
+
this.formDefinitions$ = combineLatest([
|
|
3058
|
+
this.caseDefinitionId$,
|
|
3059
|
+
this.buildingBlockDefinitionId$,
|
|
3060
|
+
]).pipe(mergeMap(([caseDefinitionId, buildingBlockDefinitionId]) => {
|
|
3061
|
+
if (!!buildingBlockDefinitionId) {
|
|
3062
|
+
return this.formService.getAllFormDefinitionsForBuildingBlock(buildingBlockDefinitionId.buildingBlockDefinitionKey, buildingBlockDefinitionId.buildingBlockDefinitionVersionTag);
|
|
3063
|
+
}
|
|
3057
3064
|
if (!!caseDefinitionId) {
|
|
3058
|
-
return this.formService.getAllFormDefinitionsForCaseDefinition(caseDefinitionId
|
|
3065
|
+
return this.formService.getAllFormDefinitionsForCaseDefinition(caseDefinitionId.caseDefinitionKey, caseDefinitionId.caseDefinitionVersionTag);
|
|
3059
3066
|
}
|
|
3060
3067
|
return this.formService.getAllUnlinkedFormDefinitions();
|
|
3061
3068
|
}));
|