@nylas/web-elements 0.0.0-canary-20241008193213 → 0.0.0-canary-20241017103834
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 +366 -366
- 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 +55 -57
- 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 +99 -95
- 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 +6451 -6036
- package/dist/cdn/nylas-event-description/nylas-event-description.es.js +3 -3
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +232 -232
- 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 +1430 -1001
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1081 -1056
- 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 +10 -9
- 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} +736 -326
- 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 +35 -34
- 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/collection-manifest.json +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 +20 -2
- package/dist/collection/components/design-system/input-image-url/input-image-url.js.map +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 +50 -44
- 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 +66 -55
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js +106 -0
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js.map +1 -0
- 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 +58 -30
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js +33 -0
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js.map +1 -0
- 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 +20 -9
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js +55 -0
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js.map +1 -0
- 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 +6 -2
- package/dist/components/input-image-url2.js.map +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 +16 -20
- 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 +16 -6
- 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 +5 -3
- 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 +7 -7
- 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} +735 -328
- 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 +36 -35
- 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-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-7a1d51ab.entry.js +2 -0
- package/dist/nylas-web-elements/p-7a1d51ab.entry.js.map +1 -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-bbf86b8c.entry.js +2 -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-df131a08.entry.js +8 -0
- package/dist/nylas-web-elements/p-df131a08.entry.js.map +1 -0
- 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-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/design-system/input-image-url/input-image-url.d.ts +4 -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 +3 -3
- 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-confirmation-email/nylas-confirmation-email.d.ts +5 -1
- 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 +265 -290
- 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-fecf68ef.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-fecf68ef.entry.js.map → p-bbf86b8c.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-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,13 +196,14 @@ 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
|
};
|
|
203
203
|
const InputImageUrl = class {
|
|
204
204
|
constructor(hostRef) {
|
|
205
205
|
registerInstance(this, hostRef);
|
|
206
|
+
this.nylasFormInputImageUrlInvalid = createEvent(this, "nylasFormInputImageUrlInvalid", 7);
|
|
206
207
|
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
207
208
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
208
209
|
this.internals = hostRef.$hostElement$["s-ei"];
|
|
@@ -271,12 +272,15 @@ const InputImageUrl = class {
|
|
|
271
272
|
this.valueChanged.emit({ value: this.currentImageUrl, name: this.name });
|
|
272
273
|
})
|
|
273
274
|
.catch(() => {
|
|
274
|
-
this.internals.setValidity({ customError: true }, 'Invalid image URL.');
|
|
275
275
|
this.errorMessage = 'Invalid image URL.';
|
|
276
|
+
this.nylasFormInputImageUrlInvalid.emit({ value: 'Invalid image URL.', name: this.name });
|
|
277
|
+
if (typeof this.internals.setValidity === 'function') {
|
|
278
|
+
this.internals.setValidity({ customError: true }, 'Invalid image URL.');
|
|
279
|
+
}
|
|
276
280
|
});
|
|
277
281
|
}
|
|
278
282
|
render() {
|
|
279
|
-
return (h(Host, { key: '
|
|
283
|
+
return (h(Host, { key: '27db94b782ae96518852a8486821a7f6544492a2' }, h("div", { key: '3923ce12503dd454e716e002b693b8e5f7e7e991', class: "logo-container" }, h("div", { key: '004c0dfb0e5ec721e356b4915fbdd75f84a67301', class: "input-container" }, h("input-component", { key: 'f06812996be4fd6384fffc2c095e62ba7067881d', 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
284
|
}
|
|
281
285
|
static get formAssociated() { return true; }
|
|
282
286
|
get host() { return getElement(this); }
|
|
@@ -284,7 +288,7 @@ const InputImageUrl = class {
|
|
|
284
288
|
"name": ["elementNameChangedHandler"]
|
|
285
289
|
}; }
|
|
286
290
|
};
|
|
287
|
-
__decorate$
|
|
291
|
+
__decorate$w([
|
|
288
292
|
RegisterComponent({
|
|
289
293
|
name: 'nylas-image-input',
|
|
290
294
|
eventToProps: {
|
|
@@ -296,14 +300,14 @@ __decorate$u([
|
|
|
296
300
|
},
|
|
297
301
|
},
|
|
298
302
|
}),
|
|
299
|
-
__metadata$
|
|
300
|
-
__metadata$
|
|
301
|
-
__metadata$
|
|
303
|
+
__metadata$w("design:type", Function),
|
|
304
|
+
__metadata$w("design:paramtypes", []),
|
|
305
|
+
__metadata$w("design:returntype", void 0)
|
|
302
306
|
], InputImageUrl.prototype, "render", null);
|
|
303
307
|
InputImageUrl.style = InputImageUrlStyle0;
|
|
304
308
|
|
|
305
|
-
const iconCss$
|
|
306
|
-
const LocationIconStyle0 = iconCss$
|
|
309
|
+
const iconCss$7 = ".sc-location-icon-h{display:flex}";
|
|
310
|
+
const LocationIconStyle0 = iconCss$7;
|
|
307
311
|
|
|
308
312
|
const LocationIcon = class {
|
|
309
313
|
constructor(hostRef) {
|
|
@@ -312,13 +316,13 @@ const LocationIcon = class {
|
|
|
312
316
|
this.height = '18';
|
|
313
317
|
}
|
|
314
318
|
render() {
|
|
315
|
-
return (h("svg", { key: '
|
|
319
|
+
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
320
|
}
|
|
317
321
|
};
|
|
318
322
|
LocationIcon.style = LocationIconStyle0;
|
|
319
323
|
|
|
320
|
-
const iconCss$
|
|
321
|
-
const LocationOffIconStyle0 = iconCss$
|
|
324
|
+
const iconCss$6 = ".sc-location-off-icon-h{display:flex}";
|
|
325
|
+
const LocationOffIconStyle0 = iconCss$6;
|
|
322
326
|
|
|
323
327
|
const LocationOffIcon = class {
|
|
324
328
|
constructor(hostRef) {
|
|
@@ -327,13 +331,13 @@ const LocationOffIcon = class {
|
|
|
327
331
|
this.height = '18';
|
|
328
332
|
}
|
|
329
333
|
render() {
|
|
330
|
-
return (h("svg", { key: '
|
|
334
|
+
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
335
|
}
|
|
332
336
|
};
|
|
333
337
|
LocationOffIcon.style = LocationOffIconStyle0;
|
|
334
338
|
|
|
335
|
-
const iconCss$
|
|
336
|
-
const MicrosoftTeamsIconStyle0 = iconCss$
|
|
339
|
+
const iconCss$5 = ".sc-microsoft-teams-icon-h{display:flex}";
|
|
340
|
+
const MicrosoftTeamsIconStyle0 = iconCss$5;
|
|
337
341
|
|
|
338
342
|
const GoogleMeetIcon = class {
|
|
339
343
|
constructor(hostRef) {
|
|
@@ -342,7 +346,7 @@ const GoogleMeetIcon = class {
|
|
|
342
346
|
this.height = '20';
|
|
343
347
|
}
|
|
344
348
|
render() {
|
|
345
|
-
return (h("svg", { key: '
|
|
349
|
+
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
350
|
}
|
|
347
351
|
};
|
|
348
352
|
GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
@@ -350,7 +354,7 @@ GoogleMeetIcon.style = MicrosoftTeamsIconStyle0;
|
|
|
350
354
|
const nylasAdditionalParticipantsCss = ":host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif}.nylas-additional-participants__title{color:var(--nylas-base-nylas-base-900-aaa, #101323);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-additional-participants__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-additional-participants__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-additional-participants__input_group{padding-top:8px;display:flex;flex-direction:column;gap:4px}.nylas-additional-participants__input_group label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.nylas-additional-participants__error{color:var(--nylas-error);font-size:14px;font-family:var(--nylas-font-family);font-weight:400;line-height:16px;margin:0;text-align:left}.nylas-additional-participants__input_wrapper{display:flex;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.nylas-additional-participants__input_wrapper.error{border-color:var(--nylas-error)}.nylas-additional-participants__input_wrapper button{padding:12px;border:none;border-left:1px solid var(--nylas-base-300);background:none;cursor:pointer}.nylas-additional-participants__input_wrapper button:hover,.nylas-additional-participants__input_wrapper button:active{color:var(--nylas-primary)}.nylas-additional-participants__input_wrapper_organizer{border:none}.nylas-additional-participants__input{flex:1;display:flex;justify-content:space-between}.nylas-additional-participants__input input{border:none;outline:none;background:none;width:100%}.nylas-additional-participants__input input-dropdown{width:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown){width:100%;height:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown-input){height:100%;border-radius:var(--nylas-border-radius-2x);border:none;border-top-right-radius:initial;border-bottom-right-radius:initial;padding-left:16px}.nylas-additional-participants__input input-component::part(ic__input){background:var(--nylas-base-50)}.nylas-additional-participants__input input-component::part(ic__label){font-size:14px}.nylas-additional-participants__input input-component div.required-input{display:flex;gap:4px}.nylas-additional-participants__input input-component div.required-input label{display:flex;gap:4px;align-items:center}.nylas-additional-participants__input input-component div.required-input label tooltip-component#organizer_participant_tooltip::part(tc__content){left:-84px}.nylas-additional-participants__add{padding:12px;display:flex;align-items:center;border:none;background:none;cursor:pointer}.nylas-additional-participants__add span{padding:0 8px;font-size:16px;font-style:normal;font-weight:500}.nylas-additional-participants__add:hover,.nylas-additional-participants__add:active{color:var(--nylas-primary)}";
|
|
351
355
|
const NylasAdditionalParticipantsStyle0 = nylasAdditionalParticipantsCss;
|
|
352
356
|
|
|
353
|
-
var __decorate$
|
|
357
|
+
var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
354
358
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
355
359
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
356
360
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -360,7 +364,7 @@ var __decorate$t = (undefined && undefined.__decorate) || function (decorators,
|
|
|
360
364
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
361
365
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
362
366
|
};
|
|
363
|
-
var __metadata$
|
|
367
|
+
var __metadata$v = (undefined && undefined.__metadata) || function (k, v) {
|
|
364
368
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
365
369
|
return Reflect.metadata(k, v);
|
|
366
370
|
};
|
|
@@ -375,11 +379,11 @@ const NylasAdditionalParticipants = class {
|
|
|
375
379
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
376
380
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
377
381
|
}
|
|
382
|
+
this.name = 'participants';
|
|
378
383
|
this.selectedConfiguration = undefined;
|
|
379
384
|
this.currentUser = undefined;
|
|
380
|
-
this.name = 'participants';
|
|
381
|
-
this.eventParticipants = undefined;
|
|
382
385
|
this.participantOptions = undefined;
|
|
386
|
+
this.eventParticipants = undefined;
|
|
383
387
|
this.participants = this.eventParticipants ?? [];
|
|
384
388
|
this.participantErrors = {};
|
|
385
389
|
this.includeOrganizerAsParticipant = true;
|
|
@@ -417,20 +421,23 @@ const NylasAdditionalParticipants = class {
|
|
|
417
421
|
disconnectedCallback() {
|
|
418
422
|
debug('nylas-additional-participants', 'disconnectedCallback');
|
|
419
423
|
}
|
|
424
|
+
isInternalsAvailable() {
|
|
425
|
+
return this.internals !== undefined && typeof this.internals.setFormValue === 'function' && typeof this.internals.setValidity === 'function';
|
|
426
|
+
}
|
|
420
427
|
onInputOptionChanged(event) {
|
|
421
428
|
debug('nylas-additional-participants', 'onInputOptionChanged');
|
|
422
|
-
const EMAIL_REGEX = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,
|
|
429
|
+
const EMAIL_REGEX = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
423
430
|
const index = event.detail.name;
|
|
424
431
|
const participant = this.participantOptions?.find(participant => participant.email === event.detail.value);
|
|
425
432
|
if (!participant && this.isRoundRobinConfig) {
|
|
426
|
-
this.internals.setValidity({ customError: true }, 'For round robin configuration, participant should be selected from the dropdown.');
|
|
433
|
+
this.isInternalsAvailable() && this.internals.setValidity({ customError: true }, 'For round robin configuration, participant should be selected from the dropdown.');
|
|
427
434
|
this.participantErrors[index] = 'For round robin page, participant should be selected from the dropdown.';
|
|
428
435
|
this.participants[index].is_valid = false;
|
|
429
436
|
this.participants = [...this.participants];
|
|
430
437
|
return;
|
|
431
438
|
}
|
|
432
439
|
else if (!participant && !EMAIL_REGEX.test(event.detail.value)) {
|
|
433
|
-
this.internals.setValidity({ customError: true }, 'Please enter a valid email address');
|
|
440
|
+
this.isInternalsAvailable() && this.internals.setValidity({ customError: true }, 'Please enter a valid email address');
|
|
434
441
|
this.participantErrors[index] = 'Please enter a valid email address';
|
|
435
442
|
this.participants[index].is_valid = false;
|
|
436
443
|
this.participants = [...this.participants];
|
|
@@ -439,7 +446,7 @@ const NylasAdditionalParticipants = class {
|
|
|
439
446
|
else {
|
|
440
447
|
this.participantErrors[index] = '';
|
|
441
448
|
this.participants[index].is_valid = true;
|
|
442
|
-
this.internals.setValidity({});
|
|
449
|
+
this.isInternalsAvailable() && this.internals.setValidity({});
|
|
443
450
|
}
|
|
444
451
|
this.participants[index].email = event.detail.value;
|
|
445
452
|
this.participants[index].availability = participant ? { calendar_ids: ['primary'] } : undefined;
|
|
@@ -478,24 +485,17 @@ const NylasAdditionalParticipants = class {
|
|
|
478
485
|
this.participants = this.participants.filter((_, i) => i !== index);
|
|
479
486
|
this.updateFormValue();
|
|
480
487
|
}
|
|
481
|
-
validate(email, index) {
|
|
482
|
-
debug('nylas-additional-participants', 'validate');
|
|
483
|
-
const regex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
484
|
-
const valid = regex.test(String(email).toLowerCase());
|
|
485
|
-
this.participants[index].is_valid = valid;
|
|
486
|
-
this.updateFormValue();
|
|
487
|
-
}
|
|
488
488
|
updateFormValue() {
|
|
489
489
|
debug('nylas-additional-participants', 'updateFormValue');
|
|
490
490
|
const participants = this.isRoundRobinConfig ? (this.includeOrganizerAsParticipant ? this.participants : this.participants.filter(p => !p.is_organizer)) : this.participants;
|
|
491
491
|
if (participants.length === 0) {
|
|
492
|
-
this.internals.setValidity({ customError: true }, 'Please add at least one participant');
|
|
492
|
+
this.isInternalsAvailable() && this.internals.setValidity({ customError: true }, 'Please add at least one participant');
|
|
493
493
|
this.error = 'Please add at least one participant';
|
|
494
494
|
}
|
|
495
495
|
else {
|
|
496
|
-
this.internals.setValidity({});
|
|
496
|
+
this.isInternalsAvailable() && this.internals.setValidity({});
|
|
497
497
|
this.error = '';
|
|
498
|
-
this.internals.setFormValue(JSON.stringify(participants), this.name);
|
|
498
|
+
this.isInternalsAvailable() && this.internals.setFormValue(JSON.stringify(participants), this.name);
|
|
499
499
|
this.valueChanged.emit({ value: JSON.stringify(participants), name: this.name });
|
|
500
500
|
}
|
|
501
501
|
}
|
|
@@ -506,7 +506,7 @@ const NylasAdditionalParticipants = class {
|
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
render() {
|
|
509
|
-
return (h(Host, { key: '
|
|
509
|
+
return (h(Host, { key: 'b17facebc66435c9e405b442500163b47836914e', part: "nap" }, h("nylas-form-card", { key: 'bce92f93c9f0ec0c04c000582505ea1adb1a3e22' }, h("h3", { key: '07cd5fd66a38dadfd67f67607fe81fb235cbb1f3', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), h("p", { key: '3e9f5348444a81731228d4ce5f355b3cd6ead03f', 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: 'b6921a32886aaedbf9ecaa942912c2991881b380', slot: "content", class: "nylas-additional-participants__content" }, h("div", { key: '780531379643ee4764122906f144d302e0bc32e5' }, 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: '9921cf9eb77303da37e64bb4b2555fe662bcb299', class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), h("button", { key: '0fdc9f4d4ee5b221aaaa01de39e0fe5ad29675f1', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, h("add-circle-icon", { key: 'c1c405144661b246731d48907246b3bc9e252410' }), " ", h("span", { key: '2ccd09a3a9c148dd4e895f7c3b2ac52cce86b76b' }, "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
|
};
|
|
@@ -5377,9 +5378,9 @@ const NylasConfirmationEmail = class {
|
|
|
5377
5378
|
}
|
|
5378
5379
|
this.selectedConfiguration = undefined;
|
|
5379
5380
|
this.confirmationEmailTemplate = {};
|
|
5380
|
-
this.isOpen = false;
|
|
5381
5381
|
this.participants = [];
|
|
5382
5382
|
this.name = 'confirmation-email-template';
|
|
5383
|
+
this.isOpen = false;
|
|
5383
5384
|
this.confirmationEmail = undefined;
|
|
5384
5385
|
this.isConfirmationEmailOpen = this.isOpen;
|
|
5385
5386
|
this.participantsState = this.participants;
|
|
@@ -5432,8 +5433,17 @@ const NylasConfirmationEmail = class {
|
|
|
5432
5433
|
const { value, name } = event.detail;
|
|
5433
5434
|
if (name === 'confirmation-email-logo') {
|
|
5434
5435
|
this.confirmationEmail = { ...this.confirmationEmail, logo: value };
|
|
5435
|
-
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
5436
5436
|
this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
|
|
5437
|
+
if (typeof this.internals.setValidity === 'function' && typeof this.internals.setFormValue === 'function') {
|
|
5438
|
+
this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name);
|
|
5439
|
+
this.internals.setValidity({});
|
|
5440
|
+
}
|
|
5441
|
+
}
|
|
5442
|
+
}
|
|
5443
|
+
async nylasFormInputImageUrlInvalidHandler(event) {
|
|
5444
|
+
const { value, name } = event.detail;
|
|
5445
|
+
if (name === 'confirmation-email-logo' && typeof this.internals.setValidity === 'function') {
|
|
5446
|
+
this.internals.setValidity({ customError: true }, value || 'Invalid image URL.');
|
|
5437
5447
|
}
|
|
5438
5448
|
}
|
|
5439
5449
|
updateConfirmationFormValue() {
|
|
@@ -5451,8 +5461,9 @@ const NylasConfirmationEmail = class {
|
|
|
5451
5461
|
this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
|
|
5452
5462
|
}
|
|
5453
5463
|
render() {
|
|
5454
|
-
const
|
|
5455
|
-
|
|
5464
|
+
const organizer = this.participantsState.find(p => p.is_organizer);
|
|
5465
|
+
const organizerName = organizer?.name || organizer?.email;
|
|
5466
|
+
return (h(Host, { key: 'bc4803b94f914d083bd33cf4cecd0cac70b0658c' }, h("div", { key: '6445d38b903bffd19b4db004e850f6488ed4c27f', class: "nylas-confirmation-email", part: "nce" }, h("div", { key: '7ce1ccd72ef83717aec42fe0b533902e3a254796', class: "header", part: "nce__header" }, h("div", { key: 'cbceb816c30deebc4e053a7abd1da1c82c171ebe' }, h("h3", { key: '36f5b00d5a98d325341ff06b2bb3ba3cf951e94f' }, this.confirmationEmail?.booking_confirmed?.title ?? `Booking confirmed with ${organizerName ? ` ${organizerName}` : ''}`), h("p", { key: '6f72022d71e5f4e3c03d0f6d07d7f0f5bc0f9686' }, "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
5467
|
event.preventDefault();
|
|
5457
5468
|
this.toggleConfirmationEmail();
|
|
5458
5469
|
} }, 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 +5475,7 @@ const NylasConfirmationEmail = class {
|
|
|
5464
5475
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5465
5476
|
}; }
|
|
5466
5477
|
};
|
|
5467
|
-
__decorate$
|
|
5478
|
+
__decorate$m([
|
|
5468
5479
|
RegisterComponent({
|
|
5469
5480
|
name: 'nylas-confirmation-email',
|
|
5470
5481
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -5478,16 +5489,16 @@ __decorate$k([
|
|
|
5478
5489
|
},
|
|
5479
5490
|
fireRegisterEvent: true,
|
|
5480
5491
|
}),
|
|
5481
|
-
__metadata$
|
|
5482
|
-
__metadata$
|
|
5483
|
-
__metadata$
|
|
5492
|
+
__metadata$m("design:type", Function),
|
|
5493
|
+
__metadata$m("design:paramtypes", []),
|
|
5494
|
+
__metadata$m("design:returntype", void 0)
|
|
5484
5495
|
], NylasConfirmationEmail.prototype, "render", null);
|
|
5485
5496
|
NylasConfirmationEmail.style = NylasConfirmationEmailStyle0;
|
|
5486
5497
|
|
|
5487
5498
|
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
5499
|
const NylasConnectedCalendarsStyle0 = nylasConnectedCalendarsCss;
|
|
5489
5500
|
|
|
5490
|
-
var __decorate$
|
|
5501
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5491
5502
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5492
5503
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5493
5504
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5497,7 +5508,7 @@ var __decorate$j = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5497
5508
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5498
5509
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5499
5510
|
};
|
|
5500
|
-
var __metadata$
|
|
5511
|
+
var __metadata$l = (undefined && undefined.__metadata) || function (k, v) {
|
|
5501
5512
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5502
5513
|
return Reflect.metadata(k, v);
|
|
5503
5514
|
};
|
|
@@ -5598,6 +5609,10 @@ const NylasConnectedCalendars = class {
|
|
|
5598
5609
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
5599
5610
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
5600
5611
|
}
|
|
5612
|
+
else {
|
|
5613
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
5614
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
5615
|
+
}
|
|
5601
5616
|
}
|
|
5602
5617
|
handleValueChanged(event) {
|
|
5603
5618
|
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -5639,12 +5654,12 @@ const NylasConnectedCalendars = class {
|
|
|
5639
5654
|
return selectedParticipants;
|
|
5640
5655
|
}
|
|
5641
5656
|
render() {
|
|
5642
|
-
return (h(Host, { key: '
|
|
5657
|
+
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
5658
|
const participant = this.selectedCalendars[key];
|
|
5644
5659
|
const participantCalendars = this.participantCalendars[key];
|
|
5645
5660
|
if (!participant || !participant.name)
|
|
5646
5661
|
return;
|
|
5647
|
-
return (h("div", { class: "participant-container", part: "
|
|
5662
|
+
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
5663
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
5649
5664
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
5650
5665
|
} }, 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 +5675,7 @@ const NylasConnectedCalendars = class {
|
|
|
5660
5675
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5661
5676
|
}; }
|
|
5662
5677
|
};
|
|
5663
|
-
__decorate$
|
|
5678
|
+
__decorate$l([
|
|
5664
5679
|
RegisterComponent({
|
|
5665
5680
|
name: 'nylas-connected-calendars',
|
|
5666
5681
|
stateToProps: new Map([
|
|
@@ -5671,16 +5686,16 @@ __decorate$j([
|
|
|
5671
5686
|
eventToProps: {},
|
|
5672
5687
|
fireRegisterEvent: true,
|
|
5673
5688
|
}),
|
|
5674
|
-
__metadata$
|
|
5675
|
-
__metadata$
|
|
5676
|
-
__metadata$
|
|
5689
|
+
__metadata$l("design:type", Function),
|
|
5690
|
+
__metadata$l("design:paramtypes", []),
|
|
5691
|
+
__metadata$l("design:returntype", void 0)
|
|
5677
5692
|
], NylasConnectedCalendars.prototype, "render", null);
|
|
5678
5693
|
NylasConnectedCalendars.style = NylasConnectedCalendarsStyle0;
|
|
5679
5694
|
|
|
5680
5695
|
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
5696
|
const NylasCustomBookingFlowStyle0 = nylasCustomBookingFlowCss;
|
|
5682
5697
|
|
|
5683
|
-
var __decorate$
|
|
5698
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5684
5699
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5685
5700
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5686
5701
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5690,7 +5705,7 @@ var __decorate$i = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5690
5705
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5691
5706
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5692
5707
|
};
|
|
5693
|
-
var __metadata$
|
|
5708
|
+
var __metadata$k = (undefined && undefined.__metadata) || function (k, v) {
|
|
5694
5709
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5695
5710
|
return Reflect.metadata(k, v);
|
|
5696
5711
|
};
|
|
@@ -5719,27 +5734,27 @@ const NylasCustomBookingFlow = class {
|
|
|
5719
5734
|
checkForMissingSlots(['inputs'], this.el);
|
|
5720
5735
|
}
|
|
5721
5736
|
render() {
|
|
5722
|
-
return (h(Host, { key: '
|
|
5737
|
+
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
5738
|
}
|
|
5724
5739
|
static get formAssociated() { return true; }
|
|
5725
5740
|
get el() { return getElement(this); }
|
|
5726
5741
|
};
|
|
5727
|
-
__decorate$
|
|
5742
|
+
__decorate$k([
|
|
5728
5743
|
RegisterComponent({
|
|
5729
5744
|
name: 'nylas-custom-booking-flow',
|
|
5730
5745
|
eventToProps: {},
|
|
5731
5746
|
fireRegisterEvent: true,
|
|
5732
5747
|
}),
|
|
5733
|
-
__metadata$
|
|
5734
|
-
__metadata$
|
|
5735
|
-
__metadata$
|
|
5748
|
+
__metadata$k("design:type", Function),
|
|
5749
|
+
__metadata$k("design:paramtypes", []),
|
|
5750
|
+
__metadata$k("design:returntype", void 0)
|
|
5736
5751
|
], NylasCustomBookingFlow.prototype, "render", null);
|
|
5737
5752
|
NylasCustomBookingFlow.style = NylasCustomBookingFlowStyle0;
|
|
5738
5753
|
|
|
5739
5754
|
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
5755
|
const NylasCustomEventSlugStyle0 = nylasCustomEventSlugCss;
|
|
5741
5756
|
|
|
5742
|
-
var __decorate$
|
|
5757
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5743
5758
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5744
5759
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5745
5760
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5749,7 +5764,7 @@ var __decorate$h = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5749
5764
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5750
5765
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5751
5766
|
};
|
|
5752
|
-
var __metadata$
|
|
5767
|
+
var __metadata$j = (undefined && undefined.__metadata) || function (k, v) {
|
|
5753
5768
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5754
5769
|
return Reflect.metadata(k, v);
|
|
5755
5770
|
};
|
|
@@ -5790,6 +5805,7 @@ const NylasCustomEventSlug = class {
|
|
|
5790
5805
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5791
5806
|
}
|
|
5792
5807
|
else {
|
|
5808
|
+
console.log('No selected configuration found');
|
|
5793
5809
|
this.urlSlug = this.defaultUrlSlug || '';
|
|
5794
5810
|
}
|
|
5795
5811
|
}
|
|
@@ -5871,7 +5887,7 @@ const NylasCustomEventSlug = class {
|
|
|
5871
5887
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
5872
5888
|
}; }
|
|
5873
5889
|
};
|
|
5874
|
-
__decorate$
|
|
5890
|
+
__decorate$j([
|
|
5875
5891
|
RegisterComponent({
|
|
5876
5892
|
name: 'nylas-custom-event-slug',
|
|
5877
5893
|
stateToProps: new Map([
|
|
@@ -5888,16 +5904,16 @@ __decorate$h([
|
|
|
5888
5904
|
},
|
|
5889
5905
|
fireRegisterEvent: true,
|
|
5890
5906
|
}),
|
|
5891
|
-
__metadata$
|
|
5892
|
-
__metadata$
|
|
5893
|
-
__metadata$
|
|
5907
|
+
__metadata$j("design:type", Function),
|
|
5908
|
+
__metadata$j("design:paramtypes", []),
|
|
5909
|
+
__metadata$j("design:returntype", void 0)
|
|
5894
5910
|
], NylasCustomEventSlug.prototype, "render", null);
|
|
5895
5911
|
NylasCustomEventSlug.style = NylasCustomEventSlugStyle0;
|
|
5896
5912
|
|
|
5897
5913
|
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
5914
|
const NylasCustomizeBookingSettingsStyle0 = nylasCustomizeBookingSettingsCss;
|
|
5899
5915
|
|
|
5900
|
-
var __decorate$
|
|
5916
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5901
5917
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5902
5918
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
5903
5919
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -5907,7 +5923,7 @@ var __decorate$g = (undefined && undefined.__decorate) || function (decorators,
|
|
|
5907
5923
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5908
5924
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5909
5925
|
};
|
|
5910
|
-
var __metadata$
|
|
5926
|
+
var __metadata$i = (undefined && undefined.__metadata) || function (k, v) {
|
|
5911
5927
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
5912
5928
|
return Reflect.metadata(k, v);
|
|
5913
5929
|
};
|
|
@@ -5957,9 +5973,9 @@ const NylasCustomizeBookingSettings = class {
|
|
|
5957
5973
|
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
5958
5974
|
}
|
|
5959
5975
|
else {
|
|
5960
|
-
this.allowGuestsToInvite =
|
|
5961
|
-
this.hideCancellationOptions =
|
|
5962
|
-
this.hideReschedulingOptions =
|
|
5976
|
+
this.allowGuestsToInvite = !this.defaultHideAdditionalGuests;
|
|
5977
|
+
this.hideCancellationOptions = this.defaultHideCancellationOptions;
|
|
5978
|
+
this.hideReschedulingOptions = this.defaultHideReschedulingOptions;
|
|
5963
5979
|
}
|
|
5964
5980
|
}
|
|
5965
5981
|
componentWillUpdate() {
|
|
@@ -6003,7 +6019,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6003
6019
|
}
|
|
6004
6020
|
render() {
|
|
6005
6021
|
const showComponent = typeof this.hideCancellationOptions === 'boolean' && typeof this.hideReschedulingOptions === 'boolean' && typeof this.allowGuestsToInvite === 'boolean';
|
|
6006
|
-
return (h(Host, { key: '
|
|
6022
|
+
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
6023
|
}
|
|
6008
6024
|
static get formAssociated() { return true; }
|
|
6009
6025
|
get host() { return getElement(this); }
|
|
@@ -6012,22 +6028,22 @@ const NylasCustomizeBookingSettings = class {
|
|
|
6012
6028
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6013
6029
|
}; }
|
|
6014
6030
|
};
|
|
6015
|
-
__decorate$
|
|
6031
|
+
__decorate$i([
|
|
6016
6032
|
RegisterComponent({
|
|
6017
6033
|
name: 'nylas-customize-booking-settings',
|
|
6018
6034
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6019
6035
|
fireRegisterEvent: true,
|
|
6020
6036
|
}),
|
|
6021
|
-
__metadata$
|
|
6022
|
-
__metadata$
|
|
6023
|
-
__metadata$
|
|
6037
|
+
__metadata$i("design:type", Function),
|
|
6038
|
+
__metadata$i("design:paramtypes", []),
|
|
6039
|
+
__metadata$i("design:returntype", void 0)
|
|
6024
6040
|
], NylasCustomizeBookingSettings.prototype, "render", null);
|
|
6025
6041
|
NylasCustomizeBookingSettings.style = NylasCustomizeBookingSettingsStyle0;
|
|
6026
6042
|
|
|
6027
6043
|
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
6044
|
const NylasEventDescriptionStyle0 = nylasEventDescriptionCss;
|
|
6029
6045
|
|
|
6030
|
-
var __decorate$
|
|
6046
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6031
6047
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6032
6048
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6033
6049
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6037,7 +6053,7 @@ var __decorate$f = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6037
6053
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6038
6054
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6039
6055
|
};
|
|
6040
|
-
var __metadata$
|
|
6056
|
+
var __metadata$h = (undefined && undefined.__metadata) || function (k, v) {
|
|
6041
6057
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6042
6058
|
return Reflect.metadata(k, v);
|
|
6043
6059
|
};
|
|
@@ -6093,7 +6109,7 @@ const NylasEventDescription = class {
|
|
|
6093
6109
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6094
6110
|
}
|
|
6095
6111
|
render() {
|
|
6096
|
-
return (h(Host, { key: '
|
|
6112
|
+
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
6113
|
}
|
|
6098
6114
|
static get formAssociated() { return true; }
|
|
6099
6115
|
get host() { return getElement(this); }
|
|
@@ -6102,23 +6118,23 @@ const NylasEventDescription = class {
|
|
|
6102
6118
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6103
6119
|
}; }
|
|
6104
6120
|
};
|
|
6105
|
-
__decorate$
|
|
6121
|
+
__decorate$h([
|
|
6106
6122
|
RegisterComponent({
|
|
6107
6123
|
name: 'nylas-event-description',
|
|
6108
6124
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6109
6125
|
eventToProps: {},
|
|
6110
6126
|
fireRegisterEvent: true,
|
|
6111
6127
|
}),
|
|
6112
|
-
__metadata$
|
|
6113
|
-
__metadata$
|
|
6114
|
-
__metadata$
|
|
6128
|
+
__metadata$h("design:type", Function),
|
|
6129
|
+
__metadata$h("design:paramtypes", []),
|
|
6130
|
+
__metadata$h("design:returntype", void 0)
|
|
6115
6131
|
], NylasEventDescription.prototype, "render", null);
|
|
6116
6132
|
NylasEventDescription.style = NylasEventDescriptionStyle0;
|
|
6117
6133
|
|
|
6118
6134
|
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
6135
|
const NylasEventDurationStyle0 = nylasEventDurationCss;
|
|
6120
6136
|
|
|
6121
|
-
var __decorate$
|
|
6137
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6122
6138
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6123
6139
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6124
6140
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6128,7 +6144,7 @@ var __decorate$e = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6128
6144
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6129
6145
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6130
6146
|
};
|
|
6131
|
-
var __metadata$
|
|
6147
|
+
var __metadata$g = (undefined && undefined.__metadata) || function (k, v) {
|
|
6132
6148
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6133
6149
|
return Reflect.metadata(k, v);
|
|
6134
6150
|
};
|
|
@@ -6181,7 +6197,6 @@ const NylasEventDuration = class {
|
|
|
6181
6197
|
componentWillLoad() {
|
|
6182
6198
|
debug('nylas-event-duration', 'componentWillLoad');
|
|
6183
6199
|
this.host.setAttribute('name', this.name);
|
|
6184
|
-
this.setDurationMintueOptions();
|
|
6185
6200
|
}
|
|
6186
6201
|
componentDidLoad() {
|
|
6187
6202
|
debug('nylas-event-duration', 'componentDidLoad');
|
|
@@ -6191,7 +6206,10 @@ const NylasEventDuration = class {
|
|
|
6191
6206
|
this.duration = this.duration ? this.duration : this.eventDurationMinutes ? (this.eventDurationMinutes >= 60 ? this.eventDurationMinutes / 60 : this.eventDurationMinutes) : 30;
|
|
6192
6207
|
this.durationMinutes = this.durationMinutes ? this.durationMinutes : this.duration ? this.duration : 30;
|
|
6193
6208
|
this.durationIncrement = this.durationIncrement ? this.durationIncrement : this.duration >= 60 ? 60 : 1;
|
|
6194
|
-
this.
|
|
6209
|
+
this.setDurationMintueOptions();
|
|
6210
|
+
if (typeof this.internals.setFormValue === 'function') {
|
|
6211
|
+
this.internals.setFormValue(this.durationMinutes.toString(), 'duration');
|
|
6212
|
+
}
|
|
6195
6213
|
}
|
|
6196
6214
|
disconnectedCallback() {
|
|
6197
6215
|
debug('nylas-event-duration', 'disconnectedCallback');
|
|
@@ -6241,7 +6259,7 @@ const NylasEventDuration = class {
|
|
|
6241
6259
|
{ value: 1, label: 'minute' },
|
|
6242
6260
|
{ value: 60, label: 'hour' },
|
|
6243
6261
|
];
|
|
6244
|
-
return (h(Host, { key: '
|
|
6262
|
+
return (h(Host, { key: 'f6b60528b9c3f2978ac12beae9bf049a9b90fec5' }, h("div", { key: 'f7c778d981fa1d33ceed820d500e6820a4f1223c', class: "nylas-event-duration", part: "ned" }, h("label", { key: 'f461dcfeda616f50820d6cdacb5dfded22ec7aff', htmlFor: "duration" }, "Event duration", h("span", { key: '086d2458ad14f00f718fb9106c45d63576c9f734', class: "required" }, "*")), h("div", { key: 'cf27800dec77fbe74c9428de92fa042a419ddb25', class: "nylas-event-duration__wrapper" }, h("input-dropdown", { key: '06ed64927a69ca96bb9f9cc5cfede6d55c310598', 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
6263
|
}
|
|
6246
6264
|
static get formAssociated() { return true; }
|
|
6247
6265
|
get host() { return getElement(this); }
|
|
@@ -6251,23 +6269,23 @@ const NylasEventDuration = class {
|
|
|
6251
6269
|
"durationMinutes": ["durationMinutesChangedHandler"]
|
|
6252
6270
|
}; }
|
|
6253
6271
|
};
|
|
6254
|
-
__decorate$
|
|
6272
|
+
__decorate$g([
|
|
6255
6273
|
RegisterComponent({
|
|
6256
6274
|
name: 'nylas-event-duration',
|
|
6257
6275
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6258
6276
|
eventToProps: {},
|
|
6259
6277
|
fireRegisterEvent: true,
|
|
6260
6278
|
}),
|
|
6261
|
-
__metadata$
|
|
6262
|
-
__metadata$
|
|
6263
|
-
__metadata$
|
|
6279
|
+
__metadata$g("design:type", Function),
|
|
6280
|
+
__metadata$g("design:paramtypes", []),
|
|
6281
|
+
__metadata$g("design:returntype", void 0)
|
|
6264
6282
|
], NylasEventDuration.prototype, "render", null);
|
|
6265
6283
|
NylasEventDuration.style = NylasEventDurationStyle0;
|
|
6266
6284
|
|
|
6267
6285
|
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
6286
|
const NylasEventInfoStyle0 = nylasEventInfoCss;
|
|
6269
6287
|
|
|
6270
|
-
var __decorate$
|
|
6288
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6271
6289
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6272
6290
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6273
6291
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6277,7 +6295,7 @@ var __decorate$d = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6277
6295
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6278
6296
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6279
6297
|
};
|
|
6280
|
-
var __metadata$
|
|
6298
|
+
var __metadata$f = (undefined && undefined.__metadata) || function (k, v) {
|
|
6281
6299
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6282
6300
|
return Reflect.metadata(k, v);
|
|
6283
6301
|
};
|
|
@@ -6306,27 +6324,27 @@ const NylasEventInfo = class {
|
|
|
6306
6324
|
debug('nylas-event-info', 'disconnectedCallback');
|
|
6307
6325
|
}
|
|
6308
6326
|
render() {
|
|
6309
|
-
return (h(Host, { key: '
|
|
6327
|
+
return (h(Host, { key: 'be80a4e687ce223a8e52bbabc2e8acadcb194b11' }, h("nylas-form-card", { key: 'c96b77795ec2516889acf0f78c5eb723b26dd89c', exportparts: "nfc__header: nei__header" }, h("h1", { key: '890113187adcd6be1ab1d1beb489fe3a80124617', slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), h("div", { key: '44eaaae3833654530706dc93077b43a7597acc2c', slot: "content", class: "nylas-event-info__content" }, h("slot", { key: '7af737a67cb007c0ede7db5aa075828311d98da3', name: "inputs" })))));
|
|
6310
6328
|
}
|
|
6311
6329
|
static get formAssociated() { return true; }
|
|
6312
6330
|
get el() { return getElement(this); }
|
|
6313
6331
|
};
|
|
6314
|
-
__decorate$
|
|
6332
|
+
__decorate$f([
|
|
6315
6333
|
RegisterComponent({
|
|
6316
6334
|
name: 'nylas-event-info',
|
|
6317
6335
|
eventToProps: {},
|
|
6318
6336
|
fireRegisterEvent: true,
|
|
6319
6337
|
}),
|
|
6320
|
-
__metadata$
|
|
6321
|
-
__metadata$
|
|
6322
|
-
__metadata$
|
|
6338
|
+
__metadata$f("design:type", Function),
|
|
6339
|
+
__metadata$f("design:paramtypes", []),
|
|
6340
|
+
__metadata$f("design:returntype", void 0)
|
|
6323
6341
|
], NylasEventInfo.prototype, "render", null);
|
|
6324
6342
|
NylasEventInfo.style = NylasEventInfoStyle0;
|
|
6325
6343
|
|
|
6326
6344
|
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
6345
|
const NylasEventLimitsStyle0 = nylasEventLimitsCss;
|
|
6328
6346
|
|
|
6329
|
-
var __decorate$
|
|
6347
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6330
6348
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6331
6349
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6332
6350
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6336,7 +6354,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6336
6354
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6337
6355
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6338
6356
|
};
|
|
6339
|
-
var __metadata$
|
|
6357
|
+
var __metadata$e = (undefined && undefined.__metadata) || function (k, v) {
|
|
6340
6358
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6341
6359
|
return Reflect.metadata(k, v);
|
|
6342
6360
|
};
|
|
@@ -6365,27 +6383,27 @@ const NylasEventLimits = class {
|
|
|
6365
6383
|
debug('nylas-event-limits', 'disconnectedCallback');
|
|
6366
6384
|
}
|
|
6367
6385
|
render() {
|
|
6368
|
-
return (h(Host, { key: '
|
|
6386
|
+
return (h(Host, { key: '6a28113e3b403869e77cc3a2c9c3a1bea217dc52' }, h("nylas-form-card", { key: 'cf9004d044222d796ae59df58737ad9719a20576', exportparts: "nfc__header: nel__header" }, h("h1", { key: 'ffeeb7a5741c9f07fb4f9bd84016b1707e2b55b7', slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), h("div", { key: '7b51592d95736f860ec805950275a18e9d914c32', slot: "content", class: "nylas-event-limits__content" }, h("slot", { key: '53e9098d736eedf5b22e1b8ae712ec22c8ca865e', name: "inputs" })))));
|
|
6369
6387
|
}
|
|
6370
6388
|
static get formAssociated() { return true; }
|
|
6371
6389
|
get el() { return getElement(this); }
|
|
6372
6390
|
};
|
|
6373
|
-
__decorate$
|
|
6391
|
+
__decorate$e([
|
|
6374
6392
|
RegisterComponent({
|
|
6375
6393
|
name: 'nylas-event-limits',
|
|
6376
6394
|
eventToProps: {},
|
|
6377
6395
|
fireRegisterEvent: true,
|
|
6378
6396
|
}),
|
|
6379
|
-
__metadata$
|
|
6380
|
-
__metadata$
|
|
6381
|
-
__metadata$
|
|
6397
|
+
__metadata$e("design:type", Function),
|
|
6398
|
+
__metadata$e("design:paramtypes", []),
|
|
6399
|
+
__metadata$e("design:returntype", void 0)
|
|
6382
6400
|
], NylasEventLimits.prototype, "render", null);
|
|
6383
6401
|
NylasEventLimits.style = NylasEventLimitsStyle0;
|
|
6384
6402
|
|
|
6385
6403
|
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
6404
|
const NylasEventLocationStyle0 = nylasEventLocationCss;
|
|
6387
6405
|
|
|
6388
|
-
var __decorate$
|
|
6406
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6389
6407
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6390
6408
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6391
6409
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6395,10 +6413,17 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6395
6413
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6396
6414
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6397
6415
|
};
|
|
6398
|
-
var __metadata$
|
|
6416
|
+
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
|
6399
6417
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6400
6418
|
return Reflect.metadata(k, v);
|
|
6401
6419
|
};
|
|
6420
|
+
const labels = {
|
|
6421
|
+
none: 'None',
|
|
6422
|
+
custom: 'Custom location',
|
|
6423
|
+
google: 'Google Meet',
|
|
6424
|
+
microsoft: 'Microsoft Teams',
|
|
6425
|
+
zoom: 'Zoom Meeting',
|
|
6426
|
+
};
|
|
6402
6427
|
const NylasEventLocation = class {
|
|
6403
6428
|
constructor(hostRef) {
|
|
6404
6429
|
registerInstance(this, hostRef);
|
|
@@ -6419,7 +6444,7 @@ const NylasEventLocation = class {
|
|
|
6419
6444
|
this.eventLocation = undefined;
|
|
6420
6445
|
this.location = this.eventLocation ?? '';
|
|
6421
6446
|
this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : '';
|
|
6422
|
-
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : '';
|
|
6447
|
+
this.selectedLocationOption = this.eventConferencing ? this.setDefaultLocationOption(this.eventConferencing, this.location) : 'none';
|
|
6423
6448
|
this.userProviderState = this.userProvider ?? '';
|
|
6424
6449
|
}
|
|
6425
6450
|
elementNameChangedHandler(newValue) {
|
|
@@ -6546,33 +6571,50 @@ const NylasEventLocation = class {
|
|
|
6546
6571
|
this.setFormValue(value, this.name);
|
|
6547
6572
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
6548
6573
|
}
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6574
|
+
getIcon(location) {
|
|
6575
|
+
switch (location) {
|
|
6576
|
+
case 'none':
|
|
6577
|
+
return h("location-off-icon", null);
|
|
6578
|
+
case 'custom':
|
|
6579
|
+
return h("location-icon", null);
|
|
6580
|
+
case 'google':
|
|
6581
|
+
return h("google-meet-icon", null);
|
|
6582
|
+
case 'microsoft':
|
|
6583
|
+
return h("microsoft-teams-icon", null);
|
|
6584
|
+
case 'zoom':
|
|
6585
|
+
return h("zoom-icon", null);
|
|
6586
|
+
}
|
|
6587
|
+
}
|
|
6588
|
+
getLabelHTML(location) {
|
|
6589
|
+
return (h("span", { class: "location-label", style: {
|
|
6590
|
+
display: 'flex',
|
|
6591
|
+
alignItems: 'center',
|
|
6592
|
+
gap: '16px',
|
|
6593
|
+
width: '-webkit-fill-available',
|
|
6594
|
+
} }, this.getIcon(location), h("span", { class: "location-text", style: {
|
|
6595
|
+
fontSize: '14px',
|
|
6596
|
+
fontWeight: '400',
|
|
6597
|
+
} }, labels[location])));
|
|
6598
|
+
}
|
|
6599
|
+
render() {
|
|
6600
|
+
const locationOptions = [
|
|
6601
|
+
{ value: 'none', label: labels['none'], labelHTML: this.getLabelHTML('none') },
|
|
6602
|
+
{ value: 'custom', label: labels['custom'], labelHTML: this.getLabelHTML('custom') },
|
|
6603
|
+
];
|
|
6554
6604
|
switch (this.userProviderState) {
|
|
6555
6605
|
case 'google':
|
|
6556
|
-
locationOptions.push({ value: 'google', label: '
|
|
6606
|
+
locationOptions.push({ value: 'google', label: labels['google'], labelHTML: this.getLabelHTML('google') });
|
|
6557
6607
|
break;
|
|
6558
6608
|
case 'microsoft':
|
|
6559
|
-
locationOptions.push({ value: 'microsoft', label: '
|
|
6609
|
+
locationOptions.push({ value: 'microsoft', label: labels['microsoft'], labelHTML: this.getLabelHTML('microsoft') });
|
|
6560
6610
|
break;
|
|
6561
6611
|
}
|
|
6562
6612
|
if (this.conferenceProviders?.['zoom']) {
|
|
6563
|
-
locationOptions.push({ value: 'zoom', label: '
|
|
6613
|
+
locationOptions.push({ value: 'zoom', label: labels['zoom'], labelHTML: this.getLabelHTML('zoom') });
|
|
6564
6614
|
}
|
|
6565
6615
|
const newLocationOptions = [...locationOptions];
|
|
6566
6616
|
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) }))))));
|
|
6617
|
+
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
6618
|
}
|
|
6577
6619
|
static get formAssociated() { return true; }
|
|
6578
6620
|
get host() { return getElement(this); }
|
|
@@ -6581,7 +6623,7 @@ const NylasEventLocation = class {
|
|
|
6581
6623
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
6582
6624
|
}; }
|
|
6583
6625
|
};
|
|
6584
|
-
__decorate$
|
|
6626
|
+
__decorate$d([
|
|
6585
6627
|
RegisterComponent({
|
|
6586
6628
|
name: 'nylas-event-location',
|
|
6587
6629
|
stateToProps: new Map([
|
|
@@ -6592,16 +6634,16 @@ __decorate$b([
|
|
|
6592
6634
|
eventToProps: {},
|
|
6593
6635
|
fireRegisterEvent: true,
|
|
6594
6636
|
}),
|
|
6595
|
-
__metadata$
|
|
6596
|
-
__metadata$
|
|
6597
|
-
__metadata$
|
|
6637
|
+
__metadata$d("design:type", Function),
|
|
6638
|
+
__metadata$d("design:paramtypes", []),
|
|
6639
|
+
__metadata$d("design:returntype", void 0)
|
|
6598
6640
|
], NylasEventLocation.prototype, "render", null);
|
|
6599
6641
|
NylasEventLocation.style = NylasEventLocationStyle0;
|
|
6600
6642
|
|
|
6601
6643
|
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
6644
|
const NylasEventTitleStyle0 = nylasEventTitleCss;
|
|
6603
6645
|
|
|
6604
|
-
var __decorate$
|
|
6646
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6605
6647
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6606
6648
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6607
6649
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6611,7 +6653,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6611
6653
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6612
6654
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6613
6655
|
};
|
|
6614
|
-
var __metadata$
|
|
6656
|
+
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
|
6615
6657
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6616
6658
|
return Reflect.metadata(k, v);
|
|
6617
6659
|
};
|
|
@@ -6833,11 +6875,16 @@ const NylasEventTitle = class {
|
|
|
6833
6875
|
this.resetDropdown();
|
|
6834
6876
|
}
|
|
6835
6877
|
else if (event.key === 'Backspace' || event.key === 'Delete') {
|
|
6836
|
-
|
|
6837
|
-
|
|
6878
|
+
const parentNode = selection?.node?.parentNode;
|
|
6879
|
+
if (selection?.currentText.startsWith('${') && parentNode) {
|
|
6880
|
+
event.preventDefault();
|
|
6881
|
+
parentNode.removeChild(selection.node);
|
|
6882
|
+
parentNode.remove();
|
|
6883
|
+
this.resetDropdown();
|
|
6838
6884
|
}
|
|
6839
|
-
if (this.titleRef.textContent === '' || selection?.
|
|
6885
|
+
if (this.titleRef.textContent === '' || selection?.allSelected) {
|
|
6840
6886
|
this.titleRef.innerHTML = '';
|
|
6887
|
+
this.updateEventTitle('');
|
|
6841
6888
|
}
|
|
6842
6889
|
}
|
|
6843
6890
|
}
|
|
@@ -6917,10 +6964,10 @@ const NylasEventTitle = class {
|
|
|
6917
6964
|
return (h("div", { class: "token-label" }, h("span", { class: "token" }, token.token), h("span", { class: "description" }, token.description)));
|
|
6918
6965
|
}
|
|
6919
6966
|
render() {
|
|
6920
|
-
return (h(Host, { key: '
|
|
6967
|
+
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
6968
|
title: true,
|
|
6922
6969
|
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: '
|
|
6970
|
+
}, 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
6971
|
}
|
|
6925
6972
|
static get formAssociated() { return true; }
|
|
6926
6973
|
get host() { return getElement(this); }
|
|
@@ -6930,23 +6977,23 @@ const NylasEventTitle = class {
|
|
|
6930
6977
|
"selectedConfiguration": ["configChangedHandler"]
|
|
6931
6978
|
}; }
|
|
6932
6979
|
};
|
|
6933
|
-
__decorate$
|
|
6980
|
+
__decorate$c([
|
|
6934
6981
|
RegisterComponent({
|
|
6935
6982
|
name: 'nylas-event-title',
|
|
6936
6983
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
6937
6984
|
eventToProps: {},
|
|
6938
6985
|
fireRegisterEvent: true,
|
|
6939
6986
|
}),
|
|
6940
|
-
__metadata$
|
|
6941
|
-
__metadata$
|
|
6942
|
-
__metadata$
|
|
6987
|
+
__metadata$c("design:type", Function),
|
|
6988
|
+
__metadata$c("design:paramtypes", []),
|
|
6989
|
+
__metadata$c("design:returntype", void 0)
|
|
6943
6990
|
], NylasEventTitle.prototype, "render", null);
|
|
6944
6991
|
NylasEventTitle.style = NylasEventTitleStyle0;
|
|
6945
6992
|
|
|
6946
6993
|
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
6994
|
const NylasFeedbackFormStyle0 = nylasFeedbackFormCss;
|
|
6948
6995
|
|
|
6949
|
-
var __decorate$
|
|
6996
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6950
6997
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6951
6998
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6952
6999
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6956,7 +7003,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
6956
7003
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6957
7004
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6958
7005
|
};
|
|
6959
|
-
var __metadata$
|
|
7006
|
+
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
|
6960
7007
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
6961
7008
|
return Reflect.metadata(k, v);
|
|
6962
7009
|
};
|
|
@@ -6999,13 +7046,13 @@ const NylasFeedbackForm = class {
|
|
|
6999
7046
|
this.feedbackModalClosed.emit();
|
|
7000
7047
|
}
|
|
7001
7048
|
render() {
|
|
7002
|
-
return (h(Host, { key: '
|
|
7049
|
+
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
7050
|
footer: true,
|
|
7004
|
-
} }, h("button-component", { key: '
|
|
7051
|
+
} }, 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
7052
|
}
|
|
7006
7053
|
get host() { return getElement(this); }
|
|
7007
7054
|
};
|
|
7008
|
-
__decorate$
|
|
7055
|
+
__decorate$b([
|
|
7009
7056
|
RegisterComponent({
|
|
7010
7057
|
name: 'nylas-feedback-form',
|
|
7011
7058
|
stateToProps: new Map([]),
|
|
@@ -7015,16 +7062,16 @@ __decorate$9([
|
|
|
7015
7062
|
},
|
|
7016
7063
|
fireRegisterEvent: true,
|
|
7017
7064
|
}),
|
|
7018
|
-
__metadata$
|
|
7019
|
-
__metadata$
|
|
7020
|
-
__metadata$
|
|
7065
|
+
__metadata$b("design:type", Function),
|
|
7066
|
+
__metadata$b("design:paramtypes", []),
|
|
7067
|
+
__metadata$b("design:returntype", void 0)
|
|
7021
7068
|
], NylasFeedbackForm.prototype, "render", null);
|
|
7022
7069
|
NylasFeedbackForm.style = NylasFeedbackFormStyle0;
|
|
7023
7070
|
|
|
7024
7071
|
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
7072
|
const NylasLimitFutureBookingsStyle0 = nylasLimitFutureBookingsCss;
|
|
7026
7073
|
|
|
7027
|
-
var __decorate$
|
|
7074
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7028
7075
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7029
7076
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7030
7077
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7034,7 +7081,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7034
7081
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7035
7082
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7036
7083
|
};
|
|
7037
|
-
var __metadata$
|
|
7084
|
+
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
|
7038
7085
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7039
7086
|
return Reflect.metadata(k, v);
|
|
7040
7087
|
};
|
|
@@ -7125,7 +7172,7 @@ const NylasLimitFutureBookings = class {
|
|
|
7125
7172
|
}
|
|
7126
7173
|
render() {
|
|
7127
7174
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7128
|
-
return (h(Host, { key: '
|
|
7175
|
+
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
7176
|
}
|
|
7130
7177
|
static get formAssociated() { return true; }
|
|
7131
7178
|
get host() { return getElement(this); }
|
|
@@ -7134,23 +7181,23 @@ const NylasLimitFutureBookings = class {
|
|
|
7134
7181
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7135
7182
|
}; }
|
|
7136
7183
|
};
|
|
7137
|
-
__decorate$
|
|
7184
|
+
__decorate$a([
|
|
7138
7185
|
RegisterComponent({
|
|
7139
7186
|
name: 'nylas-limit-future-bookings',
|
|
7140
7187
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7141
7188
|
eventToProps: {},
|
|
7142
7189
|
fireRegisterEvent: true,
|
|
7143
7190
|
}),
|
|
7144
|
-
__metadata$
|
|
7145
|
-
__metadata$
|
|
7146
|
-
__metadata$
|
|
7191
|
+
__metadata$a("design:type", Function),
|
|
7192
|
+
__metadata$a("design:paramtypes", []),
|
|
7193
|
+
__metadata$a("design:returntype", void 0)
|
|
7147
7194
|
], NylasLimitFutureBookings.prototype, "render", null);
|
|
7148
7195
|
NylasLimitFutureBookings.style = NylasLimitFutureBookingsStyle0;
|
|
7149
7196
|
|
|
7150
7197
|
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
7198
|
const NylasMinBookingNoticeStyle0 = nylasMinBookingNoticeCss;
|
|
7152
7199
|
|
|
7153
|
-
var __decorate$
|
|
7200
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7154
7201
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7155
7202
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7156
7203
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7160,7 +7207,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7160
7207
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7161
7208
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7162
7209
|
};
|
|
7163
|
-
var __metadata$
|
|
7210
|
+
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7164
7211
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7165
7212
|
return Reflect.metadata(k, v);
|
|
7166
7213
|
};
|
|
@@ -7176,8 +7223,8 @@ const NylasMinBookingNotice = class {
|
|
|
7176
7223
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7177
7224
|
}
|
|
7178
7225
|
this.selectedConfiguration = undefined;
|
|
7179
|
-
this.minBookingNotice = undefined;
|
|
7180
7226
|
this.name = 'min-booking-notice';
|
|
7227
|
+
this.minBookingNotice = undefined;
|
|
7181
7228
|
this.selectedNumber = undefined;
|
|
7182
7229
|
this.selectedPeriod = undefined;
|
|
7183
7230
|
}
|
|
@@ -7276,7 +7323,7 @@ const NylasMinBookingNotice = class {
|
|
|
7276
7323
|
}
|
|
7277
7324
|
render() {
|
|
7278
7325
|
const showTImePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7279
|
-
return (h(Host, { key: '
|
|
7326
|
+
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
7327
|
}
|
|
7281
7328
|
static get formAssociated() { return true; }
|
|
7282
7329
|
get host() { return getElement(this); }
|
|
@@ -7285,23 +7332,23 @@ const NylasMinBookingNotice = class {
|
|
|
7285
7332
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7286
7333
|
}; }
|
|
7287
7334
|
};
|
|
7288
|
-
__decorate$
|
|
7335
|
+
__decorate$9([
|
|
7289
7336
|
RegisterComponent({
|
|
7290
7337
|
name: 'nylas-min-booking-notice',
|
|
7291
7338
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7292
7339
|
eventToProps: {},
|
|
7293
7340
|
fireRegisterEvent: true,
|
|
7294
7341
|
}),
|
|
7295
|
-
__metadata$
|
|
7296
|
-
__metadata$
|
|
7297
|
-
__metadata$
|
|
7342
|
+
__metadata$9("design:type", Function),
|
|
7343
|
+
__metadata$9("design:paramtypes", []),
|
|
7344
|
+
__metadata$9("design:returntype", void 0)
|
|
7298
7345
|
], NylasMinBookingNotice.prototype, "render", null);
|
|
7299
7346
|
NylasMinBookingNotice.style = NylasMinBookingNoticeStyle0;
|
|
7300
7347
|
|
|
7301
7348
|
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
7349
|
const NylasMinCancellationNoticeStyle0 = nylasMinCancellationNoticeCss;
|
|
7303
7350
|
|
|
7304
|
-
var __decorate$
|
|
7351
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7305
7352
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7306
7353
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7307
7354
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7311,7 +7358,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7311
7358
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7312
7359
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7313
7360
|
};
|
|
7314
|
-
var __metadata$
|
|
7361
|
+
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7315
7362
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7316
7363
|
return Reflect.metadata(k, v);
|
|
7317
7364
|
};
|
|
@@ -7327,8 +7374,8 @@ const NylasMinCancellationNotice = class {
|
|
|
7327
7374
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7328
7375
|
}
|
|
7329
7376
|
this.selectedConfiguration = undefined;
|
|
7330
|
-
this.minCancellationNotice = undefined;
|
|
7331
7377
|
this.name = 'min-cancellation-notice';
|
|
7378
|
+
this.minCancellationNotice = undefined;
|
|
7332
7379
|
this.selectedNumber = undefined;
|
|
7333
7380
|
this.selectedPeriod = undefined;
|
|
7334
7381
|
}
|
|
@@ -7431,7 +7478,7 @@ const NylasMinCancellationNotice = class {
|
|
|
7431
7478
|
}
|
|
7432
7479
|
render() {
|
|
7433
7480
|
const showTimePeriodSelector = typeof this.selectedNumber == 'number' && typeof this.selectedPeriod == 'string';
|
|
7434
|
-
return (h(Host, { key: '
|
|
7481
|
+
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
7482
|
}
|
|
7436
7483
|
static get formAssociated() { return true; }
|
|
7437
7484
|
get host() { return getElement(this); }
|
|
@@ -7440,23 +7487,23 @@ const NylasMinCancellationNotice = class {
|
|
|
7440
7487
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7441
7488
|
}; }
|
|
7442
7489
|
};
|
|
7443
|
-
__decorate$
|
|
7490
|
+
__decorate$8([
|
|
7444
7491
|
RegisterComponent({
|
|
7445
7492
|
name: 'nylas-min-cancellation-notice',
|
|
7446
7493
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
7447
7494
|
eventToProps: {},
|
|
7448
7495
|
fireRegisterEvent: true,
|
|
7449
7496
|
}),
|
|
7450
|
-
__metadata$
|
|
7451
|
-
__metadata$
|
|
7452
|
-
__metadata$
|
|
7497
|
+
__metadata$8("design:type", Function),
|
|
7498
|
+
__metadata$8("design:paramtypes", []),
|
|
7499
|
+
__metadata$8("design:returntype", void 0)
|
|
7453
7500
|
], NylasMinCancellationNotice.prototype, "render", null);
|
|
7454
7501
|
NylasMinCancellationNotice.style = NylasMinCancellationNoticeStyle0;
|
|
7455
7502
|
|
|
7456
7503
|
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
7504
|
const NylasPageNameStyle0 = nylasPageNameCss;
|
|
7458
7505
|
|
|
7459
|
-
var __decorate$
|
|
7506
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7460
7507
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7461
7508
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7462
7509
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7466,7 +7513,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7466
7513
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7467
7514
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7468
7515
|
};
|
|
7469
|
-
var __metadata$
|
|
7516
|
+
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7470
7517
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7471
7518
|
return Reflect.metadata(k, v);
|
|
7472
7519
|
};
|
|
@@ -7482,10 +7529,10 @@ const NylasPageName = class {
|
|
|
7482
7529
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7483
7530
|
}
|
|
7484
7531
|
this.selectedConfiguration = undefined;
|
|
7532
|
+
this.name = 'page-name';
|
|
7485
7533
|
this.pageName = undefined;
|
|
7486
7534
|
this.showToggle = true;
|
|
7487
7535
|
this.isOpen = true;
|
|
7488
|
-
this.name = 'page-name';
|
|
7489
7536
|
this.currentPageName = undefined;
|
|
7490
7537
|
}
|
|
7491
7538
|
connectedCallback() {
|
|
@@ -7540,7 +7587,7 @@ const NylasPageName = class {
|
|
|
7540
7587
|
}
|
|
7541
7588
|
render() {
|
|
7542
7589
|
const isComponentReady = typeof this.currentPageName !== 'undefined';
|
|
7543
|
-
return (h(Host, { key: '
|
|
7590
|
+
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
7591
|
}
|
|
7545
7592
|
static get formAssociated() { return true; }
|
|
7546
7593
|
get host() { return getElement(this); }
|
|
@@ -7549,7 +7596,7 @@ const NylasPageName = class {
|
|
|
7549
7596
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
7550
7597
|
}; }
|
|
7551
7598
|
};
|
|
7552
|
-
__decorate$
|
|
7599
|
+
__decorate$7([
|
|
7553
7600
|
RegisterComponent({
|
|
7554
7601
|
name: 'nylas-page-name',
|
|
7555
7602
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7563,16 +7610,16 @@ __decorate$5([
|
|
|
7563
7610
|
},
|
|
7564
7611
|
fireRegisterEvent: true,
|
|
7565
7612
|
}),
|
|
7566
|
-
__metadata$
|
|
7567
|
-
__metadata$
|
|
7568
|
-
__metadata$
|
|
7613
|
+
__metadata$7("design:type", Function),
|
|
7614
|
+
__metadata$7("design:paramtypes", []),
|
|
7615
|
+
__metadata$7("design:returntype", void 0)
|
|
7569
7616
|
], NylasPageName.prototype, "render", null);
|
|
7570
7617
|
NylasPageName.style = NylasPageNameStyle0;
|
|
7571
7618
|
|
|
7572
7619
|
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
7620
|
const NylasPageStylingStyle0 = nylasPageStylingCss;
|
|
7574
7621
|
|
|
7575
|
-
var __decorate$
|
|
7622
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7576
7623
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7577
7624
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7578
7625
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7582,7 +7629,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7582
7629
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7583
7630
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7584
7631
|
};
|
|
7585
|
-
var __metadata$
|
|
7632
|
+
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7586
7633
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7587
7634
|
return Reflect.metadata(k, v);
|
|
7588
7635
|
};
|
|
@@ -7599,9 +7646,9 @@ const NylasPageStyling = class {
|
|
|
7599
7646
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
7600
7647
|
}
|
|
7601
7648
|
this.selectedConfiguration = undefined;
|
|
7649
|
+
this.name = 'page-styling';
|
|
7602
7650
|
this.appearance = undefined;
|
|
7603
7651
|
this.isOpen = true;
|
|
7604
|
-
this.name = 'page-styling';
|
|
7605
7652
|
this.currentAppearance = undefined;
|
|
7606
7653
|
this.customInputsSlot = null;
|
|
7607
7654
|
}
|
|
@@ -7820,7 +7867,7 @@ const NylasPageStyling = class {
|
|
|
7820
7867
|
this.isOpen = !this.isOpen;
|
|
7821
7868
|
}
|
|
7822
7869
|
render() {
|
|
7823
|
-
return (h(Host, { key: '
|
|
7870
|
+
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
7871
|
}
|
|
7825
7872
|
static get formAssociated() { return true; }
|
|
7826
7873
|
get host() { return getElement(this); }
|
|
@@ -7828,7 +7875,7 @@ const NylasPageStyling = class {
|
|
|
7828
7875
|
"name": ["elementNameChangedHandler"]
|
|
7829
7876
|
}; }
|
|
7830
7877
|
};
|
|
7831
|
-
__decorate$
|
|
7878
|
+
__decorate$6([
|
|
7832
7879
|
RegisterComponent({
|
|
7833
7880
|
name: 'nylas-page-styling',
|
|
7834
7881
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
@@ -7842,16 +7889,16 @@ __decorate$4([
|
|
|
7842
7889
|
},
|
|
7843
7890
|
fireRegisterEvent: true,
|
|
7844
7891
|
}),
|
|
7845
|
-
__metadata$
|
|
7846
|
-
__metadata$
|
|
7847
|
-
__metadata$
|
|
7892
|
+
__metadata$6("design:type", Function),
|
|
7893
|
+
__metadata$6("design:paramtypes", []),
|
|
7894
|
+
__metadata$6("design:returntype", void 0)
|
|
7848
7895
|
], NylasPageStyling.prototype, "render", null);
|
|
7849
7896
|
NylasPageStyling.style = NylasPageStylingStyle0;
|
|
7850
7897
|
|
|
7851
7898
|
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
7899
|
const NylasParticipantBookingCalendarsStyle0 = nylasParticipantBookingCalendarsCss;
|
|
7853
7900
|
|
|
7854
|
-
var __decorate$
|
|
7901
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7855
7902
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7856
7903
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7857
7904
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -7861,7 +7908,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
7861
7908
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7862
7909
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7863
7910
|
};
|
|
7864
|
-
var __metadata$
|
|
7911
|
+
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
|
7865
7912
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
7866
7913
|
return Reflect.metadata(k, v);
|
|
7867
7914
|
};
|
|
@@ -7953,6 +8000,10 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7953
8000
|
this.selectedCalendars = this.setParticipants(this.selectedConfiguration?.participants);
|
|
7954
8001
|
this.participantCalendars = this.getParticipantCalendarOptions(this.selectedConfiguration?.participants, this.participantOptions);
|
|
7955
8002
|
}
|
|
8003
|
+
else {
|
|
8004
|
+
this.selectedCalendars = this.setParticipants(this.participants);
|
|
8005
|
+
this.participantCalendars = this.getParticipantCalendarOptions(this.participants, this.participantOptions);
|
|
8006
|
+
}
|
|
7956
8007
|
}
|
|
7957
8008
|
handleValueChanged(event) {
|
|
7958
8009
|
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
@@ -7994,13 +8045,13 @@ const NylasParticipantBookingCalendars = class {
|
|
|
7994
8045
|
return selectedParticipants;
|
|
7995
8046
|
}
|
|
7996
8047
|
render() {
|
|
7997
|
-
return (h(Host, { key: '
|
|
8048
|
+
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
8049
|
Object.keys(this.participantCalendars).map((key, index) => {
|
|
7999
8050
|
const participant = this.selectedCalendars[key];
|
|
8000
8051
|
const participantCalendars = this.participantCalendars[key];
|
|
8001
8052
|
if (!participant || !participant.name)
|
|
8002
8053
|
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
|
|
8054
|
+
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
8055
|
this.selectedCalendars[key].isOpen = !participant.isOpen;
|
|
8005
8056
|
this.selectedCalendars = { ...this.selectedCalendars };
|
|
8006
8057
|
} }, 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 +8067,7 @@ const NylasParticipantBookingCalendars = class {
|
|
|
8016
8067
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8017
8068
|
}; }
|
|
8018
8069
|
};
|
|
8019
|
-
__decorate$
|
|
8070
|
+
__decorate$5([
|
|
8020
8071
|
RegisterComponent({
|
|
8021
8072
|
name: 'nylas-participant-booking-calendars',
|
|
8022
8073
|
stateToProps: new Map([
|
|
@@ -8027,16 +8078,16 @@ __decorate$3([
|
|
|
8027
8078
|
eventToProps: {},
|
|
8028
8079
|
fireRegisterEvent: true,
|
|
8029
8080
|
}),
|
|
8030
|
-
__metadata$
|
|
8031
|
-
__metadata$
|
|
8032
|
-
__metadata$
|
|
8081
|
+
__metadata$5("design:type", Function),
|
|
8082
|
+
__metadata$5("design:paramtypes", []),
|
|
8083
|
+
__metadata$5("design:returntype", void 0)
|
|
8033
8084
|
], NylasParticipantBookingCalendars.prototype, "render", null);
|
|
8034
8085
|
NylasParticipantBookingCalendars.style = NylasParticipantBookingCalendarsStyle0;
|
|
8035
8086
|
|
|
8036
8087
|
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
8088
|
const NylasParticipantsCustomAvailabilityStyle0 = nylasParticipantsCustomAvailabilityCss;
|
|
8038
8089
|
|
|
8039
|
-
var __decorate$
|
|
8090
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8040
8091
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8041
8092
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8042
8093
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8046,7 +8097,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
8046
8097
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8047
8098
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8048
8099
|
};
|
|
8049
|
-
var __metadata$
|
|
8100
|
+
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8050
8101
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8051
8102
|
return Reflect.metadata(k, v);
|
|
8052
8103
|
};
|
|
@@ -8146,12 +8197,13 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8146
8197
|
openHours: participant.availability?.open_hours || [],
|
|
8147
8198
|
name: participant.name || participant.email,
|
|
8148
8199
|
availability: participant.availability,
|
|
8200
|
+
timezone: participant.timezone,
|
|
8149
8201
|
};
|
|
8150
8202
|
});
|
|
8151
8203
|
return selectedParticipants;
|
|
8152
8204
|
}
|
|
8153
8205
|
render() {
|
|
8154
|
-
return (h(Host, { key: '
|
|
8206
|
+
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
8207
|
const participant = this.selectedParticipants[key];
|
|
8156
8208
|
if (!participant || !participant.name || !participant.availability)
|
|
8157
8209
|
return;
|
|
@@ -8160,7 +8212,7 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8160
8212
|
return;
|
|
8161
8213
|
this.selectedParticipants[key].isOpen = !participant.isOpen;
|
|
8162
8214
|
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.
|
|
8215
|
+
} }, 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
8216
|
}))))));
|
|
8165
8217
|
}
|
|
8166
8218
|
static get formAssociated() { return true; }
|
|
@@ -8171,18 +8223,362 @@ const NylasParticipantsCustomAvailability = class {
|
|
|
8171
8223
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8172
8224
|
}; }
|
|
8173
8225
|
};
|
|
8174
|
-
__decorate$
|
|
8226
|
+
__decorate$4([
|
|
8175
8227
|
RegisterComponent({
|
|
8176
8228
|
name: 'nylas-participants-custom-availability',
|
|
8177
8229
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8178
8230
|
eventToProps: {},
|
|
8179
8231
|
fireRegisterEvent: true,
|
|
8180
8232
|
}),
|
|
8233
|
+
__metadata$4("design:type", Function),
|
|
8234
|
+
__metadata$4("design:paramtypes", []),
|
|
8235
|
+
__metadata$4("design:returntype", void 0)
|
|
8236
|
+
], NylasParticipantsCustomAvailability.prototype, "render", null);
|
|
8237
|
+
NylasParticipantsCustomAvailability.style = NylasParticipantsCustomAvailabilityStyle0;
|
|
8238
|
+
|
|
8239
|
+
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}";
|
|
8240
|
+
const NylasReminderEmailsStyle0 = nylasReminderEmailsCss;
|
|
8241
|
+
|
|
8242
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8243
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8244
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8245
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8246
|
+
else
|
|
8247
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8248
|
+
if (d = decorators[i])
|
|
8249
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8250
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8251
|
+
};
|
|
8252
|
+
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8253
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8254
|
+
return Reflect.metadata(k, v);
|
|
8255
|
+
};
|
|
8256
|
+
const NylasReminderEmails = class {
|
|
8257
|
+
constructor(hostRef) {
|
|
8258
|
+
registerInstance(this, hostRef);
|
|
8259
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
8260
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8261
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8262
|
+
}
|
|
8263
|
+
else {
|
|
8264
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8265
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8266
|
+
}
|
|
8267
|
+
this.selectedConfiguration = undefined;
|
|
8268
|
+
this.name = 'reminder-overrides';
|
|
8269
|
+
this.reminders = this.selectedConfiguration?.event_booking?.reminders ?? [];
|
|
8270
|
+
this.reminderErrors = {};
|
|
8271
|
+
this.participants = this.selectedConfiguration?.participants ?? [];
|
|
8272
|
+
}
|
|
8273
|
+
connectedCallback() {
|
|
8274
|
+
debug('nylas-reminder-emails', 'connectedCallback');
|
|
8275
|
+
}
|
|
8276
|
+
disconnectedCallback() {
|
|
8277
|
+
debug('nylas-reminder-emails', 'disconnectedCallback');
|
|
8278
|
+
}
|
|
8279
|
+
componentWillLoad() {
|
|
8280
|
+
debug('nylas-reminder-emails', 'componentWillLoad');
|
|
8281
|
+
this.host.setAttribute('name', this.name);
|
|
8282
|
+
}
|
|
8283
|
+
componentDidLoad() {
|
|
8284
|
+
debug('nylas-reminder-emails', 'componentDidLoad');
|
|
8285
|
+
if (this.selectedConfiguration) {
|
|
8286
|
+
this.selectedConfigurationChangedHandler(this.selectedConfiguration);
|
|
8287
|
+
}
|
|
8288
|
+
else {
|
|
8289
|
+
this.updateRemindersFormValue();
|
|
8290
|
+
}
|
|
8291
|
+
}
|
|
8292
|
+
componentWillUpdate() {
|
|
8293
|
+
debug('nylas-reminder-emails', 'componentWillUpdate');
|
|
8294
|
+
}
|
|
8295
|
+
componentDidUpdate() {
|
|
8296
|
+
debug('nylas-reminder-emails', 'componentDidUpdate');
|
|
8297
|
+
}
|
|
8298
|
+
componentWillRender() {
|
|
8299
|
+
debug('nylas-reminder-emails', 'componentWillRender');
|
|
8300
|
+
}
|
|
8301
|
+
componentDidRender() {
|
|
8302
|
+
debug('nylas-reminder-emails', 'componentDidRender');
|
|
8303
|
+
}
|
|
8304
|
+
elementNameChangedHandler(newValue) {
|
|
8305
|
+
debug('nylas-reminder-emails', 'elementNameChangedHandler', newValue);
|
|
8306
|
+
this.host.setAttribute('name', newValue);
|
|
8307
|
+
}
|
|
8308
|
+
selectedConfigurationChangedHandler(newVal) {
|
|
8309
|
+
debug('nylas-reminder-emails', 'selectedConfigurationChangedHandler', newVal);
|
|
8310
|
+
this.reminders = newVal?.event_booking?.reminders ?? [];
|
|
8311
|
+
this.participants = newVal?.participants ?? [];
|
|
8312
|
+
this.updateRemindersFormValue();
|
|
8313
|
+
}
|
|
8314
|
+
handleValueChanged(event) {
|
|
8315
|
+
debug('nylas-reminder-emails', 'handleValueChanged', event);
|
|
8316
|
+
const { name, value } = event.detail;
|
|
8317
|
+
if (name.startsWith('reminder-time-')) {
|
|
8318
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8319
|
+
const updatedReminders = [...this.reminders];
|
|
8320
|
+
updatedReminders[reminderIndex].minutes_before_event = parseInt(value);
|
|
8321
|
+
this.reminders = [...updatedReminders];
|
|
8322
|
+
this.updateRemindersFormValue();
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
handleNylasFormDropdownChanged(event) {
|
|
8326
|
+
debug('nylas-reminder-emails', 'handleNylasFormDropdownChanged', event);
|
|
8327
|
+
const { name, value } = event.detail;
|
|
8328
|
+
if (!name.startsWith('recipient-')) {
|
|
8329
|
+
return;
|
|
8330
|
+
}
|
|
8331
|
+
const [_, reminderIndex] = name.split(/(\d+)/);
|
|
8332
|
+
const updatedReminders = [...this.reminders];
|
|
8333
|
+
updatedReminders[reminderIndex].recipient = value;
|
|
8334
|
+
this.reminders = [...updatedReminders];
|
|
8335
|
+
this.updateRemindersFormValue();
|
|
8336
|
+
}
|
|
8337
|
+
addReminder() {
|
|
8338
|
+
debug('nylas-reminder-emails', 'addReminder');
|
|
8339
|
+
this.reminders = [
|
|
8340
|
+
...this.reminders,
|
|
8341
|
+
{
|
|
8342
|
+
type: 'email',
|
|
8343
|
+
minutes_before_event: 30,
|
|
8344
|
+
editing: true,
|
|
8345
|
+
recipient: 'all',
|
|
8346
|
+
},
|
|
8347
|
+
];
|
|
8348
|
+
this.updateRemindersFormValue();
|
|
8349
|
+
}
|
|
8350
|
+
deleteReminder(index) {
|
|
8351
|
+
this.reminders = this.reminders.filter((_, i) => i !== index).map(p => ({ ...p }));
|
|
8352
|
+
this.updateRemindersFormValue();
|
|
8353
|
+
}
|
|
8354
|
+
updateRemindersFormValue() {
|
|
8355
|
+
debug('nylas-reminder-emails', 'updateRemindersFormValue');
|
|
8356
|
+
const eventReminders = this.reminders.map(reminder => {
|
|
8357
|
+
const rem = { ...reminder };
|
|
8358
|
+
delete rem.editing;
|
|
8359
|
+
return rem;
|
|
8360
|
+
});
|
|
8361
|
+
this.internals.setFormValue(JSON.stringify(eventReminders), 'reminder-overrides');
|
|
8362
|
+
this.valueChanged.emit({ value: JSON.stringify(eventReminders), name: 'reminder-overrides' });
|
|
8363
|
+
}
|
|
8364
|
+
formatReminderTime(reminderTime) {
|
|
8365
|
+
switch (true) {
|
|
8366
|
+
case reminderTime > 24 * 60:
|
|
8367
|
+
return `${reminderTime / 60 / 24} days`;
|
|
8368
|
+
case reminderTime === 24 * 60:
|
|
8369
|
+
return '1 day';
|
|
8370
|
+
case reminderTime > 90 || reminderTime === 60:
|
|
8371
|
+
return `${reminderTime / 60} hours`;
|
|
8372
|
+
default:
|
|
8373
|
+
return `${reminderTime} minute${reminderTime > 1 ? 's' : ''} `;
|
|
8374
|
+
}
|
|
8375
|
+
}
|
|
8376
|
+
render() {
|
|
8377
|
+
const organizerName = this.participants.find(p => p.is_organizer)?.name;
|
|
8378
|
+
const recipientOptions = [
|
|
8379
|
+
{
|
|
8380
|
+
label: 'All host & guests',
|
|
8381
|
+
value: 'all',
|
|
8382
|
+
},
|
|
8383
|
+
{
|
|
8384
|
+
label: 'All event guests',
|
|
8385
|
+
value: 'guest',
|
|
8386
|
+
},
|
|
8387
|
+
{
|
|
8388
|
+
label: 'Only event host',
|
|
8389
|
+
value: 'host',
|
|
8390
|
+
},
|
|
8391
|
+
];
|
|
8392
|
+
return (h(Host, { key: 'a71a8247248eec4834963b8887b713769b7210cf' }, h("div", { key: '8ab8b9fc62502a7ddf5a111727ab5ef53fc050a9', class: "cards-container" }, this.reminders.map((reminder, index) => {
|
|
8393
|
+
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 => {
|
|
8394
|
+
event.preventDefault();
|
|
8395
|
+
reminder.editing = true;
|
|
8396
|
+
this.reminders = [...this.reminders];
|
|
8397
|
+
} }, 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 => {
|
|
8398
|
+
event.preventDefault();
|
|
8399
|
+
this.deleteReminder(index);
|
|
8400
|
+
} }, h("trash-icon", { width: "16", height: "16" })), h("span", { class: `chevron ${reminder.editing ? 'open' : 'closed'}`, onClick: () => {
|
|
8401
|
+
reminder.editing = !reminder.editing;
|
|
8402
|
+
this.reminders = [...this.reminders];
|
|
8403
|
+
} }, 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")))));
|
|
8404
|
+
})), h("button-component", { key: '67f3f31bf95a05c858a97da188b88788551d1171', class: "create-reminder", variant: 'basic', clickHandler: event => {
|
|
8405
|
+
event.preventDefault();
|
|
8406
|
+
this.addReminder();
|
|
8407
|
+
} }, h("plus-icon", { key: 'ad8a8e742fdd8334e56af084356ea6fc7189405e', width: "16", height: "16" }), "New reminder")));
|
|
8408
|
+
}
|
|
8409
|
+
static get formAssociated() { return true; }
|
|
8410
|
+
get host() { return getElement(this); }
|
|
8411
|
+
static get watchers() { return {
|
|
8412
|
+
"name": ["elementNameChangedHandler"],
|
|
8413
|
+
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
8414
|
+
}; }
|
|
8415
|
+
};
|
|
8416
|
+
__decorate$3([
|
|
8417
|
+
RegisterComponent({
|
|
8418
|
+
name: 'nylas-reminder-emails',
|
|
8419
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8420
|
+
eventToProps: {
|
|
8421
|
+
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8422
|
+
const { valueChanged } = event.detail;
|
|
8423
|
+
if (valueChanged) {
|
|
8424
|
+
valueChanged(event);
|
|
8425
|
+
}
|
|
8426
|
+
},
|
|
8427
|
+
},
|
|
8428
|
+
fireRegisterEvent: true,
|
|
8429
|
+
}),
|
|
8430
|
+
__metadata$3("design:type", Function),
|
|
8431
|
+
__metadata$3("design:paramtypes", []),
|
|
8432
|
+
__metadata$3("design:returntype", void 0)
|
|
8433
|
+
], NylasReminderEmails.prototype, "render", null);
|
|
8434
|
+
NylasReminderEmails.style = NylasReminderEmailsStyle0;
|
|
8435
|
+
|
|
8436
|
+
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)}";
|
|
8437
|
+
const NylasReminderTimeStyle0 = nylasReminderTimeCss;
|
|
8438
|
+
|
|
8439
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8440
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8441
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8442
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8443
|
+
else
|
|
8444
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
8445
|
+
if (d = decorators[i])
|
|
8446
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8447
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8448
|
+
};
|
|
8449
|
+
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
|
8450
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
8451
|
+
return Reflect.metadata(k, v);
|
|
8452
|
+
};
|
|
8453
|
+
function getInitialTimeValue(timeInMinutes) {
|
|
8454
|
+
if (!timeInMinutes)
|
|
8455
|
+
return 30;
|
|
8456
|
+
if (timeInMinutes >= 60 * 24)
|
|
8457
|
+
return timeInMinutes / (60 * 24);
|
|
8458
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8459
|
+
return timeInMinutes / 60;
|
|
8460
|
+
return timeInMinutes;
|
|
8461
|
+
}
|
|
8462
|
+
function getInitialTimeIncrement(timeInMinutes) {
|
|
8463
|
+
if (!timeInMinutes)
|
|
8464
|
+
return 30;
|
|
8465
|
+
if (timeInMinutes >= 60 * 24)
|
|
8466
|
+
return 60 * 24;
|
|
8467
|
+
if (timeInMinutes >= 90 || timeInMinutes === 60)
|
|
8468
|
+
return 60;
|
|
8469
|
+
return 1;
|
|
8470
|
+
}
|
|
8471
|
+
const NylasReminderTime = class {
|
|
8472
|
+
constructor(hostRef) {
|
|
8473
|
+
registerInstance(this, hostRef);
|
|
8474
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
8475
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
8476
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
8477
|
+
}
|
|
8478
|
+
else {
|
|
8479
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8480
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8481
|
+
}
|
|
8482
|
+
this.name = 'reminder-time';
|
|
8483
|
+
this.eventReminderTimeMinutes = undefined;
|
|
8484
|
+
this.reminderTime = getInitialTimeValue(this.eventReminderTimeMinutes);
|
|
8485
|
+
this.reminderTimeMinutes = this.eventReminderTimeMinutes ?? 30;
|
|
8486
|
+
this.reminderTimeincrement = getInitialTimeIncrement(this.eventReminderTimeMinutes);
|
|
8487
|
+
this.reminderTimeMinutesOptions = REMINDER_MINUTE_OPTIONS;
|
|
8488
|
+
}
|
|
8489
|
+
elementNameChangedHandler(newValue) {
|
|
8490
|
+
debug('nylas-reminder-time', 'elementNameChangedHandler', newValue);
|
|
8491
|
+
this.host.setAttribute('name', newValue);
|
|
8492
|
+
}
|
|
8493
|
+
eventReminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8494
|
+
debug('nylas-reminder-time', 'eventReminderTimeMinutesChangedHandler', newValue);
|
|
8495
|
+
if (newValue === oldValue) {
|
|
8496
|
+
return;
|
|
8497
|
+
}
|
|
8498
|
+
this.reminderTime = getInitialTimeValue(newValue);
|
|
8499
|
+
this.reminderTimeincrement = getInitialTimeIncrement(newValue);
|
|
8500
|
+
this.reminderTimeMinutes = newValue;
|
|
8501
|
+
}
|
|
8502
|
+
reminderTimeMinutesChangedHandler(newValue, oldValue) {
|
|
8503
|
+
debug('nylas-reminder-time', 'reminderTimeMinutesChangedHandler', newValue);
|
|
8504
|
+
if (newValue === oldValue) {
|
|
8505
|
+
return;
|
|
8506
|
+
}
|
|
8507
|
+
this.valueChanged.emit({ value: newValue.toString(), name: this.name });
|
|
8508
|
+
}
|
|
8509
|
+
connectedCallback() {
|
|
8510
|
+
debug('nylas-reminder-time', 'connectedCallback');
|
|
8511
|
+
}
|
|
8512
|
+
componentWillLoad() {
|
|
8513
|
+
debug('nylas-reminder-time', 'componentWillLoad');
|
|
8514
|
+
this.host.setAttribute('name', this.name);
|
|
8515
|
+
this.setReminderTimeMinuteOptions();
|
|
8516
|
+
}
|
|
8517
|
+
componentDidLoad() {
|
|
8518
|
+
debug('nylas-reminder-time', 'componentDidLoad');
|
|
8519
|
+
}
|
|
8520
|
+
disconnectedCallback() {
|
|
8521
|
+
debug('nylas-reminder-time', 'disconnectedCallback');
|
|
8522
|
+
}
|
|
8523
|
+
setReminderTimeMinuteOptions() {
|
|
8524
|
+
if (this.reminderTimeincrement === 1) {
|
|
8525
|
+
this.reminderTimeMinutesOptions = REMINDER_MINUTE_OPTIONS;
|
|
8526
|
+
}
|
|
8527
|
+
else if (this.reminderTimeincrement === 60) {
|
|
8528
|
+
this.reminderTimeMinutesOptions = REMINDER_HOUR_OPTIONS;
|
|
8529
|
+
}
|
|
8530
|
+
else
|
|
8531
|
+
this.reminderTimeMinutesOptions = REMINDER_DAY_OPTIONS;
|
|
8532
|
+
return this.reminderTimeMinutesOptions;
|
|
8533
|
+
}
|
|
8534
|
+
nylasFormDropdownChangedHandler(event) {
|
|
8535
|
+
debug('nylas-calendar-picker', 'nylasFormDropdownChangedHandler', event.detail);
|
|
8536
|
+
const { value } = event.detail;
|
|
8537
|
+
this.reminderTimeincrement = parseInt(value);
|
|
8538
|
+
if (this.reminderTimeincrement === 1) {
|
|
8539
|
+
this.reminderTime = 60;
|
|
8540
|
+
}
|
|
8541
|
+
else {
|
|
8542
|
+
this.reminderTime = 1;
|
|
8543
|
+
}
|
|
8544
|
+
this.setReminderTimeMinuteOptions();
|
|
8545
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8546
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8547
|
+
}
|
|
8548
|
+
inputOptionChangedHandler(event) {
|
|
8549
|
+
debug('nylas-calendar-picker', 'inputOptionChangedHandler', event.detail);
|
|
8550
|
+
const { value } = event.detail;
|
|
8551
|
+
this.reminderTime = value;
|
|
8552
|
+
this.reminderTimeMinutes = this.reminderTime * this.reminderTimeincrement;
|
|
8553
|
+
this.internals.setFormValue(this.reminderTimeMinutes.toString(), this.name);
|
|
8554
|
+
}
|
|
8555
|
+
render() {
|
|
8556
|
+
const reminderTimeOptions = [
|
|
8557
|
+
{ value: 1, label: 'minute' },
|
|
8558
|
+
{ value: 60, label: 'hour' },
|
|
8559
|
+
{ value: 60 * 24, label: 'day' },
|
|
8560
|
+
];
|
|
8561
|
+
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 })))));
|
|
8562
|
+
}
|
|
8563
|
+
static get formAssociated() { return true; }
|
|
8564
|
+
get host() { return getElement(this); }
|
|
8565
|
+
static get watchers() { return {
|
|
8566
|
+
"name": ["elementNameChangedHandler"],
|
|
8567
|
+
"eventReminderTimeMinutes": ["eventReminderTimeMinutesChangedHandler"],
|
|
8568
|
+
"reminderTimeMinutes": ["reminderTimeMinutesChangedHandler"]
|
|
8569
|
+
}; }
|
|
8570
|
+
};
|
|
8571
|
+
__decorate$2([
|
|
8572
|
+
RegisterComponent({
|
|
8573
|
+
name: 'nylas-reminder-time',
|
|
8574
|
+
eventToProps: {},
|
|
8575
|
+
fireRegisterEvent: true,
|
|
8576
|
+
}),
|
|
8181
8577
|
__metadata$2("design:type", Function),
|
|
8182
8578
|
__metadata$2("design:paramtypes", []),
|
|
8183
8579
|
__metadata$2("design:returntype", void 0)
|
|
8184
|
-
],
|
|
8185
|
-
|
|
8580
|
+
], NylasReminderTime.prototype, "render", null);
|
|
8581
|
+
NylasReminderTime.style = NylasReminderTimeStyle0;
|
|
8186
8582
|
|
|
8187
8583
|
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
8584
|
const NylasSchedulingMethodStyle0 = nylasSchedulingMethodCss;
|
|
@@ -8212,8 +8608,8 @@ const NylasSchedulingMethod = class {
|
|
|
8212
8608
|
this.internals = hostRef.$hostElement$.attachInternals();
|
|
8213
8609
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
8214
8610
|
}
|
|
8215
|
-
this.name = 'availability-method';
|
|
8216
8611
|
this.selectedConfiguration = undefined;
|
|
8612
|
+
this.name = 'availability-method';
|
|
8217
8613
|
this.participantOptions = undefined;
|
|
8218
8614
|
this.readOnly = false;
|
|
8219
8615
|
this.selectedBookingType = '';
|
|
@@ -8291,10 +8687,8 @@ const NylasSchedulingMethod = class {
|
|
|
8291
8687
|
__decorate$1([
|
|
8292
8688
|
RegisterComponent({
|
|
8293
8689
|
name: 'nylas-scheduling-method',
|
|
8294
|
-
stateToProps: new Map([
|
|
8295
|
-
|
|
8296
|
-
['schedulerConfig.additionalParticipants', 'participantOptions'],
|
|
8297
|
-
]),
|
|
8690
|
+
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
8691
|
+
localPropsToProp: new Map([['additionalParticipants', 'participantOptions']]),
|
|
8298
8692
|
eventToProps: {
|
|
8299
8693
|
valueChanged: async (event, _nylasSchedulerConfigConnector) => {
|
|
8300
8694
|
const { valueChanged } = event.detail;
|
|
@@ -8343,8 +8737,6 @@ const NylasTimeslotInterval = class {
|
|
|
8343
8737
|
this.selectedConfiguration = undefined;
|
|
8344
8738
|
this.name = 'timeslot-picker';
|
|
8345
8739
|
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
8740
|
this.internalEventDurationMinutes = undefined;
|
|
8349
8741
|
this.selectedInterval = undefined;
|
|
8350
8742
|
this.selectedRoundTo = undefined;
|
|
@@ -8357,9 +8749,9 @@ const NylasTimeslotInterval = class {
|
|
|
8357
8749
|
selectedConfigurationChangedHandler(newValue) {
|
|
8358
8750
|
debug('nylas-timeslot-interval', 'selectedConfigurationChangedHandler', newValue);
|
|
8359
8751
|
this.internalEventDurationMinutes = newValue?.availability?.duration_minutes ?? this.eventDurationMinutes ?? 30;
|
|
8360
|
-
const internalIntervalMinutes = newValue
|
|
8361
|
-
this.selectedInterval = newValue
|
|
8362
|
-
const roundToMinutes = newValue
|
|
8752
|
+
const internalIntervalMinutes = newValue?.availability?.interval_minutes ?? this.internalEventDurationMinutes ?? 30;
|
|
8753
|
+
this.selectedInterval = newValue?.availability?.interval_minutes ?? internalIntervalMinutes ?? 10;
|
|
8754
|
+
const roundToMinutes = newValue?.availability?.round_to || null;
|
|
8363
8755
|
this.selectedRoundTo = roundToMinutes && roundToMinutes === internalIntervalMinutes ? true : false;
|
|
8364
8756
|
}
|
|
8365
8757
|
connectedCallback() {
|
|
@@ -8453,7 +8845,7 @@ const NylasTimeslotInterval = class {
|
|
|
8453
8845
|
? intervalPreferenceOptions[0]
|
|
8454
8846
|
: intervalPreferenceOptions.find(op => op.value == this.selectedInterval.toString()) ?? intervalPreferenceOptions[0]
|
|
8455
8847
|
: undefined;
|
|
8456
|
-
return (h(Host, { key: '
|
|
8848
|
+
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
8849
|
{ value: 'no-rounding', label: 'Default', description: 'Time slots will be rounded to the nearest quarter-hour.' },
|
|
8458
8850
|
{
|
|
8459
8851
|
value: 'rounding',
|
|
@@ -8481,8 +8873,8 @@ __decorate([
|
|
|
8481
8873
|
], NylasTimeslotInterval.prototype, "render", null);
|
|
8482
8874
|
NylasTimeslotInterval.style = NylasTimeslotIntervalStyle0;
|
|
8483
8875
|
|
|
8484
|
-
const iconCss$
|
|
8485
|
-
const PaintbrushFillIconStyle0 = iconCss$
|
|
8876
|
+
const iconCss$4 = ".sc-paintbrush-fill-icon-h{display:flex}";
|
|
8877
|
+
const PaintbrushFillIconStyle0 = iconCss$4;
|
|
8486
8878
|
|
|
8487
8879
|
const PaintbrushFillIcon = class {
|
|
8488
8880
|
constructor(hostRef) {
|
|
@@ -8491,13 +8883,13 @@ const PaintbrushFillIcon = class {
|
|
|
8491
8883
|
this.height = '13';
|
|
8492
8884
|
}
|
|
8493
8885
|
render() {
|
|
8494
|
-
return (h("svg", { key: '
|
|
8886
|
+
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
8887
|
}
|
|
8496
8888
|
};
|
|
8497
8889
|
PaintbrushFillIcon.style = PaintbrushFillIconStyle0;
|
|
8498
8890
|
|
|
8499
|
-
const iconCss$
|
|
8500
|
-
const PaintbrushIconStyle0 = iconCss$
|
|
8891
|
+
const iconCss$3 = ".sc-paintbrush-icon-h{display:flex}";
|
|
8892
|
+
const PaintbrushIconStyle0 = iconCss$3;
|
|
8501
8893
|
|
|
8502
8894
|
const PaintbrushIcon = class {
|
|
8503
8895
|
constructor(hostRef) {
|
|
@@ -8506,13 +8898,13 @@ const PaintbrushIcon = class {
|
|
|
8506
8898
|
this.height = '13';
|
|
8507
8899
|
}
|
|
8508
8900
|
render() {
|
|
8509
|
-
return (h("svg", { key: '
|
|
8901
|
+
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
8902
|
}
|
|
8511
8903
|
};
|
|
8512
8904
|
PaintbrushIcon.style = PaintbrushIconStyle0;
|
|
8513
8905
|
|
|
8514
|
-
const iconCss$
|
|
8515
|
-
const PeopleIconStyle0 = iconCss$
|
|
8906
|
+
const iconCss$2 = ".sc-people-icon-h{display:flex}";
|
|
8907
|
+
const PeopleIconStyle0 = iconCss$2;
|
|
8516
8908
|
|
|
8517
8909
|
const PeopleIcon = class {
|
|
8518
8910
|
constructor(hostRef) {
|
|
@@ -8521,7 +8913,7 @@ const PeopleIcon = class {
|
|
|
8521
8913
|
this.height = '20';
|
|
8522
8914
|
}
|
|
8523
8915
|
render() {
|
|
8524
|
-
return (h("svg", { key: '
|
|
8916
|
+
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
8917
|
}
|
|
8526
8918
|
};
|
|
8527
8919
|
PeopleIcon.style = PeopleIconStyle0;
|
|
@@ -8550,11 +8942,26 @@ const ToggleSwitchComponent = class {
|
|
|
8550
8942
|
});
|
|
8551
8943
|
}
|
|
8552
8944
|
render() {
|
|
8553
|
-
return (h("label", { key: '
|
|
8945
|
+
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
8946
|
}
|
|
8555
8947
|
};
|
|
8556
8948
|
ToggleSwitchComponent.style = ToggleSwitchStyle0;
|
|
8557
8949
|
|
|
8950
|
+
const iconCss$1 = ".sc-trash-icon-h{display:flex}";
|
|
8951
|
+
const TrashIconStyle0 = iconCss$1;
|
|
8952
|
+
|
|
8953
|
+
const TrashIcon = class {
|
|
8954
|
+
constructor(hostRef) {
|
|
8955
|
+
registerInstance(this, hostRef);
|
|
8956
|
+
this.width = '20';
|
|
8957
|
+
this.height = '21';
|
|
8958
|
+
}
|
|
8959
|
+
render() {
|
|
8960
|
+
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" })));
|
|
8961
|
+
}
|
|
8962
|
+
};
|
|
8963
|
+
TrashIcon.style = TrashIconStyle0;
|
|
8964
|
+
|
|
8558
8965
|
const iconCss = ".sc-zoom-icon-h{display:flex}";
|
|
8559
8966
|
const ZoomIconStyle0 = iconCss;
|
|
8560
8967
|
|
|
@@ -8565,11 +8972,11 @@ const ZoomIcon = class {
|
|
|
8565
8972
|
this.height = '20';
|
|
8566
8973
|
}
|
|
8567
8974
|
render() {
|
|
8568
|
-
return (h("svg", { key: '
|
|
8975
|
+
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
8976
|
}
|
|
8570
8977
|
};
|
|
8571
8978
|
ZoomIcon.style = ZoomIconStyle0;
|
|
8572
8979
|
|
|
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 };
|
|
8980
|
+
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
8981
|
|
|
8575
|
-
//# sourceMappingURL=calendar-agenda-fill-
|
|
8982
|
+
//# sourceMappingURL=calendar-agenda-fill-icon_54.entry.js.map
|