@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
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { a as debug } from './utils-04c10cbd.js';
4
4
  import './buffer-es6-5510d761.js';
5
5
  import './_commonjsHelpers-6cbf8316.js';
6
6
 
@@ -72,7 +72,7 @@ const NylasCancelBookingForm = class {
72
72
  debug(`[nylas-cancel-booking-form] Component disconnected`);
73
73
  }
74
74
  render() {
75
- return (h(Host, { key: '073a93d34ef7f08acaa827d0e5f391481572c447', part: "ncec" }, h("sp-theme", { key: 'b2183d3473931a5d1dd18dfdbe32fed0128d5dc1', theme: "spectrum", scale: "medium" }, h("div", { key: 'f9147a9d4041b5848bd11f06da7c96e98af3d9bd', class: "nylas-cancel-booking-form", part: "ncec__card" }, h("div", { key: '15da6ffbfe870b80bd057415469a4c94c1b3a243', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: 'f3f36d408dbbe9717ff2ca13981714c36a4ba160' })), h("h3", { key: '56cd0d658ba9a1c63cd0017514a190c42796dbf4', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), h("div", { key: 'db6672c70cc566544ec748f9c7a7426000e0c619', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), h("form", { key: 'd227b962561915e823a151a289b135c1d9065510', onSubmit: this.handleSubmitCancelBooking }, h("sp-field-label", { key: '42eea73d2ffb041b90fbdffdc0c7e16603eee949', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", h("span", { key: '57978569e7bd5828b9dfaee053de9a8fae0892d5', class: "required" }, "*")), 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 }, h("sp-help-text", { key: 'dd985c41efd6427e1cec09874caee5c5d345c1cb', slot: "negative-help-text" }, this.cancellationError)), h("sp-button", { key: '97705e808b56f0d373dc1fa705fd61b912ed643e', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), h("sp-button", { key: '21ae78e3492ad79cbee485709bb863c29f4b041f', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
75
+ return (h(Host, { key: '25f45d91057f52263ae313ffed14d56ba22a783d', part: "ncec" }, h("sp-theme", { key: 'c213bc36d8459f0c206ca19bdd77d2d6b5ba5c1b', theme: "spectrum", scale: "medium" }, h("div", { key: 'bd50aa9a5c416825bc6b05c0bf47d85a31021c29', class: "nylas-cancel-booking-form", part: "ncec__card" }, h("div", { key: '9654b0cbda12436ac025265f82aa8bfe0a127fbd', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: '3a97606f7c5f2e0f9c08dc7f0b199e56a4afa7f4' })), h("h3", { key: '26c0a115101786847fa681fa2cb3492561516f64', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), h("div", { key: '05fe59fff1fa6b8bf38313bef5457d4022674570', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, this.cancellationPolicy), h("form", { key: '6c3c1365bde80d1915026f125be9208c3c16d69c', onSubmit: this.handleSubmitCancelBooking }, h("sp-field-label", { key: 'fca2f04d8300b0e1be7a8071fed69c714f82491e', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", h("span", { key: '1a77038fbda4048fca0e7cc8a39ad357a10f0fd7', class: "required" }, "*")), 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 }, h("sp-help-text", { key: 'e2e0c9794cae46b4a5cc857156d904a1236ccb49', slot: "negative-help-text" }, this.cancellationError)), h("sp-button", { key: 'a647e3e70704325f3986e6a869b65a5ec7495354', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), h("sp-button", { key: 'b8b732ceafaf6d1090cf7b1a3d979854e17684ca', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
76
76
  }
77
77
  static get watchers() { return {
78
78
  "configSettings": ["configSettingsChangedHandler"]
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host, i as getElement } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { a as debug } from './utils-04c10cbd.js';
4
4
  import { s as sanitizeHtml_1 } from './index-ac065dce.js';
5
5
  import './buffer-es6-5510d761.js';
6
6
  import './_commonjsHelpers-6cbf8316.js';
@@ -68,7 +68,7 @@ const NylasCancellationPolicy = class {
68
68
  this.valueChanged.emit({ value: value, name: this.name });
69
69
  }
70
70
  render() {
71
- return (h(Host, { key: '34cd25b32015d276305a1655cec0e7d943189a4d' }, h("div", { key: '811fd581db9ce4c0aa80dceca9e66d00d1cafb7d', class: "nylas-cancellation-policy", part: "ncpolicy" }, h("label", { key: 'c6693d8f18794177754e708ef725c237f92455d7', htmlFor: this.name }, "Cancellation policy message", h("span", { key: '5c0d9238690e368b63c099625277b85734be5b5c', class: "label-icon" }, h("tooltip-component", { key: '031d9a347cdd9a349747e87ffe68ea0ba611f96f' }, h("info-icon", { key: 'f4e086eb34bfb3eb4fb1997b1047ba22e865f1bc', slot: "tooltip-icon" }), 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.")))), h("textarea", { key: '2d92b92f7a30f58d0307915293000e4de337808d', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
71
+ return (h(Host, { key: '9ad194925cfb18c323d3f75aec51c4ac5ad67230' }, h("div", { key: 'a4ae061a504a0cd6a91dd6dd23adcf7c3b8f43d5', class: "nylas-cancellation-policy", part: "ncpolicy" }, h("label", { key: 'ea742ee8fba2e50a5694c210172e8783fa3d5e7b', htmlFor: this.name }, "Cancellation policy message", h("span", { key: '5c7143f8da100b650aa386c9fb895c3fd9ed2e04', class: "label-icon" }, h("tooltip-component", { key: 'f46c7b94a1a58bd7162e5cfffc14a88b04a18a4c' }, h("info-icon", { key: '9d85ce578da1db7b080f3152b8fdb43834968829', slot: "tooltip-icon" }), 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.")))), h("textarea", { key: '570404ef8450c4ef2bb28fad4d1c6359b735abae', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
72
72
  }
73
73
  static get formAssociated() { return true; }
74
74
  get host() { return getElement(this); }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { a as debug } from './utils-04c10cbd.js';
4
4
  import './buffer-es6-5510d761.js';
5
5
  import './_commonjsHelpers-6cbf8316.js';
6
6
 
@@ -53,7 +53,7 @@ const NylasCancelledEventCard = class {
53
53
  debug(`[nylas-cancelled-event-card] Component disconnected`);
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '11c4720a791169b5d562f484fecc2e5586bbdeaf', part: "ncec" }, h("sp-theme", { key: 'ccd04e6a1a895ad4be18bdb14d27a1c7403a0568', theme: "spectrum", color: "dark", scale: "medium" }, h("div", { key: 'a0360afadc55f58d20e651cb33036aa364a3740e', class: "nylas-cancelled-event-card", part: "ncec__card" }, h("div", { key: '727eba1d97de774c9a51909bec714688d9e60c1c', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: 'bd96caf7b68ee65a470e5949d6622de0893c112d' })), h("h3", { key: '9bcb27d08117825255c2a5625e7b8f630e35b1e5', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), 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', "."), h("div", { key: '50130b11b9806a5c6adfd67f436d273fbec91774', class: "nylas-cancelled-event-card__cta" }, h("sp-button", { key: '77e8e62722ac4ace0a667b45feed6684b3bb6056', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
56
+ return (h(Host, { key: '9c4e8c3d74888d794d747e048ab368ae4f9fce9f', part: "ncec" }, h("sp-theme", { key: 'fe7c297e3da3ec06c54b8c4eddce779e283a6f8c', theme: "spectrum", color: "dark", scale: "medium" }, h("div", { key: '1154b9e1271af9d613401f1958937a2dc87ad2e9', class: "nylas-cancelled-event-card", part: "ncec__card" }, h("div", { key: 'c1d5e51311db568bdfd14c45cdb17a341d1222ad', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: '9c3f516a80498ff983fe17dd2fbc84d9ee0ac7b8' })), h("h3", { key: '82ed5d4165dbc590bb996569252a5661ac915d98', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), 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', "."), h("div", { key: 'c82b6b6260111bdecf664a475591cbfab6d4321e', class: "nylas-cancelled-event-card__cta" }, h("sp-button", { key: '34fdcee6945a44597a2084c3043aa3375cd560cb', variant: "secondary", treatment: "outline", disabled: this.isClosing, part: "ncec__button-outline", onClick: this.handleCloseClicked }, this.isClosing ? 'Closing...' : 'Close'))))));
57
57
  }
58
58
  };
59
59
  __decorate([
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host, i as getElement } from './index-582cfc93.js';
2
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { a as debug } from './utils-04c10cbd.js';
3
3
  import './buffer-es6-5510d761.js';
4
4
  import './_commonjsHelpers-6cbf8316.js';
5
5
 
@@ -135,7 +135,7 @@ const NylasComposer = class {
135
135
  this.editorEl.focus();
136
136
  }
137
137
  render() {
138
- return (h(Host, { key: 'c8ab18162320c10834660c655141a985c36958ac' }, h("sp-theme", { key: '01a86b0ddef68c16b139cdb95bf3f9df102ead60', scale: "medium", color: "dark" }, h("div", { key: '280d8dfbee592023d7461e6691805a6e44e8837b', class: "editor", contentEditable: true, ref: r => (this.editorEl = r) }, h("div", { key: '35437f24077f1e5a9b629bfca6437ec6740c8780', class: "toolbar", ref: r => (this.toolbarEl = r), contentEditable: false }, h("sp-button", { key: '378551180f48beb175216d045acd4d65355f3234', quiet: true, onClick: () => document.execCommand('bold') }, h("div", { key: 'a7a6872cfc4d34939aaeba4e45e67d8ca1ac52ab', slot: "icon" }, h("bold-icon", { key: '198210356c76239162c2d44251845529b5765e04' })), h("div", { key: '6ecdf762f2a29a39bce8c49da6cc366594218c52', slot: "label" }, "Bold")), h("sp-button", { key: '6ee0821abd7462a9105f13228a4441ed302d0df9', quiet: true, onClick: () => document.execCommand('underline') }, h("div", { key: '37745f4ee7e5bac2d4bba65d3682338590b49c88', slot: "icon" }, h("underline-icon", { key: '9b7a46dbf44378c001c16afca0e8c30e0b1ea12f' })), h("div", { key: '54e6ce111dcc82421b475040a0a85d26c648c1d4', slot: "label" }, "Underline")), h("sp-button", { key: 'ae292c9f8f55a7ae82ddfaaa75ba9a045c80c02d', quiet: true, onClick: () => document.execCommand('italic') }, h("div", { key: 'fdfdf0265a51eeca44c72ec7de634f9c23a5a846', slot: "icon" }, h("italic-icon", { key: '6308247060d42eb21284e6687a0abc18cf63e32c' })), h("div", { key: '49487a1f0677fc394dd617abfdb645c56e441f55', slot: "label" }, "Italic")))), h("div", { key: '08b56206aef08fbc262ec615c1c593949ef05c82', class: 'buttons' }, h("sp-button", { key: 'f099e2091f8070adaf80cd9fd4299e53e25ef39b', onClick: this.sendComposer, class: "send" }, "Send"), h("sp-button", { key: '78c73f9aec9dd29a7b1360192ef190d20f0bb092', onClick: this.closeComposer, class: "close" }, "Close")))));
138
+ return (h(Host, { key: '272229753ac9d990a72c4e1d743b34d01d57d3e3' }, h("sp-theme", { key: 'a43065734dff3bbda8163f9d39f381619020e603', scale: "medium", color: "dark" }, h("div", { key: '11d5f1e8d8c3e7debda04af54a2c6ef5c63b3260', class: "editor", contentEditable: true, ref: r => (this.editorEl = r) }, h("div", { key: '6c936b9bfb1fdce1d8f073405bd80a582849e175', class: "toolbar", ref: r => (this.toolbarEl = r), contentEditable: false }, h("sp-button", { key: 'b6c5c51c52d707165367990fa76b5a80fc837936', quiet: true, onClick: () => document.execCommand('bold') }, h("div", { key: 'e8d07f19efe1bcbb1eb0efd69fe0566df8a656d3', slot: "icon" }, h("bold-icon", { key: 'cd5c2e7b5883e1ff5c6d34106a0b4086ffb9b1d2' })), h("div", { key: '8efca1559b463fc356fe69d0bf7fc327f90ab846', slot: "label" }, "Bold")), h("sp-button", { key: '1d7703909feab13241fd75052946f198ad01d1b6', quiet: true, onClick: () => document.execCommand('underline') }, h("div", { key: 'ab1d89e8d5ebca33447274cffbcda5574f41bdde', slot: "icon" }, h("underline-icon", { key: '0598b423ac6724aef96ca5343ce1449fb56f8766' })), h("div", { key: 'c091c8f3d08798fa7d49b86508b29047e5e4ea44', slot: "label" }, "Underline")), h("sp-button", { key: '60ea18e3f3ff95760910fef22119255477375a8f', quiet: true, onClick: () => document.execCommand('italic') }, h("div", { key: 'ed6f703adc15b721e0e3cfc72ab438a620b34dbd', slot: "icon" }, h("italic-icon", { key: 'adb995c72136305499b149eb706841b4ca8291c8' })), h("div", { key: '481da563cadf1885efe1f466c5299913f78442a7', slot: "label" }, "Italic")))), h("div", { key: '5c2185ee0ba3c99bde46c13094c696fba33bfe6a', class: 'buttons' }, h("sp-button", { key: 'f73a9a795a24e59d2c835b5a9a1cb7e2d16532c6', onClick: this.sendComposer, class: "send" }, "Send"), h("sp-button", { key: '2a2ef56256878c45da84f03933e292a98069c44d', onClick: this.closeComposer, class: "close" }, "Close")))));
139
139
  }
140
140
  get host() { return getElement(this); }
141
141
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host, i as getElement } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { a as debug } from './utils-04c10cbd.js';
4
4
  import './buffer-es6-5510d761.js';
5
5
  import './_commonjsHelpers-6cbf8316.js';
6
6
 
@@ -95,7 +95,7 @@ const NylasCustomBookingFlow = class {
95
95
  value: 'pre-booking',
96
96
  },
97
97
  ];
98
- return (h(Host, { key: '21319a4631f1c0990936623d6458ad80c424e508' }, h("div", { key: '314ed4bd9b3057d209825cd93b3bcdde32c00a0d', class: "nylas-custom-booking-flow", part: "ncbf" }, h("div", { key: 'ce531904154c284cd4692ab3e31564be5fe826b1', class: "header", part: "ncbf__header" }, h("h3", { key: '403ef6532fcf5b0ecd79944a02aa287537c677e1' }, "Customize booking flow"), h("p", { key: 'c8a5fb5fb02b7b4687778654b91b983ca210a0da' }, "Customize how new bookings are handled when a booking is completed.")), bookingOptions.length > 0 ? (h("div", { class: "nylas-custom-booking-flow__dropdown" }, h("span", { class: "label" }, "After a booking is confirmed", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), 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."))), 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] }))) : (h("div", { class: "nylas-custom-booking-flow__loading" }, h("span", { class: "label" }, "Select a calendar to book meetings on ", h("info-icon", null)), h("div", { class: "loading-button" }, h("span", null, "Loading...")))))));
98
+ return (h(Host, { key: '6202233ce5955be9542db05e648ef2ea2d8c45c2' }, h("div", { key: '990ca595cc8f541902a4bccc7b0bf7f9f029c32a', class: "nylas-custom-booking-flow", part: "ncbf" }, h("div", { key: 'fc8e126be280ce56f968b4759ce549ebfcba5883', class: "header", part: "ncbf__header" }, h("h3", { key: 'b08624ee0a3fbb31c136be140e7c63d2862ae55d' }, "Customize booking flow"), h("p", { key: '0a21993fc37169030332858b01a6b4a4ad838424' }, "Customize how new bookings are handled when a booking is completed.")), bookingOptions.length > 0 ? (h("div", { class: "nylas-custom-booking-flow__dropdown" }, h("span", { class: "label" }, "After a booking is confirmed", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), 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."))), 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] }))) : (h("div", { class: "nylas-custom-booking-flow__loading" }, h("span", { class: "label" }, "Select a calendar to book meetings on ", h("info-icon", null)), h("div", { class: "loading-button" }, h("span", null, "Loading...")))))));
99
99
  }
100
100
  static get formAssociated() { return true; }
101
101
  get host() { return getElement(this); }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host, i as getElement } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { a as debug } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { a as debug } from './utils-04c10cbd.js';
4
4
  import './buffer-es6-5510d761.js';
5
5
  import './_commonjsHelpers-6cbf8316.js';
6
6
 
@@ -103,7 +103,7 @@ const NylasCustomizeBookingSettings = class {
103
103
  }), this.name);
104
104
  }
105
105
  render() {
106
- return (h(Host, { key: '289e0e8ff03e0f033bdedc44a66002d971a01a4a' }, h("div", { key: '198e4e31a02a362c393b0b9395c7ab884dd04928', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: '4ac0939989b64eec0f4cbe6eebe4132be85112d0', class: "header", part: "ncbs__header" }, h("h3", { key: 'a64955a52821d22f1afab025bf18b0505d0aebcd' }, "Additional settings"), h("p", { key: '413d26d3102c624acd77f1b2d6aaa01e9abf8240' }, "Booking settings for the event.")), h("div", { key: 'e6ddf5653c6188773f59dbd6ca683cf2e5bd2c1d', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { key: '47ec40306877e710bc53494e0cb23bd17ec1c803', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: '9e5a9452ff0ffe8b590702b91d8dba82512db6cf', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { key: 'f32cc44ad67e2f135a7581fc72772c156a4f2df6', slot: "label", class: "label" }, h("p", { key: '314d47c72d9a76cca9e94e11bf785b61c6786a48', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), h("tooltip-component", { key: 'd286d724e35b7a8c82c65f42923646c09462fadf', id: "guests" }, h("info-icon", { key: '1feafcf384686c0613c0fe764c09db5b7c1ddae8', slot: "tooltip-icon" }), 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."))))), h("div", { key: '340b0fcd9d6f263550c347f2a87229a86c674cae', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: '2453ac1996fd178d363a712b4d378591be3ee32a', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { key: '2420f028dc654f9a8ce01ec9a924f7e0694da05b', slot: "label", class: "label" }, h("p", { key: '31bdc2ff59f7cef6ebd1c21329e34e001bfb6235', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: '76ecdab15e2fdb90dd1c34f826f0392b145291dc' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: '489a219e2854cd6aae0df6ec8064d262e74a4dfd', id: "reschedule" }, h("info-icon", { key: '6e727527c025b00ae8907a9381fa45f2b30c325b', slot: "tooltip-icon" }), 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."))))), h("div", { key: '4b92782d796cd57802c333e72cce4cb56c2424b5', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: 'c27bb8a583f782659c7a8c3fb6320f9bc653f005', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { key: '9feb0f1f1c9cfc9438317ac1e860265b0365d73c', slot: "label", class: "label" }, h("p", { key: 'e5a072e8381efdd81d96cda680bce8408699988e', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: '7451a2ffc3815301afe3c8c6ae80ecaf7f16075f' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: '12ba9c92d34cb63dc3ce23b2ab9b00c54e83afd4', id: "cancel" }, h("info-icon", { key: '159518806d8f14c1b9a6b4b36877d3174883bd7d', slot: "tooltip-icon" }), 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.")))))))));
106
+ return (h(Host, { key: '98e7ab408f5d7dff71321819cbc2a5e336ca52de' }, h("div", { key: 'ea73803234b4843cf7e58dc2570171e0237ea7d1', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: '9b081de7e2d2152b874a5a4713a5313c6e021409', class: "header", part: "ncbs__header" }, h("h3", { key: '976be7412b4f8d70269c3b429652fa1091da1457' }, "Additional settings"), h("p", { key: 'f580ed5fd9c29773715bf26f5dc0c466c56ba43f' }, "Booking settings for the event.")), h("div", { key: '9e694bcf133167fa12efbd46bee02158b56e9777', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { key: '39d4154e12c7f5cf96f04ca3fc3e0f17d0e8b2ec', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: '61f11b632388d036622078f76f2d90370458b152', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { key: '14573cca344d64ddfddebe6f402321a52fcce6ee', slot: "label", class: "label" }, h("p", { key: '64790dee39a090a778479a7eb3b1efcd14054bb9', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), h("tooltip-component", { key: '564c56d4f159e11bf82b02eaab43b36ef9dd7117', id: "guests" }, h("info-icon", { key: 'a442aac8c9d930dc6be00a07fb6cd32b39cbd24b', slot: "tooltip-icon" }), 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."))))), h("div", { key: 'e7d58c8c04cd715bd02fd4dcc14073ce1f6aaf08', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: '3f5c22d363bb11012b8514f5a33871a3f054fc80', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { key: '2ed45b907aa847c41da5a0e394b0b5ddb91a3e26', slot: "label", class: "label" }, h("p", { key: 'a1fc109c7211d387426d66ac9129fad25032565b', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: 'ac79eec03a85d1963ac4e75b0fbf678f4a063776' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: 'd8f41e37b915c0be9154a475da07d5ed343d96b4', id: "reschedule" }, h("info-icon", { key: 'fbb3f300f4276bd249f9cf12d11c4b6467c82247', slot: "tooltip-icon" }), 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."))))), h("div", { key: 'f21aeca85fbb63da4d844d37cf87ff1e8d48f001', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: 'be80ca87a198de83451085fceca77b4d2455357d', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { key: '80e718e75b94562d3b8c4a3d9f170ee2de0c2c1b', slot: "label", class: "label" }, h("p", { key: 'd46dfe25aa86b112f5c57abe3337de6d88a79c90', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: 'ac243fbb7a3c85c8ab3af28b61ae2724c428ac3e' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: 'b720fc3becba6ca2cc71d01bb77c19ec154b1aa1', id: "cancel" }, h("info-icon", { key: '5ab491a0734fe525ad2be3e2ad067cb292cce182', slot: "tooltip-icon" }), 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.")))))))));
107
107
  }
108
108
  static get formAssociated() { return true; }
109
109
  get host() { return getElement(this); }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, a as createEvent, h, e as Host } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { h as addDaysToCurrentDate, l as getLastDayOfMonth, m as getFirstDayOfMonth, n as isSameDay, o as convertMinutesToHoursAndMinutes, p as isSameMonth } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { h as addDaysToCurrentDate, l as getLastDayOfMonth, m as getFirstDayOfMonth, n as isSameDay, o as convertMinutesToHoursAndMinutes, p as isSameMonth } from './utils-04c10cbd.js';
4
4
  import './buffer-es6-5510d761.js';
5
5
  import './_commonjsHelpers-6cbf8316.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { h, r as registerInstance, a as createEvent, e as Host, i as getElement } from './index-582cfc93.js';
2
- import { R as RegisterComponent } from './register-component-6ae95538.js';
3
- import { q as mergeDeep, a as debug, r as parsePreviewLink } from './utils-49a1d17b.js';
2
+ import { R as RegisterComponent } from './register-component-aef40ec4.js';
3
+ import { q as mergeDeep, a as debug, r as parsePreviewLink } from './utils-04c10cbd.js';
4
4
  import { D as DEFAULT_OPEN_HOURS } from './constants-b20948c9.js';
5
5
  import './buffer-es6-5510d761.js';
6
6
  import './_commonjsHelpers-6cbf8316.js';
@@ -43,7 +43,8 @@ function TabContents({ id, formState, activeTab, calendars }) {
43
43
  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" })));
44
44
  case 'participants':
45
45
  return (h("div", { key: id },
46
- 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" })));
46
+ 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" }),
47
+ 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" })));
47
48
  }
48
49
  }
49
50
 
@@ -83,8 +84,7 @@ const NylasEditorTabs = class {
83
84
  this.isLoading = true;
84
85
  this.hasUnsavedChanges = false;
85
86
  const formState = this.updateFormState();
86
- const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, } = formState;
87
- const organizer = this.selectedConfiguration?.participants?.find(p => p.is_organizer);
87
+ const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, participantOpenHours, } = formState;
88
88
  const durationMinutes = duration ? parseInt(duration) : 30;
89
89
  const configObject = {
90
90
  ...(this.selectedConfiguration?.id && { id: this.selectedConfiguration.id }),
@@ -96,24 +96,34 @@ const NylasEditorTabs = class {
96
96
  availability_rules: {
97
97
  availability_method: this.selectedConfiguration?.availability?.availability_rules?.availability_method ?? 'collective',
98
98
  buffer: buffer || { before: 0, after: 0 },
99
- default_open_hours: this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
99
+ default_open_hours: availability?.openHours ?? this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
100
100
  round_robin_group_id: this.selectedConfiguration?.availability?.availability_rules?.round_robin_group_id ?? '',
101
101
  },
102
102
  },
103
103
  participants: [
104
- {
105
- name: organizer?.name ?? organizer?.email ?? this.currentUser?.name ?? this.currentUser?.email ?? '',
106
- email: organizer?.email ?? this.currentUser?.email ?? '',
107
- is_organizer: true,
108
- availability: {
109
- calendar_ids: calendarIds?.length ? calendarIds : ['primary'],
110
- open_hours: availability?.openHours ?? [],
111
- },
112
- booking: {
113
- calendar_id: bookingCalendar && bookingCalendar !== '' ? bookingCalendar : 'primary',
114
- },
115
- },
116
- ...(participants ?? []),
104
+ ...(participants?.map(p => {
105
+ if (p.is_organizer) {
106
+ return {
107
+ name: p.name ?? p.email,
108
+ email: p.email,
109
+ is_organizer: true,
110
+ availability: {
111
+ calendar_ids: calendarIds?.length ? calendarIds : ['primary'],
112
+ open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
113
+ },
114
+ booking: {
115
+ calendar_id: bookingCalendar && bookingCalendar !== '' ? bookingCalendar : 'primary',
116
+ },
117
+ };
118
+ }
119
+ return {
120
+ ...p,
121
+ availability: {
122
+ calendar_ids: p.availability?.calendar_ids ?? ['primary'],
123
+ open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
124
+ },
125
+ };
126
+ }) ?? []),
117
127
  ],
118
128
  event_booking: {
119
129
  title: title?.toString() ?? '',
@@ -184,7 +194,8 @@ const NylasEditorTabs = class {
184
194
  handleValueChanged(event) {
185
195
  debug('[nylas-editor-tabs]', 'handleValueChanged', event);
186
196
  const { name, value } = event.detail;
187
- this.formState = { ...this.formState, [name]: value };
197
+ this.setFormState(value, name);
198
+ this.formState = { ...this.formState };
188
199
  this.hasUnsavedChanges = true;
189
200
  this.error = '';
190
201
  }
@@ -196,7 +207,7 @@ const NylasEditorTabs = class {
196
207
  duration: config?.availability?.duration_minutes?.toString() ?? '30',
197
208
  availability: {
198
209
  timezone: config?.event_booking?.timezone ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
199
- openHours: organizerParticipant?.availability?.open_hours,
210
+ openHours: config?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
200
211
  },
201
212
  calendarIds: organizerParticipant?.availability?.calendar_ids ?? [],
202
213
  participants: config?.participants ?? [],
@@ -217,62 +228,69 @@ const NylasEditorTabs = class {
217
228
  hideReschedulingOptions: config?.scheduler?.hide_rescheduling_options ?? false,
218
229
  };
219
230
  }
231
+ setFormState(value, key) {
232
+ switch (key) {
233
+ case 'title':
234
+ this.formState.title = value.toString();
235
+ break;
236
+ case 'description':
237
+ this.formState.description = value.toString();
238
+ break;
239
+ case 'duration':
240
+ this.formState.duration = value.toString();
241
+ break;
242
+ case 'availability':
243
+ this.formState.availability = JSON.parse(value.toString());
244
+ break;
245
+ case 'participants':
246
+ this.formState.participants = JSON.parse(value.toString());
247
+ break;
248
+ case 'calendars':
249
+ this.formState.calendarIds = value.toString().split(',');
250
+ break;
251
+ case 'booking-calendar':
252
+ this.formState.bookingCalendar = value.toString();
253
+ break;
254
+ case 'location':
255
+ this.formState.location = value.toString();
256
+ break;
257
+ case 'booking-type':
258
+ this.formState.bookingType = value.toString();
259
+ break;
260
+ case 'buffer-time':
261
+ this.formState.buffer = JSON.parse(value.toString());
262
+ break;
263
+ case 'limit-future-bookings':
264
+ this.formState.availableDaysInFuture = parseInt(value.toString());
265
+ break;
266
+ case 'min-cancellation-notice':
267
+ this.formState.minCancellationNotice = parseInt(value.toString());
268
+ break;
269
+ case 'min-booking-notice':
270
+ this.formState.minBookingNotice = parseInt(value.toString());
271
+ break;
272
+ case 'cancellation-policy':
273
+ this.formState.cancellationPolicy = value.toString();
274
+ break;
275
+ case 'timeslot-interval':
276
+ this.formState.timeslotInterval = JSON.parse(value.toString());
277
+ break;
278
+ case 'customize-booking-settings':
279
+ const settings = JSON.parse(value.toString());
280
+ this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
281
+ this.formState.hideCancellationOptions = settings.hideCancellationOptions;
282
+ this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
283
+ break;
284
+ case 'participant-custom-availability':
285
+ const participantOpenHours = JSON.parse(value.toString());
286
+ this.formState.participantOpenHours = participantOpenHours;
287
+ break;
288
+ }
289
+ }
220
290
  updateFormState() {
221
291
  const formData = new FormData(this.formRef);
222
292
  formData.forEach((value, key) => {
223
- switch (key) {
224
- case 'title':
225
- this.formState.title = value.toString();
226
- break;
227
- case 'description':
228
- this.formState.description = value.toString();
229
- break;
230
- case 'duration':
231
- this.formState.duration = value.toString();
232
- break;
233
- case 'availability':
234
- this.formState.availability = JSON.parse(value.toString());
235
- break;
236
- case 'participants':
237
- this.formState.participants = JSON.parse(value.toString());
238
- break;
239
- case 'calendars':
240
- this.formState.calendarIds = value.toString().split(',');
241
- break;
242
- case 'booking-calendar':
243
- this.formState.bookingCalendar = value.toString();
244
- break;
245
- case 'location':
246
- this.formState.location = value.toString();
247
- break;
248
- case 'booking-type':
249
- this.formState.bookingType = value.toString();
250
- break;
251
- case 'buffer-time':
252
- this.formState.buffer = JSON.parse(value.toString());
253
- break;
254
- case 'limit-future-bookings':
255
- this.formState.availableDaysInFuture = parseInt(value.toString());
256
- break;
257
- case 'min-cancellation-notice':
258
- this.formState.minCancellationNotice = parseInt(value.toString());
259
- break;
260
- case 'min-booking-notice':
261
- this.formState.minBookingNotice = parseInt(value.toString());
262
- break;
263
- case 'cancellation-policy':
264
- this.formState.cancellationPolicy = value.toString();
265
- break;
266
- case 'timeslot-interval':
267
- this.formState.timeslotInterval = JSON.parse(value.toString());
268
- break;
269
- case 'customize-booking-settings':
270
- const settings = JSON.parse(value.toString());
271
- this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
272
- this.formState.hideCancellationOptions = settings.hideCancellationOptions;
273
- this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
274
- break;
275
- }
293
+ this.setFormState(value, key);
276
294
  });
277
295
  this.formState = { ...this.formState };
278
296
  return this.formState;
@@ -285,22 +303,22 @@ const NylasEditorTabs = class {
285
303
  render() {
286
304
  debug('[nylas-editor-tabs]', 'render', this.formState);
287
305
  const showParticipantsTab = localStorage.getItem('nylas') === 'Nylas Developer';
288
- return (h(Host, { key: 'ed57de888af9f29e6be4562b8d65c9800a6b4ad9' }, h("form", { key: '5f3d154f95b47b78fe3cc83a76df4d7e39330f80', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents" }, h("div", { class: "tabs" }, h("button", { class: { tab: true, active: this.activeTab == 'eventInfo' }, onClick: e => this.setActiveTab(e, 'eventInfo') }, h("calendar-info-icon", { width: "16", height: "16" }), "Event Info"), h("button", { class: { tab: true, active: this.activeTab == 'availability' }, onClick: e => this.setActiveTab(e, 'availability') }, h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), h("button", { class: { tab: true, active: this.activeTab == 'bookingOptions' }, onClick: e => this.setActiveTab(e, 'bookingOptions') }, h("flow-icon", { width: "16", height: "16" }), "Booking Options"), showParticipantsTab && (h("button", { class: { tab: true, active: this.activeTab == 'participants' }, onClick: e => this.setActiveTab(e, 'participants') }, h("people-icon", { width: "16", height: "16" }), "Participants"))), h("div", { class: "tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (h("slot", null)), h("div", { key: 'c2a419fa59d6622e32627e476853ece732ff517c', class: "footer" }, h("div", { key: 'b4eab68c7ee5d35aa1f9a77e0ef1c47d5080252a', class: "preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
306
+ return (h(Host, { key: 'ccfd780da5c6ce1688f60384796bbaa98fe6094d' }, h("form", { key: '2e5d1c16a5373a5b623869925a7cab71f52f98ce', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents" }, h("div", { class: "tabs" }, h("button", { class: { tab: true, active: this.activeTab == 'eventInfo' }, onClick: e => this.setActiveTab(e, 'eventInfo') }, h("calendar-info-icon", { width: "16", height: "16" }), "Event Info"), h("button", { class: { tab: true, active: this.activeTab == 'availability' }, onClick: e => this.setActiveTab(e, 'availability') }, h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), h("button", { class: { tab: true, active: this.activeTab == 'bookingOptions' }, onClick: e => this.setActiveTab(e, 'bookingOptions') }, h("flow-icon", { width: "16", height: "16" }), "Booking Options"), showParticipantsTab && (h("button", { class: { tab: true, active: this.activeTab == 'participants' }, onClick: e => this.setActiveTab(e, 'participants') }, h("people-icon", { width: "16", height: "16" }), "Participants"))), h("div", { class: "tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (h("slot", null)), h("div", { key: 'f11d2767c5fc65ad7a72f346e9b3940b8151d7a3', class: "footer" }, h("div", { key: '858c5dac4d006f28b05347be3feba2d6dd336b15', class: "preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
289
307
  event.preventDefault();
290
308
  const previewEvent = this.previewButtonClicked.emit(this.host);
291
309
  if (!previewEvent.defaultPrevented) {
292
310
  window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
293
311
  }
294
- }, variant: 'basic' }, "Preview"))), h("div", { key: '0d1be883712a43e918d6a24415309e7fca51ac6b', class: "buttons" }, h("p", { key: 'e84e22ff1f71263e512ec95ee1513c53d4dadc10', class: {
312
+ }, variant: 'basic' }, "Preview"))), h("div", { key: 'c5225165887e64b467570a3f90222479fb259494', class: "buttons" }, h("p", { key: '50b2861f9c99e3dc91e58f77097fa753ba02cd1b', class: {
295
313
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
296
314
  'saved-changes': this.changesSaved,
297
315
  'error': this.error !== '',
298
316
  'error-full-width': this.error !== '' && this.action === 'create',
299
- } }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: 'dd4e56935a6b20576b5316acb76947375084dfce', type: "button", disabled: this.isLoading, clickHandler: event => {
317
+ } }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: '9934c2cf6faf7e74b135add1728e3524bc29e13f', type: "button", disabled: this.isLoading, clickHandler: event => {
300
318
  event.preventDefault();
301
319
  this.cancelButtonClick.emit();
302
320
  this.error = '';
303
- }, variant: 'basic' }, "Cancel"), h("button-component", { key: '16324ef17540626894bde0f55c1198d45ef0d0ce', type: "submit", disabled: this.isLoading }, this.isLoading ? (h("span", null, "Saving", h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
321
+ }, variant: 'basic' }, "Cancel"), h("button-component", { key: '872f1a24204c38948d484b2bf99aa72d78ba7a37', type: "submit", disabled: this.isLoading }, this.isLoading ? (h("span", null, "Saving", h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
304
322
  }
305
323
  get host() { return getElement(this); }
306
324
  static get watchers() { return {