@nylas/web-elements 2.5.18 → 2.6.1

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 (749) hide show
  1. package/dist/cdn/input-color-picker/input-color-picker.es.js +3 -3
  2. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +129 -114
  3. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +2504 -2478
  4. package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
  5. package/dist/cjs/archive-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
  7. package/dist/cjs/bold-icon.cjs.entry.js +1 -1
  8. package/dist/cjs/button-component_2.cjs.entry.js +2 -2
  9. package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +47 -47
  10. package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
  12. package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
  14. package/dist/cjs/checkbox-group_4.cjs.entry.js +5 -5
  15. package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/checkmark-icon_14.cjs.entry.js +16 -16
  17. package/dist/cjs/chevron-icon_3.cjs.entry.js +4 -4
  18. package/dist/cjs/clock-icon_2.cjs.entry.js +2 -2
  19. package/dist/cjs/delete-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/folder-icon.cjs.entry.js +1 -1
  22. package/dist/cjs/forward-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/globe-icon_3.cjs.entry.js +5 -5
  24. package/dist/cjs/google-logo-icon_6.cjs.entry.js +13 -13
  25. package/dist/cjs/google-meet-icon_5.cjs.entry.js +5 -5
  26. package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/info-icon_2.cjs.entry.js +3 -3
  28. package/dist/cjs/input-component.cjs.entry.js +1 -1
  29. package/dist/cjs/input-dropdown_2.cjs.entry.js +2 -2
  30. package/dist/cjs/input-image-url_2.cjs.entry.js +2 -2
  31. package/dist/cjs/italic-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
  33. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +46 -18
  34. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
  36. package/dist/cjs/nylas-notification_2.cjs.entry.js +2 -2
  37. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +29 -4
  38. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nylas-scheduler-editor.entry.cjs.js.map +1 -1
  40. package/dist/cjs/nylas-scheduling.cjs.entry.js +9 -6
  41. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  42. package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
  43. package/dist/cjs/person-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/play-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/plus-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
  47. package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/reply-icon.cjs.entry.js +1 -1
  50. package/dist/cjs/sent-icon.cjs.entry.js +1 -1
  51. package/dist/cjs/spam-icon.cjs.entry.js +1 -1
  52. package/dist/cjs/star-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/stop-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  55. package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
  56. package/dist/cjs/translate-icon.cjs.entry.js +1 -1
  57. package/dist/cjs/trash-fill-icon.cjs.entry.js +1 -1
  58. package/dist/cjs/underline-icon.cjs.entry.js +1 -1
  59. package/dist/cjs/{version-Xu0ORQw8.js → version-Ep_WAjs1.js} +3 -3
  60. package/dist/cjs/version-Ep_WAjs1.js.map +1 -0
  61. package/dist/collection/common/icons/add-circle.js +1 -1
  62. package/dist/collection/common/icons/archive.js +1 -1
  63. package/dist/collection/common/icons/arrow.js +1 -1
  64. package/dist/collection/common/icons/bold.js +1 -1
  65. package/dist/collection/common/icons/calendar-agenda-fill.js +1 -1
  66. package/dist/collection/common/icons/calendar-agenda.js +1 -1
  67. package/dist/collection/common/icons/calendar-cancel.js +1 -1
  68. package/dist/collection/common/icons/calendar-check.js +1 -1
  69. package/dist/collection/common/icons/calendar-info.js +1 -1
  70. package/dist/collection/common/icons/calendar-patterns.js +1 -1
  71. package/dist/collection/common/icons/calendar.js +1 -1
  72. package/dist/collection/common/icons/checkmark-circle.js +1 -1
  73. package/dist/collection/common/icons/checkmark.js +1 -1
  74. package/dist/collection/common/icons/chevron.js +1 -1
  75. package/dist/collection/common/icons/clock.js +1 -1
  76. package/dist/collection/common/icons/close.js +1 -1
  77. package/dist/collection/common/icons/copy.js +1 -1
  78. package/dist/collection/common/icons/delete.js +1 -1
  79. package/dist/collection/common/icons/document-refresh.js +1 -1
  80. package/dist/collection/common/icons/dragable.js +1 -1
  81. package/dist/collection/common/icons/edit.js +1 -1
  82. package/dist/collection/common/icons/envelope-fill.js +1 -1
  83. package/dist/collection/common/icons/envelope.js +1 -1
  84. package/dist/collection/common/icons/eye.js +1 -1
  85. package/dist/collection/common/icons/feedback-icon.js +1 -1
  86. package/dist/collection/common/icons/flow.js +1 -1
  87. package/dist/collection/common/icons/folder.js +1 -1
  88. package/dist/collection/common/icons/forward.js +1 -1
  89. package/dist/collection/common/icons/globe.js +1 -1
  90. package/dist/collection/common/icons/google-logo.js +1 -1
  91. package/dist/collection/common/icons/google-meet.js +1 -1
  92. package/dist/collection/common/icons/inbox.js +1 -1
  93. package/dist/collection/common/icons/info.js +1 -1
  94. package/dist/collection/common/icons/italic.js +1 -1
  95. package/dist/collection/common/icons/loading.js +1 -1
  96. package/dist/collection/common/icons/location-off.js +1 -1
  97. package/dist/collection/common/icons/location.js +1 -1
  98. package/dist/collection/common/icons/microsof-teams.js +1 -1
  99. package/dist/collection/common/icons/microsoft-logo.js +1 -1
  100. package/dist/collection/common/icons/nylas-logo.js +1 -1
  101. package/dist/collection/common/icons/paintbrush-fill.js +1 -1
  102. package/dist/collection/common/icons/paintbrush.js +1 -1
  103. package/dist/collection/common/icons/people.js +1 -1
  104. package/dist/collection/common/icons/person-clipboard.js +1 -1
  105. package/dist/collection/common/icons/person.js +1 -1
  106. package/dist/collection/common/icons/play.js +1 -1
  107. package/dist/collection/common/icons/plus.js +1 -1
  108. package/dist/collection/common/icons/refresh.js +1 -1
  109. package/dist/collection/common/icons/reply-all.js +1 -1
  110. package/dist/collection/common/icons/reply.js +1 -1
  111. package/dist/collection/common/icons/search.js +1 -1
  112. package/dist/collection/common/icons/sent.js +1 -1
  113. package/dist/collection/common/icons/spam.js +1 -1
  114. package/dist/collection/common/icons/star.js +1 -1
  115. package/dist/collection/common/icons/stop.js +1 -1
  116. package/dist/collection/common/icons/translate.js +1 -1
  117. package/dist/collection/common/icons/trash-fill.js +1 -1
  118. package/dist/collection/common/icons/trash.js +1 -1
  119. package/dist/collection/common/icons/underline.js +1 -1
  120. package/dist/collection/common/icons/warning.js +1 -1
  121. package/dist/collection/common/icons/zoom.js +1 -1
  122. package/dist/collection/common/types.js.map +1 -1
  123. package/dist/collection/components/design-system/button-component/button-component.js +1 -1
  124. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
  125. package/dist/collection/components/design-system/checkbox-group/checkbox-group.js +1 -1
  126. package/dist/collection/components/design-system/input-color-picker/input-color-picker.js +2 -2
  127. package/dist/collection/components/design-system/input-component/input-component.js +1 -1
  128. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
  129. package/dist/collection/components/design-system/input-image-url/input-image-url.js +1 -1
  130. package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
  131. package/dist/collection/components/design-system/nylas-date-component/nylas-date-component.js +1 -1
  132. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
  133. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +2 -2
  134. package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
  135. package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
  136. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
  137. package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +2 -2
  138. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +40 -12
  139. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
  140. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
  141. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
  142. package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +1 -1
  143. package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +2 -2
  144. package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
  145. package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +2 -2
  146. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
  147. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  148. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +2 -2
  149. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +1 -1
  150. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +1 -1
  151. package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js +1 -1
  152. package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +2 -2
  153. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
  154. package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +2 -2
  155. package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +1 -1
  156. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
  157. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
  158. package/dist/collection/components/scheduler-editor/nylas-disable-emails/nylas-disable-emails.js +1 -1
  159. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +5 -5
  160. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +5 -5
  161. package/dist/collection/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.js +1 -1
  162. package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +1 -1
  163. package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +2 -2
  164. package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
  165. package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
  166. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +1 -1
  167. package/dist/collection/components/scheduler-editor/nylas-event-timeslot/nylas-event-timeslot.js +3 -3
  168. package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +2 -2
  169. package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
  170. package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
  171. package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
  172. package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
  173. package/dist/collection/components/scheduler-editor/nylas-notetaker-config/nylas-notetaker-config.js +8 -8
  174. package/dist/collection/components/scheduler-editor/nylas-only-specific-time-availability/nylas-only-specific-time-availability.js +1 -1
  175. package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js +1 -1
  176. package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +1 -1
  177. package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js +1 -1
  178. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +1 -1
  179. package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js +3 -3
  180. package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.js +1 -1
  181. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +3 -3
  182. package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js +2 -2
  183. package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +3 -3
  184. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +1 -1
  185. package/dist/collection/connector/shared/api/scheduler.js +8 -5
  186. package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
  187. package/dist/collection/types/index.js.map +1 -1
  188. package/dist/collection/version.js +1 -1
  189. package/dist/collection/version.js.map +1 -1
  190. package/dist/components/add-circle-icon.js +1 -1
  191. package/dist/components/archive-icon.js +1 -1
  192. package/dist/components/arrow-icon.js +1 -1
  193. package/dist/components/bold-icon.js +1 -1
  194. package/dist/components/button-component.js +1 -1
  195. package/dist/components/calendar-agenda-fill-icon.js +1 -1
  196. package/dist/components/calendar-agenda-icon.js +1 -1
  197. package/dist/components/calendar-cancel-icon.js +1 -1
  198. package/dist/components/calendar-check-icon.js +1 -1
  199. package/dist/components/calendar-icon.js +1 -1
  200. package/dist/components/calendar-info-icon.js +1 -1
  201. package/dist/components/calendar-patterns-icon.js +1 -1
  202. package/dist/components/checkbox-component.js +1 -1
  203. package/dist/components/checkbox-group.js +1 -1
  204. package/dist/components/checkmark-circle-icon.js +1 -1
  205. package/dist/components/checkmark-icon.js +1 -1
  206. package/dist/components/chevron-icon.js +1 -1
  207. package/dist/components/clock-icon.js +1 -1
  208. package/dist/components/close-icon.js +1 -1
  209. package/dist/components/copy-icon.js +1 -1
  210. package/dist/components/delete-icon.js +1 -1
  211. package/dist/components/document-refresh-icon.js +1 -1
  212. package/dist/components/dragable-icon.js +1 -1
  213. package/dist/components/edit-icon.js +1 -1
  214. package/dist/components/envelope-fill-icon.js +1 -1
  215. package/dist/components/envelope-icon.js +1 -1
  216. package/dist/components/eye-icon.js +1 -1
  217. package/dist/components/feedback-icon.js +1 -1
  218. package/dist/components/flow-icon.js +1 -1
  219. package/dist/components/folder-icon.js +1 -1
  220. package/dist/components/forward-icon.js +1 -1
  221. package/dist/components/globe-icon.js +1 -1
  222. package/dist/components/google-logo-icon.js +1 -1
  223. package/dist/components/google-meet-icon.js +1 -1
  224. package/dist/components/inbox-icon.js +1 -1
  225. package/dist/components/info-icon.js +1 -1
  226. package/dist/components/input-color-picker.js +1 -1
  227. package/dist/components/input-component.js +1 -1
  228. package/dist/components/input-dropdown.js +1 -1
  229. package/dist/components/input-image-url.js +1 -1
  230. package/dist/components/italic-icon.js +1 -1
  231. package/dist/components/loading-icon.js +1 -1
  232. package/dist/components/location-icon.js +1 -1
  233. package/dist/components/location-off-icon.js +1 -1
  234. package/dist/components/microsoft-logo-icon.js +1 -1
  235. package/dist/components/microsoft-teams-icon.js +1 -1
  236. package/dist/components/multi-select-dropdown.js +1 -1
  237. package/dist/components/nylas-additional-participants.js +1 -1
  238. package/dist/components/nylas-availability-picker.js +1 -1
  239. package/dist/components/nylas-booked-event-card.js +1 -1
  240. package/dist/components/nylas-booking-calendar-picker.js +1 -1
  241. package/dist/components/nylas-booking-confirmation-redirect.js +1 -1
  242. package/dist/components/nylas-booking-confirmation-type.js +1 -1
  243. package/dist/components/nylas-booking-form-config.js +1 -1
  244. package/dist/components/nylas-booking-form.js +1 -1
  245. package/dist/components/nylas-buffer-time.js +1 -1
  246. package/dist/components/nylas-calendar-picker.js +1 -1
  247. package/dist/components/nylas-cancel-booking-form.js +1 -1
  248. package/dist/components/nylas-cancellation-policy.js +1 -1
  249. package/dist/components/nylas-cancelled-event-card.js +1 -1
  250. package/dist/components/nylas-confirmation-email.js +1 -1
  251. package/dist/components/nylas-confirmed-event-card.js +1 -1
  252. package/dist/components/nylas-connected-calendars.js +1 -1
  253. package/dist/components/nylas-custom-booking-flow.js +1 -1
  254. package/dist/components/nylas-custom-event-slug.js +1 -1
  255. package/dist/components/nylas-customize-booking-settings.js +1 -1
  256. package/dist/components/nylas-date-component.js +1 -1
  257. package/dist/components/nylas-date-picker.js +1 -1
  258. package/dist/components/nylas-disable-emails.js +1 -1
  259. package/dist/components/nylas-editor-tabs-group.js +1 -1
  260. package/dist/components/nylas-editor-tabs.js +1 -1
  261. package/dist/components/nylas-event-calendar.js +1 -1
  262. package/dist/components/nylas-event-capacity.js +1 -1
  263. package/dist/components/nylas-event-description.js +1 -1
  264. package/dist/components/nylas-event-duration.js +1 -1
  265. package/dist/components/nylas-event-info.js +1 -1
  266. package/dist/components/nylas-event-limits.js +1 -1
  267. package/dist/components/nylas-event-location.js +1 -1
  268. package/dist/components/nylas-event-timeslot.js +1 -1
  269. package/dist/components/nylas-event-title.js +1 -1
  270. package/dist/components/nylas-feedback-form.js +1 -1
  271. package/dist/components/nylas-form-card.js +1 -1
  272. package/dist/components/nylas-limit-future-bookings.js +1 -1
  273. package/dist/components/nylas-list-configurations.js +1 -1
  274. package/dist/components/nylas-locale-switch.js +1 -1
  275. package/dist/components/nylas-logo.js +1 -1
  276. package/dist/components/nylas-min-booking-notice.js +1 -1
  277. package/dist/components/nylas-min-cancellation-notice.js +1 -1
  278. package/dist/components/nylas-notetaker-config.js +1 -1
  279. package/dist/components/nylas-notification.js +1 -1
  280. package/dist/components/nylas-only-specific-time-availability.js +1 -1
  281. package/dist/components/nylas-organizer-confirmation-card.js +1 -1
  282. package/dist/components/nylas-page-name.js +1 -1
  283. package/dist/components/nylas-page-styling.js +1 -1
  284. package/dist/components/nylas-participant-booking-calendars.js +1 -1
  285. package/dist/components/nylas-participants-custom-availability.js +1 -1
  286. package/dist/components/nylas-reminder-emails.js +1 -1
  287. package/dist/components/nylas-reminder-time.js +1 -1
  288. package/dist/components/nylas-scheduler-editor.js +128 -103
  289. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  290. package/dist/components/nylas-scheduling-method.js +1 -1
  291. package/dist/components/nylas-scheduling.js +47 -44
  292. package/dist/components/nylas-scheduling.js.map +1 -1
  293. package/dist/components/nylas-select-event-type.js +1 -1
  294. package/dist/components/nylas-selected-event-card.js +1 -1
  295. package/dist/components/nylas-specific-time-availability-picker.js +1 -1
  296. package/dist/components/nylas-time-window-picker.js +1 -1
  297. package/dist/components/nylas-timeslot-interval.js +1 -1
  298. package/dist/components/nylas-timeslot-picker.js +1 -1
  299. package/dist/components/{p-DjJOgfxK.js → p-1jCDFlwx.js} +9 -9
  300. package/dist/components/{p-DjJOgfxK.js.map → p-1jCDFlwx.js.map} +1 -1
  301. package/dist/components/{p-q7g_LEwC.js → p-36H4hxVv.js} +3 -3
  302. package/dist/components/{p-q7g_LEwC.js.map → p-36H4hxVv.js.map} +1 -1
  303. package/dist/components/{p-B2LU95MT.js → p-3FIo8Hrp.js} +3 -3
  304. package/dist/components/{p-B2LU95MT.js.map → p-3FIo8Hrp.js.map} +1 -1
  305. package/dist/components/{p-g9YD1HRv.js → p-4McmpmAg.js} +4 -4
  306. package/dist/components/{p-g9YD1HRv.js.map → p-4McmpmAg.js.map} +1 -1
  307. package/dist/components/{p-BTwTmU9e.js → p-6Seqe489.js} +21 -21
  308. package/dist/components/{p-BTwTmU9e.js.map → p-6Seqe489.js.map} +1 -1
  309. package/dist/components/{p-CL8ugNmu.js → p-8-JIv49C.js} +4 -4
  310. package/dist/components/{p-CL8ugNmu.js.map → p-8-JIv49C.js.map} +1 -1
  311. package/dist/components/{p-C4RTQIyO.js → p-9KfwmETj.js} +3 -3
  312. package/dist/components/{p-C4RTQIyO.js.map → p-9KfwmETj.js.map} +1 -1
  313. package/dist/components/{p-DGDbXfHm.js → p-B3irHRxH.js} +14 -14
  314. package/dist/components/{p-DGDbXfHm.js.map → p-B3irHRxH.js.map} +1 -1
  315. package/dist/components/{p-DZwGCUUK.js → p-B57gyFFu.js} +9 -9
  316. package/dist/components/{p-DZwGCUUK.js.map → p-B57gyFFu.js.map} +1 -1
  317. package/dist/components/{p-RPocf_FZ.js → p-BAi0-0s9.js} +19 -19
  318. package/dist/components/{p-RPocf_FZ.js.map → p-BAi0-0s9.js.map} +1 -1
  319. package/dist/components/{p-DcjGlnBR.js → p-BBWnrSjc.js} +3 -3
  320. package/dist/components/{p-DcjGlnBR.js.map → p-BBWnrSjc.js.map} +1 -1
  321. package/dist/components/{p-DBHtQK2b.js → p-BEvwJe37.js} +3 -3
  322. package/dist/components/{p-DBHtQK2b.js.map → p-BEvwJe37.js.map} +1 -1
  323. package/dist/components/{p-BuJdnN6-.js → p-BG5y4pBL.js} +4 -4
  324. package/dist/components/{p-BuJdnN6-.js.map → p-BG5y4pBL.js.map} +1 -1
  325. package/dist/components/{p-CRIlyxX5.js → p-BGcFPLlm.js} +10 -10
  326. package/dist/components/{p-CRIlyxX5.js.map → p-BGcFPLlm.js.map} +1 -1
  327. package/dist/components/{p-BoUo2hc7.js → p-BJbmwaXD.js} +3 -3
  328. package/dist/components/{p-BoUo2hc7.js.map → p-BJbmwaXD.js.map} +1 -1
  329. package/dist/components/{p-BzLxndYA.js → p-BMLPTwTQ.js} +7 -7
  330. package/dist/components/{p-BzLxndYA.js.map → p-BMLPTwTQ.js.map} +1 -1
  331. package/dist/components/{p-BrOgWk7y.js → p-BMv8LXnI.js} +3 -3
  332. package/dist/components/{p-BrOgWk7y.js.map → p-BMv8LXnI.js.map} +1 -1
  333. package/dist/components/{p-BWbQSVNH.js → p-BOYZzt-4.js} +7 -7
  334. package/dist/components/{p-BWbQSVNH.js.map → p-BOYZzt-4.js.map} +1 -1
  335. package/dist/components/{p-CdPtFwy6.js → p-BQ5o0vvR.js} +5 -5
  336. package/dist/components/{p-CdPtFwy6.js.map → p-BQ5o0vvR.js.map} +1 -1
  337. package/dist/components/{p-DPwhlVlN.js → p-BTqJQKYU.js} +3 -3
  338. package/dist/components/{p-DPwhlVlN.js.map → p-BTqJQKYU.js.map} +1 -1
  339. package/dist/components/{p-DUVwWh7e.js → p-BU16FiC8.js} +13 -13
  340. package/dist/components/{p-DUVwWh7e.js.map → p-BU16FiC8.js.map} +1 -1
  341. package/dist/components/{p-CpGRDWt9.js → p-BVIbhcW2.js} +4 -4
  342. package/dist/components/{p-CpGRDWt9.js.map → p-BVIbhcW2.js.map} +1 -1
  343. package/dist/components/{p-B2cPNmM_.js → p-BVZnq2zV.js} +9 -9
  344. package/dist/components/{p-B2cPNmM_.js.map → p-BVZnq2zV.js.map} +1 -1
  345. package/dist/components/{p-WABPA0YV.js → p-BVq4mTYg.js} +56 -28
  346. package/dist/components/p-BVq4mTYg.js.map +1 -0
  347. package/dist/components/{p-CuaQW941.js → p-BaX-h68d.js} +6 -6
  348. package/dist/components/{p-CuaQW941.js.map → p-BaX-h68d.js.map} +1 -1
  349. package/dist/components/{p-hipsVOV5.js → p-Baw3jP2X.js} +3 -3
  350. package/dist/components/{p-hipsVOV5.js.map → p-Baw3jP2X.js.map} +1 -1
  351. package/dist/components/{p-BnEkgCIs.js → p-Bbt9980R.js} +3 -3
  352. package/dist/components/{p-BnEkgCIs.js.map → p-Bbt9980R.js.map} +1 -1
  353. package/dist/components/{p-BAKh5tMf.js → p-BcHelLHv.js} +3 -3
  354. package/dist/components/{p-BAKh5tMf.js.map → p-BcHelLHv.js.map} +1 -1
  355. package/dist/components/{p-ChXM0wCn.js → p-BgzT-67i.js} +3 -3
  356. package/dist/components/{p-ChXM0wCn.js.map → p-BgzT-67i.js.map} +1 -1
  357. package/dist/components/{p-BqD6DKLT.js → p-BnLt26W8.js} +7 -7
  358. package/dist/components/{p-BqD6DKLT.js.map → p-BnLt26W8.js.map} +1 -1
  359. package/dist/components/{p-xMlGGw2N.js → p-BuYNWtp6.js} +3 -3
  360. package/dist/components/{p-xMlGGw2N.js.map → p-BuYNWtp6.js.map} +1 -1
  361. package/dist/components/{p-CyzGRI94.js → p-BvqNXgYj.js} +3 -3
  362. package/dist/components/{p-CyzGRI94.js.map → p-BvqNXgYj.js.map} +1 -1
  363. package/dist/components/{p-DDd7Mjvz.js → p-ByoRiTiK.js} +7 -7
  364. package/dist/components/{p-DDd7Mjvz.js.map → p-ByoRiTiK.js.map} +1 -1
  365. package/dist/components/{p-Ch_HOS-9.js → p-BzjixeLc.js} +7 -7
  366. package/dist/components/{p-Ch_HOS-9.js.map → p-BzjixeLc.js.map} +1 -1
  367. package/dist/components/{p-DfxhC7Fd.js → p-C1JOYWhj.js} +12 -12
  368. package/dist/components/{p-DfxhC7Fd.js.map → p-C1JOYWhj.js.map} +1 -1
  369. package/dist/components/{p-CzSowwcD.js → p-C2bWg9rc.js} +7 -7
  370. package/dist/components/{p-CzSowwcD.js.map → p-C2bWg9rc.js.map} +1 -1
  371. package/dist/components/{p-C4BZ4XFc.js → p-C35dU4J2.js} +3 -3
  372. package/dist/components/{p-C4BZ4XFc.js.map → p-C35dU4J2.js.map} +1 -1
  373. package/dist/components/{p-CvLWbTI_.js → p-C4QSwxPr.js} +3 -3
  374. package/dist/components/{p-CvLWbTI_.js.map → p-C4QSwxPr.js.map} +1 -1
  375. package/dist/components/{p-DEbbVkgj.js → p-C6ARzQ6M.js} +3 -3
  376. package/dist/components/{p-DEbbVkgj.js.map → p-C6ARzQ6M.js.map} +1 -1
  377. package/dist/components/{p-BYzkNeMW.js → p-CBjtU882.js} +5 -5
  378. package/dist/components/{p-BYzkNeMW.js.map → p-CBjtU882.js.map} +1 -1
  379. package/dist/components/{p-oRjUujH5.js → p-CDME1l9h.js} +8 -8
  380. package/dist/components/{p-oRjUujH5.js.map → p-CDME1l9h.js.map} +1 -1
  381. package/dist/components/{p-Dl0Yur5r.js → p-CGkcVt8h.js} +3 -3
  382. package/dist/components/{p-Dl0Yur5r.js.map → p-CGkcVt8h.js.map} +1 -1
  383. package/dist/components/{p-D0137Jos.js → p-CI1nvbUl.js} +10 -10
  384. package/dist/components/{p-D0137Jos.js.map → p-CI1nvbUl.js.map} +1 -1
  385. package/dist/components/{p-CUe11ohy.js → p-CKiOTF7Z.js} +7 -7
  386. package/dist/components/{p-CUe11ohy.js.map → p-CKiOTF7Z.js.map} +1 -1
  387. package/dist/components/{p-fwU4mtR0.js → p-COaWG_Zh.js} +5 -5
  388. package/dist/components/{p-fwU4mtR0.js.map → p-COaWG_Zh.js.map} +1 -1
  389. package/dist/components/{p-D5Swz0J4.js → p-CQvNQk_r.js} +10 -10
  390. package/dist/components/{p-D5Swz0J4.js.map → p-CQvNQk_r.js.map} +1 -1
  391. package/dist/components/{p-BBxu-pwN.js → p-CRWfdwTk.js} +14 -14
  392. package/dist/components/{p-BBxu-pwN.js.map → p-CRWfdwTk.js.map} +1 -1
  393. package/dist/components/{p-CahZPm95.js → p-CWNABkMS.js} +4 -4
  394. package/dist/components/{p-CahZPm95.js.map → p-CWNABkMS.js.map} +1 -1
  395. package/dist/components/p-CWplx7sA.js.map +1 -1
  396. package/dist/components/{p-CyWE9dXK.js → p-C_MBjjfN.js} +3 -3
  397. package/dist/components/{p-CyWE9dXK.js.map → p-C_MBjjfN.js.map} +1 -1
  398. package/dist/components/{p-DxDoo-4C.js → p-C_a8Brku.js} +4 -4
  399. package/dist/components/{p-DxDoo-4C.js.map → p-C_a8Brku.js.map} +1 -1
  400. package/dist/components/{p-D_daFt1t.js → p-CbIFnpIT.js} +10 -10
  401. package/dist/components/{p-D_daFt1t.js.map → p-CbIFnpIT.js.map} +1 -1
  402. package/dist/components/{p-CJvmK-NM.js → p-Cf47JDzZ.js} +3 -3
  403. package/dist/components/{p-CJvmK-NM.js.map → p-Cf47JDzZ.js.map} +1 -1
  404. package/dist/components/{p-CeKOSPvz.js → p-ChvVcov-.js} +8 -8
  405. package/dist/components/{p-CeKOSPvz.js.map → p-ChvVcov-.js.map} +1 -1
  406. package/dist/components/{p-D7z2dNXN.js → p-CixxWdv6.js} +3 -3
  407. package/dist/components/{p-D7z2dNXN.js.map → p-CixxWdv6.js.map} +1 -1
  408. package/dist/components/{p-BF0muZ9G.js → p-CkIBsfNB.js} +3 -3
  409. package/dist/components/{p-BF0muZ9G.js.map → p-CkIBsfNB.js.map} +1 -1
  410. package/dist/components/{p-BGbMXlLy.js → p-CneutSrB.js} +6 -6
  411. package/dist/components/{p-BGbMXlLy.js.map → p-CneutSrB.js.map} +1 -1
  412. package/dist/components/{p-D9mHh12b.js → p-Coy-5_RU.js} +8 -8
  413. package/dist/components/{p-D9mHh12b.js.map → p-Coy-5_RU.js.map} +1 -1
  414. package/dist/components/{p-CDDw-hf8.js → p-Cr0OL9Ww.js} +3 -3
  415. package/dist/components/{p-CDDw-hf8.js.map → p-Cr0OL9Ww.js.map} +1 -1
  416. package/dist/components/{p-CXkCnHr5.js → p-CrAcXVaG.js} +5 -5
  417. package/dist/components/{p-CXkCnHr5.js.map → p-CrAcXVaG.js.map} +1 -1
  418. package/dist/components/{p-BNuHkEZZ.js → p-CsyulOVn.js} +3 -3
  419. package/dist/components/{p-BNuHkEZZ.js.map → p-CsyulOVn.js.map} +1 -1
  420. package/dist/components/{p-DMwaGWVu.js → p-D-DEVTDE.js} +6 -6
  421. package/dist/components/{p-DMwaGWVu.js.map → p-D-DEVTDE.js.map} +1 -1
  422. package/dist/components/{p-BVH0Klhu.js → p-D0NY8UNC.js} +4 -4
  423. package/dist/components/{p-BVH0Klhu.js.map → p-D0NY8UNC.js.map} +1 -1
  424. package/dist/components/{p-BD4aqMeC.js → p-D1XyN1j_.js} +3 -3
  425. package/dist/components/{p-BD4aqMeC.js.map → p-D1XyN1j_.js.map} +1 -1
  426. package/dist/components/{p-D0qMgeBc.js → p-D30JsuKI.js} +6 -6
  427. package/dist/components/{p-D0qMgeBc.js.map → p-D30JsuKI.js.map} +1 -1
  428. package/dist/components/{p-BT5kT23k.js → p-D5y9oXD0.js} +3 -3
  429. package/dist/components/{p-BT5kT23k.js.map → p-D5y9oXD0.js.map} +1 -1
  430. package/dist/components/{p-3FTb1-in.js → p-D9XKQ809.js} +33 -33
  431. package/dist/components/{p-3FTb1-in.js.map → p-D9XKQ809.js.map} +1 -1
  432. package/dist/components/{p-BSfQxQEN.js → p-DA5RYBjv.js} +3 -3
  433. package/dist/components/{p-BSfQxQEN.js.map → p-DA5RYBjv.js.map} +1 -1
  434. package/dist/components/{p-Cyk3GcD_.js → p-DEI76q16.js} +3 -3
  435. package/dist/components/{p-Cyk3GcD_.js.map → p-DEI76q16.js.map} +1 -1
  436. package/dist/components/{p-UTn_XnKO.js → p-DEJGXMSG.js} +8 -8
  437. package/dist/components/{p-UTn_XnKO.js.map → p-DEJGXMSG.js.map} +1 -1
  438. package/dist/components/{p-DcXycU5_.js → p-DEggxpVo.js} +6 -6
  439. package/dist/components/{p-DcXycU5_.js.map → p-DEggxpVo.js.map} +1 -1
  440. package/dist/components/{p-eV80kRKP.js → p-DGEm3ZTt.js} +3 -3
  441. package/dist/components/{p-eV80kRKP.js.map → p-DGEm3ZTt.js.map} +1 -1
  442. package/dist/components/{p-Ce8gcoEa.js → p-DHb99Cgm.js} +3 -3
  443. package/dist/components/{p-Ce8gcoEa.js.map → p-DHb99Cgm.js.map} +1 -1
  444. package/dist/components/{p-CzVZs3uZ.js → p-DK6-bZYK.js} +3 -3
  445. package/dist/components/{p-CzVZs3uZ.js.map → p-DK6-bZYK.js.map} +1 -1
  446. package/dist/components/{p-CT64yPEO.js → p-DP99QPpi.js} +3 -3
  447. package/dist/components/{p-CT64yPEO.js.map → p-DP99QPpi.js.map} +1 -1
  448. package/dist/components/{p-DRXHxMKj.js → p-DRo0peiI.js} +82 -82
  449. package/dist/components/{p-DRXHxMKj.js.map → p-DRo0peiI.js.map} +1 -1
  450. package/dist/components/{p-kbilJltW.js → p-DTtKd-E-.js} +3 -3
  451. package/dist/components/{p-kbilJltW.js.map → p-DTtKd-E-.js.map} +1 -1
  452. package/dist/components/{p-Cs_iJUbv.js → p-DVNLlxnG.js} +3 -3
  453. package/dist/components/{p-Cs_iJUbv.js.map → p-DVNLlxnG.js.map} +1 -1
  454. package/dist/components/{p-Bsd63RFi.js → p-DXQVWZkn.js} +3 -3
  455. package/dist/components/{p-Bsd63RFi.js.map → p-DXQVWZkn.js.map} +1 -1
  456. package/dist/components/{p-ao6VxuAL.js → p-DY3hmp0T.js} +3 -3
  457. package/dist/components/{p-ao6VxuAL.js.map → p-DY3hmp0T.js.map} +1 -1
  458. package/dist/components/{p-CFeDwD40.js → p-DZJQ_Wck.js} +3 -3
  459. package/dist/components/{p-CFeDwD40.js.map → p-DZJQ_Wck.js.map} +1 -1
  460. package/dist/components/{p-UNYO4Uen.js → p-DZLca44K.js} +3 -3
  461. package/dist/components/{p-UNYO4Uen.js.map → p-DZLca44K.js.map} +1 -1
  462. package/dist/components/{p-Ci-pKDnr.js → p-DdUGpBp4.js} +6 -6
  463. package/dist/components/{p-Ci-pKDnr.js.map → p-DdUGpBp4.js.map} +1 -1
  464. package/dist/components/{p-O9btdnkK.js → p-DgN2U3G8.js} +15 -15
  465. package/dist/components/{p-O9btdnkK.js.map → p-DgN2U3G8.js.map} +1 -1
  466. package/dist/components/{p-Bvnci8k8.js → p-DhC3_luJ.js} +8 -8
  467. package/dist/components/{p-Bvnci8k8.js.map → p-DhC3_luJ.js.map} +1 -1
  468. package/dist/components/{p-uxA_4Zq1.js → p-Di9JUVGX.js} +9 -9
  469. package/dist/components/{p-uxA_4Zq1.js.map → p-Di9JUVGX.js.map} +1 -1
  470. package/dist/components/{p-BkqJQBCp.js → p-DjZdyHmc.js} +3 -3
  471. package/dist/components/{p-BkqJQBCp.js.map → p-DjZdyHmc.js.map} +1 -1
  472. package/dist/components/{p-CBBEkysd.js → p-DjtrM_3t.js} +3 -3
  473. package/dist/components/{p-CBBEkysd.js.map → p-DjtrM_3t.js.map} +1 -1
  474. package/dist/components/{p-C9Mlv9rC.js → p-DoA5ft2W.js} +3 -3
  475. package/dist/components/{p-C9Mlv9rC.js.map → p-DoA5ft2W.js.map} +1 -1
  476. package/dist/components/{p-Begx19Z9.js → p-DpipCjQf.js} +5 -5
  477. package/dist/components/{p-Begx19Z9.js.map → p-DpipCjQf.js.map} +1 -1
  478. package/dist/components/{p-C7ZpwRD0.js → p-DprQSn90.js} +3 -3
  479. package/dist/components/{p-C7ZpwRD0.js.map → p-DprQSn90.js.map} +1 -1
  480. package/dist/components/{p-d3kelm3z.js → p-DsvNvqOg.js} +3 -3
  481. package/dist/components/{p-d3kelm3z.js.map → p-DsvNvqOg.js.map} +1 -1
  482. package/dist/components/{p-wphqTozF.js → p-DtEl3UXW.js} +6 -6
  483. package/dist/components/{p-wphqTozF.js.map → p-DtEl3UXW.js.map} +1 -1
  484. package/dist/components/{p-BJ5a9k3B.js → p-GiOcqWdY.js} +7 -7
  485. package/dist/components/{p-BJ5a9k3B.js.map → p-GiOcqWdY.js.map} +1 -1
  486. package/dist/components/{p-C7J83Us-.js → p-IJzc7eB1.js} +3 -3
  487. package/dist/components/{p-C7J83Us-.js.map → p-IJzc7eB1.js.map} +1 -1
  488. package/dist/components/{p-jBYg7WMS.js → p-LgZAWXty.js} +3 -3
  489. package/dist/components/{p-jBYg7WMS.js.map → p-LgZAWXty.js.map} +1 -1
  490. package/dist/components/{p-NA5f_7b7.js → p-LopVARiX.js} +5 -5
  491. package/dist/components/{p-NA5f_7b7.js.map → p-LopVARiX.js.map} +1 -1
  492. package/dist/components/{p-D42UGkjM.js → p-UIE8SSzy.js} +3 -3
  493. package/dist/components/{p-D42UGkjM.js.map → p-UIE8SSzy.js.map} +1 -1
  494. package/dist/components/{p-Dj1TLa3T.js → p-VZFbCMYS.js} +3 -3
  495. package/dist/components/{p-Dj1TLa3T.js.map → p-VZFbCMYS.js.map} +1 -1
  496. package/dist/components/{p-BMmtU0fv.js → p-ViLIEy7H.js} +6 -6
  497. package/dist/components/{p-BMmtU0fv.js.map → p-ViLIEy7H.js.map} +1 -1
  498. package/dist/components/{p-qo42Sy8T.js → p-Yo5k5FWd.js} +15 -15
  499. package/dist/components/{p-qo42Sy8T.js.map → p-Yo5k5FWd.js.map} +1 -1
  500. package/dist/components/{p-nhhVpJed.js → p-cJqQhTj-.js} +10 -10
  501. package/dist/components/{p-nhhVpJed.js.map → p-cJqQhTj-.js.map} +1 -1
  502. package/dist/components/{p-LOCJMijY.js → p-cf3Hv5c6.js} +6 -6
  503. package/dist/components/{p-LOCJMijY.js.map → p-cf3Hv5c6.js.map} +1 -1
  504. package/dist/components/{p-BGCZ4yg1.js → p-erV6iEKy.js} +96 -96
  505. package/dist/components/{p-BGCZ4yg1.js.map → p-erV6iEKy.js.map} +1 -1
  506. package/dist/components/{p-DPPqmJvY.js → p-h9VWezZP.js} +4 -4
  507. package/dist/components/{p-DPPqmJvY.js.map → p-h9VWezZP.js.map} +1 -1
  508. package/dist/components/{p-37a4h3J_.js → p-kIZ75-15.js} +10 -10
  509. package/dist/components/{p-37a4h3J_.js.map → p-kIZ75-15.js.map} +1 -1
  510. package/dist/components/{p-DPL6BIu2.js → p-lDYP9du3.js} +9 -9
  511. package/dist/components/{p-DPL6BIu2.js.map → p-lDYP9du3.js.map} +1 -1
  512. package/dist/components/{p-D4gKLnje.js → p-mIi7Upj2.js} +16 -16
  513. package/dist/components/{p-D4gKLnje.js.map → p-mIi7Upj2.js.map} +1 -1
  514. package/dist/components/{p-CdBb4zI5.js → p-mkkcd81V.js} +17 -17
  515. package/dist/components/{p-CdBb4zI5.js.map → p-mkkcd81V.js.map} +1 -1
  516. package/dist/components/{p-DOryfnIf.js → p-mw0JEKw8.js} +5 -5
  517. package/dist/components/{p-DOryfnIf.js.map → p-mw0JEKw8.js.map} +1 -1
  518. package/dist/components/{p-DS6Ijr4M.js → p-n1qnMrWE.js} +3 -3
  519. package/dist/components/{p-DS6Ijr4M.js.map → p-n1qnMrWE.js.map} +1 -1
  520. package/dist/components/{p-wJgbEd5m.js → p-n4JDuNbH.js} +9 -9
  521. package/dist/components/{p-wJgbEd5m.js.map → p-n4JDuNbH.js.map} +1 -1
  522. package/dist/components/{p-DQNm7dzQ.js → p-oiP2Tfx1.js} +3 -3
  523. package/dist/components/{p-DQNm7dzQ.js.map → p-oiP2Tfx1.js.map} +1 -1
  524. package/dist/components/{p-96zW11tR.js → p-r182lPIw.js} +6 -6
  525. package/dist/components/{p-96zW11tR.js.map → p-r182lPIw.js.map} +1 -1
  526. package/dist/components/{p-ByDfkWkX.js → p-xXZAaFtS.js} +3 -3
  527. package/dist/components/{p-ByDfkWkX.js.map → p-xXZAaFtS.js.map} +1 -1
  528. package/dist/components/{p-OhUC7F_g.js → p-zT4P9vUn.js} +3 -3
  529. package/dist/components/{p-OhUC7F_g.js.map → p-zT4P9vUn.js.map} +1 -1
  530. package/dist/components/paintbrush-fill-icon.js +1 -1
  531. package/dist/components/paintbrush-icon.js +1 -1
  532. package/dist/components/people-icon.js +1 -1
  533. package/dist/components/person-clipboard-icon.js +1 -1
  534. package/dist/components/person-icon.js +1 -1
  535. package/dist/components/play-icon.js +1 -1
  536. package/dist/components/plus-icon.js +1 -1
  537. package/dist/components/radio-button-group.js +1 -1
  538. package/dist/components/refresh-icon.js +1 -1
  539. package/dist/components/reply-all-icon.js +1 -1
  540. package/dist/components/reply-icon.js +1 -1
  541. package/dist/components/search-icon.js +1 -1
  542. package/dist/components/select-dropdown.js +1 -1
  543. package/dist/components/sent-icon.js +1 -1
  544. package/dist/components/spam-icon.js +1 -1
  545. package/dist/components/star-icon.js +1 -1
  546. package/dist/components/stop-icon.js +1 -1
  547. package/dist/components/textarea-component.js +1 -1
  548. package/dist/components/time-period-selector.js +1 -1
  549. package/dist/components/toggle-switch.js +1 -1
  550. package/dist/components/tooltip-component.js +1 -1
  551. package/dist/components/translate-icon.js +1 -1
  552. package/dist/components/trash-fill-icon.js +1 -1
  553. package/dist/components/trash-icon.js +1 -1
  554. package/dist/components/underline-icon.js +1 -1
  555. package/dist/components/warning-icon.js +1 -1
  556. package/dist/components/zoom-icon.js +1 -1
  557. package/dist/esm/add-circle-icon_2.entry.js +2 -2
  558. package/dist/esm/archive-icon.entry.js +1 -1
  559. package/dist/esm/arrow-icon.entry.js +1 -1
  560. package/dist/esm/bold-icon.entry.js +1 -1
  561. package/dist/esm/button-component_2.entry.js +2 -2
  562. package/dist/esm/calendar-agenda-fill-icon_39.entry.js +47 -47
  563. package/dist/esm/calendar-cancel-icon.entry.js +1 -1
  564. package/dist/esm/calendar-check-icon.entry.js +1 -1
  565. package/dist/esm/calendar-icon.entry.js +1 -1
  566. package/dist/esm/checkbox-component.entry.js +1 -1
  567. package/dist/esm/checkbox-group_4.entry.js +5 -5
  568. package/dist/esm/checkmark-circle-icon.entry.js +1 -1
  569. package/dist/esm/checkmark-icon_14.entry.js +16 -16
  570. package/dist/esm/chevron-icon_3.entry.js +4 -4
  571. package/dist/esm/clock-icon_2.entry.js +2 -2
  572. package/dist/esm/delete-icon.entry.js +1 -1
  573. package/dist/esm/document-refresh-icon.entry.js +1 -1
  574. package/dist/esm/folder-icon.entry.js +1 -1
  575. package/dist/esm/forward-icon.entry.js +1 -1
  576. package/dist/esm/globe-icon_3.entry.js +5 -5
  577. package/dist/esm/google-logo-icon_6.entry.js +13 -13
  578. package/dist/esm/google-meet-icon_5.entry.js +5 -5
  579. package/dist/esm/inbox-icon.entry.js +1 -1
  580. package/dist/esm/info-icon_2.entry.js +3 -3
  581. package/dist/esm/input-component.entry.js +1 -1
  582. package/dist/esm/input-dropdown_2.entry.js +2 -2
  583. package/dist/esm/input-image-url_2.entry.js +2 -2
  584. package/dist/esm/italic-icon.entry.js +1 -1
  585. package/dist/esm/multi-select-dropdown.entry.js +2 -2
  586. package/dist/esm/nylas-booked-event-card_11.entry.js +47 -19
  587. package/dist/esm/nylas-booked-event-card_11.entry.js.map +1 -1
  588. package/dist/esm/nylas-form-card.entry.js +1 -1
  589. package/dist/esm/nylas-notification_2.entry.js +2 -2
  590. package/dist/esm/nylas-scheduler-editor.entry.js +29 -4
  591. package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
  592. package/dist/esm/nylas-scheduling.entry.js +9 -6
  593. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  594. package/dist/esm/person-icon.entry.js +1 -1
  595. package/dist/esm/play-icon.entry.js +1 -1
  596. package/dist/esm/plus-icon.entry.js +1 -1
  597. package/dist/esm/radio-button-group.entry.js +1 -1
  598. package/dist/esm/refresh-icon.entry.js +1 -1
  599. package/dist/esm/reply-all-icon.entry.js +1 -1
  600. package/dist/esm/reply-icon.entry.js +1 -1
  601. package/dist/esm/sent-icon.entry.js +1 -1
  602. package/dist/esm/spam-icon.entry.js +1 -1
  603. package/dist/esm/star-icon.entry.js +1 -1
  604. package/dist/esm/stop-icon.entry.js +1 -1
  605. package/dist/esm/textarea-component.entry.js +1 -1
  606. package/dist/esm/toggle-switch.entry.js +1 -1
  607. package/dist/esm/translate-icon.entry.js +1 -1
  608. package/dist/esm/trash-fill-icon.entry.js +1 -1
  609. package/dist/esm/underline-icon.entry.js +1 -1
  610. package/dist/esm/{version-iQhY7wWk.js → version-JnnkbSna.js} +3 -3
  611. package/dist/esm/version-JnnkbSna.js.map +1 -0
  612. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.esm.js.map +1 -1
  613. package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
  614. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  615. package/dist/nylas-web-elements/{p-219fd6f9.entry.js → p-00183807.entry.js} +2 -2
  616. package/dist/nylas-web-elements/p-080096b9.entry.js +2 -0
  617. package/dist/nylas-web-elements/p-204ef0b9.entry.js +2 -0
  618. package/dist/nylas-web-elements/{p-37c5834c.entry.js → p-20b88057.entry.js} +2 -2
  619. package/dist/nylas-web-elements/{p-87f52db7.entry.js → p-22a55c18.entry.js} +2 -2
  620. package/dist/nylas-web-elements/{p-11f478bd.entry.js → p-38c87a6e.entry.js} +2 -2
  621. package/dist/nylas-web-elements/{p-991b94bd.entry.js → p-3b627f4c.entry.js} +2 -2
  622. package/dist/nylas-web-elements/p-48188b92.entry.js +2 -0
  623. package/dist/nylas-web-elements/p-48188b92.entry.js.map +1 -0
  624. package/dist/nylas-web-elements/{p-932456ba.entry.js → p-4d170fc4.entry.js} +2 -2
  625. package/dist/nylas-web-elements/p-4dac5ab9.entry.js +2 -0
  626. package/dist/nylas-web-elements/{p-7fe0b3bb.entry.js.map → p-4dac5ab9.entry.js.map} +1 -1
  627. package/dist/nylas-web-elements/p-4f601ebb.entry.js +2 -0
  628. package/dist/nylas-web-elements/{p-3d1fd865.entry.js → p-50ffbf25.entry.js} +2 -2
  629. package/dist/nylas-web-elements/{p-81af9950.entry.js → p-54437b43.entry.js} +2 -2
  630. package/dist/nylas-web-elements/{p-f4516330.entry.js → p-55ce6edc.entry.js} +2 -2
  631. package/dist/nylas-web-elements/p-59d181d5.entry.js +2 -0
  632. package/dist/nylas-web-elements/p-6e8fdf58.entry.js +2 -0
  633. package/dist/nylas-web-elements/p-722e1419.entry.js +2 -0
  634. package/dist/nylas-web-elements/p-72662447.entry.js +2 -0
  635. package/dist/nylas-web-elements/{p-7b8b7718.entry.js → p-731891a8.entry.js} +2 -2
  636. package/dist/nylas-web-elements/{p-f45da541.entry.js → p-75647771.entry.js} +2 -2
  637. package/dist/nylas-web-elements/{p-eb5b77ab.entry.js → p-759d71a9.entry.js} +2 -2
  638. package/dist/nylas-web-elements/p-7928b915.entry.js +2 -0
  639. package/dist/nylas-web-elements/{p-0745cbcc.entry.js → p-7a877959.entry.js} +2 -2
  640. package/dist/nylas-web-elements/p-7d28bcb7.entry.js +2 -0
  641. package/dist/nylas-web-elements/{p-af340293.entry.js → p-81eaa606.entry.js} +2 -2
  642. package/dist/nylas-web-elements/p-828469d5.entry.js +2 -0
  643. package/dist/nylas-web-elements/{p-c96b6f73.entry.js → p-829e73ef.entry.js} +2 -2
  644. package/dist/nylas-web-elements/p-86d19f93.entry.js +2 -0
  645. package/dist/nylas-web-elements/p-86d19f93.entry.js.map +1 -0
  646. package/dist/nylas-web-elements/{p-1401a68f.entry.js → p-8c77020a.entry.js} +3 -3
  647. package/dist/nylas-web-elements/p-8c77020a.entry.js.map +1 -0
  648. package/dist/nylas-web-elements/p-9676f7ac.entry.js +2 -0
  649. package/dist/nylas-web-elements/{p-95c4f538.entry.js → p-9c0129c6.entry.js} +2 -2
  650. package/dist/nylas-web-elements/p-9cbcc79c.entry.js +2 -0
  651. package/dist/nylas-web-elements/{p-iQhY7wWk.js → p-JnnkbSna.js} +2 -2
  652. package/dist/nylas-web-elements/p-JnnkbSna.js.map +1 -0
  653. package/dist/nylas-web-elements/{p-7930474b.entry.js → p-a03ea995.entry.js} +2 -2
  654. package/dist/nylas-web-elements/{p-84c3921f.entry.js → p-a6c1f77e.entry.js} +2 -2
  655. package/dist/nylas-web-elements/{p-974fce52.entry.js → p-af92dd91.entry.js} +2 -2
  656. package/dist/nylas-web-elements/{p-9dd10333.entry.js → p-b180424a.entry.js} +2 -2
  657. package/dist/nylas-web-elements/{p-1741705d.entry.js → p-bade8744.entry.js} +2 -2
  658. package/dist/nylas-web-elements/{p-fed4cb19.entry.js → p-bd7a8916.entry.js} +2 -2
  659. package/dist/nylas-web-elements/{p-02343d66.entry.js → p-be15cad1.entry.js} +2 -2
  660. package/dist/nylas-web-elements/{p-0c276fdb.entry.js → p-c107eaf2.entry.js} +2 -2
  661. package/dist/nylas-web-elements/{p-7876f3e5.entry.js → p-c273be7d.entry.js} +2 -2
  662. package/dist/nylas-web-elements/{p-a5bb5b9d.entry.js → p-c93b620f.entry.js} +2 -2
  663. package/dist/nylas-web-elements/{p-c0f88f23.entry.js → p-cd97fc2f.entry.js} +2 -2
  664. package/dist/nylas-web-elements/p-dca1f249.entry.js +2 -0
  665. package/dist/nylas-web-elements/{p-2491c840.entry.js → p-e4353ee3.entry.js} +2 -2
  666. package/dist/nylas-web-elements/{p-1618c8ac.entry.js → p-eac0a540.entry.js} +3 -3
  667. package/dist/nylas-web-elements/p-edb44a77.entry.js +2 -0
  668. package/dist/nylas-web-elements/{p-d48d8562.entry.js → p-f4449902.entry.js} +2 -2
  669. package/dist/nylas-web-elements/p-fdf56450.entry.js +2 -0
  670. package/dist/nylas-web-elements/p-ff27e57b.entry.js +2 -0
  671. package/dist/types/common/types.d.ts +2 -0
  672. package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +4 -0
  673. package/dist/types/components.d.ts +4 -4
  674. package/dist/types/connector/shared/api/scheduler.d.ts +1 -0
  675. package/dist/types/types/index.d.ts +2 -0
  676. package/dist/types/version.d.ts +1 -1
  677. package/package.json +3 -3
  678. package/dist/cjs/version-Xu0ORQw8.js.map +0 -1
  679. package/dist/components/p-WABPA0YV.js.map +0 -1
  680. package/dist/esm/version-iQhY7wWk.js.map +0 -1
  681. package/dist/nylas-web-elements/p-1401a68f.entry.js.map +0 -1
  682. package/dist/nylas-web-elements/p-16db18a3.entry.js +0 -2
  683. package/dist/nylas-web-elements/p-37eedc9d.entry.js +0 -2
  684. package/dist/nylas-web-elements/p-43c3f331.entry.js +0 -2
  685. package/dist/nylas-web-elements/p-4a2bcec0.entry.js +0 -2
  686. package/dist/nylas-web-elements/p-4d04cfe9.entry.js +0 -2
  687. package/dist/nylas-web-elements/p-4d04cfe9.entry.js.map +0 -1
  688. package/dist/nylas-web-elements/p-55b2df61.entry.js +0 -2
  689. package/dist/nylas-web-elements/p-68195a72.entry.js +0 -2
  690. package/dist/nylas-web-elements/p-7fe0b3bb.entry.js +0 -2
  691. package/dist/nylas-web-elements/p-88e89256.entry.js +0 -2
  692. package/dist/nylas-web-elements/p-a3baa9bf.entry.js +0 -2
  693. package/dist/nylas-web-elements/p-a94cbeb7.entry.js +0 -2
  694. package/dist/nylas-web-elements/p-bca85255.entry.js +0 -2
  695. package/dist/nylas-web-elements/p-cb33346f.entry.js +0 -2
  696. package/dist/nylas-web-elements/p-cb33346f.entry.js.map +0 -1
  697. package/dist/nylas-web-elements/p-de990849.entry.js +0 -2
  698. package/dist/nylas-web-elements/p-e2dd457a.entry.js +0 -2
  699. package/dist/nylas-web-elements/p-e734cde9.entry.js +0 -2
  700. package/dist/nylas-web-elements/p-ed89219a.entry.js +0 -2
  701. package/dist/nylas-web-elements/p-f0406089.entry.js +0 -2
  702. package/dist/nylas-web-elements/p-f7f2c232.entry.js +0 -2
  703. package/dist/nylas-web-elements/p-iQhY7wWk.js.map +0 -1
  704. /package/dist/nylas-web-elements/{p-219fd6f9.entry.js.map → p-00183807.entry.js.map} +0 -0
  705. /package/dist/nylas-web-elements/{p-68195a72.entry.js.map → p-080096b9.entry.js.map} +0 -0
  706. /package/dist/nylas-web-elements/{p-a3baa9bf.entry.js.map → p-204ef0b9.entry.js.map} +0 -0
  707. /package/dist/nylas-web-elements/{p-37c5834c.entry.js.map → p-20b88057.entry.js.map} +0 -0
  708. /package/dist/nylas-web-elements/{p-87f52db7.entry.js.map → p-22a55c18.entry.js.map} +0 -0
  709. /package/dist/nylas-web-elements/{p-11f478bd.entry.js.map → p-38c87a6e.entry.js.map} +0 -0
  710. /package/dist/nylas-web-elements/{p-991b94bd.entry.js.map → p-3b627f4c.entry.js.map} +0 -0
  711. /package/dist/nylas-web-elements/{p-932456ba.entry.js.map → p-4d170fc4.entry.js.map} +0 -0
  712. /package/dist/nylas-web-elements/{p-f7f2c232.entry.js.map → p-4f601ebb.entry.js.map} +0 -0
  713. /package/dist/nylas-web-elements/{p-3d1fd865.entry.js.map → p-50ffbf25.entry.js.map} +0 -0
  714. /package/dist/nylas-web-elements/{p-81af9950.entry.js.map → p-54437b43.entry.js.map} +0 -0
  715. /package/dist/nylas-web-elements/{p-f4516330.entry.js.map → p-55ce6edc.entry.js.map} +0 -0
  716. /package/dist/nylas-web-elements/{p-55b2df61.entry.js.map → p-59d181d5.entry.js.map} +0 -0
  717. /package/dist/nylas-web-elements/{p-37eedc9d.entry.js.map → p-6e8fdf58.entry.js.map} +0 -0
  718. /package/dist/nylas-web-elements/{p-88e89256.entry.js.map → p-722e1419.entry.js.map} +0 -0
  719. /package/dist/nylas-web-elements/{p-43c3f331.entry.js.map → p-72662447.entry.js.map} +0 -0
  720. /package/dist/nylas-web-elements/{p-7b8b7718.entry.js.map → p-731891a8.entry.js.map} +0 -0
  721. /package/dist/nylas-web-elements/{p-f45da541.entry.js.map → p-75647771.entry.js.map} +0 -0
  722. /package/dist/nylas-web-elements/{p-eb5b77ab.entry.js.map → p-759d71a9.entry.js.map} +0 -0
  723. /package/dist/nylas-web-elements/{p-de990849.entry.js.map → p-7928b915.entry.js.map} +0 -0
  724. /package/dist/nylas-web-elements/{p-0745cbcc.entry.js.map → p-7a877959.entry.js.map} +0 -0
  725. /package/dist/nylas-web-elements/{p-16db18a3.entry.js.map → p-7d28bcb7.entry.js.map} +0 -0
  726. /package/dist/nylas-web-elements/{p-af340293.entry.js.map → p-81eaa606.entry.js.map} +0 -0
  727. /package/dist/nylas-web-elements/{p-bca85255.entry.js.map → p-828469d5.entry.js.map} +0 -0
  728. /package/dist/nylas-web-elements/{p-c96b6f73.entry.js.map → p-829e73ef.entry.js.map} +0 -0
  729. /package/dist/nylas-web-elements/{p-e734cde9.entry.js.map → p-9676f7ac.entry.js.map} +0 -0
  730. /package/dist/nylas-web-elements/{p-95c4f538.entry.js.map → p-9c0129c6.entry.js.map} +0 -0
  731. /package/dist/nylas-web-elements/{p-f0406089.entry.js.map → p-9cbcc79c.entry.js.map} +0 -0
  732. /package/dist/nylas-web-elements/{p-7930474b.entry.js.map → p-a03ea995.entry.js.map} +0 -0
  733. /package/dist/nylas-web-elements/{p-84c3921f.entry.js.map → p-a6c1f77e.entry.js.map} +0 -0
  734. /package/dist/nylas-web-elements/{p-974fce52.entry.js.map → p-af92dd91.entry.js.map} +0 -0
  735. /package/dist/nylas-web-elements/{p-9dd10333.entry.js.map → p-b180424a.entry.js.map} +0 -0
  736. /package/dist/nylas-web-elements/{p-1741705d.entry.js.map → p-bade8744.entry.js.map} +0 -0
  737. /package/dist/nylas-web-elements/{p-fed4cb19.entry.js.map → p-bd7a8916.entry.js.map} +0 -0
  738. /package/dist/nylas-web-elements/{p-02343d66.entry.js.map → p-be15cad1.entry.js.map} +0 -0
  739. /package/dist/nylas-web-elements/{p-0c276fdb.entry.js.map → p-c107eaf2.entry.js.map} +0 -0
  740. /package/dist/nylas-web-elements/{p-7876f3e5.entry.js.map → p-c273be7d.entry.js.map} +0 -0
  741. /package/dist/nylas-web-elements/{p-a5bb5b9d.entry.js.map → p-c93b620f.entry.js.map} +0 -0
  742. /package/dist/nylas-web-elements/{p-c0f88f23.entry.js.map → p-cd97fc2f.entry.js.map} +0 -0
  743. /package/dist/nylas-web-elements/{p-4a2bcec0.entry.js.map → p-dca1f249.entry.js.map} +0 -0
  744. /package/dist/nylas-web-elements/{p-2491c840.entry.js.map → p-e4353ee3.entry.js.map} +0 -0
  745. /package/dist/nylas-web-elements/{p-1618c8ac.entry.js.map → p-eac0a540.entry.js.map} +0 -0
  746. /package/dist/nylas-web-elements/{p-ed89219a.entry.js.map → p-edb44a77.entry.js.map} +0 -0
  747. /package/dist/nylas-web-elements/{p-d48d8562.entry.js.map → p-f4449902.entry.js.map} +0 -0
  748. /package/dist/nylas-web-elements/{p-a94cbeb7.entry.js.map → p-fdf56450.entry.js.map} +0 -0
  749. /package/dist/nylas-web-elements/{p-e2dd457a.entry.js.map → p-ff27e57b.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-D4gKLnje.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAM,yBAAyB,GAAG,ixTAAixT;;;;;;;;;;;;;;;;MC0BtyT,sBAAsB,GAAAA,kBAAA,CAA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;gBAErC,IAAI,YAAY,EAAE;oBAChB,YAAY,CAAC,KAAK,CAAC;;aAEtB;AACF,SAAA;AACD,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CA4JD,EAAA,sBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.scss?tag=nylas-confirmation-email&encapsulation=shadow","src/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.tsx"],"sourcesContent":["@use '../../../common/styles/variables' as *;\n\n:host {\n display: block;\n @include default-css-variables;\n width: inherit;\n}\n\n.nylas-confirmation-email {\n width: inherit;\n display: flex;\n flex-direction: column;\n margin: 1rem;\n border-radius: var(--nylas-border-radius-2x);\n border: 1px solid var(--nylas-base-200);\n text-align: left;\n\n .header {\n padding: 1rem;\n display: grid;\n grid-template-columns: 1fr auto;\n border-bottom: 1px solid var(--nylas-base-200);\n\n h3 {\n border-radius: var(--nylas-border-radius-2x);\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n }\n\n .confirmation-email-toggle {\n display: flex;\n gap: 24px;\n align-items: center;\n\n .chevron {\n display: flex;\n align-self: center;\n cursor: pointer;\n\n &:hover,\n &:active {\n color: var(--nylas-primary);\n }\n\n &.open {\n transform: rotate(90deg);\n }\n\n &.closed {\n transform: rotate(270deg);\n }\n\n &.disabled {\n cursor: not-allowed;\n color: var(--nylas-base-300);\n\n &:hover {\n color: var(--nylas-base-300);\n }\n }\n }\n }\n }\n\n .nylas-confirmation-email__body {\n display: grid;\n grid-template-columns: 1fr auto;\n background-color: var(--nylas-base-25);\n border-radius: var(--nylas-border-radius-2x);\n\n @media #{$mobile} {\n grid-template-columns: 1fr;\n }\n\n .nylas-confirmation-email__section {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n color: var(--nylas-base-800);\n\n @media #{$mobile} {\n border: none;\n }\n\n .nylas-confirmation-email__row {\n display: grid;\n grid-template-columns: 1fr auto;\n align-items: center;\n gap: 1rem;\n\n &.full-width-col {\n grid-template-columns: 1fr;\n border-top: 1px solid var(--nylas-base-200);\n padding-top: 1.25rem;\n margin: 0.25rem 0;\n }\n\n label {\n display: flex;\n align-items: center;\n\n span.required {\n color: var(--nylas-error, #cc4841);\n }\n\n span.label-icon {\n margin-left: 4px;\n\n tooltip-component {\n display: flex;\n }\n }\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 16px;\n font-weight: 500;\n line-height: 24px;\n color: var(--nylas-base-900);\n }\n\n .company-logo-container {\n display: flex;\n gap: 32px;\n width: 100%;\n\n .input-container {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n\n .company-logo {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 200px;\n height: 100px;\n border: var(--nylas-base-200) solid 1px;\n border-radius: var(--nylas-border-radius-2x);\n overflow: hidden;\n padding: 10px;\n }\n\n .company-logo img {\n max-height: 100%;\n max-width: 100%;\n object-fit: contain;\n object-position: center;\n }\n }\n\n span.selected-value {\n font-weight: 500;\n }\n }\n\n .subsection {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n\n h3 {\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n .input-container {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n\n textarea {\n padding: 12px 16px;\n border-width: 1;\n resize: vertical;\n border-radius: 8px;\n font-family: var(--nylas-font-family);\n font-size: 16px;\n line-height: 24px;\n border: 1px solid var(--nylas-base-200);\n }\n }\n }\n }\n\n .nylas-confirmation-email__preview {\n width: 208px;\n background: var(--nylas-base-25);\n border-bottom-right-radius: var(--nylas-border-radius-2x);\n\n @media #{$mobile} {\n width: inherit;\n border-bottom-left-radius: var(--nylas-border-radius-2x);\n }\n\n h4 {\n font-size: 14px;\n line-height: 24px;\n color: var(--nylas-base-600);\n font-family: var(--nylas-font-family);\n font-weight: 500;\n text-align: center;\n margin: 0.75rem 0;\n }\n\n .preview-container {\n padding: 0 2rem 1rem;\n\n .slot {\n background-color: transparent;\n border-top: 1px solid var(--nylas-base-300);\n\n &.active {\n background-color: var(--nylas-base-100);\n }\n\n &:last-of-type {\n border-bottom: 1px solid var(--nylas-base-300);\n }\n }\n\n .event-slot {\n background-color: var(--nylas-base-600);\n border-top: 1px solid var(--nylas-base-300);\n }\n }\n }\n\n span.error-message {\n color: var(--nylas-error);\n }\n\n span.help-text {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n }\n }\n\n .nylas-confirmation-email__summary {\n padding: 0.75rem 1rem;\n display: grid;\n grid-template-columns: auto 1fr;\n column-gap: 1rem;\n\n p {\n margin: 0;\n display: flex;\n align-items: center;\n column-gap: 4px;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 21px;\n color: var(--nylas-base-600);\n text-align: left;\n\n span.summary-icon {\n display: flex;\n justify-content: center;\n min-width: 20px;\n }\n }\n }\n}\n\ntoggle-switch {\n padding-right: 8px;\n}\n","import { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { debug, sanitize } from '@/utils/utils';\nimport { AttachInternals, Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { Configuration, EmailTemplate, Participant, ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE } from '@/common/constants';\n\n/**\n * The `nylas-confirmation-email` component is a UI component that allows users to set buffer time before and after an event.\n *\n * @part nce__tab-heading - The nylas-confirmation-email main tab heading\n * @part nce - The nylas-confirmation-email container\n * @part nce__header - The header of the event communication section\n * @part nce__body - The body of the event communication section\n * @part nce__confirmation-email-toggle--container - The confirmation email drawer toggle container\n * @part nce__input-image-url - The input image URL container\n * @part nce__summary - The confirmation card summary container\n */\n@Component({\n tag: 'nylas-confirmation-email',\n styleUrl: 'nylas-confirmation-email.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasConfirmationEmail {\n @Element() host!: HTMLNylasConfirmationEmailElement;\n /**\n * @standalone\n * The selected config\n */\n @Prop() selectedConfiguration?: Configuration;\n /**\n * @standalone\n * The confirmation email template data to display\n */\n @Prop() confirmationEmailTemplate: EmailTemplate = {} as EmailTemplate;\n /**\n * @standalone\n * List of participants\n */\n @Prop() participants: Participant[] = [];\n /**\n * @standalone\n * The name of the component\n */\n @Prop() name: string = 'confirmation-email-template';\n /**\n * @standalone\n * The nylas branding\n */\n @Prop() nylasBranding: boolean = true;\n /**\n * Is the confirmation email card open\n */\n @Prop() isOpen: boolean = false;\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n /**\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * The confirmation email template state.\n */\n @State() confirmationEmail!: EmailTemplate;\n\n /**\n * The internal state to store the isOpen state.\n */\n @State() isConfirmationEmailOpen: boolean = this.isOpen;\n\n /**\n * The internal state to store the participants.\n */\n @State() participantsState: Participant[] = this.participants;\n\n /**\n * The error message to display when the image URL is invalid.\n */\n @State() invalidImageErrorMessage: string = i18next.t('nylasConfirmationEmail.error.invalidImageUrl');\n\n /**\n * This event is fired when the email reminders change.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n valueChanged?: (event: CustomEvent<{ value: string; name: string }>) => void;\n }>;\n\n // Lifecycle methods\n connectedCallback() {\n debug('nylas-confirmation-email', 'connectedCallback');\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {\n debug('nylas-confirmation-email', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-confirmation-email', 'componentWillLoad');\n // See comment in the @Watch('name') decorator for more information.\n this.host.setAttribute('name', this.name);\n }\n\n componentDidLoad() {\n debug('nylas-confirmation-email', 'componentDidLoad');\n if (this.selectedConfiguration) {\n this.selectedConfigurationChangedHandler(this.selectedConfiguration);\n } else {\n this.confirmationEmail = { ...this.confirmationEmailTemplate };\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n this.isConfirmationEmailOpen = this.isOpen;\n this.participantsState = this.participants;\n // CUST-5437: also register the default form value on initial load when there is no\n // selectedConfiguration, so the form submits the correct value without user input.\n if (typeof this.internals?.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n }\n }\n }\n\n /**\n * When a name prop is passed, stencil does not automatically set the name attribute on the host element.\n * Since this component is form-associated, the name attribute is required for form submission.\n * This is a workaround to ensure that the name attribute is set on the host element.\n */\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-confirmation-email', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('selectedConfiguration')\n selectedConfigurationChangedHandler(newValue: Configuration) {\n debug('nylas-confirmation-email', 'selectedConfigurationChangedHandler', newValue);\n this.confirmationEmail = { ...(newValue?.scheduler?.email_template || this.confirmationEmailTemplate) };\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n this.isConfirmationEmailOpen = !newValue?.event_booking?.reminders?.length;\n this.participantsState = newValue?.participants || this.participants;\n // Register the loaded value with the form so it is included on submit. The form\n // value was previously only set on user input, so loading/reloading a configuration\n // (initial mount, tab switch, or a parent re-broadcast of selectedConfiguration)\n // left this element's form contribution empty and dropped the saved confirmation\n // email body on save. (CUST-5437)\n if (typeof this.internals?.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n }\n }\n\n @Watch('nylasBranding')\n nylasBrandingChangedHandler(newValue: boolean) {\n debug('nylas-confirmation-email', 'nylasBrandingChangedHandler', newValue);\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && newValue) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!newValue) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n this.invalidImageErrorMessage = i18next.t('nylasConfirmationEmail.error.invalidImageUrl');\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n @Listen('nylasFormInputChanged')\n async nylasFormInputChangeHandler(event: CustomEvent<{ value: string; name: string; type?: string }>) {\n const { name, value } = event.detail;\n const type = event.detail?.type;\n if (name === 'confirmation-email-title') {\n this.confirmationEmail = { ...this.confirmationEmail, booking_confirmed: { ...(this.confirmationEmail?.booking_confirmed || {}), title: value } };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n } else if (name === 'confirmation-email-body' && type === 'multi_line_text') {\n this.handleEmailBodyChange(event);\n }\n }\n\n @Listen('valueChanged')\n valueChangedHandler(event: CustomEvent<{ value: string; name: string }>) {\n debug('nylas-confirmation-email', 'valueChangedHandler', event.detail);\n const { value, name } = event.detail;\n\n if (name === 'confirmation-email-logo') {\n this.confirmationEmail = { ...this.confirmationEmail, logo: value };\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n if (typeof this.internals.setValidity === 'function' && typeof this.internals.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.internals.setValidity({});\n }\n }\n }\n\n @Listen('nylasFormInputImageUrlInvalid')\n async nylasFormInputImageUrlInvalidHandler(event: CustomEvent<{ value: string; name: string }>) {\n const { value, name } = event.detail;\n if (name === 'confirmation-email-logo' && typeof this.internals.setValidity === 'function') {\n this.internals.setValidity({ customError: true }, i18next.t('nylasConfirmationEmail.error.invalidImageUrl') || value);\n }\n }\n\n @Listen('nylasFormSwitchToggled')\n nyalsFormSwitchToggledHandler(event: CustomEvent<{ checked: boolean; name: string; label: boolean }>) {\n debug('nylas-confirmation-email', 'nyalsFormSwitchToggledHandler', event.detail);\n if (event.detail.name === 'confirmation-email-show-branding') {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: event.detail.checked };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n }\n\n updateConfirmationFormValue() {\n debug('nylas-confirmation-email', 'updateConfirmationFormValue');\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n\n toggleConfirmationEmail() {\n this.isConfirmationEmailOpen = !this.isConfirmationEmailOpen;\n }\n\n handleEmailBodyChange(event) {\n const value = sanitize(event.detail.value);\n this.confirmationEmail = { ...this.confirmationEmail, booking_confirmed: { ...(this.confirmationEmail?.booking_confirmed || {}), body: value } };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n\n @RegisterComponent<NylasConfirmationEmail, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-confirmation-email',\n stateToProps: new Map([\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.nylasBranding', 'nylasBranding'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {\n valueChanged: async (\n event: CustomEvent<{ value: string; name: string; valueChanged?: (event: CustomEvent<{ value: string; name: string }>) => void }>,\n _nylasSchedulerConfigConnector: NylasSchedulerConfigConnector,\n ) => {\n const { valueChanged } = event.detail;\n // If a handler is passed, call it.\n if (valueChanged) {\n valueChanged(event);\n }\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const organizer = this.participantsState.find(p => p.is_organizer);\n const organizerName = organizer?.name || organizer?.email;\n\n return (\n <Host>\n <div class=\"nylas-confirmation-email\" part=\"nce\">\n <div class=\"header\" part=\"nce__header\">\n <div>\n <h3>\n {this.confirmationEmail?.booking_confirmed?.title || organizerName\n ? i18next.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })\n : i18next.t('nylasConfirmationEmail.headerTitle')}\n </h3>\n <p>{i18next.t('nylasConfirmationEmail.headerSubTitle')}</p>\n </div>\n {this.isConfirmationEmailOpen ? (\n <div class=\"confirmation-email-toggle\" part=\"nce__confirmation-email-toggle--container\">\n <span class={`chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `} onClick={() => this.toggleConfirmationEmail()}>\n <chevron-icon width=\"24\" height=\"24\" />\n </span>\n </div>\n ) : (\n <button-component\n variant={'basic'}\n clickHandler={event => {\n event.preventDefault();\n this.toggleConfirmationEmail();\n }}\n >\n <edit-icon width=\"16\" height=\"16\"></edit-icon>\n {i18next.t('nylasConfirmationEmail.editButtonText')}\n </button-component>\n )}\n </div>\n\n {this.isConfirmationEmailOpen ? (\n <div class=\"nylas-confirmation-email__body\" part=\"nce__body\">\n <div class=\"nylas-confirmation-email__section\">\n {this.nylasBranding && (\n <div class=\"nylas-confirmation-email__row\">\n <label>\n {i18next.t('nylasConfirmationEmail.nylasBranding.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.nylasBranding.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n <toggle-switch\n exportparts=\"ts_label: nce__toggle-label, ts_input: nce_toggle-input, ts_slider: nce_toggle-slider\"\n name={`confirmation-email-show-branding`}\n checked={this.confirmationEmail?.show_nylas_branding}\n themeConfig={this.themeConfig}\n />\n </div>\n )}\n <div class=\"nylas-confirmation-email__row\">\n <div class=\"subsection\">\n <div class=\"input-container\">\n <label>\n {i18next.t('nylasConfirmationEmail.companyLogoUrl.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.companyLogoUrl.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n\n {this.confirmationEmail && (\n <input-image-url\n name=\"confirmation-email-logo\"\n exportparts=\"iiu__logo-input-textfield: nce__input-image-url\"\n errorMessage={this.invalidImageErrorMessage}\n imageUrl={this.confirmationEmail?.logo ?? ''}\n themeConfig={this.themeConfig}\n />\n )}\n </div>\n </div>\n </div>\n <div class=\"nylas-confirmation-email__row full-width-col\">\n <div class=\"subsection\">\n <h3>{i18next.t('nylasConfirmationEmail.emailMessage.header')}</h3>\n <div class=\"input-container\">\n <label htmlFor=\"title\">\n {i18next.t('nylasConfirmationEmail.emailMessage.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.emailMessage.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n <input-component\n name=\"confirmation-email-title\"\n maxLength={60}\n placeholder={\n organizerName\n ? i18next.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })\n : i18next.t('nylasConfirmationEmail.headerTitle')\n }\n themeConfig={this.themeConfig}\n defaultValue={this.confirmationEmail?.booking_confirmed?.title ?? ''}\n ></input-component>\n </div>\n <div class=\"input-container\">\n {/* <label htmlFor=\"title\">Email body</label> */}\n <textarea-component\n label={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoLabel')}\n name=\"confirmation-email-body\"\n id=\"confirmation-email-body\"\n placeholder={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoPlaceholder')}\n tooltip={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoTooltip')}\n maxLength={500}\n defaultValue={this.confirmationEmail?.booking_confirmed?.body ?? ''}\n themeConfig={this.themeConfig}\n ></textarea-component>\n\n {/* <textarea\n id=\"description\"\n part=\"nrt__textarea\"\n name=\"confirmation-email-body\"\n placeholder='Default body'\n value={this.confirmationEmail?.booking_confirmed?.body ?? ''}\n maxlength=\"500\"\n rows={2}\n onInput={e => this.handleEmailBodyChange(e)}\n ></textarea> */}\n </div>\n </div>\n </div>\n </div>\n </div>\n ) : (\n <div class=\"nylas-confirmation-email__summary\" part=\"nce__summary\">\n <p>\n <span class=\"summary-icon\">\n <person-clipboard-icon></person-clipboard-icon>\n </span>\n {i18next.t('nylasConfirmationEmail.allHosts')}\n </p>\n <p>\n <span class=\"summary-icon\">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CAAkC,EAAE,kBAAkB,CAAC;YACxD,CAAC,+BAA+B,EAAE,eAAe,CAAC;YAClD,CAAC,6BAA6B,EAAE,aAAa,CAAC;SAC/C,CAAC;AACF,QAAA,YAAY,EAAE;AACZ,YAAA,YAAY,EAAE,OACZ,KAAiI,EACjI,8BAA6D,KAC3D;AACF,gBAAA,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,MAAM;gBAErC,IAAI,YAAY,EAAE;oBAChB,YAAY,CAAC,KAAK,CAAC;;aAEtB;AACF,SAAA;AACD,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CA4JD,EAAA,sBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.scss?tag=nylas-confirmation-email&encapsulation=shadow","src/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.tsx"],"sourcesContent":["@use '../../../common/styles/variables' as *;\n\n:host {\n display: block;\n @include default-css-variables;\n width: inherit;\n}\n\n.nylas-confirmation-email {\n width: inherit;\n display: flex;\n flex-direction: column;\n margin: 1rem;\n border-radius: var(--nylas-border-radius-2x);\n border: 1px solid var(--nylas-base-200);\n text-align: left;\n\n .header {\n padding: 1rem;\n display: grid;\n grid-template-columns: 1fr auto;\n border-bottom: 1px solid var(--nylas-base-200);\n\n h3 {\n border-radius: var(--nylas-border-radius-2x);\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n }\n\n .confirmation-email-toggle {\n display: flex;\n gap: 24px;\n align-items: center;\n\n .chevron {\n display: flex;\n align-self: center;\n cursor: pointer;\n\n &:hover,\n &:active {\n color: var(--nylas-primary);\n }\n\n &.open {\n transform: rotate(90deg);\n }\n\n &.closed {\n transform: rotate(270deg);\n }\n\n &.disabled {\n cursor: not-allowed;\n color: var(--nylas-base-300);\n\n &:hover {\n color: var(--nylas-base-300);\n }\n }\n }\n }\n }\n\n .nylas-confirmation-email__body {\n display: grid;\n grid-template-columns: 1fr auto;\n background-color: var(--nylas-base-25);\n border-radius: var(--nylas-border-radius-2x);\n\n @media #{$mobile} {\n grid-template-columns: 1fr;\n }\n\n .nylas-confirmation-email__section {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n color: var(--nylas-base-800);\n\n @media #{$mobile} {\n border: none;\n }\n\n .nylas-confirmation-email__row {\n display: grid;\n grid-template-columns: 1fr auto;\n align-items: center;\n gap: 1rem;\n\n &.full-width-col {\n grid-template-columns: 1fr;\n border-top: 1px solid var(--nylas-base-200);\n padding-top: 1.25rem;\n margin: 0.25rem 0;\n }\n\n label {\n display: flex;\n align-items: center;\n\n span.required {\n color: var(--nylas-error, #cc4841);\n }\n\n span.label-icon {\n margin-left: 4px;\n\n tooltip-component {\n display: flex;\n }\n }\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 16px;\n font-weight: 500;\n line-height: 24px;\n color: var(--nylas-base-900);\n }\n\n .company-logo-container {\n display: flex;\n gap: 32px;\n width: 100%;\n\n .input-container {\n display: flex;\n flex-direction: column;\n flex: 1;\n }\n\n .company-logo {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 200px;\n height: 100px;\n border: var(--nylas-base-200) solid 1px;\n border-radius: var(--nylas-border-radius-2x);\n overflow: hidden;\n padding: 10px;\n }\n\n .company-logo img {\n max-height: 100%;\n max-width: 100%;\n object-fit: contain;\n object-position: center;\n }\n }\n\n span.selected-value {\n font-weight: 500;\n }\n }\n\n .subsection {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n\n h3 {\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n .input-container {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n\n textarea {\n padding: 12px 16px;\n border-width: 1;\n resize: vertical;\n border-radius: 8px;\n font-family: var(--nylas-font-family);\n font-size: 16px;\n line-height: 24px;\n border: 1px solid var(--nylas-base-200);\n }\n }\n }\n }\n\n .nylas-confirmation-email__preview {\n width: 208px;\n background: var(--nylas-base-25);\n border-bottom-right-radius: var(--nylas-border-radius-2x);\n\n @media #{$mobile} {\n width: inherit;\n border-bottom-left-radius: var(--nylas-border-radius-2x);\n }\n\n h4 {\n font-size: 14px;\n line-height: 24px;\n color: var(--nylas-base-600);\n font-family: var(--nylas-font-family);\n font-weight: 500;\n text-align: center;\n margin: 0.75rem 0;\n }\n\n .preview-container {\n padding: 0 2rem 1rem;\n\n .slot {\n background-color: transparent;\n border-top: 1px solid var(--nylas-base-300);\n\n &.active {\n background-color: var(--nylas-base-100);\n }\n\n &:last-of-type {\n border-bottom: 1px solid var(--nylas-base-300);\n }\n }\n\n .event-slot {\n background-color: var(--nylas-base-600);\n border-top: 1px solid var(--nylas-base-300);\n }\n }\n }\n\n span.error-message {\n color: var(--nylas-error);\n }\n\n span.help-text {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n }\n }\n\n .nylas-confirmation-email__summary {\n padding: 0.75rem 1rem;\n display: grid;\n grid-template-columns: auto 1fr;\n column-gap: 1rem;\n\n p {\n margin: 0;\n display: flex;\n align-items: center;\n column-gap: 4px;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 21px;\n color: var(--nylas-base-600);\n text-align: left;\n\n span.summary-icon {\n display: flex;\n justify-content: center;\n min-width: 20px;\n }\n }\n }\n}\n\ntoggle-switch {\n padding-right: 8px;\n}\n","import { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { debug, sanitize } from '@/utils/utils';\nimport { AttachInternals, Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { Configuration, EmailTemplate, Participant, ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE } from '@/common/constants';\n\n/**\n * The `nylas-confirmation-email` component is a UI component that allows users to set buffer time before and after an event.\n *\n * @part nce__tab-heading - The nylas-confirmation-email main tab heading\n * @part nce - The nylas-confirmation-email container\n * @part nce__header - The header of the event communication section\n * @part nce__body - The body of the event communication section\n * @part nce__confirmation-email-toggle--container - The confirmation email drawer toggle container\n * @part nce__input-image-url - The input image URL container\n * @part nce__summary - The confirmation card summary container\n */\n@Component({\n tag: 'nylas-confirmation-email',\n styleUrl: 'nylas-confirmation-email.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasConfirmationEmail {\n @Element() host!: HTMLNylasConfirmationEmailElement;\n /**\n * @standalone\n * The selected config\n */\n @Prop() selectedConfiguration?: Configuration;\n /**\n * @standalone\n * The confirmation email template data to display\n */\n @Prop() confirmationEmailTemplate: EmailTemplate = {} as EmailTemplate;\n /**\n * @standalone\n * List of participants\n */\n @Prop() participants: Participant[] = [];\n /**\n * @standalone\n * The name of the component\n */\n @Prop() name: string = 'confirmation-email-template';\n /**\n * @standalone\n * The nylas branding\n */\n @Prop() nylasBranding: boolean = true;\n /**\n * Is the confirmation email card open\n */\n @Prop() isOpen: boolean = false;\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n /**\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * The confirmation email template state.\n */\n @State() confirmationEmail!: EmailTemplate;\n\n /**\n * The internal state to store the isOpen state.\n */\n @State() isConfirmationEmailOpen: boolean = this.isOpen;\n\n /**\n * The internal state to store the participants.\n */\n @State() participantsState: Participant[] = this.participants;\n\n /**\n * The error message to display when the image URL is invalid.\n */\n @State() invalidImageErrorMessage: string = i18next.t('nylasConfirmationEmail.error.invalidImageUrl');\n\n /**\n * This event is fired when the email reminders change.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n valueChanged?: (event: CustomEvent<{ value: string; name: string }>) => void;\n }>;\n\n // Lifecycle methods\n connectedCallback() {\n debug('nylas-confirmation-email', 'connectedCallback');\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {\n debug('nylas-confirmation-email', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-confirmation-email', 'componentWillLoad');\n // See comment in the @Watch('name') decorator for more information.\n this.host.setAttribute('name', this.name);\n }\n\n componentDidLoad() {\n debug('nylas-confirmation-email', 'componentDidLoad');\n if (this.selectedConfiguration) {\n this.selectedConfigurationChangedHandler(this.selectedConfiguration);\n } else {\n this.confirmationEmail = { ...this.confirmationEmailTemplate };\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n this.isConfirmationEmailOpen = this.isOpen;\n this.participantsState = this.participants;\n // CUST-5437: also register the default form value on initial load when there is no\n // selectedConfiguration, so the form submits the correct value without user input.\n if (typeof this.internals?.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n }\n }\n }\n\n /**\n * When a name prop is passed, stencil does not automatically set the name attribute on the host element.\n * Since this component is form-associated, the name attribute is required for form submission.\n * This is a workaround to ensure that the name attribute is set on the host element.\n */\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-confirmation-email', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('selectedConfiguration')\n selectedConfigurationChangedHandler(newValue: Configuration) {\n debug('nylas-confirmation-email', 'selectedConfigurationChangedHandler', newValue);\n this.confirmationEmail = { ...(newValue?.scheduler?.email_template || this.confirmationEmailTemplate) };\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!this.nylasBranding) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n this.isConfirmationEmailOpen = !newValue?.event_booking?.reminders?.length;\n this.participantsState = newValue?.participants || this.participants;\n // Register the loaded value with the form so it is included on submit. The form\n // value was previously only set on user input, so loading/reloading a configuration\n // (initial mount, tab switch, or a parent re-broadcast of selectedConfiguration)\n // left this element's form contribution empty and dropped the saved confirmation\n // email body on save. (CUST-5437)\n if (typeof this.internals?.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n }\n }\n\n @Watch('nylasBranding')\n nylasBrandingChangedHandler(newValue: boolean) {\n debug('nylas-confirmation-email', 'nylasBrandingChangedHandler', newValue);\n if (typeof this.confirmationEmail?.show_nylas_branding === 'undefined' && newValue) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: true };\n } else if (!newValue) {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: false };\n }\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n this.invalidImageErrorMessage = i18next.t('nylasConfirmationEmail.error.invalidImageUrl');\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n @Listen('nylasFormInputChanged')\n async nylasFormInputChangeHandler(event: CustomEvent<{ value: string; name: string; type?: string }>) {\n const { name, value } = event.detail;\n const type = event.detail?.type;\n if (name === 'confirmation-email-title') {\n this.confirmationEmail = { ...this.confirmationEmail, booking_confirmed: { ...(this.confirmationEmail?.booking_confirmed || {}), title: value } };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n } else if (name === 'confirmation-email-body' && type === 'multi_line_text') {\n this.handleEmailBodyChange(event);\n }\n }\n\n @Listen('valueChanged')\n valueChangedHandler(event: CustomEvent<{ value: string; name: string }>) {\n debug('nylas-confirmation-email', 'valueChangedHandler', event.detail);\n const { value, name } = event.detail;\n\n if (name === 'confirmation-email-logo') {\n this.confirmationEmail = { ...this.confirmationEmail, logo: value };\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n if (typeof this.internals.setValidity === 'function' && typeof this.internals.setFormValue === 'function') {\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.internals.setValidity({});\n }\n }\n }\n\n @Listen('nylasFormInputImageUrlInvalid')\n async nylasFormInputImageUrlInvalidHandler(event: CustomEvent<{ value: string; name: string }>) {\n const { value, name } = event.detail;\n if (name === 'confirmation-email-logo' && typeof this.internals.setValidity === 'function') {\n this.internals.setValidity({ customError: true }, i18next.t('nylasConfirmationEmail.error.invalidImageUrl') || value);\n }\n }\n\n @Listen('nylasFormSwitchToggled')\n nyalsFormSwitchToggledHandler(event: CustomEvent<{ checked: boolean; name: string; label: boolean }>) {\n debug('nylas-confirmation-email', 'nyalsFormSwitchToggledHandler', event.detail);\n if (event.detail.name === 'confirmation-email-show-branding') {\n this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: event.detail.checked };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n }\n\n updateConfirmationFormValue() {\n debug('nylas-confirmation-email', 'updateConfirmationFormValue');\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n\n toggleConfirmationEmail() {\n this.isConfirmationEmailOpen = !this.isConfirmationEmailOpen;\n }\n\n handleEmailBodyChange(event) {\n const value = sanitize(event.detail.value);\n this.confirmationEmail = { ...this.confirmationEmail, booking_confirmed: { ...(this.confirmationEmail?.booking_confirmed || {}), body: value } };\n this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);\n this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });\n }\n\n @RegisterComponent<NylasConfirmationEmail, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-confirmation-email',\n stateToProps: new Map([\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.nylasBranding', 'nylasBranding'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {\n valueChanged: async (\n event: CustomEvent<{ value: string; name: string; valueChanged?: (event: CustomEvent<{ value: string; name: string }>) => void }>,\n _nylasSchedulerConfigConnector: NylasSchedulerConfigConnector,\n ) => {\n const { valueChanged } = event.detail;\n // If a handler is passed, call it.\n if (valueChanged) {\n valueChanged(event);\n }\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const organizer = this.participantsState.find(p => p.is_organizer);\n const organizerName = organizer?.name || organizer?.email;\n\n return (\n <Host>\n <div class=\"nylas-confirmation-email\" part=\"nce\">\n <div class=\"header\" part=\"nce__header\">\n <div>\n <h3>\n {this.confirmationEmail?.booking_confirmed?.title || organizerName\n ? i18next.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })\n : i18next.t('nylasConfirmationEmail.headerTitle')}\n </h3>\n <p>{i18next.t('nylasConfirmationEmail.headerSubTitle')}</p>\n </div>\n {this.isConfirmationEmailOpen ? (\n <div class=\"confirmation-email-toggle\" part=\"nce__confirmation-email-toggle--container\">\n <span class={`chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `} onClick={() => this.toggleConfirmationEmail()}>\n <chevron-icon width=\"24\" height=\"24\" />\n </span>\n </div>\n ) : (\n <button-component\n variant={'basic'}\n clickHandler={event => {\n event.preventDefault();\n this.toggleConfirmationEmail();\n }}\n >\n <edit-icon width=\"16\" height=\"16\"></edit-icon>\n {i18next.t('nylasConfirmationEmail.editButtonText')}\n </button-component>\n )}\n </div>\n\n {this.isConfirmationEmailOpen ? (\n <div class=\"nylas-confirmation-email__body\" part=\"nce__body\">\n <div class=\"nylas-confirmation-email__section\">\n {this.nylasBranding && (\n <div class=\"nylas-confirmation-email__row\">\n <label>\n {i18next.t('nylasConfirmationEmail.nylasBranding.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.nylasBranding.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n <toggle-switch\n exportparts=\"ts_label: nce__toggle-label, ts_input: nce_toggle-input, ts_slider: nce_toggle-slider\"\n name={`confirmation-email-show-branding`}\n checked={this.confirmationEmail?.show_nylas_branding}\n themeConfig={this.themeConfig}\n />\n </div>\n )}\n <div class=\"nylas-confirmation-email__row\">\n <div class=\"subsection\">\n <div class=\"input-container\">\n <label>\n {i18next.t('nylasConfirmationEmail.companyLogoUrl.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.companyLogoUrl.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n\n {this.confirmationEmail && (\n <input-image-url\n name=\"confirmation-email-logo\"\n exportparts=\"iiu__logo-input-textfield: nce__input-image-url\"\n errorMessage={this.invalidImageErrorMessage}\n imageUrl={this.confirmationEmail?.logo ?? ''}\n themeConfig={this.themeConfig}\n />\n )}\n </div>\n </div>\n </div>\n <div class=\"nylas-confirmation-email__row full-width-col\">\n <div class=\"subsection\">\n <h3>{i18next.t('nylasConfirmationEmail.emailMessage.header')}</h3>\n <div class=\"input-container\">\n <label htmlFor=\"title\">\n {i18next.t('nylasConfirmationEmail.emailMessage.label')}\n <span class=\"label-icon\">\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConfirmationEmail.emailMessage.tooltip.desc')}</span>\n </tooltip-component>\n </span>\n </label>\n <input-component\n name=\"confirmation-email-title\"\n maxLength={60}\n placeholder={\n organizerName\n ? i18next.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })\n : i18next.t('nylasConfirmationEmail.headerTitle')\n }\n themeConfig={this.themeConfig}\n defaultValue={this.confirmationEmail?.booking_confirmed?.title ?? ''}\n ></input-component>\n </div>\n <div class=\"input-container\">\n {/* <label htmlFor=\"title\">Email body</label> */}\n <textarea-component\n label={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoLabel')}\n name=\"confirmation-email-body\"\n id=\"confirmation-email-body\"\n placeholder={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoPlaceholder')}\n tooltip={i18next.t('nylasConfirmationEmail.emailMessage.additionalInfoTooltip')}\n maxLength={500}\n defaultValue={this.confirmationEmail?.booking_confirmed?.body ?? ''}\n themeConfig={this.themeConfig}\n ></textarea-component>\n\n {/* <textarea\n id=\"description\"\n part=\"nrt__textarea\"\n name=\"confirmation-email-body\"\n placeholder='Default body'\n value={this.confirmationEmail?.booking_confirmed?.body ?? ''}\n maxlength=\"500\"\n rows={2}\n onInput={e => this.handleEmailBodyChange(e)}\n ></textarea> */}\n </div>\n </div>\n </div>\n </div>\n </div>\n ) : (\n <div class=\"nylas-confirmation-email__summary\" part=\"nce__summary\">\n <p>\n <span class=\"summary-icon\">\n <person-clipboard-icon></person-clipboard-icon>\n </span>\n {i18next.t('nylasConfirmationEmail.allHosts')}\n </p>\n <p>\n <span class=\"summary-icon\">\n <clock-icon></clock-icon>\n </span>\n {i18next.t('nylasConfirmationEmail.immediatelyUponBooking')}\n </p>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,19 +2,19 @@ import { p as proxyCustomElement, H, e as createEvent, h, i as Host } from './p-
2
2
  import { R as RegisterComponent } from './p-CUlV7ZGv.js';
3
3
  import { a as debug, b as convertTo12HourFormat, t as timeToMinutes, f as convertTo24HourFormat, T as TIMEZONE_MAP } from './p-CMNiSC4o.js';
4
4
  import { i as instance } from './p-BjxQTsOy.js';
5
- import { d as defineCustomElement$d } from './p-Dl0Yur5r.js';
6
- import { d as defineCustomElement$c } from './p-BVH0Klhu.js';
7
- import { d as defineCustomElement$b } from './p-BAKh5tMf.js';
8
- import { d as defineCustomElement$a } from './p-ao6VxuAL.js';
9
- import { d as defineCustomElement$9 } from './p-CzVZs3uZ.js';
10
- import { d as defineCustomElement$8 } from './p-DS6Ijr4M.js';
11
- import { d as defineCustomElement$7 } from './p-d3kelm3z.js';
12
- import { d as defineCustomElement$6 } from './p-C7ZpwRD0.js';
13
- import { d as defineCustomElement$5 } from './p-Bsd63RFi.js';
14
- import { d as defineCustomElement$4 } from './p-BYzkNeMW.js';
15
- import { d as defineCustomElement$3 } from './p-DBHtQK2b.js';
16
- import { d as defineCustomElement$2 } from './p-wphqTozF.js';
17
- import { d as defineCustomElement$1 } from './p-DxDoo-4C.js';
5
+ import { d as defineCustomElement$d } from './p-CGkcVt8h.js';
6
+ import { d as defineCustomElement$c } from './p-D0NY8UNC.js';
7
+ import { d as defineCustomElement$b } from './p-BcHelLHv.js';
8
+ import { d as defineCustomElement$a } from './p-DY3hmp0T.js';
9
+ import { d as defineCustomElement$9 } from './p-DK6-bZYK.js';
10
+ import { d as defineCustomElement$8 } from './p-n1qnMrWE.js';
11
+ import { d as defineCustomElement$7 } from './p-DsvNvqOg.js';
12
+ import { d as defineCustomElement$6 } from './p-DprQSn90.js';
13
+ import { d as defineCustomElement$5 } from './p-DXQVWZkn.js';
14
+ import { d as defineCustomElement$4 } from './p-CBjtU882.js';
15
+ import { d as defineCustomElement$3 } from './p-BEvwJe37.js';
16
+ import { d as defineCustomElement$2 } from './p-DtEl3UXW.js';
17
+ import { d as defineCustomElement$1 } from './p-C_a8Brku.js';
18
18
 
19
19
  const nylasSpecificTimeAvailabilityPickerCss = ":host{display:block;width:100%}.nylas-specific-time-availability-picker{display:flex;margin:1rem;flex-direction:column;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-specific-time-availability-picker .content{padding:1.5rem;border-radius:var(--nylas-border-radius-2x);color:var(--nylas-base-900);font-size:16px;font-family:var(--nylas-font-family);background:var(--nylas-base-25);display:flex;flex-direction:column;gap:1.5rem}@media (max-width: 768px){.nylas-specific-time-availability-picker .content{padding:1rem;gap:1.25rem}}.nylas-specific-time-availability-picker .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-specific-time-availability-picker .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-specific-time-availability-picker .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-specific-time-availability-picker .timezone-selector{display:flex;flex-direction:column;gap:0.75rem;padding:1.25rem;background:var(--nylas-base-0);border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius)}@media (max-width: 768px){.nylas-specific-time-availability-picker .timezone-selector{padding:1rem}}.nylas-specific-time-availability-picker .timezone-selector .sub-header{margin:0;font-size:0.9375rem;font-weight:600;line-height:1.5;color:var(--nylas-base-900)}.nylas-specific-time-availability-picker .timezone-selector .timezone-description{margin:0;font-size:0.8125rem;line-height:1.5;color:var(--nylas-base-600)}.nylas-specific-time-availability-picker .timezone-selector select-dropdown{margin-top:0.25rem}.nylas-specific-time-availability-picker .timezone-selector .timezone-error{margin-top:0.5rem}.nylas-specific-time-availability-picker .specific-times-section{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;background:var(--nylas-base-0);border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius)}.nylas-specific-time-availability-picker .specific-times-section .section-header{margin:0 0 0.5rem 0;font-size:0.9375rem;font-weight:600;line-height:1.5;color:var(--nylas-base-900)}.nylas-specific-time-availability-picker .specific-times-section .section-description{margin:0 0 1rem 0;font-size:0.8125rem;line-height:1.5;color:var(--nylas-base-600)}.nylas-specific-time-availability-picker .specific-times{display:flex;flex-direction:column;gap:0.75rem}.nylas-specific-time-availability-picker .empty-state{display:flex;flex-direction:column;align-items:center;padding:2rem 1rem;text-align:center}.nylas-specific-time-availability-picker .empty-state .empty-icon{margin-bottom:1.5rem;opacity:0.4;color:var(--nylas-base-400)}.nylas-specific-time-availability-picker .empty-state .empty-title{margin:0 0 0.5rem 0;font-size:1.125rem;font-weight:600;color:var(--nylas-base-700);line-height:1.5}.nylas-specific-time-availability-picker .empty-state .empty-subtitle{margin:0;font-size:0.875rem;color:var(--nylas-base-500);line-height:1.5;max-width:300px}.nylas-specific-time-availability-picker .specific-time-entry{display:flex;flex-direction:column;gap:0;padding:1rem;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);background:var(--nylas-base-0);transition:border-color 0.2s ease, box-shadow 0.2s ease}.nylas-specific-time-availability-picker .specific-time-entry:hover{border-color:var(--nylas-base-300)}.nylas-specific-time-availability-picker .specific-time-entry:focus-within{border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}.nylas-specific-time-availability-picker .specific-time-entry .entry-content{display:grid;grid-template:1fr auto/auto 1fr;gap:0.75rem;align-items:center}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .entry-content{grid-template:unset;grid-template-areas:\"date\" \"time_or_unavailable\" \"actions\";grid-template-columns:1fr auto auto;gap:0.75rem}}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container{flex:0 0 auto}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .date-input-container{grid-area:date}}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container .date-input{width:100%}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container nylas-date-component::part(ic__date){border:1px solid var(--nylas-base-200);height:48px;display:flex;align-items:center;border-radius:var(--nylas-border-radius);transition:border-color 0.2s ease, box-shadow 0.2s ease}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container nylas-date-component::part(ic__date):focus-within{border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}.nylas-specific-time-availability-picker .specific-time-entry .time-pickers{display:flex;align-items:center;gap:0.75rem;flex:1;min-width:0}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .time-pickers{grid-area:time_or_unavailable}}.nylas-specific-time-availability-picker .specific-time-entry .time-pickers nylas-time-window-picker{flex:1;min-width:0}.nylas-specific-time-availability-picker .specific-time-entry .time-pickers .time-separator{font-size:0.875rem;color:var(--nylas-base-600);font-weight:500;flex-shrink:0;line-height:1;user-select:none}.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text{flex:1;display:flex;align-items:center;padding:0 1rem;border-radius:var(--nylas-border-radius);background:var(--nylas-base-50);border:1px solid var(--nylas-base-200);min-height:48px}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text{grid-area:time_or_unavailable}}.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text .unavailable-label{font-size:0.875rem;color:var(--nylas-base-600);font-weight:500}.nylas-specific-time-availability-picker .specific-time-entry .action-buttons{display:flex;gap:0.5rem;align-items:center;grid-column:2;justify-content:end}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .action-buttons{grid-area:actions;justify-self:end}}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);background:var(--nylas-base-0);color:var(--nylas-base-500);cursor:pointer;transition:all 0.2s ease;flex-shrink:0}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button:hover{background:var(--nylas-base-50);border-color:var(--nylas-primary);color:var(--nylas-primary)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button:focus{outline:none;border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button:active{background:var(--nylas-base-100)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button.unavailable{background:var(--nylas-error-50);border-color:var(--nylas-error-200);color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button.unavailable:hover{background:var(--nylas-error-100);border-color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);background:var(--nylas-base-0);color:var(--nylas-base-400);cursor:pointer;transition:all 0.2s ease;flex-shrink:0}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:hover{background:var(--nylas-error-50);border-color:var(--nylas-error-200);color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:focus{outline:none;border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:active{background:var(--nylas-error-100)}.nylas-specific-time-availability-picker .specific-time-entry .error-message{width:100%;padding:0.5rem 0.75rem;background:var(--nylas-error-50);color:var(--nylas-error);font-size:0.8125rem;line-height:1.5;border-radius:var(--nylas-border-radius);border:1px solid var(--nylas-error-200);margin-top:0.5rem;display:flex;align-items:center;gap:0.5rem}.nylas-specific-time-availability-picker .add-button-container{display:flex;justify-content:flex-start;margin-top:0.5rem}.nylas-specific-time-availability-picker .add-button-container button-component{width:100%}@media (max-width: 768px){.nylas-specific-time-availability-picker .add-button-container button-component{font-size:0.875rem}}::part(nstap__add-button){border:1px dashed var(--nylas-base-200);background:var(--nylas-base-0);color:var(--nylas-base-700)}::part(nstap__add-button):hover{border-color:var(--nylas-primary);background:var(--nylas-base-50);color:var(--nylas-primary)}::part(nstap__time-picker-container){flex:1;min-width:0}::part(nstap__time-picker-input){width:100%;font-size:0.875rem;min-height:48px;display:flex;align-items:center;border-radius:var(--nylas-border-radius)}::part(nstap__date-input){width:100%}::part(nstap__date-field){width:100%;font-size:0.875rem;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:0.5rem 0.75rem}::part(nstap__date-field):focus{border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}::part(nstap__date-wrapper){margin:0}::part(nstap__date-label){margin:0;padding:0}::part(nstap__date-label) p{display:none}";
20
20
 
@@ -330,11 +330,11 @@ const NylasSpecificTimeAvailabilityPicker = proxyCustomElement(class NylasSpecif
330
330
  value: key,
331
331
  }));
332
332
  const selectedTimezoneOption = timezoneOptions.find(i => i.value === this.timezone);
333
- return (h(Host, { key: '4d134c2b81e17dc6238e06bb89f3d1bfa2b757bb' }, h("div", { key: 'f58418df34f1c1070ac356be9e5267df60ba30b3', class: "nylas-specific-time-availability-picker", part: "nstap" }, !this.hideHeader && (h("div", { key: '52c61a7f8efc2ee41b96c7cd30db184dac379371', class: "header", part: "nstap__header" }, h("h3", { key: 'daaa78a82642cd1389dce9e57a7f4bc53be45976' }, instance.t('nylasSpecificTimeAvailabilityPicker.headerTitle')), h("p", { key: '751c1e9596150aa5f0a38778f6236dc0defba68d' }, instance.t('nylasSpecificTimeAvailabilityPicker.headerDescription'), h("tooltip-component", { key: '813fe27ad1696a3208c02807aa643c45e4736669' }, h("info-icon", { key: '36c4f8b642df2d8ab6f271696848edf82882f21a', slot: "tooltip-icon" }), h("span", { key: '7b14bb5499644014a51346ec4f1ecd83a6495548', slot: "tooltip-content" }, instance.t('nylasSpecificTimeAvailabilityPicker.tooltip.desc')))))), h("div", { key: '9c351dd740cafdba11b2d7c275432f007b5360bf', class: "content", part: "nstap__content" }, h("section", { key: '9d0eb572d83273cf6e468d5f3104360e348dd6e7', class: "timezone-selector", part: "nstap__timezone-selector", "aria-labelledby": "timezone-header" }, h("h4", { key: '299b34a534d35dfee2f2cc762d8a475b464adcaa', id: "timezone-header", class: "sub-header" }, instance.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')), h("p", { key: '85e8d70c2f394e183043766c323962eeaa265011', class: "timezone-description" }, instance.t('nylasSpecificTimeAvailabilityPicker.timezoneDescription')), selectedTimezoneOption?.label && (h("select-dropdown", { key: '18a900c77b84a5a562156bc95b294986eae28a65', name: "specific-time-timezone", searchPlaceholder: instance.t('search'), exportparts: "sd_dropdown: nstap__timezone-container, sd_dropdown-button: nstap__timezone-button, sd_dropdown-content: nstap__timezone-dropdown-content", options: timezoneOptions, defaultSelectedOption: selectedTimezoneOption, themeConfig: this.themeConfig, "aria-label": instance.t('nylasSpecificTimeAvailabilityPicker.selectTimezone') }, h("span", { key: '718b4f834b19633e519c5a5cf10a27c0c1d0d3e0', slot: "select-icon", "aria-hidden": "true" }, h("globe-icon", { key: 'a1d2ec8303c79815c08faeb08800d45e24c1b833', width: "20", height: "20" })))), this.validationErrors['timezone'] && (h("div", { key: 'e19aed18519b769fd26013a9f991a389c01e1a7c', class: "error-message timezone-error", part: "nstap__error-message", role: "alert", "aria-live": "polite" }, this.validationErrors['timezone']))), h("section", { key: '234cf3184d76a414bcfa2c2e59d51172fe89d03c', class: "specific-times-section", part: "nstap__specific-times-section", "aria-labelledby": "specific-times-header" }, h("h4", { key: 'd5e8db5b614d13e8a40e89dd2e70b49826ab638e', id: "specific-times-header", class: "section-header" }, instance.t('nylasSpecificTimeAvailabilityPicker.specificTimesHeader')), h("p", { key: '523927778ec5002da4ddba94814446722f3f801c', class: "section-description" }, instance.t('nylasSpecificTimeAvailabilityPicker.specificTimesDescription')), h("div", { key: 'e2855d2f066bbee3b1e1884ddc0b3948673199c2', class: "specific-times", part: "nstap__specific-times", role: "list" }, this.specificDateEntries.length === 0 ? (h("div", { class: "empty-state", part: "nstap__empty-state" }, h("div", { class: "empty-icon", part: "nstap__empty-icon" }, h("calendar-icon", { width: "32", height: "32" })), h("h3", { class: "empty-title", part: "nstap__empty-title" }, instance.t('nylasSpecificTimeAvailabilityPicker.emptyState.title')), h("p", { class: "empty-subtitle", part: "nstap__empty-subtitle" }, instance.t('nylasSpecificTimeAvailabilityPicker.emptyState.subtitle')))) : (this.specificDateEntries.map((entry, index) => (h("article", { class: "specific-time-entry", part: "nstap__specific-time-entry", key: entry.id, "data-entry-id": entry.id, role: "listitem", "aria-label": `Specific time availability entry ${index + 1}` }, h("div", { class: "entry-content", part: "nstap__entry-content" }, h("div", { class: "date-input-container", part: "nstap__date-input-container" }, h("nylas-date-component", { name: `date-${entry.id}`, defaultValue: entry.date, placeholder: "yyyy-mm-dd", part: "nstap__date-input", class: "date-input", themeConfig: this.themeConfig, exportparts: "ic__date: nstap__date-field, ic__input_wrapper: nstap__date-wrapper, ic__label: nstap__date-label", "aria-label": `Date for entry ${index + 1}` })), entry.isUnavailable ? (h("div", { class: "unavailable-text", part: "nstap__unavailable-text", role: "status" }, h("span", { class: "unavailable-label" }, instance.t('nylasSpecificTimeAvailabilityPicker.entireDayUnavailable')))) : (h("div", { class: "time-pickers", part: "nstap__time-pickers", role: "group", "aria-label": "Time range" }, h("nylas-time-window-picker", { id: `${entry.id}_start`, time: entry.startTime, name: `${entry.id}_start`, key: `${entry.id}_start`, language: this.selectedLanguage, hasError: !!this.validationErrors[entry.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times", "aria-label": `Start time for entry ${index + 1}` }), h("span", { class: "time-separator", "aria-hidden": "true" }, "-"), h("nylas-time-window-picker", { id: `${entry.id}_end`, time: entry.endTime, name: `${entry.id}_end`, key: `${entry.id}_end`, minimumStartTime: entry.startTime, language: this.selectedLanguage, hasError: !!this.validationErrors[entry.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times", "aria-label": `End time for entry ${index + 1}` }))), h("div", { class: "action-buttons", part: "nstap__action-buttons" }, h("button", { type: "button", class: { 'toggle-button': true, 'unavailable': entry.isUnavailable }, part: "nstap__toggle-button", onClick: () => this.toggleAvailability(entry.id), "aria-label": entry.isUnavailable
333
+ return (h(Host, { key: 'f95b7af7492e891f205aa283882eab4da5fd74e0' }, h("div", { key: '04f7723ef9eea3fb5a53e156c9f6360d971bcadb', class: "nylas-specific-time-availability-picker", part: "nstap" }, !this.hideHeader && (h("div", { key: 'b2d40b3a79f79cecf34b119e5e35b7462aae6815', class: "header", part: "nstap__header" }, h("h3", { key: '71906d11d00c7ea3395cce4c73c3884a78a076e7' }, instance.t('nylasSpecificTimeAvailabilityPicker.headerTitle')), h("p", { key: '080965d2386277b30b18cc59aeb46f043b023f9c' }, instance.t('nylasSpecificTimeAvailabilityPicker.headerDescription'), h("tooltip-component", { key: 'd4f14d1204ad6acd1f9b3f67478dafb6b08fb116' }, h("info-icon", { key: '3307f0504fa1c9a741f1bf28fcd9709ae3114032', slot: "tooltip-icon" }), h("span", { key: '2e1c66dde8d082933cc7512cac7564f0330fab03', slot: "tooltip-content" }, instance.t('nylasSpecificTimeAvailabilityPicker.tooltip.desc')))))), h("div", { key: '352682281eb180ac3d0cad912abef18f0184b7b6', class: "content", part: "nstap__content" }, h("section", { key: 'f01af41b99e76944ac0705f81ebda592a372cba0', class: "timezone-selector", part: "nstap__timezone-selector", "aria-labelledby": "timezone-header" }, h("h4", { key: '92fa23c8aab6c5b815ba8f994ccab7e5c3e322bb', id: "timezone-header", class: "sub-header" }, instance.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')), h("p", { key: '95149bd507815c8ee4df694bcdbbb1033db1de07', class: "timezone-description" }, instance.t('nylasSpecificTimeAvailabilityPicker.timezoneDescription')), selectedTimezoneOption?.label && (h("select-dropdown", { key: 'e5cf569d4b84a2c89aa5a6216c2bc31ad49736ac', name: "specific-time-timezone", searchPlaceholder: instance.t('search'), exportparts: "sd_dropdown: nstap__timezone-container, sd_dropdown-button: nstap__timezone-button, sd_dropdown-content: nstap__timezone-dropdown-content", options: timezoneOptions, defaultSelectedOption: selectedTimezoneOption, themeConfig: this.themeConfig, "aria-label": instance.t('nylasSpecificTimeAvailabilityPicker.selectTimezone') }, h("span", { key: 'a5148246825d53ff71d19449b54115636eedf38d', slot: "select-icon", "aria-hidden": "true" }, h("globe-icon", { key: 'c00c7223457e6dcbc15621b78257d7cb5dd3e626', width: "20", height: "20" })))), this.validationErrors['timezone'] && (h("div", { key: 'fd942be5ba1d3ac224a369e5aa0c35f102fc14ea', class: "error-message timezone-error", part: "nstap__error-message", role: "alert", "aria-live": "polite" }, this.validationErrors['timezone']))), h("section", { key: 'b842efade7e0c9a3ba42af6eab643f054599a81a', class: "specific-times-section", part: "nstap__specific-times-section", "aria-labelledby": "specific-times-header" }, h("h4", { key: 'f198355421c1eb832b9454e7cbc9239a8a285ec5', id: "specific-times-header", class: "section-header" }, instance.t('nylasSpecificTimeAvailabilityPicker.specificTimesHeader')), h("p", { key: '0102a242a32dae12f0492b287441f9d643081594', class: "section-description" }, instance.t('nylasSpecificTimeAvailabilityPicker.specificTimesDescription')), h("div", { key: 'bedef1b3ea6e595aadfd8e7c8fc29c00a61cac38', class: "specific-times", part: "nstap__specific-times", role: "list" }, this.specificDateEntries.length === 0 ? (h("div", { class: "empty-state", part: "nstap__empty-state" }, h("div", { class: "empty-icon", part: "nstap__empty-icon" }, h("calendar-icon", { width: "32", height: "32" })), h("h3", { class: "empty-title", part: "nstap__empty-title" }, instance.t('nylasSpecificTimeAvailabilityPicker.emptyState.title')), h("p", { class: "empty-subtitle", part: "nstap__empty-subtitle" }, instance.t('nylasSpecificTimeAvailabilityPicker.emptyState.subtitle')))) : (this.specificDateEntries.map((entry, index) => (h("article", { class: "specific-time-entry", part: "nstap__specific-time-entry", key: entry.id, "data-entry-id": entry.id, role: "listitem", "aria-label": `Specific time availability entry ${index + 1}` }, h("div", { class: "entry-content", part: "nstap__entry-content" }, h("div", { class: "date-input-container", part: "nstap__date-input-container" }, h("nylas-date-component", { name: `date-${entry.id}`, defaultValue: entry.date, placeholder: "yyyy-mm-dd", part: "nstap__date-input", class: "date-input", themeConfig: this.themeConfig, exportparts: "ic__date: nstap__date-field, ic__input_wrapper: nstap__date-wrapper, ic__label: nstap__date-label", "aria-label": `Date for entry ${index + 1}` })), entry.isUnavailable ? (h("div", { class: "unavailable-text", part: "nstap__unavailable-text", role: "status" }, h("span", { class: "unavailable-label" }, instance.t('nylasSpecificTimeAvailabilityPicker.entireDayUnavailable')))) : (h("div", { class: "time-pickers", part: "nstap__time-pickers", role: "group", "aria-label": "Time range" }, h("nylas-time-window-picker", { id: `${entry.id}_start`, time: entry.startTime, name: `${entry.id}_start`, key: `${entry.id}_start`, language: this.selectedLanguage, hasError: !!this.validationErrors[entry.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times", "aria-label": `Start time for entry ${index + 1}` }), h("span", { class: "time-separator", "aria-hidden": "true" }, "-"), h("nylas-time-window-picker", { id: `${entry.id}_end`, time: entry.endTime, name: `${entry.id}_end`, key: `${entry.id}_end`, minimumStartTime: entry.startTime, language: this.selectedLanguage, hasError: !!this.validationErrors[entry.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times", "aria-label": `End time for entry ${index + 1}` }))), h("div", { class: "action-buttons", part: "nstap__action-buttons" }, h("button", { type: "button", class: { 'toggle-button': true, 'unavailable': entry.isUnavailable }, part: "nstap__toggle-button", onClick: () => this.toggleAvailability(entry.id), "aria-label": entry.isUnavailable
334
334
  ? instance.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')
335
335
  : instance.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable'), title: entry.isUnavailable
336
336
  ? instance.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')
337
- : instance.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable') }, h("calendar-icon", { width: "20", height: "20", "aria-hidden": "true" })), h("button", { type: "button", class: "remove-button", part: "nstap__remove-button", onClick: () => this.removeSpecificTimeAvailability(entry.id), "aria-label": `Remove specific time entry ${index + 1}`, title: "Remove" }, h("close-icon", { width: "16", height: "16", "aria-hidden": "true" })))), this.validationErrors[entry.id] && (h("div", { class: "error-message", part: "nstap__error-message", role: "alert", "aria-live": "polite" }, this.validationErrors[entry.id]))))))), h("div", { key: '7090e167621c9277ff45fc8d2297a908bd73e03e', class: "add-button-container", part: "nstap__add-button-container" }, h("button-component", { key: '0ccb4dbfd2bcad2f41ba238686519c4376b567e2', id: "add-specific-time-open-hour", onClick: () => this.addSpecificTimeAvailability(), part: "nstap__add-button", variant: "basic", "aria-label": instance.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability') }, h("add-circle-icon", { key: '823d017d2df65f36830d818a8fde664c69d12cdb', width: "24", height: "24", "aria-hidden": "true" }), instance.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability'))))))));
337
+ : instance.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable') }, h("calendar-icon", { width: "20", height: "20", "aria-hidden": "true" })), h("button", { type: "button", class: "remove-button", part: "nstap__remove-button", onClick: () => this.removeSpecificTimeAvailability(entry.id), "aria-label": `Remove specific time entry ${index + 1}`, title: "Remove" }, h("close-icon", { width: "16", height: "16", "aria-hidden": "true" })))), this.validationErrors[entry.id] && (h("div", { class: "error-message", part: "nstap__error-message", role: "alert", "aria-live": "polite" }, this.validationErrors[entry.id]))))))), h("div", { key: 'fe7774f7f9cba350c0e054784953759069f9d1b6', class: "add-button-container", part: "nstap__add-button-container" }, h("button-component", { key: 'c2b59da9f4aef773b6fa99382ecd98e010ce538b', id: "add-specific-time-open-hour", onClick: () => this.addSpecificTimeAvailability(), part: "nstap__add-button", variant: "basic", "aria-label": instance.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability') }, h("add-circle-icon", { key: '9080eac0142b5a791ceddfc7e73c95bc65f9cda9', width: "24", height: "24", "aria-hidden": "true" }), instance.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability'))))))));
338
338
  }
339
339
  static get formAssociated() { return true; }
340
340
  get host() { return this; }
@@ -458,6 +458,6 @@ function defineCustomElement() {
458
458
  }
459
459
 
460
460
  export { NylasSpecificTimeAvailabilityPicker as N, defineCustomElement as d };
461
- //# sourceMappingURL=p-CdBb4zI5.js.map
461
+ //# sourceMappingURL=p-mkkcd81V.js.map
462
462
 
463
- //# sourceMappingURL=p-CdBb4zI5.js.map
463
+ //# sourceMappingURL=p-mkkcd81V.js.map
@@ -1 +1 @@
1
- {"file":"p-CdBb4zI5.js","mappings":";;;;;;;;;;;;;;;;;;AAAA,MAAM,sCAAsC,GAAG,uuTAAuuT;;;;;;;;;;;;;;;;MCezwT,mCAAmC,GAAAA,kBAAA,CAAA,MAAA,mCAAA,SAAAC,CAAA,CAAA;AANhD,IAAA,WAAA,GAAA;;;;;;AAgBU,QAAA,IAAI,CAAA,IAAA,GAAW,4BAA4B;AA8B3C,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;AAM3B,QAAA,IAAe,CAAA,eAAA,GAAW,IAAI,CAAC,cAAc,EAAE,CAAC,eAAe,EAAE,CAAC,QAAQ;AAmBzE,QAAA,IAAmB,CAAA,mBAAA,GAMvB,EAAE;AAKE,QAAA,IAAgB,CAAA,gBAAA,GAA8B,EAAE;AAKhD,QAAA,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AAC;SAC/C,CAAC;AACF,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CAsLD,EAAA,mCAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.scss?tag=nylas-specific-time-availability-picker&encapsulation=shadow","src/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.tsx"],"sourcesContent":[":host {\n display: block;\n width: 100%;\n}\n\n.nylas-specific-time-availability-picker {\n display: flex;\n margin: 1rem;\n flex-direction: column;\n border-radius: var(--nylas-border-radius-2x);\n border: 1px solid var(--nylas-base-200);\n\n .content {\n padding: 1.5rem;\n border-radius: var(--nylas-border-radius-2x);\n color: var(--nylas-base-900);\n font-size: 16px;\n font-family: var(--nylas-font-family);\n background: var(--nylas-base-25);\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n\n @media (max-width: 768px) {\n padding: 1rem;\n gap: 1.25rem;\n }\n }\n\n .header {\n padding: 1rem;\n border-bottom: 1px solid var(--nylas-base-200);\n\n h3 {\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n display: flex;\n align-items: center;\n gap: 4px;\n }\n }\n\n .timezone-selector {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n padding: 1.25rem;\n background: var(--nylas-base-0);\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n\n @media (max-width: 768px) {\n padding: 1rem;\n }\n\n .sub-header {\n margin: 0;\n font-size: 0.9375rem;\n font-weight: 600;\n line-height: 1.5;\n color: var(--nylas-base-900);\n }\n\n .timezone-description {\n margin: 0;\n font-size: 0.8125rem;\n line-height: 1.5;\n color: var(--nylas-base-600);\n }\n\n select-dropdown {\n margin-top: 0.25rem;\n }\n\n .timezone-error {\n margin-top: 0.5rem;\n }\n }\n\n .specific-times-section {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n padding: 1.25rem;\n background: var(--nylas-base-0);\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n\n .section-header {\n margin: 0 0 0.5rem 0;\n font-size: 0.9375rem;\n font-weight: 600;\n line-height: 1.5;\n color: var(--nylas-base-900);\n }\n\n .section-description {\n margin: 0 0 1rem 0;\n font-size: 0.8125rem;\n line-height: 1.5;\n color: var(--nylas-base-600);\n }\n }\n\n .specific-times {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n }\n\n .empty-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 2rem 1rem;\n text-align: center;\n\n .empty-icon {\n margin-bottom: 1.5rem;\n opacity: 0.4;\n color: var(--nylas-base-400);\n }\n\n .empty-title {\n margin: 0 0 0.5rem 0;\n font-size: 1.125rem;\n font-weight: 600;\n color: var(--nylas-base-700);\n line-height: 1.5;\n }\n\n .empty-subtitle {\n margin: 0;\n font-size: 0.875rem;\n color: var(--nylas-base-500);\n line-height: 1.5;\n max-width: 300px;\n }\n }\n\n .specific-time-entry {\n display: flex;\n flex-direction: column;\n gap: 0;\n padding: 1rem;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n transition:\n border-color 0.2s ease,\n box-shadow 0.2s ease;\n\n &:hover {\n border-color: var(--nylas-base-300);\n }\n\n &:focus-within {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n .entry-content {\n display: grid;\n grid-template: 1fr auto / auto 1fr;\n gap: 0.75rem;\n align-items: center;\n\n @media (max-width: 768px) {\n grid-template: unset;\n grid-template-areas:\n 'date'\n 'time_or_unavailable'\n 'actions';\n grid-template-columns: 1fr auto auto;\n gap: 0.75rem;\n }\n }\n\n .date-input-container {\n flex: 0 0 auto;\n\n @media (max-width: 768px) {\n grid-area: date;\n }\n\n .date-input {\n width: 100%;\n }\n\n nylas-date-component::part(ic__date) {\n border: 1px solid var(--nylas-base-200);\n height: 48px;\n display: flex;\n align-items: center;\n border-radius: var(--nylas-border-radius);\n transition:\n border-color 0.2s ease,\n box-shadow 0.2s ease;\n\n &:focus-within {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n }\n }\n\n .time-pickers {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex: 1;\n min-width: 0;\n\n @media (max-width: 768px) {\n grid-area: time_or_unavailable;\n }\n\n nylas-time-window-picker {\n flex: 1;\n min-width: 0;\n }\n\n .time-separator {\n font-size: 0.875rem;\n color: var(--nylas-base-600);\n font-weight: 500;\n flex-shrink: 0;\n line-height: 1;\n user-select: none;\n }\n }\n\n .unavailable-text {\n flex: 1;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-50);\n border: 1px solid var(--nylas-base-200);\n min-height: 48px;\n\n @media (max-width: 768px) {\n grid-area: time_or_unavailable;\n }\n\n .unavailable-label {\n font-size: 0.875rem;\n color: var(--nylas-base-600);\n font-weight: 500;\n }\n }\n\n .action-buttons {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n grid-column: 2;\n justify-content: end;\n\n @media (max-width: 768px) {\n grid-area: actions;\n justify-self: end;\n }\n }\n\n .toggle-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n padding: 0;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n color: var(--nylas-base-500);\n cursor: pointer;\n transition: all 0.2s ease;\n flex-shrink: 0;\n\n &:hover {\n background: var(--nylas-base-50);\n border-color: var(--nylas-primary);\n color: var(--nylas-primary);\n }\n\n &:focus {\n outline: none;\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n &:active {\n background: var(--nylas-base-100);\n }\n\n &.unavailable {\n background: var(--nylas-error-50);\n border-color: var(--nylas-error-200);\n color: var(--nylas-error);\n\n &:hover {\n background: var(--nylas-error-100);\n border-color: var(--nylas-error);\n }\n }\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n padding: 0;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n color: var(--nylas-base-400);\n cursor: pointer;\n transition: all 0.2s ease;\n flex-shrink: 0;\n\n &:hover {\n background: var(--nylas-error-50);\n border-color: var(--nylas-error-200);\n color: var(--nylas-error);\n }\n\n &:focus {\n outline: none;\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n &:active {\n background: var(--nylas-error-100);\n }\n }\n\n .error-message {\n width: 100%;\n padding: 0.5rem 0.75rem;\n background: var(--nylas-error-50);\n color: var(--nylas-error);\n font-size: 0.8125rem;\n line-height: 1.5;\n border-radius: var(--nylas-border-radius);\n border: 1px solid var(--nylas-error-200);\n margin-top: 0.5rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n }\n }\n\n .add-button-container {\n display: flex;\n justify-content: flex-start;\n margin-top: 0.5rem;\n\n button-component {\n width: 100%;\n\n @media (max-width: 768px) {\n font-size: 0.875rem;\n }\n }\n }\n}\n\n// Override button-component styles for the add button\n::part(nstap__add-button) {\n border: 1px dashed var(--nylas-base-200);\n background: var(--nylas-base-0);\n color: var(--nylas-base-700);\n\n &:hover {\n border-color: var(--nylas-primary);\n background: var(--nylas-base-50);\n color: var(--nylas-primary);\n }\n}\n\n// Custom styling for time picker components\n::part(nstap__time-picker-container) {\n flex: 1;\n min-width: 0;\n}\n\n::part(nstap__time-picker-input) {\n width: 100%;\n font-size: 0.875rem;\n min-height: 48px;\n display: flex;\n align-items: center;\n border-radius: var(--nylas-border-radius);\n}\n\n// Custom styling for date input component\n::part(nstap__date-input) {\n width: 100%;\n}\n\n::part(nstap__date-field) {\n width: 100%;\n font-size: 0.875rem;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n padding: 0.5rem 0.75rem;\n\n &:focus {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n}\n\n::part(nstap__date-wrapper) {\n margin: 0;\n}\n\n::part(nstap__date-label) {\n margin: 0;\n padding: 0;\n\n p {\n display: none; // Hide label since we don't need it\n }\n}\n","import { AttachInternals, Component, Element, Event, EventEmitter, h, Host, Prop, Watch, State, Listen } from '@stencil/core';\nimport { RegisterComponent } from '@/common/register-component';\nimport { LANGUAGE_CODE, TIMEZONE_MAP } from '@/common/constants';\nimport { Configuration, SpecificTimeAvailability, ThemeConfig } from '@nylas/core';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { debug, convertTo12HourFormat, convertTo24HourFormat, timeToMinutes } from '@/utils/utils';\nimport i18next from '@/utils/i18n';\n\n@Component({\n tag: 'nylas-specific-time-availability-picker',\n styleUrl: 'nylas-specific-time-availability-picker.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasSpecificTimeAvailabilityPicker {\n /**\n * The element <nylas-specific-time-availability-picker> itself.\n */\n @Element() host!: HTMLNylasSpecificTimeAvailabilityPickerElement;\n\n /**\n * @standalone\n * The name of the specific date availability picker.\n */\n @Prop() name: string = 'specific-time-availability';\n\n /**\n * @standalone\n * The selected configuration.\n */\n @Prop() selectedConfiguration?: Configuration;\n\n /**\n * @standalone\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n\n /**\n * @standalone\n * The specific date open hours.\n */\n @Prop() specificTimesAvailability?: SpecificTimeAvailability[];\n\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * @standalone\n * Hide the header of the specific time availability picker.\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * @standalone\n * The default timezone or preset timezone.\n */\n @Prop() defaultTimezone: string = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\n /**\n * @standalone\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n\n /**\n * The event is fired when the specific date open hours change.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n }>;\n\n /**\n * Internal state for managing specific date entries\n */\n @State() specificDateEntries: Array<{\n id: string;\n date: string;\n startTime: string;\n endTime: string;\n isUnavailable: boolean;\n }> = [];\n\n /**\n * State for tracking validation errors\n */\n @State() validationErrors: { [key: string]: string } = {};\n\n /**\n * The selected timezone state.\n */\n @State() timezone: string = '';\n\n connectedCallback() {\n debug('nylas-specific-time-availability-picker', 'connectedCallback');\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {\n debug('nylas-specific-time-availability-picker', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-specific-time-availability-picker', 'componentWillLoad');\n this.host.setAttribute('name', this.name);\n }\n\n componentDidLoad() {\n debug('nylas-specific-time-availability-picker', 'componentDidLoad');\n\n // Initialize timezone\n if (this.selectedConfiguration) {\n this.timezone = this.selectedConfiguration?.event_booking?.timezone || this.defaultTimezone;\n this.configChangedHandler(this.selectedConfiguration);\n } else {\n this.timezone = this.defaultTimezone;\n if (this.specificTimesAvailability && this.specificTimesAvailability.length > 0) {\n this.loadSpecificTimeAvailability();\n }\n }\n }\n\n get isInternalsAvailable() {\n return typeof this.internals.setFormValue === 'function';\n }\n\n /**\n * When a name prop is passed, stencil does not automatically set the name attribute on the host element.\n * Since this component is form-associated, the name attribute is required for form submission.\n * This is a workaround to ensure that the name attribute is set on the host element.\n */\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-specific-time-availability-picker', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('defaultTimezone')\n defaultTimezoneChanged(newValue: string) {\n if (newValue && newValue !== this.timezone) {\n this.timezone = newValue;\n this.emitValueChanged();\n }\n }\n\n @Watch('selectedConfiguration')\n configChangedHandler(newConfig: Configuration) {\n debug('nylas-specific-time-availability-picker', 'configChangedHandler', newConfig);\n // Load specific date open hours from the configuration participants\n this.loadSpecificTimeAvailability();\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n loadSpecificTimeAvailability() {\n if (!this.specificTimesAvailability || this.specificTimesAvailability.length === 0) {\n return;\n }\n\n // If timezone is provided in the first entry, use it\n if (this.specificTimesAvailability[0].timezone) {\n this.timezone = this.specificTimesAvailability[0].timezone;\n }\n\n // Display entries in chronological order (date, then start time). Configurations edited\n // over time accumulate entries in insertion order, which buried e.g. a second window for\n // an earlier date at the bottom of the list — admins auditing the date-sorted top of the\n // list could not see everything configured for a given date.\n const sortedAvailability = [...this.specificTimesAvailability].sort((a, b) => (a.date === b.date ? a.start.localeCompare(b.start) : a.date.localeCompare(b.date)));\n\n const entries = sortedAvailability.map((item, index) => {\n // Check if both start and end are \"00:00\" - this indicates an unavailable day\n const isUnavailable = item.start === '00:00' && item.end === '00:00';\n\n return {\n id: `specific-time-${index}`,\n date: item.date,\n startTime: isUnavailable ? '09:00am' : convertTo12HourFormat(item.start),\n endTime: isUnavailable ? '05:00pm' : convertTo12HourFormat(item.end),\n isUnavailable,\n };\n });\n\n this.specificDateEntries = entries;\n this.emitValueChanged();\n }\n\n addSpecificTimeAvailability() {\n // Initialize with incremental dates based on existing entries\n // First entry: today, second entry: tomorrow, third entry: day after, etc.\n const today = new Date();\n const targetDate = new Date(today);\n targetDate.setDate(today.getDate() + this.specificDateEntries.length);\n const formattedDate = targetDate.toISOString().split('T')[0];\n\n const newEntry = {\n id: `specific-time-${Date.now()}`,\n date: formattedDate,\n startTime: '09:00am',\n endTime: '05:00pm',\n isUnavailable: false,\n timezone: this.timezone,\n };\n\n this.specificDateEntries = [...this.specificDateEntries, newEntry];\n\n // Clear any global validation errors since we're adding a new valid entry\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n\n this.emitValueChanged();\n }\n\n removeSpecificTimeAvailability(id: string) {\n this.specificDateEntries = this.specificDateEntries.filter(entry => entry.id !== id);\n\n // Clear validation error for the removed entry\n if (this.validationErrors[id]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[id];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n\n toggleAvailability(id: string) {\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === id) {\n return { ...entry, isUnavailable: !entry.isUnavailable };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry since availability state changed\n if (this.validationErrors[id]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[id];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n\n /**\n * Validates a single date entry\n */\n validateEntry(entry: (typeof this.specificDateEntries)[0]): string | null {\n // Check if date is empty or invalid\n if (!entry.date) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.dateRequired');\n }\n\n const dateObj = new Date(entry.date);\n if (isNaN(dateObj.getTime())) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.invalidDateFormat');\n }\n\n // If unavailable, no need to validate times\n if (entry.isUnavailable) {\n return null;\n }\n\n // Validate start and end times are present\n if (!entry.startTime || !entry.endTime) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.timesRequired');\n }\n\n // Validate start time is before end time\n const startMinutes = timeToMinutes(entry.startTime);\n const endMinutes = timeToMinutes(entry.endTime);\n\n if (startMinutes >= endMinutes) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.startTimeBeforeEndTime');\n }\n\n return null;\n }\n\n /**\n * Validates that timezone is set when there are entries\n */\n validateTimezone(): string | null {\n if (this.specificDateEntries.length > 0 && !this.timezone) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.timezoneRequired');\n }\n return null;\n }\n\n /**\n * Validates all entries and updates validation state\n */\n validateAllEntries() {\n const errors: { [key: string]: string } = {};\n let hasErrors = false;\n\n // Validate timezone first\n const timezoneError = this.validateTimezone();\n if (timezoneError) {\n errors['timezone'] = timezoneError;\n hasErrors = true;\n }\n\n this.specificDateEntries.forEach(entry => {\n const error = this.validateEntry(entry);\n if (error) {\n errors[entry.id] = error;\n hasErrors = true;\n }\n });\n\n this.validationErrors = errors;\n\n // Update form validity\n if (hasErrors) {\n // Prioritize timezone error, then entry errors\n const firstErrorKey = errors['timezone'] ? 'timezone' : Object.keys(errors)[0];\n const firstErrorElement =\n firstErrorKey === 'timezone'\n ? (this.host.shadowRoot?.querySelector('.timezone-selector') as HTMLElement)\n : (this.host.shadowRoot?.querySelector(`[data-entry-id=\"${firstErrorKey}\"]`) as HTMLElement);\n\n if (this.isInternalsAvailable && firstErrorElement) {\n this.internals.setValidity({ customError: true }, 'Please fix validation errors', firstErrorElement);\n }\n } else {\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n }\n\n return !hasErrors;\n }\n\n @Listen('timeChange')\n handleTimeChange(event: CustomEvent<{ key: string; value: string }>) {\n const { key, value } = event.detail;\n const [entryId, timeType] = key.split('_');\n\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === entryId) {\n return {\n ...entry,\n [timeType === 'start' ? 'startTime' : 'endTime']: value,\n };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry\n if (this.validationErrors[entryId]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n }\n\n // Clear form validity errors related to time\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n\n this.emitValueChanged();\n }\n\n @Listen('timeWindowFormError')\n setFormError(event: CustomEvent<{ key: string; message: string }>) {\n const { key, message } = event.detail;\n const [entryId] = key.split('_');\n\n if (message) {\n // Set validation error for this entry\n this.validationErrors = {\n ...this.validationErrors,\n [entryId]: message,\n };\n\n const element = this.host.shadowRoot?.getElementById(key);\n if (element && this.isInternalsAvailable) {\n this.internals.setValidity({ customError: true }, message, element as HTMLInputElement);\n }\n } else {\n // Clear validation error for this entry\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n }\n }\n\n @Listen('nylasFormDropdownChanged')\n nylasFormDropdownChangedHandler(\n event: CustomEvent<{\n value: string;\n name: string;\n }>,\n ) {\n const { name, value } = event.detail;\n if (name === 'specific-time-timezone') {\n this.timezone = value;\n\n // Clear timezone validation error if it exists\n if (this.validationErrors['timezone']) {\n const newErrors = { ...this.validationErrors };\n delete newErrors['timezone'];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n }\n\n @Listen('nylasFormInputChanged')\n handleFormInputChange(event: CustomEvent<{ value: string; name: string; label: string; type: string; error: string }>) {\n const { name, value } = event.detail;\n\n // Check if this is a date input for our component\n if (name.startsWith('date-') && name.includes('specific-time-')) {\n const entryId = name.replace('date-', '');\n\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === entryId) {\n return { ...entry, date: value };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry\n if (this.validationErrors[entryId]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n }\n\n emitValueChanged() {\n // Validate all entries before emitting\n const isValid = this.validateAllEntries();\n\n const specificTimesAvailability = this.specificDateEntries\n .filter(entry => entry.date && (entry.isUnavailable || (entry.startTime && entry.endTime)))\n .map(entry => ({\n date: entry.date,\n start: entry.isUnavailable ? '00:00' : convertTo24HourFormat(entry.startTime),\n end: entry.isUnavailable ? '00:00' : convertTo24HourFormat(entry.endTime),\n timezone: this.timezone,\n }));\n\n const value = JSON.stringify(specificTimesAvailability);\n\n if (this.isInternalsAvailable && isValid) {\n this.internals.setFormValue(value, this.name);\n }\n\n this.valueChanged.emit({\n value,\n name: this.name,\n });\n }\n\n @RegisterComponent<NylasSpecificTimeAvailabilityPicker, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-specific-time-availability-picker',\n stateToProps: new Map([\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n fireRegisterEvent: true,\n })\n render() {\n const timezoneOptions = Object.keys(TIMEZONE_MAP).map(key => ({\n label: TIMEZONE_MAP[key],\n value: key,\n }));\n const selectedTimezoneOption = timezoneOptions.find(i => i.value === this.timezone);\n\n return (\n <Host>\n <div class=\"nylas-specific-time-availability-picker\" part=\"nstap\">\n {!this.hideHeader && (\n <div class=\"header\" part=\"nstap__header\">\n <h3>{i18next.t('nylasSpecificTimeAvailabilityPicker.headerTitle')}</h3>\n <p>\n {i18next.t('nylasSpecificTimeAvailabilityPicker.headerDescription')}\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasSpecificTimeAvailabilityPicker.tooltip.desc')}</span>\n </tooltip-component>\n </p>\n </div>\n )}\n <div class=\"content\" part=\"nstap__content\">\n <section class=\"timezone-selector\" part=\"nstap__timezone-selector\" aria-labelledby=\"timezone-header\">\n <h4 id=\"timezone-header\" class=\"sub-header\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')}\n </h4>\n <p class=\"timezone-description\">{i18next.t('nylasSpecificTimeAvailabilityPicker.timezoneDescription')}</p>\n {selectedTimezoneOption?.label && (\n <select-dropdown\n name=\"specific-time-timezone\"\n searchPlaceholder={i18next.t('search')}\n exportparts=\"sd_dropdown: nstap__timezone-container, sd_dropdown-button: nstap__timezone-button, sd_dropdown-content: nstap__timezone-dropdown-content\"\n options={timezoneOptions}\n defaultSelectedOption={selectedTimezoneOption}\n themeConfig={this.themeConfig}\n aria-label={i18next.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')}\n >\n <span slot=\"select-icon\" aria-hidden=\"true\">\n <globe-icon width=\"20\" height=\"20\" />\n </span>\n </select-dropdown>\n )}\n {this.validationErrors['timezone'] && (\n <div class=\"error-message timezone-error\" part=\"nstap__error-message\" role=\"alert\" aria-live=\"polite\">\n {this.validationErrors['timezone']}\n </div>\n )}\n </section>\n <section class=\"specific-times-section\" part=\"nstap__specific-times-section\" aria-labelledby=\"specific-times-header\">\n <h4 id=\"specific-times-header\" class=\"section-header\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.specificTimesHeader')}\n </h4>\n <p class=\"section-description\">{i18next.t('nylasSpecificTimeAvailabilityPicker.specificTimesDescription')}</p>\n <div class=\"specific-times\" part=\"nstap__specific-times\" role=\"list\">\n {this.specificDateEntries.length === 0 ? (\n <div class=\"empty-state\" part=\"nstap__empty-state\">\n <div class=\"empty-icon\" part=\"nstap__empty-icon\">\n <calendar-icon width=\"32\" height=\"32\" />\n </div>\n <h3 class=\"empty-title\" part=\"nstap__empty-title\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.emptyState.title')}\n </h3>\n <p class=\"empty-subtitle\" part=\"nstap__empty-subtitle\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.emptyState.subtitle')}\n </p>\n </div>\n ) : (\n this.specificDateEntries.map((entry, index) => (\n <article\n class=\"specific-time-entry\"\n part=\"nstap__specific-time-entry\"\n key={entry.id}\n data-entry-id={entry.id}\n role=\"listitem\"\n aria-label={`Specific time availability entry ${index + 1}`}\n >\n <div class=\"entry-content\" part=\"nstap__entry-content\">\n <div class=\"date-input-container\" part=\"nstap__date-input-container\">\n <nylas-date-component\n name={`date-${entry.id}`}\n defaultValue={entry.date}\n placeholder=\"yyyy-mm-dd\"\n part=\"nstap__date-input\"\n class=\"date-input\"\n themeConfig={this.themeConfig}\n exportparts=\"ic__date: nstap__date-field, ic__input_wrapper: nstap__date-wrapper, ic__label: nstap__date-label\"\n aria-label={`Date for entry ${index + 1}`}\n />\n </div>\n {entry.isUnavailable ? (\n <div class=\"unavailable-text\" part=\"nstap__unavailable-text\" role=\"status\">\n <span class=\"unavailable-label\">{i18next.t('nylasSpecificTimeAvailabilityPicker.entireDayUnavailable')}</span>\n </div>\n ) : (\n <div class=\"time-pickers\" part=\"nstap__time-pickers\" role=\"group\" aria-label=\"Time range\">\n <nylas-time-window-picker\n id={`${entry.id}_start`}\n time={entry.startTime}\n name={`${entry.id}_start`}\n key={`${entry.id}_start`}\n language={this.selectedLanguage}\n hasError={!!this.validationErrors[entry.id]}\n themeConfig={this.themeConfig}\n exportparts=\"time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times\"\n aria-label={`Start time for entry ${index + 1}`}\n />\n <span class=\"time-separator\" aria-hidden=\"true\">\n -\n </span>\n <nylas-time-window-picker\n id={`${entry.id}_end`}\n time={entry.endTime}\n name={`${entry.id}_end`}\n key={`${entry.id}_end`}\n minimumStartTime={entry.startTime}\n language={this.selectedLanguage}\n hasError={!!this.validationErrors[entry.id]}\n themeConfig={this.themeConfig}\n exportparts=\"time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times\"\n aria-label={`End time for entry ${index + 1}`}\n />\n </div>\n )}\n <div class=\"action-buttons\" part=\"nstap__action-buttons\">\n <button\n type=\"button\"\n class={{ 'toggle-button': true, 'unavailable': entry.isUnavailable }}\n part=\"nstap__toggle-button\"\n onClick={() => this.toggleAvailability(entry.id)}\n aria-label={\n entry.isUnavailable\n ? i18next.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')\n : i18next.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable')\n }\n title={\n entry.isUnavailable\n ? i18next.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')\n : i18next.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable')\n }\n >\n <calendar-icon width=\"20\" height=\"20\" aria-hidden=\"true\" />\n </button>\n <button\n type=\"button\"\n class=\"remove-button\"\n part=\"nstap__remove-button\"\n onClick={() => this.removeSpecificTimeAvailability(entry.id)}\n aria-label={`Remove specific time entry ${index + 1}`}\n title=\"Remove\"\n >\n <close-icon width=\"16\" height=\"16\" aria-hidden=\"true\" />\n </button>\n </div>\n </div>\n {this.validationErrors[entry.id] && (\n <div class=\"error-message\" part=\"nstap__error-message\" role=\"alert\" aria-live=\"polite\">\n {this.validationErrors[entry.id]}\n </div>\n )}\n </article>\n ))\n )}\n </div>\n <div class=\"add-button-container\" part=\"nstap__add-button-container\">\n <button-component\n id=\"add-specific-time-open-hour\"\n onClick={() => this.addSpecificTimeAvailability()}\n part=\"nstap__add-button\"\n variant=\"basic\"\n aria-label={i18next.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability')}\n >\n <add-circle-icon width=\"24\" height=\"24\" aria-hidden=\"true\" />\n {i18next.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability')}\n </button-component>\n </div>\n </section>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-mkkcd81V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,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAa,aAAA,EAAA,MAAM,EAAG,CAAA,EAC5DA,QAAO,CAAC,CAAC,CAAC,iEAAiE,CAAC,CAC5D,CACf,CACE,CACN,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnLX,UAAA,CAAA;AATC,IAAA,iBAAiB,CAAyH;AACzI,QAAA,IAAI,EAAE,yCAAyC;QAC/C,YAAY,EAAE,IAAI,GAAG,CAAC;YACpB,CAAC,uCAAuC,EAAE,uBAAuB,CAAC;YAClE,CAAC,kCAAkC,EAAE,kBAAkB,CAAC;YACxD,CAAC,6BAA6B,EAAE,aAAa,CAAC;SAC/C,CAAC;AACF,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CAsLD,EAAA,mCAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.scss?tag=nylas-specific-time-availability-picker&encapsulation=shadow","src/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.tsx"],"sourcesContent":[":host {\n display: block;\n width: 100%;\n}\n\n.nylas-specific-time-availability-picker {\n display: flex;\n margin: 1rem;\n flex-direction: column;\n border-radius: var(--nylas-border-radius-2x);\n border: 1px solid var(--nylas-base-200);\n\n .content {\n padding: 1.5rem;\n border-radius: var(--nylas-border-radius-2x);\n color: var(--nylas-base-900);\n font-size: 16px;\n font-family: var(--nylas-font-family);\n background: var(--nylas-base-25);\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n\n @media (max-width: 768px) {\n padding: 1rem;\n gap: 1.25rem;\n }\n }\n\n .header {\n padding: 1rem;\n border-bottom: 1px solid var(--nylas-base-200);\n\n h3 {\n margin: 0;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: var(--nylas-base-900);\n text-align: left;\n }\n\n p {\n margin: 0.25rem 0 0 0;\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 20px;\n color: var(--nylas-base-600);\n text-align: left;\n display: flex;\n align-items: center;\n gap: 4px;\n }\n }\n\n .timezone-selector {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n padding: 1.25rem;\n background: var(--nylas-base-0);\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n\n @media (max-width: 768px) {\n padding: 1rem;\n }\n\n .sub-header {\n margin: 0;\n font-size: 0.9375rem;\n font-weight: 600;\n line-height: 1.5;\n color: var(--nylas-base-900);\n }\n\n .timezone-description {\n margin: 0;\n font-size: 0.8125rem;\n line-height: 1.5;\n color: var(--nylas-base-600);\n }\n\n select-dropdown {\n margin-top: 0.25rem;\n }\n\n .timezone-error {\n margin-top: 0.5rem;\n }\n }\n\n .specific-times-section {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n padding: 1.25rem;\n background: var(--nylas-base-0);\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n\n .section-header {\n margin: 0 0 0.5rem 0;\n font-size: 0.9375rem;\n font-weight: 600;\n line-height: 1.5;\n color: var(--nylas-base-900);\n }\n\n .section-description {\n margin: 0 0 1rem 0;\n font-size: 0.8125rem;\n line-height: 1.5;\n color: var(--nylas-base-600);\n }\n }\n\n .specific-times {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n }\n\n .empty-state {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 2rem 1rem;\n text-align: center;\n\n .empty-icon {\n margin-bottom: 1.5rem;\n opacity: 0.4;\n color: var(--nylas-base-400);\n }\n\n .empty-title {\n margin: 0 0 0.5rem 0;\n font-size: 1.125rem;\n font-weight: 600;\n color: var(--nylas-base-700);\n line-height: 1.5;\n }\n\n .empty-subtitle {\n margin: 0;\n font-size: 0.875rem;\n color: var(--nylas-base-500);\n line-height: 1.5;\n max-width: 300px;\n }\n }\n\n .specific-time-entry {\n display: flex;\n flex-direction: column;\n gap: 0;\n padding: 1rem;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n transition:\n border-color 0.2s ease,\n box-shadow 0.2s ease;\n\n &:hover {\n border-color: var(--nylas-base-300);\n }\n\n &:focus-within {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n .entry-content {\n display: grid;\n grid-template: 1fr auto / auto 1fr;\n gap: 0.75rem;\n align-items: center;\n\n @media (max-width: 768px) {\n grid-template: unset;\n grid-template-areas:\n 'date'\n 'time_or_unavailable'\n 'actions';\n grid-template-columns: 1fr auto auto;\n gap: 0.75rem;\n }\n }\n\n .date-input-container {\n flex: 0 0 auto;\n\n @media (max-width: 768px) {\n grid-area: date;\n }\n\n .date-input {\n width: 100%;\n }\n\n nylas-date-component::part(ic__date) {\n border: 1px solid var(--nylas-base-200);\n height: 48px;\n display: flex;\n align-items: center;\n border-radius: var(--nylas-border-radius);\n transition:\n border-color 0.2s ease,\n box-shadow 0.2s ease;\n\n &:focus-within {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n }\n }\n\n .time-pickers {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex: 1;\n min-width: 0;\n\n @media (max-width: 768px) {\n grid-area: time_or_unavailable;\n }\n\n nylas-time-window-picker {\n flex: 1;\n min-width: 0;\n }\n\n .time-separator {\n font-size: 0.875rem;\n color: var(--nylas-base-600);\n font-weight: 500;\n flex-shrink: 0;\n line-height: 1;\n user-select: none;\n }\n }\n\n .unavailable-text {\n flex: 1;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-50);\n border: 1px solid var(--nylas-base-200);\n min-height: 48px;\n\n @media (max-width: 768px) {\n grid-area: time_or_unavailable;\n }\n\n .unavailable-label {\n font-size: 0.875rem;\n color: var(--nylas-base-600);\n font-weight: 500;\n }\n }\n\n .action-buttons {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n grid-column: 2;\n justify-content: end;\n\n @media (max-width: 768px) {\n grid-area: actions;\n justify-self: end;\n }\n }\n\n .toggle-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n padding: 0;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n color: var(--nylas-base-500);\n cursor: pointer;\n transition: all 0.2s ease;\n flex-shrink: 0;\n\n &:hover {\n background: var(--nylas-base-50);\n border-color: var(--nylas-primary);\n color: var(--nylas-primary);\n }\n\n &:focus {\n outline: none;\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n &:active {\n background: var(--nylas-base-100);\n }\n\n &.unavailable {\n background: var(--nylas-error-50);\n border-color: var(--nylas-error-200);\n color: var(--nylas-error);\n\n &:hover {\n background: var(--nylas-error-100);\n border-color: var(--nylas-error);\n }\n }\n }\n\n .remove-button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n padding: 0;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n background: var(--nylas-base-0);\n color: var(--nylas-base-400);\n cursor: pointer;\n transition: all 0.2s ease;\n flex-shrink: 0;\n\n &:hover {\n background: var(--nylas-error-50);\n border-color: var(--nylas-error-200);\n color: var(--nylas-error);\n }\n\n &:focus {\n outline: none;\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n\n &:active {\n background: var(--nylas-error-100);\n }\n }\n\n .error-message {\n width: 100%;\n padding: 0.5rem 0.75rem;\n background: var(--nylas-error-50);\n color: var(--nylas-error);\n font-size: 0.8125rem;\n line-height: 1.5;\n border-radius: var(--nylas-border-radius);\n border: 1px solid var(--nylas-error-200);\n margin-top: 0.5rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n }\n }\n\n .add-button-container {\n display: flex;\n justify-content: flex-start;\n margin-top: 0.5rem;\n\n button-component {\n width: 100%;\n\n @media (max-width: 768px) {\n font-size: 0.875rem;\n }\n }\n }\n}\n\n// Override button-component styles for the add button\n::part(nstap__add-button) {\n border: 1px dashed var(--nylas-base-200);\n background: var(--nylas-base-0);\n color: var(--nylas-base-700);\n\n &:hover {\n border-color: var(--nylas-primary);\n background: var(--nylas-base-50);\n color: var(--nylas-primary);\n }\n}\n\n// Custom styling for time picker components\n::part(nstap__time-picker-container) {\n flex: 1;\n min-width: 0;\n}\n\n::part(nstap__time-picker-input) {\n width: 100%;\n font-size: 0.875rem;\n min-height: 48px;\n display: flex;\n align-items: center;\n border-radius: var(--nylas-border-radius);\n}\n\n// Custom styling for date input component\n::part(nstap__date-input) {\n width: 100%;\n}\n\n::part(nstap__date-field) {\n width: 100%;\n font-size: 0.875rem;\n border: 1px solid var(--nylas-base-200);\n border-radius: var(--nylas-border-radius);\n padding: 0.5rem 0.75rem;\n\n &:focus {\n border-color: var(--nylas-primary);\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);\n }\n}\n\n::part(nstap__date-wrapper) {\n margin: 0;\n}\n\n::part(nstap__date-label) {\n margin: 0;\n padding: 0;\n\n p {\n display: none; // Hide label since we don't need it\n }\n}\n","import { AttachInternals, Component, Element, Event, EventEmitter, h, Host, Prop, Watch, State, Listen } from '@stencil/core';\nimport { RegisterComponent } from '@/common/register-component';\nimport { LANGUAGE_CODE, TIMEZONE_MAP } from '@/common/constants';\nimport { Configuration, SpecificTimeAvailability, ThemeConfig } from '@nylas/core';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { debug, convertTo12HourFormat, convertTo24HourFormat, timeToMinutes } from '@/utils/utils';\nimport i18next from '@/utils/i18n';\n\n@Component({\n tag: 'nylas-specific-time-availability-picker',\n styleUrl: 'nylas-specific-time-availability-picker.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasSpecificTimeAvailabilityPicker {\n /**\n * The element <nylas-specific-time-availability-picker> itself.\n */\n @Element() host!: HTMLNylasSpecificTimeAvailabilityPickerElement;\n\n /**\n * @standalone\n * The name of the specific date availability picker.\n */\n @Prop() name: string = 'specific-time-availability';\n\n /**\n * @standalone\n * The selected configuration.\n */\n @Prop() selectedConfiguration?: Configuration;\n\n /**\n * @standalone\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n\n /**\n * @standalone\n * The specific date open hours.\n */\n @Prop() specificTimesAvailability?: SpecificTimeAvailability[];\n\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * @standalone\n * Hide the header of the specific time availability picker.\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * @standalone\n * The default timezone or preset timezone.\n */\n @Prop() defaultTimezone: string = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\n /**\n * @standalone\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n\n /**\n * The event is fired when the specific date open hours change.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n }>;\n\n /**\n * Internal state for managing specific date entries\n */\n @State() specificDateEntries: Array<{\n id: string;\n date: string;\n startTime: string;\n endTime: string;\n isUnavailable: boolean;\n }> = [];\n\n /**\n * State for tracking validation errors\n */\n @State() validationErrors: { [key: string]: string } = {};\n\n /**\n * The selected timezone state.\n */\n @State() timezone: string = '';\n\n connectedCallback() {\n debug('nylas-specific-time-availability-picker', 'connectedCallback');\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {\n debug('nylas-specific-time-availability-picker', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-specific-time-availability-picker', 'componentWillLoad');\n this.host.setAttribute('name', this.name);\n }\n\n componentDidLoad() {\n debug('nylas-specific-time-availability-picker', 'componentDidLoad');\n\n // Initialize timezone\n if (this.selectedConfiguration) {\n this.timezone = this.selectedConfiguration?.event_booking?.timezone || this.defaultTimezone;\n this.configChangedHandler(this.selectedConfiguration);\n } else {\n this.timezone = this.defaultTimezone;\n if (this.specificTimesAvailability && this.specificTimesAvailability.length > 0) {\n this.loadSpecificTimeAvailability();\n }\n }\n }\n\n get isInternalsAvailable() {\n return typeof this.internals.setFormValue === 'function';\n }\n\n /**\n * When a name prop is passed, stencil does not automatically set the name attribute on the host element.\n * Since this component is form-associated, the name attribute is required for form submission.\n * This is a workaround to ensure that the name attribute is set on the host element.\n */\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-specific-time-availability-picker', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('defaultTimezone')\n defaultTimezoneChanged(newValue: string) {\n if (newValue && newValue !== this.timezone) {\n this.timezone = newValue;\n this.emitValueChanged();\n }\n }\n\n @Watch('selectedConfiguration')\n configChangedHandler(newConfig: Configuration) {\n debug('nylas-specific-time-availability-picker', 'configChangedHandler', newConfig);\n // Load specific date open hours from the configuration participants\n this.loadSpecificTimeAvailability();\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n }\n }\n }\n\n loadSpecificTimeAvailability() {\n if (!this.specificTimesAvailability || this.specificTimesAvailability.length === 0) {\n return;\n }\n\n // If timezone is provided in the first entry, use it\n if (this.specificTimesAvailability[0].timezone) {\n this.timezone = this.specificTimesAvailability[0].timezone;\n }\n\n // Display entries in chronological order (date, then start time). Configurations edited\n // over time accumulate entries in insertion order, which buried e.g. a second window for\n // an earlier date at the bottom of the list — admins auditing the date-sorted top of the\n // list could not see everything configured for a given date.\n const sortedAvailability = [...this.specificTimesAvailability].sort((a, b) => (a.date === b.date ? a.start.localeCompare(b.start) : a.date.localeCompare(b.date)));\n\n const entries = sortedAvailability.map((item, index) => {\n // Check if both start and end are \"00:00\" - this indicates an unavailable day\n const isUnavailable = item.start === '00:00' && item.end === '00:00';\n\n return {\n id: `specific-time-${index}`,\n date: item.date,\n startTime: isUnavailable ? '09:00am' : convertTo12HourFormat(item.start),\n endTime: isUnavailable ? '05:00pm' : convertTo12HourFormat(item.end),\n isUnavailable,\n };\n });\n\n this.specificDateEntries = entries;\n this.emitValueChanged();\n }\n\n addSpecificTimeAvailability() {\n // Initialize with incremental dates based on existing entries\n // First entry: today, second entry: tomorrow, third entry: day after, etc.\n const today = new Date();\n const targetDate = new Date(today);\n targetDate.setDate(today.getDate() + this.specificDateEntries.length);\n const formattedDate = targetDate.toISOString().split('T')[0];\n\n const newEntry = {\n id: `specific-time-${Date.now()}`,\n date: formattedDate,\n startTime: '09:00am',\n endTime: '05:00pm',\n isUnavailable: false,\n timezone: this.timezone,\n };\n\n this.specificDateEntries = [...this.specificDateEntries, newEntry];\n\n // Clear any global validation errors since we're adding a new valid entry\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n\n this.emitValueChanged();\n }\n\n removeSpecificTimeAvailability(id: string) {\n this.specificDateEntries = this.specificDateEntries.filter(entry => entry.id !== id);\n\n // Clear validation error for the removed entry\n if (this.validationErrors[id]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[id];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n\n toggleAvailability(id: string) {\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === id) {\n return { ...entry, isUnavailable: !entry.isUnavailable };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry since availability state changed\n if (this.validationErrors[id]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[id];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n\n /**\n * Validates a single date entry\n */\n validateEntry(entry: (typeof this.specificDateEntries)[0]): string | null {\n // Check if date is empty or invalid\n if (!entry.date) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.dateRequired');\n }\n\n const dateObj = new Date(entry.date);\n if (isNaN(dateObj.getTime())) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.invalidDateFormat');\n }\n\n // If unavailable, no need to validate times\n if (entry.isUnavailable) {\n return null;\n }\n\n // Validate start and end times are present\n if (!entry.startTime || !entry.endTime) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.timesRequired');\n }\n\n // Validate start time is before end time\n const startMinutes = timeToMinutes(entry.startTime);\n const endMinutes = timeToMinutes(entry.endTime);\n\n if (startMinutes >= endMinutes) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.startTimeBeforeEndTime');\n }\n\n return null;\n }\n\n /**\n * Validates that timezone is set when there are entries\n */\n validateTimezone(): string | null {\n if (this.specificDateEntries.length > 0 && !this.timezone) {\n return i18next.t('nylasSpecificTimeAvailabilityPicker.errors.timezoneRequired');\n }\n return null;\n }\n\n /**\n * Validates all entries and updates validation state\n */\n validateAllEntries() {\n const errors: { [key: string]: string } = {};\n let hasErrors = false;\n\n // Validate timezone first\n const timezoneError = this.validateTimezone();\n if (timezoneError) {\n errors['timezone'] = timezoneError;\n hasErrors = true;\n }\n\n this.specificDateEntries.forEach(entry => {\n const error = this.validateEntry(entry);\n if (error) {\n errors[entry.id] = error;\n hasErrors = true;\n }\n });\n\n this.validationErrors = errors;\n\n // Update form validity\n if (hasErrors) {\n // Prioritize timezone error, then entry errors\n const firstErrorKey = errors['timezone'] ? 'timezone' : Object.keys(errors)[0];\n const firstErrorElement =\n firstErrorKey === 'timezone'\n ? (this.host.shadowRoot?.querySelector('.timezone-selector') as HTMLElement)\n : (this.host.shadowRoot?.querySelector(`[data-entry-id=\"${firstErrorKey}\"]`) as HTMLElement);\n\n if (this.isInternalsAvailable && firstErrorElement) {\n this.internals.setValidity({ customError: true }, 'Please fix validation errors', firstErrorElement);\n }\n } else {\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n }\n\n return !hasErrors;\n }\n\n @Listen('timeChange')\n handleTimeChange(event: CustomEvent<{ key: string; value: string }>) {\n const { key, value } = event.detail;\n const [entryId, timeType] = key.split('_');\n\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === entryId) {\n return {\n ...entry,\n [timeType === 'start' ? 'startTime' : 'endTime']: value,\n };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry\n if (this.validationErrors[entryId]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n }\n\n // Clear form validity errors related to time\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n\n this.emitValueChanged();\n }\n\n @Listen('timeWindowFormError')\n setFormError(event: CustomEvent<{ key: string; message: string }>) {\n const { key, message } = event.detail;\n const [entryId] = key.split('_');\n\n if (message) {\n // Set validation error for this entry\n this.validationErrors = {\n ...this.validationErrors,\n [entryId]: message,\n };\n\n const element = this.host.shadowRoot?.getElementById(key);\n if (element && this.isInternalsAvailable) {\n this.internals.setValidity({ customError: true }, message, element as HTMLInputElement);\n }\n } else {\n // Clear validation error for this entry\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n\n if (this.isInternalsAvailable) {\n this.internals.setValidity({ customError: false });\n }\n }\n }\n\n @Listen('nylasFormDropdownChanged')\n nylasFormDropdownChangedHandler(\n event: CustomEvent<{\n value: string;\n name: string;\n }>,\n ) {\n const { name, value } = event.detail;\n if (name === 'specific-time-timezone') {\n this.timezone = value;\n\n // Clear timezone validation error if it exists\n if (this.validationErrors['timezone']) {\n const newErrors = { ...this.validationErrors };\n delete newErrors['timezone'];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n }\n\n @Listen('nylasFormInputChanged')\n handleFormInputChange(event: CustomEvent<{ value: string; name: string; label: string; type: string; error: string }>) {\n const { name, value } = event.detail;\n\n // Check if this is a date input for our component\n if (name.startsWith('date-') && name.includes('specific-time-')) {\n const entryId = name.replace('date-', '');\n\n this.specificDateEntries = this.specificDateEntries.map(entry => {\n if (entry.id === entryId) {\n return { ...entry, date: value };\n }\n return entry;\n });\n\n // Clear any existing validation error for this entry\n if (this.validationErrors[entryId]) {\n const newErrors = { ...this.validationErrors };\n delete newErrors[entryId];\n this.validationErrors = newErrors;\n }\n\n this.emitValueChanged();\n }\n }\n\n emitValueChanged() {\n // Validate all entries before emitting\n const isValid = this.validateAllEntries();\n\n const specificTimesAvailability = this.specificDateEntries\n .filter(entry => entry.date && (entry.isUnavailable || (entry.startTime && entry.endTime)))\n .map(entry => ({\n date: entry.date,\n start: entry.isUnavailable ? '00:00' : convertTo24HourFormat(entry.startTime),\n end: entry.isUnavailable ? '00:00' : convertTo24HourFormat(entry.endTime),\n timezone: this.timezone,\n }));\n\n const value = JSON.stringify(specificTimesAvailability);\n\n if (this.isInternalsAvailable && isValid) {\n this.internals.setFormValue(value, this.name);\n }\n\n this.valueChanged.emit({\n value,\n name: this.name,\n });\n }\n\n @RegisterComponent<NylasSpecificTimeAvailabilityPicker, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-specific-time-availability-picker',\n stateToProps: new Map([\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n fireRegisterEvent: true,\n })\n render() {\n const timezoneOptions = Object.keys(TIMEZONE_MAP).map(key => ({\n label: TIMEZONE_MAP[key],\n value: key,\n }));\n const selectedTimezoneOption = timezoneOptions.find(i => i.value === this.timezone);\n\n return (\n <Host>\n <div class=\"nylas-specific-time-availability-picker\" part=\"nstap\">\n {!this.hideHeader && (\n <div class=\"header\" part=\"nstap__header\">\n <h3>{i18next.t('nylasSpecificTimeAvailabilityPicker.headerTitle')}</h3>\n <p>\n {i18next.t('nylasSpecificTimeAvailabilityPicker.headerDescription')}\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasSpecificTimeAvailabilityPicker.tooltip.desc')}</span>\n </tooltip-component>\n </p>\n </div>\n )}\n <div class=\"content\" part=\"nstap__content\">\n <section class=\"timezone-selector\" part=\"nstap__timezone-selector\" aria-labelledby=\"timezone-header\">\n <h4 id=\"timezone-header\" class=\"sub-header\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')}\n </h4>\n <p class=\"timezone-description\">{i18next.t('nylasSpecificTimeAvailabilityPicker.timezoneDescription')}</p>\n {selectedTimezoneOption?.label && (\n <select-dropdown\n name=\"specific-time-timezone\"\n searchPlaceholder={i18next.t('search')}\n exportparts=\"sd_dropdown: nstap__timezone-container, sd_dropdown-button: nstap__timezone-button, sd_dropdown-content: nstap__timezone-dropdown-content\"\n options={timezoneOptions}\n defaultSelectedOption={selectedTimezoneOption}\n themeConfig={this.themeConfig}\n aria-label={i18next.t('nylasSpecificTimeAvailabilityPicker.selectTimezone')}\n >\n <span slot=\"select-icon\" aria-hidden=\"true\">\n <globe-icon width=\"20\" height=\"20\" />\n </span>\n </select-dropdown>\n )}\n {this.validationErrors['timezone'] && (\n <div class=\"error-message timezone-error\" part=\"nstap__error-message\" role=\"alert\" aria-live=\"polite\">\n {this.validationErrors['timezone']}\n </div>\n )}\n </section>\n <section class=\"specific-times-section\" part=\"nstap__specific-times-section\" aria-labelledby=\"specific-times-header\">\n <h4 id=\"specific-times-header\" class=\"section-header\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.specificTimesHeader')}\n </h4>\n <p class=\"section-description\">{i18next.t('nylasSpecificTimeAvailabilityPicker.specificTimesDescription')}</p>\n <div class=\"specific-times\" part=\"nstap__specific-times\" role=\"list\">\n {this.specificDateEntries.length === 0 ? (\n <div class=\"empty-state\" part=\"nstap__empty-state\">\n <div class=\"empty-icon\" part=\"nstap__empty-icon\">\n <calendar-icon width=\"32\" height=\"32\" />\n </div>\n <h3 class=\"empty-title\" part=\"nstap__empty-title\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.emptyState.title')}\n </h3>\n <p class=\"empty-subtitle\" part=\"nstap__empty-subtitle\">\n {i18next.t('nylasSpecificTimeAvailabilityPicker.emptyState.subtitle')}\n </p>\n </div>\n ) : (\n this.specificDateEntries.map((entry, index) => (\n <article\n class=\"specific-time-entry\"\n part=\"nstap__specific-time-entry\"\n key={entry.id}\n data-entry-id={entry.id}\n role=\"listitem\"\n aria-label={`Specific time availability entry ${index + 1}`}\n >\n <div class=\"entry-content\" part=\"nstap__entry-content\">\n <div class=\"date-input-container\" part=\"nstap__date-input-container\">\n <nylas-date-component\n name={`date-${entry.id}`}\n defaultValue={entry.date}\n placeholder=\"yyyy-mm-dd\"\n part=\"nstap__date-input\"\n class=\"date-input\"\n themeConfig={this.themeConfig}\n exportparts=\"ic__date: nstap__date-field, ic__input_wrapper: nstap__date-wrapper, ic__label: nstap__date-label\"\n aria-label={`Date for entry ${index + 1}`}\n />\n </div>\n {entry.isUnavailable ? (\n <div class=\"unavailable-text\" part=\"nstap__unavailable-text\" role=\"status\">\n <span class=\"unavailable-label\">{i18next.t('nylasSpecificTimeAvailabilityPicker.entireDayUnavailable')}</span>\n </div>\n ) : (\n <div class=\"time-pickers\" part=\"nstap__time-pickers\" role=\"group\" aria-label=\"Time range\">\n <nylas-time-window-picker\n id={`${entry.id}_start`}\n time={entry.startTime}\n name={`${entry.id}_start`}\n key={`${entry.id}_start`}\n language={this.selectedLanguage}\n hasError={!!this.validationErrors[entry.id]}\n themeConfig={this.themeConfig}\n exportparts=\"time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times\"\n aria-label={`Start time for entry ${index + 1}`}\n />\n <span class=\"time-separator\" aria-hidden=\"true\">\n -\n </span>\n <nylas-time-window-picker\n id={`${entry.id}_end`}\n time={entry.endTime}\n name={`${entry.id}_end`}\n key={`${entry.id}_end`}\n minimumStartTime={entry.startTime}\n language={this.selectedLanguage}\n hasError={!!this.validationErrors[entry.id]}\n themeConfig={this.themeConfig}\n exportparts=\"time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times\"\n aria-label={`End time for entry ${index + 1}`}\n />\n </div>\n )}\n <div class=\"action-buttons\" part=\"nstap__action-buttons\">\n <button\n type=\"button\"\n class={{ 'toggle-button': true, 'unavailable': entry.isUnavailable }}\n part=\"nstap__toggle-button\"\n onClick={() => this.toggleAvailability(entry.id)}\n aria-label={\n entry.isUnavailable\n ? i18next.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')\n : i18next.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable')\n }\n title={\n entry.isUnavailable\n ? i18next.t('nylasSpecificTimeAvailabilityPicker.markAsAvailable')\n : i18next.t('nylasSpecificTimeAvailabilityPicker.markAsUnavailable')\n }\n >\n <calendar-icon width=\"20\" height=\"20\" aria-hidden=\"true\" />\n </button>\n <button\n type=\"button\"\n class=\"remove-button\"\n part=\"nstap__remove-button\"\n onClick={() => this.removeSpecificTimeAvailability(entry.id)}\n aria-label={`Remove specific time entry ${index + 1}`}\n title=\"Remove\"\n >\n <close-icon width=\"16\" height=\"16\" aria-hidden=\"true\" />\n </button>\n </div>\n </div>\n {this.validationErrors[entry.id] && (\n <div class=\"error-message\" part=\"nstap__error-message\" role=\"alert\" aria-live=\"polite\">\n {this.validationErrors[entry.id]}\n </div>\n )}\n </article>\n ))\n )}\n </div>\n <div class=\"add-button-container\" part=\"nstap__add-button-container\">\n <button-component\n id=\"add-specific-time-open-hour\"\n onClick={() => this.addSpecificTimeAvailability()}\n part=\"nstap__add-button\"\n variant=\"basic\"\n aria-label={i18next.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability')}\n >\n <add-circle-icon width=\"24\" height=\"24\" aria-hidden=\"true\" />\n {i18next.t('nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability')}\n </button-component>\n </div>\n </section>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}