@nylas/web-elements 2.5.8 → 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 +1315 -1315
- 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.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.cjs.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +8 -7
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +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-COZSykqO.js → version-BcrxszP8.js} +3 -3
- package/dist/cjs/{version-COZSykqO.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/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +7 -6
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.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-Bkt_Yg_U.js → p-C-ErnYFi.js} +3 -3
- package/dist/components/{p-Bkt_Yg_U.js.map → p-C-ErnYFi.js.map} +1 -1
- package/dist/components/{p-Bx4lojq9.js → p-JpjuLIts.js} +4 -4
- package/dist/components/{p-Bx4lojq9.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-DC7TgSr7.js → p-s6s0oE_l.js} +11 -10
- package/dist/components/p-s6s0oE_l.js.map +1 -0
- 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.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +8 -7
- package/dist/esm/google-logo-icon_6.entry.js.map +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-CwWcFRQ4.js → version-BAjkr1GB.js} +3 -3
- package/dist/esm/{version-CwWcFRQ4.js.map → version-BAjkr1GB.js.map} +1 -1
- package/dist/nylas-web-elements/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-ebdd566e.entry.js → p-0bf7dbfe.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-eb7101dd.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-992af523.entry.js +2 -0
- package/dist/nylas-web-elements/p-992af523.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-CwWcFRQ4.js → p-BAjkr1GB.js} +2 -2
- package/dist/nylas-web-elements/{p-CwWcFRQ4.js.map → p-BAjkr1GB.js.map} +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-DC7TgSr7.js.map +0 -1
- package/dist/components/p-Dm3gIdGZ.js.map +0 -1
- package/dist/nylas-web-elements/p-942c1486.entry.js +0 -2
- package/dist/nylas-web-elements/p-942c1486.entry.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-ebdd566e.entry.js.map → p-0bf7dbfe.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-eb7101dd.entry.js.map → p-2242c1f5.entry.js.map} +0 -0
|
@@ -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.10", 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) => {
|
|
@@ -4754,6 +4754,9 @@ const NylasConfirmationEmail = class {
|
|
|
4754
4754
|
}
|
|
4755
4755
|
this.isConfirmationEmailOpen = this.isOpen;
|
|
4756
4756
|
this.participantsState = this.participants;
|
|
4757
|
+
if (typeof this.internals?.setFormValue === 'function') {
|
|
4758
|
+
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
4759
|
+
}
|
|
4757
4760
|
}
|
|
4758
4761
|
}
|
|
4759
4762
|
elementNameChangedHandler(newValue) {
|
|
@@ -4771,6 +4774,9 @@ const NylasConfirmationEmail = class {
|
|
|
4771
4774
|
}
|
|
4772
4775
|
this.isConfirmationEmailOpen = !newValue?.event_booking?.reminders?.length;
|
|
4773
4776
|
this.participantsState = newValue?.participants || this.participants;
|
|
4777
|
+
if (typeof this.internals?.setFormValue === 'function') {
|
|
4778
|
+
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
4779
|
+
}
|
|
4774
4780
|
}
|
|
4775
4781
|
nylasBrandingChangedHandler(newValue) {
|
|
4776
4782
|
utils.debug('nylas-confirmation-email', 'nylasBrandingChangedHandler', newValue);
|
|
@@ -4854,9 +4860,9 @@ const NylasConfirmationEmail = class {
|
|
|
4854
4860
|
render() {
|
|
4855
4861
|
const organizer = this.participantsState.find(p => p.is_organizer);
|
|
4856
4862
|
const organizerName = organizer?.name || organizer?.email;
|
|
4857
|
-
return (index$1.h(index$1.Host, { key: '
|
|
4863
|
+
return (index$1.h(index$1.Host, { key: '344808e8373d6a890feb576c2d4133fcfae3ba6f' }, index$1.h("div", { key: 'badfe491592142dd0e5c5b345f3c91770df3d86d', class: "nylas-confirmation-email", part: "nce" }, index$1.h("div", { key: '64d6dda525037fdd282d57611cebad8dde327c61', class: "header", part: "nce__header" }, index$1.h("div", { key: '8055a976a4cdcf74b03181a591f685f790611918' }, index$1.h("h3", { key: '4145e04b902254696d5e08594fe93c563c024dea' }, this.confirmationEmail?.booking_confirmed?.title || organizerName
|
|
4858
4864
|
? utils.instance.t('nylasConfirmationEmail.headerTitle_withOrganizer', { organizerName: organizerName })
|
|
4859
|
-
: utils.instance.t('nylasConfirmationEmail.headerTitle')), index$1.h("p", { key: '
|
|
4865
|
+
: utils.instance.t('nylasConfirmationEmail.headerTitle')), index$1.h("p", { key: '51e76e9ea405e8048c56b1a40ba749dbc2c29739' }, utils.instance.t('nylasConfirmationEmail.headerSubTitle'))), this.isConfirmationEmailOpen ? (index$1.h("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, index$1.h("span", { class: `chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, index$1.h("chevron-icon", { width: "24", height: "24" })))) : (index$1.h("button-component", { variant: 'basic', clickHandler: event => {
|
|
4860
4866
|
event.preventDefault();
|
|
4861
4867
|
this.toggleConfirmationEmail();
|
|
4862
4868
|
} }, index$1.h("edit-icon", { width: "16", height: "16" }), utils.instance.t('nylasConfirmationEmail.editButtonText')))), this.isConfirmationEmailOpen ? (index$1.h("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, index$1.h("div", { class: "nylas-confirmation-email__section" }, this.nylasBranding && (index$1.h("div", { class: "nylas-confirmation-email__row" }, index$1.h("label", null, utils.instance.t('nylasConfirmationEmail.nylasBranding.label'), index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, utils.instance.t('nylasConfirmationEmail.nylasBranding.tooltip.desc'))))), index$1.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 }))), index$1.h("div", { class: "nylas-confirmation-email__row" }, index$1.h("div", { class: "subsection" }, index$1.h("div", { class: "input-container" }, index$1.h("label", null, utils.instance.t('nylasConfirmationEmail.companyLogoUrl.label'), index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, utils.instance.t('nylasConfirmationEmail.companyLogoUrl.tooltip.desc'))))), this.confirmationEmail && (index$1.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 }))))), index$1.h("div", { class: "nylas-confirmation-email__row full-width-col" }, index$1.h("div", { class: "subsection" }, index$1.h("h3", null, utils.instance.t('nylasConfirmationEmail.emailMessage.header')), index$1.h("div", { class: "input-container" }, index$1.h("label", { htmlFor: "title" }, utils.instance.t('nylasConfirmationEmail.emailMessage.label'), index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, utils.instance.t('nylasConfirmationEmail.emailMessage.tooltip.desc'))))), index$1.h("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: organizerName
|