@nylas/react 2.0.4 → 2.0.6

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 (132) hide show
  1. package/dist/{abstract-provider-97cdbfea-5837e17f.cjs → abstract-provider-45ada3b4-31e3ed72.cjs} +1 -1
  2. package/dist/{abstract-provider-97cdbfea-6b0e3547.js → abstract-provider-45ada3b4-abd3105d.js} +1 -1
  3. package/dist/{add-circle-icon_2.entry-96ef4ded.cjs → add-circle-icon_2.entry-48953f9c.cjs} +1 -1
  4. package/dist/{add-circle-icon_2.entry-e59a5b4d.js → add-circle-icon_2.entry-f6f8b5e5.js} +1 -1
  5. package/dist/{archive-icon.entry-ea5667df.js → archive-icon.entry-b3a76711.js} +1 -1
  6. package/dist/{archive-icon.entry-49b4e0fd.cjs → archive-icon.entry-e2880dc7.cjs} +1 -1
  7. package/dist/{arrow-icon.entry-5aefd7de.cjs → arrow-icon.entry-84d1e26c.cjs} +1 -1
  8. package/dist/{arrow-icon.entry-1f766862.js → arrow-icon.entry-9b3441aa.js} +1 -1
  9. package/dist/{bold-icon.entry-240950a6.js → bold-icon.entry-0749a116.js} +1 -1
  10. package/dist/{bold-icon.entry-1a4955df.cjs → bold-icon.entry-e1d8ab5e.cjs} +1 -1
  11. package/dist/{button-component_2.entry-357fa02a.cjs → button-component_2.entry-1a817230.cjs} +1 -1
  12. package/dist/{button-component_2.entry-96785a34.js → button-component_2.entry-6eb55e97.js} +1 -1
  13. package/dist/calendar-agenda-fill-icon_37.entry-0ca8b9f4.cjs +6 -0
  14. package/dist/{calendar-agenda-fill-icon_37.entry-e732ee2e.js → calendar-agenda-fill-icon_37.entry-4adf73a2.js} +1434 -1169
  15. package/dist/{calendar-cancel-icon.entry-7543c684.js → calendar-cancel-icon.entry-2a29cb3f.js} +1 -1
  16. package/dist/{calendar-cancel-icon.entry-55d746cf.cjs → calendar-cancel-icon.entry-e0dee585.cjs} +1 -1
  17. package/dist/{calendar-check-icon.entry-63d33f23.cjs → calendar-check-icon.entry-7f96d456.cjs} +1 -1
  18. package/dist/{calendar-check-icon.entry-aba54652.js → calendar-check-icon.entry-c12b63ea.js} +1 -1
  19. package/dist/{calendar-icon.entry-e13add9b.cjs → calendar-icon.entry-a2d19ff2.cjs} +1 -1
  20. package/dist/{calendar-icon.entry-2cb3b7d1.js → calendar-icon.entry-e82a5169.js} +1 -1
  21. package/dist/checkbox-component.entry-59612a67.js +52 -0
  22. package/dist/checkbox-component.entry-ddce70bc.cjs +1 -0
  23. package/dist/checkbox-group_4.entry-3311da64.cjs +28 -0
  24. package/dist/{checkbox-group_4.entry-04561314.js → checkbox-group_4.entry-7df47ad4.js} +286 -245
  25. package/dist/{checkmark-circle-icon.entry-1f788efc.js → checkmark-circle-icon.entry-677b0def.js} +1 -1
  26. package/dist/{checkmark-circle-icon.entry-e637e20e.cjs → checkmark-circle-icon.entry-67df713b.cjs} +1 -1
  27. package/dist/checkmark-icon_15.entry-2121e1b7.cjs +5 -0
  28. package/dist/{checkmark-icon_15.entry-146c1cb0.js → checkmark-icon_15.entry-9fd0ec58.js} +403 -330
  29. package/dist/chevron-icon_3.entry-1a42235c.cjs +1 -0
  30. package/dist/{chevron-icon_3.entry-637338b5.js → chevron-icon_3.entry-f0ad71d9.js} +19 -10
  31. package/dist/{clock-icon_4.entry-aa4117dc.cjs → clock-icon_4.entry-88822a84.cjs} +1 -1
  32. package/dist/{clock-icon_4.entry-e69395a2.js → clock-icon_4.entry-e7472d5f.js} +1 -1
  33. package/dist/{customParseFormat-8be9be1b-2464f2ba.js → customParseFormat-eeec04f5-3ad26beb.js} +1 -1
  34. package/dist/{customParseFormat-8be9be1b-7ad95d87.cjs → customParseFormat-eeec04f5-d5957784.cjs} +1 -1
  35. package/dist/{delete-icon.entry-af0cc45b.cjs → delete-icon.entry-3cb58910.cjs} +1 -1
  36. package/dist/{delete-icon.entry-8a956edd.js → delete-icon.entry-813429d7.js} +1 -1
  37. package/dist/{document-refresh-icon.entry-45931416.cjs → document-refresh-icon.entry-ae361b0b.cjs} +1 -1
  38. package/dist/{document-refresh-icon.entry-5f58f367.js → document-refresh-icon.entry-c224c778.js} +1 -1
  39. package/dist/{feedbackSync-3db3713c-aadf336b.js → feedbackSync-0ebd0eda-803c3ebe.js} +1 -1
  40. package/dist/{feedbackSync-3db3713c-701d2eb9.cjs → feedbackSync-0ebd0eda-e12b00d5.cjs} +1 -1
  41. package/dist/{folder-icon.entry-cb80c172.cjs → folder-icon.entry-107841af.cjs} +1 -1
  42. package/dist/{folder-icon.entry-e5d7a651.js → folder-icon.entry-9c1f7c41.js} +1 -1
  43. package/dist/{forward-icon.entry-59be8165.js → forward-icon.entry-4ac22c16.js} +1 -1
  44. package/dist/{forward-icon.entry-c792734b.cjs → forward-icon.entry-6cec1f94.cjs} +1 -1
  45. package/dist/{globe-icon.entry-0fe4a4bb.js → globe-icon.entry-7798c93b.js} +1 -1
  46. package/dist/{globe-icon.entry-9ecf0255.cjs → globe-icon.entry-909c1382.cjs} +1 -1
  47. package/dist/google-logo-icon_6.entry-1f4ad364.cjs +2 -0
  48. package/dist/{google-logo-icon_6.entry-799511df.js → google-logo-icon_6.entry-b198c90a.js} +132 -89
  49. package/dist/{google-meet-icon_5.entry-3841313d.cjs → google-meet-icon_5.entry-82d87e77.cjs} +1 -1
  50. package/dist/{google-meet-icon_5.entry-e753ba28.js → google-meet-icon_5.entry-fa6dc1dc.js} +1 -1
  51. package/dist/{inbox-icon.entry-61132337.js → inbox-icon.entry-1b123e64.js} +1 -1
  52. package/dist/{inbox-icon.entry-2b450378.cjs → inbox-icon.entry-84f96d31.cjs} +1 -1
  53. package/dist/{index-2084ffd9.js → index-140eb219.js} +6439 -6370
  54. package/dist/index-d8a42c15.cjs +118 -0
  55. package/dist/{index.es-9e756df7-42d8a4cf.js → index.es-57d4a08f-184cbc01.js} +1 -1
  56. package/dist/{index.es-9e756df7-fa75b01e.cjs → index.es-57d4a08f-b0a2ca19.cjs} +1 -1
  57. package/dist/{info-icon_2.entry-c547775c.cjs → info-icon_2.entry-f09e7dae.cjs} +1 -1
  58. package/dist/{info-icon_2.entry-8d2750ce.js → info-icon_2.entry-f8b72d08.js} +1 -1
  59. package/dist/{input-component.entry-2e134e2a.js → input-component.entry-44607977.js} +26 -17
  60. package/dist/{input-component.entry-b1086460.cjs → input-component.entry-fd38953d.cjs} +1 -1
  61. package/dist/input-dropdown_2.entry-4c2e5e1a.cjs +1 -0
  62. package/dist/{input-dropdown_2.entry-1a02e672.js → input-dropdown_2.entry-6898b420.js} +30 -9
  63. package/dist/{italic-icon.entry-0ec2793b.js → italic-icon.entry-16aa1ada.js} +1 -1
  64. package/dist/{italic-icon.entry-6a3a5464.cjs → italic-icon.entry-beef2254.cjs} +1 -1
  65. package/dist/lib/notetaker/SendNotetaker/SendNotetaker.d.ts +3 -2
  66. package/dist/lib/notetaker/VideoPlayer/VideoPlayer.d.ts +2 -0
  67. package/dist/{multi-select-dropdown.entry-15e887be.js → multi-select-dropdown.entry-50133d29.js} +39 -30
  68. package/dist/multi-select-dropdown.entry-c82cd6d4.cjs +1 -0
  69. package/dist/{nylas-booked-event-card_11.entry-98bcc904.js → nylas-booked-event-card_11.entry-56768a09.js} +60 -60
  70. package/dist/nylas-booked-event-card_11.entry-eb4b3c5c.cjs +1 -0
  71. package/dist/nylas-date-component_2.entry-93f2f352.cjs +1 -0
  72. package/dist/{nylas-date-component_2.entry-6a98a5bf.js → nylas-date-component_2.entry-df957150.js} +85 -67
  73. package/dist/nylas-form-card.entry-4d95a4ad.cjs +1 -0
  74. package/dist/nylas-form-card.entry-7724e61f.js +72 -0
  75. package/dist/{nylas-notification_2.entry-4638126b.cjs → nylas-notification_2.entry-448c2cb8.cjs} +1 -1
  76. package/dist/{nylas-notification_2.entry-320a5a65.js → nylas-notification_2.entry-af763b6c.js} +1 -1
  77. package/dist/{nylas-scheduler-editor.entry-aa62c689.js → nylas-scheduler-editor.entry-0e4ba46d.js} +45 -34
  78. package/dist/{nylas-scheduler-editor.entry-82e0f79e.cjs → nylas-scheduler-editor.entry-e36cdd9d.cjs} +2 -2
  79. package/dist/{nylas-scheduling.entry-aec79de5.js → nylas-scheduling.entry-1b207e91.js} +194 -184
  80. package/dist/nylas-scheduling.entry-904dd10e.cjs +1 -0
  81. package/dist/{person-icon.entry-01a6a976.cjs → person-icon.entry-70d46ca6.cjs} +1 -1
  82. package/dist/{person-icon.entry-23cbe5dd.js → person-icon.entry-f2979577.js} +1 -1
  83. package/dist/{play-icon.entry-33443687.cjs → play-icon.entry-c2cf0b12.cjs} +1 -1
  84. package/dist/{play-icon.entry-4a529bd2.js → play-icon.entry-d387df5d.js} +1 -1
  85. package/dist/{radio-button-group.entry-04b7ff59.js → radio-button-group.entry-45dbd2df.js} +19 -10
  86. package/dist/{radio-button-group.entry-65155787.cjs → radio-button-group.entry-94e06176.cjs} +1 -1
  87. package/dist/react.cjs +1 -1
  88. package/dist/react.js +1 -1
  89. package/dist/{refresh-icon.entry-e4ea4811.cjs → refresh-icon.entry-5ab20f26.cjs} +1 -1
  90. package/dist/{refresh-icon.entry-61ced881.js → refresh-icon.entry-777cff27.js} +1 -1
  91. package/dist/{register-component-8bbd6492-0d8737fd.js → register-component-0aad9e3d-b395364a.js} +1 -1
  92. package/dist/{register-component-8bbd6492-d9a23f3c.cjs → register-component-0aad9e3d-d2f2e543.cjs} +1 -1
  93. package/dist/{reply-all-icon.entry-c64d923b.cjs → reply-all-icon.entry-3c90510e.cjs} +1 -1
  94. package/dist/{reply-all-icon.entry-83509aaf.js → reply-all-icon.entry-e2dd6da9.js} +1 -1
  95. package/dist/{reply-icon.entry-131ade31.js → reply-icon.entry-00a97d9f.js} +1 -1
  96. package/dist/{reply-icon.entry-4edfbb70.cjs → reply-icon.entry-d96478be.cjs} +1 -1
  97. package/dist/{sent-icon.entry-e4f6a3ef.cjs → sent-icon.entry-2d16da4e.cjs} +1 -1
  98. package/dist/{sent-icon.entry-72fd8f16.js → sent-icon.entry-949cf214.js} +1 -1
  99. package/dist/{spam-icon.entry-7594c792.js → spam-icon.entry-3baf9e79.js} +1 -1
  100. package/dist/{spam-icon.entry-c531c188.cjs → spam-icon.entry-7ee61730.cjs} +1 -1
  101. package/dist/{star-icon.entry-adbe1bb3.js → star-icon.entry-9fdb278b.js} +1 -1
  102. package/dist/{star-icon.entry-a75255ff.cjs → star-icon.entry-dc702d73.cjs} +1 -1
  103. package/dist/{stop-icon.entry-079b28c6.cjs → stop-icon.entry-b5ae7e55.cjs} +1 -1
  104. package/dist/{stop-icon.entry-e95993f2.js → stop-icon.entry-efa1ea66.js} +1 -1
  105. package/dist/{textarea-component.entry-920a81ac.cjs → textarea-component.entry-247aca42.cjs} +1 -1
  106. package/dist/{textarea-component.entry-f5d74fb8.js → textarea-component.entry-7c6fc4d8.js} +26 -10
  107. package/dist/toggle-switch.entry-a0295d17.js +49 -0
  108. package/dist/toggle-switch.entry-d52b0338.cjs +1 -0
  109. package/dist/{translate-icon.entry-01cbe664.js → translate-icon.entry-219cab17.js} +1 -1
  110. package/dist/{translate-icon.entry-f33632d6.cjs → translate-icon.entry-985b3b29.cjs} +1 -1
  111. package/dist/{trash-fill-icon.entry-b39ff771.js → trash-fill-icon.entry-03c90559.js} +1 -1
  112. package/dist/{trash-fill-icon.entry-298eece8.cjs → trash-fill-icon.entry-4dfd7d24.cjs} +1 -1
  113. package/dist/{underline-icon.entry-39179a2e.js → underline-icon.entry-58fa18b5.js} +1 -1
  114. package/dist/{underline-icon.entry-3704187c.cjs → underline-icon.entry-c60b77a6.cjs} +1 -1
  115. package/package.json +3 -3
  116. package/dist/calendar-agenda-fill-icon_37.entry-5e405c00.cjs +0 -6
  117. package/dist/checkbox-component.entry-8341a8d6.cjs +0 -1
  118. package/dist/checkbox-component.entry-da122544.js +0 -43
  119. package/dist/checkbox-group_4.entry-8854d522.cjs +0 -28
  120. package/dist/checkmark-icon_15.entry-a265f687.cjs +0 -5
  121. package/dist/chevron-icon_3.entry-6c38b5e5.cjs +0 -1
  122. package/dist/google-logo-icon_6.entry-60924f34.cjs +0 -2
  123. package/dist/index-e9dc7971.cjs +0 -118
  124. package/dist/input-dropdown_2.entry-cb163dc3.cjs +0 -1
  125. package/dist/multi-select-dropdown.entry-daccefd5.cjs +0 -1
  126. package/dist/nylas-booked-event-card_11.entry-3cdf8015.cjs +0 -1
  127. package/dist/nylas-date-component_2.entry-5d4f54fa.cjs +0 -1
  128. package/dist/nylas-form-card.entry-22851b77.cjs +0 -1
  129. package/dist/nylas-form-card.entry-a997084f.js +0 -58
  130. package/dist/nylas-scheduling.entry-9cef581a.cjs +0 -1
  131. package/dist/toggle-switch.entry-33273409.js +0 -34
  132. package/dist/toggle-switch.entry-ba6b4f33.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { r as te, h as n, a as m, b, i, q as _e, s as le, H as ce, g as pe, F as de, j as at } from "./index-2084ffd9.js";
2
- import { R as be } from "./register-component-8bbd6492-0d8737fd.js";
3
- import { n as _ } from "./index.es-9e756df7-42d8a4cf.js";
1
+ import { r as te, h as n, a as m, b, i, q as _e, s as le, H as ce, g as pe, F as de, j as at } from "./index-140eb219.js";
2
+ import { R as be } from "./register-component-0aad9e3d-b395364a.js";
3
+ import { n as _ } from "./index.es-57d4a08f-184cbc01.js";
4
4
  import { C as I, D as $e, e as ot, b as st } from "./constants-f51538ef-e0a5f026.js";
5
- import { E as v, i as Je, a as Ve, c as Ze, b as We, f as qe } from "./feedbackSync-3db3713c-aadf336b.js";
5
+ import { E as v, i as Je, a as Ve, c as Ze, b as We, f as qe } from "./feedbackSync-0ebd0eda-803c3ebe.js";
6
6
  import "react";
7
7
  import "react/jsx-runtime";
8
8
  import "react-dom";
@@ -116,7 +116,7 @@ function bt({ id: e, formState: t, activeTab: a }, s) {
116
116
  )
117
117
  );
118
118
  }
119
- const ut = '.sc-nylas-editor-tabs-h{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.scheduler-editor.sc-nylas-editor-tabs{display:flex;flex-direction:column;height:inherit}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs{height:calc(100% - 80px);display:grid;grid-template-columns:minmax(224px, 25%) 1fr}@media screen and (max-width: 768px){.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs{display:table-column-group;height:auto}}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs{display:flex;flex-direction:column;border-right:1px solid var(--nylas-base-200);background-color:var(--nylas-base-25)}@media screen and (max-width: 768px){.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs{border-right:none}}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs{display:flex;align-items:center;text-align:left;gap:0.5rem;padding:0.5rem 1rem;color:var(--nylas-base-900);background:var(--nylas-base-0);border:none;height:56px;font-family:var(--nylas-font-family);font-size:16px;font-weight:500;line-height:24px;cursor:pointer}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs:not(:first-of-type){margin-top:0.25rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs:last-of-type{margin-bottom:0.25rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.active.sc-nylas-editor-tabs{font-weight:600;background:var(--nylas-base-0);color:var(--nylas-primary);border-left:4px solid var(--nylas-primary);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.0588235294);box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843)}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.hide.sc-nylas-editor-tabs{display:none}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs{max-width:692px;overflow-y:auto;overflow-x:hidden}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .hide.sc-nylas-editor-tabs{display:none}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-info.sc-nylas-editor-tabs,.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-limits.sc-nylas-editor-tabs{width:inherit}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-info.sc-nylas-editor-tabs div[slot=inputs].sc-nylas-editor-tabs,.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-limits.sc-nylas-editor-tabs div[slot=inputs].sc-nylas-editor-tabs{display:flex;flex-direction:column;gap:1rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs{display:flex;flex-direction:column;margin:1rem 1rem 0.5rem;row-gap:4px}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs h3.sc-nylas-editor-tabs{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs p.sc-nylas-editor-tabs{margin:0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.footer.sc-nylas-editor-tabs{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:80px;padding:0 1rem;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs{flex-direction:column;height:auto}}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .preview.sc-nylas-editor-tabs{margin-top:1rem;width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs{display:flex;justify-content:flex-end;align-items:center;justify-self:flex-end;gap:1rem}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs{flex-direction:column-reverse;width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.sc-nylas-editor-tabs{max-width:524px}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.unsaved-changes.sc-nylas-editor-tabs{color:var(--nylas-base-600)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.saved-changes.sc-nylas-editor-tabs{color:var(--nylas-success)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.error.sc-nylas-editor-tabs{color:var(--nylas-error)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.error-full-width.sc-nylas-editor-tabs{max-width:660px}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button-component.sc-nylas-editor-tabs{width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer;width:148px}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:hover{background:var(--nylas-base-600)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:active{background:var(--nylas-base-800)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:disabled{background:var(--nylas-base-300);cursor:not-allowed}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs span.sc-nylas-editor-tabs{display:flex;align-items:center;justify-content:center;gap:0.5rem}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button-component.save-changes.sc-nylas-editor-tabs{min-width:140px}button-component#report-issue.sc-nylas-editor-tabs{width:auto}nylas-feedback-form.sc-nylas-editor-tabs{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', ht = ut;
119
+ const ut = '.sc-nylas-editor-tabs-h{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.scheduler-editor.sc-nylas-editor-tabs{display:flex;flex-direction:column;height:inherit}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs{height:calc(100% - 80px);display:grid;grid-template-columns:minmax(224px, 25%) 1fr}@media screen and (max-width: 768px){.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs{display:table-column-group;height:auto}}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs{display:flex;flex-direction:column;border-right:1px solid var(--nylas-base-200);background-color:var(--nylas-base-25)}@media screen and (max-width: 768px){.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs{border-right:none}}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs{display:flex;align-items:center;text-align:left;gap:0.5rem;padding:0.5rem 1rem;color:var(--nylas-base-900);background:var(--nylas-base-0);border:none;height:56px;font-family:var(--nylas-font-family);font-size:16px;font-weight:500;line-height:24px;cursor:pointer}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs:not(:first-of-type){margin-top:0.25rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.sc-nylas-editor-tabs:last-of-type{margin-bottom:0.25rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.active.sc-nylas-editor-tabs{font-weight:600;background:var(--nylas-base-0);color:var(--nylas-primary);border-left:4px solid var(--nylas-primary);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.0588235294);box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.1019607843)}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tabs.sc-nylas-editor-tabs .tab.hide.sc-nylas-editor-tabs{display:none}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs{max-width:692px;overflow-y:auto;overflow-x:hidden;transition:opacity 0.05s ease-in;opacity:0}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.fadeIn.sc-nylas-editor-tabs{opacity:1}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .hide.sc-nylas-editor-tabs{display:none}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-info.sc-nylas-editor-tabs,.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-limits.sc-nylas-editor-tabs{width:inherit}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-info.sc-nylas-editor-tabs div[slot=inputs].sc-nylas-editor-tabs,.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs nylas-event-limits.sc-nylas-editor-tabs div[slot=inputs].sc-nylas-editor-tabs{display:flex;flex-direction:column;gap:1rem}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs{display:flex;flex-direction:column;margin:1rem 1rem 0.5rem;row-gap:4px}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs h3.sc-nylas-editor-tabs{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.scheduler-editor.sc-nylas-editor-tabs .form-contents.sc-nylas-editor-tabs .tab-content.sc-nylas-editor-tabs .tab-header.sc-nylas-editor-tabs p.sc-nylas-editor-tabs{margin:0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.footer.sc-nylas-editor-tabs{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:80px;padding:0 1rem;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs{flex-direction:column;height:auto}}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .preview.sc-nylas-editor-tabs{margin-top:1rem;width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs{display:flex;justify-content:flex-end;align-items:center;justify-self:flex-end;gap:1rem}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs{flex-direction:column-reverse;width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.sc-nylas-editor-tabs{max-width:524px}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.unsaved-changes.sc-nylas-editor-tabs{color:var(--nylas-base-600)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.saved-changes.sc-nylas-editor-tabs{color:var(--nylas-success)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.error.sc-nylas-editor-tabs{color:var(--nylas-error)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs p.error-full-width.sc-nylas-editor-tabs{max-width:660px}@media screen and (max-width: 768px){.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button-component.sc-nylas-editor-tabs{width:100%}}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer;width:148px}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:hover{background:var(--nylas-base-600)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:active{background:var(--nylas-base-800)}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs:disabled{background:var(--nylas-base-300);cursor:not-allowed}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button.sc-nylas-editor-tabs span.sc-nylas-editor-tabs{display:flex;align-items:center;justify-content:center;gap:0.5rem}.footer.sc-nylas-editor-tabs .buttons.sc-nylas-editor-tabs button-component.save-changes.sc-nylas-editor-tabs{min-width:140px}button-component#report-issue.sc-nylas-editor-tabs{width:auto}nylas-feedback-form.sc-nylas-editor-tabs{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}', ht = ut;
120
120
  var yt = function(e, t, a, s) {
121
121
  var l = arguments.length, r = l < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, a) : s, o;
122
122
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -132,7 +132,7 @@ var yt = function(e, t, a, s) {
132
132
  const Ke = class {
133
133
  constructor(e) {
134
134
  te(this, e), this.schedulerConfigChanged = m(this, "schedulerConfigChanged", 7), this.schedulerConfigCreated = m(this, "schedulerConfigCreated", 7), this.cancelButtonClick = m(this, "cancelButtonClick", 7), this.formSubmitted = m(this, "formSubmitted", 7), this.previewButtonClicked = m(this, "previewButtonClicked", 7), this.schedulerEditorFormUpdated = m(this, "schedulerEditorFormUpdated", 7), this.nylasSchedulerError = m(this, "nylasSchedulerError", 6), this.dismissNotification = m(this, "dismissNotification", 7), this.formSubmissionHandler = async (t) => {
135
- var ve, we, ke, Ce, xe, Ee, Se, Te, Le, Fe, Oe, Be, Pe, Ne, He, ze, Ie;
135
+ var ve, Ce, we, ke, xe, Ee, Se, Te, Le, Fe, Oe, Be, Pe, He, Ne, ze, Ie;
136
136
  t.preventDefault();
137
137
  const a = await this.formSubmitted.emit();
138
138
  if (b("[nylas-editor-tabs]", "formSubmissionHandler", a), !this.formRef.checkValidity() || a.defaultPrevented) {
@@ -147,9 +147,9 @@ const Ke = class {
147
147
  this.isLoading = !0, this.hasUnsavedChanges = !1;
148
148
  const l = this.updateFormState();
149
149
  b("[nylas-editor-tabs]", "formState", l);
150
- const { title: r, description: o, duration: d, availability: c, bookingCalendar: p, location: h, bookingType: f, buffer: k, availableDaysInFuture: T, minCancellationNotice: O, minBookingNotice: U, cancellationPolicy: H, timeslotInterval: L, additionalGuestsHidden: z, hideCancellationOptions: D, hideReschedulingOptions: R, participants: F, participantOpenHours: E, participantSpecificDateOpenHours: B, additionalFields: w, participantCalendars: C, conferencing: A, participantBookingCalendars: S, reminders: $, emailTemplate: j, redirectUrl: G, availabilityMethod: J, slug: Z, appearance: Y, name: q, disableEmails: Q, organizerLocale: X } = l, x = ((we = (ve = this.selectedConfiguration) == null ? void 0 : ve.participants) == null ? void 0 : we.find((y) => y.is_organizer)) || (F == null ? void 0 : F.find((y) => y.is_organizer)), V = C && (x != null && x.email) ? C[x == null ? void 0 : x.email] : [], P = ((ke = x == null ? void 0 : x.booking) == null ? void 0 : ke.calendar_id) || p, N = d ? parseInt(d) : 30, M = F && (F == null ? void 0 : F.length) > 0 ? F : [
150
+ const { title: r, description: o, duration: d, availability: c, bookingCalendar: p, location: h, bookingType: f, buffer: w, availableDaysInFuture: T, minCancellationNotice: O, minBookingNotice: U, cancellationPolicy: N, timeslotInterval: L, additionalGuestsHidden: z, hideCancellationOptions: D, hideReschedulingOptions: R, participants: F, participantOpenHours: E, participantSpecificDateOpenHours: B, additionalFields: C, participantCalendars: k, conferencing: A, participantBookingCalendars: S, reminders: $, emailTemplate: j, redirectUrl: G, availabilityMethod: J, slug: Z, appearance: Y, name: q, disableEmails: Q, organizerLocale: X } = l, x = ((Ce = (ve = this.selectedConfiguration) == null ? void 0 : ve.participants) == null ? void 0 : Ce.find((y) => y.is_organizer)) || (F == null ? void 0 : F.find((y) => y.is_organizer)), V = k && (x != null && x.email) ? k[x == null ? void 0 : x.email] : [], P = ((we = x == null ? void 0 : x.booking) == null ? void 0 : we.calendar_id) || p, H = d ? parseInt(d) : 30, M = F && (F == null ? void 0 : F.length) > 0 ? F : [
151
151
  {
152
- name: (x == null ? void 0 : x.name) ?? ((Ce = this.currentUser) == null ? void 0 : Ce.name) ?? "",
152
+ name: (x == null ? void 0 : x.name) ?? ((ke = this.currentUser) == null ? void 0 : ke.name) ?? "",
153
153
  email: (x == null ? void 0 : x.email) ?? ((xe = this.currentUser) == null ? void 0 : xe.email) ?? "",
154
154
  is_organizer: !0,
155
155
  timezone: (c == null ? void 0 : c.timezone) ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
@@ -170,14 +170,14 @@ const Ke = class {
170
170
  slug: Z,
171
171
  name: q,
172
172
  availability: {
173
- duration_minutes: N,
174
- interval_minutes: (L == null ? void 0 : L.interval) ?? N,
173
+ duration_minutes: H,
174
+ interval_minutes: (L == null ? void 0 : L.interval) ?? H,
175
175
  round_to: L == null ? void 0 : L.roundTo,
176
176
  availability_rules: {
177
177
  availability_method: K,
178
- buffer: k || { before: 0, after: 0 },
178
+ buffer: w || { before: 0, after: 0 },
179
179
  default_open_hours: (c == null ? void 0 : c.openHours) ?? ((Pe = (Be = (Oe = this.selectedConfiguration) == null ? void 0 : Oe.availability) == null ? void 0 : Be.availability_rules) == null ? void 0 : Pe.default_open_hours) ?? $e,
180
- round_robin_group_id: ((ze = (He = (Ne = this.selectedConfiguration) == null ? void 0 : Ne.availability) == null ? void 0 : He.availability_rules) == null ? void 0 : ze.round_robin_group_id) ?? ""
180
+ round_robin_group_id: ((ze = (Ne = (He = this.selectedConfiguration) == null ? void 0 : He.availability) == null ? void 0 : Ne.availability_rules) == null ? void 0 : ze.round_robin_group_id) ?? ""
181
181
  }
182
182
  },
183
183
  participants: [
@@ -185,7 +185,7 @@ const Ke = class {
185
185
  var Ge, Ue, De, Re, je, Me;
186
186
  let ee = (c == null ? void 0 : c.timezone) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
187
187
  if ((Ge = E == null ? void 0 : E[y.email]) != null && Ge.length && (ee = (De = (Ue = E == null ? void 0 : E[y.email]) == null ? void 0 : Ue[0]) == null ? void 0 : De.timezone), y.is_organizer) {
188
- const Ae = S != null && S[y.email] ? S == null ? void 0 : S[y.email] : P || "primary", he = C != null && C[y.email] ? C == null ? void 0 : C[y.email] : V != null && V.length ? V : ["primary"], nt = he.length === 1 && he[0] === "primary";
188
+ const Ae = S != null && S[y.email] ? S == null ? void 0 : S[y.email] : P || "primary", he = k != null && k[y.email] ? k == null ? void 0 : k[y.email] : V != null && V.length ? V : ["primary"], nt = he.length === 1 && he[0] === "primary";
189
189
  return {
190
190
  name: y.name ?? "",
191
191
  email: y.email,
@@ -201,7 +201,7 @@ const Ke = class {
201
201
  }
202
202
  };
203
203
  }
204
- const ae = S != null && S[y.email] ? { calendar_id: S == null ? void 0 : S[y.email] } : (y == null ? void 0 : y.booking) ?? void 0, ue = (C == null ? void 0 : C[y.email]) ?? ((je = y.availability) == null ? void 0 : je.calendar_ids) ?? ["primary"], tt = ue.length === 1 && ue[0] === "primary";
204
+ const ae = S != null && S[y.email] ? { calendar_id: S == null ? void 0 : S[y.email] } : (y == null ? void 0 : y.booking) ?? void 0, ue = (k == null ? void 0 : k[y.email]) ?? ((je = y.availability) == null ? void 0 : je.calendar_ids) ?? ["primary"], tt = ue.length === 1 && ue[0] === "primary";
205
205
  return {
206
206
  ...y,
207
207
  timezone: ee,
@@ -225,14 +225,14 @@ const Ke = class {
225
225
  disable_emails: typeof Q == "boolean" ? Q : !1
226
226
  },
227
227
  scheduler: {
228
- cancellation_policy: H ?? "",
228
+ cancellation_policy: N ?? "",
229
229
  available_days_in_future: T ?? 30,
230
230
  min_cancellation_notice: O ?? 0,
231
231
  min_booking_notice: U ?? 60,
232
232
  hide_additional_guests: z ?? !1,
233
233
  hide_cancellation_options: D ?? !1,
234
234
  hide_rescheduling_options: R ?? !1,
235
- additional_fields: w,
235
+ additional_fields: C,
236
236
  email_template: j ? {
237
237
  ...j,
238
238
  organizer_locale: X || "en",
@@ -288,7 +288,7 @@ const Ke = class {
288
288
  category: v.Component,
289
289
  title: i.t("nylasEditorTabs.bookingFormError")
290
290
  })), a;
291
- }, this.calendars = void 0, this.selectedConfiguration = void 0, this.configurations = void 0, this.currentUser = void 0, this.schedulerPreviewLink = "", this.mode = "app", this.hideEditorTabs = [], this.enableUserFeedback = !0, this.selectedLanguage = void 0, this.selectedEventType = void 0, this.action = "create", this.showFeedbackModal = !1, this.activeTab = u.EventInfo, this.isLoading = !1, this.hasUnsavedChanges = !1, this.changesSaved = !1, this.formState = {}, this.error = {
291
+ }, this.calendars = void 0, this.selectedConfiguration = void 0, this.configurations = void 0, this.currentUser = void 0, this.schedulerPreviewLink = "", this.mode = "app", this.hideEditorTabs = [], this.enableUserFeedback = !0, this.selectedLanguage = void 0, this.selectedEventType = void 0, this.themeConfig = void 0, this.action = "create", this.showFeedbackModal = !1, this.activeTab = u.EventInfo, this.isLoading = !1, this.hasUnsavedChanges = !1, this.changesSaved = !1, this.loaded = !1, this.formState = {}, this.error = {
292
292
  message: "",
293
293
  type: _.Error,
294
294
  category: v.Component,
@@ -311,6 +311,14 @@ const Ke = class {
311
311
  message: i.t("fixFormErrors")
312
312
  }, this.showErrorNotification(this.error)));
313
313
  }
314
+ themeConfigChangedHandler(e, t) {
315
+ e !== t && this.applyThemeConfig(e);
316
+ }
317
+ applyThemeConfig(e) {
318
+ if (e)
319
+ for (const [t, a] of Object.entries(e))
320
+ this.host.style.setProperty(`${t}`, a);
321
+ }
314
322
  async schedulerConfigCreatedEventHandler(e) {
315
323
  return this.schedulerConfigCreated.emit(e);
316
324
  }
@@ -342,7 +350,7 @@ const Ke = class {
342
350
  var t, a;
343
351
  b("[nylas-editor-tabs]", "componentDidLoad"), this.enableUserFeedback && !Je() && Ve({
344
352
  dsn: "https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",
345
- release: "2.0.4",
353
+ release: "2.0.6",
346
354
  integrations: (s) => [
347
355
  ...s.filter((l) => !1),
348
356
  qe({
@@ -354,7 +362,7 @@ const Ke = class {
354
362
  beforeSend: () => null
355
363
  }), (t = this.selectedConfiguration) != null && t.id && this.configChangedHandler(this.selectedConfiguration);
356
364
  const e = (a = this.host.querySelector("button.tab:not(.hide)")) == null ? void 0 : a.name;
357
- e && (this.activeTab = e);
365
+ e && (this.activeTab = e), this.loaded = !0;
358
366
  }
359
367
  disconnectedCallback() {
360
368
  b("[nylas-editor-tabs]", "disconnectedCallback");
@@ -386,7 +394,7 @@ const Ke = class {
386
394
  captureContext: {
387
395
  tags: {
388
396
  "nylas-web-element": "nylas-scheduler-editor",
389
- "nylas-web-element-version": "2.0.4",
397
+ "nylas-web-element-version": "2.0.6",
390
398
  "nylas-config-id": (r = this.selectedConfiguration) == null ? void 0 : r.id,
391
399
  "nylas-slug": (o = this.selectedConfiguration) == null ? void 0 : o.slug,
392
400
  "host-url": window.location.href
@@ -412,45 +420,45 @@ const Ke = class {
412
420
  });
413
421
  }
414
422
  getFormStateFromConfig(e) {
415
- var a, s, l, r, o, d, c, p, h, f, k, T, O, U, H, L, z, D, R, F, E, B, w, C, A, S, $, j, G, J, Z, Y, q, Q, X, x, V;
423
+ var a, s, l, r, o, d, c, p, h, f, w, T, O, U, N, L, z, D, R, F, E, B, C, k, A, S, $, j, G, J, Z, Y, q, Q, X, x, V;
416
424
  let t = (a = e == null ? void 0 : e.participants) == null ? void 0 : a.find((P) => P.is_organizer);
417
425
  return !t && ((l = (s = e == null ? void 0 : e.availability) == null ? void 0 : s.availability_rules) == null ? void 0 : l.availability_method) !== "collective" && (t = (r = e == null ? void 0 : e.participants) == null ? void 0 : r.find((P) => {
418
- var N;
419
- return P.email === ((N = this.currentUser) == null ? void 0 : N.email);
426
+ var H;
427
+ return P.email === ((H = this.currentUser) == null ? void 0 : H.email);
420
428
  }), t && (t.is_organizer = !0)), e != null && e.appearance && console.info("Appearance settings have been returned from the given configuration; please remember to grab them from the configSettingsLoaded event and apply them as desired."), {
421
429
  title: ((o = e == null ? void 0 : e.event_booking) == null ? void 0 : o.title) ?? "",
422
430
  description: ((d = e == null ? void 0 : e.event_booking) == null ? void 0 : d.description) ?? "",
423
431
  duration: ((p = (c = e == null ? void 0 : e.availability) == null ? void 0 : c.duration_minutes) == null ? void 0 : p.toString()) ?? "30",
424
432
  availability: {
425
433
  timezone: ((h = e == null ? void 0 : e.event_booking) == null ? void 0 : h.timezone) ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
426
- openHours: ((k = (f = e == null ? void 0 : e.availability) == null ? void 0 : f.availability_rules) == null ? void 0 : k.default_open_hours) ?? $e
434
+ openHours: ((w = (f = e == null ? void 0 : e.availability) == null ? void 0 : f.availability_rules) == null ? void 0 : w.default_open_hours) ?? $e
427
435
  },
428
436
  additionalFields: ((T = e == null ? void 0 : e.scheduler) == null ? void 0 : T.additional_fields) ?? {},
429
437
  conferencing: ((O = e == null ? void 0 : e.event_booking) == null ? void 0 : O.conferencing) ?? {},
430
438
  calendarIds: ((U = t == null ? void 0 : t.availability) == null ? void 0 : U.calendar_ids) ?? [],
431
439
  participants: (e == null ? void 0 : e.participants) ?? [],
432
- bookingCalendar: ((H = t == null ? void 0 : t.booking) == null ? void 0 : H.calendar_id) ?? (t == null ? void 0 : t.email) ?? "",
440
+ bookingCalendar: ((N = t == null ? void 0 : t.booking) == null ? void 0 : N.calendar_id) ?? (t == null ? void 0 : t.email) ?? "",
433
441
  location: ((L = e == null ? void 0 : e.event_booking) == null ? void 0 : L.location) ?? "",
434
442
  bookingType: ((z = e == null ? void 0 : e.event_booking) == null ? void 0 : z.booking_type) ?? "booking",
435
443
  buffer: ((R = (D = e == null ? void 0 : e.availability) == null ? void 0 : D.availability_rules) == null ? void 0 : R.buffer) ?? { before: 0, after: 0 },
436
444
  cancellationPolicy: ((F = e == null ? void 0 : e.scheduler) == null ? void 0 : F.cancellation_policy) ?? "",
437
445
  availableDaysInFuture: ((E = e == null ? void 0 : e.scheduler) == null ? void 0 : E.available_days_in_future) ?? 30,
438
446
  minCancellationNotice: ((B = e == null ? void 0 : e.scheduler) == null ? void 0 : B.min_cancellation_notice) ?? 0,
439
- minBookingNotice: ((w = e == null ? void 0 : e.scheduler) == null ? void 0 : w.min_booking_notice) ?? 60,
447
+ minBookingNotice: ((C = e == null ? void 0 : e.scheduler) == null ? void 0 : C.min_booking_notice) ?? 60,
440
448
  timeslotInterval: {
441
- interval: ((C = e == null ? void 0 : e.availability) == null ? void 0 : C.interval_minutes) ?? ((A = e == null ? void 0 : e.availability) == null ? void 0 : A.duration_minutes),
449
+ interval: ((k = e == null ? void 0 : e.availability) == null ? void 0 : k.interval_minutes) ?? ((A = e == null ? void 0 : e.availability) == null ? void 0 : A.duration_minutes),
442
450
  roundTo: (S = e == null ? void 0 : e.availability) == null ? void 0 : S.round_to
443
451
  },
444
452
  additionalGuestsHidden: (($ = e == null ? void 0 : e.scheduler) == null ? void 0 : $.hide_additional_guests) ?? !1,
445
453
  hideCancellationOptions: ((j = e == null ? void 0 : e.scheduler) == null ? void 0 : j.hide_cancellation_options) ?? !1,
446
454
  hideReschedulingOptions: ((G = e == null ? void 0 : e.scheduler) == null ? void 0 : G.hide_rescheduling_options) ?? !1,
447
- participantBookingCalendars: ((J = e == null ? void 0 : e.participants) == null ? void 0 : J.reduce((P, N) => {
455
+ participantBookingCalendars: ((J = e == null ? void 0 : e.participants) == null ? void 0 : J.reduce((P, H) => {
448
456
  var M, K;
449
- return (M = N.booking) != null && M.calendar_id && (P[N.email] = (K = N.booking) == null ? void 0 : K.calendar_id), P;
457
+ return (M = H.booking) != null && M.calendar_id && (P[H.email] = (K = H.booking) == null ? void 0 : K.calendar_id), P;
450
458
  })) ?? {},
451
- participantCalendars: ((Z = e == null ? void 0 : e.participants) == null ? void 0 : Z.reduce((P, N) => {
459
+ participantCalendars: ((Z = e == null ? void 0 : e.participants) == null ? void 0 : Z.reduce((P, H) => {
452
460
  var M;
453
- return P[N.email] = (M = N.availability) == null ? void 0 : M.calendar_ids, P;
461
+ return P[H.email] = (M = H.availability) == null ? void 0 : M.calendar_ids, P;
454
462
  }, {})) ?? {},
455
463
  reminders: (Y = e == null ? void 0 : e.event_booking) == null ? void 0 : Y.reminders,
456
464
  emailTemplate: (q = e == null ? void 0 : e.scheduler) == null ? void 0 : q.email_template,
@@ -582,16 +590,19 @@ const Ke = class {
582
590
  }
583
591
  render() {
584
592
  var e, t, a, s, l, r;
585
- return b("[nylas-editor-tabs]", "render", this.formState), n(ce, { key: "6ca488a564b21a08e45b3244cb4ced9f85a0985c" }, n("nylas-notification", { key: "6d2a7efa9f9da70baa1a54068dd7d716c75a66af" }), n("form", { key: "8b50247449d19e0973742c602dcbce593f475397", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (o) => this.formRef = o, noValidate: !0 }, this.mode === "app" ? n("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, n("div", { class: "tabs", part: "editor__tabs net__tabs" }, n("button", { name: u.EventInfo, class: { tab: !0, active: this.activeTab == u.EventInfo, hide: this.hideTab(u.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (o) => this.setActiveTab(o, u.EventInfo) }, n("calendar-info-icon", { width: "16", height: "16" }), i.t("eventInfoTab")), n("button", { name: u.Availability, class: { tab: !0, active: this.activeTab == u.Availability, hide: this.hideTab(u.Availability) }, part: "editortab__availability net__tab-availability", onClick: (o) => this.setActiveTab(o, u.Availability) }, n("calendar-patterns-icon", { width: "16", height: "16" }), i.t("availabilityTab")), n("button", { name: u.Participants, class: { tab: !0, active: this.activeTab == u.Participants, hide: this.hideTab(u.Participants) }, part: "editortab__participants net__tab-participants", onClick: (o) => this.setActiveTab(o, u.Participants) }, n("people-icon", { width: "16", height: "16" }), i.t("participantsTab")), n("button", { name: u.BookingOptions, class: { tab: !0, active: this.activeTab == u.BookingOptions, hide: this.hideTab(u.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (o) => this.setActiveTab(o, u.BookingOptions) }, n("flow-icon", { width: "16", height: "16" }), i.t("bookingOptionsTab")), n("button", { name: u.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(u.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (o) => this.setActiveTab(o, u.BookingForm) }, this.activeTab == u.BookingForm ? n("calendar-agenda-fill-icon", { width: "16", height: "16" }) : n("calendar-agenda-icon", { width: "16", height: "16" }), i.t("bookingFormTab")), n("button", { name: u.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(u.Communications) }, onClick: (o) => this.setActiveTab(o, u.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == u.Communications ? n("envelope-fill-icon", { width: "16", height: "16" }) : n("envelope-icon", { width: "16", height: "16" }), i.t("communicationsTab")), n("button", { name: u.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(u.PageStyles) }, onClick: (o) => this.setActiveTab(o, u.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == u.PageStyles ? n("paintbrush-fill-icon", { width: "16", height: "16" }) : n("paintbrush-icon", { width: "16", height: "16" }), i.t("pageStylesTab"))), n("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, n(bt, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: i }))) : n("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, n("slot", null)), n("div", { key: "d7de8b7a716d828500f7b9bebaf23a03cfe976ce", class: "footer", part: "editor__footer net__footer" }, n("div", { key: "723b3a4f0f51b2299cc62df9acef294ce56c3a3a", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && n("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (o) => this.onFeedbackClick(o) }, n("feedback-icon", null))), n("div", { key: "8a5d4e5fe8d2273d292b99ff2a24172db259e96c", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, n("p", { key: "c1384269cb3013cd80e2f839047a6e52046ec4cc", class: {
593
+ return b("[nylas-editor-tabs]", "render", this.formState), n(ce, { key: "72e7c6a3ee3b8a45ca08be9b09bb6c4d3fe35448" }, n("nylas-notification", { key: "3001e1876764d1159fd0ce36158961d13729cb53" }), n("form", { key: "3efb8db4b99ec191dd38586162849374000301ef", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (o) => this.formRef = o, noValidate: !0 }, this.mode === "app" ? n("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, n("div", { class: "tabs", part: "editor__tabs net__tabs" }, n("button", { name: u.EventInfo, class: { tab: !0, active: this.activeTab == u.EventInfo, hide: this.hideTab(u.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (o) => this.setActiveTab(o, u.EventInfo) }, n("calendar-info-icon", { width: "16", height: "16" }), i.t("eventInfoTab")), n("button", { name: u.Availability, class: { tab: !0, active: this.activeTab == u.Availability, hide: this.hideTab(u.Availability) }, part: "editortab__availability net__tab-availability", onClick: (o) => this.setActiveTab(o, u.Availability) }, n("calendar-patterns-icon", { width: "16", height: "16" }), i.t("availabilityTab")), n("button", { name: u.Participants, class: { tab: !0, active: this.activeTab == u.Participants, hide: this.hideTab(u.Participants) }, part: "editortab__participants net__tab-participants", onClick: (o) => this.setActiveTab(o, u.Participants) }, n("people-icon", { width: "16", height: "16" }), i.t("participantsTab")), n("button", { name: u.BookingOptions, class: { tab: !0, active: this.activeTab == u.BookingOptions, hide: this.hideTab(u.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (o) => this.setActiveTab(o, u.BookingOptions) }, n("flow-icon", { width: "16", height: "16" }), i.t("bookingOptionsTab")), n("button", { name: u.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(u.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (o) => this.setActiveTab(o, u.BookingForm) }, this.activeTab == u.BookingForm ? n("calendar-agenda-fill-icon", { width: "16", height: "16" }) : n("calendar-agenda-icon", { width: "16", height: "16" }), i.t("bookingFormTab")), n("button", { name: u.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(u.Communications) }, onClick: (o) => this.setActiveTab(o, u.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == u.Communications ? n("envelope-fill-icon", { width: "16", height: "16" }) : n("envelope-icon", { width: "16", height: "16" }), i.t("communicationsTab")), n("button", { name: u.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(u.PageStyles) }, onClick: (o) => this.setActiveTab(o, u.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == u.PageStyles ? n("paintbrush-fill-icon", { width: "16", height: "16" }) : n("paintbrush-icon", { width: "16", height: "16" }), i.t("pageStylesTab"))), n("div", { class: {
594
+ "tab-content": !0,
595
+ fadeIn: this.loaded
596
+ }, part: "editor__tab-content net__tab-content" }, n(bt, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: i }))) : n("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, n("slot", null)), n("div", { key: "d173c359a115d8ffedd09f7982b93ac8f56298ea", class: "footer", part: "editor__footer net__footer" }, n("div", { key: "e7d8eac3b589fdde61697b6f950ac14ca40e958b", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && n("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (o) => this.onFeedbackClick(o) }, n("feedback-icon", null))), n("div", { key: "8ac0780973db9508e06823f6eec209d513adf70d", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, n("p", { key: "b99500cf3e2090bba348164e8ef694a31ba2292d", class: {
586
597
  "unsaved-changes": this.hasUnsavedChanges && !this.changesSaved,
587
598
  "saved-changes": this.changesSaved,
588
599
  error: ((a = this.error) == null ? void 0 : a.message) !== "",
589
600
  "error-full-width": ((s = this.error) == null ? void 0 : s.message) !== "" && this.action === "create"
590
601
  } }, ((l = this.error) == null ? void 0 : l.message) == "" && this.hasUnsavedChanges && !this.changesSaved ? i.t("unsavedChangesLabel") : ((r = this.error) == null ? void 0 : r.message) == "" && this.changesSaved ? `${i.t("changesSavedLabel")}!` : ""), this.schedulerPreviewLink !== "" && this.action === "edit" && n("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (o) => {
591
602
  o.preventDefault(), this.previewButtonClicked.emit(this.host).defaultPrevented || window.open(le(this.schedulerPreviewLink, this.selectedConfiguration), "_blank");
592
- }, variant: "basic" }, n("eye-icon", null)), n("button-component", { key: "007442ac7bc65c8a31312ce9f36891f555b093a8", type: "button", disabled: this.isLoading, clickHandler: (o) => {
603
+ }, variant: "basic" }, n("eye-icon", null)), n("button-component", { key: "f3ce1536ba8ebb62758f8714056d528fd8258bfa", type: "button", disabled: this.isLoading, clickHandler: (o) => {
593
604
  o.preventDefault(), this.cancelButtonClick.emit(), this.host.resetError();
594
- }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, i.t("cancelButton")), n("button-component", { key: "0f9b07bea8175cfae787596d7a41b3f7c4bc7468", class: { "save-changes": this.action === "edit" }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? n("span", null, i.t("savingButtonText"), n("loading-icon", null), " ") : this.action === "create" ? `${i.t("createButtonText")}` : `${i.t("saveChangesButtonText")}`)))), this.showFeedbackModal && n("nylas-feedback-form", null));
605
+ }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, i.t("cancelButton")), n("button-component", { key: "ceb6d081a90b0ff2a5d12cc4ec05d79fb726651e", class: { "save-changes": this.action === "edit" }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? n("span", null, i.t("savingButtonText"), n("loading-icon", null), " ") : this.action === "create" ? `${i.t("createButtonText")}` : `${i.t("saveChangesButtonText")}`)))), this.showFeedbackModal && n("nylas-feedback-form", null));
595
606
  }
596
607
  get host() {
597
608
  return pe(this);
@@ -600,7 +611,8 @@ const Ke = class {
600
611
  return {
601
612
  selectedConfiguration: ["configChangedHandler"],
602
613
  currentUser: ["userChangedHandler"],
603
- selectedLanguage: ["selectedLanguageChangedHandler"]
614
+ selectedLanguage: ["selectedLanguageChangedHandler"],
615
+ themeConfig: ["themeConfigChangedHandler"]
604
616
  };
605
617
  }
606
618
  };
@@ -613,7 +625,8 @@ yt([
613
625
  ["schedulerConfig.currentUser", "currentUser"],
614
626
  ["schedulerConfig.configurations", "configurations"],
615
627
  ["schedulerConfig.selectedLanguage", "selectedLanguage"],
616
- ["schedulerConfig.selectedEventType", "selectedEventType"]
628
+ ["schedulerConfig.selectedEventType", "selectedEventType"],
629
+ ["schedulerConfig.themeConfig", "themeConfig"]
617
630
  ]),
618
631
  eventToProps: {
619
632
  schedulerConfigChanged: async (e, t) => {
@@ -685,7 +698,7 @@ function gt({ id: e, formState: t, activeTab: a }, s) {
685
698
  n(
686
699
  "div",
687
700
  { slot: "inputs" },
688
- n("nylas-booking-confirmation-type", { name: "confirmation-type", exportparts: "nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content" }),
701
+ n("nylas-booking-confirmation-type", { name: "confirmation-type", showComponent: !1, exportparts: "nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content" }),
689
702
  n("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", exportparts: "nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield" })
690
703
  )
691
704
  ),
@@ -743,7 +756,7 @@ var _t = function(e, t, a, s) {
743
756
  const Ye = class {
744
757
  constructor(e) {
745
758
  te(this, e), this.schedulerConfigChanged = m(this, "schedulerConfigChanged", 7), this.schedulerConfigCreated = m(this, "schedulerConfigCreated", 7), this.cancelButtonClick = m(this, "cancelButtonClick", 7), this.formSubmitted = m(this, "formSubmitted", 7), this.previewButtonClicked = m(this, "previewButtonClicked", 7), this.schedulerEditorFormUpdated = m(this, "schedulerEditorFormUpdated", 7), this.groupEventCreateTriggered = m(this, "groupEventCreateTriggered", 7), this.groupEventUpdateTriggered = m(this, "groupEventUpdateTriggered", 7), this.groupEventDeleteTriggered = m(this, "groupEventDeleteTriggered", 7), this.groupEventImportTriggered = m(this, "groupEventImportTriggered", 7), this.saveGroupEventChangesError = m(this, "saveGroupEventChangesError", 7), this.nylasSchedulerError = m(this, "nylasSchedulerError", 6), this.dismissNotification = m(this, "dismissNotification", 6), this.formSubmissionHandler = async (t) => {
746
- var x, V, P, N, M, K, ne, oe, W, se, re;
759
+ var x, V, P, H, M, K, ne, oe, W, se, re;
747
760
  t.preventDefault();
748
761
  const a = await this.formSubmitted.emit();
749
762
  if (b("[nylas-editor-tabs-group]", "formSubmissionHandler", a), !this.formRef.checkValidity() || a.defaultPrevented) {
@@ -758,13 +771,13 @@ const Ye = class {
758
771
  this.isLoading = !0, this.hasUnsavedChanges = !1;
759
772
  const l = this.updateFormState();
760
773
  b("[nylas-editor-tabs-group]", "formState", l);
761
- const { title: r, description: o, bookingCalendar: d, location: c, bookingType: p, minCancellationNotice: h, minBookingNotice: f, cancellationPolicy: k, hideCancellationOptions: T, hideReschedulingOptions: O, additionalFields: U, conferencing: H, reminders: L, emailTemplate: z, redirectUrl: D, slug: R, appearance: F, name: E, eventCapacity: B, eventTimeslot: w, participants: C, disableEmails: A, organizerLocale: S } = l, $ = {
774
+ const { title: r, description: o, bookingCalendar: d, location: c, bookingType: p, minCancellationNotice: h, minBookingNotice: f, cancellationPolicy: w, hideCancellationOptions: T, hideReschedulingOptions: O, additionalFields: U, conferencing: N, reminders: L, emailTemplate: z, redirectUrl: D, slug: R, appearance: F, name: E, eventCapacity: B, eventTimeslot: C, participants: k, disableEmails: A, organizerLocale: S } = l, $ = {
762
775
  ...((x = this.selectedConfiguration) == null ? void 0 : x.id) && { id: this.selectedConfiguration.id },
763
776
  slug: R,
764
777
  name: E,
765
778
  type: this.selectedEventType === I.group ? I.group : void 0,
766
779
  scheduler: {
767
- cancellation_policy: k ?? "",
780
+ cancellation_policy: w ?? "",
768
781
  min_cancellation_notice: h ?? 0,
769
782
  min_booking_notice: f ?? 60,
770
783
  hide_cancellation_options: T ?? !1,
@@ -782,7 +795,7 @@ const Ye = class {
782
795
  booking_type: p || "booking",
783
796
  disable_emails: typeof A == "boolean" ? A : !1,
784
797
  reminders: L,
785
- conferencing: H,
798
+ conferencing: N,
786
799
  calendar_id: d || "primary",
787
800
  default_capacity: B || 10
788
801
  }
@@ -797,21 +810,21 @@ const Ye = class {
797
810
  return;
798
811
  const Y = {
799
812
  name: ((V = this.currentUser) == null ? void 0 : V.name) ?? ((P = this.currentUser) == null ? void 0 : P.email) ?? "",
800
- email: ((N = this.currentUser) == null ? void 0 : N.email) ?? ""
813
+ email: ((H = this.currentUser) == null ? void 0 : H.email) ?? ""
801
814
  }, q = ((M = this.calendars) == null ? void 0 : M.find((ie) => ie.is_primary)) ?? ((K = this.calendars) == null ? void 0 : K[0]), Q = [{ ...Y, is_organizer: !0 }], X = (ne = this.selectedConfiguration) != null && ne.id ? void 0 : {
802
815
  title: r,
803
816
  description: o,
804
- location: H ? void 0 : c,
805
- conferencing: c ? void 0 : H,
817
+ location: N ? void 0 : c,
818
+ conferencing: c ? void 0 : N,
806
819
  when: {
807
- start_time: ((oe = w == null ? void 0 : w.when) == null ? void 0 : oe.start_time) ?? 0,
808
- end_time: ((W = w == null ? void 0 : w.when) == null ? void 0 : W.end_time) ?? 0,
809
- start_timezone: ((se = w == null ? void 0 : w.when) == null ? void 0 : se.start_timezone) ?? "",
810
- end_timezone: ((re = w == null ? void 0 : w.when) == null ? void 0 : re.end_timezone) ?? ""
820
+ start_time: ((oe = C == null ? void 0 : C.when) == null ? void 0 : oe.start_time) ?? 0,
821
+ end_time: ((W = C == null ? void 0 : C.when) == null ? void 0 : W.end_time) ?? 0,
822
+ start_timezone: ((se = C == null ? void 0 : C.when) == null ? void 0 : se.start_timezone) ?? "",
823
+ end_timezone: ((re = C == null ? void 0 : C.when) == null ? void 0 : re.end_timezone) ?? ""
811
824
  },
812
- recurrence: (w == null ? void 0 : w.recurrence) ?? [],
825
+ recurrence: (C == null ? void 0 : C.recurrence) ?? [],
813
826
  calendar_id: d || (q == null ? void 0 : q.id) || "primary",
814
- participants: C != null && C.length ? C : Q,
827
+ participants: k != null && k.length ? k : Q,
815
828
  organizer: Y,
816
829
  capacity: B || 10
817
830
  };
@@ -839,7 +852,7 @@ const Ye = class {
839
852
  category: v.Component,
840
853
  title: i.t("nylasEditorTabs.bookingFormError")
841
854
  })), a;
842
- }, this.calendars = void 0, this.selectedConfiguration = void 0, this.configurations = void 0, this.currentUser = void 0, this.schedulerPreviewLink = "", this.mode = "app", this.hideEditorTabs = [], this.enableUserFeedback = !0, this.selectedLanguage = void 0, this.selectedEventType = void 0, this.selectedGroupEvent = void 0, this.action = "create", this.showFeedbackModal = !1, this.activeTab = g.CalendarView, this.isLoading = !1, this.componentLoaded = !1, this.hasUnsavedChanges = !1, this.changesSaved = !1, this.formState = {}, this.error = {
855
+ }, this.calendars = void 0, this.selectedConfiguration = void 0, this.configurations = void 0, this.currentUser = void 0, this.schedulerPreviewLink = "", this.mode = "app", this.hideEditorTabs = [], this.enableUserFeedback = !0, this.selectedLanguage = void 0, this.selectedEventType = void 0, this.selectedGroupEvent = void 0, this.themeConfig = void 0, this.action = "create", this.showFeedbackModal = !1, this.activeTab = g.CalendarView, this.isLoading = !1, this.componentLoaded = !1, this.hasUnsavedChanges = !1, this.changesSaved = !1, this.formState = {}, this.error = {
843
856
  message: "",
844
857
  type: _.Error,
845
858
  category: v.Component,
@@ -852,7 +865,7 @@ const Ye = class {
852
865
  }, e != null && e.id ? this.action = "edit" : this.action = "create";
853
866
  }
854
867
  selectedGroupEventChangedHandler(e) {
855
- var t, a, s, l, r, o, d, c, p, h, f, k, T, O, U, H, L, z, D, R, F, E, B, w, C, A, S, $, j, G, J;
868
+ var t, a, s, l, r, o, d, c, p, h, f, w, T, O, U, N, L, z, D, R, F, E, B, C, k, A, S, $, j, G, J;
856
869
  b("[nylas-editor-tabs-group]", "selectedGroupEventChangedHandler", e, this.selectedConfiguration), this.formState = {
857
870
  ...this.formState,
858
871
  title: (a = (t = this.selectedGroupEvent) == null ? void 0 : t.event) == null ? void 0 : a.title,
@@ -860,17 +873,17 @@ const Ye = class {
860
873
  location: (o = (r = this.selectedGroupEvent) == null ? void 0 : r.event) == null ? void 0 : o.location,
861
874
  conferencing: (c = (d = this.selectedGroupEvent) == null ? void 0 : d.event) == null ? void 0 : c.conferencing,
862
875
  eventCapacity: (h = (p = this.selectedGroupEvent) == null ? void 0 : p.group_event_info) == null ? void 0 : h.capacity,
863
- participants: (T = (k = (f = this.selectedGroupEvent) == null ? void 0 : f.group_event_info) == null ? void 0 : k.participants) == null ? void 0 : T.map((Z) => ({
876
+ participants: (T = (w = (f = this.selectedGroupEvent) == null ? void 0 : f.group_event_info) == null ? void 0 : w.participants) == null ? void 0 : T.map((Z) => ({
864
877
  name: Z.name,
865
878
  email: Z.email,
866
879
  is_organizer: !!Z.is_organizer
867
880
  })),
868
881
  eventTimeslot: (U = (O = this.selectedGroupEvent) == null ? void 0 : O.event) != null && U.when ? {
869
882
  when: {
870
- start_time: (z = (L = (H = this.selectedGroupEvent) == null ? void 0 : H.event) == null ? void 0 : L.when) == null ? void 0 : z.start_time,
883
+ start_time: (z = (L = (N = this.selectedGroupEvent) == null ? void 0 : N.event) == null ? void 0 : L.when) == null ? void 0 : z.start_time,
871
884
  end_time: (F = (R = (D = this.selectedGroupEvent) == null ? void 0 : D.event) == null ? void 0 : R.when) == null ? void 0 : F.end_time,
872
- start_timezone: (w = (B = (E = this.selectedGroupEvent) == null ? void 0 : E.event) == null ? void 0 : B.when) == null ? void 0 : w.start_timezone,
873
- end_timezone: (S = (A = (C = this.selectedGroupEvent) == null ? void 0 : C.event) == null ? void 0 : A.when) == null ? void 0 : S.end_timezone
885
+ start_timezone: (C = (B = (E = this.selectedGroupEvent) == null ? void 0 : E.event) == null ? void 0 : B.when) == null ? void 0 : C.start_timezone,
886
+ end_timezone: (S = (A = (k = this.selectedGroupEvent) == null ? void 0 : k.event) == null ? void 0 : A.when) == null ? void 0 : S.end_timezone
874
887
  },
875
888
  recurrence: (j = ($ = this.selectedGroupEvent) == null ? void 0 : $.group_event_info) != null && j.rrule ? (J = (G = this.selectedGroupEvent) == null ? void 0 : G.group_event_info) == null ? void 0 : J.rrule : []
876
889
  } : void 0
@@ -887,6 +900,14 @@ const Ye = class {
887
900
  message: i.t("fixFormErrors")
888
901
  }, this.showErrorNotification(this.error)));
889
902
  }
903
+ themeConfigChangedHandler(e, t) {
904
+ e !== t && this.applyThemeConfig(e);
905
+ }
906
+ applyThemeConfig(e) {
907
+ if (e)
908
+ for (const [t, a] of Object.entries(e))
909
+ this.host.style.setProperty(`${t}`, a);
910
+ }
890
911
  async schedulerConfigCreatedEventHandler(e) {
891
912
  return this.schedulerConfigCreated.emit(e);
892
913
  }
@@ -918,7 +939,7 @@ const Ye = class {
918
939
  var t, a, s;
919
940
  b("[nylas-editor-tabs-group]", "componentDidLoad"), this.enableUserFeedback && !Je() && Ve({
920
941
  dsn: "https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",
921
- release: "2.0.4",
942
+ release: "2.0.6",
922
943
  integrations: (l) => [
923
944
  ...l.filter((r) => !1),
924
945
  qe({
@@ -957,7 +978,7 @@ const Ye = class {
957
978
  captureContext: {
958
979
  tags: {
959
980
  "nylas-web-element": "nylas-scheduler-editor",
960
- "nylas-web-element-version": "2.0.4"
981
+ "nylas-web-element-version": "2.0.6"
961
982
  },
962
983
  extra: {
963
984
  configId: (s = this.selectedConfiguration) == null ? void 0 : s.id,
@@ -989,7 +1010,7 @@ const Ye = class {
989
1010
  type: _.Error,
990
1011
  category: v.Component,
991
1012
  title: i.t("nylasEditorTabs.formErrorTitle")
992
- }), (o = a.participants) != null && o.length && ((d = a.participants) != null && d.some((k) => !k.email)) && this.setError({
1013
+ }), (o = a.participants) != null && o.length && ((d = a.participants) != null && d.some((w) => !w.email)) && this.setError({
993
1014
  message: i.t("nylasEditorTabsGroup.participantEmailRequired"),
994
1015
  type: _.Error,
995
1016
  category: v.Component,
@@ -1021,7 +1042,7 @@ const Ye = class {
1021
1042
  });
1022
1043
  }
1023
1044
  createGroupEventHandler(e) {
1024
- var o, d, c, p, h, f, k;
1045
+ var o, d, c, p, h, f, w;
1025
1046
  const t = e.detail, a = {
1026
1047
  name: ((o = this.currentUser) == null ? void 0 : o.name) ?? ((d = this.currentUser) == null ? void 0 : d.email) ?? "",
1027
1048
  email: ((c = this.currentUser) == null ? void 0 : c.email) ?? ""
@@ -1037,7 +1058,7 @@ const Ye = class {
1037
1058
  calendar_id: (s == null ? void 0 : s.id) || "primary",
1038
1059
  capacity: t.eventCapacity
1039
1060
  };
1040
- this.groupEventCreateTriggered.emit({ groupEvent: r, configId: ((k = this.selectedConfiguration) == null ? void 0 : k.id) ?? "", host: this.host });
1061
+ this.groupEventCreateTriggered.emit({ groupEvent: r, configId: ((w = this.selectedConfiguration) == null ? void 0 : w.id) ?? "", host: this.host });
1041
1062
  }
1042
1063
  showErrorNotification(e) {
1043
1064
  this.nylasSchedulerError.emit({
@@ -1053,8 +1074,8 @@ const Ye = class {
1053
1074
  });
1054
1075
  }
1055
1076
  getGroupEventDetailsFromFormState() {
1056
- var f, k, T, O, U, H, L, z, D;
1057
- const e = ((f = this.calendars) == null ? void 0 : f.find((R) => R.is_primary)) ?? ((k = this.calendars) == null ? void 0 : k[0]), t = {
1077
+ var f, w, T, O, U, N, L, z, D;
1078
+ const e = ((f = this.calendars) == null ? void 0 : f.find((R) => R.is_primary)) ?? ((w = this.calendars) == null ? void 0 : w[0]), t = {
1058
1079
  name: ((T = this.currentUser) == null ? void 0 : T.name) ?? ((O = this.currentUser) == null ? void 0 : O.email) ?? "",
1059
1080
  email: ((U = this.currentUser) == null ? void 0 : U.email) ?? ""
1060
1081
  }, a = [{ ...t, is_organizer: !0 }], { title: s, description: l, bookingCalendar: r, location: o, conferencing: d, eventCapacity: c, eventTimeslot: p, participants: h } = this.formState;
@@ -1064,7 +1085,7 @@ const Ye = class {
1064
1085
  location: d ? void 0 : o,
1065
1086
  conferencing: o ? void 0 : d,
1066
1087
  when: {
1067
- start_time: ((H = p == null ? void 0 : p.when) == null ? void 0 : H.start_time) ?? 0,
1088
+ start_time: ((N = p == null ? void 0 : p.when) == null ? void 0 : N.start_time) ?? 0,
1068
1089
  end_time: ((L = p == null ? void 0 : p.when) == null ? void 0 : L.end_time) ?? 0,
1069
1090
  start_timezone: ((z = p == null ? void 0 : p.when) == null ? void 0 : z.start_timezone) ?? "",
1070
1091
  end_timezone: ((D = p == null ? void 0 : p.when) == null ? void 0 : D.end_timezone) ?? ""
@@ -1077,7 +1098,7 @@ const Ye = class {
1077
1098
  };
1078
1099
  }
1079
1100
  getFormStateFromConfig(e) {
1080
- var t, a, s, l, r, o, d, c, p, h, f, k, T, O;
1101
+ var t, a, s, l, r, o, d, c, p, h, f, w, T, O;
1081
1102
  return e != null && e.appearance && console.info("Appearance settings have been returned from the given configuration; please remember to grab them from the configSettingsLoaded event and apply them as desired."), {
1082
1103
  additionalFields: ((t = e == null ? void 0 : e.scheduler) == null ? void 0 : t.additional_fields) ?? {},
1083
1104
  bookingType: ((a = e == null ? void 0 : e.group_booking) == null ? void 0 : a.booking_type) ?? "booking",
@@ -1093,7 +1114,7 @@ const Ye = class {
1093
1114
  appearance: e == null ? void 0 : e.appearance,
1094
1115
  name: e == null ? void 0 : e.name,
1095
1116
  bookingCalendar: (f = e == null ? void 0 : e.group_booking) == null ? void 0 : f.calendar_id,
1096
- disableEmails: (k = e == null ? void 0 : e.group_booking) == null ? void 0 : k.disable_emails,
1117
+ disableEmails: (w = e == null ? void 0 : e.group_booking) == null ? void 0 : w.disable_emails,
1097
1118
  organizerLocale: (O = (T = e == null ? void 0 : e.scheduler) == null ? void 0 : T.email_template) == null ? void 0 : O.organizer_locale
1098
1119
  };
1099
1120
  }
@@ -1195,18 +1216,18 @@ const Ye = class {
1195
1216
  }
1196
1217
  render() {
1197
1218
  var e, t, a, s, l, r;
1198
- return b("[nylas-editor-tabs-group]", "render", this.formState), n(ce, { key: "dab39465763f8792725dc25a9539ac1ec64a2934" }, n("nylas-notification", { key: "1e16886e8a9b33bf47988ec8a4632bacc149b85a" }), n("form", { key: "f6949b2f11a413bb2734fb3c045c07f7273749ba", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (o) => this.formRef = o, noValidate: !0 }, this.mode === "app" ? n("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, n("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: (o) => {
1219
+ return b("[nylas-editor-tabs-group]", "render", this.formState), n(ce, { key: "76c493a97bfd6a0ba5a98233a2d4fecd29e73f4f" }, n("nylas-notification", { key: "28d9095c59ca8eb5a8bc2a10358263dd8b478657" }), n("form", { key: "70d81a11affc5eaa0d493f71a7da42588b7d2ea2", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (o) => this.formRef = o, noValidate: !0 }, this.mode === "app" ? n("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, n("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: (o) => {
1199
1220
  this.setActiveTab(o, g.CalendarView);
1200
- } }, n("chevron-icon", { width: "16", height: "16" }), n("span", null, i.t("returnToCalendarView")))) : null, this.mode === "app" ? n("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, n("div", { class: "tabs", part: "editor__tabs net__tabs" }, n("button", { name: g.BookingOptions, class: { tab: !0, active: this.activeTab == g.BookingOptions, hide: this.hideTab(g.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (o) => this.setActiveTab(o, g.BookingOptions) }, n("flow-icon", { width: "16", height: "16" }), i.t("bookingOptionsTab")), n("button", { name: g.BookingForm, class: { tab: !0, active: this.activeTab == g.BookingForm, hide: this.hideTab(g.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (o) => this.setActiveTab(o, g.BookingForm) }, this.activeTab == g.BookingForm ? n("calendar-agenda-fill-icon", { width: "16", height: "16" }) : n("calendar-agenda-icon", { width: "16", height: "16" }), i.t("bookingFormTab")), n("button", { name: g.Communications, class: { tab: !0, active: this.activeTab == g.Communications, hide: this.hideTab(g.Communications) }, onClick: (o) => this.setActiveTab(o, g.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == g.Communications ? n("envelope-fill-icon", { width: "16", height: "16" }) : n("envelope-icon", { width: "16", height: "16" }), i.t("communicationsTab")), n("button", { name: g.PageStyles, class: { tab: !0, active: this.activeTab == g.PageStyles, hide: this.hideTab(g.PageStyles) }, onClick: (o) => this.setActiveTab(o, g.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == g.PageStyles ? n("paintbrush-fill-icon", { width: "16", height: "16" }) : n("paintbrush-icon", { width: "16", height: "16" }), i.t("pageStylesTab"))), n("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, n(gt, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: i }))) : n("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, n("slot", null)), n("div", { key: "3f68911c711edd8d31e62cbae3b037d1df756e83", class: "footer", part: "editor__footer net__footer" }, n("div", { key: "712d97751222889a4042f74606c0d56706635040", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && n("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (o) => this.onFeedbackClick(o) }, n("feedback-icon", null)), this.activeTab === g.CalendarView && n("button-component", { class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: "basic", onClick: (o) => this.setActiveTab(o, g.BookingOptions) }, i.t("pageSettingsButton"))), n("div", { key: "16db38627f911e843337965f7c583d591adfec71", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, n("p", { key: "c6a29b4aa1fc48b0cefb09f0eaa3174f73c34705", class: {
1221
+ } }, n("chevron-icon", { width: "16", height: "16" }), n("span", null, i.t("returnToCalendarView")))) : null, this.mode === "app" ? n("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, n("div", { class: "tabs", part: "editor__tabs net__tabs" }, n("button", { name: g.BookingOptions, class: { tab: !0, active: this.activeTab == g.BookingOptions, hide: this.hideTab(g.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (o) => this.setActiveTab(o, g.BookingOptions) }, n("flow-icon", { width: "16", height: "16" }), i.t("bookingOptionsTab")), n("button", { name: g.BookingForm, class: { tab: !0, active: this.activeTab == g.BookingForm, hide: this.hideTab(g.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (o) => this.setActiveTab(o, g.BookingForm) }, this.activeTab == g.BookingForm ? n("calendar-agenda-fill-icon", { width: "16", height: "16" }) : n("calendar-agenda-icon", { width: "16", height: "16" }), i.t("bookingFormTab")), n("button", { name: g.Communications, class: { tab: !0, active: this.activeTab == g.Communications, hide: this.hideTab(g.Communications) }, onClick: (o) => this.setActiveTab(o, g.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == g.Communications ? n("envelope-fill-icon", { width: "16", height: "16" }) : n("envelope-icon", { width: "16", height: "16" }), i.t("communicationsTab")), n("button", { name: g.PageStyles, class: { tab: !0, active: this.activeTab == g.PageStyles, hide: this.hideTab(g.PageStyles) }, onClick: (o) => this.setActiveTab(o, g.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == g.PageStyles ? n("paintbrush-fill-icon", { width: "16", height: "16" }) : n("paintbrush-icon", { width: "16", height: "16" }), i.t("pageStylesTab"))), n("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, n(gt, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: i }))) : n("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, n("slot", null)), n("div", { key: "dd5ef485c1aa6955264379915867a5bda111a2b5", class: "footer", part: "editor__footer net__footer" }, n("div", { key: "5431c3dd9e45ee66cbd22c038546f6e97b82aff1", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && n("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (o) => this.onFeedbackClick(o) }, n("feedback-icon", null)), this.activeTab === g.CalendarView && n("button-component", { class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: "basic", onClick: (o) => this.setActiveTab(o, g.BookingOptions) }, i.t("pageSettingsButton"))), n("div", { key: "c2369b6564211918ab7aa31123e01cb4f98d943d", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, n("p", { key: "ffbd97cdaa59620c641c5a2adac0af76633ff043", class: {
1201
1222
  "unsaved-changes": this.hasUnsavedChanges && !this.changesSaved,
1202
1223
  "saved-changes": this.changesSaved,
1203
1224
  error: ((a = this.error) == null ? void 0 : a.message) !== "",
1204
1225
  "error-full-width": ((s = this.error) == null ? void 0 : s.message) !== "" && this.action === "create"
1205
- } }, ((l = this.error) == null ? void 0 : l.message) == "" && this.hasUnsavedChanges && !this.changesSaved && this.activeTab !== g.CalendarView ? i.t("unsavedChangesLabel") : ((r = this.error) == null ? void 0 : r.message) == "" && this.changesSaved ? `${i.t("changesSavedLabel")}!` : ""), n("div", { key: "6f41ace488c197acc6fe9022439853361bb2c7ef", class: "footer-buttons__row" }, this.schedulerPreviewLink !== "" && this.action === "edit" && n("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (o) => {
1226
+ } }, ((l = this.error) == null ? void 0 : l.message) == "" && this.hasUnsavedChanges && !this.changesSaved && this.activeTab !== g.CalendarView ? i.t("unsavedChangesLabel") : ((r = this.error) == null ? void 0 : r.message) == "" && this.changesSaved ? `${i.t("changesSavedLabel")}!` : ""), n("div", { key: "4edf752dbbf6dd86f97da5cf285afde1f56f900f", class: "footer-buttons__row" }, this.schedulerPreviewLink !== "" && this.action === "edit" && n("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (o) => {
1206
1227
  o.preventDefault(), this.previewButtonClicked.emit(this.host).defaultPrevented || window.open(le(this.schedulerPreviewLink, this.selectedConfiguration), "_blank");
1207
- }, variant: "basic" }, n("eye-icon", null)), n("button-component", { key: "22a57e394f093b95d4b395f322d1875a5ec11b09", type: "button", disabled: this.isLoading, clickHandler: (o) => {
1228
+ }, variant: "basic" }, n("eye-icon", null)), n("button-component", { key: "8fc79265e7819c0aeeba204f9f4e1ed6502ce5a1", type: "button", disabled: this.isLoading, clickHandler: (o) => {
1208
1229
  o.preventDefault(), this.cancelButtonClick.emit(), this.host.resetError();
1209
- }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, i.t("cancelButton")), n("button-component", { key: "414aa27aad816da5a7aa1ff36b7a143e13c99c7c", class: { "save-changes": this.action === "edit" }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.componentLoaded ? this.isLoading ? n("span", null, i.t("savingButtonText"), n("loading-icon", null), " ") : this.action === "create" ? `${i.t("createButtonText")}` : `${i.t("saveChangesButtonText")}` : n("span", null, n("loading-icon", null), " ")))))), this.showFeedbackModal && n("nylas-feedback-form", null));
1230
+ }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, i.t("cancelButton")), n("button-component", { key: "04509263358df45457a593c11f6b5625aedba833", class: { "save-changes": this.action === "edit" }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.componentLoaded ? this.isLoading ? n("span", null, i.t("savingButtonText"), n("loading-icon", null), " ") : this.action === "create" ? `${i.t("createButtonText")}` : `${i.t("saveChangesButtonText")}` : n("span", null, n("loading-icon", null), " ")))))), this.showFeedbackModal && n("nylas-feedback-form", null));
1210
1231
  }
1211
1232
  get host() {
1212
1233
  return pe(this);
@@ -1216,7 +1237,8 @@ const Ye = class {
1216
1237
  selectedConfiguration: ["configChangedHandler"],
1217
1238
  selectedGroupEvent: ["selectedGroupEventChangedHandler"],
1218
1239
  currentUser: ["userChangedHandler"],
1219
- selectedLanguage: ["selectedLanguageChangedHandler"]
1240
+ selectedLanguage: ["selectedLanguageChangedHandler"],
1241
+ themeConfig: ["themeConfigChangedHandler"]
1220
1242
  };
1221
1243
  }
1222
1244
  };
@@ -1230,7 +1252,8 @@ _t([
1230
1252
  ["schedulerConfig.configurations", "configurations"],
1231
1253
  ["schedulerConfig.selectedLanguage", "selectedLanguage"],
1232
1254
  ["schedulerConfig.selectedEventType", "selectedEventType"],
1233
- ["schedulerConfig.selectedGroupEvent", "selectedGroupEvent"]
1255
+ ["schedulerConfig.selectedGroupEvent", "selectedGroupEvent"],
1256
+ ["schedulerConfig.themeConfig", "themeConfig"]
1234
1257
  ]),
1235
1258
  eventToProps: {
1236
1259
  schedulerConfigChanged: async (e, t) => {
@@ -1245,14 +1268,14 @@ _t([
1245
1268
  };
1246
1269
  if (l === "edit") {
1247
1270
  const c = await t.schedulerConfig.updateConfiguration(r);
1248
- d(c, i.t("nylasEditorTabs.updateConfigurationError")), a && a(e);
1271
+ d(c, i.t("nylasEditorTabs.updateConfigError")), a && a(e);
1249
1272
  } else {
1250
1273
  const c = await t.schedulerConfig.createConfiguration(r);
1251
- d(c, i.t("nylasEditorTabs.createConfigurationError"));
1274
+ d(c, i.t("nylasEditorTabs.createConfigError"));
1252
1275
  const [p, h] = c, f = p == null ? void 0 : p.id;
1253
1276
  if (f && o) {
1254
- const k = await t.schedulerConfig.createGroupEvent(o, f);
1255
- d(k, i.t("nylasEditorTabsGroup.createGroupEventError"));
1277
+ const w = await t.schedulerConfig.createGroupEvent(o, f);
1278
+ d(w, i.t("nylasEditorTabsGroup.createGroupEventError"));
1256
1279
  }
1257
1280
  a && a(e);
1258
1281
  }
@@ -1336,8 +1359,8 @@ _t([
1336
1359
  ge("design:returntype", void 0)
1337
1360
  ], Ye.prototype, "render", null);
1338
1361
  Ye.style = mt;
1339
- const vt = ':host{display:grid;grid-auto-flow:row;width:100%;font-family:inherit;font-optical-sizing:auto;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:1rem}@media screen and (max-width: 768px){.header{flex-direction:column;gap:0.5rem;align-items:unset}}.header h2{margin:0;font-size:1.25rem;color:var(--nylas-base-900);font-weight:600}.header p{margin:0;font-size:16px;color:var(--nylas-base-700)}.header .actions{justify-self:end}@media screen and (max-width: 768px){.header .actions{width:100%}}.configurations{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);background:var(--nylas-base-0);height:100%;display:flex;flex-direction:column;position:relative;overflow-y:hidden}.configurations .table-container{overflow-y:auto;flex:1}@media screen and (max-width: 768px){.configurations .table-container{min-height:624px}}.configurations .table-container table{width:100%;border-spacing:0;border-collapse:collapse;font-family:inherit;height:max-content}.configurations .table-container table.no-configurations{height:100%}.configurations .table-container table tr{color:var(--nylas-base-800);border-bottom:1px solid var(--nylas-base-200);font-family:inherit}.configurations .table-container table tr.hide{display:none}.configurations .table-container table th{font-weight:600;text-transform:uppercase;font-size:14px;line-height:20px}.configurations .table-container table tr.no-configurations td>div{display:flex;height:100%;justify-content:center;align-items:center;flex-direction:column;padding:var(--nylas-border-radius-3x)}.configurations .table-container table tr.no-configurations td>div h3{margin:0 0 1rem 0;color:var(--nylas-base-700)}.configurations .table-container table tr.no-configurations td>div p{margin:0 0 1rem 0;color:var(--nylas-base-600)}.configurations .table-container table tr.no-configurations td>div calendar-icon{margin-bottom:1rem;color:var(--nylas-base-200)}.configurations .table-container table th,.configurations .table-container table td{text-align:left;padding:1rem;font-family:inherit}.configurations .table-container table .actions{display:flex;justify-content:flex-end;gap:1rem;text-align:right}.configurations .table-container table .actions button-component.edit-button{min-width:98px}@media screen and (max-width: 768px){.configurations .table-container table .actions{flex-direction:column;gap:0.5rem}}.configurations .table-container table .actions select-dropdown.last::part(sd_dropdown-content){bottom:54px}.configurations .table-container table .title{width:100%;max-width:300px}@media screen and (max-width: 768px){.configurations .table-container table .title{max-width:96px}}.configurations .table-container table .title div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.configurations .table-container table .title div.config-event-title{font-weight:600}.configurations .table-container table .title div.config-event-description{font-size:0.75rem}.configurations .pagination{padding:1rem;position:sticky;top:100%;display:flex;justify-content:flex-end;gap:0.5rem;background:white;width:calc(100% - 2rem);z-index:2}.configurations .pagination td.arrows{display:flex;justify-content:flex-end;gap:0.5rem}.configurations .pagination button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background-color:transparent;color:var(--nylas-base-800);cursor:pointer}.configurations .pagination button:hover:not(:disabled){border:1px solid var(--nylas-primary)}.configurations .pagination button:active{border:1px solid var(--nylas-base-800)}.configurations .pagination button:disabled{border:1px solid var(--nylas-base-100);background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.configurations .pagination button.right{transform:rotate(180deg)}.error-container{margin-top:1.5rem}.error-container .error{color:var(--nylas-error);padding:0.5rem 0;margin:1rem 0 0}button-component#copy button{width:108px}select-dropdown{width:auto}select-dropdown::part(sd_dropdown-button){display:block;height:48px;padding:0px 16px 8px}@media screen and (max-width: 768px){select-dropdown::part(sd_dropdown-button){width:92px}}select-dropdown::part(sd_dropdown-content){width:120px;right:0}select-dropdown::part(sd_dropdown-labelhtml){display:flex;gap:0.5rem;align-items:center;color:var(--nylas-base-900)}select-dropdown::part(sd_dropdown-labelhtml):hover{color:var(--nylas-primary)}.card-wrapper{position:absolute;top:0;left:0;height:calc(100% + 4rem);width:-webkit-fill-available;width:-moz-available;width:fill-available;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.card-wrapper{justify-content:start;height:100%}}.card-modal{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-modal{width:auto;border-radius:0px}}.description.title-desc{margin-bottom:2rem}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}', wt = vt;
1340
- var kt = function(e, t, a, s) {
1362
+ const vt = ':host{display:grid;grid-auto-flow:row;width:100%;font-family:inherit;font-optical-sizing:auto;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:1rem}@media screen and (max-width: 768px){.header{flex-direction:column;gap:0.5rem;align-items:unset}}.header h2{margin:0;font-size:1.25rem;color:var(--nylas-base-900);font-weight:600}.header p{margin:0;font-size:16px;color:var(--nylas-base-700)}.header .actions{justify-self:end}@media screen and (max-width: 768px){.header .actions{width:100%}}.configurations{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);background:var(--nylas-base-0);height:100%;display:flex;flex-direction:column;position:relative;overflow-y:hidden}.configurations .table-container{overflow-y:auto;flex:1}@media screen and (max-width: 768px){.configurations .table-container{min-height:624px}}.configurations .table-container table{width:100%;border-spacing:0;border-collapse:collapse;font-family:inherit;height:max-content}.configurations .table-container table.no-configurations{height:100%}.configurations .table-container table tr{color:var(--nylas-base-800);border-bottom:1px solid var(--nylas-base-200);font-family:inherit}.configurations .table-container table tr.hide{display:none}.configurations .table-container table th{font-weight:600;text-transform:uppercase;font-size:14px;line-height:20px}.configurations .table-container table tr.no-configurations td>div{display:flex;height:100%;justify-content:center;align-items:center;flex-direction:column;padding:var(--nylas-border-radius-3x)}.configurations .table-container table tr.no-configurations td>div h3{margin:0 0 1rem 0;color:var(--nylas-base-700)}.configurations .table-container table tr.no-configurations td>div p{margin:0 0 1rem 0;color:var(--nylas-base-600)}.configurations .table-container table tr.no-configurations td>div calendar-icon{margin-bottom:1rem;color:var(--nylas-base-200)}.configurations .table-container table th,.configurations .table-container table td{text-align:left;padding:1rem;font-family:inherit}.configurations .table-container table .actions{display:flex;justify-content:flex-end;gap:1rem;text-align:right}.configurations .table-container table .actions button-component.edit-button{min-width:98px}@media screen and (max-width: 768px){.configurations .table-container table .actions{flex-direction:column;gap:0.5rem}}.configurations .table-container table .actions select-dropdown.last::part(sd_dropdown-content){bottom:54px}.configurations .table-container table .title{width:100%;max-width:300px}@media screen and (max-width: 768px){.configurations .table-container table .title{max-width:96px}}.configurations .table-container table .title div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.configurations .table-container table .title div.config-event-title{font-weight:600}.configurations .table-container table .title div.config-event-description{font-size:0.75rem}.configurations .pagination{padding:1rem;position:sticky;top:100%;display:flex;justify-content:flex-end;gap:0.5rem;background:var(--nylas-base-0);width:calc(100% - 2rem);z-index:2}.configurations .pagination td.arrows{display:flex;justify-content:flex-end;gap:0.5rem}.configurations .pagination button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background-color:transparent;color:var(--nylas-base-800);cursor:pointer}.configurations .pagination button:hover:not(:disabled){border:1px solid var(--nylas-primary)}.configurations .pagination button:active{border:1px solid var(--nylas-base-800)}.configurations .pagination button:disabled{border:1px solid var(--nylas-base-100);background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.configurations .pagination button.right{transform:rotate(180deg)}.error-container{margin-top:1.5rem}.error-container .error{color:var(--nylas-error);padding:0.5rem 0;margin:1rem 0 0}button-component#copy button{width:108px}select-dropdown{width:auto;color:inherit}select-dropdown::part(sd_dropdown-button){display:block;height:48px;padding:0px 16px 8px}@media screen and (max-width: 768px){select-dropdown::part(sd_dropdown-button){width:92px}}select-dropdown::part(sd_dropdown-content){width:120px;right:0}select-dropdown::part(sd_dropdown-labelhtml){display:flex;gap:0.5rem;align-items:center;color:var(--nylas-base-900)}select-dropdown::part(sd_dropdown-labelhtml):hover{color:var(--nylas-primary)}.card-wrapper{position:absolute;top:0;left:0;height:calc(100% + 4rem);width:-webkit-fill-available;width:-moz-available;width:fill-available;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.card-wrapper{justify-content:start;height:100%}}.card-modal{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-modal{width:auto;border-radius:0px}}.description.title-desc{margin-bottom:2rem}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}', Ct = vt;
1363
+ var wt = function(e, t, a, s) {
1341
1364
  var l = arguments.length, r = l < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, a) : s, o;
1342
1365
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
1343
1366
  r = Reflect.decorate(e, t, a, s);
@@ -1351,7 +1374,7 @@ var kt = function(e, t, a, s) {
1351
1374
  };
1352
1375
  const Qe = class {
1353
1376
  constructor(e) {
1354
- te(this, e), this.initListConfigurations = m(this, "initListConfigurations", 7), this.createButtonClick = m(this, "createButtonClick", 7), this.editButtonClick = m(this, "editButtonClick", 7), this.deleteButtonClick = m(this, "deleteButtonClick", 7), this.nylasSchedulerError = m(this, "nylasSchedulerError", 6), this.dismissNotification = m(this, "dismissNotification", 6), this.configurations = [], this.selectedLanguage = void 0, this.schedulerPreviewLink = "", this.listConfigurationsNextCursor = void 0, this.state = "loading", this.error = {
1377
+ te(this, e), this.initListConfigurations = m(this, "initListConfigurations", 7), this.createButtonClick = m(this, "createButtonClick", 7), this.editButtonClick = m(this, "editButtonClick", 7), this.deleteButtonClick = m(this, "deleteButtonClick", 7), this.nylasSchedulerError = m(this, "nylasSchedulerError", 6), this.dismissNotification = m(this, "dismissNotification", 6), this.configurations = [], this.selectedLanguage = void 0, this.schedulerPreviewLink = "", this.listConfigurationsNextCursor = void 0, this.themeConfig = void 0, this.state = "loading", this.error = {
1355
1378
  message: "",
1356
1379
  type: _.Error,
1357
1380
  category: v.Component,
@@ -1368,6 +1391,9 @@ const Qe = class {
1368
1391
  selectedLanguageChangedHandler(e, t) {
1369
1392
  e !== t && i.changeLanguage(e);
1370
1393
  }
1394
+ themeConfigChangedHandler(e, t) {
1395
+ e !== t && this.applyThemeConfig(e);
1396
+ }
1371
1397
  connectedCallback() {
1372
1398
  b("[nylas-list-configurations]", "connectedCallback");
1373
1399
  }
@@ -1382,6 +1408,11 @@ const Qe = class {
1382
1408
  disconnectedCallback() {
1383
1409
  b("[nylas-list-configurations]", "disconnectedCallback");
1384
1410
  }
1411
+ applyThemeConfig(e) {
1412
+ if (e)
1413
+ for (const [t, a] of Object.entries(e))
1414
+ this.host.style.setProperty(`${t}`, a);
1415
+ }
1385
1416
  async handleNylasFormDropdownChanged(e) {
1386
1417
  var l;
1387
1418
  b("[nylas-list-configurations]", "handleNylasFormDropdownChanged", e.detail);
@@ -1507,7 +1538,7 @@ const Qe = class {
1507
1538
  { value: `preview-${a}`, label: "Preview", labelHTML: this.getActionLabelHTML("preview") },
1508
1539
  { value: `copy-${a}`, label: "Copy link", labelHTML: this.getActionLabelHTML("copy") },
1509
1540
  { value: `delete-${a}`, label: "Delete", labelHTML: this.getActionLabelHTML("delete") }
1510
- ], defaultSelectedOption: { value: "", label: "" }, dropdownButtonText: "...", withSearch: !1, withChevron: !1, exportparts: "sd_dropdown: actions__dropdown, sd_dropdown-button: actions__dropdown-button, sd_dropdown-content: actions__dropdown-content, actions-Copy, actions-Preview, actions-Delete" }))));
1541
+ ], defaultSelectedOption: { value: "", label: "" }, dropdownButtonText: "...", withSearch: !1, withChevron: !1, themeConfig: this.themeConfig, exportparts: "sd_dropdown: actions__dropdown, sd_dropdown-button: actions__dropdown-button, sd_dropdown-content: actions__dropdown-content, actions-Copy, actions-Preview, actions-Delete" }))));
1511
1542
  })))), n("div", { class: "pagination" }, n("button", { class: "arrow left", onClick: () => this.previousPageClickedHandler(), disabled: this.previousCursors.length <= 0 }, n("chevron-icon", null)), n("button", { class: "arrow right", onClick: () => this.nextPageClickedHandler(), disabled: this.disableNextPageButton }, n("chevron-icon", null)))), !!this.deleteConfigurationId && n("div", { class: "card-wrapper" }, n("div", { class: "card-modal" }, n("div", { class: "close-button" }, n("button-component", { tooltip: "Close", id: "close", variant: "invisible", onClick: (t) => this.closeModal(t), part: "nfbf__close-button" }, n("close-icon", null))), n("div", { class: "header" }, n("h2", { slot: "card-title", part: "nfbf__title" }, i.t("deleteSchedulingPageTitle"))), n("div", { class: "description title-desc" }, n("p", null, i.t("deleteSchedulingPageDescription"))), n("div", { class: {
1512
1543
  footer: !0
1513
1544
  } }, n("button-component", { variant: "basic", onClick: (t) => this.closeModal(t), part: "nfbf__button-outline nfbf__cancel-cta" }, `${i.t("deleteSchedulingPageCancelButton")}`), n("button-component", { variant: "destructive", onClick: (t) => this.handleConfirmDeleteButtonClicked(t), disabled: this.showDeleteButtonLoading, isLoading: this.showDeleteButtonLoading, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${i.t("deleteSchedulingPageConfirmButton")}`)))));
@@ -1518,17 +1549,19 @@ const Qe = class {
1518
1549
  static get watchers() {
1519
1550
  return {
1520
1551
  listConfigurationsNextCursor: ["listConfigurationsNextCursorChangedHandler"],
1521
- selectedLanguage: ["selectedLanguageChangedHandler"]
1552
+ selectedLanguage: ["selectedLanguageChangedHandler"],
1553
+ themeConfig: ["themeConfigChangedHandler"]
1522
1554
  };
1523
1555
  }
1524
1556
  };
1525
- kt([
1557
+ wt([
1526
1558
  be({
1527
1559
  name: "nylas-list-configurations",
1528
1560
  stateToProps: /* @__PURE__ */ new Map([
1529
1561
  ["schedulerConfig.configurations", "configurations"],
1530
1562
  ["schedulerConfig.listConfigurationsNextCursor", "listConfigurationsNextCursor"],
1531
- ["schedulerConfig.selectedLanguage", "selectedLanguage"]
1563
+ ["schedulerConfig.selectedLanguage", "selectedLanguage"],
1564
+ ["schedulerConfig.themeConfig", "themeConfig"]
1532
1565
  ]),
1533
1566
  localPropsToProp: /* @__PURE__ */ new Map([["schedulerPreviewLink", "schedulerPreviewLink"]]),
1534
1567
  eventToProps: {
@@ -1589,8 +1622,8 @@ kt([
1589
1622
  fe("design:paramtypes", []),
1590
1623
  fe("design:returntype", void 0)
1591
1624
  ], Qe.prototype, "render", null);
1592
- Qe.style = wt;
1593
- const Ct = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-select-event-type{height:inherit;overflow-y:auto}.nylas-select-event-type div.header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nylas-base-200)}.nylas-select-event-type div.header h2{font-size:18px;padding:0 24px;line-height:24px;margin:0;font-weight:600;color:var(--nylas-base-800)}.nylas-select-event-type div.header button-component button{background:transparent;border:none;cursor:pointer}.nylas-select-event-type div.header button-component button:hover,.nylas-select-event-type div.header button-component button:active{color:var(--nylas-primary);background-color:transparent}.nylas-select-event-type div.header button-component button:disabled{cursor:not-allowed}.nylas-select-event-type div.content{padding:40px}.nylas-select-event-type div.content h3{margin:0 0 32px 0;font-size:18px;line-height:24px;font-weight:600}.nylas-select-event-type div.content div.event-type{display:flex;flex-direction:column;gap:8px}.nylas-select-event-type div.content div.event-type div.event-type-option{padding:16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-3x);width:inherit;cursor:pointer;display:flex;flex-direction:column;gap:8px}.nylas-select-event-type div.content div.event-type div.event-type-option h4{margin:0;font-size:16px;line-height:24px;font-weight:600;color:var(--nylas-base-900)}.nylas-select-event-type div.content div.event-type div.event-type-option p{margin:0;font-size:14px;line-height:21px;font-weight:400;color:var(--nylas-base-800)}', xt = Ct;
1625
+ Qe.style = Ct;
1626
+ const kt = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:inherit}.nylas-select-event-type{height:inherit;overflow-y:auto}.nylas-select-event-type div.header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nylas-base-200)}.nylas-select-event-type div.header h2{font-size:18px;padding:0 24px;line-height:24px;margin:0;font-weight:600;color:var(--nylas-base-800)}.nylas-select-event-type div.header button-component button{background:transparent;border:none;cursor:pointer}.nylas-select-event-type div.header button-component button:hover,.nylas-select-event-type div.header button-component button:active{color:var(--nylas-primary);background-color:transparent}.nylas-select-event-type div.header button-component button:disabled{cursor:not-allowed}.nylas-select-event-type div.content{padding:40px}.nylas-select-event-type div.content h3{margin:0 0 32px 0;font-size:18px;line-height:24px;font-weight:600}.nylas-select-event-type div.content div.event-type{display:flex;flex-direction:column;gap:8px}.nylas-select-event-type div.content div.event-type div.event-type-option{padding:16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-3x);width:inherit;cursor:pointer;display:flex;flex-direction:column;gap:8px}.nylas-select-event-type div.content div.event-type div.event-type-option h4{margin:0;font-size:16px;line-height:24px;font-weight:600;color:var(--nylas-base-900)}.nylas-select-event-type div.content div.event-type div.event-type-option p{margin:0;font-size:14px;line-height:21px;font-weight:400;color:var(--nylas-base-800)}', xt = kt;
1594
1627
  var Et = function(e, t, a, s) {
1595
1628
  var l = arguments.length, r = l < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, a) : s, o;
1596
1629
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -1611,7 +1644,7 @@ const Xe = class {
1611
1644
  max_fairness: !0,
1612
1645
  max_availability: !0,
1613
1646
  group: !0
1614
- };
1647
+ }, this.themeConfig = void 0;
1615
1648
  }
1616
1649
  connectedCallback() {
1617
1650
  b("nylas-select-event-type", "connectedCallback");
@@ -1631,6 +1664,14 @@ const Xe = class {
1631
1664
  selectedLanguageChangedHandler(e, t) {
1632
1665
  e !== t && i.changeLanguage(e);
1633
1666
  }
1667
+ themeConfigChangedHandler(e, t) {
1668
+ e !== t && this.applyThemeConfig(e);
1669
+ }
1670
+ applyThemeConfig(e) {
1671
+ if (e)
1672
+ for (const [t, a] of Object.entries(e))
1673
+ this.host.style.setProperty(`${t}`, a);
1674
+ }
1634
1675
  render() {
1635
1676
  var r;
1636
1677
  const e = {
@@ -1681,7 +1722,8 @@ const Xe = class {
1681
1722
  static get watchers() {
1682
1723
  return {
1683
1724
  name: ["elementNameChangedHandler"],
1684
- selectedLanguage: ["selectedLanguageChangedHandler"]
1725
+ selectedLanguage: ["selectedLanguageChangedHandler"],
1726
+ themeConfig: ["themeConfigChangedHandler"]
1685
1727
  };
1686
1728
  }
1687
1729
  };
@@ -1691,7 +1733,8 @@ Et([
1691
1733
  stateToProps: /* @__PURE__ */ new Map([
1692
1734
  ["schedulerConfig.selectedLanguage", "selectedLanguage"],
1693
1735
  ["schedulerConfig.additionalParticipants", "participantOptions"],
1694
- ["schedulerConfig.enableEventTypes", "enableEventTypes"]
1736
+ ["schedulerConfig.enableEventTypes", "enableEventTypes"],
1737
+ ["schedulerConfig.themeConfig", "themeConfig"]
1695
1738
  ]),
1696
1739
  eventToProps: {
1697
1740
  returnToAllSchedulingPagesEvent: async (e, t) => {