@mrfylke/contact-form 0.1.26 → 0.1.28
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/lib/components/form/date-selector.d.ts.map +1 -1
- package/lib/components/form/date-selector.js +2 -1
- package/lib/components/form/time-selector.d.ts.map +1 -1
- package/lib/components/form/time-selector.js +2 -1
- package/lib/components/icon/generated-icons.d.ts +6 -6
- package/lib/components/icon/generated-icons.js +86 -86
- package/lib/group-travel/index.d.ts.map +1 -1
- package/lib/group-travel/index.js +6 -1
- package/lib/lost-property-external/index.d.ts.map +1 -1
- package/lib/lost-property-external/index.js +6 -1
- package/lib/refund/events.d.ts +1 -1
- package/lib/refund/events.d.ts.map +1 -1
- package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts.map +1 -1
- package/lib/refund/forms/refund-and-travel-guarantee/index.js +7 -3
- package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.js +7 -7
- package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts.map +1 -1
- package/lib/refund/forms/refund-ticket/otherTicketRefund.js +1 -3
- package/lib/refund/refundFormMachine.d.ts +7 -2
- package/lib/refund/refundFormMachine.d.ts.map +1 -1
- package/lib/refund/refundFormMachine.js +8 -3
- package/lib/ticket-control/ticket-control-form-machine.d.ts +1 -0
- package/lib/ticket-control/ticket-control-form-machine.d.ts.map +1 -1
- package/lib/ticket-control/ticket-control-form-machine.js +1 -0
- package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts.map +1 -1
- package/lib/ticketing/forms/travel-card/orderTravelCard.js +9 -4
- package/lib/ticketing/index.d.ts.map +1 -1
- package/lib/ticketing/index.js +7 -2
- package/lib/translations/pages/contact.d.ts.map +1 -1
- package/lib/translations/pages/contact.js +10 -26
- package/lib/types/submit-payloads.d.ts +2 -0
- package/lib/types/submit-payloads.d.ts.map +1 -1
- package/lib/types.d.ts +1 -5
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +0 -4
- package/lib/utils.d.ts +2 -0
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +10 -0
- package/lib/validation/validationRules.d.ts.map +1 -1
- package/lib/validation/validationRules.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-selector.d.ts","sourceRoot":"","sources":["../../../src/components/form/date-selector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-selector.d.ts","sourceRoot":"","sources":["../../../src/components/form/date-selector.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,oBAAoB,CAAC;AAItE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,EAAE,EACF,KAAK,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,QAAQ,GACT,EAAE,iBAAiB,+BA0EnB"}
|
|
@@ -7,6 +7,7 @@ exports.default = DateSelector;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const form_module_css_1 = __importDefault(require("./form.module.css"));
|
|
9
9
|
const date_1 = require("@internationalized/date");
|
|
10
|
+
const react_1 = require("react");
|
|
10
11
|
const react_aria_components_1 = require("react-aria-components");
|
|
11
12
|
const form_component_label_1 = __importDefault(require("./form-component-label"));
|
|
12
13
|
const translations_1 = require("../../translations");
|
|
@@ -14,7 +15,7 @@ const icon_1 = require("../icon");
|
|
|
14
15
|
const error_message_1 = require("../error-message");
|
|
15
16
|
function DateSelector({ id, label, value, isRequired, errorMessage, onChange, }) {
|
|
16
17
|
const { t } = (0, translations_1.useTranslation)();
|
|
17
|
-
const zonedDateTime = value ? (0, date_1.fromDate)(new Date(value), 'Europe/Oslo') : null;
|
|
18
|
+
const zonedDateTime = (0, react_1.useMemo)(() => (value ? (0, date_1.fromDate)(new Date(value), 'Europe/Oslo') : null), [value]);
|
|
18
19
|
return ((0, jsx_runtime_1.jsxs)("div", { className: form_module_css_1.default.dateSelectorContainer, children: [(0, jsx_runtime_1.jsxs)(react_aria_components_1.DatePicker, { granularity: "day", value: zonedDateTime, onChange: (e) => e && onChange(e.toString().slice(0, 10)), onOpenChange: (isOpen) => {
|
|
19
20
|
if (isOpen && !value)
|
|
20
21
|
onChange((0, date_1.today)('Europe/Oslo').toString());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-selector.d.ts","sourceRoot":"","sources":["../../../src/components/form/time-selector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"time-selector.d.ts","sourceRoot":"","sources":["../../../src/components/form/time-selector.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAkB,MAAM,oBAAoB,CAAC;AAGtE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,EAAE,EACF,KAAK,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,QAAQ,GACT,EAAE,iBAAiB,+BA0CnB"}
|
|
@@ -7,13 +7,14 @@ exports.default = TimeSelector;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const form_module_css_1 = __importDefault(require("./form.module.css"));
|
|
9
9
|
const date_1 = require("@internationalized/date");
|
|
10
|
+
const react_1 = require("react");
|
|
10
11
|
const react_aria_components_1 = require("react-aria-components");
|
|
11
12
|
const form_component_label_1 = __importDefault(require("./form-component-label"));
|
|
12
13
|
const translations_1 = require("../../translations");
|
|
13
14
|
const error_message_1 = require("../error-message");
|
|
14
15
|
function TimeSelector({ id, label, value, isRequired, errorMessage, onChange, }) {
|
|
15
16
|
const { t } = (0, translations_1.useTranslation)();
|
|
16
|
-
const parsedValue = value ? (0, date_1.parseTime)(value) : undefined;
|
|
17
|
+
const parsedValue = (0, react_1.useMemo)(() => (value ? (0, date_1.parseTime)(value) : undefined), [value]);
|
|
17
18
|
return ((0, jsx_runtime_1.jsxs)("div", { className: form_module_css_1.default.timeSelectorContainer, children: [(0, jsx_runtime_1.jsxs)(react_aria_components_1.TimeField, { value: parsedValue, onChange: (change) => {
|
|
18
19
|
if (!change)
|
|
19
20
|
return;
|
|
@@ -1288,7 +1288,7 @@ export declare const icons: {
|
|
|
1288
1288
|
darkable: boolean;
|
|
1289
1289
|
id: string;
|
|
1290
1290
|
};
|
|
1291
|
-
|
|
1291
|
+
"logo/RichLogo": {
|
|
1292
1292
|
relative: string;
|
|
1293
1293
|
absolute: string;
|
|
1294
1294
|
assetType: string;
|
|
@@ -1296,7 +1296,7 @@ export declare const icons: {
|
|
|
1296
1296
|
darkable: boolean;
|
|
1297
1297
|
id: string;
|
|
1298
1298
|
};
|
|
1299
|
-
|
|
1299
|
+
Crash: {
|
|
1300
1300
|
relative: string;
|
|
1301
1301
|
absolute: string;
|
|
1302
1302
|
assetType: string;
|
|
@@ -1304,7 +1304,7 @@ export declare const icons: {
|
|
|
1304
1304
|
darkable: boolean;
|
|
1305
1305
|
id: string;
|
|
1306
1306
|
};
|
|
1307
|
-
|
|
1307
|
+
DashboardBackground: {
|
|
1308
1308
|
relative: string;
|
|
1309
1309
|
absolute: string;
|
|
1310
1310
|
assetType: string;
|
|
@@ -1312,7 +1312,7 @@ export declare const icons: {
|
|
|
1312
1312
|
darkable: boolean;
|
|
1313
1313
|
id: string;
|
|
1314
1314
|
};
|
|
1315
|
-
|
|
1315
|
+
Onboarding4: {
|
|
1316
1316
|
relative: string;
|
|
1317
1317
|
absolute: string;
|
|
1318
1318
|
assetType: string;
|
|
@@ -1320,7 +1320,7 @@ export declare const icons: {
|
|
|
1320
1320
|
darkable: boolean;
|
|
1321
1321
|
id: string;
|
|
1322
1322
|
};
|
|
1323
|
-
|
|
1323
|
+
Onboarding5: {
|
|
1324
1324
|
relative: string;
|
|
1325
1325
|
absolute: string;
|
|
1326
1326
|
assetType: string;
|
|
@@ -1328,7 +1328,7 @@ export declare const icons: {
|
|
|
1328
1328
|
darkable: boolean;
|
|
1329
1329
|
id: string;
|
|
1330
1330
|
};
|
|
1331
|
-
|
|
1331
|
+
TicketSplash: {
|
|
1332
1332
|
relative: string;
|
|
1333
1333
|
absolute: string;
|
|
1334
1334
|
assetType: string;
|
|
@@ -1183,80 +1183,80 @@ exports.icons = {
|
|
|
1183
1183
|
"id": "BestillMaxi"
|
|
1184
1184
|
},
|
|
1185
1185
|
"mobility/BabyOnScooter": {
|
|
1186
|
-
"relative": "colors/images/mobility/
|
|
1187
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1186
|
+
"relative": "colors/images/mobility/dark/BabyOnScooter.svg",
|
|
1187
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/BabyOnScooter.svg",
|
|
1188
1188
|
"assetType": "colors",
|
|
1189
1189
|
"colorType": "images",
|
|
1190
1190
|
"darkable": true,
|
|
1191
1191
|
"id": "mobility/BabyOnScooter"
|
|
1192
1192
|
},
|
|
1193
1193
|
"mobility/BundlingCarSharingActive": {
|
|
1194
|
-
"relative": "colors/images/mobility/
|
|
1195
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1194
|
+
"relative": "colors/images/mobility/dark/BundlingCarSharingActive.svg",
|
|
1195
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/BundlingCarSharingActive.svg",
|
|
1196
1196
|
"assetType": "colors",
|
|
1197
1197
|
"colorType": "images",
|
|
1198
1198
|
"darkable": true,
|
|
1199
1199
|
"id": "mobility/BundlingCarSharingActive"
|
|
1200
1200
|
},
|
|
1201
1201
|
"mobility/BundlingCityBike": {
|
|
1202
|
-
"relative": "colors/images/mobility/
|
|
1203
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1202
|
+
"relative": "colors/images/mobility/dark/BundlingCityBike.svg",
|
|
1203
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/BundlingCityBike.svg",
|
|
1204
1204
|
"assetType": "colors",
|
|
1205
1205
|
"colorType": "images",
|
|
1206
1206
|
"darkable": true,
|
|
1207
1207
|
"id": "mobility/BundlingCityBike"
|
|
1208
1208
|
},
|
|
1209
1209
|
"mobility/BundlingCityBikeActive": {
|
|
1210
|
-
"relative": "colors/images/mobility/
|
|
1211
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1210
|
+
"relative": "colors/images/mobility/dark/BundlingCityBikeActive.svg",
|
|
1211
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/BundlingCityBikeActive.svg",
|
|
1212
1212
|
"assetType": "colors",
|
|
1213
1213
|
"colorType": "images",
|
|
1214
1214
|
"darkable": true,
|
|
1215
1215
|
"id": "mobility/BundlingCityBikeActive"
|
|
1216
1216
|
},
|
|
1217
1217
|
"mobility/CityBikeRide": {
|
|
1218
|
-
"relative": "colors/images/mobility/
|
|
1219
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1218
|
+
"relative": "colors/images/mobility/dark/CityBikeRide.svg",
|
|
1219
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/CityBikeRide.svg",
|
|
1220
1220
|
"assetType": "colors",
|
|
1221
1221
|
"colorType": "images",
|
|
1222
1222
|
"darkable": true,
|
|
1223
1223
|
"id": "mobility/CityBikeRide"
|
|
1224
1224
|
},
|
|
1225
1225
|
"mobility/ElectricCityBike": {
|
|
1226
|
-
"relative": "colors/images/mobility/
|
|
1227
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1226
|
+
"relative": "colors/images/mobility/dark/ElectricCityBike.svg",
|
|
1227
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/ElectricCityBike.svg",
|
|
1228
1228
|
"assetType": "colors",
|
|
1229
1229
|
"colorType": "images",
|
|
1230
1230
|
"darkable": true,
|
|
1231
1231
|
"id": "mobility/ElectricCityBike"
|
|
1232
1232
|
},
|
|
1233
1233
|
"mobility/ElectricCityBikeRide": {
|
|
1234
|
-
"relative": "colors/images/mobility/
|
|
1235
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1234
|
+
"relative": "colors/images/mobility/dark/ElectricCityBikeRide.svg",
|
|
1235
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/ElectricCityBikeRide.svg",
|
|
1236
1236
|
"assetType": "colors",
|
|
1237
1237
|
"colorType": "images",
|
|
1238
1238
|
"darkable": true,
|
|
1239
1239
|
"id": "mobility/ElectricCityBikeRide"
|
|
1240
1240
|
},
|
|
1241
1241
|
"mobility/ParkAndRide": {
|
|
1242
|
-
"relative": "colors/images/mobility/
|
|
1243
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1242
|
+
"relative": "colors/images/mobility/dark/ParkAndRide.svg",
|
|
1243
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/ParkAndRide.svg",
|
|
1244
1244
|
"assetType": "colors",
|
|
1245
1245
|
"colorType": "images",
|
|
1246
1246
|
"darkable": true,
|
|
1247
1247
|
"id": "mobility/ParkAndRide"
|
|
1248
1248
|
},
|
|
1249
1249
|
"mobility/Scooter": {
|
|
1250
|
-
"relative": "colors/images/mobility/
|
|
1251
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1250
|
+
"relative": "colors/images/mobility/dark/Scooter.svg",
|
|
1251
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/Scooter.svg",
|
|
1252
1252
|
"assetType": "colors",
|
|
1253
1253
|
"colorType": "images",
|
|
1254
1254
|
"darkable": true,
|
|
1255
1255
|
"id": "mobility/Scooter"
|
|
1256
1256
|
},
|
|
1257
1257
|
"mobility/StartCityBike": {
|
|
1258
|
-
"relative": "colors/images/mobility/
|
|
1259
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/
|
|
1258
|
+
"relative": "colors/images/mobility/dark/StartCityBike.svg",
|
|
1259
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/mobility/dark/StartCityBike.svg",
|
|
1260
1260
|
"assetType": "colors",
|
|
1261
1261
|
"colorType": "images",
|
|
1262
1262
|
"darkable": true,
|
|
@@ -1294,6 +1294,14 @@ exports.icons = {
|
|
|
1294
1294
|
"darkable": false,
|
|
1295
1295
|
"id": "favicon"
|
|
1296
1296
|
},
|
|
1297
|
+
"logo/RichLogo": {
|
|
1298
|
+
"relative": "colors/logo/RichLogo.svg",
|
|
1299
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/logo/RichLogo.svg",
|
|
1300
|
+
"assetType": "colors",
|
|
1301
|
+
"colorType": "images",
|
|
1302
|
+
"darkable": false,
|
|
1303
|
+
"id": "logo/RichLogo"
|
|
1304
|
+
},
|
|
1297
1305
|
"Crash": {
|
|
1298
1306
|
"relative": "colors/images/Crash.svg",
|
|
1299
1307
|
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/Crash.svg",
|
|
@@ -1334,177 +1342,169 @@ exports.icons = {
|
|
|
1334
1342
|
"darkable": false,
|
|
1335
1343
|
"id": "TicketSplash"
|
|
1336
1344
|
},
|
|
1337
|
-
"logo/RichLogo": {
|
|
1338
|
-
"relative": "colors/logo/RichLogo.svg",
|
|
1339
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/logo/RichLogo.svg",
|
|
1340
|
-
"assetType": "colors",
|
|
1341
|
-
"colorType": "images",
|
|
1342
|
-
"darkable": false,
|
|
1343
|
-
"id": "logo/RichLogo"
|
|
1344
|
-
},
|
|
1345
1345
|
"BackgroundIllustration-OnBehalfOf": {
|
|
1346
|
-
"relative": "colors/images/
|
|
1347
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1346
|
+
"relative": "colors/images/light/BackgroundIllustration-OnBehalfOf.svg",
|
|
1347
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/BackgroundIllustration-OnBehalfOf.svg",
|
|
1348
1348
|
"assetType": "colors",
|
|
1349
1349
|
"colorType": "images",
|
|
1350
1350
|
"darkable": true,
|
|
1351
1351
|
"id": "BackgroundIllustration-OnBehalfOf"
|
|
1352
1352
|
},
|
|
1353
1353
|
"BackgroundIllustration": {
|
|
1354
|
-
"relative": "colors/images/
|
|
1355
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1354
|
+
"relative": "colors/images/light/BackgroundIllustration.svg",
|
|
1355
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/BackgroundIllustration.svg",
|
|
1356
1356
|
"assetType": "colors",
|
|
1357
1357
|
"colorType": "images",
|
|
1358
1358
|
"darkable": true,
|
|
1359
1359
|
"id": "BackgroundIllustration"
|
|
1360
1360
|
},
|
|
1361
1361
|
"Beacons": {
|
|
1362
|
-
"relative": "colors/images/
|
|
1363
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1362
|
+
"relative": "colors/images/light/Beacons.svg",
|
|
1363
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/Beacons.svg",
|
|
1364
1364
|
"assetType": "colors",
|
|
1365
1365
|
"colorType": "images",
|
|
1366
1366
|
"darkable": true,
|
|
1367
1367
|
"id": "Beacons"
|
|
1368
1368
|
},
|
|
1369
1369
|
"Contact": {
|
|
1370
|
-
"relative": "colors/images/
|
|
1371
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1370
|
+
"relative": "colors/images/light/Contact.svg",
|
|
1371
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/Contact.svg",
|
|
1372
1372
|
"assetType": "colors",
|
|
1373
1373
|
"colorType": "images",
|
|
1374
1374
|
"darkable": true,
|
|
1375
1375
|
"id": "Contact"
|
|
1376
1376
|
},
|
|
1377
1377
|
"CrashSmall": {
|
|
1378
|
-
"relative": "colors/images/
|
|
1379
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1378
|
+
"relative": "colors/images/light/CrashSmall.svg",
|
|
1379
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/CrashSmall.svg",
|
|
1380
1380
|
"assetType": "colors",
|
|
1381
1381
|
"colorType": "images",
|
|
1382
1382
|
"darkable": true,
|
|
1383
1383
|
"id": "CrashSmall"
|
|
1384
1384
|
},
|
|
1385
1385
|
"EmptyIllustration": {
|
|
1386
|
-
"relative": "colors/images/
|
|
1387
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1386
|
+
"relative": "colors/images/light/EmptyIllustration.svg",
|
|
1387
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/EmptyIllustration.svg",
|
|
1388
1388
|
"assetType": "colors",
|
|
1389
1389
|
"colorType": "images",
|
|
1390
1390
|
"darkable": true,
|
|
1391
1391
|
"id": "EmptyIllustration"
|
|
1392
1392
|
},
|
|
1393
1393
|
"FlexibleTransport": {
|
|
1394
|
-
"relative": "colors/images/
|
|
1395
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1394
|
+
"relative": "colors/images/light/FlexibleTransport.svg",
|
|
1395
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/FlexibleTransport.svg",
|
|
1396
1396
|
"assetType": "colors",
|
|
1397
1397
|
"colorType": "images",
|
|
1398
1398
|
"darkable": true,
|
|
1399
1399
|
"id": "FlexibleTransport"
|
|
1400
1400
|
},
|
|
1401
1401
|
"HoldingHands": {
|
|
1402
|
-
"relative": "colors/images/
|
|
1403
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1402
|
+
"relative": "colors/images/light/HoldingHands.svg",
|
|
1403
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/HoldingHands.svg",
|
|
1404
1404
|
"assetType": "colors",
|
|
1405
1405
|
"colorType": "images",
|
|
1406
1406
|
"darkable": true,
|
|
1407
1407
|
"id": "HoldingHands"
|
|
1408
1408
|
},
|
|
1409
1409
|
"Map": {
|
|
1410
|
-
"relative": "colors/images/
|
|
1411
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1410
|
+
"relative": "colors/images/light/Map.svg",
|
|
1411
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/Map.svg",
|
|
1412
1412
|
"assetType": "colors",
|
|
1413
1413
|
"colorType": "images",
|
|
1414
1414
|
"darkable": true,
|
|
1415
1415
|
"id": "Map"
|
|
1416
1416
|
},
|
|
1417
1417
|
"MyLocation": {
|
|
1418
|
-
"relative": "colors/images/
|
|
1419
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1418
|
+
"relative": "colors/images/light/MyLocation.svg",
|
|
1419
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/MyLocation.svg",
|
|
1420
1420
|
"assetType": "colors",
|
|
1421
1421
|
"colorType": "images",
|
|
1422
1422
|
"darkable": true,
|
|
1423
1423
|
"id": "MyLocation"
|
|
1424
1424
|
},
|
|
1425
1425
|
"NoFavouriteDeparture": {
|
|
1426
|
-
"relative": "colors/images/
|
|
1427
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1426
|
+
"relative": "colors/images/light/NoFavouriteDeparture.svg",
|
|
1427
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/NoFavouriteDeparture.svg",
|
|
1428
1428
|
"assetType": "colors",
|
|
1429
1429
|
"colorType": "images",
|
|
1430
1430
|
"darkable": true,
|
|
1431
1431
|
"id": "NoFavouriteDeparture"
|
|
1432
1432
|
},
|
|
1433
1433
|
"OnBehalfOf": {
|
|
1434
|
-
"relative": "colors/images/
|
|
1435
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1434
|
+
"relative": "colors/images/light/OnBehalfOf.svg",
|
|
1435
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/OnBehalfOf.svg",
|
|
1436
1436
|
"assetType": "colors",
|
|
1437
1437
|
"colorType": "images",
|
|
1438
1438
|
"darkable": true,
|
|
1439
1439
|
"id": "OnBehalfOf"
|
|
1440
1440
|
},
|
|
1441
1441
|
"PaymentCard": {
|
|
1442
|
-
"relative": "colors/images/
|
|
1443
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1442
|
+
"relative": "colors/images/light/PaymentCard.svg",
|
|
1443
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/PaymentCard.svg",
|
|
1444
1444
|
"assetType": "colors",
|
|
1445
1445
|
"colorType": "images",
|
|
1446
1446
|
"darkable": true,
|
|
1447
1447
|
"id": "PaymentCard"
|
|
1448
1448
|
},
|
|
1449
1449
|
"ProfileCardLoggedIn": {
|
|
1450
|
-
"relative": "colors/images/
|
|
1451
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1450
|
+
"relative": "colors/images/light/ProfileCardLoggedIn.svg",
|
|
1451
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/ProfileCardLoggedIn.svg",
|
|
1452
1452
|
"assetType": "colors",
|
|
1453
1453
|
"colorType": "images",
|
|
1454
1454
|
"darkable": true,
|
|
1455
1455
|
"id": "ProfileCardLoggedIn"
|
|
1456
1456
|
},
|
|
1457
1457
|
"ProfileCardLoggedOut": {
|
|
1458
|
-
"relative": "colors/images/
|
|
1459
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1458
|
+
"relative": "colors/images/light/ProfileCardLoggedOut.svg",
|
|
1459
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/ProfileCardLoggedOut.svg",
|
|
1460
1460
|
"assetType": "colors",
|
|
1461
1461
|
"colorType": "images",
|
|
1462
1462
|
"darkable": true,
|
|
1463
1463
|
"id": "ProfileCardLoggedOut"
|
|
1464
1464
|
},
|
|
1465
1465
|
"PushNotification": {
|
|
1466
|
-
"relative": "colors/images/
|
|
1467
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1466
|
+
"relative": "colors/images/light/PushNotification.svg",
|
|
1467
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/PushNotification.svg",
|
|
1468
1468
|
"assetType": "colors",
|
|
1469
1469
|
"colorType": "images",
|
|
1470
1470
|
"darkable": true,
|
|
1471
1471
|
"id": "PushNotification"
|
|
1472
1472
|
},
|
|
1473
1473
|
"Ticket": {
|
|
1474
|
-
"relative": "colors/images/
|
|
1475
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1474
|
+
"relative": "colors/images/light/Ticket.svg",
|
|
1475
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/Ticket.svg",
|
|
1476
1476
|
"assetType": "colors",
|
|
1477
1477
|
"colorType": "images",
|
|
1478
1478
|
"darkable": true,
|
|
1479
1479
|
"id": "Ticket"
|
|
1480
1480
|
},
|
|
1481
1481
|
"TicketTilted": {
|
|
1482
|
-
"relative": "colors/images/
|
|
1483
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1482
|
+
"relative": "colors/images/light/TicketTilted.svg",
|
|
1483
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/TicketTilted.svg",
|
|
1484
1484
|
"assetType": "colors",
|
|
1485
1485
|
"colorType": "images",
|
|
1486
1486
|
"darkable": true,
|
|
1487
1487
|
"id": "TicketTilted"
|
|
1488
1488
|
},
|
|
1489
1489
|
"TicketValid": {
|
|
1490
|
-
"relative": "colors/images/
|
|
1491
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1490
|
+
"relative": "colors/images/light/TicketValid.svg",
|
|
1491
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/TicketValid.svg",
|
|
1492
1492
|
"assetType": "colors",
|
|
1493
1493
|
"colorType": "images",
|
|
1494
1494
|
"darkable": true,
|
|
1495
1495
|
"id": "TicketValid"
|
|
1496
1496
|
},
|
|
1497
1497
|
"TravelPlanning": {
|
|
1498
|
-
"relative": "colors/images/
|
|
1499
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1498
|
+
"relative": "colors/images/light/TravelPlanning.svg",
|
|
1499
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/TravelPlanning.svg",
|
|
1500
1500
|
"assetType": "colors",
|
|
1501
1501
|
"colorType": "images",
|
|
1502
1502
|
"darkable": true,
|
|
1503
1503
|
"id": "TravelPlanning"
|
|
1504
1504
|
},
|
|
1505
1505
|
"login": {
|
|
1506
|
-
"relative": "colors/images/
|
|
1507
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/
|
|
1506
|
+
"relative": "colors/images/light/login.svg",
|
|
1507
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/images/light/login.svg",
|
|
1508
1508
|
"assetType": "colors",
|
|
1509
1509
|
"colorType": "images",
|
|
1510
1510
|
"darkable": true,
|
|
@@ -1851,64 +1851,64 @@ exports.icons = {
|
|
|
1851
1851
|
"id": "badge/ios"
|
|
1852
1852
|
},
|
|
1853
1853
|
"ticket-type/Boat": {
|
|
1854
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1855
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1854
|
+
"relative": "colors/illustrations/ticket-type/dark/Boat.svg",
|
|
1855
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Boat.svg",
|
|
1856
1856
|
"assetType": "colors",
|
|
1857
1857
|
"colorType": "illustrations",
|
|
1858
1858
|
"darkable": true,
|
|
1859
1859
|
"id": "ticket-type/Boat"
|
|
1860
1860
|
},
|
|
1861
1861
|
"ticket-type/Carnet": {
|
|
1862
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1863
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1862
|
+
"relative": "colors/illustrations/ticket-type/dark/Carnet.svg",
|
|
1863
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Carnet.svg",
|
|
1864
1864
|
"assetType": "colors",
|
|
1865
1865
|
"colorType": "illustrations",
|
|
1866
1866
|
"darkable": true,
|
|
1867
1867
|
"id": "ticket-type/Carnet"
|
|
1868
1868
|
},
|
|
1869
1869
|
"ticket-type/H24": {
|
|
1870
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1871
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1870
|
+
"relative": "colors/illustrations/ticket-type/dark/H24.svg",
|
|
1871
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/H24.svg",
|
|
1872
1872
|
"assetType": "colors",
|
|
1873
1873
|
"colorType": "illustrations",
|
|
1874
1874
|
"darkable": true,
|
|
1875
1875
|
"id": "ticket-type/H24"
|
|
1876
1876
|
},
|
|
1877
1877
|
"ticket-type/Night": {
|
|
1878
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1879
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1878
|
+
"relative": "colors/illustrations/ticket-type/dark/Night.svg",
|
|
1879
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Night.svg",
|
|
1880
1880
|
"assetType": "colors",
|
|
1881
1881
|
"colorType": "illustrations",
|
|
1882
1882
|
"darkable": true,
|
|
1883
1883
|
"id": "ticket-type/Night"
|
|
1884
1884
|
},
|
|
1885
1885
|
"ticket-type/Period": {
|
|
1886
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1887
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1886
|
+
"relative": "colors/illustrations/ticket-type/dark/Period.svg",
|
|
1887
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Period.svg",
|
|
1888
1888
|
"assetType": "colors",
|
|
1889
1889
|
"colorType": "illustrations",
|
|
1890
1890
|
"darkable": true,
|
|
1891
1891
|
"id": "ticket-type/Period"
|
|
1892
1892
|
},
|
|
1893
1893
|
"ticket-type/Single": {
|
|
1894
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1895
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1894
|
+
"relative": "colors/illustrations/ticket-type/dark/Single.svg",
|
|
1895
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Single.svg",
|
|
1896
1896
|
"assetType": "colors",
|
|
1897
1897
|
"colorType": "illustrations",
|
|
1898
1898
|
"darkable": true,
|
|
1899
1899
|
"id": "ticket-type/Single"
|
|
1900
1900
|
},
|
|
1901
1901
|
"ticket-type/Summer": {
|
|
1902
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1903
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1902
|
+
"relative": "colors/illustrations/ticket-type/dark/Summer.svg",
|
|
1903
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Summer.svg",
|
|
1904
1904
|
"assetType": "colors",
|
|
1905
1905
|
"colorType": "illustrations",
|
|
1906
1906
|
"darkable": true,
|
|
1907
1907
|
"id": "ticket-type/Summer"
|
|
1908
1908
|
},
|
|
1909
1909
|
"ticket-type/Youth": {
|
|
1910
|
-
"relative": "colors/illustrations/ticket-type/
|
|
1911
|
-
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/
|
|
1910
|
+
"relative": "colors/illustrations/ticket-type/dark/Youth.svg",
|
|
1911
|
+
"absolute": "/home/runner/work/mrfylke-contact-form/mrfylke-contact-form/packages/contact-form/.tmp-icon-assets/colors/illustrations/ticket-type/dark/Youth.svg",
|
|
1912
1912
|
"assetType": "colors",
|
|
1913
1913
|
"colorType": "illustrations",
|
|
1914
1914
|
"darkable": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/group-travel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/group-travel/index.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,kBAAkB,gCAuBzC"}
|
|
@@ -9,8 +9,13 @@ const components_1 = require("../components");
|
|
|
9
9
|
const link_1 = __importDefault(require("next/link"));
|
|
10
10
|
const translations_1 = require("../translations");
|
|
11
11
|
const typography_1 = require("../components/typography");
|
|
12
|
+
const utils_1 = require("../utils");
|
|
12
13
|
function GroupTravelContent() {
|
|
13
14
|
const PageText = (0, translations_1.usePageText)();
|
|
14
15
|
const { t } = (0, translations_1.useTranslation)();
|
|
15
|
-
|
|
16
|
+
const url = t(PageText.Contact.groupTravel.description.url);
|
|
17
|
+
if (!url) {
|
|
18
|
+
(0, utils_1.warnDevMissingTranslation)('groupTravel.description.url');
|
|
19
|
+
}
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(components_1.SectionCard, { title: t(PageText.Contact.groupTravel.title), children: (0, jsx_runtime_1.jsxs)(typography_1.Typo.p, { textType: "body__m", children: [t(PageText.Contact.groupTravel.description.info), url && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [' ', (0, jsx_runtime_1.jsx)(link_1.default, { href: url, target: "_blank", rel: "noopener noreferrer", children: t(PageText.Contact.groupTravel.description.externalLink) })] }))] }) }));
|
|
16
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lost-property-external/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lost-property-external/index.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,+BAA+B,gCAuBtD"}
|
|
@@ -9,8 +9,13 @@ const components_1 = require("../components");
|
|
|
9
9
|
const link_1 = __importDefault(require("next/link"));
|
|
10
10
|
const translations_1 = require("../translations");
|
|
11
11
|
const typography_1 = require("../components/typography");
|
|
12
|
+
const utils_1 = require("../utils");
|
|
12
13
|
function LostPropertyExternalFormContent() {
|
|
13
14
|
const PageText = (0, translations_1.usePageText)();
|
|
14
15
|
const { t } = (0, translations_1.useTranslation)();
|
|
15
|
-
|
|
16
|
+
const url = t(PageText.Contact.lostProperty.description.url);
|
|
17
|
+
if (!url) {
|
|
18
|
+
(0, utils_1.warnDevMissingTranslation)('lostProperty.description.url');
|
|
19
|
+
}
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(components_1.SectionCard, { title: t(PageText.Contact.lostProperty.title), children: (0, jsx_runtime_1.jsxs)(typography_1.Typo.p, { textType: "body__m", children: [t(PageText.Contact.lostProperty.description.info), url && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [' ', (0, jsx_runtime_1.jsx)(link_1.default, { href: url, target: "_blank", rel: "noopener noreferrer", children: t(PageText.Contact.lostProperty.description.externalLink) })] }))] }) }));
|
|
16
21
|
}
|
package/lib/refund/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { PurchasePlatformType, ReasonForTransportFailure, TicketType, TransportM
|
|
|
3
3
|
import { Line } from '..';
|
|
4
4
|
type RefundSpecificFormEvents = {
|
|
5
5
|
type: 'ON_INPUT_CHANGE';
|
|
6
|
-
inputName: 'formType' | 'kilometersDriven' | 'fromAddress' | 'toAddress' | 'amount' | 'reasonForTransportFailure' | 'orderId' | 'customerNumber' | 'ticketType' | 'travelCardNumber' | 'refundReason' | 'firstName' | 'lastName' | 'address' | 'postalCode' | 'city' | 'email' | 'phoneNumber' | 'bankAccountNumber' | 'IBAN' | 'SWIFT' | 'fromStop' | 'toStop' | 'date' | 'plannedDepartureTime' | 'tripId' | 'feedback' | 'attachments' | 'isInitialAgreementChecked' | 'hasInternationalBankAccount' | 'showInputTravelCardNumber' | 'bankCardDetails';
|
|
6
|
+
inputName: 'formType' | 'kilometersDriven' | 'fromAddress' | 'toAddress' | 'amount' | 'reasonForTransportFailure' | 'orderId' | 'customerNumber' | 'ticketType' | 'travelCardNumber' | 'refundReason' | 'firstName' | 'lastName' | 'address' | 'postalCode' | 'city' | 'email' | 'phoneNumber' | 'bankAccountNumber' | 'IBAN' | 'SWIFT' | 'fromStop' | 'toStop' | 'date' | 'plannedDepartureTime' | 'tripId' | 'feedback' | 'attachments' | 'receiptAttachments' | 'feedbackAttachments' | 'isInitialAgreementChecked' | 'hasInternationalBankAccount' | 'showInputTravelCardNumber' | 'bankCardDetails';
|
|
7
7
|
value: string | boolean | ReasonForTransportFailure | TicketType | Line['quays'][0] | File[] | undefined;
|
|
8
8
|
} | {
|
|
9
9
|
type: 'SELECT_FORM_CATEGORY';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/refund/events.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EACV,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE1B,KAAK,wBAAwB,GACzB;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EACL,UAAU,GACV,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,QAAQ,GACR,2BAA2B,GAC3B,SAAS,GACT,gBAAgB,GAChB,YAAY,GACZ,kBAAkB,GAClB,cAAc,GACd,WAAW,GACX,UAAU,GACV,SAAS,GACT,YAAY,GACZ,MAAM,GACN,OAAO,GACP,aAAa,GACb,mBAAmB,GACnB,MAAM,GACN,OAAO,GACP,UAAU,GACV,QAAQ,GACR,MAAM,GACN,sBAAsB,GACtB,QAAQ,GACR,UAAU,GACV,aAAa,GACb,2BAA2B,GAC3B,6BAA6B,GAC7B,2BAA2B,GAC3B,iBAAiB,CAAC;IACtB,KAAK,EACD,MAAM,GACN,OAAO,GACP,yBAAyB,GACzB,UAAU,GACV,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAChB,IAAI,EAAE,GACN,SAAS,CAAC;CACf,GACD;IACE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;CAC5B,GACD;IACE,IAAI,EAAE,2BAA2B,CAAC;IAClC,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,GACD;IACE,IAAI,EAAE,yCAAyC,CAAC;IAChD,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,GACD;IACE,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,EAAE,iBAAiB,CAAC;CAC1B,GACD;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,GACD;IACE,IAAI,EAAE,6BAA6B,CAAC;IACpC,KAAK,EAAE,oBAAoB,GAAG,SAAS,CAAC;CACzC,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACjC,CAAC;AAEN,eAAO,MAAM,gBAAgB,EAAS,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/refund/events.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EACV,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE1B,KAAK,wBAAwB,GACzB;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EACL,UAAU,GACV,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,QAAQ,GACR,2BAA2B,GAC3B,SAAS,GACT,gBAAgB,GAChB,YAAY,GACZ,kBAAkB,GAClB,cAAc,GACd,WAAW,GACX,UAAU,GACV,SAAS,GACT,YAAY,GACZ,MAAM,GACN,OAAO,GACP,aAAa,GACb,mBAAmB,GACnB,MAAM,GACN,OAAO,GACP,UAAU,GACV,QAAQ,GACR,MAAM,GACN,sBAAsB,GACtB,QAAQ,GACR,UAAU,GACV,aAAa,GACb,oBAAoB,GACpB,qBAAqB,GACrB,2BAA2B,GAC3B,6BAA6B,GAC7B,2BAA2B,GAC3B,iBAAiB,CAAC;IACtB,KAAK,EACD,MAAM,GACN,OAAO,GACP,yBAAyB,GACzB,UAAU,GACV,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAChB,IAAI,EAAE,GACN,SAAS,CAAC;CACf,GACD;IACE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;CAC5B,GACD;IACE,IAAI,EAAE,2BAA2B,CAAC;IAClC,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,GACD;IACE,IAAI,EAAE,yCAAyC,CAAC;IAChD,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,GACD;IACE,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,EAAE,iBAAiB,CAAC;CAC1B,GACD;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,GACD;IACE,IAAI,EAAE,6BAA6B,CAAC;IACpC,KAAK,EAAE,oBAAoB,GAAG,SAAS,CAAC;CACzC,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACjC,CAAC;AAEN,eAAO,MAAM,gBAAgB,EAAS,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/refund/forms/refund-and-travel-guarantee/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/refund/forms/refund-and-travel-guarantee/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAWhD,KAAK,kCAAkC,GAAG;IACxC,KAAK,EAAE,SAAS,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC5C,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,gBAAgB,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,kBAG3C,kCAAkC,gCA2HpC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|