@nylas/react 1.1.0 → 1.1.1

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 (142) hide show
  1. package/dist/add-circle-icon_2.entry-b14ecb5c.js +25 -0
  2. package/dist/add-circle-icon_2.entry-c6211866.cjs +1 -0
  3. package/dist/{archive-icon_7.entry-7411c224.js → archive-icon_7.entry-3fe7721a.js} +13 -13
  4. package/dist/{archive-icon_7.entry-e3df60ed.cjs → archive-icon_7.entry-54fc1f03.cjs} +1 -1
  5. package/dist/{arrow-icon.entry-280e18b0.cjs → arrow-icon.entry-1dfee3bc.cjs} +1 -1
  6. package/dist/arrow-icon.entry-cc936041.js +15 -0
  7. package/dist/{bold-icon_3.entry-5dffbedd.cjs → bold-icon_3.entry-4b9de887.cjs} +1 -1
  8. package/dist/{bold-icon_3.entry-5963945c.js → bold-icon_3.entry-e2a1d434.js} +6 -6
  9. package/dist/{button-component_2.entry-237733b4.js → button-component_2.entry-3639ade6.js} +5 -5
  10. package/dist/{button-component_2.entry-b29d2873.cjs → button-component_2.entry-5666fdfa.cjs} +1 -1
  11. package/dist/{calendar-agenda-fill-icon_48.entry-9afba869.js → calendar-agenda-fill-icon_48.entry-56e364cd.js} +1548 -1397
  12. package/dist/calendar-agenda-fill-icon_48.entry-bf278e34.cjs +7 -0
  13. package/dist/{calendar-cancel-icon.entry-77ccf227.cjs → calendar-cancel-icon.entry-ac1cb5dd.cjs} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-780723a6.js → calendar-cancel-icon.entry-dcd777cd.js} +4 -4
  15. package/dist/{calendar-check-icon_2.entry-2c89c230.js → calendar-check-icon_2.entry-6330bd2d.js} +9 -9
  16. package/dist/{calendar-check-icon_2.entry-b37ac7f0.cjs → calendar-check-icon_2.entry-7ad1b2a0.cjs} +1 -1
  17. package/dist/{calendar-icon.entry-ffc93569.cjs → calendar-icon.entry-5849a547.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-02dd3990.js → calendar-icon.entry-8559fa0d.js} +5 -5
  19. package/dist/{checkbox-component_2.entry-ee9d0e6c.js → checkbox-component_2.entry-1474c465.js} +35 -12
  20. package/dist/checkbox-component_2.entry-6cf5da6b.cjs +1 -0
  21. package/dist/chevron-icon_3.entry-41170718.cjs +1 -0
  22. package/dist/{chevron-icon_3.entry-f62e9ef1.js → chevron-icon_3.entry-cb757aa3.js} +13 -10
  23. package/dist/{clock-icon_4.entry-7dc2cc4a.cjs → clock-icon_4.entry-36a33de5.cjs} +1 -1
  24. package/dist/{clock-icon_4.entry-766a1b23.js → clock-icon_4.entry-642f4dc6.js} +13 -13
  25. package/dist/{constants-50c3e067-9f2a6372.cjs → constants-50c3e067-4e027da4.cjs} +1 -1
  26. package/dist/{constants-50c3e067-8a40a5fe.js → constants-50c3e067-83f1d865.js} +1 -1
  27. package/dist/{copy-icon.entry-2a841508.js → copy-icon.entry-60740516.js} +7 -7
  28. package/dist/{copy-icon.entry-e5251410.cjs → copy-icon.entry-fb63cf53.cjs} +1 -1
  29. package/dist/{delete-icon_2.entry-64555a2f.js → delete-icon_2.entry-45851bc5.js} +9 -9
  30. package/dist/{delete-icon_2.entry-1a5c39dc.cjs → delete-icon_2.entry-d1af0606.cjs} +1 -1
  31. package/dist/{document-refresh-icon.entry-fdc7ddda.cjs → document-refresh-icon.entry-1731d4d9.cjs} +1 -1
  32. package/dist/document-refresh-icon.entry-5db0830a.js +15 -0
  33. package/dist/elements/index.d.ts +1 -0
  34. package/dist/{elements-dc5b338e-2da1fe61.js → elements-dc5b338e-3099ee02.js} +1 -1
  35. package/dist/{elements-dc5b338e-c8016c3d.cjs → elements-dc5b338e-ab9afb63.cjs} +1 -1
  36. package/dist/{focus-visible-e8093c16-9d0c98c0.js → focus-visible-e8093c16-067a8f23.js} +1 -1
  37. package/dist/{focus-visible-e8093c16-0a38a184.cjs → focus-visible-e8093c16-811f50fa.cjs} +1 -1
  38. package/dist/{forward-icon_6.entry-7238ef38.cjs → forward-icon_6.entry-4e9c9686.cjs} +2 -2
  39. package/dist/{forward-icon_6.entry-390ef70a.js → forward-icon_6.entry-e7c5fa46.js} +9 -9
  40. package/dist/{globe-icon.entry-81f42f89.cjs → globe-icon.entry-74f79652.cjs} +1 -1
  41. package/dist/{globe-icon.entry-8d106260.js → globe-icon.entry-aa3f3ea3.js} +5 -5
  42. package/dist/google-logo-icon_4.entry-0332a181.cjs +1 -0
  43. package/dist/{google-logo-icon_4.entry-aabd3886.js → google-logo-icon_4.entry-3fe41d69.js} +245 -252
  44. package/dist/index-2a53b6a8.cjs +82 -0
  45. package/dist/index-a134f625.js +12842 -0
  46. package/dist/{index.es-c9454237-b64161d1.cjs → index.es-79f5b771-64a1baf0.cjs} +1 -1
  47. package/dist/{index.es-c9454237-00ccd1e6.js → index.es-79f5b771-ce07d6fc.js} +1 -1
  48. package/dist/{info-icon_2.entry-b2e11336.cjs → info-icon_2.entry-a3f40027.cjs} +1 -1
  49. package/dist/{info-icon_2.entry-bb8ed71c.js → info-icon_2.entry-fed731f4.js} +5 -5
  50. package/dist/input-color-picker.entry-37826630.js +48 -0
  51. package/dist/input-color-picker.entry-cbdce7a1.cjs +1 -0
  52. package/dist/{input-component.entry-cb86170f.js → input-component.entry-b83b7103.js} +19 -14
  53. package/dist/input-component.entry-e71b7062.cjs +1 -0
  54. package/dist/input-dropdown.entry-150819cd.cjs +1 -0
  55. package/dist/{input-dropdown.entry-a76c339e.js → input-dropdown.entry-db0dae5f.js} +6 -6
  56. package/dist/{mailbox-store-edc386fc-156b7236.cjs → mailbox-store-9c52a3fa-04f22f60.cjs} +1 -1
  57. package/dist/{mailbox-store-edc386fc-8bc7558b.js → mailbox-store-9c52a3fa-80fe343c.js} +2 -2
  58. package/dist/multi-select-dropdown.entry-629329d7.cjs +1 -0
  59. package/dist/{multi-select-dropdown.entry-6b686695.js → multi-select-dropdown.entry-6b429b39.js} +11 -7
  60. package/dist/nylas-booked-event-card_12.entry-660af56a.cjs +1 -0
  61. package/dist/{nylas-booked-event-card_12.entry-e861bb16.js → nylas-booked-event-card_12.entry-c22c02b4.js} +170 -171
  62. package/dist/{nylas-form-card.entry-ca4a8746.cjs → nylas-form-card.entry-2ced5eef.cjs} +1 -1
  63. package/dist/{nylas-form-card.entry-b158d789.js → nylas-form-card.entry-f3d6a1e4.js} +15 -15
  64. package/dist/{nylas-if-state.entry-95fac42d.cjs → nylas-if-state.entry-55c32c0c.cjs} +1 -1
  65. package/dist/{nylas-if-state.entry-8e4d922c.js → nylas-if-state.entry-862ad978.js} +8 -8
  66. package/dist/{nylas-list-folders.entry-83c39684.js → nylas-list-folders.entry-544fd38d.js} +3 -3
  67. package/dist/{nylas-list-folders.entry-8a22e0c8.cjs → nylas-list-folders.entry-77e936f7.cjs} +1 -1
  68. package/dist/{nylas-list-threads.entry-7ea370e1.js → nylas-list-threads.entry-71411da7.js} +3 -3
  69. package/dist/{nylas-list-threads.entry-54c582af.cjs → nylas-list-threads.entry-82e04782.cjs} +1 -1
  70. package/dist/{nylas-login.entry-fb627e40.cjs → nylas-login.entry-3ccc2bef.cjs} +1 -1
  71. package/dist/{nylas-login.entry-9115fd81.js → nylas-login.entry-48179c01.js} +7 -7
  72. package/dist/{nylas-mailbox-pagination.entry-3ff02cf9.js → nylas-mailbox-pagination.entry-77cf03b5.js} +2 -2
  73. package/dist/{nylas-mailbox-pagination.entry-04626d27.cjs → nylas-mailbox-pagination.entry-d31f9aa4.cjs} +1 -1
  74. package/dist/{nylas-mailbox-toolbar-button.entry-8d00c789.cjs → nylas-mailbox-toolbar-button.entry-33aad610.cjs} +1 -1
  75. package/dist/{nylas-mailbox-toolbar-button.entry-f752e925.js → nylas-mailbox-toolbar-button.entry-40e3c373.js} +8 -8
  76. package/dist/{nylas-mailbox.entry-b3974f4e.cjs → nylas-mailbox.entry-963de1c3.cjs} +1 -1
  77. package/dist/{nylas-mailbox.entry-99c27b6c.js → nylas-mailbox.entry-f4066fb2.js} +4 -4
  78. package/dist/{nylas-provider.entry-a3ad02a5.cjs → nylas-provider.entry-08767da3.cjs} +1 -1
  79. package/dist/{nylas-provider.entry-c206aa32.js → nylas-provider.entry-c61428b1.js} +8 -8
  80. package/dist/{nylas-reminder-emails.entry-414ce6fe.js → nylas-reminder-emails.entry-cd8e1d2e.js} +9 -9
  81. package/dist/{nylas-reminder-emails.entry-59c07bfe.cjs → nylas-reminder-emails.entry-d42a7f1d.cjs} +2 -2
  82. package/dist/{nylas-reminder-time_2.entry-197d83a0.js → nylas-reminder-time_2.entry-d7115393.js} +5 -5
  83. package/dist/{nylas-reminder-time_2.entry-d79dcd85.cjs → nylas-reminder-time_2.entry-e5540fdd.cjs} +1 -1
  84. package/dist/{nylas-scheduler-editor.entry-7f389982.js → nylas-scheduler-editor.entry-65eb4938.js} +64 -64
  85. package/dist/nylas-scheduler-editor.entry-67904653.cjs +2 -0
  86. package/dist/{nylas-scheduling.entry-1a8bd6fc.cjs → nylas-scheduling.entry-50e41d85.cjs} +1 -1
  87. package/dist/{nylas-scheduling.entry-4fa5381d.js → nylas-scheduling.entry-7aad4f63.js} +4 -4
  88. package/dist/{nylas-threads-refresh.entry-56b53449.cjs → nylas-threads-refresh.entry-1b8befab.cjs} +1 -1
  89. package/dist/{nylas-threads-refresh.entry-20602e7b.js → nylas-threads-refresh.entry-d025575a.js} +4 -4
  90. package/dist/{nylas-threads-search.entry-8e0ec3ae.cjs → nylas-threads-search.entry-78c06183.cjs} +1 -1
  91. package/dist/{nylas-threads-search.entry-8872473c.js → nylas-threads-search.entry-a254c36e.js} +16 -16
  92. package/dist/{nylas-time-window-picker.entry-ca47f721.cjs → nylas-time-window-picker.entry-30baeb50.cjs} +1 -1
  93. package/dist/{nylas-time-window-picker.entry-9ac542b7.js → nylas-time-window-picker.entry-89c15823.js} +18 -18
  94. package/dist/{nylas-view-thread.entry-1f758e43.cjs → nylas-view-thread.entry-939a4561.cjs} +1 -1
  95. package/dist/{nylas-view-thread.entry-dcd3d5be.js → nylas-view-thread.entry-c8d56573.js} +9 -9
  96. package/dist/{person-icon.entry-63b28ace.cjs → person-icon.entry-5ab75598.cjs} +1 -1
  97. package/dist/{person-icon.entry-93130c05.js → person-icon.entry-8aef4041.js} +2 -2
  98. package/dist/play-icon_2.entry-392ad303.cjs +1 -0
  99. package/dist/{play-icon_2.entry-6a99c32d.js → play-icon_2.entry-4b068c1b.js} +8 -8
  100. package/dist/react.cjs +1 -1
  101. package/dist/react.js +100 -99
  102. package/dist/{refresh-icon.entry-b49792fc.cjs → refresh-icon.entry-9ea254c9.cjs} +1 -1
  103. package/dist/{refresh-icon.entry-84783c91.js → refresh-icon.entry-a754a2b5.js} +4 -4
  104. package/dist/{register-component-887199a9-003f96c5.cjs → register-component-ea95564d-ab3d630f.cjs} +1 -1
  105. package/dist/{register-component-887199a9-b41dfa7a.js → register-component-ea95564d-e19ec159.js} +1 -1
  106. package/dist/{scheduler-config-store-2a3b403d-a5e3433a.cjs → scheduler-config-store-2a3b403d-4e10b542.cjs} +1 -1
  107. package/dist/{scheduler-config-store-2a3b403d-73610089.js → scheduler-config-store-2a3b403d-581c70cf.js} +1 -1
  108. package/dist/scheduler-store-9ff4914b-6e28240e.cjs +1 -0
  109. package/dist/{scheduler-store-fe281404-bddb1b6a.js → scheduler-store-9ff4914b-b71a0aca.js} +87 -82
  110. package/dist/textarea-component.entry-70bb02bf.cjs +1 -0
  111. package/dist/{textarea-component.entry-40e959e5.js → textarea-component.entry-a5daab6c.js} +10 -9
  112. package/dist/time-period-selector.entry-25348de7.js +80 -0
  113. package/dist/time-period-selector.entry-6306e456.cjs +1 -0
  114. package/dist/{translate-icon.entry-a2ed4f76.cjs → translate-icon.entry-785fa109.cjs} +1 -1
  115. package/dist/{translate-icon.entry-92b83635.js → translate-icon.entry-b6094ecc.js} +4 -4
  116. package/dist/{warning-icon.entry-19f721c3.js → warning-icon.entry-4b400ee2.js} +4 -4
  117. package/dist/{warning-icon.entry-3ab9a59e.cjs → warning-icon.entry-94e34c58.cjs} +1 -1
  118. package/package.json +2 -2
  119. package/dist/add-circle-icon_2.entry-7165bd0e.js +0 -25
  120. package/dist/add-circle-icon_2.entry-f1ddca18.cjs +0 -1
  121. package/dist/arrow-icon.entry-38949317.js +0 -15
  122. package/dist/calendar-agenda-fill-icon_48.entry-d3830dbb.cjs +0 -7
  123. package/dist/checkbox-component_2.entry-00b6a1e9.cjs +0 -1
  124. package/dist/chevron-icon_3.entry-468abc26.cjs +0 -1
  125. package/dist/document-refresh-icon.entry-4bf6398b.js +0 -15
  126. package/dist/google-logo-icon_4.entry-fa2b8999.cjs +0 -1
  127. package/dist/index-53420959-5fc8ad2b.js +0 -5
  128. package/dist/index-53420959-fcf45780.cjs +0 -1
  129. package/dist/index-5ccfd9df.js +0 -7859
  130. package/dist/index-6d9eeb53-58c8980a.js +0 -4971
  131. package/dist/index-6d9eeb53-b2a6d09f.cjs +0 -41
  132. package/dist/index-eb33703c.cjs +0 -42
  133. package/dist/input-component.entry-378b1ccc.cjs +0 -1
  134. package/dist/input-dropdown.entry-98954c93.cjs +0 -1
  135. package/dist/multi-select-dropdown.entry-40b855e1.cjs +0 -1
  136. package/dist/nylas-booked-event-card_12.entry-9d693125.cjs +0 -1
  137. package/dist/nylas-scheduler-editor.entry-f1c6964a.cjs +0 -2
  138. package/dist/play-icon_2.entry-b67fb649.cjs +0 -1
  139. package/dist/scheduler-store-fe281404-c3e477f6.cjs +0 -1
  140. package/dist/textarea-component.entry-28c4bc05.cjs +0 -1
  141. package/dist/time-period-selector.entry-af71523a.cjs +0 -1
  142. package/dist/time-period-selector.entry-da5d8652.js +0 -93
@@ -1,4 +1,4 @@
1
- import { i as ae, W as C, r as oe, c as N, X as _, Y as B, Z as G, _ as q, h as k, H as he, g as me } from "./index-5ccfd9df.js";
1
+ import { i as ae, Z as C, r as oe, c as X, _ as B, $ as V, a0 as G, a1 as q, h as k, H as he, g as me } from "./index-a134f625.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  var J = { exports: {} };
@@ -6,7 +6,7 @@ var J = { exports: {} };
6
6
  (function(n, i) {
7
7
  e.exports = i();
8
8
  })(ae, function() {
9
- var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, o = /\d\d?/, v = /\d*[^-_:/,()\s\d]+/, x = {}, V = function(s) {
9
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, o = /\d\d?/, v = /\d*[^-_:/,()\s\d]+/, x = {}, W = function(s) {
10
10
  return (s = +s) + (s > 68 ? 1900 : 2e3);
11
11
  }, l = function(s) {
12
12
  return function(a) {
@@ -22,7 +22,7 @@ var J = { exports: {} };
22
22
  }], P = function(s) {
23
23
  var a = x[s];
24
24
  return a && (a.indexOf ? a : a.s.concat(a.f));
25
- }, X = function(s, a) {
25
+ }, j = function(s, a) {
26
26
  var h, m = x.meridiem;
27
27
  if (m) {
28
28
  for (var f = 1; f <= 24; f += 1)
@@ -34,9 +34,9 @@ var J = { exports: {} };
34
34
  h = s === (a ? "pm" : "PM");
35
35
  return h;
36
36
  }, Q = { A: [v, function(s) {
37
- this.afternoon = X(s, !1);
37
+ this.afternoon = j(s, !1);
38
38
  }], a: [v, function(s) {
39
- this.afternoon = X(s, !0);
39
+ this.afternoon = j(s, !0);
40
40
  }], S: [/\d/, function(s) {
41
41
  this.milliseconds = 100 * +s;
42
42
  }], SS: [r, function(s) {
@@ -61,7 +61,7 @@ var J = { exports: {} };
61
61
  throw new Error();
62
62
  this.month = a % 12 || a;
63
63
  }], Y: [/[+-]?\d+/, l("year")], YY: [r, function(s) {
64
- this.year = V(s);
64
+ this.year = W(s);
65
65
  }], YYYY: [/\d{4}/, l("year")], Z: U, ZZ: U };
66
66
  function ee(s) {
67
67
  var a, h;
@@ -95,7 +95,7 @@ var J = { exports: {} };
95
95
  };
96
96
  }
97
97
  return function(s, a, h) {
98
- h.p.customParseFormat = !0, s && s.parseTwoDigitYear && (V = s.parseTwoDigitYear);
98
+ h.p.customParseFormat = !0, s && s.parseTwoDigitYear && (W = s.parseTwoDigitYear);
99
99
  var m = a.prototype, f = m.parse;
100
100
  m.parse = function(p) {
101
101
  var L = p.date, I = p.utc, y = p.args;
@@ -107,10 +107,10 @@ var J = { exports: {} };
107
107
  try {
108
108
  if (["x", "X"].indexOf(A) > -1)
109
109
  return new Date((A === "X" ? 1e3 : 1) * E);
110
- var c = ee(A)(E), Y = c.year, O = c.month, te = c.day, ie = c.hours, se = c.minutes, ne = c.seconds, re = c.milliseconds, j = c.zone, z = /* @__PURE__ */ new Date(), F = te || (Y || O ? 1 : z.getDate()), H = Y || z.getFullYear(), $ = 0;
110
+ var c = ee(A)(E), Y = c.year, O = c.month, te = c.day, ie = c.hours, se = c.minutes, ne = c.seconds, re = c.milliseconds, N = c.zone, z = /* @__PURE__ */ new Date(), F = te || (Y || O ? 1 : z.getDate()), H = Y || z.getFullYear(), $ = 0;
111
111
  Y && !O || ($ = O > 0 ? O - 1 : z.getMonth());
112
- var K = ie || 0, Z = se || 0, R = ne || 0, W = re || 0;
113
- return j ? new Date(Date.UTC(H, $, F, K, Z, R, W + 60 * j.offset * 1e3)) : M ? new Date(Date.UTC(H, $, F, K, Z, R, W)) : new Date(H, $, F, K, Z, R, W);
112
+ var K = ie || 0, Z = se || 0, R = ne || 0, _ = re || 0;
113
+ return N ? new Date(Date.UTC(H, $, F, K, Z, R, _ + 60 * N.offset * 1e3)) : M ? new Date(Date.UTC(H, $, F, K, Z, R, _)) : new Date(H, $, F, K, Z, R, _);
114
114
  } catch {
115
115
  return /* @__PURE__ */ new Date("");
116
116
  }
@@ -135,7 +135,7 @@ const le = J.exports, de = ':host{display:block;position:relative;--nylas-primar
135
135
  C.extend(le);
136
136
  const ue = class {
137
137
  constructor(e) {
138
- oe(this, e), this.timeChange = N(this, "timeChange", 7), this.formError = N(this, "formError", 7), this.time = void 0, this.minimumStartTime = null, this.placeholder = "hh:mmam/pm", this.name = void 0, this.hasError = !1, this.err = "", this.showTimes = !1, this.ariaActivedescendant = "", this.times = this.generateTimes(), this.shouldAutoScroll = !1;
138
+ oe(this, e), this.timeChange = X(this, "timeChange", 7), this.formError = X(this, "formError", 7), this.time = void 0, this.minimumStartTime = null, this.placeholder = "hh:mmam/pm", this.name = void 0, this.hasError = !1, this.err = "", this.showTimes = !1, this.ariaActivedescendant = "", this.times = this.generateTimes(), this.shouldAutoScroll = !1;
139
139
  }
140
140
  handleOutsideClick(e) {
141
141
  !e.composedPath().includes(this.el) && this.showTimes && (this.showTimes = !1);
@@ -153,7 +153,7 @@ const ue = class {
153
153
  }
154
154
  componentDidRender() {
155
155
  if (this.showTimes && this.shouldAutoScroll) {
156
- const e = _(this.time), t = this.times.findIndex((n) => n.value === e);
156
+ const e = B(this.time), t = this.times.findIndex((n) => n.value === e);
157
157
  t > -1 && (this.shouldAutoScroll = !1, this.scrollToViewWithinParent(t));
158
158
  return;
159
159
  }
@@ -163,7 +163,7 @@ const ue = class {
163
163
  n[0] === "00" && n[1].slice(-2) == "pm" && (this.err = "Invalid", this.formError.emit({
164
164
  key: this.el.id,
165
165
  message: "Invalid"
166
- })), B(t) ? (this.err = "", this.formError.emit({
166
+ })), V(t) ? (this.err = "", this.formError.emit({
167
167
  key: this.el.id,
168
168
  message: ""
169
169
  })) : (this.err = "Invalid", this.formError.emit({
@@ -177,7 +177,7 @@ const ue = class {
177
177
  handleTimeAutocomplete(e) {
178
178
  var n;
179
179
  const t = (n = e.target) == null ? void 0 : n.value;
180
- if (!B(t)) {
180
+ if (!V(t)) {
181
181
  this.err = "Invalid", this.formError.emit({
182
182
  key: this.el.id,
183
183
  message: "Invalid"
@@ -193,7 +193,7 @@ const ue = class {
193
193
  return;
194
194
  }
195
195
  if (!q(t)) {
196
- const i = _(t);
196
+ const i = B(t);
197
197
  this.timeChange.emit({
198
198
  key: this.el.id,
199
199
  value: i
@@ -208,14 +208,14 @@ const ue = class {
208
208
  handleOnInput(e) {
209
209
  var n;
210
210
  const t = (n = e.target) == null ? void 0 : n.value;
211
- if (B(t)) {
211
+ if (V(t)) {
212
212
  if (t === "") {
213
213
  const i = G().format("hh:mma"), r = this.times.findIndex((o) => o.value === i);
214
214
  r > -1 && this.scrollToViewWithinParent(r);
215
215
  return;
216
216
  }
217
217
  if (!q(t)) {
218
- const i = _(t), r = this.times.findIndex((o) => o.value === i);
218
+ const i = B(t), r = this.times.findIndex((o) => o.value === i);
219
219
  r > -1 && this.scrollToViewWithinParent(r);
220
220
  return;
221
221
  }
@@ -290,7 +290,7 @@ const ue = class {
290
290
  i && (i.focus(), i.scrollIntoView({ behavior: "smooth", block: "nearest" }));
291
291
  }
292
292
  render() {
293
- return k(he, { key: "f9e043d1053de00843aab2ba2fc790fa03710a6c" }, k("div", { key: "c94d6067be1848d766075088fc8b7b7b9f894302", class: "time-picker", part: "time-picker" }, k("input", { key: "4f9826a61fc6a5c39c9af5c17489be9d1b177c22", type: "text", name: this.name, id: this.name, part: "time-input", class: {
293
+ return k(he, { key: "efbf43a69aaa2bb323ca70eba72dec4245b8e103" }, k("div", { key: "0a366760ae64c61e4b61f973f8fe1150f2c4ec33", class: "time-picker", part: "time-picker" }, k("input", { key: "21c71cd1390364c13c9e7c72c5cd975df42b9c52", type: "text", name: this.name, id: this.name, part: "time-input", class: {
294
294
  "time-input": !0,
295
295
  error: !!this.err || this.hasError
296
296
  }, ref: (e) => this.timeInput = e, value: this.time, onClick: () => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-eb33703c.cjs"),w=require("./register-component-887199a9-003f96c5.cjs");require("react");require("react-dom");function b(t,a,s,o,r){if(!o||!s||s.children.length>0)return;e.debug("[nylas-view-thread] Rendering email",{message:t,attachments:a,viewEmailElement:o});const n=o.cloneNode(!0);n.message=t.data,n.parent=r,s.appendChild(n)}const c=({viewEmailElement:t,message:a,attachments:s,onMessageClick:o,onShowContactDataClick:r,parent:n})=>{var l,i,d,g,u,v,y;return e.h(e.Fragment,null,e.h("div",{key:a.id,class:"message"},e.h("div",{class:"sub-header","data-id":a.data.id,onClick:o},e.h("div",{class:"avatar"},a.data.from&&((l=a.data.from[0])==null?void 0:l.name)&&((d=(i=a.data.from[0])==null?void 0:i.name[0])==null?void 0:d.toUpperCase())),e.h("div",{class:"from"},e.h("span",{class:"name"},a.data.from&&((g=a.data.from[0])==null?void 0:g.name))," ",e.h("span",{class:"email"},a.data.from&&((u=a.data.from[0])==null?void 0:u.email))),e.h("div",{class:"date"},new Date(a.data.date*1e3).toLocaleTimeString(void 0,{timeStyle:"short"})," ","(",e.formatTimeAgo(new Date(a.data.date*1e3)),")"),e.h("sp-button-group",{class:"buttons"},e.h("nylas-summarize-message-button",{message:a.data})),a.collapse&&e.h("div",{class:"snippet"},a.data.snippet),!a.collapse&&a.data.to&&e.h("div",{class:"to"},e.h("span",null,"to")," ",e.formatParticipants(a.data.to)," ",e.h("button",{type:"button",value:a.data.id,onClick:r,class:{expand:!0,"expand--showContactData":a.showContactData}},e.h("chevron-icon",null)))),a.showContactData&&e.h("div",{class:"address-info"},e.h("div",{class:"label"},"From"),e.h("div",{class:"value"},e.formatRecipient((v=a.data)!=null&&v.from?(y=a==null?void 0:a.data)==null?void 0:y.from[0]:{name:"",email:""})),a.data.to&&e.h(e.Fragment,null,e.h("div",{class:"label"},"To"),e.h("div",{class:"value"},a.data.to.map(h=>e.h("div",null,e.formatRecipient(h))))),typeof a.data.cc<"u"&&a.data.cc.length>0&&e.h(e.Fragment,null,e.h("div",{class:"label"},"CC"),e.h("div",{class:"value"},a.data.cc.map(h=>e.h("div",null,e.formatRecipient(h)))))),!a.collapse&&t&&e.h("div",{key:a.id,ref:h=>b(a,s,h,t,n)}),!a.collapse&&!t&&e.h("nylas-view-email",{key:a.id,message:a.data,parent:n})),e.h("hr",null))},f=':host{display:block;font-size:inherit}.avatar{z-index:1;border-radius:100%;background-color:var(--nylas-color-primary-200);height:40px;width:40px;align-items:center;display:flex;justify-content:center;border:1px solid var(--nylas-color-primary-200)}.view-thread{display:grid;grid-auto-flow:row;width:100%}.view-thread .header{display:grid;grid-gap:1rem;align-items:center;margin-bottom:1rem}.view-thread .header .subject{font-size:1.25rem;font-weight:600;line-height:1.5rem}.view-thread .header .folders{display:grid;grid-auto-flow:column;grid-auto-columns:min-content;overflow-x:auto;gap:1rem}.view-thread .header .folders .folder{padding:0 0.5rem;font-size:0.9rem;color:var(--nylas-color-primary-900);background-color:var(--nylas-color-primary-300)}.view-thread .messages{display:grid;gap:1rem}.view-thread .messages hr{margin:0;width:100%;border:1px solid var(--nylas-color-primary-200)}.view-thread .messages hr:last-of-type{display:none}.view-thread .messages .message{display:grid;grid-auto-flow:row;gap:1rem}.view-thread .messages .message:last-of-type .sub-header{cursor:default}.view-thread .messages .message .sub-header{display:grid;grid-template:"avatar from date buttons" "avatar to to buttons";grid-column-gap:1rem;grid-template-columns:auto 1fr auto auto;cursor:pointer}.view-thread .messages .message .sub-header>*{pointer-events:none}.view-thread .messages .message .sub-header .avatar{grid-area:avatar}.view-thread .messages .message .sub-header .from{grid-area:from}.view-thread .messages .message .sub-header .from span.email{display:none;color:var(--nylas-color-primary-400);font-weight:600}.view-thread .messages .message .sub-header .buttons{grid-area:buttons;align-self:center}.view-thread .messages .message .sub-header .buttons *{pointer-events:all}.view-thread .messages .message .sub-header .date{grid-area:date;align-self:center;color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .snippet{width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--nylas-color-primary-600)}.view-thread .messages .message .sub-header .to{grid-area:to;color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .to>span{color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .to button{border:0;background-color:transparent;cursor:pointer;pointer-events:all;padding:0;margin:0}.view-thread .messages .message .sub-header .to button>*{pointer-events:none}.view-thread .messages .message .sub-header .to button chevron-icon{display:inline-table;fill:var(--nylas-color-primary-400);width:15px;height:15px;vertical-align:middle}.view-thread .messages .message .sub-header .to button chevron-icon svg{width:15px;height:15px;transform:rotate(90deg)}.view-thread .messages .message .sub-header .to button.expand--showContactData chevron-icon svg{transform:rotate(270deg)}.view-thread .messages .message .address-info{display:grid;column-gap:1rem;row-gap:0.5rem;grid-template-columns:auto 1fr;grid-template-rows:1fr;padding:1rem 2rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-color-primary-200);align-items:flex-start;color:var(--nylas-color-primary-600)}.view-thread .messages .message .address-info .label{color:var(--nylas-color-primary-400);font-weight:600}.show-more{position:relative;display:flex;width:100%}.show-more .sr-only{display:none}.show-more button{position:relative;display:inline-flex;width:100%;padding:0;border:0;background-color:transparent;cursor:pointer;text-align:left;overflow:hidden}.show-more button span{border:1px solid var(--nylas-color-primary-400)}.show-more button:hover span{background-color:var(--nylas-color-primary-700)}.show-more button::after{border-top:1px solid rgba(100, 121, 143, 0.122);border-bottom:1px solid rgba(100, 121, 143, 0.122);content:"";height:4px;width:100%;position:absolute;top:50%}.loading{position:absolute;width:100%;height:100%;background-color:var(--loading__background-color);top:0;bottom:0;left:0;z-index:1;display:grid;justify-content:center;align-items:center;font-weight:600;overflow:hidden}.reply-buttons{display:grid;grid-auto-flow:column;grid-auto-columns:min-content;gap:1rem;margin-top:1rem}.reply-buttons sp-button{border-radius:var(--nylas-border-radius);background-color:var(--nylas-color-primary-400);color:var(--nylas-color-primary-900);fill:var(--nylas-color-primary-900)}.reply-buttons sp-button:hover{background-color:var(--nylas-color-primary-500)}.reply-buttons sp-button:disabled{background-color:var(--nylas-color-primary-200);color:var(--nylas-color-primary-600);cursor:not-allowed}.reply-buttons sp-button chevron-icon{display:inline-block}@media only screen and (min-width: 768px){.view-thread .messages .message .sub-header .from span.email{display:inline}}',C=f;var k=function(t,a,s,o){var r=arguments.length,n=r<3?a:o===null?o=Object.getOwnPropertyDescriptor(a,s):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,a,s,o);else for(var i=t.length-1;i>=0;i--)(l=t[i])&&(n=(r<3?l(n):r>3?l(a,s,n):l(a,s))||n);return r>3&&n&&Object.defineProperty(a,s,n),n},m=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)};const p=class{constructor(t){e.registerInstance(this,t),this.threadSelected=e.createEvent(this,"threadSelected",7),this.showContactDataClicked=e.createEvent(this,"showContactDataClicked",7),this.messageClicked=e.createEvent(this,"messageClicked",7),this.nylasViewEmailElement=null,this.nylasComposerElement=null,this.onShowContactDataClick=a=>{a.stopPropagation();const o=a.target.value,r=this.internalMessages.find(l=>l.data.id===o);if(!r){e.debug(`[nylas-view-thread] Could not find message ${o}`);return}this.showContactDataClicked.emit(r.data).defaultPrevented||(r.showContactData=!r.showContactData,this.internalMessages=[...this.internalMessages]),e.debug(`[nylas-view-thread] show contact data clicked ${o} ${r.showContactData?"collapsed":"expanded"}`)},this.onMessageClick=a=>{var l;const o=a.target.dataset.id,r=this.internalMessages.find(i=>i.data.id===o);if(!r){e.debug(`[nylas-view-thread] Could not find message ${o}`);return}this.messageClicked.emit(r.data).defaultPrevented||(r.id!==((l=this.internalMessages[this.internalMessages.length-1])==null?void 0:l.id)&&(r.collapse=!r.collapse,r.collapse&&(r.showContactData=!1)),this.internalMessages=[...this.internalMessages]),e.debug(`[nylas-view-thread] message clicked ${o} ${r.collapse?"collapsed":"expanded"}`)},this.onShowAllEmailsClick=()=>{this.showAllEmails=!this.showAllEmails},this.showComposerClick=()=>{this.showComposer=!this.showComposer},this.draft=void 0,this.thread=void 0,this.messages=[],this.attachments=[],this.state="loading",this.internalMessages=[],this.showAllEmails=!1,this.showComposer=!1}connectedCallback(){}disconnectedCallback(){}async componentWillLoad(){e.debug("[nylas-view-thread] Component will load"),this.updateInternalMessages(this.messages);const t=this.host.querySelector("template.nylas-view-email");if(!t){e.debug("[nylas-view-thread] Could not find template");return}const a=document.importNode(t.content,!0);this.nylasViewEmailElement=a.querySelector("nylas-view-email");const s=this.host.querySelector("template.nylas-composer");if(!s){e.debug("[nylas-view-thread] Could not find composer template");return}const o=document.importNode(s.content,!0);this.nylasComposerElement=o.querySelector("nylas-composer")}async componentDidLoad(){e.debug("[nylas-view-thread] Component did load")}async threadChanged(t){e.debug("[nylas-view-thread] Thread changed",{thread:t}),this.internalMessages=[],this.threadSelected.emit(t).defaultPrevented||e.debug("[nylas-view-thread] Default event not prevented, initializing")}updateInternalMessages(t){e.debug("[nylas-view-thread] Updating internal messages",{messages:t});const a=t.sort((s,o)=>s.date>o.date?1:-1).map((s,o)=>({id:s.id,data:s,collapse:o!==t.length-1,showContactData:!1}));this.internalMessages=a}render(){var r,n,l;const t=this.internalMessages.length>2?this.internalMessages[0]:null,a=this.internalMessages.slice(this.internalMessages.length-2,this.internalMessages.length),s=this.internalMessages.slice(1,this.internalMessages.length-2),o=this.internalMessages[this.internalMessages.length-1];return e.h(e.Host,{key:"8ded7fac7238425d362b59a6754cc8c0ee36dc13"},e.h("sp-theme",{key:"709b8e7877cb108bb09199db5ba6306ea9b130a0",scale:"medium",color:"dark"},e.h("div",{key:"19d5912e09475417c50b27b24979e5337806b94c",class:"view-thread"},e.h("div",{key:"46c2022b7a45b8d05f8f23068828579b4294fee4",class:"header"},e.h("div",{key:"5e748e44ef6683d4215fbe0afff040f2091e376c",class:"subject"},(r=this.thread)==null?void 0:r.subject),e.h("div",{key:"3106d62c0ecf951ccf58fd32bb171ae4ce846909",class:"folders"},(l=(n=this.thread)==null?void 0:n.folders)==null?void 0:l.map(i=>e.h("sp-tag",{size:"s"},e.toTitleCase(i.replace("CATEGORY_","").replace("_"," ")))))),e.h("div",{key:"f2c2bfb336520c4dafa6597c417efee372648354",class:"messages"},t&&e.h(c,{message:t,attachments:this.attachments.filter(i=>i.messageId===t.id),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement}),s.length>0&&this.messages.length>1&&!this.showAllEmails&&a.length>0&&e.h(e.Fragment,null,e.h("div",{class:"show-more"},e.h("button",{type:"button",onClick:this.onShowAllEmailsClick},e.h("span",{class:"avatar"},s.length)," ",e.h("span",{class:"sr-only"},"Show ",s.length," more emails"))),e.h("hr",null)),s.length>0&&this.showAllEmails&&this.messages.length>2&&s.map(i=>e.h(c,{message:i,attachments:this.attachments.filter(d=>d.messageId===(t==null?void 0:t.id)),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement})),a.length>0&&a.map(i=>e.h(c,{message:i,attachments:this.attachments.filter(d=>d.messageId===(t==null?void 0:t.id)),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement}))),!(this.showComposer&&o)&&e.h("div",{class:"reply-buttons"},e.h("sp-button",{variant:"cta",type:"button",onClick:this.showComposerClick},e.h("span",{slot:"icon"},e.h("reply-icon",null)),e.h("span",null,"Reply")),e.h("sp-button",{variant:"cta",type:"button"},e.h("span",{slot:"icon"},e.h("reply-all-icon",null)),e.h("span",null,"Reply All")),e.h("sp-button",{variant:"cta",type:"button"},e.h("span",{slot:"icon"},e.h("forward-icon",null)),e.h("span",null,"Forward"))),this.showComposer&&o&&e.h("div",{class:"composer"},e.h("nylas-composer",{message:o.data,onClose:this.showComposerClick,onSend:i=>{e.debug("[nylas-view-thread] Send event",{message:i.detail.message,replyBody:i.detail.replyBody})}})))))}get host(){return e.getElement(this)}static get watchers(){return{thread:["threadChanged"],messages:["updateInternalMessages"]}}};k([w.RegisterComponent({name:"nylas-view-thread",stateToProps:new Map([["mailbox.selectedThread","thread"],["mailbox.messages","messages"],["mailbox.state","state"]]),eventToProps:{threadSelected:async(t,a)=>{e.debug("[nylas-view-thread] Nylas init event. Fetching thread messages.",{event:t});const s=t.detail;s&&s.id&&await a.messages.getThreadMessages(s.id)}},fireRegisterEvent:!0}),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],p.prototype,"render",null);p.style=C;exports.nylas_view_thread=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2a53b6a8.cjs"),w=require("./register-component-ea95564d-ab3d630f.cjs");require("react");require("react-dom");function f(t,a,s,o,r){if(!o||!s||s.children.length>0)return;e.debug("[nylas-view-thread] Rendering email",{message:t,attachments:a,viewEmailElement:o});const n=o.cloneNode(!0);n.message=t.data,n.parent=r,s.appendChild(n)}const c=({viewEmailElement:t,message:a,attachments:s,onMessageClick:o,onShowContactDataClick:r,parent:n})=>{var l,i,d,g,u,v,y;return e.h(e.Fragment,null,e.h("div",{key:a.id,class:"message"},e.h("div",{class:"sub-header","data-id":a.data.id,onClick:o},e.h("div",{class:"avatar"},a.data.from&&((l=a.data.from[0])==null?void 0:l.name)&&((d=(i=a.data.from[0])==null?void 0:i.name[0])==null?void 0:d.toUpperCase())),e.h("div",{class:"from"},e.h("span",{class:"name"},a.data.from&&((g=a.data.from[0])==null?void 0:g.name))," ",e.h("span",{class:"email"},a.data.from&&((u=a.data.from[0])==null?void 0:u.email))),e.h("div",{class:"date"},new Date(a.data.date*1e3).toLocaleTimeString(void 0,{timeStyle:"short"})," ","(",e.formatTimeAgo(new Date(a.data.date*1e3)),")"),e.h("sp-button-group",{class:"buttons"},e.h("nylas-summarize-message-button",{message:a.data})),a.collapse&&e.h("div",{class:"snippet"},a.data.snippet),!a.collapse&&a.data.to&&e.h("div",{class:"to"},e.h("span",null,"to")," ",e.formatParticipants(a.data.to)," ",e.h("button",{type:"button",value:a.data.id,onClick:r,class:{expand:!0,"expand--showContactData":a.showContactData}},e.h("chevron-icon",null)))),a.showContactData&&e.h("div",{class:"address-info"},e.h("div",{class:"label"},"From"),e.h("div",{class:"value"},e.formatRecipient((v=a.data)!=null&&v.from?(y=a==null?void 0:a.data)==null?void 0:y.from[0]:{name:"",email:""})),a.data.to&&e.h(e.Fragment,null,e.h("div",{class:"label"},"To"),e.h("div",{class:"value"},a.data.to.map(h=>e.h("div",null,e.formatRecipient(h))))),typeof a.data.cc<"u"&&a.data.cc.length>0&&e.h(e.Fragment,null,e.h("div",{class:"label"},"CC"),e.h("div",{class:"value"},a.data.cc.map(h=>e.h("div",null,e.formatRecipient(h)))))),!a.collapse&&t&&e.h("div",{key:a.id,ref:h=>f(a,s,h,t,n)}),!a.collapse&&!t&&e.h("nylas-view-email",{key:a.id,message:a.data,parent:n})),e.h("hr",null))},b=':host{display:block;font-size:inherit}.avatar{z-index:1;border-radius:100%;background-color:var(--nylas-color-primary-200);height:40px;width:40px;align-items:center;display:flex;justify-content:center;border:1px solid var(--nylas-color-primary-200)}.view-thread{display:grid;grid-auto-flow:row;width:100%}.view-thread .header{display:grid;grid-gap:1rem;align-items:center;margin-bottom:1rem}.view-thread .header .subject{font-size:1.25rem;font-weight:600;line-height:1.5rem}.view-thread .header .folders{display:grid;grid-auto-flow:column;grid-auto-columns:min-content;overflow-x:auto;gap:1rem}.view-thread .header .folders .folder{padding:0 0.5rem;font-size:0.9rem;color:var(--nylas-color-primary-900);background-color:var(--nylas-color-primary-300)}.view-thread .messages{display:grid;gap:1rem}.view-thread .messages hr{margin:0;width:100%;border:1px solid var(--nylas-color-primary-200)}.view-thread .messages hr:last-of-type{display:none}.view-thread .messages .message{display:grid;grid-auto-flow:row;gap:1rem}.view-thread .messages .message:last-of-type .sub-header{cursor:default}.view-thread .messages .message .sub-header{display:grid;grid-template:"avatar from date buttons" "avatar to to buttons";grid-column-gap:1rem;grid-template-columns:auto 1fr auto auto;cursor:pointer}.view-thread .messages .message .sub-header>*{pointer-events:none}.view-thread .messages .message .sub-header .avatar{grid-area:avatar}.view-thread .messages .message .sub-header .from{grid-area:from}.view-thread .messages .message .sub-header .from span.email{display:none;color:var(--nylas-color-primary-400);font-weight:600}.view-thread .messages .message .sub-header .buttons{grid-area:buttons;align-self:center}.view-thread .messages .message .sub-header .buttons *{pointer-events:all}.view-thread .messages .message .sub-header .date{grid-area:date;align-self:center;color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .snippet{width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--nylas-color-primary-600)}.view-thread .messages .message .sub-header .to{grid-area:to;color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .to>span{color:var(--nylas-color-primary-400)}.view-thread .messages .message .sub-header .to button{border:0;background-color:transparent;cursor:pointer;pointer-events:all;padding:0;margin:0}.view-thread .messages .message .sub-header .to button>*{pointer-events:none}.view-thread .messages .message .sub-header .to button chevron-icon{display:inline-table;fill:var(--nylas-color-primary-400);width:15px;height:15px;vertical-align:middle}.view-thread .messages .message .sub-header .to button chevron-icon svg{width:15px;height:15px;transform:rotate(90deg)}.view-thread .messages .message .sub-header .to button.expand--showContactData chevron-icon svg{transform:rotate(270deg)}.view-thread .messages .message .address-info{display:grid;column-gap:1rem;row-gap:0.5rem;grid-template-columns:auto 1fr;grid-template-rows:1fr;padding:1rem 2rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-color-primary-200);align-items:flex-start;color:var(--nylas-color-primary-600)}.view-thread .messages .message .address-info .label{color:var(--nylas-color-primary-400);font-weight:600}.show-more{position:relative;display:flex;width:100%}.show-more .sr-only{display:none}.show-more button{position:relative;display:inline-flex;width:100%;padding:0;border:0;background-color:transparent;cursor:pointer;text-align:left;overflow:hidden}.show-more button span{border:1px solid var(--nylas-color-primary-400)}.show-more button:hover span{background-color:var(--nylas-color-primary-700)}.show-more button::after{border-top:1px solid rgba(100, 121, 143, 0.122);border-bottom:1px solid rgba(100, 121, 143, 0.122);content:"";height:4px;width:100%;position:absolute;top:50%}.loading{position:absolute;width:100%;height:100%;background-color:var(--loading__background-color);top:0;bottom:0;left:0;z-index:1;display:grid;justify-content:center;align-items:center;font-weight:600;overflow:hidden}.reply-buttons{display:grid;grid-auto-flow:column;grid-auto-columns:min-content;gap:1rem;margin-top:1rem}.reply-buttons sp-button{border-radius:var(--nylas-border-radius);background-color:var(--nylas-color-primary-400);color:var(--nylas-color-primary-900);fill:var(--nylas-color-primary-900)}.reply-buttons sp-button:hover{background-color:var(--nylas-color-primary-500)}.reply-buttons sp-button:disabled{background-color:var(--nylas-color-primary-200);color:var(--nylas-color-primary-600);cursor:not-allowed}.reply-buttons sp-button chevron-icon{display:inline-block}@media only screen and (min-width: 768px){.view-thread .messages .message .sub-header .from span.email{display:inline}}',C=b;var k=function(t,a,s,o){var r=arguments.length,n=r<3?a:o===null?o=Object.getOwnPropertyDescriptor(a,s):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,a,s,o);else for(var i=t.length-1;i>=0;i--)(l=t[i])&&(n=(r<3?l(n):r>3?l(a,s,n):l(a,s))||n);return r>3&&n&&Object.defineProperty(a,s,n),n},m=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)};const p=class{constructor(t){e.registerInstance(this,t),this.threadSelected=e.createEvent(this,"threadSelected",7),this.showContactDataClicked=e.createEvent(this,"showContactDataClicked",7),this.messageClicked=e.createEvent(this,"messageClicked",7),this.nylasViewEmailElement=null,this.nylasComposerElement=null,this.onShowContactDataClick=a=>{a.stopPropagation();const o=a.target.value,r=this.internalMessages.find(l=>l.data.id===o);if(!r){e.debug(`[nylas-view-thread] Could not find message ${o}`);return}this.showContactDataClicked.emit(r.data).defaultPrevented||(r.showContactData=!r.showContactData,this.internalMessages=[...this.internalMessages]),e.debug(`[nylas-view-thread] show contact data clicked ${o} ${r.showContactData?"collapsed":"expanded"}`)},this.onMessageClick=a=>{var l;const o=a.target.dataset.id,r=this.internalMessages.find(i=>i.data.id===o);if(!r){e.debug(`[nylas-view-thread] Could not find message ${o}`);return}this.messageClicked.emit(r.data).defaultPrevented||(r.id!==((l=this.internalMessages[this.internalMessages.length-1])==null?void 0:l.id)&&(r.collapse=!r.collapse,r.collapse&&(r.showContactData=!1)),this.internalMessages=[...this.internalMessages]),e.debug(`[nylas-view-thread] message clicked ${o} ${r.collapse?"collapsed":"expanded"}`)},this.onShowAllEmailsClick=()=>{this.showAllEmails=!this.showAllEmails},this.showComposerClick=()=>{this.showComposer=!this.showComposer},this.draft=void 0,this.thread=void 0,this.messages=[],this.attachments=[],this.state="loading",this.internalMessages=[],this.showAllEmails=!1,this.showComposer=!1}connectedCallback(){}disconnectedCallback(){}async componentWillLoad(){e.debug("[nylas-view-thread] Component will load"),this.updateInternalMessages(this.messages);const t=this.host.querySelector("template.nylas-view-email");if(!t){e.debug("[nylas-view-thread] Could not find template");return}const a=document.importNode(t.content,!0);this.nylasViewEmailElement=a.querySelector("nylas-view-email");const s=this.host.querySelector("template.nylas-composer");if(!s){e.debug("[nylas-view-thread] Could not find composer template");return}const o=document.importNode(s.content,!0);this.nylasComposerElement=o.querySelector("nylas-composer")}async componentDidLoad(){e.debug("[nylas-view-thread] Component did load")}async threadChanged(t){e.debug("[nylas-view-thread] Thread changed",{thread:t}),this.internalMessages=[],this.threadSelected.emit(t).defaultPrevented||e.debug("[nylas-view-thread] Default event not prevented, initializing")}updateInternalMessages(t){e.debug("[nylas-view-thread] Updating internal messages",{messages:t});const a=t.sort((s,o)=>s.date>o.date?1:-1).map((s,o)=>({id:s.id,data:s,collapse:o!==t.length-1,showContactData:!1}));this.internalMessages=a}render(){var r,n,l;const t=this.internalMessages.length>2?this.internalMessages[0]:null,a=this.internalMessages.slice(this.internalMessages.length-2,this.internalMessages.length),s=this.internalMessages.slice(1,this.internalMessages.length-2),o=this.internalMessages[this.internalMessages.length-1];return e.h(e.Host,{key:"bbdec659d5def3c554fe76fe6c4420abe80838d0"},e.h("sp-theme",{key:"a95af5db4617124e6c825c955d995010cbd84306",scale:"medium",color:"dark"},e.h("div",{key:"492bd99bf13e811172c75b0fc1fb4886319e1f01",class:"view-thread"},e.h("div",{key:"e93fc1f77a4041d8567fc12eb385418822cd8464",class:"header"},e.h("div",{key:"ff92914f3ddd5da54b71d489a8e239ed19387dff",class:"subject"},(r=this.thread)==null?void 0:r.subject),e.h("div",{key:"55e7e077a3ba751794f65960e7c76624a440964d",class:"folders"},(l=(n=this.thread)==null?void 0:n.folders)==null?void 0:l.map(i=>e.h("sp-tag",{size:"s"},e.toTitleCase(i.replace("CATEGORY_","").replace("_"," ")))))),e.h("div",{key:"4d9a122375f93b5d02398577c0c1d3af37224c09",class:"messages"},t&&e.h(c,{message:t,attachments:this.attachments.filter(i=>i.messageId===t.id),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement}),s.length>0&&this.messages.length>1&&!this.showAllEmails&&a.length>0&&e.h(e.Fragment,null,e.h("div",{class:"show-more"},e.h("button",{type:"button",onClick:this.onShowAllEmailsClick},e.h("span",{class:"avatar"},s.length)," ",e.h("span",{class:"sr-only"},"Show ",s.length," more emails"))),e.h("hr",null)),s.length>0&&this.showAllEmails&&this.messages.length>2&&s.map(i=>e.h(c,{message:i,attachments:this.attachments.filter(d=>d.messageId===(t==null?void 0:t.id)),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement})),a.length>0&&a.map(i=>e.h(c,{message:i,attachments:this.attachments.filter(d=>d.messageId===(t==null?void 0:t.id)),onMessageClick:this.onMessageClick,onShowContactDataClick:this.onShowContactDataClick,parent:this.host,viewEmailElement:this.nylasViewEmailElement,composerElement:this.nylasComposerElement}))),!(this.showComposer&&o)&&e.h("div",{class:"reply-buttons"},e.h("sp-button",{variant:"cta",type:"button",onClick:this.showComposerClick},e.h("span",{slot:"icon"},e.h("reply-icon",null)),e.h("span",null,"Reply")),e.h("sp-button",{variant:"cta",type:"button"},e.h("span",{slot:"icon"},e.h("reply-all-icon",null)),e.h("span",null,"Reply All")),e.h("sp-button",{variant:"cta",type:"button"},e.h("span",{slot:"icon"},e.h("forward-icon",null)),e.h("span",null,"Forward"))),this.showComposer&&o&&e.h("div",{class:"composer"},e.h("nylas-composer",{message:o.data,onClose:this.showComposerClick,onSend:i=>{e.debug("[nylas-view-thread] Send event",{message:i.detail.message,replyBody:i.detail.replyBody})}})))))}get host(){return e.getElement(this)}static get watchers(){return{thread:["threadChanged"],messages:["updateInternalMessages"]}}};k([w.RegisterComponent({name:"nylas-view-thread",stateToProps:new Map([["mailbox.selectedThread","thread"],["mailbox.messages","messages"],["mailbox.state","state"]]),eventToProps:{threadSelected:async(t,a)=>{e.debug("[nylas-view-thread] Nylas init event. Fetching thread messages.",{event:t});const s=t.detail;s&&s.id&&await a.messages.getThreadMessages(s.id)}},fireRegisterEvent:!0}),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],p.prototype,"render",null);p.style=C;exports.nylas_view_thread=p;
@@ -1,5 +1,5 @@
1
- import { r as k, c as p, d, h as a, t as M, F as m, H as x, g as E, q as D, a as S, s as g } from "./index-5ccfd9df.js";
2
- import { R as T } from "./register-component-887199a9-b41dfa7a.js";
1
+ import { r as k, c as p, d, h as a, t as M, F as m, H as x, g as E, s as D, a as S, v as g } from "./index-a134f625.js";
2
+ import { R as T } from "./register-component-ea95564d-e19ec159.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  function R(t, e, s, o, r) {
@@ -10,7 +10,7 @@ function R(t, e, s, o, r) {
10
10
  n.message = t.data, n.parent = r, s.appendChild(n);
11
11
  }
12
12
  const u = ({ viewEmailElement: t, message: e, attachments: s, onMessageClick: o, onShowContactDataClick: r, parent: n }) => {
13
- var l, i, c, v, w, f, b;
13
+ var l, i, c, y, w, f, b;
14
14
  return a(
15
15
  m,
16
16
  null,
@@ -24,7 +24,7 @@ const u = ({ viewEmailElement: t, message: e, attachments: s, onMessageClick: o,
24
24
  a(
25
25
  "div",
26
26
  { class: "from" },
27
- a("span", { class: "name" }, e.data.from && ((v = e.data.from[0]) == null ? void 0 : v.name)),
27
+ a("span", { class: "name" }, e.data.from && ((y = e.data.from[0]) == null ? void 0 : y.name)),
28
28
  " ",
29
29
  a("span", { class: "email" }, e.data.from && ((w = e.data.from[0]) == null ? void 0 : w.email))
30
30
  ),
@@ -94,7 +94,7 @@ var _ = function(t, e, s, o) {
94
94
  for (var i = t.length - 1; i >= 0; i--)
95
95
  (l = t[i]) && (n = (r < 3 ? l(n) : r > 3 ? l(e, s, n) : l(e, s)) || n);
96
96
  return r > 3 && n && Object.defineProperty(e, s, n), n;
97
- }, y = function(t, e) {
97
+ }, v = function(t, e) {
98
98
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
99
99
  return Reflect.metadata(t, e);
100
100
  };
@@ -162,7 +162,7 @@ const C = class {
162
162
  render() {
163
163
  var r, n, l;
164
164
  const t = this.internalMessages.length > 2 ? this.internalMessages[0] : null, e = this.internalMessages.slice(this.internalMessages.length - 2, this.internalMessages.length), s = this.internalMessages.slice(1, this.internalMessages.length - 2), o = this.internalMessages[this.internalMessages.length - 1];
165
- return a(x, { key: "8ded7fac7238425d362b59a6754cc8c0ee36dc13" }, a("sp-theme", { key: "709b8e7877cb108bb09199db5ba6306ea9b130a0", scale: "medium", color: "dark" }, a("div", { key: "19d5912e09475417c50b27b24979e5337806b94c", class: "view-thread" }, a("div", { key: "46c2022b7a45b8d05f8f23068828579b4294fee4", class: "header" }, a("div", { key: "5e748e44ef6683d4215fbe0afff040f2091e376c", class: "subject" }, (r = this.thread) == null ? void 0 : r.subject), a("div", { key: "3106d62c0ecf951ccf58fd32bb171ae4ce846909", class: "folders" }, (l = (n = this.thread) == null ? void 0 : n.folders) == null ? void 0 : l.map((i) => a("sp-tag", { size: "s" }, M(i.replace("CATEGORY_", "").replace("_", " ")))))), a("div", { key: "f2c2bfb336520c4dafa6597c417efee372648354", class: "messages" }, t && a(u, { message: t, attachments: this.attachments.filter((i) => i.messageId === t.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }), s.length > 0 && this.messages.length > 1 && !this.showAllEmails && e.length > 0 && a(m, null, a("div", { class: "show-more" }, a("button", { type: "button", onClick: this.onShowAllEmailsClick }, a("span", { class: "avatar" }, s.length), " ", a("span", { class: "sr-only" }, "Show ", s.length, " more emails"))), a("hr", null)), s.length > 0 && this.showAllEmails && this.messages.length > 2 && s.map((i) => a(u, { message: i, attachments: this.attachments.filter((c) => c.messageId === (t == null ? void 0 : t.id)), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement })), e.length > 0 && e.map((i) => a(u, { message: i, attachments: this.attachments.filter((c) => c.messageId === (t == null ? void 0 : t.id)), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }))), !(this.showComposer && o) && a("div", { class: "reply-buttons" }, a("sp-button", { variant: "cta", type: "button", onClick: this.showComposerClick }, a("span", { slot: "icon" }, a("reply-icon", null)), a("span", null, "Reply")), a("sp-button", { variant: "cta", type: "button" }, a("span", { slot: "icon" }, a("reply-all-icon", null)), a("span", null, "Reply All")), a("sp-button", { variant: "cta", type: "button" }, a("span", { slot: "icon" }, a("forward-icon", null)), a("span", null, "Forward"))), this.showComposer && o && a("div", { class: "composer" }, a("nylas-composer", { message: o.data, onClose: this.showComposerClick, onSend: (i) => {
165
+ return a(x, { key: "bbdec659d5def3c554fe76fe6c4420abe80838d0" }, a("sp-theme", { key: "a95af5db4617124e6c825c955d995010cbd84306", scale: "medium", color: "dark" }, a("div", { key: "492bd99bf13e811172c75b0fc1fb4886319e1f01", class: "view-thread" }, a("div", { key: "e93fc1f77a4041d8567fc12eb385418822cd8464", class: "header" }, a("div", { key: "ff92914f3ddd5da54b71d489a8e239ed19387dff", class: "subject" }, (r = this.thread) == null ? void 0 : r.subject), a("div", { key: "55e7e077a3ba751794f65960e7c76624a440964d", class: "folders" }, (l = (n = this.thread) == null ? void 0 : n.folders) == null ? void 0 : l.map((i) => a("sp-tag", { size: "s" }, M(i.replace("CATEGORY_", "").replace("_", " ")))))), a("div", { key: "4d9a122375f93b5d02398577c0c1d3af37224c09", class: "messages" }, t && a(u, { message: t, attachments: this.attachments.filter((i) => i.messageId === t.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }), s.length > 0 && this.messages.length > 1 && !this.showAllEmails && e.length > 0 && a(m, null, a("div", { class: "show-more" }, a("button", { type: "button", onClick: this.onShowAllEmailsClick }, a("span", { class: "avatar" }, s.length), " ", a("span", { class: "sr-only" }, "Show ", s.length, " more emails"))), a("hr", null)), s.length > 0 && this.showAllEmails && this.messages.length > 2 && s.map((i) => a(u, { message: i, attachments: this.attachments.filter((c) => c.messageId === (t == null ? void 0 : t.id)), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement })), e.length > 0 && e.map((i) => a(u, { message: i, attachments: this.attachments.filter((c) => c.messageId === (t == null ? void 0 : t.id)), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }))), !(this.showComposer && o) && a("div", { class: "reply-buttons" }, a("sp-button", { variant: "cta", type: "button", onClick: this.showComposerClick }, a("span", { slot: "icon" }, a("reply-icon", null)), a("span", null, "Reply")), a("sp-button", { variant: "cta", type: "button" }, a("span", { slot: "icon" }, a("reply-all-icon", null)), a("span", null, "Reply All")), a("sp-button", { variant: "cta", type: "button" }, a("span", { slot: "icon" }, a("forward-icon", null)), a("span", null, "Forward"))), this.showComposer && o && a("div", { class: "composer" }, a("nylas-composer", { message: o.data, onClose: this.showComposerClick, onSend: (i) => {
166
166
  d("[nylas-view-thread] Send event", { message: i.detail.message, replyBody: i.detail.replyBody });
167
167
  } })))));
168
168
  }
@@ -193,9 +193,9 @@ _([
193
193
  },
194
194
  fireRegisterEvent: !0
195
195
  }),
196
- y("design:type", Function),
197
- y("design:paramtypes", []),
198
- y("design:returntype", void 0)
196
+ v("design:type", Function),
197
+ v("design:paramtypes", []),
198
+ v("design:returntype", void 0)
199
199
  ], C.prototype, "render", null);
200
200
  C.style = V;
201
201
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-eb33703c.cjs");require("react");require("react-dom");const r=".sc-person-icon-h{display:flex}",i=r,t=class{constructor(s){e.registerInstance(this,s),this.width="14",this.height="16"}render(){return e.h("svg",{key:"954b500b6e68dff36be085c9ec1a347f1dffd216",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"22b3215ec25511a03ef33ead4a3d073b4c49a04b",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2a53b6a8.cjs");require("react");require("react-dom");const r=".sc-person-icon-h{display:flex}",i=r,t=class{constructor(s){e.registerInstance(this,s),this.width="14",this.height="16"}render(){return e.h("svg",{key:"0a47e6585ae19ad96e3c57b2aec1547798fe7abc",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5aba35e97caadb061d6948c4f5ffc9390b2cd223",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-5ccfd9df.js";
1
+ import { r as s, h as t } from "./index-a134f625.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const o = ".sc-person-icon-h{display:flex}", r = o, C = class {
@@ -6,7 +6,7 @@ const o = ".sc-person-icon-h{display:flex}", r = o, C = class {
6
6
  s(this, e), this.width = "14", this.height = "16";
7
7
  }
8
8
  render() {
9
- return t("svg", { key: "954b500b6e68dff36be085c9ec1a347f1dffd216", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "22b3215ec25511a03ef33ead4a3d073b4c49a04b", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
9
+ return t("svg", { key: "0a47e6585ae19ad96e3c57b2aec1547798fe7abc", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5aba35e97caadb061d6948c4f5ffc9390b2cd223", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
10
10
  }
11
11
  };
12
12
  C.style = r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-2a53b6a8.cjs");require("react");require("react-dom");const o=".sc-play-icon-h{display:flex}",n=o,s=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"03aeffce3f9f6d60a15e334e51d4b8473724937a",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"b150b7c852caa549be48caaf60e46bc442b15960",d:"M21 12L3 21V3L21 12Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};s.style=n;const h=".sc-stop-icon-h{display:flex}",r=h,i=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"21ddd8a23141367d02d6118b65e083a7c35fdae3",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"087eb49291f67ff7d7d536114007d200a86c61e9",d:"M4 4H20V20H4V4Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};i.style=r;exports.play_icon=s;exports.stop_icon=i;
@@ -1,25 +1,25 @@
1
- import { r as o, h as t } from "./index-5ccfd9df.js";
1
+ import { r as o, h as t } from "./index-a134f625.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- const e = ".sc-play-icon-h{display:flex}", i = e, a = class {
4
+ const e = ".sc-play-icon-h{display:flex}", i = e, h = class {
5
5
  constructor(s) {
6
6
  o(this, s), this.width = "15", this.height = "15";
7
7
  }
8
8
  render() {
9
- return t("svg", { key: "aaa15133933cb8ebd39db0754937bf24a9f1e2d5", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "f615374aabdfdf059536fb524668c0a157463020", d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
9
+ return t("svg", { key: "03aeffce3f9f6d60a15e334e51d4b8473724937a", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "b150b7c852caa549be48caaf60e46bc442b15960", d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
10
10
  }
11
11
  };
12
- a.style = i;
13
- const h = ".sc-stop-icon-h{display:flex}", n = h, r = class {
12
+ h.style = i;
13
+ const n = ".sc-stop-icon-h{display:flex}", c = n, r = class {
14
14
  constructor(s) {
15
15
  o(this, s), this.width = "15", this.height = "15";
16
16
  }
17
17
  render() {
18
- return t("svg", { key: "77caaa680d7ca30d98feef3e16941734c4c289da", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "aad5a8ad1b0a98fa154a1eabbb3dfab69d09f5b2", d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
18
+ return t("svg", { key: "21ddd8a23141367d02d6118b65e083a7c35fdae3", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "087eb49291f67ff7d7d536114007d200a86c61e9", d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
19
19
  }
20
20
  };
21
- r.style = n;
21
+ r.style = c;
22
22
  export {
23
- a as play_icon,
23
+ h as play_icon,
24
24
  r as stop_icon
25
25
  };
package/dist/react.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-eb33703c.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasComposer=o.NylasComposer;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasListFolders=o.NylasListFolders;exports.NylasListThreads=o.NylasListThreads;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMailbox=o.NylasMailbox;exports.NylasMailboxPagination=o.NylasMailboxPagination;exports.NylasMailboxToolbarButton=o.NylasMailboxToolbarButton;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasProvider=o.NylasProvider;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasSummarizeMessageButton=o.NylasSummarizeMessageButton;exports.NylasThreadsRefresh=o.NylasThreadsRefresh;exports.NylasThreadsSearch=o.NylasThreadsSearch;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.NylasViewEmail=o.NylasViewEmail;exports.NylasViewThread=o.NylasViewThread;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-2a53b6a8.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.InputImageUrl=o.InputImageUrl;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasComposer=o.NylasComposer;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasListFolders=o.NylasListFolders;exports.NylasListThreads=o.NylasListThreads;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMailbox=o.NylasMailbox;exports.NylasMailboxPagination=o.NylasMailboxPagination;exports.NylasMailboxToolbarButton=o.NylasMailboxToolbarButton;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasProvider=o.NylasProvider;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasSummarizeMessageButton=o.NylasSummarizeMessageButton;exports.NylasThreadsRefresh=o.NylasThreadsRefresh;exports.NylasThreadsSearch=o.NylasThreadsSearch;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.NylasViewEmail=o.NylasViewEmail;exports.NylasViewThread=o.NylasViewThread;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
package/dist/react.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as e, a4 as l, a5 as i, a6 as c, a7 as t, a8 as r, a9 as b, aa as y, ab as N, ac as I, ad as d, ae as C, af as m, ag as g, ah as p, ai as u, aj as k, ak as h, al as P, am as f, an as E, ao as T, ap as S, aq as v, ar as B, as as F, at as L, au as w, av as M, aw as R, ax as A, ay as D, az as x, aA as G, aB as z, aC as W, aD as O, aE as V, aF as q, aG as U, aH as Z, aI as $, aJ as j, aK as H, aL as J, aM as K, aN as Q, aO as X, aP as Y, aQ as _, aR as aa, aS as sa, aT as oa, aU as na, aV as ea, aW as la, aX as ia, aY as ca, aZ as ta, a_ as ra, a$ as ba, b0 as ya, b1 as Na, b2 as Ia, b3 as da, b4 as Ca, b5 as ma, b6 as ga, b7 as pa, b8 as ua, b9 as ka, ba as ha, bb as Pa, N as fa, bc as Ea, bd as Ta, be as Sa, bf as va, bg as Ba, bh as Fa, bi as La, bj as wa, bk as Ma, bl as Ra, bm as Aa, bn as Da, bo as xa, bp as Ga, bq as za, br as Wa, bs as Oa, bt as Va, bu as qa, bv as Ua, bw as Za, bx as $a, by as ja, bz as Ha, bA as Ja, bB as Ka, bC as Qa, bD as Xa, bE as Ya, bF as _a, bG as as, bH as ss, bI as os, bJ as ns, bK as es, bL as ls, bM as is, bN as cs, bO as ts, bP as rs, bQ as bs, bR as ys, bS as Ns, bT as Is, bU as ds, bV as Cs, bW as ms, bX as gs, bY as ps, bZ as us, b_ as ks, b$ as hs, c0 as Ps, c1 as fs, c2 as Es, c3 as Ts, c4 as Ss, c5 as vs, c6 as Bs, c7 as Fs, c8 as Ls, a0 as ws, a1 as Ms, a2 as Rs, $ as As } from "./index-5ccfd9df.js";
1
+ import { a6 as e, a7 as l, a8 as i, a9 as c, aa as t, ab as r, ac as b, ad as y, ae as I, af as N, ag as d, ah as C, ai as m, aj as g, ak as p, al as u, am as k, an as h, ao as P, ap as f, aq as E, ar as T, as as S, at as v, au as B, av as F, aw as L, ax as w, ay as M, az as R, aA as A, aB as D, aC as x, aD as G, aE as z, aF as W, aG as O, aH as U, aI as V, aJ as q, aK as Z, aL as j, aM as H, aN as J, aO as K, aP as Q, aQ as X, aR as Y, aS as _, aT as $, aU as aa, aV as sa, aW as oa, aX as na, aY as ea, aZ as la, a_ as ia, a$ as ca, b0 as ta, b1 as ra, b2 as ba, b3 as ya, b4 as Ia, b5 as Na, b6 as da, b7 as Ca, b8 as ma, b9 as ga, ba as pa, bb as ua, bc as ka, bd as ha, be as Pa, bf as fa, N as Ea, bg as Ta, bh as Sa, bi as va, bj as Ba, bk as Fa, bl as La, bm as wa, bn as Ma, bo as Ra, bp as Aa, bq as Da, br as xa, bs as Ga, bt as za, bu as Wa, bv as Oa, bw as Ua, bx as Va, by as qa, bz as Za, bA as ja, bB as Ha, bC as Ja, bD as Ka, bE as Qa, bF as Xa, bG as Ya, bH as _a, bI as $a, bJ as as, bK as ss, bL as os, bM as ns, bN as es, bO as ls, bP as is, bQ as cs, bR as ts, bS as rs, bT as bs, bU as ys, bV as Is, bW as Ns, bX as ds, bY as Cs, bZ as ms, b_ as gs, b$ as ps, c0 as us, c1 as ks, c2 as hs, c3 as Ps, c4 as fs, c5 as Es, c6 as Ts, c7 as Ss, c8 as vs, c9 as Bs, ca as Fs, cb as Ls, cc as ws, a3 as Ms, a4 as Rs, a5 as As, a2 as Ds } from "./index-a134f625.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -10,8 +10,8 @@ export {
10
10
  r as CalendarAgendaFillIcon,
11
11
  b as CalendarAgendaIcon,
12
12
  y as CalendarCancelIcon,
13
- N as CalendarCheckIcon,
14
- I as CalendarIcon,
13
+ I as CalendarCheckIcon,
14
+ N as CalendarIcon,
15
15
  d as CalendarInfoIcon,
16
16
  C as CalendarPatternsIcon,
17
17
  m as CheckboxComponent,
@@ -39,106 +39,107 @@ export {
39
39
  z as InputColorPicker,
40
40
  W as InputComponent,
41
41
  O as InputDropdown,
42
+ U as InputImageUrl,
42
43
  V as ItalicIcon,
43
44
  q as LoadingIcon,
44
- U as LocationIcon,
45
- Z as LocationOffIcon,
46
- $ as MicrosoftLogoIcon,
47
- j as MicrosoftTeamsIcon,
48
- H as MultiSelectDropdown,
49
- J as NylasAdditionalParticipants,
50
- K as NylasAvailabilityPicker,
51
- Q as NylasBookedEventCard,
52
- X as NylasBookingCalendarPicker,
53
- Y as NylasBookingConfirmationRedirect,
54
- _ as NylasBookingConfirmationType,
55
- aa as NylasBookingForm,
56
- sa as NylasBookingFormConfig,
57
- oa as NylasBufferTime,
58
- na as NylasCalendarPicker,
59
- ea as NylasCancelBookingForm,
60
- la as NylasCancellationPolicy,
61
- ia as NylasCancelledEventCard,
62
- ca as NylasComposer,
63
- ta as NylasConfirmationEmail,
64
- ra as NylasConfirmedEventCard,
65
- ba as NylasConnectedCalendars,
66
- ya as NylasCustomBookingFlow,
45
+ Z as LocationIcon,
46
+ j as LocationOffIcon,
47
+ H as MicrosoftLogoIcon,
48
+ J as MicrosoftTeamsIcon,
49
+ K as MultiSelectDropdown,
50
+ Q as NylasAdditionalParticipants,
51
+ X as NylasAvailabilityPicker,
52
+ Y as NylasBookedEventCard,
53
+ _ as NylasBookingCalendarPicker,
54
+ $ as NylasBookingConfirmationRedirect,
55
+ aa as NylasBookingConfirmationType,
56
+ sa as NylasBookingForm,
57
+ oa as NylasBookingFormConfig,
58
+ na as NylasBufferTime,
59
+ ea as NylasCalendarPicker,
60
+ la as NylasCancelBookingForm,
61
+ ia as NylasCancellationPolicy,
62
+ ca as NylasCancelledEventCard,
63
+ ta as NylasComposer,
64
+ ra as NylasConfirmationEmail,
65
+ ba as NylasConfirmedEventCard,
66
+ ya as NylasConnectedCalendars,
67
+ Ia as NylasCustomBookingFlow,
67
68
  Na as NylasCustomEventSlug,
68
- Ia as NylasCustomizeBookingSettings,
69
- da as NylasDatePicker,
70
- Ca as NylasEditorTabs,
71
- ma as NylasEventDescription,
72
- ga as NylasEventDuration,
73
- pa as NylasEventInfo,
74
- ua as NylasEventLimits,
75
- ka as NylasEventLocation,
76
- ha as NylasEventTitle,
77
- Pa as NylasFormCard,
78
- fa as NylasIdentityRequestWrapper,
79
- Ea as NylasIfState,
80
- Ta as NylasLimitFutureBookings,
81
- Sa as NylasListConfigurations,
82
- va as NylasListFolders,
83
- Ba as NylasListThreads,
84
- Fa as NylasLocaleSwitch,
85
- La as NylasLogin,
86
- wa as NylasLogo,
87
- Ma as NylasMailbox,
88
- Ra as NylasMailboxPagination,
89
- Aa as NylasMailboxToolbarButton,
90
- Da as NylasMinBookingNotice,
91
- xa as NylasMinCancellationNotice,
92
- Ga as NylasNotification,
93
- za as NylasOrganizerConfirmationCard,
94
- Wa as NylasPageName,
95
- Oa as NylasPageStyling,
69
+ da as NylasCustomizeBookingSettings,
70
+ Ca as NylasDatePicker,
71
+ ma as NylasEditorTabs,
72
+ ga as NylasEventDescription,
73
+ pa as NylasEventDuration,
74
+ ua as NylasEventInfo,
75
+ ka as NylasEventLimits,
76
+ ha as NylasEventLocation,
77
+ Pa as NylasEventTitle,
78
+ fa as NylasFormCard,
79
+ Ea as NylasIdentityRequestWrapper,
80
+ Ta as NylasIfState,
81
+ Sa as NylasLimitFutureBookings,
82
+ va as NylasListConfigurations,
83
+ Ba as NylasListFolders,
84
+ Fa as NylasListThreads,
85
+ La as NylasLocaleSwitch,
86
+ wa as NylasLogin,
87
+ Ma as NylasLogo,
88
+ Ra as NylasMailbox,
89
+ Aa as NylasMailboxPagination,
90
+ Da as NylasMailboxToolbarButton,
91
+ xa as NylasMinBookingNotice,
92
+ Ga as NylasMinCancellationNotice,
93
+ za as NylasNotification,
94
+ Wa as NylasOrganizerConfirmationCard,
95
+ Oa as NylasPageName,
96
+ Ua as NylasPageStyling,
96
97
  Va as NylasParticipantBookingCalendars,
97
98
  qa as NylasParticipantsCustomAvailability,
98
- Ua as NylasProvider,
99
- Za as NylasReminderEmails,
100
- $a as NylasReminderTime,
101
- ja as NylasSchedulerEditor,
102
- Ha as NylasScheduling,
103
- Ja as NylasSchedulingMethod,
104
- Ka as NylasSelectedEventCard,
105
- Qa as NylasSummarizeMessageButton,
106
- Xa as NylasThreadsRefresh,
107
- Ya as NylasThreadsSearch,
108
- _a as NylasTimeWindowPicker,
109
- as as NylasTimeslotInterval,
110
- ss as NylasTimeslotPicker,
111
- os as NylasViewEmail,
112
- ns as NylasViewThread,
113
- es as PaintbrushFillIcon,
114
- ls as PaintbrushIcon,
115
- is as PeopleIcon,
116
- cs as PersonClipboardIcon,
117
- ts as PersonIcon,
118
- rs as PlayIcon,
119
- bs as PlusIcon,
120
- ys as RadioButtonGroup,
99
+ Za as NylasProvider,
100
+ ja as NylasReminderEmails,
101
+ Ha as NylasReminderTime,
102
+ Ja as NylasSchedulerEditor,
103
+ Ka as NylasScheduling,
104
+ Qa as NylasSchedulingMethod,
105
+ Xa as NylasSelectedEventCard,
106
+ Ya as NylasSummarizeMessageButton,
107
+ _a as NylasThreadsRefresh,
108
+ $a as NylasThreadsSearch,
109
+ as as NylasTimeWindowPicker,
110
+ ss as NylasTimeslotInterval,
111
+ os as NylasTimeslotPicker,
112
+ ns as NylasViewEmail,
113
+ es as NylasViewThread,
114
+ ls as PaintbrushFillIcon,
115
+ is as PaintbrushIcon,
116
+ cs as PeopleIcon,
117
+ ts as PersonClipboardIcon,
118
+ rs as PersonIcon,
119
+ bs as PlayIcon,
120
+ ys as PlusIcon,
121
+ Is as RadioButtonGroup,
121
122
  Ns as RefreshIcon,
122
- Is as ReplyAllIcon,
123
- ds as ReplyIcon,
124
- Cs as SearchIcon,
125
- ms as SelectDropdown,
126
- gs as SentIcon,
127
- ps as SpamIcon,
128
- us as StarIcon,
129
- ks as StopIcon,
130
- hs as TextareaComponent,
131
- Ps as TimePeriodSelector,
132
- fs as ToggleSwitch,
133
- Es as TooltipComponent,
134
- Ts as TranslateIcon,
135
- Ss as TrashFillIcon,
136
- vs as TrashIcon,
137
- Bs as UnderlineIcon,
138
- Fs as WarningIcon,
139
- Ls as ZoomIcon,
140
- ws as applyPolyfills,
141
- Ms as defineCustomElements,
142
- Rs as setNonce,
143
- As as useNylasMailboxElement
123
+ ds as ReplyAllIcon,
124
+ Cs as ReplyIcon,
125
+ ms as SearchIcon,
126
+ gs as SelectDropdown,
127
+ ps as SentIcon,
128
+ us as SpamIcon,
129
+ ks as StarIcon,
130
+ hs as StopIcon,
131
+ Ps as TextareaComponent,
132
+ fs as TimePeriodSelector,
133
+ Es as ToggleSwitch,
134
+ Ts as TooltipComponent,
135
+ Ss as TranslateIcon,
136
+ vs as TrashFillIcon,
137
+ Bs as TrashIcon,
138
+ Fs as UnderlineIcon,
139
+ Ls as WarningIcon,
140
+ ws as ZoomIcon,
141
+ Ms as applyPolyfills,
142
+ Rs as defineCustomElements,
143
+ As as setNonce,
144
+ Ds as useNylasMailboxElement
144
145
  };