@mirai/core 0.4.648 → 0.4.650

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/build/components/Banner/__tests__/__snapshots__/Banner.skeleton.test.js.snap +278 -0
  2. package/build/components/Banner/__tests__/__snapshots__/Banner.test.js.snap +9 -0
  3. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +3862 -0
  4. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
  5. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +28 -0
  6. package/build/components/Booking/components/Summary/__tests__/__snapshots__/Summary.test.js.snap +1683 -0
  7. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +586 -0
  8. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +46 -0
  9. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditDate.test.js.snap +1822 -0
  10. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditOccupation.test.js.snap +326 -0
  11. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +170 -0
  12. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +110 -0
  13. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +82 -0
  14. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +208 -0
  15. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +107 -0
  16. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCalendar.test.js.snap +463 -0
  17. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCesSurvey.test.js.snap +255 -0
  18. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalOccupation.test.js.snap +491 -0
  19. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +418 -0
  20. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +92 -0
  21. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +65 -0
  22. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +101 -0
  23. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +190 -0
  24. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +204 -0
  25. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +44 -0
  26. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +9 -0
  27. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +4946 -0
  28. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +371 -0
  29. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +412 -0
  30. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +6333 -0
  31. package/build/components/CookieBanner/__tests__/__snapshots__/CookieBanner.test.js.snap +7 -0
  32. package/build/components/Deals/__tests__/__mocks__/deal.json +25 -0
  33. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +5527 -0
  34. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +120 -0
  35. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +1088 -0
  36. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +35 -0
  37. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +21195 -0
  38. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
  39. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +8546 -0
  40. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
  41. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +324 -0
  42. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
  43. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +7 -0
  44. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1105 -0
  45. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +19 -0
  46. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +59 -0
  47. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +50 -0
  48. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +3 -0
  49. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +3 -0
  50. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +53 -0
  51. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +9962 -0
  52. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +116 -0
  53. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +32 -0
  54. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +21 -0
  55. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +32 -0
  56. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +32 -0
  57. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +3 -0
  58. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +93 -0
  59. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +9 -0
  60. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +52 -0
  61. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +150 -0
  62. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +3 -0
  63. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +3 -0
  64. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +40 -0
  65. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +16 -0
  66. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +47 -0
  67. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +47 -0
  68. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +47 -0
  69. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +17 -0
  70. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +23 -0
  71. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +3 -0
  72. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +27 -0
  73. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +3 -0
  74. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +52 -0
  75. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +16 -0
  76. package/build/components/Rates/components/ModalTwin/__tests__/__snapshots__/ModalTwin.test.js.snap +374 -0
  77. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardExpanded.test.js.snap +133 -0
  78. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardReduced.test.js.snap +50 -0
  79. package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/Slider.test.js.snap +40 -0
  80. package/build/components/Rates/components/OTAPrices/__tests__/__snapshots__/OTAPrices.test.js.snap +3 -0
  81. package/build/components/Rooms/__tests__/__mocks__/room.json +21 -0
  82. package/build/components/Rooms/__tests__/__snapshots__/Rooms.test.js.snap +5527 -0
  83. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +264 -0
  84. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1040 -0
  85. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
  86. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +2355 -0
  87. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +500 -0
  88. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +745 -0
  89. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +414 -0
  90. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +115 -0
  91. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +210 -0
  92. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +65 -0
  93. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +53 -0
  94. package/build/components/__shared__/ButtonPayment/components/FormGetnet/__tests__/__snapshots__/FormGetnet.test.js.snap +14 -0
  95. package/build/components/__shared__/ButtonPayment/components/FormHotelpay/__tests__/__snapshots__/FormHotelpay.test.js.snap +104 -0
  96. package/build/components/__shared__/ButtonPayment/components/FormNuvei/__tests__/__snapshots__/FormNuvei.test.js.snap +21 -0
  97. package/build/components/__shared__/ButtonPayment/components/FormPaybyrd/__tests__/__snapshots__/FormPaybyrd.test.js.snap +41 -0
  98. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +18 -0
  99. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +190 -0
  100. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
  101. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +42 -0
  102. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +366 -0
  103. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2242 -0
  104. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +308 -0
  105. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +186 -0
  106. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +82 -0
  107. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
  108. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3754 -0
  109. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +1105 -0
  110. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +35 -0
  111. package/build/components/__shared__/Payment/components/Card/Card.js +2 -4
  112. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  113. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +996 -0
  114. package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +876 -0
  115. package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +876 -0
  116. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +504 -0
  117. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +119 -0
  118. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
  119. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
  120. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +2841 -0
  121. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.constants.js.snap +14 -0
  122. package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +11053 -0
  123. package/build/components/__shared__/RatesExplorer/helpers/__tests__/__mocks__/deal.json +28 -0
  124. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1352 -0
  125. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +67 -0
  126. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
  127. package/build/components/helpers/__tests__/__mocks__/hotels.json +87 -0
  128. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +331 -0
  129. package/build/components/helpers/escapeHtml.js +19 -0
  130. package/build/components/helpers/escapeHtml.js.map +1 -0
  131. package/build/components/helpers/template.js +5 -1
  132. package/build/components/helpers/template.js.map +1 -1
  133. package/build/helpers/fetchSession.js +13 -1
  134. package/build/helpers/fetchSession.js.map +1 -1
  135. package/package.json +4 -1
  136. package/.sentryclirc +0 -3
  137. package/AGENTS.md +0 -296
  138. package/Dockerfile +0 -16
  139. package/bitbucket-pipelines.yml +0 -12
  140. package/config/jest/fileMock.js +0 -1
  141. package/config/jest/setup.env.js +0 -20
  142. package/config/jest/setup.js +0 -3
  143. package/jest.config.js +0 -22
@@ -0,0 +1,2242 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`<FieldOccupation> inherit:className 1`] = `
4
+ <DocumentFragment>
5
+ <ui-layer
6
+ class="container"
7
+ >
8
+ <ui-pressable
9
+ class="pressable mirai"
10
+ tabindex="0"
11
+ >
12
+ <ui-icon
13
+ class="icon headline-3"
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="M0 0h24v24H0z"
26
+ fill="none"
27
+ />
28
+ <path
29
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
30
+ />
31
+ </svg>
32
+ </ui-icon>
33
+ <ui-view
34
+ class="view"
35
+ >
36
+ <ui-text
37
+ class="text small"
38
+ >
39
+ core.label.who
40
+ </ui-text>
41
+ <ui-text
42
+ class="text action"
43
+ >
44
+ · 1 common.label.accommodation_type
45
+ </ui-text>
46
+ </ui-view>
47
+ </ui-pressable>
48
+ </ui-layer>
49
+ <ui-layer-content
50
+ class="layer hidden"
51
+ style="left: 0px; top: 0px;"
52
+ >
53
+ <ui-view
54
+ class="view"
55
+ >
56
+ <ui-scrollview
57
+ class="scrollview vertical notIndicator"
58
+ >
59
+ <ui-view
60
+ class="view wide"
61
+ >
62
+ <ui-view
63
+ class="view row"
64
+ >
65
+ <ui-text
66
+ class="text bold action"
67
+ >
68
+ core.label.place_type_count.room
69
+ </ui-text>
70
+ </ui-view>
71
+ <ui-input-number
72
+ class="view row inputNumber"
73
+ data-testid="group-0"
74
+ >
75
+ <ui-view
76
+ class="view texts"
77
+ >
78
+ <ui-label
79
+ class="text paragraph text label withValue"
80
+ >
81
+ common.label.occupation_type_adult
82
+ </ui-label>
83
+ <ui-text
84
+ class="text small text hint hint"
85
+ >
86
+ common.label.age_from
87
+ </ui-text>
88
+ </ui-view>
89
+ <ui-button
90
+ class="pressable button small squared secondary"
91
+ data-testid="group-0-button-min"
92
+ tabindex="0"
93
+ >
94
+ <ui-icon
95
+ class="icon headline-3"
96
+ >
97
+ <svg
98
+ fill="currentColor"
99
+ height="1em"
100
+ stroke="currentColor"
101
+ stroke-width="0"
102
+ viewBox="0 0 24 24"
103
+ width="1em"
104
+ xmlns="http://www.w3.org/2000/svg"
105
+ >
106
+ <path
107
+ d="M0 0h24v24H0V0z"
108
+ fill="none"
109
+ />
110
+ <path
111
+ d="M19 13H5v-2h14v2z"
112
+ />
113
+ </svg>
114
+ </ui-icon>
115
+ </ui-button>
116
+ <ui-text
117
+ class="text paragraph value"
118
+ >
119
+ 2
120
+ </ui-text>
121
+ <ui-button
122
+ class="pressable button small squared secondary"
123
+ data-testid="group-0-button-max"
124
+ tabindex="0"
125
+ >
126
+ <ui-icon
127
+ class="icon headline-3"
128
+ >
129
+ <svg
130
+ fill="currentColor"
131
+ height="1em"
132
+ stroke="currentColor"
133
+ stroke-width="0"
134
+ viewBox="0 0 24 24"
135
+ width="1em"
136
+ xmlns="http://www.w3.org/2000/svg"
137
+ >
138
+ <path
139
+ d="M0 0h24v24H0V0z"
140
+ fill="none"
141
+ />
142
+ <path
143
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
144
+ />
145
+ </svg>
146
+ </ui-icon>
147
+ </ui-button>
148
+ </ui-input-number>
149
+ <ui-input-number
150
+ class="view row inputNumber"
151
+ data-testid="group-1"
152
+ >
153
+ <ui-view
154
+ class="view texts"
155
+ >
156
+ <ui-label
157
+ class="text paragraph text label withValue"
158
+ >
159
+ common.label.occupation_type_child
160
+ </ui-label>
161
+ <ui-text
162
+ class="text small text hint hint"
163
+ >
164
+ common.label.age_up_to
165
+ </ui-text>
166
+ </ui-view>
167
+ <ui-button
168
+ class="pressable disabled button small squared disabled"
169
+ data-testid="group-1-button-min"
170
+ disabled=""
171
+ >
172
+ <ui-icon
173
+ class="icon headline-3"
174
+ >
175
+ <svg
176
+ fill="currentColor"
177
+ height="1em"
178
+ stroke="currentColor"
179
+ stroke-width="0"
180
+ viewBox="0 0 24 24"
181
+ width="1em"
182
+ xmlns="http://www.w3.org/2000/svg"
183
+ >
184
+ <path
185
+ d="M0 0h24v24H0V0z"
186
+ fill="none"
187
+ />
188
+ <path
189
+ d="M19 13H5v-2h14v2z"
190
+ />
191
+ </svg>
192
+ </ui-icon>
193
+ </ui-button>
194
+ <ui-text
195
+ class="text paragraph value"
196
+ >
197
+ 0
198
+ </ui-text>
199
+ <ui-button
200
+ class="pressable button small squared secondary"
201
+ data-testid="group-1-button-max"
202
+ tabindex="0"
203
+ >
204
+ <ui-icon
205
+ class="icon headline-3"
206
+ >
207
+ <svg
208
+ fill="currentColor"
209
+ height="1em"
210
+ stroke="currentColor"
211
+ stroke-width="0"
212
+ viewBox="0 0 24 24"
213
+ width="1em"
214
+ xmlns="http://www.w3.org/2000/svg"
215
+ >
216
+ <path
217
+ d="M0 0h24v24H0V0z"
218
+ fill="none"
219
+ />
220
+ <path
221
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
222
+ />
223
+ </svg>
224
+ </ui-icon>
225
+ </ui-button>
226
+ </ui-input-number>
227
+ </ui-view>
228
+ </ui-scrollview>
229
+ <ui-view
230
+ class="view row"
231
+ >
232
+ <ui-button
233
+ class="pressable button secondary"
234
+ tabindex="0"
235
+ >
236
+ core.action.add_place_type.room
237
+ </ui-button>
238
+ </ui-view>
239
+ </ui-view>
240
+ </ui-layer-content>
241
+ </DocumentFragment>
242
+ `;
243
+
244
+ exports[`<FieldOccupation> prop:compacted 1`] = `
245
+ <DocumentFragment>
246
+ <ui-layer
247
+ class="container"
248
+ />
249
+ <ui-layer-content
250
+ class="layer hidden"
251
+ >
252
+ <ui-view
253
+ class="view"
254
+ >
255
+ <ui-scrollview
256
+ class="scrollview vertical notIndicator"
257
+ >
258
+ <ui-view
259
+ class="view wide"
260
+ >
261
+ <ui-view
262
+ class="view row"
263
+ >
264
+ <ui-text
265
+ class="text bold action"
266
+ >
267
+ core.label.place_type_count.room
268
+ </ui-text>
269
+ </ui-view>
270
+ <ui-input-number
271
+ class="view row inputNumber"
272
+ data-testid="group-0"
273
+ >
274
+ <ui-view
275
+ class="view texts"
276
+ >
277
+ <ui-label
278
+ class="text paragraph text label withValue"
279
+ >
280
+ common.label.occupation_type_adult
281
+ </ui-label>
282
+ <ui-text
283
+ class="text small text hint hint"
284
+ >
285
+ common.label.age_from
286
+ </ui-text>
287
+ </ui-view>
288
+ <ui-button
289
+ class="pressable button small squared secondary"
290
+ data-testid="group-0-button-min"
291
+ tabindex="0"
292
+ >
293
+ <ui-icon
294
+ class="icon headline-3"
295
+ >
296
+ <svg
297
+ fill="currentColor"
298
+ height="1em"
299
+ stroke="currentColor"
300
+ stroke-width="0"
301
+ viewBox="0 0 24 24"
302
+ width="1em"
303
+ xmlns="http://www.w3.org/2000/svg"
304
+ >
305
+ <path
306
+ d="M0 0h24v24H0V0z"
307
+ fill="none"
308
+ />
309
+ <path
310
+ d="M19 13H5v-2h14v2z"
311
+ />
312
+ </svg>
313
+ </ui-icon>
314
+ </ui-button>
315
+ <ui-text
316
+ class="text paragraph value"
317
+ >
318
+ 2
319
+ </ui-text>
320
+ <ui-button
321
+ class="pressable button small squared secondary"
322
+ data-testid="group-0-button-max"
323
+ tabindex="0"
324
+ >
325
+ <ui-icon
326
+ class="icon headline-3"
327
+ >
328
+ <svg
329
+ fill="currentColor"
330
+ height="1em"
331
+ stroke="currentColor"
332
+ stroke-width="0"
333
+ viewBox="0 0 24 24"
334
+ width="1em"
335
+ xmlns="http://www.w3.org/2000/svg"
336
+ >
337
+ <path
338
+ d="M0 0h24v24H0V0z"
339
+ fill="none"
340
+ />
341
+ <path
342
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
343
+ />
344
+ </svg>
345
+ </ui-icon>
346
+ </ui-button>
347
+ </ui-input-number>
348
+ <ui-input-number
349
+ class="view row inputNumber"
350
+ data-testid="group-1"
351
+ >
352
+ <ui-view
353
+ class="view texts"
354
+ >
355
+ <ui-label
356
+ class="text paragraph text label withValue"
357
+ >
358
+ common.label.occupation_type_child
359
+ </ui-label>
360
+ <ui-text
361
+ class="text small text hint hint"
362
+ >
363
+ common.label.age_up_to
364
+ </ui-text>
365
+ </ui-view>
366
+ <ui-button
367
+ class="pressable disabled button small squared disabled"
368
+ data-testid="group-1-button-min"
369
+ disabled=""
370
+ >
371
+ <ui-icon
372
+ class="icon headline-3"
373
+ >
374
+ <svg
375
+ fill="currentColor"
376
+ height="1em"
377
+ stroke="currentColor"
378
+ stroke-width="0"
379
+ viewBox="0 0 24 24"
380
+ width="1em"
381
+ xmlns="http://www.w3.org/2000/svg"
382
+ >
383
+ <path
384
+ d="M0 0h24v24H0V0z"
385
+ fill="none"
386
+ />
387
+ <path
388
+ d="M19 13H5v-2h14v2z"
389
+ />
390
+ </svg>
391
+ </ui-icon>
392
+ </ui-button>
393
+ <ui-text
394
+ class="text paragraph value"
395
+ >
396
+ 0
397
+ </ui-text>
398
+ <ui-button
399
+ class="pressable button small squared secondary"
400
+ data-testid="group-1-button-max"
401
+ tabindex="0"
402
+ >
403
+ <ui-icon
404
+ class="icon headline-3"
405
+ >
406
+ <svg
407
+ fill="currentColor"
408
+ height="1em"
409
+ stroke="currentColor"
410
+ stroke-width="0"
411
+ viewBox="0 0 24 24"
412
+ width="1em"
413
+ xmlns="http://www.w3.org/2000/svg"
414
+ >
415
+ <path
416
+ d="M0 0h24v24H0V0z"
417
+ fill="none"
418
+ />
419
+ <path
420
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
421
+ />
422
+ </svg>
423
+ </ui-icon>
424
+ </ui-button>
425
+ </ui-input-number>
426
+ </ui-view>
427
+ </ui-scrollview>
428
+ <ui-view
429
+ class="view row"
430
+ >
431
+ <ui-button
432
+ class="pressable button secondary"
433
+ tabindex="0"
434
+ >
435
+ core.action.add_place_type.room
436
+ </ui-button>
437
+ </ui-view>
438
+ </ui-view>
439
+ </ui-layer-content>
440
+ </DocumentFragment>
441
+ `;
442
+
443
+ exports[`<FieldOccupation> prop:minRooms 1`] = `
444
+ <DocumentFragment>
445
+ <ui-layer
446
+ class="container"
447
+ >
448
+ <ui-pressable
449
+ class="pressable"
450
+ tabindex="0"
451
+ >
452
+ <ui-icon
453
+ class="icon headline-3"
454
+ >
455
+ <svg
456
+ fill="currentColor"
457
+ height="1em"
458
+ stroke="currentColor"
459
+ stroke-width="0"
460
+ viewBox="0 0 24 24"
461
+ width="1em"
462
+ xmlns="http://www.w3.org/2000/svg"
463
+ >
464
+ <path
465
+ d="M0 0h24v24H0z"
466
+ fill="none"
467
+ />
468
+ <path
469
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
470
+ />
471
+ </svg>
472
+ </ui-icon>
473
+ <ui-view
474
+ class="view"
475
+ >
476
+ <ui-text
477
+ class="text small"
478
+ >
479
+ core.label.who
480
+ </ui-text>
481
+ <ui-text
482
+ class="text action"
483
+ >
484
+ · 2 common.label.accommodation
485
+ <ui-text
486
+ style="text-decoration: underline;"
487
+ >
488
+ type
489
+ </ui-text>
490
+ plural
491
+ </ui-text>
492
+ </ui-view>
493
+ </ui-pressable>
494
+ </ui-layer>
495
+ <ui-layer-content
496
+ class="layer hidden"
497
+ style="left: 0px; top: 0px;"
498
+ >
499
+ <ui-view
500
+ class="view"
501
+ >
502
+ <ui-scrollview
503
+ class="scrollview vertical notIndicator"
504
+ >
505
+ <ui-view
506
+ class="view wide"
507
+ >
508
+ <ui-view
509
+ class="view row"
510
+ >
511
+ <ui-text
512
+ class="text bold action"
513
+ >
514
+ core.label.place_type_count.room
515
+ </ui-text>
516
+ </ui-view>
517
+ <ui-input-number
518
+ class="view row inputNumber"
519
+ data-testid="group-0"
520
+ >
521
+ <ui-view
522
+ class="view texts"
523
+ >
524
+ <ui-label
525
+ class="text paragraph text label withValue"
526
+ >
527
+ common.label.occupation_type_adult
528
+ </ui-label>
529
+ <ui-text
530
+ class="text small text hint hint"
531
+ >
532
+ common.label.age_from
533
+ </ui-text>
534
+ </ui-view>
535
+ <ui-button
536
+ class="pressable button small squared secondary"
537
+ data-testid="group-0-button-min"
538
+ tabindex="0"
539
+ >
540
+ <ui-icon
541
+ class="icon headline-3"
542
+ >
543
+ <svg
544
+ fill="currentColor"
545
+ height="1em"
546
+ stroke="currentColor"
547
+ stroke-width="0"
548
+ viewBox="0 0 24 24"
549
+ width="1em"
550
+ xmlns="http://www.w3.org/2000/svg"
551
+ >
552
+ <path
553
+ d="M0 0h24v24H0V0z"
554
+ fill="none"
555
+ />
556
+ <path
557
+ d="M19 13H5v-2h14v2z"
558
+ />
559
+ </svg>
560
+ </ui-icon>
561
+ </ui-button>
562
+ <ui-text
563
+ class="text paragraph value"
564
+ >
565
+ 2
566
+ </ui-text>
567
+ <ui-button
568
+ class="pressable button small squared secondary"
569
+ data-testid="group-0-button-max"
570
+ tabindex="0"
571
+ >
572
+ <ui-icon
573
+ class="icon headline-3"
574
+ >
575
+ <svg
576
+ fill="currentColor"
577
+ height="1em"
578
+ stroke="currentColor"
579
+ stroke-width="0"
580
+ viewBox="0 0 24 24"
581
+ width="1em"
582
+ xmlns="http://www.w3.org/2000/svg"
583
+ >
584
+ <path
585
+ d="M0 0h24v24H0V0z"
586
+ fill="none"
587
+ />
588
+ <path
589
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
590
+ />
591
+ </svg>
592
+ </ui-icon>
593
+ </ui-button>
594
+ </ui-input-number>
595
+ <ui-input-number
596
+ class="view row inputNumber"
597
+ data-testid="group-1"
598
+ >
599
+ <ui-view
600
+ class="view texts"
601
+ >
602
+ <ui-label
603
+ class="text paragraph text label withValue"
604
+ >
605
+ common.label.occupation_type_child
606
+ </ui-label>
607
+ <ui-text
608
+ class="text small text hint hint"
609
+ >
610
+ common.label.age_up_to
611
+ </ui-text>
612
+ </ui-view>
613
+ <ui-button
614
+ class="pressable disabled button small squared disabled"
615
+ data-testid="group-1-button-min"
616
+ disabled=""
617
+ >
618
+ <ui-icon
619
+ class="icon headline-3"
620
+ >
621
+ <svg
622
+ fill="currentColor"
623
+ height="1em"
624
+ stroke="currentColor"
625
+ stroke-width="0"
626
+ viewBox="0 0 24 24"
627
+ width="1em"
628
+ xmlns="http://www.w3.org/2000/svg"
629
+ >
630
+ <path
631
+ d="M0 0h24v24H0V0z"
632
+ fill="none"
633
+ />
634
+ <path
635
+ d="M19 13H5v-2h14v2z"
636
+ />
637
+ </svg>
638
+ </ui-icon>
639
+ </ui-button>
640
+ <ui-text
641
+ class="text paragraph value"
642
+ >
643
+ 0
644
+ </ui-text>
645
+ <ui-button
646
+ class="pressable button small squared secondary"
647
+ data-testid="group-1-button-max"
648
+ tabindex="0"
649
+ >
650
+ <ui-icon
651
+ class="icon headline-3"
652
+ >
653
+ <svg
654
+ fill="currentColor"
655
+ height="1em"
656
+ stroke="currentColor"
657
+ stroke-width="0"
658
+ viewBox="0 0 24 24"
659
+ width="1em"
660
+ xmlns="http://www.w3.org/2000/svg"
661
+ >
662
+ <path
663
+ d="M0 0h24v24H0V0z"
664
+ fill="none"
665
+ />
666
+ <path
667
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
668
+ />
669
+ </svg>
670
+ </ui-icon>
671
+ </ui-button>
672
+ </ui-input-number>
673
+ </ui-view>
674
+ <ui-view
675
+ class="view wide"
676
+ >
677
+ <ui-view
678
+ class="view row"
679
+ >
680
+ <ui-text
681
+ class="text bold action"
682
+ >
683
+ core.label.place_type_count.room
684
+ </ui-text>
685
+ </ui-view>
686
+ <ui-input-number
687
+ class="view row inputNumber"
688
+ data-testid="group-0"
689
+ >
690
+ <ui-view
691
+ class="view texts"
692
+ >
693
+ <ui-label
694
+ class="text paragraph text label withValue"
695
+ >
696
+ common.label.occupation_type_adult
697
+ </ui-label>
698
+ <ui-text
699
+ class="text small text hint hint"
700
+ >
701
+ common.label.age_from
702
+ </ui-text>
703
+ </ui-view>
704
+ <ui-button
705
+ class="pressable button small squared secondary"
706
+ data-testid="group-0-button-min"
707
+ tabindex="0"
708
+ >
709
+ <ui-icon
710
+ class="icon headline-3"
711
+ >
712
+ <svg
713
+ fill="currentColor"
714
+ height="1em"
715
+ stroke="currentColor"
716
+ stroke-width="0"
717
+ viewBox="0 0 24 24"
718
+ width="1em"
719
+ xmlns="http://www.w3.org/2000/svg"
720
+ >
721
+ <path
722
+ d="M0 0h24v24H0V0z"
723
+ fill="none"
724
+ />
725
+ <path
726
+ d="M19 13H5v-2h14v2z"
727
+ />
728
+ </svg>
729
+ </ui-icon>
730
+ </ui-button>
731
+ <ui-text
732
+ class="text paragraph value"
733
+ >
734
+ 2
735
+ </ui-text>
736
+ <ui-button
737
+ class="pressable button small squared secondary"
738
+ data-testid="group-0-button-max"
739
+ tabindex="0"
740
+ >
741
+ <ui-icon
742
+ class="icon headline-3"
743
+ >
744
+ <svg
745
+ fill="currentColor"
746
+ height="1em"
747
+ stroke="currentColor"
748
+ stroke-width="0"
749
+ viewBox="0 0 24 24"
750
+ width="1em"
751
+ xmlns="http://www.w3.org/2000/svg"
752
+ >
753
+ <path
754
+ d="M0 0h24v24H0V0z"
755
+ fill="none"
756
+ />
757
+ <path
758
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
759
+ />
760
+ </svg>
761
+ </ui-icon>
762
+ </ui-button>
763
+ </ui-input-number>
764
+ <ui-input-number
765
+ class="view row inputNumber"
766
+ data-testid="group-1"
767
+ >
768
+ <ui-view
769
+ class="view texts"
770
+ >
771
+ <ui-label
772
+ class="text paragraph text label withValue"
773
+ >
774
+ common.label.occupation_type_child
775
+ </ui-label>
776
+ <ui-text
777
+ class="text small text hint hint"
778
+ >
779
+ common.label.age_up_to
780
+ </ui-text>
781
+ </ui-view>
782
+ <ui-button
783
+ class="pressable disabled button small squared disabled"
784
+ data-testid="group-1-button-min"
785
+ disabled=""
786
+ >
787
+ <ui-icon
788
+ class="icon headline-3"
789
+ >
790
+ <svg
791
+ fill="currentColor"
792
+ height="1em"
793
+ stroke="currentColor"
794
+ stroke-width="0"
795
+ viewBox="0 0 24 24"
796
+ width="1em"
797
+ xmlns="http://www.w3.org/2000/svg"
798
+ >
799
+ <path
800
+ d="M0 0h24v24H0V0z"
801
+ fill="none"
802
+ />
803
+ <path
804
+ d="M19 13H5v-2h14v2z"
805
+ />
806
+ </svg>
807
+ </ui-icon>
808
+ </ui-button>
809
+ <ui-text
810
+ class="text paragraph value"
811
+ >
812
+ 0
813
+ </ui-text>
814
+ <ui-button
815
+ class="pressable button small squared secondary"
816
+ data-testid="group-1-button-max"
817
+ tabindex="0"
818
+ >
819
+ <ui-icon
820
+ class="icon headline-3"
821
+ >
822
+ <svg
823
+ fill="currentColor"
824
+ height="1em"
825
+ stroke="currentColor"
826
+ stroke-width="0"
827
+ viewBox="0 0 24 24"
828
+ width="1em"
829
+ xmlns="http://www.w3.org/2000/svg"
830
+ >
831
+ <path
832
+ d="M0 0h24v24H0V0z"
833
+ fill="none"
834
+ />
835
+ <path
836
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
837
+ />
838
+ </svg>
839
+ </ui-icon>
840
+ </ui-button>
841
+ </ui-input-number>
842
+ </ui-view>
843
+ </ui-scrollview>
844
+ <ui-view
845
+ class="view row"
846
+ >
847
+ <ui-button
848
+ class="pressable button secondary"
849
+ tabindex="0"
850
+ >
851
+ core.action.add_place_type.room
852
+ </ui-button>
853
+ </ui-view>
854
+ </ui-view>
855
+ </ui-layer-content>
856
+ </DocumentFragment>
857
+ `;
858
+
859
+ exports[`<FieldOccupation> prop:value 1`] = `
860
+ <DocumentFragment>
861
+ <ui-layer
862
+ class="container"
863
+ >
864
+ <ui-pressable
865
+ class="pressable"
866
+ tabindex="0"
867
+ >
868
+ <ui-icon
869
+ class="icon headline-3"
870
+ >
871
+ <svg
872
+ fill="currentColor"
873
+ height="1em"
874
+ stroke="currentColor"
875
+ stroke-width="0"
876
+ viewBox="0 0 24 24"
877
+ width="1em"
878
+ xmlns="http://www.w3.org/2000/svg"
879
+ >
880
+ <path
881
+ d="M0 0h24v24H0z"
882
+ fill="none"
883
+ />
884
+ <path
885
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
886
+ />
887
+ </svg>
888
+ </ui-icon>
889
+ <ui-view
890
+ class="view"
891
+ >
892
+ <ui-text
893
+ class="text small"
894
+ >
895
+ core.label.who
896
+ </ui-text>
897
+ <ui-text
898
+ class="text action"
899
+ >
900
+ 2 common.label.guest
901
+ <ui-text
902
+ style="text-decoration: underline;"
903
+ >
904
+ type
905
+ </ui-text>
906
+ plural, 1 common.label.guest
907
+ <ui-text
908
+ style="text-decoration: underline;"
909
+ >
910
+ type · 1 common.label.accommodation
911
+ </ui-text>
912
+ type
913
+ </ui-text>
914
+ </ui-view>
915
+ </ui-pressable>
916
+ </ui-layer>
917
+ <ui-layer-content
918
+ class="layer hidden"
919
+ style="left: 0px; top: 0px;"
920
+ >
921
+ <ui-view
922
+ class="view"
923
+ >
924
+ <ui-scrollview
925
+ class="scrollview vertical notIndicator"
926
+ >
927
+ <ui-view
928
+ class="view wide"
929
+ >
930
+ <ui-view
931
+ class="view row"
932
+ >
933
+ <ui-text
934
+ class="text bold action"
935
+ >
936
+ core.label.place_type_count.room
937
+ </ui-text>
938
+ </ui-view>
939
+ <ui-input-number
940
+ class="view row inputNumber"
941
+ data-testid="group-0"
942
+ >
943
+ <ui-view
944
+ class="view texts"
945
+ >
946
+ <ui-label
947
+ class="text paragraph text label withValue"
948
+ >
949
+ common.label.occupation_type_adult
950
+ </ui-label>
951
+ <ui-text
952
+ class="text small text hint hint"
953
+ >
954
+ common.label.age_from
955
+ </ui-text>
956
+ </ui-view>
957
+ <ui-button
958
+ class="pressable button small squared secondary"
959
+ data-testid="group-0-button-min"
960
+ tabindex="0"
961
+ >
962
+ <ui-icon
963
+ class="icon headline-3"
964
+ >
965
+ <svg
966
+ fill="currentColor"
967
+ height="1em"
968
+ stroke="currentColor"
969
+ stroke-width="0"
970
+ viewBox="0 0 24 24"
971
+ width="1em"
972
+ xmlns="http://www.w3.org/2000/svg"
973
+ >
974
+ <path
975
+ d="M0 0h24v24H0V0z"
976
+ fill="none"
977
+ />
978
+ <path
979
+ d="M19 13H5v-2h14v2z"
980
+ />
981
+ </svg>
982
+ </ui-icon>
983
+ </ui-button>
984
+ <ui-text
985
+ class="text paragraph value"
986
+ >
987
+ 2
988
+ </ui-text>
989
+ <ui-button
990
+ class="pressable button small squared secondary"
991
+ data-testid="group-0-button-max"
992
+ tabindex="0"
993
+ >
994
+ <ui-icon
995
+ class="icon headline-3"
996
+ >
997
+ <svg
998
+ fill="currentColor"
999
+ height="1em"
1000
+ stroke="currentColor"
1001
+ stroke-width="0"
1002
+ viewBox="0 0 24 24"
1003
+ width="1em"
1004
+ xmlns="http://www.w3.org/2000/svg"
1005
+ >
1006
+ <path
1007
+ d="M0 0h24v24H0V0z"
1008
+ fill="none"
1009
+ />
1010
+ <path
1011
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1012
+ />
1013
+ </svg>
1014
+ </ui-icon>
1015
+ </ui-button>
1016
+ </ui-input-number>
1017
+ <ui-input-number
1018
+ class="view row inputNumber"
1019
+ data-testid="group-1"
1020
+ >
1021
+ <ui-view
1022
+ class="view texts"
1023
+ >
1024
+ <ui-label
1025
+ class="text paragraph text label withValue"
1026
+ >
1027
+ common.label.occupation_type_child
1028
+ </ui-label>
1029
+ <ui-text
1030
+ class="text small text hint hint"
1031
+ >
1032
+ common.label.age_up_to
1033
+ </ui-text>
1034
+ </ui-view>
1035
+ <ui-button
1036
+ class="pressable button small squared secondary"
1037
+ data-testid="group-1-button-min"
1038
+ tabindex="0"
1039
+ >
1040
+ <ui-icon
1041
+ class="icon headline-3"
1042
+ >
1043
+ <svg
1044
+ fill="currentColor"
1045
+ height="1em"
1046
+ stroke="currentColor"
1047
+ stroke-width="0"
1048
+ viewBox="0 0 24 24"
1049
+ width="1em"
1050
+ xmlns="http://www.w3.org/2000/svg"
1051
+ >
1052
+ <path
1053
+ d="M0 0h24v24H0V0z"
1054
+ fill="none"
1055
+ />
1056
+ <path
1057
+ d="M19 13H5v-2h14v2z"
1058
+ />
1059
+ </svg>
1060
+ </ui-icon>
1061
+ </ui-button>
1062
+ <ui-text
1063
+ class="text paragraph value"
1064
+ >
1065
+ 1
1066
+ </ui-text>
1067
+ <ui-button
1068
+ class="pressable button small squared secondary"
1069
+ data-testid="group-1-button-max"
1070
+ tabindex="0"
1071
+ >
1072
+ <ui-icon
1073
+ class="icon headline-3"
1074
+ >
1075
+ <svg
1076
+ fill="currentColor"
1077
+ height="1em"
1078
+ stroke="currentColor"
1079
+ stroke-width="0"
1080
+ viewBox="0 0 24 24"
1081
+ width="1em"
1082
+ xmlns="http://www.w3.org/2000/svg"
1083
+ >
1084
+ <path
1085
+ d="M0 0h24v24H0V0z"
1086
+ fill="none"
1087
+ />
1088
+ <path
1089
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1090
+ />
1091
+ </svg>
1092
+ </ui-icon>
1093
+ </ui-button>
1094
+ </ui-input-number>
1095
+ <ui-view
1096
+ class="view"
1097
+ >
1098
+ <ui-view
1099
+ class="view row"
1100
+ >
1101
+ <ui-input-select
1102
+ class="view inputContainer"
1103
+ >
1104
+ <ui-view
1105
+ class="view row inputBorder"
1106
+ >
1107
+ <ui-view
1108
+ class="view wide content"
1109
+ >
1110
+ <select
1111
+ class="select input"
1112
+ data-testid="group-1-select-0"
1113
+ name="age-0,17"
1114
+ >
1115
+ <option
1116
+ value=""
1117
+ >
1118
+ common.label.age
1119
+ </option>
1120
+ <option
1121
+ value="0"
1122
+ >
1123
+ 0
1124
+ </option>
1125
+ <option
1126
+ value="1"
1127
+ >
1128
+ 1
1129
+ </option>
1130
+ <option
1131
+ value="2"
1132
+ >
1133
+ 2
1134
+ </option>
1135
+ <option
1136
+ value="3"
1137
+ >
1138
+ 3
1139
+ </option>
1140
+ <option
1141
+ value="4"
1142
+ >
1143
+ 4
1144
+ </option>
1145
+ <option
1146
+ value="5"
1147
+ >
1148
+ 5
1149
+ </option>
1150
+ <option
1151
+ value="6"
1152
+ >
1153
+ 6
1154
+ </option>
1155
+ <option
1156
+ value="7"
1157
+ >
1158
+ 7
1159
+ </option>
1160
+ <option
1161
+ value="8"
1162
+ >
1163
+ 8
1164
+ </option>
1165
+ <option
1166
+ value="9"
1167
+ >
1168
+ 9
1169
+ </option>
1170
+ <option
1171
+ value="10"
1172
+ >
1173
+ 10
1174
+ </option>
1175
+ <option
1176
+ value="11"
1177
+ >
1178
+ 11
1179
+ </option>
1180
+ <option
1181
+ value="12"
1182
+ >
1183
+ 12
1184
+ </option>
1185
+ <option
1186
+ value="13"
1187
+ >
1188
+ 13
1189
+ </option>
1190
+ <option
1191
+ value="14"
1192
+ >
1193
+ 14
1194
+ </option>
1195
+ <option
1196
+ value="15"
1197
+ >
1198
+ 15
1199
+ </option>
1200
+ <option
1201
+ value="16"
1202
+ >
1203
+ 16
1204
+ </option>
1205
+ <option
1206
+ value="17"
1207
+ >
1208
+ 17
1209
+ </option>
1210
+ </select>
1211
+ </ui-view>
1212
+ <ui-icon
1213
+ class="icon headline-3 icon expand"
1214
+ >
1215
+ <svg
1216
+ fill="currentColor"
1217
+ height="1em"
1218
+ stroke="currentColor"
1219
+ stroke-width="0"
1220
+ viewBox="0 0 24 24"
1221
+ width="1em"
1222
+ xmlns="http://www.w3.org/2000/svg"
1223
+ >
1224
+ <path
1225
+ d="M24 24H0V0h24v24z"
1226
+ fill="none"
1227
+ opacity=".87"
1228
+ />
1229
+ <path
1230
+ d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1231
+ />
1232
+ </svg>
1233
+ </ui-icon>
1234
+ </ui-view>
1235
+ </ui-input-select>
1236
+ </ui-view>
1237
+ <ui-text
1238
+ class="text light small"
1239
+ >
1240
+ common.label.age_hint
1241
+ </ui-text>
1242
+ </ui-view>
1243
+ </ui-view>
1244
+ </ui-scrollview>
1245
+ <ui-view
1246
+ class="view row"
1247
+ >
1248
+ <ui-button
1249
+ class="pressable button secondary"
1250
+ tabindex="0"
1251
+ >
1252
+ core.action.add_place_type.room
1253
+ </ui-button>
1254
+ </ui-view>
1255
+ </ui-view>
1256
+ </ui-layer-content>
1257
+ </DocumentFragment>
1258
+ `;
1259
+
1260
+ exports[`<FieldOccupation> prop:visible 1`] = `
1261
+ <DocumentFragment>
1262
+ <ui-layer
1263
+ class="container"
1264
+ >
1265
+ <ui-pressable
1266
+ class="pressable"
1267
+ tabindex="0"
1268
+ >
1269
+ <ui-icon
1270
+ class="icon headline-3"
1271
+ >
1272
+ <svg
1273
+ fill="currentColor"
1274
+ height="1em"
1275
+ stroke="currentColor"
1276
+ stroke-width="0"
1277
+ viewBox="0 0 24 24"
1278
+ width="1em"
1279
+ xmlns="http://www.w3.org/2000/svg"
1280
+ >
1281
+ <path
1282
+ d="M0 0h24v24H0z"
1283
+ fill="none"
1284
+ />
1285
+ <path
1286
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
1287
+ />
1288
+ </svg>
1289
+ </ui-icon>
1290
+ <ui-view
1291
+ class="view"
1292
+ >
1293
+ <ui-text
1294
+ class="text small"
1295
+ >
1296
+ core.label.who
1297
+ </ui-text>
1298
+ <ui-text
1299
+ class="text action"
1300
+ >
1301
+ · 1 common.label.accommodation_type
1302
+ </ui-text>
1303
+ </ui-view>
1304
+ </ui-pressable>
1305
+ </ui-layer>
1306
+ <ui-layer-content
1307
+ class="layer"
1308
+ style="left: 0px; top: 0px;"
1309
+ >
1310
+ <ui-view
1311
+ class="view"
1312
+ >
1313
+ <ui-scrollview
1314
+ class="scrollview vertical notIndicator"
1315
+ >
1316
+ <ui-view
1317
+ class="view wide"
1318
+ >
1319
+ <ui-view
1320
+ class="view row"
1321
+ >
1322
+ <ui-text
1323
+ class="text bold action"
1324
+ >
1325
+ core.label.place_type_count.room
1326
+ </ui-text>
1327
+ </ui-view>
1328
+ <ui-input-number
1329
+ class="view row inputNumber"
1330
+ data-testid="group-0"
1331
+ >
1332
+ <ui-view
1333
+ class="view texts"
1334
+ >
1335
+ <ui-label
1336
+ class="text paragraph text label withValue"
1337
+ >
1338
+ common.label.occupation_type_adult
1339
+ </ui-label>
1340
+ <ui-text
1341
+ class="text small text hint hint"
1342
+ >
1343
+ common.label.age_from
1344
+ </ui-text>
1345
+ </ui-view>
1346
+ <ui-button
1347
+ class="pressable button small squared secondary"
1348
+ data-testid="group-0-button-min"
1349
+ tabindex="0"
1350
+ >
1351
+ <ui-icon
1352
+ class="icon headline-3"
1353
+ >
1354
+ <svg
1355
+ fill="currentColor"
1356
+ height="1em"
1357
+ stroke="currentColor"
1358
+ stroke-width="0"
1359
+ viewBox="0 0 24 24"
1360
+ width="1em"
1361
+ xmlns="http://www.w3.org/2000/svg"
1362
+ >
1363
+ <path
1364
+ d="M0 0h24v24H0V0z"
1365
+ fill="none"
1366
+ />
1367
+ <path
1368
+ d="M19 13H5v-2h14v2z"
1369
+ />
1370
+ </svg>
1371
+ </ui-icon>
1372
+ </ui-button>
1373
+ <ui-text
1374
+ class="text paragraph value"
1375
+ >
1376
+ 2
1377
+ </ui-text>
1378
+ <ui-button
1379
+ class="pressable button small squared secondary"
1380
+ data-testid="group-0-button-max"
1381
+ tabindex="0"
1382
+ >
1383
+ <ui-icon
1384
+ class="icon headline-3"
1385
+ >
1386
+ <svg
1387
+ fill="currentColor"
1388
+ height="1em"
1389
+ stroke="currentColor"
1390
+ stroke-width="0"
1391
+ viewBox="0 0 24 24"
1392
+ width="1em"
1393
+ xmlns="http://www.w3.org/2000/svg"
1394
+ >
1395
+ <path
1396
+ d="M0 0h24v24H0V0z"
1397
+ fill="none"
1398
+ />
1399
+ <path
1400
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1401
+ />
1402
+ </svg>
1403
+ </ui-icon>
1404
+ </ui-button>
1405
+ </ui-input-number>
1406
+ <ui-input-number
1407
+ class="view row inputNumber"
1408
+ data-testid="group-1"
1409
+ >
1410
+ <ui-view
1411
+ class="view texts"
1412
+ >
1413
+ <ui-label
1414
+ class="text paragraph text label withValue"
1415
+ >
1416
+ common.label.occupation_type_child
1417
+ </ui-label>
1418
+ <ui-text
1419
+ class="text small text hint hint"
1420
+ >
1421
+ common.label.age_up_to
1422
+ </ui-text>
1423
+ </ui-view>
1424
+ <ui-button
1425
+ class="pressable disabled button small squared disabled"
1426
+ data-testid="group-1-button-min"
1427
+ disabled=""
1428
+ >
1429
+ <ui-icon
1430
+ class="icon headline-3"
1431
+ >
1432
+ <svg
1433
+ fill="currentColor"
1434
+ height="1em"
1435
+ stroke="currentColor"
1436
+ stroke-width="0"
1437
+ viewBox="0 0 24 24"
1438
+ width="1em"
1439
+ xmlns="http://www.w3.org/2000/svg"
1440
+ >
1441
+ <path
1442
+ d="M0 0h24v24H0V0z"
1443
+ fill="none"
1444
+ />
1445
+ <path
1446
+ d="M19 13H5v-2h14v2z"
1447
+ />
1448
+ </svg>
1449
+ </ui-icon>
1450
+ </ui-button>
1451
+ <ui-text
1452
+ class="text paragraph value"
1453
+ >
1454
+ 0
1455
+ </ui-text>
1456
+ <ui-button
1457
+ class="pressable button small squared secondary"
1458
+ data-testid="group-1-button-max"
1459
+ tabindex="0"
1460
+ >
1461
+ <ui-icon
1462
+ class="icon headline-3"
1463
+ >
1464
+ <svg
1465
+ fill="currentColor"
1466
+ height="1em"
1467
+ stroke="currentColor"
1468
+ stroke-width="0"
1469
+ viewBox="0 0 24 24"
1470
+ width="1em"
1471
+ xmlns="http://www.w3.org/2000/svg"
1472
+ >
1473
+ <path
1474
+ d="M0 0h24v24H0V0z"
1475
+ fill="none"
1476
+ />
1477
+ <path
1478
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1479
+ />
1480
+ </svg>
1481
+ </ui-icon>
1482
+ </ui-button>
1483
+ </ui-input-number>
1484
+ </ui-view>
1485
+ </ui-scrollview>
1486
+ <ui-view
1487
+ class="view row"
1488
+ >
1489
+ <ui-button
1490
+ class="pressable button secondary"
1491
+ tabindex="0"
1492
+ >
1493
+ core.action.add_place_type.room
1494
+ </ui-button>
1495
+ </ui-view>
1496
+ </ui-view>
1497
+ </ui-layer-content>
1498
+ </DocumentFragment>
1499
+ `;
1500
+
1501
+ exports[`<FieldOccupation> prop:warning 1`] = `
1502
+ <DocumentFragment>
1503
+ <ui-layer
1504
+ class="container"
1505
+ >
1506
+ <ui-pressable
1507
+ class="pressable"
1508
+ tabindex="0"
1509
+ >
1510
+ <ui-icon
1511
+ class="icon headline-3"
1512
+ >
1513
+ <svg
1514
+ fill="currentColor"
1515
+ height="1em"
1516
+ stroke="currentColor"
1517
+ stroke-width="0"
1518
+ viewBox="0 0 24 24"
1519
+ width="1em"
1520
+ xmlns="http://www.w3.org/2000/svg"
1521
+ >
1522
+ <path
1523
+ d="M0 0h24v24H0z"
1524
+ fill="none"
1525
+ />
1526
+ <path
1527
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
1528
+ />
1529
+ </svg>
1530
+ </ui-icon>
1531
+ <ui-view
1532
+ class="view"
1533
+ >
1534
+ <ui-text
1535
+ class="text small"
1536
+ >
1537
+ core.label.who
1538
+ </ui-text>
1539
+ <ui-text
1540
+ class="text action"
1541
+ >
1542
+ · 1 common.label.accommodation_type
1543
+ </ui-text>
1544
+ </ui-view>
1545
+ <ui-icon
1546
+ class="icon headline-3"
1547
+ >
1548
+ <svg
1549
+ fill="currentColor"
1550
+ height="1em"
1551
+ stroke="currentColor"
1552
+ stroke-width="0"
1553
+ viewBox="0 0 24 24"
1554
+ width="1em"
1555
+ xmlns="http://www.w3.org/2000/svg"
1556
+ >
1557
+ <path
1558
+ d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
1559
+ />
1560
+ </svg>
1561
+ </ui-icon>
1562
+ </ui-pressable>
1563
+ </ui-layer>
1564
+ <ui-layer-content
1565
+ class="layer hidden"
1566
+ style="left: 0px; top: 0px;"
1567
+ >
1568
+ <ui-view
1569
+ class="view"
1570
+ >
1571
+ <ui-scrollview
1572
+ class="scrollview vertical notIndicator"
1573
+ >
1574
+ <ui-view
1575
+ class="view wide"
1576
+ >
1577
+ <ui-view
1578
+ class="view row"
1579
+ >
1580
+ <ui-text
1581
+ class="text bold action"
1582
+ >
1583
+ core.label.place_type_count.room
1584
+ </ui-text>
1585
+ </ui-view>
1586
+ <ui-input-number
1587
+ class="view row inputNumber"
1588
+ data-testid="group-0"
1589
+ >
1590
+ <ui-view
1591
+ class="view texts"
1592
+ >
1593
+ <ui-label
1594
+ class="text paragraph text label withValue"
1595
+ >
1596
+ common.label.occupation_type_adult
1597
+ </ui-label>
1598
+ <ui-text
1599
+ class="text small text hint hint"
1600
+ >
1601
+ common.label.age_from
1602
+ </ui-text>
1603
+ </ui-view>
1604
+ <ui-button
1605
+ class="pressable button small squared secondary"
1606
+ data-testid="group-0-button-min"
1607
+ tabindex="0"
1608
+ >
1609
+ <ui-icon
1610
+ class="icon headline-3"
1611
+ >
1612
+ <svg
1613
+ fill="currentColor"
1614
+ height="1em"
1615
+ stroke="currentColor"
1616
+ stroke-width="0"
1617
+ viewBox="0 0 24 24"
1618
+ width="1em"
1619
+ xmlns="http://www.w3.org/2000/svg"
1620
+ >
1621
+ <path
1622
+ d="M0 0h24v24H0V0z"
1623
+ fill="none"
1624
+ />
1625
+ <path
1626
+ d="M19 13H5v-2h14v2z"
1627
+ />
1628
+ </svg>
1629
+ </ui-icon>
1630
+ </ui-button>
1631
+ <ui-text
1632
+ class="text paragraph value"
1633
+ >
1634
+ 2
1635
+ </ui-text>
1636
+ <ui-button
1637
+ class="pressable button small squared secondary"
1638
+ data-testid="group-0-button-max"
1639
+ tabindex="0"
1640
+ >
1641
+ <ui-icon
1642
+ class="icon headline-3"
1643
+ >
1644
+ <svg
1645
+ fill="currentColor"
1646
+ height="1em"
1647
+ stroke="currentColor"
1648
+ stroke-width="0"
1649
+ viewBox="0 0 24 24"
1650
+ width="1em"
1651
+ xmlns="http://www.w3.org/2000/svg"
1652
+ >
1653
+ <path
1654
+ d="M0 0h24v24H0V0z"
1655
+ fill="none"
1656
+ />
1657
+ <path
1658
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1659
+ />
1660
+ </svg>
1661
+ </ui-icon>
1662
+ </ui-button>
1663
+ </ui-input-number>
1664
+ <ui-input-number
1665
+ class="view row inputNumber"
1666
+ data-testid="group-1"
1667
+ >
1668
+ <ui-view
1669
+ class="view texts"
1670
+ >
1671
+ <ui-label
1672
+ class="text paragraph text label withValue"
1673
+ >
1674
+ common.label.occupation_type_child
1675
+ </ui-label>
1676
+ <ui-text
1677
+ class="text small text hint hint"
1678
+ >
1679
+ common.label.age_up_to
1680
+ </ui-text>
1681
+ </ui-view>
1682
+ <ui-button
1683
+ class="pressable disabled button small squared disabled"
1684
+ data-testid="group-1-button-min"
1685
+ disabled=""
1686
+ >
1687
+ <ui-icon
1688
+ class="icon headline-3"
1689
+ >
1690
+ <svg
1691
+ fill="currentColor"
1692
+ height="1em"
1693
+ stroke="currentColor"
1694
+ stroke-width="0"
1695
+ viewBox="0 0 24 24"
1696
+ width="1em"
1697
+ xmlns="http://www.w3.org/2000/svg"
1698
+ >
1699
+ <path
1700
+ d="M0 0h24v24H0V0z"
1701
+ fill="none"
1702
+ />
1703
+ <path
1704
+ d="M19 13H5v-2h14v2z"
1705
+ />
1706
+ </svg>
1707
+ </ui-icon>
1708
+ </ui-button>
1709
+ <ui-text
1710
+ class="text paragraph value"
1711
+ >
1712
+ 0
1713
+ </ui-text>
1714
+ <ui-button
1715
+ class="pressable button small squared secondary"
1716
+ data-testid="group-1-button-max"
1717
+ tabindex="0"
1718
+ >
1719
+ <ui-icon
1720
+ class="icon headline-3"
1721
+ >
1722
+ <svg
1723
+ fill="currentColor"
1724
+ height="1em"
1725
+ stroke="currentColor"
1726
+ stroke-width="0"
1727
+ viewBox="0 0 24 24"
1728
+ width="1em"
1729
+ xmlns="http://www.w3.org/2000/svg"
1730
+ >
1731
+ <path
1732
+ d="M0 0h24v24H0V0z"
1733
+ fill="none"
1734
+ />
1735
+ <path
1736
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1737
+ />
1738
+ </svg>
1739
+ </ui-icon>
1740
+ </ui-button>
1741
+ </ui-input-number>
1742
+ </ui-view>
1743
+ </ui-scrollview>
1744
+ <ui-view
1745
+ class="view row"
1746
+ >
1747
+ <ui-button
1748
+ class="pressable button secondary"
1749
+ tabindex="0"
1750
+ >
1751
+ core.action.add_place_type.room
1752
+ </ui-button>
1753
+ </ui-view>
1754
+ </ui-view>
1755
+ </ui-layer-content>
1756
+ </DocumentFragment>
1757
+ `;
1758
+
1759
+ exports[`<FieldOccupation> renders 1`] = `
1760
+ <DocumentFragment>
1761
+ <ui-layer
1762
+ class="container"
1763
+ >
1764
+ <ui-pressable
1765
+ class="pressable"
1766
+ tabindex="0"
1767
+ >
1768
+ <ui-icon
1769
+ class="icon headline-3"
1770
+ >
1771
+ <svg
1772
+ fill="currentColor"
1773
+ height="1em"
1774
+ stroke="currentColor"
1775
+ stroke-width="0"
1776
+ viewBox="0 0 24 24"
1777
+ width="1em"
1778
+ xmlns="http://www.w3.org/2000/svg"
1779
+ >
1780
+ <path
1781
+ d="M0 0h24v24H0z"
1782
+ fill="none"
1783
+ />
1784
+ <path
1785
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
1786
+ />
1787
+ </svg>
1788
+ </ui-icon>
1789
+ <ui-view
1790
+ class="view"
1791
+ >
1792
+ <ui-text
1793
+ class="text small"
1794
+ >
1795
+ core.label.who
1796
+ </ui-text>
1797
+ <ui-text
1798
+ class="text action"
1799
+ >
1800
+ · 1 common.label.accommodation_type
1801
+ </ui-text>
1802
+ </ui-view>
1803
+ </ui-pressable>
1804
+ </ui-layer>
1805
+ <ui-layer-content
1806
+ class="layer hidden"
1807
+ style="left: 0px; top: 0px;"
1808
+ >
1809
+ <ui-view
1810
+ class="view"
1811
+ >
1812
+ <ui-scrollview
1813
+ class="scrollview vertical notIndicator"
1814
+ >
1815
+ <ui-view
1816
+ class="view wide"
1817
+ >
1818
+ <ui-view
1819
+ class="view row"
1820
+ >
1821
+ <ui-text
1822
+ class="text bold action"
1823
+ >
1824
+ core.label.place_type_count.room
1825
+ </ui-text>
1826
+ </ui-view>
1827
+ <ui-input-number
1828
+ class="view row inputNumber"
1829
+ data-testid="group-0"
1830
+ >
1831
+ <ui-view
1832
+ class="view texts"
1833
+ >
1834
+ <ui-label
1835
+ class="text paragraph text label withValue"
1836
+ >
1837
+ common.label.occupation_type_adult
1838
+ </ui-label>
1839
+ <ui-text
1840
+ class="text small text hint hint"
1841
+ >
1842
+ common.label.age_from
1843
+ </ui-text>
1844
+ </ui-view>
1845
+ <ui-button
1846
+ class="pressable button small squared secondary"
1847
+ data-testid="group-0-button-min"
1848
+ tabindex="0"
1849
+ >
1850
+ <ui-icon
1851
+ class="icon headline-3"
1852
+ >
1853
+ <svg
1854
+ fill="currentColor"
1855
+ height="1em"
1856
+ stroke="currentColor"
1857
+ stroke-width="0"
1858
+ viewBox="0 0 24 24"
1859
+ width="1em"
1860
+ xmlns="http://www.w3.org/2000/svg"
1861
+ >
1862
+ <path
1863
+ d="M0 0h24v24H0V0z"
1864
+ fill="none"
1865
+ />
1866
+ <path
1867
+ d="M19 13H5v-2h14v2z"
1868
+ />
1869
+ </svg>
1870
+ </ui-icon>
1871
+ </ui-button>
1872
+ <ui-text
1873
+ class="text paragraph value"
1874
+ >
1875
+ 2
1876
+ </ui-text>
1877
+ <ui-button
1878
+ class="pressable button small squared secondary"
1879
+ data-testid="group-0-button-max"
1880
+ tabindex="0"
1881
+ >
1882
+ <ui-icon
1883
+ class="icon headline-3"
1884
+ >
1885
+ <svg
1886
+ fill="currentColor"
1887
+ height="1em"
1888
+ stroke="currentColor"
1889
+ stroke-width="0"
1890
+ viewBox="0 0 24 24"
1891
+ width="1em"
1892
+ xmlns="http://www.w3.org/2000/svg"
1893
+ >
1894
+ <path
1895
+ d="M0 0h24v24H0V0z"
1896
+ fill="none"
1897
+ />
1898
+ <path
1899
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1900
+ />
1901
+ </svg>
1902
+ </ui-icon>
1903
+ </ui-button>
1904
+ </ui-input-number>
1905
+ <ui-input-number
1906
+ class="view row inputNumber"
1907
+ data-testid="group-1"
1908
+ >
1909
+ <ui-view
1910
+ class="view texts"
1911
+ >
1912
+ <ui-label
1913
+ class="text paragraph text label withValue"
1914
+ >
1915
+ common.label.occupation_type_child
1916
+ </ui-label>
1917
+ <ui-text
1918
+ class="text small text hint hint"
1919
+ >
1920
+ common.label.age_up_to
1921
+ </ui-text>
1922
+ </ui-view>
1923
+ <ui-button
1924
+ class="pressable disabled button small squared disabled"
1925
+ data-testid="group-1-button-min"
1926
+ disabled=""
1927
+ >
1928
+ <ui-icon
1929
+ class="icon headline-3"
1930
+ >
1931
+ <svg
1932
+ fill="currentColor"
1933
+ height="1em"
1934
+ stroke="currentColor"
1935
+ stroke-width="0"
1936
+ viewBox="0 0 24 24"
1937
+ width="1em"
1938
+ xmlns="http://www.w3.org/2000/svg"
1939
+ >
1940
+ <path
1941
+ d="M0 0h24v24H0V0z"
1942
+ fill="none"
1943
+ />
1944
+ <path
1945
+ d="M19 13H5v-2h14v2z"
1946
+ />
1947
+ </svg>
1948
+ </ui-icon>
1949
+ </ui-button>
1950
+ <ui-text
1951
+ class="text paragraph value"
1952
+ >
1953
+ 0
1954
+ </ui-text>
1955
+ <ui-button
1956
+ class="pressable button small squared secondary"
1957
+ data-testid="group-1-button-max"
1958
+ tabindex="0"
1959
+ >
1960
+ <ui-icon
1961
+ class="icon headline-3"
1962
+ >
1963
+ <svg
1964
+ fill="currentColor"
1965
+ height="1em"
1966
+ stroke="currentColor"
1967
+ stroke-width="0"
1968
+ viewBox="0 0 24 24"
1969
+ width="1em"
1970
+ xmlns="http://www.w3.org/2000/svg"
1971
+ >
1972
+ <path
1973
+ d="M0 0h24v24H0V0z"
1974
+ fill="none"
1975
+ />
1976
+ <path
1977
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1978
+ />
1979
+ </svg>
1980
+ </ui-icon>
1981
+ </ui-button>
1982
+ </ui-input-number>
1983
+ </ui-view>
1984
+ </ui-scrollview>
1985
+ <ui-view
1986
+ class="view row"
1987
+ >
1988
+ <ui-button
1989
+ class="pressable button secondary"
1990
+ tabindex="0"
1991
+ >
1992
+ core.action.add_place_type.room
1993
+ </ui-button>
1994
+ </ui-view>
1995
+ </ui-view>
1996
+ </ui-layer-content>
1997
+ </DocumentFragment>
1998
+ `;
1999
+
2000
+ exports[`<FieldOccupation> testID 1`] = `
2001
+ <DocumentFragment>
2002
+ <ui-layer
2003
+ class="container"
2004
+ >
2005
+ <ui-pressable
2006
+ class="pressable"
2007
+ data-testid="mirai-field"
2008
+ tabindex="0"
2009
+ >
2010
+ <ui-icon
2011
+ class="icon headline-3"
2012
+ >
2013
+ <svg
2014
+ fill="currentColor"
2015
+ height="1em"
2016
+ stroke="currentColor"
2017
+ stroke-width="0"
2018
+ viewBox="0 0 24 24"
2019
+ width="1em"
2020
+ xmlns="http://www.w3.org/2000/svg"
2021
+ >
2022
+ <path
2023
+ d="M0 0h24v24H0z"
2024
+ fill="none"
2025
+ />
2026
+ <path
2027
+ d="M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87zM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24zM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM9 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1z"
2028
+ />
2029
+ </svg>
2030
+ </ui-icon>
2031
+ <ui-view
2032
+ class="view"
2033
+ >
2034
+ <ui-text
2035
+ class="text small"
2036
+ >
2037
+ core.label.who
2038
+ </ui-text>
2039
+ <ui-text
2040
+ class="text action"
2041
+ >
2042
+ · 1 common.label.accommodation_type
2043
+ </ui-text>
2044
+ </ui-view>
2045
+ </ui-pressable>
2046
+ </ui-layer>
2047
+ <ui-layer-content
2048
+ class="layer hidden"
2049
+ style="left: 0px; top: 0px;"
2050
+ >
2051
+ <ui-view
2052
+ class="view"
2053
+ data-testid="mirai"
2054
+ >
2055
+ <ui-scrollview
2056
+ class="scrollview vertical notIndicator"
2057
+ >
2058
+ <ui-view
2059
+ class="view wide"
2060
+ >
2061
+ <ui-view
2062
+ class="view row"
2063
+ >
2064
+ <ui-text
2065
+ class="text bold action"
2066
+ >
2067
+ core.label.place_type_count.room
2068
+ </ui-text>
2069
+ </ui-view>
2070
+ <ui-input-number
2071
+ class="view row inputNumber"
2072
+ data-testid="group-0"
2073
+ >
2074
+ <ui-view
2075
+ class="view texts"
2076
+ >
2077
+ <ui-label
2078
+ class="text paragraph text label withValue"
2079
+ >
2080
+ common.label.occupation_type_adult
2081
+ </ui-label>
2082
+ <ui-text
2083
+ class="text small text hint hint"
2084
+ >
2085
+ common.label.age_from
2086
+ </ui-text>
2087
+ </ui-view>
2088
+ <ui-button
2089
+ class="pressable button small squared secondary"
2090
+ data-testid="group-0-button-min"
2091
+ tabindex="0"
2092
+ >
2093
+ <ui-icon
2094
+ class="icon headline-3"
2095
+ >
2096
+ <svg
2097
+ fill="currentColor"
2098
+ height="1em"
2099
+ stroke="currentColor"
2100
+ stroke-width="0"
2101
+ viewBox="0 0 24 24"
2102
+ width="1em"
2103
+ xmlns="http://www.w3.org/2000/svg"
2104
+ >
2105
+ <path
2106
+ d="M0 0h24v24H0V0z"
2107
+ fill="none"
2108
+ />
2109
+ <path
2110
+ d="M19 13H5v-2h14v2z"
2111
+ />
2112
+ </svg>
2113
+ </ui-icon>
2114
+ </ui-button>
2115
+ <ui-text
2116
+ class="text paragraph value"
2117
+ >
2118
+ 2
2119
+ </ui-text>
2120
+ <ui-button
2121
+ class="pressable button small squared secondary"
2122
+ data-testid="group-0-button-max"
2123
+ tabindex="0"
2124
+ >
2125
+ <ui-icon
2126
+ class="icon headline-3"
2127
+ >
2128
+ <svg
2129
+ fill="currentColor"
2130
+ height="1em"
2131
+ stroke="currentColor"
2132
+ stroke-width="0"
2133
+ viewBox="0 0 24 24"
2134
+ width="1em"
2135
+ xmlns="http://www.w3.org/2000/svg"
2136
+ >
2137
+ <path
2138
+ d="M0 0h24v24H0V0z"
2139
+ fill="none"
2140
+ />
2141
+ <path
2142
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2143
+ />
2144
+ </svg>
2145
+ </ui-icon>
2146
+ </ui-button>
2147
+ </ui-input-number>
2148
+ <ui-input-number
2149
+ class="view row inputNumber"
2150
+ data-testid="group-1"
2151
+ >
2152
+ <ui-view
2153
+ class="view texts"
2154
+ >
2155
+ <ui-label
2156
+ class="text paragraph text label withValue"
2157
+ >
2158
+ common.label.occupation_type_child
2159
+ </ui-label>
2160
+ <ui-text
2161
+ class="text small text hint hint"
2162
+ >
2163
+ common.label.age_up_to
2164
+ </ui-text>
2165
+ </ui-view>
2166
+ <ui-button
2167
+ class="pressable disabled button small squared disabled"
2168
+ data-testid="group-1-button-min"
2169
+ disabled=""
2170
+ >
2171
+ <ui-icon
2172
+ class="icon headline-3"
2173
+ >
2174
+ <svg
2175
+ fill="currentColor"
2176
+ height="1em"
2177
+ stroke="currentColor"
2178
+ stroke-width="0"
2179
+ viewBox="0 0 24 24"
2180
+ width="1em"
2181
+ xmlns="http://www.w3.org/2000/svg"
2182
+ >
2183
+ <path
2184
+ d="M0 0h24v24H0V0z"
2185
+ fill="none"
2186
+ />
2187
+ <path
2188
+ d="M19 13H5v-2h14v2z"
2189
+ />
2190
+ </svg>
2191
+ </ui-icon>
2192
+ </ui-button>
2193
+ <ui-text
2194
+ class="text paragraph value"
2195
+ >
2196
+ 0
2197
+ </ui-text>
2198
+ <ui-button
2199
+ class="pressable button small squared secondary"
2200
+ data-testid="group-1-button-max"
2201
+ tabindex="0"
2202
+ >
2203
+ <ui-icon
2204
+ class="icon headline-3"
2205
+ >
2206
+ <svg
2207
+ fill="currentColor"
2208
+ height="1em"
2209
+ stroke="currentColor"
2210
+ stroke-width="0"
2211
+ viewBox="0 0 24 24"
2212
+ width="1em"
2213
+ xmlns="http://www.w3.org/2000/svg"
2214
+ >
2215
+ <path
2216
+ d="M0 0h24v24H0V0z"
2217
+ fill="none"
2218
+ />
2219
+ <path
2220
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
2221
+ />
2222
+ </svg>
2223
+ </ui-icon>
2224
+ </ui-button>
2225
+ </ui-input-number>
2226
+ </ui-view>
2227
+ </ui-scrollview>
2228
+ <ui-view
2229
+ class="view row"
2230
+ >
2231
+ <ui-button
2232
+ class="pressable button secondary"
2233
+ data-testid="mirai-add-room"
2234
+ tabindex="0"
2235
+ >
2236
+ core.action.add_place_type.room
2237
+ </ui-button>
2238
+ </ui-view>
2239
+ </ui-view>
2240
+ </ui-layer-content>
2241
+ </DocumentFragment>
2242
+ `;