@nylas/web-elements 2.5.4-canary-20260414190133 → 2.5.4

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 (75) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +14 -7
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +9 -5
  3. package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
  4. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +8 -1
  5. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nylas-scheduler-editor.entry.cjs.js.map +1 -1
  7. package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
  8. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  9. package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
  10. package/dist/cjs/radio-button-group.cjs.entry.js +8 -1
  11. package/dist/cjs/radio-button-group.cjs.entry.js.map +1 -1
  12. package/dist/cjs/radio-button-group.entry.cjs.js.map +1 -1
  13. package/dist/cjs/{version-YNIW-ify.js → version-COw2dh2E.js} +3 -3
  14. package/dist/cjs/{version-YNIW-ify.js.map → version-COw2dh2E.js.map} +1 -1
  15. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +8 -1
  16. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js.map +1 -1
  17. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
  18. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  19. package/dist/collection/components/scheduler/nylas-scheduling/scheduler-view.js +1 -1
  20. package/dist/collection/components/scheduler/nylas-scheduling/scheduler-view.js.map +1 -1
  21. package/dist/collection/connector/shared/api/scheduler-config.js +7 -0
  22. package/dist/collection/connector/shared/api/scheduler-config.js.map +1 -1
  23. package/dist/collection/version.js +1 -1
  24. package/dist/collection/version.js.map +1 -1
  25. package/dist/components/nylas-booking-form.js +1 -1
  26. package/dist/components/nylas-editor-tabs-group.js +1 -1
  27. package/dist/components/nylas-editor-tabs.js +1 -1
  28. package/dist/components/nylas-scheduler-editor.js +12 -5
  29. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  30. package/dist/components/nylas-scheduling.js +5 -5
  31. package/dist/components/nylas-scheduling.js.map +1 -1
  32. package/dist/components/nylas-timeslot-interval.js +1 -1
  33. package/dist/components/{p-CrRo4iAd.js → p-BUEZ6uxG.js} +3 -3
  34. package/dist/components/{p-CrRo4iAd.js.map → p-BUEZ6uxG.js.map} +1 -1
  35. package/dist/components/{p-CK5WaL4F.js → p-Bd0cKEr-.js} +5 -5
  36. package/dist/components/{p-CK5WaL4F.js.map → p-Bd0cKEr-.js.map} +1 -1
  37. package/dist/components/{p-CMFPcpfe.js → p-C0pHjJtj.js} +3 -3
  38. package/dist/components/{p-CMFPcpfe.js.map → p-C0pHjJtj.js.map} +1 -1
  39. package/dist/components/{p-B_Qi3sM4.js → p-CyWE9dXK.js} +10 -3
  40. package/dist/components/p-CyWE9dXK.js.map +1 -0
  41. package/dist/components/{p-CFYeMUAJ.js → p-DTmxwCTa.js} +3 -3
  42. package/dist/components/{p-CFYeMUAJ.js.map → p-DTmxwCTa.js.map} +1 -1
  43. package/dist/components/{p-CqSo9p2I.js → p-ejCgVZ9o.js} +3 -3
  44. package/dist/components/{p-CqSo9p2I.js.map → p-ejCgVZ9o.js.map} +1 -1
  45. package/dist/components/radio-button-group.js +1 -1
  46. package/dist/esm/google-logo-icon_6.entry.js +1 -1
  47. package/dist/esm/nylas-scheduler-editor.entry.js +8 -1
  48. package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
  49. package/dist/esm/nylas-scheduling.entry.js +3 -3
  50. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  51. package/dist/esm/radio-button-group.entry.js +8 -1
  52. package/dist/esm/radio-button-group.entry.js.map +1 -1
  53. package/dist/esm/{version-B_bXhV6M.js → version-DDixcvI0.js} +3 -3
  54. package/dist/esm/{version-B_bXhV6M.js.map → version-DDixcvI0.js.map} +1 -1
  55. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.esm.js.map +1 -1
  56. package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
  57. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  58. package/dist/nylas-web-elements/{p-5a861a93.entry.js → p-7876f3e5.entry.js} +2 -2
  59. package/dist/nylas-web-elements/{p-5a861a93.entry.js.map → p-7876f3e5.entry.js.map} +1 -1
  60. package/dist/nylas-web-elements/{p-4f5cfb00.entry.js → p-937127a0.entry.js} +2 -2
  61. package/dist/nylas-web-elements/{p-B_bXhV6M.js → p-DDixcvI0.js} +2 -2
  62. package/dist/nylas-web-elements/{p-B_bXhV6M.js.map → p-DDixcvI0.js.map} +1 -1
  63. package/dist/nylas-web-elements/{p-5ab4cc6d.entry.js → p-a6d5e357.entry.js} +2 -2
  64. package/dist/nylas-web-elements/p-a6d5e357.entry.js.map +1 -0
  65. package/dist/nylas-web-elements/p-f5cf4c30.entry.js +2 -0
  66. package/dist/nylas-web-elements/p-f5cf4c30.entry.js.map +1 -0
  67. package/dist/nylas-web-elements/radio-button-group.entry.esm.js.map +1 -1
  68. package/dist/types/connector/shared/api/scheduler-config.d.ts +1 -0
  69. package/dist/types/version.d.ts +1 -1
  70. package/package.json +1 -1
  71. package/dist/components/p-B_Qi3sM4.js.map +0 -1
  72. package/dist/nylas-web-elements/p-5ab4cc6d.entry.js.map +0 -1
  73. package/dist/nylas-web-elements/p-70ade4dd.entry.js +0 -2
  74. package/dist/nylas-web-elements/p-70ade4dd.entry.js.map +0 -1
  75. /package/dist/nylas-web-elements/{p-4f5cfb00.entry.js.map → p-937127a0.entry.js.map} +0 -0
@@ -26572,7 +26572,7 @@ const gQ = () => ({
26572
26572
  lazyLoadIntegration: iX,
26573
26573
  getModalIntegration: () => dQ,
26574
26574
  getScreenshotIntegration: () => gQ
26575
- }), Zr = "2.5.4-canary-20260414190133", yQ = ".sc-add-circle-icon-h{display:flex}", bQ = De(class extends Ae {
26575
+ }), Zr = "2.5.4", yQ = ".sc-add-circle-icon-h{display:flex}", bQ = De(class extends Ae {
26576
26576
  constructor() {
26577
26577
  super(), this.__registerHost(), this.width = "24", this.height = "25";
26578
26578
  }
@@ -38386,7 +38386,11 @@ const uie = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;-
38386
38386
  });
38387
38387
  }
38388
38388
  componentDidLoad() {
38389
- this.selectedValue = this.defaultSelectedValue;
38389
+ this.selectedValue = this.defaultSelectedValue, this.defaultSelectedValue && this.nylasFormRadioChanged.emit({
38390
+ value: this.defaultSelectedValue,
38391
+ name: this.name,
38392
+ label: this.label
38393
+ });
38390
38394
  }
38391
38395
  handleBookingFormSubmitted(e) {
38392
38396
  if (this.required && !this.selectedValue) {
@@ -38406,7 +38410,7 @@ const uie = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;-
38406
38410
  });
38407
38411
  }
38408
38412
  render() {
38409
- return c("div", { key: "9a171da3f6a18e69d743e068cfb3a958b4534ec2", class: "radio-group" }, c("slot", { key: "6ce2e5f4e51b3907a6cb5d952423bc720a16bd75", name: "label" }, this.label && c("p", { key: "6cefd7a9568652f81b5dd2a61157e9253e6ad5e5", class: { error: !!this.error } }, c("span", { key: "ac078a4f3eba135f85acf1a9417682545221cd39", class: "label" }, this.label), this.required && c("span", { key: "531c0bef412eac313ca0e91d74e5a5ae0f277fa3", class: "required" }, "*"))), this.options.map((e) => c("label", null, c("div", { class: "radio-option" }, c("input", { type: "radio", disabled: this.readOnly, readOnly: this.readOnly, title: this.readOnly ? "read-only field" : void 0, name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), c("p", null, c("span", { class: "title" }, e.label), c("span", { class: "description" }, e.description))))), this.error && c("span", { key: "e5b907eea1916a3c3e84c49763f20b5008a29e05", class: "error help-text" }, this.error));
38413
+ return c("div", { key: "7d4f9dbc6fb35ba0d6ec854c67b04f320888bff0", class: "radio-group" }, c("slot", { key: "4e8f1ebf95e25021f49c0973bb16609730303c2d", name: "label" }, this.label && c("p", { key: "a944e18fac56caeb5582028c38d055b399cd6693", class: { error: !!this.error } }, c("span", { key: "2730c691418b2890b52b182d0389eb4a6ea42edb", class: "label" }, this.label), this.required && c("span", { key: "ec2d3213ab090cf75a9499c03f64b1cf8ac860b8", class: "required" }, "*"))), this.options.map((e) => c("label", null, c("div", { class: "radio-option" }, c("input", { type: "radio", disabled: this.readOnly, readOnly: this.readOnly, title: this.readOnly ? "read-only field" : void 0, name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), c("p", null, c("span", { class: "title" }, e.label), c("span", { class: "description" }, e.description))))), this.error && c("span", { key: "bbe79d56c58731dd23fd68f6efea548faffcbc25", class: "error help-text" }, this.error));
38410
38414
  }
38411
38415
  get el() {
38412
38416
  return this;
@@ -52098,7 +52102,7 @@ class Tae {
52098
52102
  message: "Error creating group event: " + a.message
52099
52103
  })) : Qn(i) ? (this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(null, {
52100
52104
  message: "Error creating group event: " + ((r = i.error) == null ? void 0 : r.message)
52101
- })) : (this.nylasSchedulerConfigStore.state.selectedGroupEvent = i.data, await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(i.data));
52105
+ })) : (this.nylasSchedulerConfigStore.state.selectedGroupEvent = i.data, this.invalidateGroupEventsCache(), await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(i.data));
52102
52106
  }
52103
52107
  async getGroupEvents(e, t) {
52104
52108
  var f, g;
@@ -52135,6 +52139,9 @@ class Tae {
52135
52139
  timestamp: Date.now()
52136
52140
  }), this.cleanupExpiredCache(), this.nylasSchedulerConfigStore.state.groupEvents = p.data, Ve(p.data));
52137
52141
  }
52142
+ invalidateGroupEventsCache() {
52143
+ this.groupEventsCache.clear();
52144
+ }
52138
52145
  cleanupExpiredCache() {
52139
52146
  const e = Date.now();
52140
52147
  for (const [t, i] of this.groupEventsCache.entries())
@@ -52157,7 +52164,7 @@ class Tae {
52157
52164
  message: "Error updating group event: " + r.message
52158
52165
  })) : Qn(a) ? (this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(null, {
52159
52166
  message: "Error updating group event: " + ((o = a.error) == null ? void 0 : o.message)
52160
- })) : (this.nylasSchedulerConfigStore.state.selectedGroupEvent = a.data, await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(a.data));
52167
+ })) : (this.nylasSchedulerConfigStore.state.selectedGroupEvent = a.data, this.invalidateGroupEventsCache(), await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(a.data));
52161
52168
  }
52162
52169
  async updateGroupEvent(e, t, i) {
52163
52170
  var y, f, g, v, C, E, _, T, R, A, D, $, z, Z;
@@ -52245,7 +52252,7 @@ class Tae {
52245
52252
  message: "Error deleting group event: " + o.message
52246
52253
  })) : Qn(r) ? (this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(null, {
52247
52254
  message: "Error deleting group event: " + ((u = r.error) == null ? void 0 : u.message)
52248
- })) : (await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(r.data));
52255
+ })) : (this.invalidateGroupEventsCache(), await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(r.data));
52249
52256
  }
52250
52257
  async importGroupEvent(e, t) {
52251
52258
  var s, d, u, p, y;
@@ -52264,7 +52271,7 @@ class Tae {
52264
52271
  message: "Error importing group event: " + o.message
52265
52272
  })) : Qn(r) ? (this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(null, {
52266
52273
  message: "Error importing group event: " + ((u = r.error) == null ? void 0 : u.message)
52267
- })) : (((y = (p = r.data) == null ? void 0 : p.imported_events) == null ? void 0 : y.length) > 0 && await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(r.data));
52274
+ })) : (((y = (p = r.data) == null ? void 0 : p.imported_events) == null ? void 0 : y.length) > 0 && (this.invalidateGroupEventsCache(), await this.getGroupEvents(t, this.nylasSchedulerConfigStore.state.selectedConfiguration)), this.nylasSchedulerConfigStore.state.isLoading = !1, Ve(r.data));
52268
52275
  }
52269
52276
  }
52270
52277
  class Sae {
@@ -26061,7 +26061,7 @@ const jN = () => ({
26061
26061
  lazyLoadIntegration: AR,
26062
26062
  getModalIntegration: () => ON,
26063
26063
  getScreenshotIntegration: () => jN
26064
- }), Ro = "2.5.4-canary-20260414190133", UN = (t, e, n) => {
26064
+ }), Ro = "2.5.4", UN = (t, e, n) => {
26065
26065
  const i = t.get(e);
26066
26066
  i ? i.includes(n) || i.push(n) : t.set(e, [n]);
26067
26067
  }, HN = (t, e) => {
@@ -27345,7 +27345,11 @@ const NF = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
27345
27345
  });
27346
27346
  }
27347
27347
  componentDidLoad() {
27348
- this.selectedValue = this.defaultSelectedValue;
27348
+ this.selectedValue = this.defaultSelectedValue, this.defaultSelectedValue && this.nylasFormRadioChanged.emit({
27349
+ value: this.defaultSelectedValue,
27350
+ name: this.name,
27351
+ label: this.label
27352
+ });
27349
27353
  }
27350
27354
  handleBookingFormSubmitted(e) {
27351
27355
  if (this.required && !this.selectedValue) {
@@ -27365,7 +27369,7 @@ const NF = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
27365
27369
  });
27366
27370
  }
27367
27371
  render() {
27368
- return v("div", { key: "9a171da3f6a18e69d743e068cfb3a958b4534ec2", class: "radio-group" }, v("slot", { key: "6ce2e5f4e51b3907a6cb5d952423bc720a16bd75", name: "label" }, this.label && v("p", { key: "6cefd7a9568652f81b5dd2a61157e9253e6ad5e5", class: { error: !!this.error } }, v("span", { key: "ac078a4f3eba135f85acf1a9417682545221cd39", class: "label" }, this.label), this.required && v("span", { key: "531c0bef412eac313ca0e91d74e5a5ae0f277fa3", class: "required" }, "*"))), this.options.map((e) => v("label", null, v("div", { class: "radio-option" }, v("input", { type: "radio", disabled: this.readOnly, readOnly: this.readOnly, title: this.readOnly ? "read-only field" : void 0, name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), v("p", null, v("span", { class: "title" }, e.label), v("span", { class: "description" }, e.description))))), this.error && v("span", { key: "e5b907eea1916a3c3e84c49763f20b5008a29e05", class: "error help-text" }, this.error));
27372
+ return v("div", { key: "7d4f9dbc6fb35ba0d6ec854c67b04f320888bff0", class: "radio-group" }, v("slot", { key: "4e8f1ebf95e25021f49c0973bb16609730303c2d", name: "label" }, this.label && v("p", { key: "a944e18fac56caeb5582028c38d055b399cd6693", class: { error: !!this.error } }, v("span", { key: "2730c691418b2890b52b182d0389eb4a6ea42edb", class: "label" }, this.label), this.required && v("span", { key: "ec2d3213ab090cf75a9499c03f64b1cf8ac860b8", class: "required" }, "*"))), this.options.map((e) => v("label", null, v("div", { class: "radio-option" }, v("input", { type: "radio", disabled: this.readOnly, readOnly: this.readOnly, title: this.readOnly ? "read-only field" : void 0, name: this.name, value: e.value, checked: this.selectedValue === e.value, onChange: () => this.handleChange(e.value) }), v("p", null, v("span", { class: "title" }, e.label), v("span", { class: "description" }, e.description))))), this.error && v("span", { key: "bbe79d56c58731dd23fd68f6efea548faffcbc25", class: "error help-text" }, this.error));
27369
27373
  }
27370
27374
  get el() {
27371
27375
  return this;
@@ -30560,7 +30564,7 @@ const Vt = (t, e) => {
30560
30564
  !n && e,
30561
30565
  v(
30562
30566
  "div",
30563
- { class: "footer", part: "ns_footer" },
30567
+ { key: "ns-footer", class: "footer", part: "ns_footer" },
30564
30568
  r && v(
30565
30569
  "a",
30566
30570
  { href: "https://scheduler.nylas.com?utm_source=powered-by-nylas-logoutm_medium=link&utm_campaign=get-scheduler&utm_id=get-scheduler", class: "powered-by-nylas", target: "_blank", rel: "noreferrer noopener" },
@@ -31035,7 +31039,7 @@ const Vt = (t, e) => {
31035
31039
  return v(ve, null, v(Vt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, v("div", { class: "booked-event-page", part: "booked-event-page ns_booked-event-page" }, v("nylas-booked-event-card", { selectedTimeslot: s, eventInfo: i, exportparts: "nbec, nbec__title, nbec__card, nbec__description, nbec__button-outline, nbec__cancel-cta, nbec__reschedule-cta" }))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
31036
31040
  if (e && (!i || u) && !r) {
31037
31041
  const x = this.host.querySelector('[slot="timeslot-picker-cta-label"]');
31038
- return v(ve, null, v(Vt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, u && v(Ou, null, `${M.t("rescheduleTitle")}`), v("div", { class: "select-date-page", part: "select-date-page ns_select-date-page" }, v("div", { class: "left-panel", part: "ns_left-panel" }, v("nylas-date-picker", { exportparts: "ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month" }), v("nylas-locale-switch", { exportparts: "nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label" })), v("div", { class: `right-panel ${u ? "reschedule" : ""}`, part: `ns_right-panel ${u ? "ns_reschedule" : ""}` }, v("h2", { part: "ns_right-panel__title" }, v("calendar-icon", { part: "ns_right-panel__calendar-icon" }), v("span", { id: "selectedDate", part: "ns_right-panel__selected-date" }, this.selectedDateLabel)), v("nylas-timeslot-picker", { exportparts: "ntp, ntp__time-picker-wrapper, ntp__timeslots, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary" }, x && v("span", { slot: "timeslot-picker-cta-label" }, v("slot", { name: "timeslot-picker-cta-label" })))))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (P) => this.onFeedbackClick(P) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((P) => P.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null));
31042
+ return v(ve, null, v(Vt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, u && v(Ou, null, `${M.t("rescheduleTitle")}`), v("div", { class: "select-date-page", part: "select-date-page ns_select-date-page" }, v("div", { class: "left-panel", part: "ns_left-panel" }, v("nylas-date-picker", { exportparts: "ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month" }), v("nylas-locale-switch", { exportparts: "nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label" })), v("div", { class: `right-panel ${u ? "reschedule" : ""}`, part: `ns_right-panel ${u ? "ns_reschedule" : ""}` }, v("h2", { part: "ns_right-panel__title" }, v("calendar-icon", { part: "ns_right-panel__calendar-icon" }), v("span", { id: "selectedDate", part: "ns_right-panel__selected-date" }, this.selectedDateLabel)), v("nylas-timeslot-picker", { exportparts: "ntp, ntp__time-picker-wrapper, ntp__timeslots, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary" }, x && v("span", { slot: "timeslot-picker-cta-label" }, v("slot", { name: "timeslot-picker-cta-label" })))))), this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (P) => this.onFeedbackClick(P) }, v("feedback-icon", null)), this.showFeedbackModal && v("nylas-feedback-form", null));
31039
31043
  }
31040
31044
  return e && !i && r ? v(ve, null, v(Vt, { version: this.version, nylasBranding: l, isLoading: this.isLoading, showNotification: this.showNotification }, u && v(Ou, null, `${M.t("rescheduleTitle")}`), v("div", { class: "additional-data-page", part: "additional-data-page ns_additional-data-page" }, v("div", { class: "left-panel ns_left-panel", part: "ns_left-panel" }, v("div", { class: "wrapper", part: "ns_left-panel__wrapper" }, v("nylas-selected-event-card", { exportparts: "nsec, nsec__card, nsec__icon, nsec__date, nsec__time, nsec__timezone" }))), v("div", { class: `right-panel ${u ? "reschedule" : ""}`, part: `ns_right-panel ${u ? "ns_reschedule" : ""}` }, v("nylas-booking-form", { exportparts: "nbf, nbf__input-textfield, nbf__button-ghost, nbf__button-outline, nbf__button-primary, nbf__input-wrapper, nbf__checkbox-component, nbf__radio-button-group, nbf__textarea-component, nbf__dropdown, nbf__dropdown-button, nbf__dropdown-content" })))), v("div", { class: "language-feedback-container" }, this.enableUserFeedback && v("button-component", { id: "report-issue", variant: "basic", onClick: (x) => this.onFeedbackClick(x) }, v("feedback-icon", null)), v("select-dropdown", { name: "language", searchPlaceholder: M.t("search"), options: b, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: b.find((x) => x.value == m), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, v("span", { slot: "select-icon" }, v("translate-icon", { width: "20", height: "20" })))), this.showFeedbackModal && v("nylas-feedback-form", null)) : v(ve, null, v("slot", null));
31041
31045
  }
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-9TuL48qE.js');
4
4
  var registerComponent = require('./register-component-Cu3tKKKD.js');
5
5
  var utils = require('./utils-DMqnHqF8.js');
6
- var version = require('./version-YNIW-ify.js');
6
+ var version = require('./version-COw2dh2E.js');
7
7
  var feedbackSync = require('./feedbackSync-Bcx7mZ9-.js');
8
8
 
9
9
  const iconCss$1 = ".sc-google-logo-icon-h{display:flex}";
@@ -4,7 +4,7 @@ var index$1 = require('./index-9TuL48qE.js');
4
4
  var abstractProvider = require('./abstract-provider-CH5yXWmY.js');
5
5
  var nylasApiRequest = require('./nylas-api-request-Cva9mkSo.js');
6
6
  var utils = require('./utils-DMqnHqF8.js');
7
- var version = require('./version-YNIW-ify.js');
7
+ var version = require('./version-COw2dh2E.js');
8
8
  var index = require('./index-CwlXqyvH.js');
9
9
 
10
10
  utils.dayjs.extend(utils.utc);
@@ -267,6 +267,7 @@ class NylasSchedulerConfigAPIConnector {
267
267
  });
268
268
  }
269
269
  this.nylasSchedulerConfigStore.state.selectedGroupEvent = response.data;
270
+ this.invalidateGroupEventsCache();
270
271
  await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
271
272
  this.nylasSchedulerConfigStore.state.isLoading = false;
272
273
  return utils.dataResponse(response.data);
@@ -326,6 +327,9 @@ class NylasSchedulerConfigAPIConnector {
326
327
  this.nylasSchedulerConfigStore.state.groupEvents = response.data;
327
328
  return utils.dataResponse(response.data);
328
329
  }
330
+ invalidateGroupEventsCache() {
331
+ this.groupEventsCache.clear();
332
+ }
329
333
  cleanupExpiredCache() {
330
334
  const now = Date.now();
331
335
  for (const [key, value] of this.groupEventsCache.entries()) {
@@ -362,6 +366,7 @@ class NylasSchedulerConfigAPIConnector {
362
366
  });
363
367
  }
364
368
  this.nylasSchedulerConfigStore.state.selectedGroupEvent = response.data;
369
+ this.invalidateGroupEventsCache();
365
370
  await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
366
371
  this.nylasSchedulerConfigStore.state.isLoading = false;
367
372
  return utils.dataResponse(response.data);
@@ -514,6 +519,7 @@ class NylasSchedulerConfigAPIConnector {
514
519
  message: 'Error deleting group event: ' + response.error?.message,
515
520
  });
516
521
  }
522
+ this.invalidateGroupEventsCache();
517
523
  await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
518
524
  this.nylasSchedulerConfigStore.state.isLoading = false;
519
525
  return utils.dataResponse(response.data);
@@ -549,6 +555,7 @@ class NylasSchedulerConfigAPIConnector {
549
555
  });
550
556
  }
551
557
  if (response.data?.imported_events?.length > 0) {
558
+ this.invalidateGroupEventsCache();
552
559
  await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
553
560
  }
554
561
  this.nylasSchedulerConfigStore.state.isLoading = false;