@heycater/qualification-funnel 1.19.7 → 1.19.9

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/index.esm.js CHANGED
@@ -9265,6 +9265,8 @@ function getPillValue({
9265
9265
  answers.price_per_person,
9266
9266
  answers.min_order_number
9267
9267
  ];
9268
+ const isGb = getIsGb();
9269
+ const currency = getCurrencySymbol(isGb);
9268
9270
  return [
9269
9271
  {
9270
9272
  stepId,
@@ -9276,7 +9278,8 @@ function getPillValue({
9276
9278
  questionId: "price_per_person",
9277
9279
  text: t2("qualification:selection.budget", {
9278
9280
  perPerson: pricePerPerson,
9279
- total: total2
9281
+ total: total2,
9282
+ currency
9280
9283
  })
9281
9284
  }
9282
9285
  ];
@@ -11877,7 +11880,7 @@ const EmbeddedQuestion = ({
11877
11880
  content: /* @__PURE__ */ jsx(Container, { size: MAX_WIDTH_OF_WHITE_WRAPPER, children: /* @__PURE__ */ jsx(WhiteWrapper, { children: /* @__PURE__ */ jsx(Box, { py: 4, children: /* @__PURE__ */ jsx(
11878
11881
  TeamSizeInput,
11879
11882
  {
11880
- label: t2("qualification:embeddedFunnel.teamSize.label", (_e = teamSizeQuestion.content) == null ? void 0 : _e.titleDe),
11883
+ label: t2("qualification:embeddedFunnel.teamSize.label", (_e = teamSizeQuestion.content) == null ? void 0 : _e.titleEn),
11881
11884
  questionId: teamSizeQuestion.id,
11882
11885
  value: answerOf("team_size"),
11883
11886
  onChange: (value) => actions.answerQuestion("team_size", value),
@@ -28429,7 +28432,7 @@ const selection$1 = {
28429
28432
  vegan: "{{ amount }} Veganer",
28430
28433
  vegetarian: "{{ amount }} Vegetarier",
28431
28434
  carnivore: "{{ amount }} Fleischesser",
28432
- budget: "{{ perPerson }} p.P. / {{ total }} Gesamtbudget"
28435
+ budget: "{{ perPerson }}{{currency}} p.P. / {{ total }}{{currency}} Gesamtbudget"
28433
28436
  };
28434
28437
  const diet$1 = {
28435
28438
  pax: "Personenzahl:"
@@ -29621,7 +29624,7 @@ const selection = {
29621
29624
  vegan: "{{ amount }} Vegans",
29622
29625
  vegetarian: "{{ amount }} Vegetarians",
29623
29626
  carnivore: "{{ amount }} Carnivores",
29624
- budget: "{{ perPerson }} p.P. / {{ total }} Total Budget"
29627
+ budget: "{{currency}}{{ perPerson }} pp / {{currency}}{{ total }} Total Budget"
29625
29628
  };
29626
29629
  const diet = {
29627
29630
  pax: "Number of people:"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycater/qualification-funnel",
3
- "version": "1.19.7",
3
+ "version": "1.19.9",
4
4
  "type": "module",
5
5
  "description": "Heycater embedded qualification funnel widget",
6
6
  "main": "dist/index.cjs.js",