@nylas/web-elements 2.5.11 → 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 +9 -6
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +6 -6
- 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-DbvVCdbm.js → version-BspChjso.js} +3 -3
- package/dist/cjs/{version-DbvVCdbm.js.map → version-BspChjso.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.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-page-styling.js +1 -1
- package/dist/components/nylas-participants-custom-availability.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +5 -5
- 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-DP3OiAjS.js → p-BDVZl2EG.js} +4 -4
- package/dist/components/{p-DP3OiAjS.js.map → p-BDVZl2EG.js.map} +1 -1
- package/dist/components/{p-Bgb7cz6Z.js → p-Csux9e4C.js} +5 -5
- package/dist/components/{p-Bgb7cz6Z.js.map → p-Csux9e4C.js.map} +1 -1
- package/dist/components/{p-B05sg_l1.js → p-DvPuyp-I.js} +5 -5
- package/dist/components/p-DvPuyp-I.js.map +1 -0
- package/dist/components/{p-DmOB6JTr.js → p-KPbwxUCV.js} +3 -3
- package/dist/components/{p-DmOB6JTr.js.map → p-KPbwxUCV.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +6 -6
- 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-BHcQFl5b.js → version-xO_cryq5.js} +3 -3
- package/dist/esm/{version-BHcQFl5b.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-620804db.entry.js → p-0716662b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0a7c5cd7.entry.js → p-ca824e25.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f1942b81.entry.js → p-ccc9d9d2.entry.js} +3 -3
- package/dist/nylas-web-elements/p-ccc9d9d2.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-8a1b1bb7.entry.js → p-e0de5436.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-BHcQFl5b.js → p-xO_cryq5.js} +2 -2
- package/dist/nylas-web-elements/{p-BHcQFl5b.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-B05sg_l1.js.map +0 -1
- package/dist/components/p-pY2yw_Ql.js.map +0 -1
- package/dist/nylas-web-elements/p-f1942b81.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-620804db.entry.js.map → p-0716662b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0a7c5cd7.entry.js.map → p-ca824e25.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8a1b1bb7.entry.js.map → p-e0de5436.entry.js.map} +0 -0
|
@@ -7642,8 +7642,8 @@ const NylasPageStyling = class {
|
|
|
7642
7642
|
const findElement = document?.querySelector(`[slot="custom-page-style-inputs"] [name="${name}"]`);
|
|
7643
7643
|
if (findElement)
|
|
7644
7644
|
return true;
|
|
7645
|
-
const
|
|
7646
|
-
return
|
|
7645
|
+
const shadowInputs = this.host.shadowRoot?.querySelectorAll('[data-page-styling]') ?? [];
|
|
7646
|
+
return Array.from(shadowInputs).some(el => el.name === name || el.getAttribute('name') === name);
|
|
7647
7647
|
}
|
|
7648
7648
|
async nylasFormInputChangeHandler(event) {
|
|
7649
7649
|
const { name, value } = event.detail;
|
|
@@ -7721,7 +7721,7 @@ const NylasPageStyling = class {
|
|
|
7721
7721
|
}
|
|
7722
7722
|
render() {
|
|
7723
7723
|
const showContent = this.customInputsSlot || (!this.hasCustomSlot && !!this.currentAppearance);
|
|
7724
|
-
return (h(Host, { key: '
|
|
7724
|
+
return (h(Host, { key: '68ff4f23782f0d5fbfa30d006d804663cfd4c7a2' }, h("div", { key: '4db1b16c2a559b759666a18cfc5ce1df427e3120', part: "nps", class: { 'nylas-page-styling': true, 'no-border': !showContent } }, showContent ? (h("div", { class: "header", part: "nps__header" }, h("div", null, h("h3", null, instance.t('nylasPageStyling.headerTitle'))), h("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" }))))) : null, h("div", { key: 'cbd697408c8794ed3da1a7240cde839c28bd8e71', class: "hidden" }, h("input-color-picker", { key: 'b378ea6f4174ca07ad2f8c363f4dbfb108211a5d', name: "color-picker" })), h("div", { key: '6f210a564f347f40c18516bf4e39475cc48d9f57', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, h("div", { key: '793428c898c430412ebc3474aa01498c11a46842', class: { 'nylas-page-styling__section': true, 'no-padding': !showContent } }, h("div", { key: '18d8e84857d9ca6cb82b055f4218577d9974d0bb', class: "nylas-page-styling__row" }, h("div", { key: '4c17031c6f90a042bfad62c202bc0e9f9704471c', class: { subsection: true, hide: !this.isOpen } }, !this.hasCustomSlot && this.currentAppearance ? this.renderDefaultInputs() : null)))))));
|
|
7725
7725
|
}
|
|
7726
7726
|
static get formAssociated() { return true; }
|
|
7727
7727
|
get host() { return getElement(this); }
|
|
@@ -8140,7 +8140,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8140
8140
|
debug(`Malformed participant name format: ${name}. Expected format: "participant-availability-{participantId}-{uniqueKey}"`);
|
|
8141
8141
|
return;
|
|
8142
8142
|
}
|
|
8143
|
-
const key = nameParts
|
|
8143
|
+
const key = nameParts.slice(3).join('-');
|
|
8144
8144
|
if (!this.selectedParticipants[key])
|
|
8145
8145
|
return;
|
|
8146
8146
|
const existingOpenHours = jsonValue.openHours || [];
|
|
@@ -8161,7 +8161,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8161
8161
|
debug(`Malformed participant specific date name format: ${name}. Expected format: "participant-specific-time-availability-{index}-{uniqueKey}"`);
|
|
8162
8162
|
return;
|
|
8163
8163
|
}
|
|
8164
|
-
const key = nameParts
|
|
8164
|
+
const key = nameParts.slice(5).join('-');
|
|
8165
8165
|
if (!this.selectedParticipants[key])
|
|
8166
8166
|
return;
|
|
8167
8167
|
const existingSpecificTimeAvailability = jsonValue || [];
|
|
@@ -8238,7 +8238,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8238
8238
|
return this.internals !== undefined && typeof this.internals.setFormValue === 'function' && typeof this.internals.setValidity === 'function';
|
|
8239
8239
|
}
|
|
8240
8240
|
render() {
|
|
8241
|
-
return (h(Host, { key: '
|
|
8241
|
+
return (h(Host, { key: '5ff7155db08b5adcfe1168adf8452f426f4fb66d' }, h("div", { key: '376210b2869e4e9c518ba6f6ab29aff086df8a86', class: "nylas-participants-custom-availability", part: "npca" }, h("div", { key: '0a7a2492da0927c3fc2eff3e5b74ee8dd873f5ce', class: "header", part: "npca__header" }, h("h3", { key: 'f38db5fea6b75ebf696c86371437149421f375b0' }, instance.t('nylasParticipantCustomAvailability.headerTitle')), h("p", { key: 'b64aa2227fc6c761161baee71df7ccfa1d4a0c0b' }, instance.t('nylasParticipantCustomAvailability.headerSubTitle'))), this.validationError && (h("div", { key: '902126476a17af8e5c5303bd7acd86ae95063c68', class: "validation-error", part: "npca__validation-error" }, h("span", { key: 'b3595b86576e9894e97127bad821714cc9f4a0ea' }, this.validationError))), h("div", { key: 'a03b0815c38caaa5255293efe25a2f8b5e65349a', class: "content", part: "npca__content" }, h("form", { key: '92b375ef71cd62bf4ed37b3fcee09c718e79bc3b', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
8242
8242
|
const participant = this.selectedParticipants[key];
|
|
8243
8243
|
const participantOpenHours = participant.availability?.open_hours || [];
|
|
8244
8244
|
if (!participant || !participant.name)
|