@roomstay/frontend 2.1.7 → 2.1.10

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 (112) hide show
  1. package/dist/201.bundle.js +1 -1
  2. package/dist/449.bundle.js +1 -1
  3. package/dist/535.bundle.js +2 -0
  4. package/dist/559.bundle.js +1 -1
  5. package/dist/760.bundle.js +1 -1
  6. package/dist/882.bundle.js +1 -1
  7. package/dist/main.bundle.js +1 -1
  8. package/dist/src/components/generic/Icon/Icon.d.ts +1 -0
  9. package/dist/src/components/generic/Icon/Icon.js +2 -1
  10. package/dist/src/components/generic/Icon/Icon.js.map +1 -1
  11. package/dist/src/components/generic/Layout/StepLayout/StepLayoutContainer.d.ts +3 -0
  12. package/dist/src/components/generic/Layout/StepLayout/StepLayoutContainer.js +28 -0
  13. package/dist/src/components/generic/Layout/StepLayout/StepLayoutContainer.js.map +1 -0
  14. package/dist/src/components/generic/Layout/StepLayout/StepLayoutLeftContent.d.ts +3 -0
  15. package/dist/src/components/generic/Layout/StepLayout/StepLayoutLeftContent.js +25 -0
  16. package/dist/src/components/generic/Layout/StepLayout/StepLayoutLeftContent.js.map +1 -0
  17. package/dist/src/components/generic/Layout/StepLayout/StepLayoutRightContent.d.ts +3 -0
  18. package/dist/src/components/generic/Layout/StepLayout/StepLayoutRightContent.js +25 -0
  19. package/dist/src/components/generic/Layout/StepLayout/StepLayoutRightContent.js.map +1 -0
  20. package/dist/src/components/generic/Layout/StepLayout/index.d.ts +3 -0
  21. package/dist/src/components/generic/Layout/StepLayout/index.js +13 -0
  22. package/dist/src/components/generic/Layout/StepLayout/index.js.map +1 -0
  23. package/dist/src/components/generic/date/DatePicker.js +10 -11
  24. package/dist/src/components/generic/date/DatePicker.js.map +1 -1
  25. package/dist/src/components/steps/addons/AddonList.js +32 -12
  26. package/dist/src/components/steps/addons/AddonList.js.map +1 -1
  27. package/dist/src/components/steps/hotel/HotelCard.js +24 -11
  28. package/dist/src/components/steps/hotel/HotelCard.js.map +1 -1
  29. package/dist/src/components/summary/BESummaryAddonRow.js +4 -3
  30. package/dist/src/components/summary/BESummaryAddonRow.js.map +1 -1
  31. package/dist/src/contexts/BasketContext/BasketContextType.d.ts +1 -0
  32. package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -1
  33. package/dist/src/contexts/BasketContext/BasketContextWrapper.js +38 -8
  34. package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -1
  35. package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +1 -0
  36. package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -1
  37. package/dist/src/index.d.ts +1 -0
  38. package/dist/src/index.js +3 -1
  39. package/dist/src/index.js.map +1 -1
  40. package/dist/src/models/Addon/Addon.d.ts +1 -0
  41. package/dist/src/models/Addon/Addon.js +10 -1
  42. package/dist/src/models/Addon/Addon.js.map +1 -1
  43. package/dist/src/models/BasketAddonRow.js +26 -19
  44. package/dist/src/models/BasketAddonRow.js.map +1 -1
  45. package/dist/src/pages/findReservation/ReservationRow.js +4 -6
  46. package/dist/src/pages/findReservation/ReservationRow.js.map +1 -1
  47. package/dist/src/pages/steps/StepAddon/StepAddonComponent.js +32 -9
  48. package/dist/src/pages/steps/StepAddon/StepAddonComponent.js.map +1 -1
  49. package/dist/src/pages/steps/StepAddon/StepAddonLoader.js +45 -44
  50. package/dist/src/pages/steps/StepAddon/StepAddonLoader.js.map +1 -1
  51. package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js +35 -12
  52. package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js.map +1 -1
  53. package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js +10 -10
  54. package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js.map +1 -1
  55. package/dist/src/pages/steps/StepRoom/StepRoomComponent.js +33 -33
  56. package/dist/src/pages/steps/StepRoom/StepRoomComponent.js.map +1 -1
  57. package/dist/src/pages/steps/StepRoom/StepRoomLoader.js +10 -10
  58. package/dist/src/pages/steps/StepRoom/StepRoomLoader.js.map +1 -1
  59. package/dist/src/providers/FeatureProvider.js +2 -0
  60. package/dist/src/providers/FeatureProvider.js.map +1 -1
  61. package/dist/src/providers/feature/FullPageEngineSmallSpacingFeature.d.ts +6 -0
  62. package/dist/src/providers/feature/FullPageEngineSmallSpacingFeature.js +10 -0
  63. package/dist/src/providers/feature/FullPageEngineSmallSpacingFeature.js.map +1 -0
  64. package/dist/src/reducers/BasketReducer.d.ts +2 -1
  65. package/dist/src/reducers/BasketReducer.js +7 -0
  66. package/dist/src/reducers/BasketReducer.js.map +1 -1
  67. package/dist/src/util/TotalCalculator.js +7 -1
  68. package/dist/src/util/TotalCalculator.js.map +1 -1
  69. package/dist/test.bundle.js +1 -1
  70. package/dist/vendors.bundle.js +1 -1
  71. package/package.json +1 -1
  72. package/dist/399.bundle.js +0 -2
  73. package/dist/tests/jest/engines/RoomstayThemeEngine.test.d.ts +0 -1
  74. package/dist/tests/jest/engines/RoomstayThemeEngine.test.js +0 -41
  75. package/dist/tests/jest/engines/RoomstayThemeEngine.test.js.map +0 -1
  76. package/dist/tests/jest/events/EventManager.test.d.ts +0 -1
  77. package/dist/tests/jest/events/EventManager.test.js +0 -101
  78. package/dist/tests/jest/events/EventManager.test.js.map +0 -1
  79. package/dist/tests/jest/helpers/ObjectHelper.test.d.ts +0 -1
  80. package/dist/tests/jest/helpers/ObjectHelper.test.js +0 -72
  81. package/dist/tests/jest/helpers/ObjectHelper.test.js.map +0 -1
  82. package/dist/tests/jest/models/RoomRate.test.d.ts +0 -1
  83. package/dist/tests/jest/models/RoomRate.test.js +0 -133
  84. package/dist/tests/jest/models/RoomRate.test.js.map +0 -1
  85. package/dist/tests/jest/providers/LanguageProvider.test.d.ts +0 -1
  86. package/dist/tests/jest/providers/LanguageProvider.test.js +0 -32
  87. package/dist/tests/jest/providers/LanguageProvider.test.js.map +0 -1
  88. package/dist/tests/jest/providers/SessionProvider.test.d.ts +0 -1
  89. package/dist/tests/jest/providers/SessionProvider.test.js +0 -230
  90. package/dist/tests/jest/providers/SessionProvider.test.js.map +0 -1
  91. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.d.ts +0 -1
  92. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js +0 -126
  93. package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js.map +0 -1
  94. package/dist/tests/jest/reducers/BasketReducer.test.d.ts +0 -1
  95. package/dist/tests/jest/reducers/BasketReducer.test.js +0 -103
  96. package/dist/tests/jest/reducers/BasketReducer.test.js.map +0 -1
  97. package/dist/tests/offline/RoomstayBestRateAlert.d.ts +0 -1
  98. package/dist/tests/offline/RoomstayBestRateAlert.js +0 -48
  99. package/dist/tests/offline/RoomstayBestRateAlert.js.map +0 -1
  100. package/dist/tests/offline/entry/ReactWrapper.d.ts +0 -1
  101. package/dist/tests/offline/entry/ReactWrapper.js +0 -136
  102. package/dist/tests/offline/entry/ReactWrapper.js.map +0 -1
  103. package/dist/tests/offline/entry/allEngines.d.ts +0 -1
  104. package/dist/tests/offline/entry/allEngines.js +0 -50
  105. package/dist/tests/offline/entry/allEngines.js.map +0 -1
  106. package/dist/tests/offline/entry/components/TestPicker.d.ts +0 -1
  107. package/dist/tests/offline/entry/components/TestPicker.js +0 -156
  108. package/dist/tests/offline/entry/components/TestPicker.js.map +0 -1
  109. package/dist/tests/setupTests.d.ts +0 -0
  110. package/dist/tests/setupTests.js +0 -12
  111. package/dist/tests/setupTests.js.map +0 -1
  112. /package/dist/{399.bundle.js.LICENSE.txt → 535.bundle.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iCAAuC;AACvC,mFAA2D;AAE3D,MAAM,kBAAkB,GAAG,IAAA,YAA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CAAK,SAAS,EAAC,0BAA0B;gCACrC,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;4BACN,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C,CACJ,CACJ,CACJ;YACN,uCAAK,SAAS,EAAC,wCAAwC;gBACnD,uCAAK,SAAS,EAAC,OAAO;oBAClB;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D;oBACN;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;oBACN,uCAAK,SAAS,EAAC,mBAAmB;wBAC9B,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAC9B,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,MAAM,OAAG;QAC1B,8BAAC,kBAAkB,OAAG,CACf,CACd,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,oBAAoB,CAAC","sourcesContent":["import React from 'react';\nimport { lazy, Suspense } from 'react';\nimport Placeholder from '@/components/generic/Placeholder';\n\nconst StepAddonComponent = lazy(() => import('@/pages/steps/StepAddon/StepAddonComponent'));\n\nconst Loader = () => {\n return (\n <div className=\"container\">\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"u-w-100 u-flex justify-content-center\">\n <Placeholder type=\"text\" w=\"md\" h=\"lg\" blink />\n </div>\n <div className=\"line-break\" />\n <div className=\"col-md-7 col-lg-8\">\n <br />\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1\">\n <div className=\"u-pad\">\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div className=\"u-marg-top--heavy\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nconst StepAddonPlaceholder = () => {\n return (\n <Suspense fallback={<Loader />}>\n <StepAddonComponent />\n </Suspense>\n );\n};\n\nexport default StepAddonPlaceholder;\n"]}
1
+ {"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8C;AAC9C,mFAA2D;AAC3D,uEAA4H;AAE5H,MAAM,kBAAkB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,4CAA4C,GAAC,CAAC,CAAC;AAE5F,MAAM,MAAM,GAAG,GAAG,EAAE;IAChB,OAAO,CACH,uCAAK,SAAS,EAAC,WAAW;QACtB,uCAAK,SAAS,EAAC,YAAY,GAAG;QAC9B,uCAAK,SAAS,EAAC,gBAAgB;YAC3B,uCAAK,SAAS,EAAC,uCAAuC;gBAClD,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;YACN,uCAAK,SAAS,EAAC,YAAY,GAAG;YAC9B,8BAAC,gCAAmB;gBAChB,8BAAC,kCAAqB;oBAClB,yCAAM;oBACN,uCAAK,SAAS,EAAC,eAAe;wBAC1B,uCAAK,SAAS,EAAC,KAAK;4BAChB,uCAAK,SAAS,EAAC,2BAA2B;gCACtC,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC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O,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACe,CACP,CACpB,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAC9B,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,MAAM,OAAG;QAC1B,8BAAC,kBAAkB,OAAG,CACf,CACd,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,oBAAoB,CAAC","sourcesContent":["import React, { lazy, Suspense } from 'react';\nimport Placeholder from '@/components/generic/Placeholder';\nimport { StepLayoutContainer, StepLayoutLeftContent, StepLayoutRightContent } from '@/components/generic/Layout/StepLayout';\n\nconst StepAddonComponent = lazy(() => import('@/pages/steps/StepAddon/StepAddonComponent'));\n\nconst Loader = () => {\n return (\n <div className=\"container\">\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"u-w-100 u-flex justify-content-center\">\n <Placeholder type=\"text\" w=\"md\" h=\"lg\" blink />\n </div>\n <div className=\"line-break\" />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <br />\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n </div>\n </div>\n </StepLayoutLeftContent>\n <StepLayoutRightContent>\n <div className=\"u-pad\">\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div className=\"u-marg-top--heavy\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n </div>\n </StepLayoutRightContent>\n </StepLayoutContainer>\n </div>\n </div>\n );\n};\n\nconst StepAddonPlaceholder = () => {\n return (\n <Suspense fallback={<Loader />}>\n <StepAddonComponent />\n </Suspense>\n );\n};\n\nexport default StepAddonPlaceholder;\n"]}
@@ -1,10 +1,32 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
2
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
27
  };
5
28
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
7
- const react_2 = require("react");
29
+ const react_1 = __importStar(require("react"));
8
30
  const Headline_1 = __importDefault(require("../../../components/generic/Headline"));
9
31
  const StepManager_1 = __importDefault(require("../../../util/StepManager"));
10
32
  const BESummary_1 = require("../../../components/summary/BESummary");
@@ -25,20 +47,21 @@ const EventHook_1 = require("../../../hooks/EventHook");
25
47
  const events_1 = require("../../../events/index.js");
26
48
  const contexts_1 = require("../../../contexts/index.js");
27
49
  const StepConfirmationFormProvider_1 = __importDefault(require("../../../components/steps/confirmation/StepConfirmationFormProvider"));
50
+ const StepLayout_1 = require("../../../components/generic/Layout/StepLayout");
28
51
  function StepConfirmationComponent() {
29
- const context = (0, react_2.useContext)(contexts_1.BookingEngineContext);
30
- const { currentStep } = (0, react_2.useContext)(contexts_1.FullPageEngineContext);
31
- const { currentBasketRows } = (0, react_2.useContext)(contexts_1.BasketContext);
52
+ const context = (0, react_1.useContext)(contexts_1.BookingEngineContext);
53
+ const { currentStep } = (0, react_1.useContext)(contexts_1.FullPageEngineContext);
54
+ const { currentBasketRows } = (0, react_1.useContext)(contexts_1.BasketContext);
32
55
  const { t } = (0, react_i18next_1.useTranslation)();
33
56
  const { raise } = (0, EventHook_1.useEvent)();
34
- (0, react_2.useEffect)(() => {
57
+ (0, react_1.useEffect)(() => {
35
58
  const event = new events_1.StepCheckoutViewEvent(currentBasketRows);
36
59
  raise(event);
37
60
  }, []);
38
61
  return (react_1.default.createElement("div", { className: "container" },
39
62
  react_1.default.createElement(BEMobileSummary_1.default, null),
40
- react_1.default.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
41
- react_1.default.createElement("div", { className: "col-md-7 col-xl-8" },
63
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
64
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
42
65
  context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement(react_1.default.Fragment, null,
43
66
  react_1.default.createElement(react_router_dom_1.Link, { to: StepManager_1.default.getPreviousStepUrl(currentStep) },
44
67
  react_1.default.createElement(BackButton_1.default, null)),
@@ -46,15 +69,15 @@ function StepConfirmationComponent() {
46
69
  react_1.default.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Navigation.Steps.Confirmation))))),
47
70
  react_1.default.createElement("div", { className: "u-marg-top@m-" },
48
71
  react_1.default.createElement(StepRoomBestRateAlert_1.default, null))),
49
- context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement("div", { className: "offset-xl-1 col-md-4 col-xl-3 align-self-end" },
72
+ context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
50
73
  react_1.default.createElement(StepRoomHotelDetails_1.default, null)))),
51
74
  react_1.default.createElement(LineBreak_1.default, null),
52
- react_1.default.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
53
- react_1.default.createElement("div", { className: "col-md-7 col-xl-8 d-table" },
75
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
76
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
54
77
  react_1.default.createElement("div", { className: "block-container" },
55
78
  !InlineAddonStepFeature_1.default.isActive() && react_1.default.createElement(AdditionalOffers_1.default, null),
56
79
  react_1.default.createElement(StepConfirmationFormProvider_1.default, null))),
57
- context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement("div", { className: "col-xl-3 col-md-5 offset-xl-1" },
80
+ context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
58
81
  react_1.default.createElement(StepConfirmationLimitedOffer_1.default, { endDate: (0, dayjs_1.default)().add(10, 'minute') }),
59
82
  react_1.default.createElement(BESummary_1.BESummary, { showImages: true }))))));
60
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,iCAA8C;AAC9C,6EAAqD;AACrD,qEAA6C;AAC7C,8DAA2D;AAC3D,uDAAwC;AACxC,+EAAuD;AACvD,iFAAyD;AACzD,0DAAuD;AACvD,2FAAmE;AAEnE,mEAA2C;AAE3C,wGAAgF;AAChF,iDAA+C;AAC/C,yHAAiG;AACjG,gIAAwG;AACxG,kDAA0B;AAC1B,0GAAkF;AAClF,wGAAgF;AAChF,iDAA6C;AAC7C,6CAAyD;AACzD,iDAAgG;AAChG,uIAA+G;AAE/G,SAAS,yBAAyB;IAC9B,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,+BAAoB,CAAC,CAAC;IACjD,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAU,EAAC,gCAAqB,CAAC,CAAC;IAC1D,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAExD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAE/B,MAAM,EAAE,K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;oBAC3B,CAAC,gCAAsB,CAAC,QAAQ,EAAE,IAAI,8BAAC,0BAAgB,OAAG;oBAC3D,8BAAC,sCAA4B,OAAG,CAC9B,CACJ;YAEL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,uCAAK,SAAS,EAAC,+BAA+B;gBAC1C,8BAAC,sCAA4B,IAAC,OAAO,EAAE,IAAA,eAAK,GAAE,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,GAAI;gBACpE,8BAAC,qBAAS,IAAC,UAAU,SAAG,CACtB,CACT,CACC,CACJ,CACT,CAAC;AACN,CAAC;AAED,kBAAe,yBAAyB,CAAC","sourcesContent":["import React from 'react';\nimport { useContext, useEffect } from 'react';\nimport Headline from '@/components/generic/Headline';\nimport StepManager from '@/util/StepManager';\nimport { BESummary } from '@/components/summary/BESummary';\nimport { Link } from 'react-router-dom';\nimport LineBreak from '@/components/generic/LineBreak';\nimport BackButton from '@/components/generic/BackButton';\nimport { Translation } from 'translations/Translation';\nimport BEMobileSummary from '@/components/summary/BEMobileSummary';\n\nimport ScreenSize from '@/util/ScreenSize';\n\nimport StepRoomHotelDetails from '@/components/steps/room/StepRoomHotelDetails';\nimport { useTranslation } from 'react-i18next';\nimport AdditionalOffers from '@/components/steps/confirmation/additionalOffers/AdditionalOffers';\nimport StepConfirmationLimitedOffer from '@/components/steps/confirmation/StepConfirmationLimitedOffer';\nimport dayjs from 'dayjs';\nimport StepRoomBestRateAlert from '@/components/steps/room/StepRoomBestRateAlert';\nimport InlineAddonStepFeature from '@/providers/feature/InlineAddonStepFeature';\nimport { useEvent } from '@/hooks/EventHook';\nimport { StepCheckoutViewEvent } from '@frontend/events';\nimport { BasketContext, BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\nimport StepConfirmationFormProvider from '../../../components/steps/confirmation/StepConfirmationFormProvider';\n\nfunction StepConfirmationComponent() {\n const context = useContext(BookingEngineContext);\n const { currentStep } = useContext(FullPageEngineContext);\n const { currentBasketRows } = useContext(BasketContext);\n\n const { t } = useTranslation();\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepCheckoutViewEvent(currentBasketRows);\n raise(event);\n }, []);\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8\">\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold>{t(Translation.Navigation.Steps.Confirmation)}</Headline>\n </div>\n </>\n )}\n\n <div className=\"u-marg-top@m-\">\n <StepRoomBestRateAlert />\n </div>\n </div>\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"offset-xl-1 col-md-4 col-xl-3 align-self-end\">\n <StepRoomHotelDetails />\n </div>\n )}\n </div>\n <LineBreak />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8 d-table\">\n <div className=\"block-container\">\n {!InlineAddonStepFeature.isActive() && <AdditionalOffers />}\n <StepConfirmationFormProvider />\n </div>\n </div>\n\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"col-xl-3 col-md-5 offset-xl-1\">\n <StepConfirmationLimitedOffer endDate={dayjs().add(10, 'minute')} />\n <BESummary showImages />\n </div>\n )}\n </div>\n </div>\n );\n}\n\nexport default StepConfirmationComponent;\n"]}
1
+ {"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqD;AACrD,6EAAqD;AACrD,qEAA6C;AAC7C,8DAA2D;AAC3D,uDAAwC;AACxC,+EAAuD;AACvD,iFAAyD;AACzD,0DAAuD;AACvD,2FAAmE;AAEnE,mEAA2C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CACc;YACvB,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,8BAAC,mCAAsB;gBACnB,8BAAC,8BAAoB,OAAG,CACH,CAC5B,CACiB;QACtB,8BAAC,mBAAS,OAAG;QACb,8BAAC,gCAAmB;YAChB,8BAAC,kCAAqB;gBAClB,uCAAK,SAAS,EAAC,iBAAiB;oBAC3B,CAAC,gCAAsB,CAAC,QAAQ,EAAE,IAAI,8BAAC,0BAAgB,OAAG;oBAC3D,8BAAC,sCAA4B,OAAG,CAC9B,CACc;YAEvB,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,8BAAC,mCAAsB;gBACnB,8BAAC,sCAA4B,IAAC,OAAO,EAAE,IAAA,eAAK,GAAE,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,GAAI;gBACpE,8BAAC,qBAAS,IAAC,UAAU,SAAG,CACH,CAC5B,CACiB,CACpB,CACT,CAAC;AACN,CAAC;AAED,kBAAe,yBAAyB,CAAC","sourcesContent":["import React, { useContext, useEffect } from 'react';\nimport Headline from '@/components/generic/Headline';\nimport StepManager from '@/util/StepManager';\nimport { BESummary } from '@/components/summary/BESummary';\nimport { Link } from 'react-router-dom';\nimport LineBreak from '@/components/generic/LineBreak';\nimport BackButton from '@/components/generic/BackButton';\nimport { Translation } from 'translations/Translation';\nimport BEMobileSummary from '@/components/summary/BEMobileSummary';\n\nimport ScreenSize from '@/util/ScreenSize';\n\nimport StepRoomHotelDetails from '@/components/steps/room/StepRoomHotelDetails';\nimport { useTranslation } from 'react-i18next';\nimport AdditionalOffers from '@/components/steps/confirmation/additionalOffers/AdditionalOffers';\nimport StepConfirmationLimitedOffer from '@/components/steps/confirmation/StepConfirmationLimitedOffer';\nimport dayjs from 'dayjs';\nimport StepRoomBestRateAlert from '@/components/steps/room/StepRoomBestRateAlert';\nimport InlineAddonStepFeature from '@/providers/feature/InlineAddonStepFeature';\nimport { useEvent } from '@/hooks/EventHook';\nimport { StepCheckoutViewEvent } from '@frontend/events';\nimport { BasketContext, BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\nimport StepConfirmationFormProvider from '../../../components/steps/confirmation/StepConfirmationFormProvider';\nimport { StepLayoutContainer, StepLayoutLeftContent, StepLayoutRightContent } from '@/components/generic/Layout/StepLayout';\n\nfunction StepConfirmationComponent() {\n const context = useContext(BookingEngineContext);\n const { currentStep } = useContext(FullPageEngineContext);\n const { currentBasketRows } = useContext(BasketContext);\n\n const { t } = useTranslation();\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepCheckoutViewEvent(currentBasketRows);\n raise(event);\n }, []);\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold>{t(Translation.Navigation.Steps.Confirmation)}</Headline>\n </div>\n </>\n )}\n\n <div className=\"u-marg-top@m-\">\n <StepRoomBestRateAlert />\n </div>\n </StepLayoutLeftContent>\n {context.screenSize > ScreenSize.Medium && (\n <StepLayoutRightContent>\n <StepRoomHotelDetails />\n </StepLayoutRightContent>\n )}\n </StepLayoutContainer>\n <LineBreak />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <div className=\"block-container\">\n {!InlineAddonStepFeature.isActive() && <AdditionalOffers />}\n <StepConfirmationFormProvider />\n </div>\n </StepLayoutLeftContent>\n\n {context.screenSize > ScreenSize.Medium && (\n <StepLayoutRightContent>\n <StepConfirmationLimitedOffer endDate={dayjs().add(10, 'minute')} />\n <BESummary showImages />\n </StepLayoutRightContent>\n )}\n </StepLayoutContainer>\n </div>\n );\n}\n\nexport default StepConfirmationComponent;\n"]}
@@ -26,17 +26,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const react_1 = __importDefault(require("react"));
30
- const react_2 = require("react");
29
+ const react_1 = __importStar(require("react"));
31
30
  const Placeholder_1 = __importDefault(require("../../../components/generic/Placeholder"));
32
- const StepConfirmationComponent = (0, react_2.lazy)(() => Promise.resolve().then(() => __importStar(require('./StepConfirmationComponent'))));
31
+ const StepLayout_1 = require("../../../components/generic/Layout/StepLayout");
32
+ const StepConfirmationComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./StepConfirmationComponent'))));
33
33
  function StepConfirmationPlaceholder() {
34
34
  return (react_1.default.createElement("div", { className: "container" },
35
- react_1.default.createElement("div", { className: "row no-gutters" },
36
- react_1.default.createElement("div", { className: "col-md-8" },
35
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
36
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
37
37
  react_1.default.createElement("div", { className: "u-marg-top--light u-marg-bottom--heavy" },
38
38
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }))),
39
- react_1.default.createElement("div", { className: "col-xl-3 col-md-4 offset-xl-1 align-self-end" },
39
+ react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
40
40
  react_1.default.createElement("div", { className: "u-marg-bottom" },
41
41
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "md", h: "md", blink: true }),
42
42
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true })),
@@ -46,8 +46,8 @@ function StepConfirmationPlaceholder() {
46
46
  react_1.default.createElement("div", { className: "col-6" },
47
47
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true }))))),
48
48
  react_1.default.createElement("div", { className: "line-break" }),
49
- react_1.default.createElement("div", { className: "row no-gutters" },
50
- react_1.default.createElement("div", { className: "col-md-7 col-lg-8" },
49
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
50
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
51
51
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true }),
52
52
  react_1.default.createElement("div", { className: "additional-offers u-flex" },
53
53
  react_1.default.createElement(Placeholder_1.default, { type: "block", rounded: "lg", blockSize: "sm", blink: true }),
@@ -92,7 +92,7 @@ function StepConfirmationPlaceholder() {
92
92
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "md", h: "xs", blink: true }),
93
93
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true }),
94
94
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true })),
95
- react_1.default.createElement("div", { className: "col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad" },
95
+ react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
96
96
  react_1.default.createElement("div", null,
97
97
  react_1.default.createElement("div", null,
98
98
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "xl", h: "lg", blink: true })),
@@ -100,7 +100,7 @@ function StepConfirmationPlaceholder() {
100
100
  react_1.default.createElement(Placeholder_1.default, { type: "block", blockSize: "lg", rounded: "lg", blink: true })))))));
101
101
  }
102
102
  function StepConfirmationLoader() {
103
- return (react_1.default.createElement(react_2.Suspense, { fallback: react_1.default.createElement(StepConfirmationPlaceholder, null) },
103
+ return (react_1.default.createElement(react_1.Suspense, { fallback: react_1.default.createElement(StepConfirmationPlaceholder, null) },
104
104
  react_1.default.createElement(StepConfirmationComponent, null)));
105
105
  }
106
106
  exports.default = StepConfirmationLoader;
@@ -1 +1 @@
1
- {"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iCAAuC;AAEvC,mFAA2D;AAE3D,MAAM,yBAAyB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE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IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG;gBAC/C,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG;gBAC/C,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;YACN,uCAAK,SAAS,EAAC,8CAA8C;gBACzD;oBACI;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;oBACN;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC;AAED,SAAwB,sBAAsB;IAC1C,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,2BAA2B,OAAG;QAC/C,8BAAC,yBAAyB,OAAG,CACtB,CACd,CAAC;AACN,CAAC;AAND,yCAMC","sourcesContent":["import React from 'react';\nimport { lazy, Suspense } from 'react';\n\nimport Placeholder from '@/components/generic/Placeholder';\n\nconst StepConfirmationComponent = lazy(() => import('@/pages/steps/StepConfirmation/StepConfirmationComponent'));\n\nfunction StepConfirmationPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row no-gutters\">\n <div className=\"col-md-8\">\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n </div>\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </div>\n </div>\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"col-md-7 col-lg-8\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"additional-offers u-flex\">\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n </div>\n <div className=\"u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"u-flex u-flex-flex-start\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"md\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad\">\n <div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default function StepConfirmationLoader() {\n return (\n <Suspense fallback={<StepConfirmationPlaceholder />}>\n <StepConfirmationComponent />\n </Suspense>\n );\n}\n"]}
1
+ {"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8C;AAE9C,mFAA2D;AAC3D,uEAA4H;AAE5H,MAAM,yBAAyB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,0DAA0D,GAAC,CAAC,CAAC;AAEjH,SAAS,2BAA2B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IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG;gBAC/C,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC3B;YACxB,8BAAC,mCAAsB;gBACnB;oBACI;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;oBACN;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACe,CACP,CACpB,CACT,CAAC;AACN,CAAC;AAED,SAAwB,sBAAsB;IAC1C,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,2BAA2B,OAAG;QAC/C,8BAAC,yBAAyB,OAAG,CACtB,CACd,CAAC;AACN,CAAC;AAND,yCAMC","sourcesContent":["import React, { lazy, Suspense } from 'react';\n\nimport Placeholder from '@/components/generic/Placeholder';\nimport { StepLayoutContainer, StepLayoutLeftContent, StepLayoutRightContent } from '@/components/generic/Layout/StepLayout';\n\nconst StepConfirmationComponent = lazy(() => import('@/pages/steps/StepConfirmation/StepConfirmationComponent'));\n\nfunction StepConfirmationPlaceholder() {\n return (\n <div className=\"container\">\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n </StepLayoutLeftContent>\n <StepLayoutRightContent>\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </StepLayoutRightContent>\n </StepLayoutContainer>\n <div className=\"line-break\" />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"additional-offers u-flex\">\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink />\n </div>\n <div className=\"u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n </div>\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <div className=\"u-flex u-flex-flex-start\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <Placeholder type=\"text\" w=\"md\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </StepLayoutLeftContent>\n <StepLayoutRightContent>\n <div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n </div>\n </StepLayoutRightContent>\n </StepLayoutContainer>\n </div>\n );\n}\n\nexport default function StepConfirmationLoader() {\n return (\n <Suspense fallback={<StepConfirmationPlaceholder />}>\n <StepConfirmationComponent />\n </Suspense>\n );\n}\n"]}
@@ -26,8 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const react_1 = require("react");
30
- const react_2 = __importDefault(require("react"));
29
+ const react_1 = __importStar(require("react"));
31
30
  const react_i18next_1 = require("react-i18next");
32
31
  const react_router_dom_1 = require("react-router-dom");
33
32
  const BackButton_1 = __importDefault(require("../../../components/generic/BackButton"));
@@ -48,6 +47,7 @@ const ScreenSize_1 = __importDefault(require("../../../util/ScreenSize"));
48
47
  const StepManager_1 = __importDefault(require("../../../util/StepManager"));
49
48
  const DataLayer_1 = __importStar(require("../../../util/DataLayer"));
50
49
  const contexts_1 = require("../../../contexts/index.js");
50
+ const StepLayout_1 = require("../../../components/generic/Layout/StepLayout");
51
51
  const StepRoomComponent = () => {
52
52
  const context = (0, react_1.useContext)(contexts_1.BookingEngineContext);
53
53
  const { t } = (0, react_i18next_1.useTranslation)();
@@ -61,37 +61,37 @@ const StepRoomComponent = () => {
61
61
  const closeFilter = () => {
62
62
  setFiltersOpen(false);
63
63
  };
64
- return (react_2.default.createElement("div", { className: "container" },
65
- react_2.default.createElement(BEMobileSummary_1.default, null),
66
- react_2.default.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
67
- react_2.default.createElement("div", { className: "col-md-8" },
68
- context.screenSize > ScreenSize_1.default.Medium && (react_2.default.createElement(react_2.default.Fragment, null,
69
- react_2.default.createElement(react_router_dom_1.Link, { to: StepManager_1.default.getPreviousStepUrl(currentStep) },
70
- react_2.default.createElement(BackButton_1.default, null)),
71
- react_2.default.createElement("div", { className: "u-marg-top--light u-marg-bottom--heavy" },
72
- react_2.default.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Step.Room.ChooseRoom))))),
73
- react_2.default.createElement("div", { className: "row align-items-end" },
74
- react_2.default.createElement("div", { className: "col-6 col-md-4 col-lg-3" },
75
- react_2.default.createElement(Text_1.default, { type: Text_1.TextType.Label, color: Color_1.Color.DarkGrey },
76
- react_2.default.createElement("strong", null, t(Translation_1.Translation.Step.Room.SortBy))),
77
- react_2.default.createElement("div", null,
78
- react_2.default.createElement(StepRoomSortBy_1.default, null))),
79
- react_2.default.createElement("div", { className: "col-6 col-md-2 col-lg-2" },
80
- react_2.default.createElement("div", { ref: filterButton },
81
- react_2.default.createElement("div", { className: "filter-button d-flex align-items-center u-cursor-pointer", onClick: openFilter },
82
- react_2.default.createElement(Text_1.default, null, context.screenSize > ScreenSize_1.default.Medium ? t(Translation_1.Translation.Step.Room.FilterBy) : t(Translation_1.Translation.Step.Room.Filter.ShowFilters)),
83
- react_2.default.createElement(Icon_1.default, { icon: Icon_1.IconType.Dropdown, color: Color_1.Color.DarkGrey })),
84
- react_2.default.createElement(RoomFilterOverlay_1.default, { open: filtersOpen, anchorEl: filterButton.current, onClose: closeFilter }))),
85
- react_2.default.createElement("div", { className: "col-md-12 col-lg-7 u-align-right u-marg-top@l- u-empty-none filter-push-down" },
86
- react_2.default.createElement(AppliedFiltersBlock_1.default, null)))),
87
- context.screenSize > ScreenSize_1.default.Medium && (react_2.default.createElement("div", { className: "col-xl-3 col-md-4 offset-xl-1 align-self-end" },
88
- react_2.default.createElement(StepRoomHotelDetails_1.default, null)))),
89
- context.screenSize > ScreenSize_1.default.Medium && react_2.default.createElement(LineBreak_1.default, null),
90
- react_2.default.createElement("div", { className: 'row' + (context.screenSize > ScreenSize_1.default.ExtraLarge ? ' no-gutters' : '') },
91
- react_2.default.createElement("div", { className: "col-md-7 col-lg-8" },
92
- react_2.default.createElement(RoomList_1.default, null)),
93
- react_2.default.createElement("div", { className: "col-xl-3 col-md-5 col-lg-4 offset-xl-1" },
94
- react_2.default.createElement(StepRoomSummaryAndButton_1.default, null)))));
64
+ return (react_1.default.createElement("div", { className: "container" },
65
+ react_1.default.createElement(BEMobileSummary_1.default, null),
66
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
67
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
68
+ context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement(react_1.default.Fragment, null,
69
+ react_1.default.createElement(react_router_dom_1.Link, { to: StepManager_1.default.getPreviousStepUrl(currentStep) },
70
+ react_1.default.createElement(BackButton_1.default, null)),
71
+ react_1.default.createElement("div", { className: "u-marg-top--light u-marg-bottom--heavy" },
72
+ react_1.default.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Step.Room.ChooseRoom))))),
73
+ react_1.default.createElement("div", { className: "row align-items-end" },
74
+ react_1.default.createElement("div", { className: "col-6 col-md-4 col-lg-3" },
75
+ react_1.default.createElement(Text_1.default, { type: Text_1.TextType.Label, color: Color_1.Color.DarkGrey },
76
+ react_1.default.createElement("strong", null, t(Translation_1.Translation.Step.Room.SortBy))),
77
+ react_1.default.createElement("div", null,
78
+ react_1.default.createElement(StepRoomSortBy_1.default, null))),
79
+ react_1.default.createElement("div", { className: "col-6 col-md-2 col-lg-2" },
80
+ react_1.default.createElement("div", { ref: filterButton },
81
+ react_1.default.createElement("div", { className: "filter-button d-flex align-items-center u-cursor-pointer", onClick: openFilter },
82
+ react_1.default.createElement(Text_1.default, null, context.screenSize > ScreenSize_1.default.Medium ? t(Translation_1.Translation.Step.Room.FilterBy) : t(Translation_1.Translation.Step.Room.Filter.ShowFilters)),
83
+ react_1.default.createElement(Icon_1.default, { icon: Icon_1.IconType.Dropdown, color: Color_1.Color.DarkGrey })),
84
+ react_1.default.createElement(RoomFilterOverlay_1.default, { open: filtersOpen, anchorEl: filterButton.current, onClose: closeFilter }))),
85
+ react_1.default.createElement("div", { className: "col-md-12 col-lg-7 u-align-right u-marg-top@l- u-empty-none filter-push-down" },
86
+ react_1.default.createElement(AppliedFiltersBlock_1.default, null)))),
87
+ context.screenSize > ScreenSize_1.default.Medium && (react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
88
+ react_1.default.createElement(StepRoomHotelDetails_1.default, null)))),
89
+ context.screenSize > ScreenSize_1.default.Medium && react_1.default.createElement(LineBreak_1.default, null),
90
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
91
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
92
+ react_1.default.createElement(RoomList_1.default, null)),
93
+ react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
94
+ react_1.default.createElement(StepRoomSummaryAndButton_1.default, null)))));
95
95
  };
96
96
  exports.default = StepRoomComponent;
97
97
  //# sourceMappingURL=StepRoomComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"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QAAQ,GAAI,CACtD;4BACN,8BAAC,2BAAiB,IAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,GAAI,CAC5F,CACJ;oBACN,uCAAK,SAAS,EAAC,8EAA8E;wBACzF,8BAAC,6BAAmB,OAAG,CACrB,CACJ,CACJ;YACL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,uCAAK,SAAS,EAAC,8CAA8C;gBACzD,8BAAC,8BAAoB,OAAG,CACtB,CACT,CACC;QACL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,8BAAC,mBAAS,OAAG;QACxD,uCAAK,SAAS,EAAE,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;YACrF,uCAAK,SAAS,EAAC,mBAAmB;gBAC9B,8BAAC,kBAAQ,OAAG,CACV;YACN,uCAAK,SAAS,EAAC,wCAAwC;gBACnD,8BAAC,kCAAwB,OAAG,CAC1B,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC","sourcesContent":["import { useContext, useRef, useState } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport BackButton from '@/components/generic/BackButton';\nimport Headline from '@/components/generic/Headline';\nimport Icon, { IconType } from '@/components/generic/Icon/Icon';\nimport LineBreak from '@/components/generic/LineBreak';\nimport Text, { TextType } from '@/components/generic/Text';\nimport AppliedFiltersBlock from '@/components/steps/room/roomFilter/AppliedFiltersBlock';\nimport RoomFilterOverlay from '@/components/steps/room/roomFilter/RoomFilterOverlay';\nimport RoomList from '@/components/steps/room/RoomList';\nimport StepRoomHotelDetails from '@/components/steps/room/StepRoomHotelDetails';\nimport StepRoomSortBy from '@/components/steps/room/StepRoomSortBy';\nimport StepRoomSummaryAndButton from '@/components/steps/room/StepRoomSummaryAndButton';\nimport BEMobileSummary from '@/components/summary/BEMobileSummary';\n\nimport { Translation } from 'translations/Translation';\nimport { Color } from '@/util/Color';\nimport ScreenSize from '@/util/ScreenSize';\nimport StepManager from '@/util/StepManager';\nimport DataLayer, { InteractionType, InteractionStep } from '@/util/DataLayer';\nimport { BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\n\nconst StepRoomComponent = () => {\n const context = useContext(BookingEngineContext);\n\n const { t } = useTranslation();\n\n const filterButton = useRef<HTMLDivElement | null>(null);\n const [filtersOpen, setFiltersOpen] = useState(false);\n\n const { currentStep } = useContext(FullPageEngineContext);\n\n const openFilter = () => {\n DataLayer.instance.sendInteraction('Show Filters', InteractionType.DROPDOWN, InteractionStep.ROOMS);\n setFiltersOpen(true);\n };\n\n const closeFilter = () => {\n setFiltersOpen(false);\n };\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-8\">\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold>{t(Translation.Step.Room.ChooseRoom)}</Headline>\n </div>\n </>\n )}\n <div className=\"row align-items-end\">\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Text type={TextType.Label} color={Color.DarkGrey}>\n <strong>{t(Translation.Step.Room.SortBy)}</strong>\n </Text>\n <div>\n <StepRoomSortBy />\n </div>\n </div>\n <div className=\"col-6 col-md-2 col-lg-2\">\n <div ref={filterButton}>\n <div className=\"filter-button d-flex align-items-center u-cursor-pointer\" onClick={openFilter}>\n <Text>{context.screenSize > ScreenSize.Medium ? t(Translation.Step.Room.FilterBy) : t(Translation.Step.Room.Filter.ShowFilters)}</Text>\n <Icon icon={IconType.Dropdown} color={Color.DarkGrey} />\n </div>\n <RoomFilterOverlay open={filtersOpen} anchorEl={filterButton.current} onClose={closeFilter} />\n </div>\n </div>\n <div className=\"col-md-12 col-lg-7 u-align-right u-marg-top@l- u-empty-none filter-push-down\">\n <AppliedFiltersBlock />\n </div>\n </div>\n </div>\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <StepRoomHotelDetails />\n </div>\n )}\n </div>\n {context.screenSize > ScreenSize.Medium && <LineBreak />}\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-lg-8\">\n <RoomList />\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1\">\n <StepRoomSummaryAndButton />\n </div>\n </div>\n </div>\n );\n};\n\nexport default StepRoomComponent;\n"]}
1
+ {"version":3,"file":"StepRoomComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepRoom/StepRoomComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA4D;AAC5D,iDAA+C;AAC/C,uDAAwC;AACxC,iFAAyD;AACzD,6EAAqD;AACrD,uEAAgE;AAChE,+EAAuD;AACvD,kEAA2D;AAC3D,iHAAyF;AACzF,6GAAqF;AACrF,gFAAwD;AACxD,wGAAgF;AAChF,4FAAoE;AACpE,gHAAwF;AACxF,2FAAmE;AAEnE,0DAAuD;AACvD,wCAAqC;AACrC,mEAA2C;AAC3C,qEAA6C;AAC7C,8DAA+E;AAC/E,iDAAiF;AACjF,uEAA4H;AAE5H,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAC3B,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,+BAAoB,CAAC,CAAC;IAEjD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAE/B,MAAM,YAAY,GAAG,IAAA,cAAM,EAAwB,IAAI,CAAC,CAAC;IACzD,MAAM,CAAC,WAAW,EAAE,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,YAAY;4BAClB,uCAAK,SAAS,EAAC,0DAA0D,EAAC,OAAO,EAAE,UAAU;gCACzF,8BAAC,cAAI,QAAE,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAQ;gCACvI,8BAAC,cAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAK,CAAC,QAAQ,GAAI,CACtD;4BACN,8BAAC,2BAAiB,IAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,GAAI,CAC5F,CACJ;oBACN,uCAAK,SAAS,EAAC,8EAA8E;wBACzF,8BAAC,6BAAmB,OAAG,CACrB,CACJ,CACc;YACvB,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,8BAAC,mCAAsB;gBACnB,8BAAC,8BAAoB,OAAG,CACH,CAC5B,CACiB;QACrB,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,8BAAC,mBAAS,OAAG;QACxD,8BAAC,gCAAmB;YAChB,8BAAC,kCAAqB;gBAClB,8BAAC,kBAAQ,OAAG,CACQ;YACxB,8BAAC,mCAAsB;gBACnB,8BAAC,kCAAwB,OAAG,CACP,CACP,CACpB,CACT,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC","sourcesContent":["import React, { useContext, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Link } from 'react-router-dom';\nimport BackButton from '@/components/generic/BackButton';\nimport Headline from '@/components/generic/Headline';\nimport Icon, { IconType } from '@/components/generic/Icon/Icon';\nimport LineBreak from '@/components/generic/LineBreak';\nimport Text, { TextType } from '@/components/generic/Text';\nimport AppliedFiltersBlock from '@/components/steps/room/roomFilter/AppliedFiltersBlock';\nimport RoomFilterOverlay from '@/components/steps/room/roomFilter/RoomFilterOverlay';\nimport RoomList from '@/components/steps/room/RoomList';\nimport StepRoomHotelDetails from '@/components/steps/room/StepRoomHotelDetails';\nimport StepRoomSortBy from '@/components/steps/room/StepRoomSortBy';\nimport StepRoomSummaryAndButton from '@/components/steps/room/StepRoomSummaryAndButton';\nimport BEMobileSummary from '@/components/summary/BEMobileSummary';\n\nimport { Translation } from 'translations/Translation';\nimport { Color } from '@/util/Color';\nimport ScreenSize from '@/util/ScreenSize';\nimport StepManager from '@/util/StepManager';\nimport DataLayer, { InteractionStep, InteractionType } from '@/util/DataLayer';\nimport { BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\nimport { StepLayoutContainer, StepLayoutLeftContent, StepLayoutRightContent } from '@/components/generic/Layout/StepLayout';\n\nconst StepRoomComponent = () => {\n const context = useContext(BookingEngineContext);\n\n const { t } = useTranslation();\n\n const filterButton = useRef<HTMLDivElement | null>(null);\n const [filtersOpen, setFiltersOpen] = useState(false);\n\n const { currentStep } = useContext(FullPageEngineContext);\n\n const openFilter = () => {\n DataLayer.instance.sendInteraction('Show Filters', InteractionType.DROPDOWN, InteractionStep.ROOMS);\n setFiltersOpen(true);\n };\n\n const closeFilter = () => {\n setFiltersOpen(false);\n };\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold>{t(Translation.Step.Room.ChooseRoom)}</Headline>\n </div>\n </>\n )}\n <div className=\"row align-items-end\">\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Text type={TextType.Label} color={Color.DarkGrey}>\n <strong>{t(Translation.Step.Room.SortBy)}</strong>\n </Text>\n <div>\n <StepRoomSortBy />\n </div>\n </div>\n <div className=\"col-6 col-md-2 col-lg-2\">\n <div ref={filterButton}>\n <div className=\"filter-button d-flex align-items-center u-cursor-pointer\" onClick={openFilter}>\n <Text>{context.screenSize > ScreenSize.Medium ? t(Translation.Step.Room.FilterBy) : t(Translation.Step.Room.Filter.ShowFilters)}</Text>\n <Icon icon={IconType.Dropdown} color={Color.DarkGrey} />\n </div>\n <RoomFilterOverlay open={filtersOpen} anchorEl={filterButton.current} onClose={closeFilter} />\n </div>\n </div>\n <div className=\"col-md-12 col-lg-7 u-align-right u-marg-top@l- u-empty-none filter-push-down\">\n <AppliedFiltersBlock />\n </div>\n </div>\n </StepLayoutLeftContent>\n {context.screenSize > ScreenSize.Medium && (\n <StepLayoutRightContent>\n <StepRoomHotelDetails />\n </StepLayoutRightContent>\n )}\n </StepLayoutContainer>\n {context.screenSize > ScreenSize.Medium && <LineBreak />}\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <RoomList />\n </StepLayoutLeftContent>\n <StepLayoutRightContent>\n <StepRoomSummaryAndButton />\n </StepLayoutRightContent>\n </StepLayoutContainer>\n </div>\n );\n};\n\nexport default StepRoomComponent;\n"]}
@@ -26,14 +26,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const react_1 = __importDefault(require("react"));
29
+ const react_1 = __importStar(require("react"));
30
30
  const Placeholder_1 = __importDefault(require("../../../components/generic/Placeholder"));
31
- const react_2 = require("react");
32
- const StepRoomComponent = (0, react_2.lazy)(() => Promise.resolve().then(() => __importStar(require('./StepRoomComponent'))));
31
+ const StepLayout_1 = require("../../../components/generic/Layout/StepLayout");
32
+ const StepRoomComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./StepRoomComponent'))));
33
33
  function StepRoomPlaceholder() {
34
34
  return (react_1.default.createElement("div", { className: "container" },
35
- react_1.default.createElement("div", { className: "row no-gutters" },
36
- react_1.default.createElement("div", { className: "col-sm-12 col-md-8" },
35
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
36
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
37
37
  react_1.default.createElement("div", { className: "d-none d-md-block u-marg-top--light u-marg-bottom--heavy" },
38
38
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "md", blink: true })),
39
39
  react_1.default.createElement("br", null),
@@ -42,7 +42,7 @@ function StepRoomPlaceholder() {
42
42
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true })),
43
43
  react_1.default.createElement("div", { className: "col-6 col-md-4 col-lg-3" },
44
44
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true })))),
45
- react_1.default.createElement("div", { className: "d-none d-md-block col-xl-3 col-md-4 offset-xl-1 align-self-end" },
45
+ react_1.default.createElement(StepLayout_1.StepLayoutRightContent, { className: "d-none d-md-block" },
46
46
  react_1.default.createElement("div", { className: "u-marg-bottom" },
47
47
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "md", h: "md", blink: true }),
48
48
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true })),
@@ -52,8 +52,8 @@ function StepRoomPlaceholder() {
52
52
  react_1.default.createElement("div", { className: "col-6" },
53
53
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "md", blink: true }))))),
54
54
  react_1.default.createElement("div", { className: "line-break" }),
55
- react_1.default.createElement("div", { className: "row no-gutters" },
56
- react_1.default.createElement("div", { className: "col-md-7 col-lg-8" },
55
+ react_1.default.createElement(StepLayout_1.StepLayoutContainer, null,
56
+ react_1.default.createElement(StepLayout_1.StepLayoutLeftContent, null,
57
57
  react_1.default.createElement("div", { className: "u-w-100 u-flex u-flex-direction-column u-flex-align-flex-end" },
58
58
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "lg", h: "lg", blink: true }),
59
59
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "xs", h: "md", blink: true })),
@@ -92,7 +92,7 @@ function StepRoomPlaceholder() {
92
92
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true }),
93
93
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "sm", blink: true })),
94
94
  react_1.default.createElement(Placeholder_1.default, { type: "text", w: "sm", h: "xs", blink: true }))))),
95
- react_1.default.createElement("div", { className: "col-xl-3 col-md-5 col-lg-4 offset-xl-1" },
95
+ react_1.default.createElement(StepLayout_1.StepLayoutRightContent, null,
96
96
  react_1.default.createElement("div", { className: "u-pad" },
97
97
  react_1.default.createElement("div", null,
98
98
  react_1.default.createElement(Placeholder_1.default, { type: "block", blockSize: "lg", rounded: "lg", blink: true })),
@@ -102,7 +102,7 @@ function StepRoomPlaceholder() {
102
102
  react_1.default.createElement(Placeholder_1.default, { type: "block", blockSize: "sm", rounded: "lg", blink: true })))))));
103
103
  }
104
104
  function StepRoomLoader() {
105
- return (react_1.default.createElement(react_2.Suspense, { fallback: react_1.default.createElement(StepRoomPlaceholder, null) },
105
+ return (react_1.default.createElement(react_1.Suspense, { fallback: react_1.default.createElement(StepRoomPlaceholder, null) },
106
106
  react_1.default.createElement(StepRoomComponent, null)));
107
107
  }
108
108
  exports.default = StepRoomLoader;
@@ -1 +1 @@
1
- {"version":3,"file":"StepRoomLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepRoom/StepRoomLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,mFAA2D;AAE3D,iCAAuC;AACvC,MAAM,iBAAiB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,0CAA0C,GAAC,CAAC,CAAC;AAEzF,SAAS,mBAAmB;IACxB,OAAO,CACH,uCAAK,SAAS,EAAC,WAAW;QACtB,uCAAK,SAAS,EAAC,gBAAgB;Y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AW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC;AAED,SAAwB,cAAc;IAClC,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,mBAAmB,OAAG;QACvC,8BAAC,iBAAiB,OAAG,CACd,CACd,CAAC;AACN,CAAC;AAND,iCAMC","sourcesContent":["import React from 'react';\nimport Placeholder from '@/components/generic/Placeholder';\n\nimport { lazy, Suspense } from 'react';\nconst StepRoomComponent = lazy(() => import('@/pages/steps/StepRoom/StepRoomComponent'));\n\nfunction StepRoomPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row no-gutters\">\n <div className=\"col-sm-12 col-md-8\">\n <div className=\"d-none d-md-block u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <br />\n <div className=\"row\">\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </div>\n <div className=\"d-none d-md-block col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </div>\n </div>\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"col-md-7 col-lg-8\">\n <div className=\"u-w-100 u-flex u-flex-direction-column u-flex-align-flex-end\">\n <Placeholder type=\"text\" w=\"lg\" h=\"lg\" blink />\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n </div>\n <br />\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"md\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n </div>\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"md\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n </div>\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n </div>\n </div>\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1\">\n <div className=\"u-pad\">\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div className=\"u-marg-top--heavy\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default function StepRoomLoader() {\n return (\n <Suspense fallback={<StepRoomPlaceholder />}>\n <StepRoomComponent />\n </Suspense>\n );\n}\n"]}
1
+ {"version":3,"file":"StepRoomLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepRoom/StepRoomLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8C;AAC9C,mFAA2D;AAC3D,uEAA4H;AAE5H,MAAM,iBAAiB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,0CAA0C,GAAC,CAAC,CAAC;AAEzF,SAAS,mBAAmB;IACxB,OAAO,CACH,uCAAK,SAAS,EAAC,WAAW;QACtB,8BAAC,gCAAmB;YAChB,8BAAC,kCAAqB;gBAClB,uCAAK,SAAS,EAAC,0DAA0D;oBACrE,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;gBACN,yCAAM;gBACN,uCAAK,SAAS,EAAC,KAAK;oBAChB,uCAAK,SAAS,EAAC,yBAAyB;wBACpC,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAA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BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG;gCAC/C,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG;gCAC/C,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;4BACN,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C,CACJ,CACJ,CACc;YACxB,8BAAC,mCAAsB;gBACnB,uCAAK,SAAS,EAAC,OAAO;oBAClB;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D;oBACN;wBACI,8BAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,SAAG,CAC7C;oBACN,uCAAK,SAAS,EAAC,mBAAmB;wBAC9B,8BAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5D,CACJ,CACe,CACP,CACpB,CACT,CAAC;AACN,CAAC;AAED,SAAwB,cAAc;IAClC,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,8BAAC,mBAAmB,OAAG;QACvC,8BAAC,iBAAiB,OAAG,CACd,CACd,CAAC;AACN,CAAC;AAND,iCAMC","sourcesContent":["import React, { lazy, Suspense } from 'react';\nimport Placeholder from '@/components/generic/Placeholder';\nimport { StepLayoutContainer, StepLayoutLeftContent, StepLayoutRightContent } from '@/components/generic/Layout/StepLayout';\n\nconst StepRoomComponent = lazy(() => import('@/pages/steps/StepRoom/StepRoomComponent'));\n\nfunction StepRoomPlaceholder() {\n return (\n <div className=\"container\">\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <div className=\"d-none d-md-block u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink />\n </div>\n <br />\n <div className=\"row\">\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6 col-md-4 col-lg-3\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </StepLayoutLeftContent>\n <StepLayoutRightContent className=\"d-none d-md-block\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink />\n </div>\n </div>\n </StepLayoutRightContent>\n </StepLayoutContainer>\n <div className=\"line-break\" />\n <StepLayoutContainer>\n <StepLayoutLeftContent>\n <div className=\"u-w-100 u-flex u-flex-direction-column u-flex-align-flex-end\">\n <Placeholder type=\"text\" w=\"lg\" h=\"lg\" blink />\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink />\n </div>\n <br />\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"md\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n </div>\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"md\" rounded=\"lg\" blink />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n <Placeholder type=\"text\" w=\"lg\" h=\"xs\" blink />\n </div>\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink />\n </div>\n </div>\n </div>\n </StepLayoutLeftContent>\n <StepLayoutRightContent>\n <div className=\"u-pad\">\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink />\n </div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink />\n </div>\n <div className=\"u-marg-top--heavy\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink />\n </div>\n </div>\n </StepLayoutRightContent>\n </StepLayoutContainer>\n </div>\n );\n}\n\nexport default function StepRoomLoader() {\n return (\n <Suspense fallback={<StepRoomPlaceholder />}>\n <StepRoomComponent />\n </Suspense>\n );\n}\n"]}
@@ -12,6 +12,7 @@ const ShowIATANumberOnCheckoutFeature_1 = __importDefault(require("./feature/Sho
12
12
  const E164PhoneNumberFieldFeature_1 = __importDefault(require("./feature/E164PhoneNumberFieldFeature"));
13
13
  const MemberPortalFeature_1 = __importDefault(require("./feature/MemberPortalFeature"));
14
14
  const NumberOfPeopleBookedPillFeature_1 = __importDefault(require("./feature/NumberOfPeopleBookedPillFeature"));
15
+ const FullPageEngineSmallSpacingFeature_1 = __importDefault(require("./feature/FullPageEngineSmallSpacingFeature"));
15
16
  class FeatureProvider {
16
17
  static load(name) {
17
18
  for (const feature of this.features) {
@@ -39,5 +40,6 @@ FeatureProvider.features = [
39
40
  E164PhoneNumberFieldFeature_1.default,
40
41
  MemberPortalFeature_1.default,
41
42
  NumberOfPeopleBookedPillFeature_1.default,
43
+ FullPageEngineSmallSpacingFeature_1.default,
42
44
  ];
43
45
  //# sourceMappingURL=FeatureProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureProvider.js","sourceRoot":"/","sources":["src/providers/FeatureProvider.ts"],"names":[],"mappings":";;;;;AAAA,8FAAsE;AACtE,sGAA8E;AAC9E,wGAAgF;AAChF,oGAA4E;AAC5E,8GAAsF;AACtF,0HAAkG;AAClG,kHAA0F;AAC1F,kGAA0E;AAC1E,gHAAwF;AAExF,MAAqB,eAAe;IAazB,MAAM,CAAC,IAAI,CAAC,IAAuF;QACtG,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjC,IAAI,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,KAAK,OAAO,EAAE;gBAChD,OAAO,CAAC,IAAI,EAAE,CAAC;aAClB;SACJ;IACL,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,IAAuF;QACxG,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjC,IAAI,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,KAAK,OAAO,EAAE;gBAChD,OAAO,CAAC,MAAM,EAAE,CAAC;aACpB;SACJ;IACL,CAAC;;AA3BL,kCA4BC;AA3BkB,wBAAQ,GAAG;IACtB,gCAAsB;IACtB,+BAAqB;IACrB,2BAAiB;IACjB,8BAAoB;IACpB,mCAAyB;IACzB,yCAA+B;IAC/B,qCAA2B;IAC3B,6BAAmB;IACnB,yCAA+B;CAClC,CAAC","sourcesContent":["import RoomUpsellFeature from '@/providers/feature/RoomUpsellFeature';\nimport DatePickerTypeFeature from '@/providers/feature/DatePickerTypeFeature';\nimport InlineAddonStepFeature from '@/providers/feature/InlineAddonStepFeature';\nimport FeaturedPromoFeature from '@/providers/feature/FeaturedPromoFeature';\nimport ConfirmationVerifyFeature from '@/providers/feature/ConfirmationVerifyFeature';\nimport ShowIATANumberOnCheckoutFeature from '@/providers/feature/ShowIATANumberOnCheckoutFeature';\nimport E164PhoneNumberFieldFeature from '@/providers/feature/E164PhoneNumberFieldFeature';\nimport MemberPortalFeature from '@/providers/feature/MemberPortalFeature';\nimport NumberOfPeopleBookedPillFeature from './feature/NumberOfPeopleBookedPillFeature';\n\nexport default class FeatureProvider {\n private static features = [\n InlineAddonStepFeature,\n DatePickerTypeFeature,\n RoomUpsellFeature,\n FeaturedPromoFeature,\n ConfirmationVerifyFeature,\n ShowIATANumberOnCheckoutFeature,\n E164PhoneNumberFieldFeature,\n MemberPortalFeature,\n NumberOfPeopleBookedPillFeature,\n ];\n\n public static load(name: string | (typeof FeatureProvider.features)[keyof typeof FeatureProvider.features]) {\n for (const feature of this.features) {\n if (feature.getName() === name || name === feature) {\n feature.load();\n }\n }\n }\n\n public static unLoad(name: string | (typeof FeatureProvider.features)[keyof typeof FeatureProvider.features]) {\n for (const feature of this.features) {\n if (feature.getName() === name || name === feature) {\n feature.unLoad();\n }\n }\n }\n}\n"]}
1
+ {"version":3,"file":"FeatureProvider.js","sourceRoot":"/","sources":["src/providers/FeatureProvider.ts"],"names":[],"mappings":";;;;;AAAA,8FAAsE;AACtE,sGAA8E;AAC9E,wGAAgF;AAChF,oGAA4E;AAC5E,8GAAsF;AACtF,0HAAkG;AAClG,kHAA0F;AAC1F,kGAA0E;AAC1E,0HAAkG;AAClG,8HAAsG;AAEtG,MAAqB,eAAe;IAczB,MAAM,CAAC,IAAI,CAAC,IAAuF;QACtG,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjC,IAAI,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,KAAK,OAAO,EAAE;gBAChD,OAAO,CAAC,IAAI,EAAE,CAAC;aAClB;SACJ;IACL,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,IAAuF;QACxG,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjC,IAAI,OAAO,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,KAAK,OAAO,EAAE;gBAChD,OAAO,CAAC,MAAM,EAAE,CAAC;aACpB;SACJ;IACL,CAAC;;AA5BL,kCA6BC;AA5BkB,wBAAQ,GAAG;IACtB,gCAAsB;IACtB,+BAAqB;IACrB,2BAAiB;IACjB,8BAAoB;IACpB,mCAAyB;IACzB,yCAA+B;IAC/B,qCAA2B;IAC3B,6BAAmB;IACnB,yCAA+B;IAC/B,2CAAiC;CACpC,CAAC","sourcesContent":["import RoomUpsellFeature from '@/providers/feature/RoomUpsellFeature';\nimport DatePickerTypeFeature from '@/providers/feature/DatePickerTypeFeature';\nimport InlineAddonStepFeature from '@/providers/feature/InlineAddonStepFeature';\nimport FeaturedPromoFeature from '@/providers/feature/FeaturedPromoFeature';\nimport ConfirmationVerifyFeature from '@/providers/feature/ConfirmationVerifyFeature';\nimport ShowIATANumberOnCheckoutFeature from '@/providers/feature/ShowIATANumberOnCheckoutFeature';\nimport E164PhoneNumberFieldFeature from '@/providers/feature/E164PhoneNumberFieldFeature';\nimport MemberPortalFeature from '@/providers/feature/MemberPortalFeature';\nimport NumberOfPeopleBookedPillFeature from '@/providers/feature/NumberOfPeopleBookedPillFeature';\nimport FullPageEngineSmallSpacingFeature from '@/providers/feature/FullPageEngineSmallSpacingFeature';\n\nexport default class FeatureProvider {\n private static features = [\n InlineAddonStepFeature,\n DatePickerTypeFeature,\n RoomUpsellFeature,\n FeaturedPromoFeature,\n ConfirmationVerifyFeature,\n ShowIATANumberOnCheckoutFeature,\n E164PhoneNumberFieldFeature,\n MemberPortalFeature,\n NumberOfPeopleBookedPillFeature,\n FullPageEngineSmallSpacingFeature,\n ];\n\n public static load(name: string | (typeof FeatureProvider.features)[keyof typeof FeatureProvider.features]) {\n for (const feature of this.features) {\n if (feature.getName() === name || name === feature) {\n feature.load();\n }\n }\n }\n\n public static unLoad(name: string | (typeof FeatureProvider.features)[keyof typeof FeatureProvider.features]) {\n for (const feature of this.features) {\n if (feature.getName() === name || name === feature) {\n feature.unLoad();\n }\n }\n }\n}\n"]}