@nylas/web-elements 2.5.6 → 2.5.7
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 +7317 -7304
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/{abstract-provider-f3JKAnoC.js → abstract-provider-EX4lu0u8.js} +3 -3
- package/dist/cjs/{abstract-provider-f3JKAnoC.js.map → abstract-provider-EX4lu0u8.js.map} +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +2 -2
- package/dist/cjs/checkbox-group_4.cjs.entry.js +3 -3
- package/dist/cjs/checkmark-icon_14.cjs.entry.js +2 -2
- package/dist/cjs/{customParseFormat-5f0XwO0N.js → customParseFormat-CRtj2ht3.js} +3 -3
- package/dist/cjs/{customParseFormat-5f0XwO0N.js.map → customParseFormat-CRtj2ht3.js.map} +1 -1
- package/dist/cjs/globe-icon_3.cjs.entry.js +2 -2
- 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 +34 -22
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/input-image-url_2.cjs.entry.js +2 -2
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{nylas-api-request-Cbo-19Nf.js → nylas-api-request-8qsFHWUt.js} +3 -3
- package/dist/cjs/{nylas-api-request-Cbo-19Nf.js.map → nylas-api-request-8qsFHWUt.js.map} +1 -1
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +2 -2
- package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
- package/dist/cjs/nylas-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +4 -4
- package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
- package/dist/cjs/{register-component-3z1jbXx-.js → register-component-DjG8kzjz.js} +3 -3
- package/dist/cjs/{register-component-3z1jbXx-.js.map → register-component-DjG8kzjz.js.map} +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/{utils-C5qGWVDr.js → utils-BDriE9YY.js} +17 -2
- package/dist/{esm/utils-DDKV6-nQ.js.map → cjs/utils-BDriE9YY.js.map} +1 -1
- package/dist/cjs/{version-CJ5046pS.js → version-C5rRjTHU.js} +3 -3
- package/dist/cjs/{version-CJ5046pS.js.map → version-C5rRjTHU.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +8 -8
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +8 -8
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/tab-contents-group.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/tab-contents-group.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +15 -3
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
- package/dist/collection/utils/utils.js +14 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-component.js +1 -1
- package/dist/components/input-image-url.js +1 -1
- package/dist/components/multi-select-dropdown.js +1 -1
- package/dist/components/nylas-additional-participants.js +1 -1
- package/dist/components/nylas-availability-picker.js +1 -1
- package/dist/components/nylas-booked-event-card.js +1 -1
- package/dist/components/nylas-booking-calendar-picker.js +1 -1
- package/dist/components/nylas-booking-confirmation-redirect.js +1 -1
- package/dist/components/nylas-booking-confirmation-type.js +1 -1
- package/dist/components/nylas-booking-form-config.js +1 -1
- package/dist/components/nylas-booking-form.js +1 -1
- package/dist/components/nylas-buffer-time.js +1 -1
- package/dist/components/nylas-calendar-picker.js +1 -1
- package/dist/components/nylas-cancel-booking-form.js +1 -1
- package/dist/components/nylas-cancellation-policy.js +1 -1
- package/dist/components/nylas-cancelled-event-card.js +1 -1
- package/dist/components/nylas-confirmation-email.js +1 -1
- package/dist/components/nylas-confirmed-event-card.js +1 -1
- package/dist/components/nylas-connected-calendars.js +1 -1
- package/dist/components/nylas-custom-booking-flow.js +1 -1
- package/dist/components/nylas-custom-event-slug.js +1 -1
- package/dist/components/nylas-customize-booking-settings.js +1 -1
- package/dist/components/nylas-date-component.js +1 -1
- package/dist/components/nylas-date-picker.js +1 -1
- package/dist/components/nylas-disable-emails.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-event-calendar.js +1 -1
- package/dist/components/nylas-event-capacity.js +1 -1
- package/dist/components/nylas-event-description.js +1 -1
- package/dist/components/nylas-event-duration.js +1 -1
- package/dist/components/nylas-event-info.js +1 -1
- package/dist/components/nylas-event-limits.js +1 -1
- package/dist/components/nylas-event-location.js +1 -1
- package/dist/components/nylas-event-timeslot.js +1 -1
- package/dist/components/nylas-event-title.js +1 -1
- package/dist/components/nylas-feedback-form.js +1 -1
- package/dist/components/nylas-form-card.js +1 -1
- package/dist/components/nylas-limit-future-bookings.js +1 -1
- package/dist/components/nylas-list-configurations.js +1 -1
- package/dist/components/nylas-locale-switch.js +1 -1
- package/dist/components/nylas-min-booking-notice.js +1 -1
- package/dist/components/nylas-min-cancellation-notice.js +1 -1
- package/dist/components/nylas-notetaker-config.js +1 -1
- package/dist/components/nylas-notification.js +1 -1
- package/dist/components/nylas-only-specific-time-availability.js +1 -1
- package/dist/components/nylas-organizer-confirmation-card.js +1 -1
- package/dist/components/nylas-page-name.js +1 -1
- package/dist/components/nylas-page-styling.js +1 -1
- package/dist/components/nylas-participant-booking-calendars.js +1 -1
- package/dist/components/nylas-participants-custom-availability.js +1 -1
- package/dist/components/nylas-reminder-emails.js +1 -1
- package/dist/components/nylas-reminder-time.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +56 -56
- package/dist/components/nylas-scheduling-method.js +1 -1
- package/dist/components/nylas-scheduling.js +19 -19
- package/dist/components/nylas-select-event-type.js +1 -1
- package/dist/components/nylas-selected-event-card.js +1 -1
- package/dist/components/nylas-specific-time-availability-picker.js +1 -1
- package/dist/components/nylas-time-window-picker.js +1 -1
- package/dist/components/nylas-timeslot-interval.js +1 -1
- package/dist/components/nylas-timeslot-picker.js +1 -1
- package/dist/components/{p-U-EdxzfX.js → p-4jS2598L.js} +3 -3
- package/dist/components/{p-U-EdxzfX.js.map → p-4jS2598L.js.map} +1 -1
- package/dist/components/{p-BNfHz7A2.js → p-B2_cvJns.js} +5 -5
- package/dist/components/{p-BNfHz7A2.js.map → p-B2_cvJns.js.map} +1 -1
- package/dist/components/{p-ClGGIEMi.js → p-B2iddmWd.js} +5 -5
- package/dist/components/{p-ClGGIEMi.js.map → p-B2iddmWd.js.map} +1 -1
- package/dist/components/{p-D8Gq0LJd.js → p-B5zQj3-Z.js} +4 -4
- package/dist/components/{p-D8Gq0LJd.js.map → p-B5zQj3-Z.js.map} +1 -1
- package/dist/components/{p-xxFdByBn.js → p-BCUF1qcs.js} +17 -3
- package/dist/components/p-BCUF1qcs.js.map +1 -0
- package/dist/components/{p-B54mNgSc.js → p-BNzrPoR6.js} +5 -5
- package/dist/components/{p-B54mNgSc.js.map → p-BNzrPoR6.js.map} +1 -1
- package/dist/components/{p-CsyEOZaq.js → p-BRszp61A.js} +3 -3
- package/dist/components/{p-CsyEOZaq.js.map → p-BRszp61A.js.map} +1 -1
- package/dist/components/{p-D4C1TKzq.js → p-BTo3RJwU.js} +5 -5
- package/dist/components/{p-D4C1TKzq.js.map → p-BTo3RJwU.js.map} +1 -1
- package/dist/components/{p-D-3RU2oS.js → p-BWCjcWGP.js} +4 -4
- package/dist/components/{p-D-3RU2oS.js.map → p-BWCjcWGP.js.map} +1 -1
- package/dist/components/{p-CXqwQnQF.js → p-Bj4ZUpbc.js} +4 -4
- package/dist/components/{p-CXqwQnQF.js.map → p-Bj4ZUpbc.js.map} +1 -1
- package/dist/components/{p-FYD-tPqw.js → p-C1Z2qktB.js} +7 -7
- package/dist/components/{p-FYD-tPqw.js.map → p-C1Z2qktB.js.map} +1 -1
- package/dist/components/{p-Bzhy3cc5.js → p-C2EKszp0.js} +3 -3
- package/dist/components/{p-Bzhy3cc5.js.map → p-C2EKszp0.js.map} +1 -1
- package/dist/components/{p-DRgnghCP.js → p-CJ7rVNTy.js} +4 -4
- package/dist/components/{p-DRgnghCP.js.map → p-CJ7rVNTy.js.map} +1 -1
- package/dist/components/{p-irdXl5Fp.js → p-CM9l-8zy.js} +5 -5
- package/dist/components/{p-irdXl5Fp.js.map → p-CM9l-8zy.js.map} +1 -1
- package/dist/components/{p-DtHKroeT.js → p-CNvWFjFr.js} +4 -4
- package/dist/components/{p-DtHKroeT.js.map → p-CNvWFjFr.js.map} +1 -1
- package/dist/components/{p-DPBfMry4.js → p-CSECxNkF.js} +6 -6
- package/dist/components/{p-DPBfMry4.js.map → p-CSECxNkF.js.map} +1 -1
- package/dist/components/{p-CSqqWusO.js → p-CbB5JFln.js} +4 -4
- package/dist/components/{p-CSqqWusO.js.map → p-CbB5JFln.js.map} +1 -1
- package/dist/components/{p-DBwy7Snv.js → p-CeWOPOaM.js} +4 -4
- package/dist/components/{p-DBwy7Snv.js.map → p-CeWOPOaM.js.map} +1 -1
- package/dist/components/{p-CMF0O-Fp.js → p-Cf-rjo7-.js} +6 -6
- package/dist/components/{p-CMF0O-Fp.js.map → p-Cf-rjo7-.js.map} +1 -1
- package/dist/components/{p-wJcvwuFy.js → p-CfNiz60j.js} +5 -5
- package/dist/components/{p-wJcvwuFy.js.map → p-CfNiz60j.js.map} +1 -1
- package/dist/components/{p-BIbAx1y2.js → p-Ch03cZa9.js} +3 -3
- package/dist/components/{p-BIbAx1y2.js.map → p-Ch03cZa9.js.map} +1 -1
- package/dist/components/{p-Dxtgg1gN.js → p-CjMpnxmP.js} +3 -3
- package/dist/components/{p-Dxtgg1gN.js.map → p-CjMpnxmP.js.map} +1 -1
- package/dist/components/{p-CrXOqjIw.js → p-Co08mMKn.js} +4 -4
- package/dist/components/{p-CrXOqjIw.js.map → p-Co08mMKn.js.map} +1 -1
- package/dist/components/{p-jHq8WTky.js → p-CpP2uaEo.js} +3 -3
- package/dist/components/{p-jHq8WTky.js.map → p-CpP2uaEo.js.map} +1 -1
- package/dist/components/{p-DzkCpPXX.js → p-CqVcXov0.js} +7 -7
- package/dist/components/{p-DzkCpPXX.js.map → p-CqVcXov0.js.map} +1 -1
- package/dist/components/{p-CYy1pa_3.js → p-Cx6l-C7e.js} +4 -4
- package/dist/components/{p-CYy1pa_3.js.map → p-Cx6l-C7e.js.map} +1 -1
- package/dist/components/{p-zzOzXpMC.js → p-Czoh6-K4.js} +6 -6
- package/dist/components/{p-zzOzXpMC.js.map → p-Czoh6-K4.js.map} +1 -1
- package/dist/components/{p-DBEvFYf0.js → p-D6yyOiee.js} +5 -5
- package/dist/components/{p-DBEvFYf0.js.map → p-D6yyOiee.js.map} +1 -1
- package/dist/components/{p-CLMQXVmv.js → p-D7Xfdt74.js} +4 -4
- package/dist/components/{p-CLMQXVmv.js.map → p-D7Xfdt74.js.map} +1 -1
- package/dist/components/{p-8jVEXvkn.js → p-D8f8zHZu.js} +5 -5
- package/dist/components/{p-8jVEXvkn.js.map → p-D8f8zHZu.js.map} +1 -1
- package/dist/components/{p-mElO3u2v.js → p-DGUo_p68.js} +4 -4
- package/dist/components/{p-mElO3u2v.js.map → p-DGUo_p68.js.map} +1 -1
- package/dist/components/{p-nozjdB6e.js → p-DGwr7E6J.js} +4 -4
- package/dist/components/{p-nozjdB6e.js.map → p-DGwr7E6J.js.map} +1 -1
- package/dist/components/{p-CUL-OCAu.js → p-DWMCGYZt.js} +5 -5
- package/dist/components/{p-CUL-OCAu.js.map → p-DWMCGYZt.js.map} +1 -1
- package/dist/components/{p-Dj4JDZ9W.js → p-D_8c_n1h.js} +4 -4
- package/dist/components/{p-Dj4JDZ9W.js.map → p-D_8c_n1h.js.map} +1 -1
- package/dist/components/{p-DxYfbkxH.js → p-D_CPIneS.js} +3 -3
- package/dist/components/{p-DxYfbkxH.js.map → p-D_CPIneS.js.map} +1 -1
- package/dist/components/{p-Bye3Di82.js → p-DclMe63w.js} +3 -3
- package/dist/components/{p-Bye3Di82.js.map → p-DclMe63w.js.map} +1 -1
- package/dist/components/{p-DR_UXNMx.js → p-DfNywLNk.js} +4 -4
- package/dist/components/{p-DR_UXNMx.js.map → p-DfNywLNk.js.map} +1 -1
- package/dist/components/{p-5ZYkWuBH.js → p-DjFQHhGY.js} +4 -4
- package/dist/components/{p-5ZYkWuBH.js.map → p-DjFQHhGY.js.map} +1 -1
- package/dist/components/{p-SjPGcPOD.js → p-DjQuy9Lc.js} +5 -5
- package/dist/components/{p-SjPGcPOD.js.map → p-DjQuy9Lc.js.map} +1 -1
- package/dist/components/{p-CIiKlhjq.js → p-Dlku8PCX.js} +4 -4
- package/dist/components/{p-CIiKlhjq.js.map → p-Dlku8PCX.js.map} +1 -1
- package/dist/components/{p-D1laIpmv.js → p-Dm3gIdGZ.js} +7 -7
- package/dist/components/{p-D1laIpmv.js.map → p-Dm3gIdGZ.js.map} +1 -1
- package/dist/components/{p-Uj5eg-r1.js → p-DqVU9VaM.js} +48 -48
- package/dist/components/p-DqVU9VaM.js.map +1 -0
- package/dist/components/{p-NkqnymW3.js → p-DqgGszYv.js} +8 -8
- package/dist/components/{p-NkqnymW3.js.map → p-DqgGszYv.js.map} +1 -1
- package/dist/components/{p-D19TzH-m.js → p-DrmjHhDH.js} +5 -5
- package/dist/components/{p-D19TzH-m.js.map → p-DrmjHhDH.js.map} +1 -1
- package/dist/components/{p-cIIaCJPC.js → p-DswqiER3.js} +3 -3
- package/dist/components/{p-cIIaCJPC.js.map → p-DswqiER3.js.map} +1 -1
- package/dist/components/{p-BhY18Huj.js → p-Dwxouxgj.js} +4 -4
- package/dist/components/{p-BhY18Huj.js.map → p-Dwxouxgj.js.map} +1 -1
- package/dist/components/{p-B_HtmTBC.js → p-EKeBVTKB.js} +5 -5
- package/dist/components/{p-B_HtmTBC.js.map → p-EKeBVTKB.js.map} +1 -1
- package/dist/components/{p-CTDkYArQ.js → p-FBEildbE.js} +8 -8
- package/dist/components/{p-CTDkYArQ.js.map → p-FBEildbE.js.map} +1 -1
- package/dist/components/{p-C8K-8dJ0.js → p-HJ5amhvq.js} +58 -58
- package/dist/components/p-HJ5amhvq.js.map +1 -0
- package/dist/components/{p-BpDfyvY4.js → p-OAhdn1vx.js} +3 -3
- package/dist/components/{p-BpDfyvY4.js.map → p-OAhdn1vx.js.map} +1 -1
- package/dist/components/{p-CKPYi9FX.js → p-W0q3GPje.js} +3 -3
- package/dist/components/{p-CKPYi9FX.js.map → p-W0q3GPje.js.map} +1 -1
- package/dist/components/{p-DFSt8wfH.js → p-eej_Ksq1.js} +5 -5
- package/dist/components/{p-DFSt8wfH.js.map → p-eej_Ksq1.js.map} +1 -1
- package/dist/components/{p-D_ZAV9If.js → p-f0IvxSr9.js} +6 -6
- package/dist/components/{p-D_ZAV9If.js.map → p-f0IvxSr9.js.map} +1 -1
- package/dist/components/{p-fOr8r1Zc.js → p-hmiyEk6L.js} +20 -8
- package/dist/components/p-hmiyEk6L.js.map +1 -0
- package/dist/components/{p-DDjhKQi2.js → p-i8gpwgDT.js} +4 -4
- package/dist/components/{p-DDjhKQi2.js.map → p-i8gpwgDT.js.map} +1 -1
- package/dist/components/{p-ByIpuB6X.js → p-ixTtdC_2.js} +5 -5
- package/dist/components/{p-ByIpuB6X.js.map → p-ixTtdC_2.js.map} +1 -1
- package/dist/components/{p-CpMfG8zc.js → p-lV8W1_93.js} +17 -17
- package/dist/components/{p-CpMfG8zc.js.map → p-lV8W1_93.js.map} +1 -1
- package/dist/components/{p-CABFxRgm.js → p-oVDOs1AN.js} +4 -4
- package/dist/components/{p-CABFxRgm.js.map → p-oVDOs1AN.js.map} +1 -1
- package/dist/components/{p-B0eXe4fu.js → p-pY2yw_Ql.js} +8 -8
- package/dist/components/{p-B0eXe4fu.js.map → p-pY2yw_Ql.js.map} +1 -1
- package/dist/components/{p-BqcSDTPa.js → p-rODq8j3H.js} +5 -5
- package/dist/components/{p-BqcSDTPa.js.map → p-rODq8j3H.js.map} +1 -1
- package/dist/components/{p-CHMf20sF.js → p-sH4nuWqV.js} +4 -4
- package/dist/components/{p-CHMf20sF.js.map → p-sH4nuWqV.js.map} +1 -1
- package/dist/components/{p-BCdaMIEZ.js → p-tIcs9Qo5.js} +5 -5
- package/dist/components/{p-BCdaMIEZ.js.map → p-tIcs9Qo5.js.map} +1 -1
- package/dist/components/{p-C1IR0LII.js → p-uQf7jw6y.js} +7 -7
- package/dist/components/{p-C1IR0LII.js.map → p-uQf7jw6y.js.map} +1 -1
- package/dist/components/{p-SbxgHNeG.js → p-umrdj-23.js} +5 -5
- package/dist/components/{p-SbxgHNeG.js.map → p-umrdj-23.js.map} +1 -1
- package/dist/components/{p-sKaBe5Hr.js → p-w9ANRXbn.js} +5 -5
- package/dist/components/{p-sKaBe5Hr.js.map → p-w9ANRXbn.js.map} +1 -1
- package/dist/components/{p-CXxRydPc.js → p-xnXT49TS.js} +4 -4
- package/dist/components/{p-CXxRydPc.js.map → p-xnXT49TS.js.map} +1 -1
- package/dist/components/{p-6buYtCek.js → p-y15sKy8D.js} +4 -4
- package/dist/components/{p-6buYtCek.js.map → p-y15sKy8D.js.map} +1 -1
- package/dist/components/textarea-component.js +1 -1
- package/dist/components/time-period-selector.js +1 -1
- package/dist/esm/{abstract-provider-Dbnlk0Q8.js → abstract-provider-DfvNw5fP.js} +3 -3
- package/dist/esm/{abstract-provider-Dbnlk0Q8.js.map → abstract-provider-DfvNw5fP.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +2 -2
- package/dist/esm/checkbox-group_4.entry.js +3 -3
- package/dist/esm/checkmark-icon_14.entry.js +2 -2
- package/dist/esm/{customParseFormat-xZjyidlk.js → customParseFormat-BUZsRKas.js} +3 -3
- package/dist/esm/{customParseFormat-xZjyidlk.js.map → customParseFormat-BUZsRKas.js.map} +1 -1
- package/dist/esm/globe-icon_3.entry.js +2 -2
- 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 +34 -22
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown_2.entry.js +1 -1
- package/dist/esm/input-image-url_2.entry.js +2 -2
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/{nylas-api-request-tYrM5hQX.js → nylas-api-request-B3Fj4B-L.js} +3 -3
- package/dist/esm/{nylas-api-request-tYrM5hQX.js.map → nylas-api-request-B3Fj4B-L.js.map} +1 -1
- package/dist/esm/nylas-booked-event-card_11.entry.js +2 -2
- package/dist/esm/nylas-form-card.entry.js +2 -2
- package/dist/esm/nylas-notification_2.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +4 -4
- package/dist/esm/nylas-scheduling.entry.js +3 -3
- package/dist/esm/{register-component-3SZ7gAeK.js → register-component-B9YP9nha.js} +3 -3
- package/dist/esm/{register-component-3SZ7gAeK.js.map → register-component-B9YP9nha.js.map} +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/{utils-DDKV6-nQ.js → utils-OpKyWV8q.js} +17 -3
- package/dist/{cjs/utils-C5qGWVDr.js.map → esm/utils-OpKyWV8q.js.map} +1 -1
- package/dist/esm/{version-Xc-4F4Ta.js → version-C5BO7xwe.js} +3 -3
- package/dist/esm/{version-Xc-4F4Ta.js.map → version-C5BO7xwe.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/index.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/p-083268de.entry.js +2 -0
- package/dist/nylas-web-elements/p-083268de.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-926c0f10.entry.js → p-2f3a33e1.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-473a9f48.entry.js → p-330c2159.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-2e34476b.entry.js → p-38806f4d.entry.js} +2 -2
- package/dist/nylas-web-elements/p-3f66ac98.entry.js +2 -0
- package/dist/nylas-web-elements/{p-49510dd2.entry.js.map → p-3f66ac98.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-bb4b9655.entry.js → p-4d9bdaa0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-469c232b.entry.js → p-85955466.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b9a991fe.entry.js → p-97034347.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4c51d165.entry.js → p-9a5ddc21.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-CONX24aJ.js → p-C-mOw2iU.js} +2 -2
- package/dist/nylas-web-elements/{p-CONX24aJ.js.map → p-C-mOw2iU.js.map} +1 -1
- package/dist/nylas-web-elements/{p-Xc-4F4Ta.js → p-C5BO7xwe.js} +2 -2
- package/dist/nylas-web-elements/{p-Xc-4F4Ta.js.map → p-C5BO7xwe.js.map} +1 -1
- package/dist/nylas-web-elements/{p-Cz68LNCB.js → p-D8VJgipo.js} +2 -2
- package/dist/nylas-web-elements/{p-Cz68LNCB.js.map → p-D8VJgipo.js.map} +1 -1
- package/dist/nylas-web-elements/{p-CpfLRTv0.js → p-FlNKXp4j.js} +2 -2
- package/dist/nylas-web-elements/{p-CpfLRTv0.js.map → p-FlNKXp4j.js.map} +1 -1
- package/dist/nylas-web-elements/{p-DDKV6-nQ.js → p-OpKyWV8q.js} +2 -2
- package/dist/nylas-web-elements/{p-DDKV6-nQ.js.map → p-OpKyWV8q.js.map} +1 -1
- package/dist/nylas-web-elements/{p-CZUjPf2B.js → p-S0IPwRIR.js} +2 -2
- package/dist/nylas-web-elements/{p-CZUjPf2B.js.map → p-S0IPwRIR.js.map} +1 -1
- package/dist/nylas-web-elements/{p-b877c010.entry.js → p-ad920702.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c71c04d0.entry.js → p-ae86e7c6.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-6245bad4.entry.js → p-cc4150a5.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-42432de0.entry.js → p-db79a1ca.entry.js} +2 -2
- package/dist/nylas-web-elements/p-e240fd68.entry.js +2 -0
- package/dist/nylas-web-elements/{p-f74f3a8d.entry.js.map → p-e240fd68.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-90569d2b.entry.js → p-f235211e.entry.js} +2 -2
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-C8K-8dJ0.js.map +0 -1
- package/dist/components/p-Uj5eg-r1.js.map +0 -1
- package/dist/components/p-fOr8r1Zc.js.map +0 -1
- package/dist/components/p-xxFdByBn.js.map +0 -1
- package/dist/nylas-web-elements/p-49510dd2.entry.js +0 -2
- package/dist/nylas-web-elements/p-7186d262.entry.js +0 -2
- package/dist/nylas-web-elements/p-7186d262.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-f74f3a8d.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-926c0f10.entry.js.map → p-2f3a33e1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-473a9f48.entry.js.map → p-330c2159.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2e34476b.entry.js.map → p-38806f4d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bb4b9655.entry.js.map → p-4d9bdaa0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-469c232b.entry.js.map → p-85955466.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b9a991fe.entry.js.map → p-97034347.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4c51d165.entry.js.map → p-9a5ddc21.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b877c010.entry.js.map → p-ad920702.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c71c04d0.entry.js.map → p-ae86e7c6.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6245bad4.entry.js.map → p-cc4150a5.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-42432de0.entry.js.map → p-db79a1ca.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-90569d2b.entry.js.map → p-f235211e.entry.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-9TuL48qE.js');
|
|
4
|
-
var registerComponent = require('./register-component-
|
|
5
|
-
var utils = require('./utils-
|
|
6
|
-
var version = require('./version-
|
|
4
|
+
var registerComponent = require('./register-component-DjG8kzjz.js');
|
|
5
|
+
var utils = require('./utils-BDriE9YY.js');
|
|
6
|
+
var version = require('./version-C5rRjTHU.js');
|
|
7
7
|
var feedbackSync = require('./feedbackSync-Bcx7mZ9-.js');
|
|
8
8
|
|
|
9
9
|
const iconCss$1 = ".sc-google-logo-icon-h{display:flex}";
|
|
@@ -65,7 +65,7 @@ function TabContents({ id, formState, activeTab, enableNotetaker, themeConfig },
|
|
|
65
65
|
index.h("nylas-custom-booking-flow", { exportparts: 'ncbflow, ncbflow__header, ncbflow__title, ncbflow__content' },
|
|
66
66
|
index.h("div", { slot: "inputs" },
|
|
67
67
|
index.h("nylas-booking-confirmation-type", { name: "confirmation-type", themeConfig: themeConfig, exportparts: 'nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content' }),
|
|
68
|
-
index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", themeConfig: themeConfig, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
|
|
68
|
+
index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", redirectUrl: formState.redirectUrl, themeConfig: themeConfig, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
|
|
69
69
|
index.h("nylas-buffer-time", { name: "buffer-time", themeConfig: themeConfig, exportparts: 'nbt, nbt__header, nbt__body, nbt__dropdown-before, nbt__dropdown-button-before, nbt__dropdown-content-before, nbt__dropdown-after, nbt__dropdown-button-after, nbt__dropdown-content-after, nbt__preview' }),
|
|
70
70
|
index.h("nylas-event-limits", null,
|
|
71
71
|
index.h("div", { slot: "inputs" },
|
|
@@ -302,8 +302,8 @@ const NylasEditorTabs = class {
|
|
|
302
302
|
},
|
|
303
303
|
appearance: appearance,
|
|
304
304
|
};
|
|
305
|
-
const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, configObject || {});
|
|
306
|
-
const finalConfig =
|
|
305
|
+
const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, utils.removeUndefinedProperties(configObject || {}));
|
|
306
|
+
const finalConfig = configObjectWithDeveloperSettings;
|
|
307
307
|
if (this.isConfigRoundRobin(finalConfig)) {
|
|
308
308
|
finalConfig.participants = finalConfig.participants.map(p => ({ ...p, is_organizer: undefined }));
|
|
309
309
|
}
|
|
@@ -783,10 +783,10 @@ const NylasEditorTabs = class {
|
|
|
783
783
|
}
|
|
784
784
|
render() {
|
|
785
785
|
utils.debug('[nylas-editor-tabs]', 'render', this.formState);
|
|
786
|
-
return (index.h(index.Host, { key: '
|
|
786
|
+
return (index.h(index.Host, { key: '53e8f207370316a20260e8c9d5a62546efa70c22' }, index.h("nylas-notification", { key: '3dba6d5e4d6549d7c7afc84543a7de36b5e9565a' }), index.h("form", { key: 'b159d7794cdd2b4747df5b1eb971cc949599d56f', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: Tab.EventInfo, class: { tab: true, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: e => this.setActiveTab(e, Tab.EventInfo) }, index.h("calendar-info-icon", { width: "16", height: "16" }), utils.instance.t('eventInfoTab')), index.h("button", { name: Tab.Availability, class: { tab: true, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: e => this.setActiveTab(e, Tab.Availability) }, index.h("calendar-patterns-icon", { width: "16", height: "16" }), utils.instance.t('availabilityTab')), index.h("button", { name: Tab.Participants, class: { tab: true, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: e => this.setActiveTab(e, Tab.Participants) }, index.h("people-icon", { width: "16", height: "16" }), utils.instance.t('participantsTab')), index.h("button", { name: Tab.BookingOptions, class: { tab: true, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, Tab.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: Tab.BookingForm, class: { tab: true, active: this.activeTab == 'bookingForm', hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: Tab.Communications, class: { tab: true, active: this.activeTab == 'communications', hide: this.hideTab(Tab.Communications) }, onClick: e => this.setActiveTab(e, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: Tab.PageStyles, class: { tab: true, active: this.activeTab == 'pageStyles', hide: this.hideTab(Tab.PageStyles) }, onClick: e => this.setActiveTab(e, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: {
|
|
787
787
|
'tab-content': true,
|
|
788
788
|
'fadeIn': this.loaded,
|
|
789
|
-
}, part: "editor__tab-content net__tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '
|
|
789
|
+
}, part: "editor__tab-content net__tab-content" }, index.h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '89c5898f878016e7f948d163abe29ca754009ecd', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: 'f03899ff4f65cc1d3ca1eccc741721e64b14f5b7', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'f16d904cb742a131095fa70c2348bec8c81e1f29', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '06e12b85432d63d275687a69dbd8c507d66408b6' })))), index.h("div", { key: 'd0f09f33a68578be3541cbd71f92f9f710701858', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '628ccfdddad773509ac6e73613c8e4879d627553', class: {
|
|
790
790
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
791
791
|
'saved-changes': this.changesSaved,
|
|
792
792
|
'error': this.error?.message !== '',
|
|
@@ -795,17 +795,17 @@ const NylasEditorTabs = class {
|
|
|
795
795
|
? utils.instance.t('unsavedChangesLabel')
|
|
796
796
|
: this.error?.message == '' && this.changesSaved
|
|
797
797
|
? `${utils.instance.t('changesSavedLabel')}!`
|
|
798
|
-
: ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: '
|
|
798
|
+
: ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'cf3a48e6fd19209a8a87e30a7ab5639d439dbbc9', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
799
799
|
event.preventDefault();
|
|
800
800
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
801
801
|
if (!previewEvent.defaultPrevented) {
|
|
802
802
|
window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
803
803
|
}
|
|
804
|
-
}, variant: 'basic' }, index.h("eye-icon", { key: '
|
|
804
|
+
}, variant: 'basic' }, index.h("eye-icon", { key: '88a8aeafbefc9d21c5e2f10ebe43fd7308b7f2f0' }))), index.h("button-component", { key: '8377521f43f7050fd5b06fbee24e0c434d80bccc', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
805
805
|
event.preventDefault();
|
|
806
806
|
this.cancelButtonClick.emit();
|
|
807
807
|
this.host.resetError();
|
|
808
|
-
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: '
|
|
808
|
+
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: '5f3393800e9a0499cc538fffdee07005aa15bdba', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '4abad08be25f4ff177f564d54d701d53cce8bba3' })));
|
|
809
809
|
}
|
|
810
810
|
get host() { return index.getElement(this); }
|
|
811
811
|
static get watchers() { return {
|
|
@@ -905,7 +905,7 @@ function TabContentsGroup({ id, formState, activeTab }, children) {
|
|
|
905
905
|
index.h("nylas-custom-booking-flow", { exportparts: 'ncbflow, ncbflow__header, ncbflow__title, ncbflow__content' },
|
|
906
906
|
index.h("div", { slot: "inputs" },
|
|
907
907
|
index.h("nylas-booking-confirmation-type", { name: "confirmation-type", showComponent: false, exportparts: 'nbct, nbct__header, nbct__dropdown, nbct__dropdown-button, nbct__dropdown-content' }),
|
|
908
|
-
index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
|
|
908
|
+
index.h("nylas-booking-confirmation-redirect", { name: "confirmation-redirect", redirectUrl: formState.redirectUrl, exportparts: 'nbcr, nbcr__header, nbcr__dropdown, nbcr__dropdown-button, nbcr__dropdown-content, nbcr__input-textfield' }))),
|
|
909
909
|
index.h("nylas-event-limits", null,
|
|
910
910
|
index.h("div", { slot: "inputs" },
|
|
911
911
|
index.h("nylas-min-booking-notice", { name: "min-booking-notice", exportparts: "nmbn, nmbn__number-dropdown, nmbn__number-dropdown-button, nmbn__number-dropdown-content, nmbn__period-dropdown, nmbn__period-dropdown-button, nmbn__period-dropdown-content" }),
|
|
@@ -1025,8 +1025,8 @@ const NylasEditorTabsGroup = class {
|
|
|
1025
1025
|
default_capacity: eventCapacity || 10,
|
|
1026
1026
|
},
|
|
1027
1027
|
};
|
|
1028
|
-
const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, configObject || {});
|
|
1029
|
-
const finalConfig =
|
|
1028
|
+
const configObjectWithDeveloperSettings = utils.mergeDeep(this.selectedConfiguration, utils.removeUndefinedProperties(configObject || {}));
|
|
1029
|
+
const finalConfig = configObjectWithDeveloperSettings;
|
|
1030
1030
|
delete finalConfig.availability;
|
|
1031
1031
|
delete finalConfig.participants;
|
|
1032
1032
|
delete finalConfig.event_booking;
|
|
@@ -1538,9 +1538,9 @@ const NylasEditorTabsGroup = class {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
render() {
|
|
1540
1540
|
utils.debug('[nylas-editor-tabs-group]', 'render', this.formState);
|
|
1541
|
-
return (index.h(index.Host, { key: '
|
|
1541
|
+
return (index.h(index.Host, { key: '5c43ab9753d143dc7106e2610d859018f16d7c8a' }, index.h("nylas-notification", { key: 'aad4b319b5a15d071c50104f5e5143e20a46a242' }), index.h("form", { key: '6be0f7f3f455c7fd3c238dabca0b28d2c8720470', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, index.h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
|
|
1542
1542
|
this.setActiveTab(e, TabGroup.CalendarView);
|
|
1543
|
-
} }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '
|
|
1543
|
+
} }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: 'a33beeedc56376b9a421af7e996e478aca42de84', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '4fa919de1796a541b34dcfd8a835249b7613b5e4', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'a89bef04b5f00a893d0ce536889d27e691348a87', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '3bd71fd8df54e8a322831fa920f8da73c4649a64' }))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { key: 'a2c9fa658b4ab9bec066702df7be4a98682bf148', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, utils.instance.t('pageSettingsButton')))), index.h("div", { key: '685c81809fbe5a28e86f93a8a3b357148a72fd76', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: 'a59e3c5f92c2b2a404c659cb5b2b5ce01362bb30', class: {
|
|
1544
1544
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
1545
1545
|
'saved-changes': this.changesSaved,
|
|
1546
1546
|
'error': this.error?.message !== '',
|
|
@@ -1549,17 +1549,17 @@ const NylasEditorTabsGroup = class {
|
|
|
1549
1549
|
? utils.instance.t('unsavedChangesLabel')
|
|
1550
1550
|
: this.error?.message == '' && this.changesSaved
|
|
1551
1551
|
? `${utils.instance.t('changesSavedLabel')}!`
|
|
1552
|
-
: ''), index.h("div", { key: '
|
|
1552
|
+
: ''), index.h("div", { key: '932230c2a5f60e19abd0db90a55b3b251252b1bd', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'c875383a9d26d1695cc20b1d4c9676a070c3608f', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1553
1553
|
event.preventDefault();
|
|
1554
1554
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
1555
1555
|
if (!previewEvent.defaultPrevented) {
|
|
1556
1556
|
window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
1557
1557
|
}
|
|
1558
|
-
}, variant: 'basic' }, index.h("eye-icon", { key: '
|
|
1558
|
+
}, variant: 'basic' }, index.h("eye-icon", { key: '1485e9f9ade7fd205cfab8195197b0d597e9c4bf' }))), index.h("button-component", { key: '62167206c6a8bde1cbfae44c7d54cfb6ed0692ac', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1559
1559
|
event.preventDefault();
|
|
1560
1560
|
this.cancelButtonClick.emit();
|
|
1561
1561
|
this.host.resetError();
|
|
1562
|
-
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: '
|
|
1562
|
+
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: 'e6ecfe240142f787ec5ac4ca5a1ff680b2ff3d3f', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (index.h("span", null, index.h("loading-icon", null), ' ')) : this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '449cab0589ff40203a33ed2bbee0e4a55458d557' })));
|
|
1563
1563
|
}
|
|
1564
1564
|
get host() { return index.getElement(this); }
|
|
1565
1565
|
static get watchers() { return {
|
|
@@ -2020,13 +2020,25 @@ __decorate$1([
|
|
|
2020
2020
|
},
|
|
2021
2021
|
editButtonClick: async (event, connector) => {
|
|
2022
2022
|
const { host, configuration } = event.detail;
|
|
2023
|
-
|
|
2023
|
+
const [configurationToEdit, configurationError] = await connector.schedulerConfig.getConfigurationById(configuration.id, true);
|
|
2024
|
+
if (!configurationToEdit && configurationError?.message) {
|
|
2025
|
+
await host.setError({
|
|
2026
|
+
message: configurationError.message,
|
|
2027
|
+
type: version.u.Error,
|
|
2028
|
+
category: version.ErrorCategory.Component,
|
|
2029
|
+
title: utils.instance.t('nylasEditorTabs.getConfigsError'),
|
|
2030
|
+
});
|
|
2031
|
+
host.hideEditButtonLoading();
|
|
2032
|
+
return;
|
|
2033
|
+
}
|
|
2034
|
+
const selectedConfiguration = configurationToEdit || configuration;
|
|
2035
|
+
if (selectedConfiguration.type === 'group') {
|
|
2024
2036
|
const { startTime, endTime } = utils.getCalendarRange(new Date().toISOString(), 'week');
|
|
2025
2037
|
connector.schedulerConfigStore.state.calendarViewDateRange = {
|
|
2026
2038
|
start_time: startTime.toString(),
|
|
2027
2039
|
end_time: endTime.toString(),
|
|
2028
2040
|
};
|
|
2029
|
-
const [data, error] = await connector.schedulerConfig.getGroupEvents(
|
|
2041
|
+
const [data, error] = await connector.schedulerConfig.getGroupEvents(selectedConfiguration.id, selectedConfiguration);
|
|
2030
2042
|
if (!data && error && error.message) {
|
|
2031
2043
|
await host.setError({
|
|
2032
2044
|
message: error.message,
|
|
@@ -2039,7 +2051,7 @@ __decorate$1([
|
|
|
2039
2051
|
}
|
|
2040
2052
|
}
|
|
2041
2053
|
connector.schedulerConfigStore.state.action = 'edit';
|
|
2042
|
-
connector.schedulerConfigStore.state.selectedConfiguration =
|
|
2054
|
+
connector.schedulerConfigStore.state.selectedConfiguration = selectedConfiguration;
|
|
2043
2055
|
host.hideEditButtonLoading();
|
|
2044
2056
|
},
|
|
2045
2057
|
},
|