@mrfylke/contact-form 0.1.32 → 0.1.34

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.
Files changed (124) hide show
  1. package/README.md +0 -22
  2. package/lib/commoneEvents.d.ts +1 -1
  3. package/lib/commoneEvents.d.ts.map +1 -1
  4. package/lib/components/form/date-selector.d.ts +4 -1
  5. package/lib/components/form/date-selector.d.ts.map +1 -1
  6. package/lib/components/form/date-selector.js +2 -2
  7. package/lib/components/form/file-input.js +1 -1
  8. package/lib/components/form/form.module.css +0 -74
  9. package/lib/components/form/input.d.ts +2 -6
  10. package/lib/components/form/input.d.ts.map +1 -1
  11. package/lib/components/form/input.js +7 -22
  12. package/lib/components/form/textarea.d.ts +3 -2
  13. package/lib/components/form/textarea.d.ts.map +1 -1
  14. package/lib/components/form/textarea.js +6 -4
  15. package/lib/components/form/time-selector.d.ts.map +1 -1
  16. package/lib/components/form/time-selector.js +1 -1
  17. package/lib/index.d.ts +1 -1
  18. package/lib/index.d.ts.map +1 -1
  19. package/lib/journey-info/journeyInfoStateMachine.d.ts +2 -2
  20. package/lib/layouts/contact-pages.d.ts.map +1 -1
  21. package/lib/layouts/contact-pages.js +7 -2
  22. package/lib/lines/use-lines.d.ts +1 -0
  23. package/lib/lines/use-lines.d.ts.map +1 -1
  24. package/lib/lines/use-lines.js +1 -0
  25. package/lib/lost-property/LostPropertyForm.d.ts +6 -0
  26. package/lib/lost-property/LostPropertyForm.d.ts.map +1 -1
  27. package/lib/lost-property/LostPropertyForm.js +54 -12
  28. package/lib/lost-property/LostPropertyMachine.d.ts +5 -4
  29. package/lib/lost-property/LostPropertyMachine.d.ts.map +1 -1
  30. package/lib/lost-property/LostPropertyMachine.js +5 -1
  31. package/lib/lost-property/index.d.ts.map +1 -1
  32. package/lib/lost-property/index.js +40 -3
  33. package/lib/means-of-transport/forms/injuryForm.d.ts.map +1 -1
  34. package/lib/means-of-transport/forms/injuryForm.js +1 -1
  35. package/lib/means-of-transport/means-of-transport-form-machine.d.ts +2 -2
  36. package/lib/modules/api-browser/index.d.ts +1 -1
  37. package/lib/modules/api-browser/index.d.ts.map +1 -1
  38. package/lib/modules/api-browser/index.js +5 -1
  39. package/lib/modules/config/context.d.ts.map +1 -1
  40. package/lib/modules/config/context.js +1 -4
  41. package/lib/modules/config/theme-adapter.d.ts.map +1 -1
  42. package/lib/modules/config/theme-adapter.js +2 -0
  43. package/lib/modules/config/types.d.ts +53 -8
  44. package/lib/modules/config/types.d.ts.map +1 -1
  45. package/lib/modules/transport-mode/utils.d.ts +2 -2
  46. package/lib/modules/transport-mode/utils.d.ts.map +1 -1
  47. package/lib/refund/events.d.ts +3 -3
  48. package/lib/refund/events.d.ts.map +1 -1
  49. package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts.map +1 -1
  50. package/lib/refund/forms/refund-and-travel-guarantee/index.js +10 -3
  51. package/lib/refund/forms/refund-and-travel-guarantee/pre-purchased-ticket-refund-form/index.d.ts +11 -0
  52. package/lib/refund/forms/refund-and-travel-guarantee/pre-purchased-ticket-refund-form/index.d.ts.map +1 -0
  53. package/lib/refund/forms/refund-and-travel-guarantee/pre-purchased-ticket-refund-form/index.js +159 -0
  54. package/lib/refund/forms/refund-and-travel-guarantee/pre-purchased-ticket-refund-form/pre-purchased-ticket-refund-form.module.css +73 -0
  55. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts.map +1 -1
  56. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.js +2 -2
  57. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts.map +1 -1
  58. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.js +2 -2
  59. package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts.map +1 -1
  60. package/lib/refund/forms/refund-ticket/appTicketRefund.js +13 -15
  61. package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts.map +1 -1
  62. package/lib/refund/forms/refund-ticket/otherTicketRefund.js +16 -13
  63. package/lib/refund/index.d.ts.map +1 -1
  64. package/lib/refund/index.js +6 -4
  65. package/lib/refund/refundFormMachine.d.ts +49 -13
  66. package/lib/refund/refundFormMachine.d.ts.map +1 -1
  67. package/lib/refund/refundFormMachine.js +75 -9
  68. package/lib/server/journey-planner/entur-client.d.ts +2 -1
  69. package/lib/server/journey-planner/entur-client.d.ts.map +1 -1
  70. package/lib/ticket-control/forms/feeComplaintForm.js +4 -10
  71. package/lib/ticket-control/forms/postponePayment.d.ts.map +1 -1
  72. package/lib/ticket-control/forms/postponePayment.js +2 -6
  73. package/lib/ticket-control/ticket-control-form-machine.d.ts +2 -2
  74. package/lib/ticketing/forms/app/appAccountForm.d.ts.map +1 -1
  75. package/lib/ticketing/forms/app/appAccountForm.js +1 -3
  76. package/lib/ticketing/forms/app/appTicketingForm.d.ts.map +1 -1
  77. package/lib/ticketing/forms/app/appTicketingForm.js +2 -8
  78. package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts.map +1 -1
  79. package/lib/ticketing/forms/app/appTravelSuggestionForm.js +5 -1
  80. package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts.map +1 -1
  81. package/lib/ticketing/forms/priceAndTicketTypesForm.js +5 -1
  82. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts.map +1 -1
  83. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.js +5 -8
  84. package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts.map +1 -1
  85. package/lib/ticketing/forms/webshop/webshopAccountForm.js +1 -3
  86. package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts.map +1 -1
  87. package/lib/ticketing/forms/webshop/webshopTicketingForm.js +2 -7
  88. package/lib/ticketing/index.d.ts.map +1 -1
  89. package/lib/ticketing/index.js +8 -2
  90. package/lib/ticketing/ticketingStateMachine.d.ts +4 -2
  91. package/lib/ticketing/ticketingStateMachine.d.ts.map +1 -1
  92. package/lib/ticketing/ticketingStateMachine.js +4 -1
  93. package/lib/translations/commons.d.ts +1 -1
  94. package/lib/translations/commons.d.ts.map +1 -1
  95. package/lib/translations/commons.js +3 -1
  96. package/lib/translations/language-context.d.ts +2 -2
  97. package/lib/translations/language-context.d.ts.map +1 -1
  98. package/lib/translations/language-context.js +1 -1
  99. package/lib/translations/pages/contact.d.ts +46 -18
  100. package/lib/translations/pages/contact.d.ts.map +1 -1
  101. package/lib/translations/pages/contact.js +53 -26
  102. package/lib/translations/translations-context.d.ts +11 -4
  103. package/lib/translations/translations-context.d.ts.map +1 -1
  104. package/lib/translations/translations-context.js +18 -11
  105. package/lib/translations/types.d.ts +10 -5
  106. package/lib/translations/types.d.ts.map +1 -1
  107. package/lib/types/submit-payloads.d.ts +12 -0
  108. package/lib/types/submit-payloads.d.ts.map +1 -1
  109. package/lib/types.d.ts +1 -1
  110. package/lib/types.d.ts.map +1 -1
  111. package/lib/utils/rich-text.d.ts +2 -2
  112. package/lib/utils/rich-text.js +8 -3
  113. package/lib/utils.d.ts +56 -3
  114. package/lib/utils.d.ts.map +1 -1
  115. package/lib/validation/commonInputValidator.d.ts +1 -1
  116. package/lib/validation/commonInputValidator.d.ts.map +1 -1
  117. package/lib/validation/commonInputValidator.js +3 -3
  118. package/lib/validation/validationRules.d.ts +2 -0
  119. package/lib/validation/validationRules.d.ts.map +1 -1
  120. package/lib/validation/validationRules.js +28 -2
  121. package/package.json +12 -6
  122. package/lib/components/form/description-modal.d.ts +0 -13
  123. package/lib/components/form/description-modal.d.ts.map +0 -1
  124. package/lib/components/form/description-modal.js +0 -44
@@ -1 +1 @@
1
- {"version":3,"file":"webshopAccountForm.d.ts","sourceRoot":"","sources":["../../../../src/ticketing/forms/webshop/webshopAccountForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE;QAAE,OAAO,EAAE,oBAAoB,CAAA;KAAE,CAAC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,mBAAmB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kBAGhC,uBAAuB,gCAgIzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"webshopAccountForm.d.ts","sourceRoot":"","sources":["../../../../src/ticketing/forms/webshop/webshopAccountForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE;QAAE,OAAO,EAAE,oBAAoB,CAAA;KAAE,CAAC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,mBAAmB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kBAGhC,uBAAuB,gCA8HzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -28,9 +28,7 @@ const WebshopAccountForm = ({ state, send, }) => {
28
28
  type: 'ON_INPUT_CHANGE',
29
29
  inputName: 'customerNumber',
30
30
  value: e.target.value,
31
- }), modalContent: {
32
- description: t(PageText.Contact.input.customerNumber.description),
33
- } }), (0, jsx_runtime_1.jsx)(components_1.Input, { id: "firstName", label: t(PageText.Contact.input.firstName.label), type: "text", autoComplete: "given-name additional-name", name: "firstName", value: state.context.firstName || '', isRequired: true, errorMessage: state.context?.errorMessages['firstName']?.[0], onChange: (e) => send({
31
+ }), description: t(PageText.Contact.input.customerNumber.description) }), (0, jsx_runtime_1.jsx)(components_1.Input, { id: "firstName", label: t(PageText.Contact.input.firstName.label), type: "text", autoComplete: "given-name additional-name", name: "firstName", value: state.context.firstName || '', isRequired: true, errorMessage: state.context?.errorMessages['firstName']?.[0], onChange: (e) => send({
34
32
  type: 'ON_INPUT_CHANGE',
35
33
  inputName: 'firstName',
36
34
  value: e.target.value,
@@ -1 +1 @@
1
- {"version":3,"file":"webshopTicketingForm.d.ts","sourceRoot":"","sources":["../../../../src/ticketing/forms/webshop/webshopTicketingForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE;QAAE,OAAO,EAAE,oBAAoB,CAAA;KAAE,CAAC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,mBAAmB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,kBAGlC,yBAAyB,gCA4J3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"webshopTicketingForm.d.ts","sourceRoot":"","sources":["../../../../src/ticketing/forms/webshop/webshopTicketingForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE;QAAE,OAAO,EAAE,oBAAoB,CAAA;KAAE,CAAC;IACzC,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,mBAAmB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,kBAGlC,yBAAyB,gCAoJ3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -7,10 +7,7 @@ const components_1 = require("../../../components");
7
7
  const WebshopTicketingForm = ({ state, send, }) => {
8
8
  const PageText = (0, translations_1.usePageText)();
9
9
  const { t } = (0, translations_1.useTranslation)();
10
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Fieldset, { title: t(PageText.Contact.ticketing.webshop.webshopTicketing.title), children: (0, jsx_runtime_1.jsx)(components_1.Input, { id: "orderId", label: t(PageText.Contact.input.orderId.label(false)), type: "text", name: "orderId", value: state.context.orderId || '', isRequired: true, modalContent: {
11
- description: t(PageText.Contact.input.orderId.description),
12
- bulletPoints: PageText.Contact.input.orderId.descriptionBulletPoints.map((bulletPoint) => t(bulletPoint)),
13
- }, errorMessage: state.context?.errorMessages['orderId']?.[0], onChange: (e) => send({
10
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Fieldset, { title: t(PageText.Contact.ticketing.webshop.webshopTicketing.title), children: (0, jsx_runtime_1.jsx)(components_1.Input, { id: "orderId", label: t(PageText.Contact.input.orderId.label(false)), type: "text", name: "orderId", value: state.context.orderId || '', isRequired: true, description: t(PageText.Contact.input.orderId.description), errorMessage: state.context?.errorMessages['orderId']?.[0], onChange: (e) => send({
14
11
  type: 'ON_INPUT_CHANGE',
15
12
  inputName: 'orderId',
16
13
  value: e.target.value,
@@ -35,9 +32,7 @@ const WebshopTicketingForm = ({ state, send, }) => {
35
32
  type: 'ON_INPUT_CHANGE',
36
33
  inputName: 'customerNumber',
37
34
  value: e.target.value,
38
- }), modalContent: {
39
- description: t(PageText.Contact.input.customerNumber.description),
40
- } }), (0, jsx_runtime_1.jsx)(components_1.Input, { id: "firstName", label: t(PageText.Contact.input.firstName.label), type: "text", autoComplete: "given-name additional-name", name: "firstName", isRequired: true, value: state.context.firstName || '', errorMessage: state.context?.errorMessages['firstName']?.[0], onChange: (e) => send({
35
+ }), description: t(PageText.Contact.input.customerNumber.description) }), (0, jsx_runtime_1.jsx)(components_1.Input, { id: "firstName", label: t(PageText.Contact.input.firstName.label), type: "text", autoComplete: "given-name additional-name", name: "firstName", isRequired: true, value: state.context.firstName || '', errorMessage: state.context?.errorMessages['firstName']?.[0], onChange: (e) => send({
41
36
  type: 'ON_INPUT_CHANGE',
42
37
  inputName: 'firstName',
43
38
  value: e.target.value,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ticketing/index.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,gBAAgB,mCA6HrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ticketing/index.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,gBAAgB,mCAoIrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -23,7 +23,7 @@ const TicketingContent = () => {
23
23
  const PageText = (0, translations_1.usePageText)();
24
24
  const { t } = (0, translations_1.useTranslation)();
25
25
  const apiConfig = (0, config_1.useApiConfig)();
26
- const { formSchemaOverrides, layout } = (0, config_1.useContactFormConfig)();
26
+ const { formSchemaOverrides, layout, features } = (0, config_1.useContactFormConfig)();
27
27
  const successPath = layout?.successPath ??
28
28
  (layout?.basePath ? `${layout.basePath}/success` : '/contact/success');
29
29
  const errorPath = layout?.errorPath ??
@@ -31,7 +31,13 @@ const TicketingContent = () => {
31
31
  const machine = (0, react_2.useMemo)(() => (0, ticketingStateMachine_1.createTicketingStateMachine)(apiConfig.onSubmit, {
32
32
  successPath,
33
33
  errorPath,
34
- }), [apiConfig.onSubmit, successPath, errorPath]);
34
+ includePhoneNumberInPriceAndTravelSuggestion: features?.includePhoneNumberInPriceAndTravelSuggestion === true,
35
+ }), [
36
+ apiConfig.onSubmit,
37
+ successPath,
38
+ errorPath,
39
+ features?.includePhoneNumberInPriceAndTravelSuggestion,
40
+ ]);
35
41
  const [state, send] = (0, react_1.useMachine)(machine);
36
42
  const displaySubmitButton = state.context.formType && state.context.formType !== 'orderTravelCard';
37
43
  // Filter form categories based on overrides
@@ -60,6 +60,7 @@ export type TicketingContextType = {
60
60
  hasInternationalBankAccount: boolean;
61
61
  isInitialAgreementChecked: boolean;
62
62
  showInputTravelCardNumber: boolean;
63
+ includePhoneNumberInPriceAndTravelSuggestion: boolean;
63
64
  errorMessages: InputErrorMessages;
64
65
  firstIncorrectErrorMessage?: string;
65
66
  hasSubmissionError?: boolean;
@@ -67,13 +68,14 @@ export type TicketingContextType = {
67
68
  export type MachinePaths = {
68
69
  successPath: string;
69
70
  errorPath: string;
71
+ includePhoneNumberInPriceAndTravelSuggestion?: boolean;
70
72
  };
71
73
  export declare function createTicketingStateMachine(onSubmit: (slug: FormSlug, state: Record<string, unknown>) => Promise<Response>, paths?: MachinePaths): import("xstate").StateMachine<TicketingContextType, {
72
74
  type: "VALIDATE";
73
75
  } | {
74
76
  type: "ON_INPUT_CHANGE";
75
77
  inputName: "address" | "attachments" | "bankAccountNumber" | "city" | "date" | "email" | "firstName" | "feedback" | "IBAN" | "lastName" | "phoneNumber" | "postalCode" | "SWIFT" | "toStop" | "fromStop" | "plannedDepartureTime" | "tripId";
76
- value: any;
78
+ value: unknown;
77
79
  } | {
78
80
  type: "ON_TRANSPORTMODE_CHANGE";
79
81
  value: import("../types").TransportModeType;
@@ -256,7 +258,7 @@ export declare const ticketingStateMachine: import("xstate").StateMachine<Ticket
256
258
  } | {
257
259
  type: "ON_INPUT_CHANGE";
258
260
  inputName: "address" | "attachments" | "bankAccountNumber" | "city" | "date" | "email" | "firstName" | "feedback" | "IBAN" | "lastName" | "phoneNumber" | "postalCode" | "SWIFT" | "toStop" | "fromStop" | "plannedDepartureTime" | "tripId";
259
- value: any;
261
+ value: unknown;
260
262
  } | {
261
263
  type: "ON_TRANSPORTMODE_CHANGE";
262
264
  value: import("../types").TransportModeType;
@@ -1 +1 @@
1
- {"version":3,"file":"ticketingStateMachine.d.ts","sourceRoot":"","sources":["../../src/ticketing/ticketingStateMachine.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAOzE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,oBAAY,YAAY;IACtB,mBAAmB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsYrB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC"}
@@ -41,7 +41,7 @@ var FormType;
41
41
  FormType["OrderTravelCard"] = "orderTravelCard";
42
42
  })(FormType || (FormType = {}));
43
43
  const setInputsToValidate = (context) => {
44
- const { formType, firstName, lastName, email, phoneNumber, question, orderId, customerNumber, travelCardNumber, } = context;
44
+ const { formType, firstName, lastName, email, phoneNumber, question, orderId, customerNumber, travelCardNumber, includePhoneNumberInPriceAndTravelSuggestion, } = context;
45
45
  const commonFields = {
46
46
  formType,
47
47
  question,
@@ -53,6 +53,7 @@ const setInputsToValidate = (context) => {
53
53
  case FormType.PriceAndTicketTypes:
54
54
  return {
55
55
  ...commonFields,
56
+ ...(includePhoneNumberInPriceAndTravelSuggestion && { phoneNumber }),
56
57
  };
57
58
  case FormType.AppTicketing:
58
59
  return {
@@ -64,6 +65,7 @@ const setInputsToValidate = (context) => {
64
65
  case FormType.AppTravelSuggestion:
65
66
  return {
66
67
  ...commonFields,
68
+ ...(includePhoneNumberInPriceAndTravelSuggestion && { phoneNumber }),
67
69
  };
68
70
  case FormType.AppAccount:
69
71
  return {
@@ -210,6 +212,7 @@ function createTicketingStateMachine(onSubmit, paths) {
210
212
  hasInternationalBankAccount: false,
211
213
  isInitialAgreementChecked: false,
212
214
  showInputTravelCardNumber: true,
215
+ includePhoneNumberInPriceAndTravelSuggestion: paths?.includePhoneNumberInPriceAndTravelSuggestion === true,
213
216
  errorMessages: {},
214
217
  },
215
218
  on: {
@@ -19,7 +19,7 @@ export type RichTranslatedString = TranslatedString & {
19
19
  export declare function translation(invariant: string): TranslatedString;
20
20
  export declare function translation(norwegian: string, english: string, nynorsk: string): TranslatedString;
21
21
  export declare function richTranslation(norwegian: string, english: string, nynorsk: string): RichTranslatedString;
22
- export declare function isTranslatedString(a: any): a is TranslatedString;
22
+ export declare function isTranslatedString(a: unknown): a is TranslatedString;
23
23
  export type LocalizedString = {
24
24
  lang: 'nob' | 'eng' | 'nno';
25
25
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"commons.d.ts","sourceRoot":"","sources":["../../src/translations/commons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,oBAAY,QAAQ;IAClB,SAAS,OAAO;IAChB,OAAO,UAAU;IACjB,OAAO,OAAO;CACf;AAED,eAAO,MAAM,YAAY,EAAE,SAAS,QAAQ,EAIlC,CAAC;AAEX,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,iBAAiB,mBAAmB,CAAC;AAClD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,QAAQ,EAAE,MAAM,CAAC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,CAC9B,IAAI,EAAE,gBAAgB,GAAG;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,KACjD,MAAM,CAAC;AAEZ,oEAAoE;AACpE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG;IACpD,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;CACvB,CAAC;AAEF,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAAC;AACjE,wBAAgB,WAAW,CACzB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,gBAAgB,CAAC;AAapB,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,EACjB,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AAM,EACf,OAAO,EAAE,MAAM,GACd,gBAAgB,CAAC;AAapB,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,oBAAoB,CAEtB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,eAAe,EAAE,GAClC,MAAM,GAAG,SAAS,CASpB"}
@@ -30,7 +30,9 @@ function richTranslation(norwegian, english, nynorsk) {
30
30
  return translation(norwegian, english, nynorsk);
31
31
  }
32
32
  function isTranslatedString(a) {
33
- return typeof a[Language.Norwegian] !== 'undefined';
33
+ return (typeof a === 'object' &&
34
+ a !== null &&
35
+ typeof a[Language.Norwegian] !== 'undefined');
34
36
  }
35
37
  function convertLocalizedString(language, localizedStrings) {
36
38
  const messageLanguages = {
@@ -1,9 +1,9 @@
1
- import { Language, TranslatedString, TranslateFunction } from './commons';
1
+ import { Language, RichTranslatedString, TranslateFunction } from './commons';
2
2
  import { PropsWithChildren } from 'react';
3
3
  import type { ContactFormTranslationsOverride } from './types';
4
4
  export declare function useTranslation(): {
5
5
  t: TranslateFunction;
6
- tRich: (text: TranslatedString) => import("react").JSX.Element;
6
+ tRich: (text: RichTranslatedString) => import("react").JSX.Element;
7
7
  language: Language;
8
8
  };
9
9
  export type AppLanguageProviderProps = PropsWithChildren<{
@@ -1 +1 @@
1
- {"version":3,"file":"language-context.d.ts","sourceRoot":"","sources":["../../src/translations/language-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAK/D,wBAAgB,cAAc;;kBAMP,gBAAgB;;EAItC;AAeD,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD;;;OAGG;IACH,SAAS,EAAE,+BAA+B,CAAC;IAC3C,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC,CAAC;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,wBAAwB,+BAQ1B;AAED,4FAA4F;AAC5F,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,YAK7D"}
1
+ {"version":3,"file":"language-context.d.ts","sourceRoot":"","sources":["../../src/translations/language-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EACR,oBAAoB,EAEpB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAK/D,wBAAgB,cAAc;;kBAMP,oBAAoB;;EAI1C;AAeD,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD;;;OAGG;IACH,SAAS,EAAE,+BAA+B,CAAC;IAC3C,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC,CAAC;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,wBAAwB,+BAQ1B;AAED,4FAA4F;AAC5F,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,YAK7D"}
@@ -15,7 +15,7 @@ const translations_context_1 = require("./translations-context");
15
15
  function useTranslation() {
16
16
  const { t: rawT, language } = lobot_1.lobot.useTranslation();
17
17
  const fillTerms = (0, translations_context_1.useFillTerms)();
18
- const translateWithTerms = (text) => fillTerms(rawT(text));
18
+ const translateWithTerms = (text) => rawT(fillTerms(text));
19
19
  const t = translateWithTerms;
20
20
  const tRich = (text) => ((0, jsx_runtime_1.jsx)(rich_text_1.RichText, { children: translateWithTerms(text) }));
21
21
  return { t, tRich, language };
@@ -1,5 +1,5 @@
1
1
  import { translation as _ } from '../../translations/commons';
2
- import { ReasonForTransportFailure, TicketTypeId } from '../../types';
2
+ import { ReasonForTransportFailure, TicketType } from '../../types';
3
3
  export declare const Contact: {
4
4
  pageTitle: import("../../translations/commons").TranslatedString;
5
5
  contactPageLayout: {
@@ -57,6 +57,9 @@ export declare const Contact: {
57
57
  refundCar: {
58
58
  label: import("../../translations/commons").TranslatedString;
59
59
  };
60
+ prePurchasedTicketRefund: {
61
+ label: import("../../translations/commons").TranslatedString;
62
+ };
60
63
  feedbackAttachmentLabel: import("../../translations/commons").TranslatedString;
61
64
  };
62
65
  ticketBoughtOnBus: {
@@ -80,7 +83,7 @@ export declare const Contact: {
80
83
  travelGuaranteeExceptions: {
81
84
  label: import("../../translations/commons").TranslatedString;
82
85
  exceptions: {
83
- text: import("../../translations/commons").TranslatedString;
86
+ text: import("../../translations/commons").RichTranslatedString;
84
87
  examples: import("../../translations/commons").TranslatedString[];
85
88
  }[];
86
89
  exclusion: import("../../translations/commons").TranslatedString;
@@ -92,7 +95,6 @@ export declare const Contact: {
92
95
  };
93
96
  };
94
97
  refundTaxi: {
95
- description: import("../../translations/commons").TranslatedString;
96
98
  taxiReceipt: {
97
99
  title: import("../../translations/commons").TranslatedString;
98
100
  info: import("../../translations/commons").TranslatedString;
@@ -104,6 +106,11 @@ export declare const Contact: {
104
106
  title: import("../../translations/commons").TranslatedString;
105
107
  };
106
108
  };
109
+ otherTicketRefund: {
110
+ receipt: {
111
+ info: import("../../translations/commons").TranslatedString;
112
+ };
113
+ };
107
114
  refundCar: {
108
115
  description: import("../../translations/commons").TranslatedString;
109
116
  info: import("../../translations/commons").TranslatedString;
@@ -114,6 +121,30 @@ export declare const Contact: {
114
121
  title: import("../../translations/commons").TranslatedString;
115
122
  };
116
123
  };
124
+ prePurchasedTicketRefund: {
125
+ info: import("../../translations/commons").TranslatedString;
126
+ aboutYourTicket: {
127
+ title: import("../../translations/commons").TranslatedString;
128
+ };
129
+ delayedDepartures: {
130
+ title: import("../../translations/commons").TranslatedString;
131
+ info: import("../../translations/commons").TranslatedString;
132
+ add: import("../../translations/commons").TranslatedString;
133
+ remove: import("../../translations/commons").TranslatedString;
134
+ removeLabel: import("../../translations/commons").TranslatedString;
135
+ columns: {
136
+ line: import("../../translations/commons").TranslatedString;
137
+ date: import("../../translations/commons").TranslatedString;
138
+ time: import("../../translations/commons").TranslatedString;
139
+ fromStop: import("../../translations/commons").TranslatedString;
140
+ toStop: import("../../translations/commons").TranslatedString;
141
+ };
142
+ errorMessages: {
143
+ tooFew: import("../../translations/commons").TranslatedString;
144
+ notWithinOneMonth: import("../../translations/commons").TranslatedString;
145
+ };
146
+ };
147
+ };
117
148
  refundOtherPublicTransport: {
118
149
  description: import("../../translations/commons").TranslatedString;
119
150
  };
@@ -163,6 +194,7 @@ export declare const Contact: {
163
194
  injury: {
164
195
  description: import("../../translations/commons").TranslatedString;
165
196
  info: import("../../translations/commons").TranslatedString;
197
+ feedbackDescription: import("../../translations/commons").TranslatedString;
166
198
  about: {
167
199
  title: import("../../translations/commons").TranslatedString;
168
200
  description: import("../../translations/commons").TranslatedString;
@@ -215,7 +247,7 @@ export declare const Contact: {
215
247
  question: import("../../translations/commons").TranslatedString;
216
248
  orderTravelCard: {
217
249
  label: import("../../translations/commons").TranslatedString;
218
- detailsList: import("../../translations/commons").TranslatedString[];
250
+ detailsList: import("../../translations/commons").RichTranslatedString[];
219
251
  };
220
252
  travelCardQuestion: {
221
253
  label: import("../../translations/commons").TranslatedString;
@@ -274,12 +306,13 @@ export declare const Contact: {
274
306
  };
275
307
  lostAndFound: {
276
308
  title: import("../../translations/commons").TranslatedString;
277
- info: import("../../translations/commons").TranslatedString;
309
+ info: import("../../translations/commons").RichTranslatedString;
278
310
  about: {
279
311
  title: import("../../translations/commons").TranslatedString;
280
312
  };
281
313
  itemDescription: {
282
314
  title: import("../../translations/commons").TranslatedString;
315
+ description: import("../../translations/commons").TranslatedString;
283
316
  };
284
317
  contactInfo: {
285
318
  title: import("../../translations/commons").TranslatedString;
@@ -355,12 +388,14 @@ export declare const Contact: {
355
388
  };
356
389
  IBAN: {
357
390
  label: import("../../translations/commons").TranslatedString;
391
+ description: import("../../translations/commons").TranslatedString;
358
392
  errorMessages: {
359
393
  empty: import("../../translations/commons").TranslatedString;
360
394
  };
361
395
  };
362
396
  SWIFT: {
363
397
  label: import("../../translations/commons").TranslatedString;
398
+ description: import("../../translations/commons").TranslatedString;
364
399
  errorMessages: {
365
400
  empty: import("../../translations/commons").TranslatedString;
366
401
  };
@@ -389,6 +424,7 @@ export declare const Contact: {
389
424
  framApp: import("../../translations/commons").TranslatedString;
390
425
  enturWeb: import("../../translations/commons").TranslatedString;
391
426
  framWeb: import("../../translations/commons").TranslatedString;
427
+ sms: import("../../translations/commons").TranslatedString;
392
428
  };
393
429
  errorMessages: {
394
430
  empty: import("../../translations/commons").TranslatedString;
@@ -488,7 +524,6 @@ export declare const Contact: {
488
524
  feeNumber: {
489
525
  label: import("../../translations/commons").TranslatedString;
490
526
  description: import("../../translations/commons").TranslatedString;
491
- instruction: import("../../translations/commons").TranslatedString;
492
527
  errorMessages: {
493
528
  empty: import("../../translations/commons").TranslatedString;
494
529
  invalidFormat: import("../../translations/commons").TranslatedString;
@@ -497,7 +532,6 @@ export declare const Contact: {
497
532
  invoiceNumber: {
498
533
  label: import("../../translations/commons").TranslatedString;
499
534
  description: import("../../translations/commons").TranslatedString;
500
- instruction: import("../../translations/commons").TranslatedString;
501
535
  errorMessages: {
502
536
  empty: import("../../translations/commons").TranslatedString;
503
537
  };
@@ -559,8 +593,6 @@ export declare const Contact: {
559
593
  orderId: {
560
594
  label: (expectsSingleOrderId: boolean) => import("../../translations/commons").TranslatedString;
561
595
  description: import("../../translations/commons").TranslatedString;
562
- descriptionBulletPoints: import("../../translations/commons").TranslatedString[];
563
- instruction: import("../../translations/commons").TranslatedString;
564
596
  errorMessages: {
565
597
  empty: import("../../translations/commons").TranslatedString;
566
598
  invalidFormat: {
@@ -569,9 +601,12 @@ export declare const Contact: {
569
601
  };
570
602
  };
571
603
  };
572
- refundReason: {
604
+ identificationAttachments: {
573
605
  label: import("../../translations/commons").TranslatedString;
606
+ };
607
+ refundReason: {
574
608
  question: import("../../translations/commons").TranslatedString;
609
+ description: import("../../translations/commons").TranslatedString;
575
610
  errorMessages: {
576
611
  empty: import("../../translations/commons").TranslatedString;
577
612
  };
@@ -588,10 +623,7 @@ export declare const Contact: {
588
623
  ticketType: {
589
624
  labelRefund: import("../../translations/commons").TranslatedString;
590
625
  optionLabelRefund: import("../../translations/commons").TranslatedString;
591
- options: {
592
- id: TicketTypeId;
593
- name: import("../../translations/commons").TranslatedString;
594
- }[];
626
+ options: TicketType[];
595
627
  errorMessages: {
596
628
  empty: import("../../translations/commons").TranslatedString;
597
629
  };
@@ -627,10 +659,6 @@ export declare const Contact: {
627
659
  tooLarge: (fileName: string) => import("../../translations/commons").TranslatedString;
628
660
  };
629
661
  };
630
- modal: {
631
- moreInformation: (inputName: string) => import("../../translations/commons").TranslatedString;
632
- close: () => import("../../translations/commons").TranslatedString;
633
- };
634
662
  };
635
663
  };
636
664
  //# sourceMappingURL=contact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../src/translations/pages/contact.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,CAAC,EAEjB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEtE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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