@nylas/web-elements 2.4.1 → 2.5.0-canary-20260306042320
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 +3 -3
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +2893 -2839
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +286 -273
- package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/archive-icon.cjs.entry.js +1 -1
- package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/button-component_2.cjs.entry.js +2 -2
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +86 -62
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js.map +1 -1
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-group_4.cjs.entry.js +5 -5
- package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +44 -23
- package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +4 -4
- package/dist/cjs/clock-icon_4.cjs.entry.js +4 -4
- package/dist/cjs/delete-icon.cjs.entry.js +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/folder-icon.cjs.entry.js +1 -1
- package/dist/cjs/forward-icon.cjs.entry.js +1 -1
- package/dist/cjs/globe-icon_3.cjs.entry.js +5 -5
- 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 +19 -17
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/google-meet-icon_5.cjs.entry.js +5 -5
- package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
- package/dist/cjs/info-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/italic-icon.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +4 -4
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-notification_2.cjs.entry.js +2 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +13 -6
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.entry.cjs.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +38 -19
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/person-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon.cjs.entry.js +1 -1
- package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-icon.cjs.entry.js +1 -1
- package/dist/cjs/sent-icon.cjs.entry.js +1 -1
- package/dist/cjs/spam-icon.cjs.entry.js +1 -1
- package/dist/cjs/star-icon.cjs.entry.js +1 -1
- package/dist/cjs/stop-icon.cjs.entry.js +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/translate-icon.cjs.entry.js +1 -1
- package/dist/cjs/trash-fill-icon.cjs.entry.js +1 -1
- package/dist/cjs/underline-icon.cjs.entry.js +1 -1
- package/dist/cjs/{version-BpVJo5VP.js → version-Co332DgG.js} +3 -3
- package/dist/{esm/version-BCn0rl0y.js.map → cjs/version-Co332DgG.js.map} +1 -1
- package/dist/collection/common/icons/add-circle.js +1 -1
- package/dist/collection/common/icons/archive.js +1 -1
- package/dist/collection/common/icons/arrow.js +1 -1
- package/dist/collection/common/icons/bold.js +1 -1
- package/dist/collection/common/icons/calendar-agenda-fill.js +1 -1
- package/dist/collection/common/icons/calendar-agenda.js +1 -1
- package/dist/collection/common/icons/calendar-cancel.js +1 -1
- package/dist/collection/common/icons/calendar-check.js +1 -1
- package/dist/collection/common/icons/calendar-info.js +1 -1
- package/dist/collection/common/icons/calendar-patterns.js +1 -1
- package/dist/collection/common/icons/calendar.js +1 -1
- package/dist/collection/common/icons/checkmark-circle.js +1 -1
- package/dist/collection/common/icons/checkmark.js +1 -1
- package/dist/collection/common/icons/chevron.js +1 -1
- package/dist/collection/common/icons/clock.js +1 -1
- package/dist/collection/common/icons/close.js +1 -1
- package/dist/collection/common/icons/copy.js +1 -1
- package/dist/collection/common/icons/delete.js +1 -1
- package/dist/collection/common/icons/document-refresh.js +1 -1
- package/dist/collection/common/icons/dragable.js +1 -1
- package/dist/collection/common/icons/edit.js +1 -1
- package/dist/collection/common/icons/envelope-fill.js +1 -1
- package/dist/collection/common/icons/envelope.js +1 -1
- package/dist/collection/common/icons/eye.js +1 -1
- package/dist/collection/common/icons/feedback-icon.js +1 -1
- package/dist/collection/common/icons/flow.js +1 -1
- package/dist/collection/common/icons/folder.js +1 -1
- package/dist/collection/common/icons/forward.js +1 -1
- package/dist/collection/common/icons/globe.js +1 -1
- package/dist/collection/common/icons/google-logo.js +1 -1
- package/dist/collection/common/icons/google-meet.js +1 -1
- package/dist/collection/common/icons/inbox.js +1 -1
- package/dist/collection/common/icons/info.js +1 -1
- package/dist/collection/common/icons/italic.js +1 -1
- package/dist/collection/common/icons/loading.js +1 -1
- package/dist/collection/common/icons/location-off.js +1 -1
- package/dist/collection/common/icons/location.js +1 -1
- package/dist/collection/common/icons/microsof-teams.js +1 -1
- package/dist/collection/common/icons/microsoft-logo.js +1 -1
- package/dist/collection/common/icons/nylas-logo.js +1 -1
- package/dist/collection/common/icons/paintbrush-fill.js +1 -1
- package/dist/collection/common/icons/paintbrush.js +1 -1
- package/dist/collection/common/icons/people.js +1 -1
- package/dist/collection/common/icons/person-clipboard.js +1 -1
- package/dist/collection/common/icons/person.js +1 -1
- package/dist/collection/common/icons/play.js +1 -1
- package/dist/collection/common/icons/plus.js +1 -1
- package/dist/collection/common/icons/refresh.js +1 -1
- package/dist/collection/common/icons/reply-all.js +1 -1
- package/dist/collection/common/icons/reply.js +1 -1
- package/dist/collection/common/icons/search.js +1 -1
- package/dist/collection/common/icons/sent.js +1 -1
- package/dist/collection/common/icons/spam.js +1 -1
- package/dist/collection/common/icons/star.js +1 -1
- package/dist/collection/common/icons/stop.js +1 -1
- package/dist/collection/common/icons/translate.js +1 -1
- package/dist/collection/common/icons/trash-fill.js +1 -1
- package/dist/collection/common/icons/trash.js +1 -1
- package/dist/collection/common/icons/underline.js +1 -1
- package/dist/collection/common/icons/warning.js +1 -1
- package/dist/collection/common/icons/zoom.js +1 -1
- package/dist/collection/components/design-system/button-component/button-component.js +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
- package/dist/collection/components/design-system/checkbox-group/checkbox-group.js +1 -1
- package/dist/collection/components/design-system/input-color-picker/input-color-picker.js +2 -2
- package/dist/collection/components/design-system/input-component/input-component.js +1 -1
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/design-system/input-image-url/input-image-url.js +1 -1
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
- package/dist/collection/components/design-system/nylas-date-component/nylas-date-component.js +1 -1
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +2 -2
- package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
- package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
- package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +2 -2
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +1 -1
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +2 -2
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +2 -2
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +33 -17
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +50 -9
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +21 -10
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-disable-emails/nylas-disable-emails.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +11 -9
- 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-group/nylas-editor-tabs-group.js +5 -5
- package/dist/collection/components/scheduler-editor/nylas-event-capacity/nylas-event-capacity.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-timeslot/nylas-event-timeslot.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-notetaker-config/nylas-notetaker-config.js +8 -8
- package/dist/collection/components/scheduler-editor/nylas-only-specific-time-availability/nylas-only-specific-time-availability.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js +21 -8
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +41 -4
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +1 -1
- package/dist/collection/connector/shared/api/scheduler.js +3 -0
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
- package/dist/collection/stores/scheduler-config-store.js +1 -1
- package/dist/collection/stores/scheduler-config-store.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/add-circle-icon.js +1 -1
- package/dist/components/archive-icon.js +1 -1
- package/dist/components/arrow-icon.js +1 -1
- package/dist/components/bold-icon.js +1 -1
- package/dist/components/button-component.js +1 -1
- package/dist/components/calendar-agenda-fill-icon.js +1 -1
- package/dist/components/calendar-agenda-icon.js +1 -1
- package/dist/components/calendar-cancel-icon.js +1 -1
- package/dist/components/calendar-check-icon.js +1 -1
- package/dist/components/calendar-icon.js +1 -1
- package/dist/components/calendar-info-icon.js +1 -1
- package/dist/components/calendar-patterns-icon.js +1 -1
- package/dist/components/checkbox-component.js +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkmark-circle-icon.js +1 -1
- package/dist/components/checkmark-icon.js +1 -1
- package/dist/components/chevron-icon.js +1 -1
- package/dist/components/clock-icon.js +1 -1
- package/dist/components/close-icon.js +1 -1
- package/dist/components/copy-icon.js +1 -1
- package/dist/components/delete-icon.js +1 -1
- package/dist/components/document-refresh-icon.js +1 -1
- package/dist/components/dragable-icon.js +1 -1
- package/dist/components/edit-icon.js +1 -1
- package/dist/components/envelope-fill-icon.js +1 -1
- package/dist/components/envelope-icon.js +1 -1
- package/dist/components/eye-icon.js +1 -1
- package/dist/components/feedback-icon.js +1 -1
- package/dist/components/flow-icon.js +1 -1
- package/dist/components/folder-icon.js +1 -1
- package/dist/components/forward-icon.js +1 -1
- package/dist/components/globe-icon.js +1 -1
- package/dist/components/google-logo-icon.js +1 -1
- package/dist/components/google-meet-icon.js +1 -1
- package/dist/components/inbox-icon.js +1 -1
- package/dist/components/info-icon.js +1 -1
- package/dist/components/input-color-picker.js +1 -1
- package/dist/components/input-component.js +1 -1
- package/dist/components/input-dropdown.js +1 -1
- package/dist/components/input-image-url.js +1 -1
- package/dist/components/italic-icon.js +1 -1
- package/dist/components/loading-icon.js +1 -1
- package/dist/components/location-icon.js +1 -1
- package/dist/components/location-off-icon.js +1 -1
- package/dist/components/microsoft-logo-icon.js +1 -1
- package/dist/components/microsoft-teams-icon.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-logo.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 +113 -106
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling-method.js +1 -1
- package/dist/components/nylas-scheduling.js +76 -57
- package/dist/components/nylas-scheduling.js.map +1 -1
- 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-BK05OJWJ.js → p-0Q791asW.js} +10 -10
- package/dist/components/{p-BK05OJWJ.js.map → p-0Q791asW.js.map} +1 -1
- package/dist/components/{p-B54Kgpd1.js → p-5RXhzvUo.js} +15 -15
- package/dist/components/{p-B54Kgpd1.js.map → p-5RXhzvUo.js.map} +1 -1
- package/dist/components/{p-DnRMuXBv.js → p-6A8ylLCU.js} +7 -7
- package/dist/components/{p-DnRMuXBv.js.map → p-6A8ylLCU.js.map} +1 -1
- package/dist/components/{p-dBa2aR6u.js → p-8f-LJhGH.js} +17 -17
- package/dist/components/{p-dBa2aR6u.js.map → p-8f-LJhGH.js.map} +1 -1
- package/dist/components/{p-DbTGA7PK.js → p-9SuQgutb.js} +5 -5
- package/dist/components/{p-DbTGA7PK.js.map → p-9SuQgutb.js.map} +1 -1
- package/dist/components/{p-D5p5Z11R.js → p-B0-YJO0f.js} +5 -5
- package/dist/components/{p-D5p5Z11R.js.map → p-B0-YJO0f.js.map} +1 -1
- package/dist/components/{p-n1uQQdTd.js → p-B2EksfAF.js} +3 -3
- package/dist/components/{p-n1uQQdTd.js.map → p-B2EksfAF.js.map} +1 -1
- package/dist/components/{p-Bkoea0ab.js → p-B2LU95MT.js} +3 -3
- package/dist/components/{p-Bkoea0ab.js.map → p-B2LU95MT.js.map} +1 -1
- package/dist/components/{p-Deswp92f.js → p-B9a2SDWB.js} +8 -8
- package/dist/components/{p-Deswp92f.js.map → p-B9a2SDWB.js.map} +1 -1
- package/dist/components/{p-BW5AWWWU.js → p-BAKh5tMf.js} +3 -3
- package/dist/components/{p-BW5AWWWU.js.map → p-BAKh5tMf.js.map} +1 -1
- package/dist/components/{p-CRjHH_OM.js → p-BD4aqMeC.js} +3 -3
- package/dist/components/{p-CRjHH_OM.js.map → p-BD4aqMeC.js.map} +1 -1
- package/dist/components/{p-wFPFZcNc.js → p-BF0muZ9G.js} +3 -3
- package/dist/components/{p-wFPFZcNc.js.map → p-BF0muZ9G.js.map} +1 -1
- package/dist/components/{p-Dhs6n8pM.js → p-BI99l5Mr.js} +3 -3
- package/dist/components/{p-Dhs6n8pM.js.map → p-BI99l5Mr.js.map} +1 -1
- package/dist/components/{p-PH-ASHZS.js → p-BNuHkEZZ.js} +3 -3
- package/dist/components/{p-PH-ASHZS.js.map → p-BNuHkEZZ.js.map} +1 -1
- package/dist/components/{p-C9beWH2f.js → p-BOk080VZ.js} +7 -7
- package/dist/components/{p-C9beWH2f.js.map → p-BOk080VZ.js.map} +1 -1
- package/dist/components/{p-Bpeu-ygG.js → p-BPbPSFbO.js} +10 -10
- package/dist/components/{p-Bpeu-ygG.js.map → p-BPbPSFbO.js.map} +1 -1
- package/dist/components/{p-CGxeg--J.js → p-BQsgOTb4.js} +14 -14
- package/dist/components/{p-CGxeg--J.js.map → p-BQsgOTb4.js.map} +1 -1
- package/dist/components/{p-DPClTQN0.js → p-BRjK4HIS.js} +10 -10
- package/dist/components/{p-DPClTQN0.js.map → p-BRjK4HIS.js.map} +1 -1
- package/dist/components/{p-S5MMQ3kK.js → p-BSfQxQEN.js} +3 -3
- package/dist/components/{p-S5MMQ3kK.js.map → p-BSfQxQEN.js.map} +1 -1
- package/dist/components/{p-WCXOX3Ou.js → p-BT5kT23k.js} +3 -3
- package/dist/components/{p-WCXOX3Ou.js.map → p-BT5kT23k.js.map} +1 -1
- package/dist/components/{p-DU3FxQJW.js → p-BTWclWyF.js} +5 -5
- package/dist/components/{p-DU3FxQJW.js.map → p-BTWclWyF.js.map} +1 -1
- package/dist/components/{p-Dvm3cFRX.js → p-BVH0Klhu.js} +4 -4
- package/dist/components/{p-Dvm3cFRX.js.map → p-BVH0Klhu.js.map} +1 -1
- package/dist/components/{p-DTF0fIhr.js → p-B_Qi3sM4.js} +3 -3
- package/dist/components/{p-DTF0fIhr.js.map → p-B_Qi3sM4.js.map} +1 -1
- package/dist/components/{p-1lKplrc1.js → p-BbQVpnV2.js} +5 -5
- package/dist/components/{p-1lKplrc1.js.map → p-BbQVpnV2.js.map} +1 -1
- package/dist/components/{p-k3eh7IEY.js → p-BhVGvOQU.js} +4 -4
- package/dist/components/{p-k3eh7IEY.js.map → p-BhVGvOQU.js.map} +1 -1
- package/dist/components/{p-Dhuiox3C.js → p-BjvgBBDi.js} +7 -7
- package/dist/components/{p-Dhuiox3C.js.map → p-BjvgBBDi.js.map} +1 -1
- package/dist/components/{p-B4WU6Ddk.js → p-BkqJQBCp.js} +3 -3
- package/dist/components/{p-B4WU6Ddk.js.map → p-BkqJQBCp.js.map} +1 -1
- package/dist/components/{p-C9OPB0dE.js → p-BluyqSV4.js} +12 -12
- package/dist/components/{p-C9OPB0dE.js.map → p-BluyqSV4.js.map} +1 -1
- package/dist/components/{p-BBKmpMW8.js → p-BmBJwWDS.js} +6 -6
- package/dist/components/{p-BBKmpMW8.js.map → p-BmBJwWDS.js.map} +1 -1
- package/dist/components/{p-D1LkVzVP.js → p-BmFTnJHK.js} +6 -6
- package/dist/components/{p-D1LkVzVP.js.map → p-BmFTnJHK.js.map} +1 -1
- package/dist/components/{p-sbWcoagv.js → p-BnEkgCIs.js} +3 -3
- package/dist/components/{p-sbWcoagv.js.map → p-BnEkgCIs.js.map} +1 -1
- package/dist/components/{p-BQqYYMC9.js → p-BoUo2hc7.js} +3 -3
- package/dist/components/{p-BQqYYMC9.js.map → p-BoUo2hc7.js.map} +1 -1
- package/dist/components/{p-CxX2L0KD.js → p-BrOgWk7y.js} +3 -3
- package/dist/components/{p-CxX2L0KD.js.map → p-BrOgWk7y.js.map} +1 -1
- package/dist/components/{p-CK4A4BDU.js → p-BxsadZ25.js} +8 -8
- package/dist/components/{p-CK4A4BDU.js.map → p-BxsadZ25.js.map} +1 -1
- package/dist/components/{p-B-gCWV_D.js → p-ByDfkWkX.js} +3 -3
- package/dist/components/{p-B-gCWV_D.js.map → p-ByDfkWkX.js.map} +1 -1
- package/dist/components/{p-B7pr9t7K.js → p-C0W947JI.js} +6 -6
- package/dist/components/{p-B7pr9t7K.js.map → p-C0W947JI.js.map} +1 -1
- package/dist/components/{p-BPwvrBru.js → p-C3knoHon.js} +4 -4
- package/dist/components/{p-BPwvrBru.js.map → p-C3knoHon.js.map} +1 -1
- package/dist/components/{p-CZF2moAV.js → p-C4BZ4XFc.js} +3 -3
- package/dist/components/{p-CZF2moAV.js.map → p-C4BZ4XFc.js.map} +1 -1
- package/dist/components/{p--JWPNuJw.js → p-C4RTQIyO.js} +3 -3
- package/dist/components/{p--JWPNuJw.js.map → p-C4RTQIyO.js.map} +1 -1
- package/dist/components/{p-GAHE0QsH.js → p-C6FGSOHu.js} +8 -8
- package/dist/components/{p-GAHE0QsH.js.map → p-C6FGSOHu.js.map} +1 -1
- package/dist/components/{p-Ccv_qdzg.js → p-C6yDHOLr.js} +6 -6
- package/dist/components/{p-Ccv_qdzg.js.map → p-C6yDHOLr.js.map} +1 -1
- package/dist/components/{p-BWj2o6Z2.js → p-C7J83Us-.js} +3 -3
- package/dist/components/{p-BWj2o6Z2.js.map → p-C7J83Us-.js.map} +1 -1
- package/dist/components/{p-hYRQCAHR.js → p-C7ZpwRD0.js} +3 -3
- package/dist/components/{p-hYRQCAHR.js.map → p-C7ZpwRD0.js.map} +1 -1
- package/dist/components/{p-I6ZJueEV.js → p-C8tr7RQP.js} +14 -14
- package/dist/components/{p-I6ZJueEV.js.map → p-C8tr7RQP.js.map} +1 -1
- package/dist/components/{p-DDuJfpmS.js → p-C9Mlv9rC.js} +3 -3
- package/dist/components/{p-DDuJfpmS.js.map → p-C9Mlv9rC.js.map} +1 -1
- package/dist/components/{p-3TuqcJ7a.js → p-CBBEkysd.js} +3 -3
- package/dist/components/{p-3TuqcJ7a.js.map → p-CBBEkysd.js.map} +1 -1
- package/dist/components/{p-B8zO9u9G.js → p-CDDw-hf8.js} +3 -3
- package/dist/components/{p-B8zO9u9G.js.map → p-CDDw-hf8.js.map} +1 -1
- package/dist/components/{p-D9TpXP_3.js → p-CFeDwD40.js} +3 -3
- package/dist/components/{p-D9TpXP_3.js.map → p-CFeDwD40.js.map} +1 -1
- package/dist/components/{p-B75UH_79.js → p-CHuh_iTR.js} +5 -5
- package/dist/components/{p-B75UH_79.js.map → p-CHuh_iTR.js.map} +1 -1
- package/dist/components/{p-CnuLK086.js → p-CJvmK-NM.js} +3 -3
- package/dist/components/{p-CnuLK086.js.map → p-CJvmK-NM.js.map} +1 -1
- package/dist/components/{p-BbMIB-Yc.js → p-CMzKWvKv.js} +3 -3
- package/dist/components/{p-BbMIB-Yc.js.map → p-CMzKWvKv.js.map} +1 -1
- package/dist/components/{p-Fc2FiFbz.js → p-COXbf1MO.js} +16 -16
- package/dist/components/{p-Fc2FiFbz.js.map → p-COXbf1MO.js.map} +1 -1
- package/dist/components/{p-BXdPZfqZ.js → p-CT64yPEO.js} +3 -3
- package/dist/components/{p-BXdPZfqZ.js.map → p-CT64yPEO.js.map} +1 -1
- package/dist/components/{p-Ba5u-TNq.js → p-CWWiQA0c.js} +6 -6
- package/dist/components/{p-Ba5u-TNq.js.map → p-CWWiQA0c.js.map} +1 -1
- package/dist/components/{p-Bo40Tzgq.js → p-CaQExWbD.js} +10 -10
- package/dist/components/{p-Bo40Tzgq.js.map → p-CaQExWbD.js.map} +1 -1
- package/dist/components/{p-DVTv2Hp1.js → p-CahZPm95.js} +4 -4
- package/dist/components/{p-DVTv2Hp1.js.map → p-CahZPm95.js.map} +1 -1
- package/dist/components/{p-B35dXoaU.js → p-Ce8gcoEa.js} +3 -3
- package/dist/components/{p-B35dXoaU.js.map → p-Ce8gcoEa.js.map} +1 -1
- package/dist/components/{p-D_1SiUrv.js → p-ChXM0wCn.js} +3 -3
- package/dist/components/{p-D_1SiUrv.js.map → p-ChXM0wCn.js.map} +1 -1
- package/dist/components/{p-CjPOfL98.js → p-CrEiNqrO.js} +20 -20
- package/dist/components/p-CrEiNqrO.js.map +1 -0
- package/dist/components/{p-DcgnP4PE.js → p-Cs_iJUbv.js} +3 -3
- package/dist/components/{p-DcgnP4PE.js.map → p-Cs_iJUbv.js.map} +1 -1
- package/dist/components/{p-DywCqDUg.js → p-CvLWbTI_.js} +3 -3
- package/dist/components/{p-DywCqDUg.js.map → p-CvLWbTI_.js.map} +1 -1
- package/dist/components/{p-BA0crRT4.js → p-Cyk3GcD_.js} +3 -3
- package/dist/components/{p-BA0crRT4.js.map → p-Cyk3GcD_.js.map} +1 -1
- package/dist/components/{p-DFnxqEjY.js → p-CykUOtqt.js} +5 -5
- package/dist/components/{p-DFnxqEjY.js.map → p-CykUOtqt.js.map} +1 -1
- package/dist/components/{p-D0Ur_s8w.js → p-CyzGRI94.js} +3 -3
- package/dist/components/{p-D0Ur_s8w.js.map → p-CyzGRI94.js.map} +1 -1
- package/dist/components/{p-DHEweiQ6.js → p-CzVZs3uZ.js} +3 -3
- package/dist/components/{p-DHEweiQ6.js.map → p-CzVZs3uZ.js.map} +1 -1
- package/dist/components/{p-3GhnM4Rs.js → p-D0g7xlgg.js} +17 -17
- package/dist/components/{p-3GhnM4Rs.js.map → p-D0g7xlgg.js.map} +1 -1
- package/dist/components/{p-BqxHAMYj.js → p-D0sMDSI5.js} +7 -7
- package/dist/components/{p-BqxHAMYj.js.map → p-D0sMDSI5.js.map} +1 -1
- package/dist/components/{p-BHKS010u.js → p-D1kxrvKw.js} +102 -100
- package/dist/components/p-D1kxrvKw.js.map +1 -0
- package/dist/components/{p-D0_t-TnJ.js → p-D2ELUj7W.js} +82 -82
- package/dist/components/{p-D0_t-TnJ.js.map → p-D2ELUj7W.js.map} +1 -1
- package/dist/components/{p-B2WOW0ov.js → p-D2FugEkX.js} +9 -9
- package/dist/components/{p-B2WOW0ov.js.map → p-D2FugEkX.js.map} +1 -1
- package/dist/components/{p-Dary9zXr.js → p-D3_U2Yis.js} +5 -5
- package/dist/components/{p-Dary9zXr.js.map → p-D3_U2Yis.js.map} +1 -1
- package/dist/components/{p-pbifVvbz.js → p-D59M0kgu.js} +6 -6
- package/dist/components/{p-pbifVvbz.js.map → p-D59M0kgu.js.map} +1 -1
- package/dist/components/{p-C7vQiSqU.js → p-D7z2dNXN.js} +3 -3
- package/dist/components/{p-C7vQiSqU.js.map → p-D7z2dNXN.js.map} +1 -1
- package/dist/components/{p-BGfs-kGd.js → p-DBHtQK2b.js} +3 -3
- package/dist/components/{p-BGfs-kGd.js.map → p-DBHtQK2b.js.map} +1 -1
- package/dist/components/{p-BPmIPX7g.js → p-DEbbVkgj.js} +3 -3
- package/dist/components/{p-BPmIPX7g.js.map → p-DEbbVkgj.js.map} +1 -1
- package/dist/components/{p-DPvhc5UR.js → p-DGWTdjcf.js} +7 -7
- package/dist/components/{p-DPvhc5UR.js.map → p-DGWTdjcf.js.map} +1 -1
- package/dist/components/{p-BB995eYS.js → p-DJcRuzNc.js} +6 -6
- package/dist/components/{p-BB995eYS.js.map → p-DJcRuzNc.js.map} +1 -1
- package/dist/components/{p-DL2k-3Y9.js → p-DNZkEEGF.js} +7 -7
- package/dist/components/{p-DL2k-3Y9.js.map → p-DNZkEEGF.js.map} +1 -1
- package/dist/components/{p-D2BnadaF.js → p-DPmhcLAV.js} +4 -4
- package/dist/components/{p-D2BnadaF.js.map → p-DPmhcLAV.js.map} +1 -1
- package/dist/components/{p-D07tmsA6.js → p-DPwhlVlN.js} +3 -3
- package/dist/components/{p-D07tmsA6.js.map → p-DPwhlVlN.js.map} +1 -1
- package/dist/components/{p-C-FqPkG1.js → p-DS6Ijr4M.js} +3 -3
- package/dist/components/{p-C-FqPkG1.js.map → p-DS6Ijr4M.js.map} +1 -1
- package/dist/components/{p-brI0OtLp.js → p-DZky0cSu.js} +21 -21
- package/dist/components/{p-brI0OtLp.js.map → p-DZky0cSu.js.map} +1 -1
- package/dist/components/{p-BB2JXH5u.js → p-DcjGlnBR.js} +3 -3
- package/dist/components/{p-BB2JXH5u.js.map → p-DcjGlnBR.js.map} +1 -1
- package/dist/components/{p-CeGr8vNo.js → p-DgCBdNz4.js} +4 -4
- package/dist/components/{p-CeGr8vNo.js.map → p-DgCBdNz4.js.map} +1 -1
- package/dist/components/{p-BO38LdDr.js → p-Dj1TLa3T.js} +3 -3
- package/dist/components/{p-BO38LdDr.js.map → p-Dj1TLa3T.js.map} +1 -1
- package/dist/components/{p-Ha2t2y12.js → p-Dl0Yur5r.js} +3 -3
- package/dist/components/{p-Ha2t2y12.js.map → p-Dl0Yur5r.js.map} +1 -1
- package/dist/components/{p-8bLDlCqt.js → p-Do-hiOVl.js} +6 -6
- package/dist/components/{p-8bLDlCqt.js.map → p-Do-hiOVl.js.map} +1 -1
- package/dist/components/{p-MHQuGZu-.js → p-DoJYki91.js} +5 -5
- package/dist/components/{p-MHQuGZu-.js.map → p-DoJYki91.js.map} +1 -1
- package/dist/components/{p-BP2IBV8d.js → p-DqM3uP9H.js} +39 -18
- package/dist/components/p-DqM3uP9H.js.map +1 -0
- package/dist/components/{p-D0zqlv9X.js → p-DsMKWaSN.js} +7 -7
- package/dist/components/{p-D0zqlv9X.js.map → p-DsMKWaSN.js.map} +1 -1
- package/dist/components/{p-CcJs1phT.js → p-DuVwrI20.js} +4 -4
- package/dist/components/{p-CcJs1phT.js.map → p-DuVwrI20.js.map} +1 -1
- package/dist/components/{p-B6_vWkUg.js → p-DwLh5aVI.js} +3 -3
- package/dist/components/{p-B6_vWkUg.js.map → p-DwLh5aVI.js.map} +1 -1
- package/dist/components/{p-Hj9jbKPX.js → p-DxDoo-4C.js} +4 -4
- package/dist/components/{p-Hj9jbKPX.js.map → p-DxDoo-4C.js.map} +1 -1
- package/dist/components/{p-_fPTbZgX.js → p-G4bkKoDi.js} +33 -33
- package/dist/components/{p-_fPTbZgX.js.map → p-G4bkKoDi.js.map} +1 -1
- package/dist/components/{p-CE-erUmL.js → p-Gm-vN7E1.js} +4 -4
- package/dist/components/{p-CE-erUmL.js.map → p-Gm-vN7E1.js.map} +1 -1
- package/dist/components/{p-9REldQO4.js → p-HeijVgBd.js} +8 -8
- package/dist/components/{p-9REldQO4.js.map → p-HeijVgBd.js.map} +1 -1
- package/dist/components/{p-CKo-5Qfq.js → p-LtcdluKm.js} +13 -13
- package/dist/components/{p-CKo-5Qfq.js.map → p-LtcdluKm.js.map} +1 -1
- package/dist/components/{p-B1gsLDiL.js → p-NBNWXBut.js} +9 -9
- package/dist/components/{p-B1gsLDiL.js.map → p-NBNWXBut.js.map} +1 -1
- package/dist/components/{p-BVrJG89A.js → p-OhUC7F_g.js} +3 -3
- package/dist/components/{p-BVrJG89A.js.map → p-OhUC7F_g.js.map} +1 -1
- package/dist/components/{p-Bfn8MxOP.js → p-QqIA-4UU.js} +5 -5
- package/dist/components/{p-Bfn8MxOP.js.map → p-QqIA-4UU.js.map} +1 -1
- package/dist/components/{p-2_78I5nY.js → p-UNYO4Uen.js} +3 -3
- package/dist/components/{p-2_78I5nY.js.map → p-UNYO4Uen.js.map} +1 -1
- package/dist/components/{p-LGPQBsXs.js → p-_gwYX3vh.js} +10 -10
- package/dist/components/{p-LGPQBsXs.js.map → p-_gwYX3vh.js.map} +1 -1
- package/dist/components/{p-BaI67hQ_.js → p-ao6VxuAL.js} +3 -3
- package/dist/components/{p-BaI67hQ_.js.map → p-ao6VxuAL.js.map} +1 -1
- package/dist/components/{p-DAvS1ihh.js → p-d3kelm3z.js} +3 -3
- package/dist/components/{p-DAvS1ihh.js.map → p-d3kelm3z.js.map} +1 -1
- package/dist/components/{p-CSGxrebs.js → p-hipsVOV5.js} +3 -3
- package/dist/components/{p-CSGxrebs.js.map → p-hipsVOV5.js.map} +1 -1
- package/dist/components/{p-CQ-EyvqC.js → p-icAweFo6.js} +4 -4
- package/dist/components/{p-CQ-EyvqC.js.map → p-icAweFo6.js.map} +1 -1
- package/dist/components/{p-CC5LBxvb.js → p-jBYg7WMS.js} +3 -3
- package/dist/components/{p-CC5LBxvb.js.map → p-jBYg7WMS.js.map} +1 -1
- package/dist/components/{p-DYNQu4cB.js → p-k68ZYeHL.js} +8 -8
- package/dist/components/{p-DYNQu4cB.js.map → p-k68ZYeHL.js.map} +1 -1
- package/dist/components/{p-dlRUGWVl.js → p-kbilJltW.js} +3 -3
- package/dist/components/{p-dlRUGWVl.js.map → p-kbilJltW.js.map} +1 -1
- package/dist/components/{p-Cm33KFk-.js → p-ollg-iFp.js} +29 -18
- package/dist/components/p-ollg-iFp.js.map +1 -0
- package/dist/components/{p-C8RnCnvv.js → p-q7g_LEwC.js} +3 -3
- package/dist/components/{p-C8RnCnvv.js.map → p-q7g_LEwC.js.map} +1 -1
- package/dist/components/{p-lJd3klAU.js → p-rrunpGAl.js} +15 -15
- package/dist/components/{p-lJd3klAU.js.map → p-rrunpGAl.js.map} +1 -1
- package/dist/components/{p-BUp6TlwK.js → p-tVUFrM9G.js} +29 -16
- package/dist/components/p-tVUFrM9G.js.map +1 -0
- package/dist/components/{p-idvnK5Rl.js → p-wphqTozF.js} +6 -6
- package/dist/components/{p-idvnK5Rl.js.map → p-wphqTozF.js.map} +1 -1
- package/dist/components/{p-RvuIq5wt.js → p-xMlGGw2N.js} +3 -3
- package/dist/components/{p-RvuIq5wt.js.map → p-xMlGGw2N.js.map} +1 -1
- package/dist/components/paintbrush-fill-icon.js +1 -1
- package/dist/components/paintbrush-icon.js +1 -1
- package/dist/components/people-icon.js +1 -1
- package/dist/components/person-clipboard-icon.js +1 -1
- package/dist/components/person-icon.js +1 -1
- package/dist/components/play-icon.js +1 -1
- package/dist/components/plus-icon.js +1 -1
- package/dist/components/radio-button-group.js +1 -1
- package/dist/components/refresh-icon.js +1 -1
- package/dist/components/reply-all-icon.js +1 -1
- package/dist/components/reply-icon.js +1 -1
- package/dist/components/search-icon.js +1 -1
- package/dist/components/select-dropdown.js +1 -1
- package/dist/components/sent-icon.js +1 -1
- package/dist/components/spam-icon.js +1 -1
- package/dist/components/star-icon.js +1 -1
- package/dist/components/stop-icon.js +1 -1
- package/dist/components/textarea-component.js +1 -1
- package/dist/components/time-period-selector.js +1 -1
- package/dist/components/toggle-switch.js +1 -1
- package/dist/components/tooltip-component.js +1 -1
- package/dist/components/translate-icon.js +1 -1
- package/dist/components/trash-fill-icon.js +1 -1
- package/dist/components/trash-icon.js +1 -1
- package/dist/components/underline-icon.js +1 -1
- package/dist/components/warning-icon.js +1 -1
- package/dist/components/zoom-icon.js +1 -1
- package/dist/esm/add-circle-icon_2.entry.js +2 -2
- package/dist/esm/archive-icon.entry.js +1 -1
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/button-component_2.entry.js +2 -2
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +86 -62
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js.map +1 -1
- package/dist/esm/calendar-cancel-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon.entry.js +1 -1
- package/dist/esm/calendar-icon.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js +1 -1
- package/dist/esm/checkbox-group_4.entry.js +5 -5
- package/dist/esm/checkmark-circle-icon.entry.js +1 -1
- package/dist/esm/checkmark-icon_15.entry.js +44 -23
- package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
- package/dist/esm/chevron-icon_3.entry.js +4 -4
- package/dist/esm/clock-icon_4.entry.js +4 -4
- package/dist/esm/delete-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/folder-icon.entry.js +1 -1
- package/dist/esm/forward-icon.entry.js +1 -1
- package/dist/esm/globe-icon_3.entry.js +5 -5
- 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 +19 -17
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/google-meet-icon_5.entry.js +5 -5
- package/dist/esm/inbox-icon.entry.js +1 -1
- package/dist/esm/info-icon_2.entry.js +3 -3
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown_2.entry.js +2 -2
- package/dist/esm/italic-icon.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +2 -2
- package/dist/esm/nylas-booked-event-card_11.entry.js +4 -4
- package/dist/esm/nylas-form-card.entry.js +1 -1
- package/dist/esm/nylas-notification_2.entry.js +2 -2
- package/dist/esm/nylas-scheduler-editor.entry.js +13 -6
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +38 -19
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/radio-button-group.entry.js +1 -1
- package/dist/esm/refresh-icon.entry.js +1 -1
- package/dist/esm/reply-all-icon.entry.js +1 -1
- package/dist/esm/reply-icon.entry.js +1 -1
- package/dist/esm/sent-icon.entry.js +1 -1
- package/dist/esm/spam-icon.entry.js +1 -1
- package/dist/esm/star-icon.entry.js +1 -1
- package/dist/esm/stop-icon.entry.js +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/toggle-switch.entry.js +1 -1
- package/dist/esm/translate-icon.entry.js +1 -1
- package/dist/esm/trash-fill-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/esm/{version-BCn0rl0y.js → version-ClDvNLDf.js} +3 -3
- package/dist/{cjs/version-BpVJo5VP.js.map → esm/version-ClDvNLDf.js.map} +1 -1
- package/dist/nylas-web-elements/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-9e4672ac.entry.js → p-02343d66.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-053363a5.entry.js → p-11f478bd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-12a29e9d.entry.js +11 -0
- package/dist/nylas-web-elements/p-12a29e9d.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-16db18a3.entry.js +2 -0
- package/dist/nylas-web-elements/{p-5d087249.entry.js → p-1741705d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-52a66db6.entry.js → p-219fd6f9.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c0a17829.entry.js → p-37c5834c.entry.js} +2 -2
- package/dist/nylas-web-elements/p-37eedc9d.entry.js +2 -0
- package/dist/nylas-web-elements/{p-c50fdabc.entry.js → p-38d830c6.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-13a88760.entry.js → p-3d1fd865.entry.js} +2 -2
- package/dist/nylas-web-elements/p-43c3f331.entry.js +2 -0
- package/dist/nylas-web-elements/p-55b2df61.entry.js +2 -0
- package/dist/nylas-web-elements/{p-5b01e519.entry.js → p-5a861a93.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-843fff90.entry.js → p-62d0c211.entry.js} +2 -2
- package/dist/nylas-web-elements/p-68195a72.entry.js +2 -0
- package/dist/nylas-web-elements/{p-dfc63fe6.entry.js → p-7930474b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b184b489.entry.js → p-7bc4f51f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-07beb85c.entry.js → p-7fe0b3bb.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b2c497eb.entry.js → p-84c3921f.entry.js} +2 -2
- package/dist/nylas-web-elements/p-88e89256.entry.js +2 -0
- package/dist/nylas-web-elements/{p-1398e461.entry.js → p-8b55669a.entry.js} +2 -2
- package/dist/nylas-web-elements/p-913511c9.entry.js +2 -0
- package/dist/nylas-web-elements/p-913511c9.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-8256e49f.entry.js → p-932456ba.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3b4ce792.entry.js → p-974fce52.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-051c1704.entry.js → p-991b94bd.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d1948f4c.entry.js → p-9dd10333.entry.js} +2 -2
- package/dist/nylas-web-elements/p-ClDvNLDf.js +2 -0
- package/dist/nylas-web-elements/{p-BCn0rl0y.js.map → p-ClDvNLDf.js.map} +1 -1
- package/dist/nylas-web-elements/{p-8bcf3b85.entry.js → p-a3b1ac68.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a3baa9bf.entry.js +2 -0
- package/dist/nylas-web-elements/p-a94cbeb7.entry.js +2 -0
- package/dist/nylas-web-elements/{p-a64038fa.entry.js → p-af340293.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8ea62358.entry.js → p-b6eb8c04.entry.js} +2 -2
- package/dist/nylas-web-elements/p-bafa8e30.entry.js +2 -0
- package/dist/nylas-web-elements/p-bafa8e30.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-bca85255.entry.js +2 -0
- package/dist/nylas-web-elements/p-bf9adc08.entry.js +8 -0
- package/dist/nylas-web-elements/p-bf9adc08.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-0dd59c68.entry.js → p-c0f88f23.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d20045de.entry.js → p-c59fc361.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4e81d20a.entry.js → p-c96b6f73.entry.js} +2 -2
- package/dist/nylas-web-elements/p-d2f6e3d9.entry.js +2 -0
- package/dist/nylas-web-elements/p-d2f6e3d9.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-c760d10c.entry.js → p-d752c738.entry.js} +2 -2
- package/dist/nylas-web-elements/p-de990849.entry.js +2 -0
- package/dist/nylas-web-elements/p-e2dd457a.entry.js +2 -0
- package/dist/nylas-web-elements/p-e734cde9.entry.js +2 -0
- package/dist/nylas-web-elements/p-ed89219a.entry.js +2 -0
- package/dist/nylas-web-elements/p-f0406089.entry.js +2 -0
- package/dist/nylas-web-elements/{p-059379cf.entry.js → p-f3622337.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-714cfaaa.entry.js → p-f4516330.entry.js} +2 -2
- package/dist/nylas-web-elements/p-f7f2c232.entry.js +2 -0
- package/dist/nylas-web-elements/{p-401fd416.entry.js → p-f84b98e9.entry.js} +2 -2
- package/dist/stencil.config.js +9 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +2 -1
- package/dist/types/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.d.ts +9 -0
- package/dist/types/components.d.ts +10 -0
- package/dist/types/connector/shared/api/scheduler.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-BHKS010u.js.map +0 -1
- package/dist/components/p-BP2IBV8d.js.map +0 -1
- package/dist/components/p-BUp6TlwK.js.map +0 -1
- package/dist/components/p-CjPOfL98.js.map +0 -1
- package/dist/components/p-Cm33KFk-.js.map +0 -1
- package/dist/nylas-web-elements/p-00454d48.entry.js +0 -2
- package/dist/nylas-web-elements/p-00454d48.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-038c59e1.entry.js +0 -2
- package/dist/nylas-web-elements/p-0c5c41bf.entry.js +0 -2
- package/dist/nylas-web-elements/p-106cec0c.entry.js +0 -2
- package/dist/nylas-web-elements/p-212e4c6b.entry.js +0 -2
- package/dist/nylas-web-elements/p-25966881.entry.js +0 -8
- package/dist/nylas-web-elements/p-25966881.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-2e732ba2.entry.js +0 -2
- package/dist/nylas-web-elements/p-3001a2db.entry.js +0 -2
- package/dist/nylas-web-elements/p-351a0c32.entry.js +0 -2
- package/dist/nylas-web-elements/p-3cb90051.entry.js +0 -2
- package/dist/nylas-web-elements/p-3cb90051.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-531412c9.entry.js +0 -2
- package/dist/nylas-web-elements/p-616b6000.entry.js +0 -2
- package/dist/nylas-web-elements/p-6604dde1.entry.js +0 -11
- package/dist/nylas-web-elements/p-6604dde1.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-6e899199.entry.js +0 -2
- package/dist/nylas-web-elements/p-7117e2e0.entry.js +0 -2
- package/dist/nylas-web-elements/p-8823bc36.entry.js +0 -2
- package/dist/nylas-web-elements/p-9758d9fc.entry.js +0 -2
- package/dist/nylas-web-elements/p-9758d9fc.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-BCn0rl0y.js +0 -2
- package/dist/nylas-web-elements/p-b5d145cd.entry.js +0 -2
- package/dist/nylas-web-elements/p-de00f363.entry.js +0 -2
- package/dist/nylas-web-elements/p-fb4fece1.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-9e4672ac.entry.js.map → p-02343d66.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-053363a5.entry.js.map → p-11f478bd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7117e2e0.entry.js.map → p-16db18a3.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5d087249.entry.js.map → p-1741705d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-52a66db6.entry.js.map → p-219fd6f9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c0a17829.entry.js.map → p-37c5834c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8823bc36.entry.js.map → p-37eedc9d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c50fdabc.entry.js.map → p-38d830c6.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-13a88760.entry.js.map → p-3d1fd865.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-531412c9.entry.js.map → p-43c3f331.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-212e4c6b.entry.js.map → p-55b2df61.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5b01e519.entry.js.map → p-5a861a93.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-843fff90.entry.js.map → p-62d0c211.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b5d145cd.entry.js.map → p-68195a72.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-dfc63fe6.entry.js.map → p-7930474b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b184b489.entry.js.map → p-7bc4f51f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-07beb85c.entry.js.map → p-7fe0b3bb.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b2c497eb.entry.js.map → p-84c3921f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fb4fece1.entry.js.map → p-88e89256.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-1398e461.entry.js.map → p-8b55669a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8256e49f.entry.js.map → p-932456ba.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3b4ce792.entry.js.map → p-974fce52.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-051c1704.entry.js.map → p-991b94bd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d1948f4c.entry.js.map → p-9dd10333.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8bcf3b85.entry.js.map → p-a3b1ac68.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-de00f363.entry.js.map → p-a3baa9bf.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-351a0c32.entry.js.map → p-a94cbeb7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a64038fa.entry.js.map → p-af340293.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8ea62358.entry.js.map → p-b6eb8c04.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2e732ba2.entry.js.map → p-bca85255.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0dd59c68.entry.js.map → p-c0f88f23.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d20045de.entry.js.map → p-c59fc361.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4e81d20a.entry.js.map → p-c96b6f73.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c760d10c.entry.js.map → p-d752c738.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3001a2db.entry.js.map → p-de990849.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-616b6000.entry.js.map → p-e2dd457a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-106cec0c.entry.js.map → p-e734cde9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6e899199.entry.js.map → p-ed89219a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0c5c41bf.entry.js.map → p-f0406089.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-059379cf.entry.js.map → p-f3622337.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-714cfaaa.entry.js.map → p-f4516330.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-038c59e1.entry.js.map → p-f7f2c232.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-401fd416.entry.js.map → p-f84b98e9.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nylas-connected-calendars.js","sourceRoot":"","sources":["../../../../../src/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,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AAC,MAAM,IAAI,CACrB,6BACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,eAAe,GAAG,EAAE,EAC1B,SAAS,EAAE,oBAAoB,EAC/B,wBAAwB,EAAE,IAAI,CAAC,mCAAmC,CAAC,GAAG,CAAC,GACvE,CACH,CACG,CACP,CAAC;oBACJ,CAAC,CAAC,CACG,CACH,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AArDC;IAZC,iBAAiB,CAA6G;QAC7H,IAAI,EAAE,2BAA2B;QACjC,YAAY,EAAE,IAAI,GAAG,CAAC;YACpB,CAAC,wCAAwC,EAAE,oBAAoB,CAAC;YAChE,CAAC,2BAA2B,EAAE,WAAW,CAAC;YAC1C,CAAC,uCAAuC,EAAE,uBAAuB,CAAC;YAClE,CAAC,kCAAkC,EAAE,kBAAkB,CAAC;YACxD,CAAC,6BAA6B,EAAE,aAAa,CAAC;SAC/C,CAAC;QACF,YAAY,EAAE,EAAE;QAChB,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;qDAqDD","sourcesContent":["import { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { debug } from '@/utils/utils';\nimport { AttachInternals, Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { AdditionalParticipant, Calendar, Configuration, Participant, ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE } from '@/common/constants';\n\n/**\n * The `nylas-connected-calendars` component is a form input for selecting calendars to check availability for participants.\n * @part nccals - The connected calendars host.\n * @part nccals__header - The header.\n * @part nccals__content - The content.\n * @part nccals__container - The container.\n * @part nccals__title - The title.\n * @part nccals__toggle-container - The toggle container.\n */\n@Component({\n tag: 'nylas-connected-calendars',\n styleUrl: 'nylas-connected-calendars.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasConnectedCalendars {\n @Element() host!: HTMLNylasConnectedCalendarsElement;\n private connectedCalendarsFormRef!: HTMLFormElement;\n\n /**\n * The name of the participants custom availability.\n */\n @Prop() name: string = 'connected-calendars';\n\n /**\n * @standalone\n * The selected config\n */\n @Prop() selectedConfiguration?: Configuration;\n\n /**\n * @standalone\n * The participants selected in the add participants section.\n */\n @Prop() participants: Participant[] = this.selectedConfiguration?.participants || [];\n\n /**\n * @standalone\n * The calendars to choose from for the organizer / logged in user.\n */\n @Prop() calendars?: Calendar[];\n\n /**\n * @standalone\n * The participant options passed in the additionalParticipants prop\n * from the nylas-scheduler-editor component.\n */\n @Prop() participantOptions?: AdditionalParticipant[];\n\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * This event is fired when the participants custom availability changes.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n }>;\n\n /**\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n\n /**\n * The state to store the custom availability setting for participants.\n */\n @State() selectedCalendars: {\n [key: string]: {\n isOpen: boolean;\n name: string;\n calendars?: Calendar[];\n };\n } = this.setParticipants(this.participants);\n\n /**\n * Participants calendar options.\n */\n @State() participantCalendars: {\n [key: string]: Calendar[];\n } = {};\n\n /**\n * The state to store the default selected calendars for each participant\n */\n @State() participantDefaultSelectedCalendars: {\n [key: string]: string[];\n } = {};\n\n // Watchers\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-connected-calendars', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('calendars')\n calendarsChangedHandler(newValue: Calendar[]) {\n debug('nylas-connected-calendars', 'calendarsChangedHandler', newValue);\n this.selectedCalendars = this.setParticipants(this.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);\n }\n\n @Watch('participants')\n participantsChangedHandler(newValue: Participant[]) {\n debug('nylas-connected-calendars', 'participantsChangedHandler', newValue);\n this.selectedCalendars = this.setParticipants(newValue);\n this.participantCalendars = this.getParticipantCalendarOptions(newValue, this.participantOptions);\n }\n\n @Watch('participantOptions')\n participantOptionsChangedHandler(newValue: AdditionalParticipant[]) {\n debug('nylas-calendar-picker', 'participantOptionsChangedHandler', newValue);\n this.selectedCalendars = this.setParticipants(this.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.participants, newValue);\n }\n\n @Watch('selectedConfiguration')\n selectedConfigurationChangedHandler(newValue: Configuration) {\n debug('nylas-calendar-picker', 'selectedConfigurationChangedHandler', newValue);\n const participants = newValue?.participants || this.participants;\n if (participants && participants.length > 0) {\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, this.participantOptions);\n }\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n getParticipantCalendarOptions(addedParticipants: Participant[], availableParticipantOptions: AdditionalParticipant[] | undefined) {\n // Get the participants from the availableParticipantOptions prop that are in the addedParticipants prop\n const organizer = addedParticipants?.find(participant => participant.is_organizer);\n const isRoundRobinConfig = this.selectedConfiguration?.availability?.availability_rules?.availability_method !== 'collective';\n const participantCalendars = {};\n if (availableParticipantOptions) {\n const participants = addedParticipants?.filter(participant => availableParticipantOptions.some(availableParticipant => availableParticipant.email === participant.email));\n const remainingParticipants = addedParticipants?.filter(\n participant => !availableParticipantOptions.some(availableParticipant => availableParticipant.email === participant.email),\n );\n\n // Get the calendar options for each participant with email as the key\n participants?.forEach(participant => {\n const participantOption = availableParticipantOptions?.find(participantOption => participantOption.email === participant.email);\n if (!participantOption) return;\n this.participantDefaultSelectedCalendars[participant.email] = participant.availability?.calendar_ids || [];\n const calendars = participantOption.calendars ?? [];\n participant.availability?.calendar_ids?.forEach(calendarId => {\n if (!calendars?.some(calendar => calendar.id === calendarId) && calendarId !== 'primary') {\n calendars.push({ id: calendarId, name: calendarId });\n }\n });\n participantCalendars[participant.email] = calendars;\n });\n if (isRoundRobinConfig) {\n // If it is round robin config, add the remaining participant calendars to the participantCalendars\n // (Round-robin does not have an organizer, and we filtered out the participants not passed in the participantOptions prop,\n // so we need to add the remaining participants calendars to the participantCalendars)\n remainingParticipants?.forEach(participant => {\n if (participant?.availability?.calendar_ids && participant?.availability?.calendar_ids?.length > 0 && !participant.is_organizer) {\n participantCalendars[participant.email] = this.calendars ?? [{ id: 'primary', name: participant.email }];\n this.participantDefaultSelectedCalendars[participant.email] = participant.availability?.calendar_ids || [];\n }\n });\n }\n }\n\n // Add the organizer's calendars to the participantCalendars\n if (organizer) {\n participantCalendars[organizer.email] = this.calendars ?? [{ id: 'primary', name: organizer.email }];\n this.participantDefaultSelectedCalendars[organizer.email] = organizer.availability?.calendar_ids || [];\n }\n return participantCalendars;\n }\n\n // Lifecycle Methods\n connectedCallback() {\n debug('nylas-connected-calendars', '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 debug('nylas-connected-calendars', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-connected-calendars', 'componentWillLoad');\n }\n\n componentDidLoad() {\n debug('nylas-connected-calendars', 'componentDidLoad');\n if (this.selectedConfiguration) {\n this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);\n } else {\n this.selectedCalendars = this.setParticipants(this.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);\n }\n }\n\n @Listen('valueChanged')\n handleValueChanged(event: CustomEvent) {\n debug('[nylas-editor-tabs]', 'handleValueChanged', event);\n const { name, value } = event.detail;\n if (!name.startsWith('participant-')) {\n return;\n }\n // Validate the form\n if (!this.connectedCalendarsFormRef.checkValidity()) {\n this.internals.setValidity({ customError: true }, i18next.t('nylasConnectedCalendars.selectAtLeastOneCalendar'));\n return;\n } else {\n this.internals.setValidity({});\n }\n\n const key = name.split('participant-')[1];\n if (!this.selectedCalendars[key]) return;\n this.selectedCalendars[key]['calendars'] = value;\n this.selectedCalendars = { ...this.selectedCalendars };\n\n const participantsCalendars = {};\n Object.keys(this.selectedCalendars).forEach(key => {\n participantsCalendars[key] = this.selectedCalendars[key].calendars;\n });\n this.internals.setFormValue(JSON.stringify(participantsCalendars), this.name);\n this.valueChanged.emit({ value: JSON.stringify(participantsCalendars), name: this.name });\n }\n\n setParticipants(participants: Participant[]) {\n const selectedParticipants = {};\n participants?.forEach(participant => {\n if (participant?.availability?.calendar_ids && participant?.availability?.calendar_ids?.length > 0) {\n const isOpen = participant.is_organizer ? true : false;\n selectedParticipants[participant.email] = {\n isOpen: isOpen,\n name: participant.name || participant.email,\n calendars: participant.availability?.calendar_ids,\n };\n }\n });\n return selectedParticipants;\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 }\n }\n }\n\n @RegisterComponent<NylasConnectedCalendars, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-connected-calendars',\n stateToProps: new Map([\n ['schedulerConfig.additionalParticipants', 'participantOptions'],\n ['schedulerConfig.calendars', 'calendars'],\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {},\n fireRegisterEvent: true,\n })\n render() {\n return (\n <Host>\n <div class=\"nylas-connected-calendars\" part=\"nccals\">\n <div class=\"header\" part=\"nccals__header\">\n <h3>{i18next.t('nylasConnectedCalendars.headerTitle')}</h3>\n <p>\n {i18next.t('nylasConnectedCalendars.headerSubTitle')}\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConnectedCalendars.tooltip.desc')}</span>\n </tooltip-component>\n </p>\n </div>\n <div class=\"content\" part=\"nccals__content\">\n <form ref={el => (this.connectedCalendarsFormRef = el as HTMLFormElement)}>\n {Object.keys(this.participantCalendars).map((key, index) => {\n const participant = this.selectedCalendars[key];\n const participantCalendars = this.participantCalendars[key];\n if (!participant || !participant.name) return;\n return (\n <div class=\"participant-container\" part=\"nccals__container\" key={`participant-conatiner-${index}`}>\n <div class=\"participant-title\" part=\"nccals__title\">\n <p>{i18next.t('nylasConnectedCalendars.participantCalendarTitle', { participantName: participant.name })}</p>\n <div class=\"participant-toggle\" part=\"nccals__toggle-container\">\n <span\n class={`chevron ${participant.isOpen ? 'open' : 'closed'}`}\n onClick={() => {\n this.selectedCalendars[key].isOpen = !participant.isOpen;\n this.selectedCalendars = { ...this.selectedCalendars };\n }}\n >\n <chevron-icon width=\"24\" height=\"24\" />\n </span>\n </div>\n </div>\n {participant.isOpen && (\n <nylas-calendar-picker\n key={key}\n name={`participant-${key}`}\n calendars={participantCalendars}\n defaultSelectedCalendars={this.participantDefaultSelectedCalendars[key]}\n />\n )}\n </div>\n );\n })}\n </form>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"nylas-connected-calendars.js","sourceRoot":"","sources":["../../../../../src/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAG9H,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAiBnD,MAAM,OAAO,uBAAuB;IANpC;QAaU,SAAI,GAAW,qBAAqB,CAAC;QAYrC,iBAAY,GAAkB,IAAI,CAAC,qBAAqB,EAAE,YAAY,IAAI,EAAE,CAAC;QA0C5E,sBAAiB,GAMtB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAKnC,yBAAoB,GAEzB,EAAE,CAAC;QAKE,wCAAmC,GAExC,EAAE,CAAC;KAqQR;IAjQC,yBAAyB,CAAC,QAAgB;QACxC,KAAK,CAAC,2BAA2B,EAAE,2BAA2B,EAAE,QAAQ,CAAC,CAAC;QAC1E,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAGD,uBAAuB,CAAC,QAAoB;QAC1C,KAAK,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,QAAQ,CAAC,CAAC;QACxE,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,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,MAAM,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC;4CACzD,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;wCACzD,CAAC;wCAED,oBAAc,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAClC,CACH,CACF;4BACL,WAAW,CAAC,MAAM,IAAI,CACrB,6BACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,eAAe,GAAG,EAAE,EAC1B,SAAS,EAAE,oBAAoB,EAC/B,wBAAwB,EAAE,IAAI,CAAC,mCAAmC,CAAC,GAAG,CAAC,GACvE,CACH,CACG,CACP,CAAC;oBACJ,CAAC,CAAC,CACG,CACH,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AArDC;IAZC,iBAAiB,CAA6G;QAC7H,IAAI,EAAE,2BAA2B;QACjC,YAAY,EAAE,IAAI,GAAG,CAAC;YACpB,CAAC,uCAAuC,EAAE,uBAAuB,CAAC;YAClE,CAAC,2BAA2B,EAAE,WAAW,CAAC;YAC1C,CAAC,wCAAwC,EAAE,oBAAoB,CAAC;YAChE,CAAC,kCAAkC,EAAE,kBAAkB,CAAC;YACxD,CAAC,6BAA6B,EAAE,aAAa,CAAC;SAC/C,CAAC;QACF,YAAY,EAAE,EAAE;QAChB,iBAAiB,EAAE,IAAI;KACxB,CAAC;;;;qDAqDD","sourcesContent":["import { RegisterComponent } from '@/common/register-component';\nimport { NylasSchedulerConfigConnector } from '@/connector/nylas-scheduler-config-connector';\nimport { debug } from '@/utils/utils';\nimport { AttachInternals, Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h } from '@stencil/core';\nimport { NylasSchedulerEditor } from '../nylas-scheduler-editor/nylas-scheduler-editor';\nimport { AdditionalParticipant, Calendar, Configuration, Participant, ThemeConfig } from '@nylas/core';\nimport i18next from '@/utils/i18n';\nimport { LANGUAGE_CODE } from '@/common/constants';\n\n/**\n * The `nylas-connected-calendars` component is a form input for selecting calendars to check availability for participants.\n * @part nccals - The connected calendars host.\n * @part nccals__header - The header.\n * @part nccals__content - The content.\n * @part nccals__container - The container.\n * @part nccals__title - The title.\n * @part nccals__toggle-container - The toggle container.\n */\n@Component({\n tag: 'nylas-connected-calendars',\n styleUrl: 'nylas-connected-calendars.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NylasConnectedCalendars {\n @Element() host!: HTMLNylasConnectedCalendarsElement;\n private connectedCalendarsFormRef!: HTMLFormElement;\n\n /**\n * The name of the participants custom availability.\n */\n @Prop() name: string = 'connected-calendars';\n\n /**\n * @standalone\n * The selected config\n */\n @Prop() selectedConfiguration?: Configuration;\n\n /**\n * @standalone\n * The participants selected in the add participants section.\n */\n @Prop() participants: Participant[] = this.selectedConfiguration?.participants || [];\n\n /**\n * @standalone\n * The calendars to choose from for the organizer / logged in user.\n */\n @Prop() calendars?: Calendar[];\n\n /**\n * @standalone\n * The participant options passed in the additionalParticipants prop\n * from the nylas-scheduler-editor component.\n */\n @Prop() participantOptions?: AdditionalParticipant[];\n\n /**\n * The selected language.\n */\n @Prop() selectedLanguage?: LANGUAGE_CODE;\n\n /**\n * @standalone\n * The theme configuration.\n */\n @Prop({ attribute: 'theme-config' }) readonly themeConfig?: ThemeConfig;\n\n /**\n * This event is fired when the participants custom availability changes.\n */\n @Event() valueChanged!: EventEmitter<{\n value: string;\n name: string;\n }>;\n\n /**\n * The element internals.\n */\n @AttachInternals() internals!: ElementInternals;\n\n /**\n * The state to store the custom availability setting for participants.\n */\n @State() selectedCalendars: {\n [key: string]: {\n isOpen: boolean;\n name: string;\n calendars?: Calendar[];\n };\n } = this.setParticipants(this.participants);\n\n /**\n * Participants calendar options.\n */\n @State() participantCalendars: {\n [key: string]: Calendar[];\n } = {};\n\n /**\n * The state to store the default selected calendars for each participant\n */\n @State() participantDefaultSelectedCalendars: {\n [key: string]: string[];\n } = {};\n\n // Watchers\n @Watch('name')\n elementNameChangedHandler(newValue: string) {\n debug('nylas-connected-calendars', 'elementNameChangedHandler', newValue);\n this.host.setAttribute('name', newValue);\n }\n\n @Watch('calendars')\n calendarsChangedHandler(newValue: Calendar[]) {\n debug('nylas-connected-calendars', 'calendarsChangedHandler', newValue);\n const participants = this.participants?.length > 0 ? this.participants : this.selectedConfiguration?.participants || [];\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, this.participantOptions);\n }\n\n @Watch('participants')\n participantsChangedHandler(newValue: Participant[]) {\n debug('nylas-connected-calendars', 'participantsChangedHandler', newValue);\n const participants = newValue?.length > 0 ? newValue : this.selectedConfiguration?.participants || [];\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, this.participantOptions);\n }\n\n @Watch('participantOptions')\n participantOptionsChangedHandler(newValue: AdditionalParticipant[]) {\n debug('nylas-calendar-picker', 'participantOptionsChangedHandler', newValue);\n const participants = this.participants?.length > 0 ? this.participants : this.selectedConfiguration?.participants || [];\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, newValue);\n }\n\n @Watch('selectedConfiguration')\n selectedConfigurationChangedHandler(newValue: Configuration) {\n debug('nylas-calendar-picker', 'selectedConfigurationChangedHandler', newValue);\n const participants = newValue?.participants || this.participants;\n if (participants && participants.length > 0) {\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, this.participantOptions);\n }\n }\n\n @Watch('selectedLanguage')\n selectedLanguageChangedHandler(newVal: LANGUAGE_CODE, oldVal: LANGUAGE_CODE) {\n if (newVal === oldVal) return;\n i18next.changeLanguage(newVal);\n }\n\n @Watch('themeConfig')\n themeConfigChangedHandler(newVal: ThemeConfig, oldVal: ThemeConfig) {\n if (newVal === oldVal) return;\n this.applyThemeConfig(newVal);\n }\n\n getParticipantCalendarOptions(addedParticipants: Participant[], availableParticipantOptions: AdditionalParticipant[] | undefined) {\n // Get the participants from the availableParticipantOptions prop that are in the addedParticipants prop\n const organizer = addedParticipants?.find(participant => participant.is_organizer);\n const isRoundRobinConfig = this.selectedConfiguration?.availability?.availability_rules?.availability_method !== 'collective';\n const participantCalendars = {};\n if (availableParticipantOptions) {\n const participants = addedParticipants?.filter(participant => availableParticipantOptions.some(availableParticipant => availableParticipant.email === participant.email));\n const remainingParticipants = addedParticipants?.filter(\n participant => !availableParticipantOptions.some(availableParticipant => availableParticipant.email === participant.email),\n );\n\n // Get the calendar options for each participant with email as the key\n participants?.forEach(participant => {\n const participantOption = availableParticipantOptions?.find(participantOption => participantOption.email === participant.email);\n if (!participantOption) return;\n this.participantDefaultSelectedCalendars[participant.email] = participant.availability?.calendar_ids || [];\n const calendars = participantOption.calendars ?? [];\n participant.availability?.calendar_ids?.forEach(calendarId => {\n if (!calendars?.some(calendar => calendar.id === calendarId) && calendarId !== 'primary') {\n calendars.push({ id: calendarId, name: calendarId });\n }\n });\n participantCalendars[participant.email] = calendars;\n });\n if (isRoundRobinConfig) {\n // If it is round robin config, add the remaining participant calendars to the participantCalendars\n // (Round-robin does not have an organizer, and we filtered out the participants not passed in the participantOptions prop,\n // so we need to add the remaining participants calendars to the participantCalendars)\n // NOTE: Only use participant's own calendar_ids as placeholders — never fall back to this.calendars\n // (the organizer's calendars) as that would be confusing / incorrect.\n remainingParticipants?.forEach(participant => {\n if (participant?.availability?.calendar_ids && participant?.availability?.calendar_ids?.length > 0 && !participant.is_organizer) {\n participantCalendars[participant.email] = participant.availability.calendar_ids.map(id => ({ id, name: id }));\n this.participantDefaultSelectedCalendars[participant.email] = participant.availability?.calendar_ids || [];\n }\n });\n }\n }\n\n // Add the organizer's calendars to the participantCalendars\n if (organizer) {\n participantCalendars[organizer.email] = this.calendars ?? [{ id: 'primary', name: organizer.email }];\n this.participantDefaultSelectedCalendars[organizer.email] = organizer.availability?.calendar_ids || [];\n }\n return participantCalendars;\n }\n\n // Lifecycle Methods\n connectedCallback() {\n debug('nylas-connected-calendars', '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 debug('nylas-connected-calendars', 'disconnectedCallback');\n }\n\n componentWillLoad() {\n debug('nylas-connected-calendars', 'componentWillLoad');\n }\n\n componentDidLoad() {\n debug('nylas-connected-calendars', 'componentDidLoad');\n if (this.selectedConfiguration) {\n this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);\n } else {\n this.selectedCalendars = this.setParticipants(this.participants);\n this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);\n }\n }\n\n componentWillRender() {\n // Safety net: if participantCalendars is empty but we have the necessary data, recompute.\n // This handles race conditions where store props arrive in an order that leaves state empty.\n const hasParticipantData = (this.selectedConfiguration?.participants?.length ?? 0) > 0 || (this.participants?.length ?? 0) > 0;\n if (Object.keys(this.participantCalendars).length === 0 && hasParticipantData) {\n const participants = this.participants?.length > 0 ? this.participants : this.selectedConfiguration?.participants || [];\n this.selectedCalendars = this.setParticipants(participants);\n this.participantCalendars = this.getParticipantCalendarOptions(participants, this.participantOptions);\n }\n }\n\n @Listen('valueChanged')\n handleValueChanged(event: CustomEvent) {\n debug('[nylas-editor-tabs]', 'handleValueChanged', event);\n const { name, value } = event.detail;\n if (!name.startsWith('participant-')) {\n return;\n }\n // Validate the form\n if (!this.connectedCalendarsFormRef.checkValidity()) {\n this.internals.setValidity({ customError: true }, i18next.t('nylasConnectedCalendars.selectAtLeastOneCalendar'));\n return;\n } else {\n this.internals.setValidity({});\n }\n\n const key = name.split('participant-')[1];\n if (!this.selectedCalendars[key]) return;\n this.selectedCalendars[key]['calendars'] = value;\n this.selectedCalendars = { ...this.selectedCalendars };\n\n const participantsCalendars = {};\n Object.keys(this.selectedCalendars).forEach(key => {\n participantsCalendars[key] = this.selectedCalendars[key].calendars;\n });\n this.internals.setFormValue(JSON.stringify(participantsCalendars), this.name);\n this.valueChanged.emit({ value: JSON.stringify(participantsCalendars), name: this.name });\n }\n\n setParticipants(participants: Participant[]) {\n const selectedParticipants = {};\n participants?.forEach(participant => {\n if (participant?.availability?.calendar_ids && participant?.availability?.calendar_ids?.length > 0) {\n const isOpen = participant.is_organizer ? true : false;\n selectedParticipants[participant.email] = {\n isOpen: isOpen,\n name: participant.name || participant.email,\n calendars: participant.availability?.calendar_ids,\n };\n }\n });\n return selectedParticipants;\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 }\n }\n }\n\n @RegisterComponent<NylasConnectedCalendars, NylasSchedulerConfigConnector, Exclude<NylasSchedulerEditor['stores'], undefined>>({\n name: 'nylas-connected-calendars',\n stateToProps: new Map([\n ['schedulerConfig.selectedConfiguration', 'selectedConfiguration'],\n ['schedulerConfig.calendars', 'calendars'],\n ['schedulerConfig.additionalParticipants', 'participantOptions'],\n ['schedulerConfig.selectedLanguage', 'selectedLanguage'],\n ['schedulerConfig.themeConfig', 'themeConfig'],\n ]),\n eventToProps: {},\n fireRegisterEvent: true,\n })\n render() {\n return (\n <Host>\n <div class=\"nylas-connected-calendars\" part=\"nccals\">\n <div class=\"header\" part=\"nccals__header\">\n <h3>{i18next.t('nylasConnectedCalendars.headerTitle')}</h3>\n <p>\n {i18next.t('nylasConnectedCalendars.headerSubTitle')}\n <tooltip-component>\n <info-icon slot=\"tooltip-icon\" />\n <span slot=\"tooltip-content\">{i18next.t('nylasConnectedCalendars.tooltip.desc')}</span>\n </tooltip-component>\n </p>\n </div>\n <div class=\"content\" part=\"nccals__content\">\n <form ref={el => (this.connectedCalendarsFormRef = el as HTMLFormElement)}>\n {Object.keys(this.participantCalendars).map((key, index) => {\n const participant = this.selectedCalendars[key];\n const participantCalendars = this.participantCalendars[key];\n if (!participant || !participant.name) return;\n return (\n <div class=\"participant-container\" part=\"nccals__container\" key={`participant-conatiner-${index}`}>\n <div class=\"participant-title\" part=\"nccals__title\">\n <p>{i18next.t('nylasConnectedCalendars.participantCalendarTitle', { participantName: participant.name })}</p>\n <div class=\"participant-toggle\" part=\"nccals__toggle-container\">\n <span\n class={`chevron ${participant.isOpen ? 'open' : 'closed'}`}\n onClick={() => {\n this.selectedCalendars[key].isOpen = !participant.isOpen;\n this.selectedCalendars = { ...this.selectedCalendars };\n }}\n >\n <chevron-icon width=\"24\" height=\"24\" />\n </span>\n </div>\n </div>\n {participant.isOpen && (\n <nylas-calendar-picker\n key={key}\n name={`participant-${key}`}\n calendars={participantCalendars}\n defaultSelectedCalendars={this.participantDefaultSelectedCalendars[key]}\n />\n )}\n </div>\n );\n })}\n </form>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -54,7 +54,7 @@ export class NylasCustomBookingFlow {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'f2e21d79f022d208000a7e8f8abcd9ff53b6a68d', part: "ncbflow" }, h("nylas-form-card", { key: 'd0012d352b5483313b748a603c3f30a54a00b740', exportparts: "nfc__header: ncbflow__header" }, h("h1", { key: 'f67f1708e0febe94dcb1370c2e5fc4e2c7b04f34', slot: "header-title", class: "nylas-custom-booking-flow__title", part: "ncbflow__title" }, i18next.t('nylasCustomBookingFlow.headerTitle')), h("div", { key: 'e8e990b632ae884ced8f8f53d3bd50fa51a8209d', slot: "content", class: "nylas-custom-booking-flow__content", part: "ncbflow__content" }, h("slot", { key: 'c67dafd51e63ae89df8461b97942d9e2d1c28e80', name: "inputs" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "nylas-custom-booking-flow"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,7 +133,7 @@ export class NylasCustomizeBookingSettings {
|
|
|
133
133
|
render() {
|
|
134
134
|
const showComponent = typeof this.hideCancellationOptions === 'boolean' && typeof this.hideReschedulingOptions === 'boolean' && typeof this.allowGuestsToInvite === 'boolean';
|
|
135
135
|
const showHideAdditionalGuests = this.showSettings.includes('allowGuestsToInvite');
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '08eb5b8b8b1b583f005015e8c18a65d82b9d8b5d' }, showComponent && (h("div", { key: '63603e57c0bdbbd0488600cdaa55233e720bd096', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: '66c8d2524f2931fe58bcaab145648b2234b75d2c', class: "header", part: "ncbs__header" }, h("h3", { key: '2073fd0b9cf1d74f27b9ce395f8e5e9d0b3137f0' }, i18next.t('nylasCustomizeBookingSettings.headerTitle')), h("p", { key: '6588da15f6091e8d017635235317155df4e475df' }, i18next.t('nylasCustomizeBookingSettings.headerSubTitle'))), h("div", { key: '1848a23e1f4a2a6ca34e1f45fb1f5a9694064ba4', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, showHideAdditionalGuests && (h("div", { key: '8febba5c19ce2fd56046a80ea367a7524401e8c0', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: '12f04a1e2122c87346920917dffb7ad2893c7acc', name: "hide_additional_guests", label: i18next.t('nylasCustomizeBookingSettings.allowGuests.label'), checked: this.allowGuestsToInvite, themeConfig: this.themeConfig }, h("span", { key: '0e51bf76ea4fd34c8bf2c558fdf4b9e843c96913', slot: "label", class: "label" }, h("p", { key: '249c7863fc1a59fe47b2811d1295c94fbba4ae02', class: "label-contents" }, i18next.t('nylasCustomizeBookingSettings.allowGuests.label', { interpolation: { escapeValue: false, escape: s => `${s}`, useRawValueToEscape: true } })))))), h("div", { key: 'a3ee80cb200ad463625ebc651356a1821404d94a', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: '7a0b4228b406d0991d2c6c42eb0acd5c35fd00ea', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions, themeConfig: this.themeConfig }, h("span", { key: '7c96f2eb6f5877b0b2588cb7476dd8a90b06adb8', slot: "label", class: "label" }, h("p", { key: 'a6a96b2b4bd76674ff8eb7b9e0fd5c401239c04d', class: "label-contents" }, i18next.t('nylasCustomizeBookingSettings.hideReschedule.label')), h("tooltip-component", { key: '1e15a66755f9c3c6f0ca792f7e705c5e7e60f85f', id: "reschedule" }, h("info-icon", { key: '2d49bd7cffaeb87ac7c29deee6c058b1db2cc409', slot: "tooltip-icon" }), h("span", { key: '5630e711342c35d55b2fe7c4ab0302fc63661461', slot: "tooltip-content" }, i18next.t('nylasCustomizeBookingSettings.hideReschedule.tooltip.desc')))))), h("div", { key: 'f63fe5eeeca037bcb235cef190a3d22156aa3fe8', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: 'c9e8c65e9244fc00027af4fe2031133a0851b5f4', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions, themeConfig: this.themeConfig }, h("span", { key: 'a42274e102788184d4eaad1ad3793ad15319d6f5', slot: "label", class: "label" }, h("p", { key: '23db56be47120c837d843f60f34b34454671e9b1', class: "label-contents" }, i18next.t('nylasCustomizeBookingSettings.hideCancel.label')), h("tooltip-component", { key: '761d4885f89f020501aefcb4754e4c5234c76a59', id: "cancel" }, h("info-icon", { key: '19d68cd40078ce0cbc259563c113b2117317bfae', slot: "tooltip-icon" }), h("span", { key: '18e756849780db95c78d7ef627f706424d3b7a4d', slot: "tooltip-content" }, i18next.t('nylasCustomizeBookingSettings.hideCancel.tooltip.desc')))))))))));
|
|
137
137
|
}
|
|
138
138
|
static get is() { return "nylas-customize-booking-settings"; }
|
|
139
139
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-disable-emails/nylas-disable-emails.js
CHANGED
|
@@ -121,7 +121,7 @@ export class NylasDisableEmails {
|
|
|
121
121
|
const disableEmails = isGroupConfig
|
|
122
122
|
? this.selectedConfiguration?.group_booking?.disable_emails
|
|
123
123
|
: this.selectedConfiguration?.event_booking?.disable_emails;
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '07d3d5275ab14deec818fdb6ff6b4b2f0f5e078d' }, h("div", { key: '4dbcb650e58678f861e3e82832437b0af8363cc0', class: "nylas-disable-emails", part: "nde" }, h("div", { key: 'd491e0bcefd4e37df85b94bfd46d0e0f3ea2bf37', class: "header", part: "nde__header" }, h("div", { key: 'ace1707c84e6665d71ab6663e697bf80067a9ac3' }, h("h3", { key: 'e40280e96aaa289876d53e0c1981d2915ff7c8e8' }, i18next.t('eventCommunicationsTitle')), h("p", { key: '5036ab68f60a9d499bc3b3c95a3924a4ae482f9c' }, i18next.t('eventCommunicationsDescription')))), h("div", { key: '9561d7c3848271d7ee091d2646e6f246ccc7ff8d', class: "content", part: "nde__content" }, h("div", { key: 'bb4911d8bf5f85fa5a9932f100ecf4a091de1244', class: "toggle", part: "nde__toggle" }, h("label", { key: '6088d4450e82cdfd40674f9a6a53ca805a29e4c7' }, i18next.t('nylasConfirmationEmail.confirmationEmail.label'), h("span", { key: '09bf3e473a52f345d8b2df81b051ccfe4b4cc10d', class: "label-icon" }, h("tooltip-component", { key: 'b149d5a6af28aea73736e578d2d3915d83f9e61a' }, h("info-icon", { key: '84cba6873caed5ec1fccbd2edfa9290f64f2627f', slot: "tooltip-icon" }), h("span", { key: '06fc53c0d26e06316187161abb56fade55726207', slot: "tooltip-content" }, " ", i18next.t('nylasConfirmationEmail.confirmationEmail.tooltip.desc'))))), h("toggle-switch", { key: '42af0697188bc05712a5438eb085fada2792df59', exportparts: "ts_label: nde__toggle-label, ts_input: nde_toggle-input, ts_slider: nde_toggle-slider", name: `disable-emails`, checked: !disableEmails, themeConfig: this.themeConfig })), h("div", { key: 'f94628394451dcf34e326c208a53ebea030e2973', class: "toggle", part: "nde__toggle" }, h("label", { key: '8a803d4c8a217bd2e60fb36e5139a4a4e250046a' }, i18next.t('nylasConfirmationEmail.confirmationEmail.language'), h("span", { key: '3a32a67e2a1e876a579d432f2dce2128f32fdb4b', class: "label-icon" }, h("tooltip-component", { key: 'aa4cdae80a58ec09cc5f5845fa33143910ef3cbc' }, h("info-icon", { key: 'c4bbbaa334eff483a6f054c0ea639d5fb47699c2', slot: "tooltip-icon" }), h("span", { key: '004af4410de6e2d48b70b1ab06c7f50f1defcb01', slot: "tooltip-content" }, " ", i18next.t('nylasConfirmationEmail.confirmationEmail.tooltip.language'))))), h("select-dropdown", { key: 'c5e1f889cb730389dc16ab64ee7684bb40184885', name: "organizer-locale", options: languageOptions, searchPlaceholder: i18next.t('search'), withChevron: false, defaultSelectedOption: languageOptions.find(lang => lang.value == this.organizerLocale), themeConfig: this.themeConfig, exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, h("span", { key: 'dd5bf53fc73c7fbce2bdfbb9d550425cdb1e1c3a', slot: "select-icon" }, h("translate-icon", { key: 'a48c87064392b990b9c32693a9a7ac57ad84e1d7', width: "20", height: "20" }))))))));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "nylas-disable-emails"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -457,9 +457,9 @@ export class NylasEditorTabs {
|
|
|
457
457
|
getFormStateFromConfig(config) {
|
|
458
458
|
let organizerParticipant = config?.participants?.find(p => p.is_organizer);
|
|
459
459
|
if (!organizerParticipant && config?.availability?.availability_rules?.availability_method !== 'collective') {
|
|
460
|
-
|
|
461
|
-
if (
|
|
462
|
-
organizerParticipant
|
|
460
|
+
const matched = config?.participants?.find(p => p.email === this.currentUser?.email);
|
|
461
|
+
if (matched) {
|
|
462
|
+
organizerParticipant = { ...matched, is_organizer: true };
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
if (config?.appearance) {
|
|
@@ -478,7 +478,9 @@ export class NylasEditorTabs {
|
|
|
478
478
|
additionalFields: config?.scheduler?.additional_fields ?? {},
|
|
479
479
|
conferencing: config?.event_booking?.conferencing ?? {},
|
|
480
480
|
calendarIds: organizerParticipant?.availability?.calendar_ids ?? [],
|
|
481
|
-
participants:
|
|
481
|
+
participants: organizerParticipant
|
|
482
|
+
? (config?.participants ?? []).map(p => (p.email === organizerParticipant.email ? { ...p, is_organizer: true } : p))
|
|
483
|
+
: config?.participants ?? [],
|
|
482
484
|
bookingCalendar: organizerParticipant?.booking?.calendar_id ?? organizerParticipant?.email ?? '',
|
|
483
485
|
location: config?.event_booking?.location ?? '',
|
|
484
486
|
bookingType: config?.event_booking?.booking_type ?? 'booking',
|
|
@@ -681,10 +683,10 @@ export class NylasEditorTabs {
|
|
|
681
683
|
}
|
|
682
684
|
render() {
|
|
683
685
|
debug('[nylas-editor-tabs]', 'render', this.formState);
|
|
684
|
-
return (h(Host, { key: '
|
|
686
|
+
return (h(Host, { key: '3208f39a508ec43ac747af3d983b5c8a1cded53f' }, h("nylas-notification", { key: '70f0482be4f65c4c32a58c6f02fe6fa142d5d529' }), h("form", { key: '4832611c1a0cf626d85d8fcb23ceeac210bb9f1e', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, 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) }, h("calendar-info-icon", { width: "16", height: "16" }), i18next.t('eventInfoTab')), 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) }, h("calendar-patterns-icon", { width: "16", height: "16" }), i18next.t('availabilityTab')), 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) }, h("people-icon", { width: "16", height: "16" }), i18next.t('participantsTab')), 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) }, h("flow-icon", { width: "16", height: "16" }), i18next.t('bookingOptionsTab')), 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 ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), i18next.t('bookingFormTab')), 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 ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), i18next.t('communicationsTab')), 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 ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), i18next.t('pageStylesTab'))), h("div", { class: {
|
|
685
687
|
'tab-content': true,
|
|
686
688
|
'fadeIn': this.loaded,
|
|
687
|
-
}, part: "editor__tab-content net__tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: i18next, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '
|
|
689
|
+
}, part: "editor__tab-content net__tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: i18next, enableNotetaker: this.enableNotetaker, themeConfig: this.themeConfig })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '6395ba71baac9231cc611c3115e2b187ba1e2f5b', class: "footer", part: "editor__footer net__footer" }, h("div", { key: '158ec85efe1ff775b6ff1574169c0a44830f2d6d', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: '398f3f661a6f184fdb6ba96e9fb6449bddc99d15', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: 'fad84a1e271d43f6ffc1e664c6675ab285dfe18f' })))), h("div", { key: 'cffb8a1998ac6e4f79f27dbe19257b4196617a30', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: 'ee018e6bbb188351e318827fa36f59551aa65b17', class: {
|
|
688
690
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
689
691
|
'saved-changes': this.changesSaved,
|
|
690
692
|
'error': this.error?.message !== '',
|
|
@@ -693,17 +695,17 @@ export class NylasEditorTabs {
|
|
|
693
695
|
? i18next.t('unsavedChangesLabel')
|
|
694
696
|
: this.error?.message == '' && this.changesSaved
|
|
695
697
|
? `${i18next.t('changesSavedLabel')}!`
|
|
696
|
-
: ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '
|
|
698
|
+
: ''), this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '761c4ecdd4d3ac357435ddbe2d557f39f32ac350', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
697
699
|
event.preventDefault();
|
|
698
700
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
699
701
|
if (!previewEvent.defaultPrevented) {
|
|
700
702
|
window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
701
703
|
}
|
|
702
|
-
}, variant: 'basic' }, h("eye-icon", { key: '
|
|
704
|
+
}, variant: 'basic' }, h("eye-icon", { key: 'cf193804e171684c2ce74591b33020201c9de6d1' }))), h("button-component", { key: 'ac74133a700d9d8fae4a36abb1778bf05dd6cf16', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
703
705
|
event.preventDefault();
|
|
704
706
|
this.cancelButtonClick.emit();
|
|
705
707
|
this.host.resetError();
|
|
706
|
-
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, i18next.t('cancelButton')), h("button-component", { key: '
|
|
708
|
+
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, i18next.t('cancelButton')), h("button-component", { key: 'd7e08001521858b54eef4dc3eab8351b9561e7c9', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? (h("span", null, i18next.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${i18next.t('createButtonText')}`) : (`${i18next.t('saveChangesButtonText')}`))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '05623c3de244b590970d3d416f24054affeef2f3' })));
|
|
707
709
|
}
|
|
708
710
|
static get is() { return "nylas-editor-tabs"; }
|
|
709
711
|
static get encapsulation() { return "scoped"; }
|