@mirai/core 0.4.36 → 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 (209) hide show
  1. package/package.json +1 -1
  2. package/.env +0 -22
  3. package/.gitlab-ci.yml +0 -4
  4. package/.nvmrc +0 -1
  5. package/__tests__/Booking/__mocks__/booking-delete.json +0 -1
  6. package/__tests__/Booking/__mocks__/booking-get.json +0 -105
  7. package/__tests__/Booking/booking.constants.js +0 -8
  8. package/__tests__/Booking/workflows/cancel.workflow.js +0 -20
  9. package/__tests__/Booking/workflows/index.js +0 -5
  10. package/__tests__/Booking/workflows/openMobileMenu.workflow.js +0 -4
  11. package/__tests__/Booking/workflows/print.workflow.js +0 -13
  12. package/__tests__/Booking/workflows/resend.workflow.js +0 -18
  13. package/__tests__/Booking/workflows/review.workflow.js +0 -17
  14. package/__tests__/BookingQuery/__mocks__/user-booking-get.json +0 -9
  15. package/__tests__/BookingQuery/workflows/index.js +0 -1
  16. package/__tests__/BookingQuery/workflows/login.workflow.js +0 -22
  17. package/__tests__/Checkout/__mocks__/checkout-get.json +0 -935
  18. package/__tests__/Checkout/__mocks__/checkout-post-PAYLATER.json +0 -10
  19. package/__tests__/Checkout/__mocks__/checkout-post-TPV.json +0 -7
  20. package/__tests__/Checkout/__mocks__/checkout-post-TRANSFER.json +0 -10
  21. package/__tests__/Checkout/checkout.constants.js +0 -8
  22. package/__tests__/Checkout/workflows/form.workflow.js +0 -17
  23. package/__tests__/Checkout/workflows/index.js +0 -4
  24. package/__tests__/Checkout/workflows/payment.workflow.js +0 -10
  25. package/__tests__/Checkout/workflows/review.workflow.js +0 -19
  26. package/__tests__/Checkout/workflows/submit.workflow.js +0 -9
  27. package/__tests__/Deals/__mocks__/deals-success.json +0 -739
  28. package/__tests__/Deals/workflows/calendar.workflow.js +0 -14
  29. package/__tests__/Deals/workflows/clear.workflow.js +0 -7
  30. package/__tests__/Deals/workflows/index.js +0 -5
  31. package/__tests__/Deals/workflows/occupation.workflow.js +0 -6
  32. package/__tests__/Deals/workflows/promocode.workflow.js +0 -3
  33. package/__tests__/Deals/workflows/submit.workflow.js +0 -6
  34. package/__tests__/Finder/workflows/calendar.workflow.js +0 -10
  35. package/__tests__/Finder/workflows/index.js +0 -3
  36. package/__tests__/Finder/workflows/occupation.workflow.js +0 -27
  37. package/__tests__/Finder/workflows/promocode.workflow.js +0 -8
  38. package/__tests__/Rates/__mocks__/extras-one-success.json +0 -138
  39. package/__tests__/Rates/__mocks__/extras-success.json +0 -397
  40. package/__tests__/Rates/__mocks__/rates-success.json +0 -731
  41. package/__tests__/Rates/workflows/extras.js +0 -9
  42. package/__tests__/Rates/workflows/extrasExpect.js +0 -11
  43. package/__tests__/Rates/workflows/index.js +0 -4
  44. package/__tests__/Rates/workflows/multiroom.js +0 -26
  45. package/__tests__/Rates/workflows/rates.js +0 -9
  46. package/__tests__/Session/workflows/bookings.workflow.js +0 -18
  47. package/__tests__/Session/workflows/forgotPassword.workflow.js +0 -20
  48. package/__tests__/Session/workflows/index.js +0 -5
  49. package/__tests__/Session/workflows/login.workflow.js +0 -29
  50. package/__tests__/Session/workflows/logout.workflow.js +0 -8
  51. package/__tests__/Session/workflows/profile.workflow.js +0 -49
  52. package/__tests__/Signup/workflows/index.js +0 -2
  53. package/__tests__/Signup/workflows/signup.workflow.js +0 -26
  54. package/__tests__/Signup/workflows/signupError.workflow.js +0 -22
  55. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-one-extras-1.png +0 -0
  56. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-some-extras-1.png +0 -0
  57. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-one-extras-1.png +0 -0
  58. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-some-extras-1.png +0 -0
  59. package/__tests__/booking.spec.jsx +0 -34
  60. package/__tests__/bookingQuey.spec.js +0 -43
  61. package/__tests__/buttonFinder.spec.js +0 -16
  62. package/__tests__/checkout.spec.jsx +0 -52
  63. package/__tests__/constants.js +0 -20
  64. package/__tests__/deals.spec.js +0 -30
  65. package/__tests__/finder.spec.js +0 -75
  66. package/__tests__/helpers/closeNotification.js +0 -7
  67. package/__tests__/helpers/getWeekNumber.js +0 -8
  68. package/__tests__/helpers/index.js +0 -2
  69. package/__tests__/rates.spec.jsx +0 -39
  70. package/__tests__/session.spec.js +0 -32
  71. package/__tests__/signup.spec.js +0 -17
  72. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.skeleton.test.js.snap +0 -287
  73. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +0 -102
  74. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +0 -1302
  75. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +0 -139
  76. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -108
  77. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +0 -546
  78. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +0 -46
  79. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +0 -166
  80. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +0 -110
  81. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +0 -82
  82. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +0 -432
  83. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +0 -319
  84. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +0 -178
  85. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +0 -1048
  86. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +0 -8210
  87. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +0 -30
  88. package/build/components/Chat/__tests__/__snapshots__/Chat.test.js.snap +0 -634
  89. package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +0 -97
  90. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +0 -178
  91. package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +0 -282
  92. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +0 -211
  93. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Booking.test.js.snap +0 -65
  94. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Card.test.js.snap +0 -29
  95. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +0 -44
  96. package/build/components/Chat/components/Offline/__tests__/__snapshots__/Offline.test.js.snap +0 -162
  97. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +0 -9
  98. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +0 -2018
  99. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +0 -347
  100. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +0 -418
  101. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +0 -6754
  102. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +0 -4449
  103. package/build/components/Deals/__tests__/__snapshots__/Deals.constants.js.snap +0 -15
  104. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +0 -7828
  105. package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +0 -25
  106. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +0 -120
  107. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +0 -988
  108. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +0 -39
  109. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +0 -22237
  110. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +0 -11
  111. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +0 -11108
  112. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +0 -44
  113. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +0 -324
  114. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +0 -1382
  115. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +0 -7
  116. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +0 -1187
  117. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +0 -19
  118. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +0 -41
  119. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +0 -50
  120. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +0 -3
  121. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +0 -3
  122. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +0 -53
  123. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +0 -11760
  124. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +0 -113
  125. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +0 -32
  126. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +0 -21
  127. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +0 -32
  128. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +0 -167
  129. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -3
  130. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +0 -96
  131. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +0 -9
  132. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +0 -53
  133. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +0 -154
  134. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +0 -3
  135. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -3
  136. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +0 -40
  137. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +0 -35
  138. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +0 -72
  139. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +0 -49
  140. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +0 -50
  141. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +0 -18
  142. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +0 -23
  143. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +0 -3
  144. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +0 -27
  145. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +0 -3
  146. package/build/components/Rates/components/ModalClubRate/__tests__/__snapshots__/ModalClubRate.test.js.snap +0 -257
  147. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +0 -68
  148. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +0 -78
  149. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +0 -260
  150. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +0 -1091
  151. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +0 -208
  152. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +0 -2190
  153. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +0 -500
  154. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +0 -745
  155. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +0 -450
  156. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +0 -115
  157. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +0 -206
  158. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +0 -65
  159. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +0 -68
  160. package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +0 -356
  161. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/__tests__/__snapshots__/getStyle.test.js.snap +0 -23
  162. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +0 -165
  163. package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +0 -161
  164. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +0 -190
  165. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +0 -34
  166. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -42
  167. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +0 -1018
  168. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +0 -2243
  169. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +0 -373
  170. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +0 -178
  171. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +0 -118
  172. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +0 -17
  173. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +0 -3754
  174. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +0 -1109
  175. package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +0 -23
  176. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +0 -33
  177. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +0 -933
  178. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +0 -474
  179. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +0 -98
  180. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +0 -49
  181. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +0 -337
  182. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +0 -1192
  183. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +0 -66
  184. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +0 -41
  185. package/build/components/helpers/__tests__/__mocks__/hotels.json +0 -87
  186. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +0 -317
  187. package/playwright.config.js +0 -50
  188. package/public/App.Container.jsx +0 -147
  189. package/public/App.jsx +0 -34
  190. package/public/App.module.css +0 -153
  191. package/public/index.html +0 -32
  192. package/public/index.template.html +0 -19
  193. package/public/performance/index.html +0 -159
  194. package/public/routes/Deals.jsx +0 -20
  195. package/public/routes/Finder.jsx +0 -19
  196. package/public/routes/Home.constants.js +0 -52
  197. package/public/routes/Home.jsx +0 -131
  198. package/public/routes/NotFound.jsx +0 -23
  199. package/public/routes/Profile.jsx +0 -21
  200. package/public/routes/Signup.jsx +0 -20
  201. package/public/routes/Step0-Accommodations.jsx +0 -4
  202. package/public/routes/Step1-Rates.jsx +0 -12
  203. package/public/routes/Step2-Checkout.jsx +0 -4
  204. package/public/routes/Step3-Booking.jsx +0 -4
  205. package/public/routes/components/Logo.jsx +0 -18
  206. package/public/routes/components/index.js +0 -1
  207. package/public/routes/index.js +0 -10
  208. package/public/routes/routes.module.css +0 -259
  209. package/public/themes/monalisa.theme.css +0 -45
@@ -1,3754 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[` 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view"
7
- l10n="[object Object]"
8
- >
9
- <ui-notification-warning
10
- class="view row notification warning outlined small"
11
- >
12
- <ui-icon
13
- class="icon paragraph"
14
- >
15
- <svg
16
- fill="currentColor"
17
- height="1em"
18
- stroke="currentColor"
19
- stroke-width="0"
20
- viewBox="0 0 24 24"
21
- width="1em"
22
- xmlns="http://www.w3.org/2000/svg"
23
- >
24
- <path
25
- d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
26
- />
27
- </svg>
28
- </ui-icon>
29
- <ui-view
30
- class="view texts"
31
- >
32
- <ui-text
33
- class="text small"
34
- >
35
- finder.notification.warning_occupation
36
- </ui-text>
37
- </ui-view>
38
- </ui-notification-warning>
39
- <ui-scrollview
40
- class="scrollview vertical notIndicator"
41
- >
42
- <ui-view
43
- class="view wide"
44
- >
45
- <ui-view
46
- class="view row"
47
- >
48
- <ui-text
49
- class="text bold action"
50
- >
51
- finder.label.place_type_count.room
52
- </ui-text>
53
- <ui-button
54
- class="pressable button small transparent"
55
- tabindex="0"
56
- >
57
- finder.action.remove
58
- </ui-button>
59
- </ui-view>
60
- <ui-input-number
61
- class="view row inputNumber"
62
- data-testid="group-0"
63
- >
64
- <ui-view
65
- class="view texts"
66
- >
67
- <ui-label
68
- class="text paragraph text label"
69
- >
70
- common.label.occupation_type_adult
71
- </ui-label>
72
- <ui-text
73
- class="text small text hint hint"
74
- >
75
- common.label.age_from
76
- </ui-text>
77
- </ui-view>
78
- <ui-button
79
- class="pressable disabled button small squared disabled"
80
- data-testid="group-0-button-min"
81
- disabled="true"
82
- >
83
- <ui-icon
84
- class="icon headline-3"
85
- >
86
- <svg
87
- fill="currentColor"
88
- height="1em"
89
- stroke="currentColor"
90
- stroke-width="0"
91
- viewBox="0 0 24 24"
92
- width="1em"
93
- xmlns="http://www.w3.org/2000/svg"
94
- >
95
- <path
96
- d="M0 0h24v24H0V0z"
97
- fill="none"
98
- />
99
- <path
100
- d="M19 13H5v-2h14v2z"
101
- />
102
- </svg>
103
- </ui-icon>
104
- </ui-button>
105
- <ui-text
106
- class="text paragraph value"
107
- >
108
- 2
109
- </ui-text>
110
- <ui-button
111
- class="pressable button small squared secondary"
112
- data-testid="group-0-button-max"
113
- tabindex="0"
114
- >
115
- <ui-icon
116
- class="icon headline-3"
117
- >
118
- <svg
119
- fill="currentColor"
120
- height="1em"
121
- stroke="currentColor"
122
- stroke-width="0"
123
- viewBox="0 0 24 24"
124
- width="1em"
125
- xmlns="http://www.w3.org/2000/svg"
126
- >
127
- <path
128
- d="M0 0h24v24H0V0z"
129
- fill="none"
130
- />
131
- <path
132
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
133
- />
134
- </svg>
135
- </ui-icon>
136
- </ui-button>
137
- </ui-input-number>
138
- <ui-input-number
139
- class="view row inputNumber"
140
- data-testid="group-1"
141
- >
142
- <ui-view
143
- class="view texts"
144
- >
145
- <ui-label
146
- class="text paragraph text label"
147
- >
148
- common.label.occupation_type_child
149
- </ui-label>
150
- <ui-text
151
- class="text small text hint hint"
152
- >
153
- common.label.age_up_to
154
- </ui-text>
155
- </ui-view>
156
- <ui-button
157
- class="pressable button small squared secondary"
158
- data-testid="group-1-button-min"
159
- tabindex="0"
160
- >
161
- <ui-icon
162
- class="icon headline-3"
163
- >
164
- <svg
165
- fill="currentColor"
166
- height="1em"
167
- stroke="currentColor"
168
- stroke-width="0"
169
- viewBox="0 0 24 24"
170
- width="1em"
171
- xmlns="http://www.w3.org/2000/svg"
172
- >
173
- <path
174
- d="M0 0h24v24H0V0z"
175
- fill="none"
176
- />
177
- <path
178
- d="M19 13H5v-2h14v2z"
179
- />
180
- </svg>
181
- </ui-icon>
182
- </ui-button>
183
- <ui-text
184
- class="text paragraph value"
185
- >
186
- 2
187
- </ui-text>
188
- <ui-button
189
- class="pressable disabled button small squared disabled"
190
- data-testid="group-1-button-max"
191
- disabled="true"
192
- >
193
- <ui-icon
194
- class="icon headline-3"
195
- >
196
- <svg
197
- fill="currentColor"
198
- height="1em"
199
- stroke="currentColor"
200
- stroke-width="0"
201
- viewBox="0 0 24 24"
202
- width="1em"
203
- xmlns="http://www.w3.org/2000/svg"
204
- >
205
- <path
206
- d="M0 0h24v24H0V0z"
207
- fill="none"
208
- />
209
- <path
210
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
211
- />
212
- </svg>
213
- </ui-icon>
214
- </ui-button>
215
- </ui-input-number>
216
- <ui-view
217
- class="view"
218
- >
219
- <ui-view
220
- class="view row"
221
- >
222
- <ui-input-select
223
- class="view inputContainer"
224
- >
225
- <ui-view
226
- class="view row inputBorder"
227
- >
228
- <ui-view
229
- class="view wide content"
230
- >
231
- <select
232
- class="select input"
233
- data-testid="group-1-select-0"
234
- name="age-0,17"
235
- >
236
- <option
237
- value=""
238
- >
239
- common.label.age
240
- </option>
241
- <option
242
- value="0"
243
- >
244
- 0
245
- </option>
246
- <option
247
- value="1"
248
- >
249
- 1
250
- </option>
251
- <option
252
- value="2"
253
- >
254
- 2
255
- </option>
256
- <option
257
- value="3"
258
- >
259
- 3
260
- </option>
261
- <option
262
- value="4"
263
- >
264
- 4
265
- </option>
266
- <option
267
- value="5"
268
- >
269
- 5
270
- </option>
271
- <option
272
- value="6"
273
- >
274
- 6
275
- </option>
276
- <option
277
- value="7"
278
- >
279
- 7
280
- </option>
281
- <option
282
- value="8"
283
- >
284
- 8
285
- </option>
286
- <option
287
- value="9"
288
- >
289
- 9
290
- </option>
291
- <option
292
- value="10"
293
- >
294
- 10
295
- </option>
296
- <option
297
- value="11"
298
- >
299
- 11
300
- </option>
301
- <option
302
- value="12"
303
- >
304
- 12
305
- </option>
306
- <option
307
- value="13"
308
- >
309
- 13
310
- </option>
311
- <option
312
- value="14"
313
- >
314
- 14
315
- </option>
316
- <option
317
- value="15"
318
- >
319
- 15
320
- </option>
321
- <option
322
- value="16"
323
- >
324
- 16
325
- </option>
326
- <option
327
- value="17"
328
- >
329
- 17
330
- </option>
331
- </select>
332
- </ui-view>
333
- <ui-icon
334
- class="icon headline-3 icon expand"
335
- >
336
- <svg
337
- fill="currentColor"
338
- height="1em"
339
- stroke="currentColor"
340
- stroke-width="0"
341
- viewBox="0 0 24 24"
342
- width="1em"
343
- xmlns="http://www.w3.org/2000/svg"
344
- >
345
- <path
346
- d="M24 24H0V0h24v24z"
347
- fill="none"
348
- opacity=".87"
349
- />
350
- <path
351
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
352
- />
353
- </svg>
354
- </ui-icon>
355
- </ui-view>
356
- </ui-input-select>
357
- <ui-input-select
358
- class="view inputContainer"
359
- >
360
- <ui-view
361
- class="view row inputBorder"
362
- >
363
- <ui-view
364
- class="view wide content"
365
- >
366
- <select
367
- class="select input"
368
- data-testid="group-1-select-1"
369
- name="age-0,17"
370
- >
371
- <option
372
- value=""
373
- >
374
- common.label.age
375
- </option>
376
- <option
377
- value="0"
378
- >
379
- 0
380
- </option>
381
- <option
382
- value="1"
383
- >
384
- 1
385
- </option>
386
- <option
387
- value="2"
388
- >
389
- 2
390
- </option>
391
- <option
392
- value="3"
393
- >
394
- 3
395
- </option>
396
- <option
397
- value="4"
398
- >
399
- 4
400
- </option>
401
- <option
402
- value="5"
403
- >
404
- 5
405
- </option>
406
- <option
407
- value="6"
408
- >
409
- 6
410
- </option>
411
- <option
412
- value="7"
413
- >
414
- 7
415
- </option>
416
- <option
417
- value="8"
418
- >
419
- 8
420
- </option>
421
- <option
422
- value="9"
423
- >
424
- 9
425
- </option>
426
- <option
427
- value="10"
428
- >
429
- 10
430
- </option>
431
- <option
432
- value="11"
433
- >
434
- 11
435
- </option>
436
- <option
437
- value="12"
438
- >
439
- 12
440
- </option>
441
- <option
442
- value="13"
443
- >
444
- 13
445
- </option>
446
- <option
447
- value="14"
448
- >
449
- 14
450
- </option>
451
- <option
452
- value="15"
453
- >
454
- 15
455
- </option>
456
- <option
457
- value="16"
458
- >
459
- 16
460
- </option>
461
- <option
462
- value="17"
463
- >
464
- 17
465
- </option>
466
- </select>
467
- </ui-view>
468
- <ui-icon
469
- class="icon headline-3 icon expand"
470
- >
471
- <svg
472
- fill="currentColor"
473
- height="1em"
474
- stroke="currentColor"
475
- stroke-width="0"
476
- viewBox="0 0 24 24"
477
- width="1em"
478
- xmlns="http://www.w3.org/2000/svg"
479
- >
480
- <path
481
- d="M24 24H0V0h24v24z"
482
- fill="none"
483
- opacity=".87"
484
- />
485
- <path
486
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
487
- />
488
- </svg>
489
- </ui-icon>
490
- </ui-view>
491
- </ui-input-select>
492
- </ui-view>
493
- <ui-text
494
- class="text light small"
495
- >
496
- common.label.age_hint
497
- </ui-text>
498
- </ui-view>
499
- </ui-view>
500
- <ui-view
501
- class="view wide"
502
- >
503
- <ui-view
504
- class="view row"
505
- >
506
- <ui-text
507
- class="text bold action"
508
- >
509
- finder.label.place_type_count.room
510
- </ui-text>
511
- <ui-button
512
- class="pressable button small transparent"
513
- tabindex="0"
514
- >
515
- finder.action.remove
516
- </ui-button>
517
- </ui-view>
518
- <ui-input-number
519
- class="view row inputNumber"
520
- data-testid="group-0"
521
- >
522
- <ui-view
523
- class="view texts"
524
- >
525
- <ui-label
526
- class="text paragraph text label"
527
- >
528
- common.label.occupation_type_adult
529
- </ui-label>
530
- <ui-text
531
- class="text small text hint hint"
532
- >
533
- common.label.age_from
534
- </ui-text>
535
- </ui-view>
536
- <ui-button
537
- class="pressable disabled button small squared disabled"
538
- data-testid="group-0-button-min"
539
- disabled="true"
540
- >
541
- <ui-icon
542
- class="icon headline-3"
543
- >
544
- <svg
545
- fill="currentColor"
546
- height="1em"
547
- stroke="currentColor"
548
- stroke-width="0"
549
- viewBox="0 0 24 24"
550
- width="1em"
551
- xmlns="http://www.w3.org/2000/svg"
552
- >
553
- <path
554
- d="M0 0h24v24H0V0z"
555
- fill="none"
556
- />
557
- <path
558
- d="M19 13H5v-2h14v2z"
559
- />
560
- </svg>
561
- </ui-icon>
562
- </ui-button>
563
- <ui-text
564
- class="text paragraph value"
565
- >
566
- 2
567
- </ui-text>
568
- <ui-button
569
- class="pressable button small squared secondary"
570
- data-testid="group-0-button-max"
571
- tabindex="0"
572
- >
573
- <ui-icon
574
- class="icon headline-3"
575
- >
576
- <svg
577
- fill="currentColor"
578
- height="1em"
579
- stroke="currentColor"
580
- stroke-width="0"
581
- viewBox="0 0 24 24"
582
- width="1em"
583
- xmlns="http://www.w3.org/2000/svg"
584
- >
585
- <path
586
- d="M0 0h24v24H0V0z"
587
- fill="none"
588
- />
589
- <path
590
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
591
- />
592
- </svg>
593
- </ui-icon>
594
- </ui-button>
595
- </ui-input-number>
596
- <ui-input-number
597
- class="view row inputNumber"
598
- data-testid="group-1"
599
- >
600
- <ui-view
601
- class="view texts"
602
- >
603
- <ui-label
604
- class="text paragraph text label"
605
- >
606
- common.label.occupation_type_child
607
- </ui-label>
608
- <ui-text
609
- class="text small text hint hint"
610
- >
611
- common.label.age_up_to
612
- </ui-text>
613
- </ui-view>
614
- <ui-button
615
- class="pressable disabled button small squared disabled"
616
- data-testid="group-1-button-min"
617
- disabled="true"
618
- >
619
- <ui-icon
620
- class="icon headline-3"
621
- >
622
- <svg
623
- fill="currentColor"
624
- height="1em"
625
- stroke="currentColor"
626
- stroke-width="0"
627
- viewBox="0 0 24 24"
628
- width="1em"
629
- xmlns="http://www.w3.org/2000/svg"
630
- >
631
- <path
632
- d="M0 0h24v24H0V0z"
633
- fill="none"
634
- />
635
- <path
636
- d="M19 13H5v-2h14v2z"
637
- />
638
- </svg>
639
- </ui-icon>
640
- </ui-button>
641
- <ui-text
642
- class="text paragraph value"
643
- >
644
- 0
645
- </ui-text>
646
- <ui-button
647
- class="pressable button small squared secondary"
648
- data-testid="group-1-button-max"
649
- tabindex="0"
650
- >
651
- <ui-icon
652
- class="icon headline-3"
653
- >
654
- <svg
655
- fill="currentColor"
656
- height="1em"
657
- stroke="currentColor"
658
- stroke-width="0"
659
- viewBox="0 0 24 24"
660
- width="1em"
661
- xmlns="http://www.w3.org/2000/svg"
662
- >
663
- <path
664
- d="M0 0h24v24H0V0z"
665
- fill="none"
666
- />
667
- <path
668
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
669
- />
670
- </svg>
671
- </ui-icon>
672
- </ui-button>
673
- </ui-input-number>
674
- </ui-view>
675
- </ui-scrollview>
676
- <ui-view
677
- class="view row"
678
- >
679
- <ui-button
680
- class="pressable button secondary"
681
- tabindex="0"
682
- >
683
- finder.action.add_place_type.room
684
- </ui-button>
685
- </ui-view>
686
- </ui-view>
687
- </DocumentFragment>
688
- `;
689
-
690
- exports[`<Occupation> adding a new room 1`] = `
691
- <DocumentFragment>
692
- <ui-view
693
- class="view"
694
- data-testid="occupation"
695
- l10n="[object Object]"
696
- >
697
- <ui-scrollview
698
- class="scrollview vertical notIndicator"
699
- >
700
- <ui-view
701
- class="view wide"
702
- >
703
- <ui-view
704
- class="view row"
705
- >
706
- <ui-text
707
- class="text bold action"
708
- >
709
- finder.label.place_type_count.room
710
- </ui-text>
711
- </ui-view>
712
- <ui-input-number
713
- class="view row inputNumber"
714
- data-testid="group-0"
715
- >
716
- <ui-view
717
- class="view texts"
718
- >
719
- <ui-label
720
- class="text paragraph text label"
721
- >
722
- common.label.occupation_type_adult
723
- </ui-label>
724
- <ui-text
725
- class="text small text hint hint"
726
- >
727
- common.label.age_from
728
- </ui-text>
729
- </ui-view>
730
- <ui-button
731
- class="pressable disabled button small squared disabled"
732
- data-testid="group-0-button-min"
733
- disabled="true"
734
- >
735
- <ui-icon
736
- class="icon headline-3"
737
- >
738
- <svg
739
- fill="currentColor"
740
- height="1em"
741
- stroke="currentColor"
742
- stroke-width="0"
743
- viewBox="0 0 24 24"
744
- width="1em"
745
- xmlns="http://www.w3.org/2000/svg"
746
- >
747
- <path
748
- d="M0 0h24v24H0V0z"
749
- fill="none"
750
- />
751
- <path
752
- d="M19 13H5v-2h14v2z"
753
- />
754
- </svg>
755
- </ui-icon>
756
- </ui-button>
757
- <ui-text
758
- class="text paragraph value"
759
- >
760
- 2
761
- </ui-text>
762
- <ui-button
763
- class="pressable button small squared secondary"
764
- data-testid="group-0-button-max"
765
- tabindex="0"
766
- >
767
- <ui-icon
768
- class="icon headline-3"
769
- >
770
- <svg
771
- fill="currentColor"
772
- height="1em"
773
- stroke="currentColor"
774
- stroke-width="0"
775
- viewBox="0 0 24 24"
776
- width="1em"
777
- xmlns="http://www.w3.org/2000/svg"
778
- >
779
- <path
780
- d="M0 0h24v24H0V0z"
781
- fill="none"
782
- />
783
- <path
784
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
785
- />
786
- </svg>
787
- </ui-icon>
788
- </ui-button>
789
- </ui-input-number>
790
- <ui-input-number
791
- class="view row inputNumber"
792
- data-testid="group-1"
793
- >
794
- <ui-view
795
- class="view texts"
796
- >
797
- <ui-label
798
- class="text paragraph text label"
799
- >
800
- common.label.occupation_type_child
801
- </ui-label>
802
- <ui-text
803
- class="text small text hint hint"
804
- >
805
- common.label.age_up_to
806
- </ui-text>
807
- </ui-view>
808
- <ui-button
809
- class="pressable disabled button small squared disabled"
810
- data-testid="group-1-button-min"
811
- disabled="true"
812
- >
813
- <ui-icon
814
- class="icon headline-3"
815
- >
816
- <svg
817
- fill="currentColor"
818
- height="1em"
819
- stroke="currentColor"
820
- stroke-width="0"
821
- viewBox="0 0 24 24"
822
- width="1em"
823
- xmlns="http://www.w3.org/2000/svg"
824
- >
825
- <path
826
- d="M0 0h24v24H0V0z"
827
- fill="none"
828
- />
829
- <path
830
- d="M19 13H5v-2h14v2z"
831
- />
832
- </svg>
833
- </ui-icon>
834
- </ui-button>
835
- <ui-text
836
- class="text paragraph value"
837
- >
838
- 0
839
- </ui-text>
840
- <ui-button
841
- class="pressable button small squared secondary"
842
- data-testid="group-1-button-max"
843
- tabindex="0"
844
- >
845
- <ui-icon
846
- class="icon headline-3"
847
- >
848
- <svg
849
- fill="currentColor"
850
- height="1em"
851
- stroke="currentColor"
852
- stroke-width="0"
853
- viewBox="0 0 24 24"
854
- width="1em"
855
- xmlns="http://www.w3.org/2000/svg"
856
- >
857
- <path
858
- d="M0 0h24v24H0V0z"
859
- fill="none"
860
- />
861
- <path
862
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
863
- />
864
- </svg>
865
- </ui-icon>
866
- </ui-button>
867
- </ui-input-number>
868
- </ui-view>
869
- </ui-scrollview>
870
- <ui-view
871
- class="view row"
872
- >
873
- <ui-button
874
- class="pressable button secondary"
875
- data-testid="occupation-add-room"
876
- tabindex="0"
877
- >
878
- finder.action.add_place_type.room
879
- </ui-button>
880
- </ui-view>
881
- </ui-view>
882
- </DocumentFragment>
883
- `;
884
-
885
- exports[`<Occupation> inherit:className 1`] = `
886
- <DocumentFragment>
887
- <ui-view
888
- class="view mirai"
889
- l10n="[object Object]"
890
- >
891
- <ui-scrollview
892
- class="scrollview vertical notIndicator"
893
- >
894
- <ui-view
895
- class="view wide"
896
- >
897
- <ui-view
898
- class="view row"
899
- >
900
- <ui-text
901
- class="text bold action"
902
- >
903
- finder.label.place_type_count.room
904
- </ui-text>
905
- </ui-view>
906
- <ui-input-number
907
- class="view row inputNumber"
908
- data-testid="group-0"
909
- >
910
- <ui-view
911
- class="view texts"
912
- >
913
- <ui-label
914
- class="text paragraph text label"
915
- >
916
- common.label.occupation_type_adult
917
- </ui-label>
918
- <ui-text
919
- class="text small text hint hint"
920
- >
921
- common.label.age_from
922
- </ui-text>
923
- </ui-view>
924
- <ui-button
925
- class="pressable disabled button small squared disabled"
926
- data-testid="group-0-button-min"
927
- disabled="true"
928
- >
929
- <ui-icon
930
- class="icon headline-3"
931
- >
932
- <svg
933
- fill="currentColor"
934
- height="1em"
935
- stroke="currentColor"
936
- stroke-width="0"
937
- viewBox="0 0 24 24"
938
- width="1em"
939
- xmlns="http://www.w3.org/2000/svg"
940
- >
941
- <path
942
- d="M0 0h24v24H0V0z"
943
- fill="none"
944
- />
945
- <path
946
- d="M19 13H5v-2h14v2z"
947
- />
948
- </svg>
949
- </ui-icon>
950
- </ui-button>
951
- <ui-text
952
- class="text paragraph value"
953
- >
954
- 2
955
- </ui-text>
956
- <ui-button
957
- class="pressable button small squared secondary"
958
- data-testid="group-0-button-max"
959
- tabindex="0"
960
- >
961
- <ui-icon
962
- class="icon headline-3"
963
- >
964
- <svg
965
- fill="currentColor"
966
- height="1em"
967
- stroke="currentColor"
968
- stroke-width="0"
969
- viewBox="0 0 24 24"
970
- width="1em"
971
- xmlns="http://www.w3.org/2000/svg"
972
- >
973
- <path
974
- d="M0 0h24v24H0V0z"
975
- fill="none"
976
- />
977
- <path
978
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
979
- />
980
- </svg>
981
- </ui-icon>
982
- </ui-button>
983
- </ui-input-number>
984
- <ui-input-number
985
- class="view row inputNumber"
986
- data-testid="group-1"
987
- >
988
- <ui-view
989
- class="view texts"
990
- >
991
- <ui-label
992
- class="text paragraph text label"
993
- >
994
- common.label.occupation_type_child
995
- </ui-label>
996
- <ui-text
997
- class="text small text hint hint"
998
- >
999
- common.label.age_up_to
1000
- </ui-text>
1001
- </ui-view>
1002
- <ui-button
1003
- class="pressable disabled button small squared disabled"
1004
- data-testid="group-1-button-min"
1005
- disabled="true"
1006
- >
1007
- <ui-icon
1008
- class="icon headline-3"
1009
- >
1010
- <svg
1011
- fill="currentColor"
1012
- height="1em"
1013
- stroke="currentColor"
1014
- stroke-width="0"
1015
- viewBox="0 0 24 24"
1016
- width="1em"
1017
- xmlns="http://www.w3.org/2000/svg"
1018
- >
1019
- <path
1020
- d="M0 0h24v24H0V0z"
1021
- fill="none"
1022
- />
1023
- <path
1024
- d="M19 13H5v-2h14v2z"
1025
- />
1026
- </svg>
1027
- </ui-icon>
1028
- </ui-button>
1029
- <ui-text
1030
- class="text paragraph value"
1031
- >
1032
- 0
1033
- </ui-text>
1034
- <ui-button
1035
- class="pressable button small squared secondary"
1036
- data-testid="group-1-button-max"
1037
- tabindex="0"
1038
- >
1039
- <ui-icon
1040
- class="icon headline-3"
1041
- >
1042
- <svg
1043
- fill="currentColor"
1044
- height="1em"
1045
- stroke="currentColor"
1046
- stroke-width="0"
1047
- viewBox="0 0 24 24"
1048
- width="1em"
1049
- xmlns="http://www.w3.org/2000/svg"
1050
- >
1051
- <path
1052
- d="M0 0h24v24H0V0z"
1053
- fill="none"
1054
- />
1055
- <path
1056
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1057
- />
1058
- </svg>
1059
- </ui-icon>
1060
- </ui-button>
1061
- </ui-input-number>
1062
- </ui-view>
1063
- </ui-scrollview>
1064
- <ui-view
1065
- class="view row"
1066
- >
1067
- <ui-button
1068
- class="pressable button secondary"
1069
- tabindex="0"
1070
- >
1071
- finder.action.add_place_type.room
1072
- </ui-button>
1073
- </ui-view>
1074
- </ui-view>
1075
- </DocumentFragment>
1076
- `;
1077
-
1078
- exports[`<Occupation> prop:dataSource 1`] = `
1079
- <DocumentFragment>
1080
- <ui-view
1081
- class="view"
1082
- l10n="[object Object]"
1083
- >
1084
- <ui-scrollview
1085
- class="scrollview vertical notIndicator"
1086
- >
1087
- <ui-view
1088
- class="view wide"
1089
- >
1090
- <ui-view
1091
- class="view row"
1092
- >
1093
- <ui-text
1094
- class="text bold action"
1095
- >
1096
- finder.label.place_type_count.room
1097
- </ui-text>
1098
- </ui-view>
1099
- <ui-input-number
1100
- class="view row inputNumber"
1101
- data-testid="group-0"
1102
- >
1103
- <ui-view
1104
- class="view texts"
1105
- >
1106
- <ui-label
1107
- class="text paragraph text label"
1108
- >
1109
- common.label.occupation_type_adult
1110
- </ui-label>
1111
- <ui-text
1112
- class="text small text hint hint"
1113
- >
1114
- common.label.age_from
1115
- </ui-text>
1116
- </ui-view>
1117
- <ui-button
1118
- class="pressable disabled button small squared disabled"
1119
- data-testid="group-0-button-min"
1120
- disabled="true"
1121
- >
1122
- <ui-icon
1123
- class="icon headline-3"
1124
- >
1125
- <svg
1126
- fill="currentColor"
1127
- height="1em"
1128
- stroke="currentColor"
1129
- stroke-width="0"
1130
- viewBox="0 0 24 24"
1131
- width="1em"
1132
- xmlns="http://www.w3.org/2000/svg"
1133
- >
1134
- <path
1135
- d="M0 0h24v24H0V0z"
1136
- fill="none"
1137
- />
1138
- <path
1139
- d="M19 13H5v-2h14v2z"
1140
- />
1141
- </svg>
1142
- </ui-icon>
1143
- </ui-button>
1144
- <ui-text
1145
- class="text paragraph value"
1146
- >
1147
- 2
1148
- </ui-text>
1149
- <ui-button
1150
- class="pressable button small squared secondary"
1151
- data-testid="group-0-button-max"
1152
- tabindex="0"
1153
- >
1154
- <ui-icon
1155
- class="icon headline-3"
1156
- >
1157
- <svg
1158
- fill="currentColor"
1159
- height="1em"
1160
- stroke="currentColor"
1161
- stroke-width="0"
1162
- viewBox="0 0 24 24"
1163
- width="1em"
1164
- xmlns="http://www.w3.org/2000/svg"
1165
- >
1166
- <path
1167
- d="M0 0h24v24H0V0z"
1168
- fill="none"
1169
- />
1170
- <path
1171
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1172
- />
1173
- </svg>
1174
- </ui-icon>
1175
- </ui-button>
1176
- </ui-input-number>
1177
- <ui-input-number
1178
- class="view row inputNumber"
1179
- data-testid="group-1"
1180
- >
1181
- <ui-view
1182
- class="view texts"
1183
- >
1184
- <ui-label
1185
- class="text paragraph text label"
1186
- >
1187
- common.label.occupation_type_child
1188
- </ui-label>
1189
- <ui-text
1190
- class="text small text hint hint"
1191
- >
1192
- common.label.age_up_to
1193
- </ui-text>
1194
- </ui-view>
1195
- <ui-button
1196
- class="pressable disabled button small squared disabled"
1197
- data-testid="group-1-button-min"
1198
- disabled="true"
1199
- >
1200
- <ui-icon
1201
- class="icon headline-3"
1202
- >
1203
- <svg
1204
- fill="currentColor"
1205
- height="1em"
1206
- stroke="currentColor"
1207
- stroke-width="0"
1208
- viewBox="0 0 24 24"
1209
- width="1em"
1210
- xmlns="http://www.w3.org/2000/svg"
1211
- >
1212
- <path
1213
- d="M0 0h24v24H0V0z"
1214
- fill="none"
1215
- />
1216
- <path
1217
- d="M19 13H5v-2h14v2z"
1218
- />
1219
- </svg>
1220
- </ui-icon>
1221
- </ui-button>
1222
- <ui-text
1223
- class="text paragraph value"
1224
- >
1225
- 0
1226
- </ui-text>
1227
- <ui-button
1228
- class="pressable button small squared secondary"
1229
- data-testid="group-1-button-max"
1230
- tabindex="0"
1231
- >
1232
- <ui-icon
1233
- class="icon headline-3"
1234
- >
1235
- <svg
1236
- fill="currentColor"
1237
- height="1em"
1238
- stroke="currentColor"
1239
- stroke-width="0"
1240
- viewBox="0 0 24 24"
1241
- width="1em"
1242
- xmlns="http://www.w3.org/2000/svg"
1243
- >
1244
- <path
1245
- d="M0 0h24v24H0V0z"
1246
- fill="none"
1247
- />
1248
- <path
1249
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1250
- />
1251
- </svg>
1252
- </ui-icon>
1253
- </ui-button>
1254
- </ui-input-number>
1255
- </ui-view>
1256
- </ui-scrollview>
1257
- <ui-view
1258
- class="view row"
1259
- >
1260
- <ui-button
1261
- class="pressable button secondary"
1262
- tabindex="0"
1263
- >
1264
- finder.action.add_place_type.room
1265
- </ui-button>
1266
- </ui-view>
1267
- </ui-view>
1268
- </DocumentFragment>
1269
- `;
1270
-
1271
- exports[`<Occupation> prop:maxRooms 1`] = `
1272
- <DocumentFragment>
1273
- <ui-view
1274
- class="view"
1275
- >
1276
- <ui-scrollview
1277
- class="scrollview vertical notIndicator"
1278
- >
1279
- <ui-view
1280
- class="view wide"
1281
- >
1282
- <ui-view
1283
- class="view row"
1284
- >
1285
- <ui-text
1286
- class="text bold action"
1287
- >
1288
- finder.label.place_type_count.room
1289
- </ui-text>
1290
- </ui-view>
1291
- <ui-input-number
1292
- class="view row inputNumber"
1293
- data-testid="group-0"
1294
- >
1295
- <ui-view
1296
- class="view texts"
1297
- >
1298
- <ui-label
1299
- class="text paragraph text label"
1300
- >
1301
- common.label.occupation_type_adult
1302
- </ui-label>
1303
- <ui-text
1304
- class="text small text hint hint"
1305
- >
1306
- common.label.age_from
1307
- </ui-text>
1308
- </ui-view>
1309
- <ui-button
1310
- class="pressable button small squared secondary"
1311
- data-testid="group-0-button-min"
1312
- tabindex="0"
1313
- >
1314
- <ui-icon
1315
- class="icon headline-3"
1316
- >
1317
- <svg
1318
- fill="currentColor"
1319
- height="1em"
1320
- stroke="currentColor"
1321
- stroke-width="0"
1322
- viewBox="0 0 24 24"
1323
- width="1em"
1324
- xmlns="http://www.w3.org/2000/svg"
1325
- >
1326
- <path
1327
- d="M0 0h24v24H0V0z"
1328
- fill="none"
1329
- />
1330
- <path
1331
- d="M19 13H5v-2h14v2z"
1332
- />
1333
- </svg>
1334
- </ui-icon>
1335
- </ui-button>
1336
- <ui-text
1337
- class="text paragraph value"
1338
- >
1339
- 2
1340
- </ui-text>
1341
- <ui-button
1342
- class="pressable button small squared secondary"
1343
- data-testid="group-0-button-max"
1344
- tabindex="0"
1345
- >
1346
- <ui-icon
1347
- class="icon headline-3"
1348
- >
1349
- <svg
1350
- fill="currentColor"
1351
- height="1em"
1352
- stroke="currentColor"
1353
- stroke-width="0"
1354
- viewBox="0 0 24 24"
1355
- width="1em"
1356
- xmlns="http://www.w3.org/2000/svg"
1357
- >
1358
- <path
1359
- d="M0 0h24v24H0V0z"
1360
- fill="none"
1361
- />
1362
- <path
1363
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1364
- />
1365
- </svg>
1366
- </ui-icon>
1367
- </ui-button>
1368
- </ui-input-number>
1369
- <ui-input-number
1370
- class="view row inputNumber"
1371
- data-testid="group-1"
1372
- >
1373
- <ui-view
1374
- class="view texts"
1375
- >
1376
- <ui-label
1377
- class="text paragraph text label"
1378
- >
1379
- common.label.occupation_type_child
1380
- </ui-label>
1381
- <ui-text
1382
- class="text small text hint hint"
1383
- >
1384
- common.label.age_up_to
1385
- </ui-text>
1386
- </ui-view>
1387
- <ui-button
1388
- class="pressable disabled button small squared disabled"
1389
- data-testid="group-1-button-min"
1390
- disabled="true"
1391
- >
1392
- <ui-icon
1393
- class="icon headline-3"
1394
- >
1395
- <svg
1396
- fill="currentColor"
1397
- height="1em"
1398
- stroke="currentColor"
1399
- stroke-width="0"
1400
- viewBox="0 0 24 24"
1401
- width="1em"
1402
- xmlns="http://www.w3.org/2000/svg"
1403
- >
1404
- <path
1405
- d="M0 0h24v24H0V0z"
1406
- fill="none"
1407
- />
1408
- <path
1409
- d="M19 13H5v-2h14v2z"
1410
- />
1411
- </svg>
1412
- </ui-icon>
1413
- </ui-button>
1414
- <ui-text
1415
- class="text paragraph value"
1416
- >
1417
- 0
1418
- </ui-text>
1419
- <ui-button
1420
- class="pressable button small squared secondary"
1421
- data-testid="group-1-button-max"
1422
- tabindex="0"
1423
- >
1424
- <ui-icon
1425
- class="icon headline-3"
1426
- >
1427
- <svg
1428
- fill="currentColor"
1429
- height="1em"
1430
- stroke="currentColor"
1431
- stroke-width="0"
1432
- viewBox="0 0 24 24"
1433
- width="1em"
1434
- xmlns="http://www.w3.org/2000/svg"
1435
- >
1436
- <path
1437
- d="M0 0h24v24H0V0z"
1438
- fill="none"
1439
- />
1440
- <path
1441
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1442
- />
1443
- </svg>
1444
- </ui-icon>
1445
- </ui-button>
1446
- </ui-input-number>
1447
- </ui-view>
1448
- </ui-scrollview>
1449
- <ui-view
1450
- class="view row"
1451
- >
1452
- <ui-button
1453
- class="pressable disabled button disabled"
1454
- disabled="true"
1455
- >
1456
- finder.action.add_place_type.room
1457
- </ui-button>
1458
- </ui-view>
1459
- </ui-view>
1460
- </DocumentFragment>
1461
- `;
1462
-
1463
- exports[`<Occupation> prop:minRooms 1`] = `
1464
- <DocumentFragment>
1465
- <ui-view
1466
- class="view"
1467
- >
1468
- <ui-scrollview
1469
- class="scrollview vertical notIndicator"
1470
- >
1471
- <ui-view
1472
- class="view wide"
1473
- >
1474
- <ui-view
1475
- class="view row"
1476
- >
1477
- <ui-text
1478
- class="text bold action"
1479
- >
1480
- finder.label.place_type_count.room
1481
- </ui-text>
1482
- </ui-view>
1483
- <ui-input-number
1484
- class="view row inputNumber"
1485
- data-testid="group-0"
1486
- >
1487
- <ui-view
1488
- class="view texts"
1489
- >
1490
- <ui-label
1491
- class="text paragraph text label"
1492
- >
1493
- common.label.occupation_type_adult
1494
- </ui-label>
1495
- <ui-text
1496
- class="text small text hint hint"
1497
- >
1498
- common.label.age_from
1499
- </ui-text>
1500
- </ui-view>
1501
- <ui-button
1502
- class="pressable button small squared secondary"
1503
- data-testid="group-0-button-min"
1504
- tabindex="0"
1505
- >
1506
- <ui-icon
1507
- class="icon headline-3"
1508
- >
1509
- <svg
1510
- fill="currentColor"
1511
- height="1em"
1512
- stroke="currentColor"
1513
- stroke-width="0"
1514
- viewBox="0 0 24 24"
1515
- width="1em"
1516
- xmlns="http://www.w3.org/2000/svg"
1517
- >
1518
- <path
1519
- d="M0 0h24v24H0V0z"
1520
- fill="none"
1521
- />
1522
- <path
1523
- d="M19 13H5v-2h14v2z"
1524
- />
1525
- </svg>
1526
- </ui-icon>
1527
- </ui-button>
1528
- <ui-text
1529
- class="text paragraph value"
1530
- >
1531
- 2
1532
- </ui-text>
1533
- <ui-button
1534
- class="pressable button small squared secondary"
1535
- data-testid="group-0-button-max"
1536
- tabindex="0"
1537
- >
1538
- <ui-icon
1539
- class="icon headline-3"
1540
- >
1541
- <svg
1542
- fill="currentColor"
1543
- height="1em"
1544
- stroke="currentColor"
1545
- stroke-width="0"
1546
- viewBox="0 0 24 24"
1547
- width="1em"
1548
- xmlns="http://www.w3.org/2000/svg"
1549
- >
1550
- <path
1551
- d="M0 0h24v24H0V0z"
1552
- fill="none"
1553
- />
1554
- <path
1555
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1556
- />
1557
- </svg>
1558
- </ui-icon>
1559
- </ui-button>
1560
- </ui-input-number>
1561
- <ui-input-number
1562
- class="view row inputNumber"
1563
- data-testid="group-1"
1564
- >
1565
- <ui-view
1566
- class="view texts"
1567
- >
1568
- <ui-label
1569
- class="text paragraph text label"
1570
- >
1571
- common.label.occupation_type_child
1572
- </ui-label>
1573
- <ui-text
1574
- class="text small text hint hint"
1575
- >
1576
- common.label.age_up_to
1577
- </ui-text>
1578
- </ui-view>
1579
- <ui-button
1580
- class="pressable disabled button small squared disabled"
1581
- data-testid="group-1-button-min"
1582
- disabled="true"
1583
- >
1584
- <ui-icon
1585
- class="icon headline-3"
1586
- >
1587
- <svg
1588
- fill="currentColor"
1589
- height="1em"
1590
- stroke="currentColor"
1591
- stroke-width="0"
1592
- viewBox="0 0 24 24"
1593
- width="1em"
1594
- xmlns="http://www.w3.org/2000/svg"
1595
- >
1596
- <path
1597
- d="M0 0h24v24H0V0z"
1598
- fill="none"
1599
- />
1600
- <path
1601
- d="M19 13H5v-2h14v2z"
1602
- />
1603
- </svg>
1604
- </ui-icon>
1605
- </ui-button>
1606
- <ui-text
1607
- class="text paragraph value"
1608
- >
1609
- 0
1610
- </ui-text>
1611
- <ui-button
1612
- class="pressable button small squared secondary"
1613
- data-testid="group-1-button-max"
1614
- tabindex="0"
1615
- >
1616
- <ui-icon
1617
- class="icon headline-3"
1618
- >
1619
- <svg
1620
- fill="currentColor"
1621
- height="1em"
1622
- stroke="currentColor"
1623
- stroke-width="0"
1624
- viewBox="0 0 24 24"
1625
- width="1em"
1626
- xmlns="http://www.w3.org/2000/svg"
1627
- >
1628
- <path
1629
- d="M0 0h24v24H0V0z"
1630
- fill="none"
1631
- />
1632
- <path
1633
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1634
- />
1635
- </svg>
1636
- </ui-icon>
1637
- </ui-button>
1638
- </ui-input-number>
1639
- </ui-view>
1640
- <ui-view
1641
- class="view wide"
1642
- >
1643
- <ui-view
1644
- class="view row"
1645
- >
1646
- <ui-text
1647
- class="text bold action"
1648
- >
1649
- finder.label.place_type_count.room
1650
- </ui-text>
1651
- </ui-view>
1652
- <ui-input-number
1653
- class="view row inputNumber"
1654
- data-testid="group-0"
1655
- >
1656
- <ui-view
1657
- class="view texts"
1658
- >
1659
- <ui-label
1660
- class="text paragraph text label"
1661
- >
1662
- common.label.occupation_type_adult
1663
- </ui-label>
1664
- <ui-text
1665
- class="text small text hint hint"
1666
- >
1667
- common.label.age_from
1668
- </ui-text>
1669
- </ui-view>
1670
- <ui-button
1671
- class="pressable button small squared secondary"
1672
- data-testid="group-0-button-min"
1673
- tabindex="0"
1674
- >
1675
- <ui-icon
1676
- class="icon headline-3"
1677
- >
1678
- <svg
1679
- fill="currentColor"
1680
- height="1em"
1681
- stroke="currentColor"
1682
- stroke-width="0"
1683
- viewBox="0 0 24 24"
1684
- width="1em"
1685
- xmlns="http://www.w3.org/2000/svg"
1686
- >
1687
- <path
1688
- d="M0 0h24v24H0V0z"
1689
- fill="none"
1690
- />
1691
- <path
1692
- d="M19 13H5v-2h14v2z"
1693
- />
1694
- </svg>
1695
- </ui-icon>
1696
- </ui-button>
1697
- <ui-text
1698
- class="text paragraph value"
1699
- >
1700
- 2
1701
- </ui-text>
1702
- <ui-button
1703
- class="pressable button small squared secondary"
1704
- data-testid="group-0-button-max"
1705
- tabindex="0"
1706
- >
1707
- <ui-icon
1708
- class="icon headline-3"
1709
- >
1710
- <svg
1711
- fill="currentColor"
1712
- height="1em"
1713
- stroke="currentColor"
1714
- stroke-width="0"
1715
- viewBox="0 0 24 24"
1716
- width="1em"
1717
- xmlns="http://www.w3.org/2000/svg"
1718
- >
1719
- <path
1720
- d="M0 0h24v24H0V0z"
1721
- fill="none"
1722
- />
1723
- <path
1724
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1725
- />
1726
- </svg>
1727
- </ui-icon>
1728
- </ui-button>
1729
- </ui-input-number>
1730
- <ui-input-number
1731
- class="view row inputNumber"
1732
- data-testid="group-1"
1733
- >
1734
- <ui-view
1735
- class="view texts"
1736
- >
1737
- <ui-label
1738
- class="text paragraph text label"
1739
- >
1740
- common.label.occupation_type_child
1741
- </ui-label>
1742
- <ui-text
1743
- class="text small text hint hint"
1744
- >
1745
- common.label.age_up_to
1746
- </ui-text>
1747
- </ui-view>
1748
- <ui-button
1749
- class="pressable disabled button small squared disabled"
1750
- data-testid="group-1-button-min"
1751
- disabled="true"
1752
- >
1753
- <ui-icon
1754
- class="icon headline-3"
1755
- >
1756
- <svg
1757
- fill="currentColor"
1758
- height="1em"
1759
- stroke="currentColor"
1760
- stroke-width="0"
1761
- viewBox="0 0 24 24"
1762
- width="1em"
1763
- xmlns="http://www.w3.org/2000/svg"
1764
- >
1765
- <path
1766
- d="M0 0h24v24H0V0z"
1767
- fill="none"
1768
- />
1769
- <path
1770
- d="M19 13H5v-2h14v2z"
1771
- />
1772
- </svg>
1773
- </ui-icon>
1774
- </ui-button>
1775
- <ui-text
1776
- class="text paragraph value"
1777
- >
1778
- 0
1779
- </ui-text>
1780
- <ui-button
1781
- class="pressable button small squared secondary"
1782
- data-testid="group-1-button-max"
1783
- tabindex="0"
1784
- >
1785
- <ui-icon
1786
- class="icon headline-3"
1787
- >
1788
- <svg
1789
- fill="currentColor"
1790
- height="1em"
1791
- stroke="currentColor"
1792
- stroke-width="0"
1793
- viewBox="0 0 24 24"
1794
- width="1em"
1795
- xmlns="http://www.w3.org/2000/svg"
1796
- >
1797
- <path
1798
- d="M0 0h24v24H0V0z"
1799
- fill="none"
1800
- />
1801
- <path
1802
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1803
- />
1804
- </svg>
1805
- </ui-icon>
1806
- </ui-button>
1807
- </ui-input-number>
1808
- </ui-view>
1809
- </ui-scrollview>
1810
- <ui-view
1811
- class="view row"
1812
- >
1813
- <ui-button
1814
- class="pressable button secondary"
1815
- tabindex="0"
1816
- >
1817
- finder.action.add_place_type.room
1818
- </ui-button>
1819
- </ui-view>
1820
- </ui-view>
1821
- </DocumentFragment>
1822
- `;
1823
-
1824
- exports[`<Occupation> prop:text 1`] = `
1825
- <DocumentFragment>
1826
- <ui-view
1827
- class="view"
1828
- >
1829
- <ui-scrollview
1830
- class="scrollview vertical notIndicator"
1831
- >
1832
- <ui-view
1833
- class="view wide"
1834
- >
1835
- <ui-view
1836
- class="view row"
1837
- >
1838
- <ui-text
1839
- class="text bold action"
1840
- >
1841
- finder.label.place_type_count.room
1842
- </ui-text>
1843
- </ui-view>
1844
- <ui-input-number
1845
- class="view row inputNumber"
1846
- data-testid="group-0"
1847
- >
1848
- <ui-view
1849
- class="view texts"
1850
- >
1851
- <ui-label
1852
- class="text paragraph text label"
1853
- >
1854
- common.label.occupation_type_adult
1855
- </ui-label>
1856
- <ui-text
1857
- class="text small text hint hint"
1858
- >
1859
- common.label.age_from
1860
- </ui-text>
1861
- </ui-view>
1862
- <ui-button
1863
- class="pressable button small squared secondary"
1864
- data-testid="group-0-button-min"
1865
- tabindex="0"
1866
- >
1867
- <ui-icon
1868
- class="icon headline-3"
1869
- >
1870
- <svg
1871
- fill="currentColor"
1872
- height="1em"
1873
- stroke="currentColor"
1874
- stroke-width="0"
1875
- viewBox="0 0 24 24"
1876
- width="1em"
1877
- xmlns="http://www.w3.org/2000/svg"
1878
- >
1879
- <path
1880
- d="M0 0h24v24H0V0z"
1881
- fill="none"
1882
- />
1883
- <path
1884
- d="M19 13H5v-2h14v2z"
1885
- />
1886
- </svg>
1887
- </ui-icon>
1888
- </ui-button>
1889
- <ui-text
1890
- class="text paragraph value"
1891
- >
1892
- 2
1893
- </ui-text>
1894
- <ui-button
1895
- class="pressable button small squared secondary"
1896
- data-testid="group-0-button-max"
1897
- tabindex="0"
1898
- >
1899
- <ui-icon
1900
- class="icon headline-3"
1901
- >
1902
- <svg
1903
- fill="currentColor"
1904
- height="1em"
1905
- stroke="currentColor"
1906
- stroke-width="0"
1907
- viewBox="0 0 24 24"
1908
- width="1em"
1909
- xmlns="http://www.w3.org/2000/svg"
1910
- >
1911
- <path
1912
- d="M0 0h24v24H0V0z"
1913
- fill="none"
1914
- />
1915
- <path
1916
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1917
- />
1918
- </svg>
1919
- </ui-icon>
1920
- </ui-button>
1921
- </ui-input-number>
1922
- <ui-input-number
1923
- class="view row inputNumber"
1924
- data-testid="group-1"
1925
- >
1926
- <ui-view
1927
- class="view texts"
1928
- >
1929
- <ui-label
1930
- class="text paragraph text label"
1931
- >
1932
- common.label.occupation_type_child
1933
- </ui-label>
1934
- <ui-text
1935
- class="text small text hint hint"
1936
- >
1937
- common.label.age_up_to
1938
- </ui-text>
1939
- </ui-view>
1940
- <ui-button
1941
- class="pressable disabled button small squared disabled"
1942
- data-testid="group-1-button-min"
1943
- disabled="true"
1944
- >
1945
- <ui-icon
1946
- class="icon headline-3"
1947
- >
1948
- <svg
1949
- fill="currentColor"
1950
- height="1em"
1951
- stroke="currentColor"
1952
- stroke-width="0"
1953
- viewBox="0 0 24 24"
1954
- width="1em"
1955
- xmlns="http://www.w3.org/2000/svg"
1956
- >
1957
- <path
1958
- d="M0 0h24v24H0V0z"
1959
- fill="none"
1960
- />
1961
- <path
1962
- d="M19 13H5v-2h14v2z"
1963
- />
1964
- </svg>
1965
- </ui-icon>
1966
- </ui-button>
1967
- <ui-text
1968
- class="text paragraph value"
1969
- >
1970
- 0
1971
- </ui-text>
1972
- <ui-button
1973
- class="pressable button small squared secondary"
1974
- data-testid="group-1-button-max"
1975
- tabindex="0"
1976
- >
1977
- <ui-icon
1978
- class="icon headline-3"
1979
- >
1980
- <svg
1981
- fill="currentColor"
1982
- height="1em"
1983
- stroke="currentColor"
1984
- stroke-width="0"
1985
- viewBox="0 0 24 24"
1986
- width="1em"
1987
- xmlns="http://www.w3.org/2000/svg"
1988
- >
1989
- <path
1990
- d="M0 0h24v24H0V0z"
1991
- fill="none"
1992
- />
1993
- <path
1994
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1995
- />
1996
- </svg>
1997
- </ui-icon>
1998
- </ui-button>
1999
- </ui-input-number>
2000
- </ui-view>
2001
- </ui-scrollview>
2002
- <ui-view
2003
- class="view row"
2004
- >
2005
- <ui-button
2006
- class="pressable button secondary"
2007
- tabindex="0"
2008
- >
2009
- finder.action.add_place_type.room
2010
- </ui-button>
2011
- </ui-view>
2012
- </ui-view>
2013
- </DocumentFragment>
2014
- `;
2015
-
2016
- exports[`<Occupation> prop:value prop:error 1`] = `
2017
- <DocumentFragment>
2018
- <ui-view
2019
- class="view"
2020
- l10n="[object Object]"
2021
- >
2022
- <ui-notification-error
2023
- class="view row notification error outlined small"
2024
- >
2025
- <ui-icon
2026
- class="icon paragraph"
2027
- >
2028
- <svg
2029
- fill="currentColor"
2030
- height="1em"
2031
- stroke="currentColor"
2032
- stroke-width="0"
2033
- viewBox="0 0 24 24"
2034
- width="1em"
2035
- xmlns="http://www.w3.org/2000/svg"
2036
- >
2037
- <path
2038
- d="M0 0h24v24H0V0z"
2039
- fill="none"
2040
- />
2041
- <path
2042
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
2043
- />
2044
- </svg>
2045
- </ui-icon>
2046
- <ui-view
2047
- class="view texts"
2048
- >
2049
- <ui-text
2050
- class="text small"
2051
- >
2052
- common.notification.error_unfilled_fields
2053
- </ui-text>
2054
- </ui-view>
2055
- </ui-notification-error>
2056
- <ui-scrollview
2057
- class="scrollview vertical notIndicator"
2058
- >
2059
- <ui-view
2060
- class="view wide"
2061
- >
2062
- <ui-view
2063
- class="view row"
2064
- >
2065
- <ui-text
2066
- class="text bold action"
2067
- >
2068
- finder.label.place_type_count.room
2069
- </ui-text>
2070
- <ui-button
2071
- class="pressable button small transparent"
2072
- tabindex="0"
2073
- >
2074
- finder.action.remove
2075
- </ui-button>
2076
- </ui-view>
2077
- <ui-input-number
2078
- class="view row inputNumber"
2079
- data-testid="group-0"
2080
- >
2081
- <ui-view
2082
- class="view texts"
2083
- >
2084
- <ui-label
2085
- class="text paragraph text label"
2086
- >
2087
- common.label.occupation_type_adult
2088
- </ui-label>
2089
- <ui-text
2090
- class="text small text hint hint"
2091
- >
2092
- common.label.age_from
2093
- </ui-text>
2094
- </ui-view>
2095
- <ui-button
2096
- class="pressable disabled button small squared disabled"
2097
- data-testid="group-0-button-min"
2098
- disabled="true"
2099
- >
2100
- <ui-icon
2101
- class="icon headline-3"
2102
- >
2103
- <svg
2104
- fill="currentColor"
2105
- height="1em"
2106
- stroke="currentColor"
2107
- stroke-width="0"
2108
- viewBox="0 0 24 24"
2109
- width="1em"
2110
- xmlns="http://www.w3.org/2000/svg"
2111
- >
2112
- <path
2113
- d="M0 0h24v24H0V0z"
2114
- fill="none"
2115
- />
2116
- <path
2117
- d="M19 13H5v-2h14v2z"
2118
- />
2119
- </svg>
2120
- </ui-icon>
2121
- </ui-button>
2122
- <ui-text
2123
- class="text paragraph value"
2124
- >
2125
- 2
2126
- </ui-text>
2127
- <ui-button
2128
- class="pressable button small squared secondary"
2129
- data-testid="group-0-button-max"
2130
- tabindex="0"
2131
- >
2132
- <ui-icon
2133
- class="icon headline-3"
2134
- >
2135
- <svg
2136
- fill="currentColor"
2137
- height="1em"
2138
- stroke="currentColor"
2139
- stroke-width="0"
2140
- viewBox="0 0 24 24"
2141
- width="1em"
2142
- xmlns="http://www.w3.org/2000/svg"
2143
- >
2144
- <path
2145
- d="M0 0h24v24H0V0z"
2146
- fill="none"
2147
- />
2148
- <path
2149
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2150
- />
2151
- </svg>
2152
- </ui-icon>
2153
- </ui-button>
2154
- </ui-input-number>
2155
- <ui-input-number
2156
- class="view row inputNumber"
2157
- data-testid="group-1"
2158
- >
2159
- <ui-view
2160
- class="view texts"
2161
- >
2162
- <ui-label
2163
- class="text paragraph text label"
2164
- >
2165
- common.label.occupation_type_child
2166
- </ui-label>
2167
- <ui-text
2168
- class="text small text hint hint"
2169
- >
2170
- common.label.age_up_to
2171
- </ui-text>
2172
- </ui-view>
2173
- <ui-button
2174
- class="pressable button small squared secondary"
2175
- data-testid="group-1-button-min"
2176
- tabindex="0"
2177
- >
2178
- <ui-icon
2179
- class="icon headline-3"
2180
- >
2181
- <svg
2182
- fill="currentColor"
2183
- height="1em"
2184
- stroke="currentColor"
2185
- stroke-width="0"
2186
- viewBox="0 0 24 24"
2187
- width="1em"
2188
- xmlns="http://www.w3.org/2000/svg"
2189
- >
2190
- <path
2191
- d="M0 0h24v24H0V0z"
2192
- fill="none"
2193
- />
2194
- <path
2195
- d="M19 13H5v-2h14v2z"
2196
- />
2197
- </svg>
2198
- </ui-icon>
2199
- </ui-button>
2200
- <ui-text
2201
- class="text paragraph value"
2202
- >
2203
- 2
2204
- </ui-text>
2205
- <ui-button
2206
- class="pressable disabled button small squared disabled"
2207
- data-testid="group-1-button-max"
2208
- disabled="true"
2209
- >
2210
- <ui-icon
2211
- class="icon headline-3"
2212
- >
2213
- <svg
2214
- fill="currentColor"
2215
- height="1em"
2216
- stroke="currentColor"
2217
- stroke-width="0"
2218
- viewBox="0 0 24 24"
2219
- width="1em"
2220
- xmlns="http://www.w3.org/2000/svg"
2221
- >
2222
- <path
2223
- d="M0 0h24v24H0V0z"
2224
- fill="none"
2225
- />
2226
- <path
2227
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2228
- />
2229
- </svg>
2230
- </ui-icon>
2231
- </ui-button>
2232
- </ui-input-number>
2233
- <ui-view
2234
- class="view"
2235
- >
2236
- <ui-view
2237
- class="view row"
2238
- >
2239
- <ui-input-select
2240
- class="view inputContainer"
2241
- >
2242
- <ui-view
2243
- class="view row inputBorder"
2244
- >
2245
- <ui-view
2246
- class="view wide content"
2247
- >
2248
- <select
2249
- class="select input"
2250
- data-testid="group-1-select-0"
2251
- name="age-0,17"
2252
- >
2253
- <option
2254
- value=""
2255
- >
2256
- common.label.age
2257
- </option>
2258
- <option
2259
- value="0"
2260
- >
2261
- 0
2262
- </option>
2263
- <option
2264
- value="1"
2265
- >
2266
- 1
2267
- </option>
2268
- <option
2269
- value="2"
2270
- >
2271
- 2
2272
- </option>
2273
- <option
2274
- value="3"
2275
- >
2276
- 3
2277
- </option>
2278
- <option
2279
- value="4"
2280
- >
2281
- 4
2282
- </option>
2283
- <option
2284
- value="5"
2285
- >
2286
- 5
2287
- </option>
2288
- <option
2289
- value="6"
2290
- >
2291
- 6
2292
- </option>
2293
- <option
2294
- value="7"
2295
- >
2296
- 7
2297
- </option>
2298
- <option
2299
- value="8"
2300
- >
2301
- 8
2302
- </option>
2303
- <option
2304
- value="9"
2305
- >
2306
- 9
2307
- </option>
2308
- <option
2309
- value="10"
2310
- >
2311
- 10
2312
- </option>
2313
- <option
2314
- value="11"
2315
- >
2316
- 11
2317
- </option>
2318
- <option
2319
- value="12"
2320
- >
2321
- 12
2322
- </option>
2323
- <option
2324
- value="13"
2325
- >
2326
- 13
2327
- </option>
2328
- <option
2329
- value="14"
2330
- >
2331
- 14
2332
- </option>
2333
- <option
2334
- value="15"
2335
- >
2336
- 15
2337
- </option>
2338
- <option
2339
- value="16"
2340
- >
2341
- 16
2342
- </option>
2343
- <option
2344
- value="17"
2345
- >
2346
- 17
2347
- </option>
2348
- </select>
2349
- </ui-view>
2350
- <ui-icon
2351
- class="icon headline-3 icon expand"
2352
- >
2353
- <svg
2354
- fill="currentColor"
2355
- height="1em"
2356
- stroke="currentColor"
2357
- stroke-width="0"
2358
- viewBox="0 0 24 24"
2359
- width="1em"
2360
- xmlns="http://www.w3.org/2000/svg"
2361
- >
2362
- <path
2363
- d="M24 24H0V0h24v24z"
2364
- fill="none"
2365
- opacity=".87"
2366
- />
2367
- <path
2368
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
2369
- />
2370
- </svg>
2371
- </ui-icon>
2372
- </ui-view>
2373
- </ui-input-select>
2374
- <ui-input-select
2375
- class="view inputContainer"
2376
- >
2377
- <ui-view
2378
- class="view row inputBorder"
2379
- >
2380
- <ui-view
2381
- class="view wide content"
2382
- >
2383
- <select
2384
- class="select input"
2385
- data-testid="group-1-select-1"
2386
- name="age-0,17"
2387
- >
2388
- <option
2389
- value=""
2390
- >
2391
- common.label.age
2392
- </option>
2393
- <option
2394
- value="0"
2395
- >
2396
- 0
2397
- </option>
2398
- <option
2399
- value="1"
2400
- >
2401
- 1
2402
- </option>
2403
- <option
2404
- value="2"
2405
- >
2406
- 2
2407
- </option>
2408
- <option
2409
- value="3"
2410
- >
2411
- 3
2412
- </option>
2413
- <option
2414
- value="4"
2415
- >
2416
- 4
2417
- </option>
2418
- <option
2419
- value="5"
2420
- >
2421
- 5
2422
- </option>
2423
- <option
2424
- value="6"
2425
- >
2426
- 6
2427
- </option>
2428
- <option
2429
- value="7"
2430
- >
2431
- 7
2432
- </option>
2433
- <option
2434
- value="8"
2435
- >
2436
- 8
2437
- </option>
2438
- <option
2439
- value="9"
2440
- >
2441
- 9
2442
- </option>
2443
- <option
2444
- value="10"
2445
- >
2446
- 10
2447
- </option>
2448
- <option
2449
- value="11"
2450
- >
2451
- 11
2452
- </option>
2453
- <option
2454
- value="12"
2455
- >
2456
- 12
2457
- </option>
2458
- <option
2459
- value="13"
2460
- >
2461
- 13
2462
- </option>
2463
- <option
2464
- value="14"
2465
- >
2466
- 14
2467
- </option>
2468
- <option
2469
- value="15"
2470
- >
2471
- 15
2472
- </option>
2473
- <option
2474
- value="16"
2475
- >
2476
- 16
2477
- </option>
2478
- <option
2479
- value="17"
2480
- >
2481
- 17
2482
- </option>
2483
- </select>
2484
- </ui-view>
2485
- <ui-icon
2486
- class="icon headline-3 icon expand"
2487
- >
2488
- <svg
2489
- fill="currentColor"
2490
- height="1em"
2491
- stroke="currentColor"
2492
- stroke-width="0"
2493
- viewBox="0 0 24 24"
2494
- width="1em"
2495
- xmlns="http://www.w3.org/2000/svg"
2496
- >
2497
- <path
2498
- d="M24 24H0V0h24v24z"
2499
- fill="none"
2500
- opacity=".87"
2501
- />
2502
- <path
2503
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
2504
- />
2505
- </svg>
2506
- </ui-icon>
2507
- </ui-view>
2508
- </ui-input-select>
2509
- </ui-view>
2510
- <ui-text
2511
- class="text light small"
2512
- >
2513
- common.label.age_hint
2514
- </ui-text>
2515
- </ui-view>
2516
- </ui-view>
2517
- <ui-view
2518
- class="view wide"
2519
- >
2520
- <ui-view
2521
- class="view row"
2522
- >
2523
- <ui-text
2524
- class="text bold action"
2525
- >
2526
- finder.label.place_type_count.room
2527
- </ui-text>
2528
- <ui-button
2529
- class="pressable button small transparent"
2530
- tabindex="0"
2531
- >
2532
- finder.action.remove
2533
- </ui-button>
2534
- </ui-view>
2535
- <ui-input-number
2536
- class="view row inputNumber"
2537
- data-testid="group-0"
2538
- >
2539
- <ui-view
2540
- class="view texts"
2541
- >
2542
- <ui-label
2543
- class="text paragraph text label"
2544
- >
2545
- common.label.occupation_type_adult
2546
- </ui-label>
2547
- <ui-text
2548
- class="text small text hint hint"
2549
- >
2550
- common.label.age_from
2551
- </ui-text>
2552
- </ui-view>
2553
- <ui-button
2554
- class="pressable disabled button small squared disabled"
2555
- data-testid="group-0-button-min"
2556
- disabled="true"
2557
- >
2558
- <ui-icon
2559
- class="icon headline-3"
2560
- >
2561
- <svg
2562
- fill="currentColor"
2563
- height="1em"
2564
- stroke="currentColor"
2565
- stroke-width="0"
2566
- viewBox="0 0 24 24"
2567
- width="1em"
2568
- xmlns="http://www.w3.org/2000/svg"
2569
- >
2570
- <path
2571
- d="M0 0h24v24H0V0z"
2572
- fill="none"
2573
- />
2574
- <path
2575
- d="M19 13H5v-2h14v2z"
2576
- />
2577
- </svg>
2578
- </ui-icon>
2579
- </ui-button>
2580
- <ui-text
2581
- class="text paragraph value"
2582
- >
2583
- 2
2584
- </ui-text>
2585
- <ui-button
2586
- class="pressable button small squared secondary"
2587
- data-testid="group-0-button-max"
2588
- tabindex="0"
2589
- >
2590
- <ui-icon
2591
- class="icon headline-3"
2592
- >
2593
- <svg
2594
- fill="currentColor"
2595
- height="1em"
2596
- stroke="currentColor"
2597
- stroke-width="0"
2598
- viewBox="0 0 24 24"
2599
- width="1em"
2600
- xmlns="http://www.w3.org/2000/svg"
2601
- >
2602
- <path
2603
- d="M0 0h24v24H0V0z"
2604
- fill="none"
2605
- />
2606
- <path
2607
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2608
- />
2609
- </svg>
2610
- </ui-icon>
2611
- </ui-button>
2612
- </ui-input-number>
2613
- <ui-input-number
2614
- class="view row inputNumber"
2615
- data-testid="group-1"
2616
- >
2617
- <ui-view
2618
- class="view texts"
2619
- >
2620
- <ui-label
2621
- class="text paragraph text label"
2622
- >
2623
- common.label.occupation_type_child
2624
- </ui-label>
2625
- <ui-text
2626
- class="text small text hint hint"
2627
- >
2628
- common.label.age_up_to
2629
- </ui-text>
2630
- </ui-view>
2631
- <ui-button
2632
- class="pressable disabled button small squared disabled"
2633
- data-testid="group-1-button-min"
2634
- disabled="true"
2635
- >
2636
- <ui-icon
2637
- class="icon headline-3"
2638
- >
2639
- <svg
2640
- fill="currentColor"
2641
- height="1em"
2642
- stroke="currentColor"
2643
- stroke-width="0"
2644
- viewBox="0 0 24 24"
2645
- width="1em"
2646
- xmlns="http://www.w3.org/2000/svg"
2647
- >
2648
- <path
2649
- d="M0 0h24v24H0V0z"
2650
- fill="none"
2651
- />
2652
- <path
2653
- d="M19 13H5v-2h14v2z"
2654
- />
2655
- </svg>
2656
- </ui-icon>
2657
- </ui-button>
2658
- <ui-text
2659
- class="text paragraph value"
2660
- >
2661
- 0
2662
- </ui-text>
2663
- <ui-button
2664
- class="pressable button small squared secondary"
2665
- data-testid="group-1-button-max"
2666
- tabindex="0"
2667
- >
2668
- <ui-icon
2669
- class="icon headline-3"
2670
- >
2671
- <svg
2672
- fill="currentColor"
2673
- height="1em"
2674
- stroke="currentColor"
2675
- stroke-width="0"
2676
- viewBox="0 0 24 24"
2677
- width="1em"
2678
- xmlns="http://www.w3.org/2000/svg"
2679
- >
2680
- <path
2681
- d="M0 0h24v24H0V0z"
2682
- fill="none"
2683
- />
2684
- <path
2685
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2686
- />
2687
- </svg>
2688
- </ui-icon>
2689
- </ui-button>
2690
- </ui-input-number>
2691
- </ui-view>
2692
- </ui-scrollview>
2693
- <ui-view
2694
- class="view row"
2695
- >
2696
- <ui-button
2697
- class="pressable button secondary"
2698
- tabindex="0"
2699
- >
2700
- finder.action.add_place_type.room
2701
- </ui-button>
2702
- </ui-view>
2703
- </ui-view>
2704
- </DocumentFragment>
2705
- `;
2706
-
2707
- exports[`<Occupation> removing a room 1`] = `
2708
- <DocumentFragment>
2709
- <ui-view
2710
- class="view"
2711
- data-testid="occupation"
2712
- l10n="[object Object]"
2713
- >
2714
- <ui-scrollview
2715
- class="scrollview vertical notIndicator"
2716
- >
2717
- <ui-view
2718
- class="view wide"
2719
- >
2720
- <ui-view
2721
- class="view row"
2722
- >
2723
- <ui-text
2724
- class="text bold action"
2725
- >
2726
- finder.label.place_type_count.room
2727
- </ui-text>
2728
- <ui-button
2729
- class="pressable button small transparent"
2730
- data-testid="occupation-remove-room-0"
2731
- tabindex="0"
2732
- >
2733
- finder.action.remove
2734
- </ui-button>
2735
- </ui-view>
2736
- <ui-input-number
2737
- class="view row inputNumber"
2738
- data-testid="group-0"
2739
- >
2740
- <ui-view
2741
- class="view texts"
2742
- >
2743
- <ui-label
2744
- class="text paragraph text label"
2745
- >
2746
- common.label.occupation_type_adult
2747
- </ui-label>
2748
- <ui-text
2749
- class="text small text hint hint"
2750
- >
2751
- common.label.age_from
2752
- </ui-text>
2753
- </ui-view>
2754
- <ui-button
2755
- class="pressable disabled button small squared disabled"
2756
- data-testid="group-0-button-min"
2757
- disabled="true"
2758
- >
2759
- <ui-icon
2760
- class="icon headline-3"
2761
- >
2762
- <svg
2763
- fill="currentColor"
2764
- height="1em"
2765
- stroke="currentColor"
2766
- stroke-width="0"
2767
- viewBox="0 0 24 24"
2768
- width="1em"
2769
- xmlns="http://www.w3.org/2000/svg"
2770
- >
2771
- <path
2772
- d="M0 0h24v24H0V0z"
2773
- fill="none"
2774
- />
2775
- <path
2776
- d="M19 13H5v-2h14v2z"
2777
- />
2778
- </svg>
2779
- </ui-icon>
2780
- </ui-button>
2781
- <ui-text
2782
- class="text paragraph value"
2783
- >
2784
- 2
2785
- </ui-text>
2786
- <ui-button
2787
- class="pressable button small squared secondary"
2788
- data-testid="group-0-button-max"
2789
- tabindex="0"
2790
- >
2791
- <ui-icon
2792
- class="icon headline-3"
2793
- >
2794
- <svg
2795
- fill="currentColor"
2796
- height="1em"
2797
- stroke="currentColor"
2798
- stroke-width="0"
2799
- viewBox="0 0 24 24"
2800
- width="1em"
2801
- xmlns="http://www.w3.org/2000/svg"
2802
- >
2803
- <path
2804
- d="M0 0h24v24H0V0z"
2805
- fill="none"
2806
- />
2807
- <path
2808
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2809
- />
2810
- </svg>
2811
- </ui-icon>
2812
- </ui-button>
2813
- </ui-input-number>
2814
- <ui-input-number
2815
- class="view row inputNumber"
2816
- data-testid="group-1"
2817
- >
2818
- <ui-view
2819
- class="view texts"
2820
- >
2821
- <ui-label
2822
- class="text paragraph text label"
2823
- >
2824
- common.label.occupation_type_child
2825
- </ui-label>
2826
- <ui-text
2827
- class="text small text hint hint"
2828
- >
2829
- common.label.age_up_to
2830
- </ui-text>
2831
- </ui-view>
2832
- <ui-button
2833
- class="pressable button small squared secondary"
2834
- data-testid="group-1-button-min"
2835
- tabindex="0"
2836
- >
2837
- <ui-icon
2838
- class="icon headline-3"
2839
- >
2840
- <svg
2841
- fill="currentColor"
2842
- height="1em"
2843
- stroke="currentColor"
2844
- stroke-width="0"
2845
- viewBox="0 0 24 24"
2846
- width="1em"
2847
- xmlns="http://www.w3.org/2000/svg"
2848
- >
2849
- <path
2850
- d="M0 0h24v24H0V0z"
2851
- fill="none"
2852
- />
2853
- <path
2854
- d="M19 13H5v-2h14v2z"
2855
- />
2856
- </svg>
2857
- </ui-icon>
2858
- </ui-button>
2859
- <ui-text
2860
- class="text paragraph value"
2861
- >
2862
- 2
2863
- </ui-text>
2864
- <ui-button
2865
- class="pressable disabled button small squared disabled"
2866
- data-testid="group-1-button-max"
2867
- disabled="true"
2868
- >
2869
- <ui-icon
2870
- class="icon headline-3"
2871
- >
2872
- <svg
2873
- fill="currentColor"
2874
- height="1em"
2875
- stroke="currentColor"
2876
- stroke-width="0"
2877
- viewBox="0 0 24 24"
2878
- width="1em"
2879
- xmlns="http://www.w3.org/2000/svg"
2880
- >
2881
- <path
2882
- d="M0 0h24v24H0V0z"
2883
- fill="none"
2884
- />
2885
- <path
2886
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2887
- />
2888
- </svg>
2889
- </ui-icon>
2890
- </ui-button>
2891
- </ui-input-number>
2892
- <ui-view
2893
- class="view"
2894
- >
2895
- <ui-view
2896
- class="view row"
2897
- >
2898
- <ui-input-select
2899
- class="view inputContainer"
2900
- >
2901
- <ui-view
2902
- class="view row inputBorder"
2903
- >
2904
- <ui-view
2905
- class="view wide content"
2906
- >
2907
- <select
2908
- class="select input"
2909
- data-testid="group-1-select-0"
2910
- name="age-0,17"
2911
- >
2912
- <option
2913
- value=""
2914
- >
2915
- common.label.age
2916
- </option>
2917
- <option
2918
- value="0"
2919
- >
2920
- 0
2921
- </option>
2922
- <option
2923
- value="1"
2924
- >
2925
- 1
2926
- </option>
2927
- <option
2928
- value="2"
2929
- >
2930
- 2
2931
- </option>
2932
- <option
2933
- value="3"
2934
- >
2935
- 3
2936
- </option>
2937
- <option
2938
- value="4"
2939
- >
2940
- 4
2941
- </option>
2942
- <option
2943
- value="5"
2944
- >
2945
- 5
2946
- </option>
2947
- <option
2948
- value="6"
2949
- >
2950
- 6
2951
- </option>
2952
- <option
2953
- value="7"
2954
- >
2955
- 7
2956
- </option>
2957
- <option
2958
- value="8"
2959
- >
2960
- 8
2961
- </option>
2962
- <option
2963
- value="9"
2964
- >
2965
- 9
2966
- </option>
2967
- <option
2968
- value="10"
2969
- >
2970
- 10
2971
- </option>
2972
- <option
2973
- value="11"
2974
- >
2975
- 11
2976
- </option>
2977
- <option
2978
- value="12"
2979
- >
2980
- 12
2981
- </option>
2982
- <option
2983
- value="13"
2984
- >
2985
- 13
2986
- </option>
2987
- <option
2988
- value="14"
2989
- >
2990
- 14
2991
- </option>
2992
- <option
2993
- value="15"
2994
- >
2995
- 15
2996
- </option>
2997
- <option
2998
- value="16"
2999
- >
3000
- 16
3001
- </option>
3002
- <option
3003
- value="17"
3004
- >
3005
- 17
3006
- </option>
3007
- </select>
3008
- </ui-view>
3009
- <ui-icon
3010
- class="icon headline-3 icon expand"
3011
- >
3012
- <svg
3013
- fill="currentColor"
3014
- height="1em"
3015
- stroke="currentColor"
3016
- stroke-width="0"
3017
- viewBox="0 0 24 24"
3018
- width="1em"
3019
- xmlns="http://www.w3.org/2000/svg"
3020
- >
3021
- <path
3022
- d="M24 24H0V0h24v24z"
3023
- fill="none"
3024
- opacity=".87"
3025
- />
3026
- <path
3027
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
3028
- />
3029
- </svg>
3030
- </ui-icon>
3031
- </ui-view>
3032
- </ui-input-select>
3033
- <ui-input-select
3034
- class="view inputContainer"
3035
- >
3036
- <ui-view
3037
- class="view row inputBorder"
3038
- >
3039
- <ui-view
3040
- class="view wide content"
3041
- >
3042
- <select
3043
- class="select input"
3044
- data-testid="group-1-select-1"
3045
- name="age-0,17"
3046
- >
3047
- <option
3048
- value=""
3049
- >
3050
- common.label.age
3051
- </option>
3052
- <option
3053
- value="0"
3054
- >
3055
- 0
3056
- </option>
3057
- <option
3058
- value="1"
3059
- >
3060
- 1
3061
- </option>
3062
- <option
3063
- value="2"
3064
- >
3065
- 2
3066
- </option>
3067
- <option
3068
- value="3"
3069
- >
3070
- 3
3071
- </option>
3072
- <option
3073
- value="4"
3074
- >
3075
- 4
3076
- </option>
3077
- <option
3078
- value="5"
3079
- >
3080
- 5
3081
- </option>
3082
- <option
3083
- value="6"
3084
- >
3085
- 6
3086
- </option>
3087
- <option
3088
- value="7"
3089
- >
3090
- 7
3091
- </option>
3092
- <option
3093
- value="8"
3094
- >
3095
- 8
3096
- </option>
3097
- <option
3098
- value="9"
3099
- >
3100
- 9
3101
- </option>
3102
- <option
3103
- value="10"
3104
- >
3105
- 10
3106
- </option>
3107
- <option
3108
- value="11"
3109
- >
3110
- 11
3111
- </option>
3112
- <option
3113
- value="12"
3114
- >
3115
- 12
3116
- </option>
3117
- <option
3118
- value="13"
3119
- >
3120
- 13
3121
- </option>
3122
- <option
3123
- value="14"
3124
- >
3125
- 14
3126
- </option>
3127
- <option
3128
- value="15"
3129
- >
3130
- 15
3131
- </option>
3132
- <option
3133
- value="16"
3134
- >
3135
- 16
3136
- </option>
3137
- <option
3138
- value="17"
3139
- >
3140
- 17
3141
- </option>
3142
- </select>
3143
- </ui-view>
3144
- <ui-icon
3145
- class="icon headline-3 icon expand"
3146
- >
3147
- <svg
3148
- fill="currentColor"
3149
- height="1em"
3150
- stroke="currentColor"
3151
- stroke-width="0"
3152
- viewBox="0 0 24 24"
3153
- width="1em"
3154
- xmlns="http://www.w3.org/2000/svg"
3155
- >
3156
- <path
3157
- d="M24 24H0V0h24v24z"
3158
- fill="none"
3159
- opacity=".87"
3160
- />
3161
- <path
3162
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
3163
- />
3164
- </svg>
3165
- </ui-icon>
3166
- </ui-view>
3167
- </ui-input-select>
3168
- </ui-view>
3169
- <ui-text
3170
- class="text light small"
3171
- >
3172
- common.label.age_hint
3173
- </ui-text>
3174
- </ui-view>
3175
- </ui-view>
3176
- <ui-view
3177
- class="view wide"
3178
- >
3179
- <ui-view
3180
- class="view row"
3181
- >
3182
- <ui-text
3183
- class="text bold action"
3184
- >
3185
- finder.label.place_type_count.room
3186
- </ui-text>
3187
- <ui-button
3188
- class="pressable button small transparent"
3189
- data-testid="occupation-remove-room-1"
3190
- tabindex="0"
3191
- >
3192
- finder.action.remove
3193
- </ui-button>
3194
- </ui-view>
3195
- <ui-input-number
3196
- class="view row inputNumber"
3197
- data-testid="group-0"
3198
- >
3199
- <ui-view
3200
- class="view texts"
3201
- >
3202
- <ui-label
3203
- class="text paragraph text label"
3204
- >
3205
- common.label.occupation_type_adult
3206
- </ui-label>
3207
- <ui-text
3208
- class="text small text hint hint"
3209
- >
3210
- common.label.age_from
3211
- </ui-text>
3212
- </ui-view>
3213
- <ui-button
3214
- class="pressable disabled button small squared disabled"
3215
- data-testid="group-0-button-min"
3216
- disabled="true"
3217
- >
3218
- <ui-icon
3219
- class="icon headline-3"
3220
- >
3221
- <svg
3222
- fill="currentColor"
3223
- height="1em"
3224
- stroke="currentColor"
3225
- stroke-width="0"
3226
- viewBox="0 0 24 24"
3227
- width="1em"
3228
- xmlns="http://www.w3.org/2000/svg"
3229
- >
3230
- <path
3231
- d="M0 0h24v24H0V0z"
3232
- fill="none"
3233
- />
3234
- <path
3235
- d="M19 13H5v-2h14v2z"
3236
- />
3237
- </svg>
3238
- </ui-icon>
3239
- </ui-button>
3240
- <ui-text
3241
- class="text paragraph value"
3242
- >
3243
- 2
3244
- </ui-text>
3245
- <ui-button
3246
- class="pressable button small squared secondary"
3247
- data-testid="group-0-button-max"
3248
- tabindex="0"
3249
- >
3250
- <ui-icon
3251
- class="icon headline-3"
3252
- >
3253
- <svg
3254
- fill="currentColor"
3255
- height="1em"
3256
- stroke="currentColor"
3257
- stroke-width="0"
3258
- viewBox="0 0 24 24"
3259
- width="1em"
3260
- xmlns="http://www.w3.org/2000/svg"
3261
- >
3262
- <path
3263
- d="M0 0h24v24H0V0z"
3264
- fill="none"
3265
- />
3266
- <path
3267
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3268
- />
3269
- </svg>
3270
- </ui-icon>
3271
- </ui-button>
3272
- </ui-input-number>
3273
- <ui-input-number
3274
- class="view row inputNumber"
3275
- data-testid="group-1"
3276
- >
3277
- <ui-view
3278
- class="view texts"
3279
- >
3280
- <ui-label
3281
- class="text paragraph text label"
3282
- >
3283
- common.label.occupation_type_child
3284
- </ui-label>
3285
- <ui-text
3286
- class="text small text hint hint"
3287
- >
3288
- common.label.age_up_to
3289
- </ui-text>
3290
- </ui-view>
3291
- <ui-button
3292
- class="pressable disabled button small squared disabled"
3293
- data-testid="group-1-button-min"
3294
- disabled="true"
3295
- >
3296
- <ui-icon
3297
- class="icon headline-3"
3298
- >
3299
- <svg
3300
- fill="currentColor"
3301
- height="1em"
3302
- stroke="currentColor"
3303
- stroke-width="0"
3304
- viewBox="0 0 24 24"
3305
- width="1em"
3306
- xmlns="http://www.w3.org/2000/svg"
3307
- >
3308
- <path
3309
- d="M0 0h24v24H0V0z"
3310
- fill="none"
3311
- />
3312
- <path
3313
- d="M19 13H5v-2h14v2z"
3314
- />
3315
- </svg>
3316
- </ui-icon>
3317
- </ui-button>
3318
- <ui-text
3319
- class="text paragraph value"
3320
- >
3321
- 0
3322
- </ui-text>
3323
- <ui-button
3324
- class="pressable button small squared secondary"
3325
- data-testid="group-1-button-max"
3326
- tabindex="0"
3327
- >
3328
- <ui-icon
3329
- class="icon headline-3"
3330
- >
3331
- <svg
3332
- fill="currentColor"
3333
- height="1em"
3334
- stroke="currentColor"
3335
- stroke-width="0"
3336
- viewBox="0 0 24 24"
3337
- width="1em"
3338
- xmlns="http://www.w3.org/2000/svg"
3339
- >
3340
- <path
3341
- d="M0 0h24v24H0V0z"
3342
- fill="none"
3343
- />
3344
- <path
3345
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3346
- />
3347
- </svg>
3348
- </ui-icon>
3349
- </ui-button>
3350
- </ui-input-number>
3351
- </ui-view>
3352
- </ui-scrollview>
3353
- <ui-view
3354
- class="view row"
3355
- >
3356
- <ui-button
3357
- class="pressable button secondary"
3358
- data-testid="occupation-add-room"
3359
- tabindex="0"
3360
- >
3361
- finder.action.add_place_type.room
3362
- </ui-button>
3363
- </ui-view>
3364
- </ui-view>
3365
- </DocumentFragment>
3366
- `;
3367
-
3368
- exports[`<Occupation> renders 1`] = `
3369
- <DocumentFragment>
3370
- <ui-view
3371
- class="view"
3372
- l10n="[object Object]"
3373
- >
3374
- <ui-scrollview
3375
- class="scrollview vertical notIndicator"
3376
- >
3377
- <ui-view
3378
- class="view wide"
3379
- >
3380
- <ui-view
3381
- class="view row"
3382
- >
3383
- <ui-text
3384
- class="text bold action"
3385
- >
3386
- finder.label.place_type_count.room
3387
- </ui-text>
3388
- </ui-view>
3389
- <ui-input-number
3390
- class="view row inputNumber"
3391
- data-testid="group-0"
3392
- >
3393
- <ui-view
3394
- class="view texts"
3395
- >
3396
- <ui-label
3397
- class="text paragraph text label"
3398
- >
3399
- common.label.occupation_type_adult
3400
- </ui-label>
3401
- <ui-text
3402
- class="text small text hint hint"
3403
- >
3404
- common.label.age_from
3405
- </ui-text>
3406
- </ui-view>
3407
- <ui-button
3408
- class="pressable button small squared secondary"
3409
- data-testid="group-0-button-min"
3410
- tabindex="0"
3411
- >
3412
- <ui-icon
3413
- class="icon headline-3"
3414
- >
3415
- <svg
3416
- fill="currentColor"
3417
- height="1em"
3418
- stroke="currentColor"
3419
- stroke-width="0"
3420
- viewBox="0 0 24 24"
3421
- width="1em"
3422
- xmlns="http://www.w3.org/2000/svg"
3423
- >
3424
- <path
3425
- d="M0 0h24v24H0V0z"
3426
- fill="none"
3427
- />
3428
- <path
3429
- d="M19 13H5v-2h14v2z"
3430
- />
3431
- </svg>
3432
- </ui-icon>
3433
- </ui-button>
3434
- <ui-text
3435
- class="text paragraph value"
3436
- >
3437
- 2
3438
- </ui-text>
3439
- <ui-button
3440
- class="pressable button small squared secondary"
3441
- data-testid="group-0-button-max"
3442
- tabindex="0"
3443
- >
3444
- <ui-icon
3445
- class="icon headline-3"
3446
- >
3447
- <svg
3448
- fill="currentColor"
3449
- height="1em"
3450
- stroke="currentColor"
3451
- stroke-width="0"
3452
- viewBox="0 0 24 24"
3453
- width="1em"
3454
- xmlns="http://www.w3.org/2000/svg"
3455
- >
3456
- <path
3457
- d="M0 0h24v24H0V0z"
3458
- fill="none"
3459
- />
3460
- <path
3461
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3462
- />
3463
- </svg>
3464
- </ui-icon>
3465
- </ui-button>
3466
- </ui-input-number>
3467
- <ui-input-number
3468
- class="view row inputNumber"
3469
- data-testid="group-1"
3470
- >
3471
- <ui-view
3472
- class="view texts"
3473
- >
3474
- <ui-label
3475
- class="text paragraph text label"
3476
- >
3477
- common.label.occupation_type_child
3478
- </ui-label>
3479
- <ui-text
3480
- class="text small text hint hint"
3481
- >
3482
- common.label.age_up_to
3483
- </ui-text>
3484
- </ui-view>
3485
- <ui-button
3486
- class="pressable disabled button small squared disabled"
3487
- data-testid="group-1-button-min"
3488
- disabled="true"
3489
- >
3490
- <ui-icon
3491
- class="icon headline-3"
3492
- >
3493
- <svg
3494
- fill="currentColor"
3495
- height="1em"
3496
- stroke="currentColor"
3497
- stroke-width="0"
3498
- viewBox="0 0 24 24"
3499
- width="1em"
3500
- xmlns="http://www.w3.org/2000/svg"
3501
- >
3502
- <path
3503
- d="M0 0h24v24H0V0z"
3504
- fill="none"
3505
- />
3506
- <path
3507
- d="M19 13H5v-2h14v2z"
3508
- />
3509
- </svg>
3510
- </ui-icon>
3511
- </ui-button>
3512
- <ui-text
3513
- class="text paragraph value"
3514
- >
3515
- 0
3516
- </ui-text>
3517
- <ui-button
3518
- class="pressable button small squared secondary"
3519
- data-testid="group-1-button-max"
3520
- tabindex="0"
3521
- >
3522
- <ui-icon
3523
- class="icon headline-3"
3524
- >
3525
- <svg
3526
- fill="currentColor"
3527
- height="1em"
3528
- stroke="currentColor"
3529
- stroke-width="0"
3530
- viewBox="0 0 24 24"
3531
- width="1em"
3532
- xmlns="http://www.w3.org/2000/svg"
3533
- >
3534
- <path
3535
- d="M0 0h24v24H0V0z"
3536
- fill="none"
3537
- />
3538
- <path
3539
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3540
- />
3541
- </svg>
3542
- </ui-icon>
3543
- </ui-button>
3544
- </ui-input-number>
3545
- </ui-view>
3546
- </ui-scrollview>
3547
- <ui-view
3548
- class="view row"
3549
- >
3550
- <ui-button
3551
- class="pressable button secondary"
3552
- tabindex="0"
3553
- >
3554
- finder.action.add_place_type.room
3555
- </ui-button>
3556
- </ui-view>
3557
- </ui-view>
3558
- </DocumentFragment>
3559
- `;
3560
-
3561
- exports[`<Occupation> testID 1`] = `
3562
- <DocumentFragment>
3563
- <ui-view
3564
- class="view"
3565
- data-testid="mirai"
3566
- l10n="[object Object]"
3567
- >
3568
- <ui-scrollview
3569
- class="scrollview vertical notIndicator"
3570
- >
3571
- <ui-view
3572
- class="view wide"
3573
- >
3574
- <ui-view
3575
- class="view row"
3576
- >
3577
- <ui-text
3578
- class="text bold action"
3579
- >
3580
- finder.label.place_type_count.room
3581
- </ui-text>
3582
- </ui-view>
3583
- <ui-input-number
3584
- class="view row inputNumber"
3585
- data-testid="group-0"
3586
- >
3587
- <ui-view
3588
- class="view texts"
3589
- >
3590
- <ui-label
3591
- class="text paragraph text label"
3592
- >
3593
- common.label.occupation_type_adult
3594
- </ui-label>
3595
- <ui-text
3596
- class="text small text hint hint"
3597
- >
3598
- common.label.age_from
3599
- </ui-text>
3600
- </ui-view>
3601
- <ui-button
3602
- class="pressable disabled button small squared disabled"
3603
- data-testid="group-0-button-min"
3604
- disabled="true"
3605
- >
3606
- <ui-icon
3607
- class="icon headline-3"
3608
- >
3609
- <svg
3610
- fill="currentColor"
3611
- height="1em"
3612
- stroke="currentColor"
3613
- stroke-width="0"
3614
- viewBox="0 0 24 24"
3615
- width="1em"
3616
- xmlns="http://www.w3.org/2000/svg"
3617
- >
3618
- <path
3619
- d="M0 0h24v24H0V0z"
3620
- fill="none"
3621
- />
3622
- <path
3623
- d="M19 13H5v-2h14v2z"
3624
- />
3625
- </svg>
3626
- </ui-icon>
3627
- </ui-button>
3628
- <ui-text
3629
- class="text paragraph value"
3630
- >
3631
- 2
3632
- </ui-text>
3633
- <ui-button
3634
- class="pressable button small squared secondary"
3635
- data-testid="group-0-button-max"
3636
- tabindex="0"
3637
- >
3638
- <ui-icon
3639
- class="icon headline-3"
3640
- >
3641
- <svg
3642
- fill="currentColor"
3643
- height="1em"
3644
- stroke="currentColor"
3645
- stroke-width="0"
3646
- viewBox="0 0 24 24"
3647
- width="1em"
3648
- xmlns="http://www.w3.org/2000/svg"
3649
- >
3650
- <path
3651
- d="M0 0h24v24H0V0z"
3652
- fill="none"
3653
- />
3654
- <path
3655
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3656
- />
3657
- </svg>
3658
- </ui-icon>
3659
- </ui-button>
3660
- </ui-input-number>
3661
- <ui-input-number
3662
- class="view row inputNumber"
3663
- data-testid="group-1"
3664
- >
3665
- <ui-view
3666
- class="view texts"
3667
- >
3668
- <ui-label
3669
- class="text paragraph text label"
3670
- >
3671
- common.label.occupation_type_child
3672
- </ui-label>
3673
- <ui-text
3674
- class="text small text hint hint"
3675
- >
3676
- common.label.age_up_to
3677
- </ui-text>
3678
- </ui-view>
3679
- <ui-button
3680
- class="pressable disabled button small squared disabled"
3681
- data-testid="group-1-button-min"
3682
- disabled="true"
3683
- >
3684
- <ui-icon
3685
- class="icon headline-3"
3686
- >
3687
- <svg
3688
- fill="currentColor"
3689
- height="1em"
3690
- stroke="currentColor"
3691
- stroke-width="0"
3692
- viewBox="0 0 24 24"
3693
- width="1em"
3694
- xmlns="http://www.w3.org/2000/svg"
3695
- >
3696
- <path
3697
- d="M0 0h24v24H0V0z"
3698
- fill="none"
3699
- />
3700
- <path
3701
- d="M19 13H5v-2h14v2z"
3702
- />
3703
- </svg>
3704
- </ui-icon>
3705
- </ui-button>
3706
- <ui-text
3707
- class="text paragraph value"
3708
- >
3709
- 0
3710
- </ui-text>
3711
- <ui-button
3712
- class="pressable button small squared secondary"
3713
- data-testid="group-1-button-max"
3714
- tabindex="0"
3715
- >
3716
- <ui-icon
3717
- class="icon headline-3"
3718
- >
3719
- <svg
3720
- fill="currentColor"
3721
- height="1em"
3722
- stroke="currentColor"
3723
- stroke-width="0"
3724
- viewBox="0 0 24 24"
3725
- width="1em"
3726
- xmlns="http://www.w3.org/2000/svg"
3727
- >
3728
- <path
3729
- d="M0 0h24v24H0V0z"
3730
- fill="none"
3731
- />
3732
- <path
3733
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
3734
- />
3735
- </svg>
3736
- </ui-icon>
3737
- </ui-button>
3738
- </ui-input-number>
3739
- </ui-view>
3740
- </ui-scrollview>
3741
- <ui-view
3742
- class="view row"
3743
- >
3744
- <ui-button
3745
- class="pressable button secondary"
3746
- data-testid="mirai-add-room"
3747
- tabindex="0"
3748
- >
3749
- finder.action.add_place_type.room
3750
- </ui-button>
3751
- </ui-view>
3752
- </ui-view>
3753
- </DocumentFragment>
3754
- `;