@mirai/core 0.3.336 → 0.3.338
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/BannerLoyalty/BannerLoyalty.js +3 -1
- package/build/components/BannerLoyalty/BannerLoyalty.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.module.css +1 -0
- package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +34 -34
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +270 -260
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +36 -36
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +164 -148
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +128 -104
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +332 -290
- package/build/components/Chat/Chat.js +2 -1
- package/build/components/Chat/Chat.js.map +1 -1
- package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +30 -30
- package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +27 -24
- package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +75 -68
- package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +74 -74
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +392 -376
- package/build/components/Checkout/components/InputRadio/InputRadio.module.css +4 -0
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +124 -100
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +606 -588
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +824 -748
- package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +1761 -1758
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +2794 -2760
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +8106 -7994
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +4325 -4318
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +139 -115
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +6 -6
- package/build/components/Rates/Rates.Footer.js +5 -2
- package/build/components/Rates/Rates.Footer.js.map +1 -1
- package/build/components/Rates/Rates.RoomSelector.js +7 -14
- package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
- package/build/components/Rates/Rates.js +13 -7
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/Rates.module.css +7 -51
- package/build/components/Rates/components/Filters/Filters.js +1 -0
- package/build/components/Rates/components/Filters/Filters.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Rates.js +24 -15
- package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
- package/build/components/Rates/components/Item/Item.module.css +9 -10
- package/build/components/Rates/components/Item/components/{ModalRateInfo/ModalRateInfo.js → ModalCancellationInfo/ModalCancellationInfo.js} +7 -7
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -0
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js +17 -0
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js.map +1 -0
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +1 -0
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +81 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.module.css +24 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js +17 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js.map +1 -0
- package/build/components/Rates/components/Item/components/Option/Option.module.css +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +7 -16
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/index.js +15 -4
- package/build/components/Rates/components/Item/components/index.js.map +1 -1
- package/build/components/Rates/components/Item/index.js +12 -5
- package/build/components/Rates/components/Item/index.js.map +1 -1
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +351 -305
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +303 -270
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +74 -74
- package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +1068 -1063
- package/build/components/__shared__/BookingSummary/_tests__/__snapshots__/BookingSummary.test.js.snap +316 -316
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +200 -200
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +320 -320
- package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +156 -144
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +15 -12
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +43 -32
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +12 -12
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +129 -129
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +46 -45
- package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +30 -30
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +51 -51
- package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +8 -8
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +266 -219
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +556 -513
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +63 -59
- package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +68 -60
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +783 -732
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +334 -308
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +8 -6
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +254 -231
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +140 -140
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +30 -27
- package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +53 -53
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +6 -6
- package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +108 -104
- package/build/helpers/theme.js +11 -0
- package/build/helpers/theme.js.map +1 -1
- package/package.json +4 -3
- package/public/themes/monalisa.theme.css +0 -1
- package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js.map +0 -1
- package/build/components/Rates/components/Item/components/ModalRateInfo/index.js +0 -17
- package/build/components/Rates/components/Item/components/ModalRateInfo/index.js.map +0 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.Tooltip.js +0 -49
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.Tooltip.js.map +0 -1
- /package/build/components/Rates/components/Item/components/{ModalRateInfo/ModalRateInfo.module.css → ModalCancellationInfo/ModalCancellationInfo.module.css} +0 -0
|
@@ -7,6 +7,7 @@ exports[`modules: parseHtml with values & small 1`] = `
|
|
|
7
7
|
class="pressable action small"
|
|
8
8
|
href="http://www.hotelbarrameda.com/es/legal"
|
|
9
9
|
style="display: inline-flex;"
|
|
10
|
+
tabindex="0"
|
|
10
11
|
>
|
|
11
12
|
Aviso Legal
|
|
12
13
|
</a>
|
|
@@ -15,144 +16,145 @@ exports[`modules: parseHtml with values & small 1`] = `
|
|
|
15
16
|
class="pressable action small"
|
|
16
17
|
href="http://www.hotelbarrameda.com/es/legal"
|
|
17
18
|
style="display: inline-flex;"
|
|
19
|
+
tabindex="0"
|
|
18
20
|
>
|
|
19
21
|
|
|
20
22
|
</a>
|
|
21
|
-
<
|
|
23
|
+
<ui_text
|
|
22
24
|
class="text small wide"
|
|
23
25
|
>
|
|
24
26
|
CONDICIONES GENERALES DE CONTRATACION
|
|
25
|
-
</
|
|
26
|
-
<
|
|
27
|
+
</ui_text>
|
|
28
|
+
<ui_text
|
|
27
29
|
class="text small wide"
|
|
28
30
|
>
|
|
29
31
|
Plataforma de resolución de litigiosEl Reglamento (UE) n.º 524/2013 del Parlamento Europeo y del Consejo, de 21 de mayo de 2013, establece como objetivo la consecución de un elevado nivel de protección del consumidor y el correcto funcionamiento del mercado interior, en particular de su dimensión digital, proporcionando una plataforma europea de resolución de litigios en línea que facilite la resolución extrajudicial de litigios entre consumidores y comerciantes en línea de forma independiente, imparcial, transparente, eficaz y equitativa.Para ello, este Sitio Web pone a disposición del Usuario, un enlace que permite un acceso a la plataforma de resolución de litigios en línea de la Unión Europea, para cualquier eventual controversia que pudiera originarse en materia de consumo: http://ec.europa.eu/consumers/odr/
|
|
30
|
-
</
|
|
32
|
+
</ui_text>
|
|
31
33
|
</DocumentFragment>
|
|
32
34
|
`;
|
|
33
35
|
|
|
34
36
|
exports[`modules: parseHtml with values & small 2`] = `
|
|
35
37
|
<DocumentFragment>
|
|
36
|
-
<
|
|
38
|
+
<ui_text
|
|
37
39
|
class="text small wide"
|
|
38
40
|
>
|
|
39
41
|
"Covid Passport Information"
|
|
40
|
-
</
|
|
41
|
-
<
|
|
42
|
+
</ui_text>
|
|
43
|
+
<ui_text
|
|
42
44
|
class="text small wide"
|
|
43
45
|
>
|
|
44
46
|
According to the resolution of 12/01/21 of the Ministry of Health and Public Health, the requirement to present a vaccination certificate, diagnostic test or COVID-19 recovery certificate, in the area of the Valencian Community, is established for access to older people 12 years old, including this age, inside spaces with a capacity of more than 50 people
|
|
45
|
-
</
|
|
46
|
-
<
|
|
47
|
+
</ui_text>
|
|
48
|
+
<ui_text
|
|
47
49
|
class="text small wide"
|
|
48
50
|
>
|
|
49
51
|
* Likewise, it will be required in events and celebrations with a concentration of people and that are held in closed spaces with the attendance of more than 500 people.
|
|
50
|
-
</
|
|
51
|
-
<
|
|
52
|
+
</ui_text>
|
|
53
|
+
<ui_text
|
|
52
54
|
class="text small wide"
|
|
53
55
|
>
|
|
54
56
|
• Certificate of vaccination issued by a public health service
|
|
55
|
-
</
|
|
56
|
-
<
|
|
57
|
+
</ui_text>
|
|
58
|
+
<ui_text
|
|
57
59
|
class="text small wide"
|
|
58
60
|
>
|
|
59
61
|
• Negative diagnostic test in relation to COVID-19 carried out in the last 72 hours in the case of RT-PCR tests, and in the last 48 hours in the case of antigen tests, both issued or by a public service of health or by an authorized official laboratory (not worth self-test)
|
|
60
|
-
</
|
|
61
|
-
<
|
|
62
|
+
</ui_text>
|
|
63
|
+
<ui_text
|
|
62
64
|
class="text small wide"
|
|
63
65
|
>
|
|
64
66
|
• Certificate of recovery from COVID-19 in the last six months after a positive result obtained through a diagnostic test considered valid by the competent authority.
|
|
65
|
-
</
|
|
66
|
-
<
|
|
67
|
+
</ui_text>
|
|
68
|
+
<ui_text
|
|
67
69
|
class="text small wide"
|
|
68
70
|
>
|
|
69
71
|
"Information of interest"
|
|
70
|
-
</
|
|
71
|
-
<
|
|
72
|
+
</ui_text>
|
|
73
|
+
<ui_text
|
|
72
74
|
class="text small wide"
|
|
73
75
|
>
|
|
74
76
|
Breakfast buffet
|
|
75
|
-
</
|
|
76
|
-
<
|
|
77
|
+
</ui_text>
|
|
78
|
+
<ui_text
|
|
77
79
|
class="text small wide"
|
|
78
80
|
>
|
|
79
81
|
Half Board will be breakfast + dinner.
|
|
80
|
-
</
|
|
81
|
-
<
|
|
82
|
+
</ui_text>
|
|
83
|
+
<ui_text
|
|
82
84
|
class="text small wide"
|
|
83
85
|
>
|
|
84
86
|
The Food and Dinner Services menu served. There is a children's menu.
|
|
85
|
-
</
|
|
86
|
-
<
|
|
87
|
+
</ui_text>
|
|
88
|
+
<ui_text
|
|
87
89
|
class="text small wide"
|
|
88
90
|
>
|
|
89
91
|
Half Board and Full Board do not include drinks. Drinks for direct payment at the hotel.
|
|
90
|
-
</
|
|
91
|
-
<
|
|
92
|
+
</ui_text>
|
|
93
|
+
<ui_text
|
|
92
94
|
class="text small wide"
|
|
93
95
|
>
|
|
94
96
|
Check the lunch supplement on Saturdays, Sundays and holidays, direct payment at reception.
|
|
95
|
-
</
|
|
96
|
-
<
|
|
97
|
+
</ui_text>
|
|
98
|
+
<ui_text
|
|
97
99
|
class="text small wide"
|
|
98
100
|
>
|
|
99
101
|
The use of the mask is mandatory throughout the installation.
|
|
100
|
-
</
|
|
101
|
-
<
|
|
102
|
+
</ui_text>
|
|
103
|
+
<ui_text
|
|
102
104
|
class="text small wide"
|
|
103
105
|
>
|
|
104
106
|
Restaurant open until 23:00
|
|
105
|
-
</
|
|
106
|
-
<
|
|
107
|
+
</ui_text>
|
|
108
|
+
<ui_text
|
|
107
109
|
class="text small wide"
|
|
108
110
|
>
|
|
109
111
|
The restaurant services as well as other complementary hotel services may undergo changes. (Consult)
|
|
110
|
-
</
|
|
111
|
-
<
|
|
112
|
+
</ui_text>
|
|
113
|
+
<ui_text
|
|
112
114
|
class="text small wide"
|
|
113
115
|
>
|
|
114
116
|
* If your reservation is based on the Viatgem CV Voucher, the tourist voucher, in addition to the above conditions:
|
|
115
|
-
</
|
|
116
|
-
<
|
|
117
|
+
</ui_text>
|
|
118
|
+
<ui_text
|
|
117
119
|
class="text small wide"
|
|
118
120
|
>
|
|
119
121
|
100% of the 1st night expenses in case of cancellation after 24 hours on the day of arrival.
|
|
120
|
-
</
|
|
121
|
-
<
|
|
122
|
+
</ui_text>
|
|
123
|
+
<ui_text
|
|
122
124
|
class="text small wide"
|
|
123
125
|
>
|
|
124
126
|
100% of the 1st night expenses in case of no-show at the hotel.
|
|
125
|
-
</
|
|
126
|
-
<
|
|
127
|
+
</ui_text>
|
|
128
|
+
<ui_text
|
|
127
129
|
class="text small wide"
|
|
128
130
|
>
|
|
129
131
|
The extra services and cancellation expenses are not reimbursable, they will be invoiced to the client.
|
|
130
|
-
</
|
|
131
|
-
<
|
|
132
|
+
</ui_text>
|
|
133
|
+
<ui_text
|
|
132
134
|
class="text small wide"
|
|
133
135
|
>
|
|
134
136
|
"Special Valentine 2022"
|
|
135
|
-
</
|
|
136
|
-
<
|
|
137
|
+
</ui_text>
|
|
138
|
+
<ui_text
|
|
137
139
|
class="text small wide"
|
|
138
140
|
>
|
|
139
141
|
Mandatory use of a mask
|
|
140
|
-
</
|
|
141
|
-
<
|
|
142
|
+
</ui_text>
|
|
143
|
+
<ui_text
|
|
142
144
|
class="text small wide"
|
|
143
145
|
>
|
|
144
146
|
Discomóvil Service until 03:00hrs.
|
|
145
|
-
</
|
|
146
|
-
<
|
|
147
|
+
</ui_text>
|
|
148
|
+
<ui_text
|
|
147
149
|
class="text small wide"
|
|
148
150
|
>
|
|
149
151
|
Bar service after dinner with direct payment.
|
|
150
|
-
</
|
|
151
|
-
<
|
|
152
|
+
</ui_text>
|
|
153
|
+
<ui_text
|
|
152
154
|
class="text small wide"
|
|
153
155
|
>
|
|
154
156
|
The format and celebration of the event will be carried out under the COVID regulations and restrictions set by the health authorities at the time of the celebration.
|
|
155
|
-
</
|
|
157
|
+
</ui_text>
|
|
156
158
|
</DocumentFragment>
|
|
157
159
|
`;
|
|
158
160
|
|
|
@@ -163,6 +165,7 @@ exports[`modules: parseHtml with values 1`] = `
|
|
|
163
165
|
class="pressable action"
|
|
164
166
|
href="http://www.hotelbarrameda.com/es/legal"
|
|
165
167
|
style="display: inline-flex;"
|
|
168
|
+
tabindex="0"
|
|
166
169
|
>
|
|
167
170
|
Aviso Legal
|
|
168
171
|
</a>
|
|
@@ -171,143 +174,144 @@ exports[`modules: parseHtml with values 1`] = `
|
|
|
171
174
|
class="pressable action"
|
|
172
175
|
href="http://www.hotelbarrameda.com/es/legal"
|
|
173
176
|
style="display: inline-flex;"
|
|
177
|
+
tabindex="0"
|
|
174
178
|
>
|
|
175
179
|
|
|
176
180
|
</a>
|
|
177
|
-
<
|
|
181
|
+
<ui_text
|
|
178
182
|
class="text paragraph wide"
|
|
179
183
|
>
|
|
180
184
|
CONDICIONES GENERALES DE CONTRATACION
|
|
181
|
-
</
|
|
182
|
-
<
|
|
185
|
+
</ui_text>
|
|
186
|
+
<ui_text
|
|
183
187
|
class="text paragraph wide"
|
|
184
188
|
>
|
|
185
189
|
Plataforma de resolución de litigiosEl Reglamento (UE) n.º 524/2013 del Parlamento Europeo y del Consejo, de 21 de mayo de 2013, establece como objetivo la consecución de un elevado nivel de protección del consumidor y el correcto funcionamiento del mercado interior, en particular de su dimensión digital, proporcionando una plataforma europea de resolución de litigios en línea que facilite la resolución extrajudicial de litigios entre consumidores y comerciantes en línea de forma independiente, imparcial, transparente, eficaz y equitativa.Para ello, este Sitio Web pone a disposición del Usuario, un enlace que permite un acceso a la plataforma de resolución de litigios en línea de la Unión Europea, para cualquier eventual controversia que pudiera originarse en materia de consumo: http://ec.europa.eu/consumers/odr/
|
|
186
|
-
</
|
|
190
|
+
</ui_text>
|
|
187
191
|
</DocumentFragment>
|
|
188
192
|
`;
|
|
189
193
|
|
|
190
194
|
exports[`modules: parseHtml with values 2`] = `
|
|
191
195
|
<DocumentFragment>
|
|
192
|
-
<
|
|
196
|
+
<ui_text
|
|
193
197
|
class="text paragraph wide"
|
|
194
198
|
>
|
|
195
199
|
"Covid Passport Information"
|
|
196
|
-
</
|
|
197
|
-
<
|
|
200
|
+
</ui_text>
|
|
201
|
+
<ui_text
|
|
198
202
|
class="text paragraph wide"
|
|
199
203
|
>
|
|
200
204
|
According to the resolution of 12/01/21 of the Ministry of Health and Public Health, the requirement to present a vaccination certificate, diagnostic test or COVID-19 recovery certificate, in the area of the Valencian Community, is established for access to older people 12 years old, including this age, inside spaces with a capacity of more than 50 people
|
|
201
|
-
</
|
|
202
|
-
<
|
|
205
|
+
</ui_text>
|
|
206
|
+
<ui_text
|
|
203
207
|
class="text paragraph wide"
|
|
204
208
|
>
|
|
205
209
|
* Likewise, it will be required in events and celebrations with a concentration of people and that are held in closed spaces with the attendance of more than 500 people.
|
|
206
|
-
</
|
|
207
|
-
<
|
|
210
|
+
</ui_text>
|
|
211
|
+
<ui_text
|
|
208
212
|
class="text paragraph wide"
|
|
209
213
|
>
|
|
210
214
|
• Certificate of vaccination issued by a public health service
|
|
211
|
-
</
|
|
212
|
-
<
|
|
215
|
+
</ui_text>
|
|
216
|
+
<ui_text
|
|
213
217
|
class="text paragraph wide"
|
|
214
218
|
>
|
|
215
219
|
• Negative diagnostic test in relation to COVID-19 carried out in the last 72 hours in the case of RT-PCR tests, and in the last 48 hours in the case of antigen tests, both issued or by a public service of health or by an authorized official laboratory (not worth self-test)
|
|
216
|
-
</
|
|
217
|
-
<
|
|
220
|
+
</ui_text>
|
|
221
|
+
<ui_text
|
|
218
222
|
class="text paragraph wide"
|
|
219
223
|
>
|
|
220
224
|
• Certificate of recovery from COVID-19 in the last six months after a positive result obtained through a diagnostic test considered valid by the competent authority.
|
|
221
|
-
</
|
|
222
|
-
<
|
|
225
|
+
</ui_text>
|
|
226
|
+
<ui_text
|
|
223
227
|
class="text paragraph wide"
|
|
224
228
|
>
|
|
225
229
|
"Information of interest"
|
|
226
|
-
</
|
|
227
|
-
<
|
|
230
|
+
</ui_text>
|
|
231
|
+
<ui_text
|
|
228
232
|
class="text paragraph wide"
|
|
229
233
|
>
|
|
230
234
|
Breakfast buffet
|
|
231
|
-
</
|
|
232
|
-
<
|
|
235
|
+
</ui_text>
|
|
236
|
+
<ui_text
|
|
233
237
|
class="text paragraph wide"
|
|
234
238
|
>
|
|
235
239
|
Half Board will be breakfast + dinner.
|
|
236
|
-
</
|
|
237
|
-
<
|
|
240
|
+
</ui_text>
|
|
241
|
+
<ui_text
|
|
238
242
|
class="text paragraph wide"
|
|
239
243
|
>
|
|
240
244
|
The Food and Dinner Services menu served. There is a children's menu.
|
|
241
|
-
</
|
|
242
|
-
<
|
|
245
|
+
</ui_text>
|
|
246
|
+
<ui_text
|
|
243
247
|
class="text paragraph wide"
|
|
244
248
|
>
|
|
245
249
|
Half Board and Full Board do not include drinks. Drinks for direct payment at the hotel.
|
|
246
|
-
</
|
|
247
|
-
<
|
|
250
|
+
</ui_text>
|
|
251
|
+
<ui_text
|
|
248
252
|
class="text paragraph wide"
|
|
249
253
|
>
|
|
250
254
|
Check the lunch supplement on Saturdays, Sundays and holidays, direct payment at reception.
|
|
251
|
-
</
|
|
252
|
-
<
|
|
255
|
+
</ui_text>
|
|
256
|
+
<ui_text
|
|
253
257
|
class="text paragraph wide"
|
|
254
258
|
>
|
|
255
259
|
The use of the mask is mandatory throughout the installation.
|
|
256
|
-
</
|
|
257
|
-
<
|
|
260
|
+
</ui_text>
|
|
261
|
+
<ui_text
|
|
258
262
|
class="text paragraph wide"
|
|
259
263
|
>
|
|
260
264
|
Restaurant open until 23:00
|
|
261
|
-
</
|
|
262
|
-
<
|
|
265
|
+
</ui_text>
|
|
266
|
+
<ui_text
|
|
263
267
|
class="text paragraph wide"
|
|
264
268
|
>
|
|
265
269
|
The restaurant services as well as other complementary hotel services may undergo changes. (Consult)
|
|
266
|
-
</
|
|
267
|
-
<
|
|
270
|
+
</ui_text>
|
|
271
|
+
<ui_text
|
|
268
272
|
class="text paragraph wide"
|
|
269
273
|
>
|
|
270
274
|
* If your reservation is based on the Viatgem CV Voucher, the tourist voucher, in addition to the above conditions:
|
|
271
|
-
</
|
|
272
|
-
<
|
|
275
|
+
</ui_text>
|
|
276
|
+
<ui_text
|
|
273
277
|
class="text paragraph wide"
|
|
274
278
|
>
|
|
275
279
|
100% of the 1st night expenses in case of cancellation after 24 hours on the day of arrival.
|
|
276
|
-
</
|
|
277
|
-
<
|
|
280
|
+
</ui_text>
|
|
281
|
+
<ui_text
|
|
278
282
|
class="text paragraph wide"
|
|
279
283
|
>
|
|
280
284
|
100% of the 1st night expenses in case of no-show at the hotel.
|
|
281
|
-
</
|
|
282
|
-
<
|
|
285
|
+
</ui_text>
|
|
286
|
+
<ui_text
|
|
283
287
|
class="text paragraph wide"
|
|
284
288
|
>
|
|
285
289
|
The extra services and cancellation expenses are not reimbursable, they will be invoiced to the client.
|
|
286
|
-
</
|
|
287
|
-
<
|
|
290
|
+
</ui_text>
|
|
291
|
+
<ui_text
|
|
288
292
|
class="text paragraph wide"
|
|
289
293
|
>
|
|
290
294
|
"Special Valentine 2022"
|
|
291
|
-
</
|
|
292
|
-
<
|
|
295
|
+
</ui_text>
|
|
296
|
+
<ui_text
|
|
293
297
|
class="text paragraph wide"
|
|
294
298
|
>
|
|
295
299
|
Mandatory use of a mask
|
|
296
|
-
</
|
|
297
|
-
<
|
|
300
|
+
</ui_text>
|
|
301
|
+
<ui_text
|
|
298
302
|
class="text paragraph wide"
|
|
299
303
|
>
|
|
300
304
|
Discomóvil Service until 03:00hrs.
|
|
301
|
-
</
|
|
302
|
-
<
|
|
305
|
+
</ui_text>
|
|
306
|
+
<ui_text
|
|
303
307
|
class="text paragraph wide"
|
|
304
308
|
>
|
|
305
309
|
Bar service after dinner with direct payment.
|
|
306
|
-
</
|
|
307
|
-
<
|
|
310
|
+
</ui_text>
|
|
311
|
+
<ui_text
|
|
308
312
|
class="text paragraph wide"
|
|
309
313
|
>
|
|
310
314
|
The format and celebration of the event will be carried out under the COVID regulations and restrictions set by the health authorities at the time of the celebration.
|
|
311
|
-
</
|
|
315
|
+
</ui_text>
|
|
312
316
|
</DocumentFragment>
|
|
313
317
|
`;
|
package/build/helpers/theme.js
CHANGED
|
@@ -6,6 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.theme = void 0;
|
|
7
7
|
var _ui = require("@mirai/ui");
|
|
8
8
|
var _findDangerousCSSRules = require("./findDangerousCSSRules");
|
|
9
|
+
var _helpers = require("../components/helpers");
|
|
10
|
+
let cssTheme;
|
|
11
|
+
if (!_helpers.IS_JEST) cssTheme = require('bundle-text:../theme.css');
|
|
9
12
|
const BROWSER_FONTS = ['"system-ui"', 'serif', 'Times', '"Times New Roman"', '-webkit-standard'];
|
|
10
13
|
const FONT_FAMILY = 'font-family';
|
|
11
14
|
const LEGACY_ACCENT_VARIABLE = '--corporative-color';
|
|
@@ -22,6 +25,14 @@ const theme = function () {
|
|
|
22
25
|
processed.push(key);
|
|
23
26
|
};
|
|
24
27
|
|
|
28
|
+
// Import css variables from theme.css
|
|
29
|
+
if (cssTheme) {
|
|
30
|
+
const style = document.createElement('style');
|
|
31
|
+
const head = document.head;
|
|
32
|
+
style.textContent = cssTheme;
|
|
33
|
+
head.insertBefore(style, head.firstChild);
|
|
34
|
+
}
|
|
35
|
+
|
|
25
36
|
// CSS variables
|
|
26
37
|
Object.entries(VARIABLES).forEach(_ref => {
|
|
27
38
|
let [variable, legacy] = _ref;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","names":["_ui","require","_findDangerousCSSRules","BROWSER_FONTS","FONT_FAMILY","LEGACY_ACCENT_VARIABLE","VARIABLES","theme","accent","findDangerousCSS","arguments","length","undefined","processed","setVariable","key","value","includes","document","documentElement","style","setProperty","trim","push","Object","entries","forEach","_ref","variable","legacy","getComputedStyle","getPropertyValue","concat","legacyAccent","replace","Theme","generatePalette","font","bodyFont","window","body","miBe","querySelector","miBeFont","cssRules","findDangerousCSSRules","console","warn","exports"],"sources":["../../src/helpers/theme.js"],"sourcesContent":["import { Theme } from '@mirai/ui';\n\nimport { findDangerousCSSRules } from './findDangerousCSSRules';\n\nconst BROWSER_FONTS = ['\"system-ui\"', 'serif', 'Times', '\"Times New Roman\"', '-webkit-standard'];\nconst FONT_FAMILY = 'font-family';\nconst LEGACY_ACCENT_VARIABLE = '--corporative-color';\nconst VARIABLES = {};\n\nexport const theme = ({ accent = '', findDangerousCSS = false } = {}) => {\n const processed = [];\n\n const setVariable = (key, value) => {\n if (!value || processed.includes(key)) return;\n\n document.documentElement.style.setProperty(key, value.trim());\n processed.push(key);\n };\n\n // CSS variables\n Object.entries(VARIABLES).forEach(([variable, legacy]) => {\n if (getComputedStyle(document.documentElement).getPropertyValue(legacy)) setVariable(variable, `var(${legacy})`);\n });\n\n // Generate accent palette using legacy\n let legacyAccent = getComputedStyle(document.documentElement).getPropertyValue(LEGACY_ACCENT_VARIABLE);\n if (legacyAccent) {\n legacyAccent = legacyAccent.replace(/^\"|\"$/g, '').trim();\n Theme.generatePalette('accent', legacyAccent);\n }\n\n // CSS Selectors\n let font;\n\n const bodyFont = window.getComputedStyle(document.body).getPropertyValue(FONT_FAMILY);\n if (bodyFont && !BROWSER_FONTS.includes(bodyFont)) {\n font = bodyFont;\n } else {\n const miBe = document.querySelector('.mi-be');\n const miBeFont = miBe ? window.getComputedStyle(miBe).getPropertyValue(FONT_FAMILY) : undefined;\n if (miBeFont && !BROWSER_FONTS.includes(miBeFont)) font = miBeFont;\n }\n\n if (font) setVariable('--mirai-ui-font', font);\n\n if (accent.length === 6) Theme.generatePalette('accent', `#${accent}`);\n\n // Dangerous CSS rules\n if (findDangerousCSS) {\n const cssRules = findDangerousCSSRules();\n // eslint-disable-next-line no-console\n if (cssRules.length) console.warn('WARNING: css rules ending with html tags', cssRules);\n }\n};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAD,OAAA;AAEA,
|
|
1
|
+
{"version":3,"file":"theme.js","names":["_ui","require","_findDangerousCSSRules","_helpers","cssTheme","IS_JEST","BROWSER_FONTS","FONT_FAMILY","LEGACY_ACCENT_VARIABLE","VARIABLES","theme","accent","findDangerousCSS","arguments","length","undefined","processed","setVariable","key","value","includes","document","documentElement","style","setProperty","trim","push","createElement","head","textContent","insertBefore","firstChild","Object","entries","forEach","_ref","variable","legacy","getComputedStyle","getPropertyValue","concat","legacyAccent","replace","Theme","generatePalette","font","bodyFont","window","body","miBe","querySelector","miBeFont","cssRules","findDangerousCSSRules","console","warn","exports"],"sources":["../../src/helpers/theme.js"],"sourcesContent":["import { Theme } from '@mirai/ui';\n\nimport { findDangerousCSSRules } from './findDangerousCSSRules';\nimport { IS_JEST } from '../components/helpers';\n\nlet cssTheme;\nif (!IS_JEST) cssTheme = require('bundle-text:../theme.css');\n\nconst BROWSER_FONTS = ['\"system-ui\"', 'serif', 'Times', '\"Times New Roman\"', '-webkit-standard'];\nconst FONT_FAMILY = 'font-family';\nconst LEGACY_ACCENT_VARIABLE = '--corporative-color';\nconst VARIABLES = {};\n\nexport const theme = ({ accent = '', findDangerousCSS = false } = {}) => {\n const processed = [];\n\n const setVariable = (key, value) => {\n if (!value || processed.includes(key)) return;\n\n document.documentElement.style.setProperty(key, value.trim());\n processed.push(key);\n };\n\n // Import css variables from theme.css\n if (cssTheme) {\n const style = document.createElement('style');\n const head = document.head;\n style.textContent = cssTheme;\n head.insertBefore(style, head.firstChild);\n }\n\n // CSS variables\n Object.entries(VARIABLES).forEach(([variable, legacy]) => {\n if (getComputedStyle(document.documentElement).getPropertyValue(legacy)) setVariable(variable, `var(${legacy})`);\n });\n\n // Generate accent palette using legacy\n let legacyAccent = getComputedStyle(document.documentElement).getPropertyValue(LEGACY_ACCENT_VARIABLE);\n if (legacyAccent) {\n legacyAccent = legacyAccent.replace(/^\"|\"$/g, '').trim();\n Theme.generatePalette('accent', legacyAccent);\n }\n\n // CSS Selectors\n let font;\n\n const bodyFont = window.getComputedStyle(document.body).getPropertyValue(FONT_FAMILY);\n if (bodyFont && !BROWSER_FONTS.includes(bodyFont)) {\n font = bodyFont;\n } else {\n const miBe = document.querySelector('.mi-be');\n const miBeFont = miBe ? window.getComputedStyle(miBe).getPropertyValue(FONT_FAMILY) : undefined;\n if (miBeFont && !BROWSER_FONTS.includes(miBeFont)) font = miBeFont;\n }\n\n if (font) setVariable('--mirai-ui-font', font);\n\n if (accent.length === 6) Theme.generatePalette('accent', `#${accent}`);\n\n // Dangerous CSS rules\n if (findDangerousCSS) {\n const cssRules = findDangerousCSSRules();\n // eslint-disable-next-line no-console\n if (cssRules.length) console.warn('WARNING: css rules ending with html tags', cssRules);\n }\n};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAIG,QAAQ;AACZ,IAAI,CAACC,gBAAO,EAAED,QAAQ,GAAGH,OAAO,CAAC,0BAA0B,CAAC;AAE5D,MAAMK,aAAa,GAAG,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,CAAC;AAChG,MAAMC,WAAW,GAAG,aAAa;AACjC,MAAMC,sBAAsB,GAAG,qBAAqB;AACpD,MAAMC,SAAS,GAAG,CAAC,CAAC;AAEb,MAAMC,KAAK,GAAG,SAAAA,CAAA,EAAoD;EAAA,IAAnD;IAAEC,MAAM,GAAG,EAAE;IAAEC,gBAAgB,GAAG;EAAM,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAClE,MAAMG,SAAS,GAAG,EAAE;EAEpB,MAAMC,WAAW,GAAGA,CAACC,GAAG,EAAEC,KAAK,KAAK;IAClC,IAAI,CAACA,KAAK,IAAIH,SAAS,CAACI,QAAQ,CAACF,GAAG,CAAC,EAAE;IAEvCG,QAAQ,CAACC,eAAe,CAACC,KAAK,CAACC,WAAW,CAACN,GAAG,EAAEC,KAAK,CAACM,IAAI,CAAC,CAAC,CAAC;IAC7DT,SAAS,CAACU,IAAI,CAACR,GAAG,CAAC;E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C,QAAQ,GAAGF,IAAI,GAAGF,MAAM,CAACT,gBAAgB,CAACW,IAAI,CAAC,CAACV,gBAAgB,CAAChC,WAAW,CAAC,GAAGQ,SAAS;IAC/F,IAAIoC,QAAQ,IAAI,CAAC7C,aAAa,CAACc,QAAQ,CAAC+B,QAAQ,CAAC,EAAEN,IAAI,GAAGM,QAAQ;EACpE;EAEA,IAAIN,IAAI,EAAE5B,WAAW,CAAC,iBAAiB,EAAE4B,IAAI,CAAC;EAE9C,IAAIlC,MAAM,CAACG,MAAM,KAAK,CAAC,EAAE6B,SAAK,CAACC,eAAe,CAAC,QAAQ,MAAAJ,MAAA,CAAM7B,MAAM,CAAE,CAAC;;EAEtE;EACA,IAAIC,gBAAgB,EAAE;IACpB,MAAMwC,QAAQ,GAAG,IAAAC,4CAAqB,EAAC,CAAC;IACxC;IACA,IAAID,QAAQ,CAACtC,MAAM,EAAEwC,OAAO,CAACC,IAAI,CAAC,0CAA0C,EAAEH,QAAQ,CAAC;EACzF;AACF,CAAC;AAACI,OAAA,CAAA9C,KAAA,GAAAA,KAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirai/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.338",
|
|
4
4
|
"source": "src/index.js",
|
|
5
5
|
"repository": "https://gitlab.com/miraicorp/dev/frontend/core",
|
|
6
6
|
"author": "JΛVI <hello@soyjavi.com>",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@mirai/data-sources": "^0.1",
|
|
27
27
|
"@mirai/locale": "^0.2",
|
|
28
28
|
"@mirai/services": "^0.2",
|
|
29
|
-
"@mirai/ui": "^
|
|
29
|
+
"@mirai/ui": "^2.0",
|
|
30
30
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.0.1/react-icons-all-files-5.0.1.tgz",
|
|
31
31
|
"@sentry/react": "^7.57.0",
|
|
32
32
|
"js-sha1": "^0.6.0",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"@babel/preset-env": "7.20.2",
|
|
41
41
|
"@babel/preset-react": "7.18.6",
|
|
42
42
|
"@mirai/eslint": "0.1.3",
|
|
43
|
+
"@parcel/transformer-inline-string": "2.11.0",
|
|
43
44
|
"@playwright/test": "^1.29.2",
|
|
44
45
|
"@testing-library/react": "12.1.5",
|
|
45
46
|
"@testing-library/react-hooks": "7.0.2",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"@mirai/data-sources": "^0.1",
|
|
59
60
|
"@mirai/locale": "^0.2",
|
|
60
61
|
"@mirai/services": "^0.2",
|
|
61
|
-
"@mirai/ui": "^
|
|
62
|
+
"@mirai/ui": "^2.0",
|
|
62
63
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.0.1/react-icons-all-files-5.0.1.tgz",
|
|
63
64
|
"react": "^17.0.2",
|
|
64
65
|
"react-dom": "^17.0.2"
|
package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModalRateInfo.js","names":["_locale","require","_ui","_propTypes","_interopRequireDefault","_react","style","_interopRequireWildcard","_Item","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","ModalRateInfo","_ref","cancellation","paymentConditions","title","text","name","visible","onClose","isMobile","useDevice","translate","useLocale","textProps","action","small","createElement","Modal","fit","onOverflow","className","modal","View","content","section","Text","bold","upperCase","L10N","LABEL_PAYMENT_TERMS","LABEL_CANCELLATION_POLICY","exports","propTypes","PropTypes","shape","string","bool","func","displayName"],"sources":["../../../../../../../src/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Modal, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport * as style from './ModalRateInfo.module.css';\nimport { L10N } from '../../Item.l10n';\n\nconst ModalRateInfo = ({ cancellation: { paymentConditions, title, text } = {}, name, visible, onClose }) => {\n const { isMobile } = useDevice();\n const { translate } = useLocale();\n\n const textProps = { action: !isMobile, small: isMobile };\n\n return (\n <Modal fit title={name} visible={visible} onClose={onClose} onOverflow={onClose} className={style.modal}>\n <View className={style.content}>\n {paymentConditions && (\n <View className={style.section}>\n <Text bold upperCase>\n {translate(L10N.LABEL_PAYMENT_TERMS)}\n </Text>\n <Text {...textProps}>{paymentConditions}</Text>\n </View>\n )}\n\n <View className={style.section}>\n <Text bold upperCase>\n {translate(L10N.LABEL_CANCELLATION_POLICY)}\n </Text>\n <Text bold {...textProps}>\n {title}\n </Text>\n <Text {...textProps}>{text}</Text>\n </View>\n </View>\n </Modal>\n );\n};\n\nModalRateInfo.propTypes = {\n cancellation: PropTypes.shape({\n text: PropTypes.string,\n title: PropTypes.string,\n }),\n name: PropTypes.string,\n paymentConditions: PropTypes.string,\n visible: PropTypes.bool,\n onClose: PropTypes.func,\n};\n\nModalRateInfo.displayName = 'Mirai:Core:Rates:Item:ModalRateInfo';\n\nexport { ModalRateInfo };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,KAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AAAuC,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,S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|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _ModalRateInfo = require("./ModalRateInfo");
|
|
7
|
-
Object.keys(_ModalRateInfo).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ModalRateInfo[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _ModalRateInfo[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_ModalRateInfo","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../../../src/components/Rates/components/Item/components/ModalRateInfo/index.js"],"sourcesContent":["export * from './ModalRateInfo';\n"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
|
package/build/components/Rates/components/Item/components/RateDetails/RateDetails.Tooltip.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Tooltip = void 0;
|
|
7
|
-
var _locale = require("@mirai/locale");
|
|
8
|
-
var _ui = require("@mirai/ui");
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
var style = _interopRequireWildcard(require("./RateDetails.module.css"));
|
|
12
|
-
var _Item = require("../../Item.l10n");
|
|
13
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
const Tooltip = _ref => {
|
|
17
|
-
let {
|
|
18
|
-
children,
|
|
19
|
-
included = []
|
|
20
|
-
} = _ref;
|
|
21
|
-
const {
|
|
22
|
-
translate
|
|
23
|
-
} = (0, _locale.useLocale)();
|
|
24
|
-
return included.length > 0 ? /*#__PURE__*/_react.default.createElement(_ui.Tooltip, {
|
|
25
|
-
pressable: true,
|
|
26
|
-
Template: () => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, included.length > 0 && /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
27
|
-
className: style.included
|
|
28
|
-
}, /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
29
|
-
action: true,
|
|
30
|
-
bold: true
|
|
31
|
-
}, translate(_Item.L10N.LABEL_WHATS_INCLUDED)), included.map((item, index) => /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
32
|
-
key: index,
|
|
33
|
-
row: true,
|
|
34
|
-
className: style.row
|
|
35
|
-
}, /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
36
|
-
action: true
|
|
37
|
-
}, "\u2022"), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
38
|
-
small: true
|
|
39
|
-
}, item))))),
|
|
40
|
-
className: style.tooltip
|
|
41
|
-
}, children) : null;
|
|
42
|
-
};
|
|
43
|
-
exports.Tooltip = Tooltip;
|
|
44
|
-
Tooltip.displayName = 'Mirai:Core:Rates:Item.RateDetails:Tooltip';
|
|
45
|
-
Tooltip.propTypes = {
|
|
46
|
-
children: _propTypes.default.node,
|
|
47
|
-
included: _propTypes.default.arrayOf(_propTypes.default.any)
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=RateDetails.Tooltip.js.map
|
package/build/components/Rates/components/Item/components/RateDetails/RateDetails.Tooltip.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RateDetails.Tooltip.js","names":["_locale","require","_ui","_propTypes","_interopRequireDefault","_react","style","_interopRequireWildcard","_Item","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","Tooltip","_ref","children","included","translate","useLocale","length","createElement","pressable","Template","Fragment","View","className","Text","action","bold","L10N","LABEL_WHATS_INCLUDED","map","item","index","key","row","small","tooltip","exports","displayName","propTypes","PropTypes","node","arrayOf","any"],"sources":["../../../../../../../src/components/Rates/components/Item/components/RateDetails/RateDetails.Tooltip.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Text, Tooltip as TooltipBase, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport * as style from './RateDetails.module.css';\nimport { L10N } from '../../Item.l10n';\n\nconst Tooltip = ({ children, included = [] }) => {\n const { translate } = useLocale();\n\n return included.length > 0 ? (\n <TooltipBase\n pressable\n Template={() => (\n <>\n {included.length > 0 && (\n <View className={style.included}>\n <Text action bold>\n {translate(L10N.LABEL_WHATS_INCLUDED)}\n </Text>\n {included.map((item, index) => (\n <View key={index} row className={style.row}>\n <Text action>•</Text>\n <Text small>{item}</Text>\n </View>\n ))}\n </View>\n )}\n </>\n )}\n className={style.tooltip}\n >\n {children}\n </TooltipBase>\n ) : null;\n};\n\nTooltip.displayName = 'Mirai:Core:Rates:Item.RateDetails:Tooltip';\n\nTooltip.propTypes = {\n children: PropTypes.node,\n included: PropTypes.arrayOf(PropTypes.any),\n};\n\nexport { Tooltip };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,KAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AAAuC,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,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