@nylas/web-elements 0.0.0-canary-20250120165013 → 0.0.0-canary-20250122221254

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 (59) hide show
  1. package/dist/cdn/checkbox-component/checkbox-component.es.js +14 -18
  2. package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +275 -278
  3. package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +2 -1
  4. package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +2 -1
  5. package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +3 -7
  6. package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +301 -296
  7. package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +2 -1
  8. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -18
  9. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +18 -13
  10. package/dist/cdn/textarea-component/textarea-component.es.js +147 -146
  11. package/dist/cjs/checkbox-component_3.cjs.entry.js +2 -3
  12. package/dist/cjs/checkbox-component_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/google-logo-icon_4.cjs.entry.js +12 -4
  14. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nylas-scheduling.cjs.entry.js +10 -2
  16. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  17. package/dist/cjs/textarea-component.cjs.entry.js +2 -1
  18. package/dist/cjs/textarea-component.cjs.entry.js.map +1 -1
  19. package/dist/collection/components/design-system/checkbox-component/checkbox-component.css +4 -0
  20. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -2
  21. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
  22. package/dist/collection/components/design-system/textarea-component/textarea-component.js +2 -1
  23. package/dist/collection/components/design-system/textarea-component/textarea-component.js.map +1 -1
  24. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +25 -1
  25. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
  26. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +10 -2
  27. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  28. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +12 -4
  29. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  30. package/dist/components/checkbox-component2.js +2 -3
  31. package/dist/components/checkbox-component2.js.map +1 -1
  32. package/dist/components/nylas-editor-tabs2.js +12 -4
  33. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  34. package/dist/components/nylas-scheduling.js +10 -2
  35. package/dist/components/nylas-scheduling.js.map +1 -1
  36. package/dist/components/textarea-component2.js +2 -1
  37. package/dist/components/textarea-component2.js.map +1 -1
  38. package/dist/esm/checkbox-component_3.entry.js +2 -3
  39. package/dist/esm/checkbox-component_3.entry.js.map +1 -1
  40. package/dist/esm/google-logo-icon_4.entry.js +12 -4
  41. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  42. package/dist/esm/nylas-scheduling.entry.js +10 -2
  43. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  44. package/dist/esm/textarea-component.entry.js +2 -1
  45. package/dist/esm/textarea-component.entry.js.map +1 -1
  46. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  47. package/dist/nylas-web-elements/{p-a4b25253.entry.js → p-1d12e7e7.entry.js} +2 -2
  48. package/dist/nylas-web-elements/{p-a4b25253.entry.js.map → p-1d12e7e7.entry.js.map} +1 -1
  49. package/dist/nylas-web-elements/p-748f9af9.entry.js +2 -0
  50. package/dist/nylas-web-elements/p-748f9af9.entry.js.map +1 -0
  51. package/dist/nylas-web-elements/p-ea91e5b3.entry.js +2 -0
  52. package/dist/nylas-web-elements/p-ea91e5b3.entry.js.map +1 -0
  53. package/dist/nylas-web-elements/{p-dd830dcc.entry.js → p-f7bd80de.entry.js} +2 -2
  54. package/dist/nylas-web-elements/{p-dd830dcc.entry.js.map → p-f7bd80de.entry.js.map} +1 -1
  55. package/package.json +3 -3
  56. package/dist/nylas-web-elements/p-02488442.entry.js +0 -2
  57. package/dist/nylas-web-elements/p-02488442.entry.js.map +0 -1
  58. package/dist/nylas-web-elements/p-b61dfe09.entry.js +0 -2
  59. package/dist/nylas-web-elements/p-b61dfe09.entry.js.map +0 -1
@@ -15402,6 +15402,7 @@ const t5 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
15402
15402
  this.validate(this.value), this.error && e.preventDefault();
15403
15403
  }
15404
15404
  handleInput(e) {
15405
+ this.error = "";
15405
15406
  const t = e.target;
15406
15407
  this.value = Ba(t.value), this.nylasFormInputChanged.emit({
15407
15408
  value: this.value,
@@ -15415,7 +15416,7 @@ const t5 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
15415
15416
  this.required && !e ? this.error = `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
15416
15417
  }
15417
15418
  render() {
15418
- return z("label", { key: "383001bd48b1178b4c9126f812175701f570931e", part: "tc__label", class: { error: !!this.error } }, z("p", { key: "17dad29e1c19d24bfb5e1736630c6d43651f1616" }, z("span", { key: "d1077d0eab18709b12e714650a20057b17720ebd", class: "label" }, this.label), this.required && z("span", { class: "required" }, "*"), this.tooltip && z("tooltip-component", null, z("info-icon", { slot: "tooltip-icon" }), z("span", { slot: "tooltip-content" }, this.tooltip))), z("textarea", { key: "b35934b9027ac4c7d27a1720c471d698905e5f62", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && z("span", { class: "error help-text" }, this.error));
15419
+ return z("label", { key: "3b3dd5b1c594e2c3b3594826b1f0379925dd14e9", part: "tc__label", class: { error: !!this.error } }, z("p", { key: "0a544d90a3b087c3479412078b1a454261bf20db" }, z("span", { key: "c37a9e870a3ebe502b2db7fbf0968178fc7cc519", class: "label" }, this.label), this.required && z("span", { class: "required" }, "*"), this.tooltip && z("tooltip-component", null, z("info-icon", { slot: "tooltip-icon" }), z("span", { slot: "tooltip-content" }, this.tooltip))), z("textarea", { key: "1be0e90961ebd6110bffd347a930884768429037", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && z("span", { class: "error help-text" }, this.error));
15419
15420
  }
15420
15421
  static get style() {
15421
15422
  return n5;
@@ -19323,7 +19323,7 @@ function defineCustomElement$1h() {
19323
19323
  }
19324
19324
  });
19325
19325
  }
19326
- const checkboxComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', CheckboxComponentStyle0 = checkboxComponentCss, CheckboxComponent = proxyCustomElement(class extends H$2 {
19326
+ const checkboxComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label span.required{color:var(--nylas-error);padding:0 0.25rem}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', CheckboxComponentStyle0 = checkboxComponentCss, CheckboxComponent = proxyCustomElement(class extends H$2 {
19327
19327
  constructor() {
19328
19328
  super(), this.__registerHost(), this.__attachShadow(), this.nylasFormCheckboxToggled = createEvent(this, "nylasFormCheckboxToggled", 7), this.componentType = "checkbox", this.name = "checkbox", this.checked = void 0, this.label = "", this.readOnly = !1, this.required = !1, this.isChecked = void 0, this.error = "";
19329
19329
  }
@@ -19337,11 +19337,7 @@ const checkboxComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nyla
19337
19337
  this.isChecked = this.checked || !1;
19338
19338
  }
19339
19339
  handleBookingFormSubmitted(ue) {
19340
- if (this.required && !this.isChecked) {
19341
- this.error = `${this.label} is required.`;
19342
- return;
19343
- }
19344
- this.error && ue.preventDefault();
19340
+ this.required && !this.isChecked && (this.error = `${this.label} is required.`), this.error && ue.preventDefault();
19345
19341
  }
19346
19342
  toggleCheck() {
19347
19343
  this.error = "", this.isChecked = !this.isChecked, this.nylasFormCheckboxToggled.emit({
@@ -19351,7 +19347,7 @@ const checkboxComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nyla
19351
19347
  });
19352
19348
  }
19353
19349
  render() {
19354
- return h$2("div", { key: "436d313659a2d88e1373028efa14ec4422fdeb53", class: "checkbox-container" }, h$2("label", { key: "9cf84f5a1fa7a35257681afc1bd2a215ebe36aad", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, h$2("input", { key: "600422d052cd28de6f053fac93c9a753f32637c1", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), h$2("span", { key: "a3130e18c64555c54cd73695d2392148ef8c49f6", class: "checkmark" }), h$2("slot", { key: "808de6e68a5c5887ba0ca3b5a997aae2aed035a2", name: "label" }, h$2("span", { key: "4cb5b6c8d3548976ba9e1e5a5269aad3773e642f", class: "label" }, this.label))), this.error && h$2("p", { class: "error" }, this.error));
19350
+ return h$2("div", { key: "595e161a792173db6af97d3d7ef13cdca534052a", class: "checkbox-container" }, h$2("label", { key: "625bd67ceec40d979d5f4f74ec576569866ff6ec", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, h$2("input", { key: "dc099ed0899a91fe30b67bb0f2981b8bd5254bbb", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), h$2("span", { key: "032c931e0b256a9e948551c9d938e14339f4c45e", class: "checkmark" }), h$2("slot", { key: "d932f4a7c5aa7e680827beff46f1ff86ce50b1d9", name: "label" }, h$2("span", { key: "b5ce4490b7be93f936d3061145dcbe4489dd74c9", class: "label" }, this.label, this.required && h$2("span", { class: "required" }, "*")))), this.error && h$2("p", { class: "error" }, this.error));
19355
19351
  }
19356
19352
  get el() {
19357
19353
  return this;
@@ -24230,6 +24226,7 @@ const textareaComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nyla
24230
24226
  this.validate(this.value), this.error && ue.preventDefault();
24231
24227
  }
24232
24228
  handleInput(ue) {
24229
+ this.error = "";
24233
24230
  const ge = ue.target;
24234
24231
  this.value = sanitize(ge.value), this.nylasFormInputChanged.emit({
24235
24232
  value: this.value,
@@ -24243,7 +24240,7 @@ const textareaComponentCss = ':host{display:block;--nylas-primary:#2563eb;--nyla
24243
24240
  this.required && !ue ? this.error = `${this.label} is required.` : ue.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
24244
24241
  }
24245
24242
  render() {
24246
- return h$2("label", { key: "383001bd48b1178b4c9126f812175701f570931e", part: "tc__label", class: { error: !!this.error } }, h$2("p", { key: "17dad29e1c19d24bfb5e1736630c6d43651f1616" }, h$2("span", { key: "d1077d0eab18709b12e714650a20057b17720ebd", class: "label" }, this.label), this.required && h$2("span", { class: "required" }, "*"), this.tooltip && h$2("tooltip-component", null, h$2("info-icon", { slot: "tooltip-icon" }), h$2("span", { slot: "tooltip-content" }, this.tooltip))), h$2("textarea", { key: "b35934b9027ac4c7d27a1720c471d698905e5f62", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (ue) => this.handleInput(ue), class: { error: !!this.error }, part: "tc__textarea" }), this.error && h$2("span", { class: "error help-text" }, this.error));
24243
+ return h$2("label", { key: "3b3dd5b1c594e2c3b3594826b1f0379925dd14e9", part: "tc__label", class: { error: !!this.error } }, h$2("p", { key: "0a544d90a3b087c3479412078b1a454261bf20db" }, h$2("span", { key: "c37a9e870a3ebe502b2db7fbf0968178fc7cc519", class: "label" }, this.label), this.required && h$2("span", { class: "required" }, "*"), this.tooltip && h$2("tooltip-component", null, h$2("info-icon", { slot: "tooltip-icon" }), h$2("span", { slot: "tooltip-content" }, this.tooltip))), h$2("textarea", { key: "1be0e90961ebd6110bffd347a930884768429037", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (ue) => this.handleInput(ue), class: { error: !!this.error }, part: "tc__textarea" }), this.error && h$2("span", { class: "error help-text" }, this.error));
24247
24244
  }
24248
24245
  static get style() {
24249
24246
  return TextareaComponentStyle0;
@@ -30670,8 +30667,8 @@ function captureException(ve, ue) {
30670
30667
  return getCurrentScope().captureException(ve, void 0);
30671
30668
  }
30672
30669
  function captureMessage(ve, ue) {
30673
- const Oe = { captureContext: ue };
30674
- return getCurrentScope().captureMessage(ve, void 0, Oe);
30670
+ const ge = typeof ue == "string" ? ue : void 0, Oe = typeof ue != "string" ? { captureContext: ue } : void 0;
30671
+ return getCurrentScope().captureMessage(ve, ge, Oe);
30675
30672
  }
30676
30673
  function captureEvent(ve, ue) {
30677
30674
  return getCurrentScope().captureEvent(ve, ue);
@@ -34853,9 +34850,14 @@ const NylasEditorTabs = proxyCustomElement(class extends H$2 {
34853
34850
  this.showFeedbackModal = !1;
34854
34851
  }
34855
34852
  feedbackSubmittedHandler(ue) {
34856
- var Ke, vt;
34853
+ var Ke, vt, ln, ei, ti, ni;
34857
34854
  const Oe = {
34858
- eventId: captureMessage("Scheduler Editor User Feedback"),
34855
+ eventId: captureMessage("Scheduler Editor User Feedback", {
34856
+ extra: {
34857
+ configId: (Ke = this.selectedConfiguration) == null ? void 0 : Ke.id,
34858
+ slug: (vt = this.selectedConfiguration) == null ? void 0 : vt.slug
34859
+ }
34860
+ }),
34859
34861
  message: ue.detail.feedback
34860
34862
  };
34861
34863
  captureFeedback(Oe, {
@@ -34863,11 +34865,14 @@ const NylasEditorTabs = proxyCustomElement(class extends H$2 {
34863
34865
  captureContext: {
34864
34866
  tags: {
34865
34867
  "nylas-web-element": "nylas-scheduler-editor",
34866
- "nylas-web-element-version": "1.3.5"
34868
+ "nylas-web-element-version": "1.3.5",
34869
+ "nylas-config-id": (ln = this.selectedConfiguration) == null ? void 0 : ln.id,
34870
+ "nylas-slug": (ei = this.selectedConfiguration) == null ? void 0 : ei.slug,
34871
+ "host-url": window.location.href
34867
34872
  },
34868
34873
  extra: {
34869
- configId: (Ke = this.selectedConfiguration) == null ? void 0 : Ke.id,
34870
- slug: (vt = this.selectedConfiguration) == null ? void 0 : vt.slug
34874
+ configId: (ti = this.selectedConfiguration) == null ? void 0 : ti.id,
34875
+ slug: (ni = this.selectedConfiguration) == null ? void 0 : ni.slug
34871
34876
  }
34872
34877
  }
34873
34878
  }), this.showFeedbackModal = !1;
@@ -35035,16 +35040,16 @@ const NylasEditorTabs = proxyCustomElement(class extends H$2 {
35035
35040
  }
35036
35041
  render() {
35037
35042
  var ue, ge;
35038
- return debug("[nylas-editor-tabs]", "render", this.formState), h$2(Host, { key: "e3a4eed49c9ee61fbbd202558839c0b9fe7bf9d0" }, h$2("form", { key: "f41fc61161a1c03c92928b0cd2415762afdaff11", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (Oe) => this.formRef = Oe, noValidate: !0 }, this.mode === "app" ? h$2("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h$2("div", { class: "tabs", part: "editor__tabs net__tabs" }, h$2("button", { name: Tab.EventInfo, class: { tab: !0, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (Oe) => this.setActiveTab(Oe, Tab.EventInfo) }, h$2("calendar-info-icon", { width: "16", height: "16" }), instance.t("eventInfoTab")), h$2("button", { name: Tab.Availability, class: { tab: !0, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: (Oe) => this.setActiveTab(Oe, Tab.Availability) }, h$2("calendar-patterns-icon", { width: "16", height: "16" }), instance.t("availabilityTab")), h$2("button", { name: Tab.Participants, class: { tab: !0, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: (Oe) => this.setActiveTab(Oe, Tab.Participants) }, h$2("people-icon", { width: "16", height: "16" }), instance.t("participantsTab")), h$2("button", { name: Tab.BookingOptions, class: { tab: !0, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (Oe) => this.setActiveTab(Oe, Tab.BookingOptions) }, h$2("flow-icon", { width: "16", height: "16" }), instance.t("bookingOptionsTab")), h$2("button", { name: Tab.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (Oe) => this.setActiveTab(Oe, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? h$2("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h$2("calendar-agenda-icon", { width: "16", height: "16" }), instance.t("bookingFormTab")), h$2("button", { name: Tab.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(Tab.Communications) }, onClick: (Oe) => this.setActiveTab(Oe, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? h$2("envelope-fill-icon", { width: "16", height: "16" }) : h$2("envelope-icon", { width: "16", height: "16" }), instance.t("communicationsTab")), h$2("button", { name: Tab.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(Tab.PageStyles) }, onClick: (Oe) => this.setActiveTab(Oe, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? h$2("paintbrush-fill-icon", { width: "16", height: "16" }) : h$2("paintbrush-icon", { width: "16", height: "16" }), instance.t("pageStylesTab"))), h$2("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h$2(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((ue = this.selectedConfiguration) == null ? void 0 : ue.id) ?? "new", i18next: instance }))) : h$2("div", { class: "composable", key: (ge = this.selectedConfiguration) == null ? void 0 : ge.id }, h$2("slot", null)), h$2("div", { key: "4f5a972e86dcb6e8812498bf6ea70095442563a1", class: "footer", part: "editor__footer net__footer" }, h$2("div", { key: "12c811edba69e577deb48be0157f71032c696381", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && h$2("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (Oe) => this.onFeedbackClick(Oe) }, h$2("feedback-icon", null))), h$2("div", { key: "d1479be094e492d2beeab860e496ca2fbaeed8f2", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h$2("p", { key: "e1abb07c34703c11fee1f922f069cbfd1df50ad5", class: {
35043
+ return debug("[nylas-editor-tabs]", "render", this.formState), h$2(Host, { key: "6b41766e5e726c094aca62e18595796d43b2f298" }, h$2("form", { key: "24d68e11a81f94792218353822dd77fd7683c9f4", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (Oe) => this.formRef = Oe, noValidate: !0 }, this.mode === "app" ? h$2("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h$2("div", { class: "tabs", part: "editor__tabs net__tabs" }, h$2("button", { name: Tab.EventInfo, class: { tab: !0, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (Oe) => this.setActiveTab(Oe, Tab.EventInfo) }, h$2("calendar-info-icon", { width: "16", height: "16" }), instance.t("eventInfoTab")), h$2("button", { name: Tab.Availability, class: { tab: !0, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: (Oe) => this.setActiveTab(Oe, Tab.Availability) }, h$2("calendar-patterns-icon", { width: "16", height: "16" }), instance.t("availabilityTab")), h$2("button", { name: Tab.Participants, class: { tab: !0, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: (Oe) => this.setActiveTab(Oe, Tab.Participants) }, h$2("people-icon", { width: "16", height: "16" }), instance.t("participantsTab")), h$2("button", { name: Tab.BookingOptions, class: { tab: !0, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (Oe) => this.setActiveTab(Oe, Tab.BookingOptions) }, h$2("flow-icon", { width: "16", height: "16" }), instance.t("bookingOptionsTab")), h$2("button", { name: Tab.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (Oe) => this.setActiveTab(Oe, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? h$2("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h$2("calendar-agenda-icon", { width: "16", height: "16" }), instance.t("bookingFormTab")), h$2("button", { name: Tab.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(Tab.Communications) }, onClick: (Oe) => this.setActiveTab(Oe, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? h$2("envelope-fill-icon", { width: "16", height: "16" }) : h$2("envelope-icon", { width: "16", height: "16" }), instance.t("communicationsTab")), h$2("button", { name: Tab.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(Tab.PageStyles) }, onClick: (Oe) => this.setActiveTab(Oe, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? h$2("paintbrush-fill-icon", { width: "16", height: "16" }) : h$2("paintbrush-icon", { width: "16", height: "16" }), instance.t("pageStylesTab"))), h$2("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h$2(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((ue = this.selectedConfiguration) == null ? void 0 : ue.id) ?? "new", i18next: instance }))) : h$2("div", { class: "composable", key: (ge = this.selectedConfiguration) == null ? void 0 : ge.id }, h$2("slot", null)), h$2("div", { key: "ba0dd27bf4d718ad8a62df1f79774f97993a39b5", class: "footer", part: "editor__footer net__footer" }, h$2("div", { key: "0e2787186678d9fdf18654220bf9b8b2fc430b8f", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && h$2("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (Oe) => this.onFeedbackClick(Oe) }, h$2("feedback-icon", null))), h$2("div", { key: "f731ed68b6375274254947df08eacc1c6cc4685a", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h$2("p", { key: "9bcf711385ae6cfc4341c7169f44c7e5e484c6e3", class: {
35039
35044
  "unsaved-changes": this.hasUnsavedChanges && !this.changesSaved,
35040
35045
  "saved-changes": this.changesSaved,
35041
35046
  error: this.error !== "",
35042
35047
  "error-full-width": this.error !== "" && this.action === "create"
35043
35048
  } }, this.error !== "" ? this.error : "", this.error == "" && this.hasUnsavedChanges && !this.changesSaved ? "Unsaved changes" : this.error == "" && this.changesSaved ? "Changes saved!" : ""), this.schedulerPreviewLink !== "" && this.action === "edit" && h$2("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (Oe) => {
35044
35049
  Oe.preventDefault(), this.previewButtonClicked.emit(this.host).defaultPrevented || window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), "_blank");
35045
- }, variant: "basic" }, h$2("eye-icon", null)), h$2("button-component", { key: "3de639b520a7f81d6413b77ad500f05a84db746d", type: "button", disabled: this.isLoading, clickHandler: (Oe) => {
35050
+ }, variant: "basic" }, h$2("eye-icon", null)), h$2("button-component", { key: "3e4bf8e88e3b7e9d0e9088520dc1c053b0599bc6", type: "button", disabled: this.isLoading, clickHandler: (Oe) => {
35046
35051
  Oe.preventDefault(), this.cancelButtonClick.emit(), this.error = "";
35047
- }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, instance.t("backButton")), h$2("button-component", { key: "31a193032e345491ba94e1b229971b9ec343a184", type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? h$2("span", null, instance.t("savingButtonText"), h$2("loading-icon", null), " ") : this.action === "create" ? `${instance.t("createButtonText")}` : `${instance.t("saveChangesButtonText")}`)))), this.showFeedbackModal && h$2("nylas-feedback-form", null));
35052
+ }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, instance.t("backButton")), h$2("button-component", { key: "052505c068878815930d6ed19dda364a609212b8", type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? h$2("span", null, instance.t("savingButtonText"), h$2("loading-icon", null), " ") : this.action === "create" ? `${instance.t("createButtonText")}` : `${instance.t("saveChangesButtonText")}`)))), this.showFeedbackModal && h$2("nylas-feedback-form", null));
35048
35053
  }
35049
35054
  get host() {
35050
35055
  return this;
@@ -19469,7 +19469,7 @@ function l9() {
19469
19469
  }
19470
19470
  });
19471
19471
  }
19472
- const wR = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', TR = wR, CR = ee(class extends te {
19472
+ const wR = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label span.required{color:var(--nylas-error);padding:0 0.25rem}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', TR = wR, CR = ee(class extends te {
19473
19473
  constructor() {
19474
19474
  super(), this.__registerHost(), this.__attachShadow(), this.nylasFormCheckboxToggled = W(this, "nylasFormCheckboxToggled", 7), this.componentType = "checkbox", this.name = "checkbox", this.checked = void 0, this.label = "", this.readOnly = !1, this.required = !1, this.isChecked = void 0, this.error = "";
19475
19475
  }
@@ -19483,11 +19483,7 @@ const wR = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
19483
19483
  this.isChecked = this.checked || !1;
19484
19484
  }
19485
19485
  handleBookingFormSubmitted(e) {
19486
- if (this.required && !this.isChecked) {
19487
- this.error = `${this.label} is required.`;
19488
- return;
19489
- }
19490
- this.error && e.preventDefault();
19486
+ this.required && !this.isChecked && (this.error = `${this.label} is required.`), this.error && e.preventDefault();
19491
19487
  }
19492
19488
  toggleCheck() {
19493
19489
  this.error = "", this.isChecked = !this.isChecked, this.nylasFormCheckboxToggled.emit({
@@ -19497,7 +19493,7 @@ const wR = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
19497
19493
  });
19498
19494
  }
19499
19495
  render() {
19500
- return p("div", { key: "436d313659a2d88e1373028efa14ec4422fdeb53", class: "checkbox-container" }, p("label", { key: "9cf84f5a1fa7a35257681afc1bd2a215ebe36aad", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, p("input", { key: "600422d052cd28de6f053fac93c9a753f32637c1", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), p("span", { key: "a3130e18c64555c54cd73695d2392148ef8c49f6", class: "checkmark" }), p("slot", { key: "808de6e68a5c5887ba0ca3b5a997aae2aed035a2", name: "label" }, p("span", { key: "4cb5b6c8d3548976ba9e1e5a5269aad3773e642f", class: "label" }, this.label))), this.error && p("p", { class: "error" }, this.error));
19496
+ return p("div", { key: "595e161a792173db6af97d3d7ef13cdca534052a", class: "checkbox-container" }, p("label", { key: "625bd67ceec40d979d5f4f74ec576569866ff6ec", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, p("input", { key: "dc099ed0899a91fe30b67bb0f2981b8bd5254bbb", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), p("span", { key: "032c931e0b256a9e948551c9d938e14339f4c45e", class: "checkmark" }), p("slot", { key: "d932f4a7c5aa7e680827beff46f1ff86ce50b1d9", name: "label" }, p("span", { key: "b5ce4490b7be93f936d3061145dcbe4489dd74c9", class: "label" }, this.label, this.required && p("span", { class: "required" }, "*")))), this.error && p("p", { class: "error" }, this.error));
19501
19497
  }
19502
19498
  get el() {
19503
19499
  return this;
@@ -20603,6 +20599,7 @@ const TL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
20603
20599
  this.validate(this.value), this.error && e.preventDefault();
20604
20600
  }
20605
20601
  handleInput(e) {
20602
+ this.error = "";
20606
20603
  const t = e.target;
20607
20604
  this.value = Kt(t.value), this.nylasFormInputChanged.emit({
20608
20605
  value: this.value,
@@ -20616,7 +20613,7 @@ const TL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
20616
20613
  this.required && !e ? this.error = `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
20617
20614
  }
20618
20615
  render() {
20619
- return p("label", { key: "383001bd48b1178b4c9126f812175701f570931e", part: "tc__label", class: { error: !!this.error } }, p("p", { key: "17dad29e1c19d24bfb5e1736630c6d43651f1616" }, p("span", { key: "d1077d0eab18709b12e714650a20057b17720ebd", class: "label" }, this.label), this.required && p("span", { class: "required" }, "*"), this.tooltip && p("tooltip-component", null, p("info-icon", { slot: "tooltip-icon" }), p("span", { slot: "tooltip-content" }, this.tooltip))), p("textarea", { key: "b35934b9027ac4c7d27a1720c471d698905e5f62", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && p("span", { class: "error help-text" }, this.error));
20616
+ return p("label", { key: "3b3dd5b1c594e2c3b3594826b1f0379925dd14e9", part: "tc__label", class: { error: !!this.error } }, p("p", { key: "0a544d90a3b087c3479412078b1a454261bf20db" }, p("span", { key: "c37a9e870a3ebe502b2db7fbf0968178fc7cc519", class: "label" }, this.label), this.required && p("span", { class: "required" }, "*"), this.tooltip && p("tooltip-component", null, p("info-icon", { slot: "tooltip-icon" }), p("span", { slot: "tooltip-content" }, this.tooltip))), p("textarea", { key: "1be0e90961ebd6110bffd347a930884768429037", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && p("span", { class: "error help-text" }, this.error));
20620
20617
  }
20621
20618
  static get style() {
20622
20619
  return CL;
@@ -24506,8 +24503,8 @@ function Dz(n, e) {
24506
24503
  return ht().captureException(n, void 0);
24507
24504
  }
24508
24505
  function Mz(n, e) {
24509
- const i = { captureContext: e };
24510
- return ht().captureMessage(n, void 0, i);
24506
+ const t = typeof e == "string" ? e : void 0, i = typeof e != "string" ? { captureContext: e } : void 0;
24507
+ return ht().captureMessage(n, t, i);
24511
24508
  }
24512
24509
  function Z9(n, e) {
24513
24510
  return ht().captureEvent(n, e);
@@ -28664,15 +28661,23 @@ const wn = (n, e) => {
28664
28661
  }
28665
28662
  feedbackSubmittedHandler(e) {
28666
28663
  const i = {
28667
- eventId: Mz("Scheduling Page User Feedback"),
28664
+ eventId: Mz("Scheduling Page User Feedback", {
28665
+ extra: {
28666
+ configId: this.configurationId,
28667
+ slug: this.slug
28668
+ }
28669
+ }),
28668
28670
  message: e.detail.feedback
28669
28671
  };
28670
28672
  rA(i, {
28671
28673
  includeReplay: !0,
28672
28674
  captureContext: {
28673
28675
  tags: {
28674
- "nylas-web-element": "nylas-schduling",
28675
- "nylas-web-element-version": "1.3.5"
28676
+ "nylas-web-element": "nylas-scheduling",
28677
+ "nylas-web-element-version": "1.3.5",
28678
+ "nylas-config-id": this.configurationId,
28679
+ "nylas-slug": this.slug,
28680
+ "host-url": window.location.href
28676
28681
  },
28677
28682
  extra: {
28678
28683
  configId: this.configurationId,