@mirai/core 0.4.649 → 0.4.651

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 (143) hide show
  1. package/build/components/Banner/__tests__/__snapshots__/Banner.skeleton.test.js.snap +278 -0
  2. package/build/components/Banner/__tests__/__snapshots__/Banner.test.js.snap +9 -0
  3. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +3862 -0
  4. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
  5. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +28 -0
  6. package/build/components/Booking/components/Summary/__tests__/__snapshots__/Summary.test.js.snap +1683 -0
  7. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +586 -0
  8. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +46 -0
  9. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditDate.test.js.snap +1822 -0
  10. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditOccupation.test.js.snap +326 -0
  11. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +170 -0
  12. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +110 -0
  13. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +82 -0
  14. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +208 -0
  15. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +107 -0
  16. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCalendar.test.js.snap +463 -0
  17. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCesSurvey.test.js.snap +255 -0
  18. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalOccupation.test.js.snap +491 -0
  19. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +418 -0
  20. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +92 -0
  21. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +65 -0
  22. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +101 -0
  23. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +190 -0
  24. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +204 -0
  25. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +44 -0
  26. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +9 -0
  27. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +4946 -0
  28. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +371 -0
  29. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +412 -0
  30. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +6333 -0
  31. package/build/components/CookieBanner/__tests__/__snapshots__/CookieBanner.test.js.snap +7 -0
  32. package/build/components/Deals/__tests__/__mocks__/deal.json +25 -0
  33. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +5527 -0
  34. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +120 -0
  35. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +1088 -0
  36. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +35 -0
  37. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +21195 -0
  38. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
  39. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +8546 -0
  40. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
  41. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +324 -0
  42. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
  43. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +7 -0
  44. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1105 -0
  45. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +19 -0
  46. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +59 -0
  47. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +50 -0
  48. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +3 -0
  49. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +3 -0
  50. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +53 -0
  51. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +9962 -0
  52. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +116 -0
  53. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +32 -0
  54. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +21 -0
  55. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +32 -0
  56. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +32 -0
  57. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +3 -0
  58. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +93 -0
  59. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +9 -0
  60. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +52 -0
  61. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +150 -0
  62. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +3 -0
  63. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +3 -0
  64. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +40 -0
  65. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +16 -0
  66. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +47 -0
  67. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +47 -0
  68. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +47 -0
  69. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +17 -0
  70. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +23 -0
  71. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +3 -0
  72. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +27 -0
  73. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +3 -0
  74. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +52 -0
  75. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +16 -0
  76. package/build/components/Rates/components/ModalTwin/__tests__/__snapshots__/ModalTwin.test.js.snap +374 -0
  77. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardExpanded.test.js.snap +133 -0
  78. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardReduced.test.js.snap +50 -0
  79. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/Slider.test.js.snap +40 -0
  80. package/build/components/Rates/components/OTAPrices/__tests__/__snapshots__/OTAPrices.test.js.snap +3 -0
  81. package/build/components/Rooms/__tests__/__mocks__/room.json +21 -0
  82. package/build/components/Rooms/__tests__/__snapshots__/Rooms.test.js.snap +5527 -0
  83. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +264 -0
  84. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1040 -0
  85. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
  86. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +2355 -0
  87. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +500 -0
  88. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +745 -0
  89. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +414 -0
  90. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +115 -0
  91. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +210 -0
  92. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +65 -0
  93. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +53 -0
  94. package/build/components/__shared__/ButtonPayment/components/FormGetnet/__tests__/__snapshots__/FormGetnet.test.js.snap +14 -0
  95. package/build/components/__shared__/ButtonPayment/components/FormHotelpay/__tests__/__snapshots__/FormHotelpay.test.js.snap +104 -0
  96. package/build/components/__shared__/ButtonPayment/components/FormNuvei/__tests__/__snapshots__/FormNuvei.test.js.snap +21 -0
  97. package/build/components/__shared__/ButtonPayment/components/FormPaybyrd/__tests__/__snapshots__/FormPaybyrd.test.js.snap +41 -0
  98. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +18 -0
  99. package/build/components/__shared__/ButtonPayment/components/FormStripe/FormStripe.js +30 -22
  100. package/build/components/__shared__/ButtonPayment/components/FormStripe/FormStripe.js.map +1 -1
  101. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +190 -0
  102. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
  103. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +42 -0
  104. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +366 -0
  105. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2242 -0
  106. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +308 -0
  107. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +186 -0
  108. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +82 -0
  109. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
  110. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3754 -0
  111. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +1105 -0
  112. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +35 -0
  113. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +996 -0
  114. package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +876 -0
  115. package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +876 -0
  116. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +504 -0
  117. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +119 -0
  118. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
  119. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
  120. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +2841 -0
  121. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.constants.js.snap +14 -0
  122. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +11053 -0
  123. package/build/components/__shared__/RatesExplorer/helpers/__tests__/__mocks__/deal.json +28 -0
  124. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1352 -0
  125. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +67 -0
  126. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
  127. package/build/components/helpers/__tests__/__mocks__/hotels.json +87 -0
  128. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +331 -0
  129. package/build/components/helpers/escapeHtml.js +19 -0
  130. package/build/components/helpers/escapeHtml.js.map +1 -0
  131. package/build/components/helpers/template.js +5 -1
  132. package/build/components/helpers/template.js.map +1 -1
  133. package/build/helpers/fetchSession.js +13 -1
  134. package/build/helpers/fetchSession.js.map +1 -1
  135. package/package.json +4 -1
  136. package/.sentryclirc +0 -3
  137. package/AGENTS.md +0 -296
  138. package/Dockerfile +0 -16
  139. package/bitbucket-pipelines.yml +0 -12
  140. package/config/jest/fileMock.js +0 -1
  141. package/config/jest/setup.env.js +0 -20
  142. package/config/jest/setup.js +0 -3
  143. package/jest.config.js +0 -22
@@ -0,0 +1,47 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<Rates> <Item> <ModalOfferInfo> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow onOverflow"
7
+ style="height: 768px;"
8
+ tabindex="-1"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal"
12
+ inert=""
13
+ >
14
+ <ui-view
15
+ class="view row header hideBack"
16
+ >
17
+ <ui-button
18
+ class="pressable button small squared transparent"
19
+ tabindex="0"
20
+ >
21
+ <ui-icon
22
+ class="icon headline-3 icon"
23
+ >
24
+ <svg
25
+ fill="currentColor"
26
+ height="1em"
27
+ stroke="currentColor"
28
+ stroke-width="0"
29
+ viewBox="0 0 24 24"
30
+ width="1em"
31
+ xmlns="http://www.w3.org/2000/svg"
32
+ >
33
+ <path
34
+ d="M0 0h24v24H0V0z"
35
+ fill="none"
36
+ />
37
+ <path
38
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
39
+ />
40
+ </svg>
41
+ </ui-icon>
42
+ </ui-button>
43
+ </ui-view>
44
+ </ui-modal>
45
+ </ui-modal-overflow>
46
+ </DocumentFragment>
47
+ `;
@@ -0,0 +1,47 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<Rates> <Item> <ModalUrl> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow onOverflow"
7
+ style="height: 768px;"
8
+ tabindex="-1"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal"
12
+ inert=""
13
+ >
14
+ <ui-view
15
+ class="view row header hideBack"
16
+ >
17
+ <ui-button
18
+ class="pressable button small squared transparent"
19
+ tabindex="0"
20
+ >
21
+ <ui-icon
22
+ class="icon headline-3 icon"
23
+ >
24
+ <svg
25
+ fill="currentColor"
26
+ height="1em"
27
+ stroke="currentColor"
28
+ stroke-width="0"
29
+ viewBox="0 0 24 24"
30
+ width="1em"
31
+ xmlns="http://www.w3.org/2000/svg"
32
+ >
33
+ <path
34
+ d="M0 0h24v24H0V0z"
35
+ fill="none"
36
+ />
37
+ <path
38
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
39
+ />
40
+ </svg>
41
+ </ui-icon>
42
+ </ui-button>
43
+ </ui-view>
44
+ </ui-modal>
45
+ </ui-modal-overflow>
46
+ </DocumentFragment>
47
+ `;
@@ -0,0 +1,17 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Rates> <Item> <Option> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view"
7
+ >
8
+ <ui-view
9
+ class="view"
10
+ >
11
+ <ui-view
12
+ class="view row"
13
+ />
14
+ </ui-view>
15
+ </ui-view>
16
+ </DocumentFragment>
17
+ `;
@@ -0,0 +1,23 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Rates> <Item> <PriceDetails> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view row"
7
+ >
8
+ <ui-tooltip
9
+ class="container"
10
+ >
11
+ <ui-view
12
+ class="view"
13
+ >
14
+ <ui-text
15
+ class="text medium accent action dispatcher"
16
+ >
17
+ core.label.price_details
18
+ </ui-text>
19
+ </ui-view>
20
+ </ui-tooltip>
21
+ </ui-view>
22
+ </DocumentFragment>
23
+ `;
@@ -0,0 +1,3 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Rates> <Item> <RateDetails> renders 1`] = `<DocumentFragment />`;
@@ -0,0 +1,27 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Rates> <Item> <Slider> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view"
7
+ >
8
+ <ui-slider
9
+ class="view slider"
10
+ style="width: 320px;"
11
+ >
12
+ <ui-scrollview
13
+ class="scrollview snap horizontal notIndicator scrollView"
14
+ style="width: 320px;"
15
+ />
16
+ <ui-progress
17
+ class="view progress progress"
18
+ >
19
+ <ui-progress-value
20
+ class="view value"
21
+ style="width: 0%;"
22
+ />
23
+ </ui-progress>
24
+ </ui-slider>
25
+ </ui-view>
26
+ </DocumentFragment>
27
+ `;
@@ -0,0 +1,3 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<Rates> <Item> <TooltipDates> renders 1`] = `<DocumentFragment />`;
@@ -0,0 +1,52 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<Rates> <ModalExtras> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow"
7
+ style="height: 768px;"
8
+ tabindex="-1"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal"
12
+ inert=""
13
+ >
14
+ <ui-view
15
+ class="view row header hideBack"
16
+ >
17
+ <ui-text
18
+ class="text medium headline-3 title"
19
+ >
20
+ common.label.anything_else_to_add
21
+ </ui-text>
22
+ <ui-button
23
+ class="pressable button small squared transparent"
24
+ tabindex="0"
25
+ >
26
+ <ui-icon
27
+ class="icon headline-3 icon"
28
+ >
29
+ <svg
30
+ fill="currentColor"
31
+ height="1em"
32
+ stroke="currentColor"
33
+ stroke-width="0"
34
+ viewBox="0 0 24 24"
35
+ width="1em"
36
+ xmlns="http://www.w3.org/2000/svg"
37
+ >
38
+ <path
39
+ d="M0 0h24v24H0V0z"
40
+ fill="none"
41
+ />
42
+ <path
43
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
44
+ />
45
+ </svg>
46
+ </ui-icon>
47
+ </ui-button>
48
+ </ui-view>
49
+ </ui-modal>
50
+ </ui-modal-overflow>
51
+ </DocumentFragment>
52
+ `;
@@ -0,0 +1,16 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<Rates> <ModalMapView> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow"
7
+ style="height: 768px;"
8
+ tabindex="-1"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal"
12
+ inert=""
13
+ />
14
+ </ui-modal-overflow>
15
+ </DocumentFragment>
16
+ `;
@@ -0,0 +1,374 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`ModalTwin renders correctly 1`] = `
4
+ <DocumentFragment>
5
+ <ui-modal-overflow
6
+ class="pressable container overflow visible onOverflow"
7
+ style="height: 768px;"
8
+ tabindex="0"
9
+ >
10
+ <ui-modal
11
+ class="view fit modal visible"
12
+ >
13
+ <ui-view
14
+ class="view row header hideBack"
15
+ >
16
+ <ui-text
17
+ class="text medium headline-3 title"
18
+ >
19
+ core.label.immersive_booking
20
+ </ui-text>
21
+ <ui-button
22
+ class="pressable button small squared transparent"
23
+ tabindex="0"
24
+ >
25
+ <ui-icon
26
+ class="icon headline-3 icon"
27
+ >
28
+ <svg
29
+ fill="currentColor"
30
+ height="1em"
31
+ stroke="currentColor"
32
+ stroke-width="0"
33
+ viewBox="0 0 24 24"
34
+ width="1em"
35
+ xmlns="http://www.w3.org/2000/svg"
36
+ >
37
+ <path
38
+ d="M0 0h24v24H0V0z"
39
+ fill="none"
40
+ />
41
+ <path
42
+ d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
43
+ />
44
+ </svg>
45
+ </ui-icon>
46
+ </ui-button>
47
+ </ui-view>
48
+ <ui-view
49
+ class="view row"
50
+ >
51
+ <ui-view
52
+ class="view"
53
+ style="height: 100%;"
54
+ >
55
+ <ui-scrollview
56
+ class="scrollview snap vertical notIndicator"
57
+ style="gap: var(--mirai-ui-space-M); max-height: 90svh;"
58
+ >
59
+ <ui-view
60
+ class="view row"
61
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
62
+ >
63
+ <ui-view
64
+ class="view"
65
+ style="border-radius: 0; height: 120px; width: 100px;"
66
+ />
67
+ <ui-view
68
+ class="view"
69
+ style="border-radius: 0; height: 120px; width: 220px;"
70
+ >
71
+ <ui-view
72
+ class="view"
73
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
74
+ >
75
+ <ui-text
76
+ class="text headline-2"
77
+ >
78
+ Lorem Ipsum
79
+ </ui-text>
80
+ <ui-view
81
+ class="view"
82
+ >
83
+ <ui-text
84
+ class="text action"
85
+ >
86
+ Lorem
87
+ </ui-text>
88
+ <ui-text
89
+ class="text action"
90
+ >
91
+ Lorem
92
+ </ui-text>
93
+ </ui-view>
94
+ </ui-view>
95
+ </ui-view>
96
+ </ui-view>
97
+ <ui-view
98
+ class="view row"
99
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
100
+ >
101
+ <ui-view
102
+ class="view"
103
+ style="border-radius: 0; height: 120px; width: 100px;"
104
+ />
105
+ <ui-view
106
+ class="view"
107
+ style="border-radius: 0; height: 120px; width: 220px;"
108
+ >
109
+ <ui-view
110
+ class="view"
111
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
112
+ >
113
+ <ui-text
114
+ class="text headline-2"
115
+ >
116
+ Lorem Ipsum
117
+ </ui-text>
118
+ <ui-view
119
+ class="view"
120
+ >
121
+ <ui-text
122
+ class="text action"
123
+ >
124
+ Lorem
125
+ </ui-text>
126
+ <ui-text
127
+ class="text action"
128
+ >
129
+ Lorem
130
+ </ui-text>
131
+ </ui-view>
132
+ </ui-view>
133
+ </ui-view>
134
+ </ui-view>
135
+ <ui-view
136
+ class="view row"
137
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
138
+ >
139
+ <ui-view
140
+ class="view"
141
+ style="border-radius: 0; height: 120px; width: 100px;"
142
+ />
143
+ <ui-view
144
+ class="view"
145
+ style="border-radius: 0; height: 120px; width: 220px;"
146
+ >
147
+ <ui-view
148
+ class="view"
149
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
150
+ >
151
+ <ui-text
152
+ class="text headline-2"
153
+ >
154
+ Lorem Ipsum
155
+ </ui-text>
156
+ <ui-view
157
+ class="view"
158
+ >
159
+ <ui-text
160
+ class="text action"
161
+ >
162
+ Lorem
163
+ </ui-text>
164
+ <ui-text
165
+ class="text action"
166
+ >
167
+ Lorem
168
+ </ui-text>
169
+ </ui-view>
170
+ </ui-view>
171
+ </ui-view>
172
+ </ui-view>
173
+ <ui-view
174
+ class="view row"
175
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
176
+ >
177
+ <ui-view
178
+ class="view"
179
+ style="border-radius: 0; height: 120px; width: 100px;"
180
+ />
181
+ <ui-view
182
+ class="view"
183
+ style="border-radius: 0; height: 120px; width: 220px;"
184
+ >
185
+ <ui-view
186
+ class="view"
187
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
188
+ >
189
+ <ui-text
190
+ class="text headline-2"
191
+ >
192
+ Lorem Ipsum
193
+ </ui-text>
194
+ <ui-view
195
+ class="view"
196
+ >
197
+ <ui-text
198
+ class="text action"
199
+ >
200
+ Lorem
201
+ </ui-text>
202
+ <ui-text
203
+ class="text action"
204
+ >
205
+ Lorem
206
+ </ui-text>
207
+ </ui-view>
208
+ </ui-view>
209
+ </ui-view>
210
+ </ui-view>
211
+ <ui-view
212
+ class="view row"
213
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
214
+ >
215
+ <ui-view
216
+ class="view"
217
+ style="border-radius: 0; height: 120px; width: 100px;"
218
+ />
219
+ <ui-view
220
+ class="view"
221
+ style="border-radius: 0; height: 120px; width: 220px;"
222
+ >
223
+ <ui-view
224
+ class="view"
225
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
226
+ >
227
+ <ui-text
228
+ class="text headline-2"
229
+ >
230
+ Lorem Ipsum
231
+ </ui-text>
232
+ <ui-view
233
+ class="view"
234
+ >
235
+ <ui-text
236
+ class="text action"
237
+ >
238
+ Lorem
239
+ </ui-text>
240
+ <ui-text
241
+ class="text action"
242
+ >
243
+ Lorem
244
+ </ui-text>
245
+ </ui-view>
246
+ </ui-view>
247
+ </ui-view>
248
+ </ui-view>
249
+ <ui-view
250
+ class="view row"
251
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
252
+ >
253
+ <ui-view
254
+ class="view"
255
+ style="border-radius: 0; height: 120px; width: 100px;"
256
+ />
257
+ <ui-view
258
+ class="view"
259
+ style="border-radius: 0; height: 120px; width: 220px;"
260
+ >
261
+ <ui-view
262
+ class="view"
263
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
264
+ >
265
+ <ui-text
266
+ class="text headline-2"
267
+ >
268
+ Lorem Ipsum
269
+ </ui-text>
270
+ <ui-view
271
+ class="view"
272
+ >
273
+ <ui-text
274
+ class="text action"
275
+ >
276
+ Lorem
277
+ </ui-text>
278
+ <ui-text
279
+ class="text action"
280
+ >
281
+ Lorem
282
+ </ui-text>
283
+ </ui-view>
284
+ </ui-view>
285
+ </ui-view>
286
+ </ui-view>
287
+ <ui-view
288
+ class="view row"
289
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
290
+ >
291
+ <ui-view
292
+ class="view"
293
+ style="border-radius: 0; height: 120px; width: 100px;"
294
+ />
295
+ <ui-view
296
+ class="view"
297
+ style="border-radius: 0; height: 120px; width: 220px;"
298
+ >
299
+ <ui-view
300
+ class="view"
301
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
302
+ >
303
+ <ui-text
304
+ class="text headline-2"
305
+ >
306
+ Lorem Ipsum
307
+ </ui-text>
308
+ <ui-view
309
+ class="view"
310
+ >
311
+ <ui-text
312
+ class="text action"
313
+ >
314
+ Lorem
315
+ </ui-text>
316
+ <ui-text
317
+ class="text action"
318
+ >
319
+ Lorem
320
+ </ui-text>
321
+ </ui-view>
322
+ </ui-view>
323
+ </ui-view>
324
+ </ui-view>
325
+ <ui-view
326
+ class="view row"
327
+ style="box-shadow: inset 0 0 0 1px var(--mirai-ui-content-border); min-height: 120px;"
328
+ >
329
+ <ui-view
330
+ class="view"
331
+ style="border-radius: 0; height: 120px; width: 100px;"
332
+ />
333
+ <ui-view
334
+ class="view"
335
+ style="border-radius: 0; height: 120px; width: 220px;"
336
+ >
337
+ <ui-view
338
+ class="view"
339
+ style="height: 100%; padding: 0.75rem 1rem; justify-content: space-between;"
340
+ >
341
+ <ui-text
342
+ class="text headline-2"
343
+ >
344
+ Lorem Ipsum
345
+ </ui-text>
346
+ <ui-view
347
+ class="view"
348
+ >
349
+ <ui-text
350
+ class="text action"
351
+ >
352
+ Lorem
353
+ </ui-text>
354
+ <ui-text
355
+ class="text action"
356
+ >
357
+ Lorem
358
+ </ui-text>
359
+ </ui-view>
360
+ </ui-view>
361
+ </ui-view>
362
+ </ui-view>
363
+ </ui-scrollview>
364
+ </ui-view>
365
+ <iframe
366
+ class="view"
367
+ src="undefined/rates/index.html?id=123&lang=en&origin=http%3A%2F%2Flocalhost&rooms=1&soldOutRooms=2"
368
+ title="modal"
369
+ />
370
+ </ui-view>
371
+ </ui-modal>
372
+ </ui-modal-overflow>
373
+ </DocumentFragment>
374
+ `;