@nylas/web-elements 2.5.15 → 2.5.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 (305) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +2982 -2982
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +5 -3
  3. 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
  4. package/dist/cjs/google-logo-icon_6.cjs.entry.js +21 -13
  5. package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  7. package/dist/cjs/nylas-scheduling.cjs.entry.js +4 -1
  8. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  9. package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
  10. package/dist/cjs/{version-1ZdVKLpt.js → version-Dvnf44vW.js} +3 -3
  11. package/dist/cjs/{version-1ZdVKLpt.js.map → version-Dvnf44vW.js.map} +1 -1
  12. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +10 -6
  13. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  14. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +10 -6
  15. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
  16. package/dist/collection/connector/shared/api/scheduler.js +3 -0
  17. package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
  18. package/dist/collection/version.js +1 -1
  19. package/dist/collection/version.js.map +1 -1
  20. package/dist/components/index.js +1 -1
  21. package/dist/components/input-component.js +1 -1
  22. package/dist/components/input-image-url.js +1 -1
  23. package/dist/components/multi-select-dropdown.js +1 -1
  24. package/dist/components/nylas-additional-participants.js +1 -1
  25. package/dist/components/nylas-availability-picker.js +1 -1
  26. package/dist/components/nylas-booked-event-card.js +1 -1
  27. package/dist/components/nylas-booking-calendar-picker.js +1 -1
  28. package/dist/components/nylas-booking-confirmation-redirect.js +1 -1
  29. package/dist/components/nylas-booking-confirmation-type.js +1 -1
  30. package/dist/components/nylas-booking-form-config.js +1 -1
  31. package/dist/components/nylas-booking-form.js +1 -1
  32. package/dist/components/nylas-buffer-time.js +1 -1
  33. package/dist/components/nylas-calendar-picker.js +1 -1
  34. package/dist/components/nylas-cancel-booking-form.js +1 -1
  35. package/dist/components/nylas-cancellation-policy.js +1 -1
  36. package/dist/components/nylas-cancelled-event-card.js +1 -1
  37. package/dist/components/nylas-confirmation-email.js +1 -1
  38. package/dist/components/nylas-confirmed-event-card.js +1 -1
  39. package/dist/components/nylas-connected-calendars.js +1 -1
  40. package/dist/components/nylas-custom-booking-flow.js +1 -1
  41. package/dist/components/nylas-custom-event-slug.js +1 -1
  42. package/dist/components/nylas-customize-booking-settings.js +1 -1
  43. package/dist/components/nylas-date-component.js +1 -1
  44. package/dist/components/nylas-date-picker.js +1 -1
  45. package/dist/components/nylas-disable-emails.js +1 -1
  46. package/dist/components/nylas-editor-tabs-group.js +1 -1
  47. package/dist/components/nylas-editor-tabs.js +1 -1
  48. package/dist/components/nylas-event-calendar.js +1 -1
  49. package/dist/components/nylas-event-capacity.js +1 -1
  50. package/dist/components/nylas-event-description.js +1 -1
  51. package/dist/components/nylas-event-duration.js +1 -1
  52. package/dist/components/nylas-event-info.js +1 -1
  53. package/dist/components/nylas-event-limits.js +1 -1
  54. package/dist/components/nylas-event-location.js +1 -1
  55. package/dist/components/nylas-event-timeslot.js +1 -1
  56. package/dist/components/nylas-event-title.js +1 -1
  57. package/dist/components/nylas-feedback-form.js +1 -1
  58. package/dist/components/nylas-form-card.js +1 -1
  59. package/dist/components/nylas-limit-future-bookings.js +1 -1
  60. package/dist/components/nylas-list-configurations.js +1 -1
  61. package/dist/components/nylas-locale-switch.js +1 -1
  62. package/dist/components/nylas-min-booking-notice.js +1 -1
  63. package/dist/components/nylas-min-cancellation-notice.js +1 -1
  64. package/dist/components/nylas-notetaker-config.js +1 -1
  65. package/dist/components/nylas-notification.js +1 -1
  66. package/dist/components/nylas-only-specific-time-availability.js +1 -1
  67. package/dist/components/nylas-organizer-confirmation-card.js +1 -1
  68. package/dist/components/nylas-page-name.js +1 -1
  69. package/dist/components/nylas-page-styling.js +1 -1
  70. package/dist/components/nylas-participant-booking-calendars.js +1 -1
  71. package/dist/components/nylas-participants-custom-availability.js +1 -1
  72. package/dist/components/nylas-reminder-emails.js +1 -1
  73. package/dist/components/nylas-reminder-time.js +1 -1
  74. package/dist/components/nylas-scheduler-editor.js +56 -56
  75. package/dist/components/nylas-scheduling-method.js +1 -1
  76. package/dist/components/nylas-scheduling.js +22 -19
  77. package/dist/components/nylas-scheduling.js.map +1 -1
  78. package/dist/components/nylas-select-event-type.js +1 -1
  79. package/dist/components/nylas-selected-event-card.js +1 -1
  80. package/dist/components/nylas-specific-time-availability-picker.js +1 -1
  81. package/dist/components/nylas-time-window-picker.js +1 -1
  82. package/dist/components/nylas-timeslot-interval.js +1 -1
  83. package/dist/components/nylas-timeslot-picker.js +1 -1
  84. package/dist/components/{p-Di0G82W0.js → p-2UDpTS-K.js} +60 -56
  85. package/dist/components/p-2UDpTS-K.js.map +1 -0
  86. package/dist/components/{p-BNzrPoR6.js → p-37a4h3J_.js} +5 -5
  87. package/dist/components/{p-BNzrPoR6.js.map → p-37a4h3J_.js.map} +1 -1
  88. package/dist/components/{p-CiJgH0CI.js → p-3FTb1-in.js} +17 -17
  89. package/dist/components/{p-CiJgH0CI.js.map → p-3FTb1-in.js.map} +1 -1
  90. package/dist/components/{p-Dlku8PCX.js → p-96zW11tR.js} +4 -4
  91. package/dist/components/{p-Dlku8PCX.js.map → p-96zW11tR.js.map} +1 -1
  92. package/dist/components/{p-CSECxNkF.js → p-B2cPNmM_.js} +6 -6
  93. package/dist/components/{p-CSECxNkF.js.map → p-B2cPNmM_.js.map} +1 -1
  94. package/dist/components/{p-DqgGszYv.js → p-B3cnALr8.js} +8 -8
  95. package/dist/components/{p-DqgGszYv.js.map → p-B3cnALr8.js.map} +1 -1
  96. package/dist/components/{p-FBEildbE.js → p-BBxu-pwN.js} +8 -8
  97. package/dist/components/{p-FBEildbE.js.map → p-BBxu-pwN.js.map} +1 -1
  98. package/dist/components/{p-Cx6l-C7e.js → p-BGbMXlLy.js} +4 -4
  99. package/dist/components/{p-Cx6l-C7e.js.map → p-BGbMXlLy.js.map} +1 -1
  100. package/dist/components/{p-DfNywLNk.js → p-BJ5a9k3B.js} +4 -4
  101. package/dist/components/{p-DfNywLNk.js.map → p-BJ5a9k3B.js.map} +1 -1
  102. package/dist/components/{p-rODq8j3H.js → p-BMmtU0fv.js} +5 -5
  103. package/dist/components/{p-rODq8j3H.js.map → p-BMmtU0fv.js.map} +1 -1
  104. package/dist/components/{p-uQf7jw6y.js → p-BTwTmU9e.js} +7 -7
  105. package/dist/components/{p-uQf7jw6y.js.map → p-BTwTmU9e.js.map} +1 -1
  106. package/dist/components/{p-B5zQj3-Z.js → p-BWbQSVNH.js} +4 -4
  107. package/dist/components/{p-B5zQj3-Z.js.map → p-BWbQSVNH.js.map} +1 -1
  108. package/dist/components/{p-D_CPIneS.js → p-BYzkNeMW.js} +3 -3
  109. package/dist/components/{p-D_CPIneS.js.map → p-BYzkNeMW.js.map} +1 -1
  110. package/dist/components/{p-B9G8DJJr.js → p-BqD6DKLT.js} +4 -4
  111. package/dist/components/{p-B9G8DJJr.js.map → p-BqD6DKLT.js.map} +1 -1
  112. package/dist/components/{p-Ch03cZa9.js → p-Bsd63RFi.js} +3 -3
  113. package/dist/components/{p-Ch03cZa9.js.map → p-Bsd63RFi.js.map} +1 -1
  114. package/dist/components/{p-BTo3RJwU.js → p-BuJdnN6-.js} +5 -5
  115. package/dist/components/{p-BTo3RJwU.js.map → p-BuJdnN6-.js.map} +1 -1
  116. package/dist/components/{p-Bj4ZUpbc.js → p-Bvnci8k8.js} +4 -4
  117. package/dist/components/{p-Bj4ZUpbc.js.map → p-Bvnci8k8.js.map} +1 -1
  118. package/dist/components/{p-DclMe63w.js → p-BxrC0Rsf.js} +3 -3
  119. package/dist/components/{p-DclMe63w.js.map → p-BxrC0Rsf.js.map} +1 -1
  120. package/dist/components/{p-W0q3GPje.js → p-BzLxndYA.js} +3 -3
  121. package/dist/components/{p-W0q3GPje.js.map → p-BzLxndYA.js.map} +1 -1
  122. package/dist/components/{p-CfNiz60j.js → p-CL8ugNmu.js} +5 -5
  123. package/dist/components/{p-CfNiz60j.js.map → p-CL8ugNmu.js.map} +1 -1
  124. package/dist/components/{p-BCUF1qcs.js → p-CMNiSC4o.js} +3 -3
  125. package/dist/components/{p-BCUF1qcs.js.map → p-CMNiSC4o.js.map} +1 -1
  126. package/dist/components/{p-CM9l-8zy.js → p-CRIlyxX5.js} +5 -5
  127. package/dist/components/{p-CM9l-8zy.js.map → p-CRIlyxX5.js.map} +1 -1
  128. package/dist/components/{p-xnXT49TS.js → p-CUe11ohy.js} +4 -4
  129. package/dist/components/{p-xnXT49TS.js.map → p-CUe11ohy.js.map} +1 -1
  130. package/dist/components/{p-CpP2uaEo.js → p-CUlV7ZGv.js} +3 -3
  131. package/dist/components/{p-CpP2uaEo.js.map → p-CUlV7ZGv.js.map} +1 -1
  132. package/dist/components/{p-BWCjcWGP.js → p-CXkCnHr5.js} +4 -4
  133. package/dist/components/{p-BWCjcWGP.js.map → p-CXkCnHr5.js.map} +1 -1
  134. package/dist/components/{p-Bi06RVaz.js → p-CdAJ8ry_.js} +3 -3
  135. package/dist/components/{p-Bi06RVaz.js.map → p-CdAJ8ry_.js.map} +1 -1
  136. package/dist/components/{p-DW9sxBeM.js → p-CdBb4zI5.js} +6 -6
  137. package/dist/components/{p-DW9sxBeM.js.map → p-CdBb4zI5.js.map} +1 -1
  138. package/dist/components/{p-OAhdn1vx.js → p-CdPtFwy6.js} +3 -3
  139. package/dist/components/{p-OAhdn1vx.js.map → p-CdPtFwy6.js.map} +1 -1
  140. package/dist/components/{p-umrdj-23.js → p-CeKOSPvz.js} +5 -5
  141. package/dist/components/{p-umrdj-23.js.map → p-CeKOSPvz.js.map} +1 -1
  142. package/dist/components/{p-CNvWFjFr.js → p-Ch_HOS-9.js} +4 -4
  143. package/dist/components/{p-CNvWFjFr.js.map → p-Ch_HOS-9.js.map} +1 -1
  144. package/dist/components/{p-sH4nuWqV.js → p-Ci-pKDnr.js} +4 -4
  145. package/dist/components/{p-sH4nuWqV.js.map → p-Ci-pKDnr.js.map} +1 -1
  146. package/dist/components/{p-Co08mMKn.js → p-CpGRDWt9.js} +4 -4
  147. package/dist/components/{p-Co08mMKn.js.map → p-CpGRDWt9.js.map} +1 -1
  148. package/dist/components/{p-p9sl0FFV.js → p-Ctot3asB.js} +50 -46
  149. package/dist/components/p-Ctot3asB.js.map +1 -0
  150. package/dist/components/{p-DjFQHhGY.js → p-CuaQW941.js} +4 -4
  151. package/dist/components/{p-DjFQHhGY.js.map → p-CuaQW941.js.map} +1 -1
  152. package/dist/components/{p-Dwxouxgj.js → p-CzSowwcD.js} +4 -4
  153. package/dist/components/{p-Dwxouxgj.js.map → p-CzSowwcD.js.map} +1 -1
  154. package/dist/components/{p-i8gpwgDT.js → p-D0137Jos.js} +4 -4
  155. package/dist/components/{p-i8gpwgDT.js.map → p-D0137Jos.js.map} +1 -1
  156. package/dist/components/{p-4jS2598L.js → p-D04Mu9fK.js} +3 -3
  157. package/dist/components/{p-4jS2598L.js.map → p-D04Mu9fK.js.map} +1 -1
  158. package/dist/components/{p-BlxYpYrq.js → p-D0qMgeBc.js} +4 -4
  159. package/dist/components/{p-BlxYpYrq.js.map → p-D0qMgeBc.js.map} +1 -1
  160. package/dist/components/{p-DswqiER3.js → p-D42UGkjM.js} +3 -3
  161. package/dist/components/{p-DswqiER3.js.map → p-D42UGkjM.js.map} +1 -1
  162. package/dist/components/{p-TOG3UyB_.js → p-D4gKLnje.js} +7 -7
  163. package/dist/components/{p-TOG3UyB_.js.map → p-D4gKLnje.js.map} +1 -1
  164. package/dist/components/{p-DjQuy9Lc.js → p-D5Swz0J4.js} +5 -5
  165. package/dist/components/{p-DjQuy9Lc.js.map → p-D5Swz0J4.js.map} +1 -1
  166. package/dist/components/{p-D6yyOiee.js → p-D9mHh12b.js} +5 -5
  167. package/dist/components/{p-D6yyOiee.js.map → p-D9mHh12b.js.map} +1 -1
  168. package/dist/components/{p-B2_cvJns.js → p-DDd7Mjvz.js} +5 -5
  169. package/dist/components/{p-B2_cvJns.js.map → p-DDd7Mjvz.js.map} +1 -1
  170. package/dist/components/{p-C1Z2qktB.js → p-DGDbXfHm.js} +7 -7
  171. package/dist/components/{p-C1Z2qktB.js.map → p-DGDbXfHm.js.map} +1 -1
  172. package/dist/components/{p-CjMpnxmP.js → p-DMwaGWVu.js} +3 -3
  173. package/dist/components/{p-CjMpnxmP.js.map → p-DMwaGWVu.js.map} +1 -1
  174. package/dist/components/{p-C2EKszp0.js → p-DOryfnIf.js} +3 -3
  175. package/dist/components/{p-C2EKszp0.js.map → p-DOryfnIf.js.map} +1 -1
  176. package/dist/components/{p-D8f8zHZu.js → p-DPL6BIu2.js} +5 -5
  177. package/dist/components/{p-D8f8zHZu.js.map → p-DPL6BIu2.js.map} +1 -1
  178. package/dist/components/{p-B2iddmWd.js → p-DPPqmJvY.js} +5 -5
  179. package/dist/components/{p-B2iddmWd.js.map → p-DPPqmJvY.js.map} +1 -1
  180. package/dist/components/{p-D7Xfdt74.js → p-DUVwWh7e.js} +4 -4
  181. package/dist/components/{p-D7Xfdt74.js.map → p-DUVwWh7e.js.map} +1 -1
  182. package/dist/components/{p-f0IvxSr9.js → p-DZwGCUUK.js} +6 -6
  183. package/dist/components/{p-f0IvxSr9.js.map → p-DZwGCUUK.js.map} +1 -1
  184. package/dist/components/{p-tIcs9Qo5.js → p-D_daFt1t.js} +5 -5
  185. package/dist/components/{p-tIcs9Qo5.js.map → p-D_daFt1t.js.map} +1 -1
  186. package/dist/components/{p-DGUo_p68.js → p-DcXycU5_.js} +4 -4
  187. package/dist/components/{p-DGUo_p68.js.map → p-DcXycU5_.js.map} +1 -1
  188. package/dist/components/{p-w9ANRXbn.js → p-DfxhC7Fd.js} +5 -5
  189. package/dist/components/{p-w9ANRXbn.js.map → p-DfxhC7Fd.js.map} +1 -1
  190. package/dist/components/{p-eej_Ksq1.js → p-DjJOgfxK.js} +5 -5
  191. package/dist/components/{p-eej_Ksq1.js.map → p-DjJOgfxK.js.map} +1 -1
  192. package/dist/components/{p-ixTtdC_2.js → p-LOCJMijY.js} +5 -5
  193. package/dist/components/{p-ixTtdC_2.js.map → p-LOCJMijY.js.map} +1 -1
  194. package/dist/components/{p-DGwr7E6J.js → p-NA5f_7b7.js} +4 -4
  195. package/dist/components/{p-DGwr7E6J.js.map → p-NA5f_7b7.js.map} +1 -1
  196. package/dist/components/{p-Cf-rjo7-.js → p-O9btdnkK.js} +6 -6
  197. package/dist/components/{p-Cf-rjo7-.js.map → p-O9btdnkK.js.map} +1 -1
  198. package/dist/components/{p-tx39yUB3.js → p-RPocf_FZ.js} +8 -8
  199. package/dist/components/{p-tx39yUB3.js.map → p-RPocf_FZ.js.map} +1 -1
  200. package/dist/components/{p-EKeBVTKB.js → p-UTn_XnKO.js} +5 -5
  201. package/dist/components/{p-EKeBVTKB.js.map → p-UTn_XnKO.js.map} +1 -1
  202. package/dist/components/{p-CeWOPOaM.js → p-eV80kRKP.js} +4 -4
  203. package/dist/components/{p-CeWOPOaM.js.map → p-eV80kRKP.js.map} +1 -1
  204. package/dist/components/{p-CbB5JFln.js → p-fwU4mtR0.js} +4 -4
  205. package/dist/components/{p-CbB5JFln.js.map → p-fwU4mtR0.js.map} +1 -1
  206. package/dist/components/{p-DrmjHhDH.js → p-g9YD1HRv.js} +5 -5
  207. package/dist/components/{p-DrmjHhDH.js.map → p-g9YD1HRv.js.map} +1 -1
  208. package/dist/components/{p-DvPuyp-I.js → p-nhhVpJed.js} +7 -7
  209. package/dist/components/{p-DvPuyp-I.js.map → p-nhhVpJed.js.map} +1 -1
  210. package/dist/components/{p-oVDOs1AN.js → p-oRjUujH5.js} +4 -4
  211. package/dist/components/{p-oVDOs1AN.js.map → p-oRjUujH5.js.map} +1 -1
  212. package/dist/components/{p-hmiyEk6L.js → p-qo42Sy8T.js} +5 -5
  213. package/dist/components/{p-hmiyEk6L.js.map → p-qo42Sy8T.js.map} +1 -1
  214. package/dist/components/{p-D_8c_n1h.js → p-uxA_4Zq1.js} +4 -4
  215. package/dist/components/{p-D_8c_n1h.js.map → p-uxA_4Zq1.js.map} +1 -1
  216. package/dist/components/{p-DWMCGYZt.js → p-wJgbEd5m.js} +5 -5
  217. package/dist/components/{p-DWMCGYZt.js.map → p-wJgbEd5m.js.map} +1 -1
  218. package/dist/components/textarea-component.js +1 -1
  219. package/dist/components/time-period-selector.js +1 -1
  220. package/dist/esm/{abstract-provider-DfvNw5fP.js → abstract-provider-C4xP8KoA.js} +3 -3
  221. package/dist/esm/{abstract-provider-DfvNw5fP.js.map → abstract-provider-C4xP8KoA.js.map} +1 -1
  222. package/dist/esm/calendar-agenda-fill-icon_39.entry.js +2 -2
  223. package/dist/esm/checkbox-group_4.entry.js +3 -3
  224. package/dist/esm/checkmark-icon_14.entry.js +2 -2
  225. package/dist/esm/{customParseFormat-BUZsRKas.js → customParseFormat-oEkUiMUN.js} +3 -3
  226. package/dist/esm/{customParseFormat-BUZsRKas.js.map → customParseFormat-oEkUiMUN.js.map} +1 -1
  227. package/dist/esm/globe-icon_3.entry.js +2 -2
  228. 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
  229. package/dist/esm/google-logo-icon_6.entry.js +23 -15
  230. package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
  231. package/dist/esm/index.js +2 -2
  232. package/dist/esm/input-component.entry.js +1 -1
  233. package/dist/esm/input-dropdown_2.entry.js +1 -1
  234. package/dist/esm/input-image-url_2.entry.js +2 -2
  235. package/dist/esm/multi-select-dropdown.entry.js +1 -1
  236. package/dist/esm/{nylas-api-request-B3Fj4B-L.js → nylas-api-request-CWLncKIc.js} +3 -3
  237. package/dist/esm/{nylas-api-request-B3Fj4B-L.js.map → nylas-api-request-CWLncKIc.js.map} +1 -1
  238. package/dist/esm/nylas-booked-event-card_11.entry.js +2 -2
  239. package/dist/esm/nylas-form-card.entry.js +2 -2
  240. package/dist/esm/nylas-notification_2.entry.js +1 -1
  241. package/dist/esm/nylas-scheduler-editor.entry.js +4 -4
  242. package/dist/esm/nylas-scheduling.entry.js +6 -3
  243. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  244. package/dist/esm/{register-component-B9YP9nha.js → register-component-4Wk1RjFK.js} +3 -3
  245. package/dist/esm/{register-component-B9YP9nha.js.map → register-component-4Wk1RjFK.js.map} +1 -1
  246. package/dist/esm/textarea-component.entry.js +1 -1
  247. package/dist/esm/{utils-OpKyWV8q.js → utils-DfIu4gMZ.js} +3 -3
  248. package/dist/esm/{utils-OpKyWV8q.js.map → utils-DfIu4gMZ.js.map} +1 -1
  249. package/dist/esm/{version-CEtdwas_.js → version-B5EM2UED.js} +3 -3
  250. package/dist/esm/{version-CEtdwas_.js.map → version-B5EM2UED.js.map} +1 -1
  251. 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
  252. package/dist/nylas-web-elements/index.esm.js +1 -1
  253. package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
  254. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  255. package/dist/nylas-web-elements/{p-2f3a33e1.entry.js → p-0745cbcc.entry.js} +2 -2
  256. package/dist/nylas-web-elements/{p-28182324.entry.js → p-0ae1a52e.entry.js} +3 -3
  257. package/dist/nylas-web-elements/{p-ad920702.entry.js → p-0c276fdb.entry.js} +2 -2
  258. package/dist/nylas-web-elements/{p-72e72392.entry.js → p-1618c8ac.entry.js} +2 -2
  259. package/dist/nylas-web-elements/{p-97034347.entry.js → p-2491c840.entry.js} +2 -2
  260. package/dist/nylas-web-elements/p-3a8194c2.entry.js +2 -0
  261. package/dist/nylas-web-elements/p-3a8194c2.entry.js.map +1 -0
  262. package/dist/nylas-web-elements/{p-330c2159.entry.js → p-81af9950.entry.js} +2 -2
  263. package/dist/nylas-web-elements/{p-4d9bdaa0.entry.js → p-95c4f538.entry.js} +2 -2
  264. package/dist/nylas-web-elements/p-9c8a524c.entry.js +2 -0
  265. package/dist/nylas-web-elements/p-9c8a524c.entry.js.map +1 -0
  266. package/dist/nylas-web-elements/{p-CEtdwas_.js → p-B5EM2UED.js} +2 -2
  267. package/dist/nylas-web-elements/{p-CEtdwas_.js.map → p-B5EM2UED.js.map} +1 -1
  268. package/dist/nylas-web-elements/{p-S0IPwRIR.js → p-DNbD_8zD.js} +2 -2
  269. package/dist/nylas-web-elements/{p-S0IPwRIR.js.map → p-DNbD_8zD.js.map} +1 -1
  270. package/dist/nylas-web-elements/{p-OpKyWV8q.js → p-DfIu4gMZ.js} +2 -2
  271. package/dist/nylas-web-elements/{p-OpKyWV8q.js.map → p-DfIu4gMZ.js.map} +1 -1
  272. package/dist/nylas-web-elements/{p-C-mOw2iU.js → p-Dgl7p7tZ.js} +2 -2
  273. package/dist/nylas-web-elements/{p-C-mOw2iU.js.map → p-Dgl7p7tZ.js.map} +1 -1
  274. package/dist/nylas-web-elements/p-VQ6-FdEA.js +2 -0
  275. package/dist/nylas-web-elements/{p-D8VJgipo.js.map → p-VQ6-FdEA.js.map} +1 -1
  276. package/dist/nylas-web-elements/{p-db79a1ca.entry.js → p-a5bb5b9d.entry.js} +2 -2
  277. package/dist/nylas-web-elements/{p-3f66ac98.entry.js → p-c7f4c268.entry.js} +2 -2
  278. package/dist/nylas-web-elements/{p-f235211e.entry.js → p-d48d8562.entry.js} +2 -2
  279. package/dist/nylas-web-elements/{p-9a5ddc21.entry.js → p-eb5b77ab.entry.js} +2 -2
  280. package/dist/nylas-web-elements/{p-38806f4d.entry.js → p-f45da541.entry.js} +2 -2
  281. package/dist/nylas-web-elements/{p-f5cf565f.entry.js → p-fed4cb19.entry.js} +2 -2
  282. package/dist/nylas-web-elements/{p-FlNKXp4j.js → p-gXPNb-6F.js} +2 -2
  283. package/dist/nylas-web-elements/{p-FlNKXp4j.js.map → p-gXPNb-6F.js.map} +1 -1
  284. package/dist/types/version.d.ts +1 -1
  285. package/package.json +1 -1
  286. package/dist/components/p-Di0G82W0.js.map +0 -1
  287. package/dist/components/p-p9sl0FFV.js.map +0 -1
  288. package/dist/nylas-web-elements/p-74747365.entry.js +0 -2
  289. package/dist/nylas-web-elements/p-74747365.entry.js.map +0 -1
  290. package/dist/nylas-web-elements/p-9a42cebd.entry.js +0 -2
  291. package/dist/nylas-web-elements/p-9a42cebd.entry.js.map +0 -1
  292. package/dist/nylas-web-elements/p-D8VJgipo.js +0 -2
  293. /package/dist/nylas-web-elements/{p-2f3a33e1.entry.js.map → p-0745cbcc.entry.js.map} +0 -0
  294. /package/dist/nylas-web-elements/{p-28182324.entry.js.map → p-0ae1a52e.entry.js.map} +0 -0
  295. /package/dist/nylas-web-elements/{p-ad920702.entry.js.map → p-0c276fdb.entry.js.map} +0 -0
  296. /package/dist/nylas-web-elements/{p-72e72392.entry.js.map → p-1618c8ac.entry.js.map} +0 -0
  297. /package/dist/nylas-web-elements/{p-97034347.entry.js.map → p-2491c840.entry.js.map} +0 -0
  298. /package/dist/nylas-web-elements/{p-330c2159.entry.js.map → p-81af9950.entry.js.map} +0 -0
  299. /package/dist/nylas-web-elements/{p-4d9bdaa0.entry.js.map → p-95c4f538.entry.js.map} +0 -0
  300. /package/dist/nylas-web-elements/{p-db79a1ca.entry.js.map → p-a5bb5b9d.entry.js.map} +0 -0
  301. /package/dist/nylas-web-elements/{p-3f66ac98.entry.js.map → p-c7f4c268.entry.js.map} +0 -0
  302. /package/dist/nylas-web-elements/{p-f235211e.entry.js.map → p-d48d8562.entry.js.map} +0 -0
  303. /package/dist/nylas-web-elements/{p-9a5ddc21.entry.js.map → p-eb5b77ab.entry.js.map} +0 -0
  304. /package/dist/nylas-web-elements/{p-38806f4d.entry.js.map → p-f45da541.entry.js.map} +0 -0
  305. /package/dist/nylas-web-elements/{p-f5cf565f.entry.js.map → p-fed4cb19.entry.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, F as Fragment, c as createEvent, H as Host, a as getElement } from './index-0EQQA0nE.js';
2
- import { R as RegisterComponent } from './register-component-B9YP9nha.js';
3
- import { a as debug, i as instance, r as mergeDeep, s as removeUndefinedProperties, v as editorTabComponentNames, D as DEFAULT_OPEN_HOURS, w as parsePreviewLink, C as CONFIGURATION_EVENT_TYPE, x as editorGroupTabComponentNames, g as getCalendarRange } from './utils-OpKyWV8q.js';
4
- import { E as ErrorCategory, u, v as version } from './version-CEtdwas_.js';
2
+ import { R as RegisterComponent } from './register-component-4Wk1RjFK.js';
3
+ import { a as debug, i as instance, r as removeUndefinedProperties, s as mergeDeep, v as editorTabComponentNames, D as DEFAULT_OPEN_HOURS, w as parsePreviewLink, C as CONFIGURATION_EVENT_TYPE, x as editorGroupTabComponentNames, g as getCalendarRange } from './utils-DfIu4gMZ.js';
4
+ import { E as ErrorCategory, u, v as version } from './version-B5EM2UED.js';
5
5
  import { i as isInitialized, a as init, c as captureMessage, b as captureFeedback, f as feedbackSyncIntegration } from './feedbackSync-B8tfyAQm.js';
6
6
 
7
7
  const iconCss$1 = ".sc-google-logo-icon-h{display:flex}";
@@ -301,8 +301,12 @@ const NylasEditorTabs = class {
301
301
  },
302
302
  appearance: appearance,
303
303
  };
304
- const configObjectWithDeveloperSettings = mergeDeep(this.selectedConfiguration, removeUndefinedProperties(configObject || {}));
304
+ const cleanedConfigObject = removeUndefinedProperties(configObject || {});
305
+ const configObjectWithDeveloperSettings = mergeDeep(this.selectedConfiguration, cleanedConfigObject);
305
306
  const finalConfig = configObjectWithDeveloperSettings;
307
+ if (finalConfig?.scheduler) {
308
+ finalConfig.scheduler.additional_fields = cleanedConfigObject?.scheduler?.additional_fields ?? {};
309
+ }
306
310
  if (this.isConfigRoundRobin(finalConfig)) {
307
311
  finalConfig.participants = finalConfig.participants.map(p => ({ ...p, is_organizer: undefined }));
308
312
  }
@@ -782,10 +786,10 @@ const NylasEditorTabs = class {
782
786
  }
783
787
  render() {
784
788
  debug('[nylas-editor-tabs]', 'render', this.formState);
785
- return (h(Host, { key: 'bf708d7ec542c822eb749ffd4e8045ae9ae4d58e' }, h("nylas-notification", { key: 'da0ef8835e5a7c3c7a1e3eae096eea2ef7cdc744' }), h("form", { key: '7154f6f9f0e9bb735f1217864a985dc440347893', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, 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) }, h("calendar-info-icon", { width: "16", height: "16" }), instance.t('eventInfoTab')), 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) }, h("calendar-patterns-icon", { width: "16", height: "16" }), instance.t('availabilityTab')), 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) }, h("people-icon", { width: "16", height: "16" }), instance.t('participantsTab')), 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) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), 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 ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), 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 ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), 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 ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: {
789
+ return (h(Host, { key: '641ed8ccdf06d4bc1fbfb7e8431ebabff7eab0ef' }, h("nylas-notification", { key: '7f54445278641b6a5afec0a290d7baa6d23a411d' }), h("form", { key: '4aafb7e4edc582dc5b1e5504d01d7387ee025023', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, 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) }, h("calendar-info-icon", { width: "16", height: "16" }), instance.t('eventInfoTab')), 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) }, h("calendar-patterns-icon", { width: "16", height: "16" }), instance.t('availabilityTab')), 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) }, h("people-icon", { width: "16", height: "16" }), instance.t('participantsTab')), 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) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), 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 ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), 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 ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), 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 ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: {
786
790
  'tab-content': true,
787
791
  'fadeIn': this.loaded,
788
- }, part: "editor__tab-content net__tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '9f8518398d98a211078b50c88f1c81315ed30328', class: "footer", part: "editor__footer net__footer" }, h("div", { key: 'cbf1648c8c98b4e48e43d21ba7d9031a329a4e10', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: 'a4f2c13221dade5425f1b59aa5274350a809ffc3', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: 'f2f1fe27e3de4f09fe7eb00eede7f9abc90102c3' })))), h("div", { key: 'a740aaeccc0f929cfa67ef8c0c703513ec9138ec', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: 'ded5a9bed46eb1063e0062080fbc2f1eb91510fa', class: {
792
+ }, part: "editor__tab-content net__tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '2ca529c16438ae6f540d9f9d2cf9f176b9f8953c', class: "footer", part: "editor__footer net__footer" }, h("div", { key: '7a9c3a5625f22441e1e5c1ff7c9bf4b83609f6d9', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: '180fef7df92ddc66dbe0ddcae9b667c95a4975b7', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: '645d1490d921250158592abaa25fea439a0484d6' })))), h("div", { key: 'd1ee52a3df5a6517661bc9abaef8b0d810a626cf', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: '3621ce228c7b8f5059269f4259d0ae0559c73c17', class: {
789
793
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
790
794
  'saved-changes': this.changesSaved,
791
795
  'error': this.error?.message !== '',
@@ -794,17 +798,17 @@ const NylasEditorTabs = class {
794
798
  ? instance.t('unsavedChangesLabel')
795
799
  : this.error?.message == '' && this.changesSaved
796
800
  ? `${instance.t('changesSavedLabel')}!`
797
- : ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '335dcff1c0fa0e2049cf21f36e33427a9f30a8c1', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
801
+ : ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '197011c0377ca5ebe8df986f2646fc84668e4645', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
798
802
  event.preventDefault();
799
803
  const previewEvent = this.previewButtonClicked.emit(this.host);
800
804
  if (!previewEvent.defaultPrevented) {
801
805
  window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
802
806
  }
803
- }, variant: 'basic' }, h("eye-icon", { key: '2f8ef52ca16d73c357feb572c35d4f56f056a4d1' }))), h("button-component", { key: 'f56f62a0b795d5949cef307518b12ca9c7431cb5', type: "button", disabled: this.isLoading, clickHandler: event => {
807
+ }, variant: 'basic' }, h("eye-icon", { key: 'b2015768be9e7babed22669234eefbe1a458d2dc' }))), h("button-component", { key: 'ab2c1f081c15b9cde3efd42e5167dfaacc697874', type: "button", disabled: this.isLoading, clickHandler: event => {
804
808
  event.preventDefault();
805
809
  this.cancelButtonClick.emit();
806
810
  this.host.resetError();
807
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), h("button-component", { key: 'c04d198a70b9214461d92c380089048febe6113a', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (h("span", null, instance.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${instance.t('createButtonText')}`) : (`${instance.t('saveChangesButtonText')}`))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '5c62eea9a45a9060762b43c7a328488653590979' })));
811
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), h("button-component", { key: 'c83433adee419e28c091b54c6ff6df8c452e17fb', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (h("span", null, instance.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${instance.t('createButtonText')}`) : (`${instance.t('saveChangesButtonText')}`))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '2e06e943f9383454109ab9dfd0cb2567c65994e4' })));
808
812
  }
809
813
  get host() { return getElement(this); }
810
814
  static get watchers() { return {
@@ -1024,8 +1028,12 @@ const NylasEditorTabsGroup = class {
1024
1028
  default_capacity: eventCapacity || 10,
1025
1029
  },
1026
1030
  };
1027
- const configObjectWithDeveloperSettings = mergeDeep(this.selectedConfiguration, removeUndefinedProperties(configObject || {}));
1031
+ const cleanedConfigObject = removeUndefinedProperties(configObject || {});
1032
+ const configObjectWithDeveloperSettings = mergeDeep(this.selectedConfiguration, cleanedConfigObject);
1028
1033
  const finalConfig = configObjectWithDeveloperSettings;
1034
+ if (finalConfig?.scheduler) {
1035
+ finalConfig.scheduler.additional_fields = cleanedConfigObject?.scheduler?.additional_fields ?? {};
1036
+ }
1029
1037
  delete finalConfig.availability;
1030
1038
  delete finalConfig.participants;
1031
1039
  delete finalConfig.event_booking;
@@ -1537,9 +1545,9 @@ const NylasEditorTabsGroup = class {
1537
1545
  }
1538
1546
  render() {
1539
1547
  debug('[nylas-editor-tabs-group]', 'render', this.formState);
1540
- return (h(Host, { key: '5c43ab9753d143dc7106e2610d859018f16d7c8a' }, h("nylas-notification", { key: 'aad4b319b5a15d071c50104f5e5143e20a46a242' }), h("form", { key: '6be0f7f3f455c7fd3c238dabca0b28d2c8720470', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1548
+ return (h(Host, { key: '06a56774813f3253201c74362b22f6190d3d9b18' }, h("nylas-notification", { key: '312a7375ccb06441edd84eeeb97676d3e965d034' }), h("form", { key: 'f99f3dbf643542e1cdf5fc04f0b49e77f0cec577', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1541
1549
  this.setActiveTab(e, TabGroup.CalendarView);
1542
- } }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, 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) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), 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 ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), 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 ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), 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 ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: 'a33beeedc56376b9a421af7e996e478aca42de84', class: "footer", part: "editor__footer net__footer" }, h("div", { key: '4fa919de1796a541b34dcfd8a835249b7613b5e4', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: 'a89bef04b5f00a893d0ce536889d27e691348a87', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: '3bd71fd8df54e8a322831fa920f8da73c4649a64' }))), this.activeTab === TabGroup.CalendarView && (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) }, instance.t('pageSettingsButton')))), h("div", { key: '685c81809fbe5a28e86f93a8a3b357148a72fd76', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: 'a59e3c5f92c2b2a404c659cb5b2b5ce01362bb30', class: {
1550
+ } }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, 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) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), 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 ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), 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 ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), 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 ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '7a0c434d290fcf47d4bb8d653cdb6bae7a1fda13', class: "footer", part: "editor__footer net__footer" }, h("div", { key: 'c0ec1cd3a1ad5e0f08eac1994abbef4e54175bab', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: 'ac96b6bee8d986417355134bae7c700328eb4a59', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: '2f8dc179c85aba046041ba5e0b1147913e6d9364' }))), this.activeTab === TabGroup.CalendarView && (h("button-component", { key: '9eef85c170173e5781c71d247712a7d0836649a0', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, instance.t('pageSettingsButton')))), h("div", { key: '8b0782e6e5c6245b180f37b8e636f9fd57d3bcc3', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: 'f150c59905b9eca9d4dfbe1aa278c7b70eb883c6', class: {
1543
1551
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
1544
1552
  'saved-changes': this.changesSaved,
1545
1553
  'error': this.error?.message !== '',
@@ -1548,17 +1556,17 @@ const NylasEditorTabsGroup = class {
1548
1556
  ? instance.t('unsavedChangesLabel')
1549
1557
  : this.error?.message == '' && this.changesSaved
1550
1558
  ? `${instance.t('changesSavedLabel')}!`
1551
- : ''), h("div", { key: '932230c2a5f60e19abd0db90a55b3b251252b1bd', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: 'c875383a9d26d1695cc20b1d4c9676a070c3608f', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1559
+ : ''), h("div", { key: '3482be3bf0aa1f2033892f0ea9fb46ef3d024933', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '292e5e8e26dde950427ea5b9a89102fd787e3396', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1552
1560
  event.preventDefault();
1553
1561
  const previewEvent = this.previewButtonClicked.emit(this.host);
1554
1562
  if (!previewEvent.defaultPrevented) {
1555
1563
  window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
1556
1564
  }
1557
- }, variant: 'basic' }, h("eye-icon", { key: '1485e9f9ade7fd205cfab8195197b0d597e9c4bf' }))), h("button-component", { key: '62167206c6a8bde1cbfae44c7d54cfb6ed0692ac', type: "button", disabled: this.isLoading, clickHandler: event => {
1565
+ }, variant: 'basic' }, h("eye-icon", { key: '752b75283ffc0d3001bdfa675e0d0aefd8e35ffe' }))), h("button-component", { key: '359fcd9add568c76d2781dcb445a61318f4d65cf', type: "button", disabled: this.isLoading, clickHandler: event => {
1558
1566
  event.preventDefault();
1559
1567
  this.cancelButtonClick.emit();
1560
1568
  this.host.resetError();
1561
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), 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 ? (h("span", null, h("loading-icon", null), ' ')) : this.isLoading ? (h("span", null, instance.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${instance.t('createButtonText')}`) : (`${instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '449cab0589ff40203a33ed2bbee0e4a55458d557' })));
1569
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), h("button-component", { key: '30c9dd42997d4e5d678677f127ed499302ccae36', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (h("span", null, h("loading-icon", null), ' ')) : this.isLoading ? (h("span", null, instance.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${instance.t('createButtonText')}`) : (`${instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '0168f924071cf6c43699c26b43e74ee76a696a27' })));
1562
1570
  }
1563
1571
  get host() { return getElement(this); }
1564
1572
  static get watchers() { return {