@mirai/core 0.4.35 → 0.4.37

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 (219) hide show
  1. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +7 -4
  2. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
  3. package/build/components/__shared__/ButtonPayment/ButtonPayment.js +4 -3
  4. package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
  5. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +4 -4
  6. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
  7. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +2 -2
  8. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
  9. package/build/components/__shared__/Payment/components/PCI/PCI.js +2 -2
  10. package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
  11. package/package.json +1 -1
  12. package/.env +0 -22
  13. package/.gitlab-ci.yml +0 -4
  14. package/.nvmrc +0 -1
  15. package/__tests__/Booking/__mocks__/booking-delete.json +0 -1
  16. package/__tests__/Booking/__mocks__/booking-get.json +0 -105
  17. package/__tests__/Booking/booking.constants.js +0 -8
  18. package/__tests__/Booking/workflows/cancel.workflow.js +0 -20
  19. package/__tests__/Booking/workflows/index.js +0 -5
  20. package/__tests__/Booking/workflows/openMobileMenu.workflow.js +0 -4
  21. package/__tests__/Booking/workflows/print.workflow.js +0 -13
  22. package/__tests__/Booking/workflows/resend.workflow.js +0 -18
  23. package/__tests__/Booking/workflows/review.workflow.js +0 -17
  24. package/__tests__/BookingQuery/__mocks__/user-booking-get.json +0 -9
  25. package/__tests__/BookingQuery/workflows/index.js +0 -1
  26. package/__tests__/BookingQuery/workflows/login.workflow.js +0 -22
  27. package/__tests__/Checkout/__mocks__/checkout-get.json +0 -935
  28. package/__tests__/Checkout/__mocks__/checkout-post-PAYLATER.json +0 -10
  29. package/__tests__/Checkout/__mocks__/checkout-post-TPV.json +0 -7
  30. package/__tests__/Checkout/__mocks__/checkout-post-TRANSFER.json +0 -10
  31. package/__tests__/Checkout/checkout.constants.js +0 -8
  32. package/__tests__/Checkout/workflows/form.workflow.js +0 -17
  33. package/__tests__/Checkout/workflows/index.js +0 -4
  34. package/__tests__/Checkout/workflows/payment.workflow.js +0 -10
  35. package/__tests__/Checkout/workflows/review.workflow.js +0 -19
  36. package/__tests__/Checkout/workflows/submit.workflow.js +0 -9
  37. package/__tests__/Deals/__mocks__/deals-success.json +0 -739
  38. package/__tests__/Deals/workflows/calendar.workflow.js +0 -14
  39. package/__tests__/Deals/workflows/clear.workflow.js +0 -7
  40. package/__tests__/Deals/workflows/index.js +0 -5
  41. package/__tests__/Deals/workflows/occupation.workflow.js +0 -6
  42. package/__tests__/Deals/workflows/promocode.workflow.js +0 -3
  43. package/__tests__/Deals/workflows/submit.workflow.js +0 -6
  44. package/__tests__/Finder/workflows/calendar.workflow.js +0 -10
  45. package/__tests__/Finder/workflows/index.js +0 -3
  46. package/__tests__/Finder/workflows/occupation.workflow.js +0 -27
  47. package/__tests__/Finder/workflows/promocode.workflow.js +0 -8
  48. package/__tests__/Rates/__mocks__/extras-one-success.json +0 -138
  49. package/__tests__/Rates/__mocks__/extras-success.json +0 -397
  50. package/__tests__/Rates/__mocks__/rates-success.json +0 -731
  51. package/__tests__/Rates/workflows/extras.js +0 -9
  52. package/__tests__/Rates/workflows/extrasExpect.js +0 -11
  53. package/__tests__/Rates/workflows/index.js +0 -4
  54. package/__tests__/Rates/workflows/multiroom.js +0 -26
  55. package/__tests__/Rates/workflows/rates.js +0 -9
  56. package/__tests__/Session/workflows/bookings.workflow.js +0 -18
  57. package/__tests__/Session/workflows/forgotPassword.workflow.js +0 -20
  58. package/__tests__/Session/workflows/index.js +0 -5
  59. package/__tests__/Session/workflows/login.workflow.js +0 -29
  60. package/__tests__/Session/workflows/logout.workflow.js +0 -8
  61. package/__tests__/Session/workflows/profile.workflow.js +0 -49
  62. package/__tests__/Signup/workflows/index.js +0 -2
  63. package/__tests__/Signup/workflows/signup.workflow.js +0 -26
  64. package/__tests__/Signup/workflows/signupError.workflow.js +0 -22
  65. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-one-extras-1.png +0 -0
  66. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-some-extras-1.png +0 -0
  67. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-one-extras-1.png +0 -0
  68. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-some-extras-1.png +0 -0
  69. package/__tests__/booking.spec.jsx +0 -34
  70. package/__tests__/bookingQuey.spec.js +0 -43
  71. package/__tests__/buttonFinder.spec.js +0 -16
  72. package/__tests__/checkout.spec.jsx +0 -52
  73. package/__tests__/constants.js +0 -20
  74. package/__tests__/deals.spec.js +0 -30
  75. package/__tests__/finder.spec.js +0 -75
  76. package/__tests__/helpers/closeNotification.js +0 -7
  77. package/__tests__/helpers/getWeekNumber.js +0 -8
  78. package/__tests__/helpers/index.js +0 -2
  79. package/__tests__/rates.spec.jsx +0 -39
  80. package/__tests__/session.spec.js +0 -32
  81. package/__tests__/signup.spec.js +0 -17
  82. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.skeleton.test.js.snap +0 -287
  83. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +0 -102
  84. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +0 -1302
  85. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +0 -139
  86. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -108
  87. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +0 -546
  88. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +0 -46
  89. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +0 -166
  90. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +0 -110
  91. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +0 -82
  92. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +0 -432
  93. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +0 -319
  94. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +0 -178
  95. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +0 -1048
  96. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +0 -8210
  97. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +0 -30
  98. package/build/components/Chat/__tests__/__snapshots__/Chat.test.js.snap +0 -634
  99. package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +0 -97
  100. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +0 -178
  101. package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +0 -282
  102. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +0 -211
  103. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Booking.test.js.snap +0 -65
  104. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Card.test.js.snap +0 -29
  105. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +0 -44
  106. package/build/components/Chat/components/Offline/__tests__/__snapshots__/Offline.test.js.snap +0 -162
  107. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +0 -9
  108. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +0 -2018
  109. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +0 -347
  110. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +0 -418
  111. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +0 -6754
  112. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +0 -4449
  113. package/build/components/Deals/__tests__/__snapshots__/Deals.constants.js.snap +0 -15
  114. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +0 -7828
  115. package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +0 -25
  116. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +0 -120
  117. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +0 -988
  118. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +0 -39
  119. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +0 -22237
  120. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +0 -11
  121. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +0 -11108
  122. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +0 -44
  123. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +0 -324
  124. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +0 -1382
  125. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +0 -7
  126. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +0 -1187
  127. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +0 -19
  128. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +0 -41
  129. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +0 -50
  130. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +0 -3
  131. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +0 -3
  132. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +0 -53
  133. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +0 -11760
  134. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +0 -113
  135. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +0 -32
  136. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +0 -21
  137. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +0 -32
  138. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +0 -167
  139. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -3
  140. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +0 -96
  141. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +0 -9
  142. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +0 -53
  143. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +0 -154
  144. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +0 -3
  145. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -3
  146. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +0 -40
  147. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +0 -35
  148. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +0 -72
  149. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +0 -49
  150. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +0 -50
  151. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +0 -18
  152. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +0 -23
  153. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +0 -3
  154. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +0 -27
  155. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +0 -3
  156. package/build/components/Rates/components/ModalClubRate/__tests__/__snapshots__/ModalClubRate.test.js.snap +0 -257
  157. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +0 -68
  158. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +0 -78
  159. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +0 -260
  160. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +0 -1091
  161. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +0 -208
  162. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +0 -2190
  163. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +0 -500
  164. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +0 -745
  165. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +0 -450
  166. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +0 -115
  167. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +0 -206
  168. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +0 -65
  169. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +0 -68
  170. package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +0 -356
  171. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/__tests__/__snapshots__/getStyle.test.js.snap +0 -23
  172. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +0 -165
  173. package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +0 -161
  174. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +0 -190
  175. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +0 -34
  176. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -42
  177. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +0 -1018
  178. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +0 -2243
  179. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +0 -373
  180. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +0 -178
  181. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +0 -118
  182. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +0 -17
  183. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +0 -3754
  184. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +0 -1109
  185. package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +0 -23
  186. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +0 -33
  187. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +0 -933
  188. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +0 -474
  189. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +0 -98
  190. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +0 -49
  191. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +0 -337
  192. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +0 -1192
  193. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +0 -66
  194. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +0 -41
  195. package/build/components/helpers/__tests__/__mocks__/hotels.json +0 -87
  196. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +0 -317
  197. package/playwright.config.js +0 -50
  198. package/public/App.Container.jsx +0 -147
  199. package/public/App.jsx +0 -34
  200. package/public/App.module.css +0 -153
  201. package/public/index.html +0 -32
  202. package/public/index.template.html +0 -19
  203. package/public/performance/index.html +0 -159
  204. package/public/routes/Deals.jsx +0 -20
  205. package/public/routes/Finder.jsx +0 -19
  206. package/public/routes/Home.constants.js +0 -52
  207. package/public/routes/Home.jsx +0 -131
  208. package/public/routes/NotFound.jsx +0 -23
  209. package/public/routes/Profile.jsx +0 -21
  210. package/public/routes/Signup.jsx +0 -20
  211. package/public/routes/Step0-Accommodations.jsx +0 -4
  212. package/public/routes/Step1-Rates.jsx +0 -12
  213. package/public/routes/Step2-Checkout.jsx +0 -4
  214. package/public/routes/Step3-Booking.jsx +0 -4
  215. package/public/routes/components/Logo.jsx +0 -18
  216. package/public/routes/components/index.js +0 -1
  217. package/public/routes/index.js +0 -10
  218. package/public/routes/routes.module.css +0 -259
  219. package/public/themes/monalisa.theme.css +0 -45
@@ -1,206 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ButtonPayment> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-button
6
- class="pressable button mirai"
7
- tabindex="0"
8
- >
9
- payments.action.pay_now
10
- </ui-button>
11
- <ui-modal-overflow
12
- class="pressable container overflow"
13
- style="height: 768px;"
14
- tabindex="0"
15
- >
16
- <ui-modal
17
- class="view fit modal calcWidth"
18
- >
19
- <ui-view
20
- class="view row header hideBack"
21
- >
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
- `;
53
-
54
- exports[`<ButtonPayment> renders 1`] = `
55
- <DocumentFragment>
56
- <ui-button
57
- class="pressable button"
58
- tabindex="0"
59
- >
60
- payments.action.pay_now
61
- </ui-button>
62
- <ui-modal-overflow
63
- class="pressable container overflow"
64
- style="height: 768px;"
65
- tabindex="0"
66
- >
67
- <ui-modal
68
- class="view fit modal calcWidth"
69
- >
70
- <ui-view
71
- class="view row header hideBack"
72
- >
73
- <ui-button
74
- class="pressable button small squared transparent"
75
- tabindex="0"
76
- >
77
- <ui-icon
78
- class="icon headline-3 icon"
79
- >
80
- <svg
81
- fill="currentColor"
82
- height="1em"
83
- stroke="currentColor"
84
- stroke-width="0"
85
- viewBox="0 0 24 24"
86
- width="1em"
87
- xmlns="http://www.w3.org/2000/svg"
88
- >
89
- <path
90
- d="M0 0h24v24H0V0z"
91
- fill="none"
92
- />
93
- <path
94
- 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"
95
- />
96
- </svg>
97
- </ui-icon>
98
- </ui-button>
99
- </ui-view>
100
- </ui-modal>
101
- </ui-modal-overflow>
102
- </DocumentFragment>
103
- `;
104
-
105
- exports[`<ButtonPayment> testID 1`] = `
106
- <DocumentFragment>
107
- <ui-button
108
- class="pressable button"
109
- data-testid="mirai"
110
- tabindex="0"
111
- >
112
- payments.action.pay_now
113
- </ui-button>
114
- <ui-modal-overflow
115
- class="pressable container overflow"
116
- style="height: 768px;"
117
- tabindex="0"
118
- >
119
- <ui-modal
120
- class="view fit modal calcWidth"
121
- >
122
- <ui-view
123
- class="view row header hideBack"
124
- >
125
- <ui-button
126
- class="pressable button small squared transparent"
127
- tabindex="0"
128
- >
129
- <ui-icon
130
- class="icon headline-3 icon"
131
- >
132
- <svg
133
- fill="currentColor"
134
- height="1em"
135
- stroke="currentColor"
136
- stroke-width="0"
137
- viewBox="0 0 24 24"
138
- width="1em"
139
- xmlns="http://www.w3.org/2000/svg"
140
- >
141
- <path
142
- d="M0 0h24v24H0V0z"
143
- fill="none"
144
- />
145
- <path
146
- 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"
147
- />
148
- </svg>
149
- </ui-icon>
150
- </ui-button>
151
- </ui-view>
152
- </ui-modal>
153
- </ui-modal-overflow>
154
- </DocumentFragment>
155
- `;
156
-
157
- exports[`<ButtonPayment> using some inherit <Button> properties 1`] = `
158
- <DocumentFragment>
159
- <ui-button
160
- class="pressable disabled button large disabled"
161
- disabled="true"
162
- >
163
- Pay Now
164
- </ui-button>
165
- <ui-modal-overflow
166
- class="pressable container overflow"
167
- style="height: 768px;"
168
- tabindex="0"
169
- >
170
- <ui-modal
171
- class="view fit modal calcWidth"
172
- >
173
- <ui-view
174
- class="view row header hideBack"
175
- >
176
- <ui-button
177
- class="pressable button small squared transparent"
178
- tabindex="0"
179
- >
180
- <ui-icon
181
- class="icon headline-3 icon"
182
- >
183
- <svg
184
- fill="currentColor"
185
- height="1em"
186
- stroke="currentColor"
187
- stroke-width="0"
188
- viewBox="0 0 24 24"
189
- width="1em"
190
- xmlns="http://www.w3.org/2000/svg"
191
- >
192
- <path
193
- d="M0 0h24v24H0V0z"
194
- fill="none"
195
- />
196
- <path
197
- 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"
198
- />
199
- </svg>
200
- </ui-icon>
201
- </ui-button>
202
- </ui-view>
203
- </ui-modal>
204
- </ui-modal-overflow>
205
- </DocumentFragment>
206
- `;
@@ -1,65 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ButtonPayment> <Form> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <form
6
- action="http://"
7
- class=",mirai"
8
- method="POST"
9
- >
10
- <input
11
- name="field1"
12
- type="hidden"
13
- value="value1"
14
- />
15
- <input
16
- name="field2"
17
- type="hidden"
18
- value="value2"
19
- />
20
- </form>
21
- </DocumentFragment>
22
- `;
23
-
24
- exports[`<ButtonPayment> <Form> renders 1`] = `
25
- <DocumentFragment>
26
- <form
27
- action="http://"
28
- class=","
29
- method="POST"
30
- >
31
- <input
32
- name="field1"
33
- type="hidden"
34
- value="value1"
35
- />
36
- <input
37
- name="field2"
38
- type="hidden"
39
- value="value2"
40
- />
41
- </form>
42
- </DocumentFragment>
43
- `;
44
-
45
- exports[`<ButtonPayment> <Form> testID 1`] = `
46
- <DocumentFragment>
47
- <form
48
- action="http://"
49
- class=","
50
- data-testid="mirai"
51
- method="POST"
52
- >
53
- <input
54
- name="field1"
55
- type="hidden"
56
- value="value1"
57
- />
58
- <input
59
- name="field2"
60
- type="hidden"
61
- value="value2"
62
- />
63
- </form>
64
- </DocumentFragment>
65
- `;
@@ -1,68 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ButtonPayment> <FormAddon> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view mirai"
7
- >
8
- <ui-text
9
- class="text action"
10
- >
11
- payments.label.secure_page
12
- </ui-text>
13
- <input
14
- hidden=""
15
- id="addonInitButton"
16
- type="submit"
17
- />
18
- <iframe
19
- id="addonIframe"
20
- />
21
- </ui-view>
22
- </DocumentFragment>
23
- `;
24
-
25
- exports[`<ButtonPayment> <FormAddon> renders 1`] = `
26
- <DocumentFragment>
27
- <ui-view
28
- class="view"
29
- >
30
- <ui-text
31
- class="text action"
32
- >
33
- payments.label.secure_page
34
- </ui-text>
35
- <input
36
- hidden=""
37
- id="addonInitButton"
38
- type="submit"
39
- />
40
- <iframe
41
- id="addonIframe"
42
- />
43
- </ui-view>
44
- </DocumentFragment>
45
- `;
46
-
47
- exports[`<ButtonPayment> <FormAddon> testID 1`] = `
48
- <DocumentFragment>
49
- <ui-view
50
- class="view"
51
- data-testid="mirai"
52
- >
53
- <ui-text
54
- class="text action"
55
- >
56
- payments.label.secure_page
57
- </ui-text>
58
- <input
59
- hidden=""
60
- id="addonInitButton"
61
- type="submit"
62
- />
63
- <iframe
64
- id="addonIframe"
65
- />
66
- </ui-view>
67
- </DocumentFragment>
68
- `;
@@ -1,356 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ButtonPayment> <FormCheckout> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view mirai"
7
- >
8
- <ui-text
9
- class="text action"
10
- >
11
- payments.label.secure_page
12
- </ui-text>
13
- <ui-view
14
- class="view"
15
- >
16
- <ui-view
17
- class="view"
18
- >
19
- <ui-view
20
- class="view wide"
21
- >
22
- <ui-text
23
- class="text small"
24
- >
25
- payments.label.card_name
26
- </ui-text>
27
- <input
28
- class="input"
29
- name="name"
30
- type="text"
31
- value=""
32
- />
33
- </ui-view>
34
- </ui-view>
35
- </ui-view>
36
- <ui-view
37
- class="view"
38
- >
39
- <ui-view
40
- class="view"
41
- >
42
- <ui-view
43
- class="view wide"
44
- >
45
- <ui-text
46
- class="text small"
47
- >
48
- payments.label.card_number
49
- </ui-text>
50
- <div
51
- class="card-number-frame"
52
- />
53
- </ui-view>
54
- </ui-view>
55
- </ui-view>
56
- <ui-view
57
- class="view row"
58
- >
59
- <ui-view
60
- class="view"
61
- >
62
- <ui-view
63
- class="view"
64
- >
65
- <ui-view
66
- class="view wide"
67
- >
68
- <ui-text
69
- class="text small"
70
- >
71
- payments.label.expiration
72
- </ui-text>
73
- <div
74
- class="expiry-date-frame"
75
- />
76
- </ui-view>
77
- </ui-view>
78
- </ui-view>
79
- <ui-view
80
- class="view"
81
- >
82
- <ui-view
83
- class="view"
84
- >
85
- <ui-view
86
- class="view wide"
87
- >
88
- <ui-text
89
- class="text small"
90
- >
91
- payments.label.cvv
92
- </ui-text>
93
- <div
94
- class="cvv-frame"
95
- />
96
- </ui-view>
97
- </ui-view>
98
- </ui-view>
99
- </ui-view>
100
- <ui-button
101
- class="pressable disabled button large disabled wide"
102
- disabled="true"
103
- >
104
- <ui-view
105
- class="view busyContainer"
106
- >
107
- <ui-view
108
- class="view spinner"
109
- />
110
- </ui-view>
111
- <ui-view
112
- class="view row children"
113
- >
114
- payments.action.pay
115
- </ui-view>
116
- </ui-button>
117
- </ui-view>
118
- </DocumentFragment>
119
- `;
120
-
121
- exports[`<ButtonPayment> <FormCheckout> renders 1`] = `
122
- <DocumentFragment>
123
- <ui-view
124
- class="view"
125
- >
126
- <ui-text
127
- class="text action"
128
- >
129
- payments.label.secure_page
130
- </ui-text>
131
- <ui-view
132
- class="view"
133
- >
134
- <ui-view
135
- class="view"
136
- >
137
- <ui-view
138
- class="view wide"
139
- >
140
- <ui-text
141
- class="text small"
142
- >
143
- payments.label.card_name
144
- </ui-text>
145
- <input
146
- class="input"
147
- name="name"
148
- type="text"
149
- value=""
150
- />
151
- </ui-view>
152
- </ui-view>
153
- </ui-view>
154
- <ui-view
155
- class="view"
156
- >
157
- <ui-view
158
- class="view"
159
- >
160
- <ui-view
161
- class="view wide"
162
- >
163
- <ui-text
164
- class="text small"
165
- >
166
- payments.label.card_number
167
- </ui-text>
168
- <div
169
- class="card-number-frame"
170
- />
171
- </ui-view>
172
- </ui-view>
173
- </ui-view>
174
- <ui-view
175
- class="view row"
176
- >
177
- <ui-view
178
- class="view"
179
- >
180
- <ui-view
181
- class="view"
182
- >
183
- <ui-view
184
- class="view wide"
185
- >
186
- <ui-text
187
- class="text small"
188
- >
189
- payments.label.expiration
190
- </ui-text>
191
- <div
192
- class="expiry-date-frame"
193
- />
194
- </ui-view>
195
- </ui-view>
196
- </ui-view>
197
- <ui-view
198
- class="view"
199
- >
200
- <ui-view
201
- class="view"
202
- >
203
- <ui-view
204
- class="view wide"
205
- >
206
- <ui-text
207
- class="text small"
208
- >
209
- payments.label.cvv
210
- </ui-text>
211
- <div
212
- class="cvv-frame"
213
- />
214
- </ui-view>
215
- </ui-view>
216
- </ui-view>
217
- </ui-view>
218
- <ui-button
219
- class="pressable disabled button large disabled wide"
220
- disabled="true"
221
- >
222
- <ui-view
223
- class="view busyContainer"
224
- >
225
- <ui-view
226
- class="view spinner"
227
- />
228
- </ui-view>
229
- <ui-view
230
- class="view row children"
231
- >
232
- payments.action.pay
233
- </ui-view>
234
- </ui-button>
235
- </ui-view>
236
- </DocumentFragment>
237
- `;
238
-
239
- exports[`<ButtonPayment> <FormCheckout> testID 1`] = `
240
- <DocumentFragment>
241
- <ui-view
242
- class="view"
243
- data-testid="mirai"
244
- >
245
- <ui-text
246
- class="text action"
247
- >
248
- payments.label.secure_page
249
- </ui-text>
250
- <ui-view
251
- class="view"
252
- >
253
- <ui-view
254
- class="view"
255
- >
256
- <ui-view
257
- class="view wide"
258
- >
259
- <ui-text
260
- class="text small"
261
- >
262
- payments.label.card_name
263
- </ui-text>
264
- <input
265
- class="input"
266
- name="name"
267
- type="text"
268
- value=""
269
- />
270
- </ui-view>
271
- </ui-view>
272
- </ui-view>
273
- <ui-view
274
- class="view"
275
- >
276
- <ui-view
277
- class="view"
278
- >
279
- <ui-view
280
- class="view wide"
281
- >
282
- <ui-text
283
- class="text small"
284
- >
285
- payments.label.card_number
286
- </ui-text>
287
- <div
288
- class="card-number-frame"
289
- />
290
- </ui-view>
291
- </ui-view>
292
- </ui-view>
293
- <ui-view
294
- class="view row"
295
- >
296
- <ui-view
297
- class="view"
298
- >
299
- <ui-view
300
- class="view"
301
- >
302
- <ui-view
303
- class="view wide"
304
- >
305
- <ui-text
306
- class="text small"
307
- >
308
- payments.label.expiration
309
- </ui-text>
310
- <div
311
- class="expiry-date-frame"
312
- />
313
- </ui-view>
314
- </ui-view>
315
- </ui-view>
316
- <ui-view
317
- class="view"
318
- >
319
- <ui-view
320
- class="view"
321
- >
322
- <ui-view
323
- class="view wide"
324
- >
325
- <ui-text
326
- class="text small"
327
- >
328
- payments.label.cvv
329
- </ui-text>
330
- <div
331
- class="cvv-frame"
332
- />
333
- </ui-view>
334
- </ui-view>
335
- </ui-view>
336
- </ui-view>
337
- <ui-button
338
- class="pressable disabled button large disabled wide"
339
- disabled="true"
340
- >
341
- <ui-view
342
- class="view busyContainer"
343
- >
344
- <ui-view
345
- class="view spinner"
346
- />
347
- </ui-view>
348
- <ui-view
349
- class="view row children"
350
- >
351
- payments.action.pay
352
- </ui-view>
353
- </ui-button>
354
- </ui-view>
355
- </DocumentFragment>
356
- `;
@@ -1,23 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ButtonPayment> <FormCheckout> helpers/getStyle should match snapshot 1`] = `
4
- Object {
5
- "style": Object {
6
- "base": Object {
7
- "color": "#000",
8
- "fontFamily": "Arial, sans-serif",
9
- "fontSize": "14px",
10
- "fontWeight": "normal",
11
- "letterSpacing": 0,
12
- },
13
- "placeholder": Object {
14
- "base": Object {
15
- "color": "transparent",
16
- },
17
- "focus": Object {
18
- "color": "#ccc",
19
- },
20
- },
21
- },
22
- }
23
- `;