@nylas/web-elements 1.1.0-canary.21 → 1.1.0-canary.22
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/cjs/add-circle-icon.cjs.entry.js +1 -1
- 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/archive-icon_7.cjs.entry.js +7 -7
- package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/button-component.cjs.entry.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_40.cjs.entry.js +47 -47
- package/dist/cjs/calendar-agenda-icon.cjs.entry.js +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-check-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-info-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-patterns-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component_2.cjs.entry.js +2 -2
- package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkmark-icon.cjs.entry.js +1 -1
- package/dist/cjs/chevron-icon.cjs.entry.js +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/clock-icon.cjs.entry.js +1 -1
- package/dist/cjs/clock-icon_4.cjs.entry.js +4 -4
- package/dist/cjs/close-icon.cjs.entry.js +1 -1
- package/dist/cjs/copy-icon.cjs.entry.js +1 -1
- package/dist/cjs/copy-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/delete-icon.cjs.entry.js +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/dragable-icon.cjs.entry.js +1 -1
- package/dist/cjs/edit-icon.cjs.entry.js +1 -1
- package/dist/cjs/envelope-fill-icon.cjs.entry.js +1 -1
- package/dist/cjs/envelope-icon.cjs.entry.js +1 -1
- package/dist/cjs/eye-icon.cjs.entry.js +1 -1
- package/dist/cjs/flow-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/forward-icon_6.cjs.entry.js +7 -7
- package/dist/cjs/globe-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +6 -6
- package/dist/cjs/google-meet-icon.cjs.entry.js +1 -1
- package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
- package/dist/cjs/info-icon.cjs.entry.js +1 -1
- package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/italic-icon.cjs.entry.js +1 -1
- package/dist/cjs/loading-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
- package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
- package/dist/cjs/microsoft-teams-icon.cjs.entry.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/nylas-additional-participants.cjs.entry.js +2 -2
- package/dist/cjs/nylas-availability-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +19 -18
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form-config.cjs.entry.js +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +13 -12
- package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
- package/dist/cjs/nylas-confirmation-email.cjs.entry.js +1 -1
- package/dist/cjs/nylas-connected-calendars.cjs.entry.js +1 -1
- package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
- package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +4 -4
- package/dist/cjs/nylas-event-description.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-duration.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-location.cjs.entry.js +6 -6
- package/dist/cjs/nylas-event-title.cjs.entry.js +2 -2
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
- package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
- package/dist/cjs/nylas-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-booking-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-notification.cjs.entry.js +1 -1
- package/dist/cjs/nylas-participant-booking-calendars.cjs.entry.js +1 -1
- package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js +1 -1
- package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
- package/dist/cjs/nylas-reminder-emails.cjs.entry.js +3 -3
- package/dist/cjs/nylas-reminder-time.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +1 -2
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js +2 -2
- package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
- package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
- package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
- package/dist/cjs/people-icon.cjs.entry.js +1 -1
- package/dist/cjs/person-clipboard-icon.cjs.entry.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/play-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/plus-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/search-icon.cjs.entry.js +1 -1
- package/dist/cjs/select-dropdown.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/time-period-selector.cjs.entry.js +1 -1
- package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/tooltip-component.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/trash-icon.cjs.entry.js +1 -1
- package/dist/cjs/underline-icon.cjs.entry.js +1 -1
- package/dist/cjs/warning-icon.cjs.entry.js +1 -1
- package/dist/cjs/zoom-icon.cjs.entry.js +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/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/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/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/multi-select-dropdown/multi-select-dropdown.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 +1 -1
- 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 +1 -1
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
- package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
- package/dist/collection/components/nylas-login/nylas-login.js +1 -1
- package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +13 -12
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +97 -0
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -2
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js +0 -12
- package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +1 -1
- 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 +1 -1
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +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-editor-tabs/nylas-editor-tabs.js +4 -4
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.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 +6 -6
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +2 -2
- 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-participant-booking-calendars/nylas-participant-booking-calendars.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +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 +1 -1
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
- package/dist/components/add-circle.js +1 -1
- package/dist/components/archive.js +1 -1
- package/dist/components/arrow.js +1 -1
- package/dist/components/bold.js +1 -1
- package/dist/components/button-component2.js +1 -1
- package/dist/components/calendar-agenda-fill.js +1 -1
- package/dist/components/calendar-agenda.js +1 -1
- package/dist/components/calendar-cancel.js +1 -1
- package/dist/components/calendar-check.js +1 -1
- package/dist/components/calendar-info.js +1 -1
- package/dist/components/calendar-patterns.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkbox-component2.js +1 -1
- package/dist/components/checkmark-circle.js +1 -1
- package/dist/components/checkmark-icon.js +1 -1
- package/dist/components/chevron.js +1 -1
- package/dist/components/clock.js +1 -1
- package/dist/components/close.js +1 -1
- package/dist/components/copy.js +1 -1
- package/dist/components/delete.js +1 -1
- package/dist/components/document-refresh-icon.js +1 -1
- package/dist/components/dragable.js +1 -1
- package/dist/components/edit.js +1 -1
- package/dist/components/envelope-fill.js +1 -1
- package/dist/components/envelope.js +1 -1
- package/dist/components/eye.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder.js +1 -1
- package/dist/components/forward.js +1 -1
- package/dist/components/globe.js +1 -1
- package/dist/components/google-logo.js +1 -1
- package/dist/components/google-meet.js +1 -1
- package/dist/components/inbox.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/input-component2.js +1 -1
- package/dist/components/input-dropdown2.js +1 -1
- package/dist/components/italic.js +1 -1
- package/dist/components/loading.js +1 -1
- package/dist/components/location-off.js +1 -1
- package/dist/components/location.js +1 -1
- package/dist/components/microsof-teams.js +1 -1
- package/dist/components/microsoft-logo.js +1 -1
- package/dist/components/multi-select-dropdown2.js +1 -1
- package/dist/components/nylas-additional-participants2.js +2 -2
- package/dist/components/nylas-availability-picker2.js +1 -1
- package/dist/components/nylas-booking-form-config2.js +1 -1
- package/dist/components/nylas-booking-form2.js +13 -12
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +1 -1
- package/dist/components/nylas-cancellation-policy2.js +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +1 -1
- package/dist/components/nylas-composer2.js +1 -1
- package/dist/components/nylas-confirmation-email2.js +1 -1
- package/dist/components/nylas-connected-calendars2.js +1 -1
- package/dist/components/nylas-custom-booking-flow.js +1 -1
- package/dist/components/nylas-customize-booking-settings2.js +1 -1
- package/dist/components/nylas-editor-tabs2.js +4 -4
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-duration2.js +1 -1
- package/dist/components/nylas-event-info2.js +1 -1
- package/dist/components/nylas-event-limits2.js +1 -1
- package/dist/components/nylas-event-location2.js +6 -6
- package/dist/components/nylas-event-title2.js +2 -2
- package/dist/components/nylas-form-card2.js +1 -1
- package/dist/components/nylas-if-state.js +1 -1
- package/dist/components/nylas-limit-future-bookings2.js +1 -1
- package/dist/components/nylas-list-folders.js +1 -1
- package/dist/components/nylas-list-threads.js +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/components/nylas-mailbox.js +1 -1
- package/dist/components/nylas-min-booking-notice2.js +1 -1
- package/dist/components/nylas-min-cancellation-notice2.js +1 -1
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-participant-booking-calendars2.js +1 -1
- package/dist/components/nylas-participants-custom-availability2.js +1 -1
- package/dist/components/nylas-provider.js +1 -1
- package/dist/components/nylas-reminder-emails2.js +3 -3
- package/dist/components/nylas-reminder-time2.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +1 -1
- package/dist/components/nylas-scheduling.js +1 -2
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +2 -2
- package/dist/components/nylas-summarize-message-button2.js +2 -2
- package/dist/components/nylas-threads-refresh.js +2 -2
- package/dist/components/nylas-threads-search.js +1 -1
- package/dist/components/nylas-time-window-picker2.js +1 -1
- package/dist/components/nylas-timeslot-interval2.js +2 -2
- package/dist/components/nylas-view-email2.js +1 -1
- package/dist/components/nylas-view-thread.js +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/person-clipboard.js +1 -1
- package/dist/components/person.js +1 -1
- package/dist/components/play.js +1 -1
- package/dist/components/plus.js +1 -1
- package/dist/components/radio-button-group2.js +1 -1
- package/dist/components/refresh.js +1 -1
- package/dist/components/reply-all.js +1 -1
- package/dist/components/reply.js +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +1 -1
- package/dist/components/sent.js +1 -1
- package/dist/components/spam.js +1 -1
- package/dist/components/star.js +1 -1
- package/dist/components/stop.js +1 -1
- package/dist/components/textarea-component2.js +1 -1
- package/dist/components/time-period-selector2.js +1 -1
- package/dist/components/toggle-switch2.js +1 -1
- package/dist/components/toolitp-component.js +1 -1
- package/dist/components/translate.js +1 -1
- package/dist/components/trash-fill.js +1 -1
- package/dist/components/trash.js +1 -1
- package/dist/components/underline.js +1 -1
- package/dist/components/warning.js +1 -1
- package/dist/components/zoom.js +1 -1
- package/dist/esm/add-circle-icon.entry.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/archive-icon_7.entry.js +7 -7
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/bold-icon_3.entry.js +3 -3
- package/dist/esm/button-component.entry.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon.entry.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon_40.entry.js +47 -47
- package/dist/esm/calendar-agenda-icon.entry.js +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-check-icon_2.entry.js +2 -2
- package/dist/esm/calendar-icon.entry.js +1 -1
- package/dist/esm/calendar-info-icon.entry.js +1 -1
- package/dist/esm/calendar-patterns-icon.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js +1 -1
- package/dist/esm/checkbox-component_2.entry.js +2 -2
- package/dist/esm/checkmark-circle-icon.entry.js +1 -1
- package/dist/esm/checkmark-icon.entry.js +1 -1
- package/dist/esm/chevron-icon.entry.js +1 -1
- package/dist/esm/chevron-icon_3.entry.js +3 -3
- package/dist/esm/clock-icon.entry.js +1 -1
- package/dist/esm/clock-icon_4.entry.js +4 -4
- package/dist/esm/close-icon.entry.js +1 -1
- package/dist/esm/copy-icon.entry.js +1 -1
- package/dist/esm/copy-icon_3.entry.js +3 -3
- package/dist/esm/delete-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/dragable-icon.entry.js +1 -1
- package/dist/esm/edit-icon.entry.js +1 -1
- package/dist/esm/envelope-fill-icon.entry.js +1 -1
- package/dist/esm/envelope-icon.entry.js +1 -1
- package/dist/esm/eye-icon.entry.js +1 -1
- package/dist/esm/flow-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/forward-icon_6.entry.js +7 -7
- package/dist/esm/globe-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +6 -6
- package/dist/esm/google-meet-icon.entry.js +1 -1
- package/dist/esm/inbox-icon.entry.js +1 -1
- package/dist/esm/info-icon.entry.js +1 -1
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown.entry.js +1 -1
- package/dist/esm/italic-icon.entry.js +1 -1
- package/dist/esm/loading-icon.entry.js +1 -1
- package/dist/esm/location-icon.entry.js +1 -1
- package/dist/esm/location-off-icon.entry.js +1 -1
- package/dist/esm/microsoft-logo-icon.entry.js +1 -1
- package/dist/esm/microsoft-teams-icon.entry.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/nylas-additional-participants.entry.js +2 -2
- package/dist/esm/nylas-availability-picker.entry.js +1 -1
- package/dist/esm/nylas-booked-event-card_10.entry.js +19 -18
- package/dist/esm/nylas-booked-event-card_10.entry.js.map +1 -1
- package/dist/esm/nylas-booking-form-config.entry.js +1 -1
- package/dist/esm/nylas-booking-form.entry.js +13 -12
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-cancel-booking-form.entry.js +1 -1
- package/dist/esm/nylas-cancellation-policy.entry.js +1 -1
- package/dist/esm/nylas-cancelled-event-card.entry.js +1 -1
- package/dist/esm/nylas-composer.entry.js +1 -1
- package/dist/esm/nylas-confirmation-email.entry.js +1 -1
- package/dist/esm/nylas-connected-calendars.entry.js +1 -1
- package/dist/esm/nylas-custom-booking-flow.entry.js +1 -1
- package/dist/esm/nylas-customize-booking-settings.entry.js +1 -1
- package/dist/esm/nylas-editor-tabs.entry.js +4 -4
- package/dist/esm/nylas-event-description.entry.js +1 -1
- package/dist/esm/nylas-event-duration.entry.js +1 -1
- package/dist/esm/nylas-event-info.entry.js +1 -1
- package/dist/esm/nylas-event-limits.entry.js +1 -1
- package/dist/esm/nylas-event-location.entry.js +6 -6
- package/dist/esm/nylas-event-title.entry.js +2 -2
- package/dist/esm/nylas-form-card.entry.js +1 -1
- package/dist/esm/nylas-if-state.entry.js +1 -1
- package/dist/esm/nylas-limit-future-bookings.entry.js +1 -1
- package/dist/esm/nylas-list-folders.entry.js +1 -1
- package/dist/esm/nylas-list-threads.entry.js +1 -1
- package/dist/esm/nylas-login.entry.js +1 -1
- package/dist/esm/nylas-logo.entry.js +1 -1
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +1 -1
- package/dist/esm/nylas-mailbox.entry.js +1 -1
- package/dist/esm/nylas-min-booking-notice.entry.js +1 -1
- package/dist/esm/nylas-min-cancellation-notice.entry.js +1 -1
- package/dist/esm/nylas-notification.entry.js +1 -1
- package/dist/esm/nylas-participant-booking-calendars.entry.js +1 -1
- package/dist/esm/nylas-participants-custom-availability.entry.js +1 -1
- package/dist/esm/nylas-provider.entry.js +1 -1
- package/dist/esm/nylas-reminder-emails.entry.js +3 -3
- package/dist/esm/nylas-reminder-time.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +1 -2
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-selected-event-card.entry.js +2 -2
- package/dist/esm/nylas-summarize-message-button.entry.js +2 -2
- package/dist/esm/nylas-threads-refresh.entry.js +2 -2
- package/dist/esm/nylas-threads-search.entry.js +1 -1
- package/dist/esm/nylas-time-window-picker.entry.js +1 -1
- package/dist/esm/nylas-timeslot-interval.entry.js +2 -2
- package/dist/esm/nylas-view-email.entry.js +1 -1
- package/dist/esm/nylas-view-thread.entry.js +1 -1
- package/dist/esm/people-icon.entry.js +1 -1
- package/dist/esm/person-clipboard-icon.entry.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/play-icon_2.entry.js +2 -2
- package/dist/esm/plus-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/search-icon.entry.js +1 -1
- package/dist/esm/select-dropdown.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/time-period-selector.entry.js +1 -1
- package/dist/esm/toggle-switch.entry.js +1 -1
- package/dist/esm/tooltip-component.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/trash-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/esm/warning-icon.entry.js +1 -1
- package/dist/esm/zoom-icon.entry.js +1 -1
- package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
- package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
- package/dist/nylas-web-elements/button-component.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-agenda-fill-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-agenda-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
- package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/checkmark-icon.entry.js +1 -1
- package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
- package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
- package/dist/nylas-web-elements/close-icon.entry.js +1 -1
- package/dist/nylas-web-elements/copy-icon.entry.js +1 -1
- package/dist/nylas-web-elements/delete-icon.entry.js +1 -1
- package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/dragable-icon.entry.js +1 -1
- package/dist/nylas-web-elements/edit-icon.entry.js +1 -1
- package/dist/nylas-web-elements/envelope-fill-icon.entry.js +1 -1
- package/dist/nylas-web-elements/envelope-icon.entry.js +1 -1
- package/dist/nylas-web-elements/eye-icon.entry.js +1 -1
- package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
- package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
- package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
- package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/google-meet-icon.entry.js +1 -1
- package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
- package/dist/nylas-web-elements/info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/input-component.entry.js +1 -1
- package/dist/nylas-web-elements/input-dropdown.entry.js +1 -1
- package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
- package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/microsoft-teams-icon.entry.js +1 -1
- package/dist/nylas-web-elements/multi-select-dropdown.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-booking-form-config.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +13 -12
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-composer.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-confirmation-email.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-connected-calendars.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-event-description.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-event-duration.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-event-info.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-event-limits.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-event-location.entry.js +6 -6
- package/dist/nylas-web-elements/nylas-event-title.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-form-card.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-if-state.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-list-folders.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-list-threads.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-login.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-mailbox.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-notification.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-participant-booking-calendars.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-provider.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-reminder-emails.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-reminder-time.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +1 -2
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-threads-search.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-email.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-view-thread.entry.js +1 -1
- package/dist/nylas-web-elements/p-05e39cc3.entry.js +2 -0
- package/dist/nylas-web-elements/p-05e39cc3.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-267298be.entry.js → p-1376856a.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3fcbf72c.entry.js → p-21b11e12.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-65a72779.entry.js → p-21c22d6b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6b436dc0.entry.js → p-25bfc579.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-5a74c002.entry.js → p-3c20895b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-aad0a4e0.entry.js → p-3e440355.entry.js} +2 -2
- package/dist/nylas-web-elements/p-40afc7f8.entry.js +2 -0
- package/dist/nylas-web-elements/{p-3b8efec1.entry.js → p-41e8c881.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d3d9c339.entry.js → p-45f5ed7b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-22216c9c.entry.js → p-49116da4.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-aeb1c91c.entry.js → p-4caadf7d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-5f2fd4c8.entry.js → p-4da8b3e6.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-58b793cc.entry.js → p-52ca89b1.entry.js} +2 -2
- package/dist/nylas-web-elements/p-54440d49.entry.js +2 -0
- package/dist/nylas-web-elements/{p-db61ce3f.entry.js → p-573b8b1c.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d8d5ce83.entry.js → p-59ddd93e.entry.js} +2 -2
- package/dist/nylas-web-elements/p-6cdcb5c5.entry.js +2 -0
- package/dist/nylas-web-elements/{p-0b146757.entry.js → p-73cd5b64.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-7b159320.entry.js → p-75e3d536.entry.js} +2 -2
- package/dist/nylas-web-elements/p-75e3d536.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-cffd8f8a.entry.js → p-7823abda.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0dccf179.entry.js → p-8b0d995a.entry.js} +2 -2
- package/dist/nylas-web-elements/p-8b3c038d.entry.js +2 -0
- package/dist/nylas-web-elements/{p-22589c52.entry.js.map → p-8b3c038d.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-fc81327c.entry.js → p-8c6189fe.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-73da3bba.entry.js → p-933a3100.entry.js} +2 -2
- package/dist/nylas-web-elements/p-96de6e60.entry.js +2 -0
- package/dist/nylas-web-elements/{p-3f26a5a9.entry.js → p-9be6a822.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-71cac380.entry.js → p-9d448cd8.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-166264ec.entry.js → p-a448a489.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a623d19d.entry.js +2 -0
- package/dist/nylas-web-elements/{p-3b281401.entry.js → p-ace74b9d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3f435fab.entry.js → p-b0290025.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-48ea33c2.entry.js → p-b0eead31.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d4ac4479.entry.js → p-b3703373.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-02dc4d26.entry.js → p-b60d1957.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-43a90942.entry.js → p-ba22f183.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-82176388.entry.js → p-bbfd0f84.entry.js} +2 -2
- package/dist/nylas-web-elements/p-c08d3e18.entry.js +2 -0
- package/dist/nylas-web-elements/{p-c9c0016c.entry.js → p-c6b5a68e.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-3aac9127.entry.js → p-c76721e7.entry.js} +2 -2
- package/dist/nylas-web-elements/p-c8f29351.entry.js +2 -0
- package/dist/nylas-web-elements/{p-e66bdd53.entry.js → p-d876a7db.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3175cae0.entry.js → p-ea7d26ba.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c58f8acf.entry.js → p-f3002df2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-280fc86a.entry.js → p-f62ed669.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-89c7feab.entry.js → p-fb20f8a1.entry.js} +2 -2
- package/dist/nylas-web-elements/people-icon.entry.js +1 -1
- package/dist/nylas-web-elements/person-clipboard-icon.entry.js +1 -1
- package/dist/nylas-web-elements/person-icon.entry.js +1 -1
- package/dist/nylas-web-elements/play-icon.entry.js +1 -1
- package/dist/nylas-web-elements/plus-icon.entry.js +1 -1
- package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
- package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
- package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
- package/dist/nylas-web-elements/search-icon.entry.js +1 -1
- package/dist/nylas-web-elements/select-dropdown.entry.js +1 -1
- package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
- package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
- package/dist/nylas-web-elements/star-icon.entry.js +1 -1
- package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
- package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
- package/dist/nylas-web-elements/time-period-selector.entry.js +1 -1
- package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
- package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
- package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
- package/dist/nylas-web-elements/trash-fill-icon.entry.js +1 -1
- package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
- package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
- package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
- package/dist/nylas-web-elements/zoom-icon.entry.js +1 -1
- package/dist/types/components.d.ts +8 -0
- package/package.json +2 -2
- package/dist/nylas-web-elements/p-000e308f.entry.js +0 -2
- package/dist/nylas-web-elements/p-000e308f.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-22589c52.entry.js +0 -2
- package/dist/nylas-web-elements/p-3d2df022.entry.js +0 -2
- package/dist/nylas-web-elements/p-5ce76be4.entry.js +0 -2
- package/dist/nylas-web-elements/p-7b159320.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-8a9579b5.entry.js +0 -2
- package/dist/nylas-web-elements/p-9068fc82.entry.js +0 -2
- package/dist/nylas-web-elements/p-90817d1f.entry.js +0 -2
- package/dist/nylas-web-elements/p-fb5f1ec6.entry.js +0 -2
- package/dist/nylas-web-elements/p-fe270fee.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-267298be.entry.js.map → p-1376856a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3fcbf72c.entry.js.map → p-21b11e12.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-65a72779.entry.js.map → p-21c22d6b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6b436dc0.entry.js.map → p-25bfc579.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5a74c002.entry.js.map → p-3c20895b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-aad0a4e0.entry.js.map → p-3e440355.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5ce76be4.entry.js.map → p-40afc7f8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3b8efec1.entry.js.map → p-41e8c881.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d3d9c339.entry.js.map → p-45f5ed7b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-22216c9c.entry.js.map → p-49116da4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-aeb1c91c.entry.js.map → p-4caadf7d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5f2fd4c8.entry.js.map → p-4da8b3e6.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-58b793cc.entry.js.map → p-52ca89b1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fe270fee.entry.js.map → p-54440d49.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-db61ce3f.entry.js.map → p-573b8b1c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d8d5ce83.entry.js.map → p-59ddd93e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-90817d1f.entry.js.map → p-6cdcb5c5.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0b146757.entry.js.map → p-73cd5b64.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cffd8f8a.entry.js.map → p-7823abda.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0dccf179.entry.js.map → p-8b0d995a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fc81327c.entry.js.map → p-8c6189fe.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-73da3bba.entry.js.map → p-933a3100.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fb5f1ec6.entry.js.map → p-96de6e60.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3f26a5a9.entry.js.map → p-9be6a822.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-71cac380.entry.js.map → p-9d448cd8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-166264ec.entry.js.map → p-a448a489.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8a9579b5.entry.js.map → p-a623d19d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3b281401.entry.js.map → p-ace74b9d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3f435fab.entry.js.map → p-b0290025.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-48ea33c2.entry.js.map → p-b0eead31.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d4ac4479.entry.js.map → p-b3703373.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-02dc4d26.entry.js.map → p-b60d1957.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-43a90942.entry.js.map → p-ba22f183.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-82176388.entry.js.map → p-bbfd0f84.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-9068fc82.entry.js.map → p-c08d3e18.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c9c0016c.entry.js.map → p-c6b5a68e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3aac9127.entry.js.map → p-c76721e7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3d2df022.entry.js.map → p-c8f29351.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e66bdd53.entry.js.map → p-d876a7db.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3175cae0.entry.js.map → p-ea7d26ba.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c58f8acf.entry.js.map → p-f3002df2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-280fc86a.entry.js.map → p-f62ed669.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-89c7feab.entry.js.map → p-fb20f8a1.entry.js.map} +0 -0
package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nylas-scheduling.spec.js","sourceRoot":"","sources":["../../../../../src/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,MAAM,SAAS,GAAG,IAAI,CAAC;IACvB,MAAM,cAAc,GAAG,8CAA8C,CAAC;IACtE,UAAU,CAAC,GAAG,EAAE;QAEd,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,YAAY,GAAG,IAAI,CAAC;QAC1B,MAAM,CAAC,IAAI,GAAG,KAAM,SAAQ,YAAY;YACtC,YAAY,IAAsB;gBAChC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC;YAClD,CAAC;SACiB,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,GAAG,EAAE;QACZ,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;YAC7B,IAAI,EAAE,uCAAuC;SAC9C,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK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kB,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { NylasScheduling } from '../nylas-scheduling';\nimport { h } from '@stencil/core';\n\ndescribe('nylas-scheduling', () => {\n const REAL_DATE = Date;\n const testBookingRef = 'Of_H8WLEQ4aZTtx0NKajeAF1l9qpekHbo4by7AaZc8M=';\n beforeEach(() => {\n // Clear and reset the mock before each test if needed\n jest.clearAllMocks();\n });\n\n beforeAll(() => {\n const originalDate = Date;\n global.Date = class extends originalDate {\n constructor(date?: string | number) {\n super(date ? date : '2022-01-01T00:00:00.000Z');\n }\n } as DateConstructor;\n });\n\n afterAll(() => {\n global.Date = REAL_DATE;\n });\n\n it('renders', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('projects custom booking form into slot', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `\n <nylas-scheduling>\n <div slot=\"custom-booking-form\">Custom Booking Form</div>\n </nylas-scheduling>\n `,\n });\n\n const customFormSlot = page?.root?.querySelector('[slot=\"custom-booking-form\"]') as HTMLDivElement;\n expect(customFormSlot.textContent).toBe('Custom Booking Form');\n });\n\n it('listens for NylasSchedulingError event and updates state', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n const mockError = { title: 'Error', description: 'Test Error', type: 'error', category: 'component', ttl: 'none' };\n const errorEvent = new CustomEvent('NylasSchedulingError', { detail: mockError, bubbles: true });\n page.win.dispatchEvent(errorEvent);\n await page.waitForChanges();\n\n const notification = page?.root?.shadowRoot?.querySelector('nylas-notification');\n expect(notification).not.toBeNull();\n const notifRoot = notification?.shadowRoot?.querySelector('.notif');\n expect(notifRoot).not.toBeNull();\n });\n\n it('shows no error when configID is set, and no sessionID is set', async () => {\n const availability = [\n {\n emails: ['xyz@gmail.com'],\n end_time: new Date(1709303400000),\n start_time: new Date(1709301600000),\n },\n ];\n const page = await newSpecPage({\n components: [NylasScheduling],\n template: () => (\n <nylas-scheduling\n config-id=\"configid\"\n defaultSchedulerState={{\n availability,\n }}\n ></nylas-scheduling>\n ),\n });\n\n await page.waitForChanges();\n\n const notification = page?.root?.shadowRoot?.querySelector('nylas-notification');\n const notifRoot = notification?.shadowRoot?.querySelector('.notif');\n expect(notifRoot).toBeUndefined();\n });\n\n it('listens for dateSelected event and updates date label', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n const selectedDate = new Date();\n const dateSelectedEvent = new CustomEvent('dateSelected', { detail: selectedDate, bubbles: true });\n page.win.dispatchEvent(dateSelectedEvent);\n await page.waitForChanges();\n\n const selectedDateLabel = page?.root?.shadowRoot?.querySelector('#selectedDate');\n expect(selectedDateLabel?.textContent).toBe('No date selected');\n });\n\n it('conditionally renders cancel flow based on cancelBookingRef prop', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling cancel-booking-ref=${testBookingRef}></nylas-scheduling>`,\n });\n\n await page.waitForChanges();\n const cancelFlowPage = page?.root?.shadowRoot?.querySelector('.cancel-flow-page');\n expect(cancelFlowPage).not.toBeNull();\n });\n\n it('renders composable UI when mode is set to composable', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling mode=\"composable\">\n <nylas-if-state state=\"scheduler.eventInfo\" is-state-set=\"false\">\n <div class=\"flex\">\n <div class=\"flex flex-col gap-4 px-6 pt-4 h-[514px] w-[433px] border-slate-200 dark:border-slate-700 border-r\">\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"false\">\n <nylas-date-picker></nylas-date-picker>\n <div class=\"border-slate-200 dark:border-slate-700 border-t -mx-6 h-px\"></div>\n <nylas-locale-switch></nylas-locale-switch>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"true\">\n <div class=\"flex flex-col justify-center h-[496px]\">\n <nylas-selected-event-card></nylas-selected-event-card>\n </div>\n </nylas-if-state>\n </div>\n <div class=\"flex flex-col items-center min-w-[360px] overflow-hidden bg-slate-50 dark:bg-slate-700\">\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"false\" class=\"w-full\">\n <div class=\"flex flex-col justify-start w-full\">\n <nylas-if-state state=\"scheduler.selectableDates\" is-state-set=\"true\">\n <h2 class=\"flex items-center justify-center text-lg font-semibold w-full text-center gap-1 mb-4 mt-6 text-slate-700 dark:text-white\">\n <calendar-icon></calendar-icon>\n <nylas-if-state state=\"scheduler.selectedDate\" is-state-set=\"false\">\n <span>No date selected</span>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.selectedDate\" is-state-set=\"true\">\n <span id=\"selectedDate\"></span>\n </nylas-if-state>\n </h2>\n </nylas-if-state>\n <nylas-timeslot-picker></nylas-timeslot-picker>\n </div>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"true\" class=\"w-full\">\n <div class=\"flex flex-col justify-center h-[496px]\">\n <nylas-booking-form></nylas-booking-form>\n </div>\n </nylas-if-state>\n </div>\n </div>\n </nylas-if-state>\n </nylas-scheduling>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('exposes getNylasSchedulingStore method and returns store', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling session-id=\"sessionid\"></nylas-scheduling>`,\n });\n const scheduler = page.rootInstance as NylasScheduling;\n\n const store = await scheduler.getNylasSchedulerStore();\n expect(store).toBeDefined();\n });\n\n it('exposes getNylasSchedulingConnector method and returns connector', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling session-id=\"sessionid\"></nylas-scheduling>`,\n });\n const scheduler = page.rootInstance as NylasScheduling;\n\n const connector = await scheduler.getNylasSchedulerConnector();\n expect(connector).toBeDefined();\n });\n\n it('should render the reschedule flow when rescheduleBookingRef is set', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling reschedule-booking-ref=${testBookingRef}></nylas-scheduling>`,\n });\n\n await page.waitForChanges();\n\n const messageBanner = page?.root?.shadowRoot?.querySelector('.message-banner');\n expect(messageBanner).not.toBeNull();\n });\n\n it('hides the nylas logo in the footer if nylasBranding is set', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n template: () => <nylas-scheduling config-id=\"configid\" nylasBranding={false}></nylas-scheduling>,\n });\n\n await page.waitForChanges();\n\n const footer = page?.root?.shadowRoot?.querySelector('.footer');\n expect(footer?.textContent).not.toContain('Powered by Nylas');\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"nylas-scheduling.spec.js","sourceRoot":"","sources":["../../../../../src/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,MAAM,SAAS,GAAG,IAAI,CAAC;IACvB,MAAM,cAAc,GAAG,8CAA8C,CAAC;IACtE,UAAU,CAAC,GAAG,EAAE;QAEd,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,YAAY,GAAG,IAAI,CAAC;QAC1B,MAAM,CAAC,IAAI,GAAG,KAAM,SAAQ,YAAY;YACtC,YAAY,IAAsB;gBAChC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC;YAClD,CAAC;SACiB,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,GAAG,EAAE;QACZ,MAAM,CAAC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CAAC;IAChE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { NylasScheduling } from '../nylas-scheduling';\nimport { h } from '@stencil/core';\n\ndescribe('nylas-scheduling', () => {\n const REAL_DATE = Date;\n const testBookingRef = 'Of_H8WLEQ4aZTtx0NKajeAF1l9qpekHbo4by7AaZc8M=';\n beforeEach(() => {\n // Clear and reset the mock before each test if needed\n jest.clearAllMocks();\n });\n\n beforeAll(() => {\n const originalDate = Date;\n global.Date = class extends originalDate {\n constructor(date?: string | number) {\n super(date ? date : '2022-01-01T00:00:00.000Z');\n }\n } as DateConstructor;\n });\n\n afterAll(() => {\n global.Date = REAL_DATE;\n });\n\n it('renders', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('listens for NylasSchedulingError event and updates state', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n const mockError = { title: 'Error', description: 'Test Error', type: 'error', category: 'component', ttl: 'none' };\n const errorEvent = new CustomEvent('NylasSchedulingError', { detail: mockError, bubbles: true });\n page.win.dispatchEvent(errorEvent);\n await page.waitForChanges();\n\n const notification = page?.root?.shadowRoot?.querySelector('nylas-notification');\n expect(notification).not.toBeNull();\n const notifRoot = notification?.shadowRoot?.querySelector('.notif');\n expect(notifRoot).not.toBeNull();\n });\n\n it('shows no error when configID is set, and no sessionID is set', async () => {\n const availability = [\n {\n emails: ['xyz@gmail.com'],\n end_time: new Date(1709303400000),\n start_time: new Date(1709301600000),\n },\n ];\n const page = await newSpecPage({\n components: [NylasScheduling],\n template: () => (\n <nylas-scheduling\n config-id=\"configid\"\n defaultSchedulerState={{\n availability,\n }}\n ></nylas-scheduling>\n ),\n });\n\n await page.waitForChanges();\n\n const notification = page?.root?.shadowRoot?.querySelector('nylas-notification');\n const notifRoot = notification?.shadowRoot?.querySelector('.notif');\n expect(notifRoot).toBeUndefined();\n });\n\n it('listens for dateSelected event and updates date label', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling></nylas-scheduling>`,\n });\n\n const selectedDate = new Date();\n const dateSelectedEvent = new CustomEvent('dateSelected', { detail: selectedDate, bubbles: true });\n page.win.dispatchEvent(dateSelectedEvent);\n await page.waitForChanges();\n\n const selectedDateLabel = page?.root?.shadowRoot?.querySelector('#selectedDate');\n expect(selectedDateLabel?.textContent).toBe('No date selected');\n });\n\n it('conditionally renders cancel flow based on cancelBookingRef prop', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling cancel-booking-ref=${testBookingRef}></nylas-scheduling>`,\n });\n\n await page.waitForChanges();\n const cancelFlowPage = page?.root?.shadowRoot?.querySelector('.cancel-flow-page');\n expect(cancelFlowPage).not.toBeNull();\n });\n\n it('renders composable UI when mode is set to composable', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling mode=\"composable\">\n <nylas-if-state state=\"scheduler.eventInfo\" is-state-set=\"false\">\n <div class=\"flex\">\n <div class=\"flex flex-col gap-4 px-6 pt-4 h-[514px] w-[433px] border-slate-200 dark:border-slate-700 border-r\">\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"false\">\n <nylas-date-picker></nylas-date-picker>\n <div class=\"border-slate-200 dark:border-slate-700 border-t -mx-6 h-px\"></div>\n <nylas-locale-switch></nylas-locale-switch>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"true\">\n <div class=\"flex flex-col justify-center h-[496px]\">\n <nylas-selected-event-card></nylas-selected-event-card>\n </div>\n </nylas-if-state>\n </div>\n <div class=\"flex flex-col items-center min-w-[360px] overflow-hidden bg-slate-50 dark:bg-slate-700\">\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"false\" class=\"w-full\">\n <div class=\"flex flex-col justify-start w-full\">\n <nylas-if-state state=\"scheduler.selectableDates\" is-state-set=\"true\">\n <h2 class=\"flex items-center justify-center text-lg font-semibold w-full text-center gap-1 mb-4 mt-6 text-slate-700 dark:text-white\">\n <calendar-icon></calendar-icon>\n <nylas-if-state state=\"scheduler.selectedDate\" is-state-set=\"false\">\n <span>No date selected</span>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.selectedDate\" is-state-set=\"true\">\n <span id=\"selectedDate\"></span>\n </nylas-if-state>\n </h2>\n </nylas-if-state>\n <nylas-timeslot-picker></nylas-timeslot-picker>\n </div>\n </nylas-if-state>\n <nylas-if-state state=\"scheduler.showBookingForm\" is-boolean=\"true\" class=\"w-full\">\n <div class=\"flex flex-col justify-center h-[496px]\">\n <nylas-booking-form></nylas-booking-form>\n </div>\n </nylas-if-state>\n </div>\n </div>\n </nylas-if-state>\n </nylas-scheduling>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('exposes getNylasSchedulingStore method and returns store', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling session-id=\"sessionid\"></nylas-scheduling>`,\n });\n const scheduler = page.rootInstance as NylasScheduling;\n\n const store = await scheduler.getNylasSchedulerStore();\n expect(store).toBeDefined();\n });\n\n it('exposes getNylasSchedulingConnector method and returns connector', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling session-id=\"sessionid\"></nylas-scheduling>`,\n });\n const scheduler = page.rootInstance as NylasScheduling;\n\n const connector = await scheduler.getNylasSchedulerConnector();\n expect(connector).toBeDefined();\n });\n\n it('should render the reschedule flow when rescheduleBookingRef is set', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n html: `<nylas-scheduling reschedule-booking-ref=${testBookingRef}></nylas-scheduling>`,\n });\n\n await page.waitForChanges();\n\n const messageBanner = page?.root?.shadowRoot?.querySelector('.message-banner');\n expect(messageBanner).not.toBeNull();\n });\n\n it('hides the nylas logo in the footer if nylasBranding is set', async () => {\n const page = await newSpecPage({\n components: [NylasScheduling],\n template: () => <nylas-scheduling config-id=\"configid\" nylasBranding={false}></nylas-scheduling>,\n });\n\n await page.waitForChanges();\n\n const footer = page?.root?.shadowRoot?.querySelector('.footer');\n expect(footer?.textContent).not.toContain('Powered by Nylas');\n });\n});\n"]}
|
package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js
CHANGED
|
@@ -44,9 +44,9 @@ export class NylasSelectedEventCard {
|
|
|
44
44
|
this.endTime = new Date(selectedTimeslot?.end_time).toLocaleString(undefined, { timeStyle: 'short' });
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'f794f4415321af6623c2c9d97925932dbb2047e4', part: "nsec" }, h("sp-theme", { key: '356fedb5c591554eb87d8cdf5cc711fe3524a7c7', theme: "spectrum", color: "dark", scale: "medium" }, h("div", { key: '336de44bd19e2fd086c2826a6c8206608f6ca646', class: "event-card", part: "nsec__card" }, h("div", { key: '940dd832f8fb09e27efa3ff5b0728a5053ff629e', class: "calendar-icon", part: "nsec__icon" }, h("calendar-icon", { key: '523369c88eb905de96b7c8431b9109b4fb8706ec' })), h("div", { key: '385494cc3d1830f124cdca616413caba9fc1ce64', class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate
|
|
48
48
|
? capitalizeFirstLetter(this.selectedDate?.toLocaleDateString(LANGUAGE_CODE_MAP[this.selectedLanguage || navigator.language], { dateStyle: 'full' }))
|
|
49
|
-
: '-'), h("div", { key: '
|
|
49
|
+
: '-'), h("div", { key: '7e92630de5bf9811e3e05ee2ff1fd2f54797f222', class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), h("div", { key: 'da2b0cd62a7519040ba9b055991684e4db7ff9b9', class: "event-timezone", part: "nsec__timezone" }, h("globe-icon", { key: '045c62d629116f91d3558a236c66374769c3a903' }), TIMEZONE_MAP[this.selectedTimezone]))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "nylas-selected-event-card"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,7 +127,7 @@ export class NylasAdditionalParticipants {
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '588e103ca8b0cfc1daece54fa1fba9f6d67a46f0' }, h("nylas-form-card", { key: '7ba1c8ba4d771e4b0456175471cf56265742317e' }, h("h3", { key: '47b20f5e9334acf47dab36d56430af8fed7379a2', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), h("p", { key: '630ca546c9980e1af86ca93f05fc74da709bef15', slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add people in your team or organization to join the event."), h("div", { key: '2895da79fde0fac0605f2cc0d239e5b8830d197d', slot: "content", class: "nylas-additional-participants__content" }, h("div", { key: '3a03f6327f75777c2f2a2a68f260bfe2471e6653' }, this.participants.map((participant, index) => {
|
|
131
131
|
return (h("div", { class: 'nylas-additional-participants__input_group', part: "nap__input_group" }, !participant.is_organizer && h("label", null, `Participant ${index}`), h("div", { part: "nap__input_wrapper", class: {
|
|
132
132
|
'nylas-additional-participants__input_wrapper': true,
|
|
133
133
|
'nylas-additional-participants__input_wrapper_organizer': participant.is_organizer,
|
|
@@ -137,7 +137,7 @@ export class NylasAdditionalParticipants {
|
|
|
137
137
|
this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant;
|
|
138
138
|
this.updateFormValue();
|
|
139
139
|
}, checked: this.includeOrganizerAsParticipant }), h("label", { htmlFor: `organizer_participant`, "aria-label": "Include as participant" }, "Participant", h("tooltip-component", { id: "organizer_participant_tooltip" }, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, h("strong", null, "Include Organizer:"), " The organizer (you) will be included in the round-robin rotation. ", h("br", null), h("strong", null, "Exclude Organizer:"), " The organizer (you) will not be included in the round-robin rotation."))))))) : (h("input-dropdown", { name: `${index}`, filterable: true, inputValue: participant.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) })), !participant.is_organizer && (h("button", { onClick: () => this.removeParticipant(index), part: "nap__remove-participant" }, h("close-icon", null))))), !participant.is_valid && (h("p", { class: "nylas-additional-participants__error", part: "nap__error" }, this.participantErrors[index]))));
|
|
140
|
-
}), h("p", { key: '
|
|
140
|
+
}), h("p", { key: 'a8f6e282096ce8abdf3e6f8ebb26c04c4d1d2679', class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), h("button", { key: '7c2cf14cc7d9c90c859d8c6125e0036f3c38cb62', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, h("add-circle-icon", { key: '791bcc7a49b76cc219cc9fc30634048b8a4be4e1' }), " ", h("span", { key: '96c191bd317092fa983ae3de8e3a95c3720c6333' }, "Add ", this.participants.length > 1 ? 'another' : 'a', " participant"))))));
|
|
141
141
|
}
|
|
142
142
|
static get is() { return "nylas-additional-participants"; }
|
|
143
143
|
static get encapsulation() { return "shadow"; }
|
|
@@ -298,7 +298,7 @@ export class NylasAvailabilityPicker {
|
|
|
298
298
|
label: TIMEZONE_MAP[key],
|
|
299
299
|
value: key,
|
|
300
300
|
}));
|
|
301
|
-
return (h(Host, { key: '
|
|
301
|
+
return (h(Host, { key: '3fa5e2b5b83b0596ed80ed55e7f88a5e80f2c1f1' }, h("div", { key: 'e9460039098c7e287f75d7326c1f82327c53fc75', class: "nylas-availability-picker", part: "nap" }, !this.hideHeader && (h("div", { class: "header", part: "nap__header" }, h("h3", null, "General availability"), h("p", null, "Set when you're regularly available for event bookings.", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "This is the default availability for participants who don\u2019t have availability set on the Participants tab."))))), h("div", { key: '6593a8aa9d90d8eb7b0e1537f5f2a56510fd7b28', class: "content" }, h("div", { key: '1ceafee2ca707f8f20c0008ab6c1b015eca39b0b', class: "select-timezone", part: "nap__select-timezone" }, h("h4", { key: '1e931465f7c37dcb72c96ea75260cd04f8acd7a9', class: "sub-header" }, "Select timezone"), h("select-dropdown", { key: 'b2b586632436314e195d015408f9c374291d5af6', name: "timezone", exportparts: "sd_dropdown: nap__timezone-container, sd_dropdown-button: nap__timezone-button, sd_dropdown-content: nap__timezone-dropdown-content", options: timezoneOptions, defaultSelectedOption: timezoneOptions.find(i => i.value === this.defaultTimezone) }, h("span", { key: '30ad23d9093bfa06215846a37c4abd3f0ac145dd', slot: "select-icon" }, h("globe-icon", { key: '9c73db61b587c2127b9af34dfe5466ba6c0d6e47', width: "20", height: "20" })))), h("div", { key: '7fe6573c53f6bd7cdd94cc69eebd56c8bdc2d93c', class: "availability", part: "nap__availability" }, Object.keys(this.schedule).map(key => {
|
|
302
302
|
const day = key;
|
|
303
303
|
const timeRanges = this.schedule[key];
|
|
304
304
|
return (h("div", { class: "availability-day" }, h("div", { class: "day", part: "nap__day" }, h("input", { type: "checkbox", name: day, id: day, checked: timeRanges.length > 0, onClick: () => {
|
|
@@ -223,7 +223,7 @@ export class NylasBookingFormConfig {
|
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
render() {
|
|
226
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: '3c51c8be2cc19a1e8e6198b61ff734c89d8cd1a5' }, h("div", { key: '72bbfb0ba08c6ca4dd86a601301867fd112d78cf', class: "nylas-booking-form-config" }, h("div", { key: '7b88b43c799e4d19412e186374837513ee403a8e', class: "header", part: "nbfc__header" }, h("div", { key: '065e0d6848867fb944e1a36026b80c456f0a2abb', class: "header_text" }, h("h3", { key: '2f1dafc07f4f97b6ab1fd971e4c83484493e6477' }, "Booking form"), h("p", { key: 'd40fd8bbe3053cc6c11907e8fcadc2d348c132af' }, "Customize the questions asked on the booking page.")), h("div", { key: '3c3aab9e4820978682528a04c1419bb6b615b389', class: "header_action" }, h("select-dropdown", { key: 'e6c9db7c2166607d8e7e289bf018d0e4f9f71ad5', name: "add-field", exportparts: "sd_dropdown: nbfc__add_field, sd_dropdown-button: nbfc__add_field-button, sd_dropdown-content: nbfc__add_field-dropdown-content", options: DEFAULT_FORM_FIELD_TYPES, withSearch: false, withChevron: false, dropdownButtonText: "Add new type" }, h("span", { key: 'd81bebe10ec42f792e8998bf495d552c08210ce3', slot: "select-icon" }, h("plus-icon", { key: '584fd2c095b47e96d17ce52f3415e05136751aee', width: "15", height: "15" }))))), h("div", { key: 'c56f6937a2a0dffb3a1ebdfbb9fac0c958e9adc6', class: "content" }, h("div", { key: '0d95d4b7ac8250a41eb6eff1e4f0bb8e839e5928', id: "fields", class: "additional_fields", part: "nbfc__additional_fields" }, this.formFields.map((field, i) => {
|
|
227
227
|
return (h("div", { class: `form-field draggable ${field.readonly && 'fixed'}`, part: "nbfc__form_field", key: i }, h("div", { class: "form-field_header", part: "nbfc__form_field-header" }, h("span", { class: "dragable" }, h("dragable-icon", { width: "24", height: "25" })), h("div", { class: "form-field_header_text" }, h("h4", null, field.label), h("p", null, field.typeLabel)), h("div", { class: "form-field_header_actions" }, h("span", { class: `is-required` }, field.required ? 'Required' : 'Optional'), !field.readonly && (h("button", { onClick: () => {
|
|
228
228
|
this.fieldRemove(i);
|
|
229
229
|
} }, h("close-icon", null))), h("span", { class: `chevron ${field.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
@@ -53,7 +53,7 @@ export class NylasCancellationPolicy {
|
|
|
53
53
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'f513085024c7c717a4520dd399fd58e29cfd3986' }, h("div", { key: 'dc46a4d71eb626136a5855ac3691cd9552d7b91d', class: "nylas-cancellation-policy", part: "ncpolicy" }, h("label", { key: 'bfce1d96b453b584ffd8b8e2b2849b2a04770650', htmlFor: this.name }, "Cancellation policy message", h("span", { key: 'a1d528d0249c5506c519a42498a4016dbe6d2f07', class: "label-icon" }, h("tooltip-component", { key: '84b41f40a9a3942d961eaa5fd914499b3d070884' }, h("info-icon", { key: 'b7945425e2ba43b6b3a6885bb15ac993b2b464e7', slot: "tooltip-icon" }), h("span", { key: '26f6702489351a7edeaf9379f77821ae460723af', slot: "tooltip-content" }, "Attendees receive this message if trying to cancel the event. Attendees are asked to provide a reason for cancellation.")))), h("textarea", { key: '0cee57928fdf37fcd417cb8d38b435296bdc03ff', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "nylas-cancellation-policy"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class NylasConfirmationEmail {
|
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
120
|
const organizerName = this.participants.find(p => p.is_organizer)?.name;
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '55569396516fc6cb204d4927e0c8871cbbf267cd' }, h("div", { key: '3dce0ebad9ce6c1b3f15f61425037ec872240fe1', class: "nylas-confirmation-email", part: "nce" }, h("div", { key: 'd63083c0d35e51d3ad6a05b612975976f6653b87', class: "header", part: "nce__header" }, h("div", { key: 'e9627cfe05bf4c331d50a30499c8b1fde7b1fad2' }, h("h3", { key: 'd3215b5a24d0c8e46fef72a572bcf49fb6699be7' }, this.confirmationEmail.booking_confirmed.title ?? `Booking confirmed with ${organizerName ? ` with ${organizerName}` : ''}`), h("p", { key: '15f6a44bb61e6545c5879dba6e53c1d52d3aee99' }, "Booking confirmation email")), this.isOpen ? (h("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" })))) : (h("button-component", { variant: 'basic', clickHandler: event => {
|
|
122
122
|
event.preventDefault();
|
|
123
123
|
this.toggleConfirmationEmail();
|
|
124
124
|
} }, h("edit-icon", { width: "16", height: "16" }), "Edit"))), this.isOpen ? (h("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, h("div", { class: "nylas-confirmation-email__section" }, h("div", { class: "nylas-confirmation-email__row" }, h("label", null, "Send confirmation email when", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation email immediately upon booking.")))), h("span", { class: "selected-value" }, "Immediately upon booking")), h("div", { class: `nylas-confirmation-email__row ${!this.companyLogoErrorMessage ? 'full-width-col' : ''} ` }, h("div", { class: "subsection" }, h("div", { class: "input-container" }, h("label", null, "Company logo URL", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Provide a URL to a logo or image that will be included in your confirmation and reminder emails. Max size 200px by 100px.")))), h("div", { class: "company-logo-container" }, h("div", { class: "input-container" }, h("input-component", { name: "company-logo", id: "company-logo", type: "text", required: false, part: "nrt__input-textfield", defaultValue: this.confirmationEmail.logo ?? '' }), this.companyLogoErrorMessage && h("span", { class: "error-message" }, this.companyLogoErrorMessage)), this.confirmationEmail.logo && !this.companyLogoErrorMessage && (h("div", { class: "company-logo" }, h("img", { src: this.confirmationEmail.logo, alt: "Company logo" }))))))), h("sp-divider", null), h("div", { class: "nylas-confirmation-email__row full-width-col" }, h("div", { class: "subsection" }, h("h3", null, "Email message"), h("div", { class: "input-container" }, h("label", { htmlFor: "title" }, "Email subject", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Enter the subject for your event confirmation.")))), h("input-component", { name: "confirmation-email-title", maxLength: 60, defaultValue: this.confirmationEmail.booking_confirmed.title ?? `Booking confirmed ${organizerName ? `with ${organizerName}` : ''}` })), h("div", { class: "input-container" }, h("label", { htmlFor: "title" }, "Email body"), h("textarea", { id: "description", part: "nrt__textarea", name: "confirmation-email-body", value: this.confirmationEmail.booking_confirmed.body ?? 'Default body', maxlength: "500", rows: 2, onInput: e => this.handleEmailBodyChange(e) }))))))) : (h("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, h("p", null, h("span", { class: "summary-icon" }, h("person-clipboard-icon", null)), "All host & guests"), h("p", null, h("span", { class: "summary-icon" }, h("clock-icon", null)), "Immediately on booking"))))));
|
|
@@ -120,7 +120,7 @@ export class NylasConnectedCalendars {
|
|
|
120
120
|
return selectedParticipants;
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '5e568aeca5518dcbc6e655f944ccdb364cd10509' }, h("div", { key: 'de7fa402e90eba6caba47aaae177ecd4ac2c1e17', class: "nylas-connected-calendars", part: "npca" }, h("div", { key: '3d11fa4cce3f4e58b51789c6403d4905a7773c2e', class: "header", part: "npca__header" }, h("h3", { key: 'ad2eea3aadc555e8df5ad1edf25c3241fe0b1dbb' }, "Connected Calendars"), h("p", { key: 'a4f2eda148e6dbc22da4f37645dc9bca62a7c894' }, "Select the calendars to use for checking your availability.", h("tooltip-component", { key: '798e6d019bdc166415f5e1136553543a800f9c48' }, h("info-icon", { key: '511532b754196c37f1432aa7b002ee19d01234cf', slot: "tooltip-icon" }), h("span", { key: 'cd4ad4a383bef2d7dc69441c7ba2c0476079dec3', slot: "tooltip-content" }, "Check availability across one or multiple calendars. If multiple calendars are selected, you must be available across all of them to be considered available. The default is your primary calendar if none are selected.")))), h("div", { key: '8e0f38c04f48171ae2f9c99ffd0a616ce08c80ef', class: "content", part: "npca__content" }, h("form", { key: 'a42a2a8c86324d29aceb10055c28479e6bf1286e', ref: el => (this.connectedCalendarsFormRef = el) }, Object.keys(this.participantCalendars).map((key, index) => {
|
|
124
124
|
const participant = this.selectedCalendars[key];
|
|
125
125
|
const participantCalendars = this.participantCalendars[key];
|
|
126
126
|
if (!participant || !participant.name)
|
|
@@ -81,7 +81,7 @@ export class NylasCustomBookingFlow {
|
|
|
81
81
|
value: 'pre-booking',
|
|
82
82
|
},
|
|
83
83
|
];
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '79853eb2437caf39c59f82c936165234331b1348' }, h("div", { key: '81abe8d086f8889f8d5450562a6a2bbb07308857', class: "nylas-custom-booking-flow", part: "ncbf" }, h("div", { key: '9cbe5505ba1ab47170f2016e8949bc0a626332bc', class: "header", part: "ncbf__header" }, h("h3", { key: 'bc7c5a49d01b5edd4a162cbc980234ffa67146ea' }, "Customize booking flow"), h("p", { key: '42e7fe230baca52029fc3f240fd5d54368000a2f' }, "Customize how new bookings are handled when a booking is completed.")), bookingOptions.length > 0 && (h("div", { class: "nylas-custom-booking-flow__dropdown" }, h("span", { class: "label" }, "After a booking is confirmed", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Choose how you\u2019d like to handle new bookings. If you choose to manually confirm/decline bookings, you will be able to review and accept or decline each booking request."))), h("select-dropdown", { name: "booking-type", options: bookingOptions, withSearch: false, exportparts: "sd_dropdown: ncbf__dropdown, sd_dropdown-button: ncbf__dropdown-button, sd_dropdown-content: ncbf__dropdown-content", defaultSelectedOption: bookingOptions.find(cal => cal.value == this.bookingType) ?? bookingOptions[0] }))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "nylas-custom-booking-flow"; }
|
|
87
87
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,7 +89,7 @@ export class NylasCustomizeBookingSettings {
|
|
|
89
89
|
}), this.name);
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '28f102413083f8cd7cbae103876946948c706d2e' }, h("div", { key: 'bd72dcd8bb12b27ee90020e287914b26aaf7bd2f', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: 'c7dc1db938ba43de62d48d6a7955341e9fd793ef', class: "header", part: "ncbs__header" }, h("h3", { key: '8bbe27028b0e0ef8b5dbc84d96f92ea2121202f4' }, "Additional settings"), h("p", { key: '9e0ebb439ad1811e42781460632f694979916c6d' }, "Booking settings for the event.")), h("div", { key: 'e690228b62569f02f2912b8f365d861ee69239c8', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { key: '07d7ba16019ffe9727f7cea4f9f170ee4cd259e3', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: '91425393dc329028c284b4b709fd2507946ca768', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { key: '01782b7547679f8eb4012065f85f1e829afdeb73', slot: "label", class: "label" }, h("p", { key: '5bb75ed73b07a65b376deb6a4fef1027de88abcb', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), h("tooltip-component", { key: '7e0fd3777d426a29c2d6f2befe380a4fabe9e3dd', id: "guests" }, h("info-icon", { key: '6b1b575e4f67df1e83461e0ecb6c94881950857d', slot: "tooltip-icon" }), h("span", { key: '906d6215e33d0cd9f2d26354a93faa16df60e4d3', slot: "tooltip-content" }, "Allow guests to invite additional guests to the event. If enabled, the guest will be able to add additional guests' email addresses."))))), h("div", { key: '160c44a03c7b98c543f7c4b933191c374e55068d', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: '01f0fdfa0e009939e0a51ba8246cce8a2f1c73f3', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { key: 'f8debf9d479c137891708114bc46bf00831dff6f', slot: "label", class: "label" }, h("p", { key: 'f5be491689b842ef6b6cbfc0677de20e80a508d4', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: '7bb797bc4f0518f34df8d183eae095b4ee91ece8' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: '5495cf275db37d683a650f13b3270df6477ee1f0', id: "reschedule" }, h("info-icon", { key: 'e0179ca7edadc3b6f1d095feb38df144a7cf7a04', slot: "tooltip-icon" }), h("span", { key: 'b4208b402627383eed502c858494679ce7cab1d9', slot: "tooltip-content" }, "If enabled, the guest will not be able to reschedule the booking."))))), h("div", { key: '250a995c6878ecc94e42aa257488e699110a3b4e', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: '54990237e3f66e46cad68eecbba72e1ed222ae49', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { key: '248736127091e400008511065815620285b27917', slot: "label", class: "label" }, h("p", { key: 'd4bcd27bee0020d507bbc2785ab45670fab8dbcc', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: '3900b6f8c1a638ed055be2c35bf6ee82221b3f90' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: '78de175500d7fb5fb67edaf54c2b3d57650c5eab', id: "cancel" }, h("info-icon", { key: '60c46d5609d7e9aaa44b9bfaad5755d9a30e18d0', slot: "tooltip-icon" }), h("span", { key: '5fea9965144130751ec5a5ee487b0e71b181f0df', slot: "tooltip-content" }, "If enabled, the guest will not be able to cancel the booking.")))))))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "nylas-customize-booking-settings"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -380,22 +380,22 @@ export class NylasEditorTabs {
|
|
|
380
380
|
render() {
|
|
381
381
|
debug('[nylas-editor-tabs]', 'render', this.formState);
|
|
382
382
|
const showInDevelopmentTabs = localStorage.getItem('nylas') === 'Nylas Developer';
|
|
383
|
-
return (h(Host, { key: '
|
|
383
|
+
return (h(Host, { key: 'a61795f52835d2378d1501d93ec76fa54867fb6c' }, h("form", { key: 'd8d4d48029b6b9bb68f030e5a1ed5ffa2696f312', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents" }, h("div", { class: "tabs" }, h("button", { name: "eventInfo", class: { tab: true, active: this.activeTab == 'eventInfo', hide: this.hideTab('eventInfo') }, part: "editortab__event-info", onClick: e => this.setActiveTab(e, 'eventInfo') }, h("calendar-info-icon", { width: "16", height: "16" }), "Event info"), h("button", { name: "availability", class: { tab: true, active: this.activeTab == 'availability', hide: this.hideTab('availability') }, part: "editortab__availability", onClick: e => this.setActiveTab(e, 'availability') }, h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), h("button", { name: "participants", class: { tab: true, active: this.activeTab == 'participants', hide: this.hideTab('participants') }, part: "editortab__participants", onClick: e => this.setActiveTab(e, 'participants') }, h("people-icon", { width: "16", height: "16" }), "Participants"), h("button", { name: "bookingOptions", class: { tab: true, active: this.activeTab == 'bookingOptions', hide: this.hideTab('bookingOptions') }, part: "editortab__booking-options", onClick: e => this.setActiveTab(e, 'bookingOptions') }, h("flow-icon", { width: "16", height: "16" }), "Booking options"), h("button", { name: "bookingForm", class: { tab: true, active: this.activeTab == 'bookingForm', hide: this.hideTab('bookingForm') }, part: "editortab__booking-form", onClick: e => this.setActiveTab(e, 'bookingForm') }, this.activeTab == 'bookingForm' ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), "Booking form"), showInDevelopmentTabs && (h("button", { name: "communications", class: { tab: true, active: this.activeTab == 'communications' }, onClick: e => this.setActiveTab(e, 'communications') }, this.activeTab == 'communications' ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), "Communications"))), h("div", { class: "tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (h("slot", null)), h("div", { key: 'c8980cc653c66af2153eebe8a33ba20fe2ca2f89', class: "footer", part: "editor__footer" }, h("div", { key: '9f6079283a9fd761230abc04e9e072788641a4c8', class: "preview", part: "editor__footer-preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
384
384
|
event.preventDefault();
|
|
385
385
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
386
386
|
if (!previewEvent.defaultPrevented) {
|
|
387
387
|
window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
388
388
|
}
|
|
389
|
-
}, variant: 'basic' }, "Preview"))), h("div", { key: '
|
|
389
|
+
}, variant: 'basic' }, "Preview"))), h("div", { key: '2082b9fd59d3c6bcc9c68ac1a855b4d672aff358', class: "buttons", part: "editor__footer-buttons" }, h("p", { key: '112c90626f942fd2596b3b995696c859915d9de0', class: {
|
|
390
390
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
391
391
|
'saved-changes': this.changesSaved,
|
|
392
392
|
'error': this.error !== '',
|
|
393
393
|
'error-full-width': this.error !== '' && this.action === 'create',
|
|
394
|
-
} }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: '
|
|
394
|
+
} }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: 'be06955d3755e98f60241da4813c4c81f70b9d05', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
395
395
|
event.preventDefault();
|
|
396
396
|
this.cancelButtonClick.emit();
|
|
397
397
|
this.error = '';
|
|
398
|
-
}, variant: 'basic', part: "editor__footer-cancel" }, "Back"), h("button-component", { key: '
|
|
398
|
+
}, variant: 'basic', part: "editor__footer-cancel" }, "Back"), h("button-component", { key: '84abeec599621730df236f737f0ab174ea68eb7d', type: "submit", disabled: this.isLoading, part: "editor__footer-cta" }, this.isLoading ? (h("span", null, "Saving", h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
|
|
399
399
|
}
|
|
400
400
|
static get is() { return "nylas-editor-tabs"; }
|
|
401
401
|
static get encapsulation() { return "scoped"; }
|
|
@@ -53,7 +53,7 @@ export class NylasEventDescription {
|
|
|
53
53
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '5c00a1d8d0babc4ae0dcadb89eba5ff579f12b63' }, h("div", { key: 'b497d190f728c6eea4c7487b261b380ed7ee974a', class: "nylas-event-description", part: "nedesc" }, h("label", { key: '8fa2e4e0cf208b8e815c3a738a2c68c7e8c458e8', htmlFor: "description" }, "Event description", h("span", { key: '1325b2d1e3c1b7ab08c820ed5813a12dba5f9925', class: "label-icon" }, h("tooltip-component", { key: '31bf265a7235be7e7abb08cf79b2613be52320f2' }, h("info-icon", { key: '03846d6477ce728cf76be4e11ded756fd13cd5d3', slot: "tooltip-icon" }), h("span", { key: '0b279428d053e60e77403292926d6b35c8c08074', slot: "tooltip-content" }, "Provide any additional details for your event.")))), h("textarea", { key: '5fa3a6eba85e65281d1970c947f109048a780654', id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: e => this.handleChange(e) }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "nylas-event-description"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js
CHANGED
|
@@ -109,7 +109,7 @@ export class NylasEventDuration {
|
|
|
109
109
|
{ value: 1, label: 'minute' },
|
|
110
110
|
{ value: 60, label: 'hour' },
|
|
111
111
|
];
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: '8fbb229d360115f6991fac20743e6b14c884980c' }, h("div", { key: '12fe435669d83fba32e6d6fc96acf2763376412f', class: "nylas-event-duration", part: "ned" }, h("label", { key: '9ee46419c5973dcc444a4b7d165e51750abb4815', htmlFor: "duration" }, "Event duration", h("span", { key: 'fbd3676ce94cf24b2974528e12859eadc1a1069d', class: "required" }, "*"), h("span", { key: 'a161bf4031466b468ccf60a4c8a317a702770b5d', class: "label-icon" }, h("tooltip-component", { key: 'f23c88738276ef097fcf8b85a6b5f70f99b969ed' }, h("info-icon", { key: '850114c107362a42b2759ca2d193c942ab548a2b', slot: "tooltip-icon" }), h("span", { key: '404981545b644366b964e2f12637cb3902aa78f1', slot: "tooltip-content" }, "Set the duration of your event.")))), h("div", { key: 'd3a931e275a66ab78dd39261fb01aa79e08b78b6', class: "nylas-event-duration__wrapper" }, h("input-dropdown", { key: '47d42bc80559a115abf2dca195740babcea0f4fe', name: 'event-duration', options: this.durationMinutesOptions, inputValue: this.duration.toString(), exportparts: "id_dropdown: ned__input_dropdown, id_dropdown-input: ned__input_dropdown-input, id_dropdown-content: ned__input_dropdown-content", defaultInputOption: this.durationMinutesOptions.find(i => i.value == this.duration) ?? durationOptions[0] }), h("select-dropdown", { key: '16f268fdb83101f2bb3e11f2ac98cf54c5c1b1f0', name: 'event-duration', options: durationOptions, pluralizedLabel: this.duration > 1 ? 's' : '', exportparts: "sd_dropdown: ned__dropdown, sd_dropdown-button: ned__dropdown-button, sd_dropdown-content: ned__dropdown-content", defaultSelectedOption: durationOptions.find(i => i.value == this.durationIncrement) ?? durationOptions[0], withSearch: false })))));
|
|
113
113
|
}
|
|
114
114
|
static get is() { return "nylas-event-duration"; }
|
|
115
115
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,7 +30,7 @@ export class NylasEventInfo {
|
|
|
30
30
|
debug('nylas-event-info', 'disconnectedCallback');
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '33d91118714d86c6e4309412cc46df5f90a381b2' }, h("nylas-form-card", { key: '03f38377a271ed5e48eb77132a15dc921609e711', exportparts: "nfc__header: nei__header" }, h("h1", { key: 'b555b48b8fa4a0387e2eaa078dfd797730549c1a', slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), h("h3", { key: 'ab2972780506061a7b0c6598bb00622461617551', slot: "header-subtitle", class: "nylas-event-info__subtitle", part: "nei__subtitle" }, "Enter all event information."), h("div", { key: '5b2ec5d3407512249e35e0b4dceb346f379eadc0', slot: "content", class: "nylas-event-info__content" }, h("slot", { key: '67b2da6a395527404a25532257d3de03186a4ab6', name: "inputs" })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "nylas-event-info"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js
CHANGED
|
@@ -30,7 +30,7 @@ export class NylasEventLimits {
|
|
|
30
30
|
debug('nylas-event-limits', 'disconnectedCallback');
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'c80a6842c80d13a944edac4bacd93f1311b87977' }, h("nylas-form-card", { key: '7093ab758d0476bb9c04c2deb2b3f55231d81cd9', exportparts: "nfc__header: nel__header" }, h("h1", { key: '71a02c0f2e0e12568ccb7eae3a00f65c58fdd16b', slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), h("h3", { key: '7e75c6c11119d8a2f58a5bf6099a449ffa4c62ee', slot: "header-subtitle", class: "nylas-event-limits__subtitle" }, "Manage event limits."), h("div", { key: '68642c6ce6819fdf4d57ce779e62d6ca72d7d62b', slot: "content", class: "nylas-event-limits__content" }, h("slot", { key: 'c179df176f32624a61d7ac8ccd04bca082dc8407', name: "inputs" })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "nylas-event-limits"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js
CHANGED
|
@@ -166,13 +166,13 @@ export class NylasEventLocation {
|
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
168
|
const icons = {
|
|
169
|
-
none: h("location-off-icon", { key: '
|
|
170
|
-
custom: h("location-icon", { key: '
|
|
171
|
-
google: h("google-meet-icon", { key: '
|
|
172
|
-
microsoft: h("microsoft-teams-icon", { key: '
|
|
173
|
-
zoom: h("zoom-icon", { key: '
|
|
169
|
+
none: h("location-off-icon", { key: 'eb13ab36999ab20b30e5d9283c7cd0b622cf96a5' }),
|
|
170
|
+
custom: h("location-icon", { key: 'd3ecbd17277a59025a4d56dab224a804dd2a8d41' }),
|
|
171
|
+
google: h("google-meet-icon", { key: 'fe9936ce42ee8d87319bf0bbc9d9ed48e072bc8f' }),
|
|
172
|
+
microsoft: h("microsoft-teams-icon", { key: 'b0c8a3dbb9390138812a59f7c5705fac9766e3ea' }),
|
|
173
|
+
zoom: h("zoom-icon", { key: '8d72f86e7c3566a0d0f7278efc1fb78be0e236ba' }),
|
|
174
174
|
};
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '88e20db0f30b55013f0a63a1a9a054188c37b13b' }, h("div", { key: '8e86c71b3a32c33b4d2558c177ff1dbeda78d7ae', class: "nylas-event-location", part: "nel" }, h("label", { key: 'a3ba2e88a37691c7691df6107e68862eaf40c79d', htmlFor: "location" }, "Location type", h("span", { key: '426742f2b56b10522bc178383fd950724d585a14', class: "label-icon" }, h("tooltip-component", { key: 'e35380ec73605fce5f8626a4f4132a89f13f9c50' }, h("info-icon", { key: 'c9f9e94cc0a0e38e7156e7a505f8289e50200338', slot: "tooltip-icon" }), h("span", { key: '8b52d9df9fd01c93e6fd2065c112d1f2cde3d5f2', slot: "tooltip-content" }, "Choose how you\u2019ll meet with the participants at the scheduled time. Pick from available conferencing options or add a custom location.")))), h("div", { key: 'f9f9738a534b33e557442fca7a09a6a97c0205a2', class: "location-input" }, h("select-dropdown", { key: '3c6d1c878f824a448aff7f414478bcad3507cc5e', withSearch: false, name: "location", options: locationOptions.reverse(), defaultSelectedOption: locationOptions.find(i => i.value == this.selectedLocationOption), exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, h("span", { key: 'f7a3a921c7ce929c81e9065a8d8468ae2df57b7c', slot: "select-icon" }, icons[this.selectedLocationOption])), this.selectedLocationOption === 'custom' && (h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "nylas-event-location"; }
|
|
178
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -307,10 +307,10 @@ export class NylasEventTitle {
|
|
|
307
307
|
return (h("div", { class: "token-label" }, h("span", { class: "token" }, token.token), h("span", { class: "description" }, token.description)));
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
|
-
return (h(Host, { key: '
|
|
310
|
+
return (h(Host, { key: 'caa2a0ddec7a8f5780779c8e1326d854e9c203ff' }, h("div", { key: '2118d80a1ae25538c1fa20c250df4e8673ae75e3', class: "nylas-event-title", part: "net" }, h("label", { key: '063a3f1753d90ef023f23d6c1cfec4c8c71a2d7a', htmlFor: "title" }, "Event title", h("span", { key: 'fbdeaf6eb191ea51bb4048928f05e9d603c28630', class: "required" }, "*"), h("span", { key: '16601b64ccd4360fc9783001e06f5b728ee3a2b2', class: "label-icon" }, h("tooltip-component", { key: 'bbb5171ba8a6f9378181dc1433679b6658aec343' }, h("info-icon", { key: 'bb2bf22f400b5bc2436cc4d26919713e207a9cd7', slot: "tooltip-icon" }), h("span", { key: '02df6a6ec9342fe10ce9ee72100e881594f0f40f', slot: "tooltip-content" }, "Enter a title for your event.")))), h("div", { key: 'f1aa12dbc7d59dda437837564db870c7a87f21b7', class: {
|
|
311
311
|
title: true,
|
|
312
312
|
error: this.validationError !== '',
|
|
313
|
-
}, part: "net__title", ref: el => (this.titleRef = el), contentEditable: "true", onInput: e => this.handleChange(e), onKeyDown: event => this.handleInputKeyDown(event) }), this.showTokens && this.filteredTokens?.length > 0 && (h("div", { class: "token-options", part: "net__dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (h("li", { tabindex: "0", key: option.label, id: option.label, class: { active: this.ariaActivedescendant === option.label }, onClick: e => this.selectOption(e, option), role: "option" }, this.getLabelHTML(option.labelHTML))))))), h("span", { key: '
|
|
313
|
+
}, part: "net__title", ref: el => (this.titleRef = el), contentEditable: "true", onInput: e => this.handleChange(e), onKeyDown: event => this.handleInputKeyDown(event) }), this.showTokens && this.filteredTokens?.length > 0 && (h("div", { class: "token-options", part: "net__dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (h("li", { tabindex: "0", key: option.label, id: option.label, class: { active: this.ariaActivedescendant === option.label }, onClick: e => this.selectOption(e, option), role: "option" }, this.getLabelHTML(option.labelHTML))))))), h("span", { key: 'a7656d637158a644acb28bf7368a0f0d9f781166', class: "help-text" }, "Create a dynamic templated event title by typing $."), this.validationError != '' && h("span", { class: "error-message" }, this.validationError))));
|
|
314
314
|
}
|
|
315
315
|
static get is() { return "nylas-event-title"; }
|
|
316
316
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class NylasFormCard {
|
|
|
31
31
|
checkForMissingSlots(slots, this.host);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '37edecef8a8a43abfcc4f41dda40dac9a942a32d' }, h("div", { key: 'c469aec0b40c7d352b296ac9245410628abd450c', class: "nylas-form-card", part: "nfc" }, h("div", { key: '7324f977747c0dc3ba96eab6fba6215c5fcca6a0', class: "nylas-form-card__header", part: "nfc__header" }, h("slot", { key: 'c6b68fbe49b471a94549c96c6b99237cc6d2c109', name: "header-title" }), h("slot", { key: 'd65432c2579ecc19e983455597e8679e605e5031', name: "header-subtitle" })), h("div", { key: 'e6f04ad2052e6902d21c4083fd9f90f99a044092', class: "nylas-form-card__content" }, h("slot", { key: '8edc98dec2c083a3449548cc2dc2e09e5efe9514', name: "content" })))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "nylas-form-card"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,7 +90,7 @@ export class NylasLimitFutureBookings {
|
|
|
90
90
|
this.selectedPeriod = period;
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '53a29d5f67af0f4e6d00e230952a1e03332166e9' }, h("div", { key: '72a308e88ecbab2b389b8fc40f4dd70f5e22c6c9', class: "nylas-limit-future-bookings", part: "nlfb" }, h("label", { key: 'cb244b539a1d0bcc0e562375356fe2f14521118c' }, "Limit future bookings", h("span", { key: '415b9bbd1b04f216ab7f6290f7fe5d998450829c', class: "label-icon" }, h("tooltip-component", { key: 'c1ce9f9283c5ff03ccd32d7ae386b85fcc248b04' }, h("info-icon", { key: '6018dce6a8fdba0c3892f6ec910846bbf4131ea0', slot: "tooltip-icon" }), h("span", { key: 'bcb5f13d5b185970e9f83dd9fb7a9cb2c8f83826', slot: "tooltip-content" }, "The limit on how far in the future bookings can be made.")))), h("time-period-selector", { key: 'c7e5dba9cff6a840c63e5d7697fff34d784f6554', id: "limit-future-bookings", timePeriods: ['day', 'week', 'month'], exportparts: "tps__number-dropdown: nlfb__number-dropdown, tps__number-dropdown-button: nlfb__number-dropdown-button, tps__number-dropdown-content: nlfb__number-dropdown-content, tps__period-dropdown: nlfb__period-dropdown, tps__period-dropdown-button: nlfb__period-dropdown-button, tps__period-dropdown-content: nlfb__period-dropdown-content", defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "nylas-limit-future-bookings"; }
|
|
96
96
|
static get encapsulation() { return "shadow"; }
|
|
@@ -115,7 +115,7 @@ export class NylasMinBookingNotice {
|
|
|
115
115
|
this.selectedPeriod = period;
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'b66e6d967866180d458597d6ff5c00f4aca0ec3b' }, h("div", { key: '98ad2ebaa4a3495f9ba65577d8b1af6016d377f9', class: "nylas-min-booking-notice", part: "nmbn" }, h("label", { key: '5c2e80d9691796b7cf55c1efa304d5c6b5b22a5a' }, "Minimum booking notice", h("span", { key: '1ff320e10d2b918da0b80885d2bda34f797e8e90', class: "label-icon" }, h("tooltip-component", { key: 'c7d22efc7c5d23a3a3fd3e6fe746ade7e2a9a00b' }, h("info-icon", { key: '8cea6168b3a274642250e1a217feed9660a4b87a', slot: "tooltip-icon" }), h("span", { key: '85502d33a2ef5842e247dab8a14fdc138cc25128', slot: "tooltip-content" }, "The minimum amount of time in the future that a new booking can be made.")))), h("time-period-selector", { key: '96064706fbe48c498569f005549d1030725c5c70', id: "min-booking-notice", exportparts: "tps__number-dropdown: nmbn__number-dropdown, tps__number-dropdown-button: nmbn__number-dropdown-button, tps__number-dropdown-content: nmbn__number-dropdown-content, tps__period-dropdown: nmbn__period-dropdown, tps__period-dropdown-button: nmbn__period-dropdown-button, tps__period-dropdown-content: nmbn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "nylas-min-booking-notice"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -115,7 +115,7 @@ export class NylasMinCancellationNotice {
|
|
|
115
115
|
this.selectedPeriod = period;
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'ce2473b73de62b85e83d58aa3fc66c9ee5ae48e1' }, h("div", { key: '28e87715ad2356259660fb281e2e461ff50050d8', class: "nylas-min-cancellation-notice", part: "nmcn" }, h("label", { key: '6582f3ad397d65b0ace88f3168ec472f4b2dda87' }, "Minimum cancellation notice", h("span", { key: '99b09490eb2ac74fdcbc7d5bb30923b7b69534b3', class: "label-icon" }, h("tooltip-component", { key: '13b1130f0cfad5c6d88fa82b70431ee9470519bd' }, h("info-icon", { key: 'dc19df74544163eadb9223c35507240fe3bd684b', slot: "tooltip-icon" }), h("span", { key: 'ab03e84970093e4c62e26280ee305b03e45748ee', slot: "tooltip-content" }, "The minimum amount of time required to cancel a booking.")))), h("time-period-selector", { key: '0befed220376dd6d85990600ef9b5b9a897fe49f', id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "nylas-min-cancellation-notice"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class NylasParticipantBookingCalendars {
|
|
|
121
121
|
return selectedParticipants;
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '6fa910c87f437c0d9f031a76a854b4977fe9696c' }, h("div", { key: 'fd8dac2baf15d1656bfd1856c683cb217cf68aad', class: "nylas-participant-booking-calendars", part: "npbc" }, h("div", { key: 'f8a817cfa4f1f1b12780ea7ab7354bd12eaff64d', class: "header", part: "npbc__header" }, h("h3", { key: '1978227a6007ee58270c70ab2578a2364229992d' }, "Calendar booking"), h("p", { key: '968674c7567f6a898052e9f1c6fa4a4d7106b4f2' }, "Select the calendar where you want to add event bookings.", h("tooltip-component", { key: '6daa4107d5d6145b72909b9fd3aa76b3393d46fc' }, h("info-icon", { key: '001e828549f0bf59d330d9099bb35edb97a37318', slot: "tooltip-icon" }), h("span", { key: '1172c70eed8ac2b84e6a7ec56b38f8096d5ca514', slot: "tooltip-content" }, "The calendar will be used to create events.")))), h("div", { key: 'ed4838cd97937c6a85a74b8e9541bde8cc6dda85', class: "content", part: "npbc__content" }, h("form", { key: '7b95644a8ae34c54db35bf7a1a24558c972d1318', ref: el => (this.bookingCalendarsFormRef = el) }, Object.keys(this.participantCalendars).map((key, index) => {
|
|
125
125
|
const participant = this.selectedCalendars[key];
|
|
126
126
|
const participantCalendars = this.participantCalendars[key];
|
|
127
127
|
if (!participant || !participant.name)
|
|
@@ -97,7 +97,7 @@ export class NylasParticipantsCustomAvailability {
|
|
|
97
97
|
return selectedParticipants;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'c3139830070c38c56ef267890b11386a05064eab' }, h("div", { key: '034692665ece4285444af35f4f371202db863284', class: "nylas-participants-custom-availability", part: "npca" }, h("div", { key: 'b111ad5ceece2fb367b021254b3d317a13769ccb', class: "header", part: "npca__header" }, h("h3", { key: '793a8a3d305619e4b1dae28e07e80e82d7a769e2' }, "Availability for participants"), h("p", { key: '0b3959e113ff428445acee4dc9fb9fd745dd9f02' }, "If not set, the general availability on the Availability tab is used.")), h("div", { key: '17e7f1d1c49c10c78f5cc4ae37b7f4aeadff0de5', class: "content", part: "npca__content" }, h("form", { key: '1410f5b95eb5cdea2c1de1fcec9cbd6650ff756b', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
101
101
|
const participant = this.selectedParticipants[key];
|
|
102
102
|
if (!participant || !participant.name || !participant.availability)
|
|
103
103
|
return;
|
package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js
CHANGED
|
@@ -101,7 +101,7 @@ export class NylasReminderEmails {
|
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
103
|
const organizerName = this.participants.find(p => p.is_organizer)?.name;
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '637a94afb7442f23133efa8c3875bf3f9c2454a4' }, h("div", { key: '67cd255242bcd889d5f5b86d63420f13047fba5f', class: "cards-container" }, this.reminders.map((reminder, index) => {
|
|
105
105
|
return (h("div", { class: "nylas-reminder-email", part: "nre" }, h("div", { class: "header", part: "nre__header" }, h("div", null, h("h3", null, "Upcoming meeting", organizerName ? ` with ${organizerName} ` : ''), h("p", null, "Reminder before event")), this.editingReminderIndex !== index ? (h("button-component", { variant: 'basic', key: `edit-${index} `, clickHandler: event => {
|
|
106
106
|
event.preventDefault();
|
|
107
107
|
this.editingReminderIndex = index;
|
|
@@ -109,10 +109,10 @@ export class NylasReminderEmails {
|
|
|
109
109
|
event.preventDefault();
|
|
110
110
|
this.deleteReminder(index);
|
|
111
111
|
} }, h("trash-icon", { width: "16", height: "16" })))), this.editingReminderIndex === index ? (h("div", { class: "nylas-reminder-email__body", part: "nre__body" }, h("div", { class: "nylas-reminder-email__section" }, h("div", { class: "nylas-reminder-email__row" }, h("label", null, "Send confirmation email when", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation immediately after your booking is set up.")))), h("nylas-reminder-time", { name: `reminder-time-${index}`, eventReminderTimeMinutes: reminder.reminder_minutes, exportparts: "nrt, nrt__input_dropdown: nre__reminder-input_dropdown,\n nrt__input_dropdown-input: nre__reminder-input_dropdown-input,\n nrt__input_dropdown-content: nre__reminder-input_dropdown-content,\n " }))))) : (h("div", { class: "nylas-reminder-email__summary", part: "nre__summary" }, h("p", null, h("span", { class: "summary-icon" }, h("person-clipboard-icon", null)), "All host & guests"), h("p", null, h("span", { class: "summary-icon" }, h("clock-icon", null)), this.formatReminderTime(reminder.reminder_minutes), " before the event")))));
|
|
112
|
-
})), h("button-component", { key: '
|
|
112
|
+
})), h("button-component", { key: '22ff7c3ff9abfe8128f5bb6c4f518221b7a23819', class: "create-reminder", variant: 'basic', clickHandler: event => {
|
|
113
113
|
event.preventDefault();
|
|
114
114
|
this.addReminder();
|
|
115
|
-
} }, h("plus-icon", { key: '
|
|
115
|
+
} }, h("plus-icon", { key: 'cda8e18966c5be78391f3d0381e4086dcda17101', width: "16", height: "16" }), "New reminder")));
|
|
116
116
|
}
|
|
117
117
|
static get is() { return "nylas-reminder-emails"; }
|
|
118
118
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.js
CHANGED
|
@@ -107,7 +107,7 @@ export class NylasReminderTime {
|
|
|
107
107
|
{ value: 60, label: 'hour' },
|
|
108
108
|
{ value: 60 * 24, label: 'day' },
|
|
109
109
|
];
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: 'e0cbb4a650912106a457250692f5c52bd66fdf6c' }, h("div", { key: '68a874e43a5da27f22aa0ab0103c672eae247cc4', class: "nylas-reminder-time", part: "nrt" }, h("div", { key: '086b549b0dd7eea64a773591032e59072273dcd7', class: "nylas-reminder-time__wrapper" }, h("input-dropdown", { key: '8f3a6cc2c3e5ccb90f9c233f9bc60351588e2f9f', name: 'reminder-time', options: this.reminderTimeMinutesOptions, inputValue: this.reminderTime.toString(), exportparts: "id_dropdown: nrt__input_dropdown, id_dropdown-input: nrt__input_dropdown-input, id_dropdown-content: nrt__input_dropdown-content", defaultInputOption: this.reminderTimeMinutesOptions.find(i => i.value == this.reminderTime) ?? reminderTimeOptions[0] }), h("select-dropdown", { key: 'f32e2680baa962af904560d67984d14efc805878', name: 'reminder-time-unit', options: reminderTimeOptions, pluralizedLabel: this.reminderTime > 1 ? 's' : '', exportparts: "sd_dropdown: nrt__dropdown, sd_dropdown-button: nrt__dropdown-button, sd_dropdown-content: nrt__dropdown-content", defaultSelectedOption: reminderTimeOptions.find(i => i.value == this.reminderTimeincrement) ?? reminderTimeOptions[0], withSearch: false })))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "nylas-reminder-time"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js
CHANGED
|
@@ -148,7 +148,7 @@ export class NylasSchedulerEditor {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h(Host, { key: '
|
|
151
|
+
return (h(Host, { key: '692969f53919c6e1ab55a9957431bc49484f0d12' }, h("div", { key: '44a305049e2d179f490e216492f2081b8abc04e6', class: "scheduler-editor-header", part: "nse__header" }, h("h1", { key: '5ade71c3584f02d488a9c9ea3af9ae0c94229bd9', class: "scheduler-editor-title", part: "nse__title" }, h("calendar-icon", { key: '43bc046f201541d828399ada01333510ff979059', width: "18", height: "18" }), "Scheduler editor"), h("button", { key: '372383bd359b161434b3e34cdff7dbec0893225a', class: "scheduler-editor-close", title: "logout", onClick: e => this.handleSchedulerConfigCloseClicked(e), part: "nse__close-button" }, h("close-icon", { key: '935bd1c849164bf6ba4646970942dffe0b6e3262', width: "18", height: "18" }))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === null && (h("div", { class: "list-configurations" }, h("nylas-list-configurations", null))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'create' && (h("nylas-editor-tabs", { mode: "composable" }, h(ExpressFlow, { currentUser: this.stores?.schedulerConfig?.state.currentUser, calendars: this.stores?.schedulerConfig?.state?.calendars, selectedConfiguration: this.stores?.schedulerConfig?.state?.selectedConfiguration }))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'edit' && (h("nylas-editor-tabs", { mode: this.mode }, this.mode === 'composable' && h("slot", null))), !this.stores?.schedulerConfig?.state.currentUser && (h("slot", { name: "login-required" }, h(LoginRequired, { authenticationUrl: this.authenticationUrl })))));
|
|
152
152
|
}
|
|
153
153
|
static get is() { return "nylas-scheduler-editor"; }
|
|
154
154
|
static get encapsulation() { return "shadow"; }
|