@nylas/web-elements 0.0.0-canary-20241008193213 → 0.0.0-canary-20241015194719
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/add-circle/add-circle.es.js +1 -1
- package/dist/cdn/add-circle-icon/add-circle-icon.es.js +1 -1
- package/dist/cdn/archive-icon/archive-icon.es.js +127 -127
- package/dist/cdn/arrow-icon/arrow-icon.es.js +248 -248
- package/dist/cdn/bold-icon/bold-icon.es.js +1 -1
- package/dist/cdn/button-component/button-component.es.js +2 -2
- package/dist/cdn/calendar/calendar.es.js +77 -77
- package/dist/cdn/calendar-agenda/calendar-agenda.es.js +1 -1
- package/dist/cdn/calendar-agenda-fill/calendar-agenda-fill.es.js +1 -1
- package/dist/cdn/calendar-agenda-fill-icon/calendar-agenda-fill-icon.es.js +1 -1
- package/dist/cdn/calendar-agenda-icon/calendar-agenda-icon.es.js +1 -1
- package/dist/cdn/calendar-cancel/calendar-cancel.es.js +1 -1
- package/dist/cdn/calendar-cancel-icon/calendar-cancel-icon.es.js +1 -1
- package/dist/cdn/calendar-check/calendar-check.es.js +139 -139
- package/dist/cdn/calendar-check-icon/calendar-check-icon.es.js +14 -14
- package/dist/cdn/calendar-icon/calendar-icon.es.js +24 -24
- package/dist/cdn/calendar-info/calendar-info.es.js +1 -1
- package/dist/cdn/calendar-info-icon/calendar-info-icon.es.js +1 -1
- package/dist/cdn/calendar-patterns/calendar-patterns.es.js +1 -1
- package/dist/cdn/calendar-patterns-icon/calendar-patterns-icon.es.js +1 -1
- package/dist/cdn/checkbox-component/checkbox-component.es.js +1 -1
- package/dist/cdn/checkmark/checkmark.es.js +86 -86
- package/dist/cdn/checkmark-circle/checkmark-circle.es.js +99 -99
- package/dist/cdn/checkmark-circle-icon/checkmark-circle-icon.es.js +14 -14
- package/dist/cdn/checkmark-icon/checkmark-icon.es.js +1 -1
- package/dist/cdn/chevron/chevron.es.js +16 -16
- package/dist/cdn/chevron-icon/chevron-icon.es.js +14 -14
- package/dist/cdn/clock/clock.es.js +16 -16
- package/dist/cdn/clock-icon/clock-icon.es.js +14 -14
- package/dist/cdn/close/close.es.js +1 -1
- package/dist/cdn/close-icon/close-icon.es.js +54 -54
- package/dist/cdn/constants/constants.es.js +3 -3
- package/dist/cdn/copy/copy.es.js +239 -239
- package/dist/cdn/copy-icon/copy-icon.es.js +271 -271
- package/dist/cdn/delete/delete.es.js +1 -1
- package/dist/cdn/delete-icon/delete-icon.es.js +1 -1
- package/dist/cdn/document-refresh-icon/document-refresh-icon.es.js +1 -1
- package/dist/cdn/dragable/dragable.es.js +54 -54
- package/dist/cdn/dragable-icon/dragable-icon.es.js +1 -1
- package/dist/cdn/edit/edit.es.js +1 -1
- package/dist/cdn/edit-icon/edit-icon.es.js +1 -1
- package/dist/cdn/envelope/envelope.es.js +25 -25
- package/dist/cdn/envelope-fill/envelope-fill.es.js +16 -16
- package/dist/cdn/envelope-fill-icon/envelope-fill-icon.es.js +97 -97
- package/dist/cdn/envelope-icon/envelope-icon.es.js +24 -24
- package/dist/cdn/eye/eye.es.js +1 -1
- package/dist/cdn/eye-icon/eye-icon.es.js +1 -1
- package/dist/cdn/feedback-icon/feedback-icon.es.js +86 -86
- package/dist/cdn/flow/flow.es.js +1 -1
- package/dist/cdn/flow-icon/flow-icon.es.js +1 -1
- package/dist/cdn/folder-icon/folder-icon.es.js +14 -14
- package/dist/cdn/forward-icon/forward-icon.es.js +240 -240
- package/dist/cdn/globe/globe.es.js +1 -1
- package/dist/cdn/globe-icon/globe-icon.es.js +1 -1
- package/dist/cdn/google-logo/google-logo.es.js +1 -1
- package/dist/cdn/google-logo-icon/google-logo-icon.es.js +1 -1
- package/dist/cdn/google-meet/google-meet.es.js +15 -15
- package/dist/cdn/google-meet-icon/google-meet-icon.es.js +1 -1
- package/dist/cdn/inbox-icon/inbox-icon.es.js +1 -1
- package/dist/cdn/info/info.es.js +239 -239
- package/dist/cdn/info-icon/info-icon.es.js +240 -240
- package/dist/cdn/input-color-picker/input-color-picker.es.js +3 -3
- package/dist/cdn/input-component/input-component.es.js +1 -1
- package/dist/cdn/input-dropdown/input-dropdown.es.js +1 -1
- package/dist/cdn/input-image-url/input-image-url.es.js +2 -2
- package/dist/cdn/italic-icon/italic-icon.es.js +86 -86
- package/dist/cdn/loading/loading.es.js +270 -270
- package/dist/cdn/loading-icon/loading-icon.es.js +271 -271
- package/dist/cdn/location/location.es.js +100 -100
- package/dist/cdn/location-icon/location-icon.es.js +19 -19
- package/dist/cdn/location-off/location-off.es.js +86 -86
- package/dist/cdn/location-off-icon/location-off-icon.es.js +1 -1
- package/dist/cdn/microsof-teams/microsof-teams.es.js +96 -96
- package/dist/cdn/microsoft-logo/microsoft-logo.es.js +1 -1
- package/dist/cdn/microsoft-logo-icon/microsoft-logo-icon.es.js +1 -1
- package/dist/cdn/microsoft-teams-icon/microsoft-teams-icon.es.js +97 -97
- package/dist/cdn/multi-select-dropdown/multi-select-dropdown.es.js +3 -3
- package/dist/cdn/nylas-additional-participants/nylas-additional-participants.es.js +12 -12
- package/dist/cdn/nylas-availability-picker/nylas-availability-picker.es.js +15 -15
- package/dist/cdn/nylas-booked-event-card/nylas-booked-event-card.es.js +10 -10
- package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +5 -5
- package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +7 -7
- package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +733 -734
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +154 -151
- package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +9 -9
- package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +5 -5
- package/dist/cdn/nylas-calendar-picker/nylas-calendar-picker.es.js +7 -7
- package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +10 -10
- package/dist/cdn/nylas-cancellation-policy/nylas-cancellation-policy.es.js +3 -3
- package/dist/cdn/nylas-cancelled-event-card/nylas-cancelled-event-card.es.js +7 -7
- package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +15 -15
- package/dist/cdn/nylas-confirmed-event-card/nylas-confirmed-event-card.es.js +723 -723
- package/dist/cdn/nylas-connected-calendars/nylas-connected-calendars.es.js +179 -179
- package/dist/cdn/nylas-custom-booking-flow/nylas-custom-booking-flow.es.js +2 -2
- package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +7 -7
- package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +147 -147
- package/dist/cdn/nylas-date-picker/nylas-date-picker.es.js +7 -7
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +6323 -5910
- package/dist/cdn/nylas-event-description/nylas-event-description.es.js +3 -3
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +5 -5
- package/dist/cdn/nylas-event-info/nylas-event-info.es.js +2 -2
- package/dist/cdn/nylas-event-limits/nylas-event-limits.es.js +2 -2
- package/dist/cdn/nylas-event-location/nylas-event-location.es.js +2558 -2533
- package/dist/cdn/nylas-event-title/nylas-event-title.es.js +10 -5
- package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +8 -8
- package/dist/cdn/nylas-form-card/nylas-form-card.es.js +1 -1
- package/dist/cdn/nylas-if-state/nylas-if-state.es.js +1 -1
- package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +8 -8
- package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +21 -17
- package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +1168 -1168
- package/dist/cdn/nylas-login/nylas-login.es.js +1 -1
- package/dist/cdn/nylas-logo/nylas-logo.es.js +125 -125
- package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +10 -10
- package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +10 -10
- package/dist/cdn/nylas-notification/nylas-notification.es.js +3 -3
- package/dist/cdn/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.es.js +6 -6
- package/dist/cdn/nylas-page-name/nylas-page-name.es.js +7 -7
- package/dist/cdn/nylas-page-styling/nylas-page-styling.es.js +4 -4
- package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +8 -8
- package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +176 -176
- package/dist/cdn/nylas-provider/nylas-provider.es.js +652 -644
- package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +17 -17
- package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +5 -5
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +1364 -937
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1077 -1053
- package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +10 -12
- package/dist/cdn/nylas-selected-event-card/nylas-selected-event-card.es.js +4 -4
- package/dist/cdn/nylas-time-window-picker/nylas-time-window-picker.es.js +1 -1
- package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +147 -149
- package/dist/cdn/nylas-timeslot-picker/nylas-timeslot-picker.es.js +6 -6
- package/dist/cdn/paintbrush/paintbrush.es.js +239 -239
- package/dist/cdn/paintbrush-fill/paintbrush-fill.es.js +1 -1
- package/dist/cdn/paintbrush-fill-icon/paintbrush-fill-icon.es.js +1 -1
- package/dist/cdn/paintbrush-icon/paintbrush-icon.es.js +240 -240
- package/dist/cdn/people/people.es.js +1 -1
- package/dist/cdn/people-icon/people-icon.es.js +1 -1
- package/dist/cdn/person/person.es.js +1 -1
- package/dist/cdn/person-clipboard/person-clipboard.es.js +1 -1
- package/dist/cdn/person-clipboard-icon/person-clipboard-icon.es.js +1 -1
- package/dist/cdn/person-icon/person-icon.es.js +1 -1
- package/dist/cdn/play-icon/play-icon.es.js +248 -248
- package/dist/cdn/plus/plus.es.js +16 -16
- package/dist/cdn/plus-icon/plus-icon.es.js +14 -14
- package/dist/cdn/radio-button-group/radio-button-group.es.js +1 -1
- package/dist/cdn/refresh-icon/refresh-icon.es.js +14 -14
- package/dist/cdn/reply-all-icon/reply-all-icon.es.js +14 -14
- package/dist/cdn/reply-icon/reply-icon.es.js +14 -14
- package/dist/cdn/scheduler-store/scheduler-store.es.js +654 -646
- package/dist/cdn/search/search.es.js +1 -1
- package/dist/cdn/search-icon/search-icon.es.js +86 -86
- package/dist/cdn/select-dropdown/select-dropdown.es.js +3 -3
- package/dist/cdn/sent-icon/sent-icon.es.js +1 -1
- package/dist/cdn/spam-icon/spam-icon.es.js +86 -86
- package/dist/cdn/star-icon/star-icon.es.js +1 -1
- package/dist/cdn/stop-icon/stop-icon.es.js +1 -1
- package/dist/cdn/textarea-component/textarea-component.es.js +3 -3
- package/dist/cdn/time-period-selector/time-period-selector.es.js +230 -230
- package/dist/cdn/toggle-switch/toggle-switch.es.js +1 -1
- package/dist/cdn/toolitp-component/toolitp-component.es.js +23 -23
- package/dist/cdn/tooltip-component/tooltip-component.es.js +26 -26
- package/dist/cdn/translate/translate.es.js +246 -246
- package/dist/cdn/translate-icon/translate-icon.es.js +247 -247
- package/dist/cdn/trash/trash.es.js +1 -1
- package/dist/cdn/trash-fill-icon/trash-fill-icon.es.js +14 -14
- package/dist/cdn/trash-icon/trash-icon.es.js +1 -1
- package/dist/cdn/underline-icon/underline-icon.es.js +1 -1
- package/dist/cdn/warning/warning.es.js +247 -247
- package/dist/cdn/warning-icon/warning-icon.es.js +248 -248
- package/dist/cdn/zoom/zoom.es.js +1 -1
- package/dist/cdn/zoom-icon/zoom-icon.es.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/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/button-component_2.cjs.entry.js +2 -2
- package/dist/cjs/{calendar-agenda-fill-icon_51.cjs.entry.js → calendar-agenda-fill-icon_54.cjs.entry.js} +703 -304
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-cancel-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/checkbox-component_2.cjs.entry.js +2 -2
- package/dist/cjs/chevron-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/clock-icon_4.cjs.entry.js +4 -4
- package/dist/cjs/copy-icon.cjs.entry.js +1 -1
- package/dist/cjs/delete-icon.cjs.entry.js +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/folder-icon.cjs.entry.js +1 -1
- package/dist/cjs/forward-icon.cjs.entry.js +1 -1
- package/dist/cjs/globe-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +34 -23
- package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
- package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
- package/dist/cjs/index-7af03e3f.js +2 -10
- package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/input-color-picker.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/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +33 -32
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- 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-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-provider.cjs.entry.js +2 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +22 -9
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/person-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon.cjs.entry.js +1 -1
- package/dist/cjs/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/{scheduler-store-4489a68b.js → scheduler-store-e3ddffc1.js} +13 -4
- package/dist/cjs/scheduler-store-e3ddffc1.js.map +1 -0
- 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/translate-icon.cjs.entry.js +1 -1
- package/dist/cjs/trash-fill-icon.cjs.entry.js +1 -1
- package/dist/cjs/underline-icon.cjs.entry.js +1 -1
- package/dist/cjs/warning-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/feedback-icon.js +1 -1
- package/dist/collection/common/icons/flow.js +1 -1
- package/dist/collection/common/icons/folder.js +1 -1
- package/dist/collection/common/icons/forward.js +1 -1
- package/dist/collection/common/icons/globe.js +1 -1
- package/dist/collection/common/icons/google-logo.js +1 -1
- package/dist/collection/common/icons/google-meet.js +1 -1
- package/dist/collection/common/icons/inbox.js +1 -1
- package/dist/collection/common/icons/info.js +1 -1
- package/dist/collection/common/icons/italic.js +1 -1
- package/dist/collection/common/icons/loading.js +1 -1
- package/dist/collection/common/icons/location-off.js +1 -1
- package/dist/collection/common/icons/location.js +1 -1
- package/dist/collection/common/icons/microsof-teams.js +1 -1
- package/dist/collection/common/icons/microsoft-logo.js +1 -1
- package/dist/collection/common/icons/nylas-logo.js +1 -1
- package/dist/collection/common/icons/paintbrush-fill.js +1 -1
- package/dist/collection/common/icons/paintbrush.js +1 -1
- package/dist/collection/common/icons/people.js +1 -1
- package/dist/collection/common/icons/person-clipboard.js +1 -1
- package/dist/collection/common/icons/person.js +1 -1
- package/dist/collection/common/icons/play.js +1 -1
- package/dist/collection/common/icons/plus.js +1 -1
- package/dist/collection/common/icons/refresh.js +1 -1
- package/dist/collection/common/icons/reply-all.js +1 -1
- package/dist/collection/common/icons/reply.js +1 -1
- package/dist/collection/common/icons/search.js +1 -1
- package/dist/collection/common/icons/sent.js +1 -1
- package/dist/collection/common/icons/spam.js +1 -1
- package/dist/collection/common/icons/star.js +1 -1
- package/dist/collection/common/icons/stop.js +1 -1
- package/dist/collection/common/icons/translate.js +1 -1
- package/dist/collection/common/icons/trash-fill.js +1 -1
- package/dist/collection/common/icons/trash.js +1 -1
- package/dist/collection/common/icons/underline.js +1 -1
- package/dist/collection/common/icons/warning.js +1 -1
- package/dist/collection/common/icons/zoom.js +1 -1
- package/dist/collection/common/types.js.map +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-color-picker/input-color-picker.js +2 -2
- package/dist/collection/components/design-system/input-component/input-component.js +1 -1
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/design-system/input-image-url/input-image-url.js +1 -1
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +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/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-booked-event-card/nylas-booked-event-card.css +23 -0
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +66 -51
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +23 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +35 -24
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.css +23 -0
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +38 -29
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.css +23 -0
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +26 -23
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +26 -23
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +23 -0
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +26 -20
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +2 -2
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +23 -0
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +29 -23
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +24 -10
- 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 +143 -0
- 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.css +23 -0
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +3 -3
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +23 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +48 -42
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +56 -41
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +44 -28
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js +25 -10
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +21 -9
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js +19 -10
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +6 -3
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js +10 -4
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js +45 -33
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.css +2 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +8 -4
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +26 -10
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +1 -0
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +17 -11
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +62 -28
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js +171 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +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 +74 -29
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +25 -11
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
- 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 +16 -7
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +32 -23
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +32 -23
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js +43 -28
- package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +38 -26
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js +31 -12
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +18 -8
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js +47 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js.map +1 -0
- 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-scheduling-method/nylas-scheduling-method.js +34 -27
- package/dist/collection/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.js.map +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 +18 -53
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler.js +12 -3
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
- package/dist/collection/types/index.js +7 -6
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/utils/test-utils.js +9 -0
- package/dist/collection/utils/test-utils.js.map +1 -1
- package/dist/components/add-circle.js +1 -1
- package/dist/components/archive-icon.js +1 -1
- package/dist/components/arrow-icon.js +1 -1
- package/dist/components/bold-icon.js +1 -1
- package/dist/components/button-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.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/constants.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/feedback-icon2.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder-icon.js +1 -1
- package/dist/components/forward-icon.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-icon.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/input-color-picker.js +2 -2
- package/dist/components/input-component2.js +1 -1
- package/dist/components/input-dropdown2.js +1 -1
- package/dist/components/input-image-url2.js +1 -1
- package/dist/components/italic-icon.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 +6 -6
- package/dist/components/nylas-additional-participants2.js.map +1 -1
- package/dist/components/nylas-availability-picker2.js +5 -4
- package/dist/components/nylas-availability-picker2.js.map +1 -1
- package/dist/components/nylas-booked-event-card2.js +8 -8
- package/dist/components/nylas-booked-event-card2.js.map +1 -1
- package/dist/components/nylas-booking-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-booking-confirmation-redirect2.js +1 -1
- package/dist/components/nylas-booking-confirmation-redirect2.js.map +1 -1
- package/dist/components/nylas-booking-confirmation-type2.js +2 -2
- package/dist/components/nylas-booking-confirmation-type2.js.map +1 -1
- package/dist/components/nylas-booking-form-config2.js +1 -1
- package/dist/components/nylas-booking-form-config2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +6 -5
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-buffer-time2.js.map +1 -1
- package/dist/components/nylas-calendar-picker2.js +4 -4
- package/dist/components/nylas-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +4 -4
- package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancellation-policy2.js +1 -1
- package/dist/components/nylas-cancellation-policy2.js.map +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +4 -4
- package/dist/components/nylas-cancelled-event-card2.js.map +1 -1
- package/dist/components/nylas-confirmation-email2.js +3 -2
- package/dist/components/nylas-confirmation-email2.js.map +1 -1
- package/dist/components/nylas-confirmed-event-card2.js +3 -3
- package/dist/components/nylas-confirmed-event-card2.js.map +1 -1
- package/dist/components/nylas-connected-calendars2.js +6 -2
- package/dist/components/nylas-connected-calendars2.js.map +1 -1
- package/dist/components/nylas-custom-booking-flow2.js +1 -1
- package/dist/components/nylas-custom-booking-flow2.js.map +1 -1
- package/dist/components/nylas-custom-event-slug2.js +1 -0
- package/dist/components/nylas-custom-event-slug2.js.map +1 -1
- package/dist/components/nylas-customize-booking-settings2.js +4 -4
- package/dist/components/nylas-customize-booking-settings2.js.map +1 -1
- package/dist/components/nylas-date-picker2.js +4 -4
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +196 -167
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-description2.js.map +1 -1
- package/dist/components/nylas-event-duration2.js +1 -1
- package/dist/components/nylas-event-duration2.js.map +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 +39 -15
- package/dist/components/nylas-event-location2.js.map +1 -1
- package/dist/components/nylas-event-title2.js +10 -5
- package/dist/components/nylas-event-title2.js.map +1 -1
- package/dist/components/nylas-feedback-form2.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-limit-future-bookings2.js.map +1 -1
- package/dist/components/nylas-list-configurations2.js +2 -2
- package/dist/components/nylas-list-configurations2.js.map +1 -1
- package/dist/components/nylas-locale-switch2.js +2 -2
- package/dist/components/nylas-locale-switch2.js.map +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-min-booking-notice2.js +3 -3
- package/dist/components/nylas-min-booking-notice2.js.map +1 -1
- package/dist/components/nylas-min-cancellation-notice2.js +3 -3
- package/dist/components/nylas-min-cancellation-notice2.js.map +1 -1
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-organizer-confirmation-card2.js +3 -3
- package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
- package/dist/components/nylas-page-name2.js +3 -3
- package/dist/components/nylas-page-name2.js.map +1 -1
- package/dist/components/nylas-page-styling2.js +3 -3
- package/dist/components/nylas-page-styling2.js.map +1 -1
- package/dist/components/nylas-participant-booking-calendars2.js +6 -2
- package/dist/components/nylas-participant-booking-calendars2.js.map +1 -1
- package/dist/components/nylas-participants-custom-availability2.js +3 -2
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
- package/dist/components/nylas-provider.js +1 -1
- package/dist/components/nylas-reminder-emails.js +1 -302
- package/dist/components/nylas-reminder-emails.js.map +1 -1
- package/dist/{esm/nylas-reminder-emails.entry.js → components/nylas-reminder-emails2.js} +123 -21
- package/dist/components/nylas-reminder-emails2.js.map +1 -0
- package/dist/components/nylas-reminder-time2.js +2 -2
- package/dist/components/nylas-scheduler-editor.js +179 -161
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling-method2.js +4 -6
- package/dist/components/nylas-scheduling-method2.js.map +1 -1
- package/dist/components/nylas-scheduling.js +22 -8
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +3 -3
- package/dist/components/nylas-selected-event-card2.js.map +1 -1
- package/dist/components/nylas-time-window-picker2.js +1 -1
- package/dist/components/nylas-timeslot-interval2.js +4 -8
- package/dist/components/nylas-timeslot-interval2.js.map +1 -1
- package/dist/components/nylas-timeslot-picker2.js +5 -5
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/components/paintbrush-fill.js +1 -1
- package/dist/components/paintbrush.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-icon.js +1 -1
- package/dist/components/plus.js +1 -1
- package/dist/components/radio-button-group2.js +1 -1
- package/dist/components/refresh-icon.js +1 -1
- package/dist/components/reply-all-icon.js +1 -1
- package/dist/components/reply-icon.js +1 -1
- package/dist/components/scheduler-store.js +12 -3
- package/dist/components/scheduler-store.js.map +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +1 -1
- package/dist/components/sent-icon.js +1 -1
- package/dist/components/spam-icon.js +1 -1
- package/dist/components/star-icon.js +1 -1
- package/dist/components/stop-icon.js +1 -1
- package/dist/components/textarea-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-icon.js +1 -1
- package/dist/components/trash.js +1 -1
- package/dist/components/underline-icon.js +1 -1
- package/dist/components/warning.js +1 -1
- package/dist/components/zoom.js +1 -1
- package/dist/esm/add-circle-icon_2.entry.js +2 -2
- package/dist/esm/archive-icon.entry.js +1 -1
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/button-component_2.entry.js +2 -2
- package/dist/esm/{calendar-agenda-fill-icon_51.entry.js → calendar-agenda-fill-icon_54.entry.js} +702 -306
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js.map +1 -0
- package/dist/esm/calendar-cancel-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/checkbox-component_2.entry.js +2 -2
- package/dist/esm/chevron-icon_3.entry.js +3 -3
- package/dist/esm/clock-icon_4.entry.js +4 -4
- package/dist/esm/{constants-94520f89.js → constants-c549b12b.js} +2 -2
- package/dist/esm/{constants-94520f89.js.map → constants-c549b12b.js.map} +1 -1
- package/dist/esm/copy-icon.entry.js +1 -1
- package/dist/esm/delete-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/folder-icon.entry.js +1 -1
- package/dist/esm/forward-icon.entry.js +1 -1
- package/dist/esm/globe-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +35 -24
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/inbox-icon.entry.js +1 -1
- package/dist/esm/index-7cb0dd3d.js +2 -10
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-color-picker.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/loader.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +34 -33
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-form-card.entry.js +1 -1
- package/dist/esm/nylas-if-state.entry.js +1 -1
- package/dist/esm/nylas-login.entry.js +1 -1
- package/dist/esm/nylas-provider.entry.js +2 -2
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +23 -10
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-time-window-picker.entry.js +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/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/{scheduler-store-24e5fb65.js → scheduler-store-d4784b24.js} +13 -4
- package/dist/esm/scheduler-store-d4784b24.js.map +1 -0
- 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/translate-icon.entry.js +1 -1
- package/dist/esm/trash-fill-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/esm/warning-icon.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-14493c1f.entry.js → p-04d397d3.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b6e4de5b.js → p-08a590fe.js} +2 -2
- package/dist/nylas-web-elements/{p-7943a9f3.entry.js → p-108bd821.entry.js} +2 -2
- package/dist/nylas-web-elements/p-12d690b8.js +2 -0
- package/dist/nylas-web-elements/p-12d690b8.js.map +1 -0
- package/dist/nylas-web-elements/{p-d902a356.entry.js → p-1546bd61.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-651232a3.entry.js → p-1c25b695.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-caad44c4.entry.js → p-2c1432a2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-21fb688e.entry.js → p-2f91359b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-27074ad6.entry.js → p-3268077f.entry.js} +2 -2
- package/dist/nylas-web-elements/p-32bc7f60.entry.js +2 -0
- package/dist/nylas-web-elements/p-33800554.entry.js +2 -0
- package/dist/nylas-web-elements/p-3971e86b.entry.js +2 -0
- package/dist/nylas-web-elements/p-483f2fb4.entry.js +2 -0
- package/dist/nylas-web-elements/{p-8a082b24.entry.js → p-4e57a9ee.entry.js} +2 -2
- package/dist/nylas-web-elements/p-4fb91c8b.entry.js +2 -0
- package/dist/nylas-web-elements/{p-effd77ed.entry.js → p-525bd709.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-7d5b3918.entry.js → p-56834b7a.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-faeec15a.entry.js → p-5ed596d7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6fa4597b.entry.js → p-6089d6fa.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-39af67b7.entry.js → p-61ea19c2.entry.js} +2 -2
- package/dist/nylas-web-elements/p-698d229c.entry.js +2 -0
- package/dist/nylas-web-elements/p-698d229c.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-713505c9.entry.js +2 -0
- package/dist/nylas-web-elements/{p-bd85bf92.entry.js → p-7140bca8.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3f2f3b85.entry.js → p-762ae706.entry.js} +2 -2
- package/dist/nylas-web-elements/p-7919d41d.entry.js +2 -0
- package/dist/nylas-web-elements/p-7bed0959.entry.js +2 -0
- package/dist/nylas-web-elements/p-7bed0959.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-27b52475.entry.js → p-7c20444b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d55f619c.entry.js → p-988eee6f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0519e48e.entry.js → p-9d8ffc7b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-fbddb6fe.entry.js → p-9f009793.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js → p-aa4b24ce.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-5973b208.entry.js → p-ac8386d1.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-062f6da2.entry.js → p-acfe4f6e.entry.js} +2 -2
- package/dist/nylas-web-elements/p-af2ab331.entry.js +2 -0
- package/dist/nylas-web-elements/{p-100c9ff7.entry.js → p-b110d5c1.entry.js} +2 -2
- package/dist/nylas-web-elements/p-b9a8d404.entry.js +8 -0
- package/dist/nylas-web-elements/p-b9a8d404.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-e012eac3.entry.js → p-be938025.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-36792b8a.entry.js → p-cad17478.entry.js} +2 -2
- package/dist/nylas-web-elements/p-ce2c8e67.entry.js +2 -0
- package/dist/nylas-web-elements/{p-68320c97.entry.js → p-d1abdef7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8013d0a2.entry.js → p-dcdb47dd.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-cc8f94f7.entry.js → p-e1cd1887.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-00d89615.entry.js → p-eb2d8167.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-9b62edf6.entry.js → p-ec302526.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-bbcf8659.entry.js → p-ec528a20.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0e0c00cc.entry.js → p-eee29c7e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f62df769.entry.js → p-f2ae34c9.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-fecf68ef.entry.js → p-f4334e3a.entry.js} +2 -2
- package/dist/nylas-web-elements/p-fc6ae4ec.entry.js +2 -0
- package/dist/nylas-web-elements/p-fc6ae4ec.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-fe34d0ee.entry.js +2 -0
- package/dist/nylas-web-elements/p-febf4adf.entry.js +2 -0
- package/dist/types/common/types.d.ts +3 -0
- package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +2 -2
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +3 -4
- package/dist/types/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +5 -3
- package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +2 -2
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +2 -2
- package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.d.ts +2 -2
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +2 -1
- package/dist/types/components/scheduler-editor/nylas-event-location/nylas-event-location.d.ts +2 -0
- package/dist/types/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-page-name/nylas-page-name.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-page-styling/nylas-page-styling.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.d.ts +0 -2
- package/dist/types/components.d.ts +252 -289
- package/dist/types/connector/shared/api/scheduler.d.ts +4 -4
- package/dist/types/types/index.d.ts +164 -32
- package/package.json +7 -5
- package/dist/cjs/calendar-agenda-fill-icon_51.cjs.entry.js.map +0 -1
- package/dist/cjs/nylas-reminder-emails.cjs.entry.js +0 -208
- package/dist/cjs/nylas-reminder-emails.cjs.entry.js.map +0 -1
- package/dist/cjs/nylas-reminder-time_2.cjs.entry.js +0 -175
- package/dist/cjs/nylas-reminder-time_2.cjs.entry.js.map +0 -1
- package/dist/cjs/scheduler-store-4489a68b.js.map +0 -1
- package/dist/esm/calendar-agenda-fill-icon_51.entry.js.map +0 -1
- package/dist/esm/nylas-reminder-emails.entry.js.map +0 -1
- package/dist/esm/nylas-reminder-time_2.entry.js +0 -170
- package/dist/esm/nylas-reminder-time_2.entry.js.map +0 -1
- package/dist/esm/scheduler-store-24e5fb65.js.map +0 -1
- package/dist/nylas-web-elements/p-06e44cfc.entry.js +0 -2
- package/dist/nylas-web-elements/p-06e44cfc.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-2653e311.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ff76491.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ff76491.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-51a66bf5.entry.js +0 -2
- package/dist/nylas-web-elements/p-5b237299.entry.js +0 -2
- package/dist/nylas-web-elements/p-63341f71.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c833d5e.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c833d5e.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-742d7c3c.entry.js +0 -2
- package/dist/nylas-web-elements/p-76fc639b.entry.js +0 -2
- package/dist/nylas-web-elements/p-781e954b.entry.js +0 -2
- package/dist/nylas-web-elements/p-7f56a139.entry.js +0 -2
- package/dist/nylas-web-elements/p-7f56a139.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-86194780.entry.js +0 -2
- package/dist/nylas-web-elements/p-86194780.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-96bcc255.entry.js +0 -2
- package/dist/nylas-web-elements/p-aeab587c.entry.js +0 -2
- package/dist/nylas-web-elements/p-c417fd2f.entry.js +0 -2
- package/dist/nylas-web-elements/p-ef3561ae.js +0 -2
- package/dist/nylas-web-elements/p-ef3561ae.js.map +0 -1
- package/dist/nylas-web-elements/p-fbe814b2.entry.js +0 -8
- package/dist/nylas-web-elements/p-fbe814b2.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fdc60ce2.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-14493c1f.entry.js.map → p-04d397d3.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b6e4de5b.js.map → p-08a590fe.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7943a9f3.entry.js.map → p-108bd821.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d902a356.entry.js.map → p-1546bd61.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-651232a3.entry.js.map → p-1c25b695.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-caad44c4.entry.js.map → p-2c1432a2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-21fb688e.entry.js.map → p-2f91359b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27074ad6.entry.js.map → p-3268077f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-aeab587c.entry.js.map → p-32bc7f60.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-76fc639b.entry.js.map → p-33800554.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-781e954b.entry.js.map → p-3971e86b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-63341f71.entry.js.map → p-483f2fb4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8a082b24.entry.js.map → p-4e57a9ee.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5b237299.entry.js.map → p-4fb91c8b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-effd77ed.entry.js.map → p-525bd709.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7d5b3918.entry.js.map → p-56834b7a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-faeec15a.entry.js.map → p-5ed596d7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6fa4597b.entry.js.map → p-6089d6fa.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-39af67b7.entry.js.map → p-61ea19c2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fdc60ce2.entry.js.map → p-713505c9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bd85bf92.entry.js.map → p-7140bca8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3f2f3b85.entry.js.map → p-762ae706.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c417fd2f.entry.js.map → p-7919d41d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27b52475.entry.js.map → p-7c20444b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d55f619c.entry.js.map → p-988eee6f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0519e48e.entry.js.map → p-9d8ffc7b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fbddb6fe.entry.js.map → p-9f009793.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js.map → p-aa4b24ce.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5973b208.entry.js.map → p-ac8386d1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-062f6da2.entry.js.map → p-acfe4f6e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-742d7c3c.entry.js.map → p-af2ab331.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-100c9ff7.entry.js.map → p-b110d5c1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e012eac3.entry.js.map → p-be938025.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-36792b8a.entry.js.map → p-cad17478.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2653e311.entry.js.map → p-ce2c8e67.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-68320c97.entry.js.map → p-d1abdef7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8013d0a2.entry.js.map → p-dcdb47dd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cc8f94f7.entry.js.map → p-e1cd1887.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-00d89615.entry.js.map → p-eb2d8167.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-9b62edf6.entry.js.map → p-ec302526.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bbcf8659.entry.js.map → p-ec528a20.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0e0c00cc.entry.js.map → p-eee29c7e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f62df769.entry.js.map → p-f2ae34c9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fecf68ef.entry.js.map → p-f4334e3a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-96bcc255.entry.js.map → p-fe34d0ee.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-51a66bf5.entry.js.map → p-febf4adf.entry.js.map} +0 -0
|
@@ -7,8 +7,8 @@ const registerComponent = require('./register-component-36aab1cf.js');
|
|
|
7
7
|
const utils = require('./utils-5ebd7cf8.js');
|
|
8
8
|
const constants = require('./constants-b28483d0.js');
|
|
9
9
|
|
|
10
|
-
const iconCss$
|
|
11
|
-
const CalendarAgendaFillIconStyle0 = iconCss$
|
|
10
|
+
const iconCss$j = ".sc-calendar-agenda-fill-icon-h{display:flex}";
|
|
11
|
+
const CalendarAgendaFillIconStyle0 = iconCss$j;
|
|
12
12
|
|
|
13
13
|
const CalendarAgendaFillIcon = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -17,13 +17,13 @@ const CalendarAgendaFillIcon = class {
|
|
|
17
17
|
this.height = '20';
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index$1.h("svg", { key: '
|
|
20
|
+
return (index$1.h("svg", { key: 'a275ba280fae8412c15b1fd1034e488be4cb2d27', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: 'a3092e55e03efede059223a3a7278761a00c07a5', d: "M14 11.5C14 12.8807 12.8807 14 11.5 14H2.5C1.11929 14 0 12.8807 0 11.5V2.5C0 1.11929 1.11929 0 2.5 0H11.5C12.8807 0 14 1.11929 14 2.5V11.5ZM11 3.5C11 3.25454 10.8231 3.05039 10.5899 3.00806L10.5 3H3.5L3.41012 3.00806C3.17688 3.05039 3 3.25454 3 3.5C3 3.74546 3.17688 3.94961 3.41012 3.99194L3.5 4H10.5L10.5899 3.99194C10.8231 3.94961 11 3.74546 11 3.5ZM11 7C11 6.75454 10.8231 6.55039 10.5899 6.50806L10.5 6.5H3.5L3.41012 6.50806C3.17688 6.55039 3 6.75454 3 7C3 7.24546 3.17688 7.44961 3.41012 7.49194L3.5 7.5H10.5L10.5899 7.49194C10.8231 7.44961 11 7.24546 11 7ZM11 10.5C11 10.2545 10.8231 10.0504 10.5899 10.0081L10.5 10H3.5L3.41012 10.0081C3.17688 10.0504 3 10.2545 3 10.5C3 10.7455 3.17688 10.9496 3.41012 10.9919L3.5 11H10.5L10.5899 10.9919C10.8231 10.9496 11 10.7455 11 10.5Z", fill: "currentColor" })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
CalendarAgendaFillIcon.style = CalendarAgendaFillIconStyle0;
|
|
24
24
|
|
|
25
|
-
const iconCss$
|
|
26
|
-
const CalendarAgendaIconStyle0 = iconCss$
|
|
25
|
+
const iconCss$i = ".sc-calendar-agenda-icon-h{display:flex}";
|
|
26
|
+
const CalendarAgendaIconStyle0 = iconCss$i;
|
|
27
27
|
|
|
28
28
|
const CalendarAgendaIcon = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -32,13 +32,13 @@ const CalendarAgendaIcon = class {
|
|
|
32
32
|
this.height = '20';
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index$1.h("svg", { key: '
|
|
35
|
+
return (index$1.h("svg", { key: '9e7bcafa585dc17975a1793711df835ca7d8d9c1', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '184e8215d1dc6a66b9041cacd4687a446b72a6ec', d: "M14 11.5C14 12.8807 12.8807 14 11.5 14H2.5C1.11929 14 0 12.8807 0 11.5V2.5C0 1.11929 1.11929 0 2.5 0H11.5C12.8807 0 14 1.11929 14 2.5V11.5ZM13 11.5V2.5C13 1.67157 12.3284 1 11.5 1H2.5C1.67157 1 1 1.67157 1 2.5V11.5C1 12.3284 1.67157 13 2.5 13H11.5C12.3284 13 13 12.3284 13 11.5ZM11 3.5C11 3.74546 10.8231 3.94961 10.5899 3.99194L10.5 4H3.5C3.22386 4 3 3.77614 3 3.5C3 3.25454 3.17688 3.05039 3.41012 3.00806L3.5 3H10.5C10.7761 3 11 3.22386 11 3.5ZM11 7C11 7.24546 10.8231 7.44961 10.5899 7.49194L10.5 7.5H3.5C3.22386 7.5 3 7.27614 3 7C3 6.75454 3.17688 6.55039 3.41012 6.50806L3.5 6.5H10.5C10.7761 6.5 11 6.72386 11 7ZM11 10.5C11 10.7455 10.8231 10.9496 10.5899 10.9919L10.5 11H3.5C3.22386 11 3 10.7761 3 10.5C3 10.2545 3.17688 10.0504 3.41012 10.0081L3.5 10H10.5C10.7761 10 11 10.2239 11 10.5Z", fill: "currentColor" })));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
CalendarAgendaIcon.style = CalendarAgendaIconStyle0;
|
|
39
39
|
|
|
40
|
-
const iconCss$
|
|
41
|
-
const CalendarInfoIconStyle0 = iconCss$
|
|
40
|
+
const iconCss$h = ".sc-calendar-info-icon-h{display:flex}";
|
|
41
|
+
const CalendarInfoIconStyle0 = iconCss$h;
|
|
42
42
|
|
|
43
43
|
const CalendarInfoIcon = class {
|
|
44
44
|
constructor(hostRef) {
|
|
@@ -47,13 +47,13 @@ const CalendarInfoIcon = class {
|
|
|
47
47
|
this.height = '20';
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (index$1.h("svg", { key: '
|
|
50
|
+
return (index$1.h("svg", { key: '7ff2928e9a5dd1d9f96b869c4f8f45810117d55f', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '2c83ca56082a787a853d65c02ed6adf6c6d7a44c', d: "M12 0C13.3807 0 14.5 1.11929 14.5 2.5V6.59971C14.1832 6.43777 13.8486 6.30564 13.5 6.20703V4H1.5V11.5C1.5 12.3284 2.17157 13 3 13H6.70703C6.80564 13.3486 6.93777 13.6832 7.09971 14H3C1.61929 14 0.5 12.8807 0.5 11.5V2.5C0.5 1.11929 1.61929 0 3 0H12ZM12 1H3C2.17157 1 1.5 1.67157 1.5 2.5V3H13.5V2.5C13.5 1.67157 12.8284 1 12 1ZM11.375 9.5C11.375 9.15482 11.6548 8.875 12 8.875C12.3452 8.875 12.625 9.15482 12.625 9.5C12.625 9.84518 12.3452 10.125 12 10.125C11.6548 10.125 11.375 9.84518 11.375 9.5ZM12.5 13.5C12.5 13.7761 12.2761 14 12 14C11.7239 14 11.5 13.7761 11.5 13.5V11.5C11.5 11.2239 11.7239 11 12 11C12.2761 11 12.5 11.2239 12.5 11.5V13.5ZM7.5 11.5C7.5 9.01472 9.51472 7 12 7C14.4853 7 16.5 9.01472 16.5 11.5C16.5 13.9853 14.4853 16 12 16C9.51472 16 7.5 13.9853 7.5 11.5ZM8.5 11.5C8.5 13.433 10.067 15 12 15C13.933 15 15.5 13.433 15.5 11.5C15.5 9.567 13.933 8 12 8C10.067 8 8.5 9.567 8.5 11.5Z", fill: "currentColor" })));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
CalendarInfoIcon.style = CalendarInfoIconStyle0;
|
|
54
54
|
|
|
55
|
-
const iconCss$
|
|
56
|
-
const CalendarPatternsIconStyle0 = iconCss$
|
|
55
|
+
const iconCss$g = ".sc-calendar-patterns-icon-h{display:flex}";
|
|
56
|
+
const CalendarPatternsIconStyle0 = iconCss$g;
|
|
57
57
|
|
|
58
58
|
const CalendarPatternsIcon = class {
|
|
59
59
|
constructor(hostRef) {
|
|
@@ -62,13 +62,13 @@ const CalendarPatternsIcon = class {
|
|
|
62
62
|
this.height = '20';
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (index$1.h("svg", { key: '
|
|
65
|
+
return (index$1.h("svg", { key: '8d830ffc53fbe073dddec56cf7819f1738539f22', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '3752fd1b7b498f1e2aee01aa5b3621a577f7a3b8', d: "M3.25 0H11.75C13.2688 0 14.5 1.23122 14.5 2.75V11.25C14.5 12.7688 13.2688 14 11.75 14H3.25C1.73122 14 0.5 12.7688 0.5 11.25V2.75C0.5 1.23122 1.73122 0 3.25 0ZM2 2.75V4H13V2.75C13 2.05964 12.4404 1.5 11.75 1.5H3.25C2.55964 1.5 2 2.05964 2 2.75ZM12.2071 5L8.20711 9H10.7929L13 6.79289V5H12.2071ZM10.7929 5H8.20711L4.20711 9H6.79289L10.7929 5ZM2.79289 9L6.79289 5H4.20711L2 7.20711V9H2.79289ZM2 5.79289L2.79289 5H2V5.79289ZM12.2071 9H13V8.20711L12.2071 9Z", fill: "currentColor" })));
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
CalendarPatternsIcon.style = CalendarPatternsIconStyle0;
|
|
69
69
|
|
|
70
|
-
const iconCss$
|
|
71
|
-
const CheckmarkIconStyle0 = iconCss$
|
|
70
|
+
const iconCss$f = ".sc-checkmark-icon-h{display:flex}";
|
|
71
|
+
const CheckmarkIconStyle0 = iconCss$f;
|
|
72
72
|
|
|
73
73
|
const CheckmarkIcon = class {
|
|
74
74
|
constructor(hostRef) {
|
|
@@ -77,13 +77,13 @@ const CheckmarkIcon = class {
|
|
|
77
77
|
this.height = '14';
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (index$1.h("svg", { key: '
|
|
80
|
+
return (index$1.h("svg", { key: '49ad9466fa210919af89c80d546cf2a846b84d49', width: this.width, height: this.height, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '08d62d352782e9847494ebc8daad7e1300ebaad9', d: "M1.53033 7.46967C1.23744 7.17678 0.762563 7.17678 0.46967 7.46967C0.176777 7.76256 0.176777 8.23744 0.46967 8.53033L4.96967 13.0303C5.26256 13.3232 5.73744 13.3232 6.03033 13.0303L17.0303 2.03033C17.3232 1.73744 17.3232 1.26256 17.0303 0.96967C16.7374 0.676777 16.2626 0.676777 15.9697 0.96967L5.5 11.4393L1.53033 7.46967Z", fill: "#293056" })));
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
CheckmarkIcon.style = CheckmarkIconStyle0;
|
|
84
84
|
|
|
85
|
-
const iconCss$
|
|
86
|
-
const DragableIconStyle0 = iconCss$
|
|
85
|
+
const iconCss$e = ".sc-dragable-icon-h{display:flex}";
|
|
86
|
+
const DragableIconStyle0 = iconCss$e;
|
|
87
87
|
|
|
88
88
|
const DragableIcon = class {
|
|
89
89
|
constructor(hostRef) {
|
|
@@ -92,13 +92,13 @@ const DragableIcon = class {
|
|
|
92
92
|
this.height = '20';
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (index$1.h("svg", { key: '
|
|
95
|
+
return (index$1.h("svg", { key: 'eafe936e1e9cc4c5b877fdf8329f0092055d3b12', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '23d5d793affa4fe72001dcbacf9adb624c8ebe87', d: "M15.5 18C16.3284 18 17 18.6716 17 19.5C17 20.3284 16.3284 21 15.5 21C14.6716 21 14 20.3284 14 19.5C14 18.6716 14.6716 18 15.5 18ZM8.5 18C9.32843 18 10 18.6716 10 19.5C10 20.3284 9.32843 21 8.5 21C7.67157 21 7 20.3284 7 19.5C7 18.6716 7.67157 18 8.5 18ZM15.5 11C16.3284 11 17 11.6716 17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11ZM8.5 11C9.32843 11 10 11.6716 10 12.5C10 13.3284 9.32843 14 8.5 14C7.67157 14 7 13.3284 7 12.5C7 11.6716 7.67157 11 8.5 11ZM15.5 4C16.3284 4 17 4.67157 17 5.5C17 6.32843 16.3284 7 15.5 7C14.6716 7 14 6.32843 14 5.5C14 4.67157 14.6716 4 15.5 4ZM8.5 4C9.32843 4 10 4.67157 10 5.5C10 6.32843 9.32843 7 8.5 7C7.67157 7 7 6.32843 7 5.5C7 4.67157 7.67157 4 8.5 4Z", fill: "currentColor" })));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
DragableIcon.style = DragableIconStyle0;
|
|
99
99
|
|
|
100
|
-
const iconCss$
|
|
101
|
-
const EnvelopeFillIconStyle0 = iconCss$
|
|
100
|
+
const iconCss$d = ".sc-envelope-fill-icon-h{display:flex}";
|
|
101
|
+
const EnvelopeFillIconStyle0 = iconCss$d;
|
|
102
102
|
|
|
103
103
|
const EnvelopeFillIcon = class {
|
|
104
104
|
constructor(hostRef) {
|
|
@@ -107,13 +107,13 @@ const EnvelopeFillIcon = class {
|
|
|
107
107
|
this.height = '13';
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (index$1.h("svg", { key: '
|
|
110
|
+
return (index$1.h("svg", { key: 'deb9b906ee52d7698b1b2acd3edec06c8cb4a2e1', width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '3bd3caa47b4ecb0c5347dc8c71ee33ff57653913', d: "M16.0001 3.373V10.5C16.0001 11.8807 14.8808 13 13.5001 13H2.50008C1.11937 13 0 11.8807 0 10.5V3.373L7.74657 7.93097C7.90304 8.02301 8.09711 8.02301 8.25359 7.93097L16.0001 3.373ZM13.5001 0C14.7871 0 15.847 0.972604 15.9849 2.22293L8.00008 6.91991L0.0152595 2.22293C0.153116 0.972604 1.21302 0 2.50008 0H13.5001Z", fill: "currentColor" })));
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
EnvelopeFillIcon.style = EnvelopeFillIconStyle0;
|
|
114
114
|
|
|
115
|
-
const iconCss$
|
|
116
|
-
const EnvelopeIconStyle0 = iconCss$
|
|
115
|
+
const iconCss$c = ".sc-envelope-icon-h{display:flex}";
|
|
116
|
+
const EnvelopeIconStyle0 = iconCss$c;
|
|
117
117
|
|
|
118
118
|
const EnvelopeIcon = class {
|
|
119
119
|
constructor(hostRef) {
|
|
@@ -122,13 +122,13 @@ const EnvelopeIcon = class {
|
|
|
122
122
|
this.height = '13';
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
|
-
return (index$1.h("svg", { key: '
|
|
125
|
+
return (index$1.h("svg", { key: '73122f7a719952a557845096eaf5d47960f1f684', width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '02a7f44ed198e422ccf2aff73400f8b6327f5cf7', d: "M13.5 0C14.8807 0 16 1.11929 16 2.5V10.5C16 11.8807 14.8807 13 13.5 13H2.5C1.11929 13 0 11.8807 0 10.5V2.5C0 1.11929 1.11929 0 2.5 0H13.5ZM15 3.961L8.25351 7.93097C8.12311 8.00767 7.96661 8.02045 7.82751 7.96932L7.74649 7.93097L1 3.963V10.5C1 11.3284 1.67157 12 2.5 12H13.5C14.3284 12 15 11.3284 15 10.5V3.961ZM13.5 1H2.5C1.67157 1 1 1.67157 1 2.5V2.802L8 6.91991L15 2.801V2.5C15 1.67157 14.3284 1 13.5 1Z", fill: "currentColor" })));
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
EnvelopeIcon.style = EnvelopeIconStyle0;
|
|
129
129
|
|
|
130
|
-
const iconCss$
|
|
131
|
-
const EyeIconStyle0 = iconCss$
|
|
130
|
+
const iconCss$b = ".sc-eye-icon-h{display:flex}";
|
|
131
|
+
const EyeIconStyle0 = iconCss$b;
|
|
132
132
|
|
|
133
133
|
const EyeIcon = class {
|
|
134
134
|
constructor(hostRef) {
|
|
@@ -137,13 +137,13 @@ const EyeIcon = class {
|
|
|
137
137
|
this.height = '10';
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (index$1.h("svg", { key: '
|
|
140
|
+
return (index$1.h("svg", { key: 'b6e4ef2a9e507d094def976df8d6f61e419881d8', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '2c0fd33d221150b5da2405e40574abb4208999d1', d: "M1.75909 6.60214C2.44254 3.32689 5.29437 1 8.50002 1C11.7057 1 14.5574 3.32688 15.2409 6.60215C15.2974 6.87246 15.5622 7.04587 15.8325 6.98946C16.1029 6.93304 16.2763 6.66817 16.2199 6.39785C15.4425 2.67312 12.1934 0 8.50002 0C4.8066 0 1.55742 2.67311 0.780175 6.39786C0.723767 6.66818 0.897177 6.93305 1.1675 6.98946C1.43782 7.04587 1.70268 6.87246 1.75909 6.60214ZM8.5 3C6.567 3 5 4.567 5 6.5C5 8.433 6.567 10 8.5 10C10.433 10 12 8.433 12 6.5C12 4.567 10.433 3 8.5 3ZM6 6.5C6 5.11929 7.11929 4 8.5 4C9.88071 4 11 5.11929 11 6.5C11 7.88071 9.88071 9 8.5 9C7.11929 9 6 7.88071 6 6.5Z", fill: "currentColor" })));
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
EyeIcon.style = EyeIconStyle0;
|
|
144
144
|
|
|
145
|
-
const iconCss$
|
|
146
|
-
const FeedbackIconStyle0 = iconCss$
|
|
145
|
+
const iconCss$a = ".sc-feedback-icon-h{display:flex}";
|
|
146
|
+
const FeedbackIconStyle0 = iconCss$a;
|
|
147
147
|
|
|
148
148
|
const FeedbackIcon = class {
|
|
149
149
|
constructor(hostRef) {
|
|
@@ -152,13 +152,13 @@ const FeedbackIcon = class {
|
|
|
152
152
|
this.height = '14';
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
|
-
return (index$1.h("svg", { key: '
|
|
155
|
+
return (index$1.h("svg", { key: 'fc5d4aa6d299768c11f13c54218eaf28a45c97df', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '457d0f4155d6da655950e8fb1d3c74374b053782', d: "M0.5 8.875C0.5 8.875 1.125 8.25 3 8.25C4.875 8.25 6.125 9.5 8 9.5C9.875 9.5 10.5 8.875 10.5 8.875V1.375C10.5 1.375 9.875 2 8 2C6.125 2 4.875 0.75 3 0.75C1.125 0.75 0.5 1.375 0.5 1.375V8.875ZM0.5 8.875V13.25", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
FeedbackIcon.style = FeedbackIconStyle0;
|
|
159
159
|
|
|
160
|
-
const iconCss$
|
|
161
|
-
const FlowIconStyle0 = iconCss$
|
|
160
|
+
const iconCss$9 = ".sc-flow-icon-h{display:flex}";
|
|
161
|
+
const FlowIconStyle0 = iconCss$9;
|
|
162
162
|
|
|
163
163
|
const FlowIcon = class {
|
|
164
164
|
constructor(hostRef) {
|
|
@@ -167,13 +167,13 @@ const FlowIcon = class {
|
|
|
167
167
|
this.height = '12';
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (index$1.h("svg", { key: '
|
|
170
|
+
return (index$1.h("svg", { key: 'c6782480f25c3598e585303021c510ec90f8de26', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '76a3d0ff8fccddb49969623ab60b1ae2c9d2d0e2', d: "M13 1.66211C11.8954 1.66211 11 2.55754 11 3.66211C11 4.76668 11.8954 5.66211 13 5.66211C14.1046 5.66211 15 4.76668 15 3.66211C15 2.55754 14.1046 1.66211 13 1.66211ZM10.0407 3.16678C10.2768 1.74563 11.5119 0.662109 13 0.662109C14.6569 0.662109 16 2.00526 16 3.66211C16 5.31896 14.6569 6.66211 13 6.66211C11.5162 6.66211 10.2839 5.58482 10.0428 4.16971C9.37629 4.23688 8.82682 4.7426 8.71466 5.41551L8.27173 8.07311C8.07929 9.22776 7.11428 10.087 5.9593 10.1574C5.72319 11.5786 4.48813 12.6621 3 12.6621C1.34315 12.6621 0 11.319 0 9.66211C0 8.00526 1.34315 6.66211 3 6.66211C4.48384 6.66211 5.71607 7.73939 5.95724 9.15451C6.62371 9.08734 7.17318 8.58162 7.28534 7.90871L7.72827 5.25111C7.92071 4.09646 8.88571 3.23718 10.0407 3.16678ZM3 7.66211C1.89543 7.66211 1 8.55754 1 9.66211C1 10.7667 1.89543 11.6621 3 11.6621C4.10457 11.6621 5 10.7667 5 9.66211C5 8.55754 4.10457 7.66211 3 7.66211Z", fill: "currentColor" })));
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
FlowIcon.style = FlowIconStyle0;
|
|
174
174
|
|
|
175
|
-
const iconCss$
|
|
176
|
-
const GoogleMeetIconStyle0 = iconCss$
|
|
175
|
+
const iconCss$8 = ".sc-google-meet-icon-h{display:flex}";
|
|
176
|
+
const GoogleMeetIconStyle0 = iconCss$8;
|
|
177
177
|
|
|
178
178
|
const GoogleMeetIcon$1 = class {
|
|
179
179
|
constructor(hostRef) {
|
|
@@ -182,7 +182,7 @@ const GoogleMeetIcon$1 = class {
|
|
|
182
182
|
this.height = '20';
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (index$1.h("svg", { key: '
|
|
185
|
+
return (index$1.h("svg", { key: 'b68e005c64b1deb85367e52afa53a3583420d6fc', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("g", { key: 'c107fef0d62794b094d8096789b20ef66ad2f66d', "clip-path": "url(#clip0_22_6251)" }, index$1.h("path", { key: 'f7ddbd7ef73ae7addaaa81a42d419c8e04e31341', d: "M11.3145 10.1036L13.2642 12.3321L15.8859 14.0076L16.343 10.1173L15.8859 6.31384L13.2139 7.78584L11.3145 10.1036Z", fill: "#00832D" }), index$1.h("path", { key: '678ee765afd11161ed9f7fe60015536077e708dc', d: "M0 13.6464V16.9607C0 17.7184 0.613714 18.3321 1.37143 18.3321H4.68571L5.37143 15.827L4.68571 13.6464L2.41143 12.9607L0 13.6464Z", fill: "#0066DA" }), index$1.h("path", { key: '5329acfae94e546cc21a4bc4803a584d41f4f644', d: "M4.68571 1.875L0 6.56071L2.41143 7.24643L4.68571 6.56071L5.36 4.40986L4.68571 1.875Z", fill: "#E94235" }), index$1.h("path", { key: '4441dc496cbe7317883740d0aa3469261bd7330f', d: "M4.68571 6.56067H0V13.6464H4.68571V6.56067Z", fill: "#2684FC" }), index$1.h("path", { key: '6cd237dedd6d0e9e98905a56d7cc437ec5994cae', d: "M18.8798 3.85895L15.8855 6.31381V14.0075L18.8935 16.4738C19.3438 16.8258 20.0021 16.5047 20.0021 15.9321V4.38923C20.0021 3.80981 19.329 3.49209 18.8798 3.85895ZM11.3141 10.1035V13.6464H4.68555V18.3321H14.5141C15.2718 18.3321 15.8855 17.7184 15.8855 16.9607V14.0075L11.3141 10.1035Z", fill: "#00AC47" }), index$1.h("path", { key: '7d00a0a63e9825231cececa544a516eb0a567609', d: "M14.5141 1.875H4.68555V6.56071H11.3141V10.1036L15.8855 6.31614V3.24643C15.8855 2.48871 15.2718 1.875 14.5141 1.875Z", fill: "#FFBA00" })), index$1.h("defs", { key: '6efd6aace86d9b576642ef44fbb27c73f7b14057' }, index$1.h("clipPath", { key: '79f87c29c41836a9ee2319f66c86ec19e6d1d329', id: "clip0_22_6251" }, index$1.h("rect", { key: '6d872b34ea312c8378c0762f342ea55d7d1b87ae', width: "20", height: "20", fill: "white" })))));
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
GoogleMeetIcon$1.style = GoogleMeetIconStyle0;
|
|
@@ -190,7 +190,7 @@ GoogleMeetIcon$1.style = GoogleMeetIconStyle0;
|
|
|
190
190
|
const inputImageUrlCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.logo-container{display:flex;flex-direction:row;gap:2rem}.logo-container .input-container{flex:1}.logo-container .input-container span.error-message{color:var(--nylas-error)}.logo-container .logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.logo-container .logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}";
|
|
191
191
|
const InputImageUrlStyle0 = inputImageUrlCss;
|
|
192
192
|
|
|
193
|
-
var __decorate$
|
|
193
|
+
var __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
194
194
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
195
195
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
196
196
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -200,7 +200,7 @@ var __decorate$u = (undefined && undefined.__decorate) || function (decorators,
|
|
|
200
200
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
201
201
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
202
202
|
};
|
|
203
|
-
var __metadata$
|
|
203
|
+
var __metadata$w = (undefined && undefined.__metadata) || function (k, v) {
|
|
204
204
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
205
205
|
return Reflect.metadata(k, v);
|
|
206
206
|
};
|
|
@@ -280,7 +280,7 @@ const InputImageUrl = class {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
render() {
|
|
283
|
-
return (index$1.h(index$1.Host, { key: '
|
|
283
|
+
return (index$1.h(index$1.Host, { key: '37ae40e1bc1eadb1d66f68b26e66b9b0046752b0' }, index$1.h("div", { key: 'fe6024927698ba0d41e4875d0f190cf610afe7d7', class: "logo-container" }, index$1.h("div", { key: 'b61b97fb4a518e68773304eaa55833104bc246c8', class: "input-container" }, index$1.h("input-component", { key: 'f918ef5a13ec93e71635ca205534894c97243fe4', name: this.name, id: this.name, type: "text", required: false, exportparts: "ic_input: iiu__logo-input-textfield", defaultValue: this.imageUrl ?? '' }), this.errorMessage && index$1.h("span", { class: "error-message" }, this.errorMessage)), this.currentImageUrl && !this.errorMessage && (index$1.h("div", { class: "logo" }, index$1.h("img", { src: this.currentImageUrl, alt: "Logo" }))))));
|
|
284
284
|
}
|
|
285
285
|
static get formAssociated() { return true; }
|
|
286
286
|
get host() { return index$1.getElement(this); }
|
|
@@ -288,7 +288,7 @@ const InputImageUrl = class {
|
|
|
288
288
|
"name": ["elementNameChangedHandler"]
|
|
289
289
|
}; }
|
|
290
290
|
};
|
|
291
|
-
__decorate$
|
|
291
|
+
__decorate$w([
|
|
292
292
|
registerComponent.RegisterComponent({
|
|
293
293
|
name: 'nylas-image-input',
|
|
294
294
|
eventToProps: {
|
|
@@ -300,14 +300,14 @@ __decorate$u([
|
|
|
300
300
|
},
|
|
301
301
|
},
|
|
302
302
|
}),
|
|
303
|
-
__metadata$
|
|
304
|
-
__metadata$
|
|
305
|
-
__metadata$
|
|
303
|
+
__metadata$w("design:type", Function),
|
|
304
|
+
__metadata$w("design:paramtypes", []),
|
|
305
|
+
__metadata$w("design:returntype", void 0)
|
|
306
306
|
], InputImageUrl.prototype, "render", null);
|
|
307
307
|
InputImageUrl.style = InputImageUrlStyle0;
|
|
308
308
|
|
|
309
|
-
const iconCss$
|
|
310
|
-
const LocationIconStyle0 = iconCss$
|
|
309
|
+
const iconCss$7 = ".sc-location-icon-h{display:flex}";
|
|
310
|
+
const LocationIconStyle0 = iconCss$7;
|
|
311
311
|
|
|
312
312
|
const LocationIcon = class {
|
|
313
313
|
constructor(hostRef) {
|
|
@@ -316,13 +316,13 @@ const LocationIcon = class {
|
|
|
316
316
|
this.height = '18';
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
|
-
return (index$1.h("svg", { key: '
|
|
319
|
+
return (index$1.h("svg", { key: '41c6752fb26ae7aa42d7bdfbadc16c2869e37d03', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '04912d24e06cbad0c6ece45f19827bbb62cfbcd0', d: "M10 7.66211C10 9.31896 8.65685 10.6621 7 10.6621C5.34315 10.6621 4 9.31896 4 7.66211C4 6.00526 5.34315 4.66211 7 4.66211C8.65685 4.66211 10 6.00526 10 7.66211ZM9 7.66211C9 6.55754 8.10457 5.66211 7 5.66211C5.89543 5.66211 5 6.55754 5 7.66211C5 8.76668 5.89543 9.66211 7 9.66211C8.10457 9.66211 9 8.76668 9 7.66211ZM11.9497 12.6171C14.6834 9.88221 14.6834 5.44812 11.9497 2.71326C9.21608 -0.0216067 4.78392 -0.0216067 2.05025 2.71326C-0.683418 5.44812 -0.683418 9.88221 2.05025 12.6171L3.57128 14.1159L5.61408 16.101L5.74691 16.2188C6.52168 16.8468 7.65623 16.8076 8.38611 16.1012L10.8223 13.7312L11.9497 12.6171ZM2.75499 3.4183C5.09944 1.07282 8.90055 1.07282 11.245 3.4183C13.5294 5.70364 13.5879 9.3725 11.4207 11.7288L11.245 11.912L9.92371 13.216L7.69315 15.3846L7.60016 15.4642C7.24594 15.732 6.7543 15.732 6.40012 15.4642L6.30713 15.3845L3.3263 12.4791L2.75499 11.912L2.57927 11.7288C0.412077 9.3725 0.47065 5.70364 2.75499 3.4183Z", fill: "currentColor" })));
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
LocationIcon.style = LocationIconStyle0;
|
|
323
323
|
|
|
324
|
-
const iconCss$
|
|
325
|
-
const LocationOffIconStyle0 = iconCss$
|
|
324
|
+
const iconCss$6 = ".sc-location-off-icon-h{display:flex}";
|
|
325
|
+
const LocationOffIconStyle0 = iconCss$6;
|
|
326
326
|
|
|
327
327
|
const LocationOffIcon = class {
|
|
328
328
|
constructor(hostRef) {
|
|
@@ -331,13 +331,13 @@ const LocationOffIcon = class {
|
|
|
331
331
|
this.height = '18';
|
|
332
332
|
}
|
|
333
333
|
render() {
|
|
334
|
-
return (index$1.h("svg", { key: '
|
|
334
|
+
return (index$1.h("svg", { key: '63a6c285582208662ae8307e37621e96a22ce5f3', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: 'cf2dfb48d9a1e3b2d03aa86e37a79c702547bf8e', d: "M0.146447 0.808556C0.341709 0.613294 0.658291 0.613294 0.853553 0.808556L15.8536 15.8086C16.0488 16.0038 16.0488 16.3204 15.8536 16.5157C15.6583 16.7109 15.3417 16.7109 15.1464 16.5157L12.0938 13.463L11.8223 13.7312L9.38611 16.1012C8.65623 16.8076 7.52168 16.8468 6.74691 16.2188L6.61408 16.101L4.57128 14.1159L3.05025 12.6171C0.607421 10.1732 0.347525 6.37239 2.27056 3.63976L0.146447 1.51566C-0.0488155 1.3204 -0.0488155 1.00382 0.146447 0.808556ZM9.07768 10.4469C8.74346 10.576 8.38024 10.6468 8.0005 10.6468C6.34839 10.6468 5.00909 9.30689 5.00909 7.65406C5.00909 7.27461 5.07967 6.91166 5.20843 6.57763L2.98793 4.35713C1.49206 6.62038 1.68917 9.67377 3.57927 11.7288L3.75499 11.912L4.3263 12.4791L7.30713 15.3845L7.40012 15.4642C7.7543 15.732 8.24594 15.732 8.60016 15.4642L8.69315 15.3846L10.9237 13.216L11.3883 12.7575L9.07768 10.4469ZM9.85409 8.39486L10.5983 9.13904C10.8487 8.70143 10.9919 8.19447 10.9919 7.65406C10.9919 6.00122 9.65261 4.66134 8.0005 4.66134C7.45986 4.66134 6.95271 4.80482 6.51504 5.05581L7.25921 5.79998C7.48839 5.70819 7.73855 5.6577 8.0005 5.6577C9.10258 5.6577 9.99599 6.5515 9.99599 7.65406C9.99599 7.91581 9.94564 8.16581 9.85409 8.39486ZM4.35291 2.89368C6.70671 1.08827 10.0908 1.26314 12.245 3.4183C14.3986 5.57283 14.5739 8.95702 12.771 11.3118L13.4812 12.022C15.6702 9.27273 15.493 5.25762 12.9497 2.71326C10.4058 0.168159 6.39081 -0.00843871 3.64269 2.18347L4.35291 2.89368Z", fill: "currentColor" })));
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
LocationOffIcon.style = LocationOffIconStyle0;
|
|
338
338
|
|
|
339
|
-
const iconCss$
|
|
340
|
-
const MicrosoftTeamsIconStyle0 = iconCss$
|
|
339
|
+
const iconCss$5 = ".sc-microsoft-teams-icon-h{display:flex}";
|
|
340
|
+
const MicrosoftTeamsIconStyle0 = iconCss$5;
|
|
341
341
|
|
|
342
342
|
const GoogleMeetIcon = class {
|
|
343
343
|
constructor(hostRef) {
|
|
@@ -346,7 +346,7 @@ const GoogleMeetIcon = class {
|
|
|
346
346
|
this.height = '20';
|
|
347
347
|
}
|
|
348
348
|
render() {
|
|
349
|
-
return (index$1.h("svg", { key: '
|
|
349
|
+
return (index$1.h("svg", { key: '43015b1429d29b0ce4d72d6efa983cf972200345', width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("g", { key: '181d622e54dd6034328a3e2969d2c7435e0fe47c', "clip-path": "url(#clip0_22_6280)" }, index$1.h("path", { key: 'a8371f19ba59bcb5299c27aee9bd9031100f113a', d: "M13.7109 7.60168H18.8769C19.365 7.60168 19.7607 7.99734 19.7607 8.4854V13.191C19.7607 14.9848 18.3065 16.4389 16.5127 16.4389H16.4974C14.7036 16.4391 13.2493 14.9852 13.249 13.1914C13.249 13.1913 13.249 13.1911 13.249 13.191V8.06355C13.249 7.80847 13.4558 7.60168 13.7109 7.60168Z", fill: "#5059C9" }), index$1.h("path", { key: '6938ccf952810d13a1f56a2cef920dc580204df1', d: "M17.2024 6.67152C18.3583 6.67152 19.2954 5.73444 19.2954 4.5785C19.2954 3.42255 18.3583 2.48547 17.2024 2.48547C16.0465 2.48547 15.1094 3.42255 15.1094 4.5785C15.1094 5.73444 16.0465 6.67152 17.2024 6.67152Z", fill: "#5059C9" }), index$1.h("path", { key: '6183cc2e18656369c6b6b13eba20256a91ca13be', d: "M10.6912 6.67152C12.3609 6.67152 13.7145 5.31796 13.7145 3.64826C13.7145 1.97856 12.3609 0.625 10.6912 0.625C9.02153 0.625 7.66797 1.97856 7.66797 3.64826C7.66797 5.31796 9.02153 6.67152 10.6912 6.67152Z", fill: "#7B83EB" }), index$1.h("path", { key: '0f555b8edfa78d27a064e2b8c355e652105dcef8', d: "M14.7223 7.60168H6.19482C5.71257 7.61362 5.33108 8.01384 5.34227 8.49611V13.8631C5.27492 16.7571 7.56457 19.1588 10.4586 19.2296C13.3525 19.1588 15.6422 16.7571 15.5748 13.8631V8.49611C15.586 8.01384 15.2045 7.61362 14.7223 7.60168Z", fill: "#7B83EB" }), index$1.h("path", { key: 'f70b7f02b9afc002c0f54c5109aa37f9443b530b', opacity: "0.1", d: "M10.9234 7.60168V15.1226C10.9211 15.4675 10.7121 15.7773 10.3932 15.9087C10.2917 15.9516 10.1825 15.9738 10.0723 15.9738H5.75134C5.69088 15.8203 5.63507 15.6668 5.58855 15.5087C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.9234Z", fill: "black" }), index$1.h("path", { key: '099a90b1bcf8844977911db140a55b77e3d40dcb', opacity: "0.2", d: "M10.4583 7.60168V15.5877C10.4583 15.698 10.4362 15.8071 10.3932 15.9087C10.2619 16.2276 9.95205 16.4366 9.60717 16.4389H5.96995C5.89088 16.2854 5.81646 16.1319 5.75134 15.9738C5.68623 15.8156 5.63507 15.6668 5.58855 15.5087C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.4583Z", fill: "black" }), index$1.h("path", { key: 'df916fd9bb304a77cc01949e5322d635aef30dd4', opacity: "0.2", d: "M10.4583 7.60168V14.6575C10.4548 15.1261 10.0758 15.5051 9.60716 15.5087H5.58855C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.4583Z", fill: "black" }), index$1.h("path", { key: '48cfb8d7f434c8899770155eef6a72184f698942', opacity: "0.2", d: "M9.9932 7.60168V14.6575C9.98965 15.1261 9.61065 15.5051 9.14203 15.5087H5.58855C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H9.9932Z", fill: "black" }), index$1.h("path", { key: '7418c396c4b00ef2c7de4d5035c46be0cf51224f', opacity: "0.1", d: "M10.9241 5.1971V6.66222C10.845 6.66687 10.7706 6.67152 10.6915 6.67152C10.6124 6.67152 10.538 6.66687 10.4589 6.66222C10.3019 6.6518 10.1462 6.62689 9.99382 6.5878C9.05195 6.36475 8.27382 5.70421 7.90079 4.81106C7.83661 4.66107 7.78678 4.50533 7.75195 4.34595H10.0729C10.5422 4.34772 10.9223 4.72775 10.9241 5.1971Z", fill: "black" }), index$1.h("path", { key: '4611d18789afc14764c6355c36ff4639c07ef3ea', opacity: "0.2", d: "M10.4585 5.66219V6.66219C10.3015 6.65177 10.1458 6.62686 9.99341 6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.60736C10.0767 4.81281 10.4567 5.19285 10.4585 5.66219Z", fill: "black" }), index$1.h("path", { key: '6a0b1761698c016c3ed6f15020e17c592ae8fd85', opacity: "0.2", d: "M10.4585 5.66219V6.66219C10.3015 6.65177 10.1458 6.62686 9.99341 6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.60736C10.0767 4.81281 10.4567 5.19285 10.4585 5.66219Z", fill: "black" }), index$1.h("path", { key: '9ac985a013b79dcc739fd48069d7a54956b48a07', opacity: "0.2", d: "M9.99341 5.6622V6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.14225C9.6116 4.81282 9.99163 5.19286 9.99341 5.6622Z", fill: "black" }), index$1.h("path", { key: '22aa61c2fbca8ea8599efa657405e3258f9a3e25', d: "M0.613296 4.81104H9.14074C9.61159 4.81104 9.99329 5.19274 9.99329 5.66359V14.191C9.99329 14.6619 9.61158 15.0436 9.14074 15.0436H0.613296C0.14244 15.0436 -0.239258 14.6619 -0.239258 14.191V5.66359C-0.239258 5.19274 0.142449 4.81104 0.613296 4.81104Z", fill: "url(#paint0_linear_22_6280)" }), index$1.h("path", { key: 'cd2d8e75fa6bbb92b70006a507bd8447c5cbf7a7', d: "M7.12025 8.05659H5.4156V12.6985H4.32956V8.05659H2.63281V7.15613H7.12025V8.05659Z", fill: "white" })), index$1.h("defs", { key: '1b9552dc22885c57462fd2ae8b4c26dc2c79d92d' }, index$1.h("linearGradient", { key: 'ea753705cbbdb91c51fc04a167b6afd3f41d41d9', id: "paint0_linear_22_6280", x1: "1.53835", y1: "4.14486", x2: "8.2157", y2: "15.7098", gradientUnits: "userSpaceOnUse" }, index$1.h("stop", { key: '8390ae19866ffe03bd03d5b9b0a3a33fb2277e62', "stop-color": "#5A62C3" }), index$1.h("stop", { key: '80dd7a6a24bf2e42aac98ce40442501ab4e2395c', offset: "0.5", "stop-color": "#4D55BD" }), index$1.h("stop", { key: '59b6e034bc93cabef37a02ae9f4f16dfa957f8a7', offset: "1", "stop-color": "#3940AB" })), index$1.h("clipPath", { key: '124d7ccc8361f874fa3042ad4657900b9a3b3a4c', id: "clip0_22_6280" }, index$1.h("rect", { key: '2d92a7a7313625c8a8684630a25bb506bfb17a54', width: "20", height: "20", fill: "white" })))));
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
@@ -354,7 +354,7 @@ GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
|
354
354
|
const nylasAdditionalParticipantsCss = ":host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-additional-participants__title{color:var(--nylas-base-nylas-base-900-aaa, #101323);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-additional-participants__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-additional-participants__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-additional-participants__input_group{padding-top:8px;display:flex;flex-direction:column;gap:4px}.nylas-additional-participants__input_group label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.nylas-additional-participants__error{color:var(--nylas-error);font-size:14px;font-family:var(--nylas-font-family);font-weight:400;line-height:16px;margin:0;text-align:left}.nylas-additional-participants__input_wrapper{display:flex;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.nylas-additional-participants__input_wrapper.error{border-color:var(--nylas-error)}.nylas-additional-participants__input_wrapper button{padding:12px;border:none;border-left:1px solid var(--nylas-base-300);background:none;cursor:pointer}.nylas-additional-participants__input_wrapper button:hover,.nylas-additional-participants__input_wrapper button:active{color:var(--nylas-primary)}.nylas-additional-participants__input_wrapper_organizer{border:none}.nylas-additional-participants__input{flex:1;display:flex;justify-content:space-between}.nylas-additional-participants__input input{border:none;outline:none;background:none;width:100%}.nylas-additional-participants__input input-dropdown{width:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown){width:100%;height:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown-input){height:100%;border-radius:var(--nylas-border-radius-2x);border:none;border-top-right-radius:initial;border-bottom-right-radius:initial;padding-left:16px}.nylas-additional-participants__input input-component::part(ic__input){background:var(--nylas-base-50)}.nylas-additional-participants__input input-component::part(ic__label){font-size:14px}.nylas-additional-participants__input input-component div.required-input{display:flex;gap:4px}.nylas-additional-participants__input input-component div.required-input label{display:flex;gap:4px;align-items:center}.nylas-additional-participants__input input-component div.required-input label tooltip-component#organizer_participant_tooltip::part(tc__content){left:-84px}.nylas-additional-participants__add{padding:12px;display:flex;align-items:center;border:none;background:none;cursor:pointer}.nylas-additional-participants__add span{padding:0 8px;font-size:16px;font-style:normal;font-weight:500}.nylas-additional-participants__add:hover,.nylas-additional-participants__add:active{color:var(--nylas-primary)}";
|
|
355
355
|
const NylasAdditionalParticipantsStyle0 = nylasAdditionalParticipantsCss;
|
|
356
356
|
|
|
357
|
-
var __decorate$
|
|
357
|
+
var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
358
358
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
359
359
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
360
360
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -364,7 +364,7 @@ var __decorate$t = (undefined && undefined.__decorate) || function (decorators,
|
|
|
364
364
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
365
365
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
366
366
|
};
|
|
367
|
-
var __metadata$
|
|
367
|
+
var __metadata$v = (undefined && undefined.__metadata) || function (k, v) {
|
|
368
368
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
369
369
|
return Reflect.metadata(k, v);
|
|
370
370
|
};
|
|
@@ -379,11 +379,11 @@ const NylasAdditionalParticipants = class {
|
|
|
379
379
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
380
380
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
381
381
|
}
|
|
382
|
+
this.name = 'participants';
|
|
382
383
|
this.selectedConfiguration = undefined;
|
|
383
384
|
this.currentUser = undefined;
|
|
384
|
-
this.name = 'participants';
|
|
385
|
-
this.eventParticipants = undefined;
|
|
386
385
|
this.participantOptions = undefined;
|
|
386
|
+
this.eventParticipants = undefined;
|
|
387
387
|
this.participants = this.eventParticipants ?? [];
|
|
388
388
|
this.participantErrors = {};
|
|
389
389
|
this.includeOrganizerAsParticipant = true;
|
|
@@ -510,7 +510,7 @@ const NylasAdditionalParticipants = class {
|
|
|
510
510
|
});
|
|
511
511
|
}
|
|
512
512
|
render() {
|
|
513
|
-
return (index$1.h(index$1.Host, { key: '
|
|
513
|
+
return (index$1.h(index$1.Host, { key: 'a090033dc7d7915ca65100fd1803d2430052b18a', part: "nap" }, index$1.h("nylas-form-card", { key: '19203e4c99690200b679943672f89e9d20bc62b5' }, index$1.h("h3", { key: '33fbde2341b42cb0529b95a06f80d6dea08ffc52', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), index$1.h("p", { key: 'a8c73ed714ab74309f1a417215b9e56da99a2731', slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add people in your team or organization to join the event."), index$1.h("div", { key: 'bce67b77333c2db513463acaa952b51d933d43d9', slot: "content", class: "nylas-additional-participants__content" }, index$1.h("div", { key: '35e0bf36996f3daec1d41e1d8c74c636fb72307f' }, this.participants.map((participant, index) => {
|
|
514
514
|
return (index$1.h("div", { class: 'nylas-additional-participants__input_group', part: "nap__input_group" }, !participant.is_organizer && index$1.h("label", null, `Participant ${index}`), index$1.h("div", { part: "nap__input_wrapper", class: {
|
|
515
515
|
'nylas-additional-participants__input_wrapper': true,
|
|
516
516
|
'nylas-additional-participants__input_wrapper_organizer': participant?.is_organizer === true,
|
|
@@ -520,7 +520,7 @@ const NylasAdditionalParticipants = class {
|
|
|
520
520
|
this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant;
|
|
521
521
|
this.updateFormValue();
|
|
522
522
|
}, checked: this.includeOrganizerAsParticipant }), index$1.h("label", { htmlFor: `organizer_participant`, "aria-label": "Include as participant" }, "Participant", index$1.h("tooltip-component", { id: "organizer_participant_tooltip" }, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, index$1.h("strong", null, "Include Organizer:"), " The organizer (you) will be included in the round-robin rotation. ", index$1.h("br", null), index$1.h("strong", null, "Exclude Organizer:"), " The organizer (you) will not be included in the round-robin rotation."))))))) : (index$1.h("input-dropdown", { id: `${index}`, name: `${index}`, filterable: true, inputValue: participant.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) })), !participant.is_organizer && (index$1.h("button", { onClick: () => this.removeParticipant(index), part: "nap__remove-participant" }, index$1.h("close-icon", null))))), !participant.is_valid && (index$1.h("p", { class: "nylas-additional-participants__error", part: "nap__error" }, this.participantErrors[index]))));
|
|
523
|
-
}), index$1.h("p", { key: '
|
|
523
|
+
}), index$1.h("p", { key: '51f51ef0614cd93592fae8a32f501d0249b12c5a', class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), index$1.h("button", { key: '93605c6ce8fb6b77451ea0f8c06fb23134727c3f', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, index$1.h("add-circle-icon", { key: '8e6ac25f43f06ad3ee24047a1a7469b13c5a56c7' }), " ", index$1.h("span", { key: '511068fb28c498edba86706bef49dcad6633d249' }, "Add ", this.participants.length > 1 ? 'another' : 'a', " participant"))))));
|
|
524
524
|
}
|
|
525
525
|
static get formAssociated() { return true; }
|
|
526
526
|
get host() { return index$1.getElement(this); }
|
|
@@ -529,7 +529,7 @@ const NylasAdditionalParticipants = class {
|
|
|
529
529
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
530
530
|
}; }
|
|
531
531
|
};
|
|
532
|
-
__decorate$
|
|
532
|
+
__decorate$v([
|
|
533
533
|
registerComponent.RegisterComponent({
|
|
534
534
|
name: 'nylas-additional-participants',
|
|
535
535
|
stateToProps: new Map([
|
|
@@ -540,16 +540,16 @@ __decorate$t([
|
|
|
540
540
|
eventToProps: {},
|
|
541
541
|
fireRegisterEvent: true,
|
|
542
542
|
}),
|
|
543
|
-
__metadata$
|
|
544
|
-
__metadata$
|
|
545
|
-
__metadata$
|
|
543
|
+
__metadata$v("design:type", Function),
|
|
544
|
+
__metadata$v("design:paramtypes", []),
|
|
545
|
+
__metadata$v("design:returntype", void 0)
|
|
546
546
|
], NylasAdditionalParticipants.prototype, "render", null);
|
|
547
547
|
NylasAdditionalParticipants.style = NylasAdditionalParticipantsStyle0;
|
|
548
548
|
|
|
549
549
|
const nylasAvailabilityPickerCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-availability-picker{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-availability-picker .header{padding:1rem}.nylas-availability-picker .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-availability-picker .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-availability-picker .content{padding:1rem;color:var(--nylas-base-900);font-size:16px;font-family:var(--nylas-font-family);border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 504px){.nylas-availability-picker .content{font-size:15px}}.nylas-availability-picker .content .select-timezone{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nylas-base-200);padding-bottom:1rem;gap:1rem}.nylas-availability-picker .content .select-timezone h4{display:flex;gap:0.5rem;align-items:center;margin:0;font-size:16px;font-weight:500;line-height:20px}@media screen and (max-width: 504px){.nylas-availability-picker .content .select-timezone h4{font-size:15px}}.nylas-availability-picker .content .availability{display:flex;flex-direction:column;gap:1rem;padding:0 0.5rem;margin:1rem 0}@media screen and (max-width: 504px){.nylas-availability-picker .content .availability{gap:0.5rem;padding:0}}.nylas-availability-picker .content .availability .availability-day{display:grid;grid-template-columns:minmax(auto, 65px) 1fr minmax(auto, 40px);gap:1rem;align-items:baseline}@media screen and (max-width: 768px){.nylas-availability-picker .content .availability .availability-day{grid-template-columns:78px 1fr auto}}@media screen and (max-width: 504px){.nylas-availability-picker .content .availability .availability-day{display:inline-grid;gap:8px;grid-template-columns:60px 1fr auto}}.nylas-availability-picker .content .availability .availability-day .day{display:flex;gap:0.5rem;align-items:center}@media screen and (max-width: 504px){.nylas-availability-picker .content .availability .availability-day .day{gap:0.25rem}}.nylas-availability-picker .content .availability .availability-day .day input[type=checkbox]{transform:scale(1.3)}.nylas-availability-picker .content .availability .availability-day .time-ranges span.unavailable{height:48px;display:flex;align-items:center;justify-content:center}.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range{display:flex;gap:1.5rem;justify-content:space-between;align-items:baseline}@media screen and (max-width: 504px){.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range{justify-content:unset;gap:0.5rem}}.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range .pickers{display:flex;gap:1rem}@media screen and (max-width: 504px){.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range .pickers{gap:0.5rem}}.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range .pickers span{margin-top:0.75rem}.nylas-availability-picker .content .availability .availability-day .time-ranges .time-range:not(:last-of-type){margin-bottom:1rem}.nylas-availability-picker .content .availability .availability-day .time-ranges p.error{color:var(--nylas-error)}.nylas-availability-picker .content .availability .availability-day button{border:none;background:transparent;height:40px;cursor:pointer;color:var(--nylas-base-800)}.nylas-availability-picker .content .availability .availability-day button:hover,.nylas-availability-picker .content .availability .availability-day button:active{color:var(--nylas-primary)}select-dropdown{width:auto}select-dropdown::part(sd_dropdown-button){justify-content:initial}";
|
|
550
550
|
const NylasAvailabilityPickerStyle0 = nylasAvailabilityPickerCss;
|
|
551
551
|
|
|
552
|
-
var __decorate$
|
|
552
|
+
var __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
553
553
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
554
554
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
555
555
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -559,7 +559,7 @@ var __decorate$s = (undefined && undefined.__decorate) || function (decorators,
|
|
|
559
559
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
560
560
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
561
561
|
};
|
|
562
|
-
var __metadata$
|
|
562
|
+
var __metadata$u = (undefined && undefined.__metadata) || function (k, v) {
|
|
563
563
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
564
564
|
return Reflect.metadata(k, v);
|
|
565
565
|
};
|
|
@@ -574,9 +574,9 @@ const NylasAvailabilityPicker = class {
|
|
|
574
574
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
575
575
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
576
576
|
}
|
|
577
|
+
this.name = 'availability';
|
|
577
578
|
this.selectedConfiguration = undefined;
|
|
578
579
|
this.openHours = undefined;
|
|
579
|
-
this.name = 'availability';
|
|
580
580
|
this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
581
581
|
this.hideHeader = false;
|
|
582
582
|
this.schedule = {
|
|
@@ -597,7 +597,8 @@ const NylasAvailabilityPicker = class {
|
|
|
597
597
|
}
|
|
598
598
|
configChangedHandler(newConfig) {
|
|
599
599
|
const defaultOpenHours = newConfig?.availability?.availability_rules?.default_open_hours ?? constants.DEFAULT_OPEN_HOURS;
|
|
600
|
-
|
|
600
|
+
const defaultOpenHoursTimezone = newConfig?.event_booking?.timezone ?? this.defaultTimezone;
|
|
601
|
+
this.timezone = this.name === 'availability' ? defaultOpenHoursTimezone : this.defaultTimezone;
|
|
601
602
|
if (this.openHours) {
|
|
602
603
|
this.openHoursToSchedule(this.openHours);
|
|
603
604
|
}
|
|
@@ -861,7 +862,7 @@ const NylasAvailabilityPicker = class {
|
|
|
861
862
|
value: key,
|
|
862
863
|
}));
|
|
863
864
|
const selectedTimezoneOption = timezoneOptions.find(i => i.value === this.timezone);
|
|
864
|
-
return (index$1.h(index$1.Host, { key: '
|
|
865
|
+
return (index$1.h(index$1.Host, { key: 'd3456a3cbc918006617d5be20b0f43a3026c6c48' }, index$1.h("div", { key: '0a6701099f52e36ae38ecc5a58246c4447273a45', class: "nylas-availability-picker", part: "nap" }, !this.hideHeader && (index$1.h("div", { class: "header", part: "nap__header" }, index$1.h("h3", null, "Default open hours"), index$1.h("p", null, "Set when you're regularly available for event bookings.", index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "This is the default availability for participants who don\u2019t have availability set on the Participants tab."))))), index$1.h("div", { key: '0ea45dac96d381a149c729e2eebcf4248b54b35a', class: "content" }, index$1.h("div", { key: '3f53bb214de33ba430be84d50705f0c488f41ccf', class: "select-timezone", part: "nap__select-timezone" }, index$1.h("h4", { key: '7537e3f475d324ca3ece17a3e14b9250d94ce3fe', class: "sub-header" }, "Select timezone"), selectedTimezoneOption?.label && (index$1.h("select-dropdown", { name: "timezone", exportparts: "sd_dropdown: nap__timezone-container, sd_dropdown-button: nap__timezone-button, sd_dropdown-content: nap__timezone-dropdown-content", options: timezoneOptions, defaultSelectedOption: selectedTimezoneOption }, index$1.h("span", { slot: "select-icon" }, index$1.h("globe-icon", { width: "20", height: "20" }))))), index$1.h("div", { key: '63a7b4b8ec778d4d7e3f530c623aef491a8dec33', class: "availability", part: "nap__availability" }, Object.keys(this.schedule).map(key => {
|
|
865
866
|
const day = key;
|
|
866
867
|
const timeRanges = this.schedule[key];
|
|
867
868
|
return (index$1.h("div", { class: "availability-day" }, index$1.h("div", { class: "day", part: "nap__day" }, index$1.h("input", { type: "checkbox", name: day, id: day, checked: timeRanges.length > 0, onClick: () => {
|
|
@@ -888,22 +889,22 @@ const NylasAvailabilityPicker = class {
|
|
|
888
889
|
"schedule": ["scheduleChanged"]
|
|
889
890
|
}; }
|
|
890
891
|
};
|
|
891
|
-
__decorate$
|
|
892
|
+
__decorate$u([
|
|
892
893
|
registerComponent.RegisterComponent({
|
|
893
894
|
name: 'nylas-availability-picker',
|
|
894
895
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
895
896
|
fireRegisterEvent: true,
|
|
896
897
|
}),
|
|
897
|
-
__metadata$
|
|
898
|
-
__metadata$
|
|
899
|
-
__metadata$
|
|
898
|
+
__metadata$u("design:type", Function),
|
|
899
|
+
__metadata$u("design:paramtypes", []),
|
|
900
|
+
__metadata$u("design:returntype", void 0)
|
|
900
901
|
], NylasAvailabilityPicker.prototype, "render", null);
|
|
901
902
|
NylasAvailabilityPicker.style = NylasAvailabilityPickerStyle0;
|
|
902
903
|
|
|
903
904
|
const nylasBookingCalendarPickerCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-booking-calendar-picker{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-booking-calendar-picker .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-booking-calendar-picker .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-booking-calendar-picker .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading{padding-bottom:1rem;display:flex;flex-direction:column;gap:4px}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .label{display:flex;align-items:center;gap:0.5rem;margin:1rem 1rem 0;color:var(--nylas-base-800)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .loading-button{margin:0 1rem;padding:0;width:inherit;height:48px;color:black;font-size:1rem;cursor:not-allowed;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .loading-button span{padding:0 1rem}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown span.label tooltip-component{display:flex}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}";
|
|
904
905
|
const NylasBookingCalendarPickerStyle0 = nylasBookingCalendarPickerCss;
|
|
905
906
|
|
|
906
|
-
var __decorate$
|
|
907
|
+
var __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
907
908
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
908
909
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
909
910
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -913,7 +914,7 @@ var __decorate$r = (undefined && undefined.__decorate) || function (decorators,
|
|
|
913
914
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
914
915
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
915
916
|
};
|
|
916
|
-
var __metadata$
|
|
917
|
+
var __metadata$t = (undefined && undefined.__metadata) || function (k, v) {
|
|
917
918
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
918
919
|
return Reflect.metadata(k, v);
|
|
919
920
|
};
|
|
@@ -1007,7 +1008,7 @@ const NylasBookingCalendarPicker = class {
|
|
|
1007
1008
|
"currentUserCalendars": ["currentUserCalendarsChangedHandler"]
|
|
1008
1009
|
}; }
|
|
1009
1010
|
};
|
|
1010
|
-
__decorate$
|
|
1011
|
+
__decorate$t([
|
|
1011
1012
|
registerComponent.RegisterComponent({
|
|
1012
1013
|
name: 'nylas-booking-calendar-picker',
|
|
1013
1014
|
stateToProps: new Map([
|
|
@@ -1024,16 +1025,16 @@ __decorate$r([
|
|
|
1024
1025
|
},
|
|
1025
1026
|
fireRegisterEvent: true,
|
|
1026
1027
|
}),
|
|
1027
|
-
__metadata$
|
|
1028
|
-
__metadata$
|
|
1029
|
-
__metadata$
|
|
1028
|
+
__metadata$t("design:type", Function),
|
|
1029
|
+
__metadata$t("design:paramtypes", []),
|
|
1030
|
+
__metadata$t("design:returntype", void 0)
|
|
1030
1031
|
], NylasBookingCalendarPicker.prototype, "render", null);
|
|
1031
1032
|
NylasBookingCalendarPicker.style = NylasBookingCalendarPickerStyle0;
|
|
1032
1033
|
|
|
1033
1034
|
const nylasBookingConfirmationRedirectCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-booking-confirmation-redirect{width:inherit;display:flex;flex-direction:column}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label{display:flex;align-items:center;gap:4px;margin-bottom:4px;color:var(--nylas-base-800)}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label tooltip-component{display:flex}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown input-component::part(ic__input_wrapper){margin-top:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.error-message{color:var(--nylas-error)}";
|
|
1034
1035
|
const NylasBookingConfirmationRedirectStyle0 = nylasBookingConfirmationRedirectCss;
|
|
1035
1036
|
|
|
1036
|
-
var __decorate$
|
|
1037
|
+
var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1037
1038
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1038
1039
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1039
1040
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1043,7 +1044,7 @@ var __decorate$q = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1043
1044
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1044
1045
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1045
1046
|
};
|
|
1046
|
-
var __metadata$
|
|
1047
|
+
var __metadata$s = (undefined && undefined.__metadata) || function (k, v) {
|
|
1047
1048
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1048
1049
|
return Reflect.metadata(k, v);
|
|
1049
1050
|
};
|
|
@@ -1165,7 +1166,7 @@ const NylasBookingConfirmationRedirect = class {
|
|
|
1165
1166
|
value: 'custom',
|
|
1166
1167
|
},
|
|
1167
1168
|
];
|
|
1168
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1169
|
+
return (index$1.h(index$1.Host, { key: '436a754406a25fe12caf7a1772d5fbd29d52cb5d' }, index$1.h("div", { key: 'ba1096207f67cd847eb78d7ae3847395d091bac0', class: "nylas-booking-confirmation-redirect", part: "nbcr" }, redirectOptions.length > 0 && (index$1.h("div", { class: "nylas-booking-confirmation-redirect__dropdown" }, index$1.h("span", { class: "label" }, "When a booking is confirmed", index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "You can either display the default confirmation page or redirect users to your own confirmation page."))), this.componentLoaded && (index$1.h("select-dropdown", { name: "confirmation-redirect-dropdown", options: redirectOptions, withSearch: false, defaultSelectedOption: redirectOptions.find(option => option.value === (this.acceptUrl ? 'custom' : 'default')), exportparts: "sd_dropdown: nbcr__dropdown, sd_dropdown-button: nbcr__dropdown-button, sd_dropdown-content: nbcr__dropdown-content" })), this.acceptUrl && (index$1.h("div", null, index$1.h("input-component", { name: "confirmation-redirect", id: "confirmation-redirect", type: "text", placeholder: "Enter custom redirect URL", required: false, part: "ic__input_wrapper: nbcr__input-textfield", defaultValue: this.currentRedirectUrl }), this.redirectUrlErrorMessage && index$1.h("span", { class: "error-message" }, this.redirectUrlErrorMessage))))))));
|
|
1169
1170
|
}
|
|
1170
1171
|
static get formAssociated() { return true; }
|
|
1171
1172
|
get host() { return index$1.getElement(this); }
|
|
@@ -1174,7 +1175,7 @@ const NylasBookingConfirmationRedirect = class {
|
|
|
1174
1175
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1175
1176
|
}; }
|
|
1176
1177
|
};
|
|
1177
|
-
__decorate$
|
|
1178
|
+
__decorate$s([
|
|
1178
1179
|
registerComponent.RegisterComponent({
|
|
1179
1180
|
name: 'nylas-booking-confirmation-redirect',
|
|
1180
1181
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -1188,16 +1189,16 @@ __decorate$q([
|
|
|
1188
1189
|
},
|
|
1189
1190
|
fireRegisterEvent: true,
|
|
1190
1191
|
}),
|
|
1191
|
-
__metadata$
|
|
1192
|
-
__metadata$
|
|
1193
|
-
__metadata$
|
|
1192
|
+
__metadata$s("design:type", Function),
|
|
1193
|
+
__metadata$s("design:paramtypes", []),
|
|
1194
|
+
__metadata$s("design:returntype", void 0)
|
|
1194
1195
|
], NylasBookingConfirmationRedirect.prototype, "render", null);
|
|
1195
1196
|
NylasBookingConfirmationRedirect.style = NylasBookingConfirmationRedirectStyle0;
|
|
1196
1197
|
|
|
1197
1198
|
const nylasBookingConfirmationTypeCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-booking-confirmation-type{width:inherit;display:flex;flex-direction:column;margin-bottom:1rem}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown span.label tooltip-component{display:flex}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}";
|
|
1198
1199
|
const NylasBookingConfirmationTypeStyle0 = nylasBookingConfirmationTypeCss;
|
|
1199
1200
|
|
|
1200
|
-
var __decorate$
|
|
1201
|
+
var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1201
1202
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1202
1203
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1203
1204
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1207,7 +1208,7 @@ var __decorate$p = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1207
1208
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1208
1209
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1209
1210
|
};
|
|
1210
|
-
var __metadata$
|
|
1211
|
+
var __metadata$r = (undefined && undefined.__metadata) || function (k, v) {
|
|
1211
1212
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1212
1213
|
return Reflect.metadata(k, v);
|
|
1213
1214
|
};
|
|
@@ -1257,9 +1258,9 @@ const NylasBookingConfirmationType = class {
|
|
|
1257
1258
|
}
|
|
1258
1259
|
else {
|
|
1259
1260
|
this.selectedBookingType = this.bookingType || 'booking';
|
|
1261
|
+
this.showDropdown = this.showComponent;
|
|
1260
1262
|
}
|
|
1261
1263
|
this.internals.setFormValue(this.selectedBookingType.toString(), this.name);
|
|
1262
|
-
this.showDropdown = this.selectedConfiguration?.event_booking?.booking_type !== 'custom-confirmation' && !!this.selectedConfiguration?.scheduler?.organizer_confirmation_url;
|
|
1263
1264
|
}
|
|
1264
1265
|
componentWillUpdate() {
|
|
1265
1266
|
utils.debug('nylas-booking-confirmation-type', 'componentWillUpdate');
|
|
@@ -1293,7 +1294,7 @@ const NylasBookingConfirmationType = class {
|
|
|
1293
1294
|
value: 'organizer-confirmation',
|
|
1294
1295
|
},
|
|
1295
1296
|
];
|
|
1296
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1297
|
+
return (index$1.h(index$1.Host, { key: 'e5267e4adf820e23ca021965cc6f021946eefbea' }, this.showDropdown && (index$1.h("div", { class: "nylas-booking-confirmation-type", part: "nbct" }, bookingOptions.length > 0 && (index$1.h("div", { class: "nylas-booking-confirmation-type__dropdown" }, index$1.h("span", { class: "label" }, "When a booking is requested", index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "Manually accept bookings allows you to review and either accept or decline each booking request."))), this.selectedBookingType && (index$1.h("select-dropdown", { name: "booking-type", options: bookingOptions, withSearch: false, exportparts: "sd_dropdown: nbct__dropdown, sd_dropdown-button: nbct__dropdown-button, sd_dropdown-content: nbct__dropdown-content", defaultSelectedOption: bookingOptions.find(cal => cal.value == this.selectedBookingType) }))))))));
|
|
1297
1298
|
}
|
|
1298
1299
|
static get formAssociated() { return true; }
|
|
1299
1300
|
get host() { return index$1.getElement(this); }
|
|
@@ -1302,7 +1303,7 @@ const NylasBookingConfirmationType = class {
|
|
|
1302
1303
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1303
1304
|
}; }
|
|
1304
1305
|
};
|
|
1305
|
-
__decorate$
|
|
1306
|
+
__decorate$r([
|
|
1306
1307
|
registerComponent.RegisterComponent({
|
|
1307
1308
|
name: 'nylas-booking-confirmation-type',
|
|
1308
1309
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -1316,9 +1317,9 @@ __decorate$p([
|
|
|
1316
1317
|
},
|
|
1317
1318
|
fireRegisterEvent: true,
|
|
1318
1319
|
}),
|
|
1319
|
-
__metadata$
|
|
1320
|
-
__metadata$
|
|
1321
|
-
__metadata$
|
|
1320
|
+
__metadata$r("design:type", Function),
|
|
1321
|
+
__metadata$r("design:paramtypes", []),
|
|
1322
|
+
__metadata$r("design:returntype", void 0)
|
|
1322
1323
|
], NylasBookingConfirmationType.prototype, "render", null);
|
|
1323
1324
|
NylasBookingConfirmationType.style = NylasBookingConfirmationTypeStyle0;
|
|
1324
1325
|
|
|
@@ -4676,7 +4677,7 @@ Sortable.mount(new MultiDragPlugin());
|
|
|
4676
4677
|
const nylasBookingFormConfigCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-booking-form-config{width:inherit;display:flex;flex-direction:column;margin:1rem;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-booking-form-config .header{padding:1rem;display:flex;justify-content:space-between;border-bottom:1px solid var(--nylas-base-200)}.nylas-booking-form-config .header .header_text h3{margin:0;font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-booking-form-config .header .header_text p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-booking-form-config .header .header_action{display:flex}.nylas-booking-form-config .header .header_action select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-form-config .content{padding:1rem;color:var(--nylas-base-900);font-size:16px;font-family:var(--nylas-font-family)}@media screen and (max-width: 504px){.nylas-booking-form-config .content{font-size:15px}}.nylas-booking-form-config .content .additional_fields{display:flex;flex-direction:column;gap:1rem;position:relative;overflow:auto}@media screen and (max-width: 504px){.nylas-booking-form-config .content .additional_fields{gap:0.5rem;padding:0}}.nylas-booking-form-config .content .additional_fields .form-field{border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);padding:1rem;user-select:none;background-color:white;position:relative}.nylas-booking-form-config .content .additional_fields .form-field.highlight{background-color:var(--nylas-base-200)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header{display:flex;justify-content:space-between;align-items:center}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .dragable{cursor:move}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_text{flex:1;text-align:left;padding-left:1rem}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_text h4{margin:0;font-size:16px;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_text p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions{display:flex;align-items:center}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .is-required{color:var(--nylas-base-500);background-color:var(--nylas-base-50);font-weight:600;padding:4px 8px;border-radius:var(--nylas-border-radius-2x)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions button{border:none;background:transparent;height:40px;margin:0 1rem;cursor:pointer;color:var(--nylas-base-800)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions button:hover,.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions button:active{color:var(--nylas-primary)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .chevron{display:flex;align-self:center;cursor:pointer}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .chevron:hover,.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .chevron:active{color:var(--nylas-primary)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .chevron.open{transform:rotate(90deg)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_header .form-field_header_actions .chevron.closed{transform:rotate(270deg)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content{padding:1.5rem 0 0 2.7rem}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content.hidden{display:none}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .inputs{display:flex}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .inputs .label-input{padding:0 1rem 0 0}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .inputs .required-input{display:flex}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .inputs .required-input label{padding:0.5rem}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .inputs .required-input input[type=checkbox]{transform:scale(1.3)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container h4{margin:0;font-size:16px;line-height:20px;font-weight:500;padding:0.5rem 0;color:var(--nylas-base-900);text-align:left}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container button{border:none;background:transparent;height:40px;margin:1rem 0;cursor:pointer;color:var(--nylas-base-800);display:flex;align-items:center;justify-content:space-between}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container button:hover,.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container button:active{color:var(--nylas-primary)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container .options{display:flex;flex-direction:column;gap:1rem}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container .options .option{display:flex;justify-content:space-between;align-items:center}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container .options .option button{border:none;background:transparent;height:40px;margin:0 1rem;cursor:pointer;color:var(--nylas-base-800)}.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container .options .option button:hover,.nylas-booking-form-config .content .additional_fields .form-field .form-field_content .options-container .options .option button:active{color:var(--nylas-primary)}";
|
|
4677
4678
|
const NylasBookingFormConfigStyle0 = nylasBookingFormConfigCss;
|
|
4678
4679
|
|
|
4679
|
-
var __decorate$
|
|
4680
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4680
4681
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4681
4682
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4682
4683
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4686,7 +4687,7 @@ var __decorate$o = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4686
4687
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4687
4688
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4688
4689
|
};
|
|
4689
|
-
var __metadata$
|
|
4690
|
+
var __metadata$q = (undefined && undefined.__metadata) || function (k, v) {
|
|
4690
4691
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
4691
4692
|
return Reflect.metadata(k, v);
|
|
4692
4693
|
};
|
|
@@ -4913,7 +4914,7 @@ const NylasBookingFormConfig = class {
|
|
|
4913
4914
|
});
|
|
4914
4915
|
}
|
|
4915
4916
|
render() {
|
|
4916
|
-
return (index$1.h(index$1.Host, { key: '
|
|
4917
|
+
return (index$1.h(index$1.Host, { key: '890a8dc51e6aee455ce2eec3b1b9e534122e87e1' }, index$1.h("div", { key: 'a6d477428eb9851402cadbe384fd5dc7a0a7788b', class: "nylas-booking-form-config", part: "nbfc" }, index$1.h("div", { key: '4fa905aa07838ab99c01d20f2e8f809a24328059', class: "header", part: "nbfc__header" }, index$1.h("div", { key: '33b8980d3927d1aa717aade3f6e1e3f3b099feab', class: "header_text" }, index$1.h("h3", { key: '2381bd7f07124b653aac4542946585357d1eecd5' }, "Booking form"), index$1.h("p", { key: 'a57f318250af040f150df4fe6cf02f299250da74' }, "Add custom fields to the booking form.")), index$1.h("div", { key: '7297904e841d80bdc38a22605427234bf69c15b3', class: "header_action" }, index$1.h("select-dropdown", { key: 'fed774ace8a8d000a51228c32100597035c01cb0', 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: constants.DEFAULT_FORM_FIELD_TYPES, withSearch: false, withChevron: false, dropdownButtonText: "Add new field" }, index$1.h("span", { key: '4a445ec9df4d27d455e5936a83469df6850ee24f', slot: "select-icon" }, index$1.h("plus-icon", { key: '1f5fa764396d7f0ecc212ed7e2145dee1250eb4c', width: "15", height: "15" }))))), index$1.h("div", { key: 'f2384ca1eef8e9b50176ca6a23ed018dba95190e', class: "content" }, index$1.h("div", { key: '6ce505f1753086e43ac25e188a63b4319282f33d', id: "fields", class: "additional_fields", part: "nbfc__additional_fields" }, this.formFields.map((field, i) => {
|
|
4917
4918
|
return (index$1.h("div", { class: `form-field draggable ${field.readonly && 'fixed'}`, part: "nbfc__form_field", key: i }, index$1.h("div", { class: "form-field_header", part: "nbfc__form_field-header" }, index$1.h("span", { class: "dragable" }, index$1.h("dragable-icon", { width: "24", height: "25" })), index$1.h("div", { class: "form-field_header_text" }, index$1.h("h4", null, field.label), index$1.h("p", null, field.typeLabel)), index$1.h("div", { class: "form-field_header_actions" }, index$1.h("span", { class: `is-required` }, field.required ? 'Required' : 'Optional'), !field.readonly && (index$1.h("button", { onClick: () => {
|
|
4918
4919
|
this.fieldRemove(i);
|
|
4919
4920
|
} }, index$1.h("close-icon", null))), index$1.h("span", { class: `chevron ${field.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
@@ -4936,22 +4937,22 @@ const NylasBookingFormConfig = class {
|
|
|
4936
4937
|
"formFields": ["watchHandler"]
|
|
4937
4938
|
}; }
|
|
4938
4939
|
};
|
|
4939
|
-
__decorate$
|
|
4940
|
+
__decorate$q([
|
|
4940
4941
|
registerComponent.RegisterComponent({
|
|
4941
4942
|
name: 'nylas-booking-form-config',
|
|
4942
4943
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
4943
4944
|
fireRegisterEvent: true,
|
|
4944
4945
|
}),
|
|
4945
|
-
__metadata$
|
|
4946
|
-
__metadata$
|
|
4947
|
-
__metadata$
|
|
4946
|
+
__metadata$q("design:type", Function),
|
|
4947
|
+
__metadata$q("design:paramtypes", []),
|
|
4948
|
+
__metadata$q("design:returntype", void 0)
|
|
4948
4949
|
], NylasBookingFormConfig.prototype, "render", null);
|
|
4949
4950
|
NylasBookingFormConfig.style = NylasBookingFormConfigStyle0;
|
|
4950
4951
|
|
|
4951
4952
|
const nylasBufferTimeCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-buffer-time{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-buffer-time .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-buffer-time .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-buffer-time .header p{display:flex;gap:4px;align-items:center;margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-buffer-time .nylas-buffer-time__body{display:grid;grid-template-columns:1fr auto}@media screen and (max-width: 768px){.nylas-buffer-time .nylas-buffer-time__body{grid-template-columns:1fr}}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__dropdown{padding:1rem;display:flex;flex-direction:column;gap:1rem;border-right:1px solid var(--nylas-base-200);color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__dropdown{border:none}}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__dropdown .nylas-buffer-time__row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__dropdown .nylas-buffer-time__row label{width:200px}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__dropdown .nylas-buffer-time__row .dropdown-container{display:flex;gap:1rem;align-items:center;justify-content:flex-end}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview .preview-container{padding:0 2rem 1rem}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.nylas-buffer-time .nylas-buffer-time__body .nylas-buffer-time__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.nylas-buffer-time .nylas-buffer-time__dropdown select-dropdown::part(sd_dropdown-button){width:104px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-buffer-time .nylas-buffer-time__dropdown select-dropdown::part(sd_dropdown-content){width:100%}.nylas-buffer-time .nylas-buffer-time__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}";
|
|
4952
4953
|
const NylasBufferTimeStyle0 = nylasBufferTimeCss;
|
|
4953
4954
|
|
|
4954
|
-
var __decorate$
|
|
4955
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4955
4956
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4956
4957
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4957
4958
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4961,7 +4962,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4961
4962
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4962
4963
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4963
4964
|
};
|
|
4964
|
-
var __metadata$
|
|
4965
|
+
var __metadata$p = (undefined && undefined.__metadata) || function (k, v) {
|
|
4965
4966
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
4966
4967
|
return Reflect.metadata(k, v);
|
|
4967
4968
|
};
|
|
@@ -5118,7 +5119,7 @@ const NylasBufferTime = class {
|
|
|
5118
5119
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5119
5120
|
}; }
|
|
5120
5121
|
};
|
|
5121
|
-
__decorate$
|
|
5122
|
+
__decorate$p([
|
|
5122
5123
|
registerComponent.RegisterComponent({
|
|
5123
5124
|
name: 'nylas-buffer-time',
|
|
5124
5125
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -5132,16 +5133,16 @@ __decorate$n([
|
|
|
5132
5133
|
},
|
|
5133
5134
|
fireRegisterEvent: true,
|
|
5134
5135
|
}),
|
|
5135
|
-
__metadata$
|
|
5136
|
-
__metadata$
|
|
5137
|
-
__metadata$
|
|
5136
|
+
__metadata$p("design:type", Function),
|
|
5137
|
+
__metadata$p("design:paramtypes", []),
|
|
5138
|
+
__metadata$p("design:returntype", void 0)
|
|
5138
5139
|
], NylasBufferTime.prototype, "render", null);
|
|
5139
5140
|
NylasBufferTime.style = NylasBufferTimeStyle0;
|
|
5140
5141
|
|
|
5141
5142
|
const nylasCalendarPickerCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-calendar-picker{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-calendar-picker .nylas-calendar-picker__loading{padding-bottom:1rem;display:flex;flex-direction:column;gap:4px}.nylas-calendar-picker .nylas-calendar-picker__loading .label{display:flex;align-items:center;gap:0.5rem;margin:1rem 1rem 0;color:var(--nylas-base-800)}.nylas-calendar-picker .nylas-calendar-picker__loading .label tooltip-component{display:flex}.nylas-calendar-picker .nylas-calendar-picker__loading .loading-button{margin:0 1rem;padding:0;width:inherit;height:48px;color:black;font-size:1rem;cursor:not-allowed;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-calendar-picker .nylas-calendar-picker__loading .loading-button span{padding:0 1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown{padding:1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown){width:100%;display:flex;flex-direction:column;gap:4px}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button--error){border:1px solid var(--nylas-error)}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-content){width:100%;max-width:unset}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}";
|
|
5142
5143
|
const NylasCalendarPickerStyle0 = nylasCalendarPickerCss;
|
|
5143
5144
|
|
|
5144
|
-
var __decorate$
|
|
5145
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5145
5146
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5146
5147
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5147
5148
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5151,7 +5152,7 @@ var __decorate$m = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5151
5152
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5152
5153
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5153
5154
|
};
|
|
5154
|
-
var __metadata$
|
|
5155
|
+
var __metadata$o = (undefined && undefined.__metadata) || function (k, v) {
|
|
5155
5156
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5156
5157
|
return Reflect.metadata(k, v);
|
|
5157
5158
|
};
|
|
@@ -5166,9 +5167,9 @@ const NylasCalendarPicker = class {
|
|
|
5166
5167
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
5167
5168
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
5168
5169
|
}
|
|
5169
|
-
this.calendars = undefined;
|
|
5170
|
-
this.currentUser = undefined;
|
|
5171
5170
|
this.name = 'calendar';
|
|
5171
|
+
this.currentUser = undefined;
|
|
5172
|
+
this.calendars = undefined;
|
|
5172
5173
|
this.defaultSelectedCalendars = [];
|
|
5173
5174
|
this.selectedCalendars = [];
|
|
5174
5175
|
this.error = '';
|
|
@@ -5242,7 +5243,7 @@ const NylasCalendarPicker = class {
|
|
|
5242
5243
|
"name": ["elementNameChangedHandler"]
|
|
5243
5244
|
}; }
|
|
5244
5245
|
};
|
|
5245
|
-
__decorate$
|
|
5246
|
+
__decorate$o([
|
|
5246
5247
|
registerComponent.RegisterComponent({
|
|
5247
5248
|
name: 'nylas-calendar-picker',
|
|
5248
5249
|
stateToProps: new Map([['schedulerConfig.currentUser', 'currentUser']]),
|
|
@@ -5256,16 +5257,16 @@ __decorate$m([
|
|
|
5256
5257
|
},
|
|
5257
5258
|
fireRegisterEvent: true,
|
|
5258
5259
|
}),
|
|
5259
|
-
__metadata$
|
|
5260
|
-
__metadata$
|
|
5261
|
-
__metadata$
|
|
5260
|
+
__metadata$o("design:type", Function),
|
|
5261
|
+
__metadata$o("design:paramtypes", []),
|
|
5262
|
+
__metadata$o("design:returntype", void 0)
|
|
5262
5263
|
], NylasCalendarPicker.prototype, "render", null);
|
|
5263
5264
|
NylasCalendarPicker.style = NylasCalendarPickerStyle0;
|
|
5264
5265
|
|
|
5265
5266
|
const nylasCancellationPolicyCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-cancellation-policy{display:flex;flex-direction:column;gap:4px}.nylas-cancellation-policy label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-cancellation-policy label span.label-icon{margin-left:4px}.nylas-cancellation-policy label span.label-icon tooltip-component{display:flex}.nylas-cancellation-policy textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-cancellation-policy textarea::-webkit-resizer{display:none}";
|
|
5266
5267
|
const NylasCancellationPolicyStyle0 = nylasCancellationPolicyCss;
|
|
5267
5268
|
|
|
5268
|
-
var __decorate$
|
|
5269
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5269
5270
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5270
5271
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5271
5272
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5275,7 +5276,7 @@ var __decorate$l = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5275
5276
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5276
5277
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5277
5278
|
};
|
|
5278
|
-
var __metadata$
|
|
5279
|
+
var __metadata$n = (undefined && undefined.__metadata) || function (k, v) {
|
|
5279
5280
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5280
5281
|
return Reflect.metadata(k, v);
|
|
5281
5282
|
};
|
|
@@ -5329,7 +5330,7 @@ const NylasCancellationPolicy = class {
|
|
|
5329
5330
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
5330
5331
|
}
|
|
5331
5332
|
render() {
|
|
5332
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5333
|
+
return (index$1.h(index$1.Host, { key: '4bae0ed63f5beb4bfded63e6a6243ad9231706cc' }, index$1.h("div", { key: 'e8b16dcdf8d9095a9922ec237cb30f3ea6501dde', class: "nylas-cancellation-policy", part: "ncpolicy" }, index$1.h("label", { key: '3813b4c723c97c0c1aae070c88cf0111c73d9a3f', htmlFor: this.name }, "Cancellation policy message", index$1.h("span", { key: '39b8a017d43bd8ea0d6e24b4ac180a551d88c963', class: "label-icon" }, index$1.h("tooltip-component", { key: 'f5ecc2daf78366a81869aec1a8b0aa783e338b20' }, index$1.h("info-icon", { key: '4f128afc88ab509aeff42e1491c6dde245014685', slot: "tooltip-icon" }), index$1.h("span", { key: '28446b374372f8c36566fd6b7c6e6babb3668a1a', slot: "tooltip-content" }, "Attendees receive this message if trying to cancel the event. Attendees are asked to provide a reason for cancellation.")))), index$1.h("textarea", { key: 'd518b68d61229a2a9ee9c3cda2a2a17b834e7343', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
|
|
5333
5334
|
}
|
|
5334
5335
|
static get formAssociated() { return true; }
|
|
5335
5336
|
get host() { return index$1.getElement(this); }
|
|
@@ -5338,23 +5339,23 @@ const NylasCancellationPolicy = class {
|
|
|
5338
5339
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5339
5340
|
}; }
|
|
5340
5341
|
};
|
|
5341
|
-
__decorate$
|
|
5342
|
+
__decorate$n([
|
|
5342
5343
|
registerComponent.RegisterComponent({
|
|
5343
5344
|
name: 'nylas-cancellation-policy',
|
|
5344
5345
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
5345
5346
|
eventToProps: {},
|
|
5346
5347
|
fireRegisterEvent: true,
|
|
5347
5348
|
}),
|
|
5348
|
-
__metadata$
|
|
5349
|
-
__metadata$
|
|
5350
|
-
__metadata$
|
|
5349
|
+
__metadata$n("design:type", Function),
|
|
5350
|
+
__metadata$n("design:paramtypes", []),
|
|
5351
|
+
__metadata$n("design:returntype", void 0)
|
|
5351
5352
|
], NylasCancellationPolicy.prototype, "render", null);
|
|
5352
5353
|
NylasCancellationPolicy.style = NylasCancellationPolicyStyle0;
|
|
5353
5354
|
|
|
5354
5355
|
const nylasConfirmationEmailCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-confirmation-email{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-confirmation-email .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.nylas-confirmation-email .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .header .confirmation-email-toggle{display:flex;gap:24px;align-items:center}.nylas-confirmation-email .header .confirmation-email-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-confirmation-email .header .confirmation-email-toggle .chevron:hover,.nylas-confirmation-email .header .confirmation-email-toggle .chevron:active{color:var(--nylas-primary)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.open{transform:rotate(90deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.closed{transform:rotate(270deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body{grid-template-columns:1fr}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{border:none}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row.full-width-col{grid-template-columns:1fr;border-top:1px solid var(--nylas-base-200);padding-top:1.25rem;margin:0.25rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label{display:flex;align-items:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon{margin-left:4px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon tooltip-component{display:flex}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container{display:flex;gap:32px;width:100%}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .input-container{display:flex;flex-direction:column;flex:1}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row span.selected-value{font-weight:500}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection{display:flex;flex-direction:column;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container{display:flex;flex-direction:column;gap:0.25rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container{padding:0 2rem 1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body span.error-message{color:var(--nylas-error)}.nylas-confirmation-email .nylas-confirmation-email__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary{padding:0.75rem 1rem;display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__summary p{margin:0;display:flex;align-items:center;column-gap:4px;font-size:0.875rem;font-weight:400;line-height:21px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary p span.summary-icon{display:flex;justify-content:center;min-width:20px}sp-divider{background-color:var(--nylas-base-200);height:1px;margin:0.25rem 0}";
|
|
5355
5356
|
const NylasConfirmationEmailStyle0 = nylasConfirmationEmailCss;
|
|
5356
5357
|
|
|
5357
|
-
var __decorate$
|
|
5358
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5358
5359
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5359
5360
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5360
5361
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5364,7 +5365,7 @@ var __decorate$k = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5364
5365
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5365
5366
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5366
5367
|
};
|
|
5367
|
-
var __metadata$
|
|
5368
|
+
var __metadata$m = (undefined && undefined.__metadata) || function (k, v) {
|
|
5368
5369
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5369
5370
|
return Reflect.metadata(k, v);
|
|
5370
5371
|
};
|
|
@@ -5455,8 +5456,9 @@ const NylasConfirmationEmail = class {
|
|
|
5455
5456
|
this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
|
|
5456
5457
|
}
|
|
5457
5458
|
render() {
|
|
5458
|
-
const
|
|
5459
|
-
|
|
5459
|
+
const organizer = this.participantsState.find(p => p.is_organizer);
|
|
5460
|
+
const organizerName = organizer?.name || organizer?.email;
|
|
5461
|
+
return (index$1.h(index$1.Host, { key: '0cd4c1886c65ead0e525ea96fe26a1316c61db7f' }, index$1.h("div", { key: '1901775f8a1364fe16485eeaf27d44862e74a642', class: "nylas-confirmation-email", part: "nce" }, index$1.h("div", { key: '241cf1a885d4d97d53c158e5691e350aa14b549f', class: "header", part: "nce__header" }, index$1.h("div", { key: 'e37c36a4d8f1f82669f3a397969202d3a2612b0e' }, index$1.h("h3", { key: 'ae34b848907720867cb014000e5b7367bcabedb3' }, this.confirmationEmail?.booking_confirmed?.title ?? `Booking confirmed with ${organizerName ? ` ${organizerName}` : ''}`), index$1.h("p", { key: '97d7c78a88b20be8c5b0a27485f917628f1c6edc' }, "Booking confirmation email")), this.isConfirmationEmailOpen ? (index$1.h("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, index$1.h("span", { class: `chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, index$1.h("chevron-icon", { width: "24", height: "24" })))) : (index$1.h("button-component", { variant: 'basic', clickHandler: event => {
|
|
5460
5462
|
event.preventDefault();
|
|
5461
5463
|
this.toggleConfirmationEmail();
|
|
5462
5464
|
} }, index$1.h("edit-icon", { width: "16", height: "16" }), "Edit"))), this.isConfirmationEmailOpen ? (index$1.h("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, index$1.h("div", { class: "nylas-confirmation-email__section" }, index$1.h("div", { class: "nylas-confirmation-email__row" }, index$1.h("label", null, "Send confirmation email", index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation email immediately upon booking.")))), index$1.h("span", { class: "selected-value" }, "Immediately upon booking")), index$1.h("div", { class: "nylas-confirmation-email__row" }, index$1.h("div", { class: "subsection" }, index$1.h("div", { class: "input-container" }, index$1.h("label", null, "Company logo URL", index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "This logo appears in the booking confirmation email. The URL must be publicly accessible. The image will be scaled down to a max size of 200px x 100px.")))), this.confirmationEmail && (index$1.h("input-image-url", { name: "confirmation-email-logo", exportparts: "iiu__logo-input-textfield: nce__input-image-url", imageUrl: this.confirmationEmail?.logo ?? '' }))))), index$1.h("div", { class: "nylas-confirmation-email__row full-width-col" }, index$1.h("div", { class: "subsection" }, index$1.h("h3", null, "Email message"), index$1.h("div", { class: "input-container" }, index$1.h("label", { htmlFor: "title" }, "Custom email title", index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "An email title is a headline within the body of the email. This doesn't change the subject line.")))), index$1.h("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: `Booking confirmed ${organizerName ? `with ${organizerName}` : ''}`, defaultValue: this.confirmationEmail?.booking_confirmed?.title ?? '' })), index$1.h("div", { class: "input-container" }, index$1.h("textarea-component", { label: "Additional info", name: "confirmation-email-body", id: "confirmation-email-body", placeholder: "Default body", tooltip: "Scheduler adds the content of the box to the email body.", maxLength: 500, defaultValue: this.confirmationEmail?.booking_confirmed?.body ?? '' }))))))) : (index$1.h("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, index$1.h("p", null, index$1.h("span", { class: "summary-icon" }, index$1.h("person-clipboard-icon", null)), "All host & guests"), index$1.h("p", null, index$1.h("span", { class: "summary-icon" }, index$1.h("clock-icon", null)), "Immediately on booking"))))));
|
|
@@ -5468,7 +5470,7 @@ const NylasConfirmationEmail = class {
|
|
|
5468
5470
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5469
5471
|
}; }
|
|
5470
5472
|
};
|
|
5471
|
-
__decorate$
|
|
5473
|
+
__decorate$m([
|
|
5472
5474
|
registerComponent.RegisterComponent({
|
|
5473
5475
|
name: 'nylas-confirmation-email',
|
|
5474
5476
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -5482,16 +5484,16 @@ __decorate$k([
|
|
|
5482
5484
|
},
|
|
5483
5485
|
fireRegisterEvent: true,
|
|
5484
5486
|
}),
|
|
5485
|
-
__metadata$
|
|
5486
|
-
__metadata$
|
|
5487
|
-
__metadata$
|
|
5487
|
+
__metadata$m("design:type", Function),
|
|
5488
|
+
__metadata$m("design:paramtypes", []),
|
|
5489
|
+
__metadata$m("design:returntype", void 0)
|
|
5488
5490
|
], NylasConfirmationEmail.prototype, "render", null);
|
|
5489
5491
|
NylasConfirmationEmail.style = NylasConfirmationEmailStyle0;
|
|
5490
5492
|
|
|
5491
5493
|
const nylasConnectedCalendarsCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-connected-calendars{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-connected-calendars .header{padding:1rem}.nylas-connected-calendars .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-connected-calendars .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-connected-calendars .content .participant-container{padding-top:12px;border-top:1px solid var(--nylas-base-200)}.nylas-connected-calendars .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 16px}.nylas-connected-calendars .content .participant-container .participant-title p{margin:0}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}nylas-calendar-picker::part(ncp){margin:0;border:none;border-top:1px solid var(--nylas-base-200);border-top-right-radius:0;border-top-left-radius:0}";
|
|
5492
5494
|
const NylasConnectedCalendarsStyle0 = nylasConnectedCalendarsCss;
|
|
5493
5495
|
|
|
5494
|
-
var __decorate$
|
|
5496
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5495
5497
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5496
5498
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5497
5499
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5501,7 +5503,7 @@ var __decorate$j = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5501
5503
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5502
5504
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5503
5505
|
};
|
|
5504
|
-
var __metadata$
|
|
5506
|
+
var __metadata$l = (undefined && undefined.__metadata) || function (k, v) {
|
|
5505
5507
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5506
5508
|
return Reflect.metadata(k, v);
|
|
5507
5509
|
};
|
|
@@ -5602,6 +5604,10 @@ const NylasConnectedCalendars = class {
|
|
|
5602
5604
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
5603
5605
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
5604
5606
|
}
|
|
5607
|
+
else {
|
|
5608
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
5609
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
5610
|
+
}
|
|
5605
5611
|
}
|
|
5606
5612
|
handleValueChanged(event) {
|
|
5607
5613
|
utils.debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -5643,12 +5649,12 @@ const NylasConnectedCalendars = class {
|
|
|
5643
5649
|
return selectedParticipants;
|
|
5644
5650
|
}
|
|
5645
5651
|
render() {
|
|
5646
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5652
|
+
return (index$1.h(index$1.Host, { key: '32710fe762bdf90e238c62695957a9fca31db258' }, index$1.h("div", { key: 'a5ebf4adb7eb8e1b8a065bc05733738da06fbac3', class: "nylas-connected-calendars", part: "nccals" }, index$1.h("div", { key: 'f3c820bcde922a7b852630d86145b1e6e1bf0e25', class: "header", part: "nccals__header" }, index$1.h("h3", { key: 'e2b68d05d416c322b22f969d8d8c890a09812154' }, "Connected Calendars"), index$1.h("p", { key: '4dd41d10a6043fec1c0f4943371c312a29e1d489' }, "Select the calendars to use for checking your availability.", index$1.h("tooltip-component", { key: '6a8ec009fd879e1ed6b6fb65be75a88255adba17' }, index$1.h("info-icon", { key: '0d4a99eaee064ecee1c82ee5b13f3ab87a1d5d93', slot: "tooltip-icon" }), index$1.h("span", { key: 'de3779efce64d7a14dbc3f7759c827005f92ed50', slot: "tooltip-content" }, "Check availability across one or more calendars. If you select multiple calendars for a participant, the participant must be available across all of their calendars to be considered available.")))), index$1.h("div", { key: '720267110636c1dc06ac67b7e715515f56737b73', class: "content", part: "nccals__content" }, index$1.h("form", { key: 'f295ba327aa302ea186dbf2daef3a9c30f96ee5f', ref: el => (this.connectedCalendarsFormRef = el) }, Object.keys(this.participantCalendars).map((key, index) => {
|
|
5647
5653
|
const participant = this.selectedCalendars[key];
|
|
5648
5654
|
const participantCalendars = this.participantCalendars[key];
|
|
5649
5655
|
if (!participant || !participant.name)
|
|
5650
5656
|
return;
|
|
5651
|
-
return (index$1.h("div", { class: "participant-container", part: "
|
|
5657
|
+
return (index$1.h("div", { class: "participant-container", part: "nccals__container", key: `participant-conatiner-${index}` }, index$1.h("div", { class: "participant-title", part: "nccals__title" }, index$1.h("p", null, participant.name, "'s connected calendars"), index$1.h("div", { class: "participant-toggle", part: "nccals__toggle-container" }, index$1.h("span", { class: `chevron ${participant.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
5652
5658
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
5653
5659
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
5654
5660
|
} }, index$1.h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (index$1.h("nylas-calendar-picker", { key: key, name: `participant-${key}`, calendars: participantCalendars, defaultSelectedCalendars: this.participantDefaultSelectedCalendars[key] }))));
|
|
@@ -5664,7 +5670,7 @@ const NylasConnectedCalendars = class {
|
|
|
5664
5670
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5665
5671
|
}; }
|
|
5666
5672
|
};
|
|
5667
|
-
__decorate$
|
|
5673
|
+
__decorate$l([
|
|
5668
5674
|
registerComponent.RegisterComponent({
|
|
5669
5675
|
name: 'nylas-connected-calendars',
|
|
5670
5676
|
stateToProps: new Map([
|
|
@@ -5675,16 +5681,16 @@ __decorate$j([
|
|
|
5675
5681
|
eventToProps: {},
|
|
5676
5682
|
fireRegisterEvent: true,
|
|
5677
5683
|
}),
|
|
5678
|
-
__metadata$
|
|
5679
|
-
__metadata$
|
|
5680
|
-
__metadata$
|
|
5684
|
+
__metadata$l("design:type", Function),
|
|
5685
|
+
__metadata$l("design:paramtypes", []),
|
|
5686
|
+
__metadata$l("design:returntype", void 0)
|
|
5681
5687
|
], NylasConnectedCalendars.prototype, "render", null);
|
|
5682
5688
|
NylasConnectedCalendars.style = NylasConnectedCalendarsStyle0;
|
|
5683
5689
|
|
|
5684
5690
|
const nylasCustomBookingFlowCss = ":host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-custom-booking-flow__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-custom-booking-flow__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-custom-booking-flow__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-custom-booking-flow__block{display:flex;justify-content:space-between;gap:0.5rem}";
|
|
5685
5691
|
const NylasCustomBookingFlowStyle0 = nylasCustomBookingFlowCss;
|
|
5686
5692
|
|
|
5687
|
-
var __decorate$
|
|
5693
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5688
5694
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5689
5695
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5690
5696
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5694,7 +5700,7 @@ var __decorate$i = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5694
5700
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5695
5701
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5696
5702
|
};
|
|
5697
|
-
var __metadata$
|
|
5703
|
+
var __metadata$k = (undefined && undefined.__metadata) || function (k, v) {
|
|
5698
5704
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5699
5705
|
return Reflect.metadata(k, v);
|
|
5700
5706
|
};
|
|
@@ -5723,27 +5729,27 @@ const NylasCustomBookingFlow = class {
|
|
|
5723
5729
|
utils.checkForMissingSlots(['inputs'], this.el);
|
|
5724
5730
|
}
|
|
5725
5731
|
render() {
|
|
5726
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5732
|
+
return (index$1.h(index$1.Host, { key: 'd9e4b13338b50f21575a7c7f0fba18a5b2828fe8', part: "ncbflow" }, index$1.h("nylas-form-card", { key: '1f53c24698354fbf45ecd67ac24f690e36133cca', exportparts: "nfc__header: ncbflow__header" }, index$1.h("h1", { key: '680813d1aaf33014732e8cf3038a27f4ab4bd607', slot: "header-title", class: "nylas-custom-booking-flow__title", part: "ncbflow__title" }, "Custom booking flow"), index$1.h("div", { key: '2da6f6587e05e65cd1e2b35718168f665c3348c1', slot: "content", class: "nylas-custom-booking-flow__content", part: "ncbflow__content" }, index$1.h("slot", { key: '73937227f3a398779b0d1c97e525ca0bec593d85', name: "inputs" })))));
|
|
5727
5733
|
}
|
|
5728
5734
|
static get formAssociated() { return true; }
|
|
5729
5735
|
get el() { return index$1.getElement(this); }
|
|
5730
5736
|
};
|
|
5731
|
-
__decorate$
|
|
5737
|
+
__decorate$k([
|
|
5732
5738
|
registerComponent.RegisterComponent({
|
|
5733
5739
|
name: 'nylas-custom-booking-flow',
|
|
5734
5740
|
eventToProps: {},
|
|
5735
5741
|
fireRegisterEvent: true,
|
|
5736
5742
|
}),
|
|
5737
|
-
__metadata$
|
|
5738
|
-
__metadata$
|
|
5739
|
-
__metadata$
|
|
5743
|
+
__metadata$k("design:type", Function),
|
|
5744
|
+
__metadata$k("design:paramtypes", []),
|
|
5745
|
+
__metadata$k("design:returntype", void 0)
|
|
5740
5746
|
], NylasCustomBookingFlow.prototype, "render", null);
|
|
5741
5747
|
NylasCustomBookingFlow.style = NylasCustomBookingFlowStyle0;
|
|
5742
5748
|
|
|
5743
5749
|
const nylasCustomEventSlugCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-custom-event-slug{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-custom-event-slug .header{padding:1rem;display:grid;grid-template-columns:1fr auto}.nylas-custom-event-slug .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-custom-event-slug .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-custom-event-slug .header .drawer-toggle{display:flex;gap:24px;align-items:center}.nylas-custom-event-slug .header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-custom-event-slug .header .drawer-toggle .chevron:hover,.nylas-custom-event-slug .header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.nylas-custom-event-slug .header .drawer-toggle .chevron.open{transform:rotate(90deg)}.nylas-custom-event-slug .header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.nylas-custom-event-slug .header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-custom-event-slug .header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-custom-event-slug .nylas-custom-event-slug__body{display:grid;grid-template-columns:1fr;background-color:var(--nylas-base-25);border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x);border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.nylas-custom-event-slug .nylas-custom-event-slug__body{grid-template-columns:1fr}}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section{border:none}}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row{display:flex;align-items:center;gap:1rem}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label{display:flex;align-items:center}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.label-icon{margin-left:4px}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.label-icon tooltip-component{display:flex}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row .input-container{width:100%}.nylas-custom-event-slug .nylas-custom-event-slug__body span.error-message{color:var(--nylas-error)}.nylas-custom-event-slug .nylas-custom-event-slug__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available;display:flex;flex-direction:row;gap:0.125rem;border-radius:var(--nylas-border-radius-2x);z-index:1}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper:focus{outline-color:var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error::placeholder{font-weight:400}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper::placeholder{color:var(--nylas-base-300)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.focus{outline:2px solid var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error{border-color:var(--nylas-error);outline:none}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper input-component::part(ic__input){outline:none;border:none;width:100%;font-size:1rem;height:auto;padding-left:0px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .prefix{z-index:1;margin-top:1px;color:var(--nylas-base-400);font-weight:500;font-size:24px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon{margin-right:0.25rem;padding:0 0.75rem;height:100%;display:flex;align-items:center;right:0;cursor:pointer;user-select:none}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon.disabled{cursor:not-allowed}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon:hover svg path{fill:var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon:active svg path{fill:var(--nylas-base-500)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon .copied{display:flex;align-items:center;font-size:0.875rem;gap:0.125rem}";
|
|
5744
5750
|
const NylasCustomEventSlugStyle0 = nylasCustomEventSlugCss;
|
|
5745
5751
|
|
|
5746
|
-
var __decorate$
|
|
5752
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5747
5753
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5748
5754
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5749
5755
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5753,7 +5759,7 @@ var __decorate$h = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5753
5759
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5754
5760
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5755
5761
|
};
|
|
5756
|
-
var __metadata$
|
|
5762
|
+
var __metadata$j = (undefined && undefined.__metadata) || function (k, v) {
|
|
5757
5763
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5758
5764
|
return Reflect.metadata(k, v);
|
|
5759
5765
|
};
|
|
@@ -5794,6 +5800,7 @@ const NylasCustomEventSlug = class {
|
|
|
5794
5800
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5795
5801
|
}
|
|
5796
5802
|
else {
|
|
5803
|
+
console.log('No selected configuration found');
|
|
5797
5804
|
this.urlSlug = this.defaultUrlSlug || '';
|
|
5798
5805
|
}
|
|
5799
5806
|
}
|
|
@@ -5875,7 +5882,7 @@ const NylasCustomEventSlug = class {
|
|
|
5875
5882
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5876
5883
|
}; }
|
|
5877
5884
|
};
|
|
5878
|
-
__decorate$
|
|
5885
|
+
__decorate$j([
|
|
5879
5886
|
registerComponent.RegisterComponent({
|
|
5880
5887
|
name: 'nylas-custom-event-slug',
|
|
5881
5888
|
stateToProps: new Map([
|
|
@@ -5892,16 +5899,16 @@ __decorate$h([
|
|
|
5892
5899
|
},
|
|
5893
5900
|
fireRegisterEvent: true,
|
|
5894
5901
|
}),
|
|
5895
|
-
__metadata$
|
|
5896
|
-
__metadata$
|
|
5897
|
-
__metadata$
|
|
5902
|
+
__metadata$j("design:type", Function),
|
|
5903
|
+
__metadata$j("design:paramtypes", []),
|
|
5904
|
+
__metadata$j("design:returntype", void 0)
|
|
5898
5905
|
], NylasCustomEventSlug.prototype, "render", null);
|
|
5899
5906
|
NylasCustomEventSlug.style = NylasCustomEventSlugStyle0;
|
|
5900
5907
|
|
|
5901
5908
|
const nylasCustomizeBookingSettingsCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-customize-booking-settings{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-customize-booking-settings .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-customize-booking-settings .nylas-customize-booking-settings__settings{display:flex;flex-direction:column;gap:1.5rem;padding:1rem;margin:1rem 0}.nylas-customize-booking-settings .nylas-customize-booking-settings__settings .nylas-customize-booking-settings__settings-div{display:flex;align-items:center;gap:4px}.label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}.label .label-contents{margin:0;display:inline-block}@media screen and (max-width: 768px){.label .label-contents{display:block}}.label tooltip-component{display:inline-block}@media screen and (max-width: 768px){tooltip-component#guests::part(tc__content){left:58px}}tooltip-component#reschedule::part(tc__content){left:58px}@media screen and (max-width: 768px){tooltip-component#reschedule::part(tc__content){left:58px}}tooltip-component#cancel::part(tc__content){left:-58px}@media screen and (max-width: 768px){tooltip-component#cancel::part(tc__content){left:58px}}";
|
|
5902
5909
|
const NylasCustomizeBookingSettingsStyle0 = nylasCustomizeBookingSettingsCss;
|
|
5903
5910
|
|
|
5904
|
-
var __decorate$
|
|
5911
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5905
5912
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5906
5913
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5907
5914
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5911,7 +5918,7 @@ var __decorate$g = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5911
5918
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5912
5919
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5913
5920
|
};
|
|
5914
|
-
var __metadata$
|
|
5921
|
+
var __metadata$i = (undefined && undefined.__metadata) || function (k, v) {
|
|
5915
5922
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5916
5923
|
return Reflect.metadata(k, v);
|
|
5917
5924
|
};
|
|
@@ -5961,9 +5968,9 @@ const NylasCustomizeBookingSettings = class {
|
|
|
5961
5968
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5962
5969
|
}
|
|
5963
5970
|
else {
|
|
5964
|
-
this.allowGuestsToInvite =
|
|
5965
|
-
this.hideCancellationOptions =
|
|
5966
|
-
this.hideReschedulingOptions =
|
|
5971
|
+
this.allowGuestsToInvite = !this.defaultHideAdditionalGuests;
|
|
5972
|
+
this.hideCancellationOptions = this.defaultHideCancellationOptions;
|
|
5973
|
+
this.hideReschedulingOptions = this.defaultHideReschedulingOptions;
|
|
5967
5974
|
}
|
|
5968
5975
|
}
|
|
5969
5976
|
componentWillUpdate() {
|
|
@@ -6007,7 +6014,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6007
6014
|
}
|
|
6008
6015
|
render() {
|
|
6009
6016
|
const showComponent = typeof this.hideCancellationOptions === 'boolean' && typeof this.hideReschedulingOptions === 'boolean' && typeof this.allowGuestsToInvite === 'boolean';
|
|
6010
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6017
|
+
return (index$1.h(index$1.Host, { key: '472a3a5b7b439666b54a4b6f22b702a923063c83' }, showComponent && (index$1.h("div", { class: "nylas-customize-booking-settings", part: "ncbs" }, index$1.h("div", { class: "header", part: "ncbs__header" }, index$1.h("h3", null, "Additional settings"), index$1.h("p", null, "Booking settings for the event.")), index$1.h("div", { class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, index$1.h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, index$1.h("checkbox-component", { name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, index$1.h("span", { slot: "label", class: "label" }, index$1.h("p", { class: "label-contents" }, "Allow guests to invite additional guests.")))), index$1.h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, index$1.h("checkbox-component", { name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, index$1.h("span", { slot: "label", class: "label" }, index$1.h("p", { class: "label-contents" }, "Hide rescheduling option."), index$1.h("tooltip-component", { id: "reschedule" }, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "Hide the\u00A0", index$1.h("strong", null, "Reschedule"), "\u00A0button in the booking confirmation and email notifications."))))), index$1.h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, index$1.h("checkbox-component", { name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, index$1.h("span", { slot: "label", class: "label" }, index$1.h("p", { class: "label-contents" }, "Hide cancellation option."), index$1.h("tooltip-component", { id: "cancel" }, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "Hide the\u00A0", index$1.h("strong", null, "Cancel"), "\u00A0button in the booking confirmation and email notifications."))))))))));
|
|
6011
6018
|
}
|
|
6012
6019
|
static get formAssociated() { return true; }
|
|
6013
6020
|
get host() { return index$1.getElement(this); }
|
|
@@ -6016,22 +6023,22 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6016
6023
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6017
6024
|
}; }
|
|
6018
6025
|
};
|
|
6019
|
-
__decorate$
|
|
6026
|
+
__decorate$i([
|
|
6020
6027
|
registerComponent.RegisterComponent({
|
|
6021
6028
|
name: 'nylas-customize-booking-settings',
|
|
6022
6029
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6023
6030
|
fireRegisterEvent: true,
|
|
6024
6031
|
}),
|
|
6025
|
-
__metadata$
|
|
6026
|
-
__metadata$
|
|
6027
|
-
__metadata$
|
|
6032
|
+
__metadata$i("design:type", Function),
|
|
6033
|
+
__metadata$i("design:paramtypes", []),
|
|
6034
|
+
__metadata$i("design:returntype", void 0)
|
|
6028
6035
|
], NylasCustomizeBookingSettings.prototype, "render", null);
|
|
6029
6036
|
NylasCustomizeBookingSettings.style = NylasCustomizeBookingSettingsStyle0;
|
|
6030
6037
|
|
|
6031
6038
|
const nylasEventDescriptionCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-description{display:flex;flex-direction:column;gap:4px}.nylas-event-description label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-description label span.label-icon{margin-left:4px}.nylas-event-description label span.label-icon tooltip-component{display:flex}.nylas-event-description textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-event-description textarea::-webkit-resizer{display:none}";
|
|
6032
6039
|
const NylasEventDescriptionStyle0 = nylasEventDescriptionCss;
|
|
6033
6040
|
|
|
6034
|
-
var __decorate$
|
|
6041
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6035
6042
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6036
6043
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6037
6044
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6041,7 +6048,7 @@ var __decorate$f = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6041
6048
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6042
6049
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6043
6050
|
};
|
|
6044
|
-
var __metadata$
|
|
6051
|
+
var __metadata$h = (undefined && undefined.__metadata) || function (k, v) {
|
|
6045
6052
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6046
6053
|
return Reflect.metadata(k, v);
|
|
6047
6054
|
};
|
|
@@ -6097,7 +6104,7 @@ const NylasEventDescription = class {
|
|
|
6097
6104
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6098
6105
|
}
|
|
6099
6106
|
render() {
|
|
6100
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6107
|
+
return (index$1.h(index$1.Host, { key: '6a7fc19449be05b4b6207692d5ceec94347f913e' }, index$1.h("div", { key: '8e0d79a310e1cccf1d9b7772703714907b01688f', class: "nylas-event-description", part: "nedesc" }, index$1.h("label", { key: 'aac3fa43d77623ce9f51cd4aa81075c779a9da3e', htmlFor: "description" }, "Event description", index$1.h("span", { key: 'a62743418230bdc20188052795c6ecb9e7ad2903', class: "label-icon" }, index$1.h("tooltip-component", { key: '7842c029c8f46d97f65cd321668cc6c7243b9787' }, index$1.h("info-icon", { key: 'df7e6389587e8a76f9dcb8b57c7373f747569a0b', slot: "tooltip-icon" }), index$1.h("span", { key: 'a8c37a68325c6d674c2f8ee6bdb8999d5f5d4b04', slot: "tooltip-content" }, "The event description appears in the Scheduler Editor\u2019s manager view.")))), index$1.h("textarea", { key: '92938097ecfa8812dea7f663f9f93439398e856f', id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: e => this.handleChange(e) }))));
|
|
6101
6108
|
}
|
|
6102
6109
|
static get formAssociated() { return true; }
|
|
6103
6110
|
get host() { return index$1.getElement(this); }
|
|
@@ -6106,23 +6113,23 @@ const NylasEventDescription = class {
|
|
|
6106
6113
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6107
6114
|
}; }
|
|
6108
6115
|
};
|
|
6109
|
-
__decorate$
|
|
6116
|
+
__decorate$h([
|
|
6110
6117
|
registerComponent.RegisterComponent({
|
|
6111
6118
|
name: 'nylas-event-description',
|
|
6112
6119
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6113
6120
|
eventToProps: {},
|
|
6114
6121
|
fireRegisterEvent: true,
|
|
6115
6122
|
}),
|
|
6116
|
-
__metadata$
|
|
6117
|
-
__metadata$
|
|
6118
|
-
__metadata$
|
|
6123
|
+
__metadata$h("design:type", Function),
|
|
6124
|
+
__metadata$h("design:paramtypes", []),
|
|
6125
|
+
__metadata$h("design:returntype", void 0)
|
|
6119
6126
|
], NylasEventDescription.prototype, "render", null);
|
|
6120
6127
|
NylasEventDescription.style = NylasEventDescriptionStyle0;
|
|
6121
6128
|
|
|
6122
6129
|
const nylasEventDurationCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:48px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:200px}.nylas-event-duration__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-event-duration__wrapper select-dropdown{width:100%}}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}";
|
|
6123
6130
|
const NylasEventDurationStyle0 = nylasEventDurationCss;
|
|
6124
6131
|
|
|
6125
|
-
var __decorate$
|
|
6132
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6126
6133
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6127
6134
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6128
6135
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6132,7 +6139,7 @@ var __decorate$e = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6132
6139
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6133
6140
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6134
6141
|
};
|
|
6135
|
-
var __metadata$
|
|
6142
|
+
var __metadata$g = (undefined && undefined.__metadata) || function (k, v) {
|
|
6136
6143
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6137
6144
|
return Reflect.metadata(k, v);
|
|
6138
6145
|
};
|
|
@@ -6245,7 +6252,7 @@ const NylasEventDuration = class {
|
|
|
6245
6252
|
{ value: 1, label: 'minute' },
|
|
6246
6253
|
{ value: 60, label: 'hour' },
|
|
6247
6254
|
];
|
|
6248
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6255
|
+
return (index$1.h(index$1.Host, { key: 'e63530398b7b2231436947da8c9e63c3c7bd696a' }, index$1.h("div", { key: '9ccca25a4322edaedafa53a2bd8ae2baf48b4f1e', class: "nylas-event-duration", part: "ned" }, index$1.h("label", { key: 'cd5562d2516c1f37eeb0b3e074493c671628ef4b', htmlFor: "duration" }, "Event duration", index$1.h("span", { key: 'ef36340fb220f380a9913ad5025e6600ce6e8f17', class: "required" }, "*")), index$1.h("div", { key: 'eddeda40d89ac770f20226605f3fedce00afe060', class: "nylas-event-duration__wrapper" }, index$1.h("input-dropdown", { key: 'b087fff0f15cfcaf5c89c0566941aa45c8e89d54', 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) }), this.durationIncrement && (index$1.h("select-dropdown", { 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), withSearch: false }))))));
|
|
6249
6256
|
}
|
|
6250
6257
|
static get formAssociated() { return true; }
|
|
6251
6258
|
get host() { return index$1.getElement(this); }
|
|
@@ -6255,23 +6262,23 @@ const NylasEventDuration = class {
|
|
|
6255
6262
|
"durationMinutes": ["durationMinutesChangedHandler"]
|
|
6256
6263
|
}; }
|
|
6257
6264
|
};
|
|
6258
|
-
__decorate$
|
|
6265
|
+
__decorate$g([
|
|
6259
6266
|
registerComponent.RegisterComponent({
|
|
6260
6267
|
name: 'nylas-event-duration',
|
|
6261
6268
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6262
6269
|
eventToProps: {},
|
|
6263
6270
|
fireRegisterEvent: true,
|
|
6264
6271
|
}),
|
|
6265
|
-
__metadata$
|
|
6266
|
-
__metadata$
|
|
6267
|
-
__metadata$
|
|
6272
|
+
__metadata$g("design:type", Function),
|
|
6273
|
+
__metadata$g("design:paramtypes", []),
|
|
6274
|
+
__metadata$g("design:returntype", void 0)
|
|
6268
6275
|
], NylasEventDuration.prototype, "render", null);
|
|
6269
6276
|
NylasEventDuration.style = NylasEventDurationStyle0;
|
|
6270
6277
|
|
|
6271
6278
|
const nylasEventInfoCss = ":host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-info__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-info__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-info__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-info__block{display:flex;justify-content:space-between;gap:0.5rem}";
|
|
6272
6279
|
const NylasEventInfoStyle0 = nylasEventInfoCss;
|
|
6273
6280
|
|
|
6274
|
-
var __decorate$
|
|
6281
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6275
6282
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6276
6283
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6277
6284
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6281,7 +6288,7 @@ var __decorate$d = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6281
6288
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6282
6289
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6283
6290
|
};
|
|
6284
|
-
var __metadata$
|
|
6291
|
+
var __metadata$f = (undefined && undefined.__metadata) || function (k, v) {
|
|
6285
6292
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6286
6293
|
return Reflect.metadata(k, v);
|
|
6287
6294
|
};
|
|
@@ -6310,27 +6317,27 @@ const NylasEventInfo = class {
|
|
|
6310
6317
|
utils.debug('nylas-event-info', 'disconnectedCallback');
|
|
6311
6318
|
}
|
|
6312
6319
|
render() {
|
|
6313
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6320
|
+
return (index$1.h(index$1.Host, { key: 'fb4a8dd875696bc6a4e951f2649a2ab650558489' }, index$1.h("nylas-form-card", { key: '193b25acb1374842946ff938755fe8fed7a6d4b9', exportparts: "nfc__header: nei__header" }, index$1.h("h1", { key: 'c405c5de0b2eafa15136d10f10de13a158595298', slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), index$1.h("div", { key: 'a49993db49876dfdebd6dbe412d759ce1d38028e', slot: "content", class: "nylas-event-info__content" }, index$1.h("slot", { key: 'dc4595988a0b6824f328896c1ea507b96e61e4a8', name: "inputs" })))));
|
|
6314
6321
|
}
|
|
6315
6322
|
static get formAssociated() { return true; }
|
|
6316
6323
|
get el() { return index$1.getElement(this); }
|
|
6317
6324
|
};
|
|
6318
|
-
__decorate$
|
|
6325
|
+
__decorate$f([
|
|
6319
6326
|
registerComponent.RegisterComponent({
|
|
6320
6327
|
name: 'nylas-event-info',
|
|
6321
6328
|
eventToProps: {},
|
|
6322
6329
|
fireRegisterEvent: true,
|
|
6323
6330
|
}),
|
|
6324
|
-
__metadata$
|
|
6325
|
-
__metadata$
|
|
6326
|
-
__metadata$
|
|
6331
|
+
__metadata$f("design:type", Function),
|
|
6332
|
+
__metadata$f("design:paramtypes", []),
|
|
6333
|
+
__metadata$f("design:returntype", void 0)
|
|
6327
6334
|
], NylasEventInfo.prototype, "render", null);
|
|
6328
6335
|
NylasEventInfo.style = NylasEventInfoStyle0;
|
|
6329
6336
|
|
|
6330
6337
|
const nylasEventLimitsCss = ":host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-limits__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-limits__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-limits__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-limits__block{display:flex;justify-content:space-between;gap:0.5rem}";
|
|
6331
6338
|
const NylasEventLimitsStyle0 = nylasEventLimitsCss;
|
|
6332
6339
|
|
|
6333
|
-
var __decorate$
|
|
6340
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6334
6341
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6335
6342
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6336
6343
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6340,7 +6347,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6340
6347
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6341
6348
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6342
6349
|
};
|
|
6343
|
-
var __metadata$
|
|
6350
|
+
var __metadata$e = (undefined && undefined.__metadata) || function (k, v) {
|
|
6344
6351
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6345
6352
|
return Reflect.metadata(k, v);
|
|
6346
6353
|
};
|
|
@@ -6369,27 +6376,27 @@ const NylasEventLimits = class {
|
|
|
6369
6376
|
utils.debug('nylas-event-limits', 'disconnectedCallback');
|
|
6370
6377
|
}
|
|
6371
6378
|
render() {
|
|
6372
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6379
|
+
return (index$1.h(index$1.Host, { key: '8715c9aeba26e6f4c151b0ab58333cc13d3500d3' }, index$1.h("nylas-form-card", { key: '2e2bf90762d35ac9fc4a995808b9aa3e4481d6c0', exportparts: "nfc__header: nel__header" }, index$1.h("h1", { key: 'b3689912282e3215d862ca06c75fae95b67e501f', slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), index$1.h("div", { key: 'bd5513f8c0cc573f14afeadfafe591b64b904920', slot: "content", class: "nylas-event-limits__content" }, index$1.h("slot", { key: '86ebfd856f0c93d3ad98d800d4ce9e1a8daf2516', name: "inputs" })))));
|
|
6373
6380
|
}
|
|
6374
6381
|
static get formAssociated() { return true; }
|
|
6375
6382
|
get el() { return index$1.getElement(this); }
|
|
6376
6383
|
};
|
|
6377
|
-
__decorate$
|
|
6384
|
+
__decorate$e([
|
|
6378
6385
|
registerComponent.RegisterComponent({
|
|
6379
6386
|
name: 'nylas-event-limits',
|
|
6380
6387
|
eventToProps: {},
|
|
6381
6388
|
fireRegisterEvent: true,
|
|
6382
6389
|
}),
|
|
6383
|
-
__metadata$
|
|
6384
|
-
__metadata$
|
|
6385
|
-
__metadata$
|
|
6390
|
+
__metadata$e("design:type", Function),
|
|
6391
|
+
__metadata$e("design:paramtypes", []),
|
|
6392
|
+
__metadata$e("design:returntype", void 0)
|
|
6386
6393
|
], NylasEventLimits.prototype, "render", null);
|
|
6387
6394
|
NylasEventLimits.style = NylasEventLimitsStyle0;
|
|
6388
6395
|
|
|
6389
6396
|
const nylasEventLocationCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-location{display:flex;flex-direction:column;gap:4px;font-family:var(--nylas-font-family)}.nylas-event-location label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-location label span.label-icon{margin-left:4px}.nylas-event-location label span.label-icon tooltip-component{display:flex}.nylas-event-location span[slot=select-icon]{border-right:1px solid var(--nylas-base-200);padding:16px 0.75rem 16px 0.5rem;border-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:0;border-top-right-radius:0;height:20px}.nylas-event-location div.location-input{display:grid;grid-template-columns:auto 1fr;width:100%;gap:0.5rem}@media screen and (max-width: 768px){.nylas-event-location div.location-input{grid-template-columns:1fr}}.nylas-event-location div.location-input input{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-event-location select-dropdown{width:208px}@media screen and (max-width: 768px){.nylas-event-location select-dropdown{width:100%}}.nylas-event-location select-dropdown::part(sd_dropdown){width:100%}.nylas-event-location select-dropdown::part(sd_dropdown-content){left:calc(35px + 0.5rem)}.nylas-event-location select-dropdown::part(sd_dropdown-button){display:flex;justify-content:space-between;width:100%;border:1px solid var(--nylas-base-200);padding:0 0.5rem}.nylas-event-location select-dropdown::part(sd_dropdown-button-selected-label){display:inline-flex;align-self:center;padding:14px 0;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}";
|
|
6390
6397
|
const NylasEventLocationStyle0 = nylasEventLocationCss;
|
|
6391
6398
|
|
|
6392
|
-
var __decorate$
|
|
6399
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6393
6400
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6394
6401
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6395
6402
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6399,10 +6406,17 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6399
6406
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6400
6407
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6401
6408
|
};
|
|
6402
|
-
var __metadata$
|
|
6409
|
+
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
|
6403
6410
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6404
6411
|
return Reflect.metadata(k, v);
|
|
6405
6412
|
};
|
|
6413
|
+
const labels = {
|
|
6414
|
+
none: 'None',
|
|
6415
|
+
custom: 'Custom location',
|
|
6416
|
+
google: 'Google Meet',
|
|
6417
|
+
microsoft: 'Microsoft Teams',
|
|
6418
|
+
zoom: 'Zoom Meeting',
|
|
6419
|
+
};
|
|
6406
6420
|
const NylasEventLocation = class {
|
|
6407
6421
|
constructor(hostRef) {
|
|
6408
6422
|
index$1.registerInstance(this, hostRef);
|
|
@@ -6423,7 +6437,7 @@ const NylasEventLocation = class {
|
|
|
6423
6437
|
this.eventLocation = undefined;
|
|
6424
6438
|
this.location = this.eventLocation ?? '';
|
|
6425
6439
|
this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : '';
|
|
6426
|
-
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : '';
|
|
6440
|
+
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : 'none';
|
|
6427
6441
|
this.userProviderState = this.userProvider ?? '';
|
|
6428
6442
|
}
|
|
6429
6443
|
elementNameChangedHandler(newValue) {
|
|
@@ -6550,33 +6564,50 @@ const NylasEventLocation = class {
|
|
|
6550
6564
|
this.setFormValue(value, this.name);
|
|
6551
6565
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6552
6566
|
}
|
|
6567
|
+
getIcon(location) {
|
|
6568
|
+
switch (location) {
|
|
6569
|
+
case 'none':
|
|
6570
|
+
return index$1.h("location-off-icon", null);
|
|
6571
|
+
case 'custom':
|
|
6572
|
+
return index$1.h("location-icon", null);
|
|
6573
|
+
case 'google':
|
|
6574
|
+
return index$1.h("google-meet-icon", null);
|
|
6575
|
+
case 'microsoft':
|
|
6576
|
+
return index$1.h("microsoft-teams-icon", null);
|
|
6577
|
+
case 'zoom':
|
|
6578
|
+
return index$1.h("zoom-icon", null);
|
|
6579
|
+
}
|
|
6580
|
+
}
|
|
6581
|
+
getLabelHTML(location) {
|
|
6582
|
+
return (index$1.h("span", { class: "location-label", style: {
|
|
6583
|
+
display: 'flex',
|
|
6584
|
+
alignItems: 'center',
|
|
6585
|
+
gap: '16px',
|
|
6586
|
+
width: '-webkit-fill-available',
|
|
6587
|
+
} }, this.getIcon(location), index$1.h("span", { class: "location-text", style: {
|
|
6588
|
+
fontSize: '14px',
|
|
6589
|
+
fontWeight: '400',
|
|
6590
|
+
} }, labels[location])));
|
|
6591
|
+
}
|
|
6553
6592
|
render() {
|
|
6554
6593
|
const locationOptions = [
|
|
6555
|
-
{ value: 'none', label: '
|
|
6556
|
-
{ value: 'custom', label: '
|
|
6594
|
+
{ value: 'none', label: labels['none'], labelHTML: this.getLabelHTML('none') },
|
|
6595
|
+
{ value: 'custom', label: labels['custom'], labelHTML: this.getLabelHTML('custom') },
|
|
6557
6596
|
];
|
|
6558
6597
|
switch (this.userProviderState) {
|
|
6559
6598
|
case 'google':
|
|
6560
|
-
locationOptions.push({ value: 'google', label: '
|
|
6599
|
+
locationOptions.push({ value: 'google', label: labels['google'], labelHTML: this.getLabelHTML('google') });
|
|
6561
6600
|
break;
|
|
6562
6601
|
case 'microsoft':
|
|
6563
|
-
locationOptions.push({ value: 'microsoft', label: '
|
|
6602
|
+
locationOptions.push({ value: 'microsoft', label: labels['microsoft'], labelHTML: this.getLabelHTML('microsoft') });
|
|
6564
6603
|
break;
|
|
6565
6604
|
}
|
|
6566
6605
|
if (this.conferenceProviders?.['zoom']) {
|
|
6567
|
-
locationOptions.push({ value: 'zoom', label: '
|
|
6606
|
+
locationOptions.push({ value: 'zoom', label: labels['zoom'], labelHTML: this.getLabelHTML('zoom') });
|
|
6568
6607
|
}
|
|
6569
6608
|
const newLocationOptions = [...locationOptions];
|
|
6570
6609
|
const defaultOption = locationOptions.find(i => i.value == this.selectedLocationOption);
|
|
6571
|
-
|
|
6572
|
-
none: index$1.h("location-off-icon", { key: '2482c1d7540ae00fddbff24ddf0b4189685e3db4' }),
|
|
6573
|
-
custom: index$1.h("location-icon", { key: 'aeb4445371396bad7b3062e0a0ce62f4227f97c4' }),
|
|
6574
|
-
google: index$1.h("google-meet-icon", { key: '6e790972192ecca0900dea5904d3f318d19341cc' }),
|
|
6575
|
-
microsoft: index$1.h("microsoft-teams-icon", { key: '1b372c0129879cf9c16b015ba4fdb6d1cee40597' }),
|
|
6576
|
-
zoom: index$1.h("zoom-icon", { key: '1b46c44aa6db92e2e136bbab6fa98f17376da160' }),
|
|
6577
|
-
};
|
|
6578
|
-
const locationIcon = icons[this.selectedLocationOption];
|
|
6579
|
-
return (index$1.h(index$1.Host, { key: 'f2870194d69bf49afadd49f87c42fb085f60b085' }, index$1.h("div", { key: '247dd130e13d9e8287da1f5d83656f40a2ad313d', class: "nylas-event-location", part: "nel" }, index$1.h("label", { key: 'b7d548b8522830155db8fd2fc7eca8793e8bb8e1', htmlFor: "location" }, "Event meeting or location", index$1.h("span", { key: '587c6c27f6f89ed5a263372123bd509b5984025f', class: "label-icon" }, index$1.h("tooltip-component", { key: '0dad9cbc3627fe4c549fbdba418119b205b1e812' }, index$1.h("info-icon", { key: '6a3938dc0cee21a1c8379b33720ada33c96edacd', slot: "tooltip-icon" }), index$1.h("span", { key: 'dbff5af98e90895815712d4e55bf57c3fdd2f5c4', slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), index$1.h("div", { key: '0fe09f3fc8c30a8203a1207357f8e20a81a4bf28', class: "location-input" }, defaultOption?.label && (index$1.h("select-dropdown", { withSearch: false, name: "location", options: newLocationOptions, defaultSelectedOption: defaultOption, exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, index$1.h("span", { slot: "select-icon" }, locationIcon))), this.selectedLocationOption === 'custom' && (index$1.h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
6610
|
+
return (index$1.h(index$1.Host, { key: '9ace3d0c618879dede4f6ea52aed41a0e193352f' }, index$1.h("div", { key: '06f62cedba0696aabc59058f9d1cce12819f350b', class: "nylas-event-location", part: "nel" }, index$1.h("label", { key: '584acc644bdeddcb319395b531a7dad90a165452', htmlFor: "location" }, "Event meeting or location", index$1.h("span", { key: 'a4e2414ab1cf5c83c5f487a21d22d5c66f5b945d', class: "label-icon" }, index$1.h("tooltip-component", { key: '41a0429b5987bd6359c2fd42e8ab4abf67a3f83e' }, index$1.h("info-icon", { key: '8723ecf7cd91edee84b3ca28ffba0c4b3d3967f0', slot: "tooltip-icon" }), index$1.h("span", { key: 'e0201540705e2aa0a94357fd2dd1af95887abe71', slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), index$1.h("div", { key: 'e983eb85462b31b665edad087c4aea7259c85407', class: "location-input" }, defaultOption?.label && (index$1.h("select-dropdown", { withSearch: false, name: "location", options: newLocationOptions, defaultSelectedOption: defaultOption, exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, index$1.h("span", { slot: "select-icon" }, this.getIcon(this.selectedLocationOption)))), this.selectedLocationOption === 'custom' && (index$1.h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
6580
6611
|
}
|
|
6581
6612
|
static get formAssociated() { return true; }
|
|
6582
6613
|
get host() { return index$1.getElement(this); }
|
|
@@ -6585,7 +6616,7 @@ const NylasEventLocation = class {
|
|
|
6585
6616
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6586
6617
|
}; }
|
|
6587
6618
|
};
|
|
6588
|
-
__decorate$
|
|
6619
|
+
__decorate$d([
|
|
6589
6620
|
registerComponent.RegisterComponent({
|
|
6590
6621
|
name: 'nylas-event-location',
|
|
6591
6622
|
stateToProps: new Map([
|
|
@@ -6596,16 +6627,16 @@ __decorate$b([
|
|
|
6596
6627
|
eventToProps: {},
|
|
6597
6628
|
fireRegisterEvent: true,
|
|
6598
6629
|
}),
|
|
6599
|
-
__metadata$
|
|
6600
|
-
__metadata$
|
|
6601
|
-
__metadata$
|
|
6630
|
+
__metadata$d("design:type", Function),
|
|
6631
|
+
__metadata$d("design:paramtypes", []),
|
|
6632
|
+
__metadata$d("design:returntype", void 0)
|
|
6602
6633
|
], NylasEventLocation.prototype, "render", null);
|
|
6603
6634
|
NylasEventLocation.style = NylasEventLocationStyle0;
|
|
6604
6635
|
|
|
6605
6636
|
const nylasEventTitleCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-event-title{display:flex;flex-direction:column;gap:4px;position:relative;text-align:left}.nylas-event-title div.title{padding:12px 16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);overflow:scroll;white-space:nowrap;scrollbar-width:thin}.nylas-event-title div.title::-webkit-scrollbar{width:6px;height:6px}.nylas-event-title div.title.error{border-color:var(--nylas-error);border-width:2px;outline:none}.nylas-event-title input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200)}.nylas-event-title span.help-text{display:flex;gap:4px;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:21px}.nylas-event-title span.error-message{color:var(--nylas-error)}.nylas-event-title label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-title label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-title label span.label-icon{margin-left:4px}.nylas-event-title label span.label-icon tooltip-component{display:flex}.highlighted-tag{background-color:var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:5px;margin-left:4px}.token-options{display:block;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;top:80px;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}@media screen and (max-width: 768px){.token-options{right:0;width:325px;max-width:unset}}.token-options ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px;margin:0}.token-options ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.token-options ul li .token-label{display:flex;flex-direction:column;font-weight:400}.token-options ul li .token-label .token{color:var(--nylas-abse-900);font-size:16px;line-height:24px}.token-options ul li .token-label .description{color:var(--nylas-base-600);font-size:14px;line-height:21px}.token-options ul li:hover,.token-options ul li:focus,.token-options ul li:active,.token-options ul li.active{background-color:var(--nylas-base-100)}.token-options ul li:hover .token-label .token,.token-options ul li:focus .token-label .token,.token-options ul li:active .token-label .token,.token-options ul li.active .token-label .token{color:var(--nylas-primary)}.token-options .selected{background-color:var(--nylas-base-100)}";
|
|
6606
6637
|
const NylasEventTitleStyle0 = nylasEventTitleCss;
|
|
6607
6638
|
|
|
6608
|
-
var __decorate$
|
|
6639
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6609
6640
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6610
6641
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6611
6642
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6615,7 +6646,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6615
6646
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6616
6647
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6617
6648
|
};
|
|
6618
|
-
var __metadata$
|
|
6649
|
+
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
|
6619
6650
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6620
6651
|
return Reflect.metadata(k, v);
|
|
6621
6652
|
};
|
|
@@ -6837,11 +6868,16 @@ const NylasEventTitle = class {
|
|
|
6837
6868
|
this.resetDropdown();
|
|
6838
6869
|
}
|
|
6839
6870
|
else if (event.key === 'Backspace' || event.key === 'Delete') {
|
|
6840
|
-
|
|
6841
|
-
|
|
6871
|
+
const parentNode = selection?.node?.parentNode;
|
|
6872
|
+
if (selection?.currentText.startsWith('${') && parentNode) {
|
|
6873
|
+
event.preventDefault();
|
|
6874
|
+
parentNode.removeChild(selection.node);
|
|
6875
|
+
parentNode.remove();
|
|
6876
|
+
this.resetDropdown();
|
|
6842
6877
|
}
|
|
6843
|
-
if (this.titleRef.textContent === '' || selection?.
|
|
6878
|
+
if (this.titleRef.textContent === '' || selection?.allSelected) {
|
|
6844
6879
|
this.titleRef.innerHTML = '';
|
|
6880
|
+
this.updateEventTitle('');
|
|
6845
6881
|
}
|
|
6846
6882
|
}
|
|
6847
6883
|
}
|
|
@@ -6921,10 +6957,10 @@ const NylasEventTitle = class {
|
|
|
6921
6957
|
return (index$1.h("div", { class: "token-label" }, index$1.h("span", { class: "token" }, token.token), index$1.h("span", { class: "description" }, token.description)));
|
|
6922
6958
|
}
|
|
6923
6959
|
render() {
|
|
6924
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6960
|
+
return (index$1.h(index$1.Host, { key: '3a6858cea6ad427bb8f7046e4d409c44d9d57467' }, index$1.h("div", { key: '26574b9f7c76628771e584d1c3943b2ce9b77ce0', class: "nylas-event-title", part: "net" }, index$1.h("label", { key: 'b6bab982d9b8a091ee1c9a66b5d24b3050e08817', htmlFor: "title" }, "Event title", index$1.h("span", { key: '34b1ba7719d37f6af0d3c84e3fe1c251625848b1', class: "required" }, "*")), index$1.h("div", { key: '0fcbdee8625b13720b31df47ddb76bdba6f384c6', class: {
|
|
6925
6961
|
title: true,
|
|
6926
6962
|
error: this.validationError !== '',
|
|
6927
|
-
}, 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 && (index$1.h("div", { class: "token-options", part: "net__dropdown-content" }, index$1.h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (index$1.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))))))), index$1.h("span", { key: '
|
|
6963
|
+
}, 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 && (index$1.h("div", { class: "token-options", part: "net__dropdown-content" }, index$1.h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (index$1.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))))))), index$1.h("span", { key: '8c267fb019bc2f4a7ec9bd771c7ebdbd4e36860e', class: "help-text" }, "Create a dynamic templated event title by typing ", index$1.h("code", { key: '73fff78bf0ef47b1a4880b88630285c5565348e7' }, "$"), " and selecting a template item.", index$1.h("span", { key: '64c431fb78eef320cdca1e426e4290f1663fe756', class: "label-icon" }, index$1.h("tooltip-component", { key: 'b8f4ce46c4f53f66d50b6121dbc76360972638f9' }, index$1.h("info-icon", { key: '038824ecf2006ce2851de30c1538c30d96707ca9', slot: "tooltip-icon" }), index$1.h("span", { key: '0fefb16b80e9c43a7f46e1d5f72d12ca39cdc348', slot: "tooltip-content" }, "For example, Interview with ", index$1.h("code", { key: 'df208a8bb8907416908a6cdbc0edba219e924513' }, '${invitee}'))))), this.validationError != '' && index$1.h("span", { class: "error-message" }, this.validationError))));
|
|
6928
6964
|
}
|
|
6929
6965
|
static get formAssociated() { return true; }
|
|
6930
6966
|
get host() { return index$1.getElement(this); }
|
|
@@ -6934,23 +6970,23 @@ const NylasEventTitle = class {
|
|
|
6934
6970
|
"selectedConfiguration": ["configChangedHandler"]
|
|
6935
6971
|
}; }
|
|
6936
6972
|
};
|
|
6937
|
-
__decorate$
|
|
6973
|
+
__decorate$c([
|
|
6938
6974
|
registerComponent.RegisterComponent({
|
|
6939
6975
|
name: 'nylas-event-title',
|
|
6940
6976
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6941
6977
|
eventToProps: {},
|
|
6942
6978
|
fireRegisterEvent: true,
|
|
6943
6979
|
}),
|
|
6944
|
-
__metadata$
|
|
6945
|
-
__metadata$
|
|
6946
|
-
__metadata$
|
|
6980
|
+
__metadata$c("design:type", Function),
|
|
6981
|
+
__metadata$c("design:paramtypes", []),
|
|
6982
|
+
__metadata$c("design:returntype", void 0)
|
|
6947
6983
|
], NylasEventTitle.prototype, "render", null);
|
|
6948
6984
|
NylasEventTitle.style = NylasEventTitleStyle0;
|
|
6949
6985
|
|
|
6950
6986
|
const nylasFeedbackFormCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.card-wrapper{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);position:relative;padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-wrapper{width:100%;border-radius:0px}}.header{overflow-wrap:anywhere;display:flex;flex-direction:column;font-size:1rem;font-weight:400}.header h2{color:var(--nylas-base-900);font-size:24px;font-weight:600;text-align:left;margin:0}.description.title-desc{margin-bottom:2rem}.description.footer-desc{margin-top:2rem}.description.footer-desc a{color:var(--nylas-primary);text-decoration:none}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}";
|
|
6951
6987
|
const NylasFeedbackFormStyle0 = nylasFeedbackFormCss;
|
|
6952
6988
|
|
|
6953
|
-
var __decorate$
|
|
6989
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6954
6990
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6955
6991
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6956
6992
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6960,7 +6996,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6960
6996
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6961
6997
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6962
6998
|
};
|
|
6963
|
-
var __metadata$
|
|
6999
|
+
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
|
6964
7000
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6965
7001
|
return Reflect.metadata(k, v);
|
|
6966
7002
|
};
|
|
@@ -7003,13 +7039,13 @@ const NylasFeedbackForm = class {
|
|
|
7003
7039
|
this.feedbackModalClosed.emit();
|
|
7004
7040
|
}
|
|
7005
7041
|
render() {
|
|
7006
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7042
|
+
return (index$1.h(index$1.Host, { key: '00514f43a6b2052ce2a4144917ccc5adc965a94a', part: "nfbf" }, index$1.h("div", { key: '4271697a749f74d3d62f611df6841dc4d7e4ef4d', class: "card-wrapper", part: "nfbfc__card" }, index$1.h("div", { key: '59271c12c04a4f78fac68534ec66b24ac9803784', class: "close-button" }, index$1.h("button-component", { key: 'de7ced90803da24ff46d2dc30f7e925b6fb760a8', tooltip: "Close", id: "close", variant: 'invisible', onClick: e => this.closeModal(e), part: "nfbf__close-button" }, index$1.h("close-icon", { key: '3f64b2db3958bf082829310126566ef58ae54f46' }))), index$1.h("div", { key: '526d959d10a00d49d66d66fe3a56bce3a03893f4', class: "header" }, index$1.h("h2", { key: '699f00cca09366e19081e0972a76a2f67d471ecc', slot: "card-title", part: "nfbf__title" }, utils.instance.t('feedbackFormTitle'))), index$1.h("div", { key: '95062b4d3557eef49fac7246526f0d413acdd7ff', class: "description title-desc" }, index$1.h("p", { key: '6806a1ae323b2f67c5fcacbb0238df86a4f32bce' }, utils.instance.t('feedbackFormDescription'))), index$1.h("textarea-component", { key: '1135f11f19f5cca1f814812c606b39c3a828bf9b', label: utils.instance.t('feedbackMessageLabel'), required: true, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: utils.instance.t('feedbackMessagePlaceholder') }), index$1.h("div", { key: '388f7897c0eb2a9d87d25b98b49d3f60363e0108', class: 'description footer-desc' }, index$1.h("p", { key: 'ab9ba37f8e5533b8480c223ad668ffb91b95ab7e' }, "By sending this report, you agree to Nylas\u2019 access to the data necessary to respond to this issue, subject to Nylas\u2019", ' ', index$1.h("a", { key: 'c1a380ed74cb1c6081ca7c557e761eab7ae5ab9d', href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), index$1.h("div", { key: 'd8da33e015c718e6c8cf59b407eb7df7efaa26f9', class: {
|
|
7007
7043
|
footer: true,
|
|
7008
|
-
} }, index$1.h("button-component", { key: '
|
|
7044
|
+
} }, index$1.h("button-component", { key: '52f9c1a0a54907f9b83167387247fc3c979ad498', variant: 'invisible', onClick: e => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${utils.instance.t('feedbackModalCloseButton')}`), index$1.h("button-component", { key: '819fc5952960c841c3a6b46af127699cd5f69c88', variant: 'primary', onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${utils.instance.t('feedbackModalSubmitButton')}`)))));
|
|
7009
7045
|
}
|
|
7010
7046
|
get host() { return index$1.getElement(this); }
|
|
7011
7047
|
};
|
|
7012
|
-
__decorate$
|
|
7048
|
+
__decorate$b([
|
|
7013
7049
|
registerComponent.RegisterComponent({
|
|
7014
7050
|
name: 'nylas-feedback-form',
|
|
7015
7051
|
stateToProps: new Map([]),
|
|
@@ -7019,16 +7055,16 @@ __decorate$9([
|
|
|
7019
7055
|
},
|
|
7020
7056
|
fireRegisterEvent: true,
|
|
7021
7057
|
}),
|
|
7022
|
-
__metadata$
|
|
7023
|
-
__metadata$
|
|
7024
|
-
__metadata$
|
|
7058
|
+
__metadata$b("design:type", Function),
|
|
7059
|
+
__metadata$b("design:paramtypes", []),
|
|
7060
|
+
__metadata$b("design:returntype", void 0)
|
|
7025
7061
|
], NylasFeedbackForm.prototype, "render", null);
|
|
7026
7062
|
NylasFeedbackForm.style = NylasFeedbackFormStyle0;
|
|
7027
7063
|
|
|
7028
7064
|
const nylasLimitFutureBookingsCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-limit-future-bookings{display:flex;justify-content:space-between;font-family:var(--nylas-font-family)}@media screen and (max-width: 768px){.nylas-limit-future-bookings{flex-direction:column;gap:0.5rem}}.nylas-limit-future-bookings label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-limit-future-bookings label span.label-icon{margin-left:4px}.nylas-limit-future-bookings label span.label-icon tooltip-component{display:flex}select-dropdown::part(sd_dropdown-button){border:none}";
|
|
7029
7065
|
const NylasLimitFutureBookingsStyle0 = nylasLimitFutureBookingsCss;
|
|
7030
7066
|
|
|
7031
|
-
var __decorate$
|
|
7067
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7032
7068
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7033
7069
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7034
7070
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7038,7 +7074,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7038
7074
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7039
7075
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7040
7076
|
};
|
|
7041
|
-
var __metadata$
|
|
7077
|
+
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
|
7042
7078
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7043
7079
|
return Reflect.metadata(k, v);
|
|
7044
7080
|
};
|
|
@@ -7129,7 +7165,7 @@ const NylasLimitFutureBookings = class {
|
|
|
7129
7165
|
}
|
|
7130
7166
|
render() {
|
|
7131
7167
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7132
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7168
|
+
return (index$1.h(index$1.Host, { key: '215b20a927344e8b41d6c1b2b01764551729e485' }, index$1.h("div", { key: 'ca577da089b5d396662cb421c6b136441cdada76', class: "nylas-limit-future-bookings", part: "nlfb" }, index$1.h("label", { key: '395b402858fb09c0fa8eb9821007878bffb991b6' }, "Limit future bookings", index$1.h("span", { key: '2b70f7c6df5e291cabb0578e490911c001d617c8', class: "label-icon" }, index$1.h("tooltip-component", { key: 'c8f9f7ca001ffc53f4302776f98787f8ff83c743' }, index$1.h("info-icon", { key: 'ab50f1feb38dcf026a1e2d56db99106dfad1f665', slot: "tooltip-icon" }), index$1.h("span", { key: '2196f08c84f1da46a5832e4f7a7fea0de46c37d3', slot: "tooltip-content" }, "The limit on how far in the future bookings can be made.")))), showTImePeriodSelector && (index$1.h("time-period-selector", { 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 })))));
|
|
7133
7169
|
}
|
|
7134
7170
|
static get formAssociated() { return true; }
|
|
7135
7171
|
get host() { return index$1.getElement(this); }
|
|
@@ -7138,23 +7174,23 @@ const NylasLimitFutureBookings = class {
|
|
|
7138
7174
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7139
7175
|
}; }
|
|
7140
7176
|
};
|
|
7141
|
-
__decorate$
|
|
7177
|
+
__decorate$a([
|
|
7142
7178
|
registerComponent.RegisterComponent({
|
|
7143
7179
|
name: 'nylas-limit-future-bookings',
|
|
7144
7180
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7145
7181
|
eventToProps: {},
|
|
7146
7182
|
fireRegisterEvent: true,
|
|
7147
7183
|
}),
|
|
7148
|
-
__metadata$
|
|
7149
|
-
__metadata$
|
|
7150
|
-
__metadata$
|
|
7184
|
+
__metadata$a("design:type", Function),
|
|
7185
|
+
__metadata$a("design:paramtypes", []),
|
|
7186
|
+
__metadata$a("design:returntype", void 0)
|
|
7151
7187
|
], NylasLimitFutureBookings.prototype, "render", null);
|
|
7152
7188
|
NylasLimitFutureBookings.style = NylasLimitFutureBookingsStyle0;
|
|
7153
7189
|
|
|
7154
7190
|
const nylasMinBookingNoticeCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-min-booking-notice{display:flex;justify-content:space-between;font-family:var(--nylas-font-family)}@media screen and (max-width: 768px){.nylas-min-booking-notice{flex-direction:column;gap:0.5rem}}.nylas-min-booking-notice label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-min-booking-notice label span.label-icon{margin-left:4px}.nylas-min-booking-notice label span.label-icon tooltip-component{display:flex}select-dropdown::part(sd_dropdown-button){border:none}";
|
|
7155
7191
|
const NylasMinBookingNoticeStyle0 = nylasMinBookingNoticeCss;
|
|
7156
7192
|
|
|
7157
|
-
var __decorate$
|
|
7193
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7158
7194
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7159
7195
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7160
7196
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7164,7 +7200,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7164
7200
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7165
7201
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7166
7202
|
};
|
|
7167
|
-
var __metadata$
|
|
7203
|
+
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7168
7204
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7169
7205
|
return Reflect.metadata(k, v);
|
|
7170
7206
|
};
|
|
@@ -7180,8 +7216,8 @@ const NylasMinBookingNotice = class {
|
|
|
7180
7216
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7181
7217
|
}
|
|
7182
7218
|
this.selectedConfiguration = undefined;
|
|
7183
|
-
this.minBookingNotice = undefined;
|
|
7184
7219
|
this.name = 'min-booking-notice';
|
|
7220
|
+
this.minBookingNotice = undefined;
|
|
7185
7221
|
this.selectedNumber = undefined;
|
|
7186
7222
|
this.selectedPeriod = undefined;
|
|
7187
7223
|
}
|
|
@@ -7280,7 +7316,7 @@ const NylasMinBookingNotice = class {
|
|
|
7280
7316
|
}
|
|
7281
7317
|
render() {
|
|
7282
7318
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7283
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7319
|
+
return (index$1.h(index$1.Host, { key: '058d282534c52f53706462ac1d683ec578f6d3a8' }, index$1.h("div", { key: '9ea1537dac50fd2376b36be39b9018e4ea72f6b6', class: "nylas-min-booking-notice", part: "nmbn" }, index$1.h("label", { key: 'a36bfe20366c6da7a87714dec15fa2d0d99306bc' }, "Minimum booking notice", index$1.h("span", { key: 'c0b3c66b4da42c78cae762889dd24f0201827184', class: "label-icon" }, index$1.h("tooltip-component", { key: '012dad9e26ec2dd6c82da843741e2aee8ea4d327' }, index$1.h("info-icon", { key: '4cbf03a96564d428a06b2a0faf11a353ded5a6c1', slot: "tooltip-icon" }), index$1.h("span", { key: '4ab57c8815064edb2fb06f8f10b5ccde022a9b90', slot: "tooltip-content" }, "The minimum amount of time in the future that a new booking can be made.")))), showTImePeriodSelector && (index$1.h("time-period-selector", { 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 })))));
|
|
7284
7320
|
}
|
|
7285
7321
|
static get formAssociated() { return true; }
|
|
7286
7322
|
get host() { return index$1.getElement(this); }
|
|
@@ -7289,23 +7325,23 @@ const NylasMinBookingNotice = class {
|
|
|
7289
7325
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7290
7326
|
}; }
|
|
7291
7327
|
};
|
|
7292
|
-
__decorate$
|
|
7328
|
+
__decorate$9([
|
|
7293
7329
|
registerComponent.RegisterComponent({
|
|
7294
7330
|
name: 'nylas-min-booking-notice',
|
|
7295
7331
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7296
7332
|
eventToProps: {},
|
|
7297
7333
|
fireRegisterEvent: true,
|
|
7298
7334
|
}),
|
|
7299
|
-
__metadata$
|
|
7300
|
-
__metadata$
|
|
7301
|
-
__metadata$
|
|
7335
|
+
__metadata$9("design:type", Function),
|
|
7336
|
+
__metadata$9("design:paramtypes", []),
|
|
7337
|
+
__metadata$9("design:returntype", void 0)
|
|
7302
7338
|
], NylasMinBookingNotice.prototype, "render", null);
|
|
7303
7339
|
NylasMinBookingNotice.style = NylasMinBookingNoticeStyle0;
|
|
7304
7340
|
|
|
7305
7341
|
const nylasMinCancellationNoticeCss = ":host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-min-cancellation-notice{display:flex;justify-content:space-between;font-family:var(--nylas-font-family)}@media screen and (max-width: 768px){.nylas-min-cancellation-notice{flex-direction:column;gap:0.5rem}}.nylas-min-cancellation-notice label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-min-cancellation-notice label span.label-icon{margin-left:4px}.nylas-min-cancellation-notice label span.label-icon tooltip-component{display:flex}select-dropdown::part(sd_dropdown-button){border:none}";
|
|
7306
7342
|
const NylasMinCancellationNoticeStyle0 = nylasMinCancellationNoticeCss;
|
|
7307
7343
|
|
|
7308
|
-
var __decorate$
|
|
7344
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7309
7345
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7310
7346
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7311
7347
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7315,7 +7351,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7315
7351
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7316
7352
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7317
7353
|
};
|
|
7318
|
-
var __metadata$
|
|
7354
|
+
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7319
7355
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7320
7356
|
return Reflect.metadata(k, v);
|
|
7321
7357
|
};
|
|
@@ -7331,8 +7367,8 @@ const NylasMinCancellationNotice = class {
|
|
|
7331
7367
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7332
7368
|
}
|
|
7333
7369
|
this.selectedConfiguration = undefined;
|
|
7334
|
-
this.minCancellationNotice = undefined;
|
|
7335
7370
|
this.name = 'min-cancellation-notice';
|
|
7371
|
+
this.minCancellationNotice = undefined;
|
|
7336
7372
|
this.selectedNumber = undefined;
|
|
7337
7373
|
this.selectedPeriod = undefined;
|
|
7338
7374
|
}
|
|
@@ -7435,7 +7471,7 @@ const NylasMinCancellationNotice = class {
|
|
|
7435
7471
|
}
|
|
7436
7472
|
render() {
|
|
7437
7473
|
const showTimePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7438
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7474
|
+
return (index$1.h(index$1.Host, { key: 'b3d5eab0c7f826b60f8d88dbcd2de20b8aa05953' }, index$1.h("div", { key: 'df62baa3bd558066cea96bd86f2b4594b7eae613', class: "nylas-min-cancellation-notice", part: "nmcn" }, index$1.h("label", { key: '7bab73f950ee0529feef61c32750488ee8e3d816' }, "Minimum cancellation notice", index$1.h("span", { key: '71856612ca18403cc95642ad22f7fea40c93163e', class: "label-icon" }, index$1.h("tooltip-component", { key: '3961109385d524c08115a98bd8e303d573529884' }, index$1.h("info-icon", { key: '60053a1ff74768ab53e903b52c0028b5c04aa5c7', slot: "tooltip-icon" }), index$1.h("span", { key: 'af42bbed9685aa44d11ad4dd3cd35a156ba245a4', slot: "tooltip-content" }, "The minimum amount of time required to cancel a booking.")))), showTimePeriodSelector && (index$1.h("time-period-selector", { 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 })))));
|
|
7439
7475
|
}
|
|
7440
7476
|
static get formAssociated() { return true; }
|
|
7441
7477
|
get host() { return index$1.getElement(this); }
|
|
@@ -7444,23 +7480,23 @@ const NylasMinCancellationNotice = class {
|
|
|
7444
7480
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7445
7481
|
}; }
|
|
7446
7482
|
};
|
|
7447
|
-
__decorate$
|
|
7483
|
+
__decorate$8([
|
|
7448
7484
|
registerComponent.RegisterComponent({
|
|
7449
7485
|
name: 'nylas-min-cancellation-notice',
|
|
7450
7486
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7451
7487
|
eventToProps: {},
|
|
7452
7488
|
fireRegisterEvent: true,
|
|
7453
7489
|
}),
|
|
7454
|
-
__metadata$
|
|
7455
|
-
__metadata$
|
|
7456
|
-
__metadata$
|
|
7490
|
+
__metadata$8("design:type", Function),
|
|
7491
|
+
__metadata$8("design:paramtypes", []),
|
|
7492
|
+
__metadata$8("design:returntype", void 0)
|
|
7457
7493
|
], NylasMinCancellationNotice.prototype, "render", null);
|
|
7458
7494
|
NylasMinCancellationNotice.style = NylasMinCancellationNoticeStyle0;
|
|
7459
7495
|
|
|
7460
7496
|
const nylasPageNameCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-page-name{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-page-name .header{padding:1rem;display:grid;grid-template-columns:1fr auto}.nylas-page-name .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-page-name .header p{display:flex;gap:4px;align-items:center;margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-page-name .header .drawer-toggle{display:flex;gap:24px;align-items:center}.nylas-page-name .header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-page-name .header .drawer-toggle .chevron:hover,.nylas-page-name .header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.nylas-page-name .header .drawer-toggle .chevron.open{transform:rotate(90deg)}.nylas-page-name .header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.nylas-page-name .header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-page-name .header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-page-name .nylas-page-name__body{display:grid;grid-template-columns:1fr;background-color:var(--nylas-base-25);border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x);border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.nylas-page-name .nylas-page-name__body{grid-template-columns:1fr}}.nylas-page-name .nylas-page-name__body .nylas-page-name__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-page-name .nylas-page-name__body .nylas-page-name__section{border:none}}.nylas-page-name .nylas-page-name__body .nylas-page-name__section .nylas-page-name__row{display:flex;align-items:center;gap:1rem}.nylas-page-name .nylas-page-name__body .nylas-page-name__section .nylas-page-name__row label{display:flex;align-items:center}.nylas-page-name .nylas-page-name__body .nylas-page-name__section .nylas-page-name__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-page-name .nylas-page-name__body .nylas-page-name__section .nylas-page-name__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-page-name .nylas-page-name__body .nylas-page-name__section .nylas-page-name__row .input-container{width:100%}.nylas-page-name .nylas-page-name__input-wrapper{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available;display:flex;flex-direction:row;gap:0.125rem;border-radius:var(--nylas-border-radius-2x);z-index:1}.nylas-page-name .nylas-page-name__input-wrapper:focus{outline-color:var(--nylas-primary)}.nylas-page-name .nylas-page-name__input-wrapper.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}.nylas-page-name .nylas-page-name__input-wrapper.error::placeholder{font-weight:400}.nylas-page-name .nylas-page-name__input-wrapper::placeholder{color:var(--nylas-base-300)}.nylas-page-name .nylas-page-name__input-wrapper input-component::part(ic__input){outline:none;border:none;width:100%;font-size:1rem;height:auto;padding-left:0px}";
|
|
7461
7497
|
const NylasPageNameStyle0 = nylasPageNameCss;
|
|
7462
7498
|
|
|
7463
|
-
var __decorate$
|
|
7499
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7464
7500
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7465
7501
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7466
7502
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7470,7 +7506,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7470
7506
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7471
7507
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7472
7508
|
};
|
|
7473
|
-
var __metadata$
|
|
7509
|
+
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7474
7510
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7475
7511
|
return Reflect.metadata(k, v);
|
|
7476
7512
|
};
|
|
@@ -7486,10 +7522,10 @@ const NylasPageName = class {
|
|
|
7486
7522
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7487
7523
|
}
|
|
7488
7524
|
this.selectedConfiguration = undefined;
|
|
7525
|
+
this.name = 'page-name';
|
|
7489
7526
|
this.pageName = undefined;
|
|
7490
7527
|
this.showToggle = true;
|
|
7491
7528
|
this.isOpen = true;
|
|
7492
|
-
this.name = 'page-name';
|
|
7493
7529
|
this.currentPageName = undefined;
|
|
7494
7530
|
}
|
|
7495
7531
|
connectedCallback() {
|
|
@@ -7544,7 +7580,7 @@ const NylasPageName = class {
|
|
|
7544
7580
|
}
|
|
7545
7581
|
render() {
|
|
7546
7582
|
const isComponentReady = typeof this.currentPageName !== 'undefined';
|
|
7547
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7583
|
+
return (index$1.h(index$1.Host, { key: 'f0b405f57e2cb8c65b59c07bdca8ec3885a98a7d' }, index$1.h("div", { key: '4873ef6137393c0bd31b90fca33eee42e2feb449', class: "nylas-page-name", part: "nces" }, index$1.h("div", { key: 'bf9894bee632ed6debc5f401b1e3bb98d4561258', class: "header", part: "nces__header" }, index$1.h("div", { key: '631f080c4c2aba2597d6638ea4dfb20eedb0a1d6' }, index$1.h("h3", { key: '657b49c737bb46d96698cac0c39ba20f08dac34a' }, "Page name"), index$1.h("p", { key: '7a81b920c53b427529828476a2efed5c80c5ce56' }, "Set the Scheduling Page name.", index$1.h("tooltip-component", { key: 'a16a8a9e03310794cf4de5b0ab863d730723bf16' }, index$1.h("info-icon", { key: 'ffbfa4cfd591c4994a7ff51251ed92062e9cf42e', slot: "tooltip-icon" }), index$1.h("span", { key: '41a0ed919be3aa80fc5f1d03138157f46aaa8494', slot: "tooltip-content" }, "By default, Scheduling Pages use your user name as the Page name. The Page name is displayed in the top-left corner of the calendar view.")))), this.showToggle && (index$1.h("div", { class: "drawer-toggle", part: "nces__drawer-toggle--container" }, index$1.h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleDrawer() }, index$1.h("chevron-icon", { width: "24", height: "24" }))))), this.isOpen && (index$1.h("div", { class: "nylas-page-name__body", part: "nces__body" }, index$1.h("div", { class: "nylas-page-name__section" }, index$1.h("div", { class: "nylas-page-name__row" }, index$1.h("div", { class: "input-container" }, index$1.h("div", { class: "nylas-page-name__input-wrapper" }, isComponentReady && (index$1.h("input-component", { name: "page-name", id: "page-name", type: "text", required: false, exportparts: "ic_input: npn__input-textfield", defaultValue: this.currentPageName ?? '' })))))))))));
|
|
7548
7584
|
}
|
|
7549
7585
|
static get formAssociated() { return true; }
|
|
7550
7586
|
get host() { return index$1.getElement(this); }
|
|
@@ -7553,7 +7589,7 @@ const NylasPageName = class {
|
|
|
7553
7589
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7554
7590
|
}; }
|
|
7555
7591
|
};
|
|
7556
|
-
__decorate$
|
|
7592
|
+
__decorate$7([
|
|
7557
7593
|
registerComponent.RegisterComponent({
|
|
7558
7594
|
name: 'nylas-page-name',
|
|
7559
7595
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7567,16 +7603,16 @@ __decorate$5([
|
|
|
7567
7603
|
},
|
|
7568
7604
|
fireRegisterEvent: true,
|
|
7569
7605
|
}),
|
|
7570
|
-
__metadata$
|
|
7571
|
-
__metadata$
|
|
7572
|
-
__metadata$
|
|
7606
|
+
__metadata$7("design:type", Function),
|
|
7607
|
+
__metadata$7("design:paramtypes", []),
|
|
7608
|
+
__metadata$7("design:returntype", void 0)
|
|
7573
7609
|
], NylasPageName.prototype, "render", null);
|
|
7574
7610
|
NylasPageName.style = NylasPageNameStyle0;
|
|
7575
7611
|
|
|
7576
7612
|
const nylasPageStylingCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-page-styling{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-page-styling.no-border{border:none}.nylas-page-styling .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.nylas-page-styling .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-page-styling .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-page-styling .header .drawer-toggle{display:flex;gap:24px;align-items:center}.nylas-page-styling .header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-page-styling .header .drawer-toggle .chevron:hover,.nylas-page-styling .header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.nylas-page-styling .header .drawer-toggle .chevron.open{transform:rotate(90deg)}.nylas-page-styling .header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.nylas-page-styling .header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-page-styling .header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-page-styling .nylas-page-styling__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:0 0 var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-page-styling .nylas-page-styling__body{grid-template-columns:1fr}}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section.no-padding{padding:0}@media screen and (max-width: 768px){.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section{border:none}}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row{display:grid;grid-template-columns:1fr;align-items:center}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row label{display:flex;align-items:center}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row label span.label-icon{margin-left:4px}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row label span.label-icon tooltip-component{display:flex}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection{display:flex;flex-direction:column;gap:1rem}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection.hide{display:none}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection .input-container,.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection>*{display:flex;flex-direction:column;column-gap:2rem;row-gap:0.25rem;width:100%;flex:1}.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection .input-container textarea,.nylas-page-styling .nylas-page-styling__body .nylas-page-styling__section .nylas-page-styling__row .subsection>* textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-page-styling .nylas-page-styling__body span.error-message{color:var(--nylas-error)}.nylas-page-styling .nylas-page-styling__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}";
|
|
7577
7613
|
const NylasPageStylingStyle0 = nylasPageStylingCss;
|
|
7578
7614
|
|
|
7579
|
-
var __decorate$
|
|
7615
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7580
7616
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7581
7617
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7582
7618
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7586,7 +7622,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7586
7622
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7587
7623
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7588
7624
|
};
|
|
7589
|
-
var __metadata$
|
|
7625
|
+
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7590
7626
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7591
7627
|
return Reflect.metadata(k, v);
|
|
7592
7628
|
};
|
|
@@ -7603,9 +7639,9 @@ const NylasPageStyling = class {
|
|
|
7603
7639
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7604
7640
|
}
|
|
7605
7641
|
this.selectedConfiguration = undefined;
|
|
7642
|
+
this.name = 'page-styling';
|
|
7606
7643
|
this.appearance = undefined;
|
|
7607
7644
|
this.isOpen = true;
|
|
7608
|
-
this.name = 'page-styling';
|
|
7609
7645
|
this.currentAppearance = undefined;
|
|
7610
7646
|
this.customInputsSlot = null;
|
|
7611
7647
|
}
|
|
@@ -7824,7 +7860,7 @@ const NylasPageStyling = class {
|
|
|
7824
7860
|
this.isOpen = !this.isOpen;
|
|
7825
7861
|
}
|
|
7826
7862
|
render() {
|
|
7827
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7863
|
+
return (index$1.h(index$1.Host, { key: 'be08b4dc45a6950b8bf9190fbb5bd450a63f24cb' }, index$1.h("div", { key: '37c4ef967ab1ccecc7752be8e13847c1ff67f2ad', part: "nps", class: { 'nylas-page-styling': true, 'no-border': !this.customInputsSlot } }, this.customInputsSlot ? (index$1.h("div", { class: "header", part: "nps__header" }, index$1.h("div", null, index$1.h("h3", null, "Page styling and customization")), index$1.h("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, index$1.h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, index$1.h("chevron-icon", { width: "24", height: "24" }))))) : null, index$1.h("div", { key: '304a8a53cff0c854ce244435ff51abb2dc51b105', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, index$1.h("div", { key: '9de4abc9b92aab8d976b0fd2a568a5c60d7f0f6e', class: { 'nylas-page-styling__section': true, 'no-padding': !this.customInputsSlot } }, index$1.h("div", { key: '490d7515e07679200e6a42138867088c7b6c4634', class: "nylas-page-styling__row" }, index$1.h("div", { key: 'dcf7dbe82d82b103f14e63dc519aab3245d869e8', class: { subsection: true, hide: !this.isOpen } })))))));
|
|
7828
7864
|
}
|
|
7829
7865
|
static get formAssociated() { return true; }
|
|
7830
7866
|
get host() { return index$1.getElement(this); }
|
|
@@ -7832,7 +7868,7 @@ const NylasPageStyling = class {
|
|
|
7832
7868
|
"name": ["elementNameChangedHandler"]
|
|
7833
7869
|
}; }
|
|
7834
7870
|
};
|
|
7835
|
-
__decorate$
|
|
7871
|
+
__decorate$6([
|
|
7836
7872
|
registerComponent.RegisterComponent({
|
|
7837
7873
|
name: 'nylas-page-styling',
|
|
7838
7874
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7846,16 +7882,16 @@ __decorate$4([
|
|
|
7846
7882
|
},
|
|
7847
7883
|
fireRegisterEvent: true,
|
|
7848
7884
|
}),
|
|
7849
|
-
__metadata$
|
|
7850
|
-
__metadata$
|
|
7851
|
-
__metadata$
|
|
7885
|
+
__metadata$6("design:type", Function),
|
|
7886
|
+
__metadata$6("design:paramtypes", []),
|
|
7887
|
+
__metadata$6("design:returntype", void 0)
|
|
7852
7888
|
], NylasPageStyling.prototype, "render", null);
|
|
7853
7889
|
NylasPageStyling.style = NylasPageStylingStyle0;
|
|
7854
7890
|
|
|
7855
7891
|
const nylasParticipantBookingCalendarsCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-participant-booking-calendars{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .header{padding:1rem}.nylas-participant-booking-calendars .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-participant-booking-calendars .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-participant-booking-calendars .content .participant-container{padding-top:12px;border-top:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 16px}.nylas-participant-booking-calendars .content .participant-container .participant-title p{margin:0}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}nylas-booking-calendar-picker::part(nbcp){margin:0;border:none;border-top:1px solid var(--nylas-base-200);border-top-right-radius:0;border-top-left-radius:0}";
|
|
7856
7892
|
const NylasParticipantBookingCalendarsStyle0 = nylasParticipantBookingCalendarsCss;
|
|
7857
7893
|
|
|
7858
|
-
var __decorate$
|
|
7894
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7859
7895
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7860
7896
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7861
7897
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7865,7 +7901,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7865
7901
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7866
7902
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7867
7903
|
};
|
|
7868
|
-
var __metadata$
|
|
7904
|
+
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7869
7905
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7870
7906
|
return Reflect.metadata(k, v);
|
|
7871
7907
|
};
|
|
@@ -7957,6 +7993,10 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7957
7993
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
7958
7994
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
7959
7995
|
}
|
|
7996
|
+
else {
|
|
7997
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
7998
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
7999
|
+
}
|
|
7960
8000
|
}
|
|
7961
8001
|
handleValueChanged(event) {
|
|
7962
8002
|
utils.debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -7998,13 +8038,13 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7998
8038
|
return selectedParticipants;
|
|
7999
8039
|
}
|
|
8000
8040
|
render() {
|
|
8001
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8041
|
+
return (index$1.h(index$1.Host, { key: 'b9e6684dcd0f1f65681af22cbfa0ee9f096aa3f2' }, index$1.h("div", { key: 'fae29a5cc07a0b8b46c36ec4763e3a220415d6d1', class: "nylas-participant-booking-calendars", part: "npbc" }, index$1.h("div", { key: 'b03cc0a390af4f2704a262fe8a6142df3db703f1', class: "header", part: "npbc__header" }, index$1.h("h3", { key: 'e2859aa78a9ad056290b3d567245d09dfbe4377c' }, "Book to this calendar"), index$1.h("p", { key: '0334ecd98e203d7625bef65ab1f5be413a67f2f5' }, "Select the calendar where you want to add event bookings.")), index$1.h("div", { key: '48c92054425564074e40d8e28e6cd98b77974083', class: "content", part: "npbc__content" }, index$1.h("form", { key: 'f4336a4077a262c45947b75630234806e99148d0', ref: el => (this.bookingCalendarsFormRef = el) }, this.participantCalendars &&
|
|
8002
8042
|
Object.keys(this.participantCalendars).map((key, index) => {
|
|
8003
8043
|
const participant = this.selectedCalendars[key];
|
|
8004
8044
|
const participantCalendars = this.participantCalendars[key];
|
|
8005
8045
|
if (!participant || !participant.name)
|
|
8006
8046
|
return;
|
|
8007
|
-
return (index$1.h("div", { class: "participant-container", part: "npbc__participant-container", key: `participant-conatiner-${index}` }, index$1.h("div", { class: "participant-title", part: "npbc__participant-title" }, index$1.h("p", null, participant.name, "'s booking calendar"), index$1.h("div", { class: "participant-toggle", part: "npbc__participant-toggle
|
|
8047
|
+
return (index$1.h("div", { class: "participant-container", part: "npbc__participant-container", key: `participant-conatiner-${index}` }, index$1.h("div", { class: "participant-title", part: "npbc__participant-title" }, index$1.h("p", null, participant.name, "'s booking calendar"), index$1.h("div", { class: "participant-toggle", part: "npbc__participant-toggle-container" }, index$1.h("span", { class: `chevron ${participant.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
8008
8048
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
8009
8049
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
8010
8050
|
} }, index$1.h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (index$1.h("nylas-booking-calendar-picker", { key: key, name: `participant-booking-${key}`, calendars: participantCalendars, hideHeader: true, defaultBookingCalendar: this.participantDefaultSelectedCalendar[key] }))));
|
|
@@ -8020,7 +8060,7 @@ const NylasParticipantBookingCalendars = class {
|
|
|
8020
8060
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8021
8061
|
}; }
|
|
8022
8062
|
};
|
|
8023
|
-
__decorate$
|
|
8063
|
+
__decorate$5([
|
|
8024
8064
|
registerComponent.RegisterComponent({
|
|
8025
8065
|
name: 'nylas-participant-booking-calendars',
|
|
8026
8066
|
stateToProps: new Map([
|
|
@@ -8031,16 +8071,16 @@ __decorate$3([
|
|
|
8031
8071
|
eventToProps: {},
|
|
8032
8072
|
fireRegisterEvent: true,
|
|
8033
8073
|
}),
|
|
8034
|
-
__metadata$
|
|
8035
|
-
__metadata$
|
|
8036
|
-
__metadata$
|
|
8074
|
+
__metadata$5("design:type", Function),
|
|
8075
|
+
__metadata$5("design:paramtypes", []),
|
|
8076
|
+
__metadata$5("design:returntype", void 0)
|
|
8037
8077
|
], NylasParticipantBookingCalendars.prototype, "render", null);
|
|
8038
8078
|
NylasParticipantBookingCalendars.style = NylasParticipantBookingCalendarsStyle0;
|
|
8039
8079
|
|
|
8040
8080
|
const nylasParticipantsCustomAvailabilityCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-participants-custom-availability{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-participants-custom-availability .header{padding:1rem}.nylas-participants-custom-availability .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-participants-custom-availability .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-participants-custom-availability .content .participant-container{padding-top:8px;border-top:1px solid var(--nylas-base-200)}.nylas-participants-custom-availability .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 12px}.nylas-participants-custom-availability .content .participant-container .participant-title p{margin:0}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-participants-custom-availability .content .participant-container nylas-availability-picker::part(nap){margin:0;border:none}";
|
|
8041
8081
|
const NylasParticipantsCustomAvailabilityStyle0 = nylasParticipantsCustomAvailabilityCss;
|
|
8042
8082
|
|
|
8043
|
-
var __decorate$
|
|
8083
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8044
8084
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8045
8085
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8046
8086
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8050,7 +8090,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
8050
8090
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8051
8091
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8052
8092
|
};
|
|
8053
|
-
var __metadata$
|
|
8093
|
+
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8054
8094
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8055
8095
|
return Reflect.metadata(k, v);
|
|
8056
8096
|
};
|
|
@@ -8150,12 +8190,13 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8150
8190
|
openHours: participant.availability?.open_hours || [],
|
|
8151
8191
|
name: participant.name || participant.email,
|
|
8152
8192
|
availability: participant.availability,
|
|
8193
|
+
timezone: participant.timezone,
|
|
8153
8194
|
};
|
|
8154
8195
|
});
|
|
8155
8196
|
return selectedParticipants;
|
|
8156
8197
|
}
|
|
8157
8198
|
render() {
|
|
8158
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8199
|
+
return (index$1.h(index$1.Host, { key: '6f9b3c61650e7dd61b6e548fe008be57494b5e89' }, index$1.h("div", { key: '256e2e41f0849180ffdb5c67c66dffd9c1ce031a', class: "nylas-participants-custom-availability", part: "npca" }, index$1.h("div", { key: 'c3e1aefbb7872b233938aefeb22a13169f194864', class: "header", part: "npca__header" }, index$1.h("h3", { key: '8f7af6fa1435b2530fb5d179db1357e765270865' }, "Participant open hours"), index$1.h("p", { key: 'ff146ecd72673369a01773b2f00e81264654acf5' }, "If not set, Nylas uses the default open hours for this participant.")), index$1.h("div", { key: '52476fb7c7dc19935d92883ebd16f6af6746f8b5', class: "content", part: "npca__content" }, index$1.h("form", { key: '2b2fb94eb40a92b0e3326c9681051f61bbe4986e', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
8159
8200
|
const participant = this.selectedParticipants[key];
|
|
8160
8201
|
if (!participant || !participant.name || !participant.availability)
|
|
8161
8202
|
return;
|
|
@@ -8164,7 +8205,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8164
8205
|
return;
|
|
8165
8206
|
this.selectedParticipants[key].isOpen = !participant.isOpen;
|
|
8166
8207
|
this.selectedParticipants = { ...this.selectedParticipants };
|
|
8167
|
-
} }, index$1.h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (index$1.h("nylas-availability-picker", { key: index, name: `participant-${index}-${key}`, openHours: participant.openHours, defaultTimezone: participant.
|
|
8208
|
+
} }, index$1.h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (index$1.h("nylas-availability-picker", { key: index, name: `participant-${index}-${key}`, openHours: participant.openHours, defaultTimezone: participant.timezone, hideHeader: true }))));
|
|
8168
8209
|
}))))));
|
|
8169
8210
|
}
|
|
8170
8211
|
static get formAssociated() { return true; }
|
|
@@ -8175,18 +8216,362 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8175
8216
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8176
8217
|
}; }
|
|
8177
8218
|
};
|
|
8178
|
-
__decorate$
|
|
8219
|
+
__decorate$4([
|
|
8179
8220
|
registerComponent.RegisterComponent({
|
|
8180
8221
|
name: 'nylas-participants-custom-availability',
|
|
8181
8222
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8182
8223
|
eventToProps: {},
|
|
8183
8224
|
fireRegisterEvent: true,
|
|
8184
8225
|
}),
|
|
8226
|
+
__metadata$4("design:type", Function),
|
|
8227
|
+
__metadata$4("design:paramtypes", []),
|
|
8228
|
+
__metadata$4("design:returntype", void 0)
|
|
8229
|
+
], NylasParticipantsCustomAvailability.prototype, "render", null);
|
|
8230
|
+
NylasParticipantsCustomAvailability.style = NylasParticipantsCustomAvailabilityStyle0;
|
|
8231
|
+
|
|
8232
|
+
const nylasReminderEmailsCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.cards-container{margin-bottom:4rem}.cards-container .nylas-reminder-email{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.cards-container .nylas-reminder-email .reminder-open-close-toggle{display:flex;gap:16px}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron{display:flex;align-self:center;cursor:pointer}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron:hover,.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron:active{color:var(--nylas-primary)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.open{transform:rotate(90deg)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.closed{transform:rotate(270deg)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.cards-container .nylas-reminder-email .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.cards-container .nylas-reminder-email .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .header .confirmation-email-toggle{display:flex;gap:24px;align-items:center}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron{display:flex;align-self:center;cursor:pointer}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron:hover,.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron:active{color:var(--nylas-primary)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.open{transform:rotate(90deg)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.closed{transform:rotate(270deg)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body{grid-template-columns:1fr}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section{border:none}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row.full-width-col{grid-template-columns:1fr}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label{display:flex;align-items:center}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.required{color:var(--nylas-error, #cc4841)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.label-icon{margin-left:4px}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.label-icon tooltip-component{display:flex}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container{display:flex;gap:32px;width:100%}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .input-container{display:flex;flex-direction:column;flex:1}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .company-logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .company-logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row span.selected-value{font-weight:500}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection{display:flex;flex-direction:column;gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection .input-container{display:flex;flex-direction:column;gap:0.25rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection .input-container textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container{padding:0 2rem 1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body span.error-message{color:var(--nylas-error)}.cards-container .nylas-reminder-email .nylas-reminder-email__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__summary{padding:0.75rem 1rem;display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__summary p{margin:0;display:flex;align-items:center;column-gap:4px;font-size:0.875rem;font-weight:400;line-height:21px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__summary p span.summary-icon{display:flex;justify-content:center;min-width:20px}sp-divider{background-color:var(--nylas-base-200);height:1px;margin:0.25rem 0}button-component.create-reminder button{margin:1rem;width:calc(100% - 2rem)}button-component.delete-btn button{color:var(--nylas-error) !important}";
|
|
8233
|
+
const NylasReminderEmailsStyle0 = nylasReminderEmailsCss;
|
|
8234
|
+
|
|
8235
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8236
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8237
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8238
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8239
|
+
else
|
|
8240
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8241
|
+
if (d = decorators[i])
|
|
8242
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8243
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8244
|
+
};
|
|
8245
|
+
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8246
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8247
|
+
return Reflect.metadata(k, v);
|
|
8248
|
+
};
|
|
8249
|
+
const NylasReminderEmails = class {
|
|
8250
|
+
constructor(hostRef) {
|
|
8251
|
+
index$1.registerInstance(this, hostRef);
|
|
8252
|
+
this.valueChanged = index$1.createEvent(this, "valueChanged", 7);
|
|
8253
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8254
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8255
|
+
}
|
|
8256
|
+
else {
|
|
8257
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8258
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8259
|
+
}
|
|
8260
|
+
this.selectedConfiguration = undefined;
|
|
8261
|
+
this.name = 'reminder-overrides';
|
|
8262
|
+
this.reminders = this.selectedConfiguration?.event_booking?.reminders ?? [];
|
|
8263
|
+
this.reminderErrors = {};
|
|
8264
|
+
this.participants = this.selectedConfiguration?.participants ?? [];
|
|
8265
|
+
}
|
|
8266
|
+
connectedCallback() {
|
|
8267
|
+
utils.debug('nylas-reminder-emails', 'connectedCallback');
|
|
8268
|
+
}
|
|
8269
|
+
disconnectedCallback() {
|
|
8270
|
+
utils.debug('nylas-reminder-emails', 'disconnectedCallback');
|
|
8271
|
+
}
|
|
8272
|
+
componentWillLoad() {
|
|
8273
|
+
utils.debug('nylas-reminder-emails', 'componentWillLoad');
|
|
8274
|
+
this.host.setAttribute('name', this.name);
|
|
8275
|
+
}
|
|
8276
|
+
componentDidLoad() {
|
|
8277
|
+
utils.debug('nylas-reminder-emails', 'componentDidLoad');
|
|
8278
|
+
if (this.selectedConfiguration) {
|
|
8279
|
+
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
8280
|
+
}
|
|
8281
|
+
else {
|
|
8282
|
+
this.updateRemindersFormValue();
|
|
8283
|
+
}
|
|
8284
|
+
}
|
|
8285
|
+
componentWillUpdate() {
|
|
8286
|
+
utils.debug('nylas-reminder-emails', 'componentWillUpdate');
|
|
8287
|
+
}
|
|
8288
|
+
componentDidUpdate() {
|
|
8289
|
+
utils.debug('nylas-reminder-emails', 'componentDidUpdate');
|
|
8290
|
+
}
|
|
8291
|
+
componentWillRender() {
|
|
8292
|
+
utils.debug('nylas-reminder-emails', 'componentWillRender');
|
|
8293
|
+
}
|
|
8294
|
+
componentDidRender() {
|
|
8295
|
+
utils.debug('nylas-reminder-emails', 'componentDidRender');
|
|
8296
|
+
}
|
|
8297
|
+
elementNameChangedHandler(newValue) {
|
|
8298
|
+
utils.debug('nylas-reminder-emails', 'elementNameChangedHandler', newValue);
|
|
8299
|
+
this.host.setAttribute('name', newValue);
|
|
8300
|
+
}
|
|
8301
|
+
selectedConfigurationChangedHandler(newVal) {
|
|
8302
|
+
utils.debug('nylas-reminder-emails', 'selectedConfigurationChangedHandler', newVal);
|
|
8303
|
+
this.reminders = newVal?.event_booking?.reminders ?? [];
|
|
8304
|
+
this.participants = newVal?.participants ?? [];
|
|
8305
|
+
this.updateRemindersFormValue();
|
|
8306
|
+
}
|
|
8307
|
+
handleValueChanged(event) {
|
|
8308
|
+
utils.debug('nylas-reminder-emails', 'handleValueChanged', event);
|
|
8309
|
+
const { name, value } = event.detail;
|
|
8310
|
+
if (name.startsWith('reminder-time-')) {
|
|
8311
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8312
|
+
const updatedReminders = [...this.reminders];
|
|
8313
|
+
updatedReminders[reminderIndex].minutes_before_event = parseInt(value);
|
|
8314
|
+
this.reminders = [...updatedReminders];
|
|
8315
|
+
this.updateRemindersFormValue();
|
|
8316
|
+
}
|
|
8317
|
+
}
|
|
8318
|
+
handleNylasFormDropdownChanged(event) {
|
|
8319
|
+
utils.debug('nylas-reminder-emails', 'handleNylasFormDropdownChanged', event);
|
|
8320
|
+
const { name, value } = event.detail;
|
|
8321
|
+
if (!name.startsWith('recipient-')) {
|
|
8322
|
+
return;
|
|
8323
|
+
}
|
|
8324
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8325
|
+
const updatedReminders = [...this.reminders];
|
|
8326
|
+
updatedReminders[reminderIndex].recipient = value;
|
|
8327
|
+
this.reminders = [...updatedReminders];
|
|
8328
|
+
this.updateRemindersFormValue();
|
|
8329
|
+
}
|
|
8330
|
+
addReminder() {
|
|
8331
|
+
utils.debug('nylas-reminder-emails', 'addReminder');
|
|
8332
|
+
this.reminders = [
|
|
8333
|
+
...this.reminders,
|
|
8334
|
+
{
|
|
8335
|
+
type: 'email',
|
|
8336
|
+
minutes_before_event: 30,
|
|
8337
|
+
editing: true,
|
|
8338
|
+
recipient: 'all',
|
|
8339
|
+
},
|
|
8340
|
+
];
|
|
8341
|
+
this.updateRemindersFormValue();
|
|
8342
|
+
}
|
|
8343
|
+
deleteReminder(index) {
|
|
8344
|
+
this.reminders = this.reminders.filter((_, i) => i !== index).map(p => ({ ...p }));
|
|
8345
|
+
this.updateRemindersFormValue();
|
|
8346
|
+
}
|
|
8347
|
+
updateRemindersFormValue() {
|
|
8348
|
+
utils.debug('nylas-reminder-emails', 'updateRemindersFormValue');
|
|
8349
|
+
const eventReminders = this.reminders.map(reminder => {
|
|
8350
|
+
const rem = { ...reminder };
|
|
8351
|
+
delete rem.editing;
|
|
8352
|
+
return rem;
|
|
8353
|
+
});
|
|
8354
|
+
this.internals.setFormValue(JSON.stringify(eventReminders), 'reminder-overrides');
|
|
8355
|
+
this.valueChanged.emit({ value: JSON.stringify(eventReminders), name: 'reminder-overrides' });
|
|
8356
|
+
}
|
|
8357
|
+
formatReminderTime(reminderTime) {
|
|
8358
|
+
switch (true) {
|
|
8359
|
+
case reminderTime > 24 * 60:
|
|
8360
|
+
return `${reminderTime / 60 / 24} days`;
|
|
8361
|
+
case reminderTime === 24 * 60:
|
|
8362
|
+
return '1 day';
|
|
8363
|
+
case reminderTime > 90 || reminderTime === 60:
|
|
8364
|
+
return `${reminderTime / 60} hours`;
|
|
8365
|
+
default:
|
|
8366
|
+
return `${reminderTime} minute${reminderTime > 1 ? 's' : ''} `;
|
|
8367
|
+
}
|
|
8368
|
+
}
|
|
8369
|
+
render() {
|
|
8370
|
+
const organizerName = this.participants.find(p => p.is_organizer)?.name;
|
|
8371
|
+
const recipientOptions = [
|
|
8372
|
+
{
|
|
8373
|
+
label: 'All host & guests',
|
|
8374
|
+
value: 'all',
|
|
8375
|
+
},
|
|
8376
|
+
{
|
|
8377
|
+
label: 'All event guests',
|
|
8378
|
+
value: 'guest',
|
|
8379
|
+
},
|
|
8380
|
+
{
|
|
8381
|
+
label: 'Only event host',
|
|
8382
|
+
value: 'host',
|
|
8383
|
+
},
|
|
8384
|
+
];
|
|
8385
|
+
return (index$1.h(index$1.Host, { key: 'a71a8247248eec4834963b8887b713769b7210cf' }, index$1.h("div", { key: '8ab8b9fc62502a7ddf5a111727ab5ef53fc050a9', class: "cards-container" }, this.reminders.map((reminder, index) => {
|
|
8386
|
+
return (index$1.h("div", { class: "nylas-reminder-email", part: "nre" }, index$1.h("div", { class: "header", part: "nre__header" }, index$1.h("div", null, index$1.h("h3", null, "Upcoming meeting", organizerName ? ` with ${organizerName} ` : ''), index$1.h("p", null, "Reminder before event")), !reminder.editing ? (index$1.h("button-component", { variant: 'basic', key: `edit-${index} `, clickHandler: event => {
|
|
8387
|
+
event.preventDefault();
|
|
8388
|
+
reminder.editing = true;
|
|
8389
|
+
this.reminders = [...this.reminders];
|
|
8390
|
+
} }, index$1.h("edit-icon", { width: "16", height: "16" }), "Edit")) : (index$1.h("div", { class: "reminder-open-close-toggle" }, index$1.h("button-component", { variant: 'basic', class: "delete-btn", tooltip: "Delete reminder", key: `delete -${index} `, clickHandler: event => {
|
|
8391
|
+
event.preventDefault();
|
|
8392
|
+
this.deleteReminder(index);
|
|
8393
|
+
} }, index$1.h("trash-icon", { width: "16", height: "16" })), index$1.h("span", { class: `chevron ${reminder.editing ? 'open' : 'closed'}`, onClick: () => {
|
|
8394
|
+
reminder.editing = !reminder.editing;
|
|
8395
|
+
this.reminders = [...this.reminders];
|
|
8396
|
+
} }, index$1.h("chevron-icon", { width: "24", height: "24" }))))), reminder.editing ? (index$1.h("div", { class: "nylas-reminder-email__body", part: "nre__body" }, index$1.h("div", { class: "nylas-reminder-email__section" }, index$1.h("div", { class: "nylas-reminder-email__row" }, index$1.h("label", null, "Email recipients"), index$1.h("select-dropdown", { name: `recipient-${index}`, options: recipientOptions, defaultSelectedOption: recipientOptions.find(i => i.value === reminder.recipient) ?? recipientOptions[0], withSearch: false })), index$1.h("div", { class: "nylas-reminder-email__row" }, index$1.h("label", null, "Send confirmation email when", index$1.h("span", { class: "label-icon" }, index$1.h("tooltip-component", null, index$1.h("info-icon", { slot: "tooltip-icon" }), index$1.h("span", { slot: "tooltip-content" }, "The recipients will receive a reminder email at the specified time before the event.")))), index$1.h("nylas-reminder-time", { name: `reminder-time-${index}`, eventReminderTimeMinutes: reminder.minutes_before_event, 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 " }))))) : (index$1.h("div", { class: "nylas-reminder-email__summary", part: "nre__summary" }, index$1.h("p", null, index$1.h("span", { class: "summary-icon" }, index$1.h("person-clipboard-icon", null)), recipientOptions.find(i => i.value === reminder.recipient)?.label), index$1.h("p", null, index$1.h("span", { class: "summary-icon" }, index$1.h("clock-icon", null)), this.formatReminderTime(reminder.minutes_before_event), " before the event")))));
|
|
8397
|
+
})), index$1.h("button-component", { key: '67f3f31bf95a05c858a97da188b88788551d1171', class: "create-reminder", variant: 'basic', clickHandler: event => {
|
|
8398
|
+
event.preventDefault();
|
|
8399
|
+
this.addReminder();
|
|
8400
|
+
} }, index$1.h("plus-icon", { key: 'ad8a8e742fdd8334e56af084356ea6fc7189405e', width: "16", height: "16" }), "New reminder")));
|
|
8401
|
+
}
|
|
8402
|
+
static get formAssociated() { return true; }
|
|
8403
|
+
get host() { return index$1.getElement(this); }
|
|
8404
|
+
static get watchers() { return {
|
|
8405
|
+
"name": ["elementNameChangedHandler"],
|
|
8406
|
+
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8407
|
+
}; }
|
|
8408
|
+
};
|
|
8409
|
+
__decorate$3([
|
|
8410
|
+
registerComponent.RegisterComponent({
|
|
8411
|
+
name: 'nylas-reminder-emails',
|
|
8412
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8413
|
+
eventToProps: {
|
|
8414
|
+
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8415
|
+
const { valueChanged } = event.detail;
|
|
8416
|
+
if (valueChanged) {
|
|
8417
|
+
valueChanged(event);
|
|
8418
|
+
}
|
|
8419
|
+
},
|
|
8420
|
+
},
|
|
8421
|
+
fireRegisterEvent: true,
|
|
8422
|
+
}),
|
|
8423
|
+
__metadata$3("design:type", Function),
|
|
8424
|
+
__metadata$3("design:paramtypes", []),
|
|
8425
|
+
__metadata$3("design:returntype", void 0)
|
|
8426
|
+
], NylasReminderEmails.prototype, "render", null);
|
|
8427
|
+
NylasReminderEmails.style = NylasReminderEmailsStyle0;
|
|
8428
|
+
|
|
8429
|
+
const nylasReminderTimeCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-reminder-time{display:flex;flex-direction:column;gap:4px}.nylas-reminder-time label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-reminder-time label span.required{color:var(--nylas-error, #cc4841)}.nylas-reminder-time label span.label-icon{margin-left:4px}.nylas-reminder-time label span.label-icon tooltip-component{display:flex}.nylas-reminder-time__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-reminder-time__wrapper input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:48px}.nylas-reminder-time__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-reminder-time__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:160px}.nylas-reminder-time__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-reminder-time__wrapper select-dropdown{width:100%}}.nylas-reminder-time__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}";
|
|
8430
|
+
const NylasReminderTimeStyle0 = nylasReminderTimeCss;
|
|
8431
|
+
|
|
8432
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8433
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8434
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8435
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8436
|
+
else
|
|
8437
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8438
|
+
if (d = decorators[i])
|
|
8439
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8440
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8441
|
+
};
|
|
8442
|
+
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8443
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8444
|
+
return Reflect.metadata(k, v);
|
|
8445
|
+
};
|
|
8446
|
+
function getInitialTimeValue(timeInMinutes) {
|
|
8447
|
+
if (!timeInMinutes)
|
|
8448
|
+
return 30;
|
|
8449
|
+
if (timeInMinutes >= 60 * 24)
|
|
8450
|
+
return timeInMinutes / (60 * 24);
|
|
8451
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8452
|
+
return timeInMinutes / 60;
|
|
8453
|
+
return timeInMinutes;
|
|
8454
|
+
}
|
|
8455
|
+
function getInitialTimeIncrement(timeInMinutes) {
|
|
8456
|
+
if (!timeInMinutes)
|
|
8457
|
+
return 30;
|
|
8458
|
+
if (timeInMinutes >= 60 * 24)
|
|
8459
|
+
return 60 * 24;
|
|
8460
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8461
|
+
return 60;
|
|
8462
|
+
return 1;
|
|
8463
|
+
}
|
|
8464
|
+
const NylasReminderTime = class {
|
|
8465
|
+
constructor(hostRef) {
|
|
8466
|
+
index$1.registerInstance(this, hostRef);
|
|
8467
|
+
this.valueChanged = index$1.createEvent(this, "valueChanged", 7);
|
|
8468
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8469
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8470
|
+
}
|
|
8471
|
+
else {
|
|
8472
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8473
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8474
|
+
}
|
|
8475
|
+
this.name = 'reminder-time';
|
|
8476
|
+
this.eventReminderTimeMinutes = undefined;
|
|
8477
|
+
this.reminderTime = getInitialTimeValue(this.eventReminderTimeMinutes);
|
|
8478
|
+
this.reminderTimeMinutes = this.eventReminderTimeMinutes ?? 30;
|
|
8479
|
+
this.reminderTimeincrement = getInitialTimeIncrement(this.eventReminderTimeMinutes);
|
|
8480
|
+
this.reminderTimeMinutesOptions = constants.REMINDER_MINUTE_OPTIONS;
|
|
8481
|
+
}
|
|
8482
|
+
elementNameChangedHandler(newValue) {
|
|
8483
|
+
utils.debug('nylas-reminder-time', 'elementNameChangedHandler', newValue);
|
|
8484
|
+
this.host.setAttribute('name', newValue);
|
|
8485
|
+
}
|
|
8486
|
+
eventReminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8487
|
+
utils.debug('nylas-reminder-time', 'eventReminderTimeMinutesChangedHandler', newValue);
|
|
8488
|
+
if (newValue === oldValue) {
|
|
8489
|
+
return;
|
|
8490
|
+
}
|
|
8491
|
+
this.reminderTime = getInitialTimeValue(newValue);
|
|
8492
|
+
this.reminderTimeincrement = getInitialTimeIncrement(newValue);
|
|
8493
|
+
this.reminderTimeMinutes = newValue;
|
|
8494
|
+
}
|
|
8495
|
+
reminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8496
|
+
utils.debug('nylas-reminder-time', 'reminderTimeMinutesChangedHandler', newValue);
|
|
8497
|
+
if (newValue === oldValue) {
|
|
8498
|
+
return;
|
|
8499
|
+
}
|
|
8500
|
+
this.valueChanged.emit({ value: newValue.toString(), name: this.name });
|
|
8501
|
+
}
|
|
8502
|
+
connectedCallback() {
|
|
8503
|
+
utils.debug('nylas-reminder-time', 'connectedCallback');
|
|
8504
|
+
}
|
|
8505
|
+
componentWillLoad() {
|
|
8506
|
+
utils.debug('nylas-reminder-time', 'componentWillLoad');
|
|
8507
|
+
this.host.setAttribute('name', this.name);
|
|
8508
|
+
this.setReminderTimeMinuteOptions();
|
|
8509
|
+
}
|
|
8510
|
+
componentDidLoad() {
|
|
8511
|
+
utils.debug('nylas-reminder-time', 'componentDidLoad');
|
|
8512
|
+
}
|
|
8513
|
+
disconnectedCallback() {
|
|
8514
|
+
utils.debug('nylas-reminder-time', 'disconnectedCallback');
|
|
8515
|
+
}
|
|
8516
|
+
setReminderTimeMinuteOptions() {
|
|
8517
|
+
if (this.reminderTimeincrement === 1) {
|
|
8518
|
+
this.reminderTimeMinutesOptions = constants.REMINDER_MINUTE_OPTIONS;
|
|
8519
|
+
}
|
|
8520
|
+
else if (this.reminderTimeincrement === 60) {
|
|
8521
|
+
this.reminderTimeMinutesOptions = constants.REMINDER_HOUR_OPTIONS;
|
|
8522
|
+
}
|
|
8523
|
+
else
|
|
8524
|
+
this.reminderTimeMinutesOptions = constants.REMINDER_DAY_OPTIONS;
|
|
8525
|
+
return this.reminderTimeMinutesOptions;
|
|
8526
|
+
}
|
|
8527
|
+
nylasFormDropdownChangedHandler(event) {
|
|
8528
|
+
utils.debug('nylas-calendar-picker', 'nylasFormDropdownChangedHandler', event.detail);
|
|
8529
|
+
const { value } = event.detail;
|
|
8530
|
+
this.reminderTimeincrement = parseInt(value);
|
|
8531
|
+
if (this.reminderTimeincrement === 1) {
|
|
8532
|
+
this.reminderTime = 60;
|
|
8533
|
+
}
|
|
8534
|
+
else {
|
|
8535
|
+
this.reminderTime = 1;
|
|
8536
|
+
}
|
|
8537
|
+
this.setReminderTimeMinuteOptions();
|
|
8538
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8539
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8540
|
+
}
|
|
8541
|
+
inputOptionChangedHandler(event) {
|
|
8542
|
+
utils.debug('nylas-calendar-picker', 'inputOptionChangedHandler', event.detail);
|
|
8543
|
+
const { value } = event.detail;
|
|
8544
|
+
this.reminderTime = value;
|
|
8545
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8546
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8547
|
+
}
|
|
8548
|
+
render() {
|
|
8549
|
+
const reminderTimeOptions = [
|
|
8550
|
+
{ value: 1, label: 'minute' },
|
|
8551
|
+
{ value: 60, label: 'hour' },
|
|
8552
|
+
{ value: 60 * 24, label: 'day' },
|
|
8553
|
+
];
|
|
8554
|
+
return (index$1.h(index$1.Host, { key: 'd5f118391bdd7e4779f6eca15335285047fdb350' }, index$1.h("div", { key: '2dd8d3ba52d4f95480c9cf1fdaf5d0f1f7c1e523', class: "nylas-reminder-time", part: "nrt" }, index$1.h("div", { key: '3799c4b266f4078e22ad78b86225ef9abdc5fa49', class: "nylas-reminder-time__wrapper" }, index$1.h("input-dropdown", { key: '004b6336c041660e1424ac44f16e82c8a5a2ca53', 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] }), index$1.h("select-dropdown", { key: '6a42c7f4633d89dd9a94d3c2f119e151613667ec', 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 })))));
|
|
8555
|
+
}
|
|
8556
|
+
static get formAssociated() { return true; }
|
|
8557
|
+
get host() { return index$1.getElement(this); }
|
|
8558
|
+
static get watchers() { return {
|
|
8559
|
+
"name": ["elementNameChangedHandler"],
|
|
8560
|
+
"eventReminderTimeMinutes": ["eventReminderTimeMinutesChangedHandler"],
|
|
8561
|
+
"reminderTimeMinutes": ["reminderTimeMinutesChangedHandler"]
|
|
8562
|
+
}; }
|
|
8563
|
+
};
|
|
8564
|
+
__decorate$2([
|
|
8565
|
+
registerComponent.RegisterComponent({
|
|
8566
|
+
name: 'nylas-reminder-time',
|
|
8567
|
+
eventToProps: {},
|
|
8568
|
+
fireRegisterEvent: true,
|
|
8569
|
+
}),
|
|
8185
8570
|
__metadata$2("design:type", Function),
|
|
8186
8571
|
__metadata$2("design:paramtypes", []),
|
|
8187
8572
|
__metadata$2("design:returntype", void 0)
|
|
8188
|
-
],
|
|
8189
|
-
|
|
8573
|
+
], NylasReminderTime.prototype, "render", null);
|
|
8574
|
+
NylasReminderTime.style = NylasReminderTimeStyle0;
|
|
8190
8575
|
|
|
8191
8576
|
const nylasSchedulingMethodCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;width:inherit}.nylas-scheduling-method{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);margin:0.25rem 0 0 0;font-size:14px;font-weight:400;line-height:20px;text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label tooltip-component{display:flex}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-scheduling-method .nylas-scheduling-method__dropdown input-component::part(ic__input){background:var(--nylas-base-50);outline:none;cursor:not-allowed}";
|
|
8192
8577
|
const NylasSchedulingMethodStyle0 = nylasSchedulingMethodCss;
|
|
@@ -8216,8 +8601,8 @@ const NylasSchedulingMethod = class {
|
|
|
8216
8601
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8217
8602
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8218
8603
|
}
|
|
8219
|
-
this.name = 'availability-method';
|
|
8220
8604
|
this.selectedConfiguration = undefined;
|
|
8605
|
+
this.name = 'availability-method';
|
|
8221
8606
|
this.participantOptions = undefined;
|
|
8222
8607
|
this.readOnly = false;
|
|
8223
8608
|
this.selectedBookingType = '';
|
|
@@ -8295,10 +8680,8 @@ const NylasSchedulingMethod = class {
|
|
|
8295
8680
|
__decorate$1([
|
|
8296
8681
|
registerComponent.RegisterComponent({
|
|
8297
8682
|
name: 'nylas-scheduling-method',
|
|
8298
|
-
stateToProps: new Map([
|
|
8299
|
-
|
|
8300
|
-
['schedulerConfig.additionalParticipants', 'participantOptions'],
|
|
8301
|
-
]),
|
|
8683
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8684
|
+
localPropsToProp: new Map([['additionalParticipants', 'participantOptions']]),
|
|
8302
8685
|
eventToProps: {
|
|
8303
8686
|
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8304
8687
|
const { valueChanged } = event.detail;
|
|
@@ -8347,8 +8730,6 @@ const NylasTimeslotInterval = class {
|
|
|
8347
8730
|
this.selectedConfiguration = undefined;
|
|
8348
8731
|
this.name = 'timeslot-picker';
|
|
8349
8732
|
this.eventDurationMinutes = this.selectedConfiguration?.availability?.duration_minutes;
|
|
8350
|
-
this.defaultIntervalMinutes = this.selectedConfiguration?.availability?.interval_minutes ?? this.eventDurationMinutes ?? 10;
|
|
8351
|
-
this.defaultRoundTo = this.selectedConfiguration?.availability?.round_to ?? undefined;
|
|
8352
8733
|
this.internalEventDurationMinutes = undefined;
|
|
8353
8734
|
this.selectedInterval = undefined;
|
|
8354
8735
|
this.selectedRoundTo = undefined;
|
|
@@ -8361,9 +8742,9 @@ const NylasTimeslotInterval = class {
|
|
|
8361
8742
|
selectedConfigurationChangedHandler(newValue) {
|
|
8362
8743
|
utils.debug('nylas-timeslot-interval', 'selectedConfigurationChangedHandler', newValue);
|
|
8363
8744
|
this.internalEventDurationMinutes = newValue?.availability?.duration_minutes ?? this.eventDurationMinutes ?? 30;
|
|
8364
|
-
const internalIntervalMinutes = newValue
|
|
8365
|
-
this.selectedInterval = newValue
|
|
8366
|
-
const roundToMinutes = newValue
|
|
8745
|
+
const internalIntervalMinutes = newValue?.availability?.interval_minutes ?? this.internalEventDurationMinutes ?? 30;
|
|
8746
|
+
this.selectedInterval = newValue?.availability?.interval_minutes ?? internalIntervalMinutes ?? 10;
|
|
8747
|
+
const roundToMinutes = newValue?.availability?.round_to || null;
|
|
8367
8748
|
this.selectedRoundTo = roundToMinutes && roundToMinutes === internalIntervalMinutes ? true : false;
|
|
8368
8749
|
}
|
|
8369
8750
|
connectedCallback() {
|
|
@@ -8457,7 +8838,7 @@ const NylasTimeslotInterval = class {
|
|
|
8457
8838
|
? intervalPreferenceOptions[0]
|
|
8458
8839
|
: intervalPreferenceOptions.find(op => op.value == this.selectedInterval.toString()) ?? intervalPreferenceOptions[0]
|
|
8459
8840
|
: undefined;
|
|
8460
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8841
|
+
return (index$1.h(index$1.Host, { key: '8f7dd99dfc3f41a0435f37c9a8e4052732a9868b' }, index$1.h("div", { key: 'c2c462dd6409b08f0d641fc6c169793dc5a05150', class: "nylas-timeslot-interval", part: "nti" }, index$1.h("div", { key: 'b6e29f56325f75b03ad4ba933fabea9825eb50cc', class: "header", part: "nti__header" }, index$1.h("h3", { key: '1c736752d9bd7e8e0a4b113eb858b8d9420fc72b' }, "Time slot settings")), index$1.h("div", { key: '3577261419231e74b71e890a2de0629ac0c02c89', class: "nylas-timeslot-interval__dropdown" }, index$1.h("span", { key: '68dc2a1f0709ca3b1a14d68001cde315b83509cc', class: "label", part: "nti__input-label" }, "Time slot interval."), defaultSelectedInterval?.label && (index$1.h("select-dropdown", { name: "interval-minutes", options: intervalPreferenceOptions, withSearch: false, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: defaultSelectedInterval })), index$1.h("span", { key: '505093bca858fd24188db043fda5e3036a474d7d', slot: "label", class: "label", part: "nti__input-label" }, "Time slot rounding type", index$1.h("tooltip-component", { key: '9b63c319d79fb926da222939aea8c38600c5c70e' }, index$1.h("info-icon", { key: 'a3f1ed080e6508c02cc150d9252d40eae1adb1ac', slot: "tooltip-icon" }), index$1.h("span", { key: '4690a7089fb68e0f119f3efc583a55a8dbff0b88', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), this.componentLoaded && (index$1.h("radio-button-group", { name: "interval-preference", defaultSelectedValue: this.selectedRoundTo ? 'rounding' : 'no-rounding', options: [
|
|
8461
8842
|
{ value: 'no-rounding', label: 'Default', description: 'Time slots will be rounded to the nearest quarter-hour.' },
|
|
8462
8843
|
{
|
|
8463
8844
|
value: 'rounding',
|
|
@@ -8485,8 +8866,8 @@ __decorate([
|
|
|
8485
8866
|
], NylasTimeslotInterval.prototype, "render", null);
|
|
8486
8867
|
NylasTimeslotInterval.style = NylasTimeslotIntervalStyle0;
|
|
8487
8868
|
|
|
8488
|
-
const iconCss$
|
|
8489
|
-
const PaintbrushFillIconStyle0 = iconCss$
|
|
8869
|
+
const iconCss$4 = ".sc-paintbrush-fill-icon-h{display:flex}";
|
|
8870
|
+
const PaintbrushFillIconStyle0 = iconCss$4;
|
|
8490
8871
|
|
|
8491
8872
|
const PaintbrushFillIcon = class {
|
|
8492
8873
|
constructor(hostRef) {
|
|
@@ -8495,13 +8876,13 @@ const PaintbrushFillIcon = class {
|
|
|
8495
8876
|
this.height = '13';
|
|
8496
8877
|
}
|
|
8497
8878
|
render() {
|
|
8498
|
-
return (index$1.h("svg", { key: '
|
|
8879
|
+
return (index$1.h("svg", { key: 'e4684ac3235a59975a67508b6a5019e70b1a3a5a', width: "16", height: "17", viewBox: "-3 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '00dee1b55784f1191d56a8c1b420f0076575a197', d: "M5 2.875V0.375H0.5C0.223858 0.375 0 0.598858 0 0.875V7.37585H10V0.875C10 0.598858 9.77614 0.375 9.5 0.375H8V3.87722C8 4.15337 7.77614 4.37722 7.5 4.37722C7.22386 4.37722 7 4.15337 7 3.87722V0.375H6V2.875C6 3.15114 5.77614 3.375 5.5 3.375C5.22386 3.375 5 3.15114 5 2.875ZM10 8.37585H0V9.37938C0 10.4839 0.895431 11.3794 2 11.3794H3.5V14.8767C3.5 15.7051 4.17157 16.3767 5 16.3767C5.82843 16.3767 6.5 15.7051 6.5 14.8767V11.3794H8C9.10457 11.3794 10 10.4839 10 9.37938V8.37585Z", fill: "currentColor" })));
|
|
8499
8880
|
}
|
|
8500
8881
|
};
|
|
8501
8882
|
PaintbrushFillIcon.style = PaintbrushFillIconStyle0;
|
|
8502
8883
|
|
|
8503
|
-
const iconCss$
|
|
8504
|
-
const PaintbrushIconStyle0 = iconCss$
|
|
8884
|
+
const iconCss$3 = ".sc-paintbrush-icon-h{display:flex}";
|
|
8885
|
+
const PaintbrushIconStyle0 = iconCss$3;
|
|
8505
8886
|
|
|
8506
8887
|
const PaintbrushIcon = class {
|
|
8507
8888
|
constructor(hostRef) {
|
|
@@ -8510,13 +8891,13 @@ const PaintbrushIcon = class {
|
|
|
8510
8891
|
this.height = '13';
|
|
8511
8892
|
}
|
|
8512
8893
|
render() {
|
|
8513
|
-
return (index$1.h("svg", { key: '
|
|
8894
|
+
return (index$1.h("svg", { key: '8ed14deda237ca56daa7b7cfd55788700ecf8614', width: "16", height: "16", viewBox: "-3 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '5100cb1d8fba90615962e57facfd3361cd31f4e5', d: "M0.5 -0.000976562C0.223858 -0.000976562 0 0.222881 0 0.499023L1.90735e-05 9.00337C1.90735e-05 10.1079 0.89545 11.0034 2.00002 11.0034H3.00411V14.0007C3.00411 15.1053 3.89954 16.0007 5.00411 16.0007C6.10868 16.0007 7.00411 15.1053 7.00411 14.0007V11.0034H8.00002C9.10459 11.0034 10 10.1079 10 9.00337V7.50339L10 7.49897V0.499023C10 0.222881 9.77614 -0.000976562 9.5 -0.000976562H0.5ZM1.00002 8.00342H9.00002V9.00337C9.00002 9.55566 8.5523 10.0034 8.00002 10.0034H6.50411C6.22797 10.0034 6.00411 10.2272 6.00411 10.5034V14.0007C6.00411 14.553 5.5564 15.0007 5.00411 15.0007C4.45183 15.0007 4.00411 14.553 4.00411 14.0007V10.5034C4.00411 10.2272 3.78026 10.0034 3.50411 10.0034H2.00002C1.44773 10.0034 1.00002 9.55566 1.00002 9.00337V8.00342ZM9 7.00339H1V0.999023H5V2.49902C5 2.77517 5.22386 2.99902 5.5 2.99902C5.77614 2.99902 6 2.77517 6 2.49902V0.999023H7V3.50122C7 3.77736 7.22386 4.00122 7.5 4.00122C7.77614 4.00122 8 3.77736 8 3.50122V0.999023H9V7.00339Z", fill: "currentColor" })));
|
|
8514
8895
|
}
|
|
8515
8896
|
};
|
|
8516
8897
|
PaintbrushIcon.style = PaintbrushIconStyle0;
|
|
8517
8898
|
|
|
8518
|
-
const iconCss$
|
|
8519
|
-
const PeopleIconStyle0 = iconCss$
|
|
8899
|
+
const iconCss$2 = ".sc-people-icon-h{display:flex}";
|
|
8900
|
+
const PeopleIconStyle0 = iconCss$2;
|
|
8520
8901
|
|
|
8521
8902
|
const PeopleIcon = class {
|
|
8522
8903
|
constructor(hostRef) {
|
|
@@ -8525,7 +8906,7 @@ const PeopleIcon = class {
|
|
|
8525
8906
|
this.height = '20';
|
|
8526
8907
|
}
|
|
8527
8908
|
render() {
|
|
8528
|
-
return (index$1.h("svg", { key: '
|
|
8909
|
+
return (index$1.h("svg", { key: 'e7e23abad1ff011b5e2d8931755a605179586351', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, index$1.h("path", { key: '3ddb5e0a172b339cd8d33c3ae95fda09c0edd3bb', fill: "currentColor", d: "M11 10a2 2 0 0 1 2 2v1.5c0 2.054-2.088 3.5-5.5 3.5S2 15.554 2 13.5V12a2 2 0 0 1 2-2h7Zm0 1H4a1 1 0 0 0-1 1v1.5C3 14.907 4.579 16 7.5 16c2.921 0 4.5-1.093 4.5-2.5V12a1 1 0 0 0-1-1Zm5-1a2 2 0 0 1 2 2v.5c0 2.089-1.568 3.5-4.5 3.5-.141 0-.28-.003-.414-.01.208-.242.382-.502.522-.781l.097-.213h.039C15.976 14.931 17 13.96 17 12.5V12a1 1 0 0 0-1-1h-2.171a3 3 0 0 0-.594-1H16ZM7.5 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm7 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm-7-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm7 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z" })));
|
|
8529
8910
|
}
|
|
8530
8911
|
};
|
|
8531
8912
|
PeopleIcon.style = PeopleIconStyle0;
|
|
@@ -8554,11 +8935,26 @@ const ToggleSwitchComponent = class {
|
|
|
8554
8935
|
});
|
|
8555
8936
|
}
|
|
8556
8937
|
render() {
|
|
8557
|
-
return (index$1.h("label", { key: '
|
|
8938
|
+
return (index$1.h("label", { key: '7d74c0f5a452c3261e1cdd897a5092697a6782bb', class: "switch", part: "ts_label" }, index$1.h("input", { key: '80f5740b7e4a7af96b95648dd556b50c0537b505', type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), index$1.h("div", { key: '5176ee85b2fd72586ae6faf41e84c2ef60598f32', class: "slider round", part: "ts_slider" })));
|
|
8558
8939
|
}
|
|
8559
8940
|
};
|
|
8560
8941
|
ToggleSwitchComponent.style = ToggleSwitchStyle0;
|
|
8561
8942
|
|
|
8943
|
+
const iconCss$1 = ".sc-trash-icon-h{display:flex}";
|
|
8944
|
+
const TrashIconStyle0 = iconCss$1;
|
|
8945
|
+
|
|
8946
|
+
const TrashIcon = class {
|
|
8947
|
+
constructor(hostRef) {
|
|
8948
|
+
index$1.registerInstance(this, hostRef);
|
|
8949
|
+
this.width = '20';
|
|
8950
|
+
this.height = '21';
|
|
8951
|
+
}
|
|
8952
|
+
render() {
|
|
8953
|
+
return (index$1.h("svg", { key: '996def7abb49e7006b1982be54b9a7a0da6fb27f', width: this.width, height: this.height, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: '85f12d3be93cba4337ddf2fc99d89c80dbf6008c', d: "M10 0.25C11.733 0.25 13.1492 1.60645 13.2449 3.31558L13.25 3.5H18.5C18.9142 3.5 19.25 3.83579 19.25 4.25C19.25 4.6297 18.9678 4.94349 18.6018 4.99315L18.5 5H17.704L16.4239 18.0192C16.2912 19.3683 15.1984 20.41 13.8626 20.4945L13.6871 20.5H6.31293C4.95734 20.5 3.81365 19.5145 3.59883 18.1934L3.57614 18.0192L2.295 5H1.5C1.1203 5 0.806509 4.71785 0.756847 4.35177L0.75 4.25C0.75 3.8703 1.03215 3.55651 1.39823 3.50685L1.5 3.5H6.75C6.75 1.70507 8.20507 0.25 10 0.25ZM16.197 5H3.802L5.06893 17.8724C5.12768 18.4696 5.60033 18.9343 6.18585 18.9936L6.31293 19H13.6871C14.2872 19 14.7959 18.5751 14.9123 17.9982L14.9311 17.8724L16.197 5ZM11.75 7.75C12.1297 7.75 12.4435 8.03215 12.4932 8.39823L12.5 8.5V15.5C12.5 15.9142 12.1642 16.25 11.75 16.25C11.3703 16.25 11.0565 15.9678 11.0068 15.6018L11 15.5V8.5C11 8.08579 11.3358 7.75 11.75 7.75ZM8.25 7.75C8.6297 7.75 8.94349 8.03215 8.99315 8.39823L9 8.5V15.5C9 15.9142 8.66421 16.25 8.25 16.25C7.8703 16.25 7.55651 15.9678 7.50685 15.6018L7.5 15.5V8.5C7.5 8.08579 7.83579 7.75 8.25 7.75ZM10 1.75C9.08183 1.75 8.32881 2.45711 8.2558 3.35647L8.25 3.5H11.75C11.75 2.5335 10.9665 1.75 10 1.75Z", fill: "currentColor" })));
|
|
8954
|
+
}
|
|
8955
|
+
};
|
|
8956
|
+
TrashIcon.style = TrashIconStyle0;
|
|
8957
|
+
|
|
8562
8958
|
const iconCss = ".sc-zoom-icon-h{display:flex}";
|
|
8563
8959
|
const ZoomIconStyle0 = iconCss;
|
|
8564
8960
|
|
|
@@ -8569,7 +8965,7 @@ const ZoomIcon = class {
|
|
|
8569
8965
|
this.height = '20';
|
|
8570
8966
|
}
|
|
8571
8967
|
render() {
|
|
8572
|
-
return (index$1.h("svg", { key: '
|
|
8968
|
+
return (index$1.h("svg", { key: '9789a9930b484f5094660e3b26ca8597a9b98079', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index$1.h("path", { key: 'a6c4d6c5d01a39cf9f302982b9d59e20ef8dd4fe', d: "M19.7495 6.85792C19.2077 3.4745 16.5255 0.792345 13.1421 0.250451C12.1175 0.0865155 11.0702 0 10 0C8.92992 0 7.88256 0.0865155 6.85797 0.250451C3.47453 0.792345 0.792373 3.4745 0.250478 6.85792C0.0865433 7.87796 0 8.92987 0 10C0 11.0701 0.0865433 12.1175 0.250478 13.1421C0.792373 16.5255 3.47453 19.2077 6.85797 19.7495C7.88256 19.9135 8.92992 20 10 20C11.0702 20 12.1175 19.9135 13.1421 19.7495C16.5255 19.2077 19.2077 16.5255 19.7495 13.1421C19.9135 12.122 20 11.0701 20 10C20 8.92987 19.9135 7.88251 19.7495 6.85792Z", fill: "url(#paint0_linear_22_6272)" }), index$1.h("path", { key: '8a1742b847a85d297382072fa1344e261236b2c7', d: "M12.154 12.1676C12.154 12.7596 11.6759 13.2377 11.0839 13.2377H6.42995C5.24598 13.2377 4.28516 12.2769 4.28516 11.0929V7.87794C4.28516 7.28596 4.76328 6.80786 5.35527 6.80786H10.0092C11.1932 6.80786 12.154 7.7687 12.154 8.95267V12.1676ZM14.8589 7.09475L13.2879 8.27412C13.0193 8.47448 12.8598 8.79324 12.8598 9.13022V10.9153C12.8598 11.2523 13.0193 11.5711 13.2879 11.7714L14.8589 12.9508C15.2141 13.2149 15.715 12.9645 15.715 12.5228V7.5228C15.715 7.08109 15.2096 6.83063 14.8589 7.09475Z", fill: "white" }), index$1.h("defs", { key: 'be2e9962bb2dec55076c7b323ad5b1140ef9283b' }, index$1.h("linearGradient", { key: '7d273efb34a3a13abd745023ff924b1dbd87be37', id: "paint0_linear_22_6272", x1: "10", y1: "19.9954", x2: "10", y2: "-0.00455379", gradientUnits: "userSpaceOnUse" }, index$1.h("stop", { key: '841a9fc4ea78d5507cd19a581573c8cf86fb443a', "stop-color": "#003FAE" }), index$1.h("stop", { key: '84c1e64fa2dcdf8bc3c532db4d67bcda557c6a50', offset: "0.02", "stop-color": "#0142B7" }), index$1.h("stop", { key: 'c5fccfcd3460597ba44aea510048970b5ea750bf', offset: "0.09", "stop-color": "#044BD1" }), index$1.h("stop", { key: '08b1ebe7800ae3e1da23755119f3411693ab22ab', offset: "0.16", "stop-color": "#0752E5" }), index$1.h("stop", { key: '16c3bc399028a8377c06c6e1b4cf1680717ef464', offset: "0.24", "stop-color": "#0958F4" }), index$1.h("stop", { key: 'c5938a655523d730914af0f13eebd1d51527cab8', offset: "0.34", "stop-color": "#0A5BFC" }), index$1.h("stop", { key: 'c3ec1966b6d7602465a59c2b5db40ad4738cfc0b', offset: "0.5", "stop-color": "#0B5CFF" })))));
|
|
8573
8969
|
}
|
|
8574
8970
|
};
|
|
8575
8971
|
ZoomIcon.style = ZoomIconStyle0;
|
|
@@ -8618,12 +9014,15 @@ exports.nylas_page_name = NylasPageName;
|
|
|
8618
9014
|
exports.nylas_page_styling = NylasPageStyling;
|
|
8619
9015
|
exports.nylas_participant_booking_calendars = NylasParticipantBookingCalendars;
|
|
8620
9016
|
exports.nylas_participants_custom_availability = NylasParticipantsCustomAvailability;
|
|
9017
|
+
exports.nylas_reminder_emails = NylasReminderEmails;
|
|
9018
|
+
exports.nylas_reminder_time = NylasReminderTime;
|
|
8621
9019
|
exports.nylas_scheduling_method = NylasSchedulingMethod;
|
|
8622
9020
|
exports.nylas_timeslot_interval = NylasTimeslotInterval;
|
|
8623
9021
|
exports.paintbrush_fill_icon = PaintbrushFillIcon;
|
|
8624
9022
|
exports.paintbrush_icon = PaintbrushIcon;
|
|
8625
9023
|
exports.people_icon = PeopleIcon;
|
|
8626
9024
|
exports.toggle_switch = ToggleSwitchComponent;
|
|
9025
|
+
exports.trash_icon = TrashIcon;
|
|
8627
9026
|
exports.zoom_icon = ZoomIcon;
|
|
8628
9027
|
|
|
8629
|
-
//# sourceMappingURL=calendar-agenda-fill-
|
|
9028
|
+
//# sourceMappingURL=calendar-agenda-fill-icon_54.cjs.entry.js.map
|