@nylas/web-elements 1.1.0-canary.16 → 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 +2 -2
- package/dist/cjs/archive-icon.cjs.entry.js +1 -1
- package/dist/cjs/archive-icon_7.cjs.entry.js +7 -7
- package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/button-component.cjs.entry.js +1 -1
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-info-icon.cjs.entry.js +1 -1
- package/dist/cjs/{calendar-info-icon_27.cjs.entry.js → calendar-info-icon_28.cjs.entry.js} +300 -412
- 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 +96 -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 +10 -10
- package/dist/cjs/index-c14ea8f5.js +18 -14
- package/dist/cjs/info-icon.cjs.entry.js +1 -1
- package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown.cjs.entry.js +13 -3
- package/dist/cjs/input-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +14 -4
- package/dist/cjs/input-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/italic-icon.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-icon.cjs.entry.js +1 -1
- package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
- package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/nylas-additional-participants.cjs.entry.js +16 -12
- package/dist/cjs/nylas-additional-participants.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-availability-picker.cjs.entry.js +27 -16
- package/dist/cjs/nylas-availability-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +4 -4
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
- package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
- package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +94 -76
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
- package/dist/cjs/nylas-event-location.cjs.entry.js +3 -3
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
- package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
- package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
- package/dist/cjs/nylas-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
- package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-booking-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +1 -1
- package/dist/cjs/nylas-notification.cjs.entry.js +1 -1
- package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js +142 -0
- package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
- package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
- package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
- package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
- package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/people-icon.cjs.entry.js +1 -1
- package/dist/cjs/person-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-icon.cjs.entry.js +1 -1
- package/dist/cjs/search-icon.cjs.entry.js +1 -1
- package/dist/cjs/select-dropdown.cjs.entry.js +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 +31 -3
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js.map +1 -1
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +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-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +33 -12
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.css +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +48 -25
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +92 -75
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.css +98 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +219 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +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/components/add-circle.js +1 -1
- package/dist/components/archive.js +1 -1
- package/dist/components/arrow.js +1 -1
- package/dist/components/bold.js +1 -1
- package/dist/components/button-component2.js +1 -1
- package/dist/components/calendar-cancel.js +1 -1
- package/dist/components/calendar-check.js +1 -1
- package/dist/components/calendar-info.js +1 -1
- package/dist/components/calendar-patterns.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkbox-component2.js +1 -1
- package/dist/components/checkbox-component2.js.map +1 -1
- package/dist/components/checkmark-circle.js +1 -1
- package/dist/components/chevron.js +1 -1
- package/dist/components/clock.js +1 -1
- package/dist/components/close.js +1 -1
- package/dist/components/document-refresh-icon.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder.js +1 -1
- package/dist/components/forward.js +1 -1
- package/dist/components/globe.js +1 -1
- package/dist/components/google-logo.js +1 -1
- package/dist/components/inbox.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/input-component2.js +1 -1
- package/dist/components/input-dropdown2.js +14 -3
- package/dist/components/input-dropdown2.js.map +1 -1
- package/dist/components/italic.js +1 -1
- package/dist/components/loading.js +1 -1
- package/dist/components/location-off.js +1 -1
- package/dist/components/location.js +1 -1
- package/dist/components/microsoft-logo.js +1 -1
- package/dist/components/multi-select-dropdown2.js +2 -2
- package/dist/components/nylas-additional-participants2.js +17 -13
- package/dist/components/nylas-additional-participants2.js.map +1 -1
- package/dist/components/nylas-availability-picker2.js +28 -16
- package/dist/components/nylas-availability-picker2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +1 -1
- package/dist/components/nylas-cancellation-policy2.js +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +1 -1
- package/dist/components/nylas-composer2.js +1 -1
- package/dist/components/nylas-custom-booking-flow.js +1 -1
- package/dist/components/nylas-customize-booking-settings2.js +1 -1
- package/dist/components/nylas-editor-tabs2.js +184 -154
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-event-info2.js +1 -1
- package/dist/components/nylas-event-limits2.js +1 -1
- package/dist/components/nylas-event-location2.js +3 -3
- package/dist/components/nylas-form-card2.js +1 -1
- package/dist/components/nylas-if-state.js +1 -1
- package/dist/components/nylas-limit-future-bookings2.js +1 -1
- package/dist/components/nylas-list-folders.js +1 -1
- package/dist/components/nylas-list-threads.js +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/components/nylas-mailbox.js +1 -1
- package/dist/components/nylas-min-booking-notice2.js +1 -1
- package/dist/components/nylas-min-cancellation-notice2.js +1 -1
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-participants-custom-availability.d.ts +11 -0
- package/dist/components/nylas-participants-custom-availability.js +8 -0
- package/dist/components/nylas-participants-custom-availability.js.map +1 -0
- package/dist/components/nylas-participants-custom-availability2.js +218 -0
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -0
- package/dist/components/nylas-provider.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +100 -88
- package/dist/components/nylas-scheduler-editor.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.js +1 -1
- package/dist/components/person.js +1 -1
- package/dist/components/play.js +1 -1
- package/dist/components/radio-button-group2.js +1 -1
- package/dist/components/refresh.js +1 -1
- package/dist/components/reply-all.js +1 -1
- package/dist/components/reply.js +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +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 +1 -1
- package/dist/esm/add-circle-icon_2.entry.js +2 -2
- package/dist/esm/archive-icon.entry.js +1 -1
- package/dist/esm/archive-icon_7.entry.js +7 -7
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/bold-icon_3.entry.js +3 -3
- package/dist/esm/button-component.entry.js +1 -1
- package/dist/esm/calendar-cancel-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon_2.entry.js +2 -2
- package/dist/esm/calendar-icon.entry.js +1 -1
- package/dist/esm/calendar-info-icon.entry.js +1 -1
- package/dist/esm/{calendar-info-icon_27.entry.js → calendar-info-icon_28.entry.js} +300 -413
- package/dist/esm/calendar-info-icon_28.entry.js.map +1 -0
- package/dist/esm/calendar-patterns-icon.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js +1 -1
- package/dist/esm/checkbox-component.entry.js.map +1 -1
- package/dist/esm/checkmark-circle-icon.entry.js +1 -1
- package/dist/esm/chevron-icon.entry.js +1 -1
- package/dist/esm/chevron-icon_3.entry.js +4 -4
- package/dist/esm/clock-icon.entry.js +1 -1
- package/dist/esm/clock-icon_2.entry.js +2 -2
- package/dist/esm/close-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/flow-icon.entry.js +1 -1
- package/dist/esm/folder-icon.entry.js +1 -1
- package/dist/esm/forward-icon.entry.js +1 -1
- package/dist/esm/forward-icon_6.entry.js +7 -7
- package/dist/esm/globe-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +96 -78
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/inbox-icon.entry.js +1 -1
- package/dist/esm/index-582cfc93.js +18 -14
- package/dist/esm/index-7cb0dd3d.js +10 -10
- package/dist/esm/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
- package/dist/esm/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/info-icon.entry.js +1 -1
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown.entry.js +13 -3
- package/dist/esm/input-dropdown.entry.js.map +1 -1
- package/dist/esm/input-dropdown_2.entry.js +14 -4
- package/dist/esm/input-dropdown_2.entry.js.map +1 -1
- package/dist/esm/italic-icon.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-icon.entry.js +1 -1
- package/dist/esm/location-icon.entry.js +1 -1
- package/dist/esm/location-off-icon.entry.js +1 -1
- package/dist/esm/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
- package/dist/esm/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/esm/microsoft-logo-icon.entry.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +3 -3
- package/dist/esm/nylas-additional-participants.entry.js +19 -15
- package/dist/esm/nylas-additional-participants.entry.js.map +1 -1
- package/dist/esm/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
- package/dist/esm/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
- package/dist/esm/nylas-availability-picker.entry.js +29 -18
- package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card.entry.js +2 -2
- package/dist/esm/nylas-booked-event-card_10.entry.js +4 -4
- package/dist/esm/nylas-booking-calendar-picker.entry.js +2 -2
- package/dist/esm/nylas-booking-form.entry.js +2 -2
- package/dist/esm/nylas-buffer-time.entry.js +2 -2
- package/dist/esm/nylas-calendar-picker.entry.js +2 -2
- package/dist/esm/nylas-cancel-booking-form.entry.js +3 -3
- package/dist/esm/nylas-cancellation-policy.entry.js +3 -3
- package/dist/esm/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/esm/nylas-composer.entry.js +2 -2
- package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/esm/nylas-customize-booking-settings.entry.js +3 -3
- package/dist/esm/nylas-date-picker.entry.js +2 -2
- package/dist/esm/nylas-editor-tabs.entry.js +96 -78
- package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/esm/nylas-event-description.entry.js +2 -2
- package/dist/esm/nylas-event-duration.entry.js +2 -2
- package/dist/esm/nylas-event-info.entry.js +3 -3
- package/dist/esm/nylas-event-limits.entry.js +3 -3
- package/dist/esm/nylas-event-location.entry.js +5 -5
- package/dist/esm/nylas-event-title.entry.js +2 -2
- package/dist/esm/nylas-form-card.entry.js +3 -3
- package/dist/esm/nylas-if-state.entry.js +3 -3
- package/dist/esm/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/esm/nylas-list-configurations.entry.js +2 -2
- package/dist/esm/nylas-list-folders.entry.js +3 -3
- package/dist/esm/nylas-list-threads.entry.js +3 -3
- package/dist/esm/nylas-locale-switch.entry.js +2 -2
- package/dist/esm/nylas-login.entry.js +3 -3
- package/dist/esm/nylas-logo.entry.js +1 -1
- package/dist/esm/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/esm/nylas-mailbox.entry.js +4 -4
- package/dist/esm/nylas-min-booking-notice.entry.js +3 -3
- package/dist/esm/nylas-min-cancellation-notice.entry.js +3 -3
- package/dist/esm/nylas-notification.entry.js +2 -2
- package/dist/esm/nylas-participants-custom-availability.entry.js +138 -0
- package/dist/esm/nylas-participants-custom-availability.entry.js.map +1 -0
- package/dist/esm/nylas-provider.entry.js +5 -5
- package/dist/esm/nylas-scheduler-editor.entry.js +3 -3
- package/dist/esm/nylas-scheduling.entry.js +3 -3
- package/dist/esm/nylas-selected-event-card.entry.js +2 -2
- package/dist/esm/nylas-summarize-message-button.entry.js +4 -4
- package/dist/esm/nylas-threads-refresh.entry.js +4 -4
- package/dist/esm/nylas-threads-search.entry.js +3 -3
- package/dist/esm/nylas-time-window-picker.entry.js +2 -2
- package/dist/esm/nylas-timeslot-interval.entry.js +4 -4
- package/dist/esm/nylas-timeslot-picker.entry.js +2 -2
- package/dist/esm/nylas-view-email.entry.js +2 -2
- package/dist/esm/nylas-view-thread.entry.js +3 -3
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/people-icon.entry.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/play-icon_2.entry.js +2 -2
- package/dist/esm/radio-button-group.entry.js +1 -1
- package/dist/esm/refresh-icon.entry.js +1 -1
- package/dist/esm/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
- package/dist/esm/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
- package/dist/esm/reply-all-icon.entry.js +1 -1
- package/dist/esm/reply-icon.entry.js +1 -1
- package/dist/esm/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
- package/dist/{nylas-web-elements/scheduler-store-17f7f1c8.js.map → esm/scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/esm/search-icon.entry.js +1 -1
- package/dist/esm/select-dropdown.entry.js +2 -2
- package/dist/esm/sent-icon.entry.js +1 -1
- package/dist/esm/spam-icon.entry.js +1 -1
- package/dist/esm/star-icon.entry.js +1 -1
- package/dist/esm/stop-icon.entry.js +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/time-period-selector.entry.js +2 -2
- package/dist/esm/toggle-switch.entry.js +1 -1
- package/dist/esm/toggle-switch.entry.js.map +1 -1
- package/dist/esm/tooltip-component.entry.js +1 -1
- package/dist/esm/translate-icon.entry.js +1 -1
- package/dist/esm/trash-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/{nylas-web-elements/utils-49a1d17b.js → esm/utils-04c10cbd.js} +2 -2
- package/dist/esm/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
- package/dist/esm/warning-icon.entry.js +1 -1
- package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
- package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
- package/dist/nylas-web-elements/button-component.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
- package/dist/nylas-web-elements/checkbox-component.entry.js.map +1 -1
- package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
- package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
- package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
- package/dist/nylas-web-elements/close-icon.entry.js +1 -1
- package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
- package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
- package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
- package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
- package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
- package/dist/nylas-web-elements/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
- package/dist/nylas-web-elements/index.esm.js +2 -2
- package/dist/nylas-web-elements/info-icon.entry.js +1 -1
- package/dist/nylas-web-elements/input-component.entry.js +1 -1
- package/dist/nylas-web-elements/input-dropdown.entry.js +13 -3
- package/dist/nylas-web-elements/input-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
- package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-icon.entry.js +1 -1
- package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
- package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
- package/dist/nylas-web-elements/multi-select-dropdown.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js +19 -15
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js.map +1 -1
- package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
- package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js +29 -18
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-buffer-time.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-composer.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-date-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +96 -78
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-description.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-event-duration.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-event-info.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-limits.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-location.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-event-title.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-form-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-if-state.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-configurations.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-list-folders.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-threads.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-login.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-mailbox.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-notification.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +138 -0
- package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js.map +1 -0
- package/dist/nylas-web-elements/nylas-provider.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-search.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-email.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-thread.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-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-086746ee.entry.js +2 -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-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-ace74b9d.entry.js → p-84c53084.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-470536e0.entry.js → p-8c1a5e57.entry.js} +2 -2
- 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-09fec39c.entry.js → p-a804616a.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-4f548e66.entry.js → p-d1d984c5.entry.js} +2 -2
- 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-13b003b5.entry.js → p-df2b34ee.entry.js} +2 -2
- 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-b27e34a9.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 +1 -1
- package/dist/nylas-web-elements/person-icon.entry.js +1 -1
- package/dist/nylas-web-elements/play-icon.entry.js +1 -1
- package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
- package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
- package/dist/nylas-web-elements/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
- package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
- package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
- package/dist/nylas-web-elements/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
- package/dist/{esm/scheduler-store-17f7f1c8.js.map → nylas-web-elements/scheduler-store-6c4866d6.js.map} +1 -1
- package/dist/nylas-web-elements/search-icon.entry.js +1 -1
- package/dist/nylas-web-elements/select-dropdown.entry.js +2 -2
- package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
- package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
- package/dist/nylas-web-elements/star-icon.entry.js +1 -1
- package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
- package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
- package/dist/nylas-web-elements/time-period-selector.entry.js +2 -2
- package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
- package/dist/nylas-web-elements/toggle-switch.entry.js.map +1 -1
- package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
- package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
- package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
- package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
- package/dist/{esm/utils-49a1d17b.js → nylas-web-elements/utils-04c10cbd.js} +2 -2
- package/dist/nylas-web-elements/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
- package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
- package/dist/types/components/design-system/input-dropdown/input-dropdown.d.ts +2 -0
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +6 -1
- package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +2 -4
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +12 -5
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +36 -0
- package/dist/types/components.d.ts +122 -9
- package/package.json +1 -1
- package/dist/cjs/calendar-info-icon_27.cjs.entry.js.map +0 -1
- package/dist/esm/calendar-info-icon_27.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-0dbc0c01.entry.js +0 -2
- package/dist/nylas-web-elements/p-3fd63454.entry.js +0 -2
- package/dist/nylas-web-elements/p-3fd63454.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-427548f5.entry.js +0 -2
- package/dist/nylas-web-elements/p-427548f5.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-53da3000.entry.js +0 -2
- package/dist/nylas-web-elements/p-7fac2bba.entry.js +0 -2
- package/dist/nylas-web-elements/p-96418bc6.entry.js +0 -2
- package/dist/nylas-web-elements/p-9acfea5f.entry.js +0 -2
- package/dist/nylas-web-elements/p-9acfea5f.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-c170c56d.entry.js +0 -2
- package/dist/nylas-web-elements/p-de63bc35.entry.js +0 -2
- package/dist/nylas-web-elements/p-efd5b80a.entry.js +0 -2
- package/dist/nylas-web-elements/p-efd5b80a.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fbac3865.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-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-96418bc6.entry.js.map → p-086746ee.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-470536e0.entry.js.map → p-8c1a5e57.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-09fec39c.entry.js.map → p-a804616a.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-4f548e66.entry.js.map → p-d1d984c5.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-13b003b5.entry.js.map → p-df2b34ee.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-b27e34a9.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
|
@@ -2,45 +2,47 @@ import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/
|
|
|
2
2
|
import { R as RegisterComponent } from './register-component.js';
|
|
3
3
|
import { q as mergeDeep, a as debug, s as parsePreviewLink } from './utils.js';
|
|
4
4
|
import { D as DEFAULT_OPEN_HOURS } from './constants.js';
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
31
|
-
import { d as defineCustomElement$
|
|
32
|
-
import { d as defineCustomElement$
|
|
33
|
-
import { d as defineCustomElement$
|
|
34
|
-
import { d as defineCustomElement$
|
|
35
|
-
import { d as defineCustomElement$
|
|
36
|
-
import { d as defineCustomElement$
|
|
37
|
-
import { d as defineCustomElement$
|
|
38
|
-
import { d as defineCustomElement$
|
|
39
|
-
import { d as defineCustomElement$
|
|
40
|
-
import { d as defineCustomElement$
|
|
41
|
-
import { d as defineCustomElement$
|
|
42
|
-
import { d as defineCustomElement$
|
|
43
|
-
import { d as defineCustomElement$
|
|
5
|
+
import { d as defineCustomElement$G } from './add-circle.js';
|
|
6
|
+
import { d as defineCustomElement$F } from './button-component2.js';
|
|
7
|
+
import { d as defineCustomElement$E } from './calendar-info.js';
|
|
8
|
+
import { d as defineCustomElement$D } from './calendar-patterns.js';
|
|
9
|
+
import { d as defineCustomElement$C } from './checkbox-component2.js';
|
|
10
|
+
import { d as defineCustomElement$B } from './chevron.js';
|
|
11
|
+
import { d as defineCustomElement$A } from './close.js';
|
|
12
|
+
import { d as defineCustomElement$z } from './flow.js';
|
|
13
|
+
import { d as defineCustomElement$y } from './globe.js';
|
|
14
|
+
import { d as defineCustomElement$x } from './info.js';
|
|
15
|
+
import { d as defineCustomElement$w } from './input-dropdown2.js';
|
|
16
|
+
import { d as defineCustomElement$v } from './loading.js';
|
|
17
|
+
import { d as defineCustomElement$u } from './location.js';
|
|
18
|
+
import { d as defineCustomElement$t } from './location-off.js';
|
|
19
|
+
import { d as defineCustomElement$s } from './multi-select-dropdown2.js';
|
|
20
|
+
import { d as defineCustomElement$r } from './nylas-additional-participants2.js';
|
|
21
|
+
import { d as defineCustomElement$q } from './nylas-availability-picker2.js';
|
|
22
|
+
import { d as defineCustomElement$p } from './nylas-booking-calendar-picker2.js';
|
|
23
|
+
import { d as defineCustomElement$o } from './nylas-buffer-time2.js';
|
|
24
|
+
import { d as defineCustomElement$n } from './nylas-calendar-picker2.js';
|
|
25
|
+
import { d as defineCustomElement$m } from './nylas-cancellation-policy2.js';
|
|
26
|
+
import { d as defineCustomElement$l } from './nylas-customize-booking-settings2.js';
|
|
27
|
+
import { d as defineCustomElement$k } from './nylas-event-description2.js';
|
|
28
|
+
import { d as defineCustomElement$j } from './nylas-event-duration2.js';
|
|
29
|
+
import { d as defineCustomElement$i } from './nylas-event-info2.js';
|
|
30
|
+
import { d as defineCustomElement$h } from './nylas-event-limits2.js';
|
|
31
|
+
import { d as defineCustomElement$g } from './nylas-event-location2.js';
|
|
32
|
+
import { d as defineCustomElement$f } from './nylas-event-title2.js';
|
|
33
|
+
import { d as defineCustomElement$e } from './nylas-form-card2.js';
|
|
34
|
+
import { d as defineCustomElement$d } from './nylas-limit-future-bookings2.js';
|
|
35
|
+
import { d as defineCustomElement$c } from './nylas-min-booking-notice2.js';
|
|
36
|
+
import { d as defineCustomElement$b } from './nylas-min-cancellation-notice2.js';
|
|
37
|
+
import { d as defineCustomElement$a } from './nylas-participants-custom-availability2.js';
|
|
38
|
+
import { d as defineCustomElement$9 } from './nylas-time-window-picker2.js';
|
|
39
|
+
import { d as defineCustomElement$8 } from './nylas-timeslot-interval2.js';
|
|
40
|
+
import { d as defineCustomElement$7 } from './people.js';
|
|
41
|
+
import { d as defineCustomElement$6 } from './radio-button-group2.js';
|
|
42
|
+
import { d as defineCustomElement$5 } from './search.js';
|
|
43
|
+
import { d as defineCustomElement$4 } from './select-dropdown2.js';
|
|
44
|
+
import { d as defineCustomElement$3 } from './time-period-selector2.js';
|
|
45
|
+
import { d as defineCustomElement$2 } from './toggle-switch2.js';
|
|
44
46
|
import { d as defineCustomElement$1 } from './toolitp-component.js';
|
|
45
47
|
|
|
46
48
|
function TabContents({ id, formState, activeTab, calendars }) {
|
|
@@ -81,7 +83,8 @@ function TabContents({ id, formState, activeTab, calendars }) {
|
|
|
81
83
|
h("nylas-customize-booking-settings", { name: "customize-booking-settings", exportparts: "ncbs, ncbs__header, ncbs__settings, ncbs__settings-div, ncbs__additional_guests, ncbs__cancellation_options, ncbs__rescheduling_options" })));
|
|
82
84
|
case 'participants':
|
|
83
85
|
return (h("div", { key: id },
|
|
84
|
-
h("nylas-additional-participants", { name: "participants", eventParticipants: formState.participants, exportparts: "nap__title, nap__subtitle, nap__content, nap__input_group, nap__input_wrapper, nap__input, nap__remove-participant" })
|
|
86
|
+
h("nylas-additional-participants", { name: "participants", eventParticipants: formState.participants, exportparts: "nap__title, nap__subtitle, nap__content, nap__input_group, nap__input_wrapper, nap__input, nap__remove-participant" }),
|
|
87
|
+
h("nylas-participants-custom-availability", { name: "participant-custom-availability", participants: formState.participants, exportparts: "npca, npca__header, npca__content, npca__participant-container, npca__participant-title, npca__participant-toggle--container, npca__toggle-label, npca__toggle-input, npca__toggle-slider" })));
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
|
|
@@ -122,8 +125,7 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
122
125
|
this.isLoading = true;
|
|
123
126
|
this.hasUnsavedChanges = false;
|
|
124
127
|
const formState = this.updateFormState();
|
|
125
|
-
const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, } = formState;
|
|
126
|
-
const organizer = this.selectedConfiguration?.participants?.find(p => p.is_organizer);
|
|
128
|
+
const { title, description, duration, availability, calendarIds, bookingCalendar, location, bookingType, buffer, availableDaysInFuture, minCancellationNotice, minBookingNotice, cancellationPolicy, timeslotInterval, additionalGuestsHidden, hideCancellationOptions, hideReschedulingOptions, participants, participantOpenHours, } = formState;
|
|
127
129
|
const durationMinutes = duration ? parseInt(duration) : 30;
|
|
128
130
|
const configObject = {
|
|
129
131
|
...(this.selectedConfiguration?.id && { id: this.selectedConfiguration.id }),
|
|
@@ -135,24 +137,34 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
135
137
|
availability_rules: {
|
|
136
138
|
availability_method: this.selectedConfiguration?.availability?.availability_rules?.availability_method ?? 'collective',
|
|
137
139
|
buffer: buffer || { before: 0, after: 0 },
|
|
138
|
-
default_open_hours: this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
|
|
140
|
+
default_open_hours: availability?.openHours ?? this.selectedConfiguration?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
|
|
139
141
|
round_robin_group_id: this.selectedConfiguration?.availability?.availability_rules?.round_robin_group_id ?? '',
|
|
140
142
|
},
|
|
141
143
|
},
|
|
142
144
|
participants: [
|
|
143
|
-
{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
145
|
+
...(participants?.map(p => {
|
|
146
|
+
if (p.is_organizer) {
|
|
147
|
+
return {
|
|
148
|
+
name: p.name ?? p.email,
|
|
149
|
+
email: p.email,
|
|
150
|
+
is_organizer: true,
|
|
151
|
+
availability: {
|
|
152
|
+
calendar_ids: calendarIds?.length ? calendarIds : ['primary'],
|
|
153
|
+
open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
|
|
154
|
+
},
|
|
155
|
+
booking: {
|
|
156
|
+
calendar_id: bookingCalendar && bookingCalendar !== '' ? bookingCalendar : 'primary',
|
|
157
|
+
},
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
return {
|
|
161
|
+
...p,
|
|
162
|
+
availability: {
|
|
163
|
+
calendar_ids: p.availability?.calendar_ids ?? ['primary'],
|
|
164
|
+
open_hours: participantOpenHours?.[p.email] ?? p.availability?.open_hours ?? [],
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
}) ?? []),
|
|
156
168
|
],
|
|
157
169
|
event_booking: {
|
|
158
170
|
title: title?.toString() ?? '',
|
|
@@ -223,7 +235,8 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
223
235
|
handleValueChanged(event) {
|
|
224
236
|
debug('[nylas-editor-tabs]', 'handleValueChanged', event);
|
|
225
237
|
const { name, value } = event.detail;
|
|
226
|
-
this.
|
|
238
|
+
this.setFormState(value, name);
|
|
239
|
+
this.formState = { ...this.formState };
|
|
227
240
|
this.hasUnsavedChanges = true;
|
|
228
241
|
this.error = '';
|
|
229
242
|
}
|
|
@@ -235,7 +248,7 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
235
248
|
duration: config?.availability?.duration_minutes?.toString() ?? '30',
|
|
236
249
|
availability: {
|
|
237
250
|
timezone: config?.event_booking?.timezone ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
238
|
-
openHours:
|
|
251
|
+
openHours: config?.availability?.availability_rules?.default_open_hours ?? DEFAULT_OPEN_HOURS,
|
|
239
252
|
},
|
|
240
253
|
calendarIds: organizerParticipant?.availability?.calendar_ids ?? [],
|
|
241
254
|
participants: config?.participants ?? [],
|
|
@@ -256,62 +269,69 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
256
269
|
hideReschedulingOptions: config?.scheduler?.hide_rescheduling_options ?? false,
|
|
257
270
|
};
|
|
258
271
|
}
|
|
272
|
+
setFormState(value, key) {
|
|
273
|
+
switch (key) {
|
|
274
|
+
case 'title':
|
|
275
|
+
this.formState.title = value.toString();
|
|
276
|
+
break;
|
|
277
|
+
case 'description':
|
|
278
|
+
this.formState.description = value.toString();
|
|
279
|
+
break;
|
|
280
|
+
case 'duration':
|
|
281
|
+
this.formState.duration = value.toString();
|
|
282
|
+
break;
|
|
283
|
+
case 'availability':
|
|
284
|
+
this.formState.availability = JSON.parse(value.toString());
|
|
285
|
+
break;
|
|
286
|
+
case 'participants':
|
|
287
|
+
this.formState.participants = JSON.parse(value.toString());
|
|
288
|
+
break;
|
|
289
|
+
case 'calendars':
|
|
290
|
+
this.formState.calendarIds = value.toString().split(',');
|
|
291
|
+
break;
|
|
292
|
+
case 'booking-calendar':
|
|
293
|
+
this.formState.bookingCalendar = value.toString();
|
|
294
|
+
break;
|
|
295
|
+
case 'location':
|
|
296
|
+
this.formState.location = value.toString();
|
|
297
|
+
break;
|
|
298
|
+
case 'booking-type':
|
|
299
|
+
this.formState.bookingType = value.toString();
|
|
300
|
+
break;
|
|
301
|
+
case 'buffer-time':
|
|
302
|
+
this.formState.buffer = JSON.parse(value.toString());
|
|
303
|
+
break;
|
|
304
|
+
case 'limit-future-bookings':
|
|
305
|
+
this.formState.availableDaysInFuture = parseInt(value.toString());
|
|
306
|
+
break;
|
|
307
|
+
case 'min-cancellation-notice':
|
|
308
|
+
this.formState.minCancellationNotice = parseInt(value.toString());
|
|
309
|
+
break;
|
|
310
|
+
case 'min-booking-notice':
|
|
311
|
+
this.formState.minBookingNotice = parseInt(value.toString());
|
|
312
|
+
break;
|
|
313
|
+
case 'cancellation-policy':
|
|
314
|
+
this.formState.cancellationPolicy = value.toString();
|
|
315
|
+
break;
|
|
316
|
+
case 'timeslot-interval':
|
|
317
|
+
this.formState.timeslotInterval = JSON.parse(value.toString());
|
|
318
|
+
break;
|
|
319
|
+
case 'customize-booking-settings':
|
|
320
|
+
const settings = JSON.parse(value.toString());
|
|
321
|
+
this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
|
|
322
|
+
this.formState.hideCancellationOptions = settings.hideCancellationOptions;
|
|
323
|
+
this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
|
|
324
|
+
break;
|
|
325
|
+
case 'participant-custom-availability':
|
|
326
|
+
const participantOpenHours = JSON.parse(value.toString());
|
|
327
|
+
this.formState.participantOpenHours = participantOpenHours;
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
259
331
|
updateFormState() {
|
|
260
332
|
const formData = new FormData(this.formRef);
|
|
261
333
|
formData.forEach((value, key) => {
|
|
262
|
-
|
|
263
|
-
case 'title':
|
|
264
|
-
this.formState.title = value.toString();
|
|
265
|
-
break;
|
|
266
|
-
case 'description':
|
|
267
|
-
this.formState.description = value.toString();
|
|
268
|
-
break;
|
|
269
|
-
case 'duration':
|
|
270
|
-
this.formState.duration = value.toString();
|
|
271
|
-
break;
|
|
272
|
-
case 'availability':
|
|
273
|
-
this.formState.availability = JSON.parse(value.toString());
|
|
274
|
-
break;
|
|
275
|
-
case 'participants':
|
|
276
|
-
this.formState.participants = JSON.parse(value.toString());
|
|
277
|
-
break;
|
|
278
|
-
case 'calendars':
|
|
279
|
-
this.formState.calendarIds = value.toString().split(',');
|
|
280
|
-
break;
|
|
281
|
-
case 'booking-calendar':
|
|
282
|
-
this.formState.bookingCalendar = value.toString();
|
|
283
|
-
break;
|
|
284
|
-
case 'location':
|
|
285
|
-
this.formState.location = value.toString();
|
|
286
|
-
break;
|
|
287
|
-
case 'booking-type':
|
|
288
|
-
this.formState.bookingType = value.toString();
|
|
289
|
-
break;
|
|
290
|
-
case 'buffer-time':
|
|
291
|
-
this.formState.buffer = JSON.parse(value.toString());
|
|
292
|
-
break;
|
|
293
|
-
case 'limit-future-bookings':
|
|
294
|
-
this.formState.availableDaysInFuture = parseInt(value.toString());
|
|
295
|
-
break;
|
|
296
|
-
case 'min-cancellation-notice':
|
|
297
|
-
this.formState.minCancellationNotice = parseInt(value.toString());
|
|
298
|
-
break;
|
|
299
|
-
case 'min-booking-notice':
|
|
300
|
-
this.formState.minBookingNotice = parseInt(value.toString());
|
|
301
|
-
break;
|
|
302
|
-
case 'cancellation-policy':
|
|
303
|
-
this.formState.cancellationPolicy = value.toString();
|
|
304
|
-
break;
|
|
305
|
-
case 'timeslot-interval':
|
|
306
|
-
this.formState.timeslotInterval = JSON.parse(value.toString());
|
|
307
|
-
break;
|
|
308
|
-
case 'customize-booking-settings':
|
|
309
|
-
const settings = JSON.parse(value.toString());
|
|
310
|
-
this.formState.additionalGuestsHidden = settings.additionalGuestsHidden;
|
|
311
|
-
this.formState.hideCancellationOptions = settings.hideCancellationOptions;
|
|
312
|
-
this.formState.hideReschedulingOptions = settings.hideReschedulingOptions;
|
|
313
|
-
break;
|
|
314
|
-
}
|
|
334
|
+
this.setFormState(value, key);
|
|
315
335
|
});
|
|
316
336
|
this.formState = { ...this.formState };
|
|
317
337
|
return this.formState;
|
|
@@ -324,22 +344,22 @@ const NylasEditorTabs = proxyCustomElement(class NylasEditorTabs extends HTMLEle
|
|
|
324
344
|
render() {
|
|
325
345
|
debug('[nylas-editor-tabs]', 'render', this.formState);
|
|
326
346
|
const showParticipantsTab = localStorage.getItem('nylas') === 'Nylas Developer';
|
|
327
|
-
return (h(Host, { key: '
|
|
347
|
+
return (h(Host, { key: 'ccfd780da5c6ce1688f60384796bbaa98fe6094d' }, h("form", { key: '2e5d1c16a5373a5b623869925a7cab71f52f98ce', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "form-contents" }, h("div", { class: "tabs" }, h("button", { class: { tab: true, active: this.activeTab == 'eventInfo' }, onClick: e => this.setActiveTab(e, 'eventInfo') }, h("calendar-info-icon", { width: "16", height: "16" }), "Event Info"), h("button", { class: { tab: true, active: this.activeTab == 'availability' }, onClick: e => this.setActiveTab(e, 'availability') }, h("calendar-patterns-icon", { width: "16", height: "16" }), "Availability"), h("button", { class: { tab: true, active: this.activeTab == 'bookingOptions' }, onClick: e => this.setActiveTab(e, 'bookingOptions') }, h("flow-icon", { width: "16", height: "16" }), "Booking Options"), showParticipantsTab && (h("button", { class: { tab: true, active: this.activeTab == 'participants' }, onClick: e => this.setActiveTab(e, 'participants') }, h("people-icon", { width: "16", height: "16" }), "Participants"))), h("div", { class: "tab-content" }, h(TabContents, { formState: this.formState, activeTab: this.activeTab, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new' })))) : (h("slot", null)), h("div", { key: 'f11d2767c5fc65ad7a72f346e9b3940b8151d7a3', class: "footer" }, h("div", { key: '858c5dac4d006f28b05347be3feba2d6dd336b15', class: "preview" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
328
348
|
event.preventDefault();
|
|
329
349
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
330
350
|
if (!previewEvent.defaultPrevented) {
|
|
331
351
|
window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
332
352
|
}
|
|
333
|
-
}, variant: 'basic' }, "Preview"))), h("div", { key: '
|
|
353
|
+
}, variant: 'basic' }, "Preview"))), h("div", { key: 'c5225165887e64b467570a3f90222479fb259494', class: "buttons" }, h("p", { key: '50b2861f9c99e3dc91e58f77097fa753ba02cd1b', class: {
|
|
334
354
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
335
355
|
'saved-changes': this.changesSaved,
|
|
336
356
|
'error': this.error !== '',
|
|
337
357
|
'error-full-width': this.error !== '' && this.action === 'create',
|
|
338
|
-
} }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: '
|
|
358
|
+
} }, this.error !== '' ? this.error : '', this.error == '' && this.hasUnsavedChanges && !this.changesSaved ? 'Unsaved changes' : this.error == '' && this.changesSaved ? 'Changes saved!' : ''), h("button-component", { key: '9934c2cf6faf7e74b135add1728e3524bc29e13f', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
339
359
|
event.preventDefault();
|
|
340
360
|
this.cancelButtonClick.emit();
|
|
341
361
|
this.error = '';
|
|
342
|
-
}, variant: 'basic' }, "Cancel"), h("button-component", { key: '
|
|
362
|
+
}, variant: 'basic' }, "Cancel"), h("button-component", { key: '872f1a24204c38948d484b2bf99aa72d78ba7a37', type: "submit", disabled: this.isLoading }, this.isLoading ? (h("span", null, "Saving", h("loading-icon", null), ' ')) : this.action == 'create' ? ('Create') : ('Save changes')))))));
|
|
343
363
|
}
|
|
344
364
|
get host() { return this; }
|
|
345
365
|
static get watchers() { return {
|
|
@@ -412,7 +432,7 @@ function defineCustomElement() {
|
|
|
412
432
|
if (typeof customElements === "undefined") {
|
|
413
433
|
return;
|
|
414
434
|
}
|
|
415
|
-
const components = ["nylas-editor-tabs", "add-circle-icon", "button-component", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "chevron-icon", "close-icon", "flow-icon", "globe-icon", "info-icon", "input-dropdown", "loading-icon", "location-icon", "location-off-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-customize-booking-settings", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-title", "nylas-form-card", "nylas-limit-future-bookings", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-time-window-picker", "nylas-timeslot-interval", "people-icon", "radio-button-group", "search-icon", "select-dropdown", "time-period-selector", "tooltip-component"];
|
|
435
|
+
const components = ["nylas-editor-tabs", "add-circle-icon", "button-component", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "chevron-icon", "close-icon", "flow-icon", "globe-icon", "info-icon", "input-dropdown", "loading-icon", "location-icon", "location-off-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-customize-booking-settings", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-title", "nylas-form-card", "nylas-limit-future-bookings", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-participants-custom-availability", "nylas-time-window-picker", "nylas-timeslot-interval", "people-icon", "radio-button-group", "search-icon", "select-dropdown", "time-period-selector", "toggle-switch", "tooltip-component"];
|
|
416
436
|
components.forEach(tagName => { switch (tagName) {
|
|
417
437
|
case "nylas-editor-tabs":
|
|
418
438
|
if (!customElements.get(tagName)) {
|
|
@@ -421,195 +441,205 @@ function defineCustomElement() {
|
|
|
421
441
|
break;
|
|
422
442
|
case "add-circle-icon":
|
|
423
443
|
if (!customElements.get(tagName)) {
|
|
424
|
-
defineCustomElement$
|
|
444
|
+
defineCustomElement$G();
|
|
425
445
|
}
|
|
426
446
|
break;
|
|
427
447
|
case "button-component":
|
|
428
448
|
if (!customElements.get(tagName)) {
|
|
429
|
-
defineCustomElement$
|
|
449
|
+
defineCustomElement$F();
|
|
430
450
|
}
|
|
431
451
|
break;
|
|
432
452
|
case "calendar-info-icon":
|
|
433
453
|
if (!customElements.get(tagName)) {
|
|
434
|
-
defineCustomElement$
|
|
454
|
+
defineCustomElement$E();
|
|
435
455
|
}
|
|
436
456
|
break;
|
|
437
457
|
case "calendar-patterns-icon":
|
|
438
458
|
if (!customElements.get(tagName)) {
|
|
439
|
-
defineCustomElement$
|
|
459
|
+
defineCustomElement$D();
|
|
440
460
|
}
|
|
441
461
|
break;
|
|
442
462
|
case "checkbox-component":
|
|
443
463
|
if (!customElements.get(tagName)) {
|
|
444
|
-
defineCustomElement$
|
|
464
|
+
defineCustomElement$C();
|
|
445
465
|
}
|
|
446
466
|
break;
|
|
447
467
|
case "chevron-icon":
|
|
448
468
|
if (!customElements.get(tagName)) {
|
|
449
|
-
defineCustomElement$
|
|
469
|
+
defineCustomElement$B();
|
|
450
470
|
}
|
|
451
471
|
break;
|
|
452
472
|
case "close-icon":
|
|
453
473
|
if (!customElements.get(tagName)) {
|
|
454
|
-
defineCustomElement$
|
|
474
|
+
defineCustomElement$A();
|
|
455
475
|
}
|
|
456
476
|
break;
|
|
457
477
|
case "flow-icon":
|
|
458
478
|
if (!customElements.get(tagName)) {
|
|
459
|
-
defineCustomElement$
|
|
479
|
+
defineCustomElement$z();
|
|
460
480
|
}
|
|
461
481
|
break;
|
|
462
482
|
case "globe-icon":
|
|
463
483
|
if (!customElements.get(tagName)) {
|
|
464
|
-
defineCustomElement$
|
|
484
|
+
defineCustomElement$y();
|
|
465
485
|
}
|
|
466
486
|
break;
|
|
467
487
|
case "info-icon":
|
|
468
488
|
if (!customElements.get(tagName)) {
|
|
469
|
-
defineCustomElement$
|
|
489
|
+
defineCustomElement$x();
|
|
470
490
|
}
|
|
471
491
|
break;
|
|
472
492
|
case "input-dropdown":
|
|
473
493
|
if (!customElements.get(tagName)) {
|
|
474
|
-
defineCustomElement$
|
|
494
|
+
defineCustomElement$w();
|
|
475
495
|
}
|
|
476
496
|
break;
|
|
477
497
|
case "loading-icon":
|
|
478
498
|
if (!customElements.get(tagName)) {
|
|
479
|
-
defineCustomElement$
|
|
499
|
+
defineCustomElement$v();
|
|
480
500
|
}
|
|
481
501
|
break;
|
|
482
502
|
case "location-icon":
|
|
483
503
|
if (!customElements.get(tagName)) {
|
|
484
|
-
defineCustomElement$
|
|
504
|
+
defineCustomElement$u();
|
|
485
505
|
}
|
|
486
506
|
break;
|
|
487
507
|
case "location-off-icon":
|
|
488
508
|
if (!customElements.get(tagName)) {
|
|
489
|
-
defineCustomElement$
|
|
509
|
+
defineCustomElement$t();
|
|
490
510
|
}
|
|
491
511
|
break;
|
|
492
512
|
case "multi-select-dropdown":
|
|
493
513
|
if (!customElements.get(tagName)) {
|
|
494
|
-
defineCustomElement$
|
|
514
|
+
defineCustomElement$s();
|
|
495
515
|
}
|
|
496
516
|
break;
|
|
497
517
|
case "nylas-additional-participants":
|
|
498
518
|
if (!customElements.get(tagName)) {
|
|
499
|
-
defineCustomElement$
|
|
519
|
+
defineCustomElement$r();
|
|
500
520
|
}
|
|
501
521
|
break;
|
|
502
522
|
case "nylas-availability-picker":
|
|
503
523
|
if (!customElements.get(tagName)) {
|
|
504
|
-
defineCustomElement$
|
|
524
|
+
defineCustomElement$q();
|
|
505
525
|
}
|
|
506
526
|
break;
|
|
507
527
|
case "nylas-booking-calendar-picker":
|
|
508
528
|
if (!customElements.get(tagName)) {
|
|
509
|
-
defineCustomElement$
|
|
529
|
+
defineCustomElement$p();
|
|
510
530
|
}
|
|
511
531
|
break;
|
|
512
532
|
case "nylas-buffer-time":
|
|
513
533
|
if (!customElements.get(tagName)) {
|
|
514
|
-
defineCustomElement$
|
|
534
|
+
defineCustomElement$o();
|
|
515
535
|
}
|
|
516
536
|
break;
|
|
517
537
|
case "nylas-calendar-picker":
|
|
518
538
|
if (!customElements.get(tagName)) {
|
|
519
|
-
defineCustomElement$
|
|
539
|
+
defineCustomElement$n();
|
|
520
540
|
}
|
|
521
541
|
break;
|
|
522
542
|
case "nylas-cancellation-policy":
|
|
523
543
|
if (!customElements.get(tagName)) {
|
|
524
|
-
defineCustomElement$
|
|
544
|
+
defineCustomElement$m();
|
|
525
545
|
}
|
|
526
546
|
break;
|
|
527
547
|
case "nylas-customize-booking-settings":
|
|
528
548
|
if (!customElements.get(tagName)) {
|
|
529
|
-
defineCustomElement$
|
|
549
|
+
defineCustomElement$l();
|
|
530
550
|
}
|
|
531
551
|
break;
|
|
532
552
|
case "nylas-event-description":
|
|
533
553
|
if (!customElements.get(tagName)) {
|
|
534
|
-
defineCustomElement$
|
|
554
|
+
defineCustomElement$k();
|
|
535
555
|
}
|
|
536
556
|
break;
|
|
537
557
|
case "nylas-event-duration":
|
|
538
558
|
if (!customElements.get(tagName)) {
|
|
539
|
-
defineCustomElement$
|
|
559
|
+
defineCustomElement$j();
|
|
540
560
|
}
|
|
541
561
|
break;
|
|
542
562
|
case "nylas-event-info":
|
|
543
563
|
if (!customElements.get(tagName)) {
|
|
544
|
-
defineCustomElement$
|
|
564
|
+
defineCustomElement$i();
|
|
545
565
|
}
|
|
546
566
|
break;
|
|
547
567
|
case "nylas-event-limits":
|
|
548
568
|
if (!customElements.get(tagName)) {
|
|
549
|
-
defineCustomElement$
|
|
569
|
+
defineCustomElement$h();
|
|
550
570
|
}
|
|
551
571
|
break;
|
|
552
572
|
case "nylas-event-location":
|
|
553
573
|
if (!customElements.get(tagName)) {
|
|
554
|
-
defineCustomElement$
|
|
574
|
+
defineCustomElement$g();
|
|
555
575
|
}
|
|
556
576
|
break;
|
|
557
577
|
case "nylas-event-title":
|
|
558
578
|
if (!customElements.get(tagName)) {
|
|
559
|
-
defineCustomElement$
|
|
579
|
+
defineCustomElement$f();
|
|
560
580
|
}
|
|
561
581
|
break;
|
|
562
582
|
case "nylas-form-card":
|
|
563
583
|
if (!customElements.get(tagName)) {
|
|
564
|
-
defineCustomElement$
|
|
584
|
+
defineCustomElement$e();
|
|
565
585
|
}
|
|
566
586
|
break;
|
|
567
587
|
case "nylas-limit-future-bookings":
|
|
568
588
|
if (!customElements.get(tagName)) {
|
|
569
|
-
defineCustomElement$
|
|
589
|
+
defineCustomElement$d();
|
|
570
590
|
}
|
|
571
591
|
break;
|
|
572
592
|
case "nylas-min-booking-notice":
|
|
573
593
|
if (!customElements.get(tagName)) {
|
|
574
|
-
defineCustomElement$
|
|
594
|
+
defineCustomElement$c();
|
|
575
595
|
}
|
|
576
596
|
break;
|
|
577
597
|
case "nylas-min-cancellation-notice":
|
|
578
598
|
if (!customElements.get(tagName)) {
|
|
579
|
-
defineCustomElement$
|
|
599
|
+
defineCustomElement$b();
|
|
600
|
+
}
|
|
601
|
+
break;
|
|
602
|
+
case "nylas-participants-custom-availability":
|
|
603
|
+
if (!customElements.get(tagName)) {
|
|
604
|
+
defineCustomElement$a();
|
|
580
605
|
}
|
|
581
606
|
break;
|
|
582
607
|
case "nylas-time-window-picker":
|
|
583
608
|
if (!customElements.get(tagName)) {
|
|
584
|
-
defineCustomElement$
|
|
609
|
+
defineCustomElement$9();
|
|
585
610
|
}
|
|
586
611
|
break;
|
|
587
612
|
case "nylas-timeslot-interval":
|
|
588
613
|
if (!customElements.get(tagName)) {
|
|
589
|
-
defineCustomElement$
|
|
614
|
+
defineCustomElement$8();
|
|
590
615
|
}
|
|
591
616
|
break;
|
|
592
617
|
case "people-icon":
|
|
593
618
|
if (!customElements.get(tagName)) {
|
|
594
|
-
defineCustomElement$
|
|
619
|
+
defineCustomElement$7();
|
|
595
620
|
}
|
|
596
621
|
break;
|
|
597
622
|
case "radio-button-group":
|
|
598
623
|
if (!customElements.get(tagName)) {
|
|
599
|
-
defineCustomElement$
|
|
624
|
+
defineCustomElement$6();
|
|
600
625
|
}
|
|
601
626
|
break;
|
|
602
627
|
case "search-icon":
|
|
603
628
|
if (!customElements.get(tagName)) {
|
|
604
|
-
defineCustomElement$
|
|
629
|
+
defineCustomElement$5();
|
|
605
630
|
}
|
|
606
631
|
break;
|
|
607
632
|
case "select-dropdown":
|
|
608
633
|
if (!customElements.get(tagName)) {
|
|
609
|
-
defineCustomElement$
|
|
634
|
+
defineCustomElement$4();
|
|
610
635
|
}
|
|
611
636
|
break;
|
|
612
637
|
case "time-period-selector":
|
|
638
|
+
if (!customElements.get(tagName)) {
|
|
639
|
+
defineCustomElement$3();
|
|
640
|
+
}
|
|
641
|
+
break;
|
|
642
|
+
case "toggle-switch":
|
|
613
643
|
if (!customElements.get(tagName)) {
|
|
614
644
|
defineCustomElement$2();
|
|
615
645
|
}
|