@nylas/react 1.1.4 → 1.1.5

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 (148) hide show
  1. package/dist/add-circle-icon_2.entry-1e899552.js +25 -0
  2. package/dist/add-circle-icon_2.entry-31acee1d.cjs +1 -0
  3. package/dist/archive-icon.entry-b5f307e8.js +15 -0
  4. package/dist/archive-icon.entry-e932c9e6.cjs +1 -0
  5. package/dist/{arrow-icon.entry-20b50784.js → arrow-icon.entry-aae2e22d.js} +2 -2
  6. package/dist/{arrow-icon.entry-83c3105b.cjs → arrow-icon.entry-e35a6cad.cjs} +1 -1
  7. package/dist/{bold-icon.entry-0e3d84e1.cjs → bold-icon.entry-1e3c9b1f.cjs} +1 -1
  8. package/dist/{bold-icon.entry-34b18d0d.js → bold-icon.entry-d5d86b3f.js} +2 -2
  9. package/dist/{button-component_2.entry-8a5e99da.js → button-component_2.entry-5284316e.js} +6 -6
  10. package/dist/{button-component_2.entry-54101987.cjs → button-component_2.entry-a86f8dca.cjs} +1 -1
  11. package/dist/{calendar-agenda-fill-icon_51.entry-a351dca5.js → calendar-agenda-fill-icon_54.entry-5672c589.js} +1943 -1638
  12. package/dist/calendar-agenda-fill-icon_54.entry-702b29cc.cjs +10 -0
  13. package/dist/{calendar-cancel-icon.entry-f83e9b41.js → calendar-cancel-icon.entry-7f81de9d.js} +4 -4
  14. package/dist/{calendar-cancel-icon.entry-00756264.cjs → calendar-cancel-icon.entry-e9792eaa.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-1817540c.js → calendar-check-icon_2.entry-84db1700.js} +7 -7
  16. package/dist/{calendar-check-icon_2.entry-6ac948fc.cjs → calendar-check-icon_2.entry-ad055b37.cjs} +1 -1
  17. package/dist/{calendar-icon.entry-68e53f52.cjs → calendar-icon.entry-019f7feb.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-362428bf.js → calendar-icon.entry-45db1630.js} +2 -2
  19. package/dist/{checkbox-component_2.entry-5ce9807d.cjs → checkbox-component_2.entry-8325ff88.cjs} +1 -1
  20. package/dist/{checkbox-component_2.entry-0d7c1916.js → checkbox-component_2.entry-84a053ff.js} +3 -3
  21. package/dist/{chevron-icon_3.entry-89c52603.cjs → chevron-icon_3.entry-0edde2a6.cjs} +1 -1
  22. package/dist/{chevron-icon_3.entry-37c087a7.js → chevron-icon_3.entry-ec894a13.js} +6 -6
  23. package/dist/{clock-icon_4.entry-2e78febe.js → clock-icon_4.entry-8ec9c29b.js} +8 -8
  24. package/dist/{clock-icon_4.entry-496058ef.cjs → clock-icon_4.entry-935fe48d.cjs} +1 -1
  25. package/dist/constants-c549b12b-7ea4c7f5.js +763 -0
  26. package/dist/constants-c549b12b-c85413b1.cjs +1 -0
  27. package/dist/copy-icon.entry-5a2030da.cjs +1 -0
  28. package/dist/{copy-icon.entry-6d4e05b0.js → copy-icon.entry-d9405510.js} +7 -7
  29. package/dist/{delete-icon.entry-ea06b42a.js → delete-icon.entry-1b0a3ba4.js} +7 -7
  30. package/dist/{delete-icon.entry-e98b336e.cjs → delete-icon.entry-3f3d1ffb.cjs} +1 -1
  31. package/dist/document-refresh-icon.entry-59a18097.cjs +1 -0
  32. package/dist/document-refresh-icon.entry-fab58d33.js +15 -0
  33. package/dist/{feedbackSync-ab657d65-e8b7c001.js → feedbackSync-b56b29ed-7a1f1f75.js} +1 -1
  34. package/dist/{feedbackSync-ab657d65-e650e46d.cjs → feedbackSync-b56b29ed-b6f352f3.cjs} +1 -1
  35. package/dist/{folder-icon.entry-6096fbf4.js → folder-icon.entry-b5a123d0.js} +2 -2
  36. package/dist/{folder-icon.entry-5c3f4e8f.cjs → folder-icon.entry-e85383b6.cjs} +1 -1
  37. package/dist/{forward-icon.entry-4089e3bb.cjs → forward-icon.entry-7c8ed4c3.cjs} +1 -1
  38. package/dist/forward-icon.entry-88ab1a85.js +15 -0
  39. package/dist/{globe-icon.entry-59f4c2f9.js → globe-icon.entry-6fb414ca.js} +4 -4
  40. package/dist/{globe-icon.entry-e8ca972e.cjs → globe-icon.entry-b1253516.cjs} +1 -1
  41. package/dist/google-logo-icon_4.entry-ae09d065.cjs +1 -0
  42. package/dist/{google-logo-icon_4.entry-d4b8926f.js → google-logo-icon_4.entry-fe627741.js} +213 -199
  43. package/dist/inbox-icon.entry-7dce836e.cjs +1 -0
  44. package/dist/{inbox-icon.entry-70dae5ec.js → inbox-icon.entry-cec35da1.js} +2 -2
  45. package/dist/{index-e475e0c0.js → index-3fd31877.js} +3236 -3090
  46. package/dist/index-bd6fdc8c.cjs +81 -0
  47. package/dist/{index.es-b475d61f-68a74a28.cjs → index.es-c7ca1bad-0a324dca.cjs} +1 -1
  48. package/dist/{index.es-b475d61f-bfa2cba2.js → index.es-c7ca1bad-b895d84b.js} +1 -1
  49. package/dist/{info-icon_2.entry-f1b1dfba.cjs → info-icon_2.entry-1dab6311.cjs} +1 -1
  50. package/dist/{info-icon_2.entry-2bb60213.js → info-icon_2.entry-f7e6b4aa.js} +5 -5
  51. package/dist/{input-color-picker.entry-5ae45a9e.js → input-color-picker.entry-30cda4e2.js} +3 -3
  52. package/dist/{input-color-picker.entry-b669f7fb.cjs → input-color-picker.entry-b6e53c29.cjs} +1 -1
  53. package/dist/{input-component.entry-eeb95361.cjs → input-component.entry-1f1f8e00.cjs} +1 -1
  54. package/dist/{input-component.entry-cb958501.js → input-component.entry-7a04bc8b.js} +3 -3
  55. package/dist/{input-dropdown.entry-0b458f68.cjs → input-dropdown.entry-5e5b67be.cjs} +1 -1
  56. package/dist/{input-dropdown.entry-962605f8.js → input-dropdown.entry-abf134a8.js} +4 -4
  57. package/dist/italic-icon.entry-4631c594.js +15 -0
  58. package/dist/italic-icon.entry-c793243b.cjs +1 -0
  59. package/dist/{multi-select-dropdown.entry-a66408a2.cjs → multi-select-dropdown.entry-2b8728d5.cjs} +1 -1
  60. package/dist/{multi-select-dropdown.entry-3084e1fc.js → multi-select-dropdown.entry-9a93da56.js} +2 -2
  61. package/dist/nylas-booked-event-card_12.entry-8d502a3c.cjs +1 -0
  62. package/dist/{nylas-booked-event-card_12.entry-29e2a4b1.js → nylas-booked-event-card_12.entry-f13f3f54.js} +299 -294
  63. package/dist/{nylas-form-card.entry-33b4c295.js → nylas-form-card.entry-862519b4.js} +16 -16
  64. package/dist/{nylas-form-card.entry-8465eccf.cjs → nylas-form-card.entry-af179b96.cjs} +1 -1
  65. package/dist/{nylas-if-state.entry-9d96fc87.js → nylas-if-state.entry-8803a762.js} +3 -3
  66. package/dist/{nylas-if-state.entry-adb6103a.cjs → nylas-if-state.entry-c1c1282d.cjs} +1 -1
  67. package/dist/{nylas-login.entry-3f7c195e.js → nylas-login.entry-3e12f747.js} +7 -7
  68. package/dist/{nylas-login.entry-78b968d1.cjs → nylas-login.entry-65f8f046.cjs} +1 -1
  69. package/dist/{nylas-provider.entry-b918d0f6.cjs → nylas-provider.entry-9626b113.cjs} +1 -1
  70. package/dist/{nylas-provider.entry-19635620.js → nylas-provider.entry-e3501bd1.js} +5 -5
  71. package/dist/{nylas-scheduler-editor.entry-cfed7ae2.cjs → nylas-scheduler-editor.entry-17cd1514.cjs} +2 -2
  72. package/dist/{nylas-scheduler-editor.entry-e848771f.js → nylas-scheduler-editor.entry-6df45b05.js} +25 -25
  73. package/dist/{nylas-scheduling.entry-da987c02.js → nylas-scheduling.entry-08051ba3.js} +138 -126
  74. package/dist/nylas-scheduling.entry-b1fafd91.cjs +1 -0
  75. package/dist/{nylas-time-window-picker.entry-1f76b577.cjs → nylas-time-window-picker.entry-4989d421.cjs} +1 -1
  76. package/dist/{nylas-time-window-picker.entry-3c6b29d9.js → nylas-time-window-picker.entry-bdc8c6ea.js} +13 -13
  77. package/dist/{person-icon.entry-79fcd9fb.js → person-icon.entry-d62a16b4.js} +2 -2
  78. package/dist/{person-icon.entry-82bbb87c.cjs → person-icon.entry-fb7efa8f.cjs} +1 -1
  79. package/dist/play-icon.entry-01b95392.js +15 -0
  80. package/dist/{play-icon.entry-3f357ea4.cjs → play-icon.entry-f485a2c8.cjs} +1 -1
  81. package/dist/react.cjs +1 -1
  82. package/dist/react.js +9 -9
  83. package/dist/{refresh-icon.entry-1427a5e6.js → refresh-icon.entry-1ff4b39f.js} +2 -2
  84. package/dist/{refresh-icon.entry-7ce5ec90.cjs → refresh-icon.entry-5f997e86.cjs} +1 -1
  85. package/dist/{register-component-679c1308-de697ecb.js → register-component-3444af44-854971ad.js} +1 -1
  86. package/dist/{register-component-679c1308-b5a96acf.cjs → register-component-3444af44-9053e8c3.cjs} +1 -1
  87. package/dist/{reply-all-icon.entry-cf8114db.cjs → reply-all-icon.entry-1dad6514.cjs} +1 -1
  88. package/dist/{reply-all-icon.entry-f1165660.js → reply-all-icon.entry-cbafb8a0.js} +2 -2
  89. package/dist/reply-icon.entry-162d9945.cjs +1 -0
  90. package/dist/reply-icon.entry-a43bc252.js +15 -0
  91. package/dist/{scheduler-config-store-2a3b403d-e5210f72.js → scheduler-config-store-ed4a8dfd-22db9285.js} +1 -2
  92. package/dist/scheduler-config-store-ed4a8dfd-eeaeaa50.cjs +1 -0
  93. package/dist/{scheduler-store-908886c8-b0f43cb9.js → scheduler-store-d4784b24-9a5f5734.js} +134 -126
  94. package/dist/scheduler-store-d4784b24-aed474e8.cjs +1 -0
  95. package/dist/sent-icon.entry-a05486d5.js +15 -0
  96. package/dist/sent-icon.entry-a1aec7e9.cjs +1 -0
  97. package/dist/spam-icon.entry-473f11af.js +15 -0
  98. package/dist/spam-icon.entry-b481a04b.cjs +1 -0
  99. package/dist/{star-icon.entry-b15601ca.js → star-icon.entry-12fdc345.js} +5 -5
  100. package/dist/{star-icon.entry-88501c8b.cjs → star-icon.entry-6b1fe3cf.cjs} +1 -1
  101. package/dist/stop-icon.entry-4bd609f7.js +15 -0
  102. package/dist/{stop-icon.entry-3475e257.cjs → stop-icon.entry-72481153.cjs} +1 -1
  103. package/dist/{textarea-component.entry-d1f4dd9a.js → textarea-component.entry-47e1b2e6.js} +2 -2
  104. package/dist/{textarea-component.entry-683c2959.cjs → textarea-component.entry-f330a755.cjs} +1 -1
  105. package/dist/{time-period-selector.entry-e97f86fd.js → time-period-selector.entry-a4899368.js} +2 -2
  106. package/dist/{time-period-selector.entry-8cfdf750.cjs → time-period-selector.entry-c7611563.cjs} +1 -1
  107. package/dist/{translate-icon.entry-5757c37c.cjs → translate-icon.entry-40dfa8c9.cjs} +1 -1
  108. package/dist/{translate-icon.entry-09c5574f.js → translate-icon.entry-4517838d.js} +4 -4
  109. package/dist/trash-fill-icon.entry-86ca3055.cjs +1 -0
  110. package/dist/{trash-fill-icon.entry-470ec1ff.js → trash-fill-icon.entry-d7e960eb.js} +3 -3
  111. package/dist/{underline-icon.entry-9fe74ba7.js → underline-icon.entry-352970f5.js} +2 -2
  112. package/dist/{underline-icon.entry-6d729068.cjs → underline-icon.entry-f16d4943.cjs} +1 -1
  113. package/dist/{warning-icon.entry-d924f8f9.js → warning-icon.entry-63987dad.js} +5 -5
  114. package/dist/{warning-icon.entry-c1d48318.cjs → warning-icon.entry-79ef75b2.cjs} +1 -1
  115. package/package.json +3 -3
  116. package/dist/add-circle-icon_2.entry-6753bd65.js +0 -25
  117. package/dist/add-circle-icon_2.entry-cd9a7f37.cjs +0 -1
  118. package/dist/archive-icon.entry-434d1696.js +0 -15
  119. package/dist/archive-icon.entry-7cb1c265.cjs +0 -1
  120. package/dist/calendar-agenda-fill-icon_51.entry-1920adc2.cjs +0 -7
  121. package/dist/constants-c31dccfe-04b9cd8a.js +0 -3883
  122. package/dist/constants-c31dccfe-1a739653.cjs +0 -15
  123. package/dist/copy-icon.entry-a1baee33.cjs +0 -1
  124. package/dist/document-refresh-icon.entry-09750b52.cjs +0 -1
  125. package/dist/document-refresh-icon.entry-afae6621.js +0 -15
  126. package/dist/forward-icon.entry-da319c05.js +0 -15
  127. package/dist/google-logo-icon_4.entry-e2001f83.cjs +0 -1
  128. package/dist/inbox-icon.entry-80ee9082.cjs +0 -1
  129. package/dist/index-6b9d4b01.cjs +0 -81
  130. package/dist/italic-icon.entry-4a89e289.cjs +0 -1
  131. package/dist/italic-icon.entry-5be07509.js +0 -15
  132. package/dist/nylas-booked-event-card_12.entry-227ccf31.cjs +0 -1
  133. package/dist/nylas-reminder-emails.entry-ec79b757.js +0 -168
  134. package/dist/nylas-reminder-emails.entry-ee76db24.cjs +0 -4
  135. package/dist/nylas-reminder-time_2.entry-105de2d0.js +0 -108
  136. package/dist/nylas-reminder-time_2.entry-83ecc1d4.cjs +0 -1
  137. package/dist/nylas-scheduling.entry-e989cf9e.cjs +0 -1
  138. package/dist/play-icon.entry-97b40470.js +0 -15
  139. package/dist/reply-icon.entry-3a601cff.js +0 -15
  140. package/dist/reply-icon.entry-3db337c9.cjs +0 -1
  141. package/dist/scheduler-config-store-2a3b403d-e6f5bcab.cjs +0 -1
  142. package/dist/scheduler-store-908886c8-62d14677.cjs +0 -1
  143. package/dist/sent-icon.entry-2c7bd48e.js +0 -15
  144. package/dist/sent-icon.entry-708b9a2b.cjs +0 -1
  145. package/dist/spam-icon.entry-3106ed3d.js +0 -15
  146. package/dist/spam-icon.entry-fa8b80c6.cjs +0 -1
  147. package/dist/stop-icon.entry-f926a8db.js +0 -15
  148. package/dist/trash-fill-icon.entry-4bbfabcc.cjs +0 -1
@@ -1,9 +1,9 @@
1
- var P = Object.defineProperty;
2
- var O = (r, t, n) => t in r ? P(r, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[t] = n;
3
- var b = (r, t, n) => (O(r, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { p as process, b as commonjsGlobal, r as registerInstance, c as createEvent, d as debug, N as NylasIdentityRequestWrapper, h, H as Host, g as getElement, B as Buffer, F as Fragment, e as dataResponse } from "./index-e475e0c0.js";
5
- import { N as NylasBaseProvider, X as Xr } from "./index.es-b475d61f-bfa2cba2.js";
6
- import { C as CreateNylasSchedulerConfigStore } from "./scheduler-config-store-2a3b403d-e5210f72.js";
1
+ var O = Object.defineProperty;
2
+ var P = (r, t, n) => t in r ? O(r, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[t] = n;
3
+ var b = (r, t, n) => (P(r, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { p as process, b as commonjsGlobal, r as registerInstance, c as createEvent, d as debug, N as NylasIdentityRequestWrapper, h, H as Host, g as getElement, B as Buffer, F as Fragment, e as dataResponse } from "./index-3fd31877.js";
5
+ import { N as NylasBaseProvider, X as Xr } from "./index.es-c7ca1bad-b895d84b.js";
6
+ import { C as CreateNylasSchedulerConfigStore } from "./scheduler-config-store-ed4a8dfd-22db9285.js";
7
7
  import "react";
8
8
  import "react-dom";
9
9
  class NylasSchedulerConfigAPIConnector {
@@ -464,11 +464,11 @@ var sha256 = { exports: {} };
464
464
  r[16] = this.block, r[t >> 2] |= EXTRA[t & 3], this.block = r[16], t >= 56 && (this.hashed || this.hash(), r[0] = this.block, r[16] = r[1] = r[2] = r[3] = r[4] = r[5] = r[6] = r[7] = r[8] = r[9] = r[10] = r[11] = r[12] = r[13] = r[14] = r[15] = 0), r[14] = this.hBytes << 3 | this.bytes >>> 29, r[15] = this.bytes << 3, this.hash();
465
465
  }
466
466
  }, Sha256.prototype.hash = function() {
467
- var r = this.h0, t = this.h1, n = this.h2, s = this.h3, c = this.h4, a = this.h5, d = this.h6, l = this.h7, u = this.blocks, f, y, g, m, p, w, S, x, v, R, _;
467
+ var r = this.h0, t = this.h1, n = this.h2, s = this.h3, c = this.h4, a = this.h5, d = this.h6, l = this.h7, u = this.blocks, f, y, g, m, p, w, S, x, v, _, R;
468
468
  for (f = 16; f < 64; ++f)
469
469
  p = u[f - 15], y = (p >>> 7 | p << 25) ^ (p >>> 18 | p << 14) ^ p >>> 3, p = u[f - 2], g = (p >>> 17 | p << 15) ^ (p >>> 19 | p << 13) ^ p >>> 10, u[f] = u[f - 16] + y + u[f - 7] + g << 0;
470
- for (_ = t & n, f = 0; f < 64; f += 4)
471
- this.first ? (this.is224 ? (x = 300032, p = u[0] - 1413257819, l = p - 150054599 << 0, s = p + 24177077 << 0) : (x = 704751109, p = u[0] - 210244248, l = p - 1521486534 << 0, s = p + 143694565 << 0), this.first = !1) : (y = (r >>> 2 | r << 30) ^ (r >>> 13 | r << 19) ^ (r >>> 22 | r << 10), g = (c >>> 6 | c << 26) ^ (c >>> 11 | c << 21) ^ (c >>> 25 | c << 7), x = r & t, m = x ^ r & n ^ _, S = c & a ^ ~c & d, p = l + g + S + K[f] + u[f], w = y + m, l = s + p << 0, s = p + w << 0), y = (s >>> 2 | s << 30) ^ (s >>> 13 | s << 19) ^ (s >>> 22 | s << 10), g = (l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7), v = s & r, m = v ^ s & t ^ x, S = l & c ^ ~l & a, p = d + g + S + K[f + 1] + u[f + 1], w = y + m, d = n + p << 0, n = p + w << 0, y = (n >>> 2 | n << 30) ^ (n >>> 13 | n << 19) ^ (n >>> 22 | n << 10), g = (d >>> 6 | d << 26) ^ (d >>> 11 | d << 21) ^ (d >>> 25 | d << 7), R = n & s, m = R ^ n & r ^ v, S = d & l ^ ~d & c, p = a + g + S + K[f + 2] + u[f + 2], w = y + m, a = t + p << 0, t = p + w << 0, y = (t >>> 2 | t << 30) ^ (t >>> 13 | t << 19) ^ (t >>> 22 | t << 10), g = (a >>> 6 | a << 26) ^ (a >>> 11 | a << 21) ^ (a >>> 25 | a << 7), _ = t & n, m = _ ^ t & s ^ R, S = a & d ^ ~a & l, p = c + g + S + K[f + 3] + u[f + 3], w = y + m, c = r + p << 0, r = p + w << 0;
470
+ for (R = t & n, f = 0; f < 64; f += 4)
471
+ this.first ? (this.is224 ? (x = 300032, p = u[0] - 1413257819, l = p - 150054599 << 0, s = p + 24177077 << 0) : (x = 704751109, p = u[0] - 210244248, l = p - 1521486534 << 0, s = p + 143694565 << 0), this.first = !1) : (y = (r >>> 2 | r << 30) ^ (r >>> 13 | r << 19) ^ (r >>> 22 | r << 10), g = (c >>> 6 | c << 26) ^ (c >>> 11 | c << 21) ^ (c >>> 25 | c << 7), x = r & t, m = x ^ r & n ^ R, S = c & a ^ ~c & d, p = l + g + S + K[f] + u[f], w = y + m, l = s + p << 0, s = p + w << 0), y = (s >>> 2 | s << 30) ^ (s >>> 13 | s << 19) ^ (s >>> 22 | s << 10), g = (l >>> 6 | l << 26) ^ (l >>> 11 | l << 21) ^ (l >>> 25 | l << 7), v = s & r, m = v ^ s & t ^ x, S = l & c ^ ~l & a, p = d + g + S + K[f + 1] + u[f + 1], w = y + m, d = n + p << 0, n = p + w << 0, y = (n >>> 2 | n << 30) ^ (n >>> 13 | n << 19) ^ (n >>> 22 | n << 10), g = (d >>> 6 | d << 26) ^ (d >>> 11 | d << 21) ^ (d >>> 25 | d << 7), _ = n & s, m = _ ^ n & r ^ v, S = d & l ^ ~d & c, p = a + g + S + K[f + 2] + u[f + 2], w = y + m, a = t + p << 0, t = p + w << 0, y = (t >>> 2 | t << 30) ^ (t >>> 13 | t << 19) ^ (t >>> 22 | t << 10), g = (a >>> 6 | a << 26) ^ (a >>> 11 | a << 21) ^ (a >>> 25 | a << 7), R = t & n, m = R ^ t & s ^ _, S = a & d ^ ~a & l, p = c + g + S + K[f + 3] + u[f + 3], w = y + m, c = r + p << 0, r = p + w << 0;
472
472
  this.h0 = this.h0 + r << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + s << 0, this.h4 = this.h4 + c << 0, this.h5 = this.h5 + a << 0, this.h6 = this.h6 + d << 0, this.h7 = this.h7 + l << 0;
473
473
  }, Sha256.prototype.hex = function() {
474
474
  this.finalize();
@@ -670,30 +670,30 @@ function fetchEventSource(r, t) {
670
670
  }
671
671
  u || document.addEventListener("visibilitychange", S);
672
672
  let x = DefaultRetryInterval, v = 0;
673
- function R() {
673
+ function _() {
674
674
  document.removeEventListener("visibilitychange", S), window.clearTimeout(v), w.abort();
675
675
  }
676
676
  n == null || n.addEventListener("abort", () => {
677
- R(), g();
677
+ _(), g();
678
678
  });
679
- const _ = f ?? window.fetch, T = c ?? defaultOnOpen;
679
+ const R = f ?? window.fetch, T = c ?? defaultOnOpen;
680
680
  async function k() {
681
681
  var U;
682
682
  w = new AbortController();
683
683
  try {
684
- const I = await _(r, Object.assign(Object.assign({}, y), { headers: p, signal: w.signal }));
684
+ const I = await R(r, Object.assign(Object.assign({}, y), { headers: p, signal: w.signal }));
685
685
  await T(I), await getBytes(I.body, getLines(getMessages((A) => {
686
686
  A ? p[LastEventId] = A : delete p[LastEventId];
687
687
  }, (A) => {
688
688
  x = A;
689
- }, a))), d == null || d(), R(), g();
689
+ }, a))), d == null || d(), _(), g();
690
690
  } catch (I) {
691
691
  if (!w.signal.aborted)
692
692
  try {
693
693
  const A = (U = l == null ? void 0 : l(I)) !== null && U !== void 0 ? U : x;
694
694
  window.clearTimeout(v), v = window.setTimeout(k, A);
695
695
  } catch (A) {
696
- R(), m(A);
696
+ _(), m(A);
697
697
  }
698
698
  }
699
699
  }
@@ -906,20 +906,20 @@ class NylasSessions {
906
906
  // IMAP authentication
907
907
  async authIMAP(t) {
908
908
  const n = await this.getCodeChallege(), s = {
909
- imap_username: t.username,
910
- imap_password: t.password,
911
- imap_host: t.hostIMAP,
912
- imap_port: t.portIMAP,
909
+ imap_username: t.imap_username,
910
+ imap_password: t.imap_password,
911
+ imap_host: t.imap_host,
912
+ imap_port: t.imap_port,
913
913
  type: t.type,
914
- smtp_host: t.hostSMTP,
915
- smtp_port: t.portSMTP,
914
+ smtp_host: t.smtp_host,
915
+ smtp_port: t.smtp_port,
916
916
  provider: t.provider,
917
917
  redirect_uri: this.redirectUri,
918
918
  state: t.state,
919
919
  public_application_id: this.clientId,
920
920
  access_type: this.accessType
921
921
  };
922
- return this.loginId && (s.id = this.loginId), n != "" && (s.code_challenge = n, s.code_challenge_method = "S256"), await (await fetch(`${this.domain}/connect/login/imap`, {
922
+ return this.loginId && (s.id = this.loginId), t.smtp_username && t.smtp_password && (s.smtp_username = t.smtp_username, s.smtp_password = t.smtp_password), n != "" && (s.code_challenge = n, s.code_challenge_method = "S256"), await (await fetch(`${this.domain}/connect/login/imap`, {
923
923
  method: "POST",
924
924
  headers: new Headers({ "content-type": "application/json" }),
925
925
  body: JSON.stringify(s)
@@ -929,6 +929,7 @@ class NylasSessions {
929
929
  async authEWS(t) {
930
930
  const n = await this.getCodeChallege(), s = {
931
931
  ...t,
932
+ provider: "ews",
932
933
  redirect_uri: this.redirectUri,
933
934
  public_application_id: this.clientId,
934
935
  access_type: this.accessType
@@ -1351,7 +1352,6 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
1351
1352
  ...this.defaultSchedulerConfigState,
1352
1353
  additionalParticipants: r,
1353
1354
  conferenceProviders: this.conferenceProviders,
1354
- hideEditorTabs: this.hideEditorTabs,
1355
1355
  requiresSlug: this.requiresSlug
1356
1356
  })
1357
1357
  }, !this.nylasApiRequest && this.nylasSessionsConfig) {
@@ -1428,9 +1428,9 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
1428
1428
  }
1429
1429
  }
1430
1430
  render() {
1431
- var n, s, c, a, d, l, u, f, y, g, m, p, w, S, x, v, R, _, T;
1431
+ var n, s, c, a, d, l, u, f, y, g, m, p, w, S, x, v, _, R, T;
1432
1432
  const r = this.host.querySelector('[slot="custom-page-style-inputs"]'), t = (c = (s = (n = this.stores) == null ? void 0 : n.schedulerConfig) == null ? void 0 : s.state.selectedConfiguration) == null ? void 0 : c.id;
1433
- return h(Host, { key: "f15b5d34b2ec8ebd1d98f00f6ff5dabee3192c3e" }, h("div", { key: "9291393f70fd17ac15524df1eab4f20874d938af", class: "scheduler-editor-header", part: "nse__header" }, h("h1", { key: "8387d3f01850bca2c1653c92b602c2d78bd3b4c8", class: "scheduler-editor-title", part: "nse__title" }, h("calendar-icon", { key: "43fba169d1b27a89ee1edb15a1717fbba55e7886", width: "18", height: "18" }), "Scheduler Editor"), h("button", { key: "4879907c470336fff489438d2907d0bb240f7bb3", class: "scheduler-editor-close", title: "logout", onClick: (k) => this.handleSchedulerConfigCloseClicked(k), part: "nse__close-button" }, h("close-icon", { key: "936856e1a9a6840fd9e9d2ef2fa78b667b959de0", width: "18", height: "18" }))), h("div", { key: "33ce9b9adc1583ae2818c9e59bf3eaac1edbb47d", class: "scheduler-editor-content", part: "nse__content" }, ((d = (a = this.stores) == null ? void 0 : a.schedulerConfig) == null ? void 0 : d.state.currentUser) && this.stores.schedulerConfig.state.action === null && h("div", { class: "list-configurations" }, h("nylas-list-configurations", { exportparts: "nlc__create-new-cta" })), ((u = (l = this.stores) == null ? void 0 : l.schedulerConfig) == null ? void 0 : u.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && h("nylas-editor-tabs", { mode: "composable" }, h(ExpressFlow, { currentUser: (y = (f = this.stores) == null ? void 0 : f.schedulerConfig) == null ? void 0 : y.state.currentUser, calendars: (p = (m = (g = this.stores) == null ? void 0 : g.schedulerConfig) == null ? void 0 : m.state) == null ? void 0 : p.calendars, selectedConfiguration: (x = (S = (w = this.stores) == null ? void 0 : w.schedulerConfig) == null ? void 0 : S.state) == null ? void 0 : x.selectedConfiguration })), ((R = (v = this.stores) == null ? void 0 : v.schedulerConfig) == null ? void 0 : R.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && h("nylas-editor-tabs", { key: t, mode: this.mode }, this.mode === "composable" && h("slot", null), this.mode === "app" && r && h("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: t }, h("slot", { name: "custom-page-style-inputs" }))), !((T = (_ = this.stores) == null ? void 0 : _.schedulerConfig) != null && T.state.currentUser) && h("slot", { name: "login-required" }, h(LoginRequired, { authenticationUrl: this.authenticationUrl }))));
1433
+ return h(Host, { key: "35b140eeb034c18708cd362f6129e2a7cde71a7b" }, h("div", { key: "15eecb29f74a8401c6c80793d38678bee330f31e", class: "scheduler-editor-header", part: "nse__header" }, h("h1", { key: "dabea2da65cc14b20698653f9662a8c456254b34", class: "scheduler-editor-title", part: "nse__title" }, h("calendar-icon", { key: "eb26707b8c8d880655900353e50113504ba531cd", width: "18", height: "18" }), "Scheduler Editor"), h("button", { key: "c841ccb7aa945f292c69d342426ecd0e3a5a1413", class: "scheduler-editor-close", title: "logout", onClick: (k) => this.handleSchedulerConfigCloseClicked(k), part: "nse__close-button" }, h("close-icon", { key: "79b157544d31b2cd401c0c1e8ed019e36c09f9dd", width: "18", height: "18" }))), h("div", { key: "02c2e2992587342832f6d8999c09b637bece7dc8", class: "scheduler-editor-content", part: "nse__content" }, ((d = (a = this.stores) == null ? void 0 : a.schedulerConfig) == null ? void 0 : d.state.currentUser) && this.stores.schedulerConfig.state.action === null && h("div", { class: "list-configurations" }, h("nylas-list-configurations", { exportparts: "nlc__create-new-cta" })), ((u = (l = this.stores) == null ? void 0 : l.schedulerConfig) == null ? void 0 : u.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && h("nylas-editor-tabs", { mode: "composable" }, h(ExpressFlow, { currentUser: (y = (f = this.stores) == null ? void 0 : f.schedulerConfig) == null ? void 0 : y.state.currentUser, calendars: (p = (m = (g = this.stores) == null ? void 0 : g.schedulerConfig) == null ? void 0 : m.state) == null ? void 0 : p.calendars, selectedConfiguration: (x = (S = (w = this.stores) == null ? void 0 : w.schedulerConfig) == null ? void 0 : S.state) == null ? void 0 : x.selectedConfiguration })), ((_ = (v = this.stores) == null ? void 0 : v.schedulerConfig) == null ? void 0 : _.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && h("nylas-editor-tabs", { key: t, mode: this.mode }, this.mode === "composable" && h("slot", null), this.mode === "app" && r && h("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: t }, h("slot", { name: "custom-page-style-inputs" }))), !((T = (R = this.stores) == null ? void 0 : R.schedulerConfig) != null && T.state.currentUser) && h("slot", { name: "login-required" }, h(LoginRequired, { authenticationUrl: this.authenticationUrl }))));
1434
1434
  }
1435
1435
  get host() {
1436
1436
  return getElement(this);