@mirai/core 0.4.649 → 0.4.650

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 (141) 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/InputField/__tests__/__snapshots__/InputField.test.js.snap +190 -0
  100. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
  101. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +42 -0
  102. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +366 -0
  103. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2242 -0
  104. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +308 -0
  105. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +186 -0
  106. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +82 -0
  107. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
  108. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3754 -0
  109. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +1105 -0
  110. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +35 -0
  111. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +996 -0
  112. package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +876 -0
  113. package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +876 -0
  114. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +504 -0
  115. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +119 -0
  116. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
  117. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
  118. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +2841 -0
  119. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.constants.js.snap +14 -0
  120. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +11053 -0
  121. package/build/components/__shared__/RatesExplorer/helpers/__tests__/__mocks__/deal.json +28 -0
  122. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1352 -0
  123. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +67 -0
  124. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
  125. package/build/components/helpers/__tests__/__mocks__/hotels.json +87 -0
  126. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +331 -0
  127. package/build/components/helpers/escapeHtml.js +19 -0
  128. package/build/components/helpers/escapeHtml.js.map +1 -0
  129. package/build/components/helpers/template.js +5 -1
  130. package/build/components/helpers/template.js.map +1 -1
  131. package/build/helpers/fetchSession.js +13 -1
  132. package/build/helpers/fetchSession.js.map +1 -1
  133. package/package.json +4 -1
  134. package/.sentryclirc +0 -3
  135. package/AGENTS.md +0 -296
  136. package/Dockerfile +0 -16
  137. package/bitbucket-pipelines.yml +0 -12
  138. package/config/jest/fileMock.js +0 -1
  139. package/config/jest/setup.env.js +0 -20
  140. package/config/jest/setup.js +0 -3
  141. package/jest.config.js +0 -22
@@ -0,0 +1,210 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-button
6
+ class="pressable button mirai"
7
+ tabindex="0"
8
+ >
9
+ core.action.book_now
10
+ </ui-button>
11
+ <ui-modal-overflow
12
+ class="pressable container overflow"
13
+ style="height: 768px;"
14
+ tabindex="-1"
15
+ >
16
+ <ui-modal
17
+ class="view fit modal calcWidth"
18
+ inert=""
19
+ >
20
+ <ui-view
21
+ class="view row header hideBack"
22
+ >
23
+ <ui-button
24
+ class="pressable button small squared transparent"
25
+ tabindex="0"
26
+ >
27
+ <ui-icon
28
+ class="icon headline-3 icon"
29
+ >
30
+ <svg
31
+ fill="currentColor"
32
+ height="1em"
33
+ stroke="currentColor"
34
+ stroke-width="0"
35
+ viewBox="0 0 24 24"
36
+ width="1em"
37
+ xmlns="http://www.w3.org/2000/svg"
38
+ >
39
+ <path
40
+ d="M0 0h24v24H0V0z"
41
+ fill="none"
42
+ />
43
+ <path
44
+ 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"
45
+ />
46
+ </svg>
47
+ </ui-icon>
48
+ </ui-button>
49
+ </ui-view>
50
+ </ui-modal>
51
+ </ui-modal-overflow>
52
+ </DocumentFragment>
53
+ `;
54
+
55
+ exports[`<ButtonPayment> renders 1`] = `
56
+ <DocumentFragment>
57
+ <ui-button
58
+ class="pressable button"
59
+ tabindex="0"
60
+ >
61
+ core.action.book_now
62
+ </ui-button>
63
+ <ui-modal-overflow
64
+ class="pressable container overflow"
65
+ style="height: 768px;"
66
+ tabindex="-1"
67
+ >
68
+ <ui-modal
69
+ class="view fit modal calcWidth"
70
+ inert=""
71
+ >
72
+ <ui-view
73
+ class="view row header hideBack"
74
+ >
75
+ <ui-button
76
+ class="pressable button small squared transparent"
77
+ tabindex="0"
78
+ >
79
+ <ui-icon
80
+ class="icon headline-3 icon"
81
+ >
82
+ <svg
83
+ fill="currentColor"
84
+ height="1em"
85
+ stroke="currentColor"
86
+ stroke-width="0"
87
+ viewBox="0 0 24 24"
88
+ width="1em"
89
+ xmlns="http://www.w3.org/2000/svg"
90
+ >
91
+ <path
92
+ d="M0 0h24v24H0V0z"
93
+ fill="none"
94
+ />
95
+ <path
96
+ 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"
97
+ />
98
+ </svg>
99
+ </ui-icon>
100
+ </ui-button>
101
+ </ui-view>
102
+ </ui-modal>
103
+ </ui-modal-overflow>
104
+ </DocumentFragment>
105
+ `;
106
+
107
+ exports[`<ButtonPayment> testID 1`] = `
108
+ <DocumentFragment>
109
+ <ui-button
110
+ class="pressable button"
111
+ data-testid="mirai"
112
+ tabindex="0"
113
+ >
114
+ core.action.book_now
115
+ </ui-button>
116
+ <ui-modal-overflow
117
+ class="pressable container overflow"
118
+ style="height: 768px;"
119
+ tabindex="-1"
120
+ >
121
+ <ui-modal
122
+ class="view fit modal calcWidth"
123
+ inert=""
124
+ >
125
+ <ui-view
126
+ class="view row header hideBack"
127
+ >
128
+ <ui-button
129
+ class="pressable button small squared transparent"
130
+ tabindex="0"
131
+ >
132
+ <ui-icon
133
+ class="icon headline-3 icon"
134
+ >
135
+ <svg
136
+ fill="currentColor"
137
+ height="1em"
138
+ stroke="currentColor"
139
+ stroke-width="0"
140
+ viewBox="0 0 24 24"
141
+ width="1em"
142
+ xmlns="http://www.w3.org/2000/svg"
143
+ >
144
+ <path
145
+ d="M0 0h24v24H0V0z"
146
+ fill="none"
147
+ />
148
+ <path
149
+ 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"
150
+ />
151
+ </svg>
152
+ </ui-icon>
153
+ </ui-button>
154
+ </ui-view>
155
+ </ui-modal>
156
+ </ui-modal-overflow>
157
+ </DocumentFragment>
158
+ `;
159
+
160
+ exports[`<ButtonPayment> using some inherit <Button> properties 1`] = `
161
+ <DocumentFragment>
162
+ <ui-button
163
+ class="pressable disabled button large disabled"
164
+ disabled=""
165
+ >
166
+ Pay Now
167
+ </ui-button>
168
+ <ui-modal-overflow
169
+ class="pressable container overflow"
170
+ style="height: 768px;"
171
+ tabindex="-1"
172
+ >
173
+ <ui-modal
174
+ class="view fit modal calcWidth"
175
+ inert=""
176
+ >
177
+ <ui-view
178
+ class="view row header hideBack"
179
+ >
180
+ <ui-button
181
+ class="pressable button small squared transparent"
182
+ tabindex="0"
183
+ >
184
+ <ui-icon
185
+ class="icon headline-3 icon"
186
+ >
187
+ <svg
188
+ fill="currentColor"
189
+ height="1em"
190
+ stroke="currentColor"
191
+ stroke-width="0"
192
+ viewBox="0 0 24 24"
193
+ width="1em"
194
+ xmlns="http://www.w3.org/2000/svg"
195
+ >
196
+ <path
197
+ d="M0 0h24v24H0V0z"
198
+ fill="none"
199
+ />
200
+ <path
201
+ 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"
202
+ />
203
+ </svg>
204
+ </ui-icon>
205
+ </ui-button>
206
+ </ui-view>
207
+ </ui-modal>
208
+ </ui-modal-overflow>
209
+ </DocumentFragment>
210
+ `;
@@ -0,0 +1,65 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
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
+ `;
@@ -0,0 +1,53 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormAddon> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view mirai"
7
+ >
8
+ <input
9
+ hidden=""
10
+ id="addonInitButton"
11
+ type="submit"
12
+ />
13
+ <iframe
14
+ id="addonIframe"
15
+ />
16
+ </ui-view>
17
+ </DocumentFragment>
18
+ `;
19
+
20
+ exports[`<ButtonPayment> <FormAddon> renders 1`] = `
21
+ <DocumentFragment>
22
+ <ui-view
23
+ class="view"
24
+ >
25
+ <input
26
+ hidden=""
27
+ id="addonInitButton"
28
+ type="submit"
29
+ />
30
+ <iframe
31
+ id="addonIframe"
32
+ />
33
+ </ui-view>
34
+ </DocumentFragment>
35
+ `;
36
+
37
+ exports[`<ButtonPayment> <FormAddon> testID 1`] = `
38
+ <DocumentFragment>
39
+ <ui-view
40
+ class="view"
41
+ data-testid="mirai"
42
+ >
43
+ <input
44
+ hidden=""
45
+ id="addonInitButton"
46
+ type="submit"
47
+ />
48
+ <iframe
49
+ id="addonIframe"
50
+ />
51
+ </ui-view>
52
+ </DocumentFragment>
53
+ `;
@@ -0,0 +1,14 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormGetnet> renders 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class=""
7
+ >
8
+ <div
9
+ data-testid="progress"
10
+ />
11
+ <div />
12
+ </div>
13
+ </DocumentFragment>
14
+ `;
@@ -0,0 +1,104 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormHotelpay> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view mirai"
7
+ id="payment-form"
8
+ >
9
+ <ui-progress
10
+ class="view progress visible"
11
+ >
12
+ <ui-progress-value
13
+ class="view value indeterminate"
14
+ />
15
+ </ui-progress>
16
+ </ui-view>
17
+ <ui-button
18
+ class="pressable disabled button disabled wide"
19
+ disabled=""
20
+ >
21
+ <ui-view
22
+ class="view busyContainer"
23
+ >
24
+ <ui-view
25
+ class="view spinner"
26
+ />
27
+ </ui-view>
28
+ <ui-view
29
+ class="view row children"
30
+ >
31
+ core.action.pay
32
+ </ui-view>
33
+ </ui-button>
34
+ </DocumentFragment>
35
+ `;
36
+
37
+ exports[`<ButtonPayment> <FormHotelpay> renders 1`] = `
38
+ <DocumentFragment>
39
+ <ui-view
40
+ class="view"
41
+ id="payment-form"
42
+ >
43
+ <ui-progress
44
+ class="view progress visible"
45
+ >
46
+ <ui-progress-value
47
+ class="view value indeterminate"
48
+ />
49
+ </ui-progress>
50
+ </ui-view>
51
+ <ui-button
52
+ class="pressable disabled button disabled wide"
53
+ disabled=""
54
+ >
55
+ <ui-view
56
+ class="view busyContainer"
57
+ >
58
+ <ui-view
59
+ class="view spinner"
60
+ />
61
+ </ui-view>
62
+ <ui-view
63
+ class="view row children"
64
+ >
65
+ core.action.pay
66
+ </ui-view>
67
+ </ui-button>
68
+ </DocumentFragment>
69
+ `;
70
+
71
+ exports[`<ButtonPayment> <FormHotelpay> testID 1`] = `
72
+ <DocumentFragment>
73
+ <ui-view
74
+ class="view"
75
+ data-testid="mirai"
76
+ id="payment-form"
77
+ >
78
+ <ui-progress
79
+ class="view progress visible"
80
+ >
81
+ <ui-progress-value
82
+ class="view value indeterminate"
83
+ />
84
+ </ui-progress>
85
+ </ui-view>
86
+ <ui-button
87
+ class="pressable disabled button disabled wide"
88
+ disabled=""
89
+ >
90
+ <ui-view
91
+ class="view busyContainer"
92
+ >
93
+ <ui-view
94
+ class="view spinner"
95
+ />
96
+ </ui-view>
97
+ <ui-view
98
+ class="view row children"
99
+ >
100
+ core.action.pay
101
+ </ui-view>
102
+ </ui-button>
103
+ </DocumentFragment>
104
+ `;
@@ -0,0 +1,21 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormNuvei> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view"
7
+ >
8
+ <ui-progress
9
+ class="view progress"
10
+ >
11
+ <ui-progress-value
12
+ class="view value indeterminate"
13
+ />
14
+ </ui-progress>
15
+ <ui-view
16
+ class="view"
17
+ id="nuvei-checkout"
18
+ />
19
+ </ui-view>
20
+ </DocumentFragment>
21
+ `;
@@ -0,0 +1,41 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormPaybyrd> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view mirai"
7
+ >
8
+ <iframe
9
+ class="view"
10
+ src="https://checkout.paybyrd.com/#/payment?checkoutKey=checkout-abc&orderId=order-123&configs=encoded-config"
11
+ />
12
+ </ui-view>
13
+ </DocumentFragment>
14
+ `;
15
+
16
+ exports[`<ButtonPayment> <FormPaybyrd> renders 1`] = `
17
+ <DocumentFragment>
18
+ <ui-view
19
+ class="view"
20
+ >
21
+ <iframe
22
+ class="view"
23
+ src="https://checkout.paybyrd.com/#/payment?checkoutKey=checkout-abc&orderId=order-123&configs=encoded-config"
24
+ />
25
+ </ui-view>
26
+ </DocumentFragment>
27
+ `;
28
+
29
+ exports[`<ButtonPayment> <FormPaybyrd> testID 1`] = `
30
+ <DocumentFragment>
31
+ <ui-view
32
+ class="view"
33
+ data-testid="mirai"
34
+ >
35
+ <iframe
36
+ class="view"
37
+ src="https://checkout.paybyrd.com/#/payment?checkoutKey=checkout-abc&orderId=order-123&configs=encoded-config"
38
+ />
39
+ </ui-view>
40
+ </DocumentFragment>
41
+ `;
@@ -0,0 +1,18 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<ButtonPayment> <FormPaycomet> renders 1`] = `
4
+ <DocumentFragment>
5
+ <ui-view
6
+ class="view"
7
+ info="[object Object]"
8
+ >
9
+ <iframe
10
+ allow="payment"
11
+ class="view"
12
+ id="paycomet_iframe"
13
+ sandbox="allow-top-navigation allow-scripts allow-same-origin allow-forms"
14
+ title="core.label.secure_page"
15
+ />
16
+ </ui-view>
17
+ </DocumentFragment>
18
+ `;