@nylas/web-elements 2.3.2 → 2.3.3
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/input-color-picker/input-color-picker.es.js +1 -1
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +11 -11
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +8 -8
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js.map +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js.map +1 -1
- package/dist/cjs/checkbox-component.entry.cjs.js.map +1 -1
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +3 -3
- package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
- package/dist/cjs/chevron-icon.search-icon.select-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/globe-icon.nylas-date-component.nylas-time-window-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/globe-icon_3.cjs.entry.js +1 -1
- package/dist/cjs/globe-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-component.cjs.entry.js.map +1 -1
- package/dist/cjs/input-component.entry.cjs.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +1 -1
- package/dist/cjs/nylas-booked-event-card_11.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/radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/radio-button-group.entry.cjs.js.map +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js.map +1 -1
- package/dist/cjs/textarea-component.entry.cjs.js.map +1 -1
- package/dist/cjs/{version-DUyFnawM.js → version-Cwdh5z5t.js} +3 -3
- package/dist/cjs/{version-DUyFnawM.js.map → version-Cwdh5z5t.js.map} +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.css +2 -0
- package/dist/collection/components/design-system/input-color-picker/input-color-picker.css +2 -0
- package/dist/collection/components/design-system/input-component/input-component.css +2 -0
- package/dist/collection/components/design-system/nylas-date-component/nylas-date-component.css +2 -0
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.css +4 -0
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.css +2 -0
- package/dist/collection/components/design-system/textarea-component/textarea-component.css +2 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +2 -0
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.css +2 -0
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.css +2 -0
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.css +2 -0
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/checkbox-component.js +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/input-color-picker.js +1 -1
- package/dist/components/input-component.js +1 -1
- package/dist/components/input-image-url.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-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-cancel-booking-form.js +1 -1
- package/dist/components/nylas-confirmation-email.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-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-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-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-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 +46 -46
- package/dist/components/nylas-scheduling-method.js +1 -1
- package/dist/components/nylas-scheduling.js +11 -11
- package/dist/components/nylas-specific-time-availability-picker.js +1 -1
- package/dist/components/nylas-timeslot-interval.js +1 -1
- package/dist/components/{p-C1X9fzID.js → p-9PlaXlCB.js} +3 -3
- package/dist/components/{p-C1X9fzID.js.map → p-9PlaXlCB.js.map} +1 -1
- package/dist/components/{p-p2By8R7Z.js → p-B-xvNL5X.js} +3 -3
- package/dist/components/{p-p2By8R7Z.js.map → p-B-xvNL5X.js.map} +1 -1
- package/dist/components/{p-DZJAqRR0.js → p-B4C1SvsK.js} +3 -3
- package/dist/components/{p-DZJAqRR0.js.map → p-B4C1SvsK.js.map} +1 -1
- package/dist/components/{p-FyWR7wsG.js → p-B4WU6Ddk.js} +3 -3
- package/dist/components/{p-FyWR7wsG.js.map → p-B4WU6Ddk.js.map} +1 -1
- package/dist/components/{p-a4aWyy2J.js → p-BCNq-vH8.js} +4 -4
- package/dist/components/{p-a4aWyy2J.js.map → p-BCNq-vH8.js.map} +1 -1
- package/dist/components/{p-ClRazYdc.js → p-BGel3qwa.js} +4 -4
- package/dist/components/{p-ClRazYdc.js.map → p-BGel3qwa.js.map} +1 -1
- package/dist/components/{p-CdjkLYNh.js → p-BH0odz_K.js} +34 -34
- package/dist/components/{p-CdjkLYNh.js.map → p-BH0odz_K.js.map} +1 -1
- package/dist/components/{p-BMS02R_Z.js → p-BJ6nYqW1.js} +3 -3
- package/dist/components/{p-BMS02R_Z.js.map → p-BJ6nYqW1.js.map} +1 -1
- package/dist/components/{p-BA8j6G8I.js → p-BJHGQK2p.js} +3 -3
- package/dist/components/{p-BA8j6G8I.js.map → p-BJHGQK2p.js.map} +1 -1
- package/dist/components/{p-Di7xtAN8.js → p-BWgGjFXi.js} +3 -3
- package/dist/components/{p-Di7xtAN8.js.map → p-BWgGjFXi.js.map} +1 -1
- package/dist/components/{p-B4ta0tDN.js → p-BZ_muELE.js} +3 -3
- package/dist/components/{p-B4ta0tDN.js.map → p-BZ_muELE.js.map} +1 -1
- package/dist/components/{p-DDBe0PRD.js → p-B_ZbZ5lK.js} +3 -3
- package/dist/components/{p-DDBe0PRD.js.map → p-B_ZbZ5lK.js.map} +1 -1
- package/dist/components/{p-BBkyE1MS.js → p-BdQ9iWW4.js} +6 -6
- package/dist/components/{p-BBkyE1MS.js.map → p-BdQ9iWW4.js.map} +1 -1
- package/dist/components/{p-DDM3ZlW1.js → p-BdQA_uHk.js} +3 -3
- package/dist/components/{p-DDM3ZlW1.js.map → p-BdQA_uHk.js.map} +1 -1
- package/dist/components/{p-44_g1hcc.js → p-BeGM4wbq.js} +3 -3
- package/dist/components/{p-44_g1hcc.js.map → p-BeGM4wbq.js.map} +1 -1
- package/dist/components/{p-DM_4oTsI.js → p-BjynTcY9.js} +4 -4
- package/dist/components/{p-DM_4oTsI.js.map → p-BjynTcY9.js.map} +1 -1
- package/dist/components/{p-Bz1eTXD6.js → p-BsMclINV.js} +4 -4
- package/dist/components/{p-Bz1eTXD6.js.map → p-BsMclINV.js.map} +1 -1
- package/dist/components/{p-BdG2pZat.js → p-BvCTseDu.js} +5 -5
- package/dist/components/{p-BdG2pZat.js.map → p-BvCTseDu.js.map} +1 -1
- package/dist/components/{p-lLGrGYYy.js → p-C4s3qYGu.js} +3 -3
- package/dist/components/{p-lLGrGYYy.js.map → p-C4s3qYGu.js.map} +1 -1
- package/dist/components/{p-Dkp7GkzI.js → p-CEvUNENN.js} +3 -3
- package/dist/components/{p-Dkp7GkzI.js.map → p-CEvUNENN.js.map} +1 -1
- package/dist/components/{p-BJACsIxp.js → p-CHQ9sLls.js} +6 -6
- package/dist/components/{p-BJACsIxp.js.map → p-CHQ9sLls.js.map} +1 -1
- package/dist/components/{p-CXvH8gEB.js → p-CIm8sd7h.js} +4 -4
- package/dist/components/{p-CXvH8gEB.js.map → p-CIm8sd7h.js.map} +1 -1
- package/dist/components/{p-eMdkzfgI.js → p-CVnhRnUq.js} +6 -6
- package/dist/components/{p-eMdkzfgI.js.map → p-CVnhRnUq.js.map} +1 -1
- package/dist/components/{p-DzNdcHoB.js → p-CZllU8ii.js} +3 -3
- package/dist/components/{p-DzNdcHoB.js.map → p-CZllU8ii.js.map} +1 -1
- package/dist/components/{p-FGJR3D9_.js → p-Ci9dxGLY.js} +5 -5
- package/dist/components/{p-FGJR3D9_.js.map → p-Ci9dxGLY.js.map} +1 -1
- package/dist/components/{p-Cqcd_0tY.js → p-CwBmT52e.js} +41 -41
- package/dist/components/{p-Cqcd_0tY.js.map → p-CwBmT52e.js.map} +1 -1
- package/dist/components/{p-CfqEi00L.js → p-D13lTN27.js} +4 -4
- package/dist/components/{p-CfqEi00L.js.map → p-D13lTN27.js.map} +1 -1
- package/dist/components/{p-CowteGon.js → p-D30KE7uE.js} +3 -3
- package/dist/components/{p-CowteGon.js.map → p-D30KE7uE.js.map} +1 -1
- package/dist/components/{p-DsJUpcxE.js → p-DAr02cfd.js} +3 -3
- package/dist/components/{p-DsJUpcxE.js.map → p-DAr02cfd.js.map} +1 -1
- package/dist/components/{p-D0JQ_-Qx.js → p-DDceIF1-.js} +3 -3
- package/dist/components/{p-D0JQ_-Qx.js.map → p-DDceIF1-.js.map} +1 -1
- package/dist/components/{p-Dy7hoKyo.js → p-DMltEU-a.js} +4 -4
- package/dist/components/{p-Dy7hoKyo.js.map → p-DMltEU-a.js.map} +1 -1
- package/dist/components/{p-OADv0FUZ.js → p-DNm8Z4AY.js} +3 -3
- package/dist/components/{p-OADv0FUZ.js.map → p-DNm8Z4AY.js.map} +1 -1
- package/dist/components/{p-Dd9ZfJbD.js → p-DTF0fIhr.js} +3 -3
- package/dist/components/p-DTF0fIhr.js.map +1 -0
- package/dist/components/{p-6i8K_2Bl.js → p-DVTv2Hp1.js} +3 -3
- package/dist/components/{p-6i8K_2Bl.js.map → p-DVTv2Hp1.js.map} +1 -1
- package/dist/components/{p-DdroMDi7.js → p-DWCPI1lK.js} +3 -3
- package/dist/components/{p-DdroMDi7.js.map → p-DWCPI1lK.js.map} +1 -1
- package/dist/components/{p-P01mLKOx.js → p-Dary9zXr.js} +3 -3
- package/dist/components/{p-P01mLKOx.js.map → p-Dary9zXr.js.map} +1 -1
- package/dist/components/{p-BmXUSpFE.js → p-DgfDGATC.js} +3 -3
- package/dist/components/{p-BmXUSpFE.js.map → p-DgfDGATC.js.map} +1 -1
- package/dist/components/{p-pgYRW1Gn.js → p-Ey-jPikW.js} +3 -3
- package/dist/components/{p-pgYRW1Gn.js.map → p-Ey-jPikW.js.map} +1 -1
- package/dist/components/{p-BYAaHapV.js → p-FFI2InLT.js} +3 -3
- package/dist/components/{p-BYAaHapV.js.map → p-FFI2InLT.js.map} +1 -1
- package/dist/components/{p-C9c9Tc-Q.js → p-FrLX9pVa.js} +6 -6
- package/dist/components/{p-C9c9Tc-Q.js.map → p-FrLX9pVa.js.map} +1 -1
- package/dist/components/{p-EBvHC_aS.js → p-Gyins0o7.js} +9 -9
- package/dist/components/{p-EBvHC_aS.js.map → p-Gyins0o7.js.map} +1 -1
- package/dist/components/{p-Et75ok2y.js → p-MMkYQKuh.js} +3 -3
- package/dist/components/{p-Et75ok2y.js.map → p-MMkYQKuh.js.map} +1 -1
- package/dist/components/{p-ybLp3dGv.js → p-QKc1T_NS.js} +3 -3
- package/dist/components/{p-ybLp3dGv.js.map → p-QKc1T_NS.js.map} +1 -1
- package/dist/components/{p-D2DM2um3.js → p-UahFYa1w.js} +3 -3
- package/dist/components/{p-D2DM2um3.js.map → p-UahFYa1w.js.map} +1 -1
- package/dist/components/{p-kRlkh0g-.js → p-idvnK5Rl.js} +3 -3
- package/dist/components/{p-kRlkh0g-.js.map → p-idvnK5Rl.js.map} +1 -1
- package/dist/components/{p-Bho2Hb_A.js → p-keUQQIah.js} +4 -4
- package/dist/components/{p-Bho2Hb_A.js.map → p-keUQQIah.js.map} +1 -1
- package/dist/components/{p-DAAGx7-h.js → p-pLqfEMSB.js} +3 -3
- package/dist/components/{p-DAAGx7-h.js.map → p-pLqfEMSB.js.map} +1 -1
- package/dist/components/{p-BAZ-jMiz.js → p-pRwtuoW0.js} +4 -4
- package/dist/components/{p-BAZ-jMiz.js.map → p-pRwtuoW0.js.map} +1 -1
- package/dist/components/{p-CJ3feL4K.js → p-whoa2mmo.js} +14 -14
- package/dist/components/{p-CJ3feL4K.js.map → p-whoa2mmo.js.map} +1 -1
- package/dist/components/radio-button-group.js +1 -1
- package/dist/components/select-dropdown.js +1 -1
- package/dist/components/textarea-component.js +1 -1
- package/dist/components/time-period-selector.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js.map +1 -1
- package/dist/esm/checkbox-component.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js.map +1 -1
- package/dist/esm/checkmark-icon_15.entry.js +3 -3
- package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
- package/dist/esm/chevron-icon.search-icon.select-dropdown.entry.js.map +1 -1
- package/dist/esm/chevron-icon_3.entry.js +1 -1
- package/dist/esm/chevron-icon_3.entry.js.map +1 -1
- package/dist/esm/globe-icon.nylas-date-component.nylas-time-window-picker.entry.js.map +1 -1
- package/dist/esm/globe-icon_3.entry.js +1 -1
- package/dist/esm/globe-icon_3.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +1 -1
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-component.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card_11.entry.js +1 -1
- package/dist/esm/nylas-booked-event-card_11.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/radio-button-group.entry.js +1 -1
- package/dist/esm/radio-button-group.entry.js.map +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/textarea-component.entry.js.map +1 -1
- package/dist/esm/{version-BxqBxG4o.js → version-BI4Pj5VG.js} +3 -3
- package/dist/esm/{version-BxqBxG4o.js.map → version-BI4Pj5VG.js.map} +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/chevron-icon.search-icon.select-dropdown.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/globe-icon.nylas-date-component.nylas-time-window-picker.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/input-component.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-428a7363.entry.js → p-1c6af810.entry.js} +2 -2
- package/dist/nylas-web-elements/p-23df6f78.entry.js +8 -0
- package/dist/nylas-web-elements/p-23df6f78.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-34c4bf5b.entry.js +2 -0
- package/dist/nylas-web-elements/{p-2bff143d.entry.js.map → p-34c4bf5b.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-70614faf.entry.js → p-4dc6d0dc.entry.js} +2 -2
- package/dist/nylas-web-elements/p-52a66db6.entry.js +2 -0
- package/dist/nylas-web-elements/{p-1ba901b1.entry.js.map → p-52a66db6.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-5b01e519.entry.js +2 -0
- package/dist/nylas-web-elements/p-5b01e519.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-2d23ef5e.entry.js → p-81580cc0.entry.js} +2 -2
- package/dist/nylas-web-elements/p-9a5b1cfb.entry.js +2 -0
- package/dist/nylas-web-elements/{p-ab80b127.entry.js.map → p-9a5b1cfb.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-9c264d62.entry.js +2 -0
- package/dist/nylas-web-elements/{p-7655eeb0.entry.js.map → p-9c264d62.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-BxqBxG4o.js → p-BI4Pj5VG.js} +2 -2
- package/dist/nylas-web-elements/{p-BxqBxG4o.js.map → p-BI4Pj5VG.js.map} +1 -1
- package/dist/nylas-web-elements/p-b0306d35.entry.js +2 -0
- package/dist/nylas-web-elements/{p-70762abf.entry.js.map → p-b0306d35.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-9c78baa7.entry.js → p-b2c497eb.entry.js} +2 -2
- package/dist/nylas-web-elements/p-b2c497eb.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-c91eb1ba.entry.js +2 -0
- package/dist/nylas-web-elements/{p-e042747e.entry.js.map → p-c91eb1ba.entry.js.map} +1 -1
- package/dist/nylas-web-elements/radio-button-group.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/textarea-component.entry.esm.js.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-Dd9ZfJbD.js.map +0 -1
- package/dist/nylas-web-elements/p-1ba901b1.entry.js +0 -2
- package/dist/nylas-web-elements/p-2bff143d.entry.js +0 -2
- package/dist/nylas-web-elements/p-70762abf.entry.js +0 -2
- package/dist/nylas-web-elements/p-7655eeb0.entry.js +0 -2
- package/dist/nylas-web-elements/p-88112606.entry.js +0 -8
- package/dist/nylas-web-elements/p-88112606.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-9c78baa7.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-ab80b127.entry.js +0 -2
- package/dist/nylas-web-elements/p-e042747e.entry.js +0 -2
- package/dist/nylas-web-elements/p-e82826b8.entry.js +0 -2
- package/dist/nylas-web-elements/p-e82826b8.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-428a7363.entry.js.map → p-1c6af810.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-70614faf.entry.js.map → p-4dc6d0dc.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2d23ef5e.entry.js.map → p-81580cc0.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEditorTabs$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEditorTabs$1, d as defineCustomElement$1 } from './p-CwBmT52e.js';
|
|
2
2
|
|
|
3
3
|
const NylasEditorTabs = NylasEditorTabs$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventCalendar$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventCalendar$1, d as defineCustomElement$1 } from './p-whoa2mmo.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventCalendar = NylasEventCalendar$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventCapacity$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventCapacity$1, d as defineCustomElement$1 } from './p-Ey-jPikW.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventCapacity = NylasEventCapacity$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventDescription$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventDescription$1, d as defineCustomElement$1 } from './p-BJ6nYqW1.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventDescription = NylasEventDescription$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventDuration$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventDuration$1, d as defineCustomElement$1 } from './p-DNm8Z4AY.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventDuration = NylasEventDuration$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventLocation$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventLocation$1, d as defineCustomElement$1 } from './p-MMkYQKuh.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventLocation = NylasEventLocation$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventTimeslot$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventTimeslot$1, d as defineCustomElement$1 } from './p-CHQ9sLls.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventTimeslot = NylasEventTimeslot$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasEventTitle$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasEventTitle$1, d as defineCustomElement$1 } from './p-BJHGQK2p.js';
|
|
2
2
|
|
|
3
3
|
const NylasEventTitle = NylasEventTitle$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasFeedbackForm$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasFeedbackForm$1, d as defineCustomElement$1 } from './p-DAr02cfd.js';
|
|
2
2
|
|
|
3
3
|
const NylasFeedbackForm = NylasFeedbackForm$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasLimitFutureBookings$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasLimitFutureBookings$1, d as defineCustomElement$1 } from './p-keUQQIah.js';
|
|
2
2
|
|
|
3
3
|
const NylasLimitFutureBookings = NylasLimitFutureBookings$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasListConfigurations$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasListConfigurations$1, d as defineCustomElement$1 } from './p-B4C1SvsK.js';
|
|
2
2
|
|
|
3
3
|
const NylasListConfigurations = NylasListConfigurations$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasLocaleSwitch$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasLocaleSwitch$1, d as defineCustomElement$1 } from './p-9PlaXlCB.js';
|
|
2
2
|
|
|
3
3
|
const NylasLocaleSwitch = NylasLocaleSwitch$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasMinBookingNotice$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasMinBookingNotice$1, d as defineCustomElement$1 } from './p-DMltEU-a.js';
|
|
2
2
|
|
|
3
3
|
const NylasMinBookingNotice = NylasMinBookingNotice$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasMinCancellationNotice$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasMinCancellationNotice$1, d as defineCustomElement$1 } from './p-BjynTcY9.js';
|
|
2
2
|
|
|
3
3
|
const NylasMinCancellationNotice = NylasMinCancellationNotice$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasNotetakerConfig$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasNotetakerConfig$1, d as defineCustomElement$1 } from './p-Ci9dxGLY.js';
|
|
2
2
|
|
|
3
3
|
const NylasNotetakerConfig = NylasNotetakerConfig$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasPageStyling$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasPageStyling$1, d as defineCustomElement$1 } from './p-BZ_muELE.js';
|
|
2
2
|
|
|
3
3
|
const NylasPageStyling = NylasPageStyling$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasParticipantBookingCalendars$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasParticipantBookingCalendars$1, d as defineCustomElement$1 } from './p-BsMclINV.js';
|
|
2
2
|
|
|
3
3
|
const NylasParticipantBookingCalendars = NylasParticipantBookingCalendars$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasParticipantsCustomAvailability$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasParticipantsCustomAvailability$1, d as defineCustomElement$1 } from './p-CVnhRnUq.js';
|
|
2
2
|
|
|
3
3
|
const NylasParticipantsCustomAvailability = NylasParticipantsCustomAvailability$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasReminderEmails$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasReminderEmails$1, d as defineCustomElement$1 } from './p-FrLX9pVa.js';
|
|
2
2
|
|
|
3
3
|
const NylasReminderEmails = NylasReminderEmails$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasReminderTime$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasReminderTime$1, d as defineCustomElement$1 } from './p-CIm8sd7h.js';
|
|
2
2
|
|
|
3
3
|
const NylasReminderTime = NylasReminderTime$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -5,7 +5,7 @@ import { j as dayjs, u as utc, w as timezone, a as debug, d as dataResponse, L a
|
|
|
5
5
|
import { o as o$1 } from './p-C1VNIgoH.js';
|
|
6
6
|
import { c as createStore } from './p-DVWbg8if.js';
|
|
7
7
|
import { C as CONFIGURATION_EVENT_TYPE, L as LANGUAGE_CODE, c as LANGUAGE_MAP } from './p-DUCeQ1R4.js';
|
|
8
|
-
import { v as version } from './p-
|
|
8
|
+
import { v as version } from './p-D30KE7uE.js';
|
|
9
9
|
import { d as defineCustomElement$1A } from './p-Ha2t2y12.js';
|
|
10
10
|
import { d as defineCustomElement$1z } from './p-Dvm3cFRX.js';
|
|
11
11
|
import { d as defineCustomElement$1y } from './p-CSGxrebs.js';
|
|
@@ -13,8 +13,8 @@ import { d as defineCustomElement$1x } from './p-3TuqcJ7a.js';
|
|
|
13
13
|
import { d as defineCustomElement$1w } from './p-BW5AWWWU.js';
|
|
14
14
|
import { d as defineCustomElement$1v } from './p-CRjHH_OM.js';
|
|
15
15
|
import { d as defineCustomElement$1u } from './p-B8zO9u9G.js';
|
|
16
|
-
import { d as defineCustomElement$1t } from './p-
|
|
17
|
-
import { d as defineCustomElement$1s } from './p-
|
|
16
|
+
import { d as defineCustomElement$1t } from './p-B4WU6Ddk.js';
|
|
17
|
+
import { d as defineCustomElement$1s } from './p-DVTv2Hp1.js';
|
|
18
18
|
import { d as defineCustomElement$1r } from './p-dlRUGWVl.js';
|
|
19
19
|
import { d as defineCustomElement$1q } from './p-BaI67hQ_.js';
|
|
20
20
|
import { d as defineCustomElement$1p } from './p-BQqYYMC9.js';
|
|
@@ -32,73 +32,73 @@ import { d as defineCustomElement$1e } from './p-C-FqPkG1.js';
|
|
|
32
32
|
import { d as defineCustomElement$1d } from './p-B35dXoaU.js';
|
|
33
33
|
import { d as defineCustomElement$1c } from './p-sbWcoagv.js';
|
|
34
34
|
import { d as defineCustomElement$1b } from './p-DAvS1ihh.js';
|
|
35
|
-
import { d as defineCustomElement$1a } from './p-
|
|
36
|
-
import { d as defineCustomElement$19 } from './p-
|
|
35
|
+
import { d as defineCustomElement$1a } from './p-Dary9zXr.js';
|
|
36
|
+
import { d as defineCustomElement$19 } from './p-UahFYa1w.js';
|
|
37
37
|
import { d as defineCustomElement$18 } from './p-Dng-gcge.js';
|
|
38
|
-
import { d as defineCustomElement$17 } from './p-
|
|
38
|
+
import { d as defineCustomElement$17 } from './p-C4s3qYGu.js';
|
|
39
39
|
import { d as defineCustomElement$16 } from './p-hYRQCAHR.js';
|
|
40
40
|
import { d as defineCustomElement$15 } from './p-C7vQiSqU.js';
|
|
41
41
|
import { d as defineCustomElement$14 } from './p-D0Ur_s8w.js';
|
|
42
42
|
import { d as defineCustomElement$13 } from './p-WCXOX3Ou.js';
|
|
43
43
|
import { d as defineCustomElement$12 } from './p-BA0crRT4.js';
|
|
44
44
|
import { d as defineCustomElement$11 } from './p-D5z467yH.js';
|
|
45
|
-
import { d as defineCustomElement$10 } from './p-
|
|
46
|
-
import { d as defineCustomElement$$ } from './p-
|
|
47
|
-
import { d as defineCustomElement$_ } from './p-
|
|
48
|
-
import { d as defineCustomElement$Z } from './p-
|
|
49
|
-
import { d as defineCustomElement$Y } from './p-
|
|
50
|
-
import { d as defineCustomElement$X } from './p-
|
|
51
|
-
import { d as defineCustomElement$W } from './p-
|
|
45
|
+
import { d as defineCustomElement$10 } from './p-B-xvNL5X.js';
|
|
46
|
+
import { d as defineCustomElement$$ } from './p-CZllU8ii.js';
|
|
47
|
+
import { d as defineCustomElement$_ } from './p-QKc1T_NS.js';
|
|
48
|
+
import { d as defineCustomElement$Z } from './p-BCNq-vH8.js';
|
|
49
|
+
import { d as defineCustomElement$Y } from './p-pLqfEMSB.js';
|
|
50
|
+
import { d as defineCustomElement$X } from './p-BdQ9iWW4.js';
|
|
51
|
+
import { d as defineCustomElement$W } from './p-DgfDGATC.js';
|
|
52
52
|
import { d as defineCustomElement$V } from './p-CPFYp0Ii.js';
|
|
53
53
|
import { d as defineCustomElement$U } from './p-BrVgWFgn.js';
|
|
54
|
-
import { d as defineCustomElement$T } from './p-
|
|
54
|
+
import { d as defineCustomElement$T } from './p-BvCTseDu.js';
|
|
55
55
|
import { d as defineCustomElement$S } from './p-C2CgHoR-.js';
|
|
56
56
|
import { d as defineCustomElement$R } from './p-1wZj-JiY.js';
|
|
57
|
-
import { d as defineCustomElement$Q } from './p-
|
|
58
|
-
import { d as defineCustomElement$P } from './p-
|
|
59
|
-
import { d as defineCustomElement$O } from './p-
|
|
60
|
-
import { d as defineCustomElement$N } from './p-
|
|
61
|
-
import { d as defineCustomElement$M } from './p-
|
|
62
|
-
import { d as defineCustomElement$L } from './p-
|
|
63
|
-
import { d as defineCustomElement$K } from './p-
|
|
64
|
-
import { d as defineCustomElement$J } from './p-
|
|
65
|
-
import { d as defineCustomElement$I } from './p-
|
|
66
|
-
import { d as defineCustomElement$H } from './p-
|
|
57
|
+
import { d as defineCustomElement$Q } from './p-BdQA_uHk.js';
|
|
58
|
+
import { d as defineCustomElement$P } from './p-DWCPI1lK.js';
|
|
59
|
+
import { d as defineCustomElement$O } from './p-BWgGjFXi.js';
|
|
60
|
+
import { d as defineCustomElement$N } from './p-CEvUNENN.js';
|
|
61
|
+
import { d as defineCustomElement$M } from './p-CwBmT52e.js';
|
|
62
|
+
import { d as defineCustomElement$L } from './p-BH0odz_K.js';
|
|
63
|
+
import { d as defineCustomElement$K } from './p-whoa2mmo.js';
|
|
64
|
+
import { d as defineCustomElement$J } from './p-Ey-jPikW.js';
|
|
65
|
+
import { d as defineCustomElement$I } from './p-BJ6nYqW1.js';
|
|
66
|
+
import { d as defineCustomElement$H } from './p-DNm8Z4AY.js';
|
|
67
67
|
import { d as defineCustomElement$G } from './p-B_TCNkzt.js';
|
|
68
68
|
import { d as defineCustomElement$F } from './p-iVv0YwFU.js';
|
|
69
|
-
import { d as defineCustomElement$E } from './p-
|
|
70
|
-
import { d as defineCustomElement$D } from './p-
|
|
71
|
-
import { d as defineCustomElement$C } from './p-
|
|
72
|
-
import { d as defineCustomElement$B } from './p-
|
|
69
|
+
import { d as defineCustomElement$E } from './p-MMkYQKuh.js';
|
|
70
|
+
import { d as defineCustomElement$D } from './p-CHQ9sLls.js';
|
|
71
|
+
import { d as defineCustomElement$C } from './p-BJHGQK2p.js';
|
|
72
|
+
import { d as defineCustomElement$B } from './p-DAr02cfd.js';
|
|
73
73
|
import { d as defineCustomElement$A } from './p-BfRJThsI.js';
|
|
74
|
-
import { d as defineCustomElement$z } from './p-
|
|
75
|
-
import { d as defineCustomElement$y } from './p-
|
|
76
|
-
import { d as defineCustomElement$x } from './p-
|
|
77
|
-
import { d as defineCustomElement$w } from './p-
|
|
78
|
-
import { d as defineCustomElement$v } from './p-
|
|
74
|
+
import { d as defineCustomElement$z } from './p-keUQQIah.js';
|
|
75
|
+
import { d as defineCustomElement$y } from './p-B4C1SvsK.js';
|
|
76
|
+
import { d as defineCustomElement$x } from './p-DMltEU-a.js';
|
|
77
|
+
import { d as defineCustomElement$w } from './p-BjynTcY9.js';
|
|
78
|
+
import { d as defineCustomElement$v } from './p-Ci9dxGLY.js';
|
|
79
79
|
import { d as defineCustomElement$u } from './p-Dp-1pj3M.js';
|
|
80
80
|
import { d as defineCustomElement$t } from './p-ByIizSye.js';
|
|
81
|
-
import { d as defineCustomElement$s } from './p-
|
|
82
|
-
import { d as defineCustomElement$r } from './p-
|
|
83
|
-
import { d as defineCustomElement$q } from './p-
|
|
84
|
-
import { d as defineCustomElement$p } from './p-
|
|
85
|
-
import { d as defineCustomElement$o } from './p-
|
|
86
|
-
import { d as defineCustomElement$n } from './p-
|
|
87
|
-
import { d as defineCustomElement$m } from './p-
|
|
81
|
+
import { d as defineCustomElement$s } from './p-BeGM4wbq.js';
|
|
82
|
+
import { d as defineCustomElement$r } from './p-BZ_muELE.js';
|
|
83
|
+
import { d as defineCustomElement$q } from './p-BsMclINV.js';
|
|
84
|
+
import { d as defineCustomElement$p } from './p-CVnhRnUq.js';
|
|
85
|
+
import { d as defineCustomElement$o } from './p-FrLX9pVa.js';
|
|
86
|
+
import { d as defineCustomElement$n } from './p-CIm8sd7h.js';
|
|
87
|
+
import { d as defineCustomElement$m } from './p-D13lTN27.js';
|
|
88
88
|
import { d as defineCustomElement$l } from './p-BNyGVOZv.js';
|
|
89
|
-
import { d as defineCustomElement$k } from './p-
|
|
89
|
+
import { d as defineCustomElement$k } from './p-BGel3qwa.js';
|
|
90
90
|
import { d as defineCustomElement$j } from './p-CiXlFUAF.js';
|
|
91
|
-
import { d as defineCustomElement$i } from './p-
|
|
91
|
+
import { d as defineCustomElement$i } from './p-pRwtuoW0.js';
|
|
92
92
|
import { d as defineCustomElement$h } from './p-B-gCWV_D.js';
|
|
93
93
|
import { d as defineCustomElement$g } from './p-S5MMQ3kK.js';
|
|
94
94
|
import { d as defineCustomElement$f } from './p-RvuIq5wt.js';
|
|
95
95
|
import { d as defineCustomElement$e } from './p-D07tmsA6.js';
|
|
96
96
|
import { d as defineCustomElement$d } from './p-CC5LBxvb.js';
|
|
97
|
-
import { d as defineCustomElement$c } from './p-
|
|
97
|
+
import { d as defineCustomElement$c } from './p-DTF0fIhr.js';
|
|
98
98
|
import { d as defineCustomElement$b } from './p-BGfs-kGd.js';
|
|
99
|
-
import { d as defineCustomElement$a } from './p-
|
|
100
|
-
import { d as defineCustomElement$9 } from './p-
|
|
101
|
-
import { d as defineCustomElement$8 } from './p-
|
|
99
|
+
import { d as defineCustomElement$a } from './p-idvnK5Rl.js';
|
|
100
|
+
import { d as defineCustomElement$9 } from './p-B_ZbZ5lK.js';
|
|
101
|
+
import { d as defineCustomElement$8 } from './p-FFI2InLT.js';
|
|
102
102
|
import { d as defineCustomElement$7 } from './p--JWPNuJw.js';
|
|
103
103
|
import { d as defineCustomElement$6 } from './p-Hj9jbKPX.js';
|
|
104
104
|
import { d as defineCustomElement$5 } from './p-BO38LdDr.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasSchedulingMethod$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasSchedulingMethod$1, d as defineCustomElement$1 } from './p-D13lTN27.js';
|
|
2
2
|
|
|
3
3
|
const NylasSchedulingMethod = NylasSchedulingMethod$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -2,7 +2,7 @@ import { h, F as Fragment, p as proxyCustomElement, H, e as createEvent, i as Ho
|
|
|
2
2
|
import { N as NylasBaseProvider } from './p-D9Cqd6li.js';
|
|
3
3
|
import { b as instance, x as addDaysToCurrentDate, a as debug, P as compactStringToUUIDs, n as capitalizeFirstLetter } from './p-dEI4mtiM.js';
|
|
4
4
|
import { E as ErrorCategory, u } from './p-C1VNIgoH.js';
|
|
5
|
-
import { v as version, i as isInitialized, a as init, f as feedbackSyncIntegration, c as captureMessage, b as captureFeedback } from './p-
|
|
5
|
+
import { v as version, i as isInitialized, a as init, f as feedbackSyncIntegration, c as captureMessage, b as captureFeedback } from './p-D30KE7uE.js';
|
|
6
6
|
import { c as createStore } from './p-DVWbg8if.js';
|
|
7
7
|
import { L as LANGUAGE_CODE, c as LANGUAGE_MAP } from './p-DUCeQ1R4.js';
|
|
8
8
|
import { d as defineCustomElement$D } from './p-Ha2t2y12.js';
|
|
@@ -10,7 +10,7 @@ import { d as defineCustomElement$C } from './p-Dvm3cFRX.js';
|
|
|
10
10
|
import { d as defineCustomElement$B } from './p-BB2JXH5u.js';
|
|
11
11
|
import { d as defineCustomElement$A } from './p-CZF2moAV.js';
|
|
12
12
|
import { d as defineCustomElement$z } from './p-BW5AWWWU.js';
|
|
13
|
-
import { d as defineCustomElement$y } from './p-
|
|
13
|
+
import { d as defineCustomElement$y } from './p-B4WU6Ddk.js';
|
|
14
14
|
import { d as defineCustomElement$x } from './p-D_1SiUrv.js';
|
|
15
15
|
import { d as defineCustomElement$w } from './p-BaI67hQ_.js';
|
|
16
16
|
import { d as defineCustomElement$v } from './p-BQqYYMC9.js';
|
|
@@ -18,28 +18,28 @@ import { d as defineCustomElement$u } from './p-DHEweiQ6.js';
|
|
|
18
18
|
import { d as defineCustomElement$t } from './p-DcgnP4PE.js';
|
|
19
19
|
import { d as defineCustomElement$s } from './p-C-FqPkG1.js';
|
|
20
20
|
import { d as defineCustomElement$r } from './p-DAvS1ihh.js';
|
|
21
|
-
import { d as defineCustomElement$q } from './p-
|
|
21
|
+
import { d as defineCustomElement$q } from './p-UahFYa1w.js';
|
|
22
22
|
import { d as defineCustomElement$p } from './p-hYRQCAHR.js';
|
|
23
23
|
import { d as defineCustomElement$o } from './p-D5z467yH.js';
|
|
24
24
|
import { d as defineCustomElement$n } from './p-BdYuQImC.js';
|
|
25
|
-
import { d as defineCustomElement$m } from './p-
|
|
26
|
-
import { d as defineCustomElement$l } from './p-
|
|
25
|
+
import { d as defineCustomElement$m } from './p-Gyins0o7.js';
|
|
26
|
+
import { d as defineCustomElement$l } from './p-DDceIF1-.js';
|
|
27
27
|
import { d as defineCustomElement$k } from './p-Jb5C0Wcj.js';
|
|
28
28
|
import { d as defineCustomElement$j } from './p-DOG2VNj_.js';
|
|
29
|
-
import { d as defineCustomElement$i } from './p-
|
|
29
|
+
import { d as defineCustomElement$i } from './p-BWgGjFXi.js';
|
|
30
30
|
import { d as defineCustomElement$h } from './p-D9LfvAE5.js';
|
|
31
|
-
import { d as defineCustomElement$g } from './p-
|
|
32
|
-
import { d as defineCustomElement$f } from './p-
|
|
31
|
+
import { d as defineCustomElement$g } from './p-DAr02cfd.js';
|
|
32
|
+
import { d as defineCustomElement$f } from './p-9PlaXlCB.js';
|
|
33
33
|
import { d as defineCustomElement$e } from './p-2_78I5nY.js';
|
|
34
34
|
import { d as defineCustomElement$d } from './p-Dp-1pj3M.js';
|
|
35
35
|
import { d as defineCustomElement$c } from './p-DZVRAKn5.js';
|
|
36
36
|
import { d as defineCustomElement$b } from './p-BeZUokfA.js';
|
|
37
37
|
import { d as defineCustomElement$a } from './p-D_fU0kvl.js';
|
|
38
38
|
import { d as defineCustomElement$9 } from './p-BPmIPX7g.js';
|
|
39
|
-
import { d as defineCustomElement$8 } from './p-
|
|
39
|
+
import { d as defineCustomElement$8 } from './p-DTF0fIhr.js';
|
|
40
40
|
import { d as defineCustomElement$7 } from './p-BGfs-kGd.js';
|
|
41
|
-
import { d as defineCustomElement$6 } from './p-
|
|
42
|
-
import { d as defineCustomElement$5 } from './p-
|
|
41
|
+
import { d as defineCustomElement$6 } from './p-idvnK5Rl.js';
|
|
42
|
+
import { d as defineCustomElement$5 } from './p-B_ZbZ5lK.js';
|
|
43
43
|
import { d as defineCustomElement$4 } from './p-Hj9jbKPX.js';
|
|
44
44
|
import { d as defineCustomElement$3 } from './p-BO38LdDr.js';
|
|
45
45
|
import { d as defineCustomElement$2 } from './p-BVrJG89A.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasSpecificTimeAvailabilityPicker$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasSpecificTimeAvailabilityPicker$1, d as defineCustomElement$1 } from './p-BGel3qwa.js';
|
|
2
2
|
|
|
3
3
|
const NylasSpecificTimeAvailabilityPicker = NylasSpecificTimeAvailabilityPicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NylasTimeslotInterval$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { N as NylasTimeslotInterval$1, d as defineCustomElement$1 } from './p-pRwtuoW0.js';
|
|
2
2
|
|
|
3
3
|
const NylasTimeslotInterval = NylasTimeslotInterval$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -5,7 +5,7 @@ import { b as instance, a as debug, K as getTimezoneOffset } from './p-dEI4mtiM.
|
|
|
5
5
|
import { d as defineCustomElement$5 } from './p-BaI67hQ_.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './p-C-FqPkG1.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './p-BGfs-kGd.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-idvnK5Rl.js';
|
|
9
9
|
import { d as defineCustomElement$1 } from './p-BO38LdDr.js';
|
|
10
10
|
|
|
11
11
|
const nylasLocaleSwitchCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-locale-switch{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-left:none;border-right:none;color:var(--nylas-base-50);font-size:14px;font-weight:600;cursor:pointer;transition:all 0.2s ease-in-out;font-family:inherit}@media screen and (max-width: 768px){.nylas-locale-switch{font-size:16px}}.select-wrapper{display:flex;align-items:center;gap:0.5rem}select{border:none;background:transparent;cursor:pointer;outline:none;background-color:transparent;margin:0 0 1px;padding:4px;vertical-align:middle}select#timezone{width:140px}select#language{width:80px}span.timezone-label{display:flex;width:-webkit-fill-available;justify-content:space-between}select-dropdown{width:auto}select-dropdown::part(sd_dropdown-button){border:none;padding:10px}select-dropdown::part(sd_dropdown-content){max-width:306px}@media screen and (max-width: 768px){select-dropdown::part(sd_dropdown-button-selected-label){max-width:80px}select-dropdown::part(sd_dropdown-content){width:100%;max-width:none}}";
|
|
@@ -205,6 +205,6 @@ function defineCustomElement() {
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
export { NylasLocaleSwitch as N, defineCustomElement as d };
|
|
208
|
-
//# sourceMappingURL=p-
|
|
208
|
+
//# sourceMappingURL=p-9PlaXlCB.js.map
|
|
209
209
|
|
|
210
|
-
//# sourceMappingURL=p-
|
|
210
|
+
//# sourceMappingURL=p-9PlaXlCB.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-C1X9fzID.js","mappings":";;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,grGAAgrG;;;;;;;;;;;;;;;;MC8BhsG,iBAAiB,GAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;;AA2B2B,QAAA,IAAA,CAAA,gBAAgB,GAAW,IAAI,CAAC,WAAW,EAAE,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC,eAAe,EAAE,CAAC,QAAQ;AAKzG,QAAA,IAAgB,CAAA,gBAAA,GAAW,IAAI,CAAC,WAAW,EAAE,QAAQ,IAAI,SAAS,CAAC,QAAQ;QAE3F,IAAA,CAAA,iBAAiB,GAAWC,QAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;AA0MzD;AA7LC,IAAA,kBAAkB,CAAC,cAA2B,EAAA;AAC5C,QAAA,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC;;AAIvC,IAAA,yBAAyB,CAAC,QAA+C,E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,EAAE,IAAI,GAAG,CAAC;YACpB,CAAC,4BAA4B,EAAE,kBAAkB,CAAC;YAClD,CAAC,4BAA4B,EAAE,kBAAkB,CAAC;YAClD,CAAC,uBAAuB,EAAE,aAAa,CAAC;YACxC,CAAC,uBAAuB,EAAE,aAAa,CAAC;SACzC,CAAC;AACF,QAAA,YAAY,EAAE;AACZ,YAAA,eAAe,EAAE,OAAO,KAA0B,EAAE,uBAAgD,KAAI;gBACtG,KAAK,CAAC,qBAAqB,EAAE,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7D,uBAAuB,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC;aAC/D;AACD,YAAA,eAAe,EAAE,OAAO,KAA0B,EAAE,uBAAgD,KAAI;gBACtG,KAAK,CAAC,qBAAqB,EAAE,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7D,uBAAuB,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC;aAC/D;AACF,SAAA;AACD,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CA0DD,EAAA,iBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler/nylas-locale-switch/nylas-locale-switch.scss?tag=nylas-locale-switch&encapsulation=shadow","src/components/scheduler/nylas-locale-switch/nylas-locale-switch.tsx"],"sourcesContent":["@use '../../../common/styles/variables' as *;\n\n:host {\n display: block;\n @include default-css-variables;\n}\n\n.nylas-locale-switch {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n border-left: none;\n border-right: none;\n color: var(--nylas-base-50);\n font-size: 14px;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n font-family: inherit;\n\n @media #{$mobile} {\n font-size: 16px;\n }\n}\n\n.select-wrapper {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\nselect {\n border: none;\n background: transparent;\n cursor: pointer;\n outline: none;\n background-color: transparent;\n margin: 0 0 1px;\n padding: 4px;\n vertical-align: middle;\n\n &#timezone {\n width: 140px;\n }\n\n &#language {\n width: 80px;\n }\n}\n\nspan.timezone-label {\n display: flex;\n width: -webkit-fill-available;\n justify-content: space-between;\n}\n\nselect-dropdown {\n width: auto;\n}\n\nselect-dropdown::part(sd_dropdown-button) {\n border: none;\n padding: 10px;\n}\n\nselect-dropdown::part(sd_dropdown-content) {\n max-width: 306px;\n}\n\n@media #{$mobile} {\n select-dropdown::part(sd_dropdown-button-selected-label) {\n max-width: 80px; // To make sure the selected label doesn't overflow on mobile\n }\n\n select-dropdown::part(sd_dropdown-content) {\n width: 100%;\n max-width: none;\n }\n}","import { Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { LANGUAGE_MAP, TIMEZONE_MAP } from '@/common/constants';\nimport { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConnector } from '../../../components';\nimport type { NylasSchedulerBookingData } from '@/common/types';\nimport { NylasScheduling } from '../nylas-scheduling/nylas-scheduling';\nimport { debug, getTimezoneOffset } from '@/utils/utils';\nimport { ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\n/**\n * The `nylas-locale-switch` component is a UI component that allows users to select a timezone and language.\n * @part nls - The locale switch container\n * @part nls__timezone - The timezone select container\n * @part nls__timezone-dropdown - The timezone dropdown\n * @part nls__timezone-drop-button - The timezone dropdown button\n * @part nls__timezone-drop-button-selected-label - The timezone dropdown button selected label\n * @part nls__timezone-drop-content - The timezone dropdown content\n * @part nls__timezone-drop-label - The timezone dropdown label\n * @part nls__language - The language select container\n * @part nls__language-dropdown - The language dropdown\n * @part nls__language-drop-button - The language dropdown button\n * @part nls__language-drop-content - The language dropdown content\n * @part nls__language-drop-label - The language dropdown label\n *\n */\n@Component({\n tag: 'nylas-locale-switch',\n styleUrl: 'nylas-locale-switch.scss',\n shadow: true,\n})\nexport class NylasLocaleSwitch {\n private timezoneRef?: HTMLSelectDropdownElement;\n private languageRef?: HTMLSelectDropdownElement;\n /**\n * The host element.\n * Used to manage the host element of the provider.\n */\n @Element() private host!: HTMLNylasLocaleSwitchElement;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: any;\n /**\n * @standalone\n * The booking info.\n */\n @Prop() readonly bookingInfo?: NylasSchedulerBookingData;\n\n /**\n * The selected timezone.\n */\n @Prop({ mutable: true }) selectedTimezone: string = this.bookingInfo?.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone;\n\n /**\n * The selected language.\n */\n @Prop({ mutable: true }) selectedLanguage: string = this.bookingInfo?.language || navigator.language;\n\n @State() searchPlaceholder: string = i18next.t('search');\n\n /**\n * This event is fired when the timezone is changed.\n */\n @Event() timezoneChanged!: EventEmitter<string>;\n\n /**\n * This event is fired when the language is changed.\n */\n @Event() languageChanged!: EventEmitter<string>;\n\n @Watch('themeConfig')\n themeConfigChanged(newThemeConfig: ThemeConfig) {\n this.applyThemeConfig(newThemeConfig);\n }\n\n @Watch('bookingInfo')\n bookingInfoChangedHandler(newValue: NylasSchedulerBookingData | undefined) {\n if (newValue && newValue?.timezone) {\n this.changeTimezone(newValue.timezone);\n }\n if (newValue && newValue?.language) {\n this.changeLanguage(newValue.language);\n }\n }\n\n connectedCallback() {\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {}\n\n componentWillLoad() {}\n\n componentDidLoad() {\n debug(`[nylas-locale-switch] Component did load`);\n if (this.bookingInfo && this.bookingInfo?.timezone) {\n this.changeTimezone(this.bookingInfo.timezone);\n }\n if (this.bookingInfo && this.bookingInfo?.language) {\n this.changeLanguage(this.bookingInfo.language);\n }\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n this.timezoneRef?.style.setProperty(`${key}`, value);\n this.languageRef?.style.setProperty(`${key}`, value);\n }\n }\n }\n\n /**\n * Change the timezone.\n * @param timezone The timezone to select.\n */\n private changeTimezone(timezone: string) {\n this.selectedTimezone = timezone;\n this.timezoneChanged.emit(timezone);\n }\n\n /**\n * Change the language.\n * @param language The language to select.\n */\n private changeLanguage(language: string) {\n this.selectedLanguage = language;\n i18next.changeLanguage(language);\n this.searchPlaceholder = i18next.t('search');\n this.languageChanged.emit(language);\n }\n\n @Listen('nylasFormDropdownChanged')\n nylasFormDropdownChangedHandler(\n event: CustomEvent<{\n value: string;\n name: string;\n }>,\n ) {\n const { name, value } = event.detail;\n if (name === 'timezone') {\n this.changeTimezone(value);\n } else if (name === 'language') {\n this.changeLanguage(value);\n }\n }\n\n getTimezoneLabelHTML(timezone: string) {\n const offset = getTimezoneOffset(timezone);\n return (\n <span\n class=\"timezone-label\"\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '-webkit-fill-available',\n }}\n >\n {TIMEZONE_MAP[timezone]}{' '}\n <span\n class=\"timezone-offset\"\n style={{\n fontSize: '14px',\n fontWeight: '400',\n color: 'var(--nylas-base-500)',\n }}\n >\n {offset}\n </span>\n </span>\n );\n }\n\n @RegisterComponent<NylasLocaleSwitch, NylasSchedulerConnector, Exclude<NylasScheduling['stores'], undefined>>({\n name: 'nylas-locale-switch',\n stateToProps: new Map([\n ['scheduler.selectedLanguage', 'selectedLanguage'],\n ['scheduler.selectedTimezone', 'selectedTimezone'],\n ['scheduler.bookingInfo', 'bookingInfo'],\n ['scheduler.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {\n timezoneChanged: async (event: CustomEvent<string>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-locale-switch', 'timezoneChanged', event.detail);\n nylasSchedulerConnector.scheduler.selectTimezone(event.detail);\n },\n languageChanged: async (event: CustomEvent<string>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-locale-switch', 'languageChanged', event.detail);\n nylasSchedulerConnector.scheduler.selectLanguage(event.detail);\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const timezoneOptions = Object.keys(TIMEZONE_MAP).map(key => ({\n labelHTML: this.getTimezoneLabelHTML(key),\n label: TIMEZONE_MAP[key],\n value: key,\n }));\n const languageOptions = Object.keys(LANGUAGE_MAP).map(key => ({\n label: LANGUAGE_MAP[key],\n value: key,\n }));\n\n return (\n <Host>\n <div class=\"nylas-locale-switch\" part=\"nls\">\n <div\n class={{\n 'select-wrapper': true,\n 'timezone': true,\n }}\n part=\"nls__timezone\"\n >\n <select-dropdown\n name=\"timezone\"\n searchPlaceholder={this.searchPlaceholder}\n options={timezoneOptions}\n ref={el => (this.timezoneRef = el)}\n defaultSelectedOption={timezoneOptions.find(op => op.value == this.selectedTimezone)}\n exportparts=\"sd_dropdown: nls__timezone-dropdown, sd_dropdown-button: nls__timezone-drop-button, sd_dropdown-button-selected-label: nls__timezone-drop-button-selected-label, sd_dropdown-content: nls__timezone-drop-content, sd_dropdown_label: nls__timezone-drop-label\"\n >\n <span slot=\"select-icon\">\n <globe-icon width=\"20\" height=\"20\" />\n </span>\n </select-dropdown>\n </div>\n <div\n class={{\n 'select-wrapper': true,\n 'language': true,\n }}\n part=\"nls__language\"\n >\n <select-dropdown\n name=\"language\"\n searchPlaceholder={this.searchPlaceholder}\n options={languageOptions}\n ref={el => (this.languageRef = el)}\n defaultSelectedOption={languageOptions.find(lang => lang.value == this.selectedLanguage)}\n exportparts=\"sd_dropdown: nls__language-dropdown, sd_dropdown-button: nls__language-drop-button, sd_dropdown-content: nls__language-drop-content, sd_dropdown_label: nls__language-drop-label\"\n >\n <span slot=\"select-icon\">\n <translate-icon width=\"20\" height=\"20\"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B,EAAE,KAAK,CAAC,MAAM,CAAC;gBAC7D,uBAAuB,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC;aAC/D;AACF,SAAA;AACD,QAAA,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;CA0DD,EAAA,iBAAA,CAAA,SAAA,EAAA,QAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","i18next"],"sources":["src/components/scheduler/nylas-locale-switch/nylas-locale-switch.scss?tag=nylas-locale-switch&encapsulation=shadow","src/components/scheduler/nylas-locale-switch/nylas-locale-switch.tsx"],"sourcesContent":["@use '../../../common/styles/variables' as *;\n\n:host {\n display: block;\n @include default-css-variables;\n}\n\n.nylas-locale-switch {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n border-left: none;\n border-right: none;\n color: var(--nylas-base-50);\n font-size: 14px;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n font-family: inherit;\n\n @media #{$mobile} {\n font-size: 16px;\n }\n}\n\n.select-wrapper {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\nselect {\n border: none;\n background: transparent;\n cursor: pointer;\n outline: none;\n background-color: transparent;\n margin: 0 0 1px;\n padding: 4px;\n vertical-align: middle;\n\n &#timezone {\n width: 140px;\n }\n\n &#language {\n width: 80px;\n }\n}\n\nspan.timezone-label {\n display: flex;\n width: -webkit-fill-available;\n justify-content: space-between;\n}\n\nselect-dropdown {\n width: auto;\n}\n\nselect-dropdown::part(sd_dropdown-button) {\n border: none;\n padding: 10px;\n}\n\nselect-dropdown::part(sd_dropdown-content) {\n max-width: 306px;\n}\n\n@media #{$mobile} {\n select-dropdown::part(sd_dropdown-button-selected-label) {\n max-width: 80px; // To make sure the selected label doesn't overflow on mobile\n }\n\n select-dropdown::part(sd_dropdown-content) {\n width: 100%;\n max-width: none;\n }\n}","import { Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { LANGUAGE_MAP, TIMEZONE_MAP } from '@/common/constants';\nimport { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConnector } from '../../../components';\nimport type { NylasSchedulerBookingData } from '@/common/types';\nimport { NylasScheduling } from '../nylas-scheduling/nylas-scheduling';\nimport { debug, getTimezoneOffset } from '@/utils/utils';\nimport { ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\n/**\n * The `nylas-locale-switch` component is a UI component that allows users to select a timezone and language.\n * @part nls - The locale switch container\n * @part nls__timezone - The timezone select container\n * @part nls__timezone-dropdown - The timezone dropdown\n * @part nls__timezone-drop-button - The timezone dropdown button\n * @part nls__timezone-drop-button-selected-label - The timezone dropdown button selected label\n * @part nls__timezone-drop-content - The timezone dropdown content\n * @part nls__timezone-drop-label - The timezone dropdown label\n * @part nls__language - The language select container\n * @part nls__language-dropdown - The language dropdown\n * @part nls__language-drop-button - The language dropdown button\n * @part nls__language-drop-content - The language dropdown content\n * @part nls__language-drop-label - The language dropdown label\n *\n */\n@Component({\n tag: 'nylas-locale-switch',\n styleUrl: 'nylas-locale-switch.scss',\n shadow: true,\n})\nexport class NylasLocaleSwitch {\n private timezoneRef?: HTMLSelectDropdownElement;\n private languageRef?: HTMLSelectDropdownElement;\n /**\n * The host element.\n * Used to manage the host element of the provider.\n */\n @Element() private host!: HTMLNylasLocaleSwitchElement;\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: any;\n /**\n * @standalone\n * The booking info.\n */\n @Prop() readonly bookingInfo?: NylasSchedulerBookingData;\n\n /**\n * The selected timezone.\n */\n @Prop({ mutable: true }) selectedTimezone: string = this.bookingInfo?.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone;\n\n /**\n * The selected language.\n */\n @Prop({ mutable: true }) selectedLanguage: string = this.bookingInfo?.language || navigator.language;\n\n @State() searchPlaceholder: string = i18next.t('search');\n\n /**\n * This event is fired when the timezone is changed.\n */\n @Event() timezoneChanged!: EventEmitter<string>;\n\n /**\n * This event is fired when the language is changed.\n */\n @Event() languageChanged!: EventEmitter<string>;\n\n @Watch('themeConfig')\n themeConfigChanged(newThemeConfig: ThemeConfig) {\n this.applyThemeConfig(newThemeConfig);\n }\n\n @Watch('bookingInfo')\n bookingInfoChangedHandler(newValue: NylasSchedulerBookingData | undefined) {\n if (newValue && newValue?.timezone) {\n this.changeTimezone(newValue.timezone);\n }\n if (newValue && newValue?.language) {\n this.changeLanguage(newValue.language);\n }\n }\n\n connectedCallback() {\n // Use queueMicrotask to defer theme application until after React has set props.\n // This fixes the timing issue where connectedCallback fires before React sets themeConfig.\n queueMicrotask(() => {\n if (this.themeConfig) {\n this.applyThemeConfig(this.themeConfig);\n this.host.setAttribute('data-themed', '');\n }\n });\n }\n\n disconnectedCallback() {}\n\n componentWillLoad() {}\n\n componentDidLoad() {\n debug(`[nylas-locale-switch] Component did load`);\n if (this.bookingInfo && this.bookingInfo?.timezone) {\n this.changeTimezone(this.bookingInfo.timezone);\n }\n if (this.bookingInfo && this.bookingInfo?.language) {\n this.changeLanguage(this.bookingInfo.language);\n }\n }\n\n applyThemeConfig(themeConfig?: ThemeConfig) {\n if (themeConfig) {\n for (const [key, value] of Object.entries(themeConfig)) {\n this.host.style.setProperty(`${key}`, value);\n this.timezoneRef?.style.setProperty(`${key}`, value);\n this.languageRef?.style.setProperty(`${key}`, value);\n }\n }\n }\n\n /**\n * Change the timezone.\n * @param timezone The timezone to select.\n */\n private changeTimezone(timezone: string) {\n this.selectedTimezone = timezone;\n this.timezoneChanged.emit(timezone);\n }\n\n /**\n * Change the language.\n * @param language The language to select.\n */\n private changeLanguage(language: string) {\n this.selectedLanguage = language;\n i18next.changeLanguage(language);\n this.searchPlaceholder = i18next.t('search');\n this.languageChanged.emit(language);\n }\n\n @Listen('nylasFormDropdownChanged')\n nylasFormDropdownChangedHandler(\n event: CustomEvent<{\n value: string;\n name: string;\n }>,\n ) {\n const { name, value } = event.detail;\n if (name === 'timezone') {\n this.changeTimezone(value);\n } else if (name === 'language') {\n this.changeLanguage(value);\n }\n }\n\n getTimezoneLabelHTML(timezone: string) {\n const offset = getTimezoneOffset(timezone);\n return (\n <span\n class=\"timezone-label\"\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '-webkit-fill-available',\n }}\n >\n {TIMEZONE_MAP[timezone]}{' '}\n <span\n class=\"timezone-offset\"\n style={{\n fontSize: '14px',\n fontWeight: '400',\n color: 'var(--nylas-base-500)',\n }}\n >\n {offset}\n </span>\n </span>\n );\n }\n\n @RegisterComponent<NylasLocaleSwitch, NylasSchedulerConnector, Exclude<NylasScheduling['stores'], undefined>>({\n name: 'nylas-locale-switch',\n stateToProps: new Map([\n ['scheduler.selectedLanguage', 'selectedLanguage'],\n ['scheduler.selectedTimezone', 'selectedTimezone'],\n ['scheduler.bookingInfo', 'bookingInfo'],\n ['scheduler.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {\n timezoneChanged: async (event: CustomEvent<string>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-locale-switch', 'timezoneChanged', event.detail);\n nylasSchedulerConnector.scheduler.selectTimezone(event.detail);\n },\n languageChanged: async (event: CustomEvent<string>, nylasSchedulerConnector: NylasSchedulerConnector) => {\n debug('nylas-locale-switch', 'languageChanged', event.detail);\n nylasSchedulerConnector.scheduler.selectLanguage(event.detail);\n },\n },\n fireRegisterEvent: true,\n })\n render() {\n const timezoneOptions = Object.keys(TIMEZONE_MAP).map(key => ({\n labelHTML: this.getTimezoneLabelHTML(key),\n label: TIMEZONE_MAP[key],\n value: key,\n }));\n const languageOptions = Object.keys(LANGUAGE_MAP).map(key => ({\n label: LANGUAGE_MAP[key],\n value: key,\n }));\n\n return (\n <Host>\n <div class=\"nylas-locale-switch\" part=\"nls\">\n <div\n class={{\n 'select-wrapper': true,\n 'timezone': true,\n }}\n part=\"nls__timezone\"\n >\n <select-dropdown\n name=\"timezone\"\n searchPlaceholder={this.searchPlaceholder}\n options={timezoneOptions}\n ref={el => (this.timezoneRef = el)}\n defaultSelectedOption={timezoneOptions.find(op => op.value == this.selectedTimezone)}\n exportparts=\"sd_dropdown: nls__timezone-dropdown, sd_dropdown-button: nls__timezone-drop-button, sd_dropdown-button-selected-label: nls__timezone-drop-button-selected-label, sd_dropdown-content: nls__timezone-drop-content, sd_dropdown_label: nls__timezone-drop-label\"\n >\n <span slot=\"select-icon\">\n <globe-icon width=\"20\" height=\"20\" />\n </span>\n </select-dropdown>\n </div>\n <div\n class={{\n 'select-wrapper': true,\n 'language': true,\n }}\n part=\"nls__language\"\n >\n <select-dropdown\n name=\"language\"\n searchPlaceholder={this.searchPlaceholder}\n options={languageOptions}\n ref={el => (this.languageRef = el)}\n defaultSelectedOption={languageOptions.find(lang => lang.value == this.selectedLanguage)}\n exportparts=\"sd_dropdown: nls__language-dropdown, sd_dropdown-button: nls__language-drop-button, sd_dropdown-content: nls__language-drop-content, sd_dropdown_label: nls__language-drop-label\"\n >\n <span slot=\"select-icon\">\n <translate-icon width=\"20\" height=\"20\" />\n </span>\n </select-dropdown>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -4,7 +4,7 @@ import { a as debug, b as instance } from './p-dEI4mtiM.js';
|
|
|
4
4
|
import { d as defineCustomElement$7 } from './p-Ha2t2y12.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './p-DHEweiQ6.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './p-DAvS1ihh.js';
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-UahFYa1w.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './p-Dng-gcge.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './p-BfRJThsI.js';
|
|
10
10
|
import { d as defineCustomElement$1 } from './p-Hj9jbKPX.js';
|
|
@@ -322,6 +322,6 @@ function defineCustomElement() {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
export { NylasAdditionalParticipants as N, defineCustomElement as d };
|
|
325
|
-
//# sourceMappingURL=p-
|
|
325
|
+
//# sourceMappingURL=p-B-xvNL5X.js.map
|
|
326
326
|
|
|
327
|
-
//# sourceMappingURL=p-
|
|
327
|
+
//# sourceMappingURL=p-B-xvNL5X.js.map
|