@nylas/react 1.1.1 → 1.1.3

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 (128) hide show
  1. package/dist/{add-circle-icon_2.entry-c6211866.cjs → add-circle-icon_2.entry-b77120e5.cjs} +1 -1
  2. package/dist/{add-circle-icon_2.entry-b14ecb5c.js → add-circle-icon_2.entry-fbc1e82b.js} +1 -1
  3. package/dist/{archive-icon_7.entry-3fe7721a.js → archive-icon_7.entry-30962e70.js} +13 -13
  4. package/dist/{archive-icon_7.entry-54fc1f03.cjs → archive-icon_7.entry-dd8c7642.cjs} +1 -1
  5. package/dist/{arrow-icon.entry-1dfee3bc.cjs → arrow-icon.entry-2dfd8319.cjs} +1 -1
  6. package/dist/{arrow-icon.entry-cc936041.js → arrow-icon.entry-5b436054.js} +1 -1
  7. package/dist/{bold-icon_3.entry-e2a1d434.js → bold-icon_3.entry-5120a9c8.js} +3 -3
  8. package/dist/{bold-icon_3.entry-4b9de887.cjs → bold-icon_3.entry-da2d1270.cjs} +1 -1
  9. package/dist/{button-component_2.entry-5666fdfa.cjs → button-component_2.entry-27a504d9.cjs} +1 -1
  10. package/dist/{button-component_2.entry-3639ade6.js → button-component_2.entry-697bf5ac.js} +7 -7
  11. package/dist/{calendar-agenda-fill-icon_48.entry-56e364cd.js → calendar-agenda-fill-icon_51.entry-52b5bf31.js} +993 -913
  12. package/dist/calendar-agenda-fill-icon_51.entry-a25262b3.cjs +7 -0
  13. package/dist/{calendar-cancel-icon.entry-ac1cb5dd.cjs → calendar-cancel-icon.entry-c6e2eed6.cjs} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-dcd777cd.js → calendar-cancel-icon.entry-e6a433a2.js} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-7ad1b2a0.cjs → calendar-check-icon_2.entry-45cad6f1.cjs} +1 -1
  16. package/dist/{calendar-check-icon_2.entry-6330bd2d.js → calendar-check-icon_2.entry-d88307d6.js} +1 -1
  17. package/dist/{calendar-icon.entry-8559fa0d.js → calendar-icon.entry-2badc962.js} +1 -1
  18. package/dist/{calendar-icon.entry-5849a547.cjs → calendar-icon.entry-b2fffd21.cjs} +1 -1
  19. package/dist/{checkbox-component_2.entry-6cf5da6b.cjs → checkbox-component_2.entry-3926b644.cjs} +1 -1
  20. package/dist/{checkbox-component_2.entry-1474c465.js → checkbox-component_2.entry-5ab55050.js} +3 -3
  21. package/dist/chevron-icon_3.entry-1fe5d097.cjs +1 -0
  22. package/dist/{chevron-icon_3.entry-cb757aa3.js → chevron-icon_3.entry-664fae5d.js} +19 -8
  23. package/dist/{clock-icon_4.entry-36a33de5.cjs → clock-icon_4.entry-efec2c08.cjs} +1 -1
  24. package/dist/{clock-icon_4.entry-642f4dc6.js → clock-icon_4.entry-f11f9dad.js} +13 -13
  25. package/dist/{constants-50c3e067-83f1d865.js → constants-50c3e067-33cf0ffe.js} +1 -1
  26. package/dist/{constants-50c3e067-4e027da4.cjs → constants-50c3e067-5ec3f879.cjs} +1 -1
  27. package/dist/{copy-icon.entry-fb63cf53.cjs → copy-icon.entry-3965f206.cjs} +1 -1
  28. package/dist/{copy-icon.entry-60740516.js → copy-icon.entry-70131e8e.js} +1 -1
  29. package/dist/{delete-icon_2.entry-d1af0606.cjs → delete-icon.entry-5d067fef.cjs} +1 -1
  30. package/dist/{delete-icon_2.entry-45851bc5.js → delete-icon.entry-e003695d.js} +4 -14
  31. package/dist/{document-refresh-icon.entry-1731d4d9.cjs → document-refresh-icon.entry-30c974df.cjs} +1 -1
  32. package/dist/{document-refresh-icon.entry-5db0830a.js → document-refresh-icon.entry-b4e01cd4.js} +1 -1
  33. package/dist/elements/index.d.ts +2 -0
  34. package/dist/{elements-dc5b338e-3099ee02.js → elements-dc5b338e-55823d00.js} +1 -1
  35. package/dist/{elements-dc5b338e-ab9afb63.cjs → elements-dc5b338e-6883a39e.cjs} +1 -1
  36. package/dist/feedbackSync-81d4c4d8-dd4d2e32.js +11735 -0
  37. package/dist/feedbackSync-81d4c4d8-f4e78902.cjs +455 -0
  38. package/dist/{focus-visible-e8093c16-811f50fa.cjs → focus-visible-e8093c16-431bbe59.cjs} +1 -1
  39. package/dist/{focus-visible-e8093c16-067a8f23.js → focus-visible-e8093c16-f403fee8.js} +1 -1
  40. package/dist/{forward-icon_6.entry-e7c5fa46.js → forward-icon_6.entry-3bb91d58.js} +7 -7
  41. package/dist/{forward-icon_6.entry-4e9c9686.cjs → forward-icon_6.entry-ceec2371.cjs} +3 -3
  42. package/dist/{globe-icon.entry-aa3f3ea3.js → globe-icon.entry-6fc456c7.js} +5 -5
  43. package/dist/{globe-icon.entry-74f79652.cjs → globe-icon.entry-8c3c9e48.cjs} +1 -1
  44. package/dist/google-logo-icon_4.entry-4eb16cd2.cjs +1 -0
  45. package/dist/{google-logo-icon_4.entry-3fe41d69.js → google-logo-icon_4.entry-d6e0c4c0.js} +331 -289
  46. package/dist/index-11f33e47.cjs +82 -0
  47. package/dist/{index-a134f625.js → index-a282e817.js} +2890 -2792
  48. package/dist/{index.es-79f5b771-64a1baf0.cjs → index.es-ab9affcc-18263b66.cjs} +1 -1
  49. package/dist/{index.es-79f5b771-ce07d6fc.js → index.es-ab9affcc-30461b18.js} +1 -1
  50. package/dist/{info-icon_2.entry-fed731f4.js → info-icon_2.entry-d20b975c.js} +5 -5
  51. package/dist/{info-icon_2.entry-a3f40027.cjs → info-icon_2.entry-e582ac10.cjs} +1 -1
  52. package/dist/{input-color-picker.entry-37826630.js → input-color-picker.entry-27f4288f.js} +3 -3
  53. package/dist/{input-color-picker.entry-cbdce7a1.cjs → input-color-picker.entry-c6a28671.cjs} +1 -1
  54. package/dist/{input-component.entry-e71b7062.cjs → input-component.entry-744fcec1.cjs} +1 -1
  55. package/dist/{input-component.entry-b83b7103.js → input-component.entry-b6f1c417.js} +2 -2
  56. package/dist/{input-dropdown.entry-db0dae5f.js → input-dropdown.entry-18744def.js} +2 -2
  57. package/dist/{input-dropdown.entry-150819cd.cjs → input-dropdown.entry-f13234d7.cjs} +1 -1
  58. package/dist/{mailbox-store-9c52a3fa-04f22f60.cjs → mailbox-store-affca6de-9451094e.cjs} +1 -1
  59. package/dist/{mailbox-store-9c52a3fa-80fe343c.js → mailbox-store-affca6de-d601dc6b.js} +2 -2
  60. package/dist/{multi-select-dropdown.entry-6b429b39.js → multi-select-dropdown.entry-924809e1.js} +5 -5
  61. package/dist/{multi-select-dropdown.entry-629329d7.cjs → multi-select-dropdown.entry-dde671d7.cjs} +1 -1
  62. package/dist/{nylas-booked-event-card_12.entry-c22c02b4.js → nylas-booked-event-card_12.entry-52c3111d.js} +203 -198
  63. package/dist/nylas-booked-event-card_12.entry-d89c1f9d.cjs +1 -0
  64. package/dist/{nylas-form-card.entry-2ced5eef.cjs → nylas-form-card.entry-ab61fdc5.cjs} +1 -1
  65. package/dist/{nylas-form-card.entry-f3d6a1e4.js → nylas-form-card.entry-b0a2403f.js} +8 -8
  66. package/dist/{nylas-if-state.entry-862ad978.js → nylas-if-state.entry-523fdc6b.js} +2 -2
  67. package/dist/{nylas-if-state.entry-55c32c0c.cjs → nylas-if-state.entry-53883c36.cjs} +1 -1
  68. package/dist/{nylas-list-folders.entry-77e936f7.cjs → nylas-list-folders.entry-4ef6cb3d.cjs} +1 -1
  69. package/dist/{nylas-list-folders.entry-544fd38d.js → nylas-list-folders.entry-e37d069f.js} +8 -8
  70. package/dist/{nylas-list-threads.entry-82e04782.cjs → nylas-list-threads.entry-3be623e9.cjs} +1 -1
  71. package/dist/{nylas-list-threads.entry-71411da7.js → nylas-list-threads.entry-8ba62db8.js} +3 -3
  72. package/dist/{nylas-login.entry-3ccc2bef.cjs → nylas-login.entry-05e1df3e.cjs} +1 -1
  73. package/dist/{nylas-login.entry-48179c01.js → nylas-login.entry-d9bf3974.js} +5 -5
  74. package/dist/{nylas-mailbox-pagination.entry-d31f9aa4.cjs → nylas-mailbox-pagination.entry-3dd05cf4.cjs} +1 -1
  75. package/dist/{nylas-mailbox-pagination.entry-77cf03b5.js → nylas-mailbox-pagination.entry-50d9d9e3.js} +2 -2
  76. package/dist/{nylas-mailbox-toolbar-button.entry-40e3c373.js → nylas-mailbox-toolbar-button.entry-9a77d137.js} +2 -2
  77. package/dist/{nylas-mailbox-toolbar-button.entry-33aad610.cjs → nylas-mailbox-toolbar-button.entry-d87b55de.cjs} +1 -1
  78. package/dist/{nylas-mailbox.entry-f4066fb2.js → nylas-mailbox.entry-cb7d1031.js} +3 -3
  79. package/dist/{nylas-mailbox.entry-963de1c3.cjs → nylas-mailbox.entry-f7db9aa8.cjs} +1 -1
  80. package/dist/{nylas-provider.entry-08767da3.cjs → nylas-provider.entry-1716bf48.cjs} +1 -1
  81. package/dist/{nylas-provider.entry-c61428b1.js → nylas-provider.entry-7aa46ea2.js} +37 -37
  82. package/dist/{nylas-reminder-emails.entry-d42a7f1d.cjs → nylas-reminder-emails.entry-88a862cd.cjs} +2 -2
  83. package/dist/{nylas-reminder-emails.entry-cd8e1d2e.js → nylas-reminder-emails.entry-a86231b7.js} +5 -5
  84. package/dist/{nylas-reminder-time_2.entry-d7115393.js → nylas-reminder-time_2.entry-9589d5f2.js} +4 -4
  85. package/dist/{nylas-reminder-time_2.entry-e5540fdd.cjs → nylas-reminder-time_2.entry-bc76d4ab.cjs} +1 -1
  86. package/dist/{nylas-scheduler-editor.entry-67904653.cjs → nylas-scheduler-editor.entry-1a2f3ee0.cjs} +2 -2
  87. package/dist/{nylas-scheduler-editor.entry-65eb4938.js → nylas-scheduler-editor.entry-b434b526.js} +10 -10
  88. package/dist/nylas-scheduling.entry-59e5e8c1.cjs +1 -0
  89. package/dist/nylas-scheduling.entry-b71080c8.js +400 -0
  90. package/dist/{nylas-threads-refresh.entry-d025575a.js → nylas-threads-refresh.entry-544ca90a.js} +2 -2
  91. package/dist/{nylas-threads-refresh.entry-1b8befab.cjs → nylas-threads-refresh.entry-7ada7b2d.cjs} +1 -1
  92. package/dist/{nylas-threads-search.entry-a254c36e.js → nylas-threads-search.entry-181ba46a.js} +17 -17
  93. package/dist/{nylas-threads-search.entry-78c06183.cjs → nylas-threads-search.entry-f1cb19e4.cjs} +1 -1
  94. package/dist/{nylas-time-window-picker.entry-30baeb50.cjs → nylas-time-window-picker.entry-a6d1c648.cjs} +1 -1
  95. package/dist/{nylas-time-window-picker.entry-89c15823.js → nylas-time-window-picker.entry-c1ee860a.js} +2 -2
  96. package/dist/{nylas-view-thread.entry-939a4561.cjs → nylas-view-thread.entry-6ae8dd64.cjs} +1 -1
  97. package/dist/{nylas-view-thread.entry-c8d56573.js → nylas-view-thread.entry-c066f522.js} +6 -6
  98. package/dist/{person-icon.entry-5ab75598.cjs → person-icon.entry-80c9022e.cjs} +1 -1
  99. package/dist/{person-icon.entry-8aef4041.js → person-icon.entry-8833e3cc.js} +4 -4
  100. package/dist/{play-icon_2.entry-392ad303.cjs → play-icon_2.entry-801c85bc.cjs} +1 -1
  101. package/dist/{play-icon_2.entry-4b068c1b.js → play-icon_2.entry-efca8f00.js} +3 -3
  102. package/dist/react.cjs +1 -1
  103. package/dist/react.js +118 -116
  104. package/dist/{refresh-icon.entry-a754a2b5.js → refresh-icon.entry-4d6791bd.js} +4 -4
  105. package/dist/{refresh-icon.entry-9ea254c9.cjs → refresh-icon.entry-d4cc16b7.cjs} +1 -1
  106. package/dist/{register-component-ea95564d-ab3d630f.cjs → register-component-a7ea27ad-2343f3df.cjs} +1 -1
  107. package/dist/{register-component-ea95564d-e19ec159.js → register-component-a7ea27ad-fa2c4b17.js} +1 -1
  108. package/dist/{scheduler-config-store-2a3b403d-4e10b542.cjs → scheduler-config-store-2a3b403d-2263f999.cjs} +1 -1
  109. package/dist/{scheduler-config-store-2a3b403d-581c70cf.js → scheduler-config-store-2a3b403d-5176cd45.js} +1 -1
  110. package/dist/{scheduler-store-9ff4914b-b71a0aca.js → scheduler-store-33ab8dea-9801357a.js} +2 -2
  111. package/dist/scheduler-store-33ab8dea-a0b39d36.cjs +1 -0
  112. package/dist/{textarea-component.entry-70bb02bf.cjs → textarea-component.entry-019e75d0.cjs} +1 -1
  113. package/dist/{textarea-component.entry-a5daab6c.js → textarea-component.entry-174089bc.js} +2 -2
  114. package/dist/{time-period-selector.entry-25348de7.js → time-period-selector.entry-62c854d1.js} +4 -4
  115. package/dist/{time-period-selector.entry-6306e456.cjs → time-period-selector.entry-8466d0f2.cjs} +1 -1
  116. package/dist/{translate-icon.entry-b6094ecc.js → translate-icon.entry-73f7127b.js} +4 -4
  117. package/dist/{translate-icon.entry-785fa109.cjs → translate-icon.entry-7d5cf4b8.cjs} +1 -1
  118. package/dist/{warning-icon.entry-94e34c58.cjs → warning-icon.entry-92638eeb.cjs} +1 -1
  119. package/dist/{warning-icon.entry-4b400ee2.js → warning-icon.entry-abf896c3.js} +5 -5
  120. package/package.json +2 -2
  121. package/dist/calendar-agenda-fill-icon_48.entry-bf278e34.cjs +0 -7
  122. package/dist/chevron-icon_3.entry-41170718.cjs +0 -1
  123. package/dist/google-logo-icon_4.entry-0332a181.cjs +0 -1
  124. package/dist/index-2a53b6a8.cjs +0 -82
  125. package/dist/nylas-booked-event-card_12.entry-660af56a.cjs +0 -1
  126. package/dist/nylas-scheduling.entry-50e41d85.cjs +0 -1
  127. package/dist/nylas-scheduling.entry-7aad4f63.js +0 -345
  128. package/dist/scheduler-store-9ff4914b-6e28240e.cjs +0 -1
@@ -1 +1 @@
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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-11f33e47.cjs"),f=require("./register-component-a7ea27ad-2343f3df.cjs");require("react");require("react-dom");function w(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=>w(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:"95ab8e5e5e9e8a986132a98e0ea325d9200702a9"},e.h("sp-theme",{key:"6b51c27dcac47e5607a0f35401b53c66066d69b0",scale:"medium",color:"dark"},e.h("div",{key:"28753bfffd987848a4e8308490423930395f0375",class:"view-thread"},e.h("div",{key:"4b95425cc9a6a8e2c81d747852d9da5f07bd67b4",class:"header"},e.h("div",{key:"d5960331681445ad3766b333a8195d951e74c6e6",class:"subject"},(r=this.thread)==null?void 0:r.subject),e.h("div",{key:"3cbd5fe0ffb99ed1648cff0fd1af5b3ff30d0848",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:"a95eb69dbc861e3473f7d5f9fda4ff4ef4f8fdd3",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([f.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, s as D, a as S, v as g } from "./index-a134f625.js";
2
- import { R as T } from "./register-component-ea95564d-e19ec159.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-a282e817.js";
2
+ import { R as T } from "./register-component-a7ea27ad-fa2c4b17.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, y, w, f, b;
13
+ var l, i, c, y, f, w, b;
14
14
  return a(
15
15
  m,
16
16
  null,
@@ -26,7 +26,7 @@ const u = ({ viewEmailElement: t, message: e, attachments: s, onMessageClick: o,
26
26
  { class: "from" },
27
27
  a("span", { class: "name" }, e.data.from && ((y = e.data.from[0]) == null ? void 0 : y.name)),
28
28
  " ",
29
- a("span", { class: "email" }, e.data.from && ((w = e.data.from[0]) == null ? void 0 : w.email))
29
+ a("span", { class: "email" }, e.data.from && ((f = e.data.from[0]) == null ? void 0 : f.email))
30
30
  ),
31
31
  a(
32
32
  "div",
@@ -66,7 +66,7 @@ const u = ({ viewEmailElement: t, message: e, attachments: s, onMessageClick: o,
66
66
  "div",
67
67
  { class: "address-info" },
68
68
  a("div", { class: "label" }, "From"),
69
- a("div", { class: "value" }, g((f = e.data) != null && f.from ? (b = e == null ? void 0 : e.data) == null ? void 0 : b.from[0] : { name: "", email: "" })),
69
+ a("div", { class: "value" }, g((w = e.data) != null && w.from ? (b = e == null ? void 0 : e.data) == null ? void 0 : b.from[0] : { name: "", email: "" })),
70
70
  e.data.to && a(
71
71
  m,
72
72
  null,
@@ -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: "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) => {
165
+ return a(x, { key: "95ab8e5e5e9e8a986132a98e0ea325d9200702a9" }, a("sp-theme", { key: "6b51c27dcac47e5607a0f35401b53c66066d69b0", scale: "medium", color: "dark" }, a("div", { key: "28753bfffd987848a4e8308490423930395f0375", class: "view-thread" }, a("div", { key: "4b95425cc9a6a8e2c81d747852d9da5f07bd67b4", class: "header" }, a("div", { key: "d5960331681445ad3766b333a8195d951e74c6e6", class: "subject" }, (r = this.thread) == null ? void 0 : r.subject), a("div", { key: "3cbd5fe0ffb99ed1648cff0fd1af5b3ff30d0848", 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: "a95eb69dbc861e3473f7d5f9fda4ff4ef4f8fdd3", 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
  }
@@ -1 +1 @@
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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-11f33e47.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:"1acaf767bd6da51d84f327b50133a009353e13e2",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"11dd37c0315df78171e75188d70100a9be512fad",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,12 +1,12 @@
1
- import { r as s, h as t } from "./index-a134f625.js";
1
+ import { r as e, h as t } from "./index-a282e817.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const o = ".sc-person-icon-h{display:flex}", r = o, C = class {
5
- constructor(e) {
6
- s(this, e), this.width = "14", this.height = "16";
5
+ constructor(s) {
6
+ e(this, s), this.width = "14", this.height = "16";
7
7
  }
8
8
  render() {
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" }));
9
+ return t("svg", { key: "1acaf767bd6da51d84f327b50133a009353e13e2", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "11dd37c0315df78171e75188d70100a9be512fad", 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;
@@ -1 +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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-11f33e47.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:"aaf8436c2734b8050426adf588b82c23fd532517",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"0b5fe250458b42fa9f53fa465e5678d8784ba79c",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:"df57509ac31c75b5f8ea227a6356b588bbbe5e42",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"75d4a6c7f65327dd2107bd4051609ebc300daa17",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,4 +1,4 @@
1
- import { r as o, h as t } from "./index-a134f625.js";
1
+ import { r as o, h as t } from "./index-a282e817.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const e = ".sc-play-icon-h{display:flex}", i = e, h = class {
@@ -6,7 +6,7 @@ const e = ".sc-play-icon-h{display:flex}", i = e, h = class {
6
6
  o(this, s), this.width = "15", this.height = "15";
7
7
  }
8
8
  render() {
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" }));
9
+ return t("svg", { key: "aaf8436c2734b8050426adf588b82c23fd532517", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "0b5fe250458b42fa9f53fa465e5678d8784ba79c", d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
10
10
  }
11
11
  };
12
12
  h.style = i;
@@ -15,7 +15,7 @@ const n = ".sc-stop-icon-h{display:flex}", c = n, r = class {
15
15
  o(this, s), this.width = "15", this.height = "15";
16
16
  }
17
17
  render() {
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" }));
18
+ return t("svg", { key: "df57509ac31c75b5f8ea227a6356b588bbbe5e42", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "75d4a6c7f65327dd2107bd4051609ebc300daa17", d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
19
19
  }
20
20
  };
21
21
  r.style = c;
package/dist/react.cjs CHANGED
@@ -1 +1 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-11f33e47.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.FeedbackIcon=o.FeedbackIcon;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.NylasFeedbackForm=o.NylasFeedbackForm;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,11 +1,11 @@
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";
1
+ import { a6 as e, a7 as l, a8 as c, a9 as i, 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 ca, a$ as ia, 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, bg as Ea, bh as Ta, N 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 cs, bQ as is, 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, cd as Ms, ce as Rs, a3 as As, a4 as Ds, a5 as xs, a2 as Gs } from "./index-a282e817.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
5
5
  e as AddCircleIcon,
6
6
  l as ArchiveIcon,
7
- i as ArrowIcon,
8
- c as BoldIcon,
7
+ c as ArrowIcon,
8
+ i as BoldIcon,
9
9
  t as ButtonComponent,
10
10
  r as CalendarAgendaFillIcon,
11
11
  b as CalendarAgendaIcon,
@@ -28,118 +28,120 @@ export {
28
28
  v as EnvelopeFillIcon,
29
29
  B as EnvelopeIcon,
30
30
  F as EyeIcon,
31
- L as FlowIcon,
32
- w as FolderIcon,
33
- M as ForwardIcon,
34
- R as GlobeIcon,
35
- A as GoogleLogoIcon,
36
- D as GoogleMeetIcon,
37
- x as InboxIcon,
38
- G as InfoIcon,
39
- z as InputColorPicker,
40
- W as InputComponent,
41
- O as InputDropdown,
42
- U as InputImageUrl,
43
- V as ItalicIcon,
44
- q as LoadingIcon,
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,
31
+ L as FeedbackIcon,
32
+ w as FlowIcon,
33
+ M as FolderIcon,
34
+ R as ForwardIcon,
35
+ A as GlobeIcon,
36
+ D as GoogleLogoIcon,
37
+ x as GoogleMeetIcon,
38
+ G as InboxIcon,
39
+ z as InfoIcon,
40
+ W as InputColorPicker,
41
+ O as InputComponent,
42
+ U as InputDropdown,
43
+ V as InputImageUrl,
44
+ q as ItalicIcon,
45
+ Z as LoadingIcon,
46
+ j as LocationIcon,
47
+ H as LocationOffIcon,
48
+ J as MicrosoftLogoIcon,
49
+ K as MicrosoftTeamsIcon,
50
+ Q as MultiSelectDropdown,
51
+ X as NylasAdditionalParticipants,
52
+ Y as NylasAvailabilityPicker,
53
+ _ as NylasBookedEventCard,
54
+ $ as NylasBookingCalendarPicker,
55
+ aa as NylasBookingConfirmationRedirect,
56
+ sa as NylasBookingConfirmationType,
57
+ oa as NylasBookingForm,
58
+ na as NylasBookingFormConfig,
59
+ ea as NylasBufferTime,
60
+ la as NylasCalendarPicker,
61
+ ca as NylasCancelBookingForm,
61
62
  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,
68
- Na as NylasCustomEventSlug,
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,
97
- Va as NylasParticipantBookingCalendars,
98
- qa as NylasParticipantsCustomAvailability,
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,
122
- Ns as RefreshIcon,
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
63
+ ta as NylasCancelledEventCard,
64
+ ra as NylasComposer,
65
+ ba as NylasConfirmationEmail,
66
+ ya as NylasConfirmedEventCard,
67
+ Ia as NylasConnectedCalendars,
68
+ Na as NylasCustomBookingFlow,
69
+ da as NylasCustomEventSlug,
70
+ Ca as NylasCustomizeBookingSettings,
71
+ ma as NylasDatePicker,
72
+ ga as NylasEditorTabs,
73
+ pa as NylasEventDescription,
74
+ ua as NylasEventDuration,
75
+ ka as NylasEventInfo,
76
+ ha as NylasEventLimits,
77
+ Pa as NylasEventLocation,
78
+ fa as NylasEventTitle,
79
+ Ea as NylasFeedbackForm,
80
+ Ta as NylasFormCard,
81
+ Sa as NylasIdentityRequestWrapper,
82
+ va as NylasIfState,
83
+ Ba as NylasLimitFutureBookings,
84
+ Fa as NylasListConfigurations,
85
+ La as NylasListFolders,
86
+ wa as NylasListThreads,
87
+ Ma as NylasLocaleSwitch,
88
+ Ra as NylasLogin,
89
+ Aa as NylasLogo,
90
+ Da as NylasMailbox,
91
+ xa as NylasMailboxPagination,
92
+ Ga as NylasMailboxToolbarButton,
93
+ za as NylasMinBookingNotice,
94
+ Wa as NylasMinCancellationNotice,
95
+ Oa as NylasNotification,
96
+ Ua as NylasOrganizerConfirmationCard,
97
+ Va as NylasPageName,
98
+ qa as NylasPageStyling,
99
+ Za as NylasParticipantBookingCalendars,
100
+ ja as NylasParticipantsCustomAvailability,
101
+ Ha as NylasProvider,
102
+ Ja as NylasReminderEmails,
103
+ Ka as NylasReminderTime,
104
+ Qa as NylasSchedulerEditor,
105
+ Xa as NylasScheduling,
106
+ Ya as NylasSchedulingMethod,
107
+ _a as NylasSelectedEventCard,
108
+ $a as NylasSummarizeMessageButton,
109
+ as as NylasThreadsRefresh,
110
+ ss as NylasThreadsSearch,
111
+ os as NylasTimeWindowPicker,
112
+ ns as NylasTimeslotInterval,
113
+ es as NylasTimeslotPicker,
114
+ ls as NylasViewEmail,
115
+ cs as NylasViewThread,
116
+ is as PaintbrushFillIcon,
117
+ ts as PaintbrushIcon,
118
+ rs as PeopleIcon,
119
+ bs as PersonClipboardIcon,
120
+ ys as PersonIcon,
121
+ Is as PlayIcon,
122
+ Ns as PlusIcon,
123
+ ds as RadioButtonGroup,
124
+ Cs as RefreshIcon,
125
+ ms as ReplyAllIcon,
126
+ gs as ReplyIcon,
127
+ ps as SearchIcon,
128
+ us as SelectDropdown,
129
+ ks as SentIcon,
130
+ hs as SpamIcon,
131
+ Ps as StarIcon,
132
+ fs as StopIcon,
133
+ Es as TextareaComponent,
134
+ Ts as TimePeriodSelector,
135
+ Ss as ToggleSwitch,
136
+ vs as TooltipComponent,
137
+ Bs as TranslateIcon,
138
+ Fs as TrashFillIcon,
139
+ Ls as TrashIcon,
140
+ ws as UnderlineIcon,
141
+ Ms as WarningIcon,
142
+ Rs as ZoomIcon,
143
+ As as applyPolyfills,
144
+ Ds as defineCustomElements,
145
+ xs as setNonce,
146
+ Gs as useNylasMailboxElement
145
147
  };
@@ -1,12 +1,12 @@
1
- import { r as t, h as c } from "./index-a134f625.js";
1
+ import { r as e, h as c } from "./index-a282e817.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- const e = ".sc-refresh-icon-h{display:flex}", l = e, h = class {
4
+ const t = ".sc-refresh-icon-h{display:flex}", l = t, h = class {
5
5
  constructor(s) {
6
- t(this, s), this.width = "15", this.height = "15";
6
+ e(this, s), this.width = "15", this.height = "15";
7
7
  }
8
8
  render() {
9
- return c("svg", { key: "6b97426e4b19084109dd6615f5bdc654a0020fb9", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "fc8867cd8e42697f0d4a3dac3dc0973cd0c29d65", d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" }));
9
+ return c("svg", { key: "4964fc3e3565544757b86f9e99cf30012f883401", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "1e4ff731a1d2ffba42d4210c742512f3981e2800", d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" }));
10
10
  }
11
11
  };
12
12
  h.style = l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-2a53b6a8.cjs");require("react");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",i=t,e=class{constructor(s){c.registerInstance(this,s),this.width="15",this.height="15"}render(){return c.h("svg",{key:"6b97426e4b19084109dd6615f5bdc654a0020fb9",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c.h("path",{key:"fc8867cd8e42697f0d4a3dac3dc0973cd0c29d65",d:"M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z"}))}};e.style=i;exports.refresh_icon=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-11f33e47.cjs");require("react");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",i=t,c=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"4964fc3e3565544757b86f9e99cf30012f883401",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"1e4ff731a1d2ffba42d4210c742512f3981e2800",d:"M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z"}))}};c.style=i;exports.refresh_icon=c;
@@ -1 +1 @@
1
- "use strict";const s=require("./index-2a53b6a8.cjs");function m(e,o,u="registerComponent"){return new CustomEvent(u,{bubbles:!0,composed:!0,detail:o})}function P(e,o,u="unregisterComponent"){return new CustomEvent(u,{bubbles:!0,composed:!0,detail:o})}function b(e){return(o,u)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${u}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),i=n.filter(c=>t.includes(c));if(i.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${i.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=s.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=s.getElement(this),i={element:t,...e,eventToProps:d},c=m(o,i,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=s.getElement(this),i={element:t,...e,eventToProps:d},c=P(o,i,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=b;
1
+ "use strict";const s=require("./index-11f33e47.cjs");function m(e,o,u="registerComponent"){return new CustomEvent(u,{bubbles:!0,composed:!0,detail:o})}function P(e,o,u="unregisterComponent"){return new CustomEvent(u,{bubbles:!0,composed:!0,detail:o})}function b(e){return(o,u)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${u}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),i=n.filter(c=>t.includes(c));if(i.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${i.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=s.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=s.getElement(this),i={element:t,...e,eventToProps:d},c=m(o,i,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=s.getElement(this),i={element:t,...e,eventToProps:d},c=P(o,i,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=b;
@@ -1,4 +1,4 @@
1
- import { d, Y as m, g as P } from "./index-a134f625.js";
1
+ import { d, Y as m, g as P } from "./index-a282e817.js";
2
2
  function b(e, o, i = "registerComponent") {
3
3
  return new CustomEvent(i, {
4
4
  bubbles: !0,
@@ -1 +1 @@
1
- "use strict";const o=require("./index-2a53b6a8.cjs");function s(n={}){const r={selectedConfiguration:{},configurations:[],listConfigurationsNextCursor:null,calendars:[],currentUser:null,action:null,additionalParticipants:[],hideEditorTabs:[],requiresSlug:!1,...n},e=o.createStore(r);function t(){e.set("selectedConfiguration",{...n.selectedConfiguration})}return e.onChange("action",async i=>{i||t()}),{...e,resetSelectedConfiguration:t}}exports.CreateNylasSchedulerConfigStore=s;
1
+ "use strict";const o=require("./index-11f33e47.cjs");function s(n={}){const r={selectedConfiguration:{},configurations:[],listConfigurationsNextCursor:null,calendars:[],currentUser:null,action:null,additionalParticipants:[],hideEditorTabs:[],requiresSlug:!1,...n},e=o.createStore(r);function t(){e.set("selectedConfiguration",{...n.selectedConfiguration})}return e.onChange("action",async i=>{i||t()}),{...e,resetSelectedConfiguration:t}}exports.CreateNylasSchedulerConfigStore=s;
@@ -1,4 +1,4 @@
1
- import { e as i } from "./index-a134f625.js";
1
+ import { e as i } from "./index-a282e817.js";
2
2
  function s(n = {}) {
3
3
  const o = {
4
4
  selectedConfiguration: {},
@@ -1,4 +1,4 @@
1
- import { d as b, e as $, k as d, m as R } from "./index-a134f625.js";
1
+ import { d as b, e as $, k as d, m as R } from "./index-a282e817.js";
2
2
  var w;
3
3
  (function(a) {
4
4
  a.Component = "component", a.Api = "api", a.Auth = "auth";
@@ -226,7 +226,7 @@ class U {
226
226
  const u = this.schedulerStore.get("availabilityOrderEmails");
227
227
  let m = "";
228
228
  if (u.length > 0) {
229
- const S = r.emails;
229
+ const S = (r == null ? void 0 : r.emails) || [];
230
230
  for (let h = 0; h < u.length; h++)
231
231
  if (S.includes(u[h])) {
232
232
  m = u[h];