@nylas/web-elements 1.1.0-canary.16 → 1.1.0-canary.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/add-circle-icon.cjs.entry.js +1 -1
- package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/archive-icon.cjs.entry.js +1 -1
- package/dist/cjs/archive-icon_7.cjs.entry.js +7 -7
- package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/button-component.cjs.entry.js +1 -1
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-info-icon.cjs.entry.js +1 -1
- package/dist/cjs/{calendar-info-icon_27.cjs.entry.js → calendar-info-icon_28.cjs.entry.js} +304 -416
- package/dist/cjs/calendar-info-icon_28.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-patterns-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component.cjs.entry.js.map +1 -1
- package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
- package/dist/cjs/chevron-icon.cjs.entry.js +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +5 -5
- package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/clock-icon.cjs.entry.js +1 -1
- package/dist/cjs/clock-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/close-icon.cjs.entry.js +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/flow-icon.cjs.entry.js +1 -1
- package/dist/cjs/folder-icon.cjs.entry.js +1 -1
- package/dist/cjs/forward-icon.cjs.entry.js +1 -1
- package/dist/cjs/forward-icon_6.cjs.entry.js +7 -7
- package/dist/cjs/globe-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +112 -77
- 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 +10 -10
- package/dist/cjs/index-c14ea8f5.js +18 -14
- package/dist/cjs/info-icon.cjs.entry.js +1 -1
- package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown.cjs.entry.js +13 -3
- package/dist/cjs/input-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +14 -4
- package/dist/cjs/input-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/italic-icon.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
- package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/nylas-additional-participants.cjs.entry.js +16 -12
- package/dist/cjs/nylas-additional-participants.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-availability-picker.cjs.entry.js +27 -16
- package/dist/cjs/nylas-availability-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +11 -11
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +2 -2
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
- package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
- package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +110 -75
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-description.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-duration.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-location.cjs.entry.js +3 -3
- package/dist/cjs/nylas-event-title.cjs.entry.js +2 -2
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
- package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
- package/dist/cjs/nylas-locale-switch.cjs.entry.js +3 -3
- package/dist/cjs/nylas-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-booking-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-notification.cjs.entry.js +1 -1
- package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js +142 -0
- package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
- package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
- package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/people-icon.cjs.entry.js +1 -1
- package/dist/cjs/person-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-icon.cjs.entry.js +1 -1
- package/dist/cjs/search-icon.cjs.entry.js +1 -1
- package/dist/cjs/select-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/sent-icon.cjs.entry.js +1 -1
- package/dist/cjs/spam-icon.cjs.entry.js +1 -1
- package/dist/cjs/star-icon.cjs.entry.js +1 -1
- package/dist/cjs/stop-icon.cjs.entry.js +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
- package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/toggle-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/tooltip-component.cjs.entry.js +1 -1
- package/dist/cjs/translate-icon.cjs.entry.js +1 -1
- package/dist/cjs/trash-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 -0
- 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-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/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/document-refresh.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/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/microsoft-logo.js +1 -1
- package/dist/collection/common/icons/nylas-logo.js +1 -1
- package/dist/collection/common/icons/people.js +1 -1
- package/dist/collection/common/icons/person.js +1 -1
- package/dist/collection/common/icons/play.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.js +1 -1
- package/dist/collection/common/icons/underline.js +1 -1
- package/dist/collection/common/icons/warning.js +1 -1
- package/dist/collection/components/design-system/button-component/button-component.js +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
- package/dist/collection/components/design-system/input-component/input-component.js +1 -1
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +31 -3
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js.map +1 -1
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
- 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 +3 -3
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +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/toggle-switch/toggle-switch.js.map +1 -1
- package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
- package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
- package/dist/collection/components/nylas-login/nylas-login.js +1 -1
- package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +2 -2
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js +3 -3
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +33 -12
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.css +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +48 -25
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +108 -74
- 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-event-description/nylas-event-description.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.css +98 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +219 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
- package/dist/components/add-circle.js +1 -1
- package/dist/components/archive.js +1 -1
- package/dist/components/arrow.js +1 -1
- package/dist/components/bold.js +1 -1
- package/dist/components/button-component2.js +1 -1
- package/dist/components/calendar-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/checkbox-component2.js.map +1 -1
- package/dist/components/checkmark-circle.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/document-refresh-icon.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder.js +1 -1
- package/dist/components/forward.js +1 -1
- package/dist/components/globe.js +1 -1
- package/dist/components/google-logo.js +1 -1
- package/dist/components/inbox.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/input-component2.js +1 -1
- package/dist/components/input-dropdown2.js +14 -3
- package/dist/components/input-dropdown2.js.map +1 -1
- package/dist/components/italic.js +1 -1
- package/dist/components/loading.js +1 -1
- package/dist/components/location-off.js +1 -1
- package/dist/components/location.js +1 -1
- package/dist/components/microsoft-logo.js +1 -1
- package/dist/components/multi-select-dropdown2.js +2 -2
- package/dist/components/nylas-additional-participants2.js +17 -13
- package/dist/components/nylas-additional-participants2.js.map +1 -1
- package/dist/components/nylas-availability-picker2.js +28 -16
- package/dist/components/nylas-availability-picker2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +2 -2
- package/dist/components/nylas-cancel-booking-form2.js +1 -1
- package/dist/components/nylas-cancellation-policy2.js +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +1 -1
- package/dist/components/nylas-composer2.js +1 -1
- package/dist/components/nylas-custom-booking-flow.js +1 -1
- package/dist/components/nylas-customize-booking-settings2.js +1 -1
- package/dist/components/nylas-date-picker2.js +1 -1
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +200 -153
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-duration2.js +1 -1
- package/dist/components/nylas-event-info2.js +1 -1
- package/dist/components/nylas-event-limits2.js +1 -1
- package/dist/components/nylas-event-location2.js +3 -3
- package/dist/components/nylas-event-title2.js +2 -2
- package/dist/components/nylas-form-card2.js +1 -1
- package/dist/components/nylas-if-state.js +1 -1
- package/dist/components/nylas-limit-future-bookings2.js +1 -1
- package/dist/components/nylas-list-folders.js +1 -1
- package/dist/components/nylas-list-threads.js +1 -1
- package/dist/components/nylas-locale-switch2.js +3 -3
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/components/nylas-mailbox.js +1 -1
- package/dist/components/nylas-min-booking-notice2.js +1 -1
- package/dist/components/nylas-min-cancellation-notice2.js +1 -1
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-participants-custom-availability.d.ts +11 -0
- package/dist/components/nylas-participants-custom-availability.js +8 -0
- package/dist/components/nylas-participants-custom-availability.js.map +1 -0
- package/dist/components/nylas-participants-custom-availability2.js +218 -0
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -0
- package/dist/components/nylas-provider.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +101 -89
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +1 -1
- package/dist/components/nylas-summarize-message-button2.js +2 -2
- package/dist/components/nylas-threads-refresh.js +2 -2
- package/dist/components/nylas-threads-search.js +1 -1
- package/dist/components/nylas-time-window-picker2.js +1 -1
- package/dist/components/nylas-timeslot-interval2.js +2 -2
- package/dist/components/nylas-view-email2.js +1 -1
- package/dist/components/nylas-view-thread.js +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/person.js +1 -1
- package/dist/components/play.js +1 -1
- package/dist/components/radio-button-group2.js +1 -1
- package/dist/components/refresh.js +1 -1
- package/dist/components/reply-all.js +1 -1
- package/dist/components/reply.js +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +3 -3
- package/dist/components/select-dropdown2.js.map +1 -1
- package/dist/components/sent.js +1 -1
- package/dist/components/spam.js +1 -1
- package/dist/components/star.js +1 -1
- package/dist/components/stop.js +1 -1
- package/dist/components/textarea-component.js +1 -1
- package/dist/components/time-period-selector2.js +1 -1
- package/dist/components/toggle-switch.js +1 -49
- package/dist/components/toggle-switch.js.map +1 -1
- package/dist/components/toggle-switch2.js +53 -0
- package/dist/components/toggle-switch2.js.map +1 -0
- package/dist/components/toolitp-component.js +1 -1
- package/dist/components/translate.js +1 -1
- package/dist/components/trash.js +1 -1
- package/dist/components/underline.js +1 -1
- package/dist/components/warning.js +1 -1
- package/dist/esm/add-circle-icon.entry.js +1 -1
- package/dist/esm/add-circle-icon_2.entry.js +2 -2
- package/dist/esm/archive-icon.entry.js +1 -1
- package/dist/esm/archive-icon_7.entry.js +7 -7
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/bold-icon_3.entry.js +3 -3
- package/dist/esm/button-component.entry.js +1 -1
- package/dist/esm/calendar-cancel-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon_2.entry.js +2 -2
- package/dist/esm/calendar-icon.entry.js +1 -1
- package/dist/esm/calendar-info-icon.entry.js +1 -1
- package/dist/esm/{calendar-info-icon_27.entry.js → calendar-info-icon_28.entry.js} +304 -417
- package/dist/esm/calendar-info-icon_28.entry.js.map +1 -0
- package/dist/esm/calendar-patterns-icon.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js.map +1 -1
- package/dist/esm/checkmark-circle-icon.entry.js +1 -1
- package/dist/esm/chevron-icon.entry.js +1 -1
- package/dist/esm/chevron-icon_3.entry.js +5 -5
- package/dist/esm/chevron-icon_3.entry.js.map +1 -1
- package/dist/esm/clock-icon.entry.js +1 -1
- package/dist/esm/clock-icon_2.entry.js +2 -2
- package/dist/esm/close-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/flow-icon.entry.js +1 -1
- package/dist/esm/folder-icon.entry.js +1 -1
- package/dist/esm/forward-icon.entry.js +1 -1
- package/dist/esm/forward-icon_6.entry.js +7 -7
- package/dist/esm/globe-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +112 -77
- 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-582cfc93.js +18 -14
- package/dist/esm/index-7cb0dd3d.js +10 -10
- package/dist/esm/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
- package/dist/esm/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/info-icon.entry.js +1 -1
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown.entry.js +13 -3
- package/dist/esm/input-dropdown.entry.js.map +1 -1
- package/dist/esm/input-dropdown_2.entry.js +14 -4
- package/dist/esm/input-dropdown_2.entry.js.map +1 -1
- package/dist/esm/italic-icon.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-icon.entry.js +1 -1
- package/dist/esm/location-icon.entry.js +1 -1
- package/dist/esm/location-off-icon.entry.js +1 -1
- package/dist/esm/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
- package/dist/esm/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/esm/microsoft-logo-icon.entry.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +3 -3
- package/dist/esm/nylas-additional-participants.entry.js +19 -15
- package/dist/esm/nylas-additional-participants.entry.js.map +1 -1
- package/dist/esm/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
- package/dist/esm/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
- package/dist/esm/nylas-availability-picker.entry.js +29 -18
- package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card.entry.js +2 -2
- package/dist/esm/nylas-booked-event-card_10.entry.js +11 -11
- package/dist/esm/nylas-booked-event-card_10.entry.js.map +1 -1
- package/dist/esm/nylas-booking-calendar-picker.entry.js +2 -2
- package/dist/esm/nylas-booking-form.entry.js +4 -4
- package/dist/esm/nylas-buffer-time.entry.js +2 -2
- package/dist/esm/nylas-calendar-picker.entry.js +2 -2
- package/dist/esm/nylas-cancel-booking-form.entry.js +3 -3
- package/dist/esm/nylas-cancellation-policy.entry.js +3 -3
- package/dist/esm/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/esm/nylas-composer.entry.js +2 -2
- package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/esm/nylas-customize-booking-settings.entry.js +3 -3
- package/dist/esm/nylas-date-picker.entry.js +3 -3
- package/dist/esm/nylas-date-picker.entry.js.map +1 -1
- package/dist/esm/nylas-editor-tabs.entry.js +112 -77
- package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/esm/nylas-event-description.entry.js +3 -3
- package/dist/esm/nylas-event-duration.entry.js +3 -3
- package/dist/esm/nylas-event-info.entry.js +3 -3
- package/dist/esm/nylas-event-limits.entry.js +3 -3
- package/dist/esm/nylas-event-location.entry.js +5 -5
- package/dist/esm/nylas-event-title.entry.js +4 -4
- package/dist/esm/nylas-form-card.entry.js +3 -3
- package/dist/esm/nylas-if-state.entry.js +3 -3
- package/dist/esm/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/esm/nylas-list-configurations.entry.js +2 -2
- package/dist/esm/nylas-list-folders.entry.js +3 -3
- package/dist/esm/nylas-list-threads.entry.js +3 -3
- package/dist/esm/nylas-locale-switch.entry.js +5 -5
- package/dist/esm/nylas-login.entry.js +3 -3
- package/dist/esm/nylas-logo.entry.js +1 -1
- package/dist/esm/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/esm/nylas-mailbox.entry.js +4 -4
- package/dist/esm/nylas-min-booking-notice.entry.js +3 -3
- package/dist/esm/nylas-min-cancellation-notice.entry.js +3 -3
- package/dist/esm/nylas-notification.entry.js +2 -2
- package/dist/esm/nylas-participants-custom-availability.entry.js +138 -0
- package/dist/esm/nylas-participants-custom-availability.entry.js.map +1 -0
- package/dist/esm/nylas-provider.entry.js +5 -5
- package/dist/esm/nylas-scheduler-editor.entry.js +4 -4
- package/dist/esm/nylas-scheduling.entry.js +3 -3
- package/dist/esm/nylas-selected-event-card.entry.js +3 -3
- package/dist/esm/nylas-summarize-message-button.entry.js +4 -4
- package/dist/esm/nylas-threads-refresh.entry.js +4 -4
- package/dist/esm/nylas-threads-search.entry.js +3 -3
- package/dist/esm/nylas-time-window-picker.entry.js +2 -2
- package/dist/esm/nylas-timeslot-interval.entry.js +4 -4
- package/dist/esm/nylas-timeslot-picker.entry.js +2 -2
- package/dist/esm/nylas-view-email.entry.js +2 -2
- package/dist/esm/nylas-view-thread.entry.js +3 -3
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/people-icon.entry.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/play-icon_2.entry.js +2 -2
- package/dist/esm/radio-button-group.entry.js +1 -1
- package/dist/esm/refresh-icon.entry.js +1 -1
- package/dist/esm/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
- package/dist/esm/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +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-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
- package/dist/{nylas-web-elements/scheduler-store-17f7f1c8.js.map → esm/scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/esm/search-icon.entry.js +1 -1
- package/dist/esm/select-dropdown.entry.js +3 -3
- package/dist/esm/select-dropdown.entry.js.map +1 -1
- package/dist/esm/sent-icon.entry.js +1 -1
- package/dist/esm/spam-icon.entry.js +1 -1
- package/dist/esm/star-icon.entry.js +1 -1
- package/dist/esm/stop-icon.entry.js +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/time-period-selector.entry.js +2 -2
- package/dist/esm/toggle-switch.entry.js +1 -1
- package/dist/esm/toggle-switch.entry.js.map +1 -1
- package/dist/esm/tooltip-component.entry.js +1 -1
- package/dist/esm/translate-icon.entry.js +1 -1
- package/dist/esm/trash-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/{nylas-web-elements/utils-49a1d17b.js → esm/utils-04c10cbd.js} +2 -2
- package/dist/esm/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
- package/dist/esm/warning-icon.entry.js +1 -1
- package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
- package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
- package/dist/nylas-web-elements/button-component.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.js.map +1 -1
- package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
- package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
- package/dist/nylas-web-elements/close-icon.entry.js +1 -1
- package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
- package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
- package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
- package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
- package/dist/nylas-web-elements/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
- package/dist/nylas-web-elements/index.esm.js +2 -2
- package/dist/nylas-web-elements/info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/input-component.entry.js +1 -1
- package/dist/nylas-web-elements/input-dropdown.entry.js +13 -3
- package/dist/nylas-web-elements/input-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
- package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
- package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/multi-select-dropdown.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js +19 -15
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js.map +1 -1
- package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
- package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js +29 -18
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-buffer-time.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-composer.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-date-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-date-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +112 -77
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-description.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-duration.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-info.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-limits.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-location.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-event-title.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-form-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-if-state.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-configurations.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-list-folders.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-threads.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-login.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-mailbox.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-notification.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +138 -0
- package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js.map +1 -0
- package/dist/nylas-web-elements/nylas-provider.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-search.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-email.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-thread.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-4b84ab3f.entry.js → p-061d0ae2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-de63bc35.entry.js → p-08d75d35.entry.js} +2 -2
- package/dist/nylas-web-elements/p-0d98c728.entry.js +2 -0
- package/dist/nylas-web-elements/p-0d98c728.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-12b83ea9.entry.js +2 -0
- package/dist/nylas-web-elements/{p-0dbc0c01.entry.js.map → p-12b83ea9.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-98a2f588.entry.js → p-16a3bfb2.entry.js} +2 -2
- package/dist/nylas-web-elements/p-246983ed.entry.js +2 -0
- package/dist/nylas-web-elements/p-246983ed.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-4b1466b3.entry.js → p-25c97a60.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-395f49eb.entry.js → p-28512ab6.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b27e34a9.entry.js → p-2f148064.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-120d2c72.entry.js → p-3175cae0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4fdc6122.entry.js → p-34f0d1fe.entry.js} +2 -2
- package/dist/nylas-web-elements/p-37f41a90.entry.js +2 -0
- package/dist/nylas-web-elements/{p-2f656fb3.entry.js → p-39160c0d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-da21471c.entry.js → p-3f435fab.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-27db7b0b.entry.js → p-5231fc13.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-deafc6bc.entry.js → p-5c3c1888.entry.js} +2 -2
- package/dist/nylas-web-elements/p-60b03f86.entry.js +2 -0
- package/dist/nylas-web-elements/{p-09fec39c.entry.js → p-65097f45.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-e4a7746d.entry.js → p-6ce66add.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-ec26560f.entry.js → p-6ef1024f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-ace74b9d.entry.js → p-7a95bc3f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js → p-7ce048c0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a7dd4c24.entry.js → p-8e63b66c.entry.js} +2 -2
- package/dist/nylas-web-elements/p-958746a1.entry.js +2 -0
- package/dist/nylas-web-elements/{p-53da3000.entry.js.map → p-958746a1.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-11f94952.entry.js → p-a800e7af.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-13b003b5.entry.js → p-a85408e0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c8c737ed.entry.js → p-aeb1c91c.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6e888067.entry.js → p-b0c8021f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6891ad5d.entry.js → p-b2aca6c4.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b9064de4.entry.js → p-b334d63b.entry.js} +2 -2
- package/dist/nylas-web-elements/p-b4d09fcf.entry.js +2 -0
- package/dist/nylas-web-elements/p-b4d09fcf.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-470536e0.entry.js → p-b9559f06.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-470536e0.entry.js.map → p-b9559f06.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-4f548e66.entry.js → p-c1ff6499.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-32682655.entry.js → p-cb03e4d4.entry.js} +2 -2
- package/dist/nylas-web-elements/p-de7b0878.entry.js +2 -0
- package/dist/nylas-web-elements/p-e8cde784.entry.js +2 -0
- package/dist/nylas-web-elements/p-e8cde784.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-f2d1b1a6.entry.js +2 -0
- package/dist/nylas-web-elements/{p-24082558.entry.js.map → p-f2d1b1a6.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-f6fafe86.entry.js +2 -0
- package/dist/nylas-web-elements/p-f6fafe86.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-d5146511.entry.js → p-f8653b9b.entry.js} +2 -2
- package/dist/nylas-web-elements/people-icon.entry.js +1 -1
- package/dist/nylas-web-elements/person-icon.entry.js +1 -1
- package/dist/nylas-web-elements/play-icon.entry.js +1 -1
- package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
- package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
- package/dist/nylas-web-elements/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
- package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
- package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
- package/dist/{esm/scheduler-store-17f7f1c8.js.map → nylas-web-elements/scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/nylas-web-elements/search-icon.entry.js +1 -1
- package/dist/nylas-web-elements/select-dropdown.entry.js +3 -3
- package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
- package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
- package/dist/nylas-web-elements/star-icon.entry.js +1 -1
- package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
- package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
- package/dist/nylas-web-elements/time-period-selector.entry.js +2 -2
- package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
- package/dist/nylas-web-elements/toggle-switch.entry.js.map +1 -1
- package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
- package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
- package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
- package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
- package/dist/{esm/utils-49a1d17b.js → nylas-web-elements/utils-04c10cbd.js} +2 -2
- package/dist/nylas-web-elements/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
- package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
- package/dist/types/components/design-system/input-dropdown/input-dropdown.d.ts +2 -0
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +6 -1
- package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +2 -4
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +12 -5
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +36 -0
- package/dist/types/components.d.ts +122 -9
- package/package.json +1 -1
- package/dist/cjs/calendar-info-icon_27.cjs.entry.js.map +0 -1
- package/dist/esm/calendar-info-icon_27.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-0dbc0c01.entry.js +0 -2
- package/dist/nylas-web-elements/p-24082558.entry.js +0 -2
- package/dist/nylas-web-elements/p-3fd63454.entry.js +0 -2
- package/dist/nylas-web-elements/p-3fd63454.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-427548f5.entry.js +0 -2
- package/dist/nylas-web-elements/p-427548f5.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-53da3000.entry.js +0 -2
- package/dist/nylas-web-elements/p-7fac2bba.entry.js +0 -2
- package/dist/nylas-web-elements/p-96418bc6.entry.js +0 -2
- package/dist/nylas-web-elements/p-9acfea5f.entry.js +0 -2
- package/dist/nylas-web-elements/p-9acfea5f.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-c170c56d.entry.js +0 -2
- package/dist/nylas-web-elements/p-efd5b80a.entry.js +0 -2
- package/dist/nylas-web-elements/p-efd5b80a.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fbac3865.entry.js +0 -2
- package/dist/nylas-web-elements/p-fbac3865.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-4b84ab3f.entry.js.map → p-061d0ae2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-de63bc35.entry.js.map → p-08d75d35.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-98a2f588.entry.js.map → p-16a3bfb2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4b1466b3.entry.js.map → p-25c97a60.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-395f49eb.entry.js.map → p-28512ab6.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b27e34a9.entry.js.map → p-2f148064.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-120d2c72.entry.js.map → p-3175cae0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4fdc6122.entry.js.map → p-34f0d1fe.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c170c56d.entry.js.map → p-37f41a90.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2f656fb3.entry.js.map → p-39160c0d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-da21471c.entry.js.map → p-3f435fab.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27db7b0b.entry.js.map → p-5231fc13.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-deafc6bc.entry.js.map → p-5c3c1888.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7fac2bba.entry.js.map → p-60b03f86.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-09fec39c.entry.js.map → p-65097f45.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e4a7746d.entry.js.map → p-6ce66add.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ec26560f.entry.js.map → p-6ef1024f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ace74b9d.entry.js.map → p-7a95bc3f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js.map → p-7ce048c0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a7dd4c24.entry.js.map → p-8e63b66c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-11f94952.entry.js.map → p-a800e7af.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-13b003b5.entry.js.map → p-a85408e0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c8c737ed.entry.js.map → p-aeb1c91c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6e888067.entry.js.map → p-b0c8021f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6891ad5d.entry.js.map → p-b2aca6c4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b9064de4.entry.js.map → p-b334d63b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4f548e66.entry.js.map → p-c1ff6499.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-32682655.entry.js.map → p-cb03e4d4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-96418bc6.entry.js.map → p-de7b0878.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d5146511.entry.js.map → p-f8653b9b.entry.js.map} +0 -0
|
@@ -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
|
-
import { a as debug, y as timeToMinutes, z as convertTo12HourFormat, A as convertTo24HourFormat, B as minutesToTime, C as checkForMissingSlots, D as getBrowser, E as isNonPrintableKey
|
|
2
|
+
import { a as debug, y as timeToMinutes, z as convertTo12HourFormat, A as convertTo24HourFormat, B as minutesToTime, C as checkForMissingSlots, D as getBrowser, E as isNonPrintableKey } from './utils-f79fc8b5.js';
|
|
3
3
|
import { R as RegisterComponent } from './register-component-a5a9ca5d.js';
|
|
4
4
|
import { T as TIMEZONE_MAP, E as EVENT_TITLE_TOKENS } from './constants-f34b9c6e.js';
|
|
5
5
|
import { s as sanitizeHtml } from './index-6d9eeb53.js';
|
|
6
|
-
import { c as commonjsGlobal } from './_commonjsHelpers-57e89916.js';
|
|
7
6
|
import './buffer-es6-aad332f1.js';
|
|
7
|
+
import './_commonjsHelpers-57e89916.js';
|
|
8
8
|
import './index-53420959.js';
|
|
9
9
|
|
|
10
10
|
const iconCss$5 = ".sc-calendar-info-icon-h{display:flex}";
|
|
@@ -17,7 +17,7 @@ const CalendarInfoIcon = class {
|
|
|
17
17
|
this.height = '20';
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("svg", { key: '
|
|
20
|
+
return (h("svg", { key: '9012ae7b873d35927c299ed62d247b77757bb679', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '0a3a11d84c99d05ad964d3b5606c072dd31872a7', 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" })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
CalendarInfoIcon.style = CalendarInfoIconStyle0;
|
|
@@ -32,7 +32,7 @@ const CalendarPatternsIcon = class {
|
|
|
32
32
|
this.height = '20';
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("svg", { key: '
|
|
35
|
+
return (h("svg", { key: 'ca6df3db90bbbffc29dfdc6ee5a440266eaa153d', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ab45118ff407127ca1673159e1b78c93c7c97bed', 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" })));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
CalendarPatternsIcon.style = CalendarPatternsIconStyle0;
|
|
@@ -61,7 +61,7 @@ const CheckboxComponent = class {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h("label", { key: '
|
|
64
|
+
return (h("label", { key: 'ff418217723b6044270dc691f7d0e11aea5fb204' }, h("input", { key: 'c45008c89d147534ba6b4a70120b7c5159a25ce6', type: "checkbox", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("span", { key: 'a785e711233dab04bb19bcf1f1c6f665d7460015', class: "checkmark" }), h("slot", { key: '05e7f91a9e038bf9a467d63c9c004f7b90454b6f', name: "label" }, h("span", { key: '35a5c8bef4f998f993fbdcf2b752b83432218422', class: "label" }, this.label))));
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
CheckboxComponent.style = CheckboxComponentStyle0;
|
|
@@ -76,7 +76,7 @@ const FlowIcon = class {
|
|
|
76
76
|
this.height = '12';
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("svg", { key: '
|
|
79
|
+
return (h("svg", { key: '18bdb1e3a2d6d1f4b9f9e1983c1ad7156e83e489', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a291353c08dfca6bb961e83386a3bfe71a840299', 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" })));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
FlowIcon.style = FlowIconStyle0;
|
|
@@ -91,7 +91,7 @@ const LocationIcon = class {
|
|
|
91
91
|
this.height = '18';
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h("svg", { key: '
|
|
94
|
+
return (h("svg", { key: 'c4b6ed753f7c3c3e26ae2fe2e92b429abe4eceb4', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'cff1afc5e511a814bfc16fc7c8fdaef6356a7952', 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" })));
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
LocationIcon.style = LocationIconStyle0;
|
|
@@ -106,7 +106,7 @@ const LocationOffIcon = class {
|
|
|
106
106
|
this.height = '18';
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h("svg", { key: '
|
|
109
|
+
return (h("svg", { key: 'b7eb987c802beac155700ccbd2c51189708f3422', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '91e1d8458400d7d502def34ce86611fc17110cb4', 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" })));
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
LocationOffIcon.style = LocationOffIconStyle0;
|
|
@@ -234,9 +234,9 @@ const MultiSelectDropdown = class {
|
|
|
234
234
|
}, class: { selected: !!option.selected } }, h("label", { htmlFor: option.value }, h("input", { "aria-hidden": "true", id: option.value, type: "checkbox", checked: option.selected }), h("span", null, option.label))));
|
|
235
235
|
}
|
|
236
236
|
render() {
|
|
237
|
-
return (h(Host, { key: '
|
|
237
|
+
return (h(Host, { key: 'af0befb6c6c059e41a99ebe56c9632e6445e897b' }, h("div", { key: 'e93abae0184670a75caa02b4f687a374fce9a055', class: "dropdown", part: "msd_dropdown" }, h("label", { key: 'cb7ab81e0c7e23934dfc814a4c5281470e2ad510', class: "dropdown-label" }, this.label, h("slot", { key: '88fdcec62b47bf2b7da977c06b36300722789373', name: "label-icon", "aria-hidden": "true" })), h("button", { key: '17e03081353c32b5f571e7655fbe7b0c2ea87a35', part: "msd_dropdown-button", class: { dropbtn: true, open: this.isOpen }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.name, onKeyDown: e => this.handleSelectButtonKeyDown(e) }, h("slot", { key: 'f1925d4d315c6be091a07f18261e574792883fd7', name: "select-icon", "aria-hidden": "true" }), h("span", { key: '02c03946856eed3b6207ec84abbba0d16554af9f', class: "selected-option", part: "msd_dropdown-button-selected-label" }, this.getSelectedOptions().length > 1
|
|
238
238
|
? `Multiple ${this.name}s selected`
|
|
239
|
-
: this.availableOptions.filter(o => o.selected)[0]?.label ?? this.availableOptions[0]?.label), h("span", { key: '
|
|
239
|
+
: this.availableOptions.filter(o => o.selected)[0]?.label ?? this.availableOptions[0]?.label), h("span", { key: 'bbd36a37a7ee28e299da6b22612206e4bbbcf8db', class: this.isOpen ? 'open' : 'closed', "aria-hidden": "true" }, h("chevron-icon", { key: '4e6f9c3dfd33c8d87b9584648487783e417961c6', width: "16", height: "16" }))), this.isOpen ? null : (h("div", { class: 'selected-options' }, this.getSelectedOptions().map(option => (h("span", { class: "selected-option" }, option.label, h("button", { key: option.label, onClick: () => this.selectOption(option) }, h("close-icon", null))))))), this.isOpen ? (h("div", { class: "dropdown-content", part: "msd_dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-multiselectable": true, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: e => this.handleListboxKeydown(e) }, this.availableOptions.map(option => this.renderOption(option))))) : null)));
|
|
240
240
|
}
|
|
241
241
|
get el() { return getElement(this); }
|
|
242
242
|
};
|
|
@@ -245,7 +245,7 @@ MultiSelectDropdown.style = MultiSelectDropdownStyle0;
|
|
|
245
245
|
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__input_wrapper{display:flex;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.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{background:var(--nylas-base-50)}.nylas-additional-participants__input{flex:1;display:flex;justify-content:space-between}.nylas-additional-participants__input.organizer{padding:12px 16px}.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__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)}";
|
|
246
246
|
const NylasAdditionalParticipantsStyle0 = nylasAdditionalParticipantsCss;
|
|
247
247
|
|
|
248
|
-
var __decorate$
|
|
248
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
249
249
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
250
250
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
251
251
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -255,13 +255,14 @@ var __decorate$g = (undefined && undefined.__decorate) || function (decorators,
|
|
|
255
255
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
256
256
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
257
257
|
};
|
|
258
|
-
var __metadata$
|
|
258
|
+
var __metadata$h = (undefined && undefined.__metadata) || function (k, v) {
|
|
259
259
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
260
260
|
return Reflect.metadata(k, v);
|
|
261
261
|
};
|
|
262
262
|
const NylasAdditionalParticipants = class {
|
|
263
263
|
constructor(hostRef) {
|
|
264
264
|
registerInstance(this, hostRef);
|
|
265
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
265
266
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
266
267
|
this.internals = hostRef.$hostElement$["s-ei"];
|
|
267
268
|
}
|
|
@@ -288,7 +289,7 @@ const NylasAdditionalParticipants = class {
|
|
|
288
289
|
}
|
|
289
290
|
componentDidLoad() {
|
|
290
291
|
debug('nylas-additional-participants', 'componentDidLoad');
|
|
291
|
-
this.
|
|
292
|
+
this.updateFormValue();
|
|
292
293
|
}
|
|
293
294
|
disconnectedCallback() {
|
|
294
295
|
debug('nylas-additional-participants', 'disconnectedCallback');
|
|
@@ -298,34 +299,37 @@ const NylasAdditionalParticipants = class {
|
|
|
298
299
|
const index = event.detail.name;
|
|
299
300
|
this.participants[index].email = event.detail.value;
|
|
300
301
|
const participant = this.participantOptions?.find(participant => participant.email === event.detail.value);
|
|
302
|
+
this.participants[index].availability = participant ? { calendar_ids: ['primary'] } : undefined;
|
|
301
303
|
this.participants[index].name = participant?.name || event.detail.value;
|
|
302
304
|
this.participants = [...this.participants];
|
|
303
|
-
this.
|
|
305
|
+
this.updateFormValue();
|
|
304
306
|
}
|
|
305
307
|
onParticipantChange(event, index) {
|
|
306
308
|
debug('nylas-additional-participants', 'onParticipantChange');
|
|
307
309
|
this.participants[index].email = event.target.value;
|
|
308
|
-
this.
|
|
310
|
+
this.updateFormValue();
|
|
309
311
|
}
|
|
310
312
|
addParticipant() {
|
|
311
313
|
debug('nylas-additional-participants', 'addParticipant');
|
|
312
|
-
this.participants = [...this.participants, { name: '', email: '', is_organizer: false
|
|
313
|
-
this.
|
|
314
|
+
this.participants = [...this.participants, { name: '', email: '', is_organizer: false }];
|
|
315
|
+
this.updateFormValue();
|
|
314
316
|
}
|
|
315
317
|
removeParticipant(index) {
|
|
316
318
|
debug('nylas-additional-participants', 'removeParticipant');
|
|
317
319
|
this.participants = this.participants.filter((_, i) => i !== index);
|
|
318
|
-
this.
|
|
320
|
+
this.updateFormValue();
|
|
319
321
|
}
|
|
320
322
|
validate(email, index) {
|
|
321
323
|
debug('nylas-additional-participants', 'validate');
|
|
322
324
|
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,}))$/;
|
|
323
325
|
const valid = regex.test(String(email).toLowerCase());
|
|
324
326
|
this.participants[index].is_valid = valid;
|
|
325
|
-
this.
|
|
327
|
+
this.updateFormValue();
|
|
326
328
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
+
updateFormValue() {
|
|
330
|
+
debug('nylas-additional-participants', 'updateFormValue');
|
|
331
|
+
this.internals.setFormValue(JSON.stringify(this.participants), this.name);
|
|
332
|
+
this.valueChanged.emit({ value: JSON.stringify(this.participants), name: this.name });
|
|
329
333
|
}
|
|
330
334
|
getArrayDifference(array1, array2) {
|
|
331
335
|
const filtered = array1.filter(participant1 => !array2.some(participant2 => participant1.email === participant2.email));
|
|
@@ -334,11 +338,11 @@ const NylasAdditionalParticipants = class {
|
|
|
334
338
|
});
|
|
335
339
|
}
|
|
336
340
|
render() {
|
|
337
|
-
return (h(Host, { key: '
|
|
341
|
+
return (h(Host, { key: '30915e4727e68b0652fc265ced20a3fce93f94d7' }, h("nylas-form-card", { key: 'e652c77a0e382aeaab234593ad1cd8fa6cc1b858' }, h("h3", { key: 'ee6d3ac07461ef43976e32069cd978a2dc32ba96', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Additional participants"), h("p", { key: '72d712c00b839ad8220ea23cce11cfc233cf14b5', slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add anyone else who would be joining for this event."), h("div", { key: '87b08e14dc5a16b2381728263e079c46545284f4', slot: "content", class: "nylas-additional-participants__content" }, h("div", { key: 'da67ac11f9c977007ce885531bcdcbf9c59aca0c' }, this.participants.map((participant, index) => {
|
|
338
342
|
return (h("div", { class: 'nylas-additional-participants__input_group', part: "nap__input_group" }, h("label", null, participant.is_organizer ? 'Organizer' : `Participant ${index}`), h("div", { part: "nap__input_wrapper", class: `nylas-additional-participants__input_wrapper ${participant.is_organizer && 'nylas-additional-participants__input_wrapper_organizer'} ${participant.is_valid === false && 'nylas-additional-participants__input_wrapper_invalid'}` }, h("div", { class: { 'nylas-additional-participants__input': true, 'organizer': participant.is_organizer }, part: "nap__input" }, participant.is_organizer ? (h("input", { type: "text", value: participant.email, onInput: e => {
|
|
339
343
|
this.onParticipantChange(e, index);
|
|
340
|
-
}, readOnly: participant.is_organizer, onBlur: () => this.validate(participant.email, index) })) : (h("input-dropdown", { name: `${index}`, 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)))))));
|
|
341
|
-
})), h("button", { key: '
|
|
344
|
+
}, readOnly: participant.is_organizer, onBlur: () => this.validate(participant.email, index) })) : (h("input-dropdown", { name: `${index}`, filterable: true, inputValue: participant.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) })), !participant.is_organizer && (h("button", { onClick: () => this.removeParticipant(index), part: "nap__remove-participant" }, h("close-icon", null)))))));
|
|
345
|
+
})), h("button", { key: 'dd0f412f9affa5cf2b3ab5a331365d5b217e1ade', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, h("add-circle-icon", { key: '089167b221913ef3e0393efa23db2698a93b3e73' }), " ", h("span", { key: '70860b8258a871e714f2f33890d35ec46835f349' }, "Add ", this.participants.length > 1 ? 'another' : 'a', " participant"))))));
|
|
342
346
|
}
|
|
343
347
|
static get formAssociated() { return true; }
|
|
344
348
|
get host() { return getElement(this); }
|
|
@@ -346,23 +350,23 @@ const NylasAdditionalParticipants = class {
|
|
|
346
350
|
"name": ["elementNameChangedHandler"]
|
|
347
351
|
}; }
|
|
348
352
|
};
|
|
349
|
-
__decorate$
|
|
353
|
+
__decorate$h([
|
|
350
354
|
RegisterComponent({
|
|
351
355
|
name: 'nylas-additional-participants',
|
|
352
356
|
stateToProps: new Map([['schedulerConfig.additionalParticipants', 'participantOptions']]),
|
|
353
357
|
eventToProps: {},
|
|
354
358
|
fireRegisterEvent: true,
|
|
355
359
|
}),
|
|
356
|
-
__metadata$
|
|
357
|
-
__metadata$
|
|
358
|
-
__metadata$
|
|
360
|
+
__metadata$h("design:type", Function),
|
|
361
|
+
__metadata$h("design:paramtypes", []),
|
|
362
|
+
__metadata$h("design:returntype", void 0)
|
|
359
363
|
], NylasAdditionalParticipants.prototype, "render", null);
|
|
360
364
|
NylasAdditionalParticipants.style = NylasAdditionalParticipantsStyle0;
|
|
361
365
|
|
|
362
|
-
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
|
|
366
|
+
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}.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}";
|
|
363
367
|
const NylasAvailabilityPickerStyle0 = nylasAvailabilityPickerCss;
|
|
364
368
|
|
|
365
|
-
var __decorate$
|
|
369
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
366
370
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
367
371
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
368
372
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -372,7 +376,7 @@ var __decorate$f = (undefined && undefined.__decorate) || function (decorators,
|
|
|
372
376
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
373
377
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
374
378
|
};
|
|
375
|
-
var __metadata$
|
|
379
|
+
var __metadata$g = (undefined && undefined.__metadata) || function (k, v) {
|
|
376
380
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
377
381
|
return Reflect.metadata(k, v);
|
|
378
382
|
};
|
|
@@ -391,6 +395,7 @@ const NylasAvailabilityPicker = class {
|
|
|
391
395
|
this.openHours = undefined;
|
|
392
396
|
this.name = 'availability';
|
|
393
397
|
this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
398
|
+
this.hideHeader = false;
|
|
394
399
|
this.schedule = {
|
|
395
400
|
SUN: [],
|
|
396
401
|
MON: [{ start: '09:00am', end: '05:00pm' }],
|
|
@@ -408,20 +413,13 @@ const NylasAvailabilityPicker = class {
|
|
|
408
413
|
this.host.setAttribute('name', newValue);
|
|
409
414
|
}
|
|
410
415
|
configChangedHandler(newConfig) {
|
|
411
|
-
const
|
|
412
|
-
if (
|
|
413
|
-
this.openHoursToSchedule(
|
|
416
|
+
const defaultOpenHours = newConfig?.availability?.availability_rules?.default_open_hours;
|
|
417
|
+
if (defaultOpenHours) {
|
|
418
|
+
this.openHoursToSchedule(defaultOpenHours);
|
|
414
419
|
}
|
|
415
420
|
}
|
|
416
421
|
scheduleChanged(newValue, oldValue) {
|
|
417
422
|
if (newValue !== oldValue) {
|
|
418
|
-
this.valueChanged.emit({
|
|
419
|
-
value: {
|
|
420
|
-
openHours: this.scheduleToOpenHours(newValue),
|
|
421
|
-
timezone: this.timezone,
|
|
422
|
-
},
|
|
423
|
-
name: this.name,
|
|
424
|
-
});
|
|
425
423
|
let overlapDays = {};
|
|
426
424
|
Object.keys(newValue).forEach(key => {
|
|
427
425
|
const dayTimeRanges = newValue[key];
|
|
@@ -450,6 +448,13 @@ const NylasAvailabilityPicker = class {
|
|
|
450
448
|
timezone: this.timezone,
|
|
451
449
|
}));
|
|
452
450
|
}
|
|
451
|
+
this.valueChanged.emit({
|
|
452
|
+
value: JSON.stringify({
|
|
453
|
+
openHours: this.scheduleToOpenHours(newValue),
|
|
454
|
+
timezone: this.timezone,
|
|
455
|
+
}),
|
|
456
|
+
name: this.name,
|
|
457
|
+
});
|
|
453
458
|
}
|
|
454
459
|
}
|
|
455
460
|
nylasFormDropdownChangedHandler(event) {
|
|
@@ -459,10 +464,15 @@ const NylasAvailabilityPicker = class {
|
|
|
459
464
|
if (typeof this.internals.setFormValue !== 'function') {
|
|
460
465
|
return;
|
|
461
466
|
}
|
|
462
|
-
|
|
467
|
+
const updateValue = {
|
|
463
468
|
openHours: this.scheduleToOpenHours(this.schedule),
|
|
464
469
|
timezone: this.timezone,
|
|
465
|
-
}
|
|
470
|
+
};
|
|
471
|
+
this.internals.setFormValue(JSON.stringify(updateValue));
|
|
472
|
+
this.valueChanged.emit({
|
|
473
|
+
value: JSON.stringify(updateValue),
|
|
474
|
+
name: this.name,
|
|
475
|
+
});
|
|
466
476
|
}
|
|
467
477
|
}
|
|
468
478
|
connectedCallback() {
|
|
@@ -483,10 +493,15 @@ const NylasAvailabilityPicker = class {
|
|
|
483
493
|
if (typeof this.internals.setFormValue !== 'function') {
|
|
484
494
|
return;
|
|
485
495
|
}
|
|
486
|
-
|
|
496
|
+
const updateValue = {
|
|
487
497
|
openHours: this.scheduleToOpenHours(this.schedule),
|
|
488
498
|
timezone: this.timezone,
|
|
489
|
-
}
|
|
499
|
+
};
|
|
500
|
+
this.internals.setFormValue(JSON.stringify(updateValue));
|
|
501
|
+
this.valueChanged.emit({
|
|
502
|
+
value: JSON.stringify(updateValue),
|
|
503
|
+
name: this.name,
|
|
504
|
+
});
|
|
490
505
|
}
|
|
491
506
|
getOverlaps(timeRanges) {
|
|
492
507
|
let timeRangesInMinutes = timeRanges.map((range, index) => ({
|
|
@@ -656,7 +671,7 @@ const NylasAvailabilityPicker = class {
|
|
|
656
671
|
label: TIMEZONE_MAP[key],
|
|
657
672
|
value: key,
|
|
658
673
|
}));
|
|
659
|
-
return (h(Host, { key: '
|
|
674
|
+
return (h(Host, { key: 'bb0a4148b2d9728d7a2a9fdab8359382dd1ae5d5' }, h("div", { key: '27c5e85931d318e6ec66a155faa78e021b570f70', class: "nylas-availability-picker", part: "nap" }, !this.hideHeader && (h("div", { class: "header", part: "nap__header" }, h("h3", null, "General availability"), h("p", null, "Set your availability for scheduling meetings."))), h("div", { key: 'f2b3434dc127fc19fe6fe915cdc5f4a9d12ba6e7', class: "content" }, h("div", { key: 'bd75cb0749168b32c6366aea6f4df5920d098ec7', class: "select-timezone", part: "nap__select-timezone" }, h("h4", { key: '0c74924a291afaa07ff5b06781720a8cbadeea4d', class: "sub-header" }, "Select timezone", h("span", { key: '64933b3f6623f2d0b13559406db3d14afa99e0b6', class: "icon" }, h("tooltip-component", { key: '09c42633826e0ad358b4877f7d48bb70ce7ca518' }, h("info-icon", { key: '9ea9340b193710d759e71081e59ad6ccf762e4a8', slot: "tooltip-icon" }), h("span", { key: '83e596171dc8fb74543b21e957855f9cd32423b1', slot: "tooltip-content" }, "Select your timezone for displaying availability.")))), h("select-dropdown", { key: 'd65b32234b1669a5e7bef4b88024f50548011b98', name: "timezone", exportparts: "sd_dropdown: nap__timezone-container, sd_dropdown-button: nap__timezone-button, sd_dropdown-content: nap__timezone-dropdown-content", options: timezoneOptions, defaultSelectedOption: timezoneOptions.find(i => i.value === this.defaultTimezone) }, h("span", { key: '3387e2d39b7a052557d7668d5a7822fda1440da7', slot: "select-icon" }, h("globe-icon", { key: 'e92459b2ce063e199d8685f5a422a88e7a50fbd6', width: "20", height: "20" })))), h("div", { key: 'd510d9538189898f52e56388d661158e243fc8dd', class: "availability", part: "nap__availability" }, Object.keys(this.schedule).map(key => {
|
|
660
675
|
const day = key;
|
|
661
676
|
const timeRanges = this.schedule[key];
|
|
662
677
|
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: () => {
|
|
@@ -683,22 +698,22 @@ const NylasAvailabilityPicker = class {
|
|
|
683
698
|
"schedule": ["scheduleChanged"]
|
|
684
699
|
}; }
|
|
685
700
|
};
|
|
686
|
-
__decorate$
|
|
701
|
+
__decorate$g([
|
|
687
702
|
RegisterComponent({
|
|
688
703
|
name: 'nylas-availability-picker',
|
|
689
704
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
690
705
|
fireRegisterEvent: true,
|
|
691
706
|
}),
|
|
692
|
-
__metadata$
|
|
693
|
-
__metadata$
|
|
694
|
-
__metadata$
|
|
707
|
+
__metadata$g("design:type", Function),
|
|
708
|
+
__metadata$g("design:paramtypes", []),
|
|
709
|
+
__metadata$g("design:returntype", void 0)
|
|
695
710
|
], NylasAvailabilityPicker.prototype, "render", null);
|
|
696
711
|
NylasAvailabilityPicker.style = NylasAvailabilityPickerStyle0;
|
|
697
712
|
|
|
698
713
|
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}.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}";
|
|
699
714
|
const NylasBookingCalendarPickerStyle0 = nylasBookingCalendarPickerCss;
|
|
700
715
|
|
|
701
|
-
var __decorate$
|
|
716
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
702
717
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
703
718
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
704
719
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -708,7 +723,7 @@ var __decorate$e = (undefined && undefined.__decorate) || function (decorators,
|
|
|
708
723
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
709
724
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
710
725
|
};
|
|
711
|
-
var __metadata$
|
|
726
|
+
var __metadata$f = (undefined && undefined.__metadata) || function (k, v) {
|
|
712
727
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
713
728
|
return Reflect.metadata(k, v);
|
|
714
729
|
};
|
|
@@ -787,7 +802,7 @@ const NylasBookingCalendarPicker = class {
|
|
|
787
802
|
"name": ["elementNameChangedHandler"]
|
|
788
803
|
}; }
|
|
789
804
|
};
|
|
790
|
-
__decorate$
|
|
805
|
+
__decorate$f([
|
|
791
806
|
RegisterComponent({
|
|
792
807
|
name: 'nylas-booking-calendar-picker',
|
|
793
808
|
stateToProps: new Map([
|
|
@@ -804,16 +819,16 @@ __decorate$e([
|
|
|
804
819
|
},
|
|
805
820
|
fireRegisterEvent: true,
|
|
806
821
|
}),
|
|
807
|
-
__metadata$
|
|
808
|
-
__metadata$
|
|
809
|
-
__metadata$
|
|
822
|
+
__metadata$f("design:type", Function),
|
|
823
|
+
__metadata$f("design:paramtypes", []),
|
|
824
|
+
__metadata$f("design:returntype", void 0)
|
|
810
825
|
], NylasBookingCalendarPicker.prototype, "render", null);
|
|
811
826
|
NylasBookingCalendarPicker.style = NylasBookingCalendarPickerStyle0;
|
|
812
827
|
|
|
813
828
|
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{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}";
|
|
814
829
|
const NylasBufferTimeStyle0 = nylasBufferTimeCss;
|
|
815
830
|
|
|
816
|
-
var __decorate$
|
|
831
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
817
832
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
818
833
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
819
834
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -823,7 +838,7 @@ var __decorate$d = (undefined && undefined.__decorate) || function (decorators,
|
|
|
823
838
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
824
839
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
825
840
|
};
|
|
826
|
-
var __metadata$
|
|
841
|
+
var __metadata$e = (undefined && undefined.__metadata) || function (k, v) {
|
|
827
842
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
828
843
|
return Reflect.metadata(k, v);
|
|
829
844
|
};
|
|
@@ -965,7 +980,7 @@ const NylasBufferTime = class {
|
|
|
965
980
|
"name": ["elementNameChangedHandler"]
|
|
966
981
|
}; }
|
|
967
982
|
};
|
|
968
|
-
__decorate$
|
|
983
|
+
__decorate$e([
|
|
969
984
|
RegisterComponent({
|
|
970
985
|
name: 'nylas-buffer-time',
|
|
971
986
|
eventToProps: {
|
|
@@ -978,16 +993,16 @@ __decorate$d([
|
|
|
978
993
|
},
|
|
979
994
|
fireRegisterEvent: true,
|
|
980
995
|
}),
|
|
981
|
-
__metadata$
|
|
982
|
-
__metadata$
|
|
983
|
-
__metadata$
|
|
996
|
+
__metadata$e("design:type", Function),
|
|
997
|
+
__metadata$e("design:paramtypes", []),
|
|
998
|
+
__metadata$e("design:returntype", void 0)
|
|
984
999
|
], NylasBufferTime.prototype, "render", null);
|
|
985
1000
|
NylasBufferTime.style = NylasBufferTimeStyle0;
|
|
986
1001
|
|
|
987
1002
|
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 .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-calendar-picker .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-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}.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-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}";
|
|
988
1003
|
const NylasCalendarPickerStyle0 = nylasCalendarPickerCss;
|
|
989
1004
|
|
|
990
|
-
var __decorate$
|
|
1005
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
991
1006
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
992
1007
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
993
1008
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -997,7 +1012,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
997
1012
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
998
1013
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
999
1014
|
};
|
|
1000
|
-
var __metadata$
|
|
1015
|
+
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
|
1001
1016
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1002
1017
|
return Reflect.metadata(k, v);
|
|
1003
1018
|
};
|
|
@@ -1076,7 +1091,7 @@ const NylasCalendarPicker = class {
|
|
|
1076
1091
|
"name": ["elementNameChangedHandler"]
|
|
1077
1092
|
}; }
|
|
1078
1093
|
};
|
|
1079
|
-
__decorate$
|
|
1094
|
+
__decorate$d([
|
|
1080
1095
|
RegisterComponent({
|
|
1081
1096
|
name: 'nylas-calendar-picker',
|
|
1082
1097
|
stateToProps: new Map([
|
|
@@ -1093,16 +1108,16 @@ __decorate$c([
|
|
|
1093
1108
|
},
|
|
1094
1109
|
fireRegisterEvent: true,
|
|
1095
1110
|
}),
|
|
1096
|
-
__metadata$
|
|
1097
|
-
__metadata$
|
|
1098
|
-
__metadata$
|
|
1111
|
+
__metadata$d("design:type", Function),
|
|
1112
|
+
__metadata$d("design:paramtypes", []),
|
|
1113
|
+
__metadata$d("design:returntype", void 0)
|
|
1099
1114
|
], NylasCalendarPicker.prototype, "render", null);
|
|
1100
1115
|
NylasCalendarPicker.style = NylasCalendarPickerStyle0;
|
|
1101
1116
|
|
|
1102
1117
|
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}";
|
|
1103
1118
|
const NylasCancellationPolicyStyle0 = nylasCancellationPolicyCss;
|
|
1104
1119
|
|
|
1105
|
-
var __decorate$
|
|
1120
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1106
1121
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1107
1122
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1108
1123
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1112,7 +1127,7 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1112
1127
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1113
1128
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1114
1129
|
};
|
|
1115
|
-
var __metadata$
|
|
1130
|
+
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
|
1116
1131
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1117
1132
|
return Reflect.metadata(k, v);
|
|
1118
1133
|
};
|
|
@@ -1162,7 +1177,7 @@ const NylasCancellationPolicy = class {
|
|
|
1162
1177
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
1163
1178
|
}
|
|
1164
1179
|
render() {
|
|
1165
|
-
return (h(Host, { key: '
|
|
1180
|
+
return (h(Host, { key: '7a57476ea21860b39103ab43f8b86a5804ddc055' }, h("div", { key: '67d7d2c00b2b658778dabe316a4512472bddf435', class: "nylas-cancellation-policy", part: "ncpolicy" }, h("label", { key: '2f0abff08c2485c93efaf6202a5c9720107f11d1', htmlFor: this.name }, "Cancellation policy message", h("span", { key: '2c16d52ce3b6fea15f23e57d50afe55872f920d6', class: "label-icon" }, h("tooltip-component", { key: '8bde2b6a884e8d180ef7296bbf29322df14128ef' }, h("info-icon", { key: 'cffadcf00bc6c3b07dffeb633bf87b423d6f4c59', slot: "tooltip-icon" }), h("span", { key: '5c37fbce026bb6f5a37f7867236fc27284323c42', 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: '0f492885372a90650104bbb4679cde1374296504', id: this.name, part: "ncpolicy__textarea", name: this.name, value: this.message, maxlength: "250", onInput: e => this.handleChange(e) }))));
|
|
1166
1181
|
}
|
|
1167
1182
|
static get formAssociated() { return true; }
|
|
1168
1183
|
get host() { return getElement(this); }
|
|
@@ -1171,23 +1186,23 @@ const NylasCancellationPolicy = class {
|
|
|
1171
1186
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1172
1187
|
}; }
|
|
1173
1188
|
};
|
|
1174
|
-
__decorate$
|
|
1189
|
+
__decorate$c([
|
|
1175
1190
|
RegisterComponent({
|
|
1176
1191
|
name: 'nylas-cancellation-policy',
|
|
1177
1192
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1178
1193
|
eventToProps: {},
|
|
1179
1194
|
fireRegisterEvent: true,
|
|
1180
1195
|
}),
|
|
1181
|
-
__metadata$
|
|
1182
|
-
__metadata$
|
|
1183
|
-
__metadata$
|
|
1196
|
+
__metadata$c("design:type", Function),
|
|
1197
|
+
__metadata$c("design:paramtypes", []),
|
|
1198
|
+
__metadata$c("design:returntype", void 0)
|
|
1184
1199
|
], NylasCancellationPolicy.prototype, "render", null);
|
|
1185
1200
|
NylasCancellationPolicy.style = NylasCancellationPolicyStyle0;
|
|
1186
1201
|
|
|
1187
1202
|
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}}";
|
|
1188
1203
|
const NylasCustomizeBookingSettingsStyle0 = nylasCustomizeBookingSettingsCss;
|
|
1189
1204
|
|
|
1190
|
-
var __decorate$
|
|
1205
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1191
1206
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1192
1207
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1193
1208
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1197,7 +1212,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1197
1212
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1198
1213
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1199
1214
|
};
|
|
1200
|
-
var __metadata$
|
|
1215
|
+
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
|
1201
1216
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1202
1217
|
return Reflect.metadata(k, v);
|
|
1203
1218
|
};
|
|
@@ -1284,7 +1299,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1284
1299
|
}), this.name);
|
|
1285
1300
|
}
|
|
1286
1301
|
render() {
|
|
1287
|
-
return (h(Host, { key: '
|
|
1302
|
+
return (h(Host, { key: '543f4fc64d9dab03c528c5738cd4c1b1bb9cfd2a' }, h("div", { key: 'e3f153847ad5256327952d4be0aace03543b1d40', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: '5b35f27785f6f6bc8e8848d94857869b73108df0', class: "header", part: "ncbs__header" }, h("h3", { key: 'd50a9614e3b0b5227a196356a43f12aab4acb158' }, "Additional settings"), h("p", { key: 'f29bbb165479e276cf87087582e9c60eb21c37d1' }, "Booking settings for the event.")), h("div", { key: 'd091485f983d0cc3ff86e7ca89df8d75526d3cef', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { key: '7f7888a718a70a681795e599075c92cfbc16853a', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: 'e37474d77812d96fe264d26c329078502c074dbe', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { key: '00b45833c0223e373edf0b42669e4a154938b1eb', slot: "label", class: "label" }, h("p", { key: 'e66de8b9f53230347417a8ec0a7ae7a19af9db31', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), h("tooltip-component", { key: '1ba5558e1991235c21f57ca1968220ea7bf43fcb', id: "guests" }, h("info-icon", { key: '3e62cc64cc55eb3dd4d0a73cef80a64c8dc9c38f', slot: "tooltip-icon" }), h("span", { key: '3853d0d575be29420ea012c90b0a2c07913a86a7', slot: "tooltip-content" }, "Allow guests to invite additional guests to the event. If enabled, the guest will be able to add additional guests' email addresses."))))), h("div", { key: '92e209a924673d8b1dee03475ffabfea5d9bf09b', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: 'f7b522c07700938d25b17e14d236edb2aae12b21', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { key: '590cb5d983ff6eef95ebb370b845e1cc8e3080e4', slot: "label", class: "label" }, h("p", { key: '8f2d2742976e21a81268c793ae1c6c9dafdcecc3', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: '4b01f75e4067d7c8d26ca785d5c6ad841633130c' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: '8a157115569a4413143779c9e09c8389394973f9', id: "reschedule" }, h("info-icon", { key: 'b3a2c734d2d7a303d1d4d2622b51113aa7d3dfaf', slot: "tooltip-icon" }), h("span", { key: '2d08ceb49e744787da6863d72cf2c6df50f1a7cc', slot: "tooltip-content" }, "Hide the 'Reschedule' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to reschedule the booking."))))), h("div", { key: '6bc7f1a30a750ba85453d852f6f7e05c0513673d', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: '089ca174d8aabb26d87f5bb8cb871b9e82b7c04f', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { key: '9ec50185d728baddbe0805eaeff057686b153bea', slot: "label", class: "label" }, h("p", { key: '118c1c3cc06dba90f451711aba0dde3efeeec9f0', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: 'c1a26aa5c832fba488d60fc3af5a3c000ada144d' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: 'b70473d1e93c11d9b05a9dcec67d77795638bbeb', id: "cancel" }, h("info-icon", { key: '2f0d812ac9fb7a52260b601c590b7a629036ea7c', slot: "tooltip-icon" }), h("span", { key: '4c5b3b51b57761a377ccfa7f66d6d69486d8cb11', slot: "tooltip-content" }, "Hide the 'Cancel' button on the Scheduling page and in the email notifications. If enabled, the guest will not be able to cancel the booking.")))))))));
|
|
1288
1303
|
}
|
|
1289
1304
|
static get formAssociated() { return true; }
|
|
1290
1305
|
get host() { return getElement(this); }
|
|
@@ -1293,22 +1308,22 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1293
1308
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1294
1309
|
}; }
|
|
1295
1310
|
};
|
|
1296
|
-
__decorate$
|
|
1311
|
+
__decorate$b([
|
|
1297
1312
|
RegisterComponent({
|
|
1298
1313
|
name: 'nylas-customize-booking-settings',
|
|
1299
1314
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1300
1315
|
fireRegisterEvent: true,
|
|
1301
1316
|
}),
|
|
1302
|
-
__metadata$
|
|
1303
|
-
__metadata$
|
|
1304
|
-
__metadata$
|
|
1317
|
+
__metadata$b("design:type", Function),
|
|
1318
|
+
__metadata$b("design:paramtypes", []),
|
|
1319
|
+
__metadata$b("design:returntype", void 0)
|
|
1305
1320
|
], NylasCustomizeBookingSettings.prototype, "render", null);
|
|
1306
1321
|
NylasCustomizeBookingSettings.style = NylasCustomizeBookingSettingsStyle0;
|
|
1307
1322
|
|
|
1308
1323
|
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}";
|
|
1309
1324
|
const NylasEventDescriptionStyle0 = nylasEventDescriptionCss;
|
|
1310
1325
|
|
|
1311
|
-
var __decorate$
|
|
1326
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1312
1327
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1313
1328
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1314
1329
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1318,7 +1333,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1318
1333
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1319
1334
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1320
1335
|
};
|
|
1321
|
-
var __metadata$
|
|
1336
|
+
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
|
1322
1337
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1323
1338
|
return Reflect.metadata(k, v);
|
|
1324
1339
|
};
|
|
@@ -1368,7 +1383,7 @@ const NylasEventDescription = class {
|
|
|
1368
1383
|
this.valueChanged.emit({ value: value, name: this.name });
|
|
1369
1384
|
}
|
|
1370
1385
|
render() {
|
|
1371
|
-
return (h(Host, { key: '
|
|
1386
|
+
return (h(Host, { key: 'ac483c56982373fb625c6d1af54eed749ce820e2' }, h("div", { key: '3924853ea2c94d72bf2a04a319bee5fc61eb7642', class: "nylas-event-description", part: "nedesc" }, h("label", { key: 'e8f9990a4f0766de9691080ef02b823c4cd6beb4', htmlFor: "description" }, "Event description", h("span", { key: 'dc7fa731cc60ed6e59032cdb35d0b410de300750', class: "label-icon" }, h("tooltip-component", { key: '1c0b1a5a547227bf7d4f499cc7c319349ec26e2d' }, h("info-icon", { key: 'e74034f5a5d8ab86c0d497b15c9cb8016d22f38e', slot: "tooltip-icon" }), h("span", { key: 'c5efa1fc3adc9290e39d40f1f7998e0c6bdd3bf4', slot: "tooltip-content" }, "Provide any additional details for your event.")))), h("textarea", { key: '45d8cc241ab90a24ec437499234b02cc401fa720', id: "description", part: "nedesc__textarea", name: "description", value: this.description, maxlength: "8192", onInput: e => this.handleChange(e) }))));
|
|
1372
1387
|
}
|
|
1373
1388
|
static get formAssociated() { return true; }
|
|
1374
1389
|
get host() { return getElement(this); }
|
|
@@ -1377,23 +1392,23 @@ const NylasEventDescription = class {
|
|
|
1377
1392
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1378
1393
|
}; }
|
|
1379
1394
|
};
|
|
1380
|
-
__decorate$
|
|
1395
|
+
__decorate$a([
|
|
1381
1396
|
RegisterComponent({
|
|
1382
1397
|
name: 'nylas-event-description',
|
|
1383
1398
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1384
1399
|
eventToProps: {},
|
|
1385
1400
|
fireRegisterEvent: true,
|
|
1386
1401
|
}),
|
|
1387
|
-
__metadata$
|
|
1388
|
-
__metadata$
|
|
1389
|
-
__metadata$
|
|
1402
|
+
__metadata$a("design:type", Function),
|
|
1403
|
+
__metadata$a("design:paramtypes", []),
|
|
1404
|
+
__metadata$a("design:returntype", void 0)
|
|
1390
1405
|
], NylasEventDescription.prototype, "render", null);
|
|
1391
1406
|
NylasEventDescription.style = NylasEventDescriptionStyle0;
|
|
1392
1407
|
|
|
1393
1408
|
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)}";
|
|
1394
1409
|
const NylasEventDurationStyle0 = nylasEventDurationCss;
|
|
1395
1410
|
|
|
1396
|
-
var __decorate$
|
|
1411
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1397
1412
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1398
1413
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1399
1414
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1403,7 +1418,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1403
1418
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1404
1419
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1405
1420
|
};
|
|
1406
|
-
var __metadata$
|
|
1421
|
+
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1407
1422
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1408
1423
|
return Reflect.metadata(k, v);
|
|
1409
1424
|
};
|
|
@@ -1510,7 +1525,7 @@ const NylasEventDuration = class {
|
|
|
1510
1525
|
{ value: 1, label: 'minute' },
|
|
1511
1526
|
{ value: 60, label: 'hour' },
|
|
1512
1527
|
];
|
|
1513
|
-
return (h(Host, { key: '
|
|
1528
|
+
return (h(Host, { key: 'c8ab90c7a45ce6a5379552af0a9059b9d829e82c' }, h("div", { key: 'd957e610bd31a55430235b0ca903905c8bf3706b', class: "nylas-event-duration", part: "ned" }, h("label", { key: '39324d77ad9da4bc0c1f36d15c28384f423c1976', htmlFor: "duration" }, "Event duration", h("span", { key: '8f222a8a5d03899ff06790133434028dd1a62cd4', class: "required" }, "*"), h("span", { key: '6b83c675faa33db229ded711eac8c1f565bc9a61', class: "label-icon" }, h("tooltip-component", { key: '01b7ba340e2883e5a22d4559f67feda4bc745109' }, h("info-icon", { key: 'acbfa3dcbc994dec0e502ea9ded00612bf24b315', slot: "tooltip-icon" }), h("span", { key: 'e691c2a8ce4953e448cb6850ab2648645ae688c0', slot: "tooltip-content" }, "Set the duration of your event.")))), h("div", { key: '294766a022ba73042705050bc2fbc294cd1433b4', class: "nylas-event-duration__wrapper" }, h("input-dropdown", { key: '9a61a9527ae4c9991dc1f1596fbed85a5dd57966', name: 'event-duration', options: this.durationMinutesOptions, inputValue: this.duration.toString(), exportparts: "id_dropdown: ned__input_dropdown, id_dropdown-input: ned__input_dropdown-input, id_dropdown-content: ned__input_dropdown-content", defaultInputOption: this.durationMinutesOptions.find(i => i.value == this.duration) ?? durationOptions[0] }), h("select-dropdown", { key: 'edcda0700a80961b9a8b9f325288d70a1aa4e6f0', name: 'event-duration', options: durationOptions, pluralizedLabel: this.duration > 1 ? 's' : '', exportparts: "sd_dropdown: ned__dropdown, sd_dropdown-button: ned__dropdown-button, sd_dropdown-content: ned__dropdown-content", defaultSelectedOption: durationOptions.find(i => i.value == this.durationIncrement) ?? durationOptions[0], withSearch: false })))));
|
|
1514
1529
|
}
|
|
1515
1530
|
static get formAssociated() { return true; }
|
|
1516
1531
|
get host() { return getElement(this); }
|
|
@@ -1520,23 +1535,23 @@ const NylasEventDuration = class {
|
|
|
1520
1535
|
"durationMinutes": ["durationMinutesChangedHandler"]
|
|
1521
1536
|
}; }
|
|
1522
1537
|
};
|
|
1523
|
-
__decorate$
|
|
1538
|
+
__decorate$9([
|
|
1524
1539
|
RegisterComponent({
|
|
1525
1540
|
name: 'nylas-event-duration',
|
|
1526
1541
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1527
1542
|
eventToProps: {},
|
|
1528
1543
|
fireRegisterEvent: true,
|
|
1529
1544
|
}),
|
|
1530
|
-
__metadata$
|
|
1531
|
-
__metadata$
|
|
1532
|
-
__metadata$
|
|
1545
|
+
__metadata$9("design:type", Function),
|
|
1546
|
+
__metadata$9("design:paramtypes", []),
|
|
1547
|
+
__metadata$9("design:returntype", void 0)
|
|
1533
1548
|
], NylasEventDuration.prototype, "render", null);
|
|
1534
1549
|
NylasEventDuration.style = NylasEventDurationStyle0;
|
|
1535
1550
|
|
|
1536
1551
|
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}";
|
|
1537
1552
|
const NylasEventInfoStyle0 = nylasEventInfoCss;
|
|
1538
1553
|
|
|
1539
|
-
var __decorate$
|
|
1554
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1540
1555
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1541
1556
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1542
1557
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1546,7 +1561,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1546
1561
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1547
1562
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1548
1563
|
};
|
|
1549
|
-
var __metadata$
|
|
1564
|
+
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1550
1565
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1551
1566
|
return Reflect.metadata(k, v);
|
|
1552
1567
|
};
|
|
@@ -1575,27 +1590,27 @@ const NylasEventInfo = class {
|
|
|
1575
1590
|
debug('nylas-event-info', 'disconnectedCallback');
|
|
1576
1591
|
}
|
|
1577
1592
|
render() {
|
|
1578
|
-
return (h(Host, { key: '
|
|
1593
|
+
return (h(Host, { key: 'adf72357920be8fadb32c683735719e5dbf76883' }, h("nylas-form-card", { key: '33823a1bbd57716f9b056f5addba8a5fb316ac93' }, h("h1", { key: 'eb14a7f95322992e24dad4e9ff612ffcb7c7634a', slot: "header-title", class: "nylas-event-info__title" }, "Event information"), h("h3", { key: '366d9ed654b03ea7bfe9d902240fcd4ad3c2b177', slot: "header-subtitle", class: "nylas-event-info__subtitle" }, "Enter all event information."), h("div", { key: 'a6abc2c53dbce1d8d0ad444033d1361171bc5720', slot: "content", class: "nylas-event-info__content" }, h("slot", { key: 'c814d4c24582dc76ee96f8e87c9b610a06205273', name: "inputs" })))));
|
|
1579
1594
|
}
|
|
1580
1595
|
static get formAssociated() { return true; }
|
|
1581
1596
|
get el() { return getElement(this); }
|
|
1582
1597
|
};
|
|
1583
|
-
__decorate$
|
|
1598
|
+
__decorate$8([
|
|
1584
1599
|
RegisterComponent({
|
|
1585
1600
|
name: 'nylas-event-info',
|
|
1586
1601
|
eventToProps: {},
|
|
1587
1602
|
fireRegisterEvent: true,
|
|
1588
1603
|
}),
|
|
1589
|
-
__metadata$
|
|
1590
|
-
__metadata$
|
|
1591
|
-
__metadata$
|
|
1604
|
+
__metadata$8("design:type", Function),
|
|
1605
|
+
__metadata$8("design:paramtypes", []),
|
|
1606
|
+
__metadata$8("design:returntype", void 0)
|
|
1592
1607
|
], NylasEventInfo.prototype, "render", null);
|
|
1593
1608
|
NylasEventInfo.style = NylasEventInfoStyle0;
|
|
1594
1609
|
|
|
1595
1610
|
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}";
|
|
1596
1611
|
const NylasEventLimitsStyle0 = nylasEventLimitsCss;
|
|
1597
1612
|
|
|
1598
|
-
var __decorate$
|
|
1613
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1599
1614
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1600
1615
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1601
1616
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1605,7 +1620,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1605
1620
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1606
1621
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1607
1622
|
};
|
|
1608
|
-
var __metadata$
|
|
1623
|
+
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1609
1624
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1610
1625
|
return Reflect.metadata(k, v);
|
|
1611
1626
|
};
|
|
@@ -1634,27 +1649,27 @@ const NylasEventLimits = class {
|
|
|
1634
1649
|
debug('nylas-event-limits', 'disconnectedCallback');
|
|
1635
1650
|
}
|
|
1636
1651
|
render() {
|
|
1637
|
-
return (h(Host, { key: '
|
|
1652
|
+
return (h(Host, { key: '4afbe82f9887a84579e5a16fa628a8785927e19f' }, h("nylas-form-card", { key: 'b092de56ed7f3902ed5de970963697e19f47b5ea' }, h("h1", { key: 'c1a940f48d1e8daeaa719cfcefc7b5948960ea5c', slot: "header-title", class: "nylas-event-limits__title" }, "Set event limits"), h("h3", { key: '68c6426b83df6c15a85f6bae5bc0fd47aa17e8b4', slot: "header-subtitle", class: "nylas-event-limits__subtitle" }, "Customize event limits for the event."), h("div", { key: 'e70ed6be6d75a69b9405c38c0ab68accbc799670', slot: "content", class: "nylas-event-limits__content" }, h("slot", { key: '7220956029fa2ae7f8ab7f05342ab2ee8d15c15f', name: "inputs" })))));
|
|
1638
1653
|
}
|
|
1639
1654
|
static get formAssociated() { return true; }
|
|
1640
1655
|
get el() { return getElement(this); }
|
|
1641
1656
|
};
|
|
1642
|
-
__decorate$
|
|
1657
|
+
__decorate$7([
|
|
1643
1658
|
RegisterComponent({
|
|
1644
1659
|
name: 'nylas-event-limits',
|
|
1645
1660
|
eventToProps: {},
|
|
1646
1661
|
fireRegisterEvent: true,
|
|
1647
1662
|
}),
|
|
1648
|
-
__metadata$
|
|
1649
|
-
__metadata$
|
|
1650
|
-
__metadata$
|
|
1663
|
+
__metadata$7("design:type", Function),
|
|
1664
|
+
__metadata$7("design:paramtypes", []),
|
|
1665
|
+
__metadata$7("design:returntype", void 0)
|
|
1651
1666
|
], NylasEventLimits.prototype, "render", null);
|
|
1652
1667
|
NylasEventLimits.style = NylasEventLimitsStyle0;
|
|
1653
1668
|
|
|
1654
1669
|
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}";
|
|
1655
1670
|
const NylasEventLocationStyle0 = nylasEventLocationCss;
|
|
1656
1671
|
|
|
1657
|
-
var __decorate$
|
|
1672
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1658
1673
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1659
1674
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1660
1675
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1664,7 +1679,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1664
1679
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1665
1680
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1666
1681
|
};
|
|
1667
|
-
var __metadata$
|
|
1682
|
+
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1668
1683
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1669
1684
|
return Reflect.metadata(k, v);
|
|
1670
1685
|
};
|
|
@@ -1742,10 +1757,10 @@ const NylasEventLocation = class {
|
|
|
1742
1757
|
{ value: 'custom', label: 'Custom location' },
|
|
1743
1758
|
];
|
|
1744
1759
|
const icons = {
|
|
1745
|
-
none: h("location-off-icon", { key: '
|
|
1746
|
-
custom: h("location-icon", { key: '
|
|
1760
|
+
none: h("location-off-icon", { key: 'b83e4c1ee5292f3261fca8489ec10a6ded3378dc' }),
|
|
1761
|
+
custom: h("location-icon", { key: '6ba8c483b7e242b0accf8a55ccb11efc8b4e19a5' }),
|
|
1747
1762
|
};
|
|
1748
|
-
return (h(Host, { key: '
|
|
1763
|
+
return (h(Host, { key: 'f65e817196207fa0397fb599bc89a8cb72b7e8e1' }, h("div", { key: '7410dde44d2b93d0aa655feb0c9dede3b14f3f1e', class: "nylas-event-location", part: "nel" }, h("label", { key: '4d158faf262e76e325e1dc35792bc36800a3df6f', htmlFor: "location" }, "Location type", h("span", { key: '28b4287f14b80b9a1db726470bf27dd017b3ba37', class: "label-icon" }, h("tooltip-component", { key: '65a2db2bdf57377beb1b5b4801a89f5a74320205' }, h("info-icon", { key: '350b0f6f2c7f442cc4fb3fdee838c600d271d667', slot: "tooltip-icon" }), h("span", { key: '31027673d5cd518b6cbc847c0010f482b0540de6', slot: "tooltip-content" }, "Choose how you\u2019ll meet with the participants at the scheduled time. Pick from available conferencing options or add a custom location.")))), h("div", { key: 'a902e62a97f181dcb6b0e0e4daea1ec4c817fe58', class: "location-input" }, h("select-dropdown", { key: '5f271d86549b8fa286b630f169e191d4c1d73e3d', withSearch: false, name: "location", options: locationOptions, defaultSelectedOption: locationOptions.find(i => i.value == this.selectedLocationOption), exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, h("span", { key: 'cdc3f3fcdf971ffe3495f085b39cac2a1e77df11', slot: "select-icon" }, icons[this.selectedLocationOption])), this.selectedLocationOption === 'custom' && (h("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: e => this.handleChange(e) }))))));
|
|
1749
1764
|
}
|
|
1750
1765
|
static get formAssociated() { return true; }
|
|
1751
1766
|
get host() { return getElement(this); }
|
|
@@ -1755,23 +1770,23 @@ const NylasEventLocation = class {
|
|
|
1755
1770
|
"eventLocation": ["eventLocationChangedHandler"]
|
|
1756
1771
|
}; }
|
|
1757
1772
|
};
|
|
1758
|
-
__decorate$
|
|
1773
|
+
__decorate$6([
|
|
1759
1774
|
RegisterComponent({
|
|
1760
1775
|
name: 'nylas-event-location',
|
|
1761
1776
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1762
1777
|
eventToProps: {},
|
|
1763
1778
|
fireRegisterEvent: true,
|
|
1764
1779
|
}),
|
|
1765
|
-
__metadata$
|
|
1766
|
-
__metadata$
|
|
1767
|
-
__metadata$
|
|
1780
|
+
__metadata$6("design:type", Function),
|
|
1781
|
+
__metadata$6("design:paramtypes", []),
|
|
1782
|
+
__metadata$6("design:returntype", void 0)
|
|
1768
1783
|
], NylasEventLocation.prototype, "render", null);
|
|
1769
1784
|
NylasEventLocation.style = NylasEventLocationStyle0;
|
|
1770
1785
|
|
|
1771
1786
|
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);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{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)}";
|
|
1772
1787
|
const NylasEventTitleStyle0 = nylasEventTitleCss;
|
|
1773
1788
|
|
|
1774
|
-
var __decorate$
|
|
1789
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1775
1790
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1776
1791
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1777
1792
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1781,7 +1796,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1781
1796
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1782
1797
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1783
1798
|
};
|
|
1784
|
-
var __metadata$
|
|
1799
|
+
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1785
1800
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1786
1801
|
return Reflect.metadata(k, v);
|
|
1787
1802
|
};
|
|
@@ -2081,10 +2096,10 @@ const NylasEventTitle = class {
|
|
|
2081
2096
|
return (h("div", { class: "token-label" }, h("span", { class: "token" }, token.token), h("span", { class: "description" }, token.description)));
|
|
2082
2097
|
}
|
|
2083
2098
|
render() {
|
|
2084
|
-
return (h(Host, { key: '
|
|
2099
|
+
return (h(Host, { key: 'ec414f2f4c738230078bed7b7c5477ba5fdbcb70' }, h("div", { key: '17f665e5f307c1b6510891e76daa765449958c3e', class: "nylas-event-title", part: "net" }, h("label", { key: 'e4beac83e857bab219ec4276238f7953645c4711', htmlFor: "title" }, "Event title", h("span", { key: '3033d6ef407f2a3df94dc1f80be2f5e3c378abd0', class: "required" }, "*"), h("span", { key: '29dba11e88726329513ef15078eba34f103914de', class: "label-icon" }, h("tooltip-component", { key: '29a373fc979f15eb3527b9e5a446bd7518ee4562' }, h("info-icon", { key: '12f9a0190185b96a2090cdb0ca7a43f6342cc016', slot: "tooltip-icon" }), h("span", { key: 'dd6e505591f9cded5bc70a812e448b44f1faa4e1', slot: "tooltip-content" }, "Enter a title for your event.")))), h("div", { key: '87807255004e909850b93d600b636d2d2e1d8ed1', class: {
|
|
2085
2100
|
title: true,
|
|
2086
2101
|
error: this.validationError !== '',
|
|
2087
|
-
}, 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: '
|
|
2102
|
+
}, 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: '3ba87900ffbc4b69c5f9fac01a8f9f577dd034c5', class: "help-text" }, "Create a dynamic templated event title by typing $. Learn more"), this.validationError != '' && h("span", { class: "error-message" }, this.validationError))));
|
|
2088
2103
|
}
|
|
2089
2104
|
static get formAssociated() { return true; }
|
|
2090
2105
|
get host() { return getElement(this); }
|
|
@@ -2094,23 +2109,23 @@ const NylasEventTitle = class {
|
|
|
2094
2109
|
"selectedConfiguration": ["configChangedHandler"]
|
|
2095
2110
|
}; }
|
|
2096
2111
|
};
|
|
2097
|
-
__decorate$
|
|
2112
|
+
__decorate$5([
|
|
2098
2113
|
RegisterComponent({
|
|
2099
2114
|
name: 'nylas-event-title',
|
|
2100
2115
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2101
2116
|
eventToProps: {},
|
|
2102
2117
|
fireRegisterEvent: true,
|
|
2103
2118
|
}),
|
|
2104
|
-
__metadata$
|
|
2105
|
-
__metadata$
|
|
2106
|
-
__metadata$
|
|
2119
|
+
__metadata$5("design:type", Function),
|
|
2120
|
+
__metadata$5("design:paramtypes", []),
|
|
2121
|
+
__metadata$5("design:returntype", void 0)
|
|
2107
2122
|
], NylasEventTitle.prototype, "render", null);
|
|
2108
2123
|
NylasEventTitle.style = NylasEventTitleStyle0;
|
|
2109
2124
|
|
|
2110
2125
|
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}";
|
|
2111
2126
|
const NylasLimitFutureBookingsStyle0 = nylasLimitFutureBookingsCss;
|
|
2112
2127
|
|
|
2113
|
-
var __decorate$
|
|
2128
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2114
2129
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2115
2130
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2116
2131
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2120,7 +2135,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2120
2135
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2121
2136
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2122
2137
|
};
|
|
2123
|
-
var __metadata$
|
|
2138
|
+
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2124
2139
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2125
2140
|
return Reflect.metadata(k, v);
|
|
2126
2141
|
};
|
|
@@ -2208,7 +2223,7 @@ const NylasLimitFutureBookings = class {
|
|
|
2208
2223
|
this.selectedPeriod = period;
|
|
2209
2224
|
}
|
|
2210
2225
|
render() {
|
|
2211
|
-
return (h(Host, { key: '
|
|
2226
|
+
return (h(Host, { key: '9efaf822025f476c80f4c5124f226e45ef9047f9' }, h("div", { key: 'acb0ed9bb24d9e789c01127b2343194d47c37c5f', class: "nylas-limit-future-bookings", part: "nlfb" }, h("label", { key: 'b4bbe14a0870451be5c7754dbbd3adb029b1d24c' }, "Limit future bookings", h("span", { key: 'e1e671d334ec20347852549c4b4d63fa626a2186', class: "label-icon" }, h("tooltip-component", { key: '378c5a41fe7920cebd1f9de4ea16873e951584cf' }, h("info-icon", { key: 'dee6d8d027c746b19b4de42a7e57754a6dcf0a34', slot: "tooltip-icon" }), h("span", { key: 'f128781fb212013489d7db03e7b5fb1a02681b5a', slot: "tooltip-content" }, "Set a limit on how far in the future bookings can be made.")))), h("time-period-selector", { key: 'fb00fd64c7dec2beb976132a397bb067e72c0cc3', 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 }))));
|
|
2212
2227
|
}
|
|
2213
2228
|
static get formAssociated() { return true; }
|
|
2214
2229
|
get host() { return getElement(this); }
|
|
@@ -2218,23 +2233,23 @@ const NylasLimitFutureBookings = class {
|
|
|
2218
2233
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2219
2234
|
}; }
|
|
2220
2235
|
};
|
|
2221
|
-
__decorate$
|
|
2236
|
+
__decorate$4([
|
|
2222
2237
|
RegisterComponent({
|
|
2223
2238
|
name: 'nylas-limit-future-bookings',
|
|
2224
2239
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2225
2240
|
eventToProps: {},
|
|
2226
2241
|
fireRegisterEvent: true,
|
|
2227
2242
|
}),
|
|
2228
|
-
__metadata$
|
|
2229
|
-
__metadata$
|
|
2230
|
-
__metadata$
|
|
2243
|
+
__metadata$4("design:type", Function),
|
|
2244
|
+
__metadata$4("design:paramtypes", []),
|
|
2245
|
+
__metadata$4("design:returntype", void 0)
|
|
2231
2246
|
], NylasLimitFutureBookings.prototype, "render", null);
|
|
2232
2247
|
NylasLimitFutureBookings.style = NylasLimitFutureBookingsStyle0;
|
|
2233
2248
|
|
|
2234
2249
|
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}";
|
|
2235
2250
|
const NylasMinBookingNoticeStyle0 = nylasMinBookingNoticeCss;
|
|
2236
2251
|
|
|
2237
|
-
var __decorate$
|
|
2252
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2238
2253
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2239
2254
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2240
2255
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2244,7 +2259,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2244
2259
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2245
2260
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2246
2261
|
};
|
|
2247
|
-
var __metadata$
|
|
2262
|
+
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2248
2263
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2249
2264
|
return Reflect.metadata(k, v);
|
|
2250
2265
|
};
|
|
@@ -2357,7 +2372,7 @@ const NylasMinBookingNotice = class {
|
|
|
2357
2372
|
this.selectedPeriod = period;
|
|
2358
2373
|
}
|
|
2359
2374
|
render() {
|
|
2360
|
-
return (h(Host, { key: '
|
|
2375
|
+
return (h(Host, { key: 'b00e1ce3adc1082c819774df6888d86fd93b06b6' }, h("div", { key: '0cd17759b7e1d3790904fe868addfa02065a3115', class: "nylas-min-booking-notice", part: "nmbn" }, h("label", { key: 'c27bc50a60686fb925904c5f86c9f19a7ab8079c' }, "Minimum booking notice", h("span", { key: '67b1a1351adbe6265d549501609af036d993920b', class: "label-icon" }, h("tooltip-component", { key: '4e64d044707c9fe94aa84caa242a0e034c0a89f7' }, h("info-icon", { key: 'bf64b04e4d308449249dae8a19a6c4043f26c1dd', slot: "tooltip-icon" }), h("span", { key: '434e31ddf539c4fcb287b198d780b6593808a607', slot: "tooltip-content" }, "The minimum amount of time in the future for planning the event.")))), h("time-period-selector", { key: 'efd40f4731319bd7da2aed6995279c8068e505ac', 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 }))));
|
|
2361
2376
|
}
|
|
2362
2377
|
static get formAssociated() { return true; }
|
|
2363
2378
|
get host() { return getElement(this); }
|
|
@@ -2367,23 +2382,23 @@ const NylasMinBookingNotice = class {
|
|
|
2367
2382
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2368
2383
|
}; }
|
|
2369
2384
|
};
|
|
2370
|
-
__decorate$
|
|
2385
|
+
__decorate$3([
|
|
2371
2386
|
RegisterComponent({
|
|
2372
2387
|
name: 'nylas-min-booking-notice',
|
|
2373
2388
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2374
2389
|
eventToProps: {},
|
|
2375
2390
|
fireRegisterEvent: true,
|
|
2376
2391
|
}),
|
|
2377
|
-
__metadata$
|
|
2378
|
-
__metadata$
|
|
2379
|
-
__metadata$
|
|
2392
|
+
__metadata$3("design:type", Function),
|
|
2393
|
+
__metadata$3("design:paramtypes", []),
|
|
2394
|
+
__metadata$3("design:returntype", void 0)
|
|
2380
2395
|
], NylasMinBookingNotice.prototype, "render", null);
|
|
2381
2396
|
NylasMinBookingNotice.style = NylasMinBookingNoticeStyle0;
|
|
2382
2397
|
|
|
2383
2398
|
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}";
|
|
2384
2399
|
const NylasMinCancellationNoticeStyle0 = nylasMinCancellationNoticeCss;
|
|
2385
2400
|
|
|
2386
|
-
var __decorate$
|
|
2401
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2387
2402
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2388
2403
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2389
2404
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2393,7 +2408,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2393
2408
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2394
2409
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2395
2410
|
};
|
|
2396
|
-
var __metadata$
|
|
2411
|
+
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2397
2412
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2398
2413
|
return Reflect.metadata(k, v);
|
|
2399
2414
|
};
|
|
@@ -2506,7 +2521,7 @@ const NylasMinCancellationNotice = class {
|
|
|
2506
2521
|
this.selectedPeriod = period;
|
|
2507
2522
|
}
|
|
2508
2523
|
render() {
|
|
2509
|
-
return (h(Host, { key: '
|
|
2524
|
+
return (h(Host, { key: '6c14649f767cebe544dd5fc3039e4bace051f759' }, h("div", { key: 'e6b0965bb6bc49b6e7ede7a4c2b2c2056a212c96', class: "nylas-min-cancellation-notice", part: "nmcn" }, h("label", { key: '1998d897f882c0783e2012ca85b651c43517ba64' }, "Minimum cancellation notice", h("span", { key: 'eccae26b18bd269648d1bce2affae5d3e469ea02', class: "label-icon" }, h("tooltip-component", { key: '50caa33903115b0da9da25ed3a18cbbf8a4df353' }, h("info-icon", { key: '8b466b236668439cbca8e250d60524b69ce4f7f3', slot: "tooltip-icon" }), h("span", { key: 'c4c9d73798c85d317aa1f89a2b0f1c66c9ca41d2', slot: "tooltip-content" }, "Set the minimum amount of time required to cancel an event.")))), h("time-period-selector", { key: 'bb4c0a9ecfb9bc9ebf88b229c871abd4b8427385', 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 }))));
|
|
2510
2525
|
}
|
|
2511
2526
|
static get formAssociated() { return true; }
|
|
2512
2527
|
get host() { return getElement(this); }
|
|
@@ -2516,305 +2531,148 @@ const NylasMinCancellationNotice = class {
|
|
|
2516
2531
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2517
2532
|
}; }
|
|
2518
2533
|
};
|
|
2519
|
-
__decorate$
|
|
2534
|
+
__decorate$2([
|
|
2520
2535
|
RegisterComponent({
|
|
2521
2536
|
name: 'nylas-min-cancellation-notice',
|
|
2522
2537
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2523
2538
|
eventToProps: {},
|
|
2524
2539
|
fireRegisterEvent: true,
|
|
2525
2540
|
}),
|
|
2526
|
-
__metadata$
|
|
2527
|
-
__metadata$
|
|
2528
|
-
__metadata$
|
|
2541
|
+
__metadata$2("design:type", Function),
|
|
2542
|
+
__metadata$2("design:paramtypes", []),
|
|
2543
|
+
__metadata$2("design:returntype", void 0)
|
|
2529
2544
|
], NylasMinCancellationNotice.prototype, "render", null);
|
|
2530
2545
|
NylasMinCancellationNotice.style = NylasMinCancellationNoticeStyle0;
|
|
2531
2546
|
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
(function (module, exports) {
|
|
2535
|
-
!function(e,t){module.exports=t();}(commonjsGlobal,(function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return (e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t;}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e);}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1);}],a:[i,function(e){this.afternoon=u(e,!0);}],S:[/\d/,function(e){this.milliseconds=100*+e;}],SS:[n,function(e){this.milliseconds=10*+e;}],SSS:[/\d{3}/,function(e){this.milliseconds=+e;}],s:[r,a("seconds")],ss:[r,a("seconds")],m:[r,a("minutes")],mm:[r,a("minutes")],H:[r,a("hours")],h:[r,a("hours")],HH:[r,a("hours")],hh:[r,a("hours")],D:[r,a("day")],DD:[n,a("day")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r);}],M:[r,a("month")],MM:[n,a("month")],MMM:[i,function(e){var t=h("months"),n=(h("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n;}],MMMM:[i,function(e){var t=h("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t;}],Y:[/[+-]?\d+/,a("year")],YY:[n,function(e){this.year=s(e);}],YYYY:[/\d{4}/,a("year")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\[|\]$/g,"");}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if("string"==typeof i)r+=i.length;else {var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,"");}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon;}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if("string"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date("")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),o={};}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(""));}else i.call(this,e);};}}));
|
|
2536
|
-
}(customParseFormat$1));
|
|
2537
|
-
|
|
2538
|
-
const customParseFormat = customParseFormat$1.exports;
|
|
2539
|
-
|
|
2540
|
-
const nylasTimeWindowPickerCss = ":host{display:block;position:relative;--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}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times 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:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}";
|
|
2541
|
-
const NylasTimeWindowPickerStyle0 = nylasTimeWindowPickerCss;
|
|
2547
|
+
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}";
|
|
2548
|
+
const NylasParticipantsCustomAvailabilityStyle0 = nylasParticipantsCustomAvailabilityCss;
|
|
2542
2549
|
|
|
2543
|
-
|
|
2544
|
-
|
|
2550
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2551
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2552
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2553
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
2554
|
+
else
|
|
2555
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
2556
|
+
if (d = decorators[i])
|
|
2557
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2558
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2559
|
+
};
|
|
2560
|
+
var __metadata$1 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2561
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2562
|
+
return Reflect.metadata(k, v);
|
|
2563
|
+
};
|
|
2564
|
+
const NylasParticipantsCustomAvailability = class {
|
|
2545
2565
|
constructor(hostRef) {
|
|
2546
2566
|
registerInstance(this, hostRef);
|
|
2547
|
-
this.
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
this.minimumStartTime = null;
|
|
2551
|
-
this.placeholder = 'hh:mmam/pm';
|
|
2552
|
-
this.name = undefined;
|
|
2553
|
-
this.hasError = false;
|
|
2554
|
-
this.err = '';
|
|
2555
|
-
this.showTimes = false;
|
|
2556
|
-
this.ariaActivedescendant = '';
|
|
2557
|
-
this.times = this.generateTimes();
|
|
2558
|
-
this.shouldAutoScroll = false;
|
|
2559
|
-
}
|
|
2560
|
-
handleOutsideClick(event) {
|
|
2561
|
-
const path = event.composedPath();
|
|
2562
|
-
const isClickInside = path.includes(this.el);
|
|
2563
|
-
if (!isClickInside && this.showTimes) {
|
|
2564
|
-
this.showTimes = false;
|
|
2567
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
2568
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
2569
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
2565
2570
|
}
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
let formattedTime = dayjs()
|
|
2570
|
-
.hour(parseInt(this.minimumStartTime))
|
|
2571
|
-
.minute(parseInt(this.minimumStartTime.slice(-4, -2)));
|
|
2572
|
-
if (this.minimumStartTime.slice(-2).toLowerCase() === 'pm' && parseInt(this.minimumStartTime) !== 12) {
|
|
2573
|
-
formattedTime = formattedTime.add(12, 'hour');
|
|
2574
|
-
}
|
|
2575
|
-
else if (this.minimumStartTime.slice(-2).toLowerCase() === 'am' && parseInt(this.minimumStartTime) === 12) {
|
|
2576
|
-
formattedTime = formattedTime.subtract(12, 'hour');
|
|
2577
|
-
}
|
|
2578
|
-
this.times = this.generateTimes();
|
|
2579
|
-
const firstTime = dayjs(this.times[0].value, 'hh:mma');
|
|
2580
|
-
let selectedTimeFormatted = dayjs(this.time, 'hh:mma');
|
|
2581
|
-
if (selectedTimeFormatted.isBefore(firstTime)) {
|
|
2582
|
-
this.err = 'Invalid';
|
|
2583
|
-
this.formError.emit({
|
|
2584
|
-
key: this.el.id,
|
|
2585
|
-
message: 'Invalid',
|
|
2586
|
-
});
|
|
2587
|
-
}
|
|
2571
|
+
else {
|
|
2572
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
2573
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
2588
2574
|
}
|
|
2575
|
+
this.name = 'participant-custom-availability';
|
|
2576
|
+
this.participants = undefined;
|
|
2577
|
+
this.selectedParticipants = this.setParticipants(this.participants);
|
|
2589
2578
|
}
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
const optionIndex = this.times.findIndex(time => time.value === autocompletedTime);
|
|
2594
|
-
if (optionIndex > -1) {
|
|
2595
|
-
this.shouldAutoScroll = false;
|
|
2596
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2597
|
-
}
|
|
2598
|
-
return;
|
|
2599
|
-
}
|
|
2579
|
+
elementNameChangedHandler(newValue) {
|
|
2580
|
+
debug('nylas-participants-custom-availability', 'elementNameChangedHandler', newValue);
|
|
2581
|
+
this.host.setAttribute('name', newValue);
|
|
2600
2582
|
}
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
this.err = 'Invalid';
|
|
2605
|
-
this.formError.emit({
|
|
2606
|
-
key: this.el.id,
|
|
2607
|
-
message: 'Invalid',
|
|
2608
|
-
});
|
|
2609
|
-
}
|
|
2610
|
-
if (!validateTimeFormatInput(input)) {
|
|
2611
|
-
this.err = 'Invalid';
|
|
2612
|
-
this.formError.emit({
|
|
2613
|
-
key: this.el.id,
|
|
2614
|
-
message: 'Invalid',
|
|
2615
|
-
});
|
|
2616
|
-
}
|
|
2617
|
-
else {
|
|
2618
|
-
this.err = '';
|
|
2619
|
-
this.formError.emit({
|
|
2620
|
-
key: this.el.id,
|
|
2621
|
-
message: '',
|
|
2622
|
-
});
|
|
2623
|
-
}
|
|
2624
|
-
this.timeChange.emit({
|
|
2625
|
-
key: this.el.id,
|
|
2626
|
-
value: input,
|
|
2627
|
-
});
|
|
2583
|
+
participantsChangedHandler(newValue) {
|
|
2584
|
+
debug('nylas-participants-custom-availability', 'participantsChangedHandler', newValue);
|
|
2585
|
+
this.selectedParticipants = this.setParticipants(newValue);
|
|
2628
2586
|
}
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
if (!validateTimeFormatInput(input)) {
|
|
2632
|
-
this.err = 'Invalid';
|
|
2633
|
-
this.formError.emit({
|
|
2634
|
-
key: this.el.id,
|
|
2635
|
-
message: 'Invalid',
|
|
2636
|
-
});
|
|
2637
|
-
return;
|
|
2638
|
-
}
|
|
2639
|
-
if (input === '') {
|
|
2640
|
-
const newTime = roundToNearest15Minutes().format('hh:mma');
|
|
2641
|
-
this.timeChange.emit({
|
|
2642
|
-
key: this.el.id,
|
|
2643
|
-
value: newTime,
|
|
2644
|
-
});
|
|
2645
|
-
return;
|
|
2646
|
-
}
|
|
2647
|
-
if (!validateExactTimeFormat(input)) {
|
|
2648
|
-
const autocompletedTime = autocompleteTimeFormat(input);
|
|
2649
|
-
this.timeChange.emit({
|
|
2650
|
-
key: this.el.id,
|
|
2651
|
-
value: autocompletedTime,
|
|
2652
|
-
});
|
|
2653
|
-
return;
|
|
2654
|
-
}
|
|
2655
|
-
this.timeChange.emit({
|
|
2656
|
-
key: this.el.id,
|
|
2657
|
-
value: input,
|
|
2658
|
-
});
|
|
2587
|
+
connectedCallback() {
|
|
2588
|
+
debug('nylas-participants-custom-availability', 'connectedCallback');
|
|
2659
2589
|
}
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
if (!validateTimeFormatInput(input)) {
|
|
2663
|
-
return;
|
|
2664
|
-
}
|
|
2665
|
-
if (input === '') {
|
|
2666
|
-
const newTime = roundToNearest15Minutes().format('hh:mma');
|
|
2667
|
-
const optionIndex = this.times.findIndex(time => time.value === newTime);
|
|
2668
|
-
if (optionIndex > -1) {
|
|
2669
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2670
|
-
}
|
|
2671
|
-
return;
|
|
2672
|
-
}
|
|
2673
|
-
if (!validateExactTimeFormat(input)) {
|
|
2674
|
-
const autocompletedTime = autocompleteTimeFormat(input);
|
|
2675
|
-
const optionIndex = this.times.findIndex(time => time.value === autocompletedTime);
|
|
2676
|
-
if (optionIndex > -1) {
|
|
2677
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2678
|
-
}
|
|
2679
|
-
return;
|
|
2680
|
-
}
|
|
2590
|
+
disconnectedCallback() {
|
|
2591
|
+
debug('nylas-participants-custom-availability', 'disconnectedCallback');
|
|
2681
2592
|
}
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
let startTime = dayjs().set('hour', 0).set('minute', 0).set('second', 0);
|
|
2685
|
-
if (this.minimumStartTime) {
|
|
2686
|
-
startTime = dayjs(this.minimumStartTime, 'hh:mma');
|
|
2687
|
-
}
|
|
2688
|
-
const diff = startTime.endOf('day').diff(startTime, 'minutes');
|
|
2689
|
-
const iterations = Math.round(diff / 15);
|
|
2690
|
-
for (let i = 0; i < iterations + 1; i++) {
|
|
2691
|
-
const time = startTime.add(i * 15, 'minute');
|
|
2692
|
-
if (i == iterations && time.format('hh:mma').includes('am')) {
|
|
2693
|
-
break;
|
|
2694
|
-
}
|
|
2695
|
-
times.push({ id: i, value: time.format('hh:mma') });
|
|
2696
|
-
}
|
|
2697
|
-
return times;
|
|
2593
|
+
componentWillLoad() {
|
|
2594
|
+
debug('nylas-participants-custom-availability', 'componentWillLoad');
|
|
2698
2595
|
}
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
event.preventDefault();
|
|
2702
|
-
if (!this.showTimes) {
|
|
2703
|
-
this.showTimes = true;
|
|
2704
|
-
this.shouldAutoScroll = true;
|
|
2705
|
-
return;
|
|
2706
|
-
}
|
|
2707
|
-
if (this.ariaActivedescendant === '') {
|
|
2708
|
-
this.ariaActivedescendant = this.times[0].id.toString();
|
|
2709
|
-
this.focusOption(0);
|
|
2710
|
-
}
|
|
2711
|
-
else {
|
|
2712
|
-
const currentIndex = this.times.findIndex(time => time.id.toString() === this.ariaActivedescendant);
|
|
2713
|
-
const nextIndex = currentIndex + 1 < this.times.length ? currentIndex + 1 : 0;
|
|
2714
|
-
this.ariaActivedescendant = this.times[nextIndex].id.toString();
|
|
2715
|
-
this.focusOption(nextIndex);
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
else if (event.key === 'ArrowUp') {
|
|
2719
|
-
event.preventDefault();
|
|
2720
|
-
if (this.ariaActivedescendant === '') {
|
|
2721
|
-
this.ariaActivedescendant = this.times[this.times.length - 1].id.toString();
|
|
2722
|
-
this.focusOption(this.times.length - 1);
|
|
2723
|
-
}
|
|
2724
|
-
else {
|
|
2725
|
-
const currentIndex = this.times.findIndex(time => time.id.toString() === this.ariaActivedescendant);
|
|
2726
|
-
const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : this.times.length - 1;
|
|
2727
|
-
this.ariaActivedescendant = this.times[prevIndex].id.toString();
|
|
2728
|
-
this.focusOption(prevIndex);
|
|
2729
|
-
}
|
|
2730
|
-
}
|
|
2731
|
-
else if (event.key === 'Escape') {
|
|
2732
|
-
this.showTimes = false;
|
|
2733
|
-
this.timeInput.focus();
|
|
2734
|
-
}
|
|
2596
|
+
componentDidLoad() {
|
|
2597
|
+
debug('nylas-participants-custom-availability', 'componentDidLoad');
|
|
2735
2598
|
}
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
const nextIndex = currentIndex + 1 < items.length ? currentIndex + 1 : 0;
|
|
2742
|
-
this.ariaActivedescendant = items[nextIndex].id.toString();
|
|
2743
|
-
this.focusOption(nextIndex);
|
|
2744
|
-
}
|
|
2745
|
-
else if (e.key === 'ArrowUp' || (e.key === 'Tab' && e.shiftKey)) {
|
|
2746
|
-
e.preventDefault();
|
|
2747
|
-
const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : items.length - 1;
|
|
2748
|
-
this.ariaActivedescendant = items[prevIndex].id.toString();
|
|
2749
|
-
this.focusOption(prevIndex);
|
|
2750
|
-
}
|
|
2751
|
-
else if (e.key === 'Enter') {
|
|
2752
|
-
e.preventDefault();
|
|
2753
|
-
if (this.ariaActivedescendant) {
|
|
2754
|
-
const option = items[currentIndex];
|
|
2755
|
-
this.handleTimeChange(e, option.value);
|
|
2756
|
-
this.showTimes = false;
|
|
2757
|
-
this.ariaActivedescendant = '';
|
|
2758
|
-
this.timeInput.focus();
|
|
2759
|
-
}
|
|
2760
|
-
}
|
|
2761
|
-
else if (e.key === 'Escape') {
|
|
2762
|
-
this.showTimes = false;
|
|
2763
|
-
this.timeInput.focus();
|
|
2764
|
-
}
|
|
2599
|
+
nylasFormSwitchToggledHandler(event) {
|
|
2600
|
+
debug('nylas-participants-custom-availability', 'nylasFormSwitchToggledHandler', event.detail);
|
|
2601
|
+
this.selectedParticipants[event.detail.name]['isOpen'] = event.detail.checked;
|
|
2602
|
+
this.selectedParticipants[event.detail.name]['setCustom'] = event.detail.checked;
|
|
2603
|
+
this.selectedParticipants = { ...this.selectedParticipants };
|
|
2765
2604
|
}
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
const
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
const childRect = childElement.getBoundingClientRect();
|
|
2772
|
-
const parentRect = parentElement.getBoundingClientRect();
|
|
2773
|
-
if (childRect.top < parentRect.top) {
|
|
2774
|
-
parentElement.scrollTop -= parentRect.top - childRect.top;
|
|
2775
|
-
}
|
|
2776
|
-
else if (childRect.bottom > parentRect.bottom) {
|
|
2777
|
-
parentElement.scrollTop += childRect.bottom - parentRect.bottom;
|
|
2605
|
+
handleValueChanged(event) {
|
|
2606
|
+
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
2607
|
+
const { name, value } = event.detail;
|
|
2608
|
+
if (!name.startsWith('participant-')) {
|
|
2609
|
+
return;
|
|
2778
2610
|
}
|
|
2779
|
-
if (
|
|
2780
|
-
|
|
2611
|
+
if (!this.participantFormRef.checkValidity()) {
|
|
2612
|
+
this.internals.setValidity({ customError: true }, 'Please fix the overlapping time ranges.');
|
|
2613
|
+
return;
|
|
2781
2614
|
}
|
|
2782
|
-
else
|
|
2783
|
-
|
|
2615
|
+
else {
|
|
2616
|
+
this.internals.setValidity({});
|
|
2784
2617
|
}
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
if (!option)
|
|
2618
|
+
const jsonValue = JSON.parse(value);
|
|
2619
|
+
const key = name.split('-')[2];
|
|
2620
|
+
if (!this.selectedParticipants[key])
|
|
2789
2621
|
return;
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
}
|
|
2622
|
+
this.selectedParticipants[key]['openHours'] = jsonValue.openHours;
|
|
2623
|
+
this.selectedParticipants = { ...this.selectedParticipants };
|
|
2624
|
+
const participantOpenHours = {};
|
|
2625
|
+
this.participants.forEach(participant => {
|
|
2626
|
+
participantOpenHours[participant.email] = this.selectedParticipants[participant.email].openHours;
|
|
2627
|
+
});
|
|
2628
|
+
this.internals.setFormValue(JSON.stringify(participantOpenHours), this.name);
|
|
2629
|
+
this.valueChanged.emit({ value: JSON.stringify(participantOpenHours), name: this.name });
|
|
2630
|
+
}
|
|
2631
|
+
setParticipants(participants) {
|
|
2632
|
+
const selectedParticipants = {};
|
|
2633
|
+
participants.forEach(participant => {
|
|
2634
|
+
const isOpen = participant.is_organizer ? true : false;
|
|
2635
|
+
selectedParticipants[participant.email] = {
|
|
2636
|
+
isOpen: isOpen,
|
|
2637
|
+
setCustom: !!participant.availability?.open_hours ? true : false,
|
|
2638
|
+
openHours: participant.availability?.open_hours || [],
|
|
2639
|
+
name: participant.name || participant.email,
|
|
2640
|
+
availability: participant.availability,
|
|
2641
|
+
};
|
|
2642
|
+
});
|
|
2643
|
+
return selectedParticipants;
|
|
2796
2644
|
}
|
|
2797
2645
|
render() {
|
|
2798
|
-
return (h(Host, { key: '
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
this.timeInput.focus();
|
|
2810
|
-
}, role: "option" }, `${option.value}`)))))), !this.showTimes && this.err && (h("p", { class: "error", id: "email-error" }, this.err)))));
|
|
2646
|
+
return (h(Host, { key: '051df44e8bf6bab14cfbccb0a3c5f920993cbae9' }, h("div", { key: '128d044cb2bbee76d695d6f5d4bc38a211d06360', class: "nylas-participants-custom-availability", part: "npca" }, h("div", { key: 'ed326c442f9663b0613e5cf62a31aabf5fa1034d', class: "header", part: "npca__header" }, h("h3", { key: '10994aace54d17110ab2e70fc82a5c11231b5a23' }, "Set Custom Availability for Participants"), h("p", { key: '6df3bc37aec02f5a4468f6c6515c6de2c696e817' }, "Set custom availability for scheduling meetings, or default to general availability.")), h("div", { key: 'e1e67385b15430e8a7eb6d8411f9b87742621969', class: "content", part: "npca__content" }, h("form", { key: '589df249c050b132dc8da5b3ef7e58fa829ae300', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index) => {
|
|
2647
|
+
const participant = this.selectedParticipants[key];
|
|
2648
|
+
if (!participant || !participant.name || !participant.availability)
|
|
2649
|
+
return;
|
|
2650
|
+
return (h("div", { class: "participant-container", part: "npca__participant-container", key: `participant-conatiner-${index}` }, h("div", { class: "participant-title", part: "npca__participant-title" }, h("p", null, "Set ", participant.name, "'s custom availability"), h("div", { class: "participant-toggle", part: "npca__participant-toggle--container" }, h("toggle-switch", { exportparts: "ts_label: npca__toggle-label, ts_input: npca_toggle-input, ts_slider: npca_toggle-slider", name: key, checked: !!participant.openHours && participant.openHours.length > 0 }), h("span", { class: `chevron ${participant.isOpen ? 'open' : 'closed'} ${participant.setCustom ? '' : 'disabled'}`, onClick: () => {
|
|
2651
|
+
if (!participant.setCustom)
|
|
2652
|
+
return;
|
|
2653
|
+
this.selectedParticipants[key].isOpen = !participant.isOpen;
|
|
2654
|
+
this.selectedParticipants = { ...this.selectedParticipants };
|
|
2655
|
+
} }, h("chevron-icon", { width: "24", height: "24" })))), participant.isOpen && (h("nylas-availability-picker", { key: index, name: `participant-${index}-${key}`, openHours: participant.openHours, defaultTimezone: participant.openHours?.[0]?.timezone, hideHeader: true }))));
|
|
2656
|
+
}))))));
|
|
2811
2657
|
}
|
|
2812
|
-
get
|
|
2658
|
+
static get formAssociated() { return true; }
|
|
2659
|
+
get host() { return getElement(this); }
|
|
2813
2660
|
static get watchers() { return {
|
|
2814
|
-
"
|
|
2661
|
+
"name": ["elementNameChangedHandler"],
|
|
2662
|
+
"participants": ["participantsChangedHandler"]
|
|
2815
2663
|
}; }
|
|
2816
2664
|
};
|
|
2817
|
-
|
|
2665
|
+
__decorate$1([
|
|
2666
|
+
RegisterComponent({
|
|
2667
|
+
name: 'nylas-participants-custom-availability',
|
|
2668
|
+
eventToProps: {},
|
|
2669
|
+
fireRegisterEvent: true,
|
|
2670
|
+
}),
|
|
2671
|
+
__metadata$1("design:type", Function),
|
|
2672
|
+
__metadata$1("design:paramtypes", []),
|
|
2673
|
+
__metadata$1("design:returntype", void 0)
|
|
2674
|
+
], NylasParticipantsCustomAvailability.prototype, "render", null);
|
|
2675
|
+
NylasParticipantsCustomAvailability.style = NylasParticipantsCustomAvailabilityStyle0;
|
|
2818
2676
|
|
|
2819
2677
|
const nylasTimeslotIntervalCss = ":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-timeslot-interval{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-timeslot-interval .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-timeslot-interval .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-timeslot-interval .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-timeslot-interval .nylas-timeslot-interval__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown span.label tooltip-component{display:flex}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown{margin-bottom:1.5rem}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-timeslot-interval .nylas-timeslot-interval__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-timeslot-interval .nylas-timeslot-interval__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}";
|
|
2820
2678
|
const NylasTimeslotIntervalStyle0 = nylasTimeslotIntervalCss;
|
|
@@ -2942,9 +2800,9 @@ const NylasTimeslotInterval = class {
|
|
|
2942
2800
|
{ value: '45', label: '45 mins' },
|
|
2943
2801
|
{ value: '60', label: '60 mins' },
|
|
2944
2802
|
];
|
|
2945
|
-
return (h(Host, { key: '
|
|
2803
|
+
return (h(Host, { key: 'ebad4dc8f82dc565f4608c262d54f06495a69144' }, h("div", { key: '46641f5cd23afc527d14c57fa62fe2627d1a92f5', class: "nylas-timeslot-interval", part: "nti" }, h("div", { key: '729c8356b955ba357bd00f3cdf28c51bb42b741d', class: "header", part: "nti__header" }, h("h3", { key: '348543e170e107ea65c74a6154739627e7c4a271' }, "Time-slot interval preferences"), h("p", { key: '1cf34b79990edef1950d6c970932e5e0805e6d0a' }, "Choose your interval preference for time-slots.")), h("div", { key: '965fe8f8e235f9696bc237bc7774ca6fdea2cd42', class: "nylas-timeslot-interval__dropdown" }, h("span", { key: '6346e2f31c9322cc3264885f362ce2b29c4a4c2e', class: "label", part: "nti__input-label" }, "Select interval preference", h("tooltip-component", { key: '27901960cae97d4809153aac5d427c8c2ff7bf1e' }, h("info-icon", { key: '94c81d2c169da3714d2a1955da0fbe542b688fb6', slot: "tooltip-icon" }), h("span", { key: '6e8660e7696c16d81214d97e5e2087579f9fa1bd', slot: "tooltip-content" }, "Set the interval preference for the time-slots."))), h("select-dropdown", { key: '49b886894bb4d405ed13578809609511830389f1', name: "booking-calendar", options: intervalPreferenceOptions, withSearch: false, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: this.defaultIntervalMinutes == this.eventDurationMinutes
|
|
2946
2804
|
? intervalPreferenceOptions[0]
|
|
2947
|
-
: intervalPreferenceOptions.find(op => op.value == this.defaultIntervalMinutes.toString()) ?? intervalPreferenceOptions[0] }), h("span", { key: '
|
|
2805
|
+
: intervalPreferenceOptions.find(op => op.value == this.defaultIntervalMinutes.toString()) ?? intervalPreferenceOptions[0] }), h("span", { key: '40079758106c1e7075b247f81a3bc30e11eb1138', class: "label", part: "nti__input-label" }, "Select the type of time-slot rounding", h("tooltip-component", { key: 'c1a1b86a732439b5474be36a1eb67d0a1fabe52c' }, h("info-icon", { key: '9e185781f8def48475c5f65cff916e5be6423b72', slot: "tooltip-icon" }), h("span", { key: 'df108083daab268e8980194ebff8485c945aab1c', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), h("radio-button-group", { key: 'eb4c58b028ac0e2dd0468c30c1839558ae57178a', name: "interval-preference", defaultSelectedValue: this.defaultRoundTo && this.defaultRoundTo === this.defaultIntervalMinutes ? 'rounding' : 'no-rounding', options: [
|
|
2948
2806
|
{ value: 'no-rounding', label: 'Default', description: 'Time-slots will be rounded to the nearest quarter-hour.' },
|
|
2949
2807
|
{
|
|
2950
2808
|
value: 'rounding',
|
|
@@ -2982,7 +2840,7 @@ const PeopleIcon = class {
|
|
|
2982
2840
|
this.height = '20';
|
|
2983
2841
|
}
|
|
2984
2842
|
render() {
|
|
2985
|
-
return (h("svg", { key: '
|
|
2843
|
+
return (h("svg", { key: '4a54f616162baf613895348e27cafd2088f5fd16', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, h("path", { key: '80e1ca7240235b635a08369ba836e727825b7be4', 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" })));
|
|
2986
2844
|
}
|
|
2987
2845
|
};
|
|
2988
2846
|
PeopleIcon.style = PeopleIconStyle0;
|
|
@@ -3007,11 +2865,40 @@ const RadioButtonGroup = class {
|
|
|
3007
2865
|
});
|
|
3008
2866
|
}
|
|
3009
2867
|
render() {
|
|
3010
|
-
return (h("div", { key: '
|
|
2868
|
+
return (h("div", { key: '82c0a38507193f6e941c820c38f9e5c477dc14dc', class: "radio-group" }, this.options.map(option => (h("label", null, h("div", { class: "radio-option" }, h("input", { type: "radio", name: this.name, value: option.value, checked: this.selectedValue === option.value, onChange: () => this.handleChange(option.value) }), h("p", null, h("span", { class: "title" }, option.label), h("span", { class: "description" }, option.description))))))));
|
|
3011
2869
|
}
|
|
3012
2870
|
};
|
|
3013
2871
|
RadioButtonGroup.style = RadioButtonGroupStyle0;
|
|
3014
2872
|
|
|
3015
|
-
|
|
2873
|
+
const toggleSwitchCss = ".switch{--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;display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-400);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-0);bottom:4px;content:\"\";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}";
|
|
2874
|
+
const ToggleSwitchStyle0 = toggleSwitchCss;
|
|
2875
|
+
|
|
2876
|
+
const ToggleSwitchComponent = class {
|
|
2877
|
+
constructor(hostRef) {
|
|
2878
|
+
registerInstance(this, hostRef);
|
|
2879
|
+
this.nylasFormSwitchToggled = createEvent(this, "nylasFormSwitchToggled", 7);
|
|
2880
|
+
this.name = 'toggle-switch';
|
|
2881
|
+
this.checked = false;
|
|
2882
|
+
this.label = '';
|
|
2883
|
+
this.isChecked = this.checked;
|
|
2884
|
+
}
|
|
2885
|
+
componentWillLoad() {
|
|
2886
|
+
this.isChecked = this.checked;
|
|
2887
|
+
}
|
|
2888
|
+
toggleCheck() {
|
|
2889
|
+
this.isChecked = !this.isChecked;
|
|
2890
|
+
this.nylasFormSwitchToggled.emit({
|
|
2891
|
+
checked: this.isChecked,
|
|
2892
|
+
name: this.name,
|
|
2893
|
+
label: this.label,
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2896
|
+
render() {
|
|
2897
|
+
return (h("label", { key: 'a0da5f3c6cac6310e9368ec4a5ed737decd04b5b', class: "switch", part: "ts_label" }, h("input", { key: '89e844d8135eadd471b960910794143ab1699afb', type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("div", { key: '19e8cea0befc42520c775555c8de96ac83d1612d', class: "slider round", part: "ts_slider" })));
|
|
2898
|
+
}
|
|
2899
|
+
};
|
|
2900
|
+
ToggleSwitchComponent.style = ToggleSwitchStyle0;
|
|
2901
|
+
|
|
2902
|
+
export { CalendarInfoIcon as calendar_info_icon, CalendarPatternsIcon as calendar_patterns_icon, CheckboxComponent as checkbox_component, FlowIcon as flow_icon, LocationIcon as location_icon, LocationOffIcon as location_off_icon, MultiSelectDropdown as multi_select_dropdown, NylasAdditionalParticipants as nylas_additional_participants, NylasAvailabilityPicker as nylas_availability_picker, NylasBookingCalendarPicker as nylas_booking_calendar_picker, NylasBufferTime as nylas_buffer_time, NylasCalendarPicker as nylas_calendar_picker, NylasCancellationPolicy as nylas_cancellation_policy, 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, NylasLimitFutureBookings as nylas_limit_future_bookings, NylasMinBookingNotice as nylas_min_booking_notice, NylasMinCancellationNotice as nylas_min_cancellation_notice, NylasParticipantsCustomAvailability as nylas_participants_custom_availability, NylasTimeslotInterval as nylas_timeslot_interval, PeopleIcon as people_icon, RadioButtonGroup as radio_button_group, ToggleSwitchComponent as toggle_switch };
|
|
3016
2903
|
|
|
3017
|
-
//# sourceMappingURL=calendar-info-
|
|
2904
|
+
//# sourceMappingURL=calendar-info-icon_28.entry.js.map
|