adp-web-components 0.3.19 → 0.3.21

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 (339) hide show
  1. package/dist/cjs/{branch-slot-dropdown_15.cjs.entry.js → branch-date-dropdown_17.cjs.entry.js} +961 -70
  2. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +9 -9
  3. package/dist/cjs/flexible-container.cjs.entry.js +3 -3
  4. package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
  5. package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
  6. package/dist/cjs/form-input_7.cjs.entry.js +19 -17
  7. package/dist/cjs/form-switch.cjs.entry.js +2 -2
  8. package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
  9. package/dist/cjs/{functions-DL7oNhTD.js → functions-COlPGX7F.js} +44 -19
  10. package/dist/cjs/general-form.cjs.entry.js +6 -6
  11. package/dist/cjs/general-inquiry-form.cjs.entry.js +6 -6
  12. package/dist/cjs/{get-local-language-BuK1vyX4.js → get-local-language-rWhci9Es.js} +1 -1
  13. package/dist/cjs/{get-mock-files-D0TNQtTV.js → get-mock-files-Cceb_318.js} +1 -1
  14. package/dist/cjs/information-table.cjs.entry.js +1 -1
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
  17. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +3 -3
  18. package/dist/cjs/{mappers-BlH-TAo7.js → mappers-DnWgECCv.js} +54 -18
  19. package/dist/cjs/part-lookup.cjs.entry.js +2 -2
  20. package/dist/cjs/service-booking-form.cjs.entry.js +6 -6
  21. package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
  22. package/dist/cjs/shift-checkbox.cjs.entry.js +2 -2
  23. package/dist/cjs/shift-components.cjs.js +1 -1
  24. package/dist/cjs/shift-slider.cjs.entry.js +1 -1
  25. package/dist/cjs/shift-switch.cjs.entry.js +2 -2
  26. package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
  27. package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
  28. package/dist/cjs/ssc-lookup-form.cjs.entry.js +6 -6
  29. package/dist/cjs/test-drive-form.cjs.entry.js +6 -6
  30. package/dist/cjs/vehicle-accessories_8.cjs.entry.js +21 -21
  31. package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
  32. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +17 -18
  33. package/dist/collection/collection-manifest.json +2 -0
  34. package/dist/collection/components/components/empty.css +1 -1
  35. package/dist/collection/components/components/flexible-container.css +1 -1
  36. package/dist/collection/components/components/flexible-container.js +2 -2
  37. package/dist/collection/components/components/information-table.css +1 -1
  38. package/dist/collection/components/components/loading-spinner.css +1 -1
  39. package/dist/collection/components/components/loading-spinner.js +1 -1
  40. package/dist/collection/components/components/shift-accordion.js +1 -1
  41. package/dist/collection/components/components/shift-checkbox.js +1 -1
  42. package/dist/collection/components/components/shift-portal.css +1 -1
  43. package/dist/collection/components/components/shift-select-dropdown.js +2 -2
  44. package/dist/collection/components/components/shift-select.js +3 -3
  45. package/dist/collection/components/components/shift-slider.js +1 -1
  46. package/dist/collection/components/components/shift-switch.js +1 -1
  47. package/dist/collection/components/components/shift-tab-content.css +1 -1
  48. package/dist/collection/components/components/shift-tab-content.js +1 -1
  49. package/dist/collection/components/components/shift-tabs.css +1 -1
  50. package/dist/collection/components/components/shift-tabs.js +2 -2
  51. package/dist/collection/components/form-elements/branch-date-dropdown.css +1 -0
  52. package/dist/collection/components/form-elements/branch-date-dropdown.js +682 -0
  53. package/dist/collection/components/form-elements/branch-date-picker.css +1 -0
  54. package/dist/collection/components/form-elements/branch-date-picker.js +1197 -0
  55. package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -1
  56. package/dist/collection/components/form-elements/branch-slot-dropdown.js +11 -6
  57. package/dist/collection/components/form-elements/branch-slot-picker.css +1 -1
  58. package/dist/collection/components/form-elements/branch-slot-picker.js +166 -18
  59. package/dist/collection/components/form-elements/form-checkbox.js +1 -1
  60. package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
  61. package/dist/collection/components/form-elements/form-dialog.css +1 -1
  62. package/dist/collection/components/form-elements/form-dialog.js +1 -1
  63. package/dist/collection/components/form-elements/form-file.js +2 -2
  64. package/dist/collection/components/form-elements/form-input.js +6 -4
  65. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  66. package/dist/collection/components/form-elements/form-phone-number.js +4 -2
  67. package/dist/collection/components/form-elements/form-picker-input.js +6 -4
  68. package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
  69. package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
  70. package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
  71. package/dist/collection/components/form-elements/form-stepper.js +1 -1
  72. package/dist/collection/components/form-elements/form-structure-error.js +1 -1
  73. package/dist/collection/components/form-elements/form-structure.js +3 -2
  74. package/dist/collection/components/form-elements/form-submit.js +2 -2
  75. package/dist/collection/components/form-elements/form-switch.js +1 -1
  76. package/dist/collection/components/form-elements/form-text-area.js +6 -4
  77. package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
  78. package/dist/collection/components/form-elements/form-vin-input.js +6 -4
  79. package/dist/collection/components/forms/defaults/mappers.js +54 -18
  80. package/dist/collection/components/forms/defaults/style.css +1 -1
  81. package/dist/collection/components/forms/general-form.js +2 -2
  82. package/dist/collection/components/forms/general-inquiry.js +2 -2
  83. package/dist/collection/components/forms/service-booking.js +2 -2
  84. package/dist/collection/components/forms/ssc-lookup.js +2 -2
  85. package/dist/collection/components/forms/test-drive.js +2 -2
  86. package/dist/collection/components/forms/vehicle-quotation/themes.css +1 -1
  87. package/dist/collection/components/forms/vehicle-quotation.js +15 -16
  88. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  89. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  90. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  91. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  92. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  93. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  94. package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
  95. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  96. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  97. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
  98. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  99. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +5 -5
  100. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  101. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +6 -6
  102. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  103. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  104. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  105. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
  106. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  107. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
  108. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  109. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  110. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  111. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -1
  112. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +1 -1
  113. package/dist/collection/components/vin-extractor/vin-extractor.css +1 -1
  114. package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
  115. package/dist/collection/features/form-hook/functions.js +42 -18
  116. package/dist/collection/global/lib/slot-day-rules.js +65 -0
  117. package/dist/collection/templates/assets/favicon.svg +17 -0
  118. package/dist/collection/templates/forms/docs-content/params.js +1199 -0
  119. package/dist/collection/templates/forms/docs-content/structure.js +1153 -0
  120. package/dist/collection/templates/forms/docs-content/theming.js +1240 -0
  121. package/dist/collection/templates/harness.js +595 -84
  122. package/dist/collection/templates/highlight.js +194 -0
  123. package/dist/collection/templates/nav.js +320 -0
  124. package/dist/collection/templates/site-header.js +642 -0
  125. package/dist/collection/templates/site-locales.js +771 -0
  126. package/dist/components/branch-date-dropdown.d.ts +11 -0
  127. package/dist/components/branch-date-dropdown.js +5 -0
  128. package/dist/components/branch-date-picker.d.ts +11 -0
  129. package/dist/components/branch-date-picker.js +5 -0
  130. package/dist/components/branch-slot-dropdown.js +1 -1
  131. package/dist/components/branch-slot-picker.js +1 -1
  132. package/dist/components/dead-stock-lookup.js +1 -1
  133. package/dist/components/distributor-lookup.js +1 -1
  134. package/dist/components/flexible-container.js +1 -1
  135. package/dist/components/form-checkbox.js +1 -1
  136. package/dist/components/form-date-picker.js +1 -1
  137. package/dist/components/form-dialog.js +1 -1
  138. package/dist/components/form-file.js +1 -1
  139. package/dist/components/form-input-preview.js +1 -1
  140. package/dist/components/form-input.js +1 -1
  141. package/dist/components/form-phone-number.js +1 -1
  142. package/dist/components/form-picker-input.js +1 -1
  143. package/dist/components/form-select.js +1 -1
  144. package/dist/components/form-shadow-input.js +1 -1
  145. package/dist/components/form-stepper-control.js +1 -1
  146. package/dist/components/form-stepper-submit.js +1 -1
  147. package/dist/components/form-stepper.js +1 -1
  148. package/dist/components/form-structure-error.js +1 -1
  149. package/dist/components/form-structure.js +1 -1
  150. package/dist/components/form-submit.js +1 -1
  151. package/dist/components/form-switch.js +1 -1
  152. package/dist/components/form-text-area.js +1 -1
  153. package/dist/components/form-time-picker.js +1 -1
  154. package/dist/components/form-vin-input.js +1 -1
  155. package/dist/components/general-form.js +1 -1
  156. package/dist/components/general-inquiry-form.js +1 -1
  157. package/dist/components/information-table.js +1 -1
  158. package/dist/components/loading-spinner.js +1 -1
  159. package/dist/components/manufacturer-lookup.js +1 -1
  160. package/dist/components/manufacturer-part-lookup.js +1 -1
  161. package/dist/components/p--lk4OUJg.js +5 -0
  162. package/dist/components/p-3450p9UN.js +5 -0
  163. package/dist/components/{p-Dd_Xnn2b.js → p-3kY-T9ID.js} +1 -1
  164. package/dist/components/p-40jijfEq.js +5 -0
  165. package/dist/components/{p-_apNp6J3.js → p-BJrbtmnU.js} +1 -1
  166. package/dist/components/p-BTt7sEhA.js +5 -0
  167. package/dist/components/p-BcbFXFPI.js +5 -0
  168. package/dist/components/{p-DpXLfNHS.js → p-BgJljKxp.js} +1 -1
  169. package/dist/components/{p-1fzw9lBq.js → p-BiTpOAiT.js} +1 -1
  170. package/dist/components/p-BoQgpmtN.js +5 -0
  171. package/dist/components/p-BpHkd1L9.js +5 -0
  172. package/dist/components/{p-CC16uGpN.js → p-BwKzJeLy.js} +1 -1
  173. package/dist/components/{p-C8S2P4sw.js → p-BwcxrN3h.js} +1 -1
  174. package/dist/components/{p-CwbJMZVZ.js → p-C1I6zBo7.js} +1 -1
  175. package/dist/components/{p-DcMgXNpe.js → p-CC5K40ze.js} +1 -1
  176. package/dist/components/{p-B8hl68AM.js → p-CDdYNb7K.js} +1 -1
  177. package/dist/components/p-CE9wNugx.js +5 -0
  178. package/dist/components/p-CU0gZwVU.js +5 -0
  179. package/dist/components/{p-BdPZ7u2w.js → p-CUTQhKeo.js} +1 -1
  180. package/dist/components/{p-BbQAkWw4.js → p-CXigg5tn.js} +1 -1
  181. package/dist/components/p-CYuQunRn.js +5 -0
  182. package/dist/components/{p-B9xLzbPr.js → p-Ce2mazYo.js} +1 -1
  183. package/dist/components/p-CjQ2hRI-.js +5 -0
  184. package/dist/components/{p-l2FHTMzv.js → p-CjdYtmBI.js} +1 -1
  185. package/dist/components/{p-C6U9Fs9H.js → p-CmIFPUXD.js} +1 -1
  186. package/dist/components/{p-ClT5CzCZ.js → p-CsXGhc7r.js} +1 -1
  187. package/dist/components/{p-7Gq_FyNj.js → p-D1JLecvO.js} +1 -1
  188. package/dist/components/p-DDhVlLOx.js +5 -0
  189. package/dist/components/{p-D7Sj02XY.js → p-DFKEx7TJ.js} +1 -1
  190. package/dist/components/p-DQSUv7pB.js +5 -0
  191. package/dist/components/{p-Bb2xDuqh.js → p-DU9WzEFX.js} +1 -1
  192. package/dist/components/{p-LkNhSGDO.js → p-DaQOYb2R.js} +1 -1
  193. package/dist/components/p-Dd_3uKgv.js +5 -0
  194. package/dist/components/{p-DbnN292R.js → p-DdgLsuaX.js} +1 -1
  195. package/dist/components/p-DeeDRJ2C.js +5 -0
  196. package/dist/components/{p-Dsk1SNut.js → p-Dl0BmrLe.js} +1 -1
  197. package/dist/components/{p-B2w49gNR.js → p-Dsu3xdDz.js} +1 -1
  198. package/dist/components/{p-B7G2HjX0.js → p-Dts2Iuoc.js} +1 -1
  199. package/dist/components/p-DvcOTV3l.js +5 -0
  200. package/dist/components/{p-BaZAgTxG.js → p-HpXp7TBt.js} +1 -1
  201. package/dist/components/p-KSvRVGk-.js +5 -0
  202. package/dist/components/{p-BKzXBxxc.js → p-O0AragmD.js} +1 -1
  203. package/dist/components/{p-CL5G_ZDE.js → p-OdEwTuBq.js} +1 -1
  204. package/dist/components/{p-R_rAJ4hF.js → p-UeoCFDF-.js} +1 -1
  205. package/dist/components/{p-Qh1y1RV2.js → p-Wfd6v4yE.js} +1 -1
  206. package/dist/components/p-g-v1c-Sz.js +5 -0
  207. package/dist/components/{p-DtZM3yHS.js → p-kvRYCMvP.js} +1 -1
  208. package/dist/components/p-nX_t9aCK.js +5 -0
  209. package/dist/components/p-yWyKiQgx.js +5 -0
  210. package/dist/components/p-zeGxLJvE.js +5 -0
  211. package/dist/components/part-lookup.js +1 -1
  212. package/dist/components/service-booking-form.js +1 -1
  213. package/dist/components/shift-accordion.js +1 -1
  214. package/dist/components/shift-checkbox.js +1 -1
  215. package/dist/components/shift-portal.js +1 -1
  216. package/dist/components/shift-select-dropdown.js +1 -1
  217. package/dist/components/shift-select.js +1 -1
  218. package/dist/components/shift-slider.js +1 -1
  219. package/dist/components/shift-switch.js +1 -1
  220. package/dist/components/shift-tab-content.js +1 -1
  221. package/dist/components/shift-tabs.js +1 -1
  222. package/dist/components/ssc-lookup-form.js +1 -1
  223. package/dist/components/test-drive-form.js +1 -1
  224. package/dist/components/vehicle-accessories.js +1 -1
  225. package/dist/components/vehicle-claimable-items.js +1 -1
  226. package/dist/components/vehicle-item-claim-form.js +1 -1
  227. package/dist/components/vehicle-lookup.js +1 -1
  228. package/dist/components/vehicle-paint-thickness.js +1 -1
  229. package/dist/components/vehicle-quotation-form.js +1 -1
  230. package/dist/components/vehicle-sale-information.js +1 -1
  231. package/dist/components/vehicle-service-history.js +1 -1
  232. package/dist/components/vehicle-specification.js +1 -1
  233. package/dist/components/vehicle-warranty-details.js +1 -1
  234. package/dist/components/vehicle-warranty-timeline.js +1 -1
  235. package/dist/components/vin-extractor.js +1 -1
  236. package/dist/esm/{branch-slot-dropdown_15.entry.js → branch-date-dropdown_17.entry.js} +960 -71
  237. package/dist/esm/dead-stock-lookup_3.entry.js +9 -9
  238. package/dist/esm/flexible-container.entry.js +3 -3
  239. package/dist/esm/form-checkbox.entry.js +2 -2
  240. package/dist/esm/form-date-picker.entry.js +5 -5
  241. package/dist/esm/form-input_7.entry.js +19 -17
  242. package/dist/esm/form-switch.entry.js +2 -2
  243. package/dist/esm/form-time-picker.entry.js +6 -6
  244. package/dist/esm/{functions-Ccrile_u.js → functions-DJ_k25ew.js} +44 -20
  245. package/dist/esm/general-form.entry.js +6 -6
  246. package/dist/esm/general-inquiry-form.entry.js +6 -6
  247. package/dist/esm/{get-local-language-oNw84Rsz.js → get-local-language-Bx6zWD91.js} +1 -1
  248. package/dist/esm/{get-mock-files-C26lznN1.js → get-mock-files-BBSjMVMQ.js} +1 -1
  249. package/dist/esm/information-table.entry.js +1 -1
  250. package/dist/esm/loader.js +1 -1
  251. package/dist/esm/loading-spinner.entry.js +2 -2
  252. package/dist/esm/manufacturer-part-lookup.entry.js +3 -3
  253. package/dist/esm/{mappers-9IKbvPiR.js → mappers-CZs2R7k6.js} +54 -18
  254. package/dist/esm/part-lookup.entry.js +2 -2
  255. package/dist/esm/service-booking-form.entry.js +6 -6
  256. package/dist/esm/shift-accordion.entry.js +1 -1
  257. package/dist/esm/shift-checkbox.entry.js +2 -2
  258. package/dist/esm/shift-components.js +1 -1
  259. package/dist/esm/shift-slider.entry.js +1 -1
  260. package/dist/esm/shift-switch.entry.js +2 -2
  261. package/dist/esm/shift-tab-content.entry.js +2 -2
  262. package/dist/esm/shift-tabs_2.entry.js +10 -10
  263. package/dist/esm/ssc-lookup-form.entry.js +6 -6
  264. package/dist/esm/test-drive-form.entry.js +6 -6
  265. package/dist/esm/vehicle-accessories_8.entry.js +21 -21
  266. package/dist/esm/vehicle-lookup.entry.js +3 -3
  267. package/dist/esm/vehicle-quotation-form.entry.js +17 -18
  268. package/dist/integration-manifest.json +1 -1
  269. package/dist/shift-components/{p-BugYpTL6.js → p--hCDlSpp.js} +1 -1
  270. package/dist/shift-components/p-020fbe81.entry.js +5 -0
  271. package/dist/shift-components/p-0398f3c4.entry.js +5 -0
  272. package/dist/shift-components/{p-0da97a29.entry.js → p-10882717.entry.js} +1 -1
  273. package/dist/shift-components/p-165ff895.entry.js +5 -0
  274. package/dist/shift-components/{p-d59276b6.entry.js → p-1a0b40e6.entry.js} +1 -1
  275. package/dist/shift-components/{p-e90c354a.entry.js → p-1be40385.entry.js} +1 -1
  276. package/dist/shift-components/{p-31718ec2.entry.js → p-327774de.entry.js} +1 -1
  277. package/dist/shift-components/{p-urLq-GEs.js → p-3YRvA44H.js} +1 -1
  278. package/dist/shift-components/{p-323ffb6e.entry.js → p-79e08717.entry.js} +1 -1
  279. package/dist/shift-components/{p-34e9053b.entry.js → p-7b1c5abb.entry.js} +1 -1
  280. package/dist/shift-components/{p-30e84a3b.entry.js → p-7e89d3fc.entry.js} +1 -1
  281. package/dist/shift-components/{p-729d8d4b.entry.js → p-7f2e2763.entry.js} +1 -1
  282. package/dist/shift-components/{p-eb265a3e.entry.js → p-81257775.entry.js} +1 -1
  283. package/dist/shift-components/{p-3aad8840.entry.js → p-8870420e.entry.js} +1 -1
  284. package/dist/shift-components/{p-c9ba7fd5.entry.js → p-8d205235.entry.js} +1 -1
  285. package/dist/shift-components/{p-09a0fd99.entry.js → p-95a4096f.entry.js} +1 -1
  286. package/dist/shift-components/p-B9INqdFT.js +5 -0
  287. package/dist/shift-components/p-DwFtCPcT.js +5 -0
  288. package/dist/shift-components/{p-d58404bd.entry.js → p-a0dc1bcc.entry.js} +1 -1
  289. package/dist/shift-components/{p-53cd54e8.entry.js → p-a1b97bce.entry.js} +1 -1
  290. package/dist/shift-components/p-bd1a0763.entry.js +5 -0
  291. package/dist/shift-components/{p-a15fdf1e.entry.js → p-c197b86b.entry.js} +1 -1
  292. package/dist/shift-components/{p-63713eae.entry.js → p-c2512cb2.entry.js} +1 -1
  293. package/dist/shift-components/{p-f2a546db.entry.js → p-cc900265.entry.js} +1 -1
  294. package/dist/shift-components/{p-1355934b.entry.js → p-d23d9d1f.entry.js} +1 -1
  295. package/dist/shift-components/p-ddf6c6f6.entry.js +5 -0
  296. package/dist/shift-components/{p-68722c7b.entry.js → p-e02f3a3f.entry.js} +1 -1
  297. package/dist/shift-components/{p-9b13a82b.entry.js → p-e72947e0.entry.js} +1 -1
  298. package/dist/shift-components/p-f30a355a.entry.js +5 -0
  299. package/dist/shift-components/shift-components.esm.js +1 -1
  300. package/dist/stencil-docs.json +1677 -12
  301. package/dist/templates/production-host/vehicle-service-history.html +14 -0
  302. package/dist/types/components/form-elements/branch-date-dropdown.d.ts +74 -0
  303. package/dist/types/components/form-elements/branch-date-picker.d.ts +174 -0
  304. package/dist/types/components/form-elements/branch-slot-dropdown.d.ts +6 -0
  305. package/dist/types/components/form-elements/branch-slot-picker.d.ts +27 -0
  306. package/dist/types/components/forms/defaults/mappers.d.ts +15 -9
  307. package/dist/types/components.d.ts +533 -6
  308. package/dist/types/features/form-hook/functions.d.ts +14 -0
  309. package/dist/types/global/lib/slot-day-rules.d.ts +25 -0
  310. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +2 -2
  311. package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +4 -4
  312. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +2 -2
  313. package/package.json +6 -1
  314. package/dist/components/p-6RmAcc2q.js +0 -5
  315. package/dist/components/p-8jIkK-Kb.js +0 -5
  316. package/dist/components/p-BUepGDZV.js +0 -5
  317. package/dist/components/p-B__72-PA.js +0 -5
  318. package/dist/components/p-Bj3cvdzl.js +0 -5
  319. package/dist/components/p-BvMcY9Sk.js +0 -5
  320. package/dist/components/p-C-yTwaAA.js +0 -5
  321. package/dist/components/p-C8B9jarP.js +0 -5
  322. package/dist/components/p-CCounVqq.js +0 -5
  323. package/dist/components/p-CIPh05sT.js +0 -5
  324. package/dist/components/p-CKwgX_v0.js +0 -5
  325. package/dist/components/p-CPBmhspv.js +0 -5
  326. package/dist/components/p-Cm94OAx9.js +0 -5
  327. package/dist/components/p-DWjIts4C.js +0 -5
  328. package/dist/components/p-DeipsN8N.js +0 -5
  329. package/dist/components/p-DkagL-e-.js +0 -5
  330. package/dist/components/p-G7teNuSi.js +0 -5
  331. package/dist/shift-components/p-12e295ba.entry.js +0 -5
  332. package/dist/shift-components/p-138af7f3.entry.js +0 -5
  333. package/dist/shift-components/p-327fddd8.entry.js +0 -5
  334. package/dist/shift-components/p-8374f629.entry.js +0 -5
  335. package/dist/shift-components/p-awXOnuq1.js +0 -5
  336. package/dist/shift-components/p-c25a6c0d.entry.js +0 -5
  337. package/dist/shift-components/p-dacdff2a.entry.js +0 -5
  338. package/dist/shift-components/p-hABirfUj.js +0 -5
  339. /package/dist/collection/templates/{vehicle-lookup → prototypes}/prototype-assets/extended-warranty/adp-logo.svg +0 -0
@@ -1 +1 @@
1
- *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.z-10{z-index:10}.z-\[9999998\]{z-index:9999998}.z-\[9999999\]{z-index:9999999}.mx-auto{margin-left:auto;margin-right:auto}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-\[100px\]{height:100px}.h-\[44px\]{height:44px}.h-\[68px\]{height:68px}.min-h-\[14px\]{min-height:14px}.w-9{width:2.25rem}.w-\[58px\]{width:58px}.w-\[62px\]{width:62px}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.select-none{user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-\[1px\]{gap:1px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.border{border-width:1px}.border-x-0{border-left-width:0;border-right-width:0}.border-b-0{border-bottom-width:0}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[3px\]{padding-bottom:3px;padding-top:3px}.pb-2{padding-bottom:.5rem}.pb-\[7px\]{padding-bottom:7px}.pt-\[6px\]{padding-top:6px}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[21px\]{font-size:21px}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.branch-slot-backdrop{background-color:rgba(0,0,0,.4);display:none;inset:0;z-index:9999998}.branch-slot-backdrop,.branch-slot-container{opacity:0;pointer-events:none;position:fixed;transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.branch-slot-container{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;left:var(--branch-slot-left,0);max-height:var(--branch-slot-max-height,320px);min-width:288px;overflow:auto;top:var(--branch-slot-top,0);width:var(--branch-slot-width,auto);z-index:9999999}.branch-slot-container-open{opacity:1;pointer-events:auto}.branch-slot-section{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem}.branch-slot-section+.branch-slot-section{border-top-width:1px}.branch-slot-head{align-items:center;display:flex;gap:.75rem;justify-content:space-between}.branch-slot-sublabel{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:.75rem;font-weight:600;letter-spacing:.025em;line-height:1rem;text-transform:uppercase}.branch-slot-count{--tw-numeric-spacing:tabular-nums;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1));font-size:.75rem;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);line-height:1rem}.branch-slot-strip{-webkit-overflow-scrolling:touch;display:flex;gap:.5rem;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px;padding-top:3px;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x}.branch-slot-strip::-webkit-scrollbar{display:none}.branch-slot-day{--tw-border-opacity:1;align-items:center;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;display:flex;flex-direction:column;flex-shrink:0;gap:1px;padding:6px .25rem 7px;scroll-snap-align:start;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none;width:58px}.branch-slot-day:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.branch-slot-day-selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.branch-slot-day-dow{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:10px;letter-spacing:.025em;text-transform:uppercase}.branch-slot-day-num{--tw-numeric-spacing:tabular-nums;font-size:21px;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-weight:600;line-height:1.25}.branch-slot-day-mon{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:10px;min-height:14px}.branch-slot-times{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(78px,1fr))}.branch-slot-time{--tw-border-opacity:1;--tw-numeric-spacing:tabular-nums;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;font-size:.875rem;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);line-height:1.25rem;min-height:44px;padding:.5rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.branch-slot-time:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.branch-slot-time-selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.branch-slot-empty-container{--tw-text-opacity:1;align-items:center;color:rgb(100 116 139/var(--tw-text-opacity,1));display:flex;height:100px;justify-content:center;padding-left:1rem;padding-right:1rem;text-align:center}.branch-slot-empty-container-error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.branch-slot-retry{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;font-size:.875rem;line-height:1.25rem;margin-top:.5rem;padding:.5rem .75rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.branch-slot-retry:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}@keyframes pulse{50%{opacity:.5}}.branch-slot-skeleton{--tw-bg-opacity:1;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-radius:.375rem}.branch-slot-skeleton-day{flex-shrink:0;height:68px;width:58px}.branch-slot-skeleton-time{height:44px}@media (max-width:599px){.branch-slot-backdrop{display:block}.branch-slot-backdrop-open{opacity:1;pointer-events:auto}.branch-slot-container{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0;border-left-width:0;border-right-width:0;border-top-left-radius:1rem;border-top-right-radius:1rem;bottom:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);left:0;max-height:78vh;max-height:78dvh;min-width:0;opacity:1;padding-bottom:env(safe-area-inset-bottom,0);right:0;top:auto;transform:translateY(100%);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.branch-slot-container-open{transform:translateY(0)}.branch-slot-container:before{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1));border-radius:9999px;content:"";flex-shrink:0;height:.25rem;margin-left:auto;margin-right:auto;margin-top:.5rem;position:sticky;top:0;width:2.25rem;z-index:10}.branch-slot-section{padding:1rem}.branch-slot-day{padding-bottom:.5rem;padding-top:.5rem;width:62px}.branch-slot-times{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}}@media (prefers-reduced-motion:reduce){.branch-slot-backdrop,.branch-slot-container,.branch-slot-day,.branch-slot-time{transition-property:none!important}.branch-slot-skeleton{animation:none!important}}.static{position:static}.cursor-pointer{cursor:pointer}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.h-full{height:100%}.min-h-\[150px\]{min-height:150px}.w-full{width:100%}.duration-500{transition-duration:.5s}.\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-0{transition-duration:0s!important}.\!duration-500{transition-duration:.5s!important}.bottom-4{bottom:1rem}.bottom-\[88px\]{bottom:88px}.left-1\/2{left:50%}.z-\[9999\]{z-index:9999}.m-0{margin:0}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\[22px\]{height:22px;width:22px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\[100dvh\]{height:100dvh}.h-\[60px\]{height:60px}.min-h-full{min-height:100%}.w-\[100dvw\]{width:100dvw}.w-\[100px\]{width:100px}.min-w-\[140px\]{min-width:140px}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/55{background-color:rgba(0,0,0,.55)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\[16px\]{padding:16px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.text-\[18px\]{font-size:18px}.font-medium{font-weight:500}.leading-\[1\.3\]{line-height:1.3}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\:bg-white\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\:relative{position:relative}.md\:h-auto{height:auto}.md\:w-\[600px\]{width:600px}.md\:\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\:overflow-hidden{overflow:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-none{border-style:none}.md\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\:py-\[8px\]{padding-bottom:8px;padding-top:8px}.md\:text-\[24px\]{font-size:24px}.md\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\:\!opacity-100{opacity:1!important}.md\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\:duration-300{transition-duration:.3s}.md\:hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}
1
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.z-10{z-index:10}.z-\[9999998\]{z-index:9999998}.z-\[9999999\]{z-index:9999999}.mx-auto{margin-left:auto;margin-right:auto}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-\[100px\]{height:100px}.h-\[44px\]{height:44px}.h-\[68px\]{height:68px}.min-h-\[14px\]{min-height:14px}.w-9{width:2.25rem}.w-\[58px\]{width:58px}.w-\[62px\]{width:62px}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.select-none{user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-\[1px\]{gap:1px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.border{border-width:1px}.border-x-0{border-left-width:0;border-right-width:0}.border-b-0{border-bottom-width:0}.border-dashed{border-style:dashed}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[3px\]{padding-bottom:3px;padding-top:3px}.pb-2{padding-bottom:.5rem}.pb-\[7px\]{padding-bottom:7px}.pt-\[6px\]{padding-top:6px}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[21px\]{font-size:21px}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.branch-slot-backdrop{background-color:rgba(0,0,0,.4);display:none;inset:0;z-index:9999998}.branch-slot-backdrop,.branch-slot-container{opacity:0;pointer-events:none;position:fixed;transition-duration:.3s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.branch-slot-container{--tw-bg-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;left:var(--branch-slot-left,0);max-height:var(--branch-slot-max-height,320px);min-width:288px;overflow:auto;top:var(--branch-slot-top,0);width:var(--branch-slot-width,auto);z-index:9999999}.branch-slot-container-open{opacity:1;pointer-events:auto}.branch-slot-section{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem}.branch-slot-section+.branch-slot-section{border-top-width:1px}.branch-slot-head{align-items:center;display:flex;gap:.75rem;justify-content:space-between}.branch-slot-sublabel{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:.75rem;font-weight:600;letter-spacing:.025em;line-height:1rem;text-transform:uppercase}.branch-slot-count{--tw-numeric-spacing:tabular-nums;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1));font-size:.75rem;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);line-height:1rem}.branch-slot-strip{-webkit-overflow-scrolling:touch;display:flex;gap:.5rem;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px;padding-top:3px;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x}.branch-slot-strip::-webkit-scrollbar{display:none}.branch-slot-day{--tw-border-opacity:1;align-items:center;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;display:flex;flex-direction:column;flex-shrink:0;gap:1px;padding:6px .25rem 7px;scroll-snap-align:start;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none;width:58px}.branch-slot-day:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.branch-slot-day-selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.branch-slot-day-disabled{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1));border-color:rgb(226 232 240/var(--tw-border-opacity,1));border-style:dashed;color:rgb(203 213 225/var(--tw-text-opacity,1));cursor:not-allowed}.branch-slot-day-disabled:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.branch-slot-day-dow{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:10px;letter-spacing:.025em;text-transform:uppercase}.branch-slot-day-num{--tw-numeric-spacing:tabular-nums;font-size:21px;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-weight:600;line-height:1.25}.branch-slot-day-mon{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));font-size:10px;min-height:14px}.branch-slot-times{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(78px,1fr))}.branch-slot-time{--tw-border-opacity:1;--tw-numeric-spacing:tabular-nums;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;font-size:.875rem;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);line-height:1.25rem;min-height:44px;padding:.5rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);user-select:none}.branch-slot-time:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.branch-slot-time-selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.branch-slot-empty-container{--tw-text-opacity:1;align-items:center;color:rgb(100 116 139/var(--tw-text-opacity,1));display:flex;height:100px;justify-content:center;padding-left:1rem;padding-right:1rem;text-align:center}.branch-slot-empty-container-error{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.branch-slot-retry{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:.375rem;border-width:1px;font-size:.875rem;line-height:1.25rem;margin-top:.5rem;padding:.5rem .75rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.branch-slot-retry:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}@keyframes pulse{50%{opacity:.5}}.branch-slot-skeleton{--tw-bg-opacity:1;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity,1));border-radius:.375rem}.branch-slot-skeleton-day{flex-shrink:0;height:68px;width:58px}.branch-slot-skeleton-time{height:44px}@media (max-width:599px){.branch-slot-backdrop{display:block}.branch-slot-backdrop-open{opacity:1;pointer-events:auto}.branch-slot-container{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0;border-left-width:0;border-right-width:0;border-top-left-radius:1rem;border-top-right-radius:1rem;bottom:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);left:0;max-height:78vh;max-height:78dvh;min-width:0;opacity:1;padding-bottom:env(safe-area-inset-bottom,0);right:0;top:auto;transform:translateY(100%);transition-duration:.3s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.branch-slot-container-open{transform:translateY(0)}.branch-slot-container:before{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1));border-radius:9999px;content:"";flex-shrink:0;height:.25rem;margin-left:auto;margin-right:auto;margin-top:.5rem;position:sticky;top:0;width:2.25rem;z-index:10}.branch-slot-section{padding:1rem}.branch-slot-day{padding-bottom:.5rem;padding-top:.5rem;width:62px}.branch-slot-times{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}}@media (prefers-reduced-motion:reduce){.branch-slot-backdrop,.branch-slot-container,.branch-slot-day,.branch-slot-time{transition-property:none!important}.branch-slot-skeleton{animation:none!important}}.static{position:static}.cursor-pointer{cursor:pointer}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.h-full{height:100%}.min-h-\[150px\]{min-height:150px}.w-full{width:100%}.duration-500{transition-duration:.5s}.\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-0{transition-duration:0s!important}.\!duration-500{transition-duration:.5s!important}.bottom-4{bottom:1rem}.bottom-\[88px\]{bottom:88px}.left-1\/2{left:50%}.z-\[9999\]{z-index:9999}.m-0{margin:0}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\[22px\]{height:22px;width:22px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\[100dvh\]{height:100dvh}.h-\[60px\]{height:60px}.min-h-full{min-height:100%}.w-\[100dvw\]{width:100dvw}.w-\[100px\]{width:100px}.min-w-\[140px\]{min-width:140px}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/55{background-color:rgba(0,0,0,.55)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\[16px\]{padding:16px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.text-\[18px\]{font-size:18px}.font-medium{font-weight:500}.leading-\[1\.3\]{line-height:1.3}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\:bg-white\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\:relative{position:relative}.md\:h-auto{height:auto}.md\:w-\[600px\]{width:600px}.md\:\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\:overflow-hidden{overflow:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-none{border-style:none}.md\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\:py-\[8px\]{padding-bottom:8px;padding-top:8px}.md\:text-\[24px\]{font-size:24px}.md\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\:\!opacity-100{opacity:1!important}.md\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\:duration-300{transition-duration:.3s}.md\:hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}
@@ -43,15 +43,20 @@ export class BranchSlotDropdown {
43
43
  }
44
44
  renderSlots() {
45
45
  var _a, _b;
46
- const active = this.days.find(day => day.date === this.activeDate);
46
+ const active = this.days.find(day => day.date === this.activeDate && !day.disabled);
47
+ const openCount = this.days.filter(day => !day.disabled).length;
47
48
  let lastMonth = '';
48
- return (h("div", null, h("div", { class: "branch-slot-section" }, h("div", { class: "branch-slot-head" }, h("span", { class: "branch-slot-sublabel" }, this.copy.day), h("span", { class: "branch-slot-count" }, this.days.length, " ", this.copy.days)), h("div", { class: "branch-slot-strip", role: "radiogroup", "aria-label": this.copy.day }, this.days.map(day => {
49
+ return (h("div", null, h("div", { class: "branch-slot-section" }, h("div", { class: "branch-slot-head" }, h("span", { class: "branch-slot-sublabel" }, this.copy.day), h("span", { class: "branch-slot-count" }, openCount, " ", this.copy.days)), h("div", { class: "branch-slot-strip", role: "radiogroup", "aria-label": this.copy.day }, this.days.map(day => {
49
50
  const month = this.formatDay(day.date, { month: 'short' });
50
51
  const showMonth = month !== lastMonth;
51
52
  lastMonth = month;
52
- const isActive = day.date === this.activeDate;
53
- const identifier = cn(`${this.name}-slot-day branch-slot-day`, { 'branch-slot-day-selected': isActive });
54
- return (h("button", { key: day.date, type: "button", role: "radio", part: identifier, class: identifier, "aria-checked": isActive ? 'true' : 'false', onClick: () => this.handleDay(day.date) }, h("span", { class: "branch-slot-day-dow" }, this.formatDay(day.date, { weekday: 'short' })), h("span", { class: "branch-slot-day-num" }, this.formatDay(day.date, { day: 'numeric' })), h("span", { class: "branch-slot-day-mon" }, showMonth ? month : '')));
53
+ const isBlocked = !!day.disabled;
54
+ const isActive = !isBlocked && day.date === this.activeDate;
55
+ const identifier = cn(`${this.name}-slot-day branch-slot-day`, {
56
+ 'branch-slot-day-selected': isActive,
57
+ 'branch-slot-day-disabled': isBlocked,
58
+ });
59
+ return (h("button", { key: day.date, type: "button", role: "radio", part: identifier, class: identifier, disabled: isBlocked, "aria-disabled": isBlocked ? 'true' : 'false', "aria-checked": isActive ? 'true' : 'false', onClick: () => !isBlocked && this.handleDay(day.date) }, h("span", { class: "branch-slot-day-dow" }, this.formatDay(day.date, { weekday: 'short' })), h("span", { class: "branch-slot-day-num" }, this.formatDay(day.date, { day: 'numeric' })), h("span", { class: "branch-slot-day-mon" }, showMonth ? month : '')));
55
60
  }))), h("div", { class: "branch-slot-section" }, h("div", { class: "branch-slot-head" }, h("span", { class: "branch-slot-sublabel" }, this.copy.time), h("span", { class: "branch-slot-count" }, (_a = active === null || active === void 0 ? void 0 : active.times.length) !== null && _a !== void 0 ? _a : 0, " ", this.copy.slots)), h("div", { class: "branch-slot-times", role: "radiogroup", "aria-label": this.copy.time }, ((_b = active === null || active === void 0 ? void 0 : active.times) !== null && _b !== void 0 ? _b : []).map(raw => {
56
61
  const isSelected = raw === this.selectedRaw;
57
62
  const identifier = cn(`${this.name}-slot-time branch-slot-time`, { 'branch-slot-time-selected': isSelected });
@@ -65,7 +70,7 @@ export class BranchSlotDropdown {
65
70
  const backdropIdentifiers = cn(`${this.name}-slot-backdrop branch-slot-backdrop`, {
66
71
  'branch-slot-backdrop-open': this.isOpen,
67
72
  });
68
- return (h(Host, { key: '026c7bbed86b8dd8feaca4893a62dad2ae546a78' }, h("div", { key: '3762eb150d9ecb497cbcb999238f8d10663772fc', part: backdropIdentifiers, class: backdropIdentifiers, onClick: () => { var _a; return (_a = this.handleDismiss) === null || _a === void 0 ? void 0 : _a.call(this); } }), h("div", { key: 'd97a8fd3d26b40c66b575f11bcd830bab932d4e8', dir: this.direction, part: containerIdentifiers, class: containerIdentifiers,
73
+ return (h(Host, { key: '847cf1048701f2e134ea90043b25af74a2d0d144' }, h("div", { key: '46b4902dc8591d679f679bac60106b177f8718ab', part: backdropIdentifiers, class: backdropIdentifiers, onClick: () => { var _a; return (_a = this.handleDismiss) === null || _a === void 0 ? void 0 : _a.call(this); } }), h("div", { key: 'c441e0a16ea6c11f9f0336d2de0cbfdd100a0f18', dir: this.direction, part: containerIdentifiers, class: containerIdentifiers,
69
74
  // Keeps a scroll gesture inside the panel instead of moving the page
70
75
  // behind it — the panel is a child of <body>, not of the field.
71
76
  onWheel: event => event.stopPropagation(), onTouchMove: event => event.stopPropagation(), ref: el => (this.containerEl = el) }, this.status === 'idle' && this.renderMessage(this.idleText || ''), this.status === 'loading' && this.renderSkeleton(), this.status === 'empty' && this.renderMessage(this.copy.empty), this.status === 'error' && this.renderMessage(this.copy.error, true), this.status === 'ready' && this.renderSlots())));
@@ -1 +1 @@
1
- *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.cursor-pointer{cursor:pointer}.branch-slot-trigger{caret-color:transparent;cursor:pointer}.form-input-container.open .branch-slot-trigger{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.static{position:static}.fixed{position:fixed}.hidden{display:none}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.flex{display:flex}.h-full{height:100%}.min-h-\[150px\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-0{transition-duration:0s!important}.\!duration-500{transition-duration:.5s!important}.bottom-4{bottom:1rem}.bottom-\[88px\]{bottom:88px}.left-1\/2{left:50%}.z-10{z-index:10}.z-\[9999\]{z-index:9999}.m-0{margin:0}.block{display:block}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\[22px\]{height:22px;width:22px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\[100dvh\]{height:100dvh}.h-\[60px\]{height:60px}.min-h-full{min-height:100%}.w-\[100dvw\]{width:100dvw}.w-\[100px\]{width:100px}.min-w-\[140px\]{min-width:140px}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/55{background-color:rgba(0,0,0,.55)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\[16px\]{padding:16px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.text-\[18px\]{font-size:18px}.font-medium{font-weight:500}.leading-\[1\.3\]{line-height:1.3}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\:bg-white\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\:relative{position:relative}.md\:h-auto{height:auto}.md\:w-\[600px\]{width:600px}.md\:\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\:overflow-hidden{overflow:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-none{border-style:none}.md\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\:py-\[8px\]{padding-bottom:8px;padding-top:8px}.md\:text-\[24px\]{font-size:24px}.md\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\:\!opacity-100{opacity:1!important}.md\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\:duration-300{transition-duration:.3s}.md\:hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}
1
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.cursor-pointer{cursor:pointer}.branch-slot-trigger{caret-color:transparent;cursor:pointer}.form-input-container.open .branch-slot-trigger{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.static{position:static}.fixed{position:fixed}.grid{display:grid}.hidden{display:none}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.flex{display:flex}.h-full{height:100%}.min-h-\[150px\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-0{transition-duration:0s!important}.\!duration-500{transition-duration:.5s!important}.bottom-4{bottom:1rem}.bottom-\[88px\]{bottom:88px}.left-1\/2{left:50%}.z-10{z-index:10}.z-\[9999\]{z-index:9999}.m-0{margin:0}.block{display:block}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\[22px\]{height:22px;width:22px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\[100dvh\]{height:100dvh}.h-\[60px\]{height:60px}.min-h-full{min-height:100%}.w-\[100dvw\]{width:100dvw}.w-\[100px\]{width:100px}.min-w-\[140px\]{min-width:140px}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/55{background-color:rgba(0,0,0,.55)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\[16px\]{padding:16px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.text-\[18px\]{font-size:18px}.font-medium{font-weight:500}.leading-\[1\.3\]{line-height:1.3}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\:bg-white\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\:relative{position:relative}.md\:h-auto{height:auto}.md\:w-\[600px\]{width:600px}.md\:\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\:overflow-hidden{overflow:hidden}.md\:rounded-lg{border-radius:.5rem}.md\:border-none{border-style:none}.md\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\:py-\[8px\]{padding-bottom:8px;padding-top:8px}.md\:text-\[24px\]{font-size:24px}.md\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\:\!opacity-100{opacity:1!important}.md\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\:duration-300{transition-duration:.3s}.md\:hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}
@@ -6,6 +6,7 @@ import { Host, h } from "@stencil/core";
6
6
  import cn from "../../global/lib/cn";
7
7
  import { ArrowUpIcon } from "../../global/assets/arrow-up-icon";
8
8
  import getCustomClassesForPortal from "../../global/lib/get-custom-classes-for-portal";
9
+ import { isDayBlocked, parseDateList, parseWeekdayList } from "../../global/lib/slot-day-rules";
9
10
  import { getInputLocalization } from "../../features/form-hook/index";
10
11
  import { FormInputLabel } from "./components/form-input-label";
11
12
  import { FormErrorMessage } from "./components/form-error-message";
@@ -78,6 +79,16 @@ export class BranchSlotPicker {
78
79
  this.daysAhead = 30;
79
80
  /** Gap between the trigger and the panel, matching shift-select's default. */
80
81
  this.gap = 8;
82
+ /**
83
+ * Floor for the panel width on desktop. The panel is portaled to `<body>` and
84
+ * positioned fixed, so it is free to be wider than the field — and than the
85
+ * form around it — which is the point: a two-column form gives the field
86
+ * ~320px, which squeezed the day strip and the time grid into something that
87
+ * read as clipped. Capped to the viewport at open time.
88
+ */
89
+ this.minPanelWidth = 420;
90
+ /** Tallest the panel may get before it scrolls. Also capped to the viewport. */
91
+ this.maxPanelHeight = 460;
81
92
  this.isRequired = false;
82
93
  this.isDisabled = false;
83
94
  this.language = 'en';
@@ -94,6 +105,11 @@ export class BranchSlotPicker {
94
105
  * committed selection untouched.
95
106
  */
96
107
  this.draftDate = '';
108
+ /**
109
+ * The response as it arrived, before the disable rules are layered on. Kept so
110
+ * a rule change re-decorates without a refetch.
111
+ */
112
+ this.fetchedDays = [];
97
113
  this.dropdownEl = null;
98
114
  this.lockedScrollY = 0;
99
115
  this.boundKeyDown = (event) => this.handleKeyDown(event);
@@ -127,21 +143,33 @@ export class BranchSlotPicker {
127
143
  this.isOpen = false;
128
144
  return;
129
145
  }
130
- const width = Math.max(rect.width, 288);
146
+ // clientWidth, not innerWidth: innerWidth includes the classic scrollbar, so
147
+ // measuring against it pushes the panel a scrollbar's width off the edge.
148
+ const viewportWidth = document.documentElement.clientWidth;
149
+ const viewportHeight = window.innerHeight;
150
+ // The panel is never narrower than a usable day strip. Matching the trigger
151
+ // was the whole bug: inside a two-column form the trigger is ~320px, which
152
+ // cut the strip mid-chip and squeezed the time grid to three columns.
153
+ const width = Math.round(Math.min(Math.max(rect.width, this.minPanelWidth), viewportWidth - this.gap * 2));
131
154
  dropdown.style.setProperty('--branch-slot-width', `${width}px`);
132
- const spaceBelow = window.innerHeight - rect.bottom - this.gap * 2;
155
+ // Measure unclamped, or the flip decision is made against whatever height
156
+ // the previous open happened to leave behind.
157
+ dropdown.style.setProperty('--branch-slot-max-height', 'none');
158
+ const naturalHeight = dropdown.offsetHeight;
159
+ const spaceBelow = viewportHeight - rect.bottom - this.gap * 2;
133
160
  const spaceAbove = rect.top - this.gap * 2;
134
- const openUpwards = spaceBelow < dropdown.offsetHeight && spaceAbove > spaceBelow;
135
- // Cap the panel to the room that actually exists. Without this the fixed
136
- // 320px runs off-screen in landscape and with the keyboard up, and there is
137
- // nothing to scroll to reach it.
138
- dropdown.style.setProperty('--branch-slot-max-height', `${Math.max(160, Math.min(320, openUpwards ? spaceAbove : spaceBelow))}px`);
139
- const height = dropdown.offsetHeight;
161
+ const openUpwards = naturalHeight > spaceBelow && spaceAbove > spaceBelow;
162
+ // Cap the panel to the room that actually exists. Without this it runs
163
+ // off-screen in landscape and with the keyboard up, and there is nothing to
164
+ // scroll to reach it.
165
+ const room = Math.max(180, Math.min(this.maxPanelHeight, openUpwards ? spaceAbove : spaceBelow));
166
+ const height = Math.min(naturalHeight, room);
167
+ dropdown.style.setProperty('--branch-slot-max-height', `${room}px`);
140
168
  // Keep it on-screen horizontally — the panel has a min-width, so a field
141
169
  // near the right edge would otherwise hang off it.
142
- const left = Math.max(this.gap, Math.min(rect.left, window.innerWidth - width - this.gap));
170
+ const left = Math.max(this.gap, Math.min(rect.left, viewportWidth - width - this.gap));
143
171
  dropdown.style.setProperty('--branch-slot-left', `${left}px`);
144
- dropdown.style.setProperty('--branch-slot-top', `${openUpwards ? rect.top - height - this.gap : rect.bottom + this.gap}px`);
172
+ dropdown.style.setProperty('--branch-slot-top', `${openUpwards ? Math.max(this.gap, rect.top - height - this.gap) : rect.bottom + this.gap}px`);
145
173
  };
146
174
  this.handleResize = () => {
147
175
  if (this.isOpen)
@@ -175,6 +203,9 @@ export class BranchSlotPicker {
175
203
  this.openDropdown();
176
204
  };
177
205
  this.handleDay = (date) => {
206
+ var _a;
207
+ if ((_a = this.days.find(day => day.date === date)) === null || _a === void 0 ? void 0 : _a.disabled)
208
+ return;
178
209
  this.draftDate = date;
179
210
  };
180
211
  this.handleTime = (raw) => {
@@ -238,6 +269,23 @@ export class BranchSlotPicker {
238
269
  Object.assign(document.body.style, { position: '', top: '', left: '', right: '', width: '' });
239
270
  window.scrollTo(0, this.lockedScrollY);
240
271
  }
272
+ onRulesChange() {
273
+ var _a, _b, _c, _d;
274
+ this.days = this.applyDayRules(this.fetchedDays);
275
+ // The committed slot may have just become unbookable, and a draft pointing
276
+ // at a now-disabled day would leave the time list empty with no way back.
277
+ if (this.selectedDate && ((_a = this.days.find(day => day.date === this.selectedDate)) === null || _a === void 0 ? void 0 : _a.disabled)) {
278
+ this.selectedDate = '';
279
+ this.selectedRaw = '';
280
+ }
281
+ if (!this.draftDate || ((_b = this.days.find(day => day.date === this.draftDate)) === null || _b === void 0 ? void 0 : _b.disabled)) {
282
+ this.draftDate = (_d = (_c = this.firstOpenDay()) === null || _c === void 0 ? void 0 : _c.date) !== null && _d !== void 0 ? _d : '';
283
+ }
284
+ if (this.status === 'ready' && !this.days.some(day => !day.disabled))
285
+ this.status = 'empty';
286
+ else if (this.status === 'empty' && this.days.some(day => !day.disabled))
287
+ this.status = 'ready';
288
+ }
241
289
  onTargetChange() {
242
290
  // A different branch invalidates the whole selection, not just the times.
243
291
  this.selectedDate = '';
@@ -262,10 +310,11 @@ export class BranchSlotPicker {
262
310
  this.load();
263
311
  }
264
312
  async openDropdown() {
265
- var _a;
313
+ var _a, _b;
266
314
  if (this.status === 'idle')
267
315
  return;
268
- this.draftDate = this.selectedDate || ((_a = this.days[0]) === null || _a === void 0 ? void 0 : _a.date) || '';
316
+ const draft = this.selectedDate || this.draftDate;
317
+ this.draftDate = this.days.find(day => day.date === draft && !day.disabled) ? draft : ((_b = (_a = this.firstOpenDay()) === null || _a === void 0 ? void 0 : _a.date) !== null && _b !== void 0 ? _b : '');
269
318
  this.adjustDropdownPosition();
270
319
  this.isOpen = true;
271
320
  }
@@ -342,6 +391,17 @@ export class BranchSlotPicker {
342
391
  }))
343
392
  .sort((a, b) => a.date.localeCompare(b.date));
344
393
  }
394
+ /** Layers the disable rules over the response without discarding anything. */
395
+ applyDayRules(days) {
396
+ const weekdays = parseWeekdayList(this.disabledWeekdays);
397
+ const dates = parseDateList(this.disabledDates);
398
+ if (!weekdays.length && !dates.length)
399
+ return days.map(day => (Object.assign(Object.assign({}, day), { disabled: false })));
400
+ return days.map(day => (Object.assign(Object.assign({}, day), { disabled: isDayBlocked(day.date, weekdays, dates) })));
401
+ }
402
+ firstOpenDay() {
403
+ return this.days.find(day => !day.disabled);
404
+ }
345
405
  async load() {
346
406
  var _a;
347
407
  const url = this.queryUrl();
@@ -360,13 +420,17 @@ export class BranchSlotPicker {
360
420
  });
361
421
  if (!response.ok)
362
422
  throw new Error(`calendar ${response.status}`);
363
- this.days = this.normalise(await response.json());
364
- if (!this.days.length) {
423
+ this.fetchedDays = this.normalise(await response.json());
424
+ this.days = this.applyDayRules(this.fetchedDays);
425
+ const firstOpen = this.firstOpenDay();
426
+ // Every day blocked reads to a customer exactly as no days at all, so it
427
+ // gets the empty copy rather than a strip of dead chips.
428
+ if (!firstOpen) {
365
429
  this.status = 'empty';
366
430
  return;
367
431
  }
368
- const preset = this.days.find(day => this.defaultValue && this.defaultValue.startsWith(day.date));
369
- this.draftDate = (preset !== null && preset !== void 0 ? preset : this.days[0]).date;
432
+ const preset = this.days.find(day => !day.disabled && this.defaultValue && this.defaultValue.startsWith(day.date));
433
+ this.draftDate = (preset !== null && preset !== void 0 ? preset : firstOpen).date;
370
434
  this.status = 'ready';
371
435
  }
372
436
  catch (error) {
@@ -441,11 +505,11 @@ export class BranchSlotPicker {
441
505
  setElementRef: this.setDropdownRef,
442
506
  direction: this.isRtl ? 'rtl' : 'ltr',
443
507
  };
444
- return (h(Host, { key: 'd3bfcdacb7a873632d6ede69a37aef11150f73b5', translate: "no" }, h("label", { key: 'd4132f4872830146bf757b09a85258251f1b1c9a', part: `${this.name}`, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: blocked }) }, h(FormInputLabel, { key: '7d494521176eb1185f48fbf4ad41468fe9fbc117', name: this.name, label: label, isRequired: isRequired }), h("div", { key: 'c72f4e96fde93db624204b3eb166c4d7aedac9ae', part: `${this.name}-container form-input-container`, class: cn('form-input-container', { open: this.isOpen, disabled: blocked }) }, h("input", { key: '56e0b885ea040a545da0f01d909e70a663c6abaa', type: "text", readOnly: true, disabled: blocked, value: this.triggerText(), placeholder: placeholder, onClick: this.toggle, part: `${this.name}-input-select form-input-select`, class: "form-input-style form-input-select branch-slot-trigger" }), h("div", { key: '6ba9496c2106d5b3fd4a96fb62b479817f792788', part: `${this.name}-select-icon-container form-input-select-icon-container`, class: "form-input-select-icon-container" }, h(ArrowUpIcon, { key: '134dce4ff1f0731d809476c10c6fad13655dc5e0', part: `${this.name}-arrow-icon select-arrow`, class: "form-input-select-icon pointer-events-none! arrow cursor-pointer" })),
508
+ return (h(Host, { key: '55989ad09a3b4b1d687f997efc30a318dff463ee', translate: "no" }, h("label", { key: 'e8cf421a6323362686e96b99b18a0a9bc85914ad', part: `${this.name}`, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: blocked }) }, h(FormInputLabel, { key: 'c1091a008b1898616cb2754e8766f265ee9bcc1c', name: this.name, label: label, isRequired: isRequired }), h("div", { key: 'bb892e635259da36acb530e5fb2ee968645ffa64', part: `${this.name}-container form-input-container`, class: cn('form-input-container', { open: this.isOpen, disabled: blocked }) }, h("input", { key: '9441424610185b5ec6672f6e8cc7a7d54cba2074', type: "text", readOnly: true, disabled: blocked, value: this.triggerText(), placeholder: placeholder, onClick: this.toggle, part: `${this.name}-input-select form-input-select`, class: "form-input-style form-input-select branch-slot-trigger" }), h("div", { key: '0e7a1511af6104d7c4e454a80298d63e80b9e926', part: `${this.name}-select-icon-container form-input-select-icon-container`, class: "form-input-select-icon-container" }, h(ArrowUpIcon, { key: '5737202b39832d42beeff2fa810f88cae7c89770', part: `${this.name}-arrow-icon select-arrow`, class: "form-input-select-icon pointer-events-none! arrow cursor-pointer" })),
445
509
  // Stencil only bundles a lazily-portaled component if it also sees
446
510
  // the tag in a template. Same guard shift-select uses.
447
511
  // @ts-ignore
448
- false && h("branch-slot-dropdown", { key: 'b3f86d8d3df5c3b931d91a9d05c5fcddc24f1578' }), h("shift-portal", { key: 'e7e70a13def95c00a29b2a849196a879c8b97503', tag: "branch-slot-dropdown", inheritedClasses: this.dropdownAncestorClasses, componentProps: dropdownProps })), h(FormErrorMessage, { key: 'b4b4f84eb9d9077c9ff8f4569b660935c5d70899', name: this.name, isError: !!(state === null || state === void 0 ? void 0 : state.isError), errorMessage: (localised === null || localised === void 0 ? void 0 : localised.errorTextMessage) || '' }))));
512
+ false && h("branch-slot-dropdown", { key: 'fabbc0e45646fc0134e853525d2043cff0aad905' }), h("shift-portal", { key: '222b51d39554c2bf9747bb070aa7fa8d306ded2c', tag: "branch-slot-dropdown", inheritedClasses: this.dropdownAncestorClasses, componentProps: dropdownProps })), h(FormErrorMessage, { key: '04ec9bdc2b73d06ed2992d2828223cff5d32e374', name: this.name, isError: !!(state === null || state === void 0 ? void 0 : state.isError), errorMessage: (localised === null || localised === void 0 ? void 0 : localised.errorTextMessage) || '' }))));
449
513
  }
450
514
  static get is() { return "branch-slot-picker"; }
451
515
  static get originalStyleUrls() {
@@ -619,6 +683,44 @@ export class BranchSlotPicker {
619
683
  "attribute": "days-ahead",
620
684
  "defaultValue": "30"
621
685
  },
686
+ "disabledWeekdays": {
687
+ "type": "string",
688
+ "mutable": false,
689
+ "complexType": {
690
+ "original": "string | number[]",
691
+ "resolved": "number[] | string",
692
+ "references": {}
693
+ },
694
+ "required": false,
695
+ "optional": true,
696
+ "docs": {
697
+ "tags": [],
698
+ "text": "Weekdays the branch never books on, `0` Sunday \u2026 `6` Saturday. Accepts an\narray or a `\"5,6\"` string. Matching days stay visible but unselectable \u2014\nsee `~lib/slot-day-rules` for why they are not simply dropped."
699
+ },
700
+ "getter": false,
701
+ "setter": false,
702
+ "reflect": false,
703
+ "attribute": "disabled-weekdays"
704
+ },
705
+ "disabledDates": {
706
+ "type": "string",
707
+ "mutable": false,
708
+ "complexType": {
709
+ "original": "string | string[]",
710
+ "resolved": "string | string[]",
711
+ "references": {}
712
+ },
713
+ "required": false,
714
+ "optional": true,
715
+ "docs": {
716
+ "tags": [],
717
+ "text": "One-off blackout dates as `YYYY-MM-DD`, same accepted shapes as above."
718
+ },
719
+ "getter": false,
720
+ "setter": false,
721
+ "reflect": false,
722
+ "attribute": "disabled-dates"
723
+ },
622
724
  "gap": {
623
725
  "type": "number",
624
726
  "mutable": false,
@@ -639,6 +741,46 @@ export class BranchSlotPicker {
639
741
  "attribute": "gap",
640
742
  "defaultValue": "8"
641
743
  },
744
+ "minPanelWidth": {
745
+ "type": "number",
746
+ "mutable": false,
747
+ "complexType": {
748
+ "original": "number",
749
+ "resolved": "number",
750
+ "references": {}
751
+ },
752
+ "required": false,
753
+ "optional": false,
754
+ "docs": {
755
+ "tags": [],
756
+ "text": "Floor for the panel width on desktop. The panel is portaled to `<body>` and\npositioned fixed, so it is free to be wider than the field \u2014 and than the\nform around it \u2014 which is the point: a two-column form gives the field\n~320px, which squeezed the day strip and the time grid into something that\nread as clipped. Capped to the viewport at open time."
757
+ },
758
+ "getter": false,
759
+ "setter": false,
760
+ "reflect": false,
761
+ "attribute": "min-panel-width",
762
+ "defaultValue": "420"
763
+ },
764
+ "maxPanelHeight": {
765
+ "type": "number",
766
+ "mutable": false,
767
+ "complexType": {
768
+ "original": "number",
769
+ "resolved": "number",
770
+ "references": {}
771
+ },
772
+ "required": false,
773
+ "optional": false,
774
+ "docs": {
775
+ "tags": [],
776
+ "text": "Tallest the panel may get before it scrolls. Also capped to the viewport."
777
+ },
778
+ "getter": false,
779
+ "setter": false,
780
+ "reflect": false,
781
+ "attribute": "max-panel-height",
782
+ "defaultValue": "460"
783
+ },
642
784
  "label": {
643
785
  "type": "string",
644
786
  "mutable": false,
@@ -904,6 +1046,12 @@ export class BranchSlotPicker {
904
1046
  return [{
905
1047
  "propName": "isOpen",
906
1048
  "methodName": "onOpenChange"
1049
+ }, {
1050
+ "propName": "disabledWeekdays",
1051
+ "methodName": "onRulesChange"
1052
+ }, {
1053
+ "propName": "disabledDates",
1054
+ "methodName": "onRulesChange"
907
1055
  }, {
908
1056
  "propName": "branchId",
909
1057
  "methodName": "onTargetChange"
@@ -28,7 +28,7 @@ export class FormCheckbox {
28
28
  render() {
29
29
  const { disabled, meta, errorMessage, isError } = this.form.getInputState(this.name);
30
30
  const { label, errorTextMessage } = getInputLocalization(this, meta, errorMessage);
31
- return (h(Host, { key: 'e00a9cfa01088c03f56cb3d253ae73c8a3c3a1ed', translate: "no" }, h("div", { key: '2b113a3dac68ab6655aa78d772fb838de73fb047', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, disabled) }, h("div", { key: 'd5c6ebd8d336c9357dd04f5d5b8e2d1370ecf7f5', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h("shift-checkbox", { key: '4b417ee2d3fbe555fd87482ab1e1d17228adcc83', name: this.name, label: label, class: "form-checkbox" })), h(FormErrorMessage, { key: 'b6bef72091082ff0125c91a10b6ae9abe351d6f3', name: this.name, isError: isError, errorMessage: errorTextMessage }))));
31
+ return (h(Host, { key: '0a44df6cbc0549bc2a2080cf7e436589918875bf', translate: "no" }, h("div", { key: 'a4800940b0b0744960dfd5ffa80faa78d1b455b3', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, disabled) }, h("div", { key: 'd103bd6c881e591e950fe367d49ea508f144cea7', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h("shift-checkbox", { key: '762735dbcc0999412adf20470d83389988335c86', name: this.name, label: label, class: "form-checkbox" })), h(FormErrorMessage, { key: '6959012f3ae43ad0560915e35460649831b05737', name: this.name, isError: isError, errorMessage: errorTextMessage }))));
32
32
  }
33
33
  static get is() { return "form-checkbox"; }
34
34
  static get originalStyleUrls() {
@@ -189,12 +189,12 @@ export class FormDatePicker {
189
189
  const monthTitle = this.getMonthYearTitle();
190
190
  const now = new Date();
191
191
  const todayStr = this.toDateString(now.getFullYear(), now.getMonth(), now.getDate());
192
- return (h(Host, { key: 'fc949718512a2912849166259e340e2cfba682e9', translate: "no" }, h("label", { key: 'e8735a3281495a305b7f8750d170a68cde77b047', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: '94e80903fc43a4d74cdd69f40ffe43fb60ce4ce6', isRequired: isRequired, label: label }), h("form-shadow-input", { key: '55dd3d99558c5378b1eceed4d1cae67a4c920bee', name: this.name, form: this.form, value: this.selectedValue }), h("div", { key: '2048b911034b5af6a2fa3fcc9e0c3dcf45649377', part: `${this.name}-container form-input-container`, class: cn('form-input-container', { open: this.isOpen }) }, h("input", { key: '67ece44b27243bcbe2dc0d8aaf1af5ba5c924fa9', type: "text", readOnly: true, disabled: isDisabled, value: displayValue, onClick: this.toggleDropdown, part: `${this.name}-input form-input`, placeholder: placeholder || (meta === null || meta === void 0 ? void 0 : meta.placeholder), class: cn('form-input-style form-input-select', {
192
+ return (h(Host, { key: '390e2b20396004c2bf25460e79e4228605868733', translate: "no" }, h("label", { key: '06e8e2a084b085676a5bc1688880f99ac6093f77', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: '8161893d52da12e1f4dfe80ddba7abc5de4da73e', isRequired: isRequired, label: label }), h("form-shadow-input", { key: '25b9a82b6879d6230094b436357eb7f2f826e173', name: this.name, form: this.form, value: this.selectedValue }), h("div", { key: 'b8fa15e5421051365970d8fe6335ac410f708326', part: `${this.name}-container form-input-container`, class: cn('form-input-container', { open: this.isOpen }) }, h("input", { key: 'c97063bb57481839fa97f548984e8e17584b98e2', type: "text", readOnly: true, disabled: isDisabled, value: displayValue, onClick: this.toggleDropdown, part: `${this.name}-input form-input`, placeholder: placeholder || (meta === null || meta === void 0 ? void 0 : meta.placeholder), class: cn('form-input-style form-input-select', {
193
193
  'form-input-error-style': isError,
194
- }) }), h("span", { key: '9ff3db7cebb4f6b5fbcd3d19d972b3bbc192f0c4', part: `${this.name}-icon form-date-picker-icon`, class: "form-input-icon form-input-icon-end" }, h("svg", { key: '9359e3836c302ab6911292b526c96699b2f0c0cf', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-full" }, h("path", { key: 'a45390d18aac7d4e68c9b2c387c320d826f94e24', d: "M8 2v4" }), h("path", { key: '7a105bc0538c7665a9e22f0593920f0a60a5b1c0', d: "M16 2v4" }), h("rect", { key: 'ed56c775a846c0cd2099a2a4b5fdd30eefee699b', width: "18", height: "18", x: "3", y: "4", rx: "2" }), h("path", { key: 'c817fa51750f052d57a2b7a72f0666cf24f81e35', d: "M3 10h18" }))), h("div", { key: '118eba5288585eb8324d6ea8dce38442a03754f9', part: `${this.name}-dropdown form-date-picker-dropdown`, class: cn('form-picker-dropdown', {
194
+ }) }), h("span", { key: '9d97e60b605ca959a1ddb74d913aed183529c9d4', part: `${this.name}-icon form-date-picker-icon`, class: "form-input-icon form-input-icon-end" }, h("svg", { key: 'c41b2af9695c0ca26e404df76918c172cd17a926', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-full" }, h("path", { key: '3e20ad769381b7f575715b3e2e17f3fd0548d4ea', d: "M8 2v4" }), h("path", { key: '858111a5163547ecde3658621d84f664fa4e0ba3', d: "M16 2v4" }), h("rect", { key: '7e013c44cebb58cdc40e4c1bfbd8ca7485a00fa8', width: "18", height: "18", x: "3", y: "4", rx: "2" }), h("path", { key: '69bf6437058e88570e6a832ac6d372c2ae76917c', d: "M3 10h18" }))), h("div", { key: 'bcdca9591e9e2b2735475bef4c1eb79877a7e122', part: `${this.name}-dropdown form-date-picker-dropdown`, class: cn('form-picker-dropdown', {
195
195
  upwards: this.openUpwards,
196
196
  downwards: !this.openUpwards,
197
- }) }, h("div", { key: '8a762af278682083db61df71cc889b55c7cb4b1a', class: "form-date-picker-header" }, h("button", { key: '5e028da65e26560750a952f186b45dc3c773b0f5', type: "button", disabled: !this.canGoPrev(), part: `${this.name}-prev form-date-picker-nav`, onClick: this.prevMonth, class: "form-date-picker-nav" }, h("svg", { key: '4c86e8ac3d53d7d834e1abc089d7e955414f9edf', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-4 rtl:rotate-180" }, h("path", { key: '8c35113d24b2e759f354e69882d213bfff816de7', d: "m15 18-6-6 6-6" }))), h("span", { key: 'd5bc51422ba1d70c413657b215a4e07cfca39908', part: `${this.name}-title form-date-picker-title`, class: "form-date-picker-title" }, monthTitle), h("button", { key: '64e2a00a5711b885ccca7e55b4218046949a246e', type: "button", disabled: !this.canGoNext(), part: `${this.name}-next form-date-picker-nav`, onClick: this.nextMonth, class: "form-date-picker-nav" }, h("svg", { key: '60051e769fe8fba546bacb90012f5392466822f3', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-4 rtl:rotate-180" }, h("path", { key: 'd81ae803ba723f5536560db1f8dc402d4f3213af', d: "m9 18 6-6-6-6" })))), h("div", { key: '98a2bcd1577516b1013765260c00fa693b6da41c', class: "form-date-picker-grid" }, weekDays.map(day => (h("div", { class: "form-date-picker-weekday" }, day))), days.map(cell => {
197
+ }) }, h("div", { key: 'da6eedd301528ea231f124b52410cd8c57b45acf', class: "form-date-picker-header" }, h("button", { key: 'bfe23f6bab130935f238cdbebcdd856846de12ae', type: "button", disabled: !this.canGoPrev(), part: `${this.name}-prev form-date-picker-nav`, onClick: this.prevMonth, class: "form-date-picker-nav" }, h("svg", { key: 'e5aef43691a821c6671b69a965ee0df6842ace4d', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-4 rtl:rotate-180" }, h("path", { key: '091d81375f021e482221e186d17e13a459255ef3', d: "m15 18-6-6 6-6" }))), h("span", { key: '586590bca1c2832578f0ea4c140a18855c9375e4', part: `${this.name}-title form-date-picker-title`, class: "form-date-picker-title" }, monthTitle), h("button", { key: 'cc82b4ddb85d97eade469cb6de7d76d04967bf3a', type: "button", disabled: !this.canGoNext(), part: `${this.name}-next form-date-picker-nav`, onClick: this.nextMonth, class: "form-date-picker-nav" }, h("svg", { key: '45ce78a26f1a6cd4a787c963d588d6da41cf441e', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-4 rtl:rotate-180" }, h("path", { key: '32f8bfbd1a8562657dd9917c3b5678bdda6a942e', d: "m9 18 6-6-6-6" })))), h("div", { key: '9e3880a691681ba380f1367462b1c44a837e0698', class: "form-date-picker-grid" }, weekDays.map(day => (h("div", { class: "form-date-picker-weekday" }, day))), days.map(cell => {
198
198
  const dateStr = this.toDateString(cell.year, cell.month, cell.day);
199
199
  const isSelected = dateStr === this.selectedValue;
200
200
  const isToday = dateStr === todayStr;
@@ -204,7 +204,7 @@ export class FormDatePicker {
204
204
  today: isToday && !isSelected,
205
205
  outside: !cell.isCurrentMonth,
206
206
  }) }, cell.day));
207
- })))), h(FormErrorMessage, { key: 'e1765f43b5d0c01b627c17693b7fd6b3bb74b3ce', name: this.name, isError: isError, errorMessage: locale[errorMessage] || errorMessage }))));
207
+ })))), h(FormErrorMessage, { key: '3cdef270315635026b9b1e05b6937f78e85660cc', name: this.name, isError: isError, errorMessage: locale[errorMessage] || errorMessage }))));
208
208
  }
209
209
  static get is() { return "form-date-picker"; }
210
210
  static get originalStyleUrls() {