@valtimo/shared 13.15.0 → 13.17.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.
@@ -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"
@@ -1009,6 +1017,15 @@
1009
1017
  "fieldType": "Field type",
1010
1018
  "fieldTypePlaceholder": "Enter a field type",
1011
1019
  "fieldTypeTooltip": "The field type decides the values the user can input. For the option 'Single', the user can only input a single value. For the option 'Range', the user may input two values, and these values, and all the values in between, are searched for.",
1020
+ "dropdownDataProvider": "Dropdown data source",
1021
+ "dropdownDataProviderPlaceholder": "Select a data source",
1022
+ "dropdownDataProviderTooltip": "The dropdown data source determines where the dropdown values come from.",
1023
+ "dropdownValues": "Dropdown values",
1024
+ "dropdownValueKey": "Value",
1025
+ "dropdownValueKeyPlaceholder": "Enter value",
1026
+ "dropdownValueValue": "Display",
1027
+ "dropdownValueValuePlaceholder": "Enter the display text",
1028
+ "addDropdownValue": "Add dropdown value",
1012
1029
  "add": "Add filter"
1013
1030
  },
1014
1031
  "displayConditions": {
@@ -1830,6 +1847,9 @@
1830
1847
  "Remove": "Remove",
1831
1848
  "Next": "Next",
1832
1849
  "Previous": "Previous",
1850
+ "Value Resolver": "Value Resolver",
1851
+ "Source key": "Source key",
1852
+ "Target key": "Target key",
1833
1853
  "formioIbanComponent": {"errorMessage": "Not a valid IBAN. Please enter a valid IBAN."},
1834
1854
  "formioCurrencyComponent": {
1835
1855
  "errorMessage": "Not a valid decimal number. Please enter a valid decimal number."
@@ -1844,6 +1864,7 @@
1844
1864
  "processLinkConfiguration": {
1845
1865
  "configureStep": "Configure process step",
1846
1866
  "modalTitle": "Process step: {{processStepName}}",
1867
+ "pluginConfiguration": "Plugin configuration: {{pluginConfigTitle}}",
1847
1868
  "chooseProcessLinkTypeDescription": "A process step can perform a variety of actions. Choose below to what type of action you would like to link this step.",
1848
1869
  "chooseFormDescription": "Choose the form that you want to link to the process step.",
1849
1870
  "chooseFormFlowDescription": "Choose the FormFlow that you want to link to the process step.",
@@ -2044,6 +2065,7 @@
2044
2065
  "stacktrace": "Stacktrace"
2045
2066
  },
2046
2067
  "setTaskDueDate": {
2068
+ "label": "Select date",
2047
2069
  "buttonText": "Set due date",
2048
2070
  "submitButtonText": "Set due date",
2049
2071
  "dueDateText": "Due date:",
@@ -2194,7 +2216,8 @@
2194
2216
  "listColumns": {
2195
2217
  "name": "Name",
2196
2218
  "key": "Key",
2197
- "versionTag": "Version"
2219
+ "versionTag": "Version",
2220
+ "draft": "Draft"
2198
2221
  },
2199
2222
  "detail": {
2200
2223
  "title": "Building block details"
@@ -2237,7 +2260,11 @@
2237
2260
  "tabs": {
2238
2261
  "general": "General",
2239
2262
  "document": "Document",
2240
- "processes": "Processes"
2263
+ "processes": "Processes",
2264
+ "forms": "Forms"
2265
+ },
2266
+ "formDefinition": {
2267
+ "name": "Name"
2241
2268
  },
2242
2269
  "metadata": {
2243
2270
  "title": "General information"
@@ -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"
@@ -1034,6 +1042,15 @@
1034
1042
  "fieldType": "Veldtype",
1035
1043
  "fieldTypePlaceholder": "Voer een veldtype in",
1036
1044
  "fieldTypeTooltip": "Het veldtype bepaalt de waarden die de gebruiker kan invoeren. Voor de optie 'Enkel' kan de gebruiker slechts één waarde invoeren. Bij de optie 'Reeks' kan de gebruiker twee waarden invoeren. Naar deze waarden, en alle waarden daartussen, wordt vervolgens gezocht.",
1045
+ "dropdownDataProvider": "Dropdown-databron",
1046
+ "dropdownDataProviderPlaceholder": "Kies een databron",
1047
+ "dropdownDataProviderTooltip": "De dropdown-databron bepaalt waar de waarden voor de dropdown vandaan komen.",
1048
+ "dropdownValues": "Dropdown-waarden",
1049
+ "dropdownValueKey": "Waarde",
1050
+ "dropdownValueKeyPlaceholder": "Voer een waarde in",
1051
+ "dropdownValueValue": "Weergave",
1052
+ "dropdownValueValuePlaceholder": "Voer de weergegeven tekst in",
1053
+ "addDropdownValue": "Dropdown-waarde toevoegen",
1037
1054
  "add": "Filter toevoegen"
1038
1055
  },
1039
1056
  "displayConditions": {
@@ -1860,6 +1877,9 @@
1860
1877
  "Remove": "Verwijderen",
1861
1878
  "Next": "Volgende",
1862
1879
  "Previous": "Vorige",
1880
+ "Value Resolver": "Value Resolver",
1881
+ "Source key": "Bronsleutel",
1882
+ "Target key": "Doelsleutel",
1863
1883
  "formioIbanComponent": {"errorMessage": "Geen geldige IBAN. Voer een geldige IBAN in."},
1864
1884
  "formioCurrencyComponent": {
1865
1885
  "errorMessage": "Geen geldig decimaal getal. Voer een geldig decimaal getal in."
@@ -1877,6 +1897,7 @@
1877
1897
  "processLinkConfiguration": {
1878
1898
  "configureStep": "Processtap configureren",
1879
1899
  "modalTitle": "Processtap: {{processStepName}}",
1900
+ "pluginConfiguration": "Plugin configuratie: {{pluginConfigTitle}}",
1880
1901
  "chooseProcessLinkTypeDescription": "Een processtap kan verschillende acties uitvoeren. Kies hieronder aan welk type actie je deze stap wilt koppelen.",
1881
1902
  "chooseFormDescription": "Kies hier het formulier dat je aan de processtap wilt koppelen.",
1882
1903
  "chooseFormFlowDescription": "Kies hier de FormFlow die je aan de processtap wilt koppelen.",
@@ -2077,6 +2098,7 @@
2077
2098
  "stacktrace": "Stacktrace"
2078
2099
  },
2079
2100
  "setTaskDueDate": {
2101
+ "label": "Selecteer datum",
2080
2102
  "buttonText": "Stel einddatum in",
2081
2103
  "submitButtonText": "Stel einddatum in",
2082
2104
  "dueDateText": "Einddatum:",
@@ -2227,7 +2249,8 @@
2227
2249
  "listColumns": {
2228
2250
  "name": "Naam",
2229
2251
  "key": "Sleutel",
2230
- "versionTag": "Versie"
2252
+ "versionTag": "Versie",
2253
+ "draft": "Concept"
2231
2254
  },
2232
2255
  "detail": {
2233
2256
  "title": "Bouwblokdetails"
@@ -2270,7 +2293,11 @@
2270
2293
  "tabs": {
2271
2294
  "general": "Algemeen",
2272
2295
  "document": "Document",
2273
- "processes": "Processen"
2296
+ "processes": "Processen",
2297
+ "forms": "Formulieren"
2298
+ },
2299
+ "formDefinition": {
2300
+ "name": "Naam"
2274
2301
  },
2275
2302
  "metadata": {
2276
2303
  "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.15.0',
1127
+ frontendLibraries: '13.17.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
  }