@nylas/web-elements 1.1.0-canary.15 → 1.1.0-canary.17
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 +11 -18
- package/dist/cjs/add-circle-icon_2.cjs.entry.js.map +1 -1
- 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_25.cjs.entry.js → calendar-info-icon_28.cjs.entry.js} +419 -397
- 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 +4 -4
- 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 +101 -78
- 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 +12 -20
- package/dist/cjs/index-c14ea8f5.js +22 -18
- 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 +21 -4
- package/dist/cjs/input-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +22 -5
- 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 +38 -14
- 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 +6 -6
- 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-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancel-booking-form.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-customize-booking-settings.cjs.entry.js +4 -4
- package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +99 -76
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
- package/dist/cjs/nylas-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
- package/dist/cjs/nylas-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 +2 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +4 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +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/{scheduler-config-store-a5b7c08b.js → scheduler-config-store-0266631b.js} +2 -1
- package/dist/cjs/scheduler-config-store-0266631b.js.map +1 -0
- package/dist/cjs/{scheduler-config-store-918c20d5.js → scheduler-config-store-9f19c7a9.js} +2 -1
- package/dist/cjs/scheduler-config-store-9f19c7a9.js.map +1 -0
- package/dist/cjs/scheduler-store-0f7328f1.js.map +1 -1
- package/dist/cjs/scheduler-store-743ed238.js.map +1 -1
- package/dist/cjs/search-icon.cjs.entry.js +1 -1
- package/dist/cjs/select-dropdown.cjs.entry.js +2 -2
- 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 +40 -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 +2 -2
- 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-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +2 -2
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +2 -2
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +1 -1
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.css +1 -0
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.css +20 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +83 -13
- 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-customize-booking-settings/nylas-customize-booking-settings.js +5 -5
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +95 -76
- 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 +2 -0
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +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 +26 -3
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
- package/dist/collection/stores/scheduler-config-store.js +1 -0
- package/dist/collection/stores/scheduler-config-store.js.map +1 -1
- package/dist/collection/stores/scheduler-store.js.map +1 -1
- 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 +24 -5
- 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-participants.js +1 -127
- package/dist/components/nylas-additional-participants.js.map +1 -1
- package/dist/components/nylas-additional-participants2.js +168 -0
- package/dist/components/nylas-additional-participants2.js.map +1 -0
- 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-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.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-customize-booking-settings2.js +4 -4
- package/dist/components/nylas-customize-booking-settings2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +197 -150
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-if-state.js +1 -1
- package/dist/components/nylas-list-folders.js +1 -1
- package/dist/components/nylas-list-threads.js +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/components/nylas-mailbox.js +1 -1
- package/dist/components/nylas-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 +112 -85
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +1 -1
- package/dist/components/nylas-scheduling.js.map +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-icon.js +1 -32
- package/dist/components/people-icon.js.map +1 -1
- package/dist/components/people.js +36 -0
- package/dist/components/people.js.map +1 -0
- 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/scheduler-config-store.js +1 -0
- package/dist/components/scheduler-config-store.js.map +1 -1
- package/dist/components/scheduler-store.js.map +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +2 -2
- 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 +2 -2
- package/dist/esm/add-circle-icon_2.entry.js +11 -18
- package/dist/esm/add-circle-icon_2.entry.js.map +1 -1
- package/dist/esm/archive-icon.entry.js +2 -2
- package/dist/esm/archive-icon_7.entry.js +7 -7
- package/dist/esm/arrow-icon.entry.js +2 -2
- package/dist/esm/bold-icon.entry.js +2 -2
- package/dist/esm/bold-icon_3.entry.js +3 -3
- package/dist/esm/button-component.entry.js +2 -2
- package/dist/esm/calendar-cancel-icon.entry.js +2 -2
- package/dist/esm/calendar-check-icon.entry.js +2 -2
- package/dist/esm/calendar-check-icon_2.entry.js +2 -2
- package/dist/esm/calendar-icon.entry.js +2 -2
- package/dist/esm/calendar-info-icon.entry.js +2 -2
- package/dist/esm/{calendar-info-icon_25.entry.js → calendar-info-icon_28.entry.js} +417 -398
- package/dist/esm/calendar-info-icon_28.entry.js.map +1 -0
- package/dist/esm/calendar-patterns-icon.entry.js +2 -2
- package/dist/esm/checkbox-component.entry.js +2 -2
- package/dist/esm/checkbox-component.entry.js.map +1 -1
- package/dist/esm/checkmark-circle-icon.entry.js +2 -2
- package/dist/esm/chevron-icon.entry.js +2 -2
- package/dist/esm/chevron-icon_3.entry.js +4 -4
- package/dist/esm/clock-icon.entry.js +2 -2
- package/dist/esm/clock-icon_2.entry.js +2 -2
- package/dist/esm/close-icon.entry.js +2 -2
- package/dist/esm/document-refresh-icon.entry.js +2 -2
- package/dist/esm/flow-icon.entry.js +2 -2
- package/dist/esm/folder-icon.entry.js +2 -2
- package/dist/esm/forward-icon.entry.js +2 -2
- package/dist/esm/forward-icon_6.entry.js +7 -7
- package/dist/esm/globe-icon.entry.js +2 -2
- package/dist/esm/google-logo-icon.entry.js +2 -2
- package/dist/esm/google-logo-icon_4.entry.js +101 -78
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/inbox-icon.entry.js +2 -2
- package/dist/esm/{index-11d12497.js → index-2c7e4f4b.js} +2 -2
- package/dist/esm/{index-11d12497.js.map → index-2c7e4f4b.js.map} +1 -1
- package/dist/esm/{index-8362ce5c.js → index-582cfc93.js} +24 -20
- package/dist/esm/{index-8362ce5c.js.map → index-582cfc93.js.map} +1 -1
- package/dist/esm/index-7cb0dd3d.js +12 -20
- package/dist/{nylas-web-elements/index.es-896126fc.js → esm/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 +4 -4
- package/dist/esm/info-icon.entry.js +2 -2
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-component.entry.js +2 -2
- package/dist/esm/input-dropdown.entry.js +22 -5
- package/dist/esm/input-dropdown.entry.js.map +1 -1
- package/dist/esm/input-dropdown_2.entry.js +22 -5
- package/dist/esm/input-dropdown_2.entry.js.map +1 -1
- package/dist/esm/italic-icon.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loading-icon.entry.js +2 -2
- package/dist/esm/location-icon.entry.js +2 -2
- package/dist/esm/location-off-icon.entry.js +2 -2
- package/dist/esm/{mailbox-store-11fa8387.js → mailbox-store-94133e15.js} +4 -4
- package/dist/esm/{mailbox-store-11fa8387.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/esm/microsoft-logo-icon.entry.js +2 -2
- package/dist/esm/multi-select-dropdown.entry.js +4 -4
- package/dist/esm/nylas-additional-participants.entry.js +41 -17
- 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 +30 -19
- package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card.entry.js +3 -3
- package/dist/esm/nylas-booked-event-card_10.entry.js +6 -6
- package/dist/esm/nylas-booked-event-card_10.entry.js.map +1 -1
- package/dist/esm/nylas-booking-calendar-picker.entry.js +3 -3
- package/dist/esm/nylas-booking-form.entry.js +5 -5
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-buffer-time.entry.js +3 -3
- package/dist/esm/nylas-calendar-picker.entry.js +3 -3
- package/dist/esm/nylas-cancel-booking-form.entry.js +4 -4
- package/dist/esm/nylas-cancellation-policy.entry.js +3 -3
- package/dist/esm/nylas-cancelled-event-card.entry.js +4 -4
- package/dist/esm/nylas-composer.entry.js +3 -3
- package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/esm/nylas-customize-booking-settings.entry.js +7 -7
- package/dist/esm/nylas-customize-booking-settings.entry.js.map +1 -1
- package/dist/esm/nylas-date-picker.entry.js +3 -3
- package/dist/esm/nylas-editor-tabs.entry.js +102 -79
- 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 +3 -3
- package/dist/esm/nylas-event-title.entry.js +3 -3
- package/dist/esm/nylas-form-card.entry.js +3 -3
- package/dist/esm/nylas-if-state.entry.js +4 -4
- package/dist/esm/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/esm/nylas-list-configurations.entry.js +3 -3
- package/dist/esm/nylas-list-folders.entry.js +4 -4
- package/dist/esm/nylas-list-threads.entry.js +4 -4
- package/dist/esm/nylas-locale-switch.entry.js +3 -3
- package/dist/esm/nylas-login.entry.js +4 -4
- package/dist/esm/nylas-logo.entry.js +2 -2
- package/dist/esm/nylas-mailbox-pagination.entry.js +3 -3
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +4 -4
- package/dist/esm/nylas-mailbox.entry.js +6 -6
- 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 +3 -3
- 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 +8 -8
- package/dist/esm/nylas-scheduler-editor.entry.js +9 -7
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +6 -6
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-selected-event-card.entry.js +3 -3
- package/dist/esm/nylas-summarize-message-button.entry.js +5 -5
- package/dist/esm/nylas-threads-refresh.entry.js +5 -5
- package/dist/esm/nylas-threads-search.entry.js +4 -4
- package/dist/esm/nylas-time-window-picker.entry.js +3 -3
- package/dist/esm/nylas-timeslot-interval.entry.js +5 -5
- package/dist/esm/nylas-timeslot-picker.entry.js +3 -3
- package/dist/esm/nylas-view-email.entry.js +3 -3
- package/dist/esm/nylas-view-thread.entry.js +4 -4
- package/dist/esm/nylas-web-elements.js +3 -3
- package/dist/esm/people-icon.entry.js +2 -2
- package/dist/esm/person-icon.entry.js +2 -2
- package/dist/esm/play-icon.entry.js +2 -2
- package/dist/esm/play-icon_2.entry.js +2 -2
- package/dist/esm/radio-button-group.entry.js +2 -2
- package/dist/esm/refresh-icon.entry.js +2 -2
- package/dist/esm/{register-component-8e4e394f.js → register-component-aef40ec4.js} +3 -3
- package/dist/esm/{register-component-8e4e394f.js.map → register-component-aef40ec4.js.map} +1 -1
- package/dist/esm/reply-all-icon.entry.js +2 -2
- package/dist/esm/reply-icon.entry.js +2 -2
- package/dist/esm/{scheduler-config-store-ec3b6190.js → scheduler-config-store-4a50a03d.js} +2 -1
- package/dist/esm/scheduler-config-store-4a50a03d.js.map +1 -0
- package/dist/{nylas-web-elements/scheduler-config-store-8ccc8dc7.js → esm/scheduler-config-store-f20845ad.js} +3 -2
- package/dist/esm/scheduler-config-store-f20845ad.js.map +1 -0
- package/dist/{nylas-web-elements/scheduler-store-c3af2560.js → esm/scheduler-store-6c4866d6.js} +3 -3
- package/dist/esm/{scheduler-store-c3af2560.js.map → scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/esm/scheduler-store-f02ce045.js.map +1 -1
- package/dist/esm/search-icon.entry.js +2 -2
- package/dist/esm/select-dropdown.entry.js +3 -3
- package/dist/esm/sent-icon.entry.js +2 -2
- package/dist/esm/spam-icon.entry.js +2 -2
- package/dist/esm/star-icon.entry.js +2 -2
- package/dist/esm/stop-icon.entry.js +2 -2
- package/dist/esm/textarea-component.entry.js +2 -2
- package/dist/esm/time-period-selector.entry.js +3 -3
- package/dist/esm/toggle-switch.entry.js +2 -2
- package/dist/esm/toggle-switch.entry.js.map +1 -1
- package/dist/esm/tooltip-component.entry.js +2 -2
- package/dist/esm/translate-icon.entry.js +2 -2
- package/dist/esm/trash-icon.entry.js +2 -2
- package/dist/esm/underline-icon.entry.js +2 -2
- package/dist/esm/{utils-49a1d17b.js → 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 +2 -2
- package/dist/nylas-web-elements/add-circle-icon.entry.js +2 -2
- package/dist/nylas-web-elements/archive-icon.entry.js +2 -2
- package/dist/nylas-web-elements/arrow-icon.entry.js +2 -2
- package/dist/nylas-web-elements/bold-icon.entry.js +2 -2
- package/dist/nylas-web-elements/button-component.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-check-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-info-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +2 -2
- package/dist/nylas-web-elements/checkbox-component.entry.js +2 -2
- package/dist/nylas-web-elements/checkbox-component.entry.js.map +1 -1
- package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +2 -2
- package/dist/nylas-web-elements/chevron-icon.entry.js +2 -2
- package/dist/nylas-web-elements/clock-icon.entry.js +2 -2
- package/dist/nylas-web-elements/close-icon.entry.js +2 -2
- package/dist/nylas-web-elements/document-refresh-icon.entry.js +2 -2
- package/dist/nylas-web-elements/flow-icon.entry.js +2 -2
- package/dist/nylas-web-elements/folder-icon.entry.js +2 -2
- package/dist/nylas-web-elements/forward-icon.entry.js +2 -2
- package/dist/nylas-web-elements/globe-icon.entry.js +2 -2
- package/dist/nylas-web-elements/google-logo-icon.entry.js +2 -2
- package/dist/nylas-web-elements/inbox-icon.entry.js +2 -2
- package/dist/nylas-web-elements/{index-11d12497.js → index-2c7e4f4b.js} +2 -2
- package/dist/nylas-web-elements/{index-11d12497.js.map → index-2c7e4f4b.js.map} +1 -1
- package/dist/nylas-web-elements/{index-8362ce5c.js → index-582cfc93.js} +2 -2
- package/dist/nylas-web-elements/{index-8362ce5c.js.map → index-582cfc93.js.map} +1 -1
- package/dist/{esm/index.es-896126fc.js → nylas-web-elements/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 +4 -4
- package/dist/nylas-web-elements/info-icon.entry.js +2 -2
- package/dist/nylas-web-elements/input-component.entry.js +2 -2
- package/dist/nylas-web-elements/input-dropdown.entry.js +22 -5
- package/dist/nylas-web-elements/input-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/italic-icon.entry.js +2 -2
- package/dist/nylas-web-elements/loading-icon.entry.js +2 -2
- package/dist/nylas-web-elements/location-icon.entry.js +2 -2
- package/dist/nylas-web-elements/location-off-icon.entry.js +2 -2
- package/dist/nylas-web-elements/{mailbox-store-11fa8387.js → mailbox-store-94133e15.js} +4 -4
- package/dist/nylas-web-elements/{mailbox-store-11fa8387.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +2 -2
- package/dist/nylas-web-elements/multi-select-dropdown.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js +41 -17
- 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 +30 -19
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-buffer-time.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-composer.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +7 -7
- package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-date-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +102 -79
- 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 +3 -3
- package/dist/nylas-web-elements/nylas-event-title.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-form-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-if-state.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-configurations.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-folders.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-list-threads.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-login.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-logo.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-mailbox.entry.js +6 -6
- 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 +3 -3
- 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 +8 -8
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +9 -7
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +6 -6
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-threads-search.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-view-email.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-view-thread.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +3 -3
- package/dist/nylas-web-elements/{p-e4a7746d.entry.js → p-012cb022.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b9064de4.entry.js → p-017f2538.entry.js} +2 -2
- package/dist/nylas-web-elements/p-05833164.entry.js +2 -0
- package/dist/nylas-web-elements/p-05833164.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-086746ee.entry.js +2 -0
- package/dist/nylas-web-elements/p-086746ee.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-0919bbbe.entry.js +2 -0
- package/dist/nylas-web-elements/{p-da21471c.entry.js → p-13eb1a05.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-deafc6bc.entry.js → p-1569f74f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6e888067.entry.js → p-23c143f6.entry.js} +2 -2
- package/dist/nylas-web-elements/p-2743621d.entry.js +2 -0
- package/dist/nylas-web-elements/p-2743621d.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-29938263.js +2 -0
- package/dist/nylas-web-elements/p-29938263.js.map +1 -0
- package/dist/nylas-web-elements/{p-afd34a25.entry.js → p-2f656fb3.entry.js} +3 -3
- package/dist/nylas-web-elements/p-2f656fb3.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-a7dd4c24.entry.js → p-30144ca0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-11f94952.entry.js → p-336631dd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-43bfaa93.entry.js +2 -0
- package/dist/nylas-web-elements/{p-120d2c72.entry.js → p-4e48846a.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4b84ab3f.entry.js → p-5fd52ecd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-62cf46ee.entry.js +2 -0
- package/dist/nylas-web-elements/{p-32682655.entry.js → p-672f1951.entry.js} +2 -2
- package/dist/nylas-web-elements/p-823c8aa2.js.map +1 -1
- package/dist/nylas-web-elements/{p-ace74b9d.entry.js → p-84c53084.entry.js} +2 -2
- package/dist/nylas-web-elements/p-8c1a5e57.entry.js +2 -0
- package/dist/nylas-web-elements/p-8c1a5e57.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-8eddadb3.entry.js +2 -0
- package/dist/nylas-web-elements/{p-0dbc0c01.entry.js.map → p-8eddadb3.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-938d4ec9.entry.js +2 -0
- package/dist/nylas-web-elements/{p-fbac3865.entry.js.map → p-938d4ec9.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-6891ad5d.entry.js → p-a118f20c.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-24082558.entry.js → p-a5dbdc8e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4fdc6122.entry.js → p-a7640232.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-27db7b0b.entry.js → p-ad93d3bd.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js → p-b3d46e08.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4b1466b3.entry.js → p-b443f769.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c8c737ed.entry.js → p-c1df61d0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-395f49eb.entry.js → p-cc67e6a8.entry.js} +2 -2
- package/dist/nylas-web-elements/p-d1d984c5.entry.js +2 -0
- package/dist/nylas-web-elements/p-d1d984c5.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-98a2f588.entry.js → p-d9a145a5.entry.js} +2 -2
- package/dist/nylas-web-elements/p-dcb497d4.entry.js +2 -0
- package/dist/nylas-web-elements/p-dcb497d4.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-ec26560f.entry.js → p-e9c1e983.entry.js} +2 -2
- package/dist/nylas-web-elements/p-e9f7d494.entry.js +2 -0
- package/dist/nylas-web-elements/{p-53da3000.entry.js.map → p-e9f7d494.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-f1e9ed6b.entry.js +2 -0
- package/dist/nylas-web-elements/p-f1e9ed6b.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-f8e0164c.entry.js +2 -0
- package/dist/nylas-web-elements/p-f8e0164c.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-84529d9b.entry.js → p-fbfa3a7d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d5146511.entry.js → p-fd8e29e6.entry.js} +2 -2
- package/dist/nylas-web-elements/people-icon.entry.js +2 -2
- package/dist/nylas-web-elements/person-icon.entry.js +2 -2
- package/dist/nylas-web-elements/play-icon.entry.js +2 -2
- package/dist/nylas-web-elements/radio-button-group.entry.js +2 -2
- package/dist/nylas-web-elements/refresh-icon.entry.js +2 -2
- package/dist/nylas-web-elements/{register-component-8e4e394f.js → register-component-aef40ec4.js} +3 -3
- package/dist/nylas-web-elements/{register-component-8e4e394f.js.map → register-component-aef40ec4.js.map} +1 -1
- package/dist/nylas-web-elements/reply-all-icon.entry.js +2 -2
- package/dist/nylas-web-elements/reply-icon.entry.js +2 -2
- package/dist/{esm/scheduler-config-store-8ccc8dc7.js → nylas-web-elements/scheduler-config-store-f20845ad.js} +3 -2
- package/dist/nylas-web-elements/scheduler-config-store-f20845ad.js.map +1 -0
- package/dist/{esm/scheduler-store-c3af2560.js → nylas-web-elements/scheduler-store-6c4866d6.js} +3 -3
- package/dist/nylas-web-elements/{scheduler-store-c3af2560.js.map → scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/nylas-web-elements/search-icon.entry.js +2 -2
- package/dist/nylas-web-elements/select-dropdown.entry.js +3 -3
- package/dist/nylas-web-elements/sent-icon.entry.js +2 -2
- package/dist/nylas-web-elements/spam-icon.entry.js +2 -2
- package/dist/nylas-web-elements/star-icon.entry.js +2 -2
- package/dist/nylas-web-elements/stop-icon.entry.js +2 -2
- package/dist/nylas-web-elements/textarea-component.entry.js +2 -2
- package/dist/nylas-web-elements/time-period-selector.entry.js +3 -3
- package/dist/nylas-web-elements/toggle-switch.entry.js +2 -2
- package/dist/nylas-web-elements/toggle-switch.entry.js.map +1 -1
- package/dist/nylas-web-elements/tooltip-component.entry.js +2 -2
- package/dist/nylas-web-elements/translate-icon.entry.js +2 -2
- package/dist/nylas-web-elements/trash-icon.entry.js +2 -2
- package/dist/nylas-web-elements/underline-icon.entry.js +2 -2
- package/dist/nylas-web-elements/{utils-49a1d17b.js → 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 +2 -2
- package/dist/types/components/design-system/input-dropdown/input-dropdown.d.ts +3 -0
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +16 -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/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.d.ts +2 -0
- package/dist/types/components.d.ts +134 -11
- package/dist/types/stores/scheduler-config-store.d.ts +2 -1
- package/dist/types/stores/scheduler-store.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/calendar-info-icon_25.cjs.entry.js.map +0 -1
- package/dist/cjs/scheduler-config-store-918c20d5.js.map +0 -1
- package/dist/cjs/scheduler-config-store-a5b7c08b.js.map +0 -1
- package/dist/esm/calendar-info-icon_25.entry.js.map +0 -1
- package/dist/esm/scheduler-config-store-8ccc8dc7.js.map +0 -1
- package/dist/esm/scheduler-config-store-ec3b6190.js.map +0 -1
- package/dist/nylas-web-elements/p-0dbc0c01.entry.js +0 -2
- package/dist/nylas-web-elements/p-155942d0.entry.js +0 -2
- package/dist/nylas-web-elements/p-155942d0.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-237d2b4e.entry.js +0 -2
- package/dist/nylas-web-elements/p-237d2b4e.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-2e813dd0.entry.js +0 -2
- package/dist/nylas-web-elements/p-2e813dd0.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-35b66ab6.entry.js +0 -2
- package/dist/nylas-web-elements/p-35b66ab6.entry.js.map +0 -1
- 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-53da3000.entry.js +0 -2
- package/dist/nylas-web-elements/p-6239608c.entry.js +0 -2
- package/dist/nylas-web-elements/p-6239608c.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-7fac2bba.entry.js +0 -2
- package/dist/nylas-web-elements/p-86895fc4.entry.js +0 -2
- package/dist/nylas-web-elements/p-86895fc4.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-afd34a25.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-b406bf70.entry.js +0 -2
- package/dist/nylas-web-elements/p-b406bf70.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-c170c56d.entry.js +0 -2
- package/dist/nylas-web-elements/p-de63bc35.entry.js +0 -2
- package/dist/nylas-web-elements/p-ee91a2a0.js +0 -2
- package/dist/nylas-web-elements/p-ee91a2a0.js.map +0 -1
- package/dist/nylas-web-elements/p-f1bd124d.entry.js +0 -2
- package/dist/nylas-web-elements/p-f1bd124d.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fac4d89e.entry.js +0 -2
- package/dist/nylas-web-elements/p-fac4d89e.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fbac3865.entry.js +0 -2
- package/dist/nylas-web-elements/scheduler-config-store-8ccc8dc7.js.map +0 -1
- /package/dist/nylas-web-elements/{p-e4a7746d.entry.js.map → p-012cb022.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b9064de4.entry.js.map → p-017f2538.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-de63bc35.entry.js.map → p-0919bbbe.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-da21471c.entry.js.map → p-13eb1a05.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-deafc6bc.entry.js.map → p-1569f74f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6e888067.entry.js.map → p-23c143f6.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a7dd4c24.entry.js.map → p-30144ca0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-11f94952.entry.js.map → p-336631dd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7fac2bba.entry.js.map → p-43bfaa93.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-120d2c72.entry.js.map → p-4e48846a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4b84ab3f.entry.js.map → p-5fd52ecd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c170c56d.entry.js.map → p-62cf46ee.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-32682655.entry.js.map → p-672f1951.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ace74b9d.entry.js.map → p-84c53084.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6891ad5d.entry.js.map → p-a118f20c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-24082558.entry.js.map → p-a5dbdc8e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4fdc6122.entry.js.map → p-a7640232.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27db7b0b.entry.js.map → p-ad93d3bd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js.map → p-b3d46e08.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4b1466b3.entry.js.map → p-b443f769.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c8c737ed.entry.js.map → p-c1df61d0.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-395f49eb.entry.js.map → p-cc67e6a8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-98a2f588.entry.js.map → p-d9a145a5.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-ec26560f.entry.js.map → p-e9c1e983.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-84529d9b.entry.js.map → p-fbfa3a7d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d5146511.entry.js.map → p-fd8e29e6.entry.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
const iconCss$
|
|
11
|
-
const CalendarInfoIconStyle0 = iconCss$
|
|
10
|
+
const iconCss$5 = ".sc-calendar-info-icon-h{display:flex}";
|
|
11
|
+
const CalendarInfoIconStyle0 = iconCss$5;
|
|
12
12
|
|
|
13
13
|
const CalendarInfoIcon = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -17,13 +17,13 @@ const CalendarInfoIcon = class {
|
|
|
17
17
|
this.height = '20';
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("svg", { key: '
|
|
20
|
+
return (h("svg", { key: 'cccc82de81a96835882467868c393b01acefd2ce', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1d4e348404256d41966b5f59f34151493412c4cb', 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;
|
|
24
24
|
|
|
25
|
-
const iconCss$
|
|
26
|
-
const CalendarPatternsIconStyle0 = iconCss$
|
|
25
|
+
const iconCss$4 = ".sc-calendar-patterns-icon-h{display:flex}";
|
|
26
|
+
const CalendarPatternsIconStyle0 = iconCss$4;
|
|
27
27
|
|
|
28
28
|
const CalendarPatternsIcon = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -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: 'dd2ac860a58584163788ba39e76c53c456b8effe', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'fe1368d38056f3d10efca5ec6fcde6dc92821df6', 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,13 +61,13 @@ const CheckboxComponent = class {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h("label", { key: '
|
|
64
|
+
return (h("label", { key: '9d7aecec74bf3dabbb242324c0d028b46213b81f' }, h("input", { key: 'd0e94c6ee729adab2bc6df57f573024f632d87b9', type: "checkbox", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("span", { key: '95d00654e241d754eca4b721df4c71d3649d2dc0', class: "checkmark" }), h("slot", { key: 'f5560353f9371cd8d14b18f4ca1000123770b094', name: "label" }, h("span", { key: '09189dda1ec3da4095ae2d8978e579d4f0dd5a4a', class: "label" }, this.label))));
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
CheckboxComponent.style = CheckboxComponentStyle0;
|
|
68
68
|
|
|
69
|
-
const iconCss$
|
|
70
|
-
const FlowIconStyle0 = iconCss$
|
|
69
|
+
const iconCss$3 = ".sc-flow-icon-h{display:flex}";
|
|
70
|
+
const FlowIconStyle0 = iconCss$3;
|
|
71
71
|
|
|
72
72
|
const FlowIcon = class {
|
|
73
73
|
constructor(hostRef) {
|
|
@@ -76,13 +76,13 @@ const FlowIcon = class {
|
|
|
76
76
|
this.height = '12';
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h("svg", { key: '
|
|
79
|
+
return (h("svg", { key: '990421d00dad37fc4e84a1e472f71486b0af9e8b', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1458febb2237e9d0b3b0e7ba75891a85aaa70f16', 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;
|
|
83
83
|
|
|
84
|
-
const iconCss$
|
|
85
|
-
const LocationIconStyle0 = iconCss$
|
|
84
|
+
const iconCss$2 = ".sc-location-icon-h{display:flex}";
|
|
85
|
+
const LocationIconStyle0 = iconCss$2;
|
|
86
86
|
|
|
87
87
|
const LocationIcon = class {
|
|
88
88
|
constructor(hostRef) {
|
|
@@ -91,13 +91,13 @@ const LocationIcon = class {
|
|
|
91
91
|
this.height = '18';
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h("svg", { key: '
|
|
94
|
+
return (h("svg", { key: '18863bae4b528331182b4f9f2d57ec427a7537ab', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'b2450f8d8b35c9b0fcfe776b5517b7454e332255', 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;
|
|
98
98
|
|
|
99
|
-
const iconCss = ".sc-location-off-icon-h{display:flex}";
|
|
100
|
-
const LocationOffIconStyle0 = iconCss;
|
|
99
|
+
const iconCss$1 = ".sc-location-off-icon-h{display:flex}";
|
|
100
|
+
const LocationOffIconStyle0 = iconCss$1;
|
|
101
101
|
|
|
102
102
|
const LocationOffIcon = class {
|
|
103
103
|
constructor(hostRef) {
|
|
@@ -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: '7e8bb8dd37c043ab86b0a382fba2d8b8a850d035', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'f99541cb8478894f2497354838fccc4930f54674', 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,18 +234,139 @@ 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: '68762c15e4d20e8d695807b7d4b401f95d1759a8' }, h("div", { key: 'f6b695da1ac813ce000f09442d79797cd57b5400', class: "dropdown", part: "msd_dropdown" }, h("label", { key: '375e7f825f8ca0962b12f5a35960a514535a0e4d', class: "dropdown-label" }, this.label, h("slot", { key: '4cb277f7424fc3a2906b6ca2bb25ab9af75f4b48', name: "label-icon", "aria-hidden": "true" })), h("button", { key: '76d5eec276f0aadb5f94de67a7c674d7506fec1b', 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: '229cae92d81294a1a8785ae95a265b156c4c571b', name: "select-icon", "aria-hidden": "true" }), h("span", { key: 'c2c030a9052bf733af0c9f5aabf665f9c50a612a', 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: '0f18d14621e108bd6019ceea2e86ae19d1816d53', class: this.isOpen ? 'open' : 'closed', "aria-hidden": "true" }, h("chevron-icon", { key: '1dba99f7491f72edeed66b567692b4aaf16be32d', 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
|
};
|
|
243
243
|
MultiSelectDropdown.style = MultiSelectDropdownStyle0;
|
|
244
244
|
|
|
245
|
-
const
|
|
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
|
+
const NylasAdditionalParticipantsStyle0 = nylasAdditionalParticipantsCss;
|
|
247
|
+
|
|
248
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
249
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
250
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
251
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
252
|
+
else
|
|
253
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
254
|
+
if (d = decorators[i])
|
|
255
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
256
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
257
|
+
};
|
|
258
|
+
var __metadata$h = (undefined && undefined.__metadata) || function (k, v) {
|
|
259
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
260
|
+
return Reflect.metadata(k, v);
|
|
261
|
+
};
|
|
262
|
+
const NylasAdditionalParticipants = class {
|
|
263
|
+
constructor(hostRef) {
|
|
264
|
+
registerInstance(this, hostRef);
|
|
265
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
266
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
267
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
271
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
272
|
+
}
|
|
273
|
+
this.name = 'participants';
|
|
274
|
+
this.eventParticipants = undefined;
|
|
275
|
+
this.participantOptions = undefined;
|
|
276
|
+
this.participants = this.eventParticipants ?? [];
|
|
277
|
+
this.participantsValid = true;
|
|
278
|
+
}
|
|
279
|
+
elementNameChangedHandler(newValue) {
|
|
280
|
+
debug('nylas-additional-participants', 'elementNameChangedHandler', newValue);
|
|
281
|
+
this.host.setAttribute('name', newValue);
|
|
282
|
+
}
|
|
283
|
+
connectedCallback() {
|
|
284
|
+
debug('nylas-additional-participants', 'connectedCallback');
|
|
285
|
+
}
|
|
286
|
+
componentWillLoad() {
|
|
287
|
+
debug('nylas-additional-participants', 'componentWillLoad');
|
|
288
|
+
this.host.setAttribute('name', this.name);
|
|
289
|
+
}
|
|
290
|
+
componentDidLoad() {
|
|
291
|
+
debug('nylas-additional-participants', 'componentDidLoad');
|
|
292
|
+
this.updateFormValue();
|
|
293
|
+
}
|
|
294
|
+
disconnectedCallback() {
|
|
295
|
+
debug('nylas-additional-participants', 'disconnectedCallback');
|
|
296
|
+
}
|
|
297
|
+
onInputOptionChanged(event) {
|
|
298
|
+
debug('nylas-additional-participants', 'onInputOptionChanged');
|
|
299
|
+
const index = event.detail.name;
|
|
300
|
+
this.participants[index].email = event.detail.value;
|
|
301
|
+
const participant = this.participantOptions?.find(participant => participant.email === event.detail.value);
|
|
302
|
+
this.participants[index].availability = participant ? { calendar_ids: ['primary'] } : undefined;
|
|
303
|
+
this.participants[index].name = participant?.name || event.detail.value;
|
|
304
|
+
this.participants = [...this.participants];
|
|
305
|
+
this.updateFormValue();
|
|
306
|
+
}
|
|
307
|
+
onParticipantChange(event, index) {
|
|
308
|
+
debug('nylas-additional-participants', 'onParticipantChange');
|
|
309
|
+
this.participants[index].email = event.target.value;
|
|
310
|
+
this.updateFormValue();
|
|
311
|
+
}
|
|
312
|
+
addParticipant() {
|
|
313
|
+
debug('nylas-additional-participants', 'addParticipant');
|
|
314
|
+
this.participants = [...this.participants, { name: '', email: '', is_organizer: false }];
|
|
315
|
+
this.updateFormValue();
|
|
316
|
+
}
|
|
317
|
+
removeParticipant(index) {
|
|
318
|
+
debug('nylas-additional-participants', 'removeParticipant');
|
|
319
|
+
this.participants = this.participants.filter((_, i) => i !== index);
|
|
320
|
+
this.updateFormValue();
|
|
321
|
+
}
|
|
322
|
+
validate(email, index) {
|
|
323
|
+
debug('nylas-additional-participants', 'validate');
|
|
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,}))$/;
|
|
325
|
+
const valid = regex.test(String(email).toLowerCase());
|
|
326
|
+
this.participants[index].is_valid = valid;
|
|
327
|
+
this.updateFormValue();
|
|
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 });
|
|
333
|
+
}
|
|
334
|
+
getArrayDifference(array1, array2) {
|
|
335
|
+
const filtered = array1.filter(participant1 => !array2.some(participant2 => participant1.email === participant2.email));
|
|
336
|
+
return filtered.map(participant => {
|
|
337
|
+
return { value: participant.email, label: participant.email };
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
render() {
|
|
341
|
+
return (h(Host, { key: '67454437ca6e9771da4373e293b8b1d468c79680' }, h("nylas-form-card", { key: '844913ba1bca33b83b0d7c0a89323ca48f5ce1dd' }, h("h3", { key: 'bbdbf1e9addc3238a013697bff343a1065758928', slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Additional participants"), h("p", { key: '37520f9fcc4996b9635821a52ed5d9c0350af88f', slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add anyone else who would be joining for this event."), h("div", { key: '76a8d8118f9012cced55357e4243b897ec41e385', slot: "content", class: "nylas-additional-participants__content" }, h("div", { key: 'bb5d6f6e7ebf486eb4c8395ff3ab971335d19750' }, this.participants.map((participant, index) => {
|
|
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 => {
|
|
343
|
+
this.onParticipantChange(e, index);
|
|
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: '14febbe15dc97b44304e98c14d7e084ea5126304', class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, h("add-circle-icon", { key: '8f60f39d5d3b3b4532a78eacb0d4bf907a8b7836' }), " ", h("span", { key: '8e2c9a49072d04ab571470c68c3277a76706e60e' }, "Add ", this.participants.length > 1 ? 'another' : 'a', " participant"))))));
|
|
346
|
+
}
|
|
347
|
+
static get formAssociated() { return true; }
|
|
348
|
+
get host() { return getElement(this); }
|
|
349
|
+
static get watchers() { return {
|
|
350
|
+
"name": ["elementNameChangedHandler"]
|
|
351
|
+
}; }
|
|
352
|
+
};
|
|
353
|
+
__decorate$h([
|
|
354
|
+
RegisterComponent({
|
|
355
|
+
name: 'nylas-additional-participants',
|
|
356
|
+
stateToProps: new Map([['schedulerConfig.additionalParticipants', 'participantOptions']]),
|
|
357
|
+
eventToProps: {},
|
|
358
|
+
fireRegisterEvent: true,
|
|
359
|
+
}),
|
|
360
|
+
__metadata$h("design:type", Function),
|
|
361
|
+
__metadata$h("design:paramtypes", []),
|
|
362
|
+
__metadata$h("design:returntype", void 0)
|
|
363
|
+
], NylasAdditionalParticipants.prototype, "render", null);
|
|
364
|
+
NylasAdditionalParticipants.style = NylasAdditionalParticipantsStyle0;
|
|
365
|
+
|
|
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}";
|
|
246
367
|
const NylasAvailabilityPickerStyle0 = nylasAvailabilityPickerCss;
|
|
247
368
|
|
|
248
|
-
var __decorate$
|
|
369
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
249
370
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
250
371
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
251
372
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -255,7 +376,7 @@ var __decorate$f = (undefined && undefined.__decorate) || function (decorators,
|
|
|
255
376
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
256
377
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
257
378
|
};
|
|
258
|
-
var __metadata$
|
|
379
|
+
var __metadata$g = (undefined && undefined.__metadata) || function (k, v) {
|
|
259
380
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
260
381
|
return Reflect.metadata(k, v);
|
|
261
382
|
};
|
|
@@ -274,6 +395,7 @@ const NylasAvailabilityPicker = class {
|
|
|
274
395
|
this.openHours = undefined;
|
|
275
396
|
this.name = 'availability';
|
|
276
397
|
this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
398
|
+
this.hideHeader = false;
|
|
277
399
|
this.schedule = {
|
|
278
400
|
SUN: [],
|
|
279
401
|
MON: [{ start: '09:00am', end: '05:00pm' }],
|
|
@@ -291,20 +413,13 @@ const NylasAvailabilityPicker = class {
|
|
|
291
413
|
this.host.setAttribute('name', newValue);
|
|
292
414
|
}
|
|
293
415
|
configChangedHandler(newConfig) {
|
|
294
|
-
const
|
|
295
|
-
if (
|
|
296
|
-
this.openHoursToSchedule(
|
|
416
|
+
const defaultOpenHours = newConfig?.availability?.availability_rules?.default_open_hours;
|
|
417
|
+
if (defaultOpenHours) {
|
|
418
|
+
this.openHoursToSchedule(defaultOpenHours);
|
|
297
419
|
}
|
|
298
420
|
}
|
|
299
421
|
scheduleChanged(newValue, oldValue) {
|
|
300
422
|
if (newValue !== oldValue) {
|
|
301
|
-
this.valueChanged.emit({
|
|
302
|
-
value: {
|
|
303
|
-
openHours: this.scheduleToOpenHours(newValue),
|
|
304
|
-
timezone: this.timezone,
|
|
305
|
-
},
|
|
306
|
-
name: this.name,
|
|
307
|
-
});
|
|
308
423
|
let overlapDays = {};
|
|
309
424
|
Object.keys(newValue).forEach(key => {
|
|
310
425
|
const dayTimeRanges = newValue[key];
|
|
@@ -333,6 +448,13 @@ const NylasAvailabilityPicker = class {
|
|
|
333
448
|
timezone: this.timezone,
|
|
334
449
|
}));
|
|
335
450
|
}
|
|
451
|
+
this.valueChanged.emit({
|
|
452
|
+
value: JSON.stringify({
|
|
453
|
+
openHours: this.scheduleToOpenHours(newValue),
|
|
454
|
+
timezone: this.timezone,
|
|
455
|
+
}),
|
|
456
|
+
name: this.name,
|
|
457
|
+
});
|
|
336
458
|
}
|
|
337
459
|
}
|
|
338
460
|
nylasFormDropdownChangedHandler(event) {
|
|
@@ -342,10 +464,15 @@ const NylasAvailabilityPicker = class {
|
|
|
342
464
|
if (typeof this.internals.setFormValue !== 'function') {
|
|
343
465
|
return;
|
|
344
466
|
}
|
|
345
|
-
|
|
467
|
+
const updateValue = {
|
|
346
468
|
openHours: this.scheduleToOpenHours(this.schedule),
|
|
347
469
|
timezone: this.timezone,
|
|
348
|
-
}
|
|
470
|
+
};
|
|
471
|
+
this.internals.setFormValue(JSON.stringify(updateValue));
|
|
472
|
+
this.valueChanged.emit({
|
|
473
|
+
value: JSON.stringify(updateValue),
|
|
474
|
+
name: this.name,
|
|
475
|
+
});
|
|
349
476
|
}
|
|
350
477
|
}
|
|
351
478
|
connectedCallback() {
|
|
@@ -366,10 +493,15 @@ const NylasAvailabilityPicker = class {
|
|
|
366
493
|
if (typeof this.internals.setFormValue !== 'function') {
|
|
367
494
|
return;
|
|
368
495
|
}
|
|
369
|
-
|
|
496
|
+
const updateValue = {
|
|
370
497
|
openHours: this.scheduleToOpenHours(this.schedule),
|
|
371
498
|
timezone: this.timezone,
|
|
372
|
-
}
|
|
499
|
+
};
|
|
500
|
+
this.internals.setFormValue(JSON.stringify(updateValue));
|
|
501
|
+
this.valueChanged.emit({
|
|
502
|
+
value: JSON.stringify(updateValue),
|
|
503
|
+
name: this.name,
|
|
504
|
+
});
|
|
373
505
|
}
|
|
374
506
|
getOverlaps(timeRanges) {
|
|
375
507
|
let timeRangesInMinutes = timeRanges.map((range, index) => ({
|
|
@@ -539,7 +671,7 @@ const NylasAvailabilityPicker = class {
|
|
|
539
671
|
label: TIMEZONE_MAP[key],
|
|
540
672
|
value: key,
|
|
541
673
|
}));
|
|
542
|
-
return (h(Host, { key: '
|
|
674
|
+
return (h(Host, { key: '81c6118e501f4424ce74cb81530a67f7896a7fca' }, h("div", { key: '6dbcda74a92e36089dfda5b11469c6619bb095e1', 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: 'f217b53a7ddc2d0554a3c3e44e79580924dbaa43', class: "content" }, h("div", { key: 'fe3dcc1c1c5504e65babb72f7b92f7954e3d4a20', class: "select-timezone", part: "nap__select-timezone" }, h("h4", { key: '0746b7a08e56b8d2359ae37357b46b84b440851c', class: "sub-header" }, "Select timezone", h("span", { key: 'f6d5424b939bec04d0ab01e3b037a5db6ffdbb77', class: "icon" }, h("tooltip-component", { key: '7f6371d4e3ee3ab8c841d3799fbe77a1206084eb' }, h("info-icon", { key: 'ae2b6f45b9eba0c26909b283daceafeddefc7936', slot: "tooltip-icon" }), h("span", { key: '38cb9c51f61d0087216660e5b2a54f42a42663ae', slot: "tooltip-content" }, "Select your timezone for displaying availability.")))), h("select-dropdown", { key: 'e3467d03d104fe090d776bc03306d289de53cb60', 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: 'afbee8547454b8eb1ba75a41056e1393fd60c2ec', slot: "select-icon" }, h("globe-icon", { key: '7bc82d7454658d2d0783a7d9422b76fb4083d14f', width: "20", height: "20" })))), h("div", { key: '2fd561856ac6731c16da239cd296545e256dd12d', class: "availability", part: "nap__availability" }, Object.keys(this.schedule).map(key => {
|
|
543
675
|
const day = key;
|
|
544
676
|
const timeRanges = this.schedule[key];
|
|
545
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: () => {
|
|
@@ -566,22 +698,22 @@ const NylasAvailabilityPicker = class {
|
|
|
566
698
|
"schedule": ["scheduleChanged"]
|
|
567
699
|
}; }
|
|
568
700
|
};
|
|
569
|
-
__decorate$
|
|
701
|
+
__decorate$g([
|
|
570
702
|
RegisterComponent({
|
|
571
703
|
name: 'nylas-availability-picker',
|
|
572
704
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
573
705
|
fireRegisterEvent: true,
|
|
574
706
|
}),
|
|
575
|
-
__metadata$
|
|
576
|
-
__metadata$
|
|
577
|
-
__metadata$
|
|
707
|
+
__metadata$g("design:type", Function),
|
|
708
|
+
__metadata$g("design:paramtypes", []),
|
|
709
|
+
__metadata$g("design:returntype", void 0)
|
|
578
710
|
], NylasAvailabilityPicker.prototype, "render", null);
|
|
579
711
|
NylasAvailabilityPicker.style = NylasAvailabilityPickerStyle0;
|
|
580
712
|
|
|
581
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}";
|
|
582
714
|
const NylasBookingCalendarPickerStyle0 = nylasBookingCalendarPickerCss;
|
|
583
715
|
|
|
584
|
-
var __decorate$
|
|
716
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
585
717
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
586
718
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
587
719
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -591,7 +723,7 @@ var __decorate$e = (undefined && undefined.__decorate) || function (decorators,
|
|
|
591
723
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
592
724
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
593
725
|
};
|
|
594
|
-
var __metadata$
|
|
726
|
+
var __metadata$f = (undefined && undefined.__metadata) || function (k, v) {
|
|
595
727
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
596
728
|
return Reflect.metadata(k, v);
|
|
597
729
|
};
|
|
@@ -670,7 +802,7 @@ const NylasBookingCalendarPicker = class {
|
|
|
670
802
|
"name": ["elementNameChangedHandler"]
|
|
671
803
|
}; }
|
|
672
804
|
};
|
|
673
|
-
__decorate$
|
|
805
|
+
__decorate$f([
|
|
674
806
|
RegisterComponent({
|
|
675
807
|
name: 'nylas-booking-calendar-picker',
|
|
676
808
|
stateToProps: new Map([
|
|
@@ -687,16 +819,16 @@ __decorate$e([
|
|
|
687
819
|
},
|
|
688
820
|
fireRegisterEvent: true,
|
|
689
821
|
}),
|
|
690
|
-
__metadata$
|
|
691
|
-
__metadata$
|
|
692
|
-
__metadata$
|
|
822
|
+
__metadata$f("design:type", Function),
|
|
823
|
+
__metadata$f("design:paramtypes", []),
|
|
824
|
+
__metadata$f("design:returntype", void 0)
|
|
693
825
|
], NylasBookingCalendarPicker.prototype, "render", null);
|
|
694
826
|
NylasBookingCalendarPicker.style = NylasBookingCalendarPickerStyle0;
|
|
695
827
|
|
|
696
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}";
|
|
697
829
|
const NylasBufferTimeStyle0 = nylasBufferTimeCss;
|
|
698
830
|
|
|
699
|
-
var __decorate$
|
|
831
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
700
832
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
701
833
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
702
834
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -706,7 +838,7 @@ var __decorate$d = (undefined && undefined.__decorate) || function (decorators,
|
|
|
706
838
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
707
839
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
708
840
|
};
|
|
709
|
-
var __metadata$
|
|
841
|
+
var __metadata$e = (undefined && undefined.__metadata) || function (k, v) {
|
|
710
842
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
711
843
|
return Reflect.metadata(k, v);
|
|
712
844
|
};
|
|
@@ -848,7 +980,7 @@ const NylasBufferTime = class {
|
|
|
848
980
|
"name": ["elementNameChangedHandler"]
|
|
849
981
|
}; }
|
|
850
982
|
};
|
|
851
|
-
__decorate$
|
|
983
|
+
__decorate$e([
|
|
852
984
|
RegisterComponent({
|
|
853
985
|
name: 'nylas-buffer-time',
|
|
854
986
|
eventToProps: {
|
|
@@ -861,16 +993,16 @@ __decorate$d([
|
|
|
861
993
|
},
|
|
862
994
|
fireRegisterEvent: true,
|
|
863
995
|
}),
|
|
864
|
-
__metadata$
|
|
865
|
-
__metadata$
|
|
866
|
-
__metadata$
|
|
996
|
+
__metadata$e("design:type", Function),
|
|
997
|
+
__metadata$e("design:paramtypes", []),
|
|
998
|
+
__metadata$e("design:returntype", void 0)
|
|
867
999
|
], NylasBufferTime.prototype, "render", null);
|
|
868
1000
|
NylasBufferTime.style = NylasBufferTimeStyle0;
|
|
869
1001
|
|
|
870
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}";
|
|
871
1003
|
const NylasCalendarPickerStyle0 = nylasCalendarPickerCss;
|
|
872
1004
|
|
|
873
|
-
var __decorate$
|
|
1005
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
874
1006
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
875
1007
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
876
1008
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -880,7 +1012,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
880
1012
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
881
1013
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
882
1014
|
};
|
|
883
|
-
var __metadata$
|
|
1015
|
+
var __metadata$d = (undefined && undefined.__metadata) || function (k, v) {
|
|
884
1016
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
885
1017
|
return Reflect.metadata(k, v);
|
|
886
1018
|
};
|
|
@@ -959,7 +1091,7 @@ const NylasCalendarPicker = class {
|
|
|
959
1091
|
"name": ["elementNameChangedHandler"]
|
|
960
1092
|
}; }
|
|
961
1093
|
};
|
|
962
|
-
__decorate$
|
|
1094
|
+
__decorate$d([
|
|
963
1095
|
RegisterComponent({
|
|
964
1096
|
name: 'nylas-calendar-picker',
|
|
965
1097
|
stateToProps: new Map([
|
|
@@ -976,16 +1108,16 @@ __decorate$c([
|
|
|
976
1108
|
},
|
|
977
1109
|
fireRegisterEvent: true,
|
|
978
1110
|
}),
|
|
979
|
-
__metadata$
|
|
980
|
-
__metadata$
|
|
981
|
-
__metadata$
|
|
1111
|
+
__metadata$d("design:type", Function),
|
|
1112
|
+
__metadata$d("design:paramtypes", []),
|
|
1113
|
+
__metadata$d("design:returntype", void 0)
|
|
982
1114
|
], NylasCalendarPicker.prototype, "render", null);
|
|
983
1115
|
NylasCalendarPicker.style = NylasCalendarPickerStyle0;
|
|
984
1116
|
|
|
985
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}";
|
|
986
1118
|
const NylasCancellationPolicyStyle0 = nylasCancellationPolicyCss;
|
|
987
1119
|
|
|
988
|
-
var __decorate$
|
|
1120
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
989
1121
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
990
1122
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
991
1123
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -995,7 +1127,7 @@ var __decorate$b = (undefined && undefined.__decorate) || function (decorators,
|
|
|
995
1127
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
996
1128
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
997
1129
|
};
|
|
998
|
-
var __metadata$
|
|
1130
|
+
var __metadata$c = (undefined && undefined.__metadata) || function (k, v) {
|
|
999
1131
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1000
1132
|
return Reflect.metadata(k, v);
|
|
1001
1133
|
};
|
|
@@ -1054,23 +1186,23 @@ const NylasCancellationPolicy = class {
|
|
|
1054
1186
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1055
1187
|
}; }
|
|
1056
1188
|
};
|
|
1057
|
-
__decorate$
|
|
1189
|
+
__decorate$c([
|
|
1058
1190
|
RegisterComponent({
|
|
1059
1191
|
name: 'nylas-cancellation-policy',
|
|
1060
1192
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1061
1193
|
eventToProps: {},
|
|
1062
1194
|
fireRegisterEvent: true,
|
|
1063
1195
|
}),
|
|
1064
|
-
__metadata$
|
|
1065
|
-
__metadata$
|
|
1066
|
-
__metadata$
|
|
1196
|
+
__metadata$c("design:type", Function),
|
|
1197
|
+
__metadata$c("design:paramtypes", []),
|
|
1198
|
+
__metadata$c("design:returntype", void 0)
|
|
1067
1199
|
], NylasCancellationPolicy.prototype, "render", null);
|
|
1068
1200
|
NylasCancellationPolicy.style = NylasCancellationPolicyStyle0;
|
|
1069
1201
|
|
|
1070
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}}";
|
|
1071
1203
|
const NylasCustomizeBookingSettingsStyle0 = nylasCustomizeBookingSettingsCss;
|
|
1072
1204
|
|
|
1073
|
-
var __decorate$
|
|
1205
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1074
1206
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1075
1207
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1076
1208
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1080,7 +1212,7 @@ var __decorate$a = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1080
1212
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1081
1213
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1082
1214
|
};
|
|
1083
|
-
var __metadata$
|
|
1215
|
+
var __metadata$b = (undefined && undefined.__metadata) || function (k, v) {
|
|
1084
1216
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1085
1217
|
return Reflect.metadata(k, v);
|
|
1086
1218
|
};
|
|
@@ -1096,7 +1228,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1096
1228
|
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
1097
1229
|
}
|
|
1098
1230
|
this.selectedConfiguration = undefined;
|
|
1099
|
-
this.defaultAdditionalGuestsHidden = this.selectedConfiguration?.scheduler?.
|
|
1231
|
+
this.defaultAdditionalGuestsHidden = this.selectedConfiguration?.scheduler?.hide_additional_guests ?? false;
|
|
1100
1232
|
this.defaultHideCancellationOptions = this.selectedConfiguration?.scheduler?.hide_cancellation_options ?? false;
|
|
1101
1233
|
this.defaultHideReschedulingOptions = this.selectedConfiguration?.scheduler?.hide_rescheduling_options ?? false;
|
|
1102
1234
|
this.name = 'customize-booking-settings';
|
|
@@ -1110,7 +1242,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1110
1242
|
}
|
|
1111
1243
|
selectedConfigurationChangedHandler(newValue) {
|
|
1112
1244
|
debug('nylas-customize-booking-settings', 'selectedConfigurationChangedHandler', newValue);
|
|
1113
|
-
this.allowGuestsToInvite = !newValue?.scheduler?.
|
|
1245
|
+
this.allowGuestsToInvite = !newValue?.scheduler?.hide_additional_guests;
|
|
1114
1246
|
this.hideCancellationOptions = newValue?.scheduler?.hide_cancellation_options ?? false;
|
|
1115
1247
|
this.hideReschedulingOptions = newValue?.scheduler?.hide_rescheduling_options ?? false;
|
|
1116
1248
|
}
|
|
@@ -1142,7 +1274,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1142
1274
|
checkboxToggledHandler(event) {
|
|
1143
1275
|
const { name, checked } = event.detail;
|
|
1144
1276
|
switch (name) {
|
|
1145
|
-
case '
|
|
1277
|
+
case 'hide_additional_guests':
|
|
1146
1278
|
this.allowGuestsToInvite = checked;
|
|
1147
1279
|
break;
|
|
1148
1280
|
case 'hide_cancellation_options':
|
|
@@ -1167,7 +1299,7 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1167
1299
|
}), this.name);
|
|
1168
1300
|
}
|
|
1169
1301
|
render() {
|
|
1170
|
-
return (h(Host, { key: '
|
|
1302
|
+
return (h(Host, { key: '98e7ab408f5d7dff71321819cbc2a5e336ca52de' }, h("div", { key: 'ea73803234b4843cf7e58dc2570171e0237ea7d1', class: "nylas-customize-booking-settings", part: "ncbs" }, h("div", { key: '9b081de7e2d2152b874a5a4713a5313c6e021409', class: "header", part: "ncbs__header" }, h("h3", { key: '976be7412b4f8d70269c3b429652fa1091da1457' }, "Additional settings"), h("p", { key: 'f580ed5fd9c29773715bf26f5dc0c466c56ba43f' }, "Booking settings for the event.")), h("div", { key: '9e694bcf133167fa12efbd46bee02158b56e9777', class: "nylas-customize-booking-settings__settings", part: "ncbs__settings" }, h("div", { key: '39d4154e12c7f5cf96f04ca3fc3e0f17d0e8b2ec', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__additional_guests" }, h("checkbox-component", { key: '61f11b632388d036622078f76f2d90370458b152', name: "hide_additional_guests", label: "Allow guests to invite additional guests.", checked: this.allowGuestsToInvite }, h("span", { key: '14573cca344d64ddfddebe6f402321a52fcce6ee', slot: "label", class: "label" }, h("p", { key: '64790dee39a090a778479a7eb3b1efcd14054bb9', class: "label-contents" }, "Allow guests to invite additional guests to the booking."), h("tooltip-component", { key: '564c56d4f159e11bf82b02eaab43b36ef9dd7117', id: "guests" }, h("info-icon", { key: 'a442aac8c9d930dc6be00a07fb6cd32b39cbd24b', slot: "tooltip-icon" }), h("span", { key: '6a9eff50392213a42be00c99f0f78d5e2d8eb0f4', 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: 'e7d58c8c04cd715bd02fd4dcc14073ce1f6aaf08', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__rescheduling_options" }, h("checkbox-component", { key: '3f5c22d363bb11012b8514f5a33871a3f054fc80', name: "hide_rescheduling_options", label: "Hide 'Reschedule' option on booking page and emails.", checked: this.hideReschedulingOptions }, h("span", { key: '2ed45b907aa847c41da5a0e394b0b5ddb91a3e26', slot: "label", class: "label" }, h("p", { key: 'a1fc109c7211d387426d66ac9129fad25032565b', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: 'ac79eec03a85d1963ac4e75b0fbf678f4a063776' }, "Reschedule"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: 'd8f41e37b915c0be9154a475da07d5ed343d96b4', id: "reschedule" }, h("info-icon", { key: 'fbb3f300f4276bd249f9cf12d11c4b6467c82247', slot: "tooltip-icon" }), h("span", { key: '689b3c36070c26e6d6bac530a56008404354e43b', 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: 'f21aeca85fbb63da4d844d37cf87ff1e8d48f001', class: "nylas-customize-booking-settings__settings-div", part: "ncbs__settings-div , ncbs__cancellation_options" }, h("checkbox-component", { key: 'be80ca87a198de83451085fceca77b4d2455357d', name: "hide_cancellation_options", label: "Hide 'Cancel' option on booking page and emails.", checked: this.hideCancellationOptions }, h("span", { key: '80e718e75b94562d3b8c4a3d9f170ee2de0c2c1b', slot: "label", class: "label" }, h("p", { key: 'd46dfe25aa86b112f5c57abe3337de6d88a79c90', class: "label-contents" }, "Hide the\u00A0", h("strong", { key: 'ac243fbb7a3c85c8ab3af28b61ae2724c428ac3e' }, "Cancel"), "\u00A0button on the Scheduling Page and in the email notifications."), h("tooltip-component", { key: 'b720fc3becba6ca2cc71d01bb77c19ec154b1aa1', id: "cancel" }, h("info-icon", { key: '5ab491a0734fe525ad2be3e2ad067cb292cce182', slot: "tooltip-icon" }), h("span", { key: '4621e731c10b515294641be4f9ee60142b46f9c6', 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.")))))))));
|
|
1171
1303
|
}
|
|
1172
1304
|
static get formAssociated() { return true; }
|
|
1173
1305
|
get host() { return getElement(this); }
|
|
@@ -1176,22 +1308,22 @@ const NylasCustomizeBookingSettings = class {
|
|
|
1176
1308
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1177
1309
|
}; }
|
|
1178
1310
|
};
|
|
1179
|
-
__decorate$
|
|
1311
|
+
__decorate$b([
|
|
1180
1312
|
RegisterComponent({
|
|
1181
1313
|
name: 'nylas-customize-booking-settings',
|
|
1182
1314
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1183
1315
|
fireRegisterEvent: true,
|
|
1184
1316
|
}),
|
|
1185
|
-
__metadata$
|
|
1186
|
-
__metadata$
|
|
1187
|
-
__metadata$
|
|
1317
|
+
__metadata$b("design:type", Function),
|
|
1318
|
+
__metadata$b("design:paramtypes", []),
|
|
1319
|
+
__metadata$b("design:returntype", void 0)
|
|
1188
1320
|
], NylasCustomizeBookingSettings.prototype, "render", null);
|
|
1189
1321
|
NylasCustomizeBookingSettings.style = NylasCustomizeBookingSettingsStyle0;
|
|
1190
1322
|
|
|
1191
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}";
|
|
1192
1324
|
const NylasEventDescriptionStyle0 = nylasEventDescriptionCss;
|
|
1193
1325
|
|
|
1194
|
-
var __decorate$
|
|
1326
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1195
1327
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1196
1328
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1197
1329
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1201,7 +1333,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1201
1333
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1202
1334
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1203
1335
|
};
|
|
1204
|
-
var __metadata$
|
|
1336
|
+
var __metadata$a = (undefined && undefined.__metadata) || function (k, v) {
|
|
1205
1337
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1206
1338
|
return Reflect.metadata(k, v);
|
|
1207
1339
|
};
|
|
@@ -1260,23 +1392,23 @@ const NylasEventDescription = class {
|
|
|
1260
1392
|
"selectedConfiguration": ["selectedConfigurationChangedHandler"]
|
|
1261
1393
|
}; }
|
|
1262
1394
|
};
|
|
1263
|
-
__decorate$
|
|
1395
|
+
__decorate$a([
|
|
1264
1396
|
RegisterComponent({
|
|
1265
1397
|
name: 'nylas-event-description',
|
|
1266
1398
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1267
1399
|
eventToProps: {},
|
|
1268
1400
|
fireRegisterEvent: true,
|
|
1269
1401
|
}),
|
|
1270
|
-
__metadata$
|
|
1271
|
-
__metadata$
|
|
1272
|
-
__metadata$
|
|
1402
|
+
__metadata$a("design:type", Function),
|
|
1403
|
+
__metadata$a("design:paramtypes", []),
|
|
1404
|
+
__metadata$a("design:returntype", void 0)
|
|
1273
1405
|
], NylasEventDescription.prototype, "render", null);
|
|
1274
1406
|
NylasEventDescription.style = NylasEventDescriptionStyle0;
|
|
1275
1407
|
|
|
1276
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)}";
|
|
1277
1409
|
const NylasEventDurationStyle0 = nylasEventDurationCss;
|
|
1278
1410
|
|
|
1279
|
-
var __decorate$
|
|
1411
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1280
1412
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1281
1413
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1282
1414
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1286,7 +1418,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1286
1418
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1287
1419
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1288
1420
|
};
|
|
1289
|
-
var __metadata$
|
|
1421
|
+
var __metadata$9 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1290
1422
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1291
1423
|
return Reflect.metadata(k, v);
|
|
1292
1424
|
};
|
|
@@ -1403,23 +1535,23 @@ const NylasEventDuration = class {
|
|
|
1403
1535
|
"durationMinutes": ["durationMinutesChangedHandler"]
|
|
1404
1536
|
}; }
|
|
1405
1537
|
};
|
|
1406
|
-
__decorate$
|
|
1538
|
+
__decorate$9([
|
|
1407
1539
|
RegisterComponent({
|
|
1408
1540
|
name: 'nylas-event-duration',
|
|
1409
1541
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1410
1542
|
eventToProps: {},
|
|
1411
1543
|
fireRegisterEvent: true,
|
|
1412
1544
|
}),
|
|
1413
|
-
__metadata$
|
|
1414
|
-
__metadata$
|
|
1415
|
-
__metadata$
|
|
1545
|
+
__metadata$9("design:type", Function),
|
|
1546
|
+
__metadata$9("design:paramtypes", []),
|
|
1547
|
+
__metadata$9("design:returntype", void 0)
|
|
1416
1548
|
], NylasEventDuration.prototype, "render", null);
|
|
1417
1549
|
NylasEventDuration.style = NylasEventDurationStyle0;
|
|
1418
1550
|
|
|
1419
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}";
|
|
1420
1552
|
const NylasEventInfoStyle0 = nylasEventInfoCss;
|
|
1421
1553
|
|
|
1422
|
-
var __decorate$
|
|
1554
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1423
1555
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1424
1556
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1425
1557
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1429,7 +1561,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1429
1561
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1430
1562
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1431
1563
|
};
|
|
1432
|
-
var __metadata$
|
|
1564
|
+
var __metadata$8 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1433
1565
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1434
1566
|
return Reflect.metadata(k, v);
|
|
1435
1567
|
};
|
|
@@ -1463,22 +1595,22 @@ const NylasEventInfo = class {
|
|
|
1463
1595
|
static get formAssociated() { return true; }
|
|
1464
1596
|
get el() { return getElement(this); }
|
|
1465
1597
|
};
|
|
1466
|
-
__decorate$
|
|
1598
|
+
__decorate$8([
|
|
1467
1599
|
RegisterComponent({
|
|
1468
1600
|
name: 'nylas-event-info',
|
|
1469
1601
|
eventToProps: {},
|
|
1470
1602
|
fireRegisterEvent: true,
|
|
1471
1603
|
}),
|
|
1472
|
-
__metadata$
|
|
1473
|
-
__metadata$
|
|
1474
|
-
__metadata$
|
|
1604
|
+
__metadata$8("design:type", Function),
|
|
1605
|
+
__metadata$8("design:paramtypes", []),
|
|
1606
|
+
__metadata$8("design:returntype", void 0)
|
|
1475
1607
|
], NylasEventInfo.prototype, "render", null);
|
|
1476
1608
|
NylasEventInfo.style = NylasEventInfoStyle0;
|
|
1477
1609
|
|
|
1478
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}";
|
|
1479
1611
|
const NylasEventLimitsStyle0 = nylasEventLimitsCss;
|
|
1480
1612
|
|
|
1481
|
-
var __decorate$
|
|
1613
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1482
1614
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1483
1615
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1484
1616
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1488,7 +1620,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1488
1620
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1489
1621
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1490
1622
|
};
|
|
1491
|
-
var __metadata$
|
|
1623
|
+
var __metadata$7 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1492
1624
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1493
1625
|
return Reflect.metadata(k, v);
|
|
1494
1626
|
};
|
|
@@ -1522,22 +1654,22 @@ const NylasEventLimits = class {
|
|
|
1522
1654
|
static get formAssociated() { return true; }
|
|
1523
1655
|
get el() { return getElement(this); }
|
|
1524
1656
|
};
|
|
1525
|
-
__decorate$
|
|
1657
|
+
__decorate$7([
|
|
1526
1658
|
RegisterComponent({
|
|
1527
1659
|
name: 'nylas-event-limits',
|
|
1528
1660
|
eventToProps: {},
|
|
1529
1661
|
fireRegisterEvent: true,
|
|
1530
1662
|
}),
|
|
1531
|
-
__metadata$
|
|
1532
|
-
__metadata$
|
|
1533
|
-
__metadata$
|
|
1663
|
+
__metadata$7("design:type", Function),
|
|
1664
|
+
__metadata$7("design:paramtypes", []),
|
|
1665
|
+
__metadata$7("design:returntype", void 0)
|
|
1534
1666
|
], NylasEventLimits.prototype, "render", null);
|
|
1535
1667
|
NylasEventLimits.style = NylasEventLimitsStyle0;
|
|
1536
1668
|
|
|
1537
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}";
|
|
1538
1670
|
const NylasEventLocationStyle0 = nylasEventLocationCss;
|
|
1539
1671
|
|
|
1540
|
-
var __decorate$
|
|
1672
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1541
1673
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1542
1674
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1543
1675
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1547,7 +1679,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1547
1679
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1548
1680
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1549
1681
|
};
|
|
1550
|
-
var __metadata$
|
|
1682
|
+
var __metadata$6 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1551
1683
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1552
1684
|
return Reflect.metadata(k, v);
|
|
1553
1685
|
};
|
|
@@ -1638,23 +1770,23 @@ const NylasEventLocation = class {
|
|
|
1638
1770
|
"eventLocation": ["eventLocationChangedHandler"]
|
|
1639
1771
|
}; }
|
|
1640
1772
|
};
|
|
1641
|
-
__decorate$
|
|
1773
|
+
__decorate$6([
|
|
1642
1774
|
RegisterComponent({
|
|
1643
1775
|
name: 'nylas-event-location',
|
|
1644
1776
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1645
1777
|
eventToProps: {},
|
|
1646
1778
|
fireRegisterEvent: true,
|
|
1647
1779
|
}),
|
|
1648
|
-
__metadata$
|
|
1649
|
-
__metadata$
|
|
1650
|
-
__metadata$
|
|
1780
|
+
__metadata$6("design:type", Function),
|
|
1781
|
+
__metadata$6("design:paramtypes", []),
|
|
1782
|
+
__metadata$6("design:returntype", void 0)
|
|
1651
1783
|
], NylasEventLocation.prototype, "render", null);
|
|
1652
1784
|
NylasEventLocation.style = NylasEventLocationStyle0;
|
|
1653
1785
|
|
|
1654
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)}";
|
|
1655
1787
|
const NylasEventTitleStyle0 = nylasEventTitleCss;
|
|
1656
1788
|
|
|
1657
|
-
var __decorate$
|
|
1789
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1658
1790
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1659
1791
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1660
1792
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1664,7 +1796,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1664
1796
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1665
1797
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1666
1798
|
};
|
|
1667
|
-
var __metadata$
|
|
1799
|
+
var __metadata$5 = (undefined && undefined.__metadata) || function (k, v) {
|
|
1668
1800
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1669
1801
|
return Reflect.metadata(k, v);
|
|
1670
1802
|
};
|
|
@@ -1977,23 +2109,23 @@ const NylasEventTitle = class {
|
|
|
1977
2109
|
"selectedConfiguration": ["configChangedHandler"]
|
|
1978
2110
|
}; }
|
|
1979
2111
|
};
|
|
1980
|
-
__decorate$
|
|
2112
|
+
__decorate$5([
|
|
1981
2113
|
RegisterComponent({
|
|
1982
2114
|
name: 'nylas-event-title',
|
|
1983
2115
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
1984
2116
|
eventToProps: {},
|
|
1985
2117
|
fireRegisterEvent: true,
|
|
1986
2118
|
}),
|
|
1987
|
-
__metadata$
|
|
1988
|
-
__metadata$
|
|
1989
|
-
__metadata$
|
|
2119
|
+
__metadata$5("design:type", Function),
|
|
2120
|
+
__metadata$5("design:paramtypes", []),
|
|
2121
|
+
__metadata$5("design:returntype", void 0)
|
|
1990
2122
|
], NylasEventTitle.prototype, "render", null);
|
|
1991
2123
|
NylasEventTitle.style = NylasEventTitleStyle0;
|
|
1992
2124
|
|
|
1993
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}";
|
|
1994
2126
|
const NylasLimitFutureBookingsStyle0 = nylasLimitFutureBookingsCss;
|
|
1995
2127
|
|
|
1996
|
-
var __decorate$
|
|
2128
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1997
2129
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1998
2130
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1999
2131
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2003,7 +2135,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2003
2135
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2004
2136
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2005
2137
|
};
|
|
2006
|
-
var __metadata$
|
|
2138
|
+
var __metadata$4 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2007
2139
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2008
2140
|
return Reflect.metadata(k, v);
|
|
2009
2141
|
};
|
|
@@ -2101,23 +2233,23 @@ const NylasLimitFutureBookings = class {
|
|
|
2101
2233
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2102
2234
|
}; }
|
|
2103
2235
|
};
|
|
2104
|
-
__decorate$
|
|
2236
|
+
__decorate$4([
|
|
2105
2237
|
RegisterComponent({
|
|
2106
2238
|
name: 'nylas-limit-future-bookings',
|
|
2107
2239
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2108
2240
|
eventToProps: {},
|
|
2109
2241
|
fireRegisterEvent: true,
|
|
2110
2242
|
}),
|
|
2111
|
-
__metadata$
|
|
2112
|
-
__metadata$
|
|
2113
|
-
__metadata$
|
|
2243
|
+
__metadata$4("design:type", Function),
|
|
2244
|
+
__metadata$4("design:paramtypes", []),
|
|
2245
|
+
__metadata$4("design:returntype", void 0)
|
|
2114
2246
|
], NylasLimitFutureBookings.prototype, "render", null);
|
|
2115
2247
|
NylasLimitFutureBookings.style = NylasLimitFutureBookingsStyle0;
|
|
2116
2248
|
|
|
2117
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}";
|
|
2118
2250
|
const NylasMinBookingNoticeStyle0 = nylasMinBookingNoticeCss;
|
|
2119
2251
|
|
|
2120
|
-
var __decorate$
|
|
2252
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2121
2253
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2122
2254
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2123
2255
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2127,7 +2259,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2127
2259
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2128
2260
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2129
2261
|
};
|
|
2130
|
-
var __metadata$
|
|
2262
|
+
var __metadata$3 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2131
2263
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2132
2264
|
return Reflect.metadata(k, v);
|
|
2133
2265
|
};
|
|
@@ -2250,23 +2382,23 @@ const NylasMinBookingNotice = class {
|
|
|
2250
2382
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2251
2383
|
}; }
|
|
2252
2384
|
};
|
|
2253
|
-
__decorate$
|
|
2385
|
+
__decorate$3([
|
|
2254
2386
|
RegisterComponent({
|
|
2255
2387
|
name: 'nylas-min-booking-notice',
|
|
2256
2388
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2257
2389
|
eventToProps: {},
|
|
2258
2390
|
fireRegisterEvent: true,
|
|
2259
2391
|
}),
|
|
2260
|
-
__metadata$
|
|
2261
|
-
__metadata$
|
|
2262
|
-
__metadata$
|
|
2392
|
+
__metadata$3("design:type", Function),
|
|
2393
|
+
__metadata$3("design:paramtypes", []),
|
|
2394
|
+
__metadata$3("design:returntype", void 0)
|
|
2263
2395
|
], NylasMinBookingNotice.prototype, "render", null);
|
|
2264
2396
|
NylasMinBookingNotice.style = NylasMinBookingNoticeStyle0;
|
|
2265
2397
|
|
|
2266
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}";
|
|
2267
2399
|
const NylasMinCancellationNoticeStyle0 = nylasMinCancellationNoticeCss;
|
|
2268
2400
|
|
|
2269
|
-
var __decorate$
|
|
2401
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2270
2402
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2271
2403
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
2272
2404
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2276,7 +2408,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2276
2408
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2277
2409
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2278
2410
|
};
|
|
2279
|
-
var __metadata$
|
|
2411
|
+
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
|
2280
2412
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
2281
2413
|
return Reflect.metadata(k, v);
|
|
2282
2414
|
};
|
|
@@ -2399,305 +2531,148 @@ const NylasMinCancellationNotice = class {
|
|
|
2399
2531
|
"availableDaysInFuture": ["availableDaysInFutureChanged"]
|
|
2400
2532
|
}; }
|
|
2401
2533
|
};
|
|
2402
|
-
__decorate$
|
|
2534
|
+
__decorate$2([
|
|
2403
2535
|
RegisterComponent({
|
|
2404
2536
|
name: 'nylas-min-cancellation-notice',
|
|
2405
2537
|
stateToProps: new Map([['schedulerConfig.selectedConfiguration', 'selectedConfiguration']]),
|
|
2406
2538
|
eventToProps: {},
|
|
2407
2539
|
fireRegisterEvent: true,
|
|
2408
2540
|
}),
|
|
2409
|
-
__metadata$
|
|
2410
|
-
__metadata$
|
|
2411
|
-
__metadata$
|
|
2541
|
+
__metadata$2("design:type", Function),
|
|
2542
|
+
__metadata$2("design:paramtypes", []),
|
|
2543
|
+
__metadata$2("design:returntype", void 0)
|
|
2412
2544
|
], NylasMinCancellationNotice.prototype, "render", null);
|
|
2413
2545
|
NylasMinCancellationNotice.style = NylasMinCancellationNoticeStyle0;
|
|
2414
2546
|
|
|
2415
|
-
|
|
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;
|
|
2416
2549
|
|
|
2417
|
-
(function (
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
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 {
|
|
2428
2565
|
constructor(hostRef) {
|
|
2429
2566
|
registerInstance(this, hostRef);
|
|
2430
|
-
this.
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
this.minimumStartTime = null;
|
|
2434
|
-
this.placeholder = 'hh:mmam/pm';
|
|
2435
|
-
this.name = undefined;
|
|
2436
|
-
this.hasError = false;
|
|
2437
|
-
this.err = '';
|
|
2438
|
-
this.showTimes = false;
|
|
2439
|
-
this.ariaActivedescendant = '';
|
|
2440
|
-
this.times = this.generateTimes();
|
|
2441
|
-
this.shouldAutoScroll = false;
|
|
2442
|
-
}
|
|
2443
|
-
handleOutsideClick(event) {
|
|
2444
|
-
const path = event.composedPath();
|
|
2445
|
-
const isClickInside = path.includes(this.el);
|
|
2446
|
-
if (!isClickInside && this.showTimes) {
|
|
2447
|
-
this.showTimes = false;
|
|
2567
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
2568
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
2569
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
2448
2570
|
}
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
let formattedTime = dayjs()
|
|
2453
|
-
.hour(parseInt(this.minimumStartTime))
|
|
2454
|
-
.minute(parseInt(this.minimumStartTime.slice(-4, -2)));
|
|
2455
|
-
if (this.minimumStartTime.slice(-2).toLowerCase() === 'pm' && parseInt(this.minimumStartTime) !== 12) {
|
|
2456
|
-
formattedTime = formattedTime.add(12, 'hour');
|
|
2457
|
-
}
|
|
2458
|
-
else if (this.minimumStartTime.slice(-2).toLowerCase() === 'am' && parseInt(this.minimumStartTime) === 12) {
|
|
2459
|
-
formattedTime = formattedTime.subtract(12, 'hour');
|
|
2460
|
-
}
|
|
2461
|
-
this.times = this.generateTimes();
|
|
2462
|
-
const firstTime = dayjs(this.times[0].value, 'hh:mma');
|
|
2463
|
-
let selectedTimeFormatted = dayjs(this.time, 'hh:mma');
|
|
2464
|
-
if (selectedTimeFormatted.isBefore(firstTime)) {
|
|
2465
|
-
this.err = 'Invalid';
|
|
2466
|
-
this.formError.emit({
|
|
2467
|
-
key: this.el.id,
|
|
2468
|
-
message: 'Invalid',
|
|
2469
|
-
});
|
|
2470
|
-
}
|
|
2571
|
+
else {
|
|
2572
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
2573
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
2471
2574
|
}
|
|
2575
|
+
this.name = 'participant-custom-availability';
|
|
2576
|
+
this.participants = undefined;
|
|
2577
|
+
this.selectedParticipants = this.setParticipants(this.participants);
|
|
2472
2578
|
}
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
const optionIndex = this.times.findIndex(time => time.value === autocompletedTime);
|
|
2477
|
-
if (optionIndex > -1) {
|
|
2478
|
-
this.shouldAutoScroll = false;
|
|
2479
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2480
|
-
}
|
|
2481
|
-
return;
|
|
2482
|
-
}
|
|
2579
|
+
elementNameChangedHandler(newValue) {
|
|
2580
|
+
debug('nylas-participants-custom-availability', 'elementNameChangedHandler', newValue);
|
|
2581
|
+
this.host.setAttribute('name', newValue);
|
|
2483
2582
|
}
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
this.err = 'Invalid';
|
|
2488
|
-
this.formError.emit({
|
|
2489
|
-
key: this.el.id,
|
|
2490
|
-
message: 'Invalid',
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
|
-
if (!validateTimeFormatInput(input)) {
|
|
2494
|
-
this.err = 'Invalid';
|
|
2495
|
-
this.formError.emit({
|
|
2496
|
-
key: this.el.id,
|
|
2497
|
-
message: 'Invalid',
|
|
2498
|
-
});
|
|
2499
|
-
}
|
|
2500
|
-
else {
|
|
2501
|
-
this.err = '';
|
|
2502
|
-
this.formError.emit({
|
|
2503
|
-
key: this.el.id,
|
|
2504
|
-
message: '',
|
|
2505
|
-
});
|
|
2506
|
-
}
|
|
2507
|
-
this.timeChange.emit({
|
|
2508
|
-
key: this.el.id,
|
|
2509
|
-
value: input,
|
|
2510
|
-
});
|
|
2583
|
+
participantsChangedHandler(newValue) {
|
|
2584
|
+
debug('nylas-participants-custom-availability', 'participantsChangedHandler', newValue);
|
|
2585
|
+
this.selectedParticipants = this.setParticipants(newValue);
|
|
2511
2586
|
}
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
if (!validateTimeFormatInput(input)) {
|
|
2515
|
-
this.err = 'Invalid';
|
|
2516
|
-
this.formError.emit({
|
|
2517
|
-
key: this.el.id,
|
|
2518
|
-
message: 'Invalid',
|
|
2519
|
-
});
|
|
2520
|
-
return;
|
|
2521
|
-
}
|
|
2522
|
-
if (input === '') {
|
|
2523
|
-
const newTime = roundToNearest15Minutes().format('hh:mma');
|
|
2524
|
-
this.timeChange.emit({
|
|
2525
|
-
key: this.el.id,
|
|
2526
|
-
value: newTime,
|
|
2527
|
-
});
|
|
2528
|
-
return;
|
|
2529
|
-
}
|
|
2530
|
-
if (!validateExactTimeFormat(input)) {
|
|
2531
|
-
const autocompletedTime = autocompleteTimeFormat(input);
|
|
2532
|
-
this.timeChange.emit({
|
|
2533
|
-
key: this.el.id,
|
|
2534
|
-
value: autocompletedTime,
|
|
2535
|
-
});
|
|
2536
|
-
return;
|
|
2537
|
-
}
|
|
2538
|
-
this.timeChange.emit({
|
|
2539
|
-
key: this.el.id,
|
|
2540
|
-
value: input,
|
|
2541
|
-
});
|
|
2587
|
+
connectedCallback() {
|
|
2588
|
+
debug('nylas-participants-custom-availability', 'connectedCallback');
|
|
2542
2589
|
}
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
if (!validateTimeFormatInput(input)) {
|
|
2546
|
-
return;
|
|
2547
|
-
}
|
|
2548
|
-
if (input === '') {
|
|
2549
|
-
const newTime = roundToNearest15Minutes().format('hh:mma');
|
|
2550
|
-
const optionIndex = this.times.findIndex(time => time.value === newTime);
|
|
2551
|
-
if (optionIndex > -1) {
|
|
2552
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2553
|
-
}
|
|
2554
|
-
return;
|
|
2555
|
-
}
|
|
2556
|
-
if (!validateExactTimeFormat(input)) {
|
|
2557
|
-
const autocompletedTime = autocompleteTimeFormat(input);
|
|
2558
|
-
const optionIndex = this.times.findIndex(time => time.value === autocompletedTime);
|
|
2559
|
-
if (optionIndex > -1) {
|
|
2560
|
-
this.scrollToViewWithinParent(optionIndex);
|
|
2561
|
-
}
|
|
2562
|
-
return;
|
|
2563
|
-
}
|
|
2590
|
+
disconnectedCallback() {
|
|
2591
|
+
debug('nylas-participants-custom-availability', 'disconnectedCallback');
|
|
2564
2592
|
}
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
let startTime = dayjs().set('hour', 0).set('minute', 0).set('second', 0);
|
|
2568
|
-
if (this.minimumStartTime) {
|
|
2569
|
-
startTime = dayjs(this.minimumStartTime, 'hh:mma');
|
|
2570
|
-
}
|
|
2571
|
-
const diff = startTime.endOf('day').diff(startTime, 'minutes');
|
|
2572
|
-
const iterations = Math.round(diff / 15);
|
|
2573
|
-
for (let i = 0; i < iterations + 1; i++) {
|
|
2574
|
-
const time = startTime.add(i * 15, 'minute');
|
|
2575
|
-
if (i == iterations && time.format('hh:mma').includes('am')) {
|
|
2576
|
-
break;
|
|
2577
|
-
}
|
|
2578
|
-
times.push({ id: i, value: time.format('hh:mma') });
|
|
2579
|
-
}
|
|
2580
|
-
return times;
|
|
2593
|
+
componentWillLoad() {
|
|
2594
|
+
debug('nylas-participants-custom-availability', 'componentWillLoad');
|
|
2581
2595
|
}
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
event.preventDefault();
|
|
2585
|
-
if (!this.showTimes) {
|
|
2586
|
-
this.showTimes = true;
|
|
2587
|
-
this.shouldAutoScroll = true;
|
|
2588
|
-
return;
|
|
2589
|
-
}
|
|
2590
|
-
if (this.ariaActivedescendant === '') {
|
|
2591
|
-
this.ariaActivedescendant = this.times[0].id.toString();
|
|
2592
|
-
this.focusOption(0);
|
|
2593
|
-
}
|
|
2594
|
-
else {
|
|
2595
|
-
const currentIndex = this.times.findIndex(time => time.id.toString() === this.ariaActivedescendant);
|
|
2596
|
-
const nextIndex = currentIndex + 1 < this.times.length ? currentIndex + 1 : 0;
|
|
2597
|
-
this.ariaActivedescendant = this.times[nextIndex].id.toString();
|
|
2598
|
-
this.focusOption(nextIndex);
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
else if (event.key === 'ArrowUp') {
|
|
2602
|
-
event.preventDefault();
|
|
2603
|
-
if (this.ariaActivedescendant === '') {
|
|
2604
|
-
this.ariaActivedescendant = this.times[this.times.length - 1].id.toString();
|
|
2605
|
-
this.focusOption(this.times.length - 1);
|
|
2606
|
-
}
|
|
2607
|
-
else {
|
|
2608
|
-
const currentIndex = this.times.findIndex(time => time.id.toString() === this.ariaActivedescendant);
|
|
2609
|
-
const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : this.times.length - 1;
|
|
2610
|
-
this.ariaActivedescendant = this.times[prevIndex].id.toString();
|
|
2611
|
-
this.focusOption(prevIndex);
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
else if (event.key === 'Escape') {
|
|
2615
|
-
this.showTimes = false;
|
|
2616
|
-
this.timeInput.focus();
|
|
2617
|
-
}
|
|
2596
|
+
componentDidLoad() {
|
|
2597
|
+
debug('nylas-participants-custom-availability', 'componentDidLoad');
|
|
2618
2598
|
}
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
const nextIndex = currentIndex + 1 < items.length ? currentIndex + 1 : 0;
|
|
2625
|
-
this.ariaActivedescendant = items[nextIndex].id.toString();
|
|
2626
|
-
this.focusOption(nextIndex);
|
|
2627
|
-
}
|
|
2628
|
-
else if (e.key === 'ArrowUp' || (e.key === 'Tab' && e.shiftKey)) {
|
|
2629
|
-
e.preventDefault();
|
|
2630
|
-
const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : items.length - 1;
|
|
2631
|
-
this.ariaActivedescendant = items[prevIndex].id.toString();
|
|
2632
|
-
this.focusOption(prevIndex);
|
|
2633
|
-
}
|
|
2634
|
-
else if (e.key === 'Enter') {
|
|
2635
|
-
e.preventDefault();
|
|
2636
|
-
if (this.ariaActivedescendant) {
|
|
2637
|
-
const option = items[currentIndex];
|
|
2638
|
-
this.handleTimeChange(e, option.value);
|
|
2639
|
-
this.showTimes = false;
|
|
2640
|
-
this.ariaActivedescendant = '';
|
|
2641
|
-
this.timeInput.focus();
|
|
2642
|
-
}
|
|
2643
|
-
}
|
|
2644
|
-
else if (e.key === 'Escape') {
|
|
2645
|
-
this.showTimes = false;
|
|
2646
|
-
this.timeInput.focus();
|
|
2647
|
-
}
|
|
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 };
|
|
2648
2604
|
}
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
const
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
const childRect = childElement.getBoundingClientRect();
|
|
2655
|
-
const parentRect = parentElement.getBoundingClientRect();
|
|
2656
|
-
if (childRect.top < parentRect.top) {
|
|
2657
|
-
parentElement.scrollTop -= parentRect.top - childRect.top;
|
|
2658
|
-
}
|
|
2659
|
-
else if (childRect.bottom > parentRect.bottom) {
|
|
2660
|
-
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;
|
|
2661
2610
|
}
|
|
2662
|
-
if (
|
|
2663
|
-
|
|
2611
|
+
if (!this.participantFormRef.checkValidity()) {
|
|
2612
|
+
this.internals.setValidity({ customError: true }, 'Please fix the overlapping time ranges.');
|
|
2613
|
+
return;
|
|
2664
2614
|
}
|
|
2665
|
-
else
|
|
2666
|
-
|
|
2615
|
+
else {
|
|
2616
|
+
this.internals.setValidity({});
|
|
2667
2617
|
}
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
if (!option)
|
|
2618
|
+
const jsonValue = JSON.parse(value);
|
|
2619
|
+
const key = name.split('-')[2];
|
|
2620
|
+
if (!this.selectedParticipants[key])
|
|
2672
2621
|
return;
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
}
|
|
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;
|
|
2679
2644
|
}
|
|
2680
2645
|
render() {
|
|
2681
|
-
return (h(Host, { key: '
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
this.timeInput.focus();
|
|
2693
|
-
}, role: "option" }, `${option.value}`)))))), !this.showTimes && this.err && (h("p", { class: "error", id: "email-error" }, this.err)))));
|
|
2646
|
+
return (h(Host, { key: '5590f983de527efa3e79d854e9cb2b49e433d64b' }, h("div", { key: '7a016a7a277b077a4edd63d433a185a7d2f7aaab', class: "nylas-participants-custom-availability", part: "npca" }, h("div", { key: '7fb61474d9b80c59844dd2ca67cd00e95ee2a2be', class: "header", part: "npca__header" }, h("h3", { key: 'dc66f0262309a5c08c887bbbf5c408233ebd1c00' }, "Set Custom Availability for Participants"), h("p", { key: '60686b9f1c4aab680caf07de6c22561c5ec1a9e5' }, "Set custom availability for scheduling meetings, or default to general availability.")), h("div", { key: '8782a3b4e48ce7eb74eb6e41e239b16d9840fb80', class: "content", part: "npca__content" }, h("form", { key: 'c2f23d7eebc4a113fbfa2cbcd7623c99b5a87f89', 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
|
+
}))))));
|
|
2694
2657
|
}
|
|
2695
|
-
get
|
|
2658
|
+
static get formAssociated() { return true; }
|
|
2659
|
+
get host() { return getElement(this); }
|
|
2696
2660
|
static get watchers() { return {
|
|
2697
|
-
"
|
|
2661
|
+
"name": ["elementNameChangedHandler"],
|
|
2662
|
+
"participants": ["participantsChangedHandler"]
|
|
2698
2663
|
}; }
|
|
2699
2664
|
};
|
|
2700
|
-
|
|
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;
|
|
2701
2676
|
|
|
2702
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}";
|
|
2703
2678
|
const NylasTimeslotIntervalStyle0 = nylasTimeslotIntervalCss;
|
|
@@ -2825,9 +2800,9 @@ const NylasTimeslotInterval = class {
|
|
|
2825
2800
|
{ value: '45', label: '45 mins' },
|
|
2826
2801
|
{ value: '60', label: '60 mins' },
|
|
2827
2802
|
];
|
|
2828
|
-
return (h(Host, { key: '
|
|
2803
|
+
return (h(Host, { key: '792ad5a36b3d3908e134f926e2a5596db28fadbf' }, h("div", { key: '95b99dbf25b3e472aaea700639b3c056ccfcb3ca', class: "nylas-timeslot-interval", part: "nti" }, h("div", { key: '4c19be343c3e0d9f38fa8160800bdf85548588b3', class: "header", part: "nti__header" }, h("h3", { key: '9dd8785f3f995add953de09fe9b42324df9f2357' }, "Time-slot interval preferences"), h("p", { key: '9611b580a85c17d1c4afc60e2210fe4756d91b77' }, "Choose your interval preference for time-slots.")), h("div", { key: '01d71df37fa1724f2284dbc8d0e84700693cb2ef', class: "nylas-timeslot-interval__dropdown" }, h("span", { key: '53d613b58c05e00b8a8c9c7de5043ba2a5e4e2de', class: "label", part: "nti__input-label" }, "Select interval preference", h("tooltip-component", { key: 'c171e87a108631c04d8956d1015dfd273c42f46e' }, h("info-icon", { key: 'ebb77a5d85abce76b2e52c30491aa5bf5c23cf98', slot: "tooltip-icon" }), h("span", { key: 'e01edbb2f124619b8d47640193e76fcad06fc568', slot: "tooltip-content" }, "Set the interval preference for the time-slots."))), h("select-dropdown", { key: '1b5714aa414c08687457793921815eb0f4403b83', 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
|
|
2829
2804
|
? intervalPreferenceOptions[0]
|
|
2830
|
-
: 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: 'feb0e75bae639119f00ed98e17c7df1ed842530a', class: "label", part: "nti__input-label" }, "Select the type of time-slot rounding", h("tooltip-component", { key: '7513c90d894fbdbb5cbc1a283650cfefca16481e' }, h("info-icon", { key: '16713630e2403a1e61c5eb49bfeeaac17b45ca62', slot: "tooltip-icon" }), h("span", { key: 'ca1bc61ac175c7b12648d8b2017e661bd78296dd', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), h("radio-button-group", { key: 'f0413408b347a98ce855eaf439253192f1071973', name: "interval-preference", defaultSelectedValue: this.defaultRoundTo && this.defaultRoundTo === this.defaultIntervalMinutes ? 'rounding' : 'no-rounding', options: [
|
|
2831
2806
|
{ value: 'no-rounding', label: 'Default', description: 'Time-slots will be rounded to the nearest quarter-hour.' },
|
|
2832
2807
|
{
|
|
2833
2808
|
value: 'rounding',
|
|
@@ -2855,6 +2830,21 @@ __decorate([
|
|
|
2855
2830
|
], NylasTimeslotInterval.prototype, "render", null);
|
|
2856
2831
|
NylasTimeslotInterval.style = NylasTimeslotIntervalStyle0;
|
|
2857
2832
|
|
|
2833
|
+
const iconCss = ".sc-people-icon-h{display:flex}";
|
|
2834
|
+
const PeopleIconStyle0 = iconCss;
|
|
2835
|
+
|
|
2836
|
+
const PeopleIcon = class {
|
|
2837
|
+
constructor(hostRef) {
|
|
2838
|
+
registerInstance(this, hostRef);
|
|
2839
|
+
this.width = '20';
|
|
2840
|
+
this.height = '20';
|
|
2841
|
+
}
|
|
2842
|
+
render() {
|
|
2843
|
+
return (h("svg", { key: '66534381bbb0bc14b93a49ed0afdc81a917958d4', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, h("path", { key: '2c7959434ba7dcf303b3c87d99b04b2818875c68', 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" })));
|
|
2844
|
+
}
|
|
2845
|
+
};
|
|
2846
|
+
PeopleIcon.style = PeopleIconStyle0;
|
|
2847
|
+
|
|
2858
2848
|
const radioButtonGroupCss = ".radio-group{display:flex;flex-direction:column}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary);margin-top:16px}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}";
|
|
2859
2849
|
const RadioButtonGroupStyle0 = radioButtonGroupCss;
|
|
2860
2850
|
|
|
@@ -2875,11 +2865,40 @@ const RadioButtonGroup = class {
|
|
|
2875
2865
|
});
|
|
2876
2866
|
}
|
|
2877
2867
|
render() {
|
|
2878
|
-
return (h("div", { key: '
|
|
2868
|
+
return (h("div", { key: '985ed3b83d804748d61641feae65322fd08c1649', 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))))))));
|
|
2879
2869
|
}
|
|
2880
2870
|
};
|
|
2881
2871
|
RadioButtonGroup.style = RadioButtonGroupStyle0;
|
|
2882
2872
|
|
|
2883
|
-
|
|
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: 'd91b5d5853ab8a256953c4fde8a79b1ef739433d', class: "switch", part: "ts_label" }, h("input", { key: '6f694e5a07cefacc05e155a0319fe99ec1714354', type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("div", { key: 'e2db848dbad679562201ba8151a523fa1b9dc2b9', 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 };
|
|
2884
2903
|
|
|
2885
|
-
//# sourceMappingURL=calendar-info-
|
|
2904
|
+
//# sourceMappingURL=calendar-info-icon_28.entry.js.map
|