@valtimo/shared 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/assets/core/en.json +39 -8
- package/assets/core/nl.json +38 -10
- package/fesm2022/valtimo-shared.mjs +22 -1
- package/fesm2022/valtimo-shared.mjs.map +1 -1
- package/lib/generated/generated-backend-types.d.ts +15 -0
- package/lib/generated/generated-backend-types.d.ts.map +1 -1
- package/lib/services/draft-version.service.d.ts +1 -0
- package/lib/services/draft-version.service.d.ts.map +1 -1
- package/lib/utils/route-params.utils.d.ts.map +1 -1
- package/package.json +1 -1
package/assets/core/en.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
"events": {
|
|
3
3
|
"TaskCompletedEvent": "Task completed > {{taskName}}",
|
|
4
4
|
"TaskAssignedEvent": "Task assigned > {{taskName}}",
|
|
5
|
+
"DocumentInternalStatusSetEvent": "Internal state set: {{internalStatusKey}}",
|
|
6
|
+
"DocumentRetentionPeriodSetEvent": "Retention date set to: {{retentionDate}}",
|
|
7
|
+
"DocumentRetentionPeriodUnsetEvent": "Retention date unset",
|
|
5
8
|
"JsonSchemaDocumentCreatedEvent": "Case created",
|
|
6
9
|
"JsonSchemaDocumentModifiedEvent": "Case modified",
|
|
7
10
|
"ProcessStartedEvent": "Process started: {{processDefinitionKey}}",
|
|
@@ -483,7 +486,7 @@
|
|
|
483
486
|
"setGlobalActiveVersionSuccessTitle": "Global active version updated",
|
|
484
487
|
"globallyActive": "Globally active",
|
|
485
488
|
"unlinkProcess": "Unlink",
|
|
486
|
-
"listColumns": {"name": "Name", "key": "Key", "version": "Version"},
|
|
489
|
+
"listColumns": {"name": "Name", "key": "Key", "version": "Version", "draft": "Draft"},
|
|
487
490
|
"globalActiveVersionModal": {
|
|
488
491
|
"title": "Set as global active version",
|
|
489
492
|
"description": "Set the currently selected version as the global active version. Please be sure to keep in mind that things might break or not work as intended.",
|
|
@@ -761,8 +764,13 @@
|
|
|
761
764
|
"keyAutoGenerated": "Key will be auto-generated",
|
|
762
765
|
"keyDuplicated": "This key is already in use. Please change to a unique key.",
|
|
763
766
|
"colorPlaceholder": "Choose a color",
|
|
767
|
+
"showRetentionPeriod": "Set retention period",
|
|
768
|
+
"retentionPeriodExistingCasesWarning": "The retention period for existing cases cases with this status will not be updated automatically.",
|
|
764
769
|
"columns": {
|
|
765
770
|
"title": "Status name",
|
|
771
|
+
"retentionPeriod": "Retention period in days",
|
|
772
|
+
"retentionPeriodTooltip": "0 or higher: retention is active, case will be deleted after the specified number of days, -1: no retention period is set, case will not be automatically deleted",
|
|
773
|
+
"deletedImmediately": "Deleted immediately",
|
|
766
774
|
"key": "Status key",
|
|
767
775
|
"visible": "Visible by default",
|
|
768
776
|
"color": "Color"
|
|
@@ -807,6 +815,7 @@
|
|
|
807
815
|
"highContrast": "High contrast",
|
|
808
816
|
"type": "Type",
|
|
809
817
|
"width": "Width",
|
|
818
|
+
"color": "Color",
|
|
810
819
|
"density": "Density"
|
|
811
820
|
},
|
|
812
821
|
"list": {
|
|
@@ -839,7 +848,7 @@
|
|
|
839
848
|
"edit": "Edit widget",
|
|
840
849
|
"steps": {
|
|
841
850
|
"content": "Choose widget content",
|
|
842
|
-
"
|
|
851
|
+
"appearance": "Choose widget appearance",
|
|
843
852
|
"type": "Choose widget type",
|
|
844
853
|
"width": "Choose widget width",
|
|
845
854
|
"density": "Choose widget density",
|
|
@@ -874,10 +883,24 @@
|
|
|
874
883
|
"large": {"title": "Large", "subtitle": "Contains up to 3 columns of content"},
|
|
875
884
|
"xtraLarge": {"title": "Xtra large", "subtitle": "Contains up to 4 columns of content"}
|
|
876
885
|
},
|
|
877
|
-
"
|
|
878
|
-
"description": "Select the
|
|
879
|
-
"
|
|
880
|
-
|
|
886
|
+
"appearance": {
|
|
887
|
+
"description": "Select the appearance for the widget.",
|
|
888
|
+
"backgroundColor": {
|
|
889
|
+
"label": "Widget background color",
|
|
890
|
+
"colors": {
|
|
891
|
+
"highContrast": "High contrast",
|
|
892
|
+
"yellow": "Yellow",
|
|
893
|
+
"orange": "Orange",
|
|
894
|
+
"red": "Red",
|
|
895
|
+
"brown": "Brown",
|
|
896
|
+
"green": "Green",
|
|
897
|
+
"turqoise": "Turquoise",
|
|
898
|
+
"purple": "Purple",
|
|
899
|
+
"periwinkle": "Periwinkle",
|
|
900
|
+
"blue": "Blue",
|
|
901
|
+
"white": "Default"
|
|
902
|
+
}
|
|
903
|
+
}
|
|
881
904
|
},
|
|
882
905
|
"density": {
|
|
883
906
|
"description": "Select the desired density for the widget",
|
|
@@ -1815,6 +1838,9 @@
|
|
|
1815
1838
|
"Remove": "Remove",
|
|
1816
1839
|
"Next": "Next",
|
|
1817
1840
|
"Previous": "Previous",
|
|
1841
|
+
"Value Resolver": "Value Resolver",
|
|
1842
|
+
"Source key": "Source key",
|
|
1843
|
+
"Target key": "Target key",
|
|
1818
1844
|
"formioIbanComponent": {"errorMessage": "Not a valid IBAN. Please enter a valid IBAN."},
|
|
1819
1845
|
"formioCurrencyComponent": {
|
|
1820
1846
|
"errorMessage": "Not a valid decimal number. Please enter a valid decimal number."
|
|
@@ -2179,7 +2205,8 @@
|
|
|
2179
2205
|
"listColumns": {
|
|
2180
2206
|
"name": "Name",
|
|
2181
2207
|
"key": "Key",
|
|
2182
|
-
"versionTag": "Version"
|
|
2208
|
+
"versionTag": "Version",
|
|
2209
|
+
"draft": "Draft"
|
|
2183
2210
|
},
|
|
2184
2211
|
"detail": {
|
|
2185
2212
|
"title": "Building block details"
|
|
@@ -2222,7 +2249,11 @@
|
|
|
2222
2249
|
"tabs": {
|
|
2223
2250
|
"general": "General",
|
|
2224
2251
|
"document": "Document",
|
|
2225
|
-
"processes": "Processes"
|
|
2252
|
+
"processes": "Processes",
|
|
2253
|
+
"forms": "Forms"
|
|
2254
|
+
},
|
|
2255
|
+
"formDefinition": {
|
|
2256
|
+
"name": "Name"
|
|
2226
2257
|
},
|
|
2227
2258
|
"metadata": {
|
|
2228
2259
|
"title": "General information"
|
package/assets/core/nl.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
"events": {
|
|
3
3
|
"TaskCompletedEvent": "Taak afgerond > {{taskName}}",
|
|
4
4
|
"TaskAssignedEvent": "Taak toegewezen > {{taskName}}",
|
|
5
|
+
"DocumentInternalStatusSetEvent": "Interne status gezet: {{internalStatusKey}}",
|
|
6
|
+
"DocumentRetentionPeriodSetEvent": "Bewaartermijn verloopt op: {{retentionDate}}",
|
|
7
|
+
"DocumentRetentionPeriodUnsetEvent": "Bewaartermijn verwijderd",
|
|
5
8
|
"JsonSchemaDocumentCreatedEvent": "Dossier aangemaakt",
|
|
6
9
|
"JsonSchemaDocumentModifiedEvent": "Dossier aangepast",
|
|
7
10
|
"ProcessStartedEvent": "Proces gestart: {{processDefinitionKey}}",
|
|
@@ -490,7 +493,7 @@
|
|
|
490
493
|
"setGlobalActiveVersionSuccessTitle": "Globaal actieve versie bijgewerkt",
|
|
491
494
|
"globallyActive": "Globaal actief",
|
|
492
495
|
"unlinkProcess": "Ontkoppelen",
|
|
493
|
-
"listColumns": {"name": "Naam", "key": "Key", "version": "Versie"},
|
|
496
|
+
"listColumns": {"name": "Naam", "key": "Key", "version": "Versie", "draft": "Concept"},
|
|
494
497
|
"globalActiveVersionModal": {
|
|
495
498
|
"title": "Instellen als globaal actieve versie",
|
|
496
499
|
"description": "Stel de momenteel geselecteerde versie in als de globaal actieve versie. Houd er rekening mee dat dingen kapot kunnen gaan of niet werken zoals bedoeld.",
|
|
@@ -775,8 +778,13 @@
|
|
|
775
778
|
"keyAutoGenerated": "De key wordt automatisch gegenereerd",
|
|
776
779
|
"keyDuplicated": "Deze sleutel is al in gebruik. Kies een unieke sleutel.",
|
|
777
780
|
"colorPlaceholder": "Kies een kleur",
|
|
781
|
+
"showRetentionPeriod": "Bewaartermijn instellen",
|
|
782
|
+
"retentionPeriodExistingCasesWarning": "Reeds aangemaakte zaken met deze status worden niet automatisch bijgewerkt met een nieuwe bewaartermijn.",
|
|
778
783
|
"columns": {
|
|
779
784
|
"title": "Statusnaam",
|
|
785
|
+
"retentionPeriod": "Bewaartermijn in dagen",
|
|
786
|
+
"retentionPeriodTooltip": "0 of hoger: retentie is actief, de zaak wordt na het opgegeven aantal dagen verwijderd. -1: er is geen retentieperiode ingesteld, de zaak wordt niet automatisch verwijderd.",
|
|
787
|
+
"deletedImmediately": "Wordt direct verwijderd",
|
|
780
788
|
"key": "Status-key",
|
|
781
789
|
"visible": "Standaard zichtbaar",
|
|
782
790
|
"color": "Kleur"
|
|
@@ -826,6 +834,7 @@
|
|
|
826
834
|
"highContrast": "Hoog contrast",
|
|
827
835
|
"type": "Type",
|
|
828
836
|
"width": "Breedte",
|
|
837
|
+
"color": "Kleur",
|
|
829
838
|
"density": "Dichtheid"
|
|
830
839
|
},
|
|
831
840
|
"list": {
|
|
@@ -858,7 +867,7 @@
|
|
|
858
867
|
"edit": "Widget bewerken",
|
|
859
868
|
"steps": {
|
|
860
869
|
"content": "Kies widget-inhoud",
|
|
861
|
-
"
|
|
870
|
+
"appearance": "Kies widget-uiterlijk",
|
|
862
871
|
"type": "Kies widget-type",
|
|
863
872
|
"width": "Kies widget-breedte",
|
|
864
873
|
"density": "Kies widgetdichtheid",
|
|
@@ -893,12 +902,23 @@
|
|
|
893
902
|
"large": {"title": "Groot", "subtitle": "Bevat maximaal 3 kolommen met inhoud"},
|
|
894
903
|
"xtraLarge": {"title": "Xtra Groot", "subtitle": "Bevat maximaal 4 kolommen met inhoud"}
|
|
895
904
|
},
|
|
896
|
-
"
|
|
897
|
-
"description": "Selecteer
|
|
898
|
-
"
|
|
899
|
-
|
|
900
|
-
"
|
|
901
|
-
|
|
905
|
+
"appearance": {
|
|
906
|
+
"description": "Selecteer het uiterlijk voor de widget.",
|
|
907
|
+
"backgroundColor": {
|
|
908
|
+
"label": "Widget achtergrondkleur",
|
|
909
|
+
"colors": {
|
|
910
|
+
"highContrast": "Hoog contrast",
|
|
911
|
+
"yellow": "Geel",
|
|
912
|
+
"orange": "Oranje",
|
|
913
|
+
"red": "Rood",
|
|
914
|
+
"brown": "Bruin",
|
|
915
|
+
"green": "Groen",
|
|
916
|
+
"turqoise": "Turkoois",
|
|
917
|
+
"purple": "Paars",
|
|
918
|
+
"periwinkle": "Lila",
|
|
919
|
+
"blue": "Blauw",
|
|
920
|
+
"white": "Standaard"
|
|
921
|
+
}
|
|
902
922
|
}
|
|
903
923
|
},
|
|
904
924
|
"density": {
|
|
@@ -1848,6 +1868,9 @@
|
|
|
1848
1868
|
"Remove": "Verwijderen",
|
|
1849
1869
|
"Next": "Volgende",
|
|
1850
1870
|
"Previous": "Vorige",
|
|
1871
|
+
"Value Resolver": "Value Resolver",
|
|
1872
|
+
"Source key": "Bronsleutel",
|
|
1873
|
+
"Target key": "Doelsleutel",
|
|
1851
1874
|
"formioIbanComponent": {"errorMessage": "Geen geldige IBAN. Voer een geldige IBAN in."},
|
|
1852
1875
|
"formioCurrencyComponent": {
|
|
1853
1876
|
"errorMessage": "Geen geldig decimaal getal. Voer een geldig decimaal getal in."
|
|
@@ -2215,7 +2238,8 @@
|
|
|
2215
2238
|
"listColumns": {
|
|
2216
2239
|
"name": "Naam",
|
|
2217
2240
|
"key": "Sleutel",
|
|
2218
|
-
"versionTag": "Versie"
|
|
2241
|
+
"versionTag": "Versie",
|
|
2242
|
+
"draft": "Concept"
|
|
2219
2243
|
},
|
|
2220
2244
|
"detail": {
|
|
2221
2245
|
"title": "Bouwblokdetails"
|
|
@@ -2258,7 +2282,11 @@
|
|
|
2258
2282
|
"tabs": {
|
|
2259
2283
|
"general": "Algemeen",
|
|
2260
2284
|
"document": "Document",
|
|
2261
|
-
"processes": "Processen"
|
|
2285
|
+
"processes": "Processen",
|
|
2286
|
+
"forms": "Formulieren"
|
|
2287
|
+
},
|
|
2288
|
+
"formDefinition": {
|
|
2289
|
+
"name": "Naam"
|
|
2262
2290
|
},
|
|
2263
2291
|
"metadata": {
|
|
2264
2292
|
"title": "Algemene informatie"
|
|
@@ -128,6 +128,17 @@ const getBuildingBlockManagementRouteParams = (route, doFilter = false) => {
|
|
|
128
128
|
}), filter((params) => doFilter ? params !== null : true), distinctUntilChanged((previous, current) => isEqual(previous, current)));
|
|
129
129
|
};
|
|
130
130
|
function getContextObservable(route) {
|
|
131
|
+
// Traverse the route hierarchy to find the context data
|
|
132
|
+
// The context is set on a parent route, so we need to look up the tree
|
|
133
|
+
let currentRoute = route;
|
|
134
|
+
while (currentRoute) {
|
|
135
|
+
const context = currentRoute.snapshot?.data?.['context'];
|
|
136
|
+
if (context) {
|
|
137
|
+
return currentRoute.data.pipe(map(data => (data && data['context']) || null), distinctUntilChanged());
|
|
138
|
+
}
|
|
139
|
+
currentRoute = currentRoute.parent;
|
|
140
|
+
}
|
|
141
|
+
// Fallback to original behavior if no context found in hierarchy
|
|
131
142
|
return route.data.pipe(map(data => (data && data['context']) || null), distinctUntilChanged());
|
|
132
143
|
}
|
|
133
144
|
function getCaseManagementRouteParamsAndContext(route) {
|
|
@@ -1113,7 +1124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1113
1124
|
* limitations under the License.
|
|
1114
1125
|
*/
|
|
1115
1126
|
const VERSIONS = {
|
|
1116
|
-
frontendLibraries: '13.
|
|
1127
|
+
frontendLibraries: '13.16.0',
|
|
1117
1128
|
};
|
|
1118
1129
|
|
|
1119
1130
|
/*
|
|
@@ -1304,6 +1315,16 @@ class DraftVersionService extends BaseApiService {
|
|
|
1304
1315
|
})
|
|
1305
1316
|
.pipe(map(caseDefinition => !caseDefinition.final));
|
|
1306
1317
|
}
|
|
1318
|
+
isDraftVersionBuildingBlock(buildingBlockDefinitionKey, buildingBlockDefinitionVersionTag) {
|
|
1319
|
+
if (!buildingBlockDefinitionKey || !buildingBlockDefinitionVersionTag) {
|
|
1320
|
+
return of(false);
|
|
1321
|
+
}
|
|
1322
|
+
return this.httpClient
|
|
1323
|
+
.get(this.getApiUrl(`management/v1/building-block/${buildingBlockDefinitionKey}/version/${buildingBlockDefinitionVersionTag}`), {
|
|
1324
|
+
headers: new HttpHeaders().set(InterceptorSkip, '403'),
|
|
1325
|
+
})
|
|
1326
|
+
.pipe(map(buildingBlockDefinition => !buildingBlockDefinition.final));
|
|
1327
|
+
}
|
|
1307
1328
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DraftVersionService, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1308
1329
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DraftVersionService, providedIn: 'root' }); }
|
|
1309
1330
|
}
|