@nylas/web-elements 1.1.0-canary.16 → 1.1.0-canary.17

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 (672) hide show
  1. package/dist/cjs/add-circle-icon.cjs.entry.js +1 -1
  2. package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
  3. package/dist/cjs/archive-icon.cjs.entry.js +1 -1
  4. package/dist/cjs/archive-icon_7.cjs.entry.js +7 -7
  5. package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/bold-icon.cjs.entry.js +1 -1
  7. package/dist/cjs/bold-icon_3.cjs.entry.js +3 -3
  8. package/dist/cjs/button-component.cjs.entry.js +1 -1
  9. package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
  10. package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
  12. package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/calendar-info-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/{calendar-info-icon_27.cjs.entry.js → calendar-info-icon_28.cjs.entry.js} +300 -412
  15. package/dist/cjs/calendar-info-icon_28.cjs.entry.js.map +1 -0
  16. package/dist/cjs/calendar-patterns-icon.cjs.entry.js +1 -1
  17. package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
  18. package/dist/cjs/checkbox-component.cjs.entry.js.map +1 -1
  19. package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/chevron-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/chevron-icon_3.cjs.entry.js +4 -4
  22. package/dist/cjs/clock-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/clock-icon_2.cjs.entry.js +2 -2
  24. package/dist/cjs/close-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/flow-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/folder-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/forward-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/forward-icon_6.cjs.entry.js +7 -7
  30. package/dist/cjs/globe-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/google-logo-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/google-logo-icon_4.cjs.entry.js +96 -78
  33. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  34. package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
  35. package/dist/cjs/index-7af03e3f.js +10 -10
  36. package/dist/cjs/index-c14ea8f5.js +18 -14
  37. package/dist/cjs/info-icon.cjs.entry.js +1 -1
  38. package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
  39. package/dist/cjs/input-component.cjs.entry.js +1 -1
  40. package/dist/cjs/input-dropdown.cjs.entry.js +13 -3
  41. package/dist/cjs/input-dropdown.cjs.entry.js.map +1 -1
  42. package/dist/cjs/input-dropdown_2.cjs.entry.js +14 -4
  43. package/dist/cjs/input-dropdown_2.cjs.entry.js.map +1 -1
  44. package/dist/cjs/italic-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/loader.cjs.js +1 -1
  46. package/dist/cjs/loading-icon.cjs.entry.js +1 -1
  47. package/dist/cjs/location-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
  50. package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
  51. package/dist/cjs/nylas-additional-participants.cjs.entry.js +16 -12
  52. package/dist/cjs/nylas-additional-participants.cjs.entry.js.map +1 -1
  53. package/dist/cjs/nylas-availability-picker.cjs.entry.js +27 -16
  54. package/dist/cjs/nylas-availability-picker.cjs.entry.js.map +1 -1
  55. package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +4 -4
  56. package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
  57. package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
  58. package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
  59. package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
  60. package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
  61. package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
  62. package/dist/cjs/nylas-editor-tabs.cjs.entry.js +94 -76
  63. package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
  64. package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
  65. package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
  66. package/dist/cjs/nylas-event-location.cjs.entry.js +3 -3
  67. package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
  68. package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
  69. package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
  70. package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
  71. package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
  72. package/dist/cjs/nylas-login.cjs.entry.js +1 -1
  73. package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
  74. package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
  75. package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
  76. package/dist/cjs/nylas-min-booking-notice.cjs.entry.js +1 -1
  77. package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +1 -1
  78. package/dist/cjs/nylas-notification.cjs.entry.js +1 -1
  79. package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js +142 -0
  80. package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js.map +1 -0
  81. package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
  82. package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
  83. package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
  84. package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
  85. package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
  86. package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
  87. package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
  88. package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
  89. package/dist/cjs/nylas-web-elements.cjs.js +1 -1
  90. package/dist/cjs/people-icon.cjs.entry.js +1 -1
  91. package/dist/cjs/person-icon.cjs.entry.js +1 -1
  92. package/dist/cjs/play-icon.cjs.entry.js +1 -1
  93. package/dist/cjs/play-icon_2.cjs.entry.js +2 -2
  94. package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
  95. package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
  97. package/dist/cjs/reply-icon.cjs.entry.js +1 -1
  98. package/dist/cjs/search-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/select-dropdown.cjs.entry.js +2 -2
  100. package/dist/cjs/sent-icon.cjs.entry.js +1 -1
  101. package/dist/cjs/spam-icon.cjs.entry.js +1 -1
  102. package/dist/cjs/star-icon.cjs.entry.js +1 -1
  103. package/dist/cjs/stop-icon.cjs.entry.js +1 -1
  104. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  105. package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
  106. package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
  107. package/dist/cjs/toggle-switch.cjs.entry.js.map +1 -1
  108. package/dist/cjs/tooltip-component.cjs.entry.js +1 -1
  109. package/dist/cjs/translate-icon.cjs.entry.js +1 -1
  110. package/dist/cjs/trash-icon.cjs.entry.js +1 -1
  111. package/dist/cjs/underline-icon.cjs.entry.js +1 -1
  112. package/dist/cjs/warning-icon.cjs.entry.js +1 -1
  113. package/dist/collection/collection-manifest.json +1 -0
  114. package/dist/collection/common/icons/add-circle.js +1 -1
  115. package/dist/collection/common/icons/archive.js +1 -1
  116. package/dist/collection/common/icons/arrow.js +1 -1
  117. package/dist/collection/common/icons/bold.js +1 -1
  118. package/dist/collection/common/icons/calendar-cancel.js +1 -1
  119. package/dist/collection/common/icons/calendar-check.js +1 -1
  120. package/dist/collection/common/icons/calendar-info.js +1 -1
  121. package/dist/collection/common/icons/calendar-patterns.js +1 -1
  122. package/dist/collection/common/icons/calendar.js +1 -1
  123. package/dist/collection/common/icons/checkmark-circle.js +1 -1
  124. package/dist/collection/common/icons/chevron.js +1 -1
  125. package/dist/collection/common/icons/clock.js +1 -1
  126. package/dist/collection/common/icons/close.js +1 -1
  127. package/dist/collection/common/icons/document-refresh.js +1 -1
  128. package/dist/collection/common/icons/flow.js +1 -1
  129. package/dist/collection/common/icons/folder.js +1 -1
  130. package/dist/collection/common/icons/forward.js +1 -1
  131. package/dist/collection/common/icons/globe.js +1 -1
  132. package/dist/collection/common/icons/google-logo.js +1 -1
  133. package/dist/collection/common/icons/inbox.js +1 -1
  134. package/dist/collection/common/icons/info.js +1 -1
  135. package/dist/collection/common/icons/italic.js +1 -1
  136. package/dist/collection/common/icons/loading.js +1 -1
  137. package/dist/collection/common/icons/location-off.js +1 -1
  138. package/dist/collection/common/icons/location.js +1 -1
  139. package/dist/collection/common/icons/microsoft-logo.js +1 -1
  140. package/dist/collection/common/icons/nylas-logo.js +1 -1
  141. package/dist/collection/common/icons/people.js +1 -1
  142. package/dist/collection/common/icons/person.js +1 -1
  143. package/dist/collection/common/icons/play.js +1 -1
  144. package/dist/collection/common/icons/refresh.js +1 -1
  145. package/dist/collection/common/icons/reply-all.js +1 -1
  146. package/dist/collection/common/icons/reply.js +1 -1
  147. package/dist/collection/common/icons/search.js +1 -1
  148. package/dist/collection/common/icons/sent.js +1 -1
  149. package/dist/collection/common/icons/spam.js +1 -1
  150. package/dist/collection/common/icons/star.js +1 -1
  151. package/dist/collection/common/icons/stop.js +1 -1
  152. package/dist/collection/common/icons/translate.js +1 -1
  153. package/dist/collection/common/icons/trash.js +1 -1
  154. package/dist/collection/common/icons/underline.js +1 -1
  155. package/dist/collection/common/icons/warning.js +1 -1
  156. package/dist/collection/components/design-system/button-component/button-component.js +1 -1
  157. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
  158. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
  159. package/dist/collection/components/design-system/input-component/input-component.js +1 -1
  160. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +31 -3
  161. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js.map +1 -1
  162. package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
  163. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
  164. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +2 -2
  165. package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
  166. package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
  167. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
  168. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js.map +1 -1
  169. package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
  170. package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
  171. package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
  172. package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
  173. package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
  174. package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +1 -1
  175. package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
  176. package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
  177. package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
  178. package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
  179. package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
  180. package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
  181. package/dist/collection/components/nylas-login/nylas-login.js +1 -1
  182. package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
  183. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
  184. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
  185. package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
  186. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +33 -12
  187. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
  188. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.css +1 -1
  189. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +48 -25
  190. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
  191. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
  192. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
  193. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
  194. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +92 -75
  195. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  196. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
  197. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
  198. package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
  199. package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
  200. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +3 -3
  201. package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
  202. package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
  203. package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
  204. package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
  205. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.css +98 -0
  206. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +219 -0
  207. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -0
  208. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +1 -1
  209. package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
  210. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
  211. package/dist/components/add-circle.js +1 -1
  212. package/dist/components/archive.js +1 -1
  213. package/dist/components/arrow.js +1 -1
  214. package/dist/components/bold.js +1 -1
  215. package/dist/components/button-component2.js +1 -1
  216. package/dist/components/calendar-cancel.js +1 -1
  217. package/dist/components/calendar-check.js +1 -1
  218. package/dist/components/calendar-info.js +1 -1
  219. package/dist/components/calendar-patterns.js +1 -1
  220. package/dist/components/calendar.js +1 -1
  221. package/dist/components/checkbox-component2.js +1 -1
  222. package/dist/components/checkbox-component2.js.map +1 -1
  223. package/dist/components/checkmark-circle.js +1 -1
  224. package/dist/components/chevron.js +1 -1
  225. package/dist/components/clock.js +1 -1
  226. package/dist/components/close.js +1 -1
  227. package/dist/components/document-refresh-icon.js +1 -1
  228. package/dist/components/flow.js +1 -1
  229. package/dist/components/folder.js +1 -1
  230. package/dist/components/forward.js +1 -1
  231. package/dist/components/globe.js +1 -1
  232. package/dist/components/google-logo.js +1 -1
  233. package/dist/components/inbox.js +1 -1
  234. package/dist/components/info.js +1 -1
  235. package/dist/components/input-component2.js +1 -1
  236. package/dist/components/input-dropdown2.js +14 -3
  237. package/dist/components/input-dropdown2.js.map +1 -1
  238. package/dist/components/italic.js +1 -1
  239. package/dist/components/loading.js +1 -1
  240. package/dist/components/location-off.js +1 -1
  241. package/dist/components/location.js +1 -1
  242. package/dist/components/microsoft-logo.js +1 -1
  243. package/dist/components/multi-select-dropdown2.js +2 -2
  244. package/dist/components/nylas-additional-participants2.js +17 -13
  245. package/dist/components/nylas-additional-participants2.js.map +1 -1
  246. package/dist/components/nylas-availability-picker2.js +28 -16
  247. package/dist/components/nylas-availability-picker2.js.map +1 -1
  248. package/dist/components/nylas-cancel-booking-form2.js +1 -1
  249. package/dist/components/nylas-cancellation-policy2.js +1 -1
  250. package/dist/components/nylas-cancelled-event-card2.js +1 -1
  251. package/dist/components/nylas-composer2.js +1 -1
  252. package/dist/components/nylas-custom-booking-flow.js +1 -1
  253. package/dist/components/nylas-customize-booking-settings2.js +1 -1
  254. package/dist/components/nylas-editor-tabs2.js +184 -154
  255. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  256. package/dist/components/nylas-event-info2.js +1 -1
  257. package/dist/components/nylas-event-limits2.js +1 -1
  258. package/dist/components/nylas-event-location2.js +3 -3
  259. package/dist/components/nylas-form-card2.js +1 -1
  260. package/dist/components/nylas-if-state.js +1 -1
  261. package/dist/components/nylas-limit-future-bookings2.js +1 -1
  262. package/dist/components/nylas-list-folders.js +1 -1
  263. package/dist/components/nylas-list-threads.js +1 -1
  264. package/dist/components/nylas-login.js +1 -1
  265. package/dist/components/nylas-logo2.js +1 -1
  266. package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
  267. package/dist/components/nylas-mailbox.js +1 -1
  268. package/dist/components/nylas-min-booking-notice2.js +1 -1
  269. package/dist/components/nylas-min-cancellation-notice2.js +1 -1
  270. package/dist/components/nylas-notification2.js +1 -1
  271. package/dist/components/nylas-participants-custom-availability.d.ts +11 -0
  272. package/dist/components/nylas-participants-custom-availability.js +8 -0
  273. package/dist/components/nylas-participants-custom-availability.js.map +1 -0
  274. package/dist/components/nylas-participants-custom-availability2.js +218 -0
  275. package/dist/components/nylas-participants-custom-availability2.js.map +1 -0
  276. package/dist/components/nylas-provider.js +1 -1
  277. package/dist/components/nylas-scheduler-editor.js +100 -88
  278. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  279. package/dist/components/nylas-summarize-message-button2.js +2 -2
  280. package/dist/components/nylas-threads-refresh.js +2 -2
  281. package/dist/components/nylas-threads-search.js +1 -1
  282. package/dist/components/nylas-time-window-picker2.js +1 -1
  283. package/dist/components/nylas-timeslot-interval2.js +2 -2
  284. package/dist/components/nylas-view-email2.js +1 -1
  285. package/dist/components/nylas-view-thread.js +1 -1
  286. package/dist/components/people.js +1 -1
  287. package/dist/components/person.js +1 -1
  288. package/dist/components/play.js +1 -1
  289. package/dist/components/radio-button-group2.js +1 -1
  290. package/dist/components/refresh.js +1 -1
  291. package/dist/components/reply-all.js +1 -1
  292. package/dist/components/reply.js +1 -1
  293. package/dist/components/search.js +1 -1
  294. package/dist/components/select-dropdown2.js +2 -2
  295. package/dist/components/sent.js +1 -1
  296. package/dist/components/spam.js +1 -1
  297. package/dist/components/star.js +1 -1
  298. package/dist/components/stop.js +1 -1
  299. package/dist/components/textarea-component.js +1 -1
  300. package/dist/components/time-period-selector2.js +1 -1
  301. package/dist/components/toggle-switch.js +1 -49
  302. package/dist/components/toggle-switch.js.map +1 -1
  303. package/dist/components/toggle-switch2.js +53 -0
  304. package/dist/components/toggle-switch2.js.map +1 -0
  305. package/dist/components/toolitp-component.js +1 -1
  306. package/dist/components/translate.js +1 -1
  307. package/dist/components/trash.js +1 -1
  308. package/dist/components/underline.js +1 -1
  309. package/dist/components/warning.js +1 -1
  310. package/dist/esm/add-circle-icon.entry.js +1 -1
  311. package/dist/esm/add-circle-icon_2.entry.js +2 -2
  312. package/dist/esm/archive-icon.entry.js +1 -1
  313. package/dist/esm/archive-icon_7.entry.js +7 -7
  314. package/dist/esm/arrow-icon.entry.js +1 -1
  315. package/dist/esm/bold-icon.entry.js +1 -1
  316. package/dist/esm/bold-icon_3.entry.js +3 -3
  317. package/dist/esm/button-component.entry.js +1 -1
  318. package/dist/esm/calendar-cancel-icon.entry.js +1 -1
  319. package/dist/esm/calendar-check-icon.entry.js +1 -1
  320. package/dist/esm/calendar-check-icon_2.entry.js +2 -2
  321. package/dist/esm/calendar-icon.entry.js +1 -1
  322. package/dist/esm/calendar-info-icon.entry.js +1 -1
  323. package/dist/esm/{calendar-info-icon_27.entry.js → calendar-info-icon_28.entry.js} +300 -413
  324. package/dist/esm/calendar-info-icon_28.entry.js.map +1 -0
  325. package/dist/esm/calendar-patterns-icon.entry.js +1 -1
  326. package/dist/esm/checkbox-component.entry.js +1 -1
  327. package/dist/esm/checkbox-component.entry.js.map +1 -1
  328. package/dist/esm/checkmark-circle-icon.entry.js +1 -1
  329. package/dist/esm/chevron-icon.entry.js +1 -1
  330. package/dist/esm/chevron-icon_3.entry.js +4 -4
  331. package/dist/esm/clock-icon.entry.js +1 -1
  332. package/dist/esm/clock-icon_2.entry.js +2 -2
  333. package/dist/esm/close-icon.entry.js +1 -1
  334. package/dist/esm/document-refresh-icon.entry.js +1 -1
  335. package/dist/esm/flow-icon.entry.js +1 -1
  336. package/dist/esm/folder-icon.entry.js +1 -1
  337. package/dist/esm/forward-icon.entry.js +1 -1
  338. package/dist/esm/forward-icon_6.entry.js +7 -7
  339. package/dist/esm/globe-icon.entry.js +1 -1
  340. package/dist/esm/google-logo-icon.entry.js +1 -1
  341. package/dist/esm/google-logo-icon_4.entry.js +96 -78
  342. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  343. package/dist/esm/inbox-icon.entry.js +1 -1
  344. package/dist/esm/index-582cfc93.js +18 -14
  345. package/dist/esm/index-7cb0dd3d.js +10 -10
  346. package/dist/esm/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
  347. package/dist/esm/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
  348. package/dist/esm/index.js +2 -2
  349. package/dist/esm/info-icon.entry.js +1 -1
  350. package/dist/esm/info-icon_2.entry.js +2 -2
  351. package/dist/esm/input-component.entry.js +1 -1
  352. package/dist/esm/input-dropdown.entry.js +13 -3
  353. package/dist/esm/input-dropdown.entry.js.map +1 -1
  354. package/dist/esm/input-dropdown_2.entry.js +14 -4
  355. package/dist/esm/input-dropdown_2.entry.js.map +1 -1
  356. package/dist/esm/italic-icon.entry.js +1 -1
  357. package/dist/esm/loader.js +1 -1
  358. package/dist/esm/loading-icon.entry.js +1 -1
  359. package/dist/esm/location-icon.entry.js +1 -1
  360. package/dist/esm/location-off-icon.entry.js +1 -1
  361. package/dist/esm/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
  362. package/dist/esm/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
  363. package/dist/esm/microsoft-logo-icon.entry.js +1 -1
  364. package/dist/esm/multi-select-dropdown.entry.js +3 -3
  365. package/dist/esm/nylas-additional-participants.entry.js +19 -15
  366. package/dist/esm/nylas-additional-participants.entry.js.map +1 -1
  367. package/dist/esm/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
  368. package/dist/esm/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
  369. package/dist/esm/nylas-availability-picker.entry.js +29 -18
  370. package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
  371. package/dist/esm/nylas-booked-event-card.entry.js +2 -2
  372. package/dist/esm/nylas-booked-event-card_10.entry.js +4 -4
  373. package/dist/esm/nylas-booking-calendar-picker.entry.js +2 -2
  374. package/dist/esm/nylas-booking-form.entry.js +2 -2
  375. package/dist/esm/nylas-buffer-time.entry.js +2 -2
  376. package/dist/esm/nylas-calendar-picker.entry.js +2 -2
  377. package/dist/esm/nylas-cancel-booking-form.entry.js +3 -3
  378. package/dist/esm/nylas-cancellation-policy.entry.js +3 -3
  379. package/dist/esm/nylas-cancelled-event-card.entry.js +3 -3
  380. package/dist/esm/nylas-composer.entry.js +2 -2
  381. package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
  382. package/dist/esm/nylas-customize-booking-settings.entry.js +3 -3
  383. package/dist/esm/nylas-date-picker.entry.js +2 -2
  384. package/dist/esm/nylas-editor-tabs.entry.js +96 -78
  385. package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
  386. package/dist/esm/nylas-event-description.entry.js +2 -2
  387. package/dist/esm/nylas-event-duration.entry.js +2 -2
  388. package/dist/esm/nylas-event-info.entry.js +3 -3
  389. package/dist/esm/nylas-event-limits.entry.js +3 -3
  390. package/dist/esm/nylas-event-location.entry.js +5 -5
  391. package/dist/esm/nylas-event-title.entry.js +2 -2
  392. package/dist/esm/nylas-form-card.entry.js +3 -3
  393. package/dist/esm/nylas-if-state.entry.js +3 -3
  394. package/dist/esm/nylas-limit-future-bookings.entry.js +3 -3
  395. package/dist/esm/nylas-list-configurations.entry.js +2 -2
  396. package/dist/esm/nylas-list-folders.entry.js +3 -3
  397. package/dist/esm/nylas-list-threads.entry.js +3 -3
  398. package/dist/esm/nylas-locale-switch.entry.js +2 -2
  399. package/dist/esm/nylas-login.entry.js +3 -3
  400. package/dist/esm/nylas-logo.entry.js +1 -1
  401. package/dist/esm/nylas-mailbox-pagination.entry.js +2 -2
  402. package/dist/esm/nylas-mailbox-toolbar-button.entry.js +3 -3
  403. package/dist/esm/nylas-mailbox.entry.js +4 -4
  404. package/dist/esm/nylas-min-booking-notice.entry.js +3 -3
  405. package/dist/esm/nylas-min-cancellation-notice.entry.js +3 -3
  406. package/dist/esm/nylas-notification.entry.js +2 -2
  407. package/dist/esm/nylas-participants-custom-availability.entry.js +138 -0
  408. package/dist/esm/nylas-participants-custom-availability.entry.js.map +1 -0
  409. package/dist/esm/nylas-provider.entry.js +5 -5
  410. package/dist/esm/nylas-scheduler-editor.entry.js +3 -3
  411. package/dist/esm/nylas-scheduling.entry.js +3 -3
  412. package/dist/esm/nylas-selected-event-card.entry.js +2 -2
  413. package/dist/esm/nylas-summarize-message-button.entry.js +4 -4
  414. package/dist/esm/nylas-threads-refresh.entry.js +4 -4
  415. package/dist/esm/nylas-threads-search.entry.js +3 -3
  416. package/dist/esm/nylas-time-window-picker.entry.js +2 -2
  417. package/dist/esm/nylas-timeslot-interval.entry.js +4 -4
  418. package/dist/esm/nylas-timeslot-picker.entry.js +2 -2
  419. package/dist/esm/nylas-view-email.entry.js +2 -2
  420. package/dist/esm/nylas-view-thread.entry.js +3 -3
  421. package/dist/esm/nylas-web-elements.js +1 -1
  422. package/dist/esm/people-icon.entry.js +1 -1
  423. package/dist/esm/person-icon.entry.js +1 -1
  424. package/dist/esm/play-icon.entry.js +1 -1
  425. package/dist/esm/play-icon_2.entry.js +2 -2
  426. package/dist/esm/radio-button-group.entry.js +1 -1
  427. package/dist/esm/refresh-icon.entry.js +1 -1
  428. package/dist/esm/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
  429. package/dist/esm/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
  430. package/dist/esm/reply-all-icon.entry.js +1 -1
  431. package/dist/esm/reply-icon.entry.js +1 -1
  432. package/dist/esm/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
  433. package/dist/{nylas-web-elements/scheduler-store-17f7f1c8.js.map → esm/scheduler-store-6c4866d6.js.map} +1 -1
  434. package/dist/esm/search-icon.entry.js +1 -1
  435. package/dist/esm/select-dropdown.entry.js +2 -2
  436. package/dist/esm/sent-icon.entry.js +1 -1
  437. package/dist/esm/spam-icon.entry.js +1 -1
  438. package/dist/esm/star-icon.entry.js +1 -1
  439. package/dist/esm/stop-icon.entry.js +1 -1
  440. package/dist/esm/textarea-component.entry.js +1 -1
  441. package/dist/esm/time-period-selector.entry.js +2 -2
  442. package/dist/esm/toggle-switch.entry.js +1 -1
  443. package/dist/esm/toggle-switch.entry.js.map +1 -1
  444. package/dist/esm/tooltip-component.entry.js +1 -1
  445. package/dist/esm/translate-icon.entry.js +1 -1
  446. package/dist/esm/trash-icon.entry.js +1 -1
  447. package/dist/esm/underline-icon.entry.js +1 -1
  448. package/dist/{nylas-web-elements/utils-49a1d17b.js → esm/utils-04c10cbd.js} +2 -2
  449. package/dist/esm/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
  450. package/dist/esm/warning-icon.entry.js +1 -1
  451. package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
  452. package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
  453. package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
  454. package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
  455. package/dist/nylas-web-elements/button-component.entry.js +1 -1
  456. package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
  457. package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
  458. package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
  459. package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
  460. package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
  461. package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
  462. package/dist/nylas-web-elements/checkbox-component.entry.js.map +1 -1
  463. package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
  464. package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
  465. package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
  466. package/dist/nylas-web-elements/close-icon.entry.js +1 -1
  467. package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
  468. package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
  469. package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
  470. package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
  471. package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
  472. package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
  473. package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
  474. package/dist/nylas-web-elements/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
  475. package/dist/nylas-web-elements/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
  476. package/dist/nylas-web-elements/index.esm.js +2 -2
  477. package/dist/nylas-web-elements/info-icon.entry.js +1 -1
  478. package/dist/nylas-web-elements/input-component.entry.js +1 -1
  479. package/dist/nylas-web-elements/input-dropdown.entry.js +13 -3
  480. package/dist/nylas-web-elements/input-dropdown.entry.js.map +1 -1
  481. package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
  482. package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
  483. package/dist/nylas-web-elements/location-icon.entry.js +1 -1
  484. package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
  485. package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
  486. package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
  487. package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
  488. package/dist/nylas-web-elements/multi-select-dropdown.entry.js +3 -3
  489. package/dist/nylas-web-elements/nylas-additional-participants.entry.js +19 -15
  490. package/dist/nylas-web-elements/nylas-additional-participants.entry.js.map +1 -1
  491. package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
  492. package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
  493. package/dist/nylas-web-elements/nylas-availability-picker.entry.js +29 -18
  494. package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
  495. package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +2 -2
  496. package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +2 -2
  497. package/dist/nylas-web-elements/nylas-booking-form.entry.js +2 -2
  498. package/dist/nylas-web-elements/nylas-buffer-time.entry.js +2 -2
  499. package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +2 -2
  500. package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +3 -3
  501. package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +3 -3
  502. package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +3 -3
  503. package/dist/nylas-web-elements/nylas-composer.entry.js +2 -2
  504. package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
  505. package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +3 -3
  506. package/dist/nylas-web-elements/nylas-date-picker.entry.js +2 -2
  507. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +96 -78
  508. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
  509. package/dist/nylas-web-elements/nylas-event-description.entry.js +2 -2
  510. package/dist/nylas-web-elements/nylas-event-duration.entry.js +2 -2
  511. package/dist/nylas-web-elements/nylas-event-info.entry.js +3 -3
  512. package/dist/nylas-web-elements/nylas-event-limits.entry.js +3 -3
  513. package/dist/nylas-web-elements/nylas-event-location.entry.js +5 -5
  514. package/dist/nylas-web-elements/nylas-event-title.entry.js +2 -2
  515. package/dist/nylas-web-elements/nylas-form-card.entry.js +3 -3
  516. package/dist/nylas-web-elements/nylas-if-state.entry.js +3 -3
  517. package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +3 -3
  518. package/dist/nylas-web-elements/nylas-list-configurations.entry.js +2 -2
  519. package/dist/nylas-web-elements/nylas-list-folders.entry.js +3 -3
  520. package/dist/nylas-web-elements/nylas-list-threads.entry.js +3 -3
  521. package/dist/nylas-web-elements/nylas-locale-switch.entry.js +2 -2
  522. package/dist/nylas-web-elements/nylas-login.entry.js +3 -3
  523. package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
  524. package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +2 -2
  525. package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +3 -3
  526. package/dist/nylas-web-elements/nylas-mailbox.entry.js +4 -4
  527. package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +3 -3
  528. package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +3 -3
  529. package/dist/nylas-web-elements/nylas-notification.entry.js +2 -2
  530. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +138 -0
  531. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js.map +1 -0
  532. package/dist/nylas-web-elements/nylas-provider.entry.js +5 -5
  533. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +3 -3
  534. package/dist/nylas-web-elements/nylas-scheduling.entry.js +3 -3
  535. package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +2 -2
  536. package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +4 -4
  537. package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +4 -4
  538. package/dist/nylas-web-elements/nylas-threads-search.entry.js +3 -3
  539. package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +2 -2
  540. package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +4 -4
  541. package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +2 -2
  542. package/dist/nylas-web-elements/nylas-view-email.entry.js +2 -2
  543. package/dist/nylas-web-elements/nylas-view-thread.entry.js +3 -3
  544. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  545. package/dist/nylas-web-elements/{p-e4a7746d.entry.js → p-012cb022.entry.js} +2 -2
  546. package/dist/nylas-web-elements/{p-b9064de4.entry.js → p-017f2538.entry.js} +2 -2
  547. package/dist/nylas-web-elements/p-086746ee.entry.js +2 -0
  548. package/dist/nylas-web-elements/p-0919bbbe.entry.js +2 -0
  549. package/dist/nylas-web-elements/{p-da21471c.entry.js → p-13eb1a05.entry.js} +2 -2
  550. package/dist/nylas-web-elements/{p-deafc6bc.entry.js → p-1569f74f.entry.js} +2 -2
  551. package/dist/nylas-web-elements/{p-6e888067.entry.js → p-23c143f6.entry.js} +2 -2
  552. package/dist/nylas-web-elements/p-2743621d.entry.js +2 -0
  553. package/dist/nylas-web-elements/p-2743621d.entry.js.map +1 -0
  554. package/dist/nylas-web-elements/{p-a7dd4c24.entry.js → p-30144ca0.entry.js} +2 -2
  555. package/dist/nylas-web-elements/{p-11f94952.entry.js → p-336631dd.entry.js} +2 -2
  556. package/dist/nylas-web-elements/p-43bfaa93.entry.js +2 -0
  557. package/dist/nylas-web-elements/{p-120d2c72.entry.js → p-4e48846a.entry.js} +2 -2
  558. package/dist/nylas-web-elements/{p-4b84ab3f.entry.js → p-5fd52ecd.entry.js} +2 -2
  559. package/dist/nylas-web-elements/p-62cf46ee.entry.js +2 -0
  560. package/dist/nylas-web-elements/{p-32682655.entry.js → p-672f1951.entry.js} +2 -2
  561. package/dist/nylas-web-elements/{p-ace74b9d.entry.js → p-84c53084.entry.js} +2 -2
  562. package/dist/nylas-web-elements/{p-470536e0.entry.js → p-8c1a5e57.entry.js} +2 -2
  563. package/dist/nylas-web-elements/p-8eddadb3.entry.js +2 -0
  564. package/dist/nylas-web-elements/{p-0dbc0c01.entry.js.map → p-8eddadb3.entry.js.map} +1 -1
  565. package/dist/nylas-web-elements/p-938d4ec9.entry.js +2 -0
  566. package/dist/nylas-web-elements/{p-fbac3865.entry.js.map → p-938d4ec9.entry.js.map} +1 -1
  567. package/dist/nylas-web-elements/{p-6891ad5d.entry.js → p-a118f20c.entry.js} +2 -2
  568. package/dist/nylas-web-elements/{p-24082558.entry.js → p-a5dbdc8e.entry.js} +2 -2
  569. package/dist/nylas-web-elements/{p-4fdc6122.entry.js → p-a7640232.entry.js} +2 -2
  570. package/dist/nylas-web-elements/{p-09fec39c.entry.js → p-a804616a.entry.js} +2 -2
  571. package/dist/nylas-web-elements/{p-27db7b0b.entry.js → p-ad93d3bd.entry.js} +3 -3
  572. package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js → p-b3d46e08.entry.js} +2 -2
  573. package/dist/nylas-web-elements/{p-4b1466b3.entry.js → p-b443f769.entry.js} +2 -2
  574. package/dist/nylas-web-elements/{p-c8c737ed.entry.js → p-c1df61d0.entry.js} +2 -2
  575. package/dist/nylas-web-elements/{p-395f49eb.entry.js → p-cc67e6a8.entry.js} +2 -2
  576. package/dist/nylas-web-elements/{p-4f548e66.entry.js → p-d1d984c5.entry.js} +2 -2
  577. package/dist/nylas-web-elements/{p-98a2f588.entry.js → p-d9a145a5.entry.js} +2 -2
  578. package/dist/nylas-web-elements/p-dcb497d4.entry.js +2 -0
  579. package/dist/nylas-web-elements/p-dcb497d4.entry.js.map +1 -0
  580. package/dist/nylas-web-elements/{p-13b003b5.entry.js → p-df2b34ee.entry.js} +2 -2
  581. package/dist/nylas-web-elements/{p-ec26560f.entry.js → p-e9c1e983.entry.js} +2 -2
  582. package/dist/nylas-web-elements/p-e9f7d494.entry.js +2 -0
  583. package/dist/nylas-web-elements/{p-53da3000.entry.js.map → p-e9f7d494.entry.js.map} +1 -1
  584. package/dist/nylas-web-elements/p-f1e9ed6b.entry.js +2 -0
  585. package/dist/nylas-web-elements/p-f1e9ed6b.entry.js.map +1 -0
  586. package/dist/nylas-web-elements/p-f8e0164c.entry.js +2 -0
  587. package/dist/nylas-web-elements/p-f8e0164c.entry.js.map +1 -0
  588. package/dist/nylas-web-elements/{p-b27e34a9.entry.js → p-fbfa3a7d.entry.js} +2 -2
  589. package/dist/nylas-web-elements/{p-d5146511.entry.js → p-fd8e29e6.entry.js} +2 -2
  590. package/dist/nylas-web-elements/people-icon.entry.js +1 -1
  591. package/dist/nylas-web-elements/person-icon.entry.js +1 -1
  592. package/dist/nylas-web-elements/play-icon.entry.js +1 -1
  593. package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
  594. package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
  595. package/dist/nylas-web-elements/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
  596. package/dist/nylas-web-elements/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
  597. package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
  598. package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
  599. package/dist/nylas-web-elements/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
  600. package/dist/{esm/scheduler-store-17f7f1c8.js.map → nylas-web-elements/scheduler-store-6c4866d6.js.map} +1 -1
  601. package/dist/nylas-web-elements/search-icon.entry.js +1 -1
  602. package/dist/nylas-web-elements/select-dropdown.entry.js +2 -2
  603. package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
  604. package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
  605. package/dist/nylas-web-elements/star-icon.entry.js +1 -1
  606. package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
  607. package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
  608. package/dist/nylas-web-elements/time-period-selector.entry.js +2 -2
  609. package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
  610. package/dist/nylas-web-elements/toggle-switch.entry.js.map +1 -1
  611. package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
  612. package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
  613. package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
  614. package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
  615. package/dist/{esm/utils-49a1d17b.js → nylas-web-elements/utils-04c10cbd.js} +2 -2
  616. package/dist/nylas-web-elements/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
  617. package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
  618. package/dist/types/components/design-system/input-dropdown/input-dropdown.d.ts +2 -0
  619. package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +6 -1
  620. package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +2 -4
  621. package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +12 -5
  622. package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +36 -0
  623. package/dist/types/components.d.ts +122 -9
  624. package/package.json +1 -1
  625. package/dist/cjs/calendar-info-icon_27.cjs.entry.js.map +0 -1
  626. package/dist/esm/calendar-info-icon_27.entry.js.map +0 -1
  627. package/dist/nylas-web-elements/p-0dbc0c01.entry.js +0 -2
  628. package/dist/nylas-web-elements/p-3fd63454.entry.js +0 -2
  629. package/dist/nylas-web-elements/p-3fd63454.entry.js.map +0 -1
  630. package/dist/nylas-web-elements/p-427548f5.entry.js +0 -2
  631. package/dist/nylas-web-elements/p-427548f5.entry.js.map +0 -1
  632. package/dist/nylas-web-elements/p-53da3000.entry.js +0 -2
  633. package/dist/nylas-web-elements/p-7fac2bba.entry.js +0 -2
  634. package/dist/nylas-web-elements/p-96418bc6.entry.js +0 -2
  635. package/dist/nylas-web-elements/p-9acfea5f.entry.js +0 -2
  636. package/dist/nylas-web-elements/p-9acfea5f.entry.js.map +0 -1
  637. package/dist/nylas-web-elements/p-c170c56d.entry.js +0 -2
  638. package/dist/nylas-web-elements/p-de63bc35.entry.js +0 -2
  639. package/dist/nylas-web-elements/p-efd5b80a.entry.js +0 -2
  640. package/dist/nylas-web-elements/p-efd5b80a.entry.js.map +0 -1
  641. package/dist/nylas-web-elements/p-fbac3865.entry.js +0 -2
  642. /package/dist/nylas-web-elements/{p-e4a7746d.entry.js.map → p-012cb022.entry.js.map} +0 -0
  643. /package/dist/nylas-web-elements/{p-b9064de4.entry.js.map → p-017f2538.entry.js.map} +0 -0
  644. /package/dist/nylas-web-elements/{p-96418bc6.entry.js.map → p-086746ee.entry.js.map} +0 -0
  645. /package/dist/nylas-web-elements/{p-de63bc35.entry.js.map → p-0919bbbe.entry.js.map} +0 -0
  646. /package/dist/nylas-web-elements/{p-da21471c.entry.js.map → p-13eb1a05.entry.js.map} +0 -0
  647. /package/dist/nylas-web-elements/{p-deafc6bc.entry.js.map → p-1569f74f.entry.js.map} +0 -0
  648. /package/dist/nylas-web-elements/{p-6e888067.entry.js.map → p-23c143f6.entry.js.map} +0 -0
  649. /package/dist/nylas-web-elements/{p-a7dd4c24.entry.js.map → p-30144ca0.entry.js.map} +0 -0
  650. /package/dist/nylas-web-elements/{p-11f94952.entry.js.map → p-336631dd.entry.js.map} +0 -0
  651. /package/dist/nylas-web-elements/{p-7fac2bba.entry.js.map → p-43bfaa93.entry.js.map} +0 -0
  652. /package/dist/nylas-web-elements/{p-120d2c72.entry.js.map → p-4e48846a.entry.js.map} +0 -0
  653. /package/dist/nylas-web-elements/{p-4b84ab3f.entry.js.map → p-5fd52ecd.entry.js.map} +0 -0
  654. /package/dist/nylas-web-elements/{p-c170c56d.entry.js.map → p-62cf46ee.entry.js.map} +0 -0
  655. /package/dist/nylas-web-elements/{p-32682655.entry.js.map → p-672f1951.entry.js.map} +0 -0
  656. /package/dist/nylas-web-elements/{p-ace74b9d.entry.js.map → p-84c53084.entry.js.map} +0 -0
  657. /package/dist/nylas-web-elements/{p-470536e0.entry.js.map → p-8c1a5e57.entry.js.map} +0 -0
  658. /package/dist/nylas-web-elements/{p-6891ad5d.entry.js.map → p-a118f20c.entry.js.map} +0 -0
  659. /package/dist/nylas-web-elements/{p-24082558.entry.js.map → p-a5dbdc8e.entry.js.map} +0 -0
  660. /package/dist/nylas-web-elements/{p-4fdc6122.entry.js.map → p-a7640232.entry.js.map} +0 -0
  661. /package/dist/nylas-web-elements/{p-09fec39c.entry.js.map → p-a804616a.entry.js.map} +0 -0
  662. /package/dist/nylas-web-elements/{p-27db7b0b.entry.js.map → p-ad93d3bd.entry.js.map} +0 -0
  663. /package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js.map → p-b3d46e08.entry.js.map} +0 -0
  664. /package/dist/nylas-web-elements/{p-4b1466b3.entry.js.map → p-b443f769.entry.js.map} +0 -0
  665. /package/dist/nylas-web-elements/{p-c8c737ed.entry.js.map → p-c1df61d0.entry.js.map} +0 -0
  666. /package/dist/nylas-web-elements/{p-395f49eb.entry.js.map → p-cc67e6a8.entry.js.map} +0 -0
  667. /package/dist/nylas-web-elements/{p-4f548e66.entry.js.map → p-d1d984c5.entry.js.map} +0 -0
  668. /package/dist/nylas-web-elements/{p-98a2f588.entry.js.map → p-d9a145a5.entry.js.map} +0 -0
  669. /package/dist/nylas-web-elements/{p-13b003b5.entry.js.map → p-df2b34ee.entry.js.map} +0 -0
  670. /package/dist/nylas-web-elements/{p-ec26560f.entry.js.map → p-e9c1e983.entry.js.map} +0 -0
  671. /package/dist/nylas-web-elements/{p-b27e34a9.entry.js.map → p-fbfa3a7d.entry.js.map} +0 -0
  672. /package/dist/nylas-web-elements/{p-d5146511.entry.js.map → p-fd8e29e6.entry.js.map} +0 -0
@@ -469,7 +469,7 @@ const NylasCancelBookingForm = class {
469
469
  utils.debug(`[nylas-cancel-booking-form] Component disconnected`);
470
470
  }
471
471
  render() {
472
- return (index.h(index.Host, { key: '073a93d34ef7f08acaa827d0e5f391481572c447', part: "ncec" }, index.h("sp-theme", { key: 'b2183d3473931a5d1dd18dfdbe32fed0128d5dc1', theme: "spectrum", scale: "medium" }, index.h("div", { key: 'f9147a9d4041b5848bd11f06da7c96e98af3d9bd', class: "nylas-cancel-booking-form", part: "ncec__card" }, index.h("div", { key: '15da6ffbfe870b80bd057415469a4c94c1b3a243', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: 'f3f36d408dbbe9717ff2ca13981714c36a4ba160' })), index.h("h3", { key: '56cd0d658ba9a1c63cd0017514a190c42796dbf4', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), index.h("div", { key: 'db6672c70cc566544ec748f9c7a7426000e0c619', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), index.h("form", { key: 'd227b962561915e823a151a289b135c1d9065510', onSubmit: this.handleSubmitCancelBooking }, index.h("sp-field-label", { key: '42eea73d2ffb041b90fbdffdc0c7e16603eee949', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", index.h("span", { key: '57978569e7bd5828b9dfaee053de9a8fae0892d5', class: "required" }, "*")), index.h("sp-textfield", { key: '08eb8ef56d7536053939086f5da1d5137e43b201', id: "cancel-reason", class: this.cancellationError ? 'error' : '', part: "ncec__reason-textarea", multiline: true, value: this.cancellationReason, onInput: this.handleOnChangeCancellationReason, onFocus: this.handleOnChangeCancellationReason, invalid: !!this.cancellationError }, index.h("sp-help-text", { key: 'dd985c41efd6427e1cec09874caee5c5d345c1cb', slot: "negative-help-text" }, this.cancellationError)), index.h("sp-button", { key: '97705e808b56f0d373dc1fa705fd61b912ed643e', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), index.h("sp-button", { key: '21ae78e3492ad79cbee485709bb863c29f4b041f', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
472
+ return (index.h(index.Host, { key: '25f45d91057f52263ae313ffed14d56ba22a783d', part: "ncec" }, index.h("sp-theme", { key: 'c213bc36d8459f0c206ca19bdd77d2d6b5ba5c1b', theme: "spectrum", scale: "medium" }, index.h("div", { key: 'bd50aa9a5c416825bc6b05c0bf47d85a31021c29', class: "nylas-cancel-booking-form", part: "ncec__card" }, index.h("div", { key: '9654b0cbda12436ac025265f82aa8bfe0a127fbd', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: '3a97606f7c5f2e0f9c08dc7f0b199e56a4afa7f4' })), index.h("h3", { key: '26c0a115101786847fa681fa2cb3492561516f64', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), index.h("div", { key: '05fe59fff1fa6b8bf38313bef5457d4022674570', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), index.h("form", { key: '6c3c1365bde80d1915026f125be9208c3c16d69c', onSubmit: this.handleSubmitCancelBooking }, index.h("sp-field-label", { key: 'fca2f04d8300b0e1be7a8071fed69c714f82491e', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", index.h("span", { key: '1a77038fbda4048fca0e7cc8a39ad357a10f0fd7', class: "required" }, "*")), index.h("sp-textfield", { key: 'dbb19d14b09f7b85776ca288ec8f9fe58d5080f5', id: "cancel-reason", class: this.cancellationError ? 'error' : '', part: "ncec__reason-textarea", multiline: true, value: this.cancellationReason, onInput: this.handleOnChangeCancellationReason, onFocus: this.handleOnChangeCancellationReason, invalid: !!this.cancellationError }, index.h("sp-help-text", { key: 'e2e0c9794cae46b4a5cc857156d904a1236ccb49', slot: "negative-help-text" }, this.cancellationError)), index.h("sp-button", { key: 'a647e3e70704325f3986e6a869b65a5ec7495354', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), index.h("sp-button", { key: 'b8b732ceafaf6d1090cf7b1a3d979854e17684ca', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
473
473
  }
474
474
  static get watchers() { return {
475
475
  "configSettings": ["configSettingsChangedHandler"]
@@ -546,7 +546,7 @@ const NylasCancelledEventCard = class {
546
546
  utils.debug(`[nylas-cancelled-event-card] Component disconnected`);
547
547
  }
548
548
  render() {
549
- return (index.h(index.Host, { key: '11c4720a791169b5d562f484fecc2e5586bbdeaf', part: "ncec" }, index.h("sp-theme", { key: 'ccd04e6a1a895ad4be18bdb14d27a1c7403a0568', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: 'a0360afadc55f58d20e651cb33036aa364a3740e', class: "nylas-cancelled-event-card", part: "ncec__card" }, index.h("div", { key: '727eba1d97de774c9a51909bec714688d9e60c1c', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: 'bd96caf7b68ee65a470e5949d6622de0893c112d' })), index.h("h3", { key: '9bcb27d08117825255c2a5625e7b8f630e35b1e5', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), index.h("div", { key: 'f356c2776a296b89efe9ff9b02dd0f928ea1c0c8', class: "nylas-cancelled-event-card__description", part: "ncec__description" }, "A cancellation email has been sent to ", this.configSettings?.organizer?.name || 'the participants', "."), index.h("div", { key: '50130b11b9806a5c6adfd67f436d273fbec91774', class: "nylas-cancelled-event-card__cta" }, index.h("sp-button", { key: '77e8e62722ac4ace0a667b45feed6684b3bb6056', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
549
+ return (index.h(index.Host, { key: '9c4e8c3d74888d794d747e048ab368ae4f9fce9f', part: "ncec" }, index.h("sp-theme", { key: 'fe7c297e3da3ec06c54b8c4eddce779e283a6f8c', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: '1154b9e1271af9d613401f1958937a2dc87ad2e9', class: "nylas-cancelled-event-card", part: "ncec__card" }, index.h("div", { key: 'c1d5e51311db568bdfd14c45cdb17a341d1222ad', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: '9c3f516a80498ff983fe17dd2fbc84d9ee0ac7b8' })), index.h("h3", { key: '82ed5d4165dbc590bb996569252a5661ac915d98', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), index.h("div", { key: '5a01351f61614bee349cb350395d00d61b43c574', class: "nylas-cancelled-event-card__description", part: "ncec__description" }, "A cancellation email has been sent to ", this.configSettings?.organizer?.name || 'the participants', "."), index.h("div", { key: 'c82b6b6260111bdecf664a475591cbfab6d4321e', class: "nylas-cancelled-event-card__cta" }, index.h("sp-button", { key: '34fdcee6945a44597a2084c3043aa3375cd560cb', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
550
550
  }
551
551
  };
552
552
  __decorate$4([
@@ -902,7 +902,7 @@ const NylasLogo = class {
902
902
  this.height = '24';
903
903
  }
904
904
  render() {
905
- return (index.h("svg", { key: 'cc4e67942af5cfd37cdad41f7f8dc87652109481', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '5f5e9fd7f9ce51ec576b6004828e0c323dcb1701', "clip-path": "url(#clip0_455_3543)" }, index.h("path", { key: '0390e7e1cc90e26d025adccbb77df76b7c779b9e', d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), index.h("path", { key: '08783eb775743742f7520a632016676f156469d3', d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), index.h("path", { key: 'e9c104e64b877dce04ae82221cd976688e97968f', d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), index.h("path", { key: '144a43759016fd4da29dd3f0493d9221e666c89f', d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), index.h("path", { key: '9f11d314804629377158c00854f3849d1033c601', d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), index.h("path", { key: 'f6591deaa756e6e18c08a65a9eefc453965296da', d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), index.h("path", { key: 'ee90a807361a94004319eb9c5f89082558211d05', d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), index.h("path", { key: 'ac09ff51d464eba8732f1c61f18eafd587227b93', d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), index.h("defs", { key: 'c0e42870fa615d20b75bb38e4ec4047f2aba08cc' }, index.h("clipPath", { key: 'e19ed121d42704ac0bf568a704679ca03dd70ed7', id: "clip0_455_3543" }, index.h("rect", { key: '2848bbbc3c36ecb6bdbc7336e8ac07c966baca5b', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
905
+ return (index.h("svg", { key: 'dcfc1d62178b1d3d699e49e4ee23f8d3db1c58f0', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '0dba7753e8c6eaf6e21ed13db42b1f8b54be53d4', "clip-path": "url(#clip0_455_3543)" }, index.h("path", { key: '35e067694b0f607b7ca5b9342e8253a5ca11f840', d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), index.h("path", { key: 'cea19b0f33edb2330b306a92865800e28f28b15e', d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), index.h("path", { key: '671c4d7360da3fccfa0f9a1db64d97122abf0a87', d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), index.h("path", { key: '7212a39f00bc169c28f29d5f88e5582ab003fe0d', d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), index.h("path", { key: '3a7901b100e2365da4c67c7f012b7212c505bd49', d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), index.h("path", { key: 'e7d169a405085e5e02428fe8c2859e22dfec6554', d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), index.h("path", { key: '01d182723a8bf07a7c7e4e45cb7014dae5303486', d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), index.h("path", { key: 'ca5c8ba4be2fbe7c80e212ac085809a9daba6674', d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), index.h("defs", { key: 'a0d9574defb476b7e2fdb8d3b28fa08ef38f042e' }, index.h("clipPath", { key: 'dff8cf481c3ba6324a58fc4348a3c76c9a4c8609', id: "clip0_455_3543" }, index.h("rect", { key: 'f72786c654715d47462741503b6a07d635389835', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
906
906
  }
907
907
  };
908
908
  NylasLogo.style = NylasLogoStyle0;
@@ -958,7 +958,7 @@ const NylasNotification = class {
958
958
  this.notifications = this.notifications.filter(notif => notif.id !== id);
959
959
  }
960
960
  render() {
961
- return (index.h(index.Host, { key: 'ab83962fa679505585445e3baab12b31bf1abd00' }, index.h(index.Fragment, { key: '3f4c77b79718eb71600129910be78980a70c3022' }, this.notifications.map(notif => (index.h("div", { class: `notif ${notif.type}`, key: notif.id }, index.h("div", { class: "content" }, index.h("span", { class: `icon ${notif.type}` }, (notif.type === 'error' || notif.type === 'warning') && index.h("warning-icon", null)), index.h("span", { class: "message" }, index.h("span", { class: "title" }, notif.title), notif.description && index.h("span", { class: "description" }, notif.description))), index.h("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(notif.id) }, index.h("close-icon", null))))), index.h("slot", { key: '45286b7e48b19c7b76089ef2d661e9cd176b4a8f' }))));
961
+ return (index.h(index.Host, { key: '9011372a63b5b706177dedf93b14df8158e14e04' }, index.h(index.Fragment, { key: 'd06168682c50f2b5330f8c923ecaec19dfc44add' }, this.notifications.map(notif => (index.h("div", { class: `notif ${notif.type}`, key: notif.id }, index.h("div", { class: "content" }, index.h("span", { class: `icon ${notif.type}` }, (notif.type === 'error' || notif.type === 'warning') && index.h("warning-icon", null)), index.h("span", { class: "message" }, index.h("span", { class: "title" }, notif.title), notif.description && index.h("span", { class: "description" }, notif.description))), index.h("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(notif.id) }, index.h("close-icon", null))))), index.h("slot", { key: '6cfe1ecaea1c313ca1549d01b3b8c1627af0d8f2' }))));
962
962
  }
963
963
  };
964
964
  NylasNotification.style = NylasNotificationStyle0;
@@ -76,7 +76,7 @@ const NylasCancelBookingForm = class {
76
76
  utils.debug(`[nylas-cancel-booking-form] Component disconnected`);
77
77
  }
78
78
  render() {
79
- return (index.h(index.Host, { key: '073a93d34ef7f08acaa827d0e5f391481572c447', part: "ncec" }, index.h("sp-theme", { key: 'b2183d3473931a5d1dd18dfdbe32fed0128d5dc1', theme: "spectrum", scale: "medium" }, index.h("div", { key: 'f9147a9d4041b5848bd11f06da7c96e98af3d9bd', class: "nylas-cancel-booking-form", part: "ncec__card" }, index.h("div", { key: '15da6ffbfe870b80bd057415469a4c94c1b3a243', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: 'f3f36d408dbbe9717ff2ca13981714c36a4ba160' })), index.h("h3", { key: '56cd0d658ba9a1c63cd0017514a190c42796dbf4', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), index.h("div", { key: 'db6672c70cc566544ec748f9c7a7426000e0c619', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), index.h("form", { key: 'd227b962561915e823a151a289b135c1d9065510', onSubmit: this.handleSubmitCancelBooking }, index.h("sp-field-label", { key: '42eea73d2ffb041b90fbdffdc0c7e16603eee949', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", index.h("span", { key: '57978569e7bd5828b9dfaee053de9a8fae0892d5', class: "required" }, "*")), index.h("sp-textfield", { key: '08eb8ef56d7536053939086f5da1d5137e43b201', id: "cancel-reason", class: this.cancellationError ? 'error' : '', part: "ncec__reason-textarea", multiline: true, value: this.cancellationReason, onInput: this.handleOnChangeCancellationReason, onFocus: this.handleOnChangeCancellationReason, invalid: !!this.cancellationError }, index.h("sp-help-text", { key: 'dd985c41efd6427e1cec09874caee5c5d345c1cb', slot: "negative-help-text" }, this.cancellationError)), index.h("sp-button", { key: '97705e808b56f0d373dc1fa705fd61b912ed643e', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), index.h("sp-button", { key: '21ae78e3492ad79cbee485709bb863c29f4b041f', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
79
+ return (index.h(index.Host, { key: '25f45d91057f52263ae313ffed14d56ba22a783d', part: "ncec" }, index.h("sp-theme", { key: 'c213bc36d8459f0c206ca19bdd77d2d6b5ba5c1b', theme: "spectrum", scale: "medium" }, index.h("div", { key: 'bd50aa9a5c416825bc6b05c0bf47d85a31021c29', class: "nylas-cancel-booking-form", part: "ncec__card" }, index.h("div", { key: '9654b0cbda12436ac025265f82aa8bfe0a127fbd', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: '3a97606f7c5f2e0f9c08dc7f0b199e56a4afa7f4' })), index.h("h3", { key: '26c0a115101786847fa681fa2cb3492561516f64', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), index.h("div", { key: '05fe59fff1fa6b8bf38313bef5457d4022674570', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), index.h("form", { key: '6c3c1365bde80d1915026f125be9208c3c16d69c', onSubmit: this.handleSubmitCancelBooking }, index.h("sp-field-label", { key: 'fca2f04d8300b0e1be7a8071fed69c714f82491e', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", index.h("span", { key: '1a77038fbda4048fca0e7cc8a39ad357a10f0fd7', class: "required" }, "*")), index.h("sp-textfield", { key: 'dbb19d14b09f7b85776ca288ec8f9fe58d5080f5', id: "cancel-reason", class: this.cancellationError ? 'error' : '', part: "ncec__reason-textarea", multiline: true, value: this.cancellationReason, onInput: this.handleOnChangeCancellationReason, onFocus: this.handleOnChangeCancellationReason, invalid: !!this.cancellationError }, index.h("sp-help-text", { key: 'e2e0c9794cae46b4a5cc857156d904a1236ccb49', slot: "negative-help-text" }, this.cancellationError)), index.h("sp-button", { key: 'a647e3e70704325f3986e6a869b65a5ec7495354', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), index.h("sp-button", { key: 'b8b732ceafaf6d1090cf7b1a3d979854e17684ca', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
80
80
  }
81
81
  static get watchers() { return {
82
82
  "configSettings": ["configSettingsChangedHandler"]
@@ -72,7 +72,7 @@ const NylasCancellationPolicy = class {
72
72
  this.valueChanged.emit({ value: value, name: this.name });
73
73
  }
74
74
  render() {
75
- return (index.h(index.Host, { key: '34cd25b32015d276305a1655cec0e7d943189a4d' }, index.h("div", { key: '811fd581db9ce4c0aa80dceca9e66d00d1cafb7d', class: "nylas-cancellation-policy", part: "ncpolicy" }, index.h("label", { key: 'c6693d8f18794177754e708ef725c237f92455d7', htmlFor: this.name }, "Cancellation policy message", index.h("span", { key: '5c0d9238690e368b63c099625277b85734be5b5c', class: "label-icon" }, index.h("tooltip-component", { key: '031d9a347cdd9a349747e87ffe68ea0ba611f96f' }, index.h("info-icon", { key: 'f4e086eb34bfb3eb4fb1997b1047ba22e865f1bc', slot: "tooltip-icon" }), index.h("span", { key: 'b8dfa32c6c5505561049b0ad2b177c0a912142bf', slot: "tooltip-content" }, "Attendees receive this message if trying to cancel the event. Attendees are asked to provide a reason for cancellation.")))), index.h("textarea", { key: '2d92b92f7a30f58d0307915293000e4de337808d', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
75
+ return (index.h(index.Host, { key: '9ad194925cfb18c323d3f75aec51c4ac5ad67230' }, index.h("div", { key: 'a4ae061a504a0cd6a91dd6dd23adcf7c3b8f43d5', class: "nylas-cancellation-policy", part: "ncpolicy" }, index.h("label", { key: 'ea742ee8fba2e50a5694c210172e8783fa3d5e7b', htmlFor: this.name }, "Cancellation policy message", index.h("span", { key: '5c7143f8da100b650aa386c9fb895c3fd9ed2e04', class: "label-icon" }, index.h("tooltip-component", { key: 'f46c7b94a1a58bd7162e5cfffc14a88b04a18a4c' }, index.h("info-icon", { key: '9d85ce578da1db7b080f3152b8fdb43834968829', slot: "tooltip-icon" }), index.h("span", { key: '0e4d0c4f98d1529179622c22fa6bf9d56d085ffb', slot: "tooltip-content" }, "Attendees receive this message if trying to cancel the event. Attendees are asked to provide a reason for cancellation.")))), index.h("textarea", { key: '570404ef8450c4ef2bb28fad4d1c6359b735abae', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
76
76
  }
77
77
  static get formAssociated() { return true; }
78
78
  get host() { return index.getElement(this); }
@@ -57,7 +57,7 @@ const NylasCancelledEventCard = class {
57
57
  utils.debug(`[nylas-cancelled-event-card] Component disconnected`);
58
58
  }
59
59
  render() {
60
- return (index.h(index.Host, { key: '11c4720a791169b5d562f484fecc2e5586bbdeaf', part: "ncec" }, index.h("sp-theme", { key: 'ccd04e6a1a895ad4be18bdb14d27a1c7403a0568', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: 'a0360afadc55f58d20e651cb33036aa364a3740e', class: "nylas-cancelled-event-card", part: "ncec__card" }, index.h("div", { key: '727eba1d97de774c9a51909bec714688d9e60c1c', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: 'bd96caf7b68ee65a470e5949d6622de0893c112d' })), index.h("h3", { key: '9bcb27d08117825255c2a5625e7b8f630e35b1e5', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), index.h("div", { key: 'f356c2776a296b89efe9ff9b02dd0f928ea1c0c8', class: "nylas-cancelled-event-card__description", part: "ncec__description" }, "A cancellation email has been sent to ", this.configSettings?.organizer?.name || 'the participants', "."), index.h("div", { key: '50130b11b9806a5c6adfd67f436d273fbec91774', class: "nylas-cancelled-event-card__cta" }, index.h("sp-button", { key: '77e8e62722ac4ace0a667b45feed6684b3bb6056', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
60
+ return (index.h(index.Host, { key: '9c4e8c3d74888d794d747e048ab368ae4f9fce9f', part: "ncec" }, index.h("sp-theme", { key: 'fe7c297e3da3ec06c54b8c4eddce779e283a6f8c', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: '1154b9e1271af9d613401f1958937a2dc87ad2e9', class: "nylas-cancelled-event-card", part: "ncec__card" }, index.h("div", { key: 'c1d5e51311db568bdfd14c45cdb17a341d1222ad', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, index.h("calendar-cancel-icon", { key: '9c3f516a80498ff983fe17dd2fbc84d9ee0ac7b8' })), index.h("h3", { key: '82ed5d4165dbc590bb996569252a5661ac915d98', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), index.h("div", { key: '5a01351f61614bee349cb350395d00d61b43c574', class: "nylas-cancelled-event-card__description", part: "ncec__description" }, "A cancellation email has been sent to ", this.configSettings?.organizer?.name || 'the participants', "."), index.h("div", { key: 'c82b6b6260111bdecf664a475591cbfab6d4321e', class: "nylas-cancelled-event-card__cta" }, index.h("sp-button", { key: '34fdcee6945a44597a2084c3043aa3375cd560cb', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
61
61
  }
62
62
  };
63
63
  __decorate([
@@ -139,7 +139,7 @@ const NylasComposer = class {
139
139
  this.editorEl.focus();
140
140
  }
141
141
  render() {
142
- return (index.h(index.Host, { key: 'c8ab18162320c10834660c655141a985c36958ac' }, index.h("sp-theme", { key: '01a86b0ddef68c16b139cdb95bf3f9df102ead60', scale: "medium", color: "dark" }, index.h("div", { key: '280d8dfbee592023d7461e6691805a6e44e8837b', class: "editor", contentEditable: true, ref: r => (this.editorEl = r) }, index.h("div", { key: '35437f24077f1e5a9b629bfca6437ec6740c8780', class: "toolbar", ref: r => (this.toolbarEl = r), contentEditable: false }, index.h("sp-button", { key: '378551180f48beb175216d045acd4d65355f3234', quiet: true, onClick: () => document.execCommand('bold') }, index.h("div", { key: 'a7a6872cfc4d34939aaeba4e45e67d8ca1ac52ab', slot: "icon" }, index.h("bold-icon", { key: '198210356c76239162c2d44251845529b5765e04' })), index.h("div", { key: '6ecdf762f2a29a39bce8c49da6cc366594218c52', slot: "label" }, "Bold")), index.h("sp-button", { key: '6ee0821abd7462a9105f13228a4441ed302d0df9', quiet: true, onClick: () => document.execCommand('underline') }, index.h("div", { key: '37745f4ee7e5bac2d4bba65d3682338590b49c88', slot: "icon" }, index.h("underline-icon", { key: '9b7a46dbf44378c001c16afca0e8c30e0b1ea12f' })), index.h("div", { key: '54e6ce111dcc82421b475040a0a85d26c648c1d4', slot: "label" }, "Underline")), index.h("sp-button", { key: 'ae292c9f8f55a7ae82ddfaaa75ba9a045c80c02d', quiet: true, onClick: () => document.execCommand('italic') }, index.h("div", { key: 'fdfdf0265a51eeca44c72ec7de634f9c23a5a846', slot: "icon" }, index.h("italic-icon", { key: '6308247060d42eb21284e6687a0abc18cf63e32c' })), index.h("div", { key: '49487a1f0677fc394dd617abfdb645c56e441f55', slot: "label" }, "Italic")))), index.h("div", { key: '08b56206aef08fbc262ec615c1c593949ef05c82', class: 'buttons' }, index.h("sp-button", { key: 'f099e2091f8070adaf80cd9fd4299e53e25ef39b', onClick: this.sendComposer, class: "send" }, "Send"), index.h("sp-button", { key: '78c73f9aec9dd29a7b1360192ef190d20f0bb092', onClick: this.closeComposer, class: "close" }, "Close")))));
142
+ return (index.h(index.Host, { key: '272229753ac9d990a72c4e1d743b34d01d57d3e3' }, index.h("sp-theme", { key: 'a43065734dff3bbda8163f9d39f381619020e603', scale: "medium", color: "dark" }, index.h("div", { key: '11d5f1e8d8c3e7debda04af54a2c6ef5c63b3260', class: "editor", contentEditable: true, ref: r => (this.editorEl = r) }, index.h("div", { key: '6c936b9bfb1fdce1d8f073405bd80a582849e175', class: "toolbar", ref: r => (this.toolbarEl = r), contentEditable: false }, index.h("sp-button", { key: 'b6c5c51c52d707165367990fa76b5a80fc837936', quiet: true, onClick: () => document.execCommand('bold') }, index.h("div", { key: 'e8d07f19efe1bcbb1eb0efd69fe0566df8a656d3', slot: "icon" }, index.h("bold-icon", { key: 'cd5c2e7b5883e1ff5c6d34106a0b4086ffb9b1d2' })), index.h("div", { key: '8efca1559b463fc356fe69d0bf7fc327f90ab846', slot: "label" }, "Bold")), index.h("sp-button", { key: '1d7703909feab13241fd75052946f198ad01d1b6', quiet: true, onClick: () => document.execCommand('underline') }, index.h("div", { key: 'ab1d89e8d5ebca33447274cffbcda5574f41bdde', slot: "icon" }, index.h("underline-icon", { key: '0598b423ac6724aef96ca5343ce1449fb56f8766' })), index.h("div", { key: 'c091c8f3d08798fa7d49b86508b29047e5e4ea44', slot: "label" }, "Underline")), index.h("sp-button", { key: '60ea18e3f3ff95760910fef22119255477375a8f', quiet: true, onClick: () => document.execCommand('italic') }, index.h("div", { key: 'ed6f703adc15b721e0e3cfc72ab438a620b34dbd', slot: "icon" }, index.h("italic-icon", { key: 'adb995c72136305499b149eb706841b4ca8291c8' })), index.h("div", { key: '481da563cadf1885efe1f466c5299913f78442a7', slot: "label" }, "Italic")))), index.h("div", { key: '5c2185ee0ba3c99bde46c13094c696fba33bfe6a', class: 'buttons' }, index.h("sp-button", { key: 'f73a9a795a24e59d2c835b5a9a1cb7e2d16532c6', onClick: this.sendComposer, class: "send" }, "Send"), index.h("sp-button", { key: '2a2ef56256878c45da84f03933e292a98069c44d', onClick: this.closeComposer, class: "close" }, "Close")))));
143
143
  }
144
144
  get host() { return index.getElement(this); }
145
145
  static get watchers() { return {
@@ -99,7 +99,7 @@ const NylasCustomBookingFlow = class {
99
99
  value: 'pre-booking',
100
100
  },
101
101
  ];
102
- return (index.h(index.Host, { key: '21319a4631f1c0990936623d6458ad80c424e508' }, index.h("div", { key: '314ed4bd9b3057d209825cd93b3bcdde32c00a0d', class: "nylas-custom-booking-flow", part: "ncbf" }, index.h("div", { key: 'ce531904154c284cd4692ab3e31564be5fe826b1', class: "header", part: "ncbf__header" }, index.h("h3", { key: '403ef6532fcf5b0ecd79944a02aa287537c677e1' }, "Customize booking flow"), index.h("p", { key: 'c8a5fb5fb02b7b4687778654b91b983ca210a0da' }, "Customize how new bookings are handled when a booking is completed.")), bookingOptions.length > 0 ? (index.h("div", { class: "nylas-custom-booking-flow__dropdown" }, index.h("span", { class: "label" }, "After a booking is confirmed", index.h("tooltip-component", null, index.h("info-icon", { slot: "tooltip-icon" }), index.h("span", { slot: "tooltip-content" }, "Choose how you\u2019d like to handle new bookings. If you choose to manually confirm/decline bookings, you will be able to review and accept or decline each booking request."))), index.h("select-dropdown", { name: "booking-type", options: bookingOptions, withSearch: false, exportparts: "sd_dropdown: ncbf__dropdown, sd_dropdown-button: ncbf__dropdown-button, sd_dropdown-content: ncbf__dropdown-content", defaultSelectedOption: bookingOptions.find(cal => cal.value == this.bookingType) ?? bookingOptions[0] }))) : (index.h("div", { class: "nylas-custom-booking-flow__loading" }, index.h("span", { class: "label" }, "Select a calendar to book meetings on ", index.h("info-icon", null)), index.h("div", { class: "loading-button" }, index.h("span", null, "Loading...")))))));
102
+ return (index.h(index.Host, { key: '6202233ce5955be9542db05e648ef2ea2d8c45c2' }, index.h("div", { key: '990ca595cc8f541902a4bccc7b0bf7f9f029c32a', class: "nylas-custom-booking-flow", part: "ncbf" }, index.h("div", { key: 'fc8e126be280ce56f968b4759ce549ebfcba5883', class: "header", part: "ncbf__header" }, index.h("h3", { key: 'b08624ee0a3fbb31c136be140e7c63d2862ae55d' }, "Customize booking flow"), index.h("p", { key: '0a21993fc37169030332858b01a6b4a4ad838424' }, "Customize how new bookings are handled when a booking is completed.")), bookingOptions.length > 0 ? (index.h("div", { class: "nylas-custom-booking-flow__dropdown" }, index.h("span", { class: "label" }, "After a booking is confirmed", index.h("tooltip-component", null, index.h("info-icon", { slot: "tooltip-icon" }), index.h("span", { slot: "tooltip-content" }, "Choose how you\u2019d like to handle new bookings. If you choose to manually confirm/decline bookings, you will be able to review and accept or decline each booking request."))), index.h("select-dropdown", { name: "booking-type", options: bookingOptions, withSearch: false, exportparts: "sd_dropdown: ncbf__dropdown, sd_dropdown-button: ncbf__dropdown-button, sd_dropdown-content: ncbf__dropdown-content", defaultSelectedOption: bookingOptions.find(cal => cal.value == this.bookingType) ?? bookingOptions[0] }))) : (index.h("div", { class: "nylas-custom-booking-flow__loading" }, index.h("span", { class: "label" }, "Select a calendar to book meetings on ", index.h("info-icon", null)), index.h("div", { class: "loading-button" }, index.h("span", null, "Loading...")))))));
103
103
  }
104
104
  static get formAssociated() { return true; }
105
105
  get host() { return index.getElement(this); }
@@ -107,7 +107,7 @@ const NylasCustomizeBookingSettings = class {
107
107
  }), this.name);
108
108
  }
109
109
  render() {
110
- return (index.h(index.Host, { key: '289e0e8ff03e0f033bdedc44a66002d971a01a4a' }, index.h("div", { key: '198e4e31a02a362c393b0b9395c7ab884dd04928', class: "nylas-customize-booking-settings", part: "ncbs" }, index.h("div", { key: '4ac0939989b64eec0f4cbe6eebe4132be85112d0', class: "header", part: "ncbs__header" }, index.h("h3", { key: 'a64955a52821d22f1afab025bf18b0505d0aebcd' }, "Additional settings"), index.h("p", { key: '413d26d3102c624acd77f1b2d6aaa01e9abf8240' }, "Booking settings for the event.")), index.h("div", { key: 'e6ddf5653c6188773f59dbd6ca683cf2e5bd2c1d', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, index.h("div", { key: '47ec40306877e710bc53494e0cb23bd17ec1c803', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, index.h("checkbox-component", { key: '9e5a9452ff0ffe8b590702b91d8dba82512db6cf', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, index.h("span", { key: 'f32cc44ad67e2f135a7581fc72772c156a4f2df6', slot: "label", class: "label" }, index.h("p", { key: '314d47c72d9a76cca9e94e11bf785b61c6786a48', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), index.h("tooltip-component", { key: 'd286d724e35b7a8c82c65f42923646c09462fadf', id: "guests" }, index.h("info-icon", { key: '1feafcf384686c0613c0fe764c09db5b7c1ddae8', slot: "tooltip-icon" }), index.h("span", { key: '0f17b5425ed3663184150933a86e406a197b18fa', slot: "tooltip-content" }, "Allow guests to invite additional guests to the event. If enabled, the guest will be able to add additional guests' email addresses."))))), index.h("div", { key: '340b0fcd9d6f263550c347f2a87229a86c674cae', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, index.h("checkbox-component", { key: '2453ac1996fd178d363a712b4d378591be3ee32a', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, index.h("span", { key: '2420f028dc654f9a8ce01ec9a924f7e0694da05b', slot: "label", class: "label" }, index.h("p", { key: '31bdc2ff59f7cef6ebd1c21329e34e001bfb6235', class: "label-contents" }, "Hide the\u00A0", index.h("strong", { key: '76ecdab15e2fdb90dd1c34f826f0392b145291dc' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), index.h("tooltip-component", { key: '489a219e2854cd6aae0df6ec8064d262e74a4dfd', id: "reschedule" }, index.h("info-icon", { key: '6e727527c025b00ae8907a9381fa45f2b30c325b', slot: "tooltip-icon" }), index.h("span", { key: '732c2be03c7a37d1ba80d99315c462ec65f24406', slot: "tooltip-content" }, "Hide the 'Reschedule' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to reschedule the booking."))))), index.h("div", { key: '4b92782d796cd57802c333e72cce4cb56c2424b5', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, index.h("checkbox-component", { key: 'c27bb8a583f782659c7a8c3fb6320f9bc653f005', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, index.h("span", { key: '9feb0f1f1c9cfc9438317ac1e860265b0365d73c', slot: "label", class: "label" }, index.h("p", { key: 'e5a072e8381efdd81d96cda680bce8408699988e', class: "label-contents" }, "Hide the\u00A0", index.h("strong", { key: '7451a2ffc3815301afe3c8c6ae80ecaf7f16075f' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), index.h("tooltip-component", { key: '12ba9c92d34cb63dc3ce23b2ab9b00c54e83afd4', id: "cancel" }, index.h("info-icon", { key: '159518806d8f14c1b9a6b4b36877d3174883bd7d', slot: "tooltip-icon" }), index.h("span", { key: '075096f27117b4318f883efe2b523c394394e230', slot: "tooltip-content" }, "Hide the 'Cancel' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to cancel the booking.")))))))));
110
+ return (index.h(index.Host, { key: '98e7ab408f5d7dff71321819cbc2a5e336ca52de' }, index.h("div", { key: 'ea73803234b4843cf7e58dc2570171e0237ea7d1', class: "nylas-customize-booking-settings", part: "ncbs" }, index.h("div", { key: '9b081de7e2d2152b874a5a4713a5313c6e021409', class: "header", part: "ncbs__header" }, index.h("h3", { key: '976be7412b4f8d70269c3b429652fa1091da1457' }, "Additional settings"), index.h("p", { key: 'f580ed5fd9c29773715bf26f5dc0c466c56ba43f' }, "Booking settings for the event.")), index.h("div", { key: '9e694bcf133167fa12efbd46bee02158b56e9777', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, index.h("div", { key: '39d4154e12c7f5cf96f04ca3fc3e0f17d0e8b2ec', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, index.h("checkbox-component", { key: '61f11b632388d036622078f76f2d90370458b152', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, index.h("span", { key: '14573cca344d64ddfddebe6f402321a52fcce6ee', slot: "label", class: "label" }, index.h("p", { key: '64790dee39a090a778479a7eb3b1efcd14054bb9', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), index.h("tooltip-component", { key: '564c56d4f159e11bf82b02eaab43b36ef9dd7117', id: "guests" }, index.h("info-icon", { key: 'a442aac8c9d930dc6be00a07fb6cd32b39cbd24b', slot: "tooltip-icon" }), index.h("span", { key: '6a9eff50392213a42be00c99f0f78d5e2d8eb0f4', slot: "tooltip-content" }, "Allow guests to invite additional guests to the event. If enabled, the guest will be able to add additional guests' email addresses."))))), index.h("div", { key: 'e7d58c8c04cd715bd02fd4dcc14073ce1f6aaf08', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, index.h("checkbox-component", { key: '3f5c22d363bb11012b8514f5a33871a3f054fc80', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, index.h("span", { key: '2ed45b907aa847c41da5a0e394b0b5ddb91a3e26', slot: "label", class: "label" }, index.h("p", { key: 'a1fc109c7211d387426d66ac9129fad25032565b', class: "label-contents" }, "Hide the\u00A0", index.h("strong", { key: 'ac79eec03a85d1963ac4e75b0fbf678f4a063776' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), index.h("tooltip-component", { key: 'd8f41e37b915c0be9154a475da07d5ed343d96b4', id: "reschedule" }, index.h("info-icon", { key: 'fbb3f300f4276bd249f9cf12d11c4b6467c82247', slot: "tooltip-icon" }), index.h("span", { key: '689b3c36070c26e6d6bac530a56008404354e43b', slot: "tooltip-content" }, "Hide the 'Reschedule' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to reschedule the booking."))))), index.h("div", { key: 'f21aeca85fbb63da4d844d37cf87ff1e8d48f001', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, index.h("checkbox-component", { key: 'be80ca87a198de83451085fceca77b4d2455357d', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, index.h("span", { key: '80e718e75b94562d3b8c4a3d9f170ee2de0c2c1b', slot: "label", class: "label" }, index.h("p", { key: 'd46dfe25aa86b112f5c57abe3337de6d88a79c90', class: "label-contents" }, "Hide the\u00A0", index.h("strong", { key: 'ac243fbb7a3c85c8ab3af28b61ae2724c428ac3e' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), index.h("tooltip-component", { key: 'b720fc3becba6ca2cc71d01bb77c19ec154b1aa1', id: "cancel" }, index.h("info-icon", { key: '5ab491a0734fe525ad2be3e2ad067cb292cce182', slot: "tooltip-icon" }), index.h("span", { key: '4621e731c10b515294641be4f9ee60142b46f9c6', slot: "tooltip-content" }, "Hide the 'Cancel' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to cancel the booking.")))))))));
111
111
  }
112
112
  static get formAssociated() { return true; }
113
113
  get host() { return index.getElement(this); }
@@ -47,7 +47,8 @@ function TabContents({ id, formState, activeTab, calendars }) {
47
47
  index.h("nylas-customize-booking-settings", { name: "customize-booking-settings", exportparts: "ncbs, ncbs__header, ncbs__settings, ncbs__settings-div, ncbs__additional_guests, ncbs__cancellation_options, ncbs__rescheduling_options" })));
48
48
  case 'participants':
49
49
  return (index.h("div", { key: id },
50
- index.h("nylas-additional-participants", { name: "participants", eventParticipants: formState.participants, exportparts: "nap__title, nap__subtitle, nap__content, nap__input_group, nap__input_wrapper, nap__input, nap__remove-participant" })));
50
+ index.h("nylas-additional-participants", { name: "participants", eventParticipants: formState.participants, exportparts: "nap__title, nap__subtitle, nap__content, nap__input_group, nap__input_wrapper, nap__input, nap__remove-participant" }),
51
+ index.h("nylas-participants-custom-availability", { name: "participant-custom-availability", participants: formState.participants, exportparts: "npca, npca__header, npca__content, npca__participant-container, npca__participant-title, npca__participant-toggle--container, npca__toggle-label, npca__toggle-input, npca__toggle-slider" })));
51
52
  }
52
53
  }
53
54
 
@@ -87,8 +88,7 @@ const NylasEditorTabs = class {
87
88
  this.isLoading = true;
88
89
  this.hasUnsavedChanges = false;
89
90
  const formState = this.updateFormState();
90
- const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, } = formState;
91
- const organizer = this.selectedConfiguration?.participants?.find(p => p.is_organizer);
91
+ const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, participantOpenHours, } = formState;
92
92
  const durationMinutes = duration ? parseInt(duration) : 30;
93
93
  const configObject = {
94
94
  ...(this.selectedConfiguration?.id && { id: this.selectedConfiguration.id }),
@@ -100,24 +100,34 @@ const NylasEditorTabs = class {
100
100
  availability_rules: {
101
101
  availability_method: this.selectedConfiguration?.availability?.availability_rules?.availability_method ?? 'collective',
102
102
  buffer: buffer || { before: 0, after: 0 },
103
- default_open_hours: this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? constants.DEFAULT_OPEN_HOURS,
103
+ default_open_hours: availability?.openHours ?? this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? constants.DEFAULT_OPEN_HOURS,
104
104
  round_robin_group_id: this.selectedConfiguration?.availability?.availability_rules?.round_robin_group_id ?? '',
105
105
  },
106
106
  },
107
107
  participants: [
108
- {
109
- name: organizer?.name ?? organizer?.email ?? this.currentUser?.name ?? this.currentUser?.email ?? '',
110
- email: organizer?.email ?? this.currentUser?.email ?? '',
111
- is_organizer: true,
112
- availability: {
113
- calendar_ids: calendarIds?.length ? calendarIds : ['primary'],
114
- open_hours: availability?.openHours ?? [],
115
- },
116
- booking: {
117
- calendar_id: bookingCalendar && bookingCalendar !== '' ? bookingCalendar : 'primary',
118
- },
119
- },
120
- ...(participants ?? []),
108
+ ...(participants?.map(p => {
109
+ if (p.is_organizer) {
110
+ return {
111
+ name: p.name ?? p.email,
112
+ email: p.email,
113
+ is_organizer: true,
114
+ availability: {
115
+ calendar_ids: calendarIds?.length ? calendarIds : ['primary'],
116
+ open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
117
+ },
118
+ booking: {
119
+ calendar_id: bookingCalendar && bookingCalendar !== '' ? bookingCalendar : 'primary',
120
+ },
121
+ };
122
+ }
123
+ return {
124
+ ...p,
125
+ availability: {
126
+ calendar_ids: p.availability?.calendar_ids ?? ['primary'],
127
+ open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
128
+ },
129
+ };
130
+ }) ?? []),
121
131
  ],
122
132
  event_booking: {
123
133
  title: title?.toString() ?? '',
@@ -188,7 +198,8 @@ const NylasEditorTabs = class {
188
198
  handleValueChanged(event) {
189
199
  utils.debug('[nylas-editor-tabs]', 'handleValueChanged', event);
190
200
  const { name, value } = event.detail;
191
- this.formState = { ...this.formState, [name]: value };
201
+ this.setFormState(value, name);
202
+ this.formState = { ...this.formState };
192
203
  this.hasUnsavedChanges = true;
193
204
  this.error = '';
194
205
  }
@@ -200,7 +211,7 @@ const NylasEditorTabs = class {
200
211
  duration: config?.availability?.duration_minutes?.toString() ?? '30',
201
212
  availability: {
202
213
  timezone: config?.event_booking?.timezone ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
203
- openHours: organizerParticipant?.availability?.open_hours,
214
+ openHours: config?.availability?.availability_rules?.default_open_hours ?? constants.DEFAULT_OPEN_HOURS,
204
215
  },
205
216
  calendarIds: organizerParticipant?.availability?.calendar_ids ?? [],
206
217
  participants: config?.participants ?? [],
@@ -221,62 +232,69 @@ const NylasEditorTabs = class {
221
232
  hideReschedulingOptions: config?.scheduler?.hide_rescheduling_options ?? false,
222
233
  };
223
234
  }
235
+ setFormState(value, key) {
236
+ switch (key) {
237
+ case 'title':
238
+ this.formState.title = value.toString();
239
+ break;
240
+ case 'description':
241
+ this.formState.description = value.toString();
242
+ break;
243
+ case 'duration':
244
+ this.formState.duration = value.toString();
245
+ break;
246
+ case 'availability':
247
+ this.formState.availability = JSON.parse(value.toString());
248
+ break;
249
+ case 'participants':
250
+ this.formState.participants = JSON.parse(value.toString());
251
+ break;
252
+ case 'calendars':
253
+ this.formState.calendarIds = value.toString().split(',');
254
+ break;
255
+ case 'booking-calendar':
256
+ this.formState.bookingCalendar = value.toString();
257
+ break;
258
+ case 'location':
259
+ this.formState.location = value.toString();
260
+ break;
261
+ case 'booking-type':
262
+ this.formState.bookingType = value.toString();
263
+ break;
264
+ case 'buffer-time':
265
+ this.formState.buffer = JSON.parse(value.toString());
266
+ break;
267
+ case 'limit-future-bookings':
268
+ this.formState.availableDaysInFuture = parseInt(value.toString());
269
+ break;
270
+ case 'min-cancellation-notice':
271
+ this.formState.minCancellationNotice = parseInt(value.toString());
272
+ break;
273
+ case 'min-booking-notice':
274
+ this.formState.minBookingNotice = parseInt(value.toString());
275
+ break;
276
+ case 'cancellation-policy':
277
+ this.formState.cancellationPolicy = value.toString();
278
+ break;
279
+ case 'timeslot-interval':
280
+ this.formState.timeslotInterval = JSON.parse(value.toString());
281
+ break;
282
+ case 'customize-booking-settings':
283
+ const settings = JSON.parse(value.toString());
284
+ this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
285
+ this.formState.hideCancellationOptions = settings.hideCancellationOptions;
286
+ this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
287
+ break;
288
+ case 'participant-custom-availability':
289
+ const participantOpenHours = JSON.parse(value.toString());
290
+ this.formState.participantOpenHours = participantOpenHours;
291
+ break;
292
+ }
293
+ }
224
294
  updateFormState() {
225
295
  const formData = new FormData(this.formRef);
226
296
  formData.forEach((value, key) => {
227
- switch (key) {
228
- case 'title':
229
- this.formState.title = value.toString();
230
- break;
231
- case 'description':
232
- this.formState.description = value.toString();
233
- break;
234
- case 'duration':
235
- this.formState.duration = value.toString();
236
- break;
237
- case 'availability':
238
- this.formState.availability = JSON.parse(value.toString());
239
- break;
240
- case 'participants':
241
- this.formState.participants = JSON.parse(value.toString());
242
- break;
243
- case 'calendars':
244
- this.formState.calendarIds = value.toString().split(',');
245
- break;
246
- case 'booking-calendar':
247
- this.formState.bookingCalendar = value.toString();
248
- break;
249
- case 'location':
250
- this.formState.location = value.toString();
251
- break;
252
- case 'booking-type':
253
- this.formState.bookingType = value.toString();
254
- break;
255
- case 'buffer-time':
256
- this.formState.buffer = JSON.parse(value.toString());
257
- break;
258
- case 'limit-future-bookings':
259
- this.formState.availableDaysInFuture = parseInt(value.toString());
260
- break;
261
- case 'min-cancellation-notice':
262
- this.formState.minCancellationNotice = parseInt(value.toString());
263
- break;
264
- case 'min-booking-notice':
265
- this.formState.minBookingNotice = parseInt(value.toString());
266
- break;
267
- case 'cancellation-policy':
268
- this.formState.cancellationPolicy = value.toString();
269
- break;
270
- case 'timeslot-interval':
271
- this.formState.timeslotInterval = JSON.parse(value.toString());
272
- break;
273
- case 'customize-booking-settings':
274
- const settings = JSON.parse(value.toString());
275
- this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
276
- this.formState.hideCancellationOptions = settings.hideCancellationOptions;
277
- this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
278
- break;
279
- }
297
+ this.setFormState(value, key);
280
298
  });
281
299
  this.formState = { ...this.formState };
282
300
  return this.formState;
@@ -289,22 +307,22 @@ const NylasEditorTabs = class {
289
307
  render() {
290
308
  utils.debug('[nylas-editor-tabs]', 'render', this.formState);
291
309
  const showParticipantsTab = localStorage.getItem('nylas') === 'Nylas Developer';
292
- return (index.h(index.Host, { key: 'ed57de888af9f29e6be4562b8d65c9800a6b4ad9' }, index.h("form", { key: '5f3d154f95b47b78fe3cc83a76df4d7e39330f80', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "form-contents" }, index.h("div", { class: "tabs" }, index.h("button", { class: { tab: true, active: this.activeTab == 'eventInfo' }, onClick: e => this.setActiveTab(e, 'eventInfo') }, index.h("calendar-info-icon", { width: "16", height: "16" }), "Event Info"), index.h("button", { class: { tab: true, active: this.activeTab == 'availability' }, onClick: e => this.setActiveTab(e, 'availability') }, index.h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), index.h("button", { class: { tab: true, active: this.activeTab == 'bookingOptions' }, onClick: e => this.setActiveTab(e, 'bookingOptions') }, index.h("flow-icon", { width: "16", height: "16" }), "Booking Options"), showParticipantsTab && (index.h("button", { class: { tab: true, active: this.activeTab == 'participants' }, onClick: e => this.setActiveTab(e, 'participants') }, index.h("people-icon", { width: "16", height: "16" }), "Participants"))), index.h("div", { class: "tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (index.h("slot", null)), index.h("div", { key: 'c2a419fa59d6622e32627e476853ece732ff517c', class: "footer" }, index.h("div", { key: 'b4eab68c7ee5d35aa1f9a77e0ef1c47d5080252a', class: "preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
310
+ return (index.h(index.Host, { key: 'ccfd780da5c6ce1688f60384796bbaa98fe6094d' }, index.h("form", { key: '2e5d1c16a5373a5b623869925a7cab71f52f98ce', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "form-contents" }, index.h("div", { class: "tabs" }, index.h("button", { class: { tab: true, active: this.activeTab == 'eventInfo' }, onClick: e => this.setActiveTab(e, 'eventInfo') }, index.h("calendar-info-icon", { width: "16", height: "16" }), "Event Info"), index.h("button", { class: { tab: true, active: this.activeTab == 'availability' }, onClick: e => this.setActiveTab(e, 'availability') }, index.h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), index.h("button", { class: { tab: true, active: this.activeTab == 'bookingOptions' }, onClick: e => this.setActiveTab(e, 'bookingOptions') }, index.h("flow-icon", { width: "16", height: "16" }), "Booking Options"), showParticipantsTab && (index.h("button", { class: { tab: true, active: this.activeTab == 'participants' }, onClick: e => this.setActiveTab(e, 'participants') }, index.h("people-icon", { width: "16", height: "16" }), "Participants"))), index.h("div", { class: "tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (index.h("slot", null)), index.h("div", { key: 'f11d2767c5fc65ad7a72f346e9b3940b8151d7a3', class: "footer" }, index.h("div", { key: '858c5dac4d006f28b05347be3feba2d6dd336b15', class: "preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
293
311
  event.preventDefault();
294
312
  const previewEvent = this.previewButtonClicked.emit(this.host);
295
313
  if (!previewEvent.defaultPrevented) {
296
314
  window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
297
315
  }
298
- }, variant: 'basic' }, "Preview"))), index.h("div", { key: '0d1be883712a43e918d6a24415309e7fca51ac6b', class: "buttons" }, index.h("p", { key: 'e84e22ff1f71263e512ec95ee1513c53d4dadc10', class: {
316
+ }, variant: 'basic' }, "Preview"))), index.h("div", { key: 'c5225165887e64b467570a3f90222479fb259494', class: "buttons" }, index.h("p", { key: '50b2861f9c99e3dc91e58f77097fa753ba02cd1b', class: {
299
317
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
300
318
  'saved-changes': this.changesSaved,
301
319
  'error': this.error !== '',
302
320
  'error-full-width': this.error !== '' && this.action === 'create',
303
- } }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), index.h("button-component", { key: 'dd4e56935a6b20576b5316acb76947375084dfce', type: "button", disabled: this.isLoading, clickHandler: event => {
321
+ } }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), index.h("button-component", { key: '9934c2cf6faf7e74b135add1728e3524bc29e13f', type: "button", disabled: this.isLoading, clickHandler: event => {
304
322
  event.preventDefault();
305
323
  this.cancelButtonClick.emit();
306
324
  this.error = '';
307
- }, variant: 'basic' }, "Cancel"), index.h("button-component", { key: '16324ef17540626894bde0f55c1198d45ef0d0ce', type: "submit", disabled: this.isLoading }, this.isLoading ? (index.h("span", null, "Saving", index.h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
325
+ }, variant: 'basic' }, "Cancel"), index.h("button-component", { key: '872f1a24204c38948d484b2bf99aa72d78ba7a37', type: "submit", disabled: this.isLoading }, this.isLoading ? (index.h("span", null, "Saving", index.h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
308
326
  }
309
327
  get host() { return index.getElement(this); }
310
328
  static get watchers() { return {