@nylas/web-elements 2.5.6 → 2.5.7

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 (331) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +7317 -7304
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
  3. package/dist/cjs/{abstract-provider-f3JKAnoC.js → abstract-provider-EX4lu0u8.js} +3 -3
  4. package/dist/cjs/{abstract-provider-f3JKAnoC.js.map → abstract-provider-EX4lu0u8.js.map} +1 -1
  5. package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +2 -2
  6. package/dist/cjs/checkbox-group_4.cjs.entry.js +3 -3
  7. package/dist/cjs/checkmark-icon_14.cjs.entry.js +2 -2
  8. package/dist/cjs/{customParseFormat-5f0XwO0N.js → customParseFormat-CRtj2ht3.js} +3 -3
  9. package/dist/cjs/{customParseFormat-5f0XwO0N.js.map → customParseFormat-CRtj2ht3.js.map} +1 -1
  10. package/dist/cjs/globe-icon_3.cjs.entry.js +2 -2
  11. package/dist/cjs/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.cjs.js.map +1 -1
  12. package/dist/cjs/google-logo-icon_6.cjs.entry.js +34 -22
  13. package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
  14. package/dist/cjs/index.cjs.js +2 -2
  15. package/dist/cjs/input-component.cjs.entry.js +1 -1
  16. package/dist/cjs/input-dropdown_2.cjs.entry.js +1 -1
  17. package/dist/cjs/input-image-url_2.cjs.entry.js +2 -2
  18. package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
  19. package/dist/cjs/{nylas-api-request-Cbo-19Nf.js → nylas-api-request-8qsFHWUt.js} +3 -3
  20. package/dist/cjs/{nylas-api-request-Cbo-19Nf.js.map → nylas-api-request-8qsFHWUt.js.map} +1 -1
  21. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +2 -2
  22. package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
  23. package/dist/cjs/nylas-notification_2.cjs.entry.js +1 -1
  24. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +4 -4
  25. package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
  26. package/dist/cjs/{register-component-3z1jbXx-.js → register-component-DjG8kzjz.js} +3 -3
  27. package/dist/cjs/{register-component-3z1jbXx-.js.map → register-component-DjG8kzjz.js.map} +1 -1
  28. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  29. package/dist/cjs/{utils-C5qGWVDr.js → utils-BDriE9YY.js} +17 -2
  30. package/dist/{esm/utils-DDKV6-nQ.js.map → cjs/utils-BDriE9YY.js.map} +1 -1
  31. package/dist/cjs/{version-CJ5046pS.js → version-C5rRjTHU.js} +3 -3
  32. package/dist/cjs/{version-CJ5046pS.js.map → version-C5rRjTHU.js.map} +1 -1
  33. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +8 -8
  34. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  35. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
  36. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
  37. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +8 -8
  38. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
  39. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/tab-contents-group.js +1 -1
  40. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/tab-contents-group.js.map +1 -1
  41. package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +15 -3
  42. package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
  43. package/dist/collection/utils/utils.js +14 -0
  44. package/dist/collection/utils/utils.js.map +1 -1
  45. package/dist/collection/version.js +1 -1
  46. package/dist/collection/version.js.map +1 -1
  47. package/dist/components/index.js +1 -1
  48. package/dist/components/input-component.js +1 -1
  49. package/dist/components/input-image-url.js +1 -1
  50. package/dist/components/multi-select-dropdown.js +1 -1
  51. package/dist/components/nylas-additional-participants.js +1 -1
  52. package/dist/components/nylas-availability-picker.js +1 -1
  53. package/dist/components/nylas-booked-event-card.js +1 -1
  54. package/dist/components/nylas-booking-calendar-picker.js +1 -1
  55. package/dist/components/nylas-booking-confirmation-redirect.js +1 -1
  56. package/dist/components/nylas-booking-confirmation-type.js +1 -1
  57. package/dist/components/nylas-booking-form-config.js +1 -1
  58. package/dist/components/nylas-booking-form.js +1 -1
  59. package/dist/components/nylas-buffer-time.js +1 -1
  60. package/dist/components/nylas-calendar-picker.js +1 -1
  61. package/dist/components/nylas-cancel-booking-form.js +1 -1
  62. package/dist/components/nylas-cancellation-policy.js +1 -1
  63. package/dist/components/nylas-cancelled-event-card.js +1 -1
  64. package/dist/components/nylas-confirmation-email.js +1 -1
  65. package/dist/components/nylas-confirmed-event-card.js +1 -1
  66. package/dist/components/nylas-connected-calendars.js +1 -1
  67. package/dist/components/nylas-custom-booking-flow.js +1 -1
  68. package/dist/components/nylas-custom-event-slug.js +1 -1
  69. package/dist/components/nylas-customize-booking-settings.js +1 -1
  70. package/dist/components/nylas-date-component.js +1 -1
  71. package/dist/components/nylas-date-picker.js +1 -1
  72. package/dist/components/nylas-disable-emails.js +1 -1
  73. package/dist/components/nylas-editor-tabs-group.js +1 -1
  74. package/dist/components/nylas-editor-tabs.js +1 -1
  75. package/dist/components/nylas-event-calendar.js +1 -1
  76. package/dist/components/nylas-event-capacity.js +1 -1
  77. package/dist/components/nylas-event-description.js +1 -1
  78. package/dist/components/nylas-event-duration.js +1 -1
  79. package/dist/components/nylas-event-info.js +1 -1
  80. package/dist/components/nylas-event-limits.js +1 -1
  81. package/dist/components/nylas-event-location.js +1 -1
  82. package/dist/components/nylas-event-timeslot.js +1 -1
  83. package/dist/components/nylas-event-title.js +1 -1
  84. package/dist/components/nylas-feedback-form.js +1 -1
  85. package/dist/components/nylas-form-card.js +1 -1
  86. package/dist/components/nylas-limit-future-bookings.js +1 -1
  87. package/dist/components/nylas-list-configurations.js +1 -1
  88. package/dist/components/nylas-locale-switch.js +1 -1
  89. package/dist/components/nylas-min-booking-notice.js +1 -1
  90. package/dist/components/nylas-min-cancellation-notice.js +1 -1
  91. package/dist/components/nylas-notetaker-config.js +1 -1
  92. package/dist/components/nylas-notification.js +1 -1
  93. package/dist/components/nylas-only-specific-time-availability.js +1 -1
  94. package/dist/components/nylas-organizer-confirmation-card.js +1 -1
  95. package/dist/components/nylas-page-name.js +1 -1
  96. package/dist/components/nylas-page-styling.js +1 -1
  97. package/dist/components/nylas-participant-booking-calendars.js +1 -1
  98. package/dist/components/nylas-participants-custom-availability.js +1 -1
  99. package/dist/components/nylas-reminder-emails.js +1 -1
  100. package/dist/components/nylas-reminder-time.js +1 -1
  101. package/dist/components/nylas-scheduler-editor.js +56 -56
  102. package/dist/components/nylas-scheduling-method.js +1 -1
  103. package/dist/components/nylas-scheduling.js +19 -19
  104. package/dist/components/nylas-select-event-type.js +1 -1
  105. package/dist/components/nylas-selected-event-card.js +1 -1
  106. package/dist/components/nylas-specific-time-availability-picker.js +1 -1
  107. package/dist/components/nylas-time-window-picker.js +1 -1
  108. package/dist/components/nylas-timeslot-interval.js +1 -1
  109. package/dist/components/nylas-timeslot-picker.js +1 -1
  110. package/dist/components/{p-U-EdxzfX.js → p-4jS2598L.js} +3 -3
  111. package/dist/components/{p-U-EdxzfX.js.map → p-4jS2598L.js.map} +1 -1
  112. package/dist/components/{p-BNfHz7A2.js → p-B2_cvJns.js} +5 -5
  113. package/dist/components/{p-BNfHz7A2.js.map → p-B2_cvJns.js.map} +1 -1
  114. package/dist/components/{p-ClGGIEMi.js → p-B2iddmWd.js} +5 -5
  115. package/dist/components/{p-ClGGIEMi.js.map → p-B2iddmWd.js.map} +1 -1
  116. package/dist/components/{p-D8Gq0LJd.js → p-B5zQj3-Z.js} +4 -4
  117. package/dist/components/{p-D8Gq0LJd.js.map → p-B5zQj3-Z.js.map} +1 -1
  118. package/dist/components/{p-xxFdByBn.js → p-BCUF1qcs.js} +17 -3
  119. package/dist/components/p-BCUF1qcs.js.map +1 -0
  120. package/dist/components/{p-B54mNgSc.js → p-BNzrPoR6.js} +5 -5
  121. package/dist/components/{p-B54mNgSc.js.map → p-BNzrPoR6.js.map} +1 -1
  122. package/dist/components/{p-CsyEOZaq.js → p-BRszp61A.js} +3 -3
  123. package/dist/components/{p-CsyEOZaq.js.map → p-BRszp61A.js.map} +1 -1
  124. package/dist/components/{p-D4C1TKzq.js → p-BTo3RJwU.js} +5 -5
  125. package/dist/components/{p-D4C1TKzq.js.map → p-BTo3RJwU.js.map} +1 -1
  126. package/dist/components/{p-D-3RU2oS.js → p-BWCjcWGP.js} +4 -4
  127. package/dist/components/{p-D-3RU2oS.js.map → p-BWCjcWGP.js.map} +1 -1
  128. package/dist/components/{p-CXqwQnQF.js → p-Bj4ZUpbc.js} +4 -4
  129. package/dist/components/{p-CXqwQnQF.js.map → p-Bj4ZUpbc.js.map} +1 -1
  130. package/dist/components/{p-FYD-tPqw.js → p-C1Z2qktB.js} +7 -7
  131. package/dist/components/{p-FYD-tPqw.js.map → p-C1Z2qktB.js.map} +1 -1
  132. package/dist/components/{p-Bzhy3cc5.js → p-C2EKszp0.js} +3 -3
  133. package/dist/components/{p-Bzhy3cc5.js.map → p-C2EKszp0.js.map} +1 -1
  134. package/dist/components/{p-DRgnghCP.js → p-CJ7rVNTy.js} +4 -4
  135. package/dist/components/{p-DRgnghCP.js.map → p-CJ7rVNTy.js.map} +1 -1
  136. package/dist/components/{p-irdXl5Fp.js → p-CM9l-8zy.js} +5 -5
  137. package/dist/components/{p-irdXl5Fp.js.map → p-CM9l-8zy.js.map} +1 -1
  138. package/dist/components/{p-DtHKroeT.js → p-CNvWFjFr.js} +4 -4
  139. package/dist/components/{p-DtHKroeT.js.map → p-CNvWFjFr.js.map} +1 -1
  140. package/dist/components/{p-DPBfMry4.js → p-CSECxNkF.js} +6 -6
  141. package/dist/components/{p-DPBfMry4.js.map → p-CSECxNkF.js.map} +1 -1
  142. package/dist/components/{p-CSqqWusO.js → p-CbB5JFln.js} +4 -4
  143. package/dist/components/{p-CSqqWusO.js.map → p-CbB5JFln.js.map} +1 -1
  144. package/dist/components/{p-DBwy7Snv.js → p-CeWOPOaM.js} +4 -4
  145. package/dist/components/{p-DBwy7Snv.js.map → p-CeWOPOaM.js.map} +1 -1
  146. package/dist/components/{p-CMF0O-Fp.js → p-Cf-rjo7-.js} +6 -6
  147. package/dist/components/{p-CMF0O-Fp.js.map → p-Cf-rjo7-.js.map} +1 -1
  148. package/dist/components/{p-wJcvwuFy.js → p-CfNiz60j.js} +5 -5
  149. package/dist/components/{p-wJcvwuFy.js.map → p-CfNiz60j.js.map} +1 -1
  150. package/dist/components/{p-BIbAx1y2.js → p-Ch03cZa9.js} +3 -3
  151. package/dist/components/{p-BIbAx1y2.js.map → p-Ch03cZa9.js.map} +1 -1
  152. package/dist/components/{p-Dxtgg1gN.js → p-CjMpnxmP.js} +3 -3
  153. package/dist/components/{p-Dxtgg1gN.js.map → p-CjMpnxmP.js.map} +1 -1
  154. package/dist/components/{p-CrXOqjIw.js → p-Co08mMKn.js} +4 -4
  155. package/dist/components/{p-CrXOqjIw.js.map → p-Co08mMKn.js.map} +1 -1
  156. package/dist/components/{p-jHq8WTky.js → p-CpP2uaEo.js} +3 -3
  157. package/dist/components/{p-jHq8WTky.js.map → p-CpP2uaEo.js.map} +1 -1
  158. package/dist/components/{p-DzkCpPXX.js → p-CqVcXov0.js} +7 -7
  159. package/dist/components/{p-DzkCpPXX.js.map → p-CqVcXov0.js.map} +1 -1
  160. package/dist/components/{p-CYy1pa_3.js → p-Cx6l-C7e.js} +4 -4
  161. package/dist/components/{p-CYy1pa_3.js.map → p-Cx6l-C7e.js.map} +1 -1
  162. package/dist/components/{p-zzOzXpMC.js → p-Czoh6-K4.js} +6 -6
  163. package/dist/components/{p-zzOzXpMC.js.map → p-Czoh6-K4.js.map} +1 -1
  164. package/dist/components/{p-DBEvFYf0.js → p-D6yyOiee.js} +5 -5
  165. package/dist/components/{p-DBEvFYf0.js.map → p-D6yyOiee.js.map} +1 -1
  166. package/dist/components/{p-CLMQXVmv.js → p-D7Xfdt74.js} +4 -4
  167. package/dist/components/{p-CLMQXVmv.js.map → p-D7Xfdt74.js.map} +1 -1
  168. package/dist/components/{p-8jVEXvkn.js → p-D8f8zHZu.js} +5 -5
  169. package/dist/components/{p-8jVEXvkn.js.map → p-D8f8zHZu.js.map} +1 -1
  170. package/dist/components/{p-mElO3u2v.js → p-DGUo_p68.js} +4 -4
  171. package/dist/components/{p-mElO3u2v.js.map → p-DGUo_p68.js.map} +1 -1
  172. package/dist/components/{p-nozjdB6e.js → p-DGwr7E6J.js} +4 -4
  173. package/dist/components/{p-nozjdB6e.js.map → p-DGwr7E6J.js.map} +1 -1
  174. package/dist/components/{p-CUL-OCAu.js → p-DWMCGYZt.js} +5 -5
  175. package/dist/components/{p-CUL-OCAu.js.map → p-DWMCGYZt.js.map} +1 -1
  176. package/dist/components/{p-Dj4JDZ9W.js → p-D_8c_n1h.js} +4 -4
  177. package/dist/components/{p-Dj4JDZ9W.js.map → p-D_8c_n1h.js.map} +1 -1
  178. package/dist/components/{p-DxYfbkxH.js → p-D_CPIneS.js} +3 -3
  179. package/dist/components/{p-DxYfbkxH.js.map → p-D_CPIneS.js.map} +1 -1
  180. package/dist/components/{p-Bye3Di82.js → p-DclMe63w.js} +3 -3
  181. package/dist/components/{p-Bye3Di82.js.map → p-DclMe63w.js.map} +1 -1
  182. package/dist/components/{p-DR_UXNMx.js → p-DfNywLNk.js} +4 -4
  183. package/dist/components/{p-DR_UXNMx.js.map → p-DfNywLNk.js.map} +1 -1
  184. package/dist/components/{p-5ZYkWuBH.js → p-DjFQHhGY.js} +4 -4
  185. package/dist/components/{p-5ZYkWuBH.js.map → p-DjFQHhGY.js.map} +1 -1
  186. package/dist/components/{p-SjPGcPOD.js → p-DjQuy9Lc.js} +5 -5
  187. package/dist/components/{p-SjPGcPOD.js.map → p-DjQuy9Lc.js.map} +1 -1
  188. package/dist/components/{p-CIiKlhjq.js → p-Dlku8PCX.js} +4 -4
  189. package/dist/components/{p-CIiKlhjq.js.map → p-Dlku8PCX.js.map} +1 -1
  190. package/dist/components/{p-D1laIpmv.js → p-Dm3gIdGZ.js} +7 -7
  191. package/dist/components/{p-D1laIpmv.js.map → p-Dm3gIdGZ.js.map} +1 -1
  192. package/dist/components/{p-Uj5eg-r1.js → p-DqVU9VaM.js} +48 -48
  193. package/dist/components/p-DqVU9VaM.js.map +1 -0
  194. package/dist/components/{p-NkqnymW3.js → p-DqgGszYv.js} +8 -8
  195. package/dist/components/{p-NkqnymW3.js.map → p-DqgGszYv.js.map} +1 -1
  196. package/dist/components/{p-D19TzH-m.js → p-DrmjHhDH.js} +5 -5
  197. package/dist/components/{p-D19TzH-m.js.map → p-DrmjHhDH.js.map} +1 -1
  198. package/dist/components/{p-cIIaCJPC.js → p-DswqiER3.js} +3 -3
  199. package/dist/components/{p-cIIaCJPC.js.map → p-DswqiER3.js.map} +1 -1
  200. package/dist/components/{p-BhY18Huj.js → p-Dwxouxgj.js} +4 -4
  201. package/dist/components/{p-BhY18Huj.js.map → p-Dwxouxgj.js.map} +1 -1
  202. package/dist/components/{p-B_HtmTBC.js → p-EKeBVTKB.js} +5 -5
  203. package/dist/components/{p-B_HtmTBC.js.map → p-EKeBVTKB.js.map} +1 -1
  204. package/dist/components/{p-CTDkYArQ.js → p-FBEildbE.js} +8 -8
  205. package/dist/components/{p-CTDkYArQ.js.map → p-FBEildbE.js.map} +1 -1
  206. package/dist/components/{p-C8K-8dJ0.js → p-HJ5amhvq.js} +58 -58
  207. package/dist/components/p-HJ5amhvq.js.map +1 -0
  208. package/dist/components/{p-BpDfyvY4.js → p-OAhdn1vx.js} +3 -3
  209. package/dist/components/{p-BpDfyvY4.js.map → p-OAhdn1vx.js.map} +1 -1
  210. package/dist/components/{p-CKPYi9FX.js → p-W0q3GPje.js} +3 -3
  211. package/dist/components/{p-CKPYi9FX.js.map → p-W0q3GPje.js.map} +1 -1
  212. package/dist/components/{p-DFSt8wfH.js → p-eej_Ksq1.js} +5 -5
  213. package/dist/components/{p-DFSt8wfH.js.map → p-eej_Ksq1.js.map} +1 -1
  214. package/dist/components/{p-D_ZAV9If.js → p-f0IvxSr9.js} +6 -6
  215. package/dist/components/{p-D_ZAV9If.js.map → p-f0IvxSr9.js.map} +1 -1
  216. package/dist/components/{p-fOr8r1Zc.js → p-hmiyEk6L.js} +20 -8
  217. package/dist/components/p-hmiyEk6L.js.map +1 -0
  218. package/dist/components/{p-DDjhKQi2.js → p-i8gpwgDT.js} +4 -4
  219. package/dist/components/{p-DDjhKQi2.js.map → p-i8gpwgDT.js.map} +1 -1
  220. package/dist/components/{p-ByIpuB6X.js → p-ixTtdC_2.js} +5 -5
  221. package/dist/components/{p-ByIpuB6X.js.map → p-ixTtdC_2.js.map} +1 -1
  222. package/dist/components/{p-CpMfG8zc.js → p-lV8W1_93.js} +17 -17
  223. package/dist/components/{p-CpMfG8zc.js.map → p-lV8W1_93.js.map} +1 -1
  224. package/dist/components/{p-CABFxRgm.js → p-oVDOs1AN.js} +4 -4
  225. package/dist/components/{p-CABFxRgm.js.map → p-oVDOs1AN.js.map} +1 -1
  226. package/dist/components/{p-B0eXe4fu.js → p-pY2yw_Ql.js} +8 -8
  227. package/dist/components/{p-B0eXe4fu.js.map → p-pY2yw_Ql.js.map} +1 -1
  228. package/dist/components/{p-BqcSDTPa.js → p-rODq8j3H.js} +5 -5
  229. package/dist/components/{p-BqcSDTPa.js.map → p-rODq8j3H.js.map} +1 -1
  230. package/dist/components/{p-CHMf20sF.js → p-sH4nuWqV.js} +4 -4
  231. package/dist/components/{p-CHMf20sF.js.map → p-sH4nuWqV.js.map} +1 -1
  232. package/dist/components/{p-BCdaMIEZ.js → p-tIcs9Qo5.js} +5 -5
  233. package/dist/components/{p-BCdaMIEZ.js.map → p-tIcs9Qo5.js.map} +1 -1
  234. package/dist/components/{p-C1IR0LII.js → p-uQf7jw6y.js} +7 -7
  235. package/dist/components/{p-C1IR0LII.js.map → p-uQf7jw6y.js.map} +1 -1
  236. package/dist/components/{p-SbxgHNeG.js → p-umrdj-23.js} +5 -5
  237. package/dist/components/{p-SbxgHNeG.js.map → p-umrdj-23.js.map} +1 -1
  238. package/dist/components/{p-sKaBe5Hr.js → p-w9ANRXbn.js} +5 -5
  239. package/dist/components/{p-sKaBe5Hr.js.map → p-w9ANRXbn.js.map} +1 -1
  240. package/dist/components/{p-CXxRydPc.js → p-xnXT49TS.js} +4 -4
  241. package/dist/components/{p-CXxRydPc.js.map → p-xnXT49TS.js.map} +1 -1
  242. package/dist/components/{p-6buYtCek.js → p-y15sKy8D.js} +4 -4
  243. package/dist/components/{p-6buYtCek.js.map → p-y15sKy8D.js.map} +1 -1
  244. package/dist/components/textarea-component.js +1 -1
  245. package/dist/components/time-period-selector.js +1 -1
  246. package/dist/esm/{abstract-provider-Dbnlk0Q8.js → abstract-provider-DfvNw5fP.js} +3 -3
  247. package/dist/esm/{abstract-provider-Dbnlk0Q8.js.map → abstract-provider-DfvNw5fP.js.map} +1 -1
  248. package/dist/esm/calendar-agenda-fill-icon_39.entry.js +2 -2
  249. package/dist/esm/checkbox-group_4.entry.js +3 -3
  250. package/dist/esm/checkmark-icon_14.entry.js +2 -2
  251. package/dist/esm/{customParseFormat-xZjyidlk.js → customParseFormat-BUZsRKas.js} +3 -3
  252. package/dist/esm/{customParseFormat-xZjyidlk.js.map → customParseFormat-BUZsRKas.js.map} +1 -1
  253. package/dist/esm/globe-icon_3.entry.js +2 -2
  254. package/dist/esm/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.js.map +1 -1
  255. package/dist/esm/google-logo-icon_6.entry.js +34 -22
  256. package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
  257. package/dist/esm/index.js +2 -2
  258. package/dist/esm/input-component.entry.js +1 -1
  259. package/dist/esm/input-dropdown_2.entry.js +1 -1
  260. package/dist/esm/input-image-url_2.entry.js +2 -2
  261. package/dist/esm/multi-select-dropdown.entry.js +1 -1
  262. package/dist/esm/{nylas-api-request-tYrM5hQX.js → nylas-api-request-B3Fj4B-L.js} +3 -3
  263. package/dist/esm/{nylas-api-request-tYrM5hQX.js.map → nylas-api-request-B3Fj4B-L.js.map} +1 -1
  264. package/dist/esm/nylas-booked-event-card_11.entry.js +2 -2
  265. package/dist/esm/nylas-form-card.entry.js +2 -2
  266. package/dist/esm/nylas-notification_2.entry.js +1 -1
  267. package/dist/esm/nylas-scheduler-editor.entry.js +4 -4
  268. package/dist/esm/nylas-scheduling.entry.js +3 -3
  269. package/dist/esm/{register-component-3SZ7gAeK.js → register-component-B9YP9nha.js} +3 -3
  270. package/dist/esm/{register-component-3SZ7gAeK.js.map → register-component-B9YP9nha.js.map} +1 -1
  271. package/dist/esm/textarea-component.entry.js +1 -1
  272. package/dist/esm/{utils-DDKV6-nQ.js → utils-OpKyWV8q.js} +17 -3
  273. package/dist/{cjs/utils-C5qGWVDr.js.map → esm/utils-OpKyWV8q.js.map} +1 -1
  274. package/dist/esm/{version-Xc-4F4Ta.js → version-C5BO7xwe.js} +3 -3
  275. package/dist/esm/{version-Xc-4F4Ta.js.map → version-C5BO7xwe.js.map} +1 -1
  276. package/dist/nylas-web-elements/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.esm.js.map +1 -1
  277. package/dist/nylas-web-elements/index.esm.js +1 -1
  278. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  279. package/dist/nylas-web-elements/p-083268de.entry.js +2 -0
  280. package/dist/nylas-web-elements/p-083268de.entry.js.map +1 -0
  281. package/dist/nylas-web-elements/{p-926c0f10.entry.js → p-2f3a33e1.entry.js} +2 -2
  282. package/dist/nylas-web-elements/{p-473a9f48.entry.js → p-330c2159.entry.js} +2 -2
  283. package/dist/nylas-web-elements/{p-2e34476b.entry.js → p-38806f4d.entry.js} +2 -2
  284. package/dist/nylas-web-elements/p-3f66ac98.entry.js +2 -0
  285. package/dist/nylas-web-elements/{p-49510dd2.entry.js.map → p-3f66ac98.entry.js.map} +1 -1
  286. package/dist/nylas-web-elements/{p-bb4b9655.entry.js → p-4d9bdaa0.entry.js} +2 -2
  287. package/dist/nylas-web-elements/{p-469c232b.entry.js → p-85955466.entry.js} +2 -2
  288. package/dist/nylas-web-elements/{p-b9a991fe.entry.js → p-97034347.entry.js} +2 -2
  289. package/dist/nylas-web-elements/{p-4c51d165.entry.js → p-9a5ddc21.entry.js} +2 -2
  290. package/dist/nylas-web-elements/{p-CONX24aJ.js → p-C-mOw2iU.js} +2 -2
  291. package/dist/nylas-web-elements/{p-CONX24aJ.js.map → p-C-mOw2iU.js.map} +1 -1
  292. package/dist/nylas-web-elements/{p-Xc-4F4Ta.js → p-C5BO7xwe.js} +2 -2
  293. package/dist/nylas-web-elements/{p-Xc-4F4Ta.js.map → p-C5BO7xwe.js.map} +1 -1
  294. package/dist/nylas-web-elements/{p-Cz68LNCB.js → p-D8VJgipo.js} +2 -2
  295. package/dist/nylas-web-elements/{p-Cz68LNCB.js.map → p-D8VJgipo.js.map} +1 -1
  296. package/dist/nylas-web-elements/{p-CpfLRTv0.js → p-FlNKXp4j.js} +2 -2
  297. package/dist/nylas-web-elements/{p-CpfLRTv0.js.map → p-FlNKXp4j.js.map} +1 -1
  298. package/dist/nylas-web-elements/{p-DDKV6-nQ.js → p-OpKyWV8q.js} +2 -2
  299. package/dist/nylas-web-elements/{p-DDKV6-nQ.js.map → p-OpKyWV8q.js.map} +1 -1
  300. package/dist/nylas-web-elements/{p-CZUjPf2B.js → p-S0IPwRIR.js} +2 -2
  301. package/dist/nylas-web-elements/{p-CZUjPf2B.js.map → p-S0IPwRIR.js.map} +1 -1
  302. package/dist/nylas-web-elements/{p-b877c010.entry.js → p-ad920702.entry.js} +2 -2
  303. package/dist/nylas-web-elements/{p-c71c04d0.entry.js → p-ae86e7c6.entry.js} +3 -3
  304. package/dist/nylas-web-elements/{p-6245bad4.entry.js → p-cc4150a5.entry.js} +3 -3
  305. package/dist/nylas-web-elements/{p-42432de0.entry.js → p-db79a1ca.entry.js} +2 -2
  306. package/dist/nylas-web-elements/p-e240fd68.entry.js +2 -0
  307. package/dist/nylas-web-elements/{p-f74f3a8d.entry.js.map → p-e240fd68.entry.js.map} +1 -1
  308. package/dist/nylas-web-elements/{p-90569d2b.entry.js → p-f235211e.entry.js} +2 -2
  309. package/dist/types/utils/utils.d.ts +1 -0
  310. package/dist/types/version.d.ts +1 -1
  311. package/package.json +1 -1
  312. package/dist/components/p-C8K-8dJ0.js.map +0 -1
  313. package/dist/components/p-Uj5eg-r1.js.map +0 -1
  314. package/dist/components/p-fOr8r1Zc.js.map +0 -1
  315. package/dist/components/p-xxFdByBn.js.map +0 -1
  316. package/dist/nylas-web-elements/p-49510dd2.entry.js +0 -2
  317. package/dist/nylas-web-elements/p-7186d262.entry.js +0 -2
  318. package/dist/nylas-web-elements/p-7186d262.entry.js.map +0 -1
  319. package/dist/nylas-web-elements/p-f74f3a8d.entry.js +0 -2
  320. /package/dist/nylas-web-elements/{p-926c0f10.entry.js.map → p-2f3a33e1.entry.js.map} +0 -0
  321. /package/dist/nylas-web-elements/{p-473a9f48.entry.js.map → p-330c2159.entry.js.map} +0 -0
  322. /package/dist/nylas-web-elements/{p-2e34476b.entry.js.map → p-38806f4d.entry.js.map} +0 -0
  323. /package/dist/nylas-web-elements/{p-bb4b9655.entry.js.map → p-4d9bdaa0.entry.js.map} +0 -0
  324. /package/dist/nylas-web-elements/{p-469c232b.entry.js.map → p-85955466.entry.js.map} +0 -0
  325. /package/dist/nylas-web-elements/{p-b9a991fe.entry.js.map → p-97034347.entry.js.map} +0 -0
  326. /package/dist/nylas-web-elements/{p-4c51d165.entry.js.map → p-9a5ddc21.entry.js.map} +0 -0
  327. /package/dist/nylas-web-elements/{p-b877c010.entry.js.map → p-ad920702.entry.js.map} +0 -0
  328. /package/dist/nylas-web-elements/{p-c71c04d0.entry.js.map → p-ae86e7c6.entry.js.map} +0 -0
  329. /package/dist/nylas-web-elements/{p-6245bad4.entry.js.map → p-cc4150a5.entry.js.map} +0 -0
  330. /package/dist/nylas-web-elements/{p-42432de0.entry.js.map → p-db79a1ca.entry.js.map} +0 -0
  331. /package/dist/nylas-web-elements/{p-90569d2b.entry.js.map → p-f235211e.entry.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-9TuL48qE.js');
4
- var registerComponent = require('./register-component-3z1jbXx-.js');
5
- var utils = require('./utils-C5qGWVDr.js');
6
- var version = require('./version-CJ5046pS.js');
4
+ var registerComponent = require('./register-component-DjG8kzjz.js');
5
+ var utils = require('./utils-BDriE9YY.js');
6
+ var version = require('./version-C5rRjTHU.js');
7
7
  var feedbackSync = require('./feedbackSync-Bcx7mZ9-.js');
8
8
 
9
9
  const iconCss$1 = ".sc-google-logo-icon-h{display:flex}";
@@ -65,7 +65,7 @@ function TabContents({ id, formState, activeTab, enableNotetaker, themeConfig },
65
65
  index.h("nylas-custom-booking-flow", { exportparts: 'ncbflow, ncbflow__header, ncbflow__title, ncbflow__content' },
66
66
  index.h("div", { slot: "inputs" },
67
67
  index.h("nylas-booking-confirmation-type", { name: "confirmation-type", themeConfig: themeConfig, exportparts: 'nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content' }),
68
- index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", themeConfig: themeConfig, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
68
+ index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", redirectUrl: formState.redirectUrl, themeConfig: themeConfig, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
69
69
  index.h("nylas-buffer-time", { name: "buffer-time", themeConfig: themeConfig, exportparts: 'nbt, nbt__header, nbt__body, nbt__dropdown-before, nbt__dropdown-button-before, nbt__dropdown-content-before, nbt__dropdown-after, nbt__dropdown-button-after, nbt__dropdown-content-after, nbt__preview' }),
70
70
  index.h("nylas-event-limits", null,
71
71
  index.h("div", { slot: "inputs" },
@@ -302,8 +302,8 @@ const NylasEditorTabs = class {
302
302
  },
303
303
  appearance: appearance,
304
304
  };
305
- const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, configObject || {});
306
- const finalConfig = this.action === 'create' ? configObjectWithDeveloperSettings : configObject;
305
+ const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, utils.removeUndefinedProperties(configObject || {}));
306
+ const finalConfig = configObjectWithDeveloperSettings;
307
307
  if (this.isConfigRoundRobin(finalConfig)) {
308
308
  finalConfig.participants = finalConfig.participants.map(p => ({ ...p, is_organizer: undefined }));
309
309
  }
@@ -783,10 +783,10 @@ const NylasEditorTabs = class {
783
783
  }
784
784
  render() {
785
785
  utils.debug('[nylas-editor-tabs]', 'render', this.formState);
786
- return (index.h(index.Host, { key: '46306ea000b14a1790ed4d072e936683af6eafa4' }, index.h("nylas-notification", { key: '7ecc7c50ef6144a8e2cc9e0b36ba86f253c754d8' }), index.h("form", { key: '35fb3ac7301c4a284404b9a47f17d7efd28637b1', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: Tab.EventInfo, class: { tab: true, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: e => this.setActiveTab(e, Tab.EventInfo) }, index.h("calendar-info-icon", { width: "16", height: "16" }), utils.instance.t('eventInfoTab')), index.h("button", { name: Tab.Availability, class: { tab: true, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: e => this.setActiveTab(e, Tab.Availability) }, index.h("calendar-patterns-icon", { width: "16", height: "16" }), utils.instance.t('availabilityTab')), index.h("button", { name: Tab.Participants, class: { tab: true, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: e => this.setActiveTab(e, Tab.Participants) }, index.h("people-icon", { width: "16", height: "16" }), utils.instance.t('participantsTab')), index.h("button", { name: Tab.BookingOptions, class: { tab: true, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, Tab.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: Tab.BookingForm, class: { tab: true, active: this.activeTab == 'bookingForm', hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: Tab.Communications, class: { tab: true, active: this.activeTab == 'communications', hide: this.hideTab(Tab.Communications) }, onClick: e => this.setActiveTab(e, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: Tab.PageStyles, class: { tab: true, active: this.activeTab == 'pageStyles', hide: this.hideTab(Tab.PageStyles) }, onClick: e => this.setActiveTab(e, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: {
786
+ return (index.h(index.Host, { key: '53e8f207370316a20260e8c9d5a62546efa70c22' }, index.h("nylas-notification", { key: '3dba6d5e4d6549d7c7afc84543a7de36b5e9565a' }), index.h("form", { key: 'b159d7794cdd2b4747df5b1eb971cc949599d56f', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: Tab.EventInfo, class: { tab: true, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: e => this.setActiveTab(e, Tab.EventInfo) }, index.h("calendar-info-icon", { width: "16", height: "16" }), utils.instance.t('eventInfoTab')), index.h("button", { name: Tab.Availability, class: { tab: true, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: e => this.setActiveTab(e, Tab.Availability) }, index.h("calendar-patterns-icon", { width: "16", height: "16" }), utils.instance.t('availabilityTab')), index.h("button", { name: Tab.Participants, class: { tab: true, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: e => this.setActiveTab(e, Tab.Participants) }, index.h("people-icon", { width: "16", height: "16" }), utils.instance.t('participantsTab')), index.h("button", { name: Tab.BookingOptions, class: { tab: true, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, Tab.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: Tab.BookingForm, class: { tab: true, active: this.activeTab == 'bookingForm', hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: Tab.Communications, class: { tab: true, active: this.activeTab == 'communications', hide: this.hideTab(Tab.Communications) }, onClick: e => this.setActiveTab(e, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: Tab.PageStyles, class: { tab: true, active: this.activeTab == 'pageStyles', hide: this.hideTab(Tab.PageStyles) }, onClick: e => this.setActiveTab(e, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: {
787
787
  'tab-content': true,
788
788
  'fadeIn': this.loaded,
789
- }, part: "editor__tab-content net__tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: 'b61928e8e4fa0d78e121226f6a3e99f8340ebdf1', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '30803ab0e07ac02d0e004ebc39ac1bc6131de951', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'e42cf772df7a638f49c0e1ac60e8eec3240047c6', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '764cf3d070fe637dc9cab215aec1a6c44a23cf43' })))), index.h("div", { key: 'd269f4b7298212e2ccf7970df6df28473ee45441', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '884f123523f28ee72f107559d72a898e443890ae', class: {
789
+ }, part: "editor__tab-content net__tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '89c5898f878016e7f948d163abe29ca754009ecd', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: 'f03899ff4f65cc1d3ca1eccc741721e64b14f5b7', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'f16d904cb742a131095fa70c2348bec8c81e1f29', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '06e12b85432d63d275687a69dbd8c507d66408b6' })))), index.h("div", { key: 'd0f09f33a68578be3541cbd71f92f9f710701858', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '628ccfdddad773509ac6e73613c8e4879d627553', class: {
790
790
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
791
791
  'saved-changes': this.changesSaved,
792
792
  'error': this.error?.message !== '',
@@ -795,17 +795,17 @@ const NylasEditorTabs = class {
795
795
  ? utils.instance.t('unsavedChangesLabel')
796
796
  : this.error?.message == '' && this.changesSaved
797
797
  ? `${utils.instance.t('changesSavedLabel')}!`
798
- : ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'c4376c424d66bacf9be8ca1ae93982a2c4da029f', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
798
+ : ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'cf3a48e6fd19209a8a87e30a7ab5639d439dbbc9', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
799
799
  event.preventDefault();
800
800
  const previewEvent = this.previewButtonClicked.emit(this.host);
801
801
  if (!previewEvent.defaultPrevented) {
802
802
  window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
803
803
  }
804
- }, variant: 'basic' }, index.h("eye-icon", { key: '9ace0c0e799278af36a06c5f741aa0804c2bc24f' }))), index.h("button-component", { key: '7142cb4bfc7e6b724f752b35e35e0f32a58b91f2', type: "button", disabled: this.isLoading, clickHandler: event => {
804
+ }, variant: 'basic' }, index.h("eye-icon", { key: '88a8aeafbefc9d21c5e2f10ebe43fd7308b7f2f0' }))), index.h("button-component", { key: '8377521f43f7050fd5b06fbee24e0c434d80bccc', type: "button", disabled: this.isLoading, clickHandler: event => {
805
805
  event.preventDefault();
806
806
  this.cancelButtonClick.emit();
807
807
  this.host.resetError();
808
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: '6ee330cc1981b2163ff6df25294bf6b26b99ef2c', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: 'fc6f589e35859d2424e7af5660cf8a130cc84c9c' })));
808
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: '5f3393800e9a0499cc538fffdee07005aa15bdba', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '4abad08be25f4ff177f564d54d701d53cce8bba3' })));
809
809
  }
810
810
  get host() { return index.getElement(this); }
811
811
  static get watchers() { return {
@@ -905,7 +905,7 @@ function TabContentsGroup({ id, formState, activeTab }, children) {
905
905
  index.h("nylas-custom-booking-flow", { exportparts: 'ncbflow, ncbflow__header, ncbflow__title, ncbflow__content' },
906
906
  index.h("div", { slot: "inputs" },
907
907
  index.h("nylas-booking-confirmation-type", { name: "confirmation-type", showComponent: false, exportparts: 'nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content' }),
908
- index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
908
+ index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", redirectUrl: formState.redirectUrl, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
909
909
  index.h("nylas-event-limits", null,
910
910
  index.h("div", { slot: "inputs" },
911
911
  index.h("nylas-min-booking-notice", { name: "min-booking-notice", exportparts: "nmbn, nmbn__number-dropdown, nmbn__number-dropdown-button, nmbn__number-dropdown-content, nmbn__period-dropdown, nmbn__period-dropdown-button, nmbn__period-dropdown-content" }),
@@ -1025,8 +1025,8 @@ const NylasEditorTabsGroup = class {
1025
1025
  default_capacity: eventCapacity || 10,
1026
1026
  },
1027
1027
  };
1028
- const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, configObject || {});
1029
- const finalConfig = this.action === 'create' ? configObjectWithDeveloperSettings : configObject;
1028
+ const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, utils.removeUndefinedProperties(configObject || {}));
1029
+ const finalConfig = configObjectWithDeveloperSettings;
1030
1030
  delete finalConfig.availability;
1031
1031
  delete finalConfig.participants;
1032
1032
  delete finalConfig.event_booking;
@@ -1538,9 +1538,9 @@ const NylasEditorTabsGroup = class {
1538
1538
  }
1539
1539
  render() {
1540
1540
  utils.debug('[nylas-editor-tabs-group]', 'render', this.formState);
1541
- return (index.h(index.Host, { key: 'c33c7281aec7cda625b0131d44d953a267983861' }, index.h("nylas-notification", { key: 'babfa220cfada64009fa6fb74aab06347a9b0eb1' }), index.h("form", { key: '8eca6288dcae36cf505f026ffa78a5664e1e6a2d', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, index.h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1541
+ return (index.h(index.Host, { key: '5c43ab9753d143dc7106e2610d859018f16d7c8a' }, index.h("nylas-notification", { key: 'aad4b319b5a15d071c50104f5e5143e20a46a242' }), index.h("form", { key: '6be0f7f3f455c7fd3c238dabca0b28d2c8720470', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, index.h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1542
1542
  this.setActiveTab(e, TabGroup.CalendarView);
1543
- } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '5285178c9d06272b333e5d6e4f37185be347e33c', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '8acddb5bb6a7475edc25213432dfe892553174b2', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: '26abb44f887dee09b6f99c53dfb6fe72abe92647', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: 'a80a7f66fbef41302987bee7683ce49ea5d2a26b' }))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { key: '468602f78e74d392c3772f72977667ece1973c42', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, utils.instance.t('pageSettingsButton')))), index.h("div", { key: 'f84388b15e781d1fcbb69a615a04e2262cfb59cf', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '5d0b53edeca91a742fd7a90f55d63f6cc26b27dc', class: {
1543
+ } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: 'a33beeedc56376b9a421af7e996e478aca42de84', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '4fa919de1796a541b34dcfd8a835249b7613b5e4', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'a89bef04b5f00a893d0ce536889d27e691348a87', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '3bd71fd8df54e8a322831fa920f8da73c4649a64' }))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { key: 'a2c9fa658b4ab9bec066702df7be4a98682bf148', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, utils.instance.t('pageSettingsButton')))), index.h("div", { key: '685c81809fbe5a28e86f93a8a3b357148a72fd76', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: 'a59e3c5f92c2b2a404c659cb5b2b5ce01362bb30', class: {
1544
1544
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
1545
1545
  'saved-changes': this.changesSaved,
1546
1546
  'error': this.error?.message !== '',
@@ -1549,17 +1549,17 @@ const NylasEditorTabsGroup = class {
1549
1549
  ? utils.instance.t('unsavedChangesLabel')
1550
1550
  : this.error?.message == '' && this.changesSaved
1551
1551
  ? `${utils.instance.t('changesSavedLabel')}!`
1552
- : ''), index.h("div", { key: '6bfe89b213179df741d08995abbbd225661f7b1d', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: '4e17c841f13c58e7aba5e9d221f70021681ce291', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1552
+ : ''), index.h("div", { key: '932230c2a5f60e19abd0db90a55b3b251252b1bd', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'c875383a9d26d1695cc20b1d4c9676a070c3608f', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1553
1553
  event.preventDefault();
1554
1554
  const previewEvent = this.previewButtonClicked.emit(this.host);
1555
1555
  if (!previewEvent.defaultPrevented) {
1556
1556
  window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
1557
1557
  }
1558
- }, variant: 'basic' }, index.h("eye-icon", { key: '556d86c6b3c41c3422db0bf81d2df82f79f75d5b' }))), index.h("button-component", { key: '41910f71c84e16c58edbefc4f5a948fea1d89a54', type: "button", disabled: this.isLoading, clickHandler: event => {
1558
+ }, variant: 'basic' }, index.h("eye-icon", { key: '1485e9f9ade7fd205cfab8195197b0d597e9c4bf' }))), index.h("button-component", { key: '62167206c6a8bde1cbfae44c7d54cfb6ed0692ac', type: "button", disabled: this.isLoading, clickHandler: event => {
1559
1559
  event.preventDefault();
1560
1560
  this.cancelButtonClick.emit();
1561
1561
  this.host.resetError();
1562
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: 'b65b8052637fcff59637bf802e48baf524838c24', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (index.h("span", null, index.h("loading-icon", null), ' ')) : this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: 'f0c36c2be95547f95f14e7e609220c558d2afdaf' })));
1562
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: 'e6ecfe240142f787ec5ac4ca5a1ff680b2ff3d3f', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (index.h("span", null, index.h("loading-icon", null), ' ')) : this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '449cab0589ff40203a33ed2bbee0e4a55458d557' })));
1563
1563
  }
1564
1564
  get host() { return index.getElement(this); }
1565
1565
  static get watchers() { return {
@@ -2020,13 +2020,25 @@ __decorate$1([
2020
2020
  },
2021
2021
  editButtonClick: async (event, connector) => {
2022
2022
  const { host, configuration } = event.detail;
2023
- if (configuration.type === 'group') {
2023
+ const [configurationToEdit, configurationError] = await connector.schedulerConfig.getConfigurationById(configuration.id, true);
2024
+ if (!configurationToEdit && configurationError?.message) {
2025
+ await host.setError({
2026
+ message: configurationError.message,
2027
+ type: version.u.Error,
2028
+ category: version.ErrorCategory.Component,
2029
+ title: utils.instance.t('nylasEditorTabs.getConfigsError'),
2030
+ });
2031
+ host.hideEditButtonLoading();
2032
+ return;
2033
+ }
2034
+ const selectedConfiguration = configurationToEdit || configuration;
2035
+ if (selectedConfiguration.type === 'group') {
2024
2036
  const { startTime, endTime } = utils.getCalendarRange(new Date().toISOString(), 'week');
2025
2037
  connector.schedulerConfigStore.state.calendarViewDateRange = {
2026
2038
  start_time: startTime.toString(),
2027
2039
  end_time: endTime.toString(),
2028
2040
  };
2029
- const [data, error] = await connector.schedulerConfig.getGroupEvents(configuration.id, configuration);
2041
+ const [data, error] = await connector.schedulerConfig.getGroupEvents(selectedConfiguration.id, selectedConfiguration);
2030
2042
  if (!data && error && error.message) {
2031
2043
  await host.setError({
2032
2044
  message: error.message,
@@ -2039,7 +2051,7 @@ __decorate$1([
2039
2051
  }
2040
2052
  }
2041
2053
  connector.schedulerConfigStore.state.action = 'edit';
2042
- connector.schedulerConfigStore.state.selectedConfiguration = configuration;
2054
+ connector.schedulerConfigStore.state.selectedConfiguration = selectedConfiguration;
2043
2055
  host.hideEditButtonLoading();
2044
2056
  },
2045
2057
  },