@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
package/dist/esm/{calendar-agenda-fill-icon_51.entry.js → calendar-agenda-fill-icon_54.entry.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent, H as Host, a as getElement } from './index-7cb0dd3d.js';
|
|
2
2
|
import { R as RegisterComponent } from './register-component-3444af44.js';
|
|
3
3
|
import { a as debug, y as isValidImage, z as timeToMinutes, A as convertTo12HourFormat, C as convertTo24HourFormat, D as minutesToTime, E as isValidUrl, n as sanitize, F as checkForMissingSlots, G as getBrowser, H as isNonPrintableKey, i as instance } from './utils-6e17bc66.js';
|
|
4
|
-
import { T as TIMEZONE_MAP, D as DEFAULT_OPEN_HOURS,
|
|
4
|
+
import { T as TIMEZONE_MAP, D as DEFAULT_OPEN_HOURS, c as DEFAULT_FORM_FIELD_TYPES, F as FIELD_TYPES, P as PROVIDER_CONFERENCE_MAP, C as CONFERENCE_PROVIDER_MAP, E as EVENT_TITLE_TOKENS, R as REMINDER_MINUTE_OPTIONS, d as REMINDER_HOUR_OPTIONS, e as REMINDER_DAY_OPTIONS } from './constants-c549b12b.js';
|
|
5
5
|
|
|
6
|
-
const iconCss$
|
|
7
|
-
const CalendarAgendaFillIconStyle0 = iconCss$
|
|
6
|
+
const iconCss$j = ".sc-calendar-agenda-fill-icon-h{display:flex}";
|
|
7
|
+
const CalendarAgendaFillIconStyle0 = iconCss$j;
|
|
8
8
|
|
|
9
9
|
const CalendarAgendaFillIcon = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -13,13 +13,13 @@ const CalendarAgendaFillIcon = class {
|
|
|
13
13
|
this.height = '20';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("svg", { key: '
|
|
16
|
+
return (h("svg", { key: 'a275ba280fae8412c15b1fd1034e488be4cb2d27', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
CalendarAgendaFillIcon.style = CalendarAgendaFillIconStyle0;
|
|
20
20
|
|
|
21
|
-
const iconCss$
|
|
22
|
-
const CalendarAgendaIconStyle0 = iconCss$
|
|
21
|
+
const iconCss$i = ".sc-calendar-agenda-icon-h{display:flex}";
|
|
22
|
+
const CalendarAgendaIconStyle0 = iconCss$i;
|
|
23
23
|
|
|
24
24
|
const CalendarAgendaIcon = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -28,13 +28,13 @@ const CalendarAgendaIcon = class {
|
|
|
28
28
|
this.height = '20';
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h("svg", { key: '
|
|
31
|
+
return (h("svg", { key: '9e7bcafa585dc17975a1793711df835ca7d8d9c1', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
CalendarAgendaIcon.style = CalendarAgendaIconStyle0;
|
|
35
35
|
|
|
36
|
-
const iconCss$
|
|
37
|
-
const CalendarInfoIconStyle0 = iconCss$
|
|
36
|
+
const iconCss$h = ".sc-calendar-info-icon-h{display:flex}";
|
|
37
|
+
const CalendarInfoIconStyle0 = iconCss$h;
|
|
38
38
|
|
|
39
39
|
const CalendarInfoIcon = class {
|
|
40
40
|
constructor(hostRef) {
|
|
@@ -43,13 +43,13 @@ const CalendarInfoIcon = class {
|
|
|
43
43
|
this.height = '20';
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("svg", { key: '
|
|
46
|
+
return (h("svg", { key: '7ff2928e9a5dd1d9f96b869c4f8f45810117d55f', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
CalendarInfoIcon.style = CalendarInfoIconStyle0;
|
|
50
50
|
|
|
51
|
-
const iconCss$
|
|
52
|
-
const CalendarPatternsIconStyle0 = iconCss$
|
|
51
|
+
const iconCss$g = ".sc-calendar-patterns-icon-h{display:flex}";
|
|
52
|
+
const CalendarPatternsIconStyle0 = iconCss$g;
|
|
53
53
|
|
|
54
54
|
const CalendarPatternsIcon = class {
|
|
55
55
|
constructor(hostRef) {
|
|
@@ -58,13 +58,13 @@ const CalendarPatternsIcon = class {
|
|
|
58
58
|
this.height = '20';
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h("svg", { key: '
|
|
61
|
+
return (h("svg", { key: '8d830ffc53fbe073dddec56cf7819f1738539f22', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
CalendarPatternsIcon.style = CalendarPatternsIconStyle0;
|
|
65
65
|
|
|
66
|
-
const iconCss$
|
|
67
|
-
const CheckmarkIconStyle0 = iconCss$
|
|
66
|
+
const iconCss$f = ".sc-checkmark-icon-h{display:flex}";
|
|
67
|
+
const CheckmarkIconStyle0 = iconCss$f;
|
|
68
68
|
|
|
69
69
|
const CheckmarkIcon = class {
|
|
70
70
|
constructor(hostRef) {
|
|
@@ -73,13 +73,13 @@ const CheckmarkIcon = class {
|
|
|
73
73
|
this.height = '14';
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h("svg", { key: '
|
|
76
|
+
return (h("svg", { key: '49ad9466fa210919af89c80d546cf2a846b84d49', width: this.width, height: this.height, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
CheckmarkIcon.style = CheckmarkIconStyle0;
|
|
80
80
|
|
|
81
|
-
const iconCss$
|
|
82
|
-
const DragableIconStyle0 = iconCss$
|
|
81
|
+
const iconCss$e = ".sc-dragable-icon-h{display:flex}";
|
|
82
|
+
const DragableIconStyle0 = iconCss$e;
|
|
83
83
|
|
|
84
84
|
const DragableIcon = class {
|
|
85
85
|
constructor(hostRef) {
|
|
@@ -88,13 +88,13 @@ const DragableIcon = class {
|
|
|
88
88
|
this.height = '20';
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h("svg", { key: '
|
|
91
|
+
return (h("svg", { key: 'eafe936e1e9cc4c5b877fdf8329f0092055d3b12', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
DragableIcon.style = DragableIconStyle0;
|
|
95
95
|
|
|
96
|
-
const iconCss$
|
|
97
|
-
const EnvelopeFillIconStyle0 = iconCss$
|
|
96
|
+
const iconCss$d = ".sc-envelope-fill-icon-h{display:flex}";
|
|
97
|
+
const EnvelopeFillIconStyle0 = iconCss$d;
|
|
98
98
|
|
|
99
99
|
const EnvelopeFillIcon = class {
|
|
100
100
|
constructor(hostRef) {
|
|
@@ -103,13 +103,13 @@ const EnvelopeFillIcon = class {
|
|
|
103
103
|
this.height = '13';
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h("svg", { key: '
|
|
106
|
+
return (h("svg", { key: 'deb9b906ee52d7698b1b2acd3edec06c8cb4a2e1', width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
EnvelopeFillIcon.style = EnvelopeFillIconStyle0;
|
|
110
110
|
|
|
111
|
-
const iconCss$
|
|
112
|
-
const EnvelopeIconStyle0 = iconCss$
|
|
111
|
+
const iconCss$c = ".sc-envelope-icon-h{display:flex}";
|
|
112
|
+
const EnvelopeIconStyle0 = iconCss$c;
|
|
113
113
|
|
|
114
114
|
const EnvelopeIcon = class {
|
|
115
115
|
constructor(hostRef) {
|
|
@@ -118,13 +118,13 @@ const EnvelopeIcon = class {
|
|
|
118
118
|
this.height = '13';
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h("svg", { key: '
|
|
121
|
+
return (h("svg", { key: '73122f7a719952a557845096eaf5d47960f1f684', width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
EnvelopeIcon.style = EnvelopeIconStyle0;
|
|
125
125
|
|
|
126
|
-
const iconCss$
|
|
127
|
-
const EyeIconStyle0 = iconCss$
|
|
126
|
+
const iconCss$b = ".sc-eye-icon-h{display:flex}";
|
|
127
|
+
const EyeIconStyle0 = iconCss$b;
|
|
128
128
|
|
|
129
129
|
const EyeIcon = class {
|
|
130
130
|
constructor(hostRef) {
|
|
@@ -133,13 +133,13 @@ const EyeIcon = class {
|
|
|
133
133
|
this.height = '10';
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h("svg", { key: '
|
|
136
|
+
return (h("svg", { key: 'b6e4ef2a9e507d094def976df8d6f61e419881d8', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
EyeIcon.style = EyeIconStyle0;
|
|
140
140
|
|
|
141
|
-
const iconCss$
|
|
142
|
-
const FeedbackIconStyle0 = iconCss$
|
|
141
|
+
const iconCss$a = ".sc-feedback-icon-h{display:flex}";
|
|
142
|
+
const FeedbackIconStyle0 = iconCss$a;
|
|
143
143
|
|
|
144
144
|
const FeedbackIcon = class {
|
|
145
145
|
constructor(hostRef) {
|
|
@@ -148,13 +148,13 @@ const FeedbackIcon = class {
|
|
|
148
148
|
this.height = '14';
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
|
-
return (h("svg", { key: '
|
|
151
|
+
return (h("svg", { key: 'fc5d4aa6d299768c11f13c54218eaf28a45c97df', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
FeedbackIcon.style = FeedbackIconStyle0;
|
|
155
155
|
|
|
156
|
-
const iconCss$
|
|
157
|
-
const FlowIconStyle0 = iconCss$
|
|
156
|
+
const iconCss$9 = ".sc-flow-icon-h{display:flex}";
|
|
157
|
+
const FlowIconStyle0 = iconCss$9;
|
|
158
158
|
|
|
159
159
|
const FlowIcon = class {
|
|
160
160
|
constructor(hostRef) {
|
|
@@ -163,13 +163,13 @@ const FlowIcon = class {
|
|
|
163
163
|
this.height = '12';
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
|
-
return (h("svg", { key: '
|
|
166
|
+
return (h("svg", { key: 'c6782480f25c3598e585303021c510ec90f8de26', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
FlowIcon.style = FlowIconStyle0;
|
|
170
170
|
|
|
171
|
-
const iconCss$
|
|
172
|
-
const GoogleMeetIconStyle0 = iconCss$
|
|
171
|
+
const iconCss$8 = ".sc-google-meet-icon-h{display:flex}";
|
|
172
|
+
const GoogleMeetIconStyle0 = iconCss$8;
|
|
173
173
|
|
|
174
174
|
const GoogleMeetIcon$1 = class {
|
|
175
175
|
constructor(hostRef) {
|
|
@@ -178,7 +178,7 @@ const GoogleMeetIcon$1 = class {
|
|
|
178
178
|
this.height = '20';
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h("svg", { key: '
|
|
181
|
+
return (h("svg", { key: 'b68e005c64b1deb85367e52afa53a3583420d6fc', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'c107fef0d62794b094d8096789b20ef66ad2f66d', "clip-path": "url(#clip0_22_6251)" }, 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" }), 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" }), 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" }), h("path", { key: '4441dc496cbe7317883740d0aa3469261bd7330f', d: "M4.68571 6.56067H0V13.6464H4.68571V6.56067Z", fill: "#2684FC" }), 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" }), 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" })), h("defs", { key: '6efd6aace86d9b576642ef44fbb27c73f7b14057' }, h("clipPath", { key: '79f87c29c41836a9ee2319f66c86ec19e6d1d329', id: "clip0_22_6251" }, h("rect", { key: '6d872b34ea312c8378c0762f342ea55d7d1b87ae', width: "20", height: "20", fill: "white" })))));
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
GoogleMeetIcon$1.style = GoogleMeetIconStyle0;
|
|
@@ -186,7 +186,7 @@ GoogleMeetIcon$1.style = GoogleMeetIconStyle0;
|
|
|
186
186
|
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}";
|
|
187
187
|
const InputImageUrlStyle0 = inputImageUrlCss;
|
|
188
188
|
|
|
189
|
-
var __decorate$
|
|
189
|
+
var __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
190
190
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
191
191
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
192
192
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -196,7 +196,7 @@ var __decorate$u = (undefined && undefined.__decorate) || function (decorators,
|
|
|
196
196
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
197
197
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
198
198
|
};
|
|
199
|
-
var __metadata$
|
|
199
|
+
var __metadata$w = (undefined && undefined.__metadata) || function (k, v) {
|
|
200
200
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
201
201
|
return Reflect.metadata(k, v);
|
|
202
202
|
};
|
|
@@ -276,7 +276,7 @@ const InputImageUrl = class {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
render() {
|
|
279
|
-
return (h(Host, { key: '
|
|
279
|
+
return (h(Host, { key: '37ae40e1bc1eadb1d66f68b26e66b9b0046752b0' }, h("div", { key: 'fe6024927698ba0d41e4875d0f190cf610afe7d7', class: "logo-container" }, h("div", { key: 'b61b97fb4a518e68773304eaa55833104bc246c8', class: "input-container" }, 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 && h("span", { class: "error-message" }, this.errorMessage)), this.currentImageUrl && !this.errorMessage && (h("div", { class: "logo" }, h("img", { src: this.currentImageUrl, alt: "Logo" }))))));
|
|
280
280
|
}
|
|
281
281
|
static get formAssociated() { return true; }
|
|
282
282
|
get host() { return getElement(this); }
|
|
@@ -284,7 +284,7 @@ const InputImageUrl = class {
|
|
|
284
284
|
"name": ["elementNameChangedHandler"]
|
|
285
285
|
}; }
|
|
286
286
|
};
|
|
287
|
-
__decorate$
|
|
287
|
+
__decorate$w([
|
|
288
288
|
RegisterComponent({
|
|
289
289
|
name: 'nylas-image-input',
|
|
290
290
|
eventToProps: {
|
|
@@ -296,14 +296,14 @@ __decorate$u([
|
|
|
296
296
|
},
|
|
297
297
|
},
|
|
298
298
|
}),
|
|
299
|
-
__metadata$
|
|
300
|
-
__metadata$
|
|
301
|
-
__metadata$
|
|
299
|
+
__metadata$w("design:type", Function),
|
|
300
|
+
__metadata$w("design:paramtypes", []),
|
|
301
|
+
__metadata$w("design:returntype", void 0)
|
|
302
302
|
], InputImageUrl.prototype, "render", null);
|
|
303
303
|
InputImageUrl.style = InputImageUrlStyle0;
|
|
304
304
|
|
|
305
|
-
const iconCss$
|
|
306
|
-
const LocationIconStyle0 = iconCss$
|
|
305
|
+
const iconCss$7 = ".sc-location-icon-h{display:flex}";
|
|
306
|
+
const LocationIconStyle0 = iconCss$7;
|
|
307
307
|
|
|
308
308
|
const LocationIcon = class {
|
|
309
309
|
constructor(hostRef) {
|
|
@@ -312,13 +312,13 @@ const LocationIcon = class {
|
|
|
312
312
|
this.height = '18';
|
|
313
313
|
}
|
|
314
314
|
render() {
|
|
315
|
-
return (h("svg", { key: '
|
|
315
|
+
return (h("svg", { key: '41c6752fb26ae7aa42d7bdfbadc16c2869e37d03', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
LocationIcon.style = LocationIconStyle0;
|
|
319
319
|
|
|
320
|
-
const iconCss$
|
|
321
|
-
const LocationOffIconStyle0 = iconCss$
|
|
320
|
+
const iconCss$6 = ".sc-location-off-icon-h{display:flex}";
|
|
321
|
+
const LocationOffIconStyle0 = iconCss$6;
|
|
322
322
|
|
|
323
323
|
const LocationOffIcon = class {
|
|
324
324
|
constructor(hostRef) {
|
|
@@ -327,13 +327,13 @@ const LocationOffIcon = class {
|
|
|
327
327
|
this.height = '18';
|
|
328
328
|
}
|
|
329
329
|
render() {
|
|
330
|
-
return (h("svg", { key: '
|
|
330
|
+
return (h("svg", { key: '63a6c285582208662ae8307e37621e96a22ce5f3', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
LocationOffIcon.style = LocationOffIconStyle0;
|
|
334
334
|
|
|
335
|
-
const iconCss$
|
|
336
|
-
const MicrosoftTeamsIconStyle0 = iconCss$
|
|
335
|
+
const iconCss$5 = ".sc-microsoft-teams-icon-h{display:flex}";
|
|
336
|
+
const MicrosoftTeamsIconStyle0 = iconCss$5;
|
|
337
337
|
|
|
338
338
|
const GoogleMeetIcon = class {
|
|
339
339
|
constructor(hostRef) {
|
|
@@ -342,7 +342,7 @@ const GoogleMeetIcon = class {
|
|
|
342
342
|
this.height = '20';
|
|
343
343
|
}
|
|
344
344
|
render() {
|
|
345
|
-
return (h("svg", { key: '
|
|
345
|
+
return (h("svg", { key: '43015b1429d29b0ce4d72d6efa983cf972200345', width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '181d622e54dd6034328a3e2969d2c7435e0fe47c', "clip-path": "url(#clip0_22_6280)" }, 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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)" }), h("path", { key: 'cd2d8e75fa6bbb92b70006a507bd8447c5cbf7a7', d: "M7.12025 8.05659H5.4156V12.6985H4.32956V8.05659H2.63281V7.15613H7.12025V8.05659Z", fill: "white" })), h("defs", { key: '1b9552dc22885c57462fd2ae8b4c26dc2c79d92d' }, h("linearGradient", { key: 'ea753705cbbdb91c51fc04a167b6afd3f41d41d9', id: "paint0_linear_22_6280", x1: "1.53835", y1: "4.14486", x2: "8.2157", y2: "15.7098", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '8390ae19866ffe03bd03d5b9b0a3a33fb2277e62', "stop-color": "#5A62C3" }), h("stop", { key: '80dd7a6a24bf2e42aac98ce40442501ab4e2395c', offset: "0.5", "stop-color": "#4D55BD" }), h("stop", { key: '59b6e034bc93cabef37a02ae9f4f16dfa957f8a7', offset: "1", "stop-color": "#3940AB" })), h("clipPath", { key: '124d7ccc8361f874fa3042ad4657900b9a3b3a4c', id: "clip0_22_6280" }, h("rect", { key: '2d92a7a7313625c8a8684630a25bb506bfb17a54', width: "20", height: "20", fill: "white" })))));
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
@@ -350,7 +350,7 @@ GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
|
350
350
|
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)}";
|
|
351
351
|
const NylasAdditionalParticipantsStyle0 = nylasAdditionalParticipantsCss;
|
|
352
352
|
|
|
353
|
-
var __decorate$
|
|
353
|
+
var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
354
354
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
355
355
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
356
356
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -360,7 +360,7 @@ var __decorate$t = (undefined && undefined.__decorate) || function (decorators,
|
|
|
360
360
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
361
361
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
362
362
|
};
|
|
363
|
-
var __metadata$
|
|
363
|
+
var __metadata$v = (undefined && undefined.__metadata) || function (k, v) {
|
|
364
364
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
365
365
|
return Reflect.metadata(k, v);
|
|
366
366
|
};
|
|
@@ -375,11 +375,11 @@ const NylasAdditionalParticipants = class {
|
|
|
375
375
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
376
376
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
377
377
|
}
|
|
378
|
+
this.name = 'participants';
|
|
378
379
|
this.selectedConfiguration = undefined;
|
|
379
380
|
this.currentUser = undefined;
|
|
380
|
-
this.name = 'participants';
|
|
381
|
-
this.eventParticipants = undefined;
|
|
382
381
|
this.participantOptions = undefined;
|
|
382
|
+
this.eventParticipants = undefined;
|
|
383
383
|
this.participants = this.eventParticipants ?? [];
|
|
384
384
|
this.participantErrors = {};
|
|
385
385
|
this.includeOrganizerAsParticipant = true;
|
|
@@ -506,7 +506,7 @@ const NylasAdditionalParticipants = class {
|
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
render() {
|
|
509
|
-
return (h(Host, { key: '
|
|
509
|
+
return (h(Host, { key: 'a090033dc7d7915ca65100fd1803d2430052b18a', part: "nap" }, h("nylas-form-card", { key: '19203e4c99690200b679943672f89e9d20bc62b5' }, h("h3", { key: '33fbde2341b42cb0529b95a06f80d6dea08ffc52', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), 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."), h("div", { key: 'bce67b77333c2db513463acaa952b51d933d43d9', slot: "content", class: "nylas-additional-participants__content" }, h("div", { key: '35e0bf36996f3daec1d41e1d8c74c636fb72307f' }, this.participants.map((participant, index) => {
|
|
510
510
|
return (h("div", { class: 'nylas-additional-participants__input_group', part: "nap__input_group" }, !participant.is_organizer && h("label", null, `Participant ${index}`), h("div", { part: "nap__input_wrapper", class: {
|
|
511
511
|
'nylas-additional-participants__input_wrapper': true,
|
|
512
512
|
'nylas-additional-participants__input_wrapper_organizer': participant?.is_organizer === true,
|
|
@@ -516,7 +516,7 @@ const NylasAdditionalParticipants = class {
|
|
|
516
516
|
this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant;
|
|
517
517
|
this.updateFormValue();
|
|
518
518
|
}, checked: this.includeOrganizerAsParticipant }), h("label", { htmlFor: `organizer_participant`, "aria-label": "Include as participant" }, "Participant", h("tooltip-component", { id: "organizer_participant_tooltip" }, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, h("strong", null, "Include Organizer:"), " The organizer (you) will be included in the round-robin rotation. ", h("br", null), h("strong", null, "Exclude Organizer:"), " The organizer (you) will not be included in the round-robin rotation."))))))) : (h("input-dropdown", { id: `${index}`, name: `${index}`, filterable: true, inputValue: participant.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) })), !participant.is_organizer && (h("button", { onClick: () => this.removeParticipant(index), part: "nap__remove-participant" }, h("close-icon", null))))), !participant.is_valid && (h("p", { class: "nylas-additional-participants__error", part: "nap__error" }, this.participantErrors[index]))));
|
|
519
|
-
}), h("p", { key: '
|
|
519
|
+
}), h("p", { key: '51f51ef0614cd93592fae8a32f501d0249b12c5a', class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), h("button", { key: '93605c6ce8fb6b77451ea0f8c06fb23134727c3f', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, h("add-circle-icon", { key: '8e6ac25f43f06ad3ee24047a1a7469b13c5a56c7' }), " ", h("span", { key: '511068fb28c498edba86706bef49dcad6633d249' }, "Add ", this.participants.length > 1 ? 'another' : 'a', " participant"))))));
|
|
520
520
|
}
|
|
521
521
|
static get formAssociated() { return true; }
|
|
522
522
|
get host() { return getElement(this); }
|
|
@@ -525,7 +525,7 @@ const NylasAdditionalParticipants = class {
|
|
|
525
525
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
526
526
|
}; }
|
|
527
527
|
};
|
|
528
|
-
__decorate$
|
|
528
|
+
__decorate$v([
|
|
529
529
|
RegisterComponent({
|
|
530
530
|
name: 'nylas-additional-participants',
|
|
531
531
|
stateToProps: new Map([
|
|
@@ -536,16 +536,16 @@ __decorate$t([
|
|
|
536
536
|
eventToProps: {},
|
|
537
537
|
fireRegisterEvent: true,
|
|
538
538
|
}),
|
|
539
|
-
__metadata$
|
|
540
|
-
__metadata$
|
|
541
|
-
__metadata$
|
|
539
|
+
__metadata$v("design:type", Function),
|
|
540
|
+
__metadata$v("design:paramtypes", []),
|
|
541
|
+
__metadata$v("design:returntype", void 0)
|
|
542
542
|
], NylasAdditionalParticipants.prototype, "render", null);
|
|
543
543
|
NylasAdditionalParticipants.style = NylasAdditionalParticipantsStyle0;
|
|
544
544
|
|
|
545
545
|
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}";
|
|
546
546
|
const NylasAvailabilityPickerStyle0 = nylasAvailabilityPickerCss;
|
|
547
547
|
|
|
548
|
-
var __decorate$
|
|
548
|
+
var __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
549
549
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
550
550
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
551
551
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -555,7 +555,7 @@ var __decorate$s = (undefined && undefined.__decorate) || function (decorators,
|
|
|
555
555
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
556
556
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
557
557
|
};
|
|
558
|
-
var __metadata$
|
|
558
|
+
var __metadata$u = (undefined && undefined.__metadata) || function (k, v) {
|
|
559
559
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
560
560
|
return Reflect.metadata(k, v);
|
|
561
561
|
};
|
|
@@ -570,9 +570,9 @@ const NylasAvailabilityPicker = class {
|
|
|
570
570
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
571
571
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
572
572
|
}
|
|
573
|
+
this.name = 'availability';
|
|
573
574
|
this.selectedConfiguration = undefined;
|
|
574
575
|
this.openHours = undefined;
|
|
575
|
-
this.name = 'availability';
|
|
576
576
|
this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
577
577
|
this.hideHeader = false;
|
|
578
578
|
this.schedule = {
|
|
@@ -593,7 +593,8 @@ const NylasAvailabilityPicker = class {
|
|
|
593
593
|
}
|
|
594
594
|
configChangedHandler(newConfig) {
|
|
595
595
|
const defaultOpenHours = newConfig?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS;
|
|
596
|
-
|
|
596
|
+
const defaultOpenHoursTimezone = newConfig?.event_booking?.timezone ?? this.defaultTimezone;
|
|
597
|
+
this.timezone = this.name === 'availability' ? defaultOpenHoursTimezone : this.defaultTimezone;
|
|
597
598
|
if (this.openHours) {
|
|
598
599
|
this.openHoursToSchedule(this.openHours);
|
|
599
600
|
}
|
|
@@ -857,7 +858,7 @@ const NylasAvailabilityPicker = class {
|
|
|
857
858
|
value: key,
|
|
858
859
|
}));
|
|
859
860
|
const selectedTimezoneOption = timezoneOptions.find(i => i.value === this.timezone);
|
|
860
|
-
return (h(Host, { key: '
|
|
861
|
+
return (h(Host, { key: 'd3456a3cbc918006617d5be20b0f43a3026c6c48' }, h("div", { key: '0a6701099f52e36ae38ecc5a58246c4447273a45', class: "nylas-availability-picker", part: "nap" }, !this.hideHeader && (h("div", { class: "header", part: "nap__header" }, h("h3", null, "Default open hours"), h("p", null, "Set when you're regularly available for event bookings.", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "This is the default availability for participants who don\u2019t have availability set on the Participants tab."))))), h("div", { key: '0ea45dac96d381a149c729e2eebcf4248b54b35a', class: "content" }, h("div", { key: '3f53bb214de33ba430be84d50705f0c488f41ccf', class: "select-timezone", part: "nap__select-timezone" }, h("h4", { key: '7537e3f475d324ca3ece17a3e14b9250d94ce3fe', class: "sub-header" }, "Select timezone"), selectedTimezoneOption?.label && (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 }, h("span", { slot: "select-icon" }, h("globe-icon", { width: "20", height: "20" }))))), h("div", { key: '63a7b4b8ec778d4d7e3f530c623aef491a8dec33', class: "availability", part: "nap__availability" }, Object.keys(this.schedule).map(key => {
|
|
861
862
|
const day = key;
|
|
862
863
|
const timeRanges = this.schedule[key];
|
|
863
864
|
return (h("div", { class: "availability-day" }, h("div", { class: "day", part: "nap__day" }, h("input", { type: "checkbox", name: day, id: day, checked: timeRanges.length > 0, onClick: () => {
|
|
@@ -884,22 +885,22 @@ const NylasAvailabilityPicker = class {
|
|
|
884
885
|
"schedule": ["scheduleChanged"]
|
|
885
886
|
}; }
|
|
886
887
|
};
|
|
887
|
-
__decorate$
|
|
888
|
+
__decorate$u([
|
|
888
889
|
RegisterComponent({
|
|
889
890
|
name: 'nylas-availability-picker',
|
|
890
891
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
891
892
|
fireRegisterEvent: true,
|
|
892
893
|
}),
|
|
893
|
-
__metadata$
|
|
894
|
-
__metadata$
|
|
895
|
-
__metadata$
|
|
894
|
+
__metadata$u("design:type", Function),
|
|
895
|
+
__metadata$u("design:paramtypes", []),
|
|
896
|
+
__metadata$u("design:returntype", void 0)
|
|
896
897
|
], NylasAvailabilityPicker.prototype, "render", null);
|
|
897
898
|
NylasAvailabilityPicker.style = NylasAvailabilityPickerStyle0;
|
|
898
899
|
|
|
899
900
|
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}";
|
|
900
901
|
const NylasBookingCalendarPickerStyle0 = nylasBookingCalendarPickerCss;
|
|
901
902
|
|
|
902
|
-
var __decorate$
|
|
903
|
+
var __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
903
904
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
904
905
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
905
906
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -909,7 +910,7 @@ var __decorate$r = (undefined && undefined.__decorate) || function (decorators,
|
|
|
909
910
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
910
911
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
911
912
|
};
|
|
912
|
-
var __metadata$
|
|
913
|
+
var __metadata$t = (undefined && undefined.__metadata) || function (k, v) {
|
|
913
914
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
914
915
|
return Reflect.metadata(k, v);
|
|
915
916
|
};
|
|
@@ -1003,7 +1004,7 @@ const NylasBookingCalendarPicker = class {
|
|
|
1003
1004
|
"currentUserCalendars": ["currentUserCalendarsChangedHandler"]
|
|
1004
1005
|
}; }
|
|
1005
1006
|
};
|
|
1006
|
-
__decorate$
|
|
1007
|
+
__decorate$t([
|
|
1007
1008
|
RegisterComponent({
|
|
1008
1009
|
name: 'nylas-booking-calendar-picker',
|
|
1009
1010
|
stateToProps: new Map([
|
|
@@ -1020,16 +1021,16 @@ __decorate$r([
|
|
|
1020
1021
|
},
|
|
1021
1022
|
fireRegisterEvent: true,
|
|
1022
1023
|
}),
|
|
1023
|
-
__metadata$
|
|
1024
|
-
__metadata$
|
|
1025
|
-
__metadata$
|
|
1024
|
+
__metadata$t("design:type", Function),
|
|
1025
|
+
__metadata$t("design:paramtypes", []),
|
|
1026
|
+
__metadata$t("design:returntype", void 0)
|
|
1026
1027
|
], NylasBookingCalendarPicker.prototype, "render", null);
|
|
1027
1028
|
NylasBookingCalendarPicker.style = NylasBookingCalendarPickerStyle0;
|
|
1028
1029
|
|
|
1029
1030
|
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)}";
|
|
1030
1031
|
const NylasBookingConfirmationRedirectStyle0 = nylasBookingConfirmationRedirectCss;
|
|
1031
1032
|
|
|
1032
|
-
var __decorate$
|
|
1033
|
+
var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1033
1034
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1034
1035
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1035
1036
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1039,7 +1040,7 @@ var __decorate$q = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1039
1040
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1040
1041
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1041
1042
|
};
|
|
1042
|
-
var __metadata$
|
|
1043
|
+
var __metadata$s = (undefined && undefined.__metadata) || function (k, v) {
|
|
1043
1044
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1044
1045
|
return Reflect.metadata(k, v);
|
|
1045
1046
|
};
|
|
@@ -1161,7 +1162,7 @@ const NylasBookingConfirmationRedirect = class {
|
|
|
1161
1162
|
value: 'custom',
|
|
1162
1163
|
},
|
|
1163
1164
|
];
|
|
1164
|
-
return (h(Host, { key: '
|
|
1165
|
+
return (h(Host, { key: '436a754406a25fe12caf7a1772d5fbd29d52cb5d' }, h("div", { key: 'ba1096207f67cd847eb78d7ae3847395d091bac0', class: "nylas-booking-confirmation-redirect", part: "nbcr" }, redirectOptions.length > 0 && (h("div", { class: "nylas-booking-confirmation-redirect__dropdown" }, h("span", { class: "label" }, "When a booking is confirmed", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "You can either display the default confirmation page or redirect users to your own confirmation page."))), this.componentLoaded && (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 && (h("div", null, 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 && h("span", { class: "error-message" }, this.redirectUrlErrorMessage))))))));
|
|
1165
1166
|
}
|
|
1166
1167
|
static get formAssociated() { return true; }
|
|
1167
1168
|
get host() { return getElement(this); }
|
|
@@ -1170,7 +1171,7 @@ const NylasBookingConfirmationRedirect = class {
|
|
|
1170
1171
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1171
1172
|
}; }
|
|
1172
1173
|
};
|
|
1173
|
-
__decorate$
|
|
1174
|
+
__decorate$s([
|
|
1174
1175
|
RegisterComponent({
|
|
1175
1176
|
name: 'nylas-booking-confirmation-redirect',
|
|
1176
1177
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -1184,16 +1185,16 @@ __decorate$q([
|
|
|
1184
1185
|
},
|
|
1185
1186
|
fireRegisterEvent: true,
|
|
1186
1187
|
}),
|
|
1187
|
-
__metadata$
|
|
1188
|
-
__metadata$
|
|
1189
|
-
__metadata$
|
|
1188
|
+
__metadata$s("design:type", Function),
|
|
1189
|
+
__metadata$s("design:paramtypes", []),
|
|
1190
|
+
__metadata$s("design:returntype", void 0)
|
|
1190
1191
|
], NylasBookingConfirmationRedirect.prototype, "render", null);
|
|
1191
1192
|
NylasBookingConfirmationRedirect.style = NylasBookingConfirmationRedirectStyle0;
|
|
1192
1193
|
|
|
1193
1194
|
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}";
|
|
1194
1195
|
const NylasBookingConfirmationTypeStyle0 = nylasBookingConfirmationTypeCss;
|
|
1195
1196
|
|
|
1196
|
-
var __decorate$
|
|
1197
|
+
var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1197
1198
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1198
1199
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1199
1200
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1203,7 +1204,7 @@ var __decorate$p = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1203
1204
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1204
1205
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1205
1206
|
};
|
|
1206
|
-
var __metadata$
|
|
1207
|
+
var __metadata$r = (undefined && undefined.__metadata) || function (k, v) {
|
|
1207
1208
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1208
1209
|
return Reflect.metadata(k, v);
|
|
1209
1210
|
};
|
|
@@ -1253,9 +1254,9 @@ const NylasBookingConfirmationType = class {
|
|
|
1253
1254
|
}
|
|
1254
1255
|
else {
|
|
1255
1256
|
this.selectedBookingType = this.bookingType || 'booking';
|
|
1257
|
+
this.showDropdown = this.showComponent;
|
|
1256
1258
|
}
|
|
1257
1259
|
this.internals.setFormValue(this.selectedBookingType.toString(), this.name);
|
|
1258
|
-
this.showDropdown = this.selectedConfiguration?.event_booking?.booking_type !== 'custom-confirmation' && !!this.selectedConfiguration?.scheduler?.organizer_confirmation_url;
|
|
1259
1260
|
}
|
|
1260
1261
|
componentWillUpdate() {
|
|
1261
1262
|
debug('nylas-booking-confirmation-type', 'componentWillUpdate');
|
|
@@ -1289,7 +1290,7 @@ const NylasBookingConfirmationType = class {
|
|
|
1289
1290
|
value: 'organizer-confirmation',
|
|
1290
1291
|
},
|
|
1291
1292
|
];
|
|
1292
|
-
return (h(Host, { key: '
|
|
1293
|
+
return (h(Host, { key: 'e5267e4adf820e23ca021965cc6f021946eefbea' }, this.showDropdown && (h("div", { class: "nylas-booking-confirmation-type", part: "nbct" }, bookingOptions.length > 0 && (h("div", { class: "nylas-booking-confirmation-type__dropdown" }, h("span", { class: "label" }, "When a booking is requested", h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Manually accept bookings allows you to review and either accept or decline each booking request."))), this.selectedBookingType && (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) }))))))));
|
|
1293
1294
|
}
|
|
1294
1295
|
static get formAssociated() { return true; }
|
|
1295
1296
|
get host() { return getElement(this); }
|
|
@@ -1298,7 +1299,7 @@ const NylasBookingConfirmationType = class {
|
|
|
1298
1299
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1299
1300
|
}; }
|
|
1300
1301
|
};
|
|
1301
|
-
__decorate$
|
|
1302
|
+
__decorate$r([
|
|
1302
1303
|
RegisterComponent({
|
|
1303
1304
|
name: 'nylas-booking-confirmation-type',
|
|
1304
1305
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -1312,9 +1313,9 @@ __decorate$p([
|
|
|
1312
1313
|
},
|
|
1313
1314
|
fireRegisterEvent: true,
|
|
1314
1315
|
}),
|
|
1315
|
-
__metadata$
|
|
1316
|
-
__metadata$
|
|
1317
|
-
__metadata$
|
|
1316
|
+
__metadata$r("design:type", Function),
|
|
1317
|
+
__metadata$r("design:paramtypes", []),
|
|
1318
|
+
__metadata$r("design:returntype", void 0)
|
|
1318
1319
|
], NylasBookingConfirmationType.prototype, "render", null);
|
|
1319
1320
|
NylasBookingConfirmationType.style = NylasBookingConfirmationTypeStyle0;
|
|
1320
1321
|
|
|
@@ -4672,7 +4673,7 @@ Sortable.mount(new MultiDragPlugin());
|
|
|
4672
4673
|
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)}";
|
|
4673
4674
|
const NylasBookingFormConfigStyle0 = nylasBookingFormConfigCss;
|
|
4674
4675
|
|
|
4675
|
-
var __decorate$
|
|
4676
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4676
4677
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4677
4678
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4678
4679
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4682,7 +4683,7 @@ var __decorate$o = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4682
4683
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4683
4684
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4684
4685
|
};
|
|
4685
|
-
var __metadata$
|
|
4686
|
+
var __metadata$q = (undefined && undefined.__metadata) || function (k, v) {
|
|
4686
4687
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
4687
4688
|
return Reflect.metadata(k, v);
|
|
4688
4689
|
};
|
|
@@ -4909,7 +4910,7 @@ const NylasBookingFormConfig = class {
|
|
|
4909
4910
|
});
|
|
4910
4911
|
}
|
|
4911
4912
|
render() {
|
|
4912
|
-
return (h(Host, { key: '
|
|
4913
|
+
return (h(Host, { key: '890a8dc51e6aee455ce2eec3b1b9e534122e87e1' }, h("div", { key: 'a6d477428eb9851402cadbe384fd5dc7a0a7788b', class: "nylas-booking-form-config", part: "nbfc" }, h("div", { key: '4fa905aa07838ab99c01d20f2e8f809a24328059', class: "header", part: "nbfc__header" }, h("div", { key: '33b8980d3927d1aa717aade3f6e1e3f3b099feab', class: "header_text" }, h("h3", { key: '2381bd7f07124b653aac4542946585357d1eecd5' }, "Booking form"), h("p", { key: 'a57f318250af040f150df4fe6cf02f299250da74' }, "Add custom fields to the booking form.")), h("div", { key: '7297904e841d80bdc38a22605427234bf69c15b3', class: "header_action" }, 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: DEFAULT_FORM_FIELD_TYPES, withSearch: false, withChevron: false, dropdownButtonText: "Add new field" }, h("span", { key: '4a445ec9df4d27d455e5936a83469df6850ee24f', slot: "select-icon" }, h("plus-icon", { key: '1f5fa764396d7f0ecc212ed7e2145dee1250eb4c', width: "15", height: "15" }))))), h("div", { key: 'f2384ca1eef8e9b50176ca6a23ed018dba95190e', class: "content" }, h("div", { key: '6ce505f1753086e43ac25e188a63b4319282f33d', id: "fields", class: "additional_fields", part: "nbfc__additional_fields" }, this.formFields.map((field, i) => {
|
|
4913
4914
|
return (h("div", { class: `form-field draggable ${field.readonly && 'fixed'}`, part: "nbfc__form_field", key: i }, h("div", { class: "form-field_header", part: "nbfc__form_field-header" }, h("span", { class: "dragable" }, h("dragable-icon", { width: "24", height: "25" })), h("div", { class: "form-field_header_text" }, h("h4", null, field.label), h("p", null, field.typeLabel)), h("div", { class: "form-field_header_actions" }, h("span", { class: `is-required` }, field.required ? 'Required' : 'Optional'), !field.readonly && (h("button", { onClick: () => {
|
|
4914
4915
|
this.fieldRemove(i);
|
|
4915
4916
|
} }, h("close-icon", null))), h("span", { class: `chevron ${field.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
@@ -4932,22 +4933,22 @@ const NylasBookingFormConfig = class {
|
|
|
4932
4933
|
"formFields": ["watchHandler"]
|
|
4933
4934
|
}; }
|
|
4934
4935
|
};
|
|
4935
|
-
__decorate$
|
|
4936
|
+
__decorate$q([
|
|
4936
4937
|
RegisterComponent({
|
|
4937
4938
|
name: 'nylas-booking-form-config',
|
|
4938
4939
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
4939
4940
|
fireRegisterEvent: true,
|
|
4940
4941
|
}),
|
|
4941
|
-
__metadata$
|
|
4942
|
-
__metadata$
|
|
4943
|
-
__metadata$
|
|
4942
|
+
__metadata$q("design:type", Function),
|
|
4943
|
+
__metadata$q("design:paramtypes", []),
|
|
4944
|
+
__metadata$q("design:returntype", void 0)
|
|
4944
4945
|
], NylasBookingFormConfig.prototype, "render", null);
|
|
4945
4946
|
NylasBookingFormConfig.style = NylasBookingFormConfigStyle0;
|
|
4946
4947
|
|
|
4947
4948
|
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}";
|
|
4948
4949
|
const NylasBufferTimeStyle0 = nylasBufferTimeCss;
|
|
4949
4950
|
|
|
4950
|
-
var __decorate$
|
|
4951
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4951
4952
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4952
4953
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4953
4954
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -4957,7 +4958,7 @@ var __decorate$n = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4957
4958
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4958
4959
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4959
4960
|
};
|
|
4960
|
-
var __metadata$
|
|
4961
|
+
var __metadata$p = (undefined && undefined.__metadata) || function (k, v) {
|
|
4961
4962
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
4962
4963
|
return Reflect.metadata(k, v);
|
|
4963
4964
|
};
|
|
@@ -5114,7 +5115,7 @@ const NylasBufferTime = class {
|
|
|
5114
5115
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5115
5116
|
}; }
|
|
5116
5117
|
};
|
|
5117
|
-
__decorate$
|
|
5118
|
+
__decorate$p([
|
|
5118
5119
|
RegisterComponent({
|
|
5119
5120
|
name: 'nylas-buffer-time',
|
|
5120
5121
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -5128,16 +5129,16 @@ __decorate$n([
|
|
|
5128
5129
|
},
|
|
5129
5130
|
fireRegisterEvent: true,
|
|
5130
5131
|
}),
|
|
5131
|
-
__metadata$
|
|
5132
|
-
__metadata$
|
|
5133
|
-
__metadata$
|
|
5132
|
+
__metadata$p("design:type", Function),
|
|
5133
|
+
__metadata$p("design:paramtypes", []),
|
|
5134
|
+
__metadata$p("design:returntype", void 0)
|
|
5134
5135
|
], NylasBufferTime.prototype, "render", null);
|
|
5135
5136
|
NylasBufferTime.style = NylasBufferTimeStyle0;
|
|
5136
5137
|
|
|
5137
5138
|
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}";
|
|
5138
5139
|
const NylasCalendarPickerStyle0 = nylasCalendarPickerCss;
|
|
5139
5140
|
|
|
5140
|
-
var __decorate$
|
|
5141
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5141
5142
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5142
5143
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5143
5144
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5147,7 +5148,7 @@ var __decorate$m = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5147
5148
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5148
5149
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5149
5150
|
};
|
|
5150
|
-
var __metadata$
|
|
5151
|
+
var __metadata$o = (undefined && undefined.__metadata) || function (k, v) {
|
|
5151
5152
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5152
5153
|
return Reflect.metadata(k, v);
|
|
5153
5154
|
};
|
|
@@ -5162,9 +5163,9 @@ const NylasCalendarPicker = class {
|
|
|
5162
5163
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
5163
5164
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
5164
5165
|
}
|
|
5165
|
-
this.calendars = undefined;
|
|
5166
|
-
this.currentUser = undefined;
|
|
5167
5166
|
this.name = 'calendar';
|
|
5167
|
+
this.currentUser = undefined;
|
|
5168
|
+
this.calendars = undefined;
|
|
5168
5169
|
this.defaultSelectedCalendars = [];
|
|
5169
5170
|
this.selectedCalendars = [];
|
|
5170
5171
|
this.error = '';
|
|
@@ -5238,7 +5239,7 @@ const NylasCalendarPicker = class {
|
|
|
5238
5239
|
"name": ["elementNameChangedHandler"]
|
|
5239
5240
|
}; }
|
|
5240
5241
|
};
|
|
5241
|
-
__decorate$
|
|
5242
|
+
__decorate$o([
|
|
5242
5243
|
RegisterComponent({
|
|
5243
5244
|
name: 'nylas-calendar-picker',
|
|
5244
5245
|
stateToProps: new Map([['schedulerConfig.currentUser', 'currentUser']]),
|
|
@@ -5252,16 +5253,16 @@ __decorate$m([
|
|
|
5252
5253
|
},
|
|
5253
5254
|
fireRegisterEvent: true,
|
|
5254
5255
|
}),
|
|
5255
|
-
__metadata$
|
|
5256
|
-
__metadata$
|
|
5257
|
-
__metadata$
|
|
5256
|
+
__metadata$o("design:type", Function),
|
|
5257
|
+
__metadata$o("design:paramtypes", []),
|
|
5258
|
+
__metadata$o("design:returntype", void 0)
|
|
5258
5259
|
], NylasCalendarPicker.prototype, "render", null);
|
|
5259
5260
|
NylasCalendarPicker.style = NylasCalendarPickerStyle0;
|
|
5260
5261
|
|
|
5261
5262
|
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}";
|
|
5262
5263
|
const NylasCancellationPolicyStyle0 = nylasCancellationPolicyCss;
|
|
5263
5264
|
|
|
5264
|
-
var __decorate$
|
|
5265
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5265
5266
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5266
5267
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5267
5268
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5271,7 +5272,7 @@ var __decorate$l = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5271
5272
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5272
5273
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5273
5274
|
};
|
|
5274
|
-
var __metadata$
|
|
5275
|
+
var __metadata$n = (undefined && undefined.__metadata) || function (k, v) {
|
|
5275
5276
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5276
5277
|
return Reflect.metadata(k, v);
|
|
5277
5278
|
};
|
|
@@ -5325,7 +5326,7 @@ const NylasCancellationPolicy = class {
|
|
|
5325
5326
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
5326
5327
|
}
|
|
5327
5328
|
render() {
|
|
5328
|
-
return (h(Host, { key: '
|
|
5329
|
+
return (h(Host, { key: '4bae0ed63f5beb4bfded63e6a6243ad9231706cc' }, h("div", { key: 'e8b16dcdf8d9095a9922ec237cb30f3ea6501dde', class: "nylas-cancellation-policy", part: "ncpolicy" }, h("label", { key: '3813b4c723c97c0c1aae070c88cf0111c73d9a3f', htmlFor: this.name }, "Cancellation policy message", h("span", { key: '39b8a017d43bd8ea0d6e24b4ac180a551d88c963', class: "label-icon" }, h("tooltip-component", { key: 'f5ecc2daf78366a81869aec1a8b0aa783e338b20' }, h("info-icon", { key: '4f128afc88ab509aeff42e1491c6dde245014685', slot: "tooltip-icon" }), 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.")))), h("textarea", { key: 'd518b68d61229a2a9ee9c3cda2a2a17b834e7343', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
|
|
5329
5330
|
}
|
|
5330
5331
|
static get formAssociated() { return true; }
|
|
5331
5332
|
get host() { return getElement(this); }
|
|
@@ -5334,23 +5335,23 @@ const NylasCancellationPolicy = class {
|
|
|
5334
5335
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5335
5336
|
}; }
|
|
5336
5337
|
};
|
|
5337
|
-
__decorate$
|
|
5338
|
+
__decorate$n([
|
|
5338
5339
|
RegisterComponent({
|
|
5339
5340
|
name: 'nylas-cancellation-policy',
|
|
5340
5341
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
5341
5342
|
eventToProps: {},
|
|
5342
5343
|
fireRegisterEvent: true,
|
|
5343
5344
|
}),
|
|
5344
|
-
__metadata$
|
|
5345
|
-
__metadata$
|
|
5346
|
-
__metadata$
|
|
5345
|
+
__metadata$n("design:type", Function),
|
|
5346
|
+
__metadata$n("design:paramtypes", []),
|
|
5347
|
+
__metadata$n("design:returntype", void 0)
|
|
5347
5348
|
], NylasCancellationPolicy.prototype, "render", null);
|
|
5348
5349
|
NylasCancellationPolicy.style = NylasCancellationPolicyStyle0;
|
|
5349
5350
|
|
|
5350
5351
|
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}";
|
|
5351
5352
|
const NylasConfirmationEmailStyle0 = nylasConfirmationEmailCss;
|
|
5352
5353
|
|
|
5353
|
-
var __decorate$
|
|
5354
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5354
5355
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5355
5356
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5356
5357
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5360,7 +5361,7 @@ var __decorate$k = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5360
5361
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5361
5362
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5362
5363
|
};
|
|
5363
|
-
var __metadata$
|
|
5364
|
+
var __metadata$m = (undefined && undefined.__metadata) || function (k, v) {
|
|
5364
5365
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5365
5366
|
return Reflect.metadata(k, v);
|
|
5366
5367
|
};
|
|
@@ -5451,8 +5452,9 @@ const NylasConfirmationEmail = class {
|
|
|
5451
5452
|
this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
|
|
5452
5453
|
}
|
|
5453
5454
|
render() {
|
|
5454
|
-
const
|
|
5455
|
-
|
|
5455
|
+
const organizer = this.participantsState.find(p => p.is_organizer);
|
|
5456
|
+
const organizerName = organizer?.name || organizer?.email;
|
|
5457
|
+
return (h(Host, { key: '0cd4c1886c65ead0e525ea96fe26a1316c61db7f' }, h("div", { key: '1901775f8a1364fe16485eeaf27d44862e74a642', class: "nylas-confirmation-email", part: "nce" }, h("div", { key: '241cf1a885d4d97d53c158e5691e350aa14b549f', class: "header", part: "nce__header" }, h("div", { key: 'e37c36a4d8f1f82669f3a397969202d3a2612b0e' }, h("h3", { key: 'ae34b848907720867cb014000e5b7367bcabedb3' }, this.confirmationEmail?.booking_confirmed?.title ?? `Booking confirmed with ${organizerName ? ` ${organizerName}` : ''}`), h("p", { key: '97d7c78a88b20be8c5b0a27485f917628f1c6edc' }, "Booking confirmation email")), this.isConfirmationEmailOpen ? (h("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, h("span", { class: `chevron ${this.isConfirmationEmailOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" })))) : (h("button-component", { variant: 'basic', clickHandler: event => {
|
|
5456
5458
|
event.preventDefault();
|
|
5457
5459
|
this.toggleConfirmationEmail();
|
|
5458
5460
|
} }, h("edit-icon", { width: "16", height: "16" }), "Edit"))), this.isConfirmationEmailOpen ? (h("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, h("div", { class: "nylas-confirmation-email__section" }, h("div", { class: "nylas-confirmation-email__row" }, h("label", null, "Send confirmation email", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation email immediately upon booking.")))), h("span", { class: "selected-value" }, "Immediately upon booking")), h("div", { class: "nylas-confirmation-email__row" }, h("div", { class: "subsection" }, h("div", { class: "input-container" }, h("label", null, "Company logo URL", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "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 && (h("input-image-url", { name: "confirmation-email-logo", exportparts: "iiu__logo-input-textfield: nce__input-image-url", imageUrl: this.confirmationEmail?.logo ?? '' }))))), h("div", { class: "nylas-confirmation-email__row full-width-col" }, h("div", { class: "subsection" }, h("h3", null, "Email message"), h("div", { class: "input-container" }, h("label", { htmlFor: "title" }, "Custom email title", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "An email title is a headline within the body of the email. This doesn't change the subject line.")))), h("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: `Booking confirmed ${organizerName ? `with ${organizerName}` : ''}`, defaultValue: this.confirmationEmail?.booking_confirmed?.title ?? '' })), h("div", { class: "input-container" }, 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 ?? '' }))))))) : (h("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, h("p", null, h("span", { class: "summary-icon" }, h("person-clipboard-icon", null)), "All host & guests"), h("p", null, h("span", { class: "summary-icon" }, h("clock-icon", null)), "Immediately on booking"))))));
|
|
@@ -5464,7 +5466,7 @@ const NylasConfirmationEmail = class {
|
|
|
5464
5466
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5465
5467
|
}; }
|
|
5466
5468
|
};
|
|
5467
|
-
__decorate$
|
|
5469
|
+
__decorate$m([
|
|
5468
5470
|
RegisterComponent({
|
|
5469
5471
|
name: 'nylas-confirmation-email',
|
|
5470
5472
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -5478,16 +5480,16 @@ __decorate$k([
|
|
|
5478
5480
|
},
|
|
5479
5481
|
fireRegisterEvent: true,
|
|
5480
5482
|
}),
|
|
5481
|
-
__metadata$
|
|
5482
|
-
__metadata$
|
|
5483
|
-
__metadata$
|
|
5483
|
+
__metadata$m("design:type", Function),
|
|
5484
|
+
__metadata$m("design:paramtypes", []),
|
|
5485
|
+
__metadata$m("design:returntype", void 0)
|
|
5484
5486
|
], NylasConfirmationEmail.prototype, "render", null);
|
|
5485
5487
|
NylasConfirmationEmail.style = NylasConfirmationEmailStyle0;
|
|
5486
5488
|
|
|
5487
5489
|
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}";
|
|
5488
5490
|
const NylasConnectedCalendarsStyle0 = nylasConnectedCalendarsCss;
|
|
5489
5491
|
|
|
5490
|
-
var __decorate$
|
|
5492
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5491
5493
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5492
5494
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5493
5495
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5497,7 +5499,7 @@ var __decorate$j = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5497
5499
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5498
5500
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5499
5501
|
};
|
|
5500
|
-
var __metadata$
|
|
5502
|
+
var __metadata$l = (undefined && undefined.__metadata) || function (k, v) {
|
|
5501
5503
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5502
5504
|
return Reflect.metadata(k, v);
|
|
5503
5505
|
};
|
|
@@ -5598,6 +5600,10 @@ const NylasConnectedCalendars = class {
|
|
|
5598
5600
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
5599
5601
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
5600
5602
|
}
|
|
5603
|
+
else {
|
|
5604
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
5605
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
5606
|
+
}
|
|
5601
5607
|
}
|
|
5602
5608
|
handleValueChanged(event) {
|
|
5603
5609
|
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -5639,12 +5645,12 @@ const NylasConnectedCalendars = class {
|
|
|
5639
5645
|
return selectedParticipants;
|
|
5640
5646
|
}
|
|
5641
5647
|
render() {
|
|
5642
|
-
return (h(Host, { key: '
|
|
5648
|
+
return (h(Host, { key: '32710fe762bdf90e238c62695957a9fca31db258' }, h("div", { key: 'a5ebf4adb7eb8e1b8a065bc05733738da06fbac3', class: "nylas-connected-calendars", part: "nccals" }, h("div", { key: 'f3c820bcde922a7b852630d86145b1e6e1bf0e25', class: "header", part: "nccals__header" }, h("h3", { key: 'e2b68d05d416c322b22f969d8d8c890a09812154' }, "Connected Calendars"), h("p", { key: '4dd41d10a6043fec1c0f4943371c312a29e1d489' }, "Select the calendars to use for checking your availability.", h("tooltip-component", { key: '6a8ec009fd879e1ed6b6fb65be75a88255adba17' }, h("info-icon", { key: '0d4a99eaee064ecee1c82ee5b13f3ab87a1d5d93', slot: "tooltip-icon" }), 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.")))), h("div", { key: '720267110636c1dc06ac67b7e715515f56737b73', class: "content", part: "nccals__content" }, h("form", { key: 'f295ba327aa302ea186dbf2daef3a9c30f96ee5f', ref: el => (this.connectedCalendarsFormRef = el) }, Object.keys(this.participantCalendars).map((key, index) => {
|
|
5643
5649
|
const participant = this.selectedCalendars[key];
|
|
5644
5650
|
const participantCalendars = this.participantCalendars[key];
|
|
5645
5651
|
if (!participant || !participant.name)
|
|
5646
5652
|
return;
|
|
5647
|
-
return (h("div", { class: "participant-container", part: "
|
|
5653
|
+
return (h("div", { class: "participant-container", part: "nccals__container", key: `participant-conatiner-${index}` }, h("div", { class: "participant-title", part: "nccals__title" }, h("p", null, participant.name, "'s connected calendars"), h("div", { class: "participant-toggle", part: "nccals__toggle-container" }, h("span", { class: `chevron ${participant.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
5648
5654
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
5649
5655
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
5650
5656
|
} }, h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (h("nylas-calendar-picker", { key: key, name: `participant-${key}`, calendars: participantCalendars, defaultSelectedCalendars: this.participantDefaultSelectedCalendars[key] }))));
|
|
@@ -5660,7 +5666,7 @@ const NylasConnectedCalendars = class {
|
|
|
5660
5666
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5661
5667
|
}; }
|
|
5662
5668
|
};
|
|
5663
|
-
__decorate$
|
|
5669
|
+
__decorate$l([
|
|
5664
5670
|
RegisterComponent({
|
|
5665
5671
|
name: 'nylas-connected-calendars',
|
|
5666
5672
|
stateToProps: new Map([
|
|
@@ -5671,16 +5677,16 @@ __decorate$j([
|
|
|
5671
5677
|
eventToProps: {},
|
|
5672
5678
|
fireRegisterEvent: true,
|
|
5673
5679
|
}),
|
|
5674
|
-
__metadata$
|
|
5675
|
-
__metadata$
|
|
5676
|
-
__metadata$
|
|
5680
|
+
__metadata$l("design:type", Function),
|
|
5681
|
+
__metadata$l("design:paramtypes", []),
|
|
5682
|
+
__metadata$l("design:returntype", void 0)
|
|
5677
5683
|
], NylasConnectedCalendars.prototype, "render", null);
|
|
5678
5684
|
NylasConnectedCalendars.style = NylasConnectedCalendarsStyle0;
|
|
5679
5685
|
|
|
5680
5686
|
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}";
|
|
5681
5687
|
const NylasCustomBookingFlowStyle0 = nylasCustomBookingFlowCss;
|
|
5682
5688
|
|
|
5683
|
-
var __decorate$
|
|
5689
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5684
5690
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5685
5691
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5686
5692
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5690,7 +5696,7 @@ var __decorate$i = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5690
5696
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5691
5697
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5692
5698
|
};
|
|
5693
|
-
var __metadata$
|
|
5699
|
+
var __metadata$k = (undefined && undefined.__metadata) || function (k, v) {
|
|
5694
5700
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5695
5701
|
return Reflect.metadata(k, v);
|
|
5696
5702
|
};
|
|
@@ -5719,27 +5725,27 @@ const NylasCustomBookingFlow = class {
|
|
|
5719
5725
|
checkForMissingSlots(['inputs'], this.el);
|
|
5720
5726
|
}
|
|
5721
5727
|
render() {
|
|
5722
|
-
return (h(Host, { key: '
|
|
5728
|
+
return (h(Host, { key: 'd9e4b13338b50f21575a7c7f0fba18a5b2828fe8', part: "ncbflow" }, h("nylas-form-card", { key: '1f53c24698354fbf45ecd67ac24f690e36133cca', exportparts: "nfc__header: ncbflow__header" }, h("h1", { key: '680813d1aaf33014732e8cf3038a27f4ab4bd607', slot: "header-title", class: "nylas-custom-booking-flow__title", part: "ncbflow__title" }, "Custom booking flow"), h("div", { key: '2da6f6587e05e65cd1e2b35718168f665c3348c1', slot: "content", class: "nylas-custom-booking-flow__content", part: "ncbflow__content" }, h("slot", { key: '73937227f3a398779b0d1c97e525ca0bec593d85', name: "inputs" })))));
|
|
5723
5729
|
}
|
|
5724
5730
|
static get formAssociated() { return true; }
|
|
5725
5731
|
get el() { return getElement(this); }
|
|
5726
5732
|
};
|
|
5727
|
-
__decorate$
|
|
5733
|
+
__decorate$k([
|
|
5728
5734
|
RegisterComponent({
|
|
5729
5735
|
name: 'nylas-custom-booking-flow',
|
|
5730
5736
|
eventToProps: {},
|
|
5731
5737
|
fireRegisterEvent: true,
|
|
5732
5738
|
}),
|
|
5733
|
-
__metadata$
|
|
5734
|
-
__metadata$
|
|
5735
|
-
__metadata$
|
|
5739
|
+
__metadata$k("design:type", Function),
|
|
5740
|
+
__metadata$k("design:paramtypes", []),
|
|
5741
|
+
__metadata$k("design:returntype", void 0)
|
|
5736
5742
|
], NylasCustomBookingFlow.prototype, "render", null);
|
|
5737
5743
|
NylasCustomBookingFlow.style = NylasCustomBookingFlowStyle0;
|
|
5738
5744
|
|
|
5739
5745
|
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}";
|
|
5740
5746
|
const NylasCustomEventSlugStyle0 = nylasCustomEventSlugCss;
|
|
5741
5747
|
|
|
5742
|
-
var __decorate$
|
|
5748
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5743
5749
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5744
5750
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5745
5751
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5749,7 +5755,7 @@ var __decorate$h = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5749
5755
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5750
5756
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5751
5757
|
};
|
|
5752
|
-
var __metadata$
|
|
5758
|
+
var __metadata$j = (undefined && undefined.__metadata) || function (k, v) {
|
|
5753
5759
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5754
5760
|
return Reflect.metadata(k, v);
|
|
5755
5761
|
};
|
|
@@ -5790,6 +5796,7 @@ const NylasCustomEventSlug = class {
|
|
|
5790
5796
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5791
5797
|
}
|
|
5792
5798
|
else {
|
|
5799
|
+
console.log('No selected configuration found');
|
|
5793
5800
|
this.urlSlug = this.defaultUrlSlug || '';
|
|
5794
5801
|
}
|
|
5795
5802
|
}
|
|
@@ -5871,7 +5878,7 @@ const NylasCustomEventSlug = class {
|
|
|
5871
5878
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5872
5879
|
}; }
|
|
5873
5880
|
};
|
|
5874
|
-
__decorate$
|
|
5881
|
+
__decorate$j([
|
|
5875
5882
|
RegisterComponent({
|
|
5876
5883
|
name: 'nylas-custom-event-slug',
|
|
5877
5884
|
stateToProps: new Map([
|
|
@@ -5888,16 +5895,16 @@ __decorate$h([
|
|
|
5888
5895
|
},
|
|
5889
5896
|
fireRegisterEvent: true,
|
|
5890
5897
|
}),
|
|
5891
|
-
__metadata$
|
|
5892
|
-
__metadata$
|
|
5893
|
-
__metadata$
|
|
5898
|
+
__metadata$j("design:type", Function),
|
|
5899
|
+
__metadata$j("design:paramtypes", []),
|
|
5900
|
+
__metadata$j("design:returntype", void 0)
|
|
5894
5901
|
], NylasCustomEventSlug.prototype, "render", null);
|
|
5895
5902
|
NylasCustomEventSlug.style = NylasCustomEventSlugStyle0;
|
|
5896
5903
|
|
|
5897
5904
|
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}}";
|
|
5898
5905
|
const NylasCustomizeBookingSettingsStyle0 = nylasCustomizeBookingSettingsCss;
|
|
5899
5906
|
|
|
5900
|
-
var __decorate$
|
|
5907
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5901
5908
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5902
5909
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5903
5910
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5907,7 +5914,7 @@ var __decorate$g = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5907
5914
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5908
5915
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5909
5916
|
};
|
|
5910
|
-
var __metadata$
|
|
5917
|
+
var __metadata$i = (undefined && undefined.__metadata) || function (k, v) {
|
|
5911
5918
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5912
5919
|
return Reflect.metadata(k, v);
|
|
5913
5920
|
};
|
|
@@ -5957,9 +5964,9 @@ const NylasCustomizeBookingSettings = class {
|
|
|
5957
5964
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5958
5965
|
}
|
|
5959
5966
|
else {
|
|
5960
|
-
this.allowGuestsToInvite =
|
|
5961
|
-
this.hideCancellationOptions =
|
|
5962
|
-
this.hideReschedulingOptions =
|
|
5967
|
+
this.allowGuestsToInvite = !this.defaultHideAdditionalGuests;
|
|
5968
|
+
this.hideCancellationOptions = this.defaultHideCancellationOptions;
|
|
5969
|
+
this.hideReschedulingOptions = this.defaultHideReschedulingOptions;
|
|
5963
5970
|
}
|
|
5964
5971
|
}
|
|
5965
5972
|
componentWillUpdate() {
|
|
@@ -6003,7 +6010,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6003
6010
|
}
|
|
6004
6011
|
render() {
|
|
6005
6012
|
const showComponent = typeof this.hideCancellationOptions === 'boolean' && typeof this.hideReschedulingOptions === 'boolean' && typeof this.allowGuestsToInvite === 'boolean';
|
|
6006
|
-
return (h(Host, { key: '
|
|
6013
|
+
return (h(Host, { key: '472a3a5b7b439666b54a4b6f22b702a923063c83' }, showComponent && (h("div", { class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { class: "header", part: "ncbs__header" }, h("h3", null, "Additional settings"), h("p", null, "Booking settings for the event.")), h("div", { class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { slot: "label", class: "label" }, h("p", { class: "label-contents" }, "Allow guests to invite additional guests.")))), h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { slot: "label", class: "label" }, h("p", { class: "label-contents" }, "Hide rescheduling option."), h("tooltip-component", { id: "reschedule" }, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Hide the\u00A0", h("strong", null, "Reschedule"), "\u00A0button in the booking confirmation and email notifications."))))), h("div", { class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { slot: "label", class: "label" }, h("p", { class: "label-contents" }, "Hide cancellation option."), h("tooltip-component", { id: "cancel" }, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "Hide the\u00A0", h("strong", null, "Cancel"), "\u00A0button in the booking confirmation and email notifications."))))))))));
|
|
6007
6014
|
}
|
|
6008
6015
|
static get formAssociated() { return true; }
|
|
6009
6016
|
get host() { return getElement(this); }
|
|
@@ -6012,22 +6019,22 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6012
6019
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6013
6020
|
}; }
|
|
6014
6021
|
};
|
|
6015
|
-
__decorate$
|
|
6022
|
+
__decorate$i([
|
|
6016
6023
|
RegisterComponent({
|
|
6017
6024
|
name: 'nylas-customize-booking-settings',
|
|
6018
6025
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6019
6026
|
fireRegisterEvent: true,
|
|
6020
6027
|
}),
|
|
6021
|
-
__metadata$
|
|
6022
|
-
__metadata$
|
|
6023
|
-
__metadata$
|
|
6028
|
+
__metadata$i("design:type", Function),
|
|
6029
|
+
__metadata$i("design:paramtypes", []),
|
|
6030
|
+
__metadata$i("design:returntype", void 0)
|
|
6024
6031
|
], NylasCustomizeBookingSettings.prototype, "render", null);
|
|
6025
6032
|
NylasCustomizeBookingSettings.style = NylasCustomizeBookingSettingsStyle0;
|
|
6026
6033
|
|
|
6027
6034
|
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}";
|
|
6028
6035
|
const NylasEventDescriptionStyle0 = nylasEventDescriptionCss;
|
|
6029
6036
|
|
|
6030
|
-
var __decorate$
|
|
6037
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6031
6038
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6032
6039
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6033
6040
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6037,7 +6044,7 @@ var __decorate$f = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6037
6044
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6038
6045
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6039
6046
|
};
|
|
6040
|
-
var __metadata$
|
|
6047
|
+
var __metadata$h = (undefined && undefined.__metadata) || function (k, v) {
|
|
6041
6048
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6042
6049
|
return Reflect.metadata(k, v);
|
|
6043
6050
|
};
|
|
@@ -6093,7 +6100,7 @@ const NylasEventDescription = class {
|
|
|
6093
6100
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6094
6101
|
}
|
|
6095
6102
|
render() {
|
|
6096
|
-
return (h(Host, { key: '
|
|
6103
|
+
return (h(Host, { key: '6a7fc19449be05b4b6207692d5ceec94347f913e' }, h("div", { key: '8e0d79a310e1cccf1d9b7772703714907b01688f', class: "nylas-event-description", part: "nedesc" }, h("label", { key: 'aac3fa43d77623ce9f51cd4aa81075c779a9da3e', htmlFor: "description" }, "Event description", h("span", { key: 'a62743418230bdc20188052795c6ecb9e7ad2903', class: "label-icon" }, h("tooltip-component", { key: '7842c029c8f46d97f65cd321668cc6c7243b9787' }, h("info-icon", { key: 'df7e6389587e8a76f9dcb8b57c7373f747569a0b', slot: "tooltip-icon" }), h("span", { key: 'a8c37a68325c6d674c2f8ee6bdb8999d5f5d4b04', slot: "tooltip-content" }, "The event description appears in the Scheduler Editor\u2019s manager view.")))), h("textarea", { key: '92938097ecfa8812dea7f663f9f93439398e856f', id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: e => this.handleChange(e) }))));
|
|
6097
6104
|
}
|
|
6098
6105
|
static get formAssociated() { return true; }
|
|
6099
6106
|
get host() { return getElement(this); }
|
|
@@ -6102,23 +6109,23 @@ const NylasEventDescription = class {
|
|
|
6102
6109
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6103
6110
|
}; }
|
|
6104
6111
|
};
|
|
6105
|
-
__decorate$
|
|
6112
|
+
__decorate$h([
|
|
6106
6113
|
RegisterComponent({
|
|
6107
6114
|
name: 'nylas-event-description',
|
|
6108
6115
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6109
6116
|
eventToProps: {},
|
|
6110
6117
|
fireRegisterEvent: true,
|
|
6111
6118
|
}),
|
|
6112
|
-
__metadata$
|
|
6113
|
-
__metadata$
|
|
6114
|
-
__metadata$
|
|
6119
|
+
__metadata$h("design:type", Function),
|
|
6120
|
+
__metadata$h("design:paramtypes", []),
|
|
6121
|
+
__metadata$h("design:returntype", void 0)
|
|
6115
6122
|
], NylasEventDescription.prototype, "render", null);
|
|
6116
6123
|
NylasEventDescription.style = NylasEventDescriptionStyle0;
|
|
6117
6124
|
|
|
6118
6125
|
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)}";
|
|
6119
6126
|
const NylasEventDurationStyle0 = nylasEventDurationCss;
|
|
6120
6127
|
|
|
6121
|
-
var __decorate$
|
|
6128
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6122
6129
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6123
6130
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6124
6131
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6128,7 +6135,7 @@ var __decorate$e = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6128
6135
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6129
6136
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6130
6137
|
};
|
|
6131
|
-
var __metadata$
|
|
6138
|
+
var __metadata$g = (undefined && undefined.__metadata) || function (k, v) {
|
|
6132
6139
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6133
6140
|
return Reflect.metadata(k, v);
|
|
6134
6141
|
};
|
|
@@ -6241,7 +6248,7 @@ const NylasEventDuration = class {
|
|
|
6241
6248
|
{ value: 1, label: 'minute' },
|
|
6242
6249
|
{ value: 60, label: 'hour' },
|
|
6243
6250
|
];
|
|
6244
|
-
return (h(Host, { key: '
|
|
6251
|
+
return (h(Host, { key: 'e63530398b7b2231436947da8c9e63c3c7bd696a' }, h("div", { key: '9ccca25a4322edaedafa53a2bd8ae2baf48b4f1e', class: "nylas-event-duration", part: "ned" }, h("label", { key: 'cd5562d2516c1f37eeb0b3e074493c671628ef4b', htmlFor: "duration" }, "Event duration", h("span", { key: 'ef36340fb220f380a9913ad5025e6600ce6e8f17', class: "required" }, "*")), h("div", { key: 'eddeda40d89ac770f20226605f3fedce00afe060', class: "nylas-event-duration__wrapper" }, 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 && (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 }))))));
|
|
6245
6252
|
}
|
|
6246
6253
|
static get formAssociated() { return true; }
|
|
6247
6254
|
get host() { return getElement(this); }
|
|
@@ -6251,23 +6258,23 @@ const NylasEventDuration = class {
|
|
|
6251
6258
|
"durationMinutes": ["durationMinutesChangedHandler"]
|
|
6252
6259
|
}; }
|
|
6253
6260
|
};
|
|
6254
|
-
__decorate$
|
|
6261
|
+
__decorate$g([
|
|
6255
6262
|
RegisterComponent({
|
|
6256
6263
|
name: 'nylas-event-duration',
|
|
6257
6264
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6258
6265
|
eventToProps: {},
|
|
6259
6266
|
fireRegisterEvent: true,
|
|
6260
6267
|
}),
|
|
6261
|
-
__metadata$
|
|
6262
|
-
__metadata$
|
|
6263
|
-
__metadata$
|
|
6268
|
+
__metadata$g("design:type", Function),
|
|
6269
|
+
__metadata$g("design:paramtypes", []),
|
|
6270
|
+
__metadata$g("design:returntype", void 0)
|
|
6264
6271
|
], NylasEventDuration.prototype, "render", null);
|
|
6265
6272
|
NylasEventDuration.style = NylasEventDurationStyle0;
|
|
6266
6273
|
|
|
6267
6274
|
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}";
|
|
6268
6275
|
const NylasEventInfoStyle0 = nylasEventInfoCss;
|
|
6269
6276
|
|
|
6270
|
-
var __decorate$
|
|
6277
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6271
6278
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6272
6279
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6273
6280
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6277,7 +6284,7 @@ var __decorate$d = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6277
6284
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6278
6285
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6279
6286
|
};
|
|
6280
|
-
var __metadata$
|
|
6287
|
+
var __metadata$f = (undefined && undefined.__metadata) || function (k, v) {
|
|
6281
6288
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6282
6289
|
return Reflect.metadata(k, v);
|
|
6283
6290
|
};
|
|
@@ -6306,27 +6313,27 @@ const NylasEventInfo = class {
|
|
|
6306
6313
|
debug('nylas-event-info', 'disconnectedCallback');
|
|
6307
6314
|
}
|
|
6308
6315
|
render() {
|
|
6309
|
-
return (h(Host, { key: '
|
|
6316
|
+
return (h(Host, { key: 'fb4a8dd875696bc6a4e951f2649a2ab650558489' }, h("nylas-form-card", { key: '193b25acb1374842946ff938755fe8fed7a6d4b9', exportparts: "nfc__header: nei__header" }, h("h1", { key: 'c405c5de0b2eafa15136d10f10de13a158595298', slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), h("div", { key: 'a49993db49876dfdebd6dbe412d759ce1d38028e', slot: "content", class: "nylas-event-info__content" }, h("slot", { key: 'dc4595988a0b6824f328896c1ea507b96e61e4a8', name: "inputs" })))));
|
|
6310
6317
|
}
|
|
6311
6318
|
static get formAssociated() { return true; }
|
|
6312
6319
|
get el() { return getElement(this); }
|
|
6313
6320
|
};
|
|
6314
|
-
__decorate$
|
|
6321
|
+
__decorate$f([
|
|
6315
6322
|
RegisterComponent({
|
|
6316
6323
|
name: 'nylas-event-info',
|
|
6317
6324
|
eventToProps: {},
|
|
6318
6325
|
fireRegisterEvent: true,
|
|
6319
6326
|
}),
|
|
6320
|
-
__metadata$
|
|
6321
|
-
__metadata$
|
|
6322
|
-
__metadata$
|
|
6327
|
+
__metadata$f("design:type", Function),
|
|
6328
|
+
__metadata$f("design:paramtypes", []),
|
|
6329
|
+
__metadata$f("design:returntype", void 0)
|
|
6323
6330
|
], NylasEventInfo.prototype, "render", null);
|
|
6324
6331
|
NylasEventInfo.style = NylasEventInfoStyle0;
|
|
6325
6332
|
|
|
6326
6333
|
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}";
|
|
6327
6334
|
const NylasEventLimitsStyle0 = nylasEventLimitsCss;
|
|
6328
6335
|
|
|
6329
|
-
var __decorate$
|
|
6336
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6330
6337
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6331
6338
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6332
6339
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6336,7 +6343,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6336
6343
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6337
6344
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6338
6345
|
};
|
|
6339
|
-
var __metadata$
|
|
6346
|
+
var __metadata$e = (undefined && undefined.__metadata) || function (k, v) {
|
|
6340
6347
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6341
6348
|
return Reflect.metadata(k, v);
|
|
6342
6349
|
};
|
|
@@ -6365,27 +6372,27 @@ const NylasEventLimits = class {
|
|
|
6365
6372
|
debug('nylas-event-limits', 'disconnectedCallback');
|
|
6366
6373
|
}
|
|
6367
6374
|
render() {
|
|
6368
|
-
return (h(Host, { key: '
|
|
6375
|
+
return (h(Host, { key: '8715c9aeba26e6f4c151b0ab58333cc13d3500d3' }, h("nylas-form-card", { key: '2e2bf90762d35ac9fc4a995808b9aa3e4481d6c0', exportparts: "nfc__header: nel__header" }, h("h1", { key: 'b3689912282e3215d862ca06c75fae95b67e501f', slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), h("div", { key: 'bd5513f8c0cc573f14afeadfafe591b64b904920', slot: "content", class: "nylas-event-limits__content" }, h("slot", { key: '86ebfd856f0c93d3ad98d800d4ce9e1a8daf2516', name: "inputs" })))));
|
|
6369
6376
|
}
|
|
6370
6377
|
static get formAssociated() { return true; }
|
|
6371
6378
|
get el() { return getElement(this); }
|
|
6372
6379
|
};
|
|
6373
|
-
__decorate$
|
|
6380
|
+
__decorate$e([
|
|
6374
6381
|
RegisterComponent({
|
|
6375
6382
|
name: 'nylas-event-limits',
|
|
6376
6383
|
eventToProps: {},
|
|
6377
6384
|
fireRegisterEvent: true,
|
|
6378
6385
|
}),
|
|
6379
|
-
__metadata$
|
|
6380
|
-
__metadata$
|
|
6381
|
-
__metadata$
|
|
6386
|
+
__metadata$e("design:type", Function),
|
|
6387
|
+
__metadata$e("design:paramtypes", []),
|
|
6388
|
+
__metadata$e("design:returntype", void 0)
|
|
6382
6389
|
], NylasEventLimits.prototype, "render", null);
|
|
6383
6390
|
NylasEventLimits.style = NylasEventLimitsStyle0;
|
|
6384
6391
|
|
|
6385
6392
|
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}";
|
|
6386
6393
|
const NylasEventLocationStyle0 = nylasEventLocationCss;
|
|
6387
6394
|
|
|
6388
|
-
var __decorate$
|
|
6395
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6389
6396
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6390
6397
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6391
6398
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6395,10 +6402,17 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6395
6402
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6396
6403
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6397
6404
|
};
|
|
6398
|
-
var __metadata$
|
|
6405
|
+
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
|
6399
6406
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6400
6407
|
return Reflect.metadata(k, v);
|
|
6401
6408
|
};
|
|
6409
|
+
const labels = {
|
|
6410
|
+
none: 'None',
|
|
6411
|
+
custom: 'Custom location',
|
|
6412
|
+
google: 'Google Meet',
|
|
6413
|
+
microsoft: 'Microsoft Teams',
|
|
6414
|
+
zoom: 'Zoom Meeting',
|
|
6415
|
+
};
|
|
6402
6416
|
const NylasEventLocation = class {
|
|
6403
6417
|
constructor(hostRef) {
|
|
6404
6418
|
registerInstance(this, hostRef);
|
|
@@ -6419,7 +6433,7 @@ const NylasEventLocation = class {
|
|
|
6419
6433
|
this.eventLocation = undefined;
|
|
6420
6434
|
this.location = this.eventLocation ?? '';
|
|
6421
6435
|
this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : '';
|
|
6422
|
-
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : '';
|
|
6436
|
+
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : 'none';
|
|
6423
6437
|
this.userProviderState = this.userProvider ?? '';
|
|
6424
6438
|
}
|
|
6425
6439
|
elementNameChangedHandler(newValue) {
|
|
@@ -6546,33 +6560,50 @@ const NylasEventLocation = class {
|
|
|
6546
6560
|
this.setFormValue(value, this.name);
|
|
6547
6561
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6548
6562
|
}
|
|
6563
|
+
getIcon(location) {
|
|
6564
|
+
switch (location) {
|
|
6565
|
+
case 'none':
|
|
6566
|
+
return h("location-off-icon", null);
|
|
6567
|
+
case 'custom':
|
|
6568
|
+
return h("location-icon", null);
|
|
6569
|
+
case 'google':
|
|
6570
|
+
return h("google-meet-icon", null);
|
|
6571
|
+
case 'microsoft':
|
|
6572
|
+
return h("microsoft-teams-icon", null);
|
|
6573
|
+
case 'zoom':
|
|
6574
|
+
return h("zoom-icon", null);
|
|
6575
|
+
}
|
|
6576
|
+
}
|
|
6577
|
+
getLabelHTML(location) {
|
|
6578
|
+
return (h("span", { class: "location-label", style: {
|
|
6579
|
+
display: 'flex',
|
|
6580
|
+
alignItems: 'center',
|
|
6581
|
+
gap: '16px',
|
|
6582
|
+
width: '-webkit-fill-available',
|
|
6583
|
+
} }, this.getIcon(location), h("span", { class: "location-text", style: {
|
|
6584
|
+
fontSize: '14px',
|
|
6585
|
+
fontWeight: '400',
|
|
6586
|
+
} }, labels[location])));
|
|
6587
|
+
}
|
|
6549
6588
|
render() {
|
|
6550
6589
|
const locationOptions = [
|
|
6551
|
-
{ value: 'none', label: '
|
|
6552
|
-
{ value: 'custom', label: '
|
|
6590
|
+
{ value: 'none', label: labels['none'], labelHTML: this.getLabelHTML('none') },
|
|
6591
|
+
{ value: 'custom', label: labels['custom'], labelHTML: this.getLabelHTML('custom') },
|
|
6553
6592
|
];
|
|
6554
6593
|
switch (this.userProviderState) {
|
|
6555
6594
|
case 'google':
|
|
6556
|
-
locationOptions.push({ value: 'google', label: '
|
|
6595
|
+
locationOptions.push({ value: 'google', label: labels['google'], labelHTML: this.getLabelHTML('google') });
|
|
6557
6596
|
break;
|
|
6558
6597
|
case 'microsoft':
|
|
6559
|
-
locationOptions.push({ value: 'microsoft', label: '
|
|
6598
|
+
locationOptions.push({ value: 'microsoft', label: labels['microsoft'], labelHTML: this.getLabelHTML('microsoft') });
|
|
6560
6599
|
break;
|
|
6561
6600
|
}
|
|
6562
6601
|
if (this.conferenceProviders?.['zoom']) {
|
|
6563
|
-
locationOptions.push({ value: 'zoom', label: '
|
|
6602
|
+
locationOptions.push({ value: 'zoom', label: labels['zoom'], labelHTML: this.getLabelHTML('zoom') });
|
|
6564
6603
|
}
|
|
6565
6604
|
const newLocationOptions = [...locationOptions];
|
|
6566
6605
|
const defaultOption = locationOptions.find(i => i.value == this.selectedLocationOption);
|
|
6567
|
-
|
|
6568
|
-
none: h("location-off-icon", { key: '2482c1d7540ae00fddbff24ddf0b4189685e3db4' }),
|
|
6569
|
-
custom: h("location-icon", { key: 'aeb4445371396bad7b3062e0a0ce62f4227f97c4' }),
|
|
6570
|
-
google: h("google-meet-icon", { key: '6e790972192ecca0900dea5904d3f318d19341cc' }),
|
|
6571
|
-
microsoft: h("microsoft-teams-icon", { key: '1b372c0129879cf9c16b015ba4fdb6d1cee40597' }),
|
|
6572
|
-
zoom: h("zoom-icon", { key: '1b46c44aa6db92e2e136bbab6fa98f17376da160' }),
|
|
6573
|
-
};
|
|
6574
|
-
const locationIcon = icons[this.selectedLocationOption];
|
|
6575
|
-
return (h(Host, { key: 'f2870194d69bf49afadd49f87c42fb085f60b085' }, h("div", { key: '247dd130e13d9e8287da1f5d83656f40a2ad313d', class: "nylas-event-location", part: "nel" }, h("label", { key: 'b7d548b8522830155db8fd2fc7eca8793e8bb8e1', htmlFor: "location" }, "Event meeting or location", h("span", { key: '587c6c27f6f89ed5a263372123bd509b5984025f', class: "label-icon" }, h("tooltip-component", { key: '0dad9cbc3627fe4c549fbdba418119b205b1e812' }, h("info-icon", { key: '6a3938dc0cee21a1c8379b33720ada33c96edacd', slot: "tooltip-icon" }), h("span", { key: 'dbff5af98e90895815712d4e55bf57c3fdd2f5c4', slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), h("div", { key: '0fe09f3fc8c30a8203a1207357f8e20a81a4bf28', class: "location-input" }, defaultOption?.label && (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" }, h("span", { slot: "select-icon" }, locationIcon))), this.selectedLocationOption === 'custom' && (h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
6606
|
+
return (h(Host, { key: '9ace3d0c618879dede4f6ea52aed41a0e193352f' }, h("div", { key: '06f62cedba0696aabc59058f9d1cce12819f350b', class: "nylas-event-location", part: "nel" }, h("label", { key: '584acc644bdeddcb319395b531a7dad90a165452', htmlFor: "location" }, "Event meeting or location", h("span", { key: 'a4e2414ab1cf5c83c5f487a21d22d5c66f5b945d', class: "label-icon" }, h("tooltip-component", { key: '41a0429b5987bd6359c2fd42e8ab4abf67a3f83e' }, h("info-icon", { key: '8723ecf7cd91edee84b3ca28ffba0c4b3d3967f0', slot: "tooltip-icon" }), h("span", { key: 'e0201540705e2aa0a94357fd2dd1af95887abe71', slot: "tooltip-content" }, "Select a conferencing option or add a custom location.")))), h("div", { key: 'e983eb85462b31b665edad087c4aea7259c85407', class: "location-input" }, defaultOption?.label && (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" }, h("span", { slot: "select-icon" }, this.getIcon(this.selectedLocationOption)))), this.selectedLocationOption === 'custom' && (h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
6576
6607
|
}
|
|
6577
6608
|
static get formAssociated() { return true; }
|
|
6578
6609
|
get host() { return getElement(this); }
|
|
@@ -6581,7 +6612,7 @@ const NylasEventLocation = class {
|
|
|
6581
6612
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6582
6613
|
}; }
|
|
6583
6614
|
};
|
|
6584
|
-
__decorate$
|
|
6615
|
+
__decorate$d([
|
|
6585
6616
|
RegisterComponent({
|
|
6586
6617
|
name: 'nylas-event-location',
|
|
6587
6618
|
stateToProps: new Map([
|
|
@@ -6592,16 +6623,16 @@ __decorate$b([
|
|
|
6592
6623
|
eventToProps: {},
|
|
6593
6624
|
fireRegisterEvent: true,
|
|
6594
6625
|
}),
|
|
6595
|
-
__metadata$
|
|
6596
|
-
__metadata$
|
|
6597
|
-
__metadata$
|
|
6626
|
+
__metadata$d("design:type", Function),
|
|
6627
|
+
__metadata$d("design:paramtypes", []),
|
|
6628
|
+
__metadata$d("design:returntype", void 0)
|
|
6598
6629
|
], NylasEventLocation.prototype, "render", null);
|
|
6599
6630
|
NylasEventLocation.style = NylasEventLocationStyle0;
|
|
6600
6631
|
|
|
6601
6632
|
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)}";
|
|
6602
6633
|
const NylasEventTitleStyle0 = nylasEventTitleCss;
|
|
6603
6634
|
|
|
6604
|
-
var __decorate$
|
|
6635
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6605
6636
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6606
6637
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6607
6638
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6611,7 +6642,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6611
6642
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6612
6643
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6613
6644
|
};
|
|
6614
|
-
var __metadata$
|
|
6645
|
+
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
|
6615
6646
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6616
6647
|
return Reflect.metadata(k, v);
|
|
6617
6648
|
};
|
|
@@ -6833,11 +6864,16 @@ const NylasEventTitle = class {
|
|
|
6833
6864
|
this.resetDropdown();
|
|
6834
6865
|
}
|
|
6835
6866
|
else if (event.key === 'Backspace' || event.key === 'Delete') {
|
|
6836
|
-
|
|
6837
|
-
|
|
6867
|
+
const parentNode = selection?.node?.parentNode;
|
|
6868
|
+
if (selection?.currentText.startsWith('${') && parentNode) {
|
|
6869
|
+
event.preventDefault();
|
|
6870
|
+
parentNode.removeChild(selection.node);
|
|
6871
|
+
parentNode.remove();
|
|
6872
|
+
this.resetDropdown();
|
|
6838
6873
|
}
|
|
6839
|
-
if (this.titleRef.textContent === '' || selection?.
|
|
6874
|
+
if (this.titleRef.textContent === '' || selection?.allSelected) {
|
|
6840
6875
|
this.titleRef.innerHTML = '';
|
|
6876
|
+
this.updateEventTitle('');
|
|
6841
6877
|
}
|
|
6842
6878
|
}
|
|
6843
6879
|
}
|
|
@@ -6917,10 +6953,10 @@ const NylasEventTitle = class {
|
|
|
6917
6953
|
return (h("div", { class: "token-label" }, h("span", { class: "token" }, token.token), h("span", { class: "description" }, token.description)));
|
|
6918
6954
|
}
|
|
6919
6955
|
render() {
|
|
6920
|
-
return (h(Host, { key: '
|
|
6956
|
+
return (h(Host, { key: '3a6858cea6ad427bb8f7046e4d409c44d9d57467' }, h("div", { key: '26574b9f7c76628771e584d1c3943b2ce9b77ce0', class: "nylas-event-title", part: "net" }, h("label", { key: 'b6bab982d9b8a091ee1c9a66b5d24b3050e08817', htmlFor: "title" }, "Event title", h("span", { key: '34b1ba7719d37f6af0d3c84e3fe1c251625848b1', class: "required" }, "*")), h("div", { key: '0fcbdee8625b13720b31df47ddb76bdba6f384c6', class: {
|
|
6921
6957
|
title: true,
|
|
6922
6958
|
error: this.validationError !== '',
|
|
6923
|
-
}, part: "net__title", ref: el => (this.titleRef = el), contentEditable: "true", onInput: e => this.handleChange(e), onKeyDown: event => this.handleInputKeyDown(event) }), this.showTokens && this.filteredTokens?.length > 0 && (h("div", { class: "token-options", part: "net__dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (h("li", { tabindex: "0", key: option.label, id: option.label, class: { active: this.ariaActivedescendant === option.label }, onClick: e => this.selectOption(e, option), role: "option" }, this.getLabelHTML(option.labelHTML))))))), h("span", { key: '
|
|
6959
|
+
}, part: "net__title", ref: el => (this.titleRef = el), contentEditable: "true", onInput: e => this.handleChange(e), onKeyDown: event => this.handleInputKeyDown(event) }), this.showTokens && this.filteredTokens?.length > 0 && (h("div", { class: "token-options", part: "net__dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant }, this.filteredTokens.map(option => (h("li", { tabindex: "0", key: option.label, id: option.label, class: { active: this.ariaActivedescendant === option.label }, onClick: e => this.selectOption(e, option), role: "option" }, this.getLabelHTML(option.labelHTML))))))), h("span", { key: '8c267fb019bc2f4a7ec9bd771c7ebdbd4e36860e', class: "help-text" }, "Create a dynamic templated event title by typing ", h("code", { key: '73fff78bf0ef47b1a4880b88630285c5565348e7' }, "$"), " and selecting a template item.", h("span", { key: '64c431fb78eef320cdca1e426e4290f1663fe756', class: "label-icon" }, h("tooltip-component", { key: 'b8f4ce46c4f53f66d50b6121dbc76360972638f9' }, h("info-icon", { key: '038824ecf2006ce2851de30c1538c30d96707ca9', slot: "tooltip-icon" }), h("span", { key: '0fefb16b80e9c43a7f46e1d5f72d12ca39cdc348', slot: "tooltip-content" }, "For example, Interview with ", h("code", { key: 'df208a8bb8907416908a6cdbc0edba219e924513' }, '${invitee}'))))), this.validationError != '' && h("span", { class: "error-message" }, this.validationError))));
|
|
6924
6960
|
}
|
|
6925
6961
|
static get formAssociated() { return true; }
|
|
6926
6962
|
get host() { return getElement(this); }
|
|
@@ -6930,23 +6966,23 @@ const NylasEventTitle = class {
|
|
|
6930
6966
|
"selectedConfiguration": ["configChangedHandler"]
|
|
6931
6967
|
}; }
|
|
6932
6968
|
};
|
|
6933
|
-
__decorate$
|
|
6969
|
+
__decorate$c([
|
|
6934
6970
|
RegisterComponent({
|
|
6935
6971
|
name: 'nylas-event-title',
|
|
6936
6972
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6937
6973
|
eventToProps: {},
|
|
6938
6974
|
fireRegisterEvent: true,
|
|
6939
6975
|
}),
|
|
6940
|
-
__metadata$
|
|
6941
|
-
__metadata$
|
|
6942
|
-
__metadata$
|
|
6976
|
+
__metadata$c("design:type", Function),
|
|
6977
|
+
__metadata$c("design:paramtypes", []),
|
|
6978
|
+
__metadata$c("design:returntype", void 0)
|
|
6943
6979
|
], NylasEventTitle.prototype, "render", null);
|
|
6944
6980
|
NylasEventTitle.style = NylasEventTitleStyle0;
|
|
6945
6981
|
|
|
6946
6982
|
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)}";
|
|
6947
6983
|
const NylasFeedbackFormStyle0 = nylasFeedbackFormCss;
|
|
6948
6984
|
|
|
6949
|
-
var __decorate$
|
|
6985
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6950
6986
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6951
6987
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6952
6988
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6956,7 +6992,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6956
6992
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6957
6993
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6958
6994
|
};
|
|
6959
|
-
var __metadata$
|
|
6995
|
+
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
|
6960
6996
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6961
6997
|
return Reflect.metadata(k, v);
|
|
6962
6998
|
};
|
|
@@ -6999,13 +7035,13 @@ const NylasFeedbackForm = class {
|
|
|
6999
7035
|
this.feedbackModalClosed.emit();
|
|
7000
7036
|
}
|
|
7001
7037
|
render() {
|
|
7002
|
-
return (h(Host, { key: '
|
|
7038
|
+
return (h(Host, { key: '00514f43a6b2052ce2a4144917ccc5adc965a94a', part: "nfbf" }, h("div", { key: '4271697a749f74d3d62f611df6841dc4d7e4ef4d', class: "card-wrapper", part: "nfbfc__card" }, h("div", { key: '59271c12c04a4f78fac68534ec66b24ac9803784', class: "close-button" }, h("button-component", { key: 'de7ced90803da24ff46d2dc30f7e925b6fb760a8', tooltip: "Close", id: "close", variant: 'invisible', onClick: e => this.closeModal(e), part: "nfbf__close-button" }, h("close-icon", { key: '3f64b2db3958bf082829310126566ef58ae54f46' }))), h("div", { key: '526d959d10a00d49d66d66fe3a56bce3a03893f4', class: "header" }, h("h2", { key: '699f00cca09366e19081e0972a76a2f67d471ecc', slot: "card-title", part: "nfbf__title" }, instance.t('feedbackFormTitle'))), h("div", { key: '95062b4d3557eef49fac7246526f0d413acdd7ff', class: "description title-desc" }, h("p", { key: '6806a1ae323b2f67c5fcacbb0238df86a4f32bce' }, instance.t('feedbackFormDescription'))), h("textarea-component", { key: '1135f11f19f5cca1f814812c606b39c3a828bf9b', label: instance.t('feedbackMessageLabel'), required: true, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: instance.t('feedbackMessagePlaceholder') }), h("div", { key: '388f7897c0eb2a9d87d25b98b49d3f60363e0108', class: 'description footer-desc' }, 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", ' ', h("a", { key: 'c1a380ed74cb1c6081ca7c557e761eab7ae5ab9d', href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), h("div", { key: 'd8da33e015c718e6c8cf59b407eb7df7efaa26f9', class: {
|
|
7003
7039
|
footer: true,
|
|
7004
|
-
} }, h("button-component", { key: '
|
|
7040
|
+
} }, h("button-component", { key: '52f9c1a0a54907f9b83167387247fc3c979ad498', variant: 'invisible', onClick: e => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${instance.t('feedbackModalCloseButton')}`), h("button-component", { key: '819fc5952960c841c3a6b46af127699cd5f69c88', variant: 'primary', onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${instance.t('feedbackModalSubmitButton')}`)))));
|
|
7005
7041
|
}
|
|
7006
7042
|
get host() { return getElement(this); }
|
|
7007
7043
|
};
|
|
7008
|
-
__decorate$
|
|
7044
|
+
__decorate$b([
|
|
7009
7045
|
RegisterComponent({
|
|
7010
7046
|
name: 'nylas-feedback-form',
|
|
7011
7047
|
stateToProps: new Map([]),
|
|
@@ -7015,16 +7051,16 @@ __decorate$9([
|
|
|
7015
7051
|
},
|
|
7016
7052
|
fireRegisterEvent: true,
|
|
7017
7053
|
}),
|
|
7018
|
-
__metadata$
|
|
7019
|
-
__metadata$
|
|
7020
|
-
__metadata$
|
|
7054
|
+
__metadata$b("design:type", Function),
|
|
7055
|
+
__metadata$b("design:paramtypes", []),
|
|
7056
|
+
__metadata$b("design:returntype", void 0)
|
|
7021
7057
|
], NylasFeedbackForm.prototype, "render", null);
|
|
7022
7058
|
NylasFeedbackForm.style = NylasFeedbackFormStyle0;
|
|
7023
7059
|
|
|
7024
7060
|
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}";
|
|
7025
7061
|
const NylasLimitFutureBookingsStyle0 = nylasLimitFutureBookingsCss;
|
|
7026
7062
|
|
|
7027
|
-
var __decorate$
|
|
7063
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7028
7064
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7029
7065
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7030
7066
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7034,7 +7070,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7034
7070
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7035
7071
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7036
7072
|
};
|
|
7037
|
-
var __metadata$
|
|
7073
|
+
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
|
7038
7074
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7039
7075
|
return Reflect.metadata(k, v);
|
|
7040
7076
|
};
|
|
@@ -7125,7 +7161,7 @@ const NylasLimitFutureBookings = class {
|
|
|
7125
7161
|
}
|
|
7126
7162
|
render() {
|
|
7127
7163
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7128
|
-
return (h(Host, { key: '
|
|
7164
|
+
return (h(Host, { key: '215b20a927344e8b41d6c1b2b01764551729e485' }, h("div", { key: 'ca577da089b5d396662cb421c6b136441cdada76', class: "nylas-limit-future-bookings", part: "nlfb" }, h("label", { key: '395b402858fb09c0fa8eb9821007878bffb991b6' }, "Limit future bookings", h("span", { key: '2b70f7c6df5e291cabb0578e490911c001d617c8', class: "label-icon" }, h("tooltip-component", { key: 'c8f9f7ca001ffc53f4302776f98787f8ff83c743' }, h("info-icon", { key: 'ab50f1feb38dcf026a1e2d56db99106dfad1f665', slot: "tooltip-icon" }), h("span", { key: '2196f08c84f1da46a5832e4f7a7fea0de46c37d3', slot: "tooltip-content" }, "The limit on how far in the future bookings can be made.")))), showTImePeriodSelector && (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 })))));
|
|
7129
7165
|
}
|
|
7130
7166
|
static get formAssociated() { return true; }
|
|
7131
7167
|
get host() { return getElement(this); }
|
|
@@ -7134,23 +7170,23 @@ const NylasLimitFutureBookings = class {
|
|
|
7134
7170
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7135
7171
|
}; }
|
|
7136
7172
|
};
|
|
7137
|
-
__decorate$
|
|
7173
|
+
__decorate$a([
|
|
7138
7174
|
RegisterComponent({
|
|
7139
7175
|
name: 'nylas-limit-future-bookings',
|
|
7140
7176
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7141
7177
|
eventToProps: {},
|
|
7142
7178
|
fireRegisterEvent: true,
|
|
7143
7179
|
}),
|
|
7144
|
-
__metadata$
|
|
7145
|
-
__metadata$
|
|
7146
|
-
__metadata$
|
|
7180
|
+
__metadata$a("design:type", Function),
|
|
7181
|
+
__metadata$a("design:paramtypes", []),
|
|
7182
|
+
__metadata$a("design:returntype", void 0)
|
|
7147
7183
|
], NylasLimitFutureBookings.prototype, "render", null);
|
|
7148
7184
|
NylasLimitFutureBookings.style = NylasLimitFutureBookingsStyle0;
|
|
7149
7185
|
|
|
7150
7186
|
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}";
|
|
7151
7187
|
const NylasMinBookingNoticeStyle0 = nylasMinBookingNoticeCss;
|
|
7152
7188
|
|
|
7153
|
-
var __decorate$
|
|
7189
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7154
7190
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7155
7191
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7156
7192
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7160,7 +7196,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7160
7196
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7161
7197
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7162
7198
|
};
|
|
7163
|
-
var __metadata$
|
|
7199
|
+
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7164
7200
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7165
7201
|
return Reflect.metadata(k, v);
|
|
7166
7202
|
};
|
|
@@ -7176,8 +7212,8 @@ const NylasMinBookingNotice = class {
|
|
|
7176
7212
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7177
7213
|
}
|
|
7178
7214
|
this.selectedConfiguration = undefined;
|
|
7179
|
-
this.minBookingNotice = undefined;
|
|
7180
7215
|
this.name = 'min-booking-notice';
|
|
7216
|
+
this.minBookingNotice = undefined;
|
|
7181
7217
|
this.selectedNumber = undefined;
|
|
7182
7218
|
this.selectedPeriod = undefined;
|
|
7183
7219
|
}
|
|
@@ -7276,7 +7312,7 @@ const NylasMinBookingNotice = class {
|
|
|
7276
7312
|
}
|
|
7277
7313
|
render() {
|
|
7278
7314
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7279
|
-
return (h(Host, { key: '
|
|
7315
|
+
return (h(Host, { key: '058d282534c52f53706462ac1d683ec578f6d3a8' }, h("div", { key: '9ea1537dac50fd2376b36be39b9018e4ea72f6b6', class: "nylas-min-booking-notice", part: "nmbn" }, h("label", { key: 'a36bfe20366c6da7a87714dec15fa2d0d99306bc' }, "Minimum booking notice", h("span", { key: 'c0b3c66b4da42c78cae762889dd24f0201827184', class: "label-icon" }, h("tooltip-component", { key: '012dad9e26ec2dd6c82da843741e2aee8ea4d327' }, h("info-icon", { key: '4cbf03a96564d428a06b2a0faf11a353ded5a6c1', slot: "tooltip-icon" }), h("span", { key: '4ab57c8815064edb2fb06f8f10b5ccde022a9b90', slot: "tooltip-content" }, "The minimum amount of time in the future that a new booking can be made.")))), showTImePeriodSelector && (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 })))));
|
|
7280
7316
|
}
|
|
7281
7317
|
static get formAssociated() { return true; }
|
|
7282
7318
|
get host() { return getElement(this); }
|
|
@@ -7285,23 +7321,23 @@ const NylasMinBookingNotice = class {
|
|
|
7285
7321
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7286
7322
|
}; }
|
|
7287
7323
|
};
|
|
7288
|
-
__decorate$
|
|
7324
|
+
__decorate$9([
|
|
7289
7325
|
RegisterComponent({
|
|
7290
7326
|
name: 'nylas-min-booking-notice',
|
|
7291
7327
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7292
7328
|
eventToProps: {},
|
|
7293
7329
|
fireRegisterEvent: true,
|
|
7294
7330
|
}),
|
|
7295
|
-
__metadata$
|
|
7296
|
-
__metadata$
|
|
7297
|
-
__metadata$
|
|
7331
|
+
__metadata$9("design:type", Function),
|
|
7332
|
+
__metadata$9("design:paramtypes", []),
|
|
7333
|
+
__metadata$9("design:returntype", void 0)
|
|
7298
7334
|
], NylasMinBookingNotice.prototype, "render", null);
|
|
7299
7335
|
NylasMinBookingNotice.style = NylasMinBookingNoticeStyle0;
|
|
7300
7336
|
|
|
7301
7337
|
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}";
|
|
7302
7338
|
const NylasMinCancellationNoticeStyle0 = nylasMinCancellationNoticeCss;
|
|
7303
7339
|
|
|
7304
|
-
var __decorate$
|
|
7340
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7305
7341
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7306
7342
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7307
7343
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7311,7 +7347,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7311
7347
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7312
7348
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7313
7349
|
};
|
|
7314
|
-
var __metadata$
|
|
7350
|
+
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7315
7351
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7316
7352
|
return Reflect.metadata(k, v);
|
|
7317
7353
|
};
|
|
@@ -7327,8 +7363,8 @@ const NylasMinCancellationNotice = class {
|
|
|
7327
7363
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7328
7364
|
}
|
|
7329
7365
|
this.selectedConfiguration = undefined;
|
|
7330
|
-
this.minCancellationNotice = undefined;
|
|
7331
7366
|
this.name = 'min-cancellation-notice';
|
|
7367
|
+
this.minCancellationNotice = undefined;
|
|
7332
7368
|
this.selectedNumber = undefined;
|
|
7333
7369
|
this.selectedPeriod = undefined;
|
|
7334
7370
|
}
|
|
@@ -7431,7 +7467,7 @@ const NylasMinCancellationNotice = class {
|
|
|
7431
7467
|
}
|
|
7432
7468
|
render() {
|
|
7433
7469
|
const showTimePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7434
|
-
return (h(Host, { key: '
|
|
7470
|
+
return (h(Host, { key: 'b3d5eab0c7f826b60f8d88dbcd2de20b8aa05953' }, h("div", { key: 'df62baa3bd558066cea96bd86f2b4594b7eae613', class: "nylas-min-cancellation-notice", part: "nmcn" }, h("label", { key: '7bab73f950ee0529feef61c32750488ee8e3d816' }, "Minimum cancellation notice", h("span", { key: '71856612ca18403cc95642ad22f7fea40c93163e', class: "label-icon" }, h("tooltip-component", { key: '3961109385d524c08115a98bd8e303d573529884' }, h("info-icon", { key: '60053a1ff74768ab53e903b52c0028b5c04aa5c7', slot: "tooltip-icon" }), h("span", { key: 'af42bbed9685aa44d11ad4dd3cd35a156ba245a4', slot: "tooltip-content" }, "The minimum amount of time required to cancel a booking.")))), showTimePeriodSelector && (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 })))));
|
|
7435
7471
|
}
|
|
7436
7472
|
static get formAssociated() { return true; }
|
|
7437
7473
|
get host() { return getElement(this); }
|
|
@@ -7440,23 +7476,23 @@ const NylasMinCancellationNotice = class {
|
|
|
7440
7476
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7441
7477
|
}; }
|
|
7442
7478
|
};
|
|
7443
|
-
__decorate$
|
|
7479
|
+
__decorate$8([
|
|
7444
7480
|
RegisterComponent({
|
|
7445
7481
|
name: 'nylas-min-cancellation-notice',
|
|
7446
7482
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7447
7483
|
eventToProps: {},
|
|
7448
7484
|
fireRegisterEvent: true,
|
|
7449
7485
|
}),
|
|
7450
|
-
__metadata$
|
|
7451
|
-
__metadata$
|
|
7452
|
-
__metadata$
|
|
7486
|
+
__metadata$8("design:type", Function),
|
|
7487
|
+
__metadata$8("design:paramtypes", []),
|
|
7488
|
+
__metadata$8("design:returntype", void 0)
|
|
7453
7489
|
], NylasMinCancellationNotice.prototype, "render", null);
|
|
7454
7490
|
NylasMinCancellationNotice.style = NylasMinCancellationNoticeStyle0;
|
|
7455
7491
|
|
|
7456
7492
|
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}";
|
|
7457
7493
|
const NylasPageNameStyle0 = nylasPageNameCss;
|
|
7458
7494
|
|
|
7459
|
-
var __decorate$
|
|
7495
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7460
7496
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7461
7497
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7462
7498
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7466,7 +7502,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7466
7502
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7467
7503
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7468
7504
|
};
|
|
7469
|
-
var __metadata$
|
|
7505
|
+
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7470
7506
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7471
7507
|
return Reflect.metadata(k, v);
|
|
7472
7508
|
};
|
|
@@ -7482,10 +7518,10 @@ const NylasPageName = class {
|
|
|
7482
7518
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7483
7519
|
}
|
|
7484
7520
|
this.selectedConfiguration = undefined;
|
|
7521
|
+
this.name = 'page-name';
|
|
7485
7522
|
this.pageName = undefined;
|
|
7486
7523
|
this.showToggle = true;
|
|
7487
7524
|
this.isOpen = true;
|
|
7488
|
-
this.name = 'page-name';
|
|
7489
7525
|
this.currentPageName = undefined;
|
|
7490
7526
|
}
|
|
7491
7527
|
connectedCallback() {
|
|
@@ -7540,7 +7576,7 @@ const NylasPageName = class {
|
|
|
7540
7576
|
}
|
|
7541
7577
|
render() {
|
|
7542
7578
|
const isComponentReady = typeof this.currentPageName !== 'undefined';
|
|
7543
|
-
return (h(Host, { key: '
|
|
7579
|
+
return (h(Host, { key: 'f0b405f57e2cb8c65b59c07bdca8ec3885a98a7d' }, h("div", { key: '4873ef6137393c0bd31b90fca33eee42e2feb449', class: "nylas-page-name", part: "nces" }, h("div", { key: 'bf9894bee632ed6debc5f401b1e3bb98d4561258', class: "header", part: "nces__header" }, h("div", { key: '631f080c4c2aba2597d6638ea4dfb20eedb0a1d6' }, h("h3", { key: '657b49c737bb46d96698cac0c39ba20f08dac34a' }, "Page name"), h("p", { key: '7a81b920c53b427529828476a2efed5c80c5ce56' }, "Set the Scheduling Page name.", h("tooltip-component", { key: 'a16a8a9e03310794cf4de5b0ab863d730723bf16' }, h("info-icon", { key: 'ffbfa4cfd591c4994a7ff51251ed92062e9cf42e', slot: "tooltip-icon" }), 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 && (h("div", { class: "drawer-toggle", part: "nces__drawer-toggle--container" }, h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleDrawer() }, h("chevron-icon", { width: "24", height: "24" }))))), this.isOpen && (h("div", { class: "nylas-page-name__body", part: "nces__body" }, h("div", { class: "nylas-page-name__section" }, h("div", { class: "nylas-page-name__row" }, h("div", { class: "input-container" }, h("div", { class: "nylas-page-name__input-wrapper" }, isComponentReady && (h("input-component", { name: "page-name", id: "page-name", type: "text", required: false, exportparts: "ic_input: npn__input-textfield", defaultValue: this.currentPageName ?? '' })))))))))));
|
|
7544
7580
|
}
|
|
7545
7581
|
static get formAssociated() { return true; }
|
|
7546
7582
|
get host() { return getElement(this); }
|
|
@@ -7549,7 +7585,7 @@ const NylasPageName = class {
|
|
|
7549
7585
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7550
7586
|
}; }
|
|
7551
7587
|
};
|
|
7552
|
-
__decorate$
|
|
7588
|
+
__decorate$7([
|
|
7553
7589
|
RegisterComponent({
|
|
7554
7590
|
name: 'nylas-page-name',
|
|
7555
7591
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7563,16 +7599,16 @@ __decorate$5([
|
|
|
7563
7599
|
},
|
|
7564
7600
|
fireRegisterEvent: true,
|
|
7565
7601
|
}),
|
|
7566
|
-
__metadata$
|
|
7567
|
-
__metadata$
|
|
7568
|
-
__metadata$
|
|
7602
|
+
__metadata$7("design:type", Function),
|
|
7603
|
+
__metadata$7("design:paramtypes", []),
|
|
7604
|
+
__metadata$7("design:returntype", void 0)
|
|
7569
7605
|
], NylasPageName.prototype, "render", null);
|
|
7570
7606
|
NylasPageName.style = NylasPageNameStyle0;
|
|
7571
7607
|
|
|
7572
7608
|
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}";
|
|
7573
7609
|
const NylasPageStylingStyle0 = nylasPageStylingCss;
|
|
7574
7610
|
|
|
7575
|
-
var __decorate$
|
|
7611
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7576
7612
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7577
7613
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7578
7614
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7582,7 +7618,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7582
7618
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7583
7619
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7584
7620
|
};
|
|
7585
|
-
var __metadata$
|
|
7621
|
+
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7586
7622
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7587
7623
|
return Reflect.metadata(k, v);
|
|
7588
7624
|
};
|
|
@@ -7599,9 +7635,9 @@ const NylasPageStyling = class {
|
|
|
7599
7635
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7600
7636
|
}
|
|
7601
7637
|
this.selectedConfiguration = undefined;
|
|
7638
|
+
this.name = 'page-styling';
|
|
7602
7639
|
this.appearance = undefined;
|
|
7603
7640
|
this.isOpen = true;
|
|
7604
|
-
this.name = 'page-styling';
|
|
7605
7641
|
this.currentAppearance = undefined;
|
|
7606
7642
|
this.customInputsSlot = null;
|
|
7607
7643
|
}
|
|
@@ -7820,7 +7856,7 @@ const NylasPageStyling = class {
|
|
|
7820
7856
|
this.isOpen = !this.isOpen;
|
|
7821
7857
|
}
|
|
7822
7858
|
render() {
|
|
7823
|
-
return (h(Host, { key: '
|
|
7859
|
+
return (h(Host, { key: 'be08b4dc45a6950b8bf9190fbb5bd450a63f24cb' }, h("div", { key: '37c4ef967ab1ccecc7752be8e13847c1ff67f2ad', part: "nps", class: { 'nylas-page-styling': true, 'no-border': !this.customInputsSlot } }, this.customInputsSlot ? (h("div", { class: "header", part: "nps__header" }, h("div", null, h("h3", null, "Page styling and customization")), h("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" }))))) : null, h("div", { key: '304a8a53cff0c854ce244435ff51abb2dc51b105', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, h("div", { key: '9de4abc9b92aab8d976b0fd2a568a5c60d7f0f6e', class: { 'nylas-page-styling__section': true, 'no-padding': !this.customInputsSlot } }, h("div", { key: '490d7515e07679200e6a42138867088c7b6c4634', class: "nylas-page-styling__row" }, h("div", { key: 'dcf7dbe82d82b103f14e63dc519aab3245d869e8', class: { subsection: true, hide: !this.isOpen } })))))));
|
|
7824
7860
|
}
|
|
7825
7861
|
static get formAssociated() { return true; }
|
|
7826
7862
|
get host() { return getElement(this); }
|
|
@@ -7828,7 +7864,7 @@ const NylasPageStyling = class {
|
|
|
7828
7864
|
"name": ["elementNameChangedHandler"]
|
|
7829
7865
|
}; }
|
|
7830
7866
|
};
|
|
7831
|
-
__decorate$
|
|
7867
|
+
__decorate$6([
|
|
7832
7868
|
RegisterComponent({
|
|
7833
7869
|
name: 'nylas-page-styling',
|
|
7834
7870
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7842,16 +7878,16 @@ __decorate$4([
|
|
|
7842
7878
|
},
|
|
7843
7879
|
fireRegisterEvent: true,
|
|
7844
7880
|
}),
|
|
7845
|
-
__metadata$
|
|
7846
|
-
__metadata$
|
|
7847
|
-
__metadata$
|
|
7881
|
+
__metadata$6("design:type", Function),
|
|
7882
|
+
__metadata$6("design:paramtypes", []),
|
|
7883
|
+
__metadata$6("design:returntype", void 0)
|
|
7848
7884
|
], NylasPageStyling.prototype, "render", null);
|
|
7849
7885
|
NylasPageStyling.style = NylasPageStylingStyle0;
|
|
7850
7886
|
|
|
7851
7887
|
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}";
|
|
7852
7888
|
const NylasParticipantBookingCalendarsStyle0 = nylasParticipantBookingCalendarsCss;
|
|
7853
7889
|
|
|
7854
|
-
var __decorate$
|
|
7890
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7855
7891
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7856
7892
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7857
7893
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7861,7 +7897,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7861
7897
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7862
7898
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7863
7899
|
};
|
|
7864
|
-
var __metadata$
|
|
7900
|
+
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7865
7901
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7866
7902
|
return Reflect.metadata(k, v);
|
|
7867
7903
|
};
|
|
@@ -7953,6 +7989,10 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7953
7989
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
7954
7990
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
7955
7991
|
}
|
|
7992
|
+
else {
|
|
7993
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
7994
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
7995
|
+
}
|
|
7956
7996
|
}
|
|
7957
7997
|
handleValueChanged(event) {
|
|
7958
7998
|
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -7994,13 +8034,13 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7994
8034
|
return selectedParticipants;
|
|
7995
8035
|
}
|
|
7996
8036
|
render() {
|
|
7997
|
-
return (h(Host, { key: '
|
|
8037
|
+
return (h(Host, { key: 'b9e6684dcd0f1f65681af22cbfa0ee9f096aa3f2' }, h("div", { key: 'fae29a5cc07a0b8b46c36ec4763e3a220415d6d1', class: "nylas-participant-booking-calendars", part: "npbc" }, h("div", { key: 'b03cc0a390af4f2704a262fe8a6142df3db703f1', class: "header", part: "npbc__header" }, h("h3", { key: 'e2859aa78a9ad056290b3d567245d09dfbe4377c' }, "Book to this calendar"), h("p", { key: '0334ecd98e203d7625bef65ab1f5be413a67f2f5' }, "Select the calendar where you want to add event bookings.")), h("div", { key: '48c92054425564074e40d8e28e6cd98b77974083', class: "content", part: "npbc__content" }, h("form", { key: 'f4336a4077a262c45947b75630234806e99148d0', ref: el => (this.bookingCalendarsFormRef = el) }, this.participantCalendars &&
|
|
7998
8038
|
Object.keys(this.participantCalendars).map((key, index) => {
|
|
7999
8039
|
const participant = this.selectedCalendars[key];
|
|
8000
8040
|
const participantCalendars = this.participantCalendars[key];
|
|
8001
8041
|
if (!participant || !participant.name)
|
|
8002
8042
|
return;
|
|
8003
|
-
return (h("div", { class: "participant-container", part: "npbc__participant-container", key: `participant-conatiner-${index}` }, h("div", { class: "participant-title", part: "npbc__participant-title" }, h("p", null, participant.name, "'s booking calendar"), h("div", { class: "participant-toggle", part: "npbc__participant-toggle
|
|
8043
|
+
return (h("div", { class: "participant-container", part: "npbc__participant-container", key: `participant-conatiner-${index}` }, h("div", { class: "participant-title", part: "npbc__participant-title" }, h("p", null, participant.name, "'s booking calendar"), h("div", { class: "participant-toggle", part: "npbc__participant-toggle-container" }, h("span", { class: `chevron ${participant.isOpen ? 'open' : 'closed'}`, onClick: () => {
|
|
8004
8044
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
8005
8045
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
8006
8046
|
} }, h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (h("nylas-booking-calendar-picker", { key: key, name: `participant-booking-${key}`, calendars: participantCalendars, hideHeader: true, defaultBookingCalendar: this.participantDefaultSelectedCalendar[key] }))));
|
|
@@ -8016,7 +8056,7 @@ const NylasParticipantBookingCalendars = class {
|
|
|
8016
8056
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8017
8057
|
}; }
|
|
8018
8058
|
};
|
|
8019
|
-
__decorate$
|
|
8059
|
+
__decorate$5([
|
|
8020
8060
|
RegisterComponent({
|
|
8021
8061
|
name: 'nylas-participant-booking-calendars',
|
|
8022
8062
|
stateToProps: new Map([
|
|
@@ -8027,16 +8067,16 @@ __decorate$3([
|
|
|
8027
8067
|
eventToProps: {},
|
|
8028
8068
|
fireRegisterEvent: true,
|
|
8029
8069
|
}),
|
|
8030
|
-
__metadata$
|
|
8031
|
-
__metadata$
|
|
8032
|
-
__metadata$
|
|
8070
|
+
__metadata$5("design:type", Function),
|
|
8071
|
+
__metadata$5("design:paramtypes", []),
|
|
8072
|
+
__metadata$5("design:returntype", void 0)
|
|
8033
8073
|
], NylasParticipantBookingCalendars.prototype, "render", null);
|
|
8034
8074
|
NylasParticipantBookingCalendars.style = NylasParticipantBookingCalendarsStyle0;
|
|
8035
8075
|
|
|
8036
8076
|
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}";
|
|
8037
8077
|
const NylasParticipantsCustomAvailabilityStyle0 = nylasParticipantsCustomAvailabilityCss;
|
|
8038
8078
|
|
|
8039
|
-
var __decorate$
|
|
8079
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8040
8080
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8041
8081
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8042
8082
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8046,7 +8086,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
8046
8086
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8047
8087
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8048
8088
|
};
|
|
8049
|
-
var __metadata$
|
|
8089
|
+
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8050
8090
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8051
8091
|
return Reflect.metadata(k, v);
|
|
8052
8092
|
};
|
|
@@ -8146,12 +8186,13 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8146
8186
|
openHours: participant.availability?.open_hours || [],
|
|
8147
8187
|
name: participant.name || participant.email,
|
|
8148
8188
|
availability: participant.availability,
|
|
8189
|
+
timezone: participant.timezone,
|
|
8149
8190
|
};
|
|
8150
8191
|
});
|
|
8151
8192
|
return selectedParticipants;
|
|
8152
8193
|
}
|
|
8153
8194
|
render() {
|
|
8154
|
-
return (h(Host, { key: '
|
|
8195
|
+
return (h(Host, { key: '6f9b3c61650e7dd61b6e548fe008be57494b5e89' }, h("div", { key: '256e2e41f0849180ffdb5c67c66dffd9c1ce031a', class: "nylas-participants-custom-availability", part: "npca" }, h("div", { key: 'c3e1aefbb7872b233938aefeb22a13169f194864', class: "header", part: "npca__header" }, h("h3", { key: '8f7af6fa1435b2530fb5d179db1357e765270865' }, "Participant open hours"), h("p", { key: 'ff146ecd72673369a01773b2f00e81264654acf5' }, "If not set, Nylas uses the default open hours for this participant.")), h("div", { key: '52476fb7c7dc19935d92883ebd16f6af6746f8b5', class: "content", part: "npca__content" }, h("form", { key: '2b2fb94eb40a92b0e3326c9681051f61bbe4986e', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
8155
8196
|
const participant = this.selectedParticipants[key];
|
|
8156
8197
|
if (!participant || !participant.name || !participant.availability)
|
|
8157
8198
|
return;
|
|
@@ -8160,7 +8201,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8160
8201
|
return;
|
|
8161
8202
|
this.selectedParticipants[key].isOpen = !participant.isOpen;
|
|
8162
8203
|
this.selectedParticipants = { ...this.selectedParticipants };
|
|
8163
|
-
} }, h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (h("nylas-availability-picker", { key: index, name: `participant-${index}-${key}`, openHours: participant.openHours, defaultTimezone: participant.
|
|
8204
|
+
} }, h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (h("nylas-availability-picker", { key: index, name: `participant-${index}-${key}`, openHours: participant.openHours, defaultTimezone: participant.timezone, hideHeader: true }))));
|
|
8164
8205
|
}))))));
|
|
8165
8206
|
}
|
|
8166
8207
|
static get formAssociated() { return true; }
|
|
@@ -8171,18 +8212,362 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8171
8212
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8172
8213
|
}; }
|
|
8173
8214
|
};
|
|
8174
|
-
__decorate$
|
|
8215
|
+
__decorate$4([
|
|
8175
8216
|
RegisterComponent({
|
|
8176
8217
|
name: 'nylas-participants-custom-availability',
|
|
8177
8218
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8178
8219
|
eventToProps: {},
|
|
8179
8220
|
fireRegisterEvent: true,
|
|
8180
8221
|
}),
|
|
8222
|
+
__metadata$4("design:type", Function),
|
|
8223
|
+
__metadata$4("design:paramtypes", []),
|
|
8224
|
+
__metadata$4("design:returntype", void 0)
|
|
8225
|
+
], NylasParticipantsCustomAvailability.prototype, "render", null);
|
|
8226
|
+
NylasParticipantsCustomAvailability.style = NylasParticipantsCustomAvailabilityStyle0;
|
|
8227
|
+
|
|
8228
|
+
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}";
|
|
8229
|
+
const NylasReminderEmailsStyle0 = nylasReminderEmailsCss;
|
|
8230
|
+
|
|
8231
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8232
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8233
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8234
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8235
|
+
else
|
|
8236
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8237
|
+
if (d = decorators[i])
|
|
8238
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8239
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8240
|
+
};
|
|
8241
|
+
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8242
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8243
|
+
return Reflect.metadata(k, v);
|
|
8244
|
+
};
|
|
8245
|
+
const NylasReminderEmails = class {
|
|
8246
|
+
constructor(hostRef) {
|
|
8247
|
+
registerInstance(this, hostRef);
|
|
8248
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
8249
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8250
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8251
|
+
}
|
|
8252
|
+
else {
|
|
8253
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8254
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8255
|
+
}
|
|
8256
|
+
this.selectedConfiguration = undefined;
|
|
8257
|
+
this.name = 'reminder-overrides';
|
|
8258
|
+
this.reminders = this.selectedConfiguration?.event_booking?.reminders ?? [];
|
|
8259
|
+
this.reminderErrors = {};
|
|
8260
|
+
this.participants = this.selectedConfiguration?.participants ?? [];
|
|
8261
|
+
}
|
|
8262
|
+
connectedCallback() {
|
|
8263
|
+
debug('nylas-reminder-emails', 'connectedCallback');
|
|
8264
|
+
}
|
|
8265
|
+
disconnectedCallback() {
|
|
8266
|
+
debug('nylas-reminder-emails', 'disconnectedCallback');
|
|
8267
|
+
}
|
|
8268
|
+
componentWillLoad() {
|
|
8269
|
+
debug('nylas-reminder-emails', 'componentWillLoad');
|
|
8270
|
+
this.host.setAttribute('name', this.name);
|
|
8271
|
+
}
|
|
8272
|
+
componentDidLoad() {
|
|
8273
|
+
debug('nylas-reminder-emails', 'componentDidLoad');
|
|
8274
|
+
if (this.selectedConfiguration) {
|
|
8275
|
+
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
8276
|
+
}
|
|
8277
|
+
else {
|
|
8278
|
+
this.updateRemindersFormValue();
|
|
8279
|
+
}
|
|
8280
|
+
}
|
|
8281
|
+
componentWillUpdate() {
|
|
8282
|
+
debug('nylas-reminder-emails', 'componentWillUpdate');
|
|
8283
|
+
}
|
|
8284
|
+
componentDidUpdate() {
|
|
8285
|
+
debug('nylas-reminder-emails', 'componentDidUpdate');
|
|
8286
|
+
}
|
|
8287
|
+
componentWillRender() {
|
|
8288
|
+
debug('nylas-reminder-emails', 'componentWillRender');
|
|
8289
|
+
}
|
|
8290
|
+
componentDidRender() {
|
|
8291
|
+
debug('nylas-reminder-emails', 'componentDidRender');
|
|
8292
|
+
}
|
|
8293
|
+
elementNameChangedHandler(newValue) {
|
|
8294
|
+
debug('nylas-reminder-emails', 'elementNameChangedHandler', newValue);
|
|
8295
|
+
this.host.setAttribute('name', newValue);
|
|
8296
|
+
}
|
|
8297
|
+
selectedConfigurationChangedHandler(newVal) {
|
|
8298
|
+
debug('nylas-reminder-emails', 'selectedConfigurationChangedHandler', newVal);
|
|
8299
|
+
this.reminders = newVal?.event_booking?.reminders ?? [];
|
|
8300
|
+
this.participants = newVal?.participants ?? [];
|
|
8301
|
+
this.updateRemindersFormValue();
|
|
8302
|
+
}
|
|
8303
|
+
handleValueChanged(event) {
|
|
8304
|
+
debug('nylas-reminder-emails', 'handleValueChanged', event);
|
|
8305
|
+
const { name, value } = event.detail;
|
|
8306
|
+
if (name.startsWith('reminder-time-')) {
|
|
8307
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8308
|
+
const updatedReminders = [...this.reminders];
|
|
8309
|
+
updatedReminders[reminderIndex].minutes_before_event = parseInt(value);
|
|
8310
|
+
this.reminders = [...updatedReminders];
|
|
8311
|
+
this.updateRemindersFormValue();
|
|
8312
|
+
}
|
|
8313
|
+
}
|
|
8314
|
+
handleNylasFormDropdownChanged(event) {
|
|
8315
|
+
debug('nylas-reminder-emails', 'handleNylasFormDropdownChanged', event);
|
|
8316
|
+
const { name, value } = event.detail;
|
|
8317
|
+
if (!name.startsWith('recipient-')) {
|
|
8318
|
+
return;
|
|
8319
|
+
}
|
|
8320
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8321
|
+
const updatedReminders = [...this.reminders];
|
|
8322
|
+
updatedReminders[reminderIndex].recipient = value;
|
|
8323
|
+
this.reminders = [...updatedReminders];
|
|
8324
|
+
this.updateRemindersFormValue();
|
|
8325
|
+
}
|
|
8326
|
+
addReminder() {
|
|
8327
|
+
debug('nylas-reminder-emails', 'addReminder');
|
|
8328
|
+
this.reminders = [
|
|
8329
|
+
...this.reminders,
|
|
8330
|
+
{
|
|
8331
|
+
type: 'email',
|
|
8332
|
+
minutes_before_event: 30,
|
|
8333
|
+
editing: true,
|
|
8334
|
+
recipient: 'all',
|
|
8335
|
+
},
|
|
8336
|
+
];
|
|
8337
|
+
this.updateRemindersFormValue();
|
|
8338
|
+
}
|
|
8339
|
+
deleteReminder(index) {
|
|
8340
|
+
this.reminders = this.reminders.filter((_, i) => i !== index).map(p => ({ ...p }));
|
|
8341
|
+
this.updateRemindersFormValue();
|
|
8342
|
+
}
|
|
8343
|
+
updateRemindersFormValue() {
|
|
8344
|
+
debug('nylas-reminder-emails', 'updateRemindersFormValue');
|
|
8345
|
+
const eventReminders = this.reminders.map(reminder => {
|
|
8346
|
+
const rem = { ...reminder };
|
|
8347
|
+
delete rem.editing;
|
|
8348
|
+
return rem;
|
|
8349
|
+
});
|
|
8350
|
+
this.internals.setFormValue(JSON.stringify(eventReminders), 'reminder-overrides');
|
|
8351
|
+
this.valueChanged.emit({ value: JSON.stringify(eventReminders), name: 'reminder-overrides' });
|
|
8352
|
+
}
|
|
8353
|
+
formatReminderTime(reminderTime) {
|
|
8354
|
+
switch (true) {
|
|
8355
|
+
case reminderTime > 24 * 60:
|
|
8356
|
+
return `${reminderTime / 60 / 24} days`;
|
|
8357
|
+
case reminderTime === 24 * 60:
|
|
8358
|
+
return '1 day';
|
|
8359
|
+
case reminderTime > 90 || reminderTime === 60:
|
|
8360
|
+
return `${reminderTime / 60} hours`;
|
|
8361
|
+
default:
|
|
8362
|
+
return `${reminderTime} minute${reminderTime > 1 ? 's' : ''} `;
|
|
8363
|
+
}
|
|
8364
|
+
}
|
|
8365
|
+
render() {
|
|
8366
|
+
const organizerName = this.participants.find(p => p.is_organizer)?.name;
|
|
8367
|
+
const recipientOptions = [
|
|
8368
|
+
{
|
|
8369
|
+
label: 'All host & guests',
|
|
8370
|
+
value: 'all',
|
|
8371
|
+
},
|
|
8372
|
+
{
|
|
8373
|
+
label: 'All event guests',
|
|
8374
|
+
value: 'guest',
|
|
8375
|
+
},
|
|
8376
|
+
{
|
|
8377
|
+
label: 'Only event host',
|
|
8378
|
+
value: 'host',
|
|
8379
|
+
},
|
|
8380
|
+
];
|
|
8381
|
+
return (h(Host, { key: 'a71a8247248eec4834963b8887b713769b7210cf' }, h("div", { key: '8ab8b9fc62502a7ddf5a111727ab5ef53fc050a9', class: "cards-container" }, this.reminders.map((reminder, index) => {
|
|
8382
|
+
return (h("div", { class: "nylas-reminder-email", part: "nre" }, h("div", { class: "header", part: "nre__header" }, h("div", null, h("h3", null, "Upcoming meeting", organizerName ? ` with ${organizerName} ` : ''), h("p", null, "Reminder before event")), !reminder.editing ? (h("button-component", { variant: 'basic', key: `edit-${index} `, clickHandler: event => {
|
|
8383
|
+
event.preventDefault();
|
|
8384
|
+
reminder.editing = true;
|
|
8385
|
+
this.reminders = [...this.reminders];
|
|
8386
|
+
} }, h("edit-icon", { width: "16", height: "16" }), "Edit")) : (h("div", { class: "reminder-open-close-toggle" }, h("button-component", { variant: 'basic', class: "delete-btn", tooltip: "Delete reminder", key: `delete -${index} `, clickHandler: event => {
|
|
8387
|
+
event.preventDefault();
|
|
8388
|
+
this.deleteReminder(index);
|
|
8389
|
+
} }, h("trash-icon", { width: "16", height: "16" })), h("span", { class: `chevron ${reminder.editing ? 'open' : 'closed'}`, onClick: () => {
|
|
8390
|
+
reminder.editing = !reminder.editing;
|
|
8391
|
+
this.reminders = [...this.reminders];
|
|
8392
|
+
} }, h("chevron-icon", { width: "24", height: "24" }))))), reminder.editing ? (h("div", { class: "nylas-reminder-email__body", part: "nre__body" }, h("div", { class: "nylas-reminder-email__section" }, h("div", { class: "nylas-reminder-email__row" }, h("label", null, "Email recipients"), h("select-dropdown", { name: `recipient-${index}`, options: recipientOptions, defaultSelectedOption: recipientOptions.find(i => i.value === reminder.recipient) ?? recipientOptions[0], withSearch: false })), h("div", { class: "nylas-reminder-email__row" }, h("label", null, "Send confirmation email when", h("span", { class: "label-icon" }, h("tooltip-component", null, h("info-icon", { slot: "tooltip-icon" }), h("span", { slot: "tooltip-content" }, "The recipients will receive a reminder email at the specified time before the event.")))), 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 " }))))) : (h("div", { class: "nylas-reminder-email__summary", part: "nre__summary" }, h("p", null, h("span", { class: "summary-icon" }, h("person-clipboard-icon", null)), recipientOptions.find(i => i.value === reminder.recipient)?.label), h("p", null, h("span", { class: "summary-icon" }, h("clock-icon", null)), this.formatReminderTime(reminder.minutes_before_event), " before the event")))));
|
|
8393
|
+
})), h("button-component", { key: '67f3f31bf95a05c858a97da188b88788551d1171', class: "create-reminder", variant: 'basic', clickHandler: event => {
|
|
8394
|
+
event.preventDefault();
|
|
8395
|
+
this.addReminder();
|
|
8396
|
+
} }, h("plus-icon", { key: 'ad8a8e742fdd8334e56af084356ea6fc7189405e', width: "16", height: "16" }), "New reminder")));
|
|
8397
|
+
}
|
|
8398
|
+
static get formAssociated() { return true; }
|
|
8399
|
+
get host() { return getElement(this); }
|
|
8400
|
+
static get watchers() { return {
|
|
8401
|
+
"name": ["elementNameChangedHandler"],
|
|
8402
|
+
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8403
|
+
}; }
|
|
8404
|
+
};
|
|
8405
|
+
__decorate$3([
|
|
8406
|
+
RegisterComponent({
|
|
8407
|
+
name: 'nylas-reminder-emails',
|
|
8408
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8409
|
+
eventToProps: {
|
|
8410
|
+
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8411
|
+
const { valueChanged } = event.detail;
|
|
8412
|
+
if (valueChanged) {
|
|
8413
|
+
valueChanged(event);
|
|
8414
|
+
}
|
|
8415
|
+
},
|
|
8416
|
+
},
|
|
8417
|
+
fireRegisterEvent: true,
|
|
8418
|
+
}),
|
|
8419
|
+
__metadata$3("design:type", Function),
|
|
8420
|
+
__metadata$3("design:paramtypes", []),
|
|
8421
|
+
__metadata$3("design:returntype", void 0)
|
|
8422
|
+
], NylasReminderEmails.prototype, "render", null);
|
|
8423
|
+
NylasReminderEmails.style = NylasReminderEmailsStyle0;
|
|
8424
|
+
|
|
8425
|
+
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)}";
|
|
8426
|
+
const NylasReminderTimeStyle0 = nylasReminderTimeCss;
|
|
8427
|
+
|
|
8428
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8429
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8430
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8431
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8432
|
+
else
|
|
8433
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8434
|
+
if (d = decorators[i])
|
|
8435
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8436
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8437
|
+
};
|
|
8438
|
+
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8439
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8440
|
+
return Reflect.metadata(k, v);
|
|
8441
|
+
};
|
|
8442
|
+
function getInitialTimeValue(timeInMinutes) {
|
|
8443
|
+
if (!timeInMinutes)
|
|
8444
|
+
return 30;
|
|
8445
|
+
if (timeInMinutes >= 60 * 24)
|
|
8446
|
+
return timeInMinutes / (60 * 24);
|
|
8447
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8448
|
+
return timeInMinutes / 60;
|
|
8449
|
+
return timeInMinutes;
|
|
8450
|
+
}
|
|
8451
|
+
function getInitialTimeIncrement(timeInMinutes) {
|
|
8452
|
+
if (!timeInMinutes)
|
|
8453
|
+
return 30;
|
|
8454
|
+
if (timeInMinutes >= 60 * 24)
|
|
8455
|
+
return 60 * 24;
|
|
8456
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8457
|
+
return 60;
|
|
8458
|
+
return 1;
|
|
8459
|
+
}
|
|
8460
|
+
const NylasReminderTime = class {
|
|
8461
|
+
constructor(hostRef) {
|
|
8462
|
+
registerInstance(this, hostRef);
|
|
8463
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
8464
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8465
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8466
|
+
}
|
|
8467
|
+
else {
|
|
8468
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8469
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8470
|
+
}
|
|
8471
|
+
this.name = 'reminder-time';
|
|
8472
|
+
this.eventReminderTimeMinutes = undefined;
|
|
8473
|
+
this.reminderTime = getInitialTimeValue(this.eventReminderTimeMinutes);
|
|
8474
|
+
this.reminderTimeMinutes = this.eventReminderTimeMinutes ?? 30;
|
|
8475
|
+
this.reminderTimeincrement = getInitialTimeIncrement(this.eventReminderTimeMinutes);
|
|
8476
|
+
this.reminderTimeMinutesOptions = REMINDER_MINUTE_OPTIONS;
|
|
8477
|
+
}
|
|
8478
|
+
elementNameChangedHandler(newValue) {
|
|
8479
|
+
debug('nylas-reminder-time', 'elementNameChangedHandler', newValue);
|
|
8480
|
+
this.host.setAttribute('name', newValue);
|
|
8481
|
+
}
|
|
8482
|
+
eventReminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8483
|
+
debug('nylas-reminder-time', 'eventReminderTimeMinutesChangedHandler', newValue);
|
|
8484
|
+
if (newValue === oldValue) {
|
|
8485
|
+
return;
|
|
8486
|
+
}
|
|
8487
|
+
this.reminderTime = getInitialTimeValue(newValue);
|
|
8488
|
+
this.reminderTimeincrement = getInitialTimeIncrement(newValue);
|
|
8489
|
+
this.reminderTimeMinutes = newValue;
|
|
8490
|
+
}
|
|
8491
|
+
reminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8492
|
+
debug('nylas-reminder-time', 'reminderTimeMinutesChangedHandler', newValue);
|
|
8493
|
+
if (newValue === oldValue) {
|
|
8494
|
+
return;
|
|
8495
|
+
}
|
|
8496
|
+
this.valueChanged.emit({ value: newValue.toString(), name: this.name });
|
|
8497
|
+
}
|
|
8498
|
+
connectedCallback() {
|
|
8499
|
+
debug('nylas-reminder-time', 'connectedCallback');
|
|
8500
|
+
}
|
|
8501
|
+
componentWillLoad() {
|
|
8502
|
+
debug('nylas-reminder-time', 'componentWillLoad');
|
|
8503
|
+
this.host.setAttribute('name', this.name);
|
|
8504
|
+
this.setReminderTimeMinuteOptions();
|
|
8505
|
+
}
|
|
8506
|
+
componentDidLoad() {
|
|
8507
|
+
debug('nylas-reminder-time', 'componentDidLoad');
|
|
8508
|
+
}
|
|
8509
|
+
disconnectedCallback() {
|
|
8510
|
+
debug('nylas-reminder-time', 'disconnectedCallback');
|
|
8511
|
+
}
|
|
8512
|
+
setReminderTimeMinuteOptions() {
|
|
8513
|
+
if (this.reminderTimeincrement === 1) {
|
|
8514
|
+
this.reminderTimeMinutesOptions = REMINDER_MINUTE_OPTIONS;
|
|
8515
|
+
}
|
|
8516
|
+
else if (this.reminderTimeincrement === 60) {
|
|
8517
|
+
this.reminderTimeMinutesOptions = REMINDER_HOUR_OPTIONS;
|
|
8518
|
+
}
|
|
8519
|
+
else
|
|
8520
|
+
this.reminderTimeMinutesOptions = REMINDER_DAY_OPTIONS;
|
|
8521
|
+
return this.reminderTimeMinutesOptions;
|
|
8522
|
+
}
|
|
8523
|
+
nylasFormDropdownChangedHandler(event) {
|
|
8524
|
+
debug('nylas-calendar-picker', 'nylasFormDropdownChangedHandler', event.detail);
|
|
8525
|
+
const { value } = event.detail;
|
|
8526
|
+
this.reminderTimeincrement = parseInt(value);
|
|
8527
|
+
if (this.reminderTimeincrement === 1) {
|
|
8528
|
+
this.reminderTime = 60;
|
|
8529
|
+
}
|
|
8530
|
+
else {
|
|
8531
|
+
this.reminderTime = 1;
|
|
8532
|
+
}
|
|
8533
|
+
this.setReminderTimeMinuteOptions();
|
|
8534
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8535
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8536
|
+
}
|
|
8537
|
+
inputOptionChangedHandler(event) {
|
|
8538
|
+
debug('nylas-calendar-picker', 'inputOptionChangedHandler', event.detail);
|
|
8539
|
+
const { value } = event.detail;
|
|
8540
|
+
this.reminderTime = value;
|
|
8541
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8542
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8543
|
+
}
|
|
8544
|
+
render() {
|
|
8545
|
+
const reminderTimeOptions = [
|
|
8546
|
+
{ value: 1, label: 'minute' },
|
|
8547
|
+
{ value: 60, label: 'hour' },
|
|
8548
|
+
{ value: 60 * 24, label: 'day' },
|
|
8549
|
+
];
|
|
8550
|
+
return (h(Host, { key: 'd5f118391bdd7e4779f6eca15335285047fdb350' }, h("div", { key: '2dd8d3ba52d4f95480c9cf1fdaf5d0f1f7c1e523', class: "nylas-reminder-time", part: "nrt" }, h("div", { key: '3799c4b266f4078e22ad78b86225ef9abdc5fa49', class: "nylas-reminder-time__wrapper" }, 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] }), 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 })))));
|
|
8551
|
+
}
|
|
8552
|
+
static get formAssociated() { return true; }
|
|
8553
|
+
get host() { return getElement(this); }
|
|
8554
|
+
static get watchers() { return {
|
|
8555
|
+
"name": ["elementNameChangedHandler"],
|
|
8556
|
+
"eventReminderTimeMinutes": ["eventReminderTimeMinutesChangedHandler"],
|
|
8557
|
+
"reminderTimeMinutes": ["reminderTimeMinutesChangedHandler"]
|
|
8558
|
+
}; }
|
|
8559
|
+
};
|
|
8560
|
+
__decorate$2([
|
|
8561
|
+
RegisterComponent({
|
|
8562
|
+
name: 'nylas-reminder-time',
|
|
8563
|
+
eventToProps: {},
|
|
8564
|
+
fireRegisterEvent: true,
|
|
8565
|
+
}),
|
|
8181
8566
|
__metadata$2("design:type", Function),
|
|
8182
8567
|
__metadata$2("design:paramtypes", []),
|
|
8183
8568
|
__metadata$2("design:returntype", void 0)
|
|
8184
|
-
],
|
|
8185
|
-
|
|
8569
|
+
], NylasReminderTime.prototype, "render", null);
|
|
8570
|
+
NylasReminderTime.style = NylasReminderTimeStyle0;
|
|
8186
8571
|
|
|
8187
8572
|
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}";
|
|
8188
8573
|
const NylasSchedulingMethodStyle0 = nylasSchedulingMethodCss;
|
|
@@ -8212,8 +8597,8 @@ const NylasSchedulingMethod = class {
|
|
|
8212
8597
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8213
8598
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8214
8599
|
}
|
|
8215
|
-
this.name = 'availability-method';
|
|
8216
8600
|
this.selectedConfiguration = undefined;
|
|
8601
|
+
this.name = 'availability-method';
|
|
8217
8602
|
this.participantOptions = undefined;
|
|
8218
8603
|
this.readOnly = false;
|
|
8219
8604
|
this.selectedBookingType = '';
|
|
@@ -8291,10 +8676,8 @@ const NylasSchedulingMethod = class {
|
|
|
8291
8676
|
__decorate$1([
|
|
8292
8677
|
RegisterComponent({
|
|
8293
8678
|
name: 'nylas-scheduling-method',
|
|
8294
|
-
stateToProps: new Map([
|
|
8295
|
-
|
|
8296
|
-
['schedulerConfig.additionalParticipants', 'participantOptions'],
|
|
8297
|
-
]),
|
|
8679
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8680
|
+
localPropsToProp: new Map([['additionalParticipants', 'participantOptions']]),
|
|
8298
8681
|
eventToProps: {
|
|
8299
8682
|
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8300
8683
|
const { valueChanged } = event.detail;
|
|
@@ -8343,8 +8726,6 @@ const NylasTimeslotInterval = class {
|
|
|
8343
8726
|
this.selectedConfiguration = undefined;
|
|
8344
8727
|
this.name = 'timeslot-picker';
|
|
8345
8728
|
this.eventDurationMinutes = this.selectedConfiguration?.availability?.duration_minutes;
|
|
8346
|
-
this.defaultIntervalMinutes = this.selectedConfiguration?.availability?.interval_minutes ?? this.eventDurationMinutes ?? 10;
|
|
8347
|
-
this.defaultRoundTo = this.selectedConfiguration?.availability?.round_to ?? undefined;
|
|
8348
8729
|
this.internalEventDurationMinutes = undefined;
|
|
8349
8730
|
this.selectedInterval = undefined;
|
|
8350
8731
|
this.selectedRoundTo = undefined;
|
|
@@ -8357,9 +8738,9 @@ const NylasTimeslotInterval = class {
|
|
|
8357
8738
|
selectedConfigurationChangedHandler(newValue) {
|
|
8358
8739
|
debug('nylas-timeslot-interval', 'selectedConfigurationChangedHandler', newValue);
|
|
8359
8740
|
this.internalEventDurationMinutes = newValue?.availability?.duration_minutes ?? this.eventDurationMinutes ?? 30;
|
|
8360
|
-
const internalIntervalMinutes = newValue
|
|
8361
|
-
this.selectedInterval = newValue
|
|
8362
|
-
const roundToMinutes = newValue
|
|
8741
|
+
const internalIntervalMinutes = newValue?.availability?.interval_minutes ?? this.internalEventDurationMinutes ?? 30;
|
|
8742
|
+
this.selectedInterval = newValue?.availability?.interval_minutes ?? internalIntervalMinutes ?? 10;
|
|
8743
|
+
const roundToMinutes = newValue?.availability?.round_to || null;
|
|
8363
8744
|
this.selectedRoundTo = roundToMinutes && roundToMinutes === internalIntervalMinutes ? true : false;
|
|
8364
8745
|
}
|
|
8365
8746
|
connectedCallback() {
|
|
@@ -8453,7 +8834,7 @@ const NylasTimeslotInterval = class {
|
|
|
8453
8834
|
? intervalPreferenceOptions[0]
|
|
8454
8835
|
: intervalPreferenceOptions.find(op => op.value == this.selectedInterval.toString()) ?? intervalPreferenceOptions[0]
|
|
8455
8836
|
: undefined;
|
|
8456
|
-
return (h(Host, { key: '
|
|
8837
|
+
return (h(Host, { key: '8f7dd99dfc3f41a0435f37c9a8e4052732a9868b' }, h("div", { key: 'c2c462dd6409b08f0d641fc6c169793dc5a05150', class: "nylas-timeslot-interval", part: "nti" }, h("div", { key: 'b6e29f56325f75b03ad4ba933fabea9825eb50cc', class: "header", part: "nti__header" }, h("h3", { key: '1c736752d9bd7e8e0a4b113eb858b8d9420fc72b' }, "Time slot settings")), h("div", { key: '3577261419231e74b71e890a2de0629ac0c02c89', class: "nylas-timeslot-interval__dropdown" }, h("span", { key: '68dc2a1f0709ca3b1a14d68001cde315b83509cc', class: "label", part: "nti__input-label" }, "Time slot interval."), defaultSelectedInterval?.label && (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 })), h("span", { key: '505093bca858fd24188db043fda5e3036a474d7d', slot: "label", class: "label", part: "nti__input-label" }, "Time slot rounding type", h("tooltip-component", { key: '9b63c319d79fb926da222939aea8c38600c5c70e' }, h("info-icon", { key: 'a3f1ed080e6508c02cc150d9252d40eae1adb1ac', slot: "tooltip-icon" }), h("span", { key: '4690a7089fb68e0f119f3efc583a55a8dbff0b88', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), this.componentLoaded && (h("radio-button-group", { name: "interval-preference", defaultSelectedValue: this.selectedRoundTo ? 'rounding' : 'no-rounding', options: [
|
|
8457
8838
|
{ value: 'no-rounding', label: 'Default', description: 'Time slots will be rounded to the nearest quarter-hour.' },
|
|
8458
8839
|
{
|
|
8459
8840
|
value: 'rounding',
|
|
@@ -8481,8 +8862,8 @@ __decorate([
|
|
|
8481
8862
|
], NylasTimeslotInterval.prototype, "render", null);
|
|
8482
8863
|
NylasTimeslotInterval.style = NylasTimeslotIntervalStyle0;
|
|
8483
8864
|
|
|
8484
|
-
const iconCss$
|
|
8485
|
-
const PaintbrushFillIconStyle0 = iconCss$
|
|
8865
|
+
const iconCss$4 = ".sc-paintbrush-fill-icon-h{display:flex}";
|
|
8866
|
+
const PaintbrushFillIconStyle0 = iconCss$4;
|
|
8486
8867
|
|
|
8487
8868
|
const PaintbrushFillIcon = class {
|
|
8488
8869
|
constructor(hostRef) {
|
|
@@ -8491,13 +8872,13 @@ const PaintbrushFillIcon = class {
|
|
|
8491
8872
|
this.height = '13';
|
|
8492
8873
|
}
|
|
8493
8874
|
render() {
|
|
8494
|
-
return (h("svg", { key: '
|
|
8875
|
+
return (h("svg", { key: 'e4684ac3235a59975a67508b6a5019e70b1a3a5a', width: "16", height: "17", viewBox: "-3 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
8495
8876
|
}
|
|
8496
8877
|
};
|
|
8497
8878
|
PaintbrushFillIcon.style = PaintbrushFillIconStyle0;
|
|
8498
8879
|
|
|
8499
|
-
const iconCss$
|
|
8500
|
-
const PaintbrushIconStyle0 = iconCss$
|
|
8880
|
+
const iconCss$3 = ".sc-paintbrush-icon-h{display:flex}";
|
|
8881
|
+
const PaintbrushIconStyle0 = iconCss$3;
|
|
8501
8882
|
|
|
8502
8883
|
const PaintbrushIcon = class {
|
|
8503
8884
|
constructor(hostRef) {
|
|
@@ -8506,13 +8887,13 @@ const PaintbrushIcon = class {
|
|
|
8506
8887
|
this.height = '13';
|
|
8507
8888
|
}
|
|
8508
8889
|
render() {
|
|
8509
|
-
return (h("svg", { key: '
|
|
8890
|
+
return (h("svg", { key: '8ed14deda237ca56daa7b7cfd55788700ecf8614', width: "16", height: "16", viewBox: "-3 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
8510
8891
|
}
|
|
8511
8892
|
};
|
|
8512
8893
|
PaintbrushIcon.style = PaintbrushIconStyle0;
|
|
8513
8894
|
|
|
8514
|
-
const iconCss$
|
|
8515
|
-
const PeopleIconStyle0 = iconCss$
|
|
8895
|
+
const iconCss$2 = ".sc-people-icon-h{display:flex}";
|
|
8896
|
+
const PeopleIconStyle0 = iconCss$2;
|
|
8516
8897
|
|
|
8517
8898
|
const PeopleIcon = class {
|
|
8518
8899
|
constructor(hostRef) {
|
|
@@ -8521,7 +8902,7 @@ const PeopleIcon = class {
|
|
|
8521
8902
|
this.height = '20';
|
|
8522
8903
|
}
|
|
8523
8904
|
render() {
|
|
8524
|
-
return (h("svg", { key: '
|
|
8905
|
+
return (h("svg", { key: 'e7e23abad1ff011b5e2d8931755a605179586351', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, 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" })));
|
|
8525
8906
|
}
|
|
8526
8907
|
};
|
|
8527
8908
|
PeopleIcon.style = PeopleIconStyle0;
|
|
@@ -8550,11 +8931,26 @@ const ToggleSwitchComponent = class {
|
|
|
8550
8931
|
});
|
|
8551
8932
|
}
|
|
8552
8933
|
render() {
|
|
8553
|
-
return (h("label", { key: '
|
|
8934
|
+
return (h("label", { key: '7d74c0f5a452c3261e1cdd897a5092697a6782bb', class: "switch", part: "ts_label" }, h("input", { key: '80f5740b7e4a7af96b95648dd556b50c0537b505', type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("div", { key: '5176ee85b2fd72586ae6faf41e84c2ef60598f32', class: "slider round", part: "ts_slider" })));
|
|
8554
8935
|
}
|
|
8555
8936
|
};
|
|
8556
8937
|
ToggleSwitchComponent.style = ToggleSwitchStyle0;
|
|
8557
8938
|
|
|
8939
|
+
const iconCss$1 = ".sc-trash-icon-h{display:flex}";
|
|
8940
|
+
const TrashIconStyle0 = iconCss$1;
|
|
8941
|
+
|
|
8942
|
+
const TrashIcon = class {
|
|
8943
|
+
constructor(hostRef) {
|
|
8944
|
+
registerInstance(this, hostRef);
|
|
8945
|
+
this.width = '20';
|
|
8946
|
+
this.height = '21';
|
|
8947
|
+
}
|
|
8948
|
+
render() {
|
|
8949
|
+
return (h("svg", { key: '996def7abb49e7006b1982be54b9a7a0da6fb27f', width: this.width, height: this.height, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
|
|
8950
|
+
}
|
|
8951
|
+
};
|
|
8952
|
+
TrashIcon.style = TrashIconStyle0;
|
|
8953
|
+
|
|
8558
8954
|
const iconCss = ".sc-zoom-icon-h{display:flex}";
|
|
8559
8955
|
const ZoomIconStyle0 = iconCss;
|
|
8560
8956
|
|
|
@@ -8565,11 +8961,11 @@ const ZoomIcon = class {
|
|
|
8565
8961
|
this.height = '20';
|
|
8566
8962
|
}
|
|
8567
8963
|
render() {
|
|
8568
|
-
return (h("svg", { key: '
|
|
8964
|
+
return (h("svg", { key: '9789a9930b484f5094660e3b26ca8597a9b98079', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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)" }), 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" }), h("defs", { key: 'be2e9962bb2dec55076c7b323ad5b1140ef9283b' }, h("linearGradient", { key: '7d273efb34a3a13abd745023ff924b1dbd87be37', id: "paint0_linear_22_6272", x1: "10", y1: "19.9954", x2: "10", y2: "-0.00455379", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '841a9fc4ea78d5507cd19a581573c8cf86fb443a', "stop-color": "#003FAE" }), h("stop", { key: '84c1e64fa2dcdf8bc3c532db4d67bcda557c6a50', offset: "0.02", "stop-color": "#0142B7" }), h("stop", { key: 'c5fccfcd3460597ba44aea510048970b5ea750bf', offset: "0.09", "stop-color": "#044BD1" }), h("stop", { key: '08b1ebe7800ae3e1da23755119f3411693ab22ab', offset: "0.16", "stop-color": "#0752E5" }), h("stop", { key: '16c3bc399028a8377c06c6e1b4cf1680717ef464', offset: "0.24", "stop-color": "#0958F4" }), h("stop", { key: 'c5938a655523d730914af0f13eebd1d51527cab8', offset: "0.34", "stop-color": "#0A5BFC" }), h("stop", { key: 'c3ec1966b6d7602465a59c2b5db40ad4738cfc0b', offset: "0.5", "stop-color": "#0B5CFF" })))));
|
|
8569
8965
|
}
|
|
8570
8966
|
};
|
|
8571
8967
|
ZoomIcon.style = ZoomIconStyle0;
|
|
8572
8968
|
|
|
8573
|
-
export { CalendarAgendaFillIcon as calendar_agenda_fill_icon, CalendarAgendaIcon as calendar_agenda_icon, CalendarInfoIcon as calendar_info_icon, CalendarPatternsIcon as calendar_patterns_icon, CheckmarkIcon as checkmark_icon, DragableIcon as dragable_icon, EnvelopeFillIcon as envelope_fill_icon, EnvelopeIcon as envelope_icon, EyeIcon as eye_icon, FeedbackIcon as feedback_icon, FlowIcon as flow_icon, GoogleMeetIcon$1 as google_meet_icon, InputImageUrl as input_image_url, LocationIcon as location_icon, LocationOffIcon as location_off_icon, GoogleMeetIcon as microsoft_teams_icon, NylasAdditionalParticipants as nylas_additional_participants, NylasAvailabilityPicker as nylas_availability_picker, NylasBookingCalendarPicker as nylas_booking_calendar_picker, NylasBookingConfirmationRedirect as nylas_booking_confirmation_redirect, NylasBookingConfirmationType as nylas_booking_confirmation_type, NylasBookingFormConfig as nylas_booking_form_config, NylasBufferTime as nylas_buffer_time, NylasCalendarPicker as nylas_calendar_picker, NylasCancellationPolicy as nylas_cancellation_policy, NylasConfirmationEmail as nylas_confirmation_email, NylasConnectedCalendars as nylas_connected_calendars, NylasCustomBookingFlow as nylas_custom_booking_flow, NylasCustomEventSlug as nylas_custom_event_slug, NylasCustomizeBookingSettings as nylas_customize_booking_settings, NylasEventDescription as nylas_event_description, NylasEventDuration as nylas_event_duration, NylasEventInfo as nylas_event_info, NylasEventLimits as nylas_event_limits, NylasEventLocation as nylas_event_location, NylasEventTitle as nylas_event_title, NylasFeedbackForm as nylas_feedback_form, NylasLimitFutureBookings as nylas_limit_future_bookings, NylasMinBookingNotice as nylas_min_booking_notice, NylasMinCancellationNotice as nylas_min_cancellation_notice, NylasPageName as nylas_page_name, NylasPageStyling as nylas_page_styling, NylasParticipantBookingCalendars as nylas_participant_booking_calendars, NylasParticipantsCustomAvailability as nylas_participants_custom_availability, NylasSchedulingMethod as nylas_scheduling_method, NylasTimeslotInterval as nylas_timeslot_interval, PaintbrushFillIcon as paintbrush_fill_icon, PaintbrushIcon as paintbrush_icon, PeopleIcon as people_icon, ToggleSwitchComponent as toggle_switch, ZoomIcon as zoom_icon };
|
|
8969
|
+
export { CalendarAgendaFillIcon as calendar_agenda_fill_icon, CalendarAgendaIcon as calendar_agenda_icon, CalendarInfoIcon as calendar_info_icon, CalendarPatternsIcon as calendar_patterns_icon, CheckmarkIcon as checkmark_icon, DragableIcon as dragable_icon, EnvelopeFillIcon as envelope_fill_icon, EnvelopeIcon as envelope_icon, EyeIcon as eye_icon, FeedbackIcon as feedback_icon, FlowIcon as flow_icon, GoogleMeetIcon$1 as google_meet_icon, InputImageUrl as input_image_url, LocationIcon as location_icon, LocationOffIcon as location_off_icon, GoogleMeetIcon as microsoft_teams_icon, NylasAdditionalParticipants as nylas_additional_participants, NylasAvailabilityPicker as nylas_availability_picker, NylasBookingCalendarPicker as nylas_booking_calendar_picker, NylasBookingConfirmationRedirect as nylas_booking_confirmation_redirect, NylasBookingConfirmationType as nylas_booking_confirmation_type, NylasBookingFormConfig as nylas_booking_form_config, NylasBufferTime as nylas_buffer_time, NylasCalendarPicker as nylas_calendar_picker, NylasCancellationPolicy as nylas_cancellation_policy, NylasConfirmationEmail as nylas_confirmation_email, NylasConnectedCalendars as nylas_connected_calendars, NylasCustomBookingFlow as nylas_custom_booking_flow, NylasCustomEventSlug as nylas_custom_event_slug, NylasCustomizeBookingSettings as nylas_customize_booking_settings, NylasEventDescription as nylas_event_description, NylasEventDuration as nylas_event_duration, NylasEventInfo as nylas_event_info, NylasEventLimits as nylas_event_limits, NylasEventLocation as nylas_event_location, NylasEventTitle as nylas_event_title, NylasFeedbackForm as nylas_feedback_form, NylasLimitFutureBookings as nylas_limit_future_bookings, NylasMinBookingNotice as nylas_min_booking_notice, NylasMinCancellationNotice as nylas_min_cancellation_notice, NylasPageName as nylas_page_name, NylasPageStyling as nylas_page_styling, NylasParticipantBookingCalendars as nylas_participant_booking_calendars, NylasParticipantsCustomAvailability as nylas_participants_custom_availability, NylasReminderEmails as nylas_reminder_emails, NylasReminderTime as nylas_reminder_time, NylasSchedulingMethod as nylas_scheduling_method, NylasTimeslotInterval as nylas_timeslot_interval, PaintbrushFillIcon as paintbrush_fill_icon, PaintbrushIcon as paintbrush_icon, PeopleIcon as people_icon, ToggleSwitchComponent as toggle_switch, TrashIcon as trash_icon, ZoomIcon as zoom_icon };
|
|
8574
8970
|
|
|
8575
|
-
//# sourceMappingURL=calendar-agenda-fill-
|
|
8971
|
+
//# sourceMappingURL=calendar-agenda-fill-icon_54.entry.js.map
|