@nylas/react 1.0.2-prealpha1 → 1.1.0-canary.10

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 (141) hide show
  1. package/dist/add-circle-icon_21.entry-125b87a0.js +1719 -0
  2. package/dist/add-circle-icon_21.entry-1a699a29.cjs +1 -0
  3. package/dist/{archive-icon_7.entry-91aaa1aa.js → archive-icon_7.entry-70efea56.js} +19 -19
  4. package/dist/{archive-icon_7.entry-84d70dbf.cjs → archive-icon_7.entry-a69d3d98.cjs} +1 -1
  5. package/dist/{arrow-icon.entry-400a08fa.cjs → arrow-icon.entry-0a07d7cc.cjs} +1 -1
  6. package/dist/{arrow-icon.entry-8b2e96a6.js → arrow-icon.entry-c9230436.js} +2 -2
  7. package/dist/{bold-icon_3.entry-4b2798a8.js → bold-icon_3.entry-54ff7799.js} +4 -4
  8. package/dist/{bold-icon_3.entry-9ad35153.cjs → bold-icon_3.entry-f7df4331.cjs} +1 -1
  9. package/dist/{calendar-cancel-icon.entry-fcb66929.cjs → calendar-cancel-icon.entry-71cc68e2.cjs} +1 -1
  10. package/dist/{calendar-cancel-icon.entry-83ba884a.js → calendar-cancel-icon.entry-e5157332.js} +5 -5
  11. package/dist/calendar-check-icon_2.entry-f02bf0fe.cjs +1 -0
  12. package/dist/calendar-check-icon_2.entry-f75ef95e.js +25 -0
  13. package/dist/{calendar-icon.entry-8f38af4a.js → calendar-icon.entry-67aa69f5.js} +5 -5
  14. package/dist/{calendar-icon.entry-7bae38d7.cjs → calendar-icon.entry-a164e957.cjs} +1 -1
  15. package/dist/chevron-icon_3.entry-7687ca7a.cjs +1 -0
  16. package/dist/chevron-icon_3.entry-81c68946.js +117 -0
  17. package/dist/close-icon.entry-147b4d47.cjs +1 -0
  18. package/dist/close-icon.entry-3325a08e.js +15 -0
  19. package/dist/{nylas-booked-event-card_10.entry-7e66a648.js → constants-f34b9c6e-21ac1910.js} +1665 -2374
  20. package/dist/{nylas-booked-event-card_10.entry-ed515326.cjs → constants-f34b9c6e-99030371.cjs} +6 -6
  21. package/dist/{document-refresh-icon.entry-9083a2e9.js → document-refresh-icon.entry-1b076630.js} +5 -5
  22. package/dist/document-refresh-icon.entry-dea23e07.cjs +1 -0
  23. package/dist/elements/index.d.ts +32 -2
  24. package/dist/{elements-dc5b338e-81a0319c.cjs → elements-dc5b338e-83c23e9b.cjs} +1 -1
  25. package/dist/{elements-dc5b338e-fb5dbfb5.js → elements-dc5b338e-c69d1f8a.js} +1 -1
  26. package/dist/focus-visible-e8093c16-3082af2c.cjs +1 -0
  27. package/dist/{focus-visible-e8093c16-28fc08a0.js → focus-visible-e8093c16-a6aff071.js} +5 -3
  28. package/dist/{forward-icon_6.entry-b60fcb35.js → forward-icon_6.entry-55fce1ca.js} +83 -85
  29. package/dist/forward-icon_6.entry-59c7a975.cjs +3 -0
  30. package/dist/{globe-icon.entry-e3fd373f.js → globe-icon.entry-25145785.js} +4 -4
  31. package/dist/{globe-icon.entry-8325e73e.cjs → globe-icon.entry-904f180f.cjs} +1 -1
  32. package/dist/google-logo-icon_4.entry-1f7b9522.js +387 -0
  33. package/dist/google-logo-icon_4.entry-feb7a561.cjs +1 -0
  34. package/dist/index-5f0940e0.cjs +37 -0
  35. package/dist/index-fd39ea9d.js +4042 -0
  36. package/dist/index.d.ts +3 -1
  37. package/dist/index.es-be19d2df-9ba9a7a6.cjs +7 -0
  38. package/dist/{index-b30d446a-a90f84b2.js → index.es-be19d2df-ff4f0a10.js} +945 -1041
  39. package/dist/info-icon_2.entry-0e2105da.js +34 -0
  40. package/dist/info-icon_2.entry-808e6516.cjs +1 -0
  41. package/dist/{loading-icon.entry-b2096d2b.cjs → loading-icon.entry-17efa7ca.cjs} +1 -1
  42. package/dist/{loading-icon.entry-27410cf8.js → loading-icon.entry-a3b845bf.js} +2 -2
  43. package/dist/{mailbox-store-19f0c6c9-e3e8b4e5.js → mailbox-store-76540d24-5f0d1dff.js} +2 -2
  44. package/dist/mailbox-store-76540d24-ad0e366a.cjs +1 -0
  45. package/dist/nylas-additional-participants.entry-4120ea2e.js +81 -0
  46. package/dist/nylas-additional-participants.entry-7e2446cb.cjs +1 -0
  47. package/dist/nylas-booked-event-card_10.entry-44812e35.cjs +1 -0
  48. package/dist/nylas-booked-event-card_10.entry-5e87b199.js +805 -0
  49. package/dist/nylas-custom-booking-flow.entry-cbff44c8.js +106 -0
  50. package/dist/nylas-custom-booking-flow.entry-da5e66bb.cjs +1 -0
  51. package/dist/nylas-form-card.entry-1c608edd.js +54 -0
  52. package/dist/nylas-form-card.entry-2e629e36.cjs +1 -0
  53. package/dist/nylas-if-state.entry-2c0d8724.js +94 -0
  54. package/dist/nylas-if-state.entry-61771f3d.cjs +1 -0
  55. package/dist/{nylas-list-folders.entry-a5437201.js → nylas-list-folders.entry-d6e085b0.js} +10 -11
  56. package/dist/nylas-list-folders.entry-fa8e8ce9.cjs +1 -0
  57. package/dist/{nylas-list-threads.entry-fd6cda61.js → nylas-list-threads.entry-4dd2de0a.js} +5 -6
  58. package/dist/nylas-list-threads.entry-99fc0baa.cjs +1 -0
  59. package/dist/nylas-login.entry-0ec0813c.cjs +1 -0
  60. package/dist/nylas-login.entry-6730e226.js +73 -0
  61. package/dist/{nylas-mailbox-pagination.entry-988214bc.js → nylas-mailbox-pagination.entry-5310880c.js} +7 -8
  62. package/dist/nylas-mailbox-pagination.entry-e3e52f42.cjs +1 -0
  63. package/dist/{nylas-mailbox-toolbar-button.entry-c720e22a.js → nylas-mailbox-toolbar-button.entry-028075db.js} +15 -16
  64. package/dist/nylas-mailbox-toolbar-button.entry-4c377337.cjs +1 -0
  65. package/dist/nylas-mailbox.entry-87304850.cjs +1 -0
  66. package/dist/nylas-mailbox.entry-ab92780c.js +134 -0
  67. package/dist/nylas-provider.entry-3fb60fe4.cjs +1 -0
  68. package/dist/{nylas-provider.entry-70721009.js → nylas-provider.entry-678a9fe7.js} +40 -29
  69. package/dist/nylas-scheduler-editor.entry-a0de0ae6.js +2269 -0
  70. package/dist/nylas-scheduler-editor.entry-cf19391e.cjs +7 -0
  71. package/dist/nylas-scheduling.entry-d8bb2648.cjs +1 -0
  72. package/dist/nylas-scheduling.entry-e38c3870.js +248 -0
  73. package/dist/nylas-threads-refresh.entry-79c8a061.cjs +1 -0
  74. package/dist/{nylas-threads-refresh.entry-b7f9e93f.js → nylas-threads-refresh.entry-fcb2175f.js} +4 -5
  75. package/dist/{nylas-threads-search.entry-95afea9c.js → nylas-threads-search.entry-7565bdf8.js} +4 -5
  76. package/dist/nylas-threads-search.entry-f2d5d0fb.cjs +1 -0
  77. package/dist/{nylas-view-thread.entry-165173b1.js → nylas-view-thread.entry-1772e0c4.js} +10 -11
  78. package/dist/nylas-view-thread.entry-6a2ccece.cjs +1 -0
  79. package/dist/people-icon.entry-3218a267.cjs +1 -0
  80. package/dist/people-icon.entry-bc2c70cf.js +15 -0
  81. package/dist/play-icon_2.entry-450a7fa6.cjs +1 -0
  82. package/dist/play-icon_2.entry-b4dc4e6d.js +25 -0
  83. package/dist/react.cjs +1 -1
  84. package/dist/react.js +94 -62
  85. package/dist/{refresh-icon.entry-601cac89.cjs → refresh-icon.entry-030dda82.cjs} +1 -1
  86. package/dist/{refresh-icon.entry-e48a338f.js → refresh-icon.entry-d30c7264.js} +5 -5
  87. package/dist/register-component-83e24412-0b25de7f.cjs +1 -0
  88. package/dist/{register-component-152c6ad2-a06f58c2.js → register-component-83e24412-35c484c4.js} +37 -33
  89. package/dist/scheduler-config-store-ec3b6190-6d8cef0f.cjs +1 -0
  90. package/dist/scheduler-config-store-ec3b6190-d5edbae5.js +23 -0
  91. package/dist/scheduler-store-8ca9003d-38cca5ba.js +321 -0
  92. package/dist/scheduler-store-8ca9003d-c2aa3522.cjs +1 -0
  93. package/dist/time-period-selector.entry-b366ba86.js +76 -0
  94. package/dist/time-period-selector.entry-b3d04e93.cjs +1 -0
  95. package/dist/translate-icon.entry-03ab2513.cjs +1 -0
  96. package/dist/translate-icon.entry-b3c21ae9.js +15 -0
  97. package/dist/warning-icon.entry-602d459b.js +15 -0
  98. package/dist/warning-icon.entry-65ecfdf0.cjs +1 -0
  99. package/package.json +7 -4
  100. package/dist/_commonjsHelpers-57e89916-4a3ae7d8.cjs +0 -1
  101. package/dist/_commonjsHelpers-57e89916-af061c86.js +0 -19
  102. package/dist/add-circle-icon.entry-2ccb238b.cjs +0 -1
  103. package/dist/add-circle-icon.entry-35d6aa07.js +0 -15
  104. package/dist/calendar-check-icon_3.entry-903e2d82.js +0 -35
  105. package/dist/calendar-check-icon_3.entry-a16ce05e.cjs +0 -1
  106. package/dist/chevron-icon.entry-58366662.cjs +0 -1
  107. package/dist/chevron-icon.entry-5e11cef5.js +0 -15
  108. package/dist/close-icon_2.entry-011d9cf4.js +0 -25
  109. package/dist/close-icon_2.entry-83088b9a.cjs +0 -1
  110. package/dist/document-refresh-icon.entry-071ffd66.cjs +0 -1
  111. package/dist/duration-bddc4a13-05d3e3e2.cjs +0 -1
  112. package/dist/duration-bddc4a13-179ce826.js +0 -41
  113. package/dist/focus-visible-e8093c16-f380b705.cjs +0 -1
  114. package/dist/forward-icon_6.entry-3345af84.cjs +0 -3
  115. package/dist/index-3b6f5cd5.cjs +0 -30
  116. package/dist/index-630f4e87.js +0 -1498
  117. package/dist/index-b30d446a-cbbef925.cjs +0 -7
  118. package/dist/mailbox-store-19f0c6c9-a0cbfa97.cjs +0 -1
  119. package/dist/nylas-if-state_3.entry-504be976.cjs +0 -1
  120. package/dist/nylas-if-state_3.entry-e96d01f1.js +0 -291
  121. package/dist/nylas-list-folders.entry-866361cc.cjs +0 -1
  122. package/dist/nylas-list-threads.entry-04989295.cjs +0 -1
  123. package/dist/nylas-mailbox-pagination.entry-e0bd4aef.cjs +0 -1
  124. package/dist/nylas-mailbox-toolbar-button.entry-3d772b26.cjs +0 -1
  125. package/dist/nylas-open-hours-picker.entry-6bdc7c73.js +0 -186
  126. package/dist/nylas-open-hours-picker.entry-881b6db7.cjs +0 -1
  127. package/dist/nylas-provider.entry-8d9a844b.cjs +0 -1
  128. package/dist/nylas-scheduler.entry-7321e18f.js +0 -230
  129. package/dist/nylas-scheduler.entry-e82977fb.cjs +0 -1
  130. package/dist/nylas-threads-refresh.entry-477e68e4.cjs +0 -1
  131. package/dist/nylas-threads-search.entry-c5854641.cjs +0 -1
  132. package/dist/nylas-view-thread.entry-8b72cbdb.cjs +0 -1
  133. package/dist/play-icon_2.entry-ed5877e3.js +0 -25
  134. package/dist/play-icon_2.entry-f23ed6c1.cjs +0 -1
  135. package/dist/register-component-152c6ad2-0df7215b.cjs +0 -1
  136. package/dist/scheduler-store-7d48e682-0c0c3991.js +0 -289
  137. package/dist/scheduler-store-7d48e682-674705ef.cjs +0 -1
  138. package/dist/search-icon_3.entry-292138c3.js +0 -101
  139. package/dist/search-icon_3.entry-8e555357.cjs +0 -1
  140. package/dist/utils-5074a070-ce33ee6b.js +0 -119
  141. package/dist/utils-5074a070-d5ba6add.cjs +0 -2
@@ -1,22 +1,21 @@
1
- import { r as f, h as l, H as b, g as m } from "./index-630f4e87.js";
2
- import { R as u } from "./register-component-152c6ad2-a06f58c2.js";
3
- import { d as c } from "./utils-5074a070-ce33ee6b.js";
1
+ import { r as f, d as c, h as l, H as y, g as u } from "./index-fd39ea9d.js";
2
+ import { R as m } from "./register-component-83e24412-35c484c4.js";
4
3
  import "react";
5
4
  import "react-dom";
6
- const p = ":host{display:block}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)}sp-button:hover{background-color:var(--nylas-color-primary-500)}sp-button:disabled{background-color:var(--nylas-color-primary-200);color:var(--nylas-color-primary-600);cursor:not-allowed}", h = p;
5
+ const h = ":host{display:block}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)}sp-button:hover{background-color:var(--nylas-color-primary-500)}sp-button:disabled{background-color:var(--nylas-color-primary-200);color:var(--nylas-color-primary-600);cursor:not-allowed}", p = h;
7
6
  var g = function(t, o, e, n) {
8
- var r = arguments.length, a = r < 3 ? o : n === null ? n = Object.getOwnPropertyDescriptor(o, e) : n, i;
7
+ var r = arguments.length, a = r < 3 ? o : n === null ? n = Object.getOwnPropertyDescriptor(o, e) : n, s;
9
8
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
10
9
  a = Reflect.decorate(t, o, e, n);
11
10
  else
12
- for (var s = t.length - 1; s >= 0; s--)
13
- (i = t[s]) && (a = (r < 3 ? i(a) : r > 3 ? i(o, e, a) : i(o, e)) || a);
11
+ for (var i = t.length - 1; i >= 0; i--)
12
+ (s = t[i]) && (a = (r < 3 ? s(a) : r > 3 ? s(o, e, a) : s(o, e)) || a);
14
13
  return r > 3 && a && Object.defineProperty(o, e, a), a;
15
14
  }, d = function(t, o) {
16
15
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
17
16
  return Reflect.metadata(t, o);
18
17
  };
19
- const y = class {
18
+ const b = class {
20
19
  constructor(t) {
21
20
  f(this, t), this.onClick = async () => {
22
21
  const o = this.method;
@@ -39,8 +38,8 @@ const y = class {
39
38
  callMethod(t, o) {
40
39
  const e = o.split(".");
41
40
  let n = t;
42
- for (const i of e.slice(0, -1))
43
- if (n = n[i], !n)
41
+ for (const s of e.slice(0, -1))
42
+ if (n = n[s], !n)
44
43
  return;
45
44
  const r = e[e.length - 1], a = n[r];
46
45
  if (typeof a == "function")
@@ -61,14 +60,14 @@ const y = class {
61
60
  t = this.dataState ? o.get(r) === "loading" : !1;
62
61
  }
63
62
  const e = t ? "state-loading" : "state-ready";
64
- return l(b, { key: "a54c99a0881643686516cecb59f8f945ba8e3ef1" }, l("sp-theme", { key: "075773f3a5e9c354bae00d01c70d3b458cc40961", scale: "medium", color: "dark" }, l("sp-button", { onClick: this.onClick, disabled: t, key: e, "icon-only": this.iconOnly, label: this.renderByState(t) }, this.hasSlot("icon") && l("div", { slot: "icon", class: "slot" }, l("slot", { name: "icon" })), !this.iconOnly && this.renderByState(t))));
63
+ return l(y, { key: "2454ef2e4270d1642cabe57dacf53908fcdb34e6" }, l("sp-theme", { key: "97d71094fabc3466b87142dfdd1d0bb22659fd32", scale: "medium", color: "dark" }, l("sp-button", { onClick: this.onClick, disabled: t, key: e, "icon-only": this.iconOnly, label: this.renderByState(t) }, this.hasSlot("icon") && l("div", { slot: "icon", class: "slot" }, l("slot", { name: "icon" })), !this.iconOnly && this.renderByState(t))));
65
64
  }
66
65
  get host() {
67
- return m(this);
66
+ return u(this);
68
67
  }
69
68
  };
70
69
  g([
71
- u({
70
+ m({
72
71
  name: "nylas-mailbox-toolbar-button",
73
72
  connectorToProp: "mailboxConnector",
74
73
  fireRegisterEvent: !0
@@ -76,8 +75,8 @@ g([
76
75
  d("design:type", Function),
77
76
  d("design:paramtypes", []),
78
77
  d("design:returntype", void 0)
79
- ], y.prototype, "render", null);
80
- y.style = h;
78
+ ], b.prototype, "render", null);
79
+ b.style = p;
81
80
  export {
82
- y as nylas_mailbox_toolbar_button
81
+ b as nylas_mailbox_toolbar_button
83
82
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-5f0940e0.cjs"),u=require("./register-component-83e24412-0b25de7f.cjs");require("react");require("react-dom");const b=":host{display:block}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)}sp-button:hover{background-color:var(--nylas-color-primary-500)}sp-button:disabled{background-color:var(--nylas-color-primary-200);color:var(--nylas-color-primary-600);cursor:not-allowed}",y=b;var f=function(t,o,e,n){var l=arguments.length,a=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,o,e,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(l<3?i(a):l>3?i(o,e,a):i(o,e))||a);return l>3&&a&&Object.defineProperty(o,e,a),a},c=function(t,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,o)};const d=class{constructor(t){r.registerInstance(this,t),this.onClick=async()=>{const o=this.method;if(r.debug("[nylas-mailbox-toolbar-button] onClick",{method:o,mailboxConnector:this.mailboxConnector}),this.mailboxConnector&&o){const e=this.callMethod(this.mailboxConnector,o);e&&await e()}},this.method=void 0,this.dataState=void 0,this.iconOnly=!1,this.mailboxConnector=void 0}connectedCallback(){}disconnectedCallback(){}async componentWillLoad(){r.debug("[nylas-if-state] Component will load")}async componentDidLoad(){r.debug("[nylas-if-state] Component did load")}callMethod(t,o){const e=o.split(".");let n=t;for(const i of e.slice(0,-1))if(n=n[i],!n)return;const l=e[e.length-1],a=n[l];if(typeof a=="function")return a.bind(n)}renderByState(t){return t?r.h("slot",{name:"loading"},"Loading..."):r.h("slot",null,"Click")}hasSlot(t){return!!this.host.querySelector(`[slot="${t}"]`)}render(){var n;let t=!1;const o=(n=this.mailboxConnector)==null?void 0:n.nylasMailboxStore;if(typeof o<"u"){const l=String(this.dataState);t=this.dataState?o.get(l)==="loading":!1}const e=t?"state-loading":"state-ready";return r.h(r.Host,{key:"2454ef2e4270d1642cabe57dacf53908fcdb34e6"},r.h("sp-theme",{key:"97d71094fabc3466b87142dfdd1d0bb22659fd32",scale:"medium",color:"dark"},r.h("sp-button",{onClick:this.onClick,disabled:t,key:e,"icon-only":this.iconOnly,label:this.renderByState(t)},this.hasSlot("icon")&&r.h("div",{slot:"icon",class:"slot"},r.h("slot",{name:"icon"})),!this.iconOnly&&this.renderByState(t))))}get host(){return r.getElement(this)}};f([u.RegisterComponent({name:"nylas-mailbox-toolbar-button",connectorToProp:"mailboxConnector",fireRegisterEvent:!0}),c("design:type",Function),c("design:paramtypes",[]),c("design:returntype",void 0)],d.prototype,"render",null);d.style=y;exports.nylas_mailbox_toolbar_button=d;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-5f0940e0.cjs"),m=require("./index.es-be19d2df-9ba9a7a6.cjs"),n=require("./mailbox-store-76540d24-ad0e366a.cjs");require("react");require("react-dom");class v{constructor(e,o,r,l){this.router=e,this.nylasAuth=o,this.nylasAuthStore=r,this.nylasMailboxStore=l}init(){s.debug("NylasMailboxConnector init")}get mailboxStore(){return this.nylasMailboxStore}get authStore(){return this.nylasAuthStore}get auth(){return this._authConnector?this._authConnector:(this._authConnector=new n.NylasAuthConnector(this.nylasAuth,this.nylasAuthStore),this._authConnector)}get threads(){return this._threadConnector?this._threadConnector:(this._threadConnector=new n.NylasThreadsConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore,this.router),this._threadConnector)}get messages(){return this._messageConnector?this._messageConnector:(this._messageConnector=new n.NylasMessagesConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore),this._messageConnector)}get folders(){return this._foldersConnector?this._foldersConnector:(this._foldersConnector=new n.NylasFoldersConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore),this._foldersConnector)}getAuth(){return this.nylasAuth}resetStores(){this.nylasMailboxStore.reset(),this.nylasAuthStore.reset()}async logout(){await this.nylasAuth.logout(),this.resetStores()}}const _=":host{display:contents}",p=_,x=class{constructor(t){s.registerInstance(this,t),this.init=s.createEvent(this,"init",7),this.loggedIn=s.createEvent(this,"loggedIn",7),this.loggedOut=s.createEvent(this,"loggedOut",7),this.handleAuthChange=async e=>{var o;e?this.loggedIn.emit(this.host):this.loggedOut.emit(this.host).defaultPrevented||await((o=this.nylasMailboxConnector)==null?void 0:o.logout())},this.automaticComponentRegistration=!0,this.eventOverrides={},this.authConfig=void 0,this.defaultAuthStoreState=void 0,this.defaultMailboxStoreState=void 0}connectedCallback(){s.debug("[nylas-mailbox] connectedCallback")}async componentWillLoad(){var r,l,u,c,y,g,b;this.stores={auth:n.CreateNylasAuthStore(this.defaultAuthStoreState),mailbox:n.CreateNylasMailboxStore(this.defaultMailboxStoreState)},this.baseProvider=new m.NylasBaseProvider(this.host,this.stores,this.automaticComponentRegistration,this.eventOverrides),this.router=new n.HashRouter,this.nylasAuth=m.es({apiUri:"https://api.us.nylas.com",elementsApiUri:"https://elements.us.nylas.com",storageType:"indexeddb",clientId:"YOUR_CLIENT_ID",defaultScopes:[],redirectURI:"/",...this.authConfig});const t=(r=this.baseProvider)==null?void 0:r.getStore("auth");if(!t)throw new Error("Auth store is not defined");const e=(l=this.baseProvider)==null?void 0:l.getStore("mailbox");if(!e)throw new Error("Mailbox store is not defined");this.nylasMailboxConnector=new v(this.router,this.nylasAuth,t,e),this.init.emit(this.host).defaultPrevented||await((u=this.nylasMailboxConnector)==null?void 0:u.auth.validateSession()),(c=this.router)==null||c.addRouteChangeListener("/thread/:threadId",async(A,M,C)=>{var a,h;const d=C.threadId,i=await((a=this.nylasMailboxConnector)==null?void 0:a.threads.getThread(d));i&&((h=this.nylasMailboxConnector)==null||h.mailboxStore.set("selectedThread",i))}),(y=this.router)==null||y.addRouteChangeListener("/",async(A,M,C)=>{var i,a,h,S;if(!t.state.isAuthenticated)return;(i=this.nylasMailboxConnector)==null||i.threads.unSelectThread(),(a=this.nylasMailboxConnector)==null||a.folders.getFolders();const d=window.location.hash.split("?")[1];if(d){const f=new URLSearchParams(d).get("query");f&&await((h=this.nylasMailboxConnector)==null?void 0:h.threads.getThreads({search_query_native:f,page_token:void 0}))}else(S=this.nylasMailboxConnector)==null||S.threads.getThreads()}),(g=this.router)==null||g.init(),this.handleAuthChange(t.state.isAuthenticated),(b=this.baseProvider)==null||b.componentWillLoad(this.nylasMailboxConnector)}async componentDidLoad(){var e,o;const t=(e=this.baseProvider)==null?void 0:e.getStore("auth");if(!t)throw new Error("Auth store is not defined");t.onChange("isAuthenticated",this.handleAuthChange),(o=this.baseProvider)==null||o.componentDidLoad()}componentDisconnected(){var t;(t=this.baseProvider)==null||t.componentDisconnected()}async registerComponentHandler(t){var e;(e=this.baseProvider)==null||e.registerComponent(t.detail)}async unregisterComponentHandler(t){var e;(e=this.baseProvider)==null||e.unregisterComponent(t.detail)}async getMailboxStore(){var t;return(t=this.baseProvider)==null?void 0:t.getStore("mailbox")}async getAuthStore(){var t;return(t=this.baseProvider)==null?void 0:t.getStore("auth")}async getNylasAuth(){return this.nylasAuth}async getNylasMailboxConnector(){return this.nylasMailboxConnector}render(){return s.h(s.Host,{key:"662c4d3f763c5cf9db31c4d2ba26bcdf47ead164"},s.h("slot",{key:"5c2b75a569779dd2af6388648a4304721e82ba76"}))}get host(){return s.getElement(this)}};x.style=p;exports.nylas_mailbox=x;
@@ -0,0 +1,134 @@
1
+ import { r as p, c as l, d as S, h as f, H as M, g as _ } from "./index-fd39ea9d.js";
2
+ import { N as v, e as w } from "./index.es-be19d2df-ff4f0a10.js";
3
+ import { C as P, a as N, H as I, N as E, b as L, c as O, d as R } from "./mailbox-store-76540d24-5f0d1dff.js";
4
+ import "react";
5
+ import "react-dom";
6
+ class T {
7
+ constructor(e, s, o, i) {
8
+ this.router = e, this.nylasAuth = s, this.nylasAuthStore = o, this.nylasMailboxStore = i;
9
+ }
10
+ init() {
11
+ S("NylasMailboxConnector init");
12
+ }
13
+ get mailboxStore() {
14
+ return this.nylasMailboxStore;
15
+ }
16
+ get authStore() {
17
+ return this.nylasAuthStore;
18
+ }
19
+ get auth() {
20
+ return this._authConnector ? this._authConnector : (this._authConnector = new E(this.nylasAuth, this.nylasAuthStore), this._authConnector);
21
+ }
22
+ get threads() {
23
+ return this._threadConnector ? this._threadConnector : (this._threadConnector = new L(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore, this.router), this._threadConnector);
24
+ }
25
+ get messages() {
26
+ return this._messageConnector ? this._messageConnector : (this._messageConnector = new O(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._messageConnector);
27
+ }
28
+ get folders() {
29
+ return this._foldersConnector ? this._foldersConnector : (this._foldersConnector = new R(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._foldersConnector);
30
+ }
31
+ getAuth() {
32
+ return this.nylasAuth;
33
+ }
34
+ resetStores() {
35
+ this.nylasMailboxStore.reset(), this.nylasAuthStore.reset();
36
+ }
37
+ async logout() {
38
+ await this.nylasAuth.logout(), this.resetStores();
39
+ }
40
+ }
41
+ const H = ":host{display:contents}", k = H, D = class {
42
+ constructor(t) {
43
+ p(this, t), this.init = l(this, "init", 7), this.loggedIn = l(this, "loggedIn", 7), this.loggedOut = l(this, "loggedOut", 7), this.handleAuthChange = async (e) => {
44
+ var s;
45
+ e ? this.loggedIn.emit(this.host) : this.loggedOut.emit(this.host).defaultPrevented || await ((s = this.nylasMailboxConnector) == null ? void 0 : s.logout());
46
+ }, this.automaticComponentRegistration = !0, this.eventOverrides = {}, this.authConfig = void 0, this.defaultAuthStoreState = void 0, this.defaultMailboxStoreState = void 0;
47
+ }
48
+ connectedCallback() {
49
+ S("[nylas-mailbox] connectedCallback");
50
+ }
51
+ async componentWillLoad() {
52
+ var o, i, d, u, c, y, g;
53
+ this.stores = {
54
+ auth: P(this.defaultAuthStoreState),
55
+ mailbox: N(this.defaultMailboxStoreState)
56
+ }, this.baseProvider = new v(this.host, this.stores, this.automaticComponentRegistration, this.eventOverrides), this.router = new I(), this.nylasAuth = w({
57
+ apiUri: "https://api.us.nylas.com",
58
+ elementsApiUri: "https://elements.us.nylas.com",
59
+ storageType: "indexeddb",
60
+ clientId: "YOUR_CLIENT_ID",
61
+ defaultScopes: [],
62
+ redirectURI: "/",
63
+ ...this.authConfig
64
+ });
65
+ const t = (o = this.baseProvider) == null ? void 0 : o.getStore("auth");
66
+ if (!t)
67
+ throw new Error("Auth store is not defined");
68
+ const e = (i = this.baseProvider) == null ? void 0 : i.getStore("mailbox");
69
+ if (!e)
70
+ throw new Error("Mailbox store is not defined");
71
+ this.nylasMailboxConnector = new T(this.router, this.nylasAuth, t, e), this.init.emit(this.host).defaultPrevented || await ((d = this.nylasMailboxConnector) == null ? void 0 : d.auth.validateSession()), (u = this.router) == null || u.addRouteChangeListener("/thread/:threadId", async (x, A, b) => {
72
+ var a, r;
73
+ const h = b.threadId, n = await ((a = this.nylasMailboxConnector) == null ? void 0 : a.threads.getThread(h));
74
+ n && ((r = this.nylasMailboxConnector) == null || r.mailboxStore.set("selectedThread", n));
75
+ }), (c = this.router) == null || c.addRouteChangeListener("/", async (x, A, b) => {
76
+ var n, a, r, C;
77
+ if (!t.state.isAuthenticated)
78
+ return;
79
+ (n = this.nylasMailboxConnector) == null || n.threads.unSelectThread(), (a = this.nylasMailboxConnector) == null || a.folders.getFolders();
80
+ const h = window.location.hash.split("?")[1];
81
+ if (h) {
82
+ const m = new URLSearchParams(h).get("query");
83
+ m && await ((r = this.nylasMailboxConnector) == null ? void 0 : r.threads.getThreads({
84
+ search_query_native: m,
85
+ page_token: void 0
86
+ }));
87
+ } else
88
+ (C = this.nylasMailboxConnector) == null || C.threads.getThreads();
89
+ }), (y = this.router) == null || y.init(), this.handleAuthChange(t.state.isAuthenticated), (g = this.baseProvider) == null || g.componentWillLoad(this.nylasMailboxConnector);
90
+ }
91
+ async componentDidLoad() {
92
+ var e, s;
93
+ const t = (e = this.baseProvider) == null ? void 0 : e.getStore("auth");
94
+ if (!t)
95
+ throw new Error("Auth store is not defined");
96
+ t.onChange("isAuthenticated", this.handleAuthChange), (s = this.baseProvider) == null || s.componentDidLoad();
97
+ }
98
+ componentDisconnected() {
99
+ var t;
100
+ (t = this.baseProvider) == null || t.componentDisconnected();
101
+ }
102
+ async registerComponentHandler(t) {
103
+ var e;
104
+ (e = this.baseProvider) == null || e.registerComponent(t.detail);
105
+ }
106
+ async unregisterComponentHandler(t) {
107
+ var e;
108
+ (e = this.baseProvider) == null || e.unregisterComponent(t.detail);
109
+ }
110
+ async getMailboxStore() {
111
+ var t;
112
+ return (t = this.baseProvider) == null ? void 0 : t.getStore("mailbox");
113
+ }
114
+ async getAuthStore() {
115
+ var t;
116
+ return (t = this.baseProvider) == null ? void 0 : t.getStore("auth");
117
+ }
118
+ async getNylasAuth() {
119
+ return this.nylasAuth;
120
+ }
121
+ async getNylasMailboxConnector() {
122
+ return this.nylasMailboxConnector;
123
+ }
124
+ render() {
125
+ return f(M, { key: "662c4d3f763c5cf9db31c4d2ba26bcdf47ead164" }, f("slot", { key: "5c2b75a569779dd2af6388648a4304721e82ba76" }));
126
+ }
127
+ get host() {
128
+ return _(this);
129
+ }
130
+ };
131
+ D.style = k;
132
+ export {
133
+ D as nylas_mailbox
134
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-5f0940e0.cjs"),g=require("./index.es-be19d2df-9ba9a7a6.cjs"),o=require("./mailbox-store-76540d24-ad0e366a.cjs"),S=require("./scheduler-store-8ca9003d-c2aa3522.cjs"),b=require("./scheduler-config-store-ec3b6190-6d8cef0f.cjs");require("react");require("react-dom");class f{constructor(t,r,n,i,l,h,a="https://api.us.nylas.com"){this.router=t,this.schedulerAPIURL=a,this.nylasAuth=r,this.nylasAuthStore=n,this.nylasMailboxStore=i,this.nylasSchedulerStore=l,this.nylasSchedulerConfigStore=h}init(){s.debug("NylasConnector init")}get authStore(){return this.nylasAuthStore}get mailboxStore(){return this.nylasMailboxStore}get schedulerStore(){return this.nylasSchedulerStore}get schedulerConfigStore(){return this.nylasSchedulerConfigStore}get auth(){return this._authConnector?this._authConnector:(this._authConnector=new o.NylasAuthConnector(this.nylasAuth,this.nylasAuthStore),this._authConnector)}get threads(){return this._threadConnector?this._threadConnector:(this._threadConnector=new o.NylasThreadsConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore,this.router),this._threadConnector)}get messages(){return this._messageConnector?this._messageConnector:(this._messageConnector=new o.NylasMessagesConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore),this._messageConnector)}get folders(){return this._foldersConnector?this._foldersConnector:(this._foldersConnector=new o.NylasFoldersConnector(this.nylasAuth,this.nylasAuthStore,this.nylasMailboxStore),this._foldersConnector)}get scheduler(){return this._schedulerAPIConnector?this._schedulerAPIConnector:(this._schedulerAPIConnector=new S.NylaSchedulerAPIConnector({schedulerAPIURL:this.schedulerAPIURL,schedulerStore:this.schedulerStore}),this._schedulerAPIConnector)}getAuth(){return this.nylasAuth}resetStores(){this.nylasAuthStore.reset(),this.nylasMailboxStore.reset()}async logout(){await this.nylasAuth.logout(),this.resetStores()}}const m=":host{display:contents}",A=m,C=class{constructor(e){s.registerInstance(this,e),this.init=s.createEvent(this,"init",7),this.loggedIn=s.createEvent(this,"loggedIn",7),this.loggedOut=s.createEvent(this,"loggedOut",7),this.handleAuthChange=async t=>{t?this.loggedIn.emit(this.host):this.loggedOut.emit(this.host)},this.authConfig=void 0,this.eventOverrides={},this.automaticComponentRegistration=!0}connectedCallback(){s.debug("[nylas-provider] connectedCallback")}async componentWillLoad(){var h,a,c,u,d,y;s.debug("[nylas-provider] componentWillLoad"),this.stores={auth:o.CreateNylasAuthStore(),mailbox:o.CreateNylasMailboxStore(),scheduler:S.CreateNylasSchedulerStore(),schedulerConfig:b.CreateNylasSchedulerConfigStore()},this.baseProvider=new g.NylasBaseProvider(this.host,this.stores,this.automaticComponentRegistration,this.eventOverrides);const e=new o.HashRouter;this.nylasAuth=g.es({apiUri:"https://api.us.nylas.com",elementsApiUri:"https://elements.us.nylas.com",storageType:"indexeddb",clientId:"YOUR_CLIENT_ID",defaultScopes:[],redirectURI:"/",...this.authConfig});const t=(h=this.baseProvider)==null?void 0:h.getStore("mailbox");if(!t)throw new Error("The mailbox store is not set");const r=(a=this.baseProvider)==null?void 0:a.getStore("auth");if(!r)throw new Error("The auth store is not set");const n=(c=this.baseProvider)==null?void 0:c.getStore("scheduler");if(!n)throw new Error("The scheduler store is not set");const i=(u=this.baseProvider)==null?void 0:u.getStore("schedulerConfig");if(!i)throw new Error("The scheduler config store is not set");this.nylasConnector=new f(e,this.nylasAuth,r,t,n,i),this.init.emit(this.host).defaultPrevented||await((d=this.nylasConnector)==null?void 0:d.auth.validateSession()),this.handleAuthChange(r.state.isAuthenticated),(y=this.baseProvider)==null||y.componentWillLoad(this.nylasConnector)}componentDidLoad(){var t,r;const e=(t=this.baseProvider)==null?void 0:t.getStore("auth");e==null||e.onChange("isAuthenticated",this.handleAuthChange),(r=this.baseProvider)==null||r.componentDidLoad()}componentDisconnected(){var e;(e=this.baseProvider)==null||e.componentDisconnected()}async registerComponentHandler(e){var t;(t=this.baseProvider)==null||t.registerComponent(e.detail)}async unregisterComponentHandler(e){var t;(t=this.baseProvider)==null||t.unregisterComponent(e.detail)}async getNylasAuth(){return this.nylasAuth}async getNylasConnector(){return this.nylasConnector}async getMailboxStore(){var e;return(e=this.baseProvider)==null?void 0:e.getStore("mailbox")}async getAuthStore(){var e;return(e=this.baseProvider)==null?void 0:e.getStore("auth")}async getNylasSchedulerStore(){var e;return(e=this.baseProvider)==null?void 0:e.getStore("scheduler")}async getNylasSchedulerConfigStore(){var e;return(e=this.baseProvider)==null?void 0:e.getStore("schedulerConfig")}render(){return s.h(s.Host,{key:"782d47608825fb870d87153c8d43d778dc6c2b87"},s.h("slot",{key:"2b01537d9d4a0cf4c81ad0b77ce3e6d761f3e1db"}))}get host(){return s.getElement(this)}};C.style=A;exports.nylas_provider=C;
@@ -1,13 +1,13 @@
1
- import { r as y, c as i, h as d, H as g, g as C } from "./index-630f4e87.js";
2
- import { N as m, e as S } from "./index-b30d446a-a90f84b2.js";
3
- import { d as a } from "./utils-5074a070-ce33ee6b.js";
4
- import { C as A, a as b, H as p, N as f, b as v, c as P, d as _ } from "./mailbox-store-19f0c6c9-e3e8b4e5.js";
5
- import { C as N, N as w } from "./scheduler-store-7d48e682-0c0c3991.js";
1
+ import { r as C, c as h, d as a, h as g, H as S, g as m } from "./index-fd39ea9d.js";
2
+ import { N as b, e as f } from "./index.es-be19d2df-ff4f0a10.js";
3
+ import { C as A, a as p, H as v, N as P, b as _, c as N, d as w } from "./mailbox-store-76540d24-5f0d1dff.js";
4
+ import { C as x, N as I } from "./scheduler-store-8ca9003d-38cca5ba.js";
5
+ import { C as M } from "./scheduler-config-store-ec3b6190-d5edbae5.js";
6
6
  import "react";
7
7
  import "react-dom";
8
- class x {
9
- constructor(e, s, r, h, o, n = "https://scheduler.nylas.com") {
10
- this.router = e, this.schedulerAPIURL = n, this.nylasAuth = s, this.nylasAuthStore = r, this.nylasMailboxStore = h, this.nylasSchedulerStore = o;
8
+ class E {
9
+ constructor(e, s, r, o, l, n, i = "https://api.us.nylas.com") {
10
+ this.router = e, this.schedulerAPIURL = i, this.nylasAuth = s, this.nylasAuthStore = r, this.nylasMailboxStore = o, this.nylasSchedulerStore = l, this.nylasSchedulerConfigStore = n;
11
11
  }
12
12
  init() {
13
13
  a("NylasConnector init");
@@ -21,20 +21,23 @@ class x {
21
21
  get schedulerStore() {
22
22
  return this.nylasSchedulerStore;
23
23
  }
24
+ get schedulerConfigStore() {
25
+ return this.nylasSchedulerConfigStore;
26
+ }
24
27
  get auth() {
25
- return this._authConnector ? this._authConnector : (this._authConnector = new f(this.nylasAuth, this.nylasAuthStore), this._authConnector);
28
+ return this._authConnector ? this._authConnector : (this._authConnector = new P(this.nylasAuth, this.nylasAuthStore), this._authConnector);
26
29
  }
27
30
  get threads() {
28
- return this._threadConnector ? this._threadConnector : (this._threadConnector = new v(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore, this.router), this._threadConnector);
31
+ return this._threadConnector ? this._threadConnector : (this._threadConnector = new _(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore, this.router), this._threadConnector);
29
32
  }
30
33
  get messages() {
31
- return this._messageConnector ? this._messageConnector : (this._messageConnector = new P(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._messageConnector);
34
+ return this._messageConnector ? this._messageConnector : (this._messageConnector = new N(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._messageConnector);
32
35
  }
33
36
  get folders() {
34
- return this._foldersConnector ? this._foldersConnector : (this._foldersConnector = new _(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._foldersConnector);
37
+ return this._foldersConnector ? this._foldersConnector : (this._foldersConnector = new w(this.nylasAuth, this.nylasAuthStore, this.nylasMailboxStore), this._foldersConnector);
35
38
  }
36
39
  get scheduler() {
37
- return this._schedulerAPIConnector ? this._schedulerAPIConnector : (this._schedulerAPIConnector = new w({
40
+ return this._schedulerAPIConnector ? this._schedulerAPIConnector : (this._schedulerAPIConnector = new I({
38
41
  schedulerAPIURL: this.schedulerAPIURL,
39
42
  schedulerStore: this.schedulerStore
40
43
  }), this._schedulerAPIConnector);
@@ -49,9 +52,9 @@ class x {
49
52
  await this.nylasAuth.logout(), this.resetStores();
50
53
  }
51
54
  }
52
- const I = ":host{display:contents}", M = I, L = class {
55
+ const L = ":host{display:contents}", R = L, T = class {
53
56
  constructor(t) {
54
- y(this, t), this.init = i(this, "init", 7), this.loggedIn = i(this, "loggedIn", 7), this.loggedOut = i(this, "loggedOut", 7), this.handleAuthChange = async (e) => {
57
+ C(this, t), this.init = h(this, "init", 7), this.loggedIn = h(this, "loggedIn", 7), this.loggedOut = h(this, "loggedOut", 7), this.handleAuthChange = async (e) => {
55
58
  e ? this.loggedIn.emit(this.host) : this.loggedOut.emit(this.host);
56
59
  }, this.authConfig = void 0, this.eventOverrides = {}, this.automaticComponentRegistration = !0;
57
60
  }
@@ -59,14 +62,15 @@ const I = ":host{display:contents}", M = I, L = class {
59
62
  a("[nylas-provider] connectedCallback");
60
63
  }
61
64
  async componentWillLoad() {
62
- var o, n, l, c, u;
65
+ var n, i, c, d, u, y;
63
66
  a("[nylas-provider] componentWillLoad"), this.stores = {
64
67
  auth: A(),
65
- mailbox: b(),
66
- scheduler: N()
67
- }, this.baseProvider = new m(this.host, this.stores, this.automaticComponentRegistration, this.eventOverrides);
68
- const t = new p();
69
- this.nylasAuth = S({
68
+ mailbox: p(),
69
+ scheduler: x(),
70
+ schedulerConfig: M()
71
+ }, this.baseProvider = new b(this.host, this.stores, this.automaticComponentRegistration, this.eventOverrides);
72
+ const t = new v();
73
+ this.nylasAuth = f({
70
74
  apiUri: "https://api.us.nylas.com",
71
75
  elementsApiUri: "https://elements.us.nylas.com",
72
76
  storageType: "indexeddb",
@@ -75,16 +79,19 @@ const I = ":host{display:contents}", M = I, L = class {
75
79
  redirectURI: "/",
76
80
  ...this.authConfig
77
81
  });
78
- const e = (o = this.baseProvider) == null ? void 0 : o.getStore("mailbox");
82
+ const e = (n = this.baseProvider) == null ? void 0 : n.getStore("mailbox");
79
83
  if (!e)
80
84
  throw new Error("The mailbox store is not set");
81
- const s = (n = this.baseProvider) == null ? void 0 : n.getStore("auth");
85
+ const s = (i = this.baseProvider) == null ? void 0 : i.getStore("auth");
82
86
  if (!s)
83
87
  throw new Error("The auth store is not set");
84
- const r = (l = this.baseProvider) == null ? void 0 : l.getStore("scheduler");
88
+ const r = (c = this.baseProvider) == null ? void 0 : c.getStore("scheduler");
85
89
  if (!r)
86
90
  throw new Error("The scheduler store is not set");
87
- this.nylasConnector = new x(t, this.nylasAuth, s, e, r), this.init.emit(this.host).defaultPrevented || await ((c = this.nylasConnector) == null ? void 0 : c.auth.validateSession()), this.handleAuthChange(s.state.isAuthenticated), (u = this.baseProvider) == null || u.componentWillLoad(this.nylasConnector);
91
+ const o = (d = this.baseProvider) == null ? void 0 : d.getStore("schedulerConfig");
92
+ if (!o)
93
+ throw new Error("The scheduler config store is not set");
94
+ this.nylasConnector = new E(t, this.nylasAuth, s, e, r, o), this.init.emit(this.host).defaultPrevented || await ((u = this.nylasConnector) == null ? void 0 : u.auth.validateSession()), this.handleAuthChange(s.state.isAuthenticated), (y = this.baseProvider) == null || y.componentWillLoad(this.nylasConnector);
88
95
  }
89
96
  componentDidLoad() {
90
97
  var e, s;
@@ -121,14 +128,18 @@ const I = ":host{display:contents}", M = I, L = class {
121
128
  var t;
122
129
  return (t = this.baseProvider) == null ? void 0 : t.getStore("scheduler");
123
130
  }
131
+ async getNylasSchedulerConfigStore() {
132
+ var t;
133
+ return (t = this.baseProvider) == null ? void 0 : t.getStore("schedulerConfig");
134
+ }
124
135
  render() {
125
- return d(g, { key: "5428aca07aa5a047a2912685b1d4475a19ac7783" }, d("slot", { key: "6e15b9b39a557f02de8c1ea07973d27fdf0451f7" }));
136
+ return g(S, { key: "782d47608825fb870d87153c8d43d778dc6c2b87" }, g("slot", { key: "2b01537d9d4a0cf4c81ad0b77ce3e6d761f3e1db" }));
126
137
  }
127
138
  get host() {
128
- return C(this);
139
+ return m(this);
129
140
  }
130
141
  };
131
- L.style = M;
142
+ T.style = R;
132
143
  export {
133
- L as nylas_provider
144
+ T as nylas_provider
134
145
  };