@treely/strapi-slices 8.2.3 → 8.2.5
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/dist/components/ProjectGridCardV2/ProjectGridCardV2.d.ts.map +1 -1
- package/dist/components/ProjectGridCardV2/messages.de.d.ts +11 -0
- package/dist/components/ProjectGridCardV2/messages.de.d.ts.map +1 -0
- package/dist/components/ProjectGridCardV2/messages.en.d.ts +11 -0
- package/dist/components/ProjectGridCardV2/messages.en.d.ts.map +1 -0
- package/dist/constants/slicesConfig.d.ts.map +1 -1
- package/dist/index.cjs +143 -94
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +146 -97
- package/dist/index.js.map +4 -4
- package/dist/models/fpm/FPMProject.d.ts +1 -0
- package/dist/models/fpm/FPMProject.d.ts.map +1 -1
- package/dist/rootMessages.de.d.ts +7 -0
- package/dist/rootMessages.de.d.ts.map +1 -1
- package/dist/rootMessages.en.d.ts +7 -0
- package/dist/rootMessages.en.d.ts.map +1 -1
- package/dist/slices/FactsWithProjectsMap/FactsWithProjectsMap.d.ts.map +1 -1
- package/dist/slices/HeroWithHighlights/HeroWithHighlights.d.ts +2 -1
- package/dist/slices/HeroWithHighlights/HeroWithHighlights.d.ts.map +1 -1
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts.map +1 -1
- package/dist/utils/getMessages.d.ts +14 -0
- package/dist/utils/getMessages.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -241,7 +241,8 @@ var EXTENDABLE_HEADER_SECTIONS = [
|
|
|
241
241
|
"sections.map-hero",
|
|
242
242
|
"sections.full-width-image",
|
|
243
243
|
"sections.small-hero",
|
|
244
|
-
"sections.small-hero-light"
|
|
244
|
+
"sections.small-hero-light",
|
|
245
|
+
"sections.hero-with-highlights"
|
|
245
246
|
];
|
|
246
247
|
var DARK_THEME_HEADER_SECTIONS = [
|
|
247
248
|
"sections.hero",
|
|
@@ -974,27 +975,39 @@ var messagesDe2 = {
|
|
|
974
975
|
};
|
|
975
976
|
var messages_de_default3 = messagesDe2;
|
|
976
977
|
|
|
977
|
-
// src/
|
|
978
|
+
// src/components/ProjectGridCardV2/messages.de.ts
|
|
978
979
|
var messagesDe3 = {
|
|
980
|
+
"components.projectGridCardV2.projectType.fnr": "Naturreservat",
|
|
981
|
+
"components.projectGridCardV2.projectType.ifm": "Nachhaltige Waldbewirtschaftung",
|
|
982
|
+
"components.projectGridCardV2.projectType.ifm-conservation": "Nachhaltige Waldbewirtschaftung",
|
|
983
|
+
"components.projectGridCardV2.projectType.ifm-removal": "Nachhaltige Waldbewirtschaftung",
|
|
984
|
+
"components.projectGridCardV2.projectType.ifm-removal-conservation": "Nachhaltige Waldbewirtschaftung",
|
|
985
|
+
"components.projectGridCardV2.projectType.arr": "Wiederaufforstung",
|
|
986
|
+
"components.projectGridCardV2.projectType.adaptation": "Waldumbau"
|
|
987
|
+
};
|
|
988
|
+
var messages_de_default4 = messagesDe3;
|
|
989
|
+
|
|
990
|
+
// src/slices/Cta/messages.de.ts
|
|
991
|
+
var messagesDe4 = {
|
|
979
992
|
"sections.cta.backgroundShapes": "Dunkle Hintergrundformen",
|
|
980
993
|
"sections.cta.backgroundShapesLight": "Helle Hintergrundformen"
|
|
981
994
|
};
|
|
982
|
-
var
|
|
995
|
+
var messages_de_default5 = messagesDe4;
|
|
983
996
|
|
|
984
997
|
// src/components/CustomerCard/messages.de.ts
|
|
985
|
-
var
|
|
998
|
+
var messagesDe5 = {
|
|
986
999
|
"sections.customerCard.more": "Weiterlesen"
|
|
987
1000
|
};
|
|
988
|
-
var
|
|
1001
|
+
var messages_de_default6 = messagesDe5;
|
|
989
1002
|
|
|
990
1003
|
// src/components/CustomerQuoteCard/messages.de.ts
|
|
991
|
-
var
|
|
1004
|
+
var messagesDe6 = {
|
|
992
1005
|
"sections.customerQuoteCard.more": "Weiterlesen"
|
|
993
1006
|
};
|
|
994
|
-
var
|
|
1007
|
+
var messages_de_default7 = messagesDe6;
|
|
995
1008
|
|
|
996
1009
|
// src/components/EventCard/messages.de.ts
|
|
997
|
-
var
|
|
1010
|
+
var messagesDe7 = {
|
|
998
1011
|
"sections.eventCard.recommendedEvent": "Empfohlene Veranstaltung",
|
|
999
1012
|
"sections.eventCard.buttonShowMore": "Mehr anzeigen",
|
|
1000
1013
|
"sections.eventCard.buttonShowLess": "Weniger anzeigen",
|
|
@@ -1008,10 +1021,10 @@ var messagesDe6 = {
|
|
|
1008
1021
|
"sections.eventCard.eventType.roadshow": "Roadshow",
|
|
1009
1022
|
"sections.eventCard.eventType.meetup": "Meet Up"
|
|
1010
1023
|
};
|
|
1011
|
-
var
|
|
1024
|
+
var messages_de_default8 = messagesDe7;
|
|
1012
1025
|
|
|
1013
1026
|
// src/slices/Events/messages.de.ts
|
|
1014
|
-
var
|
|
1027
|
+
var messagesDe8 = {
|
|
1015
1028
|
"sections.events.loadMore": "Mehr laden",
|
|
1016
1029
|
"sections.events.noUpcomingEvents": "Keine bevorstehenden Veranstaltungen gefunden",
|
|
1017
1030
|
"sections.events.noPastEvents": "Keine vergangenen Veranstaltungen gefunden",
|
|
@@ -1022,37 +1035,37 @@ var messagesDe7 = {
|
|
|
1022
1035
|
"sections.events.eventsFilter.sortBy.newest": "Neueste zuerst",
|
|
1023
1036
|
"sections.events.eventsFilter.sortBy.oldest": "\xC4lteste zuerst"
|
|
1024
1037
|
};
|
|
1025
|
-
var
|
|
1038
|
+
var messages_de_default9 = messagesDe8;
|
|
1026
1039
|
|
|
1027
1040
|
// src/slices/Glossary/messages.de.ts
|
|
1028
|
-
var
|
|
1041
|
+
var messagesDe9 = {
|
|
1029
1042
|
"sections.glossary.copyButtonLabel": "Kopiere den Link zu diesem Abschnitt in die Zwischenablage",
|
|
1030
1043
|
"sections.glossary.copySuccessMessage": "Link in die Zwischenablage kopiert",
|
|
1031
1044
|
"sections.glossary.copyFailureMessage": "Link konnte nicht in die Zwischenablage kopiert werden"
|
|
1032
1045
|
};
|
|
1033
|
-
var
|
|
1046
|
+
var messages_de_default10 = messagesDe9;
|
|
1034
1047
|
|
|
1035
1048
|
// src/components/portfolio/DocumentsDownloadList/messages.de.ts
|
|
1036
|
-
var
|
|
1049
|
+
var messagesDe10 = {
|
|
1037
1050
|
"features.portfolio.documentsDownloadList.projectDocuments": "Projektdokumente",
|
|
1038
1051
|
"features.portfolio.documentsDownloadList.downloadDocument": "Dokument herunterladen"
|
|
1039
1052
|
};
|
|
1040
|
-
var
|
|
1053
|
+
var messages_de_default11 = messagesDe10;
|
|
1041
1054
|
|
|
1042
1055
|
// src/slices/ProjectFacts/messages.de.ts
|
|
1043
|
-
var
|
|
1056
|
+
var messagesDe11 = {
|
|
1044
1057
|
"sections.projectFacts.projectInfo.value": "Projekt Infos"
|
|
1045
1058
|
};
|
|
1046
|
-
var
|
|
1059
|
+
var messages_de_default12 = messagesDe11;
|
|
1047
1060
|
|
|
1048
1061
|
// src/slices/ProjectsMap/messages.de.ts
|
|
1049
|
-
var
|
|
1062
|
+
var messagesDe12 = {
|
|
1050
1063
|
"sections.projectsMap.link.text": "Mehr Infos"
|
|
1051
1064
|
};
|
|
1052
|
-
var
|
|
1065
|
+
var messages_de_default13 = messagesDe12;
|
|
1053
1066
|
|
|
1054
1067
|
// src/components/portfolio/ProjectInfo/messages.de.ts
|
|
1055
|
-
var
|
|
1068
|
+
var messagesDe13 = {
|
|
1056
1069
|
"features.projectInfo.projectInfo.value": "Projekt Infos",
|
|
1057
1070
|
"features.projectInfo.properties.area": "Projekt Fl\xE4che",
|
|
1058
1071
|
"features.projectInfo.properties.location": "Standort",
|
|
@@ -1068,10 +1081,10 @@ var messagesDe12 = {
|
|
|
1068
1081
|
"features.projectInfo.properties.riskBuffer": "Anteil Risikopuffer",
|
|
1069
1082
|
"features.projectInfo.properties.year": "{years} {years, plural, one {Jahr} other {Jahre} }"
|
|
1070
1083
|
};
|
|
1071
|
-
var
|
|
1084
|
+
var messages_de_default14 = messagesDe13;
|
|
1072
1085
|
|
|
1073
1086
|
// src/components/portfolio/SmallCheckout/messages.de.ts
|
|
1074
|
-
var
|
|
1087
|
+
var messagesDe14 = {
|
|
1075
1088
|
"portfolio.smallCheckout.price.taxNotIncluded": "ohne Steuern",
|
|
1076
1089
|
"portfolio.smallCheckout.price.taxIncluded": "Preis inklusive Steuern: {number}",
|
|
1077
1090
|
"portfolio.smallCheckout.contributionValueCurrency.label.CHF": "Geben Sie den Beitrag in Fr. ein",
|
|
@@ -1085,10 +1098,10 @@ var messagesDe13 = {
|
|
|
1085
1098
|
"portfolio.smallCheckout.contributionValueTons.label": "Beitrag in Tonnen",
|
|
1086
1099
|
"portfolio.smallCheckout.submitButton": "Credits kaufen"
|
|
1087
1100
|
};
|
|
1088
|
-
var
|
|
1101
|
+
var messages_de_default15 = messagesDe14;
|
|
1089
1102
|
|
|
1090
1103
|
// src/slices/ShopCheckout/messages.de.ts
|
|
1091
|
-
var
|
|
1104
|
+
var messagesDe15 = {
|
|
1092
1105
|
"sections.shopCheckout.intro.price": "Preis",
|
|
1093
1106
|
"sections.shopCheckout.contributionValue.label.EUR": "Geben sie einen Betrag in \u20AC ein",
|
|
1094
1107
|
"sections.shopCheckout.contributionValue.label.CHF": "Geben sie einen Betrag in CHF ein",
|
|
@@ -1104,21 +1117,21 @@ var messagesDe14 = {
|
|
|
1104
1117
|
"sections.shopCheckout.summary.price.taxIncluded": "Preis inklusive Steuern: {number}",
|
|
1105
1118
|
"sections.shopCheckout.submit": "Kaufen"
|
|
1106
1119
|
};
|
|
1107
|
-
var
|
|
1120
|
+
var messages_de_default16 = messagesDe15;
|
|
1108
1121
|
|
|
1109
1122
|
// src/slices/TextCarousel/messages.de.ts
|
|
1110
|
-
var
|
|
1123
|
+
var messagesDe16 = {
|
|
1111
1124
|
"sections.textCarousel.moveRight": "Nach rechts bewegen",
|
|
1112
1125
|
"sections.textCarousel.moveLeft": "Nach links bewegen"
|
|
1113
1126
|
};
|
|
1114
|
-
var
|
|
1127
|
+
var messages_de_default17 = messagesDe16;
|
|
1115
1128
|
|
|
1116
1129
|
// src/slices/Timeline/messages.de.ts
|
|
1117
|
-
var
|
|
1130
|
+
var messagesDe17 = {
|
|
1118
1131
|
"sections.timeline.backgroundShapes": "Hintergrundformen",
|
|
1119
1132
|
"sections.timeline.showMoreButton": "Drei weitere Meilensteine anzeigen"
|
|
1120
1133
|
};
|
|
1121
|
-
var
|
|
1134
|
+
var messages_de_default18 = messagesDe17;
|
|
1122
1135
|
|
|
1123
1136
|
// src/unit.messages.de.ts
|
|
1124
1137
|
var unitMessagesDe = {
|
|
@@ -1134,24 +1147,25 @@ var rootMessagesDe = {
|
|
|
1134
1147
|
//
|
|
1135
1148
|
...messages_de_default2,
|
|
1136
1149
|
...messages_de_default3,
|
|
1137
|
-
...
|
|
1138
|
-
...
|
|
1139
|
-
...
|
|
1150
|
+
...messages_de_default8,
|
|
1151
|
+
...messages_de_default4,
|
|
1152
|
+
...messages_de_default11,
|
|
1140
1153
|
...messages_de_default14,
|
|
1154
|
+
...messages_de_default15,
|
|
1141
1155
|
//
|
|
1142
1156
|
// Slices
|
|
1143
1157
|
//
|
|
1144
1158
|
...messages_de_default,
|
|
1145
|
-
...messages_de_default4,
|
|
1146
1159
|
...messages_de_default5,
|
|
1147
1160
|
...messages_de_default6,
|
|
1148
|
-
...
|
|
1161
|
+
...messages_de_default7,
|
|
1149
1162
|
...messages_de_default9,
|
|
1150
|
-
...
|
|
1163
|
+
...messages_de_default10,
|
|
1151
1164
|
...messages_de_default12,
|
|
1152
|
-
...
|
|
1165
|
+
...messages_de_default13,
|
|
1153
1166
|
...messages_de_default16,
|
|
1154
1167
|
...messages_de_default17,
|
|
1168
|
+
...messages_de_default18,
|
|
1155
1169
|
//
|
|
1156
1170
|
// Units
|
|
1157
1171
|
//
|
|
@@ -1180,27 +1194,39 @@ var messagesEn2 = {
|
|
|
1180
1194
|
};
|
|
1181
1195
|
var messages_en_default3 = messagesEn2;
|
|
1182
1196
|
|
|
1183
|
-
// src/
|
|
1197
|
+
// src/components/ProjectGridCardV2/messages.en.ts
|
|
1184
1198
|
var messagesEn3 = {
|
|
1199
|
+
"components.projectGridCardV2.projectType.fnr": "Nature Reserve",
|
|
1200
|
+
"components.projectGridCardV2.projectType.ifm": "Improved Forest Management",
|
|
1201
|
+
"components.projectGridCardV2.projectType.ifm-conservation": "Improved Forest Management",
|
|
1202
|
+
"components.projectGridCardV2.projectType.ifm-removal": "Improved Forest Management",
|
|
1203
|
+
"components.projectGridCardV2.projectType.ifm-removal-conservation": "Improved Forest Management",
|
|
1204
|
+
"components.projectGridCardV2.projectType.arr": "Reforestation",
|
|
1205
|
+
"components.projectGridCardV2.projectType.adaptation": "Forest Adaptation"
|
|
1206
|
+
};
|
|
1207
|
+
var messages_en_default4 = messagesEn3;
|
|
1208
|
+
|
|
1209
|
+
// src/slices/Cta/messages.en.ts
|
|
1210
|
+
var messagesEn4 = {
|
|
1185
1211
|
"sections.cta.backgroundShapesDark": "Dark background shapes",
|
|
1186
1212
|
"sections.cta.backgroundShapesLight": "Light background shapes"
|
|
1187
1213
|
};
|
|
1188
|
-
var
|
|
1214
|
+
var messages_en_default5 = messagesEn4;
|
|
1189
1215
|
|
|
1190
1216
|
// src/components/CustomerCard/messages.en.ts
|
|
1191
|
-
var
|
|
1217
|
+
var messagesEn5 = {
|
|
1192
1218
|
"sections.customerCard.more": "Read more"
|
|
1193
1219
|
};
|
|
1194
|
-
var
|
|
1220
|
+
var messages_en_default6 = messagesEn5;
|
|
1195
1221
|
|
|
1196
1222
|
// src/components/CustomerQuoteCard/messages.en.ts
|
|
1197
|
-
var
|
|
1223
|
+
var messagesEn6 = {
|
|
1198
1224
|
"sections.customerQuoteCard.more": "Read more"
|
|
1199
1225
|
};
|
|
1200
|
-
var
|
|
1226
|
+
var messages_en_default7 = messagesEn6;
|
|
1201
1227
|
|
|
1202
1228
|
// src/components/EventCard/messages.en.ts
|
|
1203
|
-
var
|
|
1229
|
+
var messagesEn7 = {
|
|
1204
1230
|
"sections.eventCard.recommendedEvent": "Recommended Event",
|
|
1205
1231
|
"sections.eventCard.buttonShowMore": "Show More",
|
|
1206
1232
|
"sections.eventCard.buttonShowLess": "Show Less",
|
|
@@ -1214,10 +1240,10 @@ var messagesEn6 = {
|
|
|
1214
1240
|
"sections.eventCard.eventType.roadshow": "Roadshow",
|
|
1215
1241
|
"sections.eventCard.eventType.meetup": "Meet Up"
|
|
1216
1242
|
};
|
|
1217
|
-
var
|
|
1243
|
+
var messages_en_default8 = messagesEn7;
|
|
1218
1244
|
|
|
1219
1245
|
// src/slices/Events/messages.en.ts
|
|
1220
|
-
var
|
|
1246
|
+
var messagesDe18 = {
|
|
1221
1247
|
"sections.events.loadMore": "Load more",
|
|
1222
1248
|
"sections.events.noUpcomingEvents": "No upcoming events found",
|
|
1223
1249
|
"sections.events.noPastEvents": "No past events found",
|
|
@@ -1228,37 +1254,37 @@ var messagesDe17 = {
|
|
|
1228
1254
|
"sections.events.eventsFilter.sortBy.newest": "Newest first",
|
|
1229
1255
|
"sections.events.eventsFilter.sortBy.oldest": "Oldest first"
|
|
1230
1256
|
};
|
|
1231
|
-
var
|
|
1257
|
+
var messages_en_default9 = messagesDe18;
|
|
1232
1258
|
|
|
1233
1259
|
// src/slices/Glossary/messages.en.ts
|
|
1234
|
-
var
|
|
1260
|
+
var messagesEn8 = {
|
|
1235
1261
|
"sections.glossary.copyButtonLabel": "Copy a link to this section to your clipboard",
|
|
1236
1262
|
"sections.glossary.copySuccessMessage": "Copied the link to your clipboard",
|
|
1237
1263
|
"sections.glossary.copyFailureMessage": "Could not copy link to clipboard"
|
|
1238
1264
|
};
|
|
1239
|
-
var
|
|
1265
|
+
var messages_en_default10 = messagesEn8;
|
|
1240
1266
|
|
|
1241
1267
|
// src/components/portfolio/DocumentsDownloadList/messages.en.ts
|
|
1242
|
-
var
|
|
1268
|
+
var messagesEn9 = {
|
|
1243
1269
|
"features.portfolio.documentsDownloadList.projectDocuments": "Project documents",
|
|
1244
1270
|
"features.portfolio.documentsDownloadList.downloadDocument": "Download document"
|
|
1245
1271
|
};
|
|
1246
|
-
var
|
|
1272
|
+
var messages_en_default11 = messagesEn9;
|
|
1247
1273
|
|
|
1248
1274
|
// src/slices/ProjectFacts/messages.en.ts
|
|
1249
|
-
var
|
|
1275
|
+
var messagesEn10 = {
|
|
1250
1276
|
"sections.projectFacts.projectInfo.value": "Project Infos"
|
|
1251
1277
|
};
|
|
1252
|
-
var
|
|
1278
|
+
var messages_en_default12 = messagesEn10;
|
|
1253
1279
|
|
|
1254
1280
|
// src/slices/ProjectsMap/messages.en.ts
|
|
1255
|
-
var
|
|
1281
|
+
var messagesEn11 = {
|
|
1256
1282
|
"sections.projectsMap.link.text": "Show more info"
|
|
1257
1283
|
};
|
|
1258
|
-
var
|
|
1284
|
+
var messages_en_default13 = messagesEn11;
|
|
1259
1285
|
|
|
1260
1286
|
// src/components/portfolio/ProjectInfo/messages.en.ts
|
|
1261
|
-
var
|
|
1287
|
+
var messagesEn12 = {
|
|
1262
1288
|
"features.projectInfo.projectInfo.value": "Project Infos",
|
|
1263
1289
|
"features.projectInfo.properties.area": "Project Area",
|
|
1264
1290
|
"features.projectInfo.properties.location": "Location",
|
|
@@ -1274,10 +1300,10 @@ var messagesEn11 = {
|
|
|
1274
1300
|
"features.projectInfo.properties.riskBuffer": "Risk Buffer Share",
|
|
1275
1301
|
"features.projectInfo.properties.year": "{years} {years, plural, one {year} other {years} }"
|
|
1276
1302
|
};
|
|
1277
|
-
var
|
|
1303
|
+
var messages_en_default14 = messagesEn12;
|
|
1278
1304
|
|
|
1279
1305
|
// src/components/portfolio/SmallCheckout/messages.en.ts
|
|
1280
|
-
var
|
|
1306
|
+
var messagesEn13 = {
|
|
1281
1307
|
"portfolio.smallCheckout.price.taxNotIncluded": "not including tax",
|
|
1282
1308
|
"portfolio.smallCheckout.price.taxIncluded": "Price including tax: {number}",
|
|
1283
1309
|
"portfolio.smallCheckout.contributionValueCurrency.label.CHF": "Contribution Amount in CHF",
|
|
@@ -1291,10 +1317,10 @@ var messagesEn12 = {
|
|
|
1291
1317
|
"portfolio.smallCheckout.contributionValueTons.label": "Contribution Amount in Tons",
|
|
1292
1318
|
"portfolio.smallCheckout.submitButton": "Buy credits"
|
|
1293
1319
|
};
|
|
1294
|
-
var
|
|
1320
|
+
var messages_en_default15 = messagesEn13;
|
|
1295
1321
|
|
|
1296
1322
|
// src/slices/ShopCheckout/messages.en.ts
|
|
1297
|
-
var
|
|
1323
|
+
var messagesEn14 = {
|
|
1298
1324
|
"sections.shopCheckout.intro.price": "Price",
|
|
1299
1325
|
"sections.shopCheckout.contributionValue.label.EUR": "Enter contribution value in \u20AC",
|
|
1300
1326
|
"sections.shopCheckout.contributionValue.label.CHF": "Enter contribution value in CHF",
|
|
@@ -1310,21 +1336,21 @@ var messagesEn13 = {
|
|
|
1310
1336
|
"sections.shopCheckout.summary.price.taxIncluded": "Price including tax: {number}",
|
|
1311
1337
|
"sections.shopCheckout.submit": "Checkout"
|
|
1312
1338
|
};
|
|
1313
|
-
var
|
|
1339
|
+
var messages_en_default16 = messagesEn14;
|
|
1314
1340
|
|
|
1315
1341
|
// src/slices/TextCarousel/messages.en.ts
|
|
1316
|
-
var
|
|
1342
|
+
var messagesDe19 = {
|
|
1317
1343
|
"sections.textCarousel.moveRight": "Move right",
|
|
1318
1344
|
"sections.textCarousel.moveLeft": "Move left"
|
|
1319
1345
|
};
|
|
1320
|
-
var
|
|
1346
|
+
var messages_en_default17 = messagesDe19;
|
|
1321
1347
|
|
|
1322
1348
|
// src/slices/Timeline/messages.en.ts
|
|
1323
|
-
var
|
|
1349
|
+
var messagesEn15 = {
|
|
1324
1350
|
"sections.timeline.backgroundShapes": "Background shapes",
|
|
1325
1351
|
"sections.timeline.showMoreButton": "Show three more milestones"
|
|
1326
1352
|
};
|
|
1327
|
-
var
|
|
1353
|
+
var messages_en_default18 = messagesEn15;
|
|
1328
1354
|
|
|
1329
1355
|
// src/unit.messages.en.ts
|
|
1330
1356
|
var unitMessagesEn = {
|
|
@@ -1340,24 +1366,25 @@ var rootMessagesEn = {
|
|
|
1340
1366
|
//
|
|
1341
1367
|
...messages_en_default2,
|
|
1342
1368
|
...messages_en_default3,
|
|
1343
|
-
...
|
|
1344
|
-
...
|
|
1345
|
-
...
|
|
1369
|
+
...messages_en_default8,
|
|
1370
|
+
...messages_en_default4,
|
|
1371
|
+
...messages_en_default11,
|
|
1346
1372
|
...messages_en_default14,
|
|
1373
|
+
...messages_en_default15,
|
|
1347
1374
|
//
|
|
1348
1375
|
// Slices
|
|
1349
1376
|
//
|
|
1350
1377
|
...messages_en_default,
|
|
1351
|
-
...messages_en_default4,
|
|
1352
1378
|
...messages_en_default5,
|
|
1353
1379
|
...messages_en_default6,
|
|
1354
|
-
...
|
|
1380
|
+
...messages_en_default7,
|
|
1355
1381
|
...messages_en_default9,
|
|
1356
|
-
...
|
|
1382
|
+
...messages_en_default10,
|
|
1357
1383
|
...messages_en_default12,
|
|
1358
|
-
...
|
|
1384
|
+
...messages_en_default13,
|
|
1359
1385
|
...messages_en_default16,
|
|
1360
1386
|
...messages_en_default17,
|
|
1387
|
+
...messages_en_default18,
|
|
1361
1388
|
//
|
|
1362
1389
|
// Units
|
|
1363
1390
|
//
|
|
@@ -4156,10 +4183,18 @@ var getCountryFlag_default = getCountryFlag;
|
|
|
4156
4183
|
|
|
4157
4184
|
// src/components/ProjectGridCardV2/ProjectGridCardV2.tsx
|
|
4158
4185
|
import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4186
|
+
var getProjectTypeLabel = (projectType, formatMessage) => {
|
|
4187
|
+
if (!projectType.key) {
|
|
4188
|
+
return projectType.title;
|
|
4189
|
+
}
|
|
4190
|
+
const translationKey = `components.projectGridCardV2.projectType.${projectType.key}`;
|
|
4191
|
+
const translated = formatMessage({ id: translationKey });
|
|
4192
|
+
return translated === translationKey ? projectType.title : translated;
|
|
4193
|
+
};
|
|
4159
4194
|
var ProjectGridCardV2 = ({
|
|
4160
4195
|
project
|
|
4161
4196
|
}) => {
|
|
4162
|
-
const { formatNumber } = useContext12(IntlContext);
|
|
4197
|
+
const { formatNumber, formatMessage } = useContext12(IntlContext);
|
|
4163
4198
|
return /* @__PURE__ */ jsx32(Box23, { height: "full", borderRadius: "lg", boxShadow: "sm", overflow: "hidden", children: /* @__PURE__ */ jsxs28(Flex14, { flexDir: "column", height: "full", children: [
|
|
4164
4199
|
/* @__PURE__ */ jsxs28(Box23, { position: "relative", height: "56", children: [
|
|
4165
4200
|
project.thumbnail && /* @__PURE__ */ jsx32(
|
|
@@ -4173,7 +4208,7 @@ var ProjectGridCardV2 = ({
|
|
|
4173
4208
|
}
|
|
4174
4209
|
}
|
|
4175
4210
|
),
|
|
4176
|
-
project.projectType
|
|
4211
|
+
project.projectType && /* @__PURE__ */ jsx32(Box23, { position: "absolute", top: "4", left: "4", children: /* @__PURE__ */ jsx32(BoemlyTag5, { backgroundColor: "gray.900", borderRadius: "full", children: /* @__PURE__ */ jsx32(Text12, { size: "smRegularNormalBold", color: "white", children: getProjectTypeLabel(project.projectType, formatMessage) }) }) }),
|
|
4177
4212
|
/* @__PURE__ */ jsxs28(
|
|
4178
4213
|
Flex14,
|
|
4179
4214
|
{
|
|
@@ -4244,7 +4279,7 @@ var ProjectsGridV2 = ({
|
|
|
4244
4279
|
(strapiProject) => strapiProject.attributes.fpmProjectId === fpmProject.id
|
|
4245
4280
|
)
|
|
4246
4281
|
);
|
|
4247
|
-
return /* @__PURE__ */ jsx33(DefaultSectionContainer16, { children: /* @__PURE__ */ jsx33(Wrapper21, { children: /* @__PURE__ */ jsx33(SimpleGrid11, { columns: [1, null, 2, 3
|
|
4282
|
+
return /* @__PURE__ */ jsx33(DefaultSectionContainer16, { children: /* @__PURE__ */ jsx33(Wrapper21, { children: /* @__PURE__ */ jsx33(SimpleGrid11, { columns: [1, null, 2, 3], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ jsx33(
|
|
4248
4283
|
ConditionalWrapper2,
|
|
4249
4284
|
{
|
|
4250
4285
|
condition: !!project.slug,
|
|
@@ -4260,7 +4295,7 @@ var ProjectsGridV2 = ({
|
|
|
4260
4295
|
Box24,
|
|
4261
4296
|
{
|
|
4262
4297
|
height: "full",
|
|
4263
|
-
borderRadius: "
|
|
4298
|
+
borderRadius: "lg",
|
|
4264
4299
|
transition: `box-shadow ease ${MEDIUM_TRANSITION_DURATION}s`,
|
|
4265
4300
|
_hover: { boxShadow: "lg" },
|
|
4266
4301
|
children: /* @__PURE__ */ jsx33(ProjectGridCardV2_default, { project })
|
|
@@ -5336,7 +5371,7 @@ var ProjectsMap = ({
|
|
|
5336
5371
|
const bounds = new mapboxgl.LngLatBounds([west, south], [east, north]);
|
|
5337
5372
|
const center = bounds.getCenter();
|
|
5338
5373
|
initialCenter = [center.lng, center.lat];
|
|
5339
|
-
initialZoom = 6;
|
|
5374
|
+
initialZoom = slice.defaultZoomLevel ?? 6;
|
|
5340
5375
|
}
|
|
5341
5376
|
map.current = new mapboxgl.Map({
|
|
5342
5377
|
container: mapContainer.current,
|
|
@@ -5349,12 +5384,6 @@ var ProjectsMap = ({
|
|
|
5349
5384
|
map.current.addControl(new mapboxgl.NavigationControl(), "top-right");
|
|
5350
5385
|
map.current.on("load", () => {
|
|
5351
5386
|
setIsMapReady(true);
|
|
5352
|
-
if (!(slice.defaultCenterCoordinates && slice.defaultZoomLevel)) {
|
|
5353
|
-
const bbox = initialBboxRef.current || FALLBACK_BBOX;
|
|
5354
|
-
const [west, south, east, north] = bbox.split(",").map(Number);
|
|
5355
|
-
const bounds = new mapboxgl.LngLatBounds([west, south], [east, north]);
|
|
5356
|
-
map.current?.fitBounds(bounds, { padding: 20 });
|
|
5357
|
-
}
|
|
5358
5387
|
});
|
|
5359
5388
|
map.current.on("moveend", () => {
|
|
5360
5389
|
if (initialBboxRef.current) {
|
|
@@ -5403,12 +5432,11 @@ var ProjectsMap = ({
|
|
|
5403
5432
|
if (map.current) {
|
|
5404
5433
|
map.current.easeTo({
|
|
5405
5434
|
center: [userLoc.lon, userLoc.lat],
|
|
5406
|
-
zoom: 10,
|
|
5435
|
+
zoom: slice.defaultZoomLevel ?? 10,
|
|
5407
5436
|
duration: 1500
|
|
5408
5437
|
});
|
|
5409
5438
|
const buffer = 1;
|
|
5410
5439
|
const bbox = `${userLoc.lon - buffer},${userLoc.lat - buffer},${userLoc.lon + buffer},${userLoc.lat + buffer}`;
|
|
5411
|
-
initialBboxRef.current = bbox;
|
|
5412
5440
|
fetchProjectsData(bbox);
|
|
5413
5441
|
}
|
|
5414
5442
|
},
|
|
@@ -6628,7 +6656,7 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
|
6628
6656
|
Heading13,
|
|
6629
6657
|
{
|
|
6630
6658
|
fontSize: "6xl",
|
|
6631
|
-
fontFamily: "
|
|
6659
|
+
fontFamily: "mono",
|
|
6632
6660
|
lineHeight: "10",
|
|
6633
6661
|
fontWeight: "700",
|
|
6634
6662
|
color: FACTS_COLOR_VARIANTS[slice.variant].factValueColor,
|
|
@@ -9122,7 +9150,7 @@ var Events = ({ slice }) => {
|
|
|
9122
9150
|
var Events_default = Events;
|
|
9123
9151
|
|
|
9124
9152
|
// src/slices/HeroWithHighlights/HeroWithHighlights.tsx
|
|
9125
|
-
import { Box as Box48,
|
|
9153
|
+
import { Box as Box48, Heading as Heading24, Text as Text29, Wrapper as Wrapper37 } from "boemly";
|
|
9126
9154
|
import { jsx as jsx60, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
9127
9155
|
var parseTitle = (title) => {
|
|
9128
9156
|
const parts = [];
|
|
@@ -9134,8 +9162,24 @@ var parseTitle = (title) => {
|
|
|
9134
9162
|
return parts;
|
|
9135
9163
|
};
|
|
9136
9164
|
var VARIANTS5 = {
|
|
9137
|
-
white: { backgroundColor: "white", titleColor: "
|
|
9138
|
-
gray: { backgroundColor: "primary.50", titleColor: "
|
|
9165
|
+
white: { backgroundColor: "white", titleColor: "primary.900" },
|
|
9166
|
+
gray: { backgroundColor: "primary.50", titleColor: "primary.900" }
|
|
9167
|
+
};
|
|
9168
|
+
var getMobileSize = (size) => {
|
|
9169
|
+
const sizeMap = {
|
|
9170
|
+
"7xl": "4xl",
|
|
9171
|
+
"6xl": "3xl",
|
|
9172
|
+
"5xl": "2xl",
|
|
9173
|
+
"4xl": "xl",
|
|
9174
|
+
"3xl": "lg",
|
|
9175
|
+
"2xl": "md",
|
|
9176
|
+
"xl": "sm",
|
|
9177
|
+
"lg": "xs",
|
|
9178
|
+
"md": "xs",
|
|
9179
|
+
"sm": "xs",
|
|
9180
|
+
"xs": "xs"
|
|
9181
|
+
};
|
|
9182
|
+
return sizeMap[size];
|
|
9139
9183
|
};
|
|
9140
9184
|
var HeroWithHighlights = ({
|
|
9141
9185
|
slice
|
|
@@ -9143,21 +9187,27 @@ var HeroWithHighlights = ({
|
|
|
9143
9187
|
const parts = parseTitle(slice.title);
|
|
9144
9188
|
const variant = slice.variant || "white";
|
|
9145
9189
|
const textAlign = slice.textAlign || "left";
|
|
9190
|
+
const desktopSize = slice.headingSize || "3xl";
|
|
9191
|
+
const mobileSize = getMobileSize(desktopSize);
|
|
9146
9192
|
return /* @__PURE__ */ jsx60(
|
|
9147
|
-
|
|
9193
|
+
Box48,
|
|
9148
9194
|
{
|
|
9195
|
+
position: "relative",
|
|
9196
|
+
width: "full",
|
|
9149
9197
|
backgroundColor: VARIANTS5[variant].backgroundColor,
|
|
9150
|
-
|
|
9198
|
+
paddingTop: "var(--boemly-spacing-48)",
|
|
9199
|
+
paddingBottom: "var(--boemly-spacing-16)",
|
|
9151
9200
|
children: /* @__PURE__ */ jsxs51(Wrapper37, { children: [
|
|
9152
9201
|
/* @__PURE__ */ jsx60(
|
|
9153
9202
|
Heading24,
|
|
9154
9203
|
{
|
|
9155
9204
|
as: slice.headingLevel || "h1",
|
|
9156
|
-
size: [
|
|
9205
|
+
size: [mobileSize, desktopSize],
|
|
9157
9206
|
color: VARIANTS5[variant].titleColor,
|
|
9158
9207
|
lineHeight: "1.3",
|
|
9159
9208
|
fontWeight: "600",
|
|
9160
9209
|
textAlign,
|
|
9210
|
+
colorPalette: VARIANTS5[variant].titleColor,
|
|
9161
9211
|
children: parts.map(
|
|
9162
9212
|
(part, i) => part.highlighted ? /* @__PURE__ */ jsx60(Box48, { as: "span", px: "2", backgroundColor: "primary.500", children: part.text }, i) : part.text
|
|
9163
9213
|
)
|
|
@@ -9166,8 +9216,8 @@ var HeroWithHighlights = ({
|
|
|
9166
9216
|
slice.subTitle && /* @__PURE__ */ jsx60(
|
|
9167
9217
|
Text29,
|
|
9168
9218
|
{
|
|
9169
|
-
|
|
9170
|
-
color:
|
|
9219
|
+
fontSize: "18px",
|
|
9220
|
+
color: VARIANTS5[variant].titleColor,
|
|
9171
9221
|
mt: "4",
|
|
9172
9222
|
textAlign,
|
|
9173
9223
|
children: slice.subTitle
|
|
@@ -9224,7 +9274,7 @@ var Redirect_default = Redirect;
|
|
|
9224
9274
|
// src/slices/FactsWithProjectsMap/FactsWithProjectsMap.tsx
|
|
9225
9275
|
import {
|
|
9226
9276
|
Box as Box49,
|
|
9227
|
-
DefaultSectionContainer as
|
|
9277
|
+
DefaultSectionContainer as DefaultSectionContainer34,
|
|
9228
9278
|
DefaultSectionHeader as DefaultSectionHeader24,
|
|
9229
9279
|
Flex as Flex33,
|
|
9230
9280
|
Heading as Heading25,
|
|
@@ -9238,11 +9288,10 @@ var FactsWithProjectsMap = ({
|
|
|
9238
9288
|
const colorVariant = FACTS_COLOR_VARIANTS[slice.variant] || FACTS_COLOR_VARIANTS.green;
|
|
9239
9289
|
const alignFacts = slice.alignFacts || "center";
|
|
9240
9290
|
return /* @__PURE__ */ jsx62(
|
|
9241
|
-
|
|
9291
|
+
DefaultSectionContainer34,
|
|
9242
9292
|
{
|
|
9243
9293
|
backgroundColor: colorVariant.backgroundColor,
|
|
9244
9294
|
title: slice.title,
|
|
9245
|
-
paddingY: "8",
|
|
9246
9295
|
children: /* @__PURE__ */ jsxs52(Wrapper38, { children: [
|
|
9247
9296
|
slice.title && /* @__PURE__ */ jsx62(
|
|
9248
9297
|
DefaultSectionHeader24,
|
|
@@ -9292,7 +9341,7 @@ var FactsWithProjectsMap = ({
|
|
|
9292
9341
|
{
|
|
9293
9342
|
textAlign: ["center", "center", "center", alignFacts],
|
|
9294
9343
|
fontSize: "5xl",
|
|
9295
|
-
fontFamily: "
|
|
9344
|
+
fontFamily: "mono",
|
|
9296
9345
|
lineHeight: "1.1",
|
|
9297
9346
|
fontWeight: "700",
|
|
9298
9347
|
color: colorVariant.factValueColor,
|