@mirai/core 0.3.31 → 0.3.33

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 (32) hide show
  1. package/build/components/Booking/Booking.constants.js +8 -1
  2. package/build/components/Booking/Booking.constants.js.map +1 -1
  3. package/build/components/Booking/Booking.js +20 -10
  4. package/build/components/Booking/Booking.js.map +1 -1
  5. package/build/components/Booking/Booking.l10n.js +3 -0
  6. package/build/components/Booking/Booking.l10n.js.map +1 -1
  7. package/build/components/Booking/Booking.module.css +7 -0
  8. package/build/components/Booking/partials/Booking.Menu.js +89 -26
  9. package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
  10. package/build/components/Booking/partials/Booking.PriceBreakdown.js +12 -13
  11. package/build/components/Booking/partials/Booking.PriceBreakdown.js.map +1 -1
  12. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +692 -0
  13. package/build/components/Finder/helpers/getForwarderUrl.js +2 -2
  14. package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
  15. package/build/components/Rates/Rates.Filter.js +154 -0
  16. package/build/components/Rates/Rates.Filter.js.map +1 -0
  17. package/build/components/Rates/Rates.Skeleton.js +25 -3
  18. package/build/components/Rates/Rates.Skeleton.js.map +1 -1
  19. package/build/components/Rates/Rates.js +100 -37
  20. package/build/components/Rates/Rates.js.map +1 -1
  21. package/build/components/Rates/Rates.l10n.js +6 -0
  22. package/build/components/Rates/Rates.l10n.js.map +1 -1
  23. package/build/components/Rates/Rates.module.css +56 -0
  24. package/build/components/Rates/components/Item/Item.js +11 -3
  25. package/build/components/Rates/components/Item/Item.js.map +1 -1
  26. package/build/components/helpers/toUrlParams.js +1 -1
  27. package/build/components/helpers/toUrlParams.js.map +1 -1
  28. package/build/helpers/consolidateStore.js +93 -26
  29. package/build/helpers/consolidateStore.js.map +1 -1
  30. package/build/helpers/toOccupation.js +75 -0
  31. package/build/helpers/toOccupation.js.map +1 -0
  32. package/package.json +1 -1
@@ -155,6 +155,179 @@ exports[`component:<Booking> partial:<Menu> inherit:className 1`] = `
155
155
  </div>
156
156
  </div>
157
157
  </div>
158
+ <div
159
+ class="pressable container overflow"
160
+ style="height: 768px;"
161
+ >
162
+ <div
163
+ class="view fit modal calcWidth"
164
+ >
165
+ <div
166
+ class="view forceRow header"
167
+ >
168
+ <button
169
+ class="pressable button small squared transparent button"
170
+ >
171
+ <span
172
+ class="icon headline-3 icon"
173
+ >
174
+ <svg
175
+ fill="currentColor"
176
+ height="1em"
177
+ stroke="currentColor"
178
+ stroke-width="0"
179
+ viewBox="0 0 24 24"
180
+ width="1em"
181
+ xmlns="http://www.w3.org/2000/svg"
182
+ >
183
+ <path
184
+ d="M0 0h24v24H0V0z"
185
+ fill="none"
186
+ />
187
+ <path
188
+ d="M19 6.41L17.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"
189
+ />
190
+ </svg>
191
+ </span>
192
+ </button>
193
+ </div>
194
+ <div
195
+ class="view"
196
+ >
197
+ <h3
198
+ class="text bold headline-3"
199
+ >
200
+ user.label.price_summary
201
+ </h3>
202
+ <div
203
+ class="view wide"
204
+ >
205
+ <div
206
+ class="view row"
207
+ >
208
+ <span
209
+ class="text action wide"
210
+ >
211
+ common.label.base_price
212
+ </span>
213
+ <span
214
+ class="text action"
215
+ >
216
+ 0,00 £
217
+ </span>
218
+ </div>
219
+ <div
220
+ class="view row"
221
+ >
222
+ <span
223
+ class="text bold paragraph wide"
224
+ >
225
+ common.label.total
226
+ </span>
227
+ <span
228
+ class="text bold paragraph"
229
+ >
230
+ 198,41 £
231
+ </span>
232
+ </div>
233
+ </div>
234
+ <div
235
+ class="view row notification warning inline inline small"
236
+ >
237
+ <span
238
+ class="icon paragraph icon"
239
+ >
240
+ <svg
241
+ fill="currentColor"
242
+ height="1em"
243
+ stroke="currentColor"
244
+ stroke-width="0"
245
+ viewBox="0 0 24 24"
246
+ width="1em"
247
+ xmlns="http://www.w3.org/2000/svg"
248
+ >
249
+ <path
250
+ d="M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
251
+ />
252
+ </svg>
253
+ </span>
254
+ <span
255
+ class="text small text warning"
256
+ >
257
+ <span
258
+ style="font-weight: bold;"
259
+ >
260
+ {{price.description}
261
+ </span>
262
+ } Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates
263
+ </span>
264
+ </div>
265
+ <div
266
+ class="view wide"
267
+ >
268
+ <button
269
+ class="pressable button large wide"
270
+ >
271
+ <div
272
+ class="view busyContainer"
273
+ >
274
+ <div
275
+ class="view spinner"
276
+ />
277
+ </div>
278
+ <div
279
+ class="view row children"
280
+ >
281
+ user.action.book_now
282
+ </div>
283
+ </button>
284
+ <div
285
+ class="pressable container overflow"
286
+ style="height: 768px;"
287
+ >
288
+ <div
289
+ class="view fit modal calcWidth"
290
+ >
291
+ <div
292
+ class="view forceRow header"
293
+ >
294
+ <button
295
+ class="pressable button small squared transparent button"
296
+ >
297
+ <span
298
+ class="icon headline-3 icon"
299
+ >
300
+ <svg
301
+ fill="currentColor"
302
+ height="1em"
303
+ stroke="currentColor"
304
+ stroke-width="0"
305
+ viewBox="0 0 24 24"
306
+ width="1em"
307
+ xmlns="http://www.w3.org/2000/svg"
308
+ >
309
+ <path
310
+ d="M0 0h24v24H0V0z"
311
+ fill="none"
312
+ />
313
+ <path
314
+ d="M19 6.41L17.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"
315
+ />
316
+ </svg>
317
+ </span>
318
+ </button>
319
+ </div>
320
+ </div>
321
+ </div>
322
+ <span
323
+ class="text small lighten wide"
324
+ >
325
+ common.notification.ssl_encryption
326
+ </span>
327
+ </div>
328
+ </div>
329
+ </div>
330
+ </div>
158
331
  </div>
159
332
  </DocumentFragment>
160
333
  `;
@@ -314,6 +487,179 @@ exports[`component:<Booking> partial:<Menu> renders 1`] = `
314
487
  </div>
315
488
  </div>
316
489
  </div>
490
+ <div
491
+ class="pressable container overflow"
492
+ style="height: 768px;"
493
+ >
494
+ <div
495
+ class="view fit modal calcWidth"
496
+ >
497
+ <div
498
+ class="view forceRow header"
499
+ >
500
+ <button
501
+ class="pressable button small squared transparent button"
502
+ >
503
+ <span
504
+ class="icon headline-3 icon"
505
+ >
506
+ <svg
507
+ fill="currentColor"
508
+ height="1em"
509
+ stroke="currentColor"
510
+ stroke-width="0"
511
+ viewBox="0 0 24 24"
512
+ width="1em"
513
+ xmlns="http://www.w3.org/2000/svg"
514
+ >
515
+ <path
516
+ d="M0 0h24v24H0V0z"
517
+ fill="none"
518
+ />
519
+ <path
520
+ d="M19 6.41L17.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"
521
+ />
522
+ </svg>
523
+ </span>
524
+ </button>
525
+ </div>
526
+ <div
527
+ class="view"
528
+ >
529
+ <h3
530
+ class="text bold headline-3"
531
+ >
532
+ user.label.price_summary
533
+ </h3>
534
+ <div
535
+ class="view wide"
536
+ >
537
+ <div
538
+ class="view row"
539
+ >
540
+ <span
541
+ class="text action wide"
542
+ >
543
+ common.label.base_price
544
+ </span>
545
+ <span
546
+ class="text action"
547
+ >
548
+ 0,00 £
549
+ </span>
550
+ </div>
551
+ <div
552
+ class="view row"
553
+ >
554
+ <span
555
+ class="text bold paragraph wide"
556
+ >
557
+ common.label.total
558
+ </span>
559
+ <span
560
+ class="text bold paragraph"
561
+ >
562
+ 198,41 £
563
+ </span>
564
+ </div>
565
+ </div>
566
+ <div
567
+ class="view row notification warning inline inline small"
568
+ >
569
+ <span
570
+ class="icon paragraph icon"
571
+ >
572
+ <svg
573
+ fill="currentColor"
574
+ height="1em"
575
+ stroke="currentColor"
576
+ stroke-width="0"
577
+ viewBox="0 0 24 24"
578
+ width="1em"
579
+ xmlns="http://www.w3.org/2000/svg"
580
+ >
581
+ <path
582
+ d="M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
583
+ />
584
+ </svg>
585
+ </span>
586
+ <span
587
+ class="text small text warning"
588
+ >
589
+ <span
590
+ style="font-weight: bold;"
591
+ >
592
+ {{price.description}
593
+ </span>
594
+ } Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates
595
+ </span>
596
+ </div>
597
+ <div
598
+ class="view wide"
599
+ >
600
+ <button
601
+ class="pressable button large wide"
602
+ >
603
+ <div
604
+ class="view busyContainer"
605
+ >
606
+ <div
607
+ class="view spinner"
608
+ />
609
+ </div>
610
+ <div
611
+ class="view row children"
612
+ >
613
+ user.action.book_now
614
+ </div>
615
+ </button>
616
+ <div
617
+ class="pressable container overflow"
618
+ style="height: 768px;"
619
+ >
620
+ <div
621
+ class="view fit modal calcWidth"
622
+ >
623
+ <div
624
+ class="view forceRow header"
625
+ >
626
+ <button
627
+ class="pressable button small squared transparent button"
628
+ >
629
+ <span
630
+ class="icon headline-3 icon"
631
+ >
632
+ <svg
633
+ fill="currentColor"
634
+ height="1em"
635
+ stroke="currentColor"
636
+ stroke-width="0"
637
+ viewBox="0 0 24 24"
638
+ width="1em"
639
+ xmlns="http://www.w3.org/2000/svg"
640
+ >
641
+ <path
642
+ d="M0 0h24v24H0V0z"
643
+ fill="none"
644
+ />
645
+ <path
646
+ d="M19 6.41L17.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"
647
+ />
648
+ </svg>
649
+ </span>
650
+ </button>
651
+ </div>
652
+ </div>
653
+ </div>
654
+ <span
655
+ class="text small lighten wide"
656
+ >
657
+ common.notification.ssl_encryption
658
+ </span>
659
+ </div>
660
+ </div>
661
+ </div>
662
+ </div>
317
663
  </div>
318
664
  </DocumentFragment>
319
665
  `;
@@ -474,6 +820,179 @@ exports[`component:<Booking> partial:<Menu> testID 1`] = `
474
820
  </div>
475
821
  </div>
476
822
  </div>
823
+ <div
824
+ class="pressable container overflow"
825
+ style="height: 768px;"
826
+ >
827
+ <div
828
+ class="view fit modal calcWidth"
829
+ >
830
+ <div
831
+ class="view forceRow header"
832
+ >
833
+ <button
834
+ class="pressable button small squared transparent button"
835
+ >
836
+ <span
837
+ class="icon headline-3 icon"
838
+ >
839
+ <svg
840
+ fill="currentColor"
841
+ height="1em"
842
+ stroke="currentColor"
843
+ stroke-width="0"
844
+ viewBox="0 0 24 24"
845
+ width="1em"
846
+ xmlns="http://www.w3.org/2000/svg"
847
+ >
848
+ <path
849
+ d="M0 0h24v24H0V0z"
850
+ fill="none"
851
+ />
852
+ <path
853
+ d="M19 6.41L17.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"
854
+ />
855
+ </svg>
856
+ </span>
857
+ </button>
858
+ </div>
859
+ <div
860
+ class="view"
861
+ >
862
+ <h3
863
+ class="text bold headline-3"
864
+ >
865
+ user.label.price_summary
866
+ </h3>
867
+ <div
868
+ class="view wide"
869
+ >
870
+ <div
871
+ class="view row"
872
+ >
873
+ <span
874
+ class="text action wide"
875
+ >
876
+ common.label.base_price
877
+ </span>
878
+ <span
879
+ class="text action"
880
+ >
881
+ 0,00 £
882
+ </span>
883
+ </div>
884
+ <div
885
+ class="view row"
886
+ >
887
+ <span
888
+ class="text bold paragraph wide"
889
+ >
890
+ common.label.total
891
+ </span>
892
+ <span
893
+ class="text bold paragraph"
894
+ >
895
+ 198,41 £
896
+ </span>
897
+ </div>
898
+ </div>
899
+ <div
900
+ class="view row notification warning inline inline small"
901
+ >
902
+ <span
903
+ class="icon paragraph icon"
904
+ >
905
+ <svg
906
+ fill="currentColor"
907
+ height="1em"
908
+ stroke="currentColor"
909
+ stroke-width="0"
910
+ viewBox="0 0 24 24"
911
+ width="1em"
912
+ xmlns="http://www.w3.org/2000/svg"
913
+ >
914
+ <path
915
+ d="M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
916
+ />
917
+ </svg>
918
+ </span>
919
+ <span
920
+ class="text small text warning"
921
+ >
922
+ <span
923
+ style="font-weight: bold;"
924
+ >
925
+ {{price.description}
926
+ </span>
927
+ } Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates
928
+ </span>
929
+ </div>
930
+ <div
931
+ class="view wide"
932
+ >
933
+ <button
934
+ class="pressable button large wide"
935
+ >
936
+ <div
937
+ class="view busyContainer"
938
+ >
939
+ <div
940
+ class="view spinner"
941
+ />
942
+ </div>
943
+ <div
944
+ class="view row children"
945
+ >
946
+ user.action.book_now
947
+ </div>
948
+ </button>
949
+ <div
950
+ class="pressable container overflow"
951
+ style="height: 768px;"
952
+ >
953
+ <div
954
+ class="view fit modal calcWidth"
955
+ >
956
+ <div
957
+ class="view forceRow header"
958
+ >
959
+ <button
960
+ class="pressable button small squared transparent button"
961
+ >
962
+ <span
963
+ class="icon headline-3 icon"
964
+ >
965
+ <svg
966
+ fill="currentColor"
967
+ height="1em"
968
+ stroke="currentColor"
969
+ stroke-width="0"
970
+ viewBox="0 0 24 24"
971
+ width="1em"
972
+ xmlns="http://www.w3.org/2000/svg"
973
+ >
974
+ <path
975
+ d="M0 0h24v24H0V0z"
976
+ fill="none"
977
+ />
978
+ <path
979
+ d="M19 6.41L17.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"
980
+ />
981
+ </svg>
982
+ </span>
983
+ </button>
984
+ </div>
985
+ </div>
986
+ </div>
987
+ <span
988
+ class="text small lighten wide"
989
+ >
990
+ common.notification.ssl_encryption
991
+ </span>
992
+ </div>
993
+ </div>
994
+ </div>
995
+ </div>
477
996
  </div>
478
997
  </DocumentFragment>
479
998
  `;
@@ -633,6 +1152,179 @@ exports[`component:<Booking> partial:<Menu> with a store 1`] = `
633
1152
  </div>
634
1153
  </div>
635
1154
  </div>
1155
+ <div
1156
+ class="pressable container overflow"
1157
+ style="height: 768px;"
1158
+ >
1159
+ <div
1160
+ class="view fit modal calcWidth"
1161
+ >
1162
+ <div
1163
+ class="view forceRow header"
1164
+ >
1165
+ <button
1166
+ class="pressable button small squared transparent button"
1167
+ >
1168
+ <span
1169
+ class="icon headline-3 icon"
1170
+ >
1171
+ <svg
1172
+ fill="currentColor"
1173
+ height="1em"
1174
+ stroke="currentColor"
1175
+ stroke-width="0"
1176
+ viewBox="0 0 24 24"
1177
+ width="1em"
1178
+ xmlns="http://www.w3.org/2000/svg"
1179
+ >
1180
+ <path
1181
+ d="M0 0h24v24H0V0z"
1182
+ fill="none"
1183
+ />
1184
+ <path
1185
+ d="M19 6.41L17.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"
1186
+ />
1187
+ </svg>
1188
+ </span>
1189
+ </button>
1190
+ </div>
1191
+ <div
1192
+ class="view"
1193
+ >
1194
+ <h3
1195
+ class="text bold headline-3"
1196
+ >
1197
+ user.label.price_summary
1198
+ </h3>
1199
+ <div
1200
+ class="view wide"
1201
+ >
1202
+ <div
1203
+ class="view row"
1204
+ >
1205
+ <span
1206
+ class="text action wide"
1207
+ >
1208
+ common.label.base_price
1209
+ </span>
1210
+ <span
1211
+ class="text action"
1212
+ >
1213
+ 0,00 £
1214
+ </span>
1215
+ </div>
1216
+ <div
1217
+ class="view row"
1218
+ >
1219
+ <span
1220
+ class="text bold paragraph wide"
1221
+ >
1222
+ common.label.total
1223
+ </span>
1224
+ <span
1225
+ class="text bold paragraph"
1226
+ >
1227
+ 198,41 £
1228
+ </span>
1229
+ </div>
1230
+ </div>
1231
+ <div
1232
+ class="view row notification warning inline inline small"
1233
+ >
1234
+ <span
1235
+ class="icon paragraph icon"
1236
+ >
1237
+ <svg
1238
+ fill="currentColor"
1239
+ height="1em"
1240
+ stroke="currentColor"
1241
+ stroke-width="0"
1242
+ viewBox="0 0 24 24"
1243
+ width="1em"
1244
+ xmlns="http://www.w3.org/2000/svg"
1245
+ >
1246
+ <path
1247
+ d="M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
1248
+ />
1249
+ </svg>
1250
+ </span>
1251
+ <span
1252
+ class="text small text warning"
1253
+ >
1254
+ <span
1255
+ style="font-weight: bold;"
1256
+ >
1257
+ {{price.description}
1258
+ </span>
1259
+ } Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates
1260
+ </span>
1261
+ </div>
1262
+ <div
1263
+ class="view wide"
1264
+ >
1265
+ <button
1266
+ class="pressable button large wide"
1267
+ >
1268
+ <div
1269
+ class="view busyContainer"
1270
+ >
1271
+ <div
1272
+ class="view spinner"
1273
+ />
1274
+ </div>
1275
+ <div
1276
+ class="view row children"
1277
+ >
1278
+ user.action.book_now
1279
+ </div>
1280
+ </button>
1281
+ <div
1282
+ class="pressable container overflow"
1283
+ style="height: 768px;"
1284
+ >
1285
+ <div
1286
+ class="view fit modal calcWidth"
1287
+ >
1288
+ <div
1289
+ class="view forceRow header"
1290
+ >
1291
+ <button
1292
+ class="pressable button small squared transparent button"
1293
+ >
1294
+ <span
1295
+ class="icon headline-3 icon"
1296
+ >
1297
+ <svg
1298
+ fill="currentColor"
1299
+ height="1em"
1300
+ stroke="currentColor"
1301
+ stroke-width="0"
1302
+ viewBox="0 0 24 24"
1303
+ width="1em"
1304
+ xmlns="http://www.w3.org/2000/svg"
1305
+ >
1306
+ <path
1307
+ d="M0 0h24v24H0V0z"
1308
+ fill="none"
1309
+ />
1310
+ <path
1311
+ d="M19 6.41L17.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"
1312
+ />
1313
+ </svg>
1314
+ </span>
1315
+ </button>
1316
+ </div>
1317
+ </div>
1318
+ </div>
1319
+ <span
1320
+ class="text small lighten wide"
1321
+ >
1322
+ common.notification.ssl_encryption
1323
+ </span>
1324
+ </div>
1325
+ </div>
1326
+ </div>
1327
+ </div>
636
1328
  </div>
637
1329
  </DocumentFragment>
638
1330
  `;