@nylas/web-elements 2.5.12 → 2.5.13
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.
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +4 -4
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +3 -3
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +1 -1
- package/dist/cjs/{version-FXnnI00G.js → version-BspChjso.js} +3 -3
- package/dist/cjs/{version-FXnnI00G.js.map → version-BspChjso.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group.js +1 -1
- package/dist/components/nylas-editor-tabs.js +1 -1
- package/dist/components/nylas-participants-custom-availability.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +4 -4
- package/dist/components/nylas-scheduling.js +1 -1
- package/dist/components/{p-pY2yw_Ql.js → p-B6bT8J6p.js} +5 -5
- package/dist/components/p-B6bT8J6p.js.map +1 -0
- package/dist/components/{p-Cm6e2qUq.js → p-BDVZl2EG.js} +3 -3
- package/dist/components/{p-Cm6e2qUq.js.map → p-BDVZl2EG.js.map} +1 -1
- package/dist/components/{p-77cQPnsG.js → p-Csux9e4C.js} +4 -4
- package/dist/components/{p-77cQPnsG.js.map → p-Csux9e4C.js.map} +1 -1
- package/dist/components/{p-Cl71OI5D.js → p-KPbwxUCV.js} +3 -3
- package/dist/components/{p-Cl71OI5D.js.map → p-KPbwxUCV.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +3 -3
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +1 -1
- package/dist/esm/{version-BEjJeakd.js → version-xO_cryq5.js} +3 -3
- package/dist/esm/{version-BEjJeakd.js.map → version-xO_cryq5.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-ad0e7f3b.entry.js → p-0716662b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-32e39f3d.entry.js → p-ca824e25.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-7c1bc27a.entry.js → p-ccc9d9d2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-7c1bc27a.entry.js.map → p-ccc9d9d2.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-fe855b8f.entry.js → p-e0de5436.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-BEjJeakd.js → p-xO_cryq5.js} +2 -2
- package/dist/nylas-web-elements/{p-BEjJeakd.js.map → p-xO_cryq5.js.map} +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-pY2yw_Ql.js.map +0 -1
- /package/dist/nylas-web-elements/{p-ad0e7f3b.entry.js.map → p-0716662b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-32e39f3d.entry.js.map → p-ca824e25.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fe855b8f.entry.js.map → p-e0de5436.entry.js.map} +0 -0
|
@@ -26612,7 +26612,7 @@ const LQ = () => ({
|
|
|
26612
26612
|
lazyLoadIntegration: CX,
|
|
26613
26613
|
getModalIntegration: () => DQ,
|
|
26614
26614
|
getScreenshotIntegration: () => LQ
|
|
26615
|
-
}), Yr = "2.5.
|
|
26615
|
+
}), Yr = "2.5.13", $Q = ".sc-add-circle-icon-h{display:flex}", BQ = De(class extends Ae {
|
|
26616
26616
|
constructor() {
|
|
26617
26617
|
super(), this.__registerHost(), this.width = "24", this.height = "25";
|
|
26618
26618
|
}
|
|
@@ -37602,7 +37602,7 @@ const QN = De(class extends Ae {
|
|
|
37602
37602
|
x(`Malformed participant name format: ${t}. Expected format: "participant-availability-{participantId}-{uniqueKey}"`);
|
|
37603
37603
|
return;
|
|
37604
37604
|
}
|
|
37605
|
-
const u = d
|
|
37605
|
+
const u = d.slice(3).join("-");
|
|
37606
37606
|
if (!this.selectedParticipants[u])
|
|
37607
37607
|
return;
|
|
37608
37608
|
const p = a.openHours || [], y = (p == null ? void 0 : p.length) > 0 ? p : ((s = (o = (r = this.selectedConfiguration) == null ? void 0 : r.availability) == null ? void 0 : o.availability_rules) == null ? void 0 : s.default_open_hours) || [];
|
|
@@ -37616,7 +37616,7 @@ const QN = De(class extends Ae {
|
|
|
37616
37616
|
x(`Malformed participant specific date name format: ${t}. Expected format: "participant-specific-time-availability-{index}-{uniqueKey}"`);
|
|
37617
37617
|
return;
|
|
37618
37618
|
}
|
|
37619
|
-
const u = d
|
|
37619
|
+
const u = d.slice(5).join("-");
|
|
37620
37620
|
if (!this.selectedParticipants[u])
|
|
37621
37621
|
return;
|
|
37622
37622
|
const p = a || [];
|
|
@@ -37668,7 +37668,7 @@ const QN = De(class extends Ae {
|
|
|
37668
37668
|
return this.internals !== void 0 && typeof this.internals.setFormValue == "function" && typeof this.internals.setValidity == "function";
|
|
37669
37669
|
}
|
|
37670
37670
|
render() {
|
|
37671
|
-
return c(Ke, { key: "
|
|
37671
|
+
return c(Ke, { key: "5ff7155db08b5adcfe1168adf8452f426f4fb66d" }, c("div", { key: "376210b2869e4e9c518ba6f6ab29aff086df8a86", class: "nylas-participants-custom-availability", part: "npca" }, c("div", { key: "0a7a2492da0927c3fc2eff3e5b74ee8dd873f5ce", class: "header", part: "npca__header" }, c("h3", { key: "f38db5fea6b75ebf696c86371437149421f375b0" }, w.t("nylasParticipantCustomAvailability.headerTitle")), c("p", { key: "b64aa2227fc6c761161baee71df7ccfa1d4a0c0b" }, w.t("nylasParticipantCustomAvailability.headerSubTitle"))), this.validationError && c("div", { key: "902126476a17af8e5c5303bd7acd86ae95063c68", class: "validation-error", part: "npca__validation-error" }, c("span", { key: "b3595b86576e9894e97127bad821714cc9f4a0ea" }, this.validationError)), c("div", { key: "a03b0815c38caaa5255293efe25a2f8b5e65349a", class: "content", part: "npca__content" }, c("form", { key: "92b375ef71cd62bf4ed37b3fcee09c718e79bc3b", ref: (e) => this.participantFormRef = e }, Object.keys(this.selectedParticipants).map((e, t) => {
|
|
37672
37672
|
var r;
|
|
37673
37673
|
const i = this.selectedParticipants[e], a = ((r = i.availability) == null ? void 0 : r.open_hours) || [];
|
|
37674
37674
|
if (!(!i || !i.name))
|
|
@@ -26103,7 +26103,7 @@ const oF = () => ({
|
|
|
26103
26103
|
lazyLoadIntegration: VR,
|
|
26104
26104
|
getModalIntegration: () => eF,
|
|
26105
26105
|
getScreenshotIntegration: () => oF
|
|
26106
|
-
}), No = "2.5.
|
|
26106
|
+
}), No = "2.5.13", lF = (t, e, n) => {
|
|
26107
26107
|
const i = t.get(e);
|
|
26108
26108
|
i ? i.includes(n) || i.push(n) : t.set(e, [n]);
|
|
26109
26109
|
}, cF = (t, e) => {
|
|
@@ -8142,7 +8142,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8142
8142
|
utils.debug(`Malformed participant name format: ${name}. Expected format: "participant-availability-{participantId}-{uniqueKey}"`);
|
|
8143
8143
|
return;
|
|
8144
8144
|
}
|
|
8145
|
-
const key = nameParts
|
|
8145
|
+
const key = nameParts.slice(3).join('-');
|
|
8146
8146
|
if (!this.selectedParticipants[key])
|
|
8147
8147
|
return;
|
|
8148
8148
|
const existingOpenHours = jsonValue.openHours || [];
|
|
@@ -8163,7 +8163,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8163
8163
|
utils.debug(`Malformed participant specific date name format: ${name}. Expected format: "participant-specific-time-availability-{index}-{uniqueKey}"`);
|
|
8164
8164
|
return;
|
|
8165
8165
|
}
|
|
8166
|
-
const key = nameParts
|
|
8166
|
+
const key = nameParts.slice(5).join('-');
|
|
8167
8167
|
if (!this.selectedParticipants[key])
|
|
8168
8168
|
return;
|
|
8169
8169
|
const existingSpecificTimeAvailability = jsonValue || [];
|
|
@@ -8240,7 +8240,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8240
8240
|
return this.internals !== undefined && typeof this.internals.setFormValue === 'function' && typeof this.internals.setValidity === 'function';
|
|
8241
8241
|
}
|
|
8242
8242
|
render() {
|
|
8243
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8243
|
+
return (index$1.h(index$1.Host, { key: '5ff7155db08b5adcfe1168adf8452f426f4fb66d' }, index$1.h("div", { key: '376210b2869e4e9c518ba6f6ab29aff086df8a86', class: "nylas-participants-custom-availability", part: "npca" }, index$1.h("div", { key: '0a7a2492da0927c3fc2eff3e5b74ee8dd873f5ce', class: "header", part: "npca__header" }, index$1.h("h3", { key: 'f38db5fea6b75ebf696c86371437149421f375b0' }, utils.instance.t('nylasParticipantCustomAvailability.headerTitle')), index$1.h("p", { key: 'b64aa2227fc6c761161baee71df7ccfa1d4a0c0b' }, utils.instance.t('nylasParticipantCustomAvailability.headerSubTitle'))), this.validationError && (index$1.h("div", { key: '902126476a17af8e5c5303bd7acd86ae95063c68', class: "validation-error", part: "npca__validation-error" }, index$1.h("span", { key: 'b3595b86576e9894e97127bad821714cc9f4a0ea' }, this.validationError))), index$1.h("div", { key: 'a03b0815c38caaa5255293efe25a2f8b5e65349a', class: "content", part: "npca__content" }, index$1.h("form", { key: '92b375ef71cd62bf4ed37b3fcee09c718e79bc3b', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
8244
8244
|
const participant = this.selectedParticipants[key];
|
|
8245
8245
|
const participantOpenHours = participant.availability?.open_hours || [];
|
|
8246
8246
|
if (!participant || !participant.name)
|