@nylas/web-elements 2.5.9 → 2.5.10
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 +6 -6
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +8 -2
- 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-CN5nqWgI.js → version-BcrxszP8.js} +3 -3
- package/dist/cjs/{version-CN5nqWgI.js.map → version-BcrxszP8.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +8 -2
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-confirmation-email.js +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-scheduler-editor.js +4 -4
- package/dist/components/nylas-scheduling.js +1 -1
- package/dist/components/{p-BfwqDqHx.js → p-C-ErnYFi.js} +3 -3
- package/dist/components/{p-BfwqDqHx.js.map → p-C-ErnYFi.js.map} +1 -1
- package/dist/components/{p-DwzjmWk7.js → p-JpjuLIts.js} +4 -4
- package/dist/components/{p-DwzjmWk7.js.map → p-JpjuLIts.js.map} +1 -1
- package/dist/components/{p-Dm3gIdGZ.js → p-TOG3UyB_.js} +10 -4
- package/dist/components/p-TOG3UyB_.js.map +1 -0
- package/dist/components/{p-2vIl9-lT.js → p-s6s0oE_l.js} +4 -4
- package/dist/components/{p-2vIl9-lT.js.map → p-s6s0oE_l.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +8 -2
- 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-zgIeli_M.js → version-BAjkr1GB.js} +3 -3
- package/dist/esm/{version-zgIeli_M.js.map → version-BAjkr1GB.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-6aa41c34.entry.js → p-0bf7dbfe.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-ec243a08.entry.js → p-2242c1f5.entry.js} +3 -3
- package/dist/nylas-web-elements/p-241183a9.entry.js +8 -0
- package/dist/nylas-web-elements/p-241183a9.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-acd75a32.entry.js → p-992af523.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-zgIeli_M.js → p-BAjkr1GB.js} +2 -2
- package/dist/nylas-web-elements/{p-zgIeli_M.js.map → p-BAjkr1GB.js.map} +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/p-Dm3gIdGZ.js.map +0 -1
- package/dist/nylas-web-elements/p-cc4150a5.entry.js +0 -8
- package/dist/nylas-web-elements/p-cc4150a5.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-6aa41c34.entry.js.map → p-0bf7dbfe.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ec243a08.entry.js.map → p-2242c1f5.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-acd75a32.entry.js.map → p-992af523.entry.js.map} +0 -0
|
@@ -4752,6 +4752,9 @@ const NylasConfirmationEmail = class {
|
|
|
4752
4752
|
}
|
|
4753
4753
|
this.isConfirmationEmailOpen = this.isOpen;
|
|
4754
4754
|
this.participantsState = this.participants;
|
|
4755
|
+
if (typeof this.internals?.setFormValue === 'function') {
|
|
4756
|
+
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
4757
|
+
}
|
|
4755
4758
|
}
|
|
4756
4759
|
}
|
|
4757
4760
|
elementNameChangedHandler(newValue) {
|
|
@@ -4769,6 +4772,9 @@ const NylasConfirmationEmail = class {
|
|
|
4769
4772
|
}
|
|
4770
4773
|
this.isConfirmationEmailOpen = !newValue?.event_booking?.reminders?.length;
|
|
4771
4774
|
this.participantsState = newValue?.participants || this.participants;
|
|
4775
|
+
if (typeof this.internals?.setFormValue === 'function') {
|
|
4776
|
+
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
4777
|
+
}
|
|
4772
4778
|
}
|
|
4773
4779
|
nylasBrandingChangedHandler(newValue) {
|
|
4774
4780
|
debug('nylas-confirmation-email', 'nylasBrandingChangedHandler', newValue);
|
|
@@ -4852,9 +4858,9 @@ const NylasConfirmationEmail = class {
|
|
|
4852
4858
|
render() {
|
|
4853
4859
|
const organizer = this.participantsState.find(p => p.is_organizer);
|
|
4854
4860
|
const organizerName = organizer?.name || organizer?.email;
|
|
4855
|
-
return (h(Host, { key: '
|
|
4861
|
+
return (h(Host, { key: '344808e8373d6a890feb576c2d4133fcfae3ba6f' }, h("div", { key: 'badfe491592142dd0e5c5b345f3c91770df3d86d', class: "nylas-confirmation-email", part: "nce" }, h("div", { key: '64d6dda525037fdd282d57611cebad8dde327c61', class: "header", part: "nce__header" }, h("div", { key: '8055a976a4cdcf74b03181a591f685f790611918' }, h("h3", { key: '4145e04b902254696d5e08594fe93c563c024dea' }, this.confirmationEmail?.booking_confirmed?.title || organizerName
|
|
4856
4862
|
? instance.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })
|
|
4857
|
-
: instance.t('nylasConfirmationEmail.headerTitle')), h("p", { key: '
|
|
4863
|
+
: instance.t('nylasConfirmationEmail.headerTitle')), h("p", { key: '51e76e9ea405e8048c56b1a40ba749dbc2c29739' }, instance.t('nylasConfirmationEmail.headerSubTitle'))), this.isConfirmationEmailOpen ? (h("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, h("span", { class: `chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" })))) : (h("button-component", { variant: 'basic', clickHandler: event => {
|
|
4858
4864
|
event.preventDefault();
|
|
4859
4865
|
this.toggleConfirmationEmail();
|
|
4860
4866
|
} }, h("edit-icon", { width: "16", height: "16" }), instance.t('nylasConfirmationEmail.editButtonText')))), this.isConfirmationEmailOpen ? (h("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, h("div", { class: "nylas-confirmation-email__section" }, this.nylasBranding && (h("div", { class: "nylas-confirmation-email__row" }, h("label", null, instance.t('nylasConfirmationEmail.nylasBranding.label'), h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, instance.t('nylasConfirmationEmail.nylasBranding.tooltip.desc'))))), h("toggle-switch", { exportparts: "ts_label: nce__toggle-label, ts_input: nce_toggle-input, ts_slider: nce_toggle-slider", name: `confirmation-email-show-branding`, checked: this.confirmationEmail?.show_nylas_branding, themeConfig: this.themeConfig }))), h("div", { class: "nylas-confirmation-email__row" }, h("div", { class: "subsection" }, h("div", { class: "input-container" }, h("label", null, instance.t('nylasConfirmationEmail.companyLogoUrl.label'), h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, instance.t('nylasConfirmationEmail.companyLogoUrl.tooltip.desc'))))), this.confirmationEmail && (h("input-image-url", { name: "confirmation-email-logo", exportparts: "iiu__logo-input-textfield: nce__input-image-url", errorMessage: this.invalidImageErrorMessage, imageUrl: this.confirmationEmail?.logo ?? '', themeConfig: this.themeConfig }))))), h("div", { class: "nylas-confirmation-email__row full-width-col" }, h("div", { class: "subsection" }, h("h3", null, instance.t('nylasConfirmationEmail.emailMessage.header')), h("div", { class: "input-container" }, h("label", { htmlFor: "title" }, instance.t('nylasConfirmationEmail.emailMessage.label'), h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, instance.t('nylasConfirmationEmail.emailMessage.tooltip.desc'))))), h("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: organizerName
|