@nylas/web-elements 1.0.0-prealpha1
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/LICENSE +21 -0
- package/dist/cjs/_commonjsHelpers-0a7b82d9.js +23 -0
- package/dist/cjs/_commonjsHelpers-0a7b82d9.js.map +1 -0
- package/dist/cjs/app-globals-d58ac016.js +11 -0
- package/dist/cjs/app-globals-d58ac016.js.map +1 -0
- package/dist/cjs/archive-icon_7.cjs.entry.js +120 -0
- package/dist/cjs/archive-icon_7.cjs.entry.js.map +1 -0
- package/dist/cjs/arrow-icon.cjs.entry.js +24 -0
- package/dist/cjs/arrow-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/bold-icon_3.cjs.entry.js +56 -0
- package/dist/cjs/bold-icon_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +24 -0
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-check-icon_3.cjs.entry.js +56 -0
- package/dist/cjs/calendar-check-icon_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-icon.cjs.entry.js +24 -0
- package/dist/cjs/calendar-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/chevron-icon.cjs.entry.js +24 -0
- package/dist/cjs/chevron-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/close-icon_2.cjs.entry.js +40 -0
- package/dist/cjs/close-icon_2.cjs.entry.js.map +1 -0
- package/dist/cjs/document-refresh-icon.cjs.entry.js +24 -0
- package/dist/cjs/document-refresh-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/duration-18b22d1b.js +84 -0
- package/dist/cjs/duration-18b22d1b.js.map +1 -0
- package/dist/cjs/elements-b06c817b.js +21585 -0
- package/dist/cjs/elements-b06c817b.js.map +1 -0
- package/dist/cjs/flow-d922fbd4.js +891 -0
- package/dist/cjs/flow-d922fbd4.js.map +1 -0
- package/dist/cjs/focus-visible-857fc8f9.js +327 -0
- package/dist/cjs/focus-visible-857fc8f9.js.map +1 -0
- package/dist/cjs/forward-icon_6.cjs.entry.js +2216 -0
- package/dist/cjs/forward-icon_6.cjs.entry.js.map +1 -0
- package/dist/cjs/globe-icon.cjs.entry.js +24 -0
- package/dist/cjs/globe-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/index-34e64e2d.js +2173 -0
- package/dist/cjs/index-34e64e2d.js.map +1 -0
- package/dist/cjs/index-e869130c.js +198 -0
- package/dist/cjs/index-e869130c.js.map +1 -0
- package/dist/cjs/index.cjs.js +12 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/index.es-e78884f5.js +3217 -0
- package/dist/cjs/index.es-e78884f5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/loading-icon.cjs.entry.js +24 -0
- package/dist/cjs/loading-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/mailbox-store-0b1636fa.js +529 -0
- package/dist/cjs/mailbox-store-0b1636fa.js.map +1 -0
- package/dist/cjs/nylas-booked-event-card_9.cjs.entry.js +8127 -0
- package/dist/cjs/nylas-booked-event-card_9.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-if-state_3.cjs.entry.js +409 -0
- package/dist/cjs/nylas-if-state_3.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-list-folders.cjs.entry.js +120 -0
- package/dist/cjs/nylas-list-folders.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-list-threads.cjs.entry.js +89 -0
- package/dist/cjs/nylas-list-threads.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-mailbox-pagination.cjs.entry.js +140 -0
- package/dist/cjs/nylas-mailbox-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +100 -0
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-open-hours-picker.cjs.entry.js +333 -0
- package/dist/cjs/nylas-open-hours-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-provider.cjs.entry.js +184 -0
- package/dist/cjs/nylas-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-scheduler.cjs.entry.js +242 -0
- package/dist/cjs/nylas-scheduler.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js +118 -0
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-threads-search.cjs.entry.js +84 -0
- package/dist/cjs/nylas-threads-search.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-view-thread.cjs.entry.js +234 -0
- package/dist/cjs/nylas-view-thread.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-web-elements.cjs.js +27 -0
- package/dist/cjs/nylas-web-elements.cjs.js.map +1 -0
- package/dist/cjs/play-icon_2.cjs.entry.js +40 -0
- package/dist/cjs/play-icon_2.cjs.entry.js.map +1 -0
- package/dist/cjs/property-d934a711.js +47 -0
- package/dist/cjs/property-d934a711.js.map +1 -0
- package/dist/cjs/refresh-icon.cjs.entry.js +24 -0
- package/dist/cjs/refresh-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/register-component-f76b61a6.js +140 -0
- package/dist/cjs/register-component-f76b61a6.js.map +1 -0
- package/dist/cjs/scheduler-store-e9822441.js +254 -0
- package/dist/cjs/scheduler-store-e9822441.js.map +1 -0
- package/dist/cjs/translate-icon.cjs.entry.js +24 -0
- package/dist/cjs/translate-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/utils-f91d4c73.js +161 -0
- package/dist/cjs/utils-f91d4c73.js.map +1 -0
- package/dist/collection/assets/icons/chevron.svg +3 -0
- package/dist/collection/collection-manifest.json +66 -0
- package/dist/collection/common/abstract-provider.js +231 -0
- package/dist/collection/common/abstract-provider.js.map +1 -0
- package/dist/collection/common/component-types.js +2 -0
- package/dist/collection/common/component-types.js.map +1 -0
- package/dist/collection/common/constants.js +12 -0
- package/dist/collection/common/constants.js.map +1 -0
- package/dist/collection/common/global.js +4 -0
- package/dist/collection/common/global.js.map +1 -0
- package/dist/collection/common/icons/archive.js +63 -0
- package/dist/collection/common/icons/archive.js.map +1 -0
- package/dist/collection/common/icons/arrow.js +63 -0
- package/dist/collection/common/icons/arrow.js.map +1 -0
- package/dist/collection/common/icons/bold.js +63 -0
- package/dist/collection/common/icons/bold.js.map +1 -0
- package/dist/collection/common/icons/calendar-cancel.js +63 -0
- package/dist/collection/common/icons/calendar-cancel.js.map +1 -0
- package/dist/collection/common/icons/calendar-check.js +63 -0
- package/dist/collection/common/icons/calendar-check.js.map +1 -0
- package/dist/collection/common/icons/calendar.js +63 -0
- package/dist/collection/common/icons/calendar.js.map +1 -0
- package/dist/collection/common/icons/checkmark-circle.js +63 -0
- package/dist/collection/common/icons/checkmark-circle.js.map +1 -0
- package/dist/collection/common/icons/chevron.js +63 -0
- package/dist/collection/common/icons/chevron.js.map +1 -0
- package/dist/collection/common/icons/close.js +63 -0
- package/dist/collection/common/icons/close.js.map +1 -0
- package/dist/collection/common/icons/document-refresh.js +63 -0
- package/dist/collection/common/icons/document-refresh.js.map +1 -0
- package/dist/collection/common/icons/folder.js +63 -0
- package/dist/collection/common/icons/folder.js.map +1 -0
- package/dist/collection/common/icons/forward.js +63 -0
- package/dist/collection/common/icons/forward.js.map +1 -0
- package/dist/collection/common/icons/globe.js +63 -0
- package/dist/collection/common/icons/globe.js.map +1 -0
- package/dist/collection/common/icons/icon.css +3 -0
- package/dist/collection/common/icons/inbox.js +63 -0
- package/dist/collection/common/icons/inbox.js.map +1 -0
- package/dist/collection/common/icons/italic.js +63 -0
- package/dist/collection/common/icons/italic.js.map +1 -0
- package/dist/collection/common/icons/loading.css +33 -0
- package/dist/collection/common/icons/loading.js +63 -0
- package/dist/collection/common/icons/loading.js.map +1 -0
- package/dist/collection/common/icons/nylas-logo.js +63 -0
- package/dist/collection/common/icons/nylas-logo.js.map +1 -0
- package/dist/collection/common/icons/people.js +63 -0
- package/dist/collection/common/icons/people.js.map +1 -0
- package/dist/collection/common/icons/play.js +63 -0
- package/dist/collection/common/icons/play.js.map +1 -0
- package/dist/collection/common/icons/refresh.js +63 -0
- package/dist/collection/common/icons/refresh.js.map +1 -0
- package/dist/collection/common/icons/reply-all.js +63 -0
- package/dist/collection/common/icons/reply-all.js.map +1 -0
- package/dist/collection/common/icons/reply.js +63 -0
- package/dist/collection/common/icons/reply.js.map +1 -0
- package/dist/collection/common/icons/sent.js +63 -0
- package/dist/collection/common/icons/sent.js.map +1 -0
- package/dist/collection/common/icons/spam.js +63 -0
- package/dist/collection/common/icons/spam.js.map +1 -0
- package/dist/collection/common/icons/star.js +63 -0
- package/dist/collection/common/icons/star.js.map +1 -0
- package/dist/collection/common/icons/stop.js +63 -0
- package/dist/collection/common/icons/stop.js.map +1 -0
- package/dist/collection/common/icons/translate.js +63 -0
- package/dist/collection/common/icons/translate.js.map +1 -0
- package/dist/collection/common/icons/trash.js +63 -0
- package/dist/collection/common/icons/trash.js.map +1 -0
- package/dist/collection/common/icons/underline.js +63 -0
- package/dist/collection/common/icons/underline.js.map +1 -0
- package/dist/collection/common/icons/warning.js +63 -0
- package/dist/collection/common/icons/warning.js.map +1 -0
- package/dist/collection/common/mocks/threads.js +57 -0
- package/dist/collection/common/mocks/threads.js.map +1 -0
- package/dist/collection/common/nylas-theme/index.js +4 -0
- package/dist/collection/common/nylas-theme/index.js.map +1 -0
- package/dist/collection/common/register-component.js +134 -0
- package/dist/collection/common/register-component.js.map +1 -0
- package/dist/collection/common/types.js +2 -0
- package/dist/collection/common/types.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.css +89 -0
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +241 -0
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-composer/test/nylas-composer.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-composer/test/nylas-composer.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-composer/test/nylas-composer.spec-disabled.js +12 -0
- package/dist/collection/components/mailbox/nylas-composer/test/nylas-composer.spec-disabled.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.css +37 -0
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +193 -0
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-folders/test/nylas-list-folders.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-list-folders/test/nylas-list-folders.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-folders/test/nylas-list-folders.spec.js +12 -0
- package/dist/collection/components/mailbox/nylas-list-folders/test/nylas-list-folders.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.css +156 -0
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +218 -0
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-threads/test/nylas-list-threads.e2e.js +22 -0
- package/dist/collection/components/mailbox/nylas-list-threads/test/nylas-list-threads.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-list-threads/test/nylas-list-threads.spec.js +25 -0
- package/dist/collection/components/mailbox/nylas-list-threads/test/nylas-list-threads.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.css +3 -0
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +474 -0
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox/test/nylas-mailbox.e2e.js +16 -0
- package/dist/collection/components/mailbox/nylas-mailbox/test/nylas-mailbox.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox/test/nylas-mailbox.spec.js +32 -0
- package/dist/collection/components/mailbox/nylas-mailbox/test/nylas-mailbox.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination.css +55 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination.js +371 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/test/nylas-mailbox-pagination.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/test/nylas-mailbox-pagination.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/test/nylas-mailbox-pagination.spec.js +12 -0
- package/dist/collection/components/mailbox/nylas-mailbox-pagination/test/nylas-mailbox-pagination.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.css +18 -0
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +182 -0
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.css +61 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +329 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/test/nylas-summarize-message-button.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/test/nylas-summarize-message-button.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/test/nylas-summarize-message-button.spec.js +12 -0
- package/dist/collection/components/mailbox/nylas-summarize-message-button/test/nylas-summarize-message-button.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.css +53 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +172 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/test/nylas-threads-refresh.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/test/nylas-threads-refresh.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/test/nylas-threads-refresh.spec.js +12 -0
- package/dist/collection/components/mailbox/nylas-threads-refresh/test/nylas-threads-refresh.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.css +8 -0
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +130 -0
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-search/test/nylas-threads-search.e2e.js +10 -0
- package/dist/collection/components/mailbox/nylas-threads-search/test/nylas-threads-search.e2e.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-threads-search/test/nylas-threads-search.spec.js +12 -0
- package/dist/collection/components/mailbox/nylas-threads-search/test/nylas-threads-search.spec.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.css +43 -0
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +282 -0
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.css +243 -0
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +342 -0
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js.map +1 -0
- package/dist/collection/components/mailbox/nylas-view-thread/view-thread-message.js +25 -0
- package/dist/collection/components/mailbox/nylas-view-thread/view-thread-message.js.map +1 -0
- package/dist/collection/components/nylas-if-state/nylas-if-state.css +84 -0
- package/dist/collection/components/nylas-if-state/nylas-if-state.js +241 -0
- package/dist/collection/components/nylas-if-state/nylas-if-state.js.map +1 -0
- package/dist/collection/components/nylas-if-state/test/nylas-if-state.e2e.js +10 -0
- package/dist/collection/components/nylas-if-state/test/nylas-if-state.e2e.js.map +1 -0
- package/dist/collection/components/nylas-if-state/test/nylas-if-state.spec.js +12 -0
- package/dist/collection/components/nylas-if-state/test/nylas-if-state.spec.js.map +1 -0
- package/dist/collection/components/nylas-login/nylas-login.css +94 -0
- package/dist/collection/components/nylas-login/nylas-login.js +289 -0
- package/dist/collection/components/nylas-login/nylas-login.js.map +1 -0
- package/dist/collection/components/nylas-login/test/nylas-login.e2e.js +10 -0
- package/dist/collection/components/nylas-login/test/nylas-login.e2e.js.map +1 -0
- package/dist/collection/components/nylas-login/test/nylas-login.spec.js +12 -0
- package/dist/collection/components/nylas-login/test/nylas-login.spec.js.map +1 -0
- package/dist/collection/components/nylas-provider/nylas-provider.css +3 -0
- package/dist/collection/components/nylas-provider/nylas-provider.js +423 -0
- package/dist/collection/components/nylas-provider/nylas-provider.js.map +1 -0
- package/dist/collection/components/nylas-provider/test/nylas-provider.e2e.js +10 -0
- package/dist/collection/components/nylas-provider/test/nylas-provider.e2e.js.map +1 -0
- package/dist/collection/components/nylas-provider/test/nylas-provider.spec.js +32 -0
- package/dist/collection/components/nylas-provider/test/nylas-provider.spec.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css +155 -0
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +178 -0
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +129 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +323 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.css +78 -0
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +107 -0
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +150 -0
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +213 -0
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +72 -0
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js +147 -0
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.css +63 -0
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +132 -0
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/nylas-open-hours-picker.css +105 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/nylas-open-hours-picker.js +460 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/nylas-open-hours-picker.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/test/nylas-open-hours-picker.e2e.js +10 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/test/nylas-open-hours-picker.e2e.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/test/nylas-open-hours-picker.spec.js +12 -0
- package/dist/collection/components/scheduler/nylas-open-hours-picker/test/nylas-open-hours-picker.spec.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduler.css +182 -0
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduler.js +533 -0
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduler.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-scheduler/scheduler-view.js +6 -0
- package/dist/collection/components/scheduler/nylas-scheduler/scheduler-view.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.css +63 -0
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +150 -0
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +115 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +311 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -0
- package/dist/collection/connector/connector-interface.js +2 -0
- package/dist/collection/connector/connector-interface.js.map +1 -0
- package/dist/collection/connector/nylas-connector/index.js +78 -0
- package/dist/collection/connector/nylas-connector/index.js.map +1 -0
- package/dist/collection/connector/nylas-mailbox-connector/index.js +62 -0
- package/dist/collection/connector/nylas-mailbox-connector/index.js.map +1 -0
- package/dist/collection/connector/nylas-scheduler-connector/index.js +43 -0
- package/dist/collection/connector/nylas-scheduler-connector/index.js.map +1 -0
- package/dist/collection/connector/shared/api/auth.js +60 -0
- package/dist/collection/connector/shared/api/auth.js.map +1 -0
- package/dist/collection/connector/shared/api/folders.js +33 -0
- package/dist/collection/connector/shared/api/folders.js.map +1 -0
- package/dist/collection/connector/shared/api/messages.js +95 -0
- package/dist/collection/connector/shared/api/messages.js.map +1 -0
- package/dist/collection/connector/shared/api/scheduler.js +203 -0
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -0
- package/dist/collection/connector/shared/api/threads.js +165 -0
- package/dist/collection/connector/shared/api/threads.js.map +1 -0
- package/dist/collection/index.js +4 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/routers/hash-router.js +109 -0
- package/dist/collection/routers/hash-router.js.map +1 -0
- package/dist/collection/routers/router-interface.js +2 -0
- package/dist/collection/routers/router-interface.js.map +1 -0
- package/dist/collection/stores/auth-store.js +18 -0
- package/dist/collection/stores/auth-store.js.map +1 -0
- package/dist/collection/stores/mailbox-store.js +42 -0
- package/dist/collection/stores/mailbox-store.js.map +1 -0
- package/dist/collection/stores/scheduler-store.js +44 -0
- package/dist/collection/stores/scheduler-store.js.map +1 -0
- package/dist/collection/utils/color-utils.js +161 -0
- package/dist/collection/utils/color-utils.js.map +1 -0
- package/dist/collection/utils/utils.js +157 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/collection/utils/utils.spec.js +16 -0
- package/dist/collection/utils/utils.spec.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +20 -0
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/archive-icon.d.ts +11 -0
- package/dist/components/archive-icon.js +8 -0
- package/dist/components/archive-icon.js.map +1 -0
- package/dist/components/archive.js +37 -0
- package/dist/components/archive.js.map +1 -0
- package/dist/components/arrow-icon.d.ts +11 -0
- package/dist/components/arrow-icon.js +8 -0
- package/dist/components/arrow-icon.js.map +1 -0
- package/dist/components/arrow.js +37 -0
- package/dist/components/arrow.js.map +1 -0
- package/dist/components/assets/chevron.svg +3 -0
- package/dist/components/bold-icon.d.ts +11 -0
- package/dist/components/bold-icon.js +8 -0
- package/dist/components/bold-icon.js.map +1 -0
- package/dist/components/bold.js +37 -0
- package/dist/components/bold.js.map +1 -0
- package/dist/components/calendar-cancel-icon.d.ts +11 -0
- package/dist/components/calendar-cancel-icon.js +8 -0
- package/dist/components/calendar-cancel-icon.js.map +1 -0
- package/dist/components/calendar-cancel.js +37 -0
- package/dist/components/calendar-cancel.js.map +1 -0
- package/dist/components/calendar-check-icon.d.ts +11 -0
- package/dist/components/calendar-check-icon.js +8 -0
- package/dist/components/calendar-check-icon.js.map +1 -0
- package/dist/components/calendar-check.js +37 -0
- package/dist/components/calendar-check.js.map +1 -0
- package/dist/components/calendar-icon.d.ts +11 -0
- package/dist/components/calendar-icon.js +8 -0
- package/dist/components/calendar-icon.js.map +1 -0
- package/dist/components/calendar.js +37 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/checkmark-circle-icon.d.ts +11 -0
- package/dist/components/checkmark-circle-icon.js +8 -0
- package/dist/components/checkmark-circle-icon.js.map +1 -0
- package/dist/components/checkmark-circle.js +37 -0
- package/dist/components/checkmark-circle.js.map +1 -0
- package/dist/components/chevron-icon.d.ts +11 -0
- package/dist/components/chevron-icon.js +8 -0
- package/dist/components/chevron-icon.js.map +1 -0
- package/dist/components/chevron.js +37 -0
- package/dist/components/chevron.js.map +1 -0
- package/dist/components/close-icon.d.ts +11 -0
- package/dist/components/close-icon.js +8 -0
- package/dist/components/close-icon.js.map +1 -0
- package/dist/components/close.js +37 -0
- package/dist/components/close.js.map +1 -0
- package/dist/components/constants.js +7296 -0
- package/dist/components/constants.js.map +1 -0
- package/dist/components/define-element.js +40 -0
- package/dist/components/define-element.js.map +1 -0
- package/dist/components/document-refresh-icon.d.ts +11 -0
- package/dist/components/document-refresh-icon.js +40 -0
- package/dist/components/document-refresh-icon.js.map +1 -0
- package/dist/components/duration.js +78 -0
- package/dist/components/duration.js.map +1 -0
- package/dist/components/elements.js +21583 -0
- package/dist/components/elements.js.map +1 -0
- package/dist/components/flow.js +888 -0
- package/dist/components/flow.js.map +1 -0
- package/dist/components/focus-visible.js +325 -0
- package/dist/components/focus-visible.js.map +1 -0
- package/dist/components/folder-icon.d.ts +11 -0
- package/dist/components/folder-icon.js +8 -0
- package/dist/components/folder-icon.js.map +1 -0
- package/dist/components/folder.js +37 -0
- package/dist/components/folder.js.map +1 -0
- package/dist/components/forward-icon.d.ts +11 -0
- package/dist/components/forward-icon.js +8 -0
- package/dist/components/forward-icon.js.map +1 -0
- package/dist/components/forward.js +37 -0
- package/dist/components/forward.js.map +1 -0
- package/dist/components/globe-icon.d.ts +11 -0
- package/dist/components/globe-icon.js +8 -0
- package/dist/components/globe-icon.js.map +1 -0
- package/dist/components/globe.js +37 -0
- package/dist/components/globe.js.map +1 -0
- package/dist/components/inbox-icon.d.ts +11 -0
- package/dist/components/inbox-icon.js +8 -0
- package/dist/components/inbox-icon.js.map +1 -0
- package/dist/components/inbox.js +37 -0
- package/dist/components/inbox.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.es.js +3211 -0
- package/dist/components/index.es.js.map +1 -0
- package/dist/components/index.js +16 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +196 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/italic-icon.d.ts +11 -0
- package/dist/components/italic-icon.js +8 -0
- package/dist/components/italic-icon.js.map +1 -0
- package/dist/components/italic.js +37 -0
- package/dist/components/italic.js.map +1 -0
- package/dist/components/loading-icon.d.ts +11 -0
- package/dist/components/loading-icon.js +8 -0
- package/dist/components/loading-icon.js.map +1 -0
- package/dist/components/loading.js +38 -0
- package/dist/components/loading.js.map +1 -0
- package/dist/components/mailbox-store.js +521 -0
- package/dist/components/mailbox-store.js.map +1 -0
- package/dist/components/nylas-booked-event-card.d.ts +11 -0
- package/dist/components/nylas-booked-event-card.js +8 -0
- package/dist/components/nylas-booked-event-card.js.map +1 -0
- package/dist/components/nylas-booked-event-card2.js +121 -0
- package/dist/components/nylas-booked-event-card2.js.map +1 -0
- package/dist/components/nylas-booking-form.d.ts +11 -0
- package/dist/components/nylas-booking-form.js +8 -0
- package/dist/components/nylas-booking-form.js.map +1 -0
- package/dist/components/nylas-booking-form2.js +224 -0
- package/dist/components/nylas-booking-form2.js.map +1 -0
- package/dist/components/nylas-cancelled-event-card.d.ts +11 -0
- package/dist/components/nylas-cancelled-event-card.js +8 -0
- package/dist/components/nylas-cancelled-event-card.js.map +1 -0
- package/dist/components/nylas-cancelled-event-card2.js +85 -0
- package/dist/components/nylas-cancelled-event-card2.js.map +1 -0
- package/dist/components/nylas-composer.d.ts +11 -0
- package/dist/components/nylas-composer.js +8 -0
- package/dist/components/nylas-composer.js.map +1 -0
- package/dist/components/nylas-composer2.js +186 -0
- package/dist/components/nylas-composer2.js.map +1 -0
- package/dist/components/nylas-date-picker.d.ts +11 -0
- package/dist/components/nylas-date-picker.js +8 -0
- package/dist/components/nylas-date-picker.js.map +1 -0
- package/dist/components/nylas-date-picker2.js +150 -0
- package/dist/components/nylas-date-picker2.js.map +1 -0
- package/dist/components/nylas-if-state.d.ts +11 -0
- package/dist/components/nylas-if-state.js +153 -0
- package/dist/components/nylas-if-state.js.map +1 -0
- package/dist/components/nylas-list-folders.d.ts +11 -0
- package/dist/components/nylas-list-folders.js +183 -0
- package/dist/components/nylas-list-folders.js.map +1 -0
- package/dist/components/nylas-list-threads.d.ts +11 -0
- package/dist/components/nylas-list-threads.js +109 -0
- package/dist/components/nylas-list-threads.js.map +1 -0
- package/dist/components/nylas-locale-switch.d.ts +11 -0
- package/dist/components/nylas-locale-switch.js +8 -0
- package/dist/components/nylas-locale-switch.js.map +1 -0
- package/dist/components/nylas-locale-switch2.js +103 -0
- package/dist/components/nylas-locale-switch2.js.map +1 -0
- package/dist/components/nylas-login.d.ts +11 -0
- package/dist/components/nylas-login.js +127 -0
- package/dist/components/nylas-login.js.map +1 -0
- package/dist/components/nylas-logo.d.ts +11 -0
- package/dist/components/nylas-logo.js +8 -0
- package/dist/components/nylas-logo.js.map +1 -0
- package/dist/components/nylas-logo2.js +37 -0
- package/dist/components/nylas-logo2.js.map +1 -0
- package/dist/components/nylas-mailbox-pagination.d.ts +11 -0
- package/dist/components/nylas-mailbox-pagination.js +175 -0
- package/dist/components/nylas-mailbox-pagination.js.map +1 -0
- package/dist/components/nylas-mailbox-toolbar-button.d.ts +11 -0
- package/dist/components/nylas-mailbox-toolbar-button.js +119 -0
- package/dist/components/nylas-mailbox-toolbar-button.js.map +1 -0
- package/dist/components/nylas-mailbox.d.ts +11 -0
- package/dist/components/nylas-mailbox.js +219 -0
- package/dist/components/nylas-mailbox.js.map +1 -0
- package/dist/components/nylas-notification.d.ts +11 -0
- package/dist/components/nylas-notification.js +8 -0
- package/dist/components/nylas-notification.js.map +1 -0
- package/dist/components/nylas-notification2.js +90 -0
- package/dist/components/nylas-notification2.js.map +1 -0
- package/dist/components/nylas-open-hours-picker.d.ts +11 -0
- package/dist/components/nylas-open-hours-picker.js +365 -0
- package/dist/components/nylas-open-hours-picker.js.map +1 -0
- package/dist/components/nylas-provider.d.ts +11 -0
- package/dist/components/nylas-provider.js +206 -0
- package/dist/components/nylas-provider.js.map +1 -0
- package/dist/components/nylas-scheduler.d.ts +11 -0
- package/dist/components/nylas-scheduler.js +392 -0
- package/dist/components/nylas-scheduler.js.map +1 -0
- package/dist/components/nylas-selected-event-card.d.ts +11 -0
- package/dist/components/nylas-selected-event-card.js +8 -0
- package/dist/components/nylas-selected-event-card.js.map +1 -0
- package/dist/components/nylas-selected-event-card2.js +110 -0
- package/dist/components/nylas-selected-event-card2.js.map +1 -0
- package/dist/components/nylas-summarize-message-button.d.ts +11 -0
- package/dist/components/nylas-summarize-message-button.js +8 -0
- package/dist/components/nylas-summarize-message-button.js.map +1 -0
- package/dist/components/nylas-summarize-message-button2.js +233 -0
- package/dist/components/nylas-summarize-message-button2.js.map +1 -0
- package/dist/components/nylas-threads-refresh.d.ts +11 -0
- package/dist/components/nylas-threads-refresh.js +149 -0
- package/dist/components/nylas-threads-refresh.js.map +1 -0
- package/dist/components/nylas-threads-search.d.ts +11 -0
- package/dist/components/nylas-threads-search.js +103 -0
- package/dist/components/nylas-threads-search.js.map +1 -0
- package/dist/components/nylas-timeslot-picker.d.ts +11 -0
- package/dist/components/nylas-timeslot-picker.js +8 -0
- package/dist/components/nylas-timeslot-picker.js.map +1 -0
- package/dist/components/nylas-timeslot-picker2.js +174 -0
- package/dist/components/nylas-timeslot-picker2.js.map +1 -0
- package/dist/components/nylas-view-email.d.ts +11 -0
- package/dist/components/nylas-view-email.js +8 -0
- package/dist/components/nylas-view-email.js.map +1 -0
- package/dist/components/nylas-view-email2.js +1859 -0
- package/dist/components/nylas-view-email2.js.map +1 -0
- package/dist/components/nylas-view-thread.d.ts +11 -0
- package/dist/components/nylas-view-thread.js +338 -0
- package/dist/components/nylas-view-thread.js.map +1 -0
- package/dist/components/people-icon.d.ts +11 -0
- package/dist/components/people-icon.js +8 -0
- package/dist/components/people-icon.js.map +1 -0
- package/dist/components/people.js +37 -0
- package/dist/components/people.js.map +1 -0
- package/dist/components/play-icon.d.ts +11 -0
- package/dist/components/play-icon.js +8 -0
- package/dist/components/play-icon.js.map +1 -0
- package/dist/components/play.js +37 -0
- package/dist/components/play.js.map +1 -0
- package/dist/components/property.js +36 -0
- package/dist/components/property.js.map +1 -0
- package/dist/components/refresh-icon.d.ts +11 -0
- package/dist/components/refresh-icon.js +8 -0
- package/dist/components/refresh-icon.js.map +1 -0
- package/dist/components/refresh.js +37 -0
- package/dist/components/refresh.js.map +1 -0
- package/dist/components/register-component.js +138 -0
- package/dist/components/register-component.js.map +1 -0
- package/dist/components/reply-all-icon.d.ts +11 -0
- package/dist/components/reply-all-icon.js +8 -0
- package/dist/components/reply-all-icon.js.map +1 -0
- package/dist/components/reply-all.js +37 -0
- package/dist/components/reply-all.js.map +1 -0
- package/dist/components/reply-icon.d.ts +11 -0
- package/dist/components/reply-icon.js +8 -0
- package/dist/components/reply-icon.js.map +1 -0
- package/dist/components/reply.js +37 -0
- package/dist/components/reply.js.map +1 -0
- package/dist/components/scheduler-store.js +251 -0
- package/dist/components/scheduler-store.js.map +1 -0
- package/dist/components/sent-icon.d.ts +11 -0
- package/dist/components/sent-icon.js +8 -0
- package/dist/components/sent-icon.js.map +1 -0
- package/dist/components/sent.js +37 -0
- package/dist/components/sent.js.map +1 -0
- package/dist/components/sp-icon-chevron-left.js +23 -0
- package/dist/components/sp-icon-chevron-left.js.map +1 -0
- package/dist/components/spam-icon.d.ts +11 -0
- package/dist/components/spam-icon.js +8 -0
- package/dist/components/spam-icon.js.map +1 -0
- package/dist/components/spam.js +37 -0
- package/dist/components/spam.js.map +1 -0
- package/dist/components/star-icon.d.ts +11 -0
- package/dist/components/star-icon.js +8 -0
- package/dist/components/star-icon.js.map +1 -0
- package/dist/components/star.js +37 -0
- package/dist/components/star.js.map +1 -0
- package/dist/components/stop-icon.d.ts +11 -0
- package/dist/components/stop-icon.js +8 -0
- package/dist/components/stop-icon.js.map +1 -0
- package/dist/components/stop.js +37 -0
- package/dist/components/stop.js.map +1 -0
- package/dist/components/translate-icon.d.ts +11 -0
- package/dist/components/translate-icon.js +8 -0
- package/dist/components/translate-icon.js.map +1 -0
- package/dist/components/translate.js +37 -0
- package/dist/components/translate.js.map +1 -0
- package/dist/components/trash-icon.d.ts +11 -0
- package/dist/components/trash-icon.js +8 -0
- package/dist/components/trash-icon.js.map +1 -0
- package/dist/components/trash.js +37 -0
- package/dist/components/trash.js.map +1 -0
- package/dist/components/underline-icon.d.ts +11 -0
- package/dist/components/underline-icon.js +8 -0
- package/dist/components/underline-icon.js.map +1 -0
- package/dist/components/underline.js +37 -0
- package/dist/components/underline.js.map +1 -0
- package/dist/components/utils.js +140 -0
- package/dist/components/utils.js.map +1 -0
- package/dist/components/warning-icon.d.ts +11 -0
- package/dist/components/warning-icon.js +8 -0
- package/dist/components/warning-icon.js.map +1 -0
- package/dist/components/warning.js +37 -0
- package/dist/components/warning.js.map +1 -0
- package/dist/esm/_commonjsHelpers-57e89916.js +20 -0
- package/dist/esm/_commonjsHelpers-57e89916.js.map +1 -0
- package/dist/esm/app-globals-47969cee.js +9 -0
- package/dist/esm/app-globals-47969cee.js.map +1 -0
- package/dist/esm/archive-icon_7.entry.js +110 -0
- package/dist/esm/archive-icon_7.entry.js.map +1 -0
- package/dist/esm/arrow-icon.entry.js +20 -0
- package/dist/esm/arrow-icon.entry.js.map +1 -0
- package/dist/esm/bold-icon_3.entry.js +50 -0
- package/dist/esm/bold-icon_3.entry.js.map +1 -0
- package/dist/esm/calendar-cancel-icon.entry.js +20 -0
- package/dist/esm/calendar-cancel-icon.entry.js.map +1 -0
- package/dist/esm/calendar-check-icon_3.entry.js +50 -0
- package/dist/esm/calendar-check-icon_3.entry.js.map +1 -0
- package/dist/esm/calendar-icon.entry.js +20 -0
- package/dist/esm/calendar-icon.entry.js.map +1 -0
- package/dist/esm/chevron-icon.entry.js +20 -0
- package/dist/esm/chevron-icon.entry.js.map +1 -0
- package/dist/esm/close-icon_2.entry.js +35 -0
- package/dist/esm/close-icon_2.entry.js.map +1 -0
- package/dist/esm/document-refresh-icon.entry.js +20 -0
- package/dist/esm/document-refresh-icon.entry.js.map +1 -0
- package/dist/esm/duration-bddc4a13.js +78 -0
- package/dist/esm/duration-bddc4a13.js.map +1 -0
- package/dist/esm/elements-60ebdb01.js +21583 -0
- package/dist/esm/elements-60ebdb01.js.map +1 -0
- package/dist/esm/flow-40ff9cea.js +888 -0
- package/dist/esm/flow-40ff9cea.js.map +1 -0
- package/dist/esm/focus-visible-e8093c16.js +325 -0
- package/dist/esm/focus-visible-e8093c16.js.map +1 -0
- package/dist/esm/forward-icon_6.entry.js +2207 -0
- package/dist/esm/forward-icon_6.entry.js.map +1 -0
- package/dist/esm/globe-icon.entry.js +20 -0
- package/dist/esm/globe-icon.entry.js.map +1 -0
- package/dist/esm/index-2b85580a.js +196 -0
- package/dist/esm/index-2b85580a.js.map +1 -0
- package/dist/esm/index-b2270b4a.js +2141 -0
- package/dist/esm/index-b2270b4a.js.map +1 -0
- package/dist/esm/index.es-6f3582a1.js +3211 -0
- package/dist/esm/index.es-6f3582a1.js.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/loading-icon.entry.js +20 -0
- package/dist/esm/loading-icon.entry.js.map +1 -0
- package/dist/esm/mailbox-store-0019772c.js +521 -0
- package/dist/esm/mailbox-store-0019772c.js.map +1 -0
- package/dist/esm/nylas-booked-event-card_9.entry.js +8115 -0
- package/dist/esm/nylas-booked-event-card_9.entry.js.map +1 -0
- package/dist/esm/nylas-if-state_3.entry.js +403 -0
- package/dist/esm/nylas-if-state_3.entry.js.map +1 -0
- package/dist/esm/nylas-list-folders.entry.js +116 -0
- package/dist/esm/nylas-list-folders.entry.js.map +1 -0
- package/dist/esm/nylas-list-threads.entry.js +85 -0
- package/dist/esm/nylas-list-threads.entry.js.map +1 -0
- package/dist/esm/nylas-mailbox-pagination.entry.js +136 -0
- package/dist/esm/nylas-mailbox-pagination.entry.js.map +1 -0
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +96 -0
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js.map +1 -0
- package/dist/esm/nylas-open-hours-picker.entry.js +329 -0
- package/dist/esm/nylas-open-hours-picker.entry.js.map +1 -0
- package/dist/esm/nylas-provider.entry.js +180 -0
- package/dist/esm/nylas-provider.entry.js.map +1 -0
- package/dist/esm/nylas-scheduler.entry.js +238 -0
- package/dist/esm/nylas-scheduler.entry.js.map +1 -0
- package/dist/esm/nylas-threads-refresh.entry.js +114 -0
- package/dist/esm/nylas-threads-refresh.entry.js.map +1 -0
- package/dist/esm/nylas-threads-search.entry.js +80 -0
- package/dist/esm/nylas-threads-search.entry.js.map +1 -0
- package/dist/esm/nylas-view-thread.entry.js +230 -0
- package/dist/esm/nylas-view-thread.entry.js.map +1 -0
- package/dist/esm/nylas-web-elements.js +22 -0
- package/dist/esm/nylas-web-elements.js.map +1 -0
- package/dist/esm/play-icon_2.entry.js +35 -0
- package/dist/esm/play-icon_2.entry.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/property-0065dde7.js +36 -0
- package/dist/esm/property-0065dde7.js.map +1 -0
- package/dist/esm/refresh-icon.entry.js +20 -0
- package/dist/esm/refresh-icon.entry.js.map +1 -0
- package/dist/esm/register-component-55376f31.js +138 -0
- package/dist/esm/register-component-55376f31.js.map +1 -0
- package/dist/esm/scheduler-store-5a39585a.js +251 -0
- package/dist/esm/scheduler-store-5a39585a.js.map +1 -0
- package/dist/esm/translate-icon.entry.js +20 -0
- package/dist/esm/translate-icon.entry.js.map +1 -0
- package/dist/esm/utils-5074a070.js +140 -0
- package/dist/esm/utils-5074a070.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/nylas-web-elements/index.esm.js +2 -0
- package/dist/nylas-web-elements/index.esm.js.map +1 -0
- package/dist/nylas-web-elements/nylas-web-elements.css +239 -0
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +2 -0
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -0
- package/dist/nylas-web-elements/p-06974d68.js +2 -0
- package/dist/nylas-web-elements/p-06974d68.js.map +1 -0
- package/dist/nylas-web-elements/p-113fe52e.entry.js +2 -0
- package/dist/nylas-web-elements/p-113fe52e.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-16fb3c85.entry.js +2 -0
- package/dist/nylas-web-elements/p-16fb3c85.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-24c42c37.entry.js +2 -0
- package/dist/nylas-web-elements/p-24c42c37.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-2881b62f.js +16519 -0
- package/dist/nylas-web-elements/p-2881b62f.js.map +1 -0
- package/dist/nylas-web-elements/p-33da6cf1.entry.js +2 -0
- package/dist/nylas-web-elements/p-33da6cf1.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-37f99b96.entry.js +2 -0
- package/dist/nylas-web-elements/p-37f99b96.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-3bc3426e.entry.js +2 -0
- package/dist/nylas-web-elements/p-3bc3426e.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-3c8822f1.entry.js +2 -0
- package/dist/nylas-web-elements/p-3c8822f1.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-5770704d.js +2 -0
- package/dist/nylas-web-elements/p-5770704d.js.map +1 -0
- package/dist/nylas-web-elements/p-5862975b.js +2 -0
- package/dist/nylas-web-elements/p-5862975b.js.map +1 -0
- package/dist/nylas-web-elements/p-647cf7be.entry.js +2 -0
- package/dist/nylas-web-elements/p-647cf7be.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-663edeb8.entry.js +2 -0
- package/dist/nylas-web-elements/p-663edeb8.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-67c9158e.entry.js +2 -0
- package/dist/nylas-web-elements/p-67c9158e.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-6ba7a037.js +2 -0
- package/dist/nylas-web-elements/p-6ba7a037.js.map +1 -0
- package/dist/nylas-web-elements/p-6da0b8f0.entry.js +2 -0
- package/dist/nylas-web-elements/p-6da0b8f0.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-6df00ba0.js +27 -0
- package/dist/nylas-web-elements/p-6df00ba0.js.map +1 -0
- package/dist/nylas-web-elements/p-74141ef6.entry.js +2 -0
- package/dist/nylas-web-elements/p-74141ef6.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-85d41197.entry.js +2 -0
- package/dist/nylas-web-elements/p-85d41197.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-97518578.entry.js +2 -0
- package/dist/nylas-web-elements/p-97518578.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-98ec4a7a.js +2 -0
- package/dist/nylas-web-elements/p-98ec4a7a.js.map +1 -0
- package/dist/nylas-web-elements/p-998d25d5.entry.js +2 -0
- package/dist/nylas-web-elements/p-998d25d5.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-a7bfd3af.entry.js +77 -0
- package/dist/nylas-web-elements/p-a7bfd3af.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-a95208c7.js +2 -0
- package/dist/nylas-web-elements/p-a95208c7.js.map +1 -0
- package/dist/nylas-web-elements/p-adacdaeb.entry.js +2 -0
- package/dist/nylas-web-elements/p-adacdaeb.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-b7d4b7b5.entry.js +2 -0
- package/dist/nylas-web-elements/p-b7d4b7b5.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-b85dfeac.entry.js +2 -0
- package/dist/nylas-web-elements/p-b85dfeac.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-b96b37f1.entry.js +2 -0
- package/dist/nylas-web-elements/p-b96b37f1.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-c2e69618.entry.js +2 -0
- package/dist/nylas-web-elements/p-c2e69618.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-c440f148.entry.js +2 -0
- package/dist/nylas-web-elements/p-c440f148.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-c66e27d0.js +3 -0
- package/dist/nylas-web-elements/p-c66e27d0.js.map +1 -0
- package/dist/nylas-web-elements/p-c685e944.entry.js +3 -0
- package/dist/nylas-web-elements/p-c685e944.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-cb65c223.js +2 -0
- package/dist/nylas-web-elements/p-cb65c223.js.map +1 -0
- package/dist/nylas-web-elements/p-cc21d351.js +17 -0
- package/dist/nylas-web-elements/p-cc21d351.js.map +1 -0
- package/dist/nylas-web-elements/p-d4b1e3e4.entry.js +2 -0
- package/dist/nylas-web-elements/p-d4b1e3e4.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-db24cc70.entry.js +2 -0
- package/dist/nylas-web-elements/p-db24cc70.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-de1bcc4a.js +2 -0
- package/dist/nylas-web-elements/p-de1bcc4a.js.map +1 -0
- package/dist/nylas-web-elements/p-df9f71ea.js +2 -0
- package/dist/nylas-web-elements/p-df9f71ea.js.map +1 -0
- package/dist/nylas-web-elements/p-eeb0a591.js +2 -0
- package/dist/nylas-web-elements/p-eeb0a591.js.map +1 -0
- package/dist/nylas-web-elements/p-f029c1b7.entry.js +2 -0
- package/dist/nylas-web-elements/p-f029c1b7.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-f9a4758a.entry.js +2 -0
- package/dist/nylas-web-elements/p-f9a4758a.entry.js.map +1 -0
- package/dist/types/common/abstract-provider.d.ts +52 -0
- package/dist/types/common/component-types.d.ts +22 -0
- package/dist/types/common/constants.d.ts +6 -0
- package/dist/types/common/global.d.ts +1 -0
- package/dist/types/common/icons/archive.d.ts +5 -0
- package/dist/types/common/icons/arrow.d.ts +5 -0
- package/dist/types/common/icons/bold.d.ts +5 -0
- package/dist/types/common/icons/calendar-cancel.d.ts +5 -0
- package/dist/types/common/icons/calendar-check.d.ts +5 -0
- package/dist/types/common/icons/calendar.d.ts +5 -0
- package/dist/types/common/icons/checkmark-circle.d.ts +5 -0
- package/dist/types/common/icons/chevron.d.ts +5 -0
- package/dist/types/common/icons/close.d.ts +5 -0
- package/dist/types/common/icons/document-refresh.d.ts +5 -0
- package/dist/types/common/icons/folder.d.ts +5 -0
- package/dist/types/common/icons/forward.d.ts +5 -0
- package/dist/types/common/icons/globe.d.ts +5 -0
- package/dist/types/common/icons/inbox.d.ts +5 -0
- package/dist/types/common/icons/italic.d.ts +5 -0
- package/dist/types/common/icons/loading.d.ts +5 -0
- package/dist/types/common/icons/nylas-logo.d.ts +5 -0
- package/dist/types/common/icons/people.d.ts +5 -0
- package/dist/types/common/icons/play.d.ts +5 -0
- package/dist/types/common/icons/refresh.d.ts +5 -0
- package/dist/types/common/icons/reply-all.d.ts +5 -0
- package/dist/types/common/icons/reply.d.ts +5 -0
- package/dist/types/common/icons/sent.d.ts +5 -0
- package/dist/types/common/icons/spam.d.ts +5 -0
- package/dist/types/common/icons/star.d.ts +5 -0
- package/dist/types/common/icons/stop.d.ts +5 -0
- package/dist/types/common/icons/translate.d.ts +5 -0
- package/dist/types/common/icons/trash.d.ts +5 -0
- package/dist/types/common/icons/underline.d.ts +5 -0
- package/dist/types/common/icons/warning.d.ts +5 -0
- package/dist/types/common/mocks/threads.d.ts +3 -0
- package/dist/types/common/nylas-theme/index.d.ts +27 -0
- package/dist/types/common/register-component.d.ts +29 -0
- package/dist/types/common/types.d.ts +108 -0
- package/dist/types/components/mailbox/nylas-composer/nylas-composer.d.ts +22 -0
- package/dist/types/components/mailbox/nylas-composer/test/nylas-composer.spec-disabled.d.ts +1 -0
- package/dist/types/components/mailbox/nylas-list-folders/nylas-list-folders.d.ts +19 -0
- package/dist/types/components/mailbox/nylas-list-threads/nylas-list-threads.d.ts +19 -0
- package/dist/types/components/mailbox/nylas-mailbox/nylas-mailbox.d.ts +35 -0
- package/dist/types/components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination.d.ts +30 -0
- package/dist/types/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.d.ts +26 -0
- package/dist/types/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.d.ts +25 -0
- package/dist/types/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.d.ts +23 -0
- package/dist/types/components/mailbox/nylas-threads-search/nylas-threads-search.d.ts +13 -0
- package/dist/types/components/mailbox/nylas-view-email/nylas-view-email.d.ts +25 -0
- package/dist/types/components/mailbox/nylas-view-thread/nylas-view-thread.d.ts +30 -0
- package/dist/types/components/mailbox/nylas-view-thread/view-thread-message.d.ts +12 -0
- package/dist/types/components/nylas-if-state/nylas-if-state.d.ts +22 -0
- package/dist/types/components/nylas-login/nylas-login.d.ts +26 -0
- package/dist/types/components/nylas-provider/nylas-provider.d.ts +35 -0
- package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +22 -0
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +33 -0
- package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +13 -0
- package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +19 -0
- package/dist/types/components/scheduler/nylas-locale-switch/nylas-locale-switch.d.ts +13 -0
- package/dist/types/components/scheduler/nylas-notification/nylas-notification.d.ts +13 -0
- package/dist/types/components/scheduler/nylas-open-hours-picker/nylas-open-hours-picker.d.ts +40 -0
- package/dist/types/components/scheduler/nylas-scheduler/nylas-scheduler.d.ts +41 -0
- package/dist/types/components/scheduler/nylas-scheduler/scheduler-view.d.ts +6 -0
- package/dist/types/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.d.ts +15 -0
- package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +28 -0
- package/dist/types/components.d.ts +2123 -0
- package/dist/types/connector/connector-interface.d.ts +35 -0
- package/dist/types/connector/nylas-connector/index.d.ts +59 -0
- package/dist/types/connector/nylas-mailbox-connector/index.d.ts +52 -0
- package/dist/types/connector/nylas-scheduler-connector/index.d.ts +24 -0
- package/dist/types/connector/shared/api/auth.d.ts +13 -0
- package/dist/types/connector/shared/api/folders.d.ts +10 -0
- package/dist/types/connector/shared/api/messages.d.ts +13 -0
- package/dist/types/connector/shared/api/scheduler.d.ts +29 -0
- package/dist/types/connector/shared/api/threads.d.ts +20 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/routers/hash-router.d.ts +21 -0
- package/dist/types/routers/router-interface.d.ts +16 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/stores/auth-store.d.ts +9 -0
- package/dist/types/stores/mailbox-store.d.ts +19 -0
- package/dist/types/stores/scheduler-store.d.ts +32 -0
- package/dist/types/utils/color-utils.d.ts +9 -0
- package/dist/types/utils/utils.d.ts +28 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +69 -0
- package/readme.md +42 -0
|
@@ -0,0 +1,2123 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { DataState, InternalAttachment, NylasEvent } from "./common/types";
|
|
9
|
+
import { LoadingState, NylasErrorResponse, NylasEvent as NylasEvent1, NylasSchedulerBookingData } from ".";
|
|
10
|
+
import { AuthConfg, Folder, Message, Notification, NylasAuthType, NylasSchedulerBookingData as NylasSchedulerBookingData1, OpenHour, ThemeConfig, Thread, Timeslot } from "@nylas/core";
|
|
11
|
+
import { Stores, Transitions } from "./components/nylas-if-state/nylas-if-state";
|
|
12
|
+
import { TokenInfo } from "@nylas/core/dist/auth";
|
|
13
|
+
import { NylasAuthConnectorInterface, NylasMailboxConnectorInterface } from "./connector/connector-interface";
|
|
14
|
+
import { EventOverride, SchedulerEventOverride } from "./common/component-types";
|
|
15
|
+
import { NylasAuthStoreState, NylasAuthStoreType } from "./stores/auth-store";
|
|
16
|
+
import { NylasMailboxStoreState, NylasMailboxStoreType } from "./stores/mailbox-store";
|
|
17
|
+
import { NylasMailboxConnector } from "./connector/nylas-mailbox-connector/index";
|
|
18
|
+
import { PaginationEvent } from "./components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination";
|
|
19
|
+
import { MethodsOfNylasMailboxConnector } from "./components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button";
|
|
20
|
+
import { NylasConnector } from "./connector/nylas-connector/index";
|
|
21
|
+
import { AvailabilityTimeslot, LoadingState as LoadingState1, NylasSchedulerStoreState, NylasSchedulerStoreType } from "./stores/scheduler-store";
|
|
22
|
+
import { NylasSchedulerConnector } from "./connector/nylas-scheduler-connector/index";
|
|
23
|
+
import { SummarizeEvent } from "./components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button";
|
|
24
|
+
import { RefreshEvent } from "./components/mailbox/nylas-threads-refresh/nylas-threads-refresh";
|
|
25
|
+
export { DataState, InternalAttachment, NylasEvent } from "./common/types";
|
|
26
|
+
export { LoadingState, NylasErrorResponse, NylasEvent as NylasEvent1, NylasSchedulerBookingData } from ".";
|
|
27
|
+
export { AuthConfg, Folder, Message, Notification, NylasAuthType, NylasSchedulerBookingData as NylasSchedulerBookingData1, OpenHour, ThemeConfig, Thread, Timeslot } from "@nylas/core";
|
|
28
|
+
export { Stores, Transitions } from "./components/nylas-if-state/nylas-if-state";
|
|
29
|
+
export { TokenInfo } from "@nylas/core/dist/auth";
|
|
30
|
+
export { NylasAuthConnectorInterface, NylasMailboxConnectorInterface } from "./connector/connector-interface";
|
|
31
|
+
export { EventOverride, SchedulerEventOverride } from "./common/component-types";
|
|
32
|
+
export { NylasAuthStoreState, NylasAuthStoreType } from "./stores/auth-store";
|
|
33
|
+
export { NylasMailboxStoreState, NylasMailboxStoreType } from "./stores/mailbox-store";
|
|
34
|
+
export { NylasMailboxConnector } from "./connector/nylas-mailbox-connector/index";
|
|
35
|
+
export { PaginationEvent } from "./components/mailbox/nylas-mailbox-pagination/nylas-mailbox-pagination";
|
|
36
|
+
export { MethodsOfNylasMailboxConnector } from "./components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button";
|
|
37
|
+
export { NylasConnector } from "./connector/nylas-connector/index";
|
|
38
|
+
export { AvailabilityTimeslot, LoadingState as LoadingState1, NylasSchedulerStoreState, NylasSchedulerStoreType } from "./stores/scheduler-store";
|
|
39
|
+
export { NylasSchedulerConnector } from "./connector/nylas-scheduler-connector/index";
|
|
40
|
+
export { SummarizeEvent } from "./components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button";
|
|
41
|
+
export { RefreshEvent } from "./components/mailbox/nylas-threads-refresh/nylas-threads-refresh";
|
|
42
|
+
export namespace Components {
|
|
43
|
+
interface ArchiveIcon {
|
|
44
|
+
"height": string;
|
|
45
|
+
"width": string;
|
|
46
|
+
}
|
|
47
|
+
interface ArrowIcon {
|
|
48
|
+
"height": string;
|
|
49
|
+
"width": string;
|
|
50
|
+
}
|
|
51
|
+
interface BoldIcon {
|
|
52
|
+
"height": string;
|
|
53
|
+
"width": string;
|
|
54
|
+
}
|
|
55
|
+
interface CalendarCancelIcon {
|
|
56
|
+
"height": string;
|
|
57
|
+
"width": string;
|
|
58
|
+
}
|
|
59
|
+
interface CalendarCheckIcon {
|
|
60
|
+
"height": string;
|
|
61
|
+
"width": string;
|
|
62
|
+
}
|
|
63
|
+
interface CalendarIcon {
|
|
64
|
+
"height": string;
|
|
65
|
+
"width": string;
|
|
66
|
+
}
|
|
67
|
+
interface CheckmarkCircleIcon {
|
|
68
|
+
"height": string;
|
|
69
|
+
"width": string;
|
|
70
|
+
}
|
|
71
|
+
interface ChevronIcon {
|
|
72
|
+
"height": string;
|
|
73
|
+
"width": string;
|
|
74
|
+
}
|
|
75
|
+
interface CloseIcon {
|
|
76
|
+
"height": string;
|
|
77
|
+
"width": string;
|
|
78
|
+
}
|
|
79
|
+
interface DocumentRefreshIcon {
|
|
80
|
+
"height": string;
|
|
81
|
+
"width": string;
|
|
82
|
+
}
|
|
83
|
+
interface FolderIcon {
|
|
84
|
+
"height": string;
|
|
85
|
+
"width": string;
|
|
86
|
+
}
|
|
87
|
+
interface ForwardIcon {
|
|
88
|
+
"height": string;
|
|
89
|
+
"width": string;
|
|
90
|
+
}
|
|
91
|
+
interface GlobeIcon {
|
|
92
|
+
"height": string;
|
|
93
|
+
"width": string;
|
|
94
|
+
}
|
|
95
|
+
interface InboxIcon {
|
|
96
|
+
"height": string;
|
|
97
|
+
"width": string;
|
|
98
|
+
}
|
|
99
|
+
interface ItalicIcon {
|
|
100
|
+
"height": string;
|
|
101
|
+
"width": string;
|
|
102
|
+
}
|
|
103
|
+
interface LoadingIcon {
|
|
104
|
+
"height": string;
|
|
105
|
+
"width": string;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The booked event card component.
|
|
109
|
+
*/
|
|
110
|
+
interface NylasBookedEventCard {
|
|
111
|
+
/**
|
|
112
|
+
* Booking flow type.
|
|
113
|
+
*/
|
|
114
|
+
"bookingFlow": 'booking' | 'rescheduling';
|
|
115
|
+
/**
|
|
116
|
+
* The booking info used to book / reschedule the event.
|
|
117
|
+
*/
|
|
118
|
+
"bookingInfo"?: NylasSchedulerBookingData;
|
|
119
|
+
/**
|
|
120
|
+
* The booked event.
|
|
121
|
+
*/
|
|
122
|
+
"eventInfo": NylasEvent;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The booking form component.
|
|
126
|
+
*/
|
|
127
|
+
interface NylasBookingForm {
|
|
128
|
+
"bookedEventError"?: NylasErrorResponse;
|
|
129
|
+
"bookedEventLoading"?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* The booking info.
|
|
132
|
+
*/
|
|
133
|
+
"bookingInfo"?: NylasSchedulerBookingData;
|
|
134
|
+
/**
|
|
135
|
+
* The booked event (Used to track if a booking is created in an eventOverride).
|
|
136
|
+
*/
|
|
137
|
+
"eventInfo"?: NylasEvent1;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The cancelled event card component.
|
|
141
|
+
*/
|
|
142
|
+
interface NylasCancelledEventCard {
|
|
143
|
+
/**
|
|
144
|
+
* The participant's name who booked the event / is logged in.
|
|
145
|
+
*/
|
|
146
|
+
"cancelledEvent": NylasEvent1;
|
|
147
|
+
}
|
|
148
|
+
interface NylasComposer {
|
|
149
|
+
/**
|
|
150
|
+
* The message to reply to or forward
|
|
151
|
+
*/
|
|
152
|
+
"message"?: Message;
|
|
153
|
+
/**
|
|
154
|
+
* The view email element
|
|
155
|
+
*/
|
|
156
|
+
"viewEmailElement"?: HTMLNylasViewEmailElement | null;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The date picker component.
|
|
160
|
+
*/
|
|
161
|
+
interface NylasDatePicker {
|
|
162
|
+
/**
|
|
163
|
+
* The loading state.
|
|
164
|
+
*/
|
|
165
|
+
"loadingState"?: LoadingState;
|
|
166
|
+
/**
|
|
167
|
+
* The dates that are selectable.
|
|
168
|
+
*/
|
|
169
|
+
"selectableDates"?: Date[];
|
|
170
|
+
/**
|
|
171
|
+
* The selected date.
|
|
172
|
+
*/
|
|
173
|
+
"selectedDate"?: Date;
|
|
174
|
+
}
|
|
175
|
+
interface NylasIfState {
|
|
176
|
+
"getStore"?: <K extends keyof Stores>(name: K) => Stores[K];
|
|
177
|
+
/**
|
|
178
|
+
* If true, then the component will render if the state is true. This prop is used with the `state` prop.
|
|
179
|
+
*/
|
|
180
|
+
"isBoolean"?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* If true, then the component will render if the state is set (empty or not set). This prop is used with the `state` prop.
|
|
183
|
+
*/
|
|
184
|
+
"isStateSet"?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* The name of the state to watch.
|
|
187
|
+
*/
|
|
188
|
+
"state"?: string;
|
|
189
|
+
"transition": Transitions;
|
|
190
|
+
}
|
|
191
|
+
interface NylasListFolders {
|
|
192
|
+
"folders"?: Folder[];
|
|
193
|
+
"selectedFolder"?: string;
|
|
194
|
+
}
|
|
195
|
+
interface NylasListThreads {
|
|
196
|
+
"isAuthenticated": boolean;
|
|
197
|
+
"showCheckbox": boolean;
|
|
198
|
+
"state": DataState;
|
|
199
|
+
"threads": Thread[];
|
|
200
|
+
"tokenInfo"?: TokenInfo;
|
|
201
|
+
}
|
|
202
|
+
interface NylasLocaleSwitch {
|
|
203
|
+
/**
|
|
204
|
+
* The selected language.
|
|
205
|
+
*/
|
|
206
|
+
"selectedLanguage": string;
|
|
207
|
+
/**
|
|
208
|
+
* The selected timezone.
|
|
209
|
+
*/
|
|
210
|
+
"selectedTimezone": string;
|
|
211
|
+
}
|
|
212
|
+
interface NylasLogin {
|
|
213
|
+
"buttonText": string;
|
|
214
|
+
"companyName": string;
|
|
215
|
+
"isAuthenticated": boolean;
|
|
216
|
+
"loginMethod": 'redirect' | 'emebded';
|
|
217
|
+
"logoUrl": string;
|
|
218
|
+
"logoWidth"?: string;
|
|
219
|
+
"nylasConnector"?: NylasAuthConnectorInterface;
|
|
220
|
+
"providers"?: string;
|
|
221
|
+
"scopes"?: string[];
|
|
222
|
+
}
|
|
223
|
+
interface NylasLogo {
|
|
224
|
+
"height": string;
|
|
225
|
+
"width": string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* The Nylas Mailbox component.
|
|
229
|
+
* This component is used as a provider for all other Nylas Mailbox components.
|
|
230
|
+
* It is responsible for managing the NylasAuth and NylasMailboxConnector instances.
|
|
231
|
+
* It also manages the state of the NylasAuth and NylasMailboxStore instances.
|
|
232
|
+
* @example <nylas-mailbox
|
|
233
|
+
* auth-config={{
|
|
234
|
+
* clientId: 'YOUR_CLIENT_ID',
|
|
235
|
+
* }}
|
|
236
|
+
* default-auth-store-state={{
|
|
237
|
+
* threadQueryParams: {
|
|
238
|
+
* limit: 10,
|
|
239
|
+
* }}
|
|
240
|
+
* >
|
|
241
|
+
* <nylas-mailbox-thread-list></nylas-mailbox-thread-list>
|
|
242
|
+
* </nylas-mailbox>
|
|
243
|
+
*/
|
|
244
|
+
interface NylasMailbox {
|
|
245
|
+
/**
|
|
246
|
+
* The Nylas Auth configuration. Used to manage all things authentication with Nylas.
|
|
247
|
+
*/
|
|
248
|
+
"authConfig"?: AuthConfg;
|
|
249
|
+
/**
|
|
250
|
+
* Automatically register components that have the `@RegisterComponent` decorator. If this is set to false, you will need to manually register components using the `registerComponent` method.
|
|
251
|
+
*/
|
|
252
|
+
"automaticComponentRegistration": boolean;
|
|
253
|
+
/**
|
|
254
|
+
* The default auth store state. Used to set the initial state of the auth store.
|
|
255
|
+
*/
|
|
256
|
+
"defaultAuthStoreState"?: NylasAuthStoreState;
|
|
257
|
+
/**
|
|
258
|
+
* The default mailbox store state. Used to set the initial state of the mailbox store.
|
|
259
|
+
*/
|
|
260
|
+
"defaultMailboxStoreState"?: NylasMailboxStoreState;
|
|
261
|
+
/**
|
|
262
|
+
* This provides a way to override the default event handlers.
|
|
263
|
+
*/
|
|
264
|
+
"eventOverrides": EventOverride<Exclude<typeof this.nylasMailboxConnector, undefined>>;
|
|
265
|
+
/**
|
|
266
|
+
* This method is used to retrieve the authStore instance
|
|
267
|
+
* @returns The authStore instance
|
|
268
|
+
*/
|
|
269
|
+
"getAuthStore": () => Promise<NylasAuthStoreType | undefined>;
|
|
270
|
+
/**
|
|
271
|
+
* This method is used to retrieve the mailboxStore instance
|
|
272
|
+
* @returns The mailboxStore instance
|
|
273
|
+
*/
|
|
274
|
+
"getMailboxStore": () => Promise<NylasMailboxStoreType | undefined>;
|
|
275
|
+
/**
|
|
276
|
+
* This method is used to retrieve the NylasAuth instance
|
|
277
|
+
* @returns The NylasAuth instance
|
|
278
|
+
*/
|
|
279
|
+
"getNylasAuth": () => Promise<NylasAuthType | undefined>;
|
|
280
|
+
/**
|
|
281
|
+
* This method is used to retrieve the NylasMailboxConnector instance
|
|
282
|
+
* @returns The NylasMailboxConnector instance
|
|
283
|
+
*/
|
|
284
|
+
"getNylasMailboxConnector": () => Promise<NylasMailboxConnector | undefined>;
|
|
285
|
+
}
|
|
286
|
+
interface NylasMailboxPagination {
|
|
287
|
+
/**
|
|
288
|
+
* @description Whether or not the mailbox has a next or previous page of threads
|
|
289
|
+
*/
|
|
290
|
+
"hasNextPage": boolean;
|
|
291
|
+
/**
|
|
292
|
+
* @description Whether or not the mailbox has a previous page of threads
|
|
293
|
+
*/
|
|
294
|
+
"hasPreviousPage": boolean;
|
|
295
|
+
/**
|
|
296
|
+
* @description Whether or not the infinity scroll should only be enabled on mobile devices
|
|
297
|
+
*/
|
|
298
|
+
"mobileOnlyInfiniteScroll": boolean;
|
|
299
|
+
/**
|
|
300
|
+
* @description The width of the mobile viewport
|
|
301
|
+
*/
|
|
302
|
+
"mobileViewPortWidth": number;
|
|
303
|
+
/**
|
|
304
|
+
* @description Go to the next page of threads
|
|
305
|
+
*/
|
|
306
|
+
"nextPage": () => Promise<void>;
|
|
307
|
+
/**
|
|
308
|
+
* @description Go to the previous page of threads
|
|
309
|
+
*/
|
|
310
|
+
"previousPage": () => Promise<void>;
|
|
311
|
+
/**
|
|
312
|
+
* @description Whether or not the mailbox has a next or previous page of threads
|
|
313
|
+
*/
|
|
314
|
+
"scrollTarget": 'container' | 'page';
|
|
315
|
+
/**
|
|
316
|
+
* @description The state of the mailbox
|
|
317
|
+
*/
|
|
318
|
+
"state": 'ready' | 'loading' | 'error';
|
|
319
|
+
}
|
|
320
|
+
interface NylasMailboxToolbarButton {
|
|
321
|
+
/**
|
|
322
|
+
* The value of the state to compare against to check if the data is loading, error, or ready.
|
|
323
|
+
*/
|
|
324
|
+
"dataState"?: string;
|
|
325
|
+
/**
|
|
326
|
+
* If true, then the component will render the icon only.
|
|
327
|
+
*/
|
|
328
|
+
"iconOnly": boolean;
|
|
329
|
+
/**
|
|
330
|
+
* If true, then the component will render if the state is true. This prop is used with the `state` prop.
|
|
331
|
+
*/
|
|
332
|
+
"mailboxConnector"?: NylasMailboxConnectorInterface;
|
|
333
|
+
/**
|
|
334
|
+
* The name of the mailbox connector method to call.
|
|
335
|
+
*/
|
|
336
|
+
"method": MethodsOfNylasMailboxConnector;
|
|
337
|
+
}
|
|
338
|
+
interface NylasNotification {
|
|
339
|
+
"allowedCategories": string[];
|
|
340
|
+
"ttl": number;
|
|
341
|
+
}
|
|
342
|
+
interface NylasOpenHoursPicker {
|
|
343
|
+
/**
|
|
344
|
+
* The number of milliseconds the user must be dragging for before we consider it a drag event.
|
|
345
|
+
*/
|
|
346
|
+
"dragThreshold": number;
|
|
347
|
+
/**
|
|
348
|
+
* The end time of the day. Leave this to the default date of 2024-09-07T23:59:59.999Z unless you want want available times to be a specific year, month, and day.
|
|
349
|
+
*/
|
|
350
|
+
"endTime": Date;
|
|
351
|
+
/**
|
|
352
|
+
* The width of the viewport in mobile.
|
|
353
|
+
*/
|
|
354
|
+
"mobileViewPortWidth": number;
|
|
355
|
+
/**
|
|
356
|
+
* A pre-populated open hour configuration.
|
|
357
|
+
*/
|
|
358
|
+
"openHours": OpenHour[];
|
|
359
|
+
/**
|
|
360
|
+
* The start time of the day. Leave this to the default date of 2024-09-01T00:00:00.000Z unless you want want available times to be a specific year, month, and day.
|
|
361
|
+
*/
|
|
362
|
+
"startTime": Date;
|
|
363
|
+
/**
|
|
364
|
+
* The number of minutes between each time. If this is 15, we'll show 15 minute intervals. If this is 60, we'll show 1 hour intervals.
|
|
365
|
+
*/
|
|
366
|
+
"stepMinutes": number;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* The Nylas Provider component.
|
|
370
|
+
* This component is used to manage the Nylas Provider.
|
|
371
|
+
* It is used to manage the Nylas Auth instance, the Nylas Connector instance,
|
|
372
|
+
* and the Nylas Store instance.
|
|
373
|
+
*/
|
|
374
|
+
interface NylasProvider {
|
|
375
|
+
/**
|
|
376
|
+
* The Nylas Auth configuration. Used to manage all things authentication with Nylas.
|
|
377
|
+
*/
|
|
378
|
+
"authConfig"?: AuthConfg;
|
|
379
|
+
/**
|
|
380
|
+
* Automatically register components that have the `@RegisterComponent` decorator. If this is set to false, you will need to manually register components using the `registerComponent` method.
|
|
381
|
+
* @default true
|
|
382
|
+
*/
|
|
383
|
+
"automaticComponentRegistration": boolean;
|
|
384
|
+
/**
|
|
385
|
+
* This provides a way to override the default event handlers.
|
|
386
|
+
*/
|
|
387
|
+
"eventOverrides": EventOverride<Exclude<typeof this.nylasConnector, undefined>>;
|
|
388
|
+
/**
|
|
389
|
+
* This method is used to retrieve the authStore instance
|
|
390
|
+
* @returns The authStore instance
|
|
391
|
+
*/
|
|
392
|
+
"getAuthStore": () => Promise<NylasAuthStoreType | undefined>;
|
|
393
|
+
/**
|
|
394
|
+
* This method is used to retrieve the mailboxStore instance
|
|
395
|
+
* @returns The mailboxStore instance
|
|
396
|
+
*/
|
|
397
|
+
"getMailboxStore": () => Promise<NylasMailboxStoreType | undefined>;
|
|
398
|
+
/**
|
|
399
|
+
* This method is used to retrieve the NylasAuth instance
|
|
400
|
+
* @returns The NylasAuth instance
|
|
401
|
+
*/
|
|
402
|
+
"getNylasAuth": () => Promise<NylasAuthType | undefined>;
|
|
403
|
+
/**
|
|
404
|
+
* This method is used to retrieve the NylasConnector instance
|
|
405
|
+
* @returns The NylasConnector instance
|
|
406
|
+
*/
|
|
407
|
+
"getNylasConnector": () => Promise<NylasConnector | undefined>;
|
|
408
|
+
/**
|
|
409
|
+
* This method is used to retrieve the NylasScheduler instance
|
|
410
|
+
* @returns The NylasScheduler instance
|
|
411
|
+
*/
|
|
412
|
+
"getNylasSchedulerStore": () => Promise<NylasSchedulerStoreType | undefined>;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* The Nylas Scheduler component is used to show the Nylas Scheduler UI.
|
|
416
|
+
*/
|
|
417
|
+
interface NylasScheduler {
|
|
418
|
+
/**
|
|
419
|
+
* This enables passing the bookingInfo object to the Scheduler UI for direct booking event creation. When used with timeslotConfirmedHandler, it bypasses the additional data page and immediately invokes the handler after booking.
|
|
420
|
+
*/
|
|
421
|
+
"bookingInfo"?: NylasSchedulerBookingData1;
|
|
422
|
+
/**
|
|
423
|
+
* The default scheduler store state. Used to set the initial state of the scheduler store.
|
|
424
|
+
*/
|
|
425
|
+
"defaultSchedulerStoreState"?: NylasSchedulerStoreState;
|
|
426
|
+
/**
|
|
427
|
+
* This provides an easy way to override the default function of the event emitter. An example of this is the `timeslotConfirmed` event. By default, this event will set the scheduler store state for `showBookingForm` to `true` which will show the booking form. However, if you want to override this behavior, you can pass in the prop `eventOverride` like: ```html <nylas-scheduler eventOverride={{"timeslotConfirmed": (event, nylasConnector) => { console.log("Timeslot confirmed event fired!"); } }} /> ```
|
|
428
|
+
*/
|
|
429
|
+
"eventOverrides": SchedulerEventOverride;
|
|
430
|
+
/**
|
|
431
|
+
* This method is used to retrieve the NylasConnector instance
|
|
432
|
+
* @returns The NylasConnector instance
|
|
433
|
+
*/
|
|
434
|
+
"getNylasSchedulerConnector": () => Promise<NylasSchedulerConnector | undefined>;
|
|
435
|
+
/**
|
|
436
|
+
* This method is used to retrieve the NylasScheduler instance
|
|
437
|
+
* @returns The NylasScheduler instance
|
|
438
|
+
*/
|
|
439
|
+
"getNylasSchedulerStore": () => Promise<NylasSchedulerStoreType | undefined>;
|
|
440
|
+
"getRef": () => Promise<HTMLNylasSchedulerElement>;
|
|
441
|
+
/**
|
|
442
|
+
* The loading state. This is used to set the loading state for the Nylas Scheduler when fetching data. For example, when fetching availability, the loading state can be set to: ```js loadingState={ api: 'availability' } ```
|
|
443
|
+
*/
|
|
444
|
+
"loadingState"?: LoadingState;
|
|
445
|
+
/**
|
|
446
|
+
* This is used to set the mode for the Nylas Scheduler. The mode can be either `app` or `composable`. The default mode is `app`. - `app`: This mode is used to show the default Nylas Scheduler UI. - `composable`: This mode is used to show the composable Nylas Scheduler UI by passing the individual scheduler components as children.
|
|
447
|
+
*/
|
|
448
|
+
"mode": 'app' | 'composable';
|
|
449
|
+
/**
|
|
450
|
+
* Booking Id required for rescheduling flow.
|
|
451
|
+
*/
|
|
452
|
+
"rescheduleId"?: string;
|
|
453
|
+
/**
|
|
454
|
+
* The URL for the Nylas Scheduler API. (staging or production URL)
|
|
455
|
+
*/
|
|
456
|
+
"schedulerApiUrl": string;
|
|
457
|
+
/**
|
|
458
|
+
* The session ID for the Nylas Scheduler. This is used to authenticate the user.
|
|
459
|
+
*/
|
|
460
|
+
"sessionId"?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Theme config, used to automatically generate a theme with color palette and CSS variables to customize the look and feel of the Nylas Scheduler.
|
|
463
|
+
*/
|
|
464
|
+
"themeConfig"?: ThemeConfig;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* The selected event card component.
|
|
468
|
+
*/
|
|
469
|
+
interface NylasSelectedEventCard {
|
|
470
|
+
/**
|
|
471
|
+
* The selected date.
|
|
472
|
+
*/
|
|
473
|
+
"selectedDate"?: Date;
|
|
474
|
+
/**
|
|
475
|
+
* The selected time.
|
|
476
|
+
*/
|
|
477
|
+
"selectedTimeslot"?: Timeslot;
|
|
478
|
+
/**
|
|
479
|
+
* * The selected timezone.
|
|
480
|
+
*/
|
|
481
|
+
"selectedTimezone": string;
|
|
482
|
+
}
|
|
483
|
+
interface NylasSummarizeMessageButton {
|
|
484
|
+
/**
|
|
485
|
+
* The message to summarize
|
|
486
|
+
*/
|
|
487
|
+
"message"?: Message;
|
|
488
|
+
/**
|
|
489
|
+
* Play audio
|
|
490
|
+
* @param ttsResponseBody Text to speech response body
|
|
491
|
+
* @param audioRef Audio element
|
|
492
|
+
*/
|
|
493
|
+
"playAudio": (ttsResponseBody: Promise<ReadableStream<Uint8Array> | null>) => Promise<void>;
|
|
494
|
+
/**
|
|
495
|
+
* Update the state of the summarize button
|
|
496
|
+
* @param state The new state
|
|
497
|
+
* @returns Promise<void>
|
|
498
|
+
*/
|
|
499
|
+
"updateState": (state: 'loading' | 'playing' | 'stopped') => Promise<void>;
|
|
500
|
+
}
|
|
501
|
+
interface NylasThreadsRefresh {
|
|
502
|
+
"updateState": (state: 'ready' | 'loading' | 'error') => Promise<void>;
|
|
503
|
+
}
|
|
504
|
+
interface NylasThreadsSearch {
|
|
505
|
+
/**
|
|
506
|
+
* The query to search for threads
|
|
507
|
+
*/
|
|
508
|
+
"query": string;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* The timeslot picker component.
|
|
512
|
+
*/
|
|
513
|
+
interface NylasTimeslotPicker {
|
|
514
|
+
/**
|
|
515
|
+
* The available timeslots.
|
|
516
|
+
*/
|
|
517
|
+
"availability"?: AvailabilityTimeslot[];
|
|
518
|
+
/**
|
|
519
|
+
* The loading state prop. Used to display loading state when fetching availability.
|
|
520
|
+
*/
|
|
521
|
+
"loadingState"?: LoadingState;
|
|
522
|
+
/**
|
|
523
|
+
* The selected date.
|
|
524
|
+
*/
|
|
525
|
+
"selectedDate"?: Date;
|
|
526
|
+
/**
|
|
527
|
+
* The selected timeslot.
|
|
528
|
+
*/
|
|
529
|
+
"selectedTimeslot"?: Timeslot;
|
|
530
|
+
/**
|
|
531
|
+
* The selected timezone.
|
|
532
|
+
*/
|
|
533
|
+
"selectedTimezone": string;
|
|
534
|
+
}
|
|
535
|
+
interface NylasViewEmail {
|
|
536
|
+
"attachments": InternalAttachment[];
|
|
537
|
+
"detectDarkMode": boolean;
|
|
538
|
+
"message"?: Message;
|
|
539
|
+
"parent"?: HTMLElement;
|
|
540
|
+
}
|
|
541
|
+
interface NylasViewThread {
|
|
542
|
+
/**
|
|
543
|
+
* Attachments for each message within the thread
|
|
544
|
+
*/
|
|
545
|
+
"attachments": InternalAttachment[];
|
|
546
|
+
/**
|
|
547
|
+
* The draft message to display
|
|
548
|
+
*/
|
|
549
|
+
"draft"?: Message;
|
|
550
|
+
/**
|
|
551
|
+
* Messages within the thread to display
|
|
552
|
+
*/
|
|
553
|
+
"messages": Message[];
|
|
554
|
+
/**
|
|
555
|
+
* Thread to display
|
|
556
|
+
*/
|
|
557
|
+
"thread"?: Thread;
|
|
558
|
+
}
|
|
559
|
+
interface PeopleIcon {
|
|
560
|
+
"height": string;
|
|
561
|
+
"width": string;
|
|
562
|
+
}
|
|
563
|
+
interface PlayIcon {
|
|
564
|
+
"height": string;
|
|
565
|
+
"width": string;
|
|
566
|
+
}
|
|
567
|
+
interface RefreshIcon {
|
|
568
|
+
"height": string;
|
|
569
|
+
"width": string;
|
|
570
|
+
}
|
|
571
|
+
interface ReplyAllIcon {
|
|
572
|
+
"height": string;
|
|
573
|
+
"width": string;
|
|
574
|
+
}
|
|
575
|
+
interface ReplyIcon {
|
|
576
|
+
"height": string;
|
|
577
|
+
"width": string;
|
|
578
|
+
}
|
|
579
|
+
interface SentIcon {
|
|
580
|
+
"height": string;
|
|
581
|
+
"width": string;
|
|
582
|
+
}
|
|
583
|
+
interface SpamIcon {
|
|
584
|
+
"height": string;
|
|
585
|
+
"width": string;
|
|
586
|
+
}
|
|
587
|
+
interface StarIcon {
|
|
588
|
+
"height": string;
|
|
589
|
+
"width": string;
|
|
590
|
+
}
|
|
591
|
+
interface StopIcon {
|
|
592
|
+
"height": string;
|
|
593
|
+
"width": string;
|
|
594
|
+
}
|
|
595
|
+
interface TranslateIcon {
|
|
596
|
+
"height": string;
|
|
597
|
+
"width": string;
|
|
598
|
+
}
|
|
599
|
+
interface TrashIcon {
|
|
600
|
+
"height": string;
|
|
601
|
+
"width": string;
|
|
602
|
+
}
|
|
603
|
+
interface UnderlineIcon {
|
|
604
|
+
"height": string;
|
|
605
|
+
"width": string;
|
|
606
|
+
}
|
|
607
|
+
interface WarningIcon {
|
|
608
|
+
"height": string;
|
|
609
|
+
"width": string;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
export interface NylasBookedEventCardCustomEvent<T> extends CustomEvent<T> {
|
|
613
|
+
detail: T;
|
|
614
|
+
target: HTMLNylasBookedEventCardElement;
|
|
615
|
+
}
|
|
616
|
+
export interface NylasBookingFormCustomEvent<T> extends CustomEvent<T> {
|
|
617
|
+
detail: T;
|
|
618
|
+
target: HTMLNylasBookingFormElement;
|
|
619
|
+
}
|
|
620
|
+
export interface NylasCancelledEventCardCustomEvent<T> extends CustomEvent<T> {
|
|
621
|
+
detail: T;
|
|
622
|
+
target: HTMLNylasCancelledEventCardElement;
|
|
623
|
+
}
|
|
624
|
+
export interface NylasComposerCustomEvent<T> extends CustomEvent<T> {
|
|
625
|
+
detail: T;
|
|
626
|
+
target: HTMLNylasComposerElement;
|
|
627
|
+
}
|
|
628
|
+
export interface NylasDatePickerCustomEvent<T> extends CustomEvent<T> {
|
|
629
|
+
detail: T;
|
|
630
|
+
target: HTMLNylasDatePickerElement;
|
|
631
|
+
}
|
|
632
|
+
export interface NylasListFoldersCustomEvent<T> extends CustomEvent<T> {
|
|
633
|
+
detail: T;
|
|
634
|
+
target: HTMLNylasListFoldersElement;
|
|
635
|
+
}
|
|
636
|
+
export interface NylasListThreadsCustomEvent<T> extends CustomEvent<T> {
|
|
637
|
+
detail: T;
|
|
638
|
+
target: HTMLNylasListThreadsElement;
|
|
639
|
+
}
|
|
640
|
+
export interface NylasLocaleSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
641
|
+
detail: T;
|
|
642
|
+
target: HTMLNylasLocaleSwitchElement;
|
|
643
|
+
}
|
|
644
|
+
export interface NylasLoginCustomEvent<T> extends CustomEvent<T> {
|
|
645
|
+
detail: T;
|
|
646
|
+
target: HTMLNylasLoginElement;
|
|
647
|
+
}
|
|
648
|
+
export interface NylasMailboxCustomEvent<T> extends CustomEvent<T> {
|
|
649
|
+
detail: T;
|
|
650
|
+
target: HTMLNylasMailboxElement;
|
|
651
|
+
}
|
|
652
|
+
export interface NylasMailboxPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
653
|
+
detail: T;
|
|
654
|
+
target: HTMLNylasMailboxPaginationElement;
|
|
655
|
+
}
|
|
656
|
+
export interface NylasOpenHoursPickerCustomEvent<T> extends CustomEvent<T> {
|
|
657
|
+
detail: T;
|
|
658
|
+
target: HTMLNylasOpenHoursPickerElement;
|
|
659
|
+
}
|
|
660
|
+
export interface NylasProviderCustomEvent<T> extends CustomEvent<T> {
|
|
661
|
+
detail: T;
|
|
662
|
+
target: HTMLNylasProviderElement;
|
|
663
|
+
}
|
|
664
|
+
export interface NylasSchedulerCustomEvent<T> extends CustomEvent<T> {
|
|
665
|
+
detail: T;
|
|
666
|
+
target: HTMLNylasSchedulerElement;
|
|
667
|
+
}
|
|
668
|
+
export interface NylasSummarizeMessageButtonCustomEvent<T> extends CustomEvent<T> {
|
|
669
|
+
detail: T;
|
|
670
|
+
target: HTMLNylasSummarizeMessageButtonElement;
|
|
671
|
+
}
|
|
672
|
+
export interface NylasThreadsRefreshCustomEvent<T> extends CustomEvent<T> {
|
|
673
|
+
detail: T;
|
|
674
|
+
target: HTMLNylasThreadsRefreshElement;
|
|
675
|
+
}
|
|
676
|
+
export interface NylasThreadsSearchCustomEvent<T> extends CustomEvent<T> {
|
|
677
|
+
detail: T;
|
|
678
|
+
target: HTMLNylasThreadsSearchElement;
|
|
679
|
+
}
|
|
680
|
+
export interface NylasTimeslotPickerCustomEvent<T> extends CustomEvent<T> {
|
|
681
|
+
detail: T;
|
|
682
|
+
target: HTMLNylasTimeslotPickerElement;
|
|
683
|
+
}
|
|
684
|
+
export interface NylasViewThreadCustomEvent<T> extends CustomEvent<T> {
|
|
685
|
+
detail: T;
|
|
686
|
+
target: HTMLNylasViewThreadElement;
|
|
687
|
+
}
|
|
688
|
+
declare global {
|
|
689
|
+
interface HTMLArchiveIconElement extends Components.ArchiveIcon, HTMLStencilElement {
|
|
690
|
+
}
|
|
691
|
+
var HTMLArchiveIconElement: {
|
|
692
|
+
prototype: HTMLArchiveIconElement;
|
|
693
|
+
new (): HTMLArchiveIconElement;
|
|
694
|
+
};
|
|
695
|
+
interface HTMLArrowIconElement extends Components.ArrowIcon, HTMLStencilElement {
|
|
696
|
+
}
|
|
697
|
+
var HTMLArrowIconElement: {
|
|
698
|
+
prototype: HTMLArrowIconElement;
|
|
699
|
+
new (): HTMLArrowIconElement;
|
|
700
|
+
};
|
|
701
|
+
interface HTMLBoldIconElement extends Components.BoldIcon, HTMLStencilElement {
|
|
702
|
+
}
|
|
703
|
+
var HTMLBoldIconElement: {
|
|
704
|
+
prototype: HTMLBoldIconElement;
|
|
705
|
+
new (): HTMLBoldIconElement;
|
|
706
|
+
};
|
|
707
|
+
interface HTMLCalendarCancelIconElement extends Components.CalendarCancelIcon, HTMLStencilElement {
|
|
708
|
+
}
|
|
709
|
+
var HTMLCalendarCancelIconElement: {
|
|
710
|
+
prototype: HTMLCalendarCancelIconElement;
|
|
711
|
+
new (): HTMLCalendarCancelIconElement;
|
|
712
|
+
};
|
|
713
|
+
interface HTMLCalendarCheckIconElement extends Components.CalendarCheckIcon, HTMLStencilElement {
|
|
714
|
+
}
|
|
715
|
+
var HTMLCalendarCheckIconElement: {
|
|
716
|
+
prototype: HTMLCalendarCheckIconElement;
|
|
717
|
+
new (): HTMLCalendarCheckIconElement;
|
|
718
|
+
};
|
|
719
|
+
interface HTMLCalendarIconElement extends Components.CalendarIcon, HTMLStencilElement {
|
|
720
|
+
}
|
|
721
|
+
var HTMLCalendarIconElement: {
|
|
722
|
+
prototype: HTMLCalendarIconElement;
|
|
723
|
+
new (): HTMLCalendarIconElement;
|
|
724
|
+
};
|
|
725
|
+
interface HTMLCheckmarkCircleIconElement extends Components.CheckmarkCircleIcon, HTMLStencilElement {
|
|
726
|
+
}
|
|
727
|
+
var HTMLCheckmarkCircleIconElement: {
|
|
728
|
+
prototype: HTMLCheckmarkCircleIconElement;
|
|
729
|
+
new (): HTMLCheckmarkCircleIconElement;
|
|
730
|
+
};
|
|
731
|
+
interface HTMLChevronIconElement extends Components.ChevronIcon, HTMLStencilElement {
|
|
732
|
+
}
|
|
733
|
+
var HTMLChevronIconElement: {
|
|
734
|
+
prototype: HTMLChevronIconElement;
|
|
735
|
+
new (): HTMLChevronIconElement;
|
|
736
|
+
};
|
|
737
|
+
interface HTMLCloseIconElement extends Components.CloseIcon, HTMLStencilElement {
|
|
738
|
+
}
|
|
739
|
+
var HTMLCloseIconElement: {
|
|
740
|
+
prototype: HTMLCloseIconElement;
|
|
741
|
+
new (): HTMLCloseIconElement;
|
|
742
|
+
};
|
|
743
|
+
interface HTMLDocumentRefreshIconElement extends Components.DocumentRefreshIcon, HTMLStencilElement {
|
|
744
|
+
}
|
|
745
|
+
var HTMLDocumentRefreshIconElement: {
|
|
746
|
+
prototype: HTMLDocumentRefreshIconElement;
|
|
747
|
+
new (): HTMLDocumentRefreshIconElement;
|
|
748
|
+
};
|
|
749
|
+
interface HTMLFolderIconElement extends Components.FolderIcon, HTMLStencilElement {
|
|
750
|
+
}
|
|
751
|
+
var HTMLFolderIconElement: {
|
|
752
|
+
prototype: HTMLFolderIconElement;
|
|
753
|
+
new (): HTMLFolderIconElement;
|
|
754
|
+
};
|
|
755
|
+
interface HTMLForwardIconElement extends Components.ForwardIcon, HTMLStencilElement {
|
|
756
|
+
}
|
|
757
|
+
var HTMLForwardIconElement: {
|
|
758
|
+
prototype: HTMLForwardIconElement;
|
|
759
|
+
new (): HTMLForwardIconElement;
|
|
760
|
+
};
|
|
761
|
+
interface HTMLGlobeIconElement extends Components.GlobeIcon, HTMLStencilElement {
|
|
762
|
+
}
|
|
763
|
+
var HTMLGlobeIconElement: {
|
|
764
|
+
prototype: HTMLGlobeIconElement;
|
|
765
|
+
new (): HTMLGlobeIconElement;
|
|
766
|
+
};
|
|
767
|
+
interface HTMLInboxIconElement extends Components.InboxIcon, HTMLStencilElement {
|
|
768
|
+
}
|
|
769
|
+
var HTMLInboxIconElement: {
|
|
770
|
+
prototype: HTMLInboxIconElement;
|
|
771
|
+
new (): HTMLInboxIconElement;
|
|
772
|
+
};
|
|
773
|
+
interface HTMLItalicIconElement extends Components.ItalicIcon, HTMLStencilElement {
|
|
774
|
+
}
|
|
775
|
+
var HTMLItalicIconElement: {
|
|
776
|
+
prototype: HTMLItalicIconElement;
|
|
777
|
+
new (): HTMLItalicIconElement;
|
|
778
|
+
};
|
|
779
|
+
interface HTMLLoadingIconElement extends Components.LoadingIcon, HTMLStencilElement {
|
|
780
|
+
}
|
|
781
|
+
var HTMLLoadingIconElement: {
|
|
782
|
+
prototype: HTMLLoadingIconElement;
|
|
783
|
+
new (): HTMLLoadingIconElement;
|
|
784
|
+
};
|
|
785
|
+
interface HTMLNylasBookedEventCardElementEventMap {
|
|
786
|
+
"cancelBookingButtonClicked": { bookingId: string };
|
|
787
|
+
"rescheduleButtonClicked": { bookingId: string };
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* The booked event card component.
|
|
791
|
+
*/
|
|
792
|
+
interface HTMLNylasBookedEventCardElement extends Components.NylasBookedEventCard, HTMLStencilElement {
|
|
793
|
+
addEventListener<K extends keyof HTMLNylasBookedEventCardElementEventMap>(type: K, listener: (this: HTMLNylasBookedEventCardElement, ev: NylasBookedEventCardCustomEvent<HTMLNylasBookedEventCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
794
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
795
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
796
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
797
|
+
removeEventListener<K extends keyof HTMLNylasBookedEventCardElementEventMap>(type: K, listener: (this: HTMLNylasBookedEventCardElement, ev: NylasBookedEventCardCustomEvent<HTMLNylasBookedEventCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
798
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
799
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
800
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
801
|
+
}
|
|
802
|
+
var HTMLNylasBookedEventCardElement: {
|
|
803
|
+
prototype: HTMLNylasBookedEventCardElement;
|
|
804
|
+
new (): HTMLNylasBookedEventCardElement;
|
|
805
|
+
};
|
|
806
|
+
interface HTMLNylasBookingFormElementEventMap {
|
|
807
|
+
"nameChanged": string;
|
|
808
|
+
"emailChanged": string;
|
|
809
|
+
"backButtonClicked": boolean;
|
|
810
|
+
"detailsConfirmed": NylasSchedulerBookingData;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* The booking form component.
|
|
814
|
+
*/
|
|
815
|
+
interface HTMLNylasBookingFormElement extends Components.NylasBookingForm, HTMLStencilElement {
|
|
816
|
+
addEventListener<K extends keyof HTMLNylasBookingFormElementEventMap>(type: K, listener: (this: HTMLNylasBookingFormElement, ev: NylasBookingFormCustomEvent<HTMLNylasBookingFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
817
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
818
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
819
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
820
|
+
removeEventListener<K extends keyof HTMLNylasBookingFormElementEventMap>(type: K, listener: (this: HTMLNylasBookingFormElement, ev: NylasBookingFormCustomEvent<HTMLNylasBookingFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
821
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
822
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
823
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
824
|
+
}
|
|
825
|
+
var HTMLNylasBookingFormElement: {
|
|
826
|
+
prototype: HTMLNylasBookingFormElement;
|
|
827
|
+
new (): HTMLNylasBookingFormElement;
|
|
828
|
+
};
|
|
829
|
+
interface HTMLNylasCancelledEventCardElementEventMap {
|
|
830
|
+
"closeCancelEventCardClicked": void;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* The cancelled event card component.
|
|
834
|
+
*/
|
|
835
|
+
interface HTMLNylasCancelledEventCardElement extends Components.NylasCancelledEventCard, HTMLStencilElement {
|
|
836
|
+
addEventListener<K extends keyof HTMLNylasCancelledEventCardElementEventMap>(type: K, listener: (this: HTMLNylasCancelledEventCardElement, ev: NylasCancelledEventCardCustomEvent<HTMLNylasCancelledEventCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
837
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
838
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
839
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
840
|
+
removeEventListener<K extends keyof HTMLNylasCancelledEventCardElementEventMap>(type: K, listener: (this: HTMLNylasCancelledEventCardElement, ev: NylasCancelledEventCardCustomEvent<HTMLNylasCancelledEventCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
841
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
842
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
843
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
844
|
+
}
|
|
845
|
+
var HTMLNylasCancelledEventCardElement: {
|
|
846
|
+
prototype: HTMLNylasCancelledEventCardElement;
|
|
847
|
+
new (): HTMLNylasCancelledEventCardElement;
|
|
848
|
+
};
|
|
849
|
+
interface HTMLNylasComposerElementEventMap {
|
|
850
|
+
"close": MouseEvent;
|
|
851
|
+
"send": {
|
|
852
|
+
message: Message;
|
|
853
|
+
replyBody: string;
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
interface HTMLNylasComposerElement extends Components.NylasComposer, HTMLStencilElement {
|
|
857
|
+
addEventListener<K extends keyof HTMLNylasComposerElementEventMap>(type: K, listener: (this: HTMLNylasComposerElement, ev: NylasComposerCustomEvent<HTMLNylasComposerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
858
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
859
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
860
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
861
|
+
removeEventListener<K extends keyof HTMLNylasComposerElementEventMap>(type: K, listener: (this: HTMLNylasComposerElement, ev: NylasComposerCustomEvent<HTMLNylasComposerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
862
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
863
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
864
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
865
|
+
}
|
|
866
|
+
var HTMLNylasComposerElement: {
|
|
867
|
+
prototype: HTMLNylasComposerElement;
|
|
868
|
+
new (): HTMLNylasComposerElement;
|
|
869
|
+
};
|
|
870
|
+
interface HTMLNylasDatePickerElementEventMap {
|
|
871
|
+
"dateSelected": Date;
|
|
872
|
+
"monthChanged": Date;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* The date picker component.
|
|
876
|
+
*/
|
|
877
|
+
interface HTMLNylasDatePickerElement extends Components.NylasDatePicker, HTMLStencilElement {
|
|
878
|
+
addEventListener<K extends keyof HTMLNylasDatePickerElementEventMap>(type: K, listener: (this: HTMLNylasDatePickerElement, ev: NylasDatePickerCustomEvent<HTMLNylasDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
879
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
880
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
881
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
882
|
+
removeEventListener<K extends keyof HTMLNylasDatePickerElementEventMap>(type: K, listener: (this: HTMLNylasDatePickerElement, ev: NylasDatePickerCustomEvent<HTMLNylasDatePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
883
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
884
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
885
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
886
|
+
}
|
|
887
|
+
var HTMLNylasDatePickerElement: {
|
|
888
|
+
prototype: HTMLNylasDatePickerElement;
|
|
889
|
+
new (): HTMLNylasDatePickerElement;
|
|
890
|
+
};
|
|
891
|
+
interface HTMLNylasIfStateElement extends Components.NylasIfState, HTMLStencilElement {
|
|
892
|
+
}
|
|
893
|
+
var HTMLNylasIfStateElement: {
|
|
894
|
+
prototype: HTMLNylasIfStateElement;
|
|
895
|
+
new (): HTMLNylasIfStateElement;
|
|
896
|
+
};
|
|
897
|
+
interface HTMLNylasListFoldersElementEventMap {
|
|
898
|
+
"folderSelected": Folder;
|
|
899
|
+
}
|
|
900
|
+
interface HTMLNylasListFoldersElement extends Components.NylasListFolders, HTMLStencilElement {
|
|
901
|
+
addEventListener<K extends keyof HTMLNylasListFoldersElementEventMap>(type: K, listener: (this: HTMLNylasListFoldersElement, ev: NylasListFoldersCustomEvent<HTMLNylasListFoldersElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
902
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
903
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
904
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
905
|
+
removeEventListener<K extends keyof HTMLNylasListFoldersElementEventMap>(type: K, listener: (this: HTMLNylasListFoldersElement, ev: NylasListFoldersCustomEvent<HTMLNylasListFoldersElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
906
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
907
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
908
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
909
|
+
}
|
|
910
|
+
var HTMLNylasListFoldersElement: {
|
|
911
|
+
prototype: HTMLNylasListFoldersElement;
|
|
912
|
+
new (): HTMLNylasListFoldersElement;
|
|
913
|
+
};
|
|
914
|
+
interface HTMLNylasListThreadsElementEventMap {
|
|
915
|
+
"threadSelected": Thread;
|
|
916
|
+
}
|
|
917
|
+
interface HTMLNylasListThreadsElement extends Components.NylasListThreads, HTMLStencilElement {
|
|
918
|
+
addEventListener<K extends keyof HTMLNylasListThreadsElementEventMap>(type: K, listener: (this: HTMLNylasListThreadsElement, ev: NylasListThreadsCustomEvent<HTMLNylasListThreadsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
919
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
920
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
921
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
922
|
+
removeEventListener<K extends keyof HTMLNylasListThreadsElementEventMap>(type: K, listener: (this: HTMLNylasListThreadsElement, ev: NylasListThreadsCustomEvent<HTMLNylasListThreadsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
923
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
924
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
925
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
926
|
+
}
|
|
927
|
+
var HTMLNylasListThreadsElement: {
|
|
928
|
+
prototype: HTMLNylasListThreadsElement;
|
|
929
|
+
new (): HTMLNylasListThreadsElement;
|
|
930
|
+
};
|
|
931
|
+
interface HTMLNylasLocaleSwitchElementEventMap {
|
|
932
|
+
"timezoneChanged": string;
|
|
933
|
+
"languageChanged": string;
|
|
934
|
+
}
|
|
935
|
+
interface HTMLNylasLocaleSwitchElement extends Components.NylasLocaleSwitch, HTMLStencilElement {
|
|
936
|
+
addEventListener<K extends keyof HTMLNylasLocaleSwitchElementEventMap>(type: K, listener: (this: HTMLNylasLocaleSwitchElement, ev: NylasLocaleSwitchCustomEvent<HTMLNylasLocaleSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
937
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
938
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
939
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
940
|
+
removeEventListener<K extends keyof HTMLNylasLocaleSwitchElementEventMap>(type: K, listener: (this: HTMLNylasLocaleSwitchElement, ev: NylasLocaleSwitchCustomEvent<HTMLNylasLocaleSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
941
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
942
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
943
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
944
|
+
}
|
|
945
|
+
var HTMLNylasLocaleSwitchElement: {
|
|
946
|
+
prototype: HTMLNylasLocaleSwitchElement;
|
|
947
|
+
new (): HTMLNylasLocaleSwitchElement;
|
|
948
|
+
};
|
|
949
|
+
interface HTMLNylasLoginElementEventMap {
|
|
950
|
+
"buttonClick": { url?: string };
|
|
951
|
+
}
|
|
952
|
+
interface HTMLNylasLoginElement extends Components.NylasLogin, HTMLStencilElement {
|
|
953
|
+
addEventListener<K extends keyof HTMLNylasLoginElementEventMap>(type: K, listener: (this: HTMLNylasLoginElement, ev: NylasLoginCustomEvent<HTMLNylasLoginElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
954
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
955
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
956
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
957
|
+
removeEventListener<K extends keyof HTMLNylasLoginElementEventMap>(type: K, listener: (this: HTMLNylasLoginElement, ev: NylasLoginCustomEvent<HTMLNylasLoginElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
958
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
959
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
960
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
961
|
+
}
|
|
962
|
+
var HTMLNylasLoginElement: {
|
|
963
|
+
prototype: HTMLNylasLoginElement;
|
|
964
|
+
new (): HTMLNylasLoginElement;
|
|
965
|
+
};
|
|
966
|
+
interface HTMLNylasLogoElement extends Components.NylasLogo, HTMLStencilElement {
|
|
967
|
+
}
|
|
968
|
+
var HTMLNylasLogoElement: {
|
|
969
|
+
prototype: HTMLNylasLogoElement;
|
|
970
|
+
new (): HTMLNylasLogoElement;
|
|
971
|
+
};
|
|
972
|
+
interface HTMLNylasMailboxElementEventMap {
|
|
973
|
+
"init": HTMLNylasMailboxElement;
|
|
974
|
+
"loggedIn": HTMLNylasMailboxElement;
|
|
975
|
+
"loggedOut": HTMLNylasMailboxElement;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* The Nylas Mailbox component.
|
|
979
|
+
* This component is used as a provider for all other Nylas Mailbox components.
|
|
980
|
+
* It is responsible for managing the NylasAuth and NylasMailboxConnector instances.
|
|
981
|
+
* It also manages the state of the NylasAuth and NylasMailboxStore instances.
|
|
982
|
+
* @example <nylas-mailbox
|
|
983
|
+
* auth-config={{
|
|
984
|
+
* clientId: 'YOUR_CLIENT_ID',
|
|
985
|
+
* }}
|
|
986
|
+
* default-auth-store-state={{
|
|
987
|
+
* threadQueryParams: {
|
|
988
|
+
* limit: 10,
|
|
989
|
+
* }}
|
|
990
|
+
* >
|
|
991
|
+
* <nylas-mailbox-thread-list></nylas-mailbox-thread-list>
|
|
992
|
+
* </nylas-mailbox>
|
|
993
|
+
*/
|
|
994
|
+
interface HTMLNylasMailboxElement extends Components.NylasMailbox, HTMLStencilElement {
|
|
995
|
+
addEventListener<K extends keyof HTMLNylasMailboxElementEventMap>(type: K, listener: (this: HTMLNylasMailboxElement, ev: NylasMailboxCustomEvent<HTMLNylasMailboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
996
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
997
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
998
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
999
|
+
removeEventListener<K extends keyof HTMLNylasMailboxElementEventMap>(type: K, listener: (this: HTMLNylasMailboxElement, ev: NylasMailboxCustomEvent<HTMLNylasMailboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1000
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1001
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1002
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1003
|
+
}
|
|
1004
|
+
var HTMLNylasMailboxElement: {
|
|
1005
|
+
prototype: HTMLNylasMailboxElement;
|
|
1006
|
+
new (): HTMLNylasMailboxElement;
|
|
1007
|
+
};
|
|
1008
|
+
interface HTMLNylasMailboxPaginationElementEventMap {
|
|
1009
|
+
"next": PaginationEvent;
|
|
1010
|
+
"previous": PaginationEvent;
|
|
1011
|
+
}
|
|
1012
|
+
interface HTMLNylasMailboxPaginationElement extends Components.NylasMailboxPagination, HTMLStencilElement {
|
|
1013
|
+
addEventListener<K extends keyof HTMLNylasMailboxPaginationElementEventMap>(type: K, listener: (this: HTMLNylasMailboxPaginationElement, ev: NylasMailboxPaginationCustomEvent<HTMLNylasMailboxPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1014
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1015
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1016
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1017
|
+
removeEventListener<K extends keyof HTMLNylasMailboxPaginationElementEventMap>(type: K, listener: (this: HTMLNylasMailboxPaginationElement, ev: NylasMailboxPaginationCustomEvent<HTMLNylasMailboxPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1018
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1019
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1020
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1021
|
+
}
|
|
1022
|
+
var HTMLNylasMailboxPaginationElement: {
|
|
1023
|
+
prototype: HTMLNylasMailboxPaginationElement;
|
|
1024
|
+
new (): HTMLNylasMailboxPaginationElement;
|
|
1025
|
+
};
|
|
1026
|
+
interface HTMLNylasMailboxToolbarButtonElement extends Components.NylasMailboxToolbarButton, HTMLStencilElement {
|
|
1027
|
+
}
|
|
1028
|
+
var HTMLNylasMailboxToolbarButtonElement: {
|
|
1029
|
+
prototype: HTMLNylasMailboxToolbarButtonElement;
|
|
1030
|
+
new (): HTMLNylasMailboxToolbarButtonElement;
|
|
1031
|
+
};
|
|
1032
|
+
interface HTMLNylasNotificationElement extends Components.NylasNotification, HTMLStencilElement {
|
|
1033
|
+
}
|
|
1034
|
+
var HTMLNylasNotificationElement: {
|
|
1035
|
+
prototype: HTMLNylasNotificationElement;
|
|
1036
|
+
new (): HTMLNylasNotificationElement;
|
|
1037
|
+
};
|
|
1038
|
+
interface HTMLNylasOpenHoursPickerElementEventMap {
|
|
1039
|
+
"openHoursChanged": OpenHour[];
|
|
1040
|
+
}
|
|
1041
|
+
interface HTMLNylasOpenHoursPickerElement extends Components.NylasOpenHoursPicker, HTMLStencilElement {
|
|
1042
|
+
addEventListener<K extends keyof HTMLNylasOpenHoursPickerElementEventMap>(type: K, listener: (this: HTMLNylasOpenHoursPickerElement, ev: NylasOpenHoursPickerCustomEvent<HTMLNylasOpenHoursPickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1043
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1044
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1045
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1046
|
+
removeEventListener<K extends keyof HTMLNylasOpenHoursPickerElementEventMap>(type: K, listener: (this: HTMLNylasOpenHoursPickerElement, ev: NylasOpenHoursPickerCustomEvent<HTMLNylasOpenHoursPickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1047
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1048
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1049
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1050
|
+
}
|
|
1051
|
+
var HTMLNylasOpenHoursPickerElement: {
|
|
1052
|
+
prototype: HTMLNylasOpenHoursPickerElement;
|
|
1053
|
+
new (): HTMLNylasOpenHoursPickerElement;
|
|
1054
|
+
};
|
|
1055
|
+
interface HTMLNylasProviderElementEventMap {
|
|
1056
|
+
"init": HTMLNylasProviderElement;
|
|
1057
|
+
"loggedIn": HTMLNylasProviderElement;
|
|
1058
|
+
"loggedOut": HTMLNylasProviderElement;
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* The Nylas Provider component.
|
|
1062
|
+
* This component is used to manage the Nylas Provider.
|
|
1063
|
+
* It is used to manage the Nylas Auth instance, the Nylas Connector instance,
|
|
1064
|
+
* and the Nylas Store instance.
|
|
1065
|
+
*/
|
|
1066
|
+
interface HTMLNylasProviderElement extends Components.NylasProvider, HTMLStencilElement {
|
|
1067
|
+
addEventListener<K extends keyof HTMLNylasProviderElementEventMap>(type: K, listener: (this: HTMLNylasProviderElement, ev: NylasProviderCustomEvent<HTMLNylasProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1068
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1069
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1070
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1071
|
+
removeEventListener<K extends keyof HTMLNylasProviderElementEventMap>(type: K, listener: (this: HTMLNylasProviderElement, ev: NylasProviderCustomEvent<HTMLNylasProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1072
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1073
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1074
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1075
|
+
}
|
|
1076
|
+
var HTMLNylasProviderElement: {
|
|
1077
|
+
prototype: HTMLNylasProviderElement;
|
|
1078
|
+
new (): HTMLNylasProviderElement;
|
|
1079
|
+
};
|
|
1080
|
+
interface HTMLNylasSchedulerElementEventMap {
|
|
1081
|
+
"init": HTMLNylasSchedulerElement;
|
|
1082
|
+
"nylasSchedulerError": Notification;
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* The Nylas Scheduler component is used to show the Nylas Scheduler UI.
|
|
1086
|
+
*/
|
|
1087
|
+
interface HTMLNylasSchedulerElement extends Components.NylasScheduler, HTMLStencilElement {
|
|
1088
|
+
addEventListener<K extends keyof HTMLNylasSchedulerElementEventMap>(type: K, listener: (this: HTMLNylasSchedulerElement, ev: NylasSchedulerCustomEvent<HTMLNylasSchedulerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1089
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1090
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1091
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1092
|
+
removeEventListener<K extends keyof HTMLNylasSchedulerElementEventMap>(type: K, listener: (this: HTMLNylasSchedulerElement, ev: NylasSchedulerCustomEvent<HTMLNylasSchedulerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1093
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1094
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1095
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1096
|
+
}
|
|
1097
|
+
var HTMLNylasSchedulerElement: {
|
|
1098
|
+
prototype: HTMLNylasSchedulerElement;
|
|
1099
|
+
new (): HTMLNylasSchedulerElement;
|
|
1100
|
+
};
|
|
1101
|
+
/**
|
|
1102
|
+
* The selected event card component.
|
|
1103
|
+
*/
|
|
1104
|
+
interface HTMLNylasSelectedEventCardElement extends Components.NylasSelectedEventCard, HTMLStencilElement {
|
|
1105
|
+
}
|
|
1106
|
+
var HTMLNylasSelectedEventCardElement: {
|
|
1107
|
+
prototype: HTMLNylasSelectedEventCardElement;
|
|
1108
|
+
new (): HTMLNylasSelectedEventCardElement;
|
|
1109
|
+
};
|
|
1110
|
+
interface HTMLNylasSummarizeMessageButtonElementEventMap {
|
|
1111
|
+
"summarize": SummarizeEvent;
|
|
1112
|
+
}
|
|
1113
|
+
interface HTMLNylasSummarizeMessageButtonElement extends Components.NylasSummarizeMessageButton, HTMLStencilElement {
|
|
1114
|
+
addEventListener<K extends keyof HTMLNylasSummarizeMessageButtonElementEventMap>(type: K, listener: (this: HTMLNylasSummarizeMessageButtonElement, ev: NylasSummarizeMessageButtonCustomEvent<HTMLNylasSummarizeMessageButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1115
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1116
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1117
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1118
|
+
removeEventListener<K extends keyof HTMLNylasSummarizeMessageButtonElementEventMap>(type: K, listener: (this: HTMLNylasSummarizeMessageButtonElement, ev: NylasSummarizeMessageButtonCustomEvent<HTMLNylasSummarizeMessageButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1119
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1120
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1121
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1122
|
+
}
|
|
1123
|
+
var HTMLNylasSummarizeMessageButtonElement: {
|
|
1124
|
+
prototype: HTMLNylasSummarizeMessageButtonElement;
|
|
1125
|
+
new (): HTMLNylasSummarizeMessageButtonElement;
|
|
1126
|
+
};
|
|
1127
|
+
interface HTMLNylasThreadsRefreshElementEventMap {
|
|
1128
|
+
"refresh": RefreshEvent;
|
|
1129
|
+
}
|
|
1130
|
+
interface HTMLNylasThreadsRefreshElement extends Components.NylasThreadsRefresh, HTMLStencilElement {
|
|
1131
|
+
addEventListener<K extends keyof HTMLNylasThreadsRefreshElementEventMap>(type: K, listener: (this: HTMLNylasThreadsRefreshElement, ev: NylasThreadsRefreshCustomEvent<HTMLNylasThreadsRefreshElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1132
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1133
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1134
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1135
|
+
removeEventListener<K extends keyof HTMLNylasThreadsRefreshElementEventMap>(type: K, listener: (this: HTMLNylasThreadsRefreshElement, ev: NylasThreadsRefreshCustomEvent<HTMLNylasThreadsRefreshElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1136
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1137
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1138
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1139
|
+
}
|
|
1140
|
+
var HTMLNylasThreadsRefreshElement: {
|
|
1141
|
+
prototype: HTMLNylasThreadsRefreshElement;
|
|
1142
|
+
new (): HTMLNylasThreadsRefreshElement;
|
|
1143
|
+
};
|
|
1144
|
+
interface HTMLNylasThreadsSearchElementEventMap {
|
|
1145
|
+
"search": string;
|
|
1146
|
+
}
|
|
1147
|
+
interface HTMLNylasThreadsSearchElement extends Components.NylasThreadsSearch, HTMLStencilElement {
|
|
1148
|
+
addEventListener<K extends keyof HTMLNylasThreadsSearchElementEventMap>(type: K, listener: (this: HTMLNylasThreadsSearchElement, ev: NylasThreadsSearchCustomEvent<HTMLNylasThreadsSearchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1149
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1150
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1151
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1152
|
+
removeEventListener<K extends keyof HTMLNylasThreadsSearchElementEventMap>(type: K, listener: (this: HTMLNylasThreadsSearchElement, ev: NylasThreadsSearchCustomEvent<HTMLNylasThreadsSearchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1153
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1154
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1155
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1156
|
+
}
|
|
1157
|
+
var HTMLNylasThreadsSearchElement: {
|
|
1158
|
+
prototype: HTMLNylasThreadsSearchElement;
|
|
1159
|
+
new (): HTMLNylasThreadsSearchElement;
|
|
1160
|
+
};
|
|
1161
|
+
interface HTMLNylasTimeslotPickerElementEventMap {
|
|
1162
|
+
"timeslotSelected": Timeslot;
|
|
1163
|
+
"timeslotConfirmed": Timeslot;
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* The timeslot picker component.
|
|
1167
|
+
*/
|
|
1168
|
+
interface HTMLNylasTimeslotPickerElement extends Components.NylasTimeslotPicker, HTMLStencilElement {
|
|
1169
|
+
addEventListener<K extends keyof HTMLNylasTimeslotPickerElementEventMap>(type: K, listener: (this: HTMLNylasTimeslotPickerElement, ev: NylasTimeslotPickerCustomEvent<HTMLNylasTimeslotPickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1170
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1171
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1172
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1173
|
+
removeEventListener<K extends keyof HTMLNylasTimeslotPickerElementEventMap>(type: K, listener: (this: HTMLNylasTimeslotPickerElement, ev: NylasTimeslotPickerCustomEvent<HTMLNylasTimeslotPickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1174
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1175
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1176
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1177
|
+
}
|
|
1178
|
+
var HTMLNylasTimeslotPickerElement: {
|
|
1179
|
+
prototype: HTMLNylasTimeslotPickerElement;
|
|
1180
|
+
new (): HTMLNylasTimeslotPickerElement;
|
|
1181
|
+
};
|
|
1182
|
+
interface HTMLNylasViewEmailElement extends Components.NylasViewEmail, HTMLStencilElement {
|
|
1183
|
+
}
|
|
1184
|
+
var HTMLNylasViewEmailElement: {
|
|
1185
|
+
prototype: HTMLNylasViewEmailElement;
|
|
1186
|
+
new (): HTMLNylasViewEmailElement;
|
|
1187
|
+
};
|
|
1188
|
+
interface HTMLNylasViewThreadElementEventMap {
|
|
1189
|
+
"threadSelected": Thread;
|
|
1190
|
+
"showContactDataClicked": Message;
|
|
1191
|
+
"messageClicked": Message;
|
|
1192
|
+
}
|
|
1193
|
+
interface HTMLNylasViewThreadElement extends Components.NylasViewThread, HTMLStencilElement {
|
|
1194
|
+
addEventListener<K extends keyof HTMLNylasViewThreadElementEventMap>(type: K, listener: (this: HTMLNylasViewThreadElement, ev: NylasViewThreadCustomEvent<HTMLNylasViewThreadElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1195
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1196
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1197
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1198
|
+
removeEventListener<K extends keyof HTMLNylasViewThreadElementEventMap>(type: K, listener: (this: HTMLNylasViewThreadElement, ev: NylasViewThreadCustomEvent<HTMLNylasViewThreadElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1199
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1200
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1201
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1202
|
+
}
|
|
1203
|
+
var HTMLNylasViewThreadElement: {
|
|
1204
|
+
prototype: HTMLNylasViewThreadElement;
|
|
1205
|
+
new (): HTMLNylasViewThreadElement;
|
|
1206
|
+
};
|
|
1207
|
+
interface HTMLPeopleIconElement extends Components.PeopleIcon, HTMLStencilElement {
|
|
1208
|
+
}
|
|
1209
|
+
var HTMLPeopleIconElement: {
|
|
1210
|
+
prototype: HTMLPeopleIconElement;
|
|
1211
|
+
new (): HTMLPeopleIconElement;
|
|
1212
|
+
};
|
|
1213
|
+
interface HTMLPlayIconElement extends Components.PlayIcon, HTMLStencilElement {
|
|
1214
|
+
}
|
|
1215
|
+
var HTMLPlayIconElement: {
|
|
1216
|
+
prototype: HTMLPlayIconElement;
|
|
1217
|
+
new (): HTMLPlayIconElement;
|
|
1218
|
+
};
|
|
1219
|
+
interface HTMLRefreshIconElement extends Components.RefreshIcon, HTMLStencilElement {
|
|
1220
|
+
}
|
|
1221
|
+
var HTMLRefreshIconElement: {
|
|
1222
|
+
prototype: HTMLRefreshIconElement;
|
|
1223
|
+
new (): HTMLRefreshIconElement;
|
|
1224
|
+
};
|
|
1225
|
+
interface HTMLReplyAllIconElement extends Components.ReplyAllIcon, HTMLStencilElement {
|
|
1226
|
+
}
|
|
1227
|
+
var HTMLReplyAllIconElement: {
|
|
1228
|
+
prototype: HTMLReplyAllIconElement;
|
|
1229
|
+
new (): HTMLReplyAllIconElement;
|
|
1230
|
+
};
|
|
1231
|
+
interface HTMLReplyIconElement extends Components.ReplyIcon, HTMLStencilElement {
|
|
1232
|
+
}
|
|
1233
|
+
var HTMLReplyIconElement: {
|
|
1234
|
+
prototype: HTMLReplyIconElement;
|
|
1235
|
+
new (): HTMLReplyIconElement;
|
|
1236
|
+
};
|
|
1237
|
+
interface HTMLSentIconElement extends Components.SentIcon, HTMLStencilElement {
|
|
1238
|
+
}
|
|
1239
|
+
var HTMLSentIconElement: {
|
|
1240
|
+
prototype: HTMLSentIconElement;
|
|
1241
|
+
new (): HTMLSentIconElement;
|
|
1242
|
+
};
|
|
1243
|
+
interface HTMLSpamIconElement extends Components.SpamIcon, HTMLStencilElement {
|
|
1244
|
+
}
|
|
1245
|
+
var HTMLSpamIconElement: {
|
|
1246
|
+
prototype: HTMLSpamIconElement;
|
|
1247
|
+
new (): HTMLSpamIconElement;
|
|
1248
|
+
};
|
|
1249
|
+
interface HTMLStarIconElement extends Components.StarIcon, HTMLStencilElement {
|
|
1250
|
+
}
|
|
1251
|
+
var HTMLStarIconElement: {
|
|
1252
|
+
prototype: HTMLStarIconElement;
|
|
1253
|
+
new (): HTMLStarIconElement;
|
|
1254
|
+
};
|
|
1255
|
+
interface HTMLStopIconElement extends Components.StopIcon, HTMLStencilElement {
|
|
1256
|
+
}
|
|
1257
|
+
var HTMLStopIconElement: {
|
|
1258
|
+
prototype: HTMLStopIconElement;
|
|
1259
|
+
new (): HTMLStopIconElement;
|
|
1260
|
+
};
|
|
1261
|
+
interface HTMLTranslateIconElement extends Components.TranslateIcon, HTMLStencilElement {
|
|
1262
|
+
}
|
|
1263
|
+
var HTMLTranslateIconElement: {
|
|
1264
|
+
prototype: HTMLTranslateIconElement;
|
|
1265
|
+
new (): HTMLTranslateIconElement;
|
|
1266
|
+
};
|
|
1267
|
+
interface HTMLTrashIconElement extends Components.TrashIcon, HTMLStencilElement {
|
|
1268
|
+
}
|
|
1269
|
+
var HTMLTrashIconElement: {
|
|
1270
|
+
prototype: HTMLTrashIconElement;
|
|
1271
|
+
new (): HTMLTrashIconElement;
|
|
1272
|
+
};
|
|
1273
|
+
interface HTMLUnderlineIconElement extends Components.UnderlineIcon, HTMLStencilElement {
|
|
1274
|
+
}
|
|
1275
|
+
var HTMLUnderlineIconElement: {
|
|
1276
|
+
prototype: HTMLUnderlineIconElement;
|
|
1277
|
+
new (): HTMLUnderlineIconElement;
|
|
1278
|
+
};
|
|
1279
|
+
interface HTMLWarningIconElement extends Components.WarningIcon, HTMLStencilElement {
|
|
1280
|
+
}
|
|
1281
|
+
var HTMLWarningIconElement: {
|
|
1282
|
+
prototype: HTMLWarningIconElement;
|
|
1283
|
+
new (): HTMLWarningIconElement;
|
|
1284
|
+
};
|
|
1285
|
+
interface HTMLElementTagNameMap {
|
|
1286
|
+
"archive-icon": HTMLArchiveIconElement;
|
|
1287
|
+
"arrow-icon": HTMLArrowIconElement;
|
|
1288
|
+
"bold-icon": HTMLBoldIconElement;
|
|
1289
|
+
"calendar-cancel-icon": HTMLCalendarCancelIconElement;
|
|
1290
|
+
"calendar-check-icon": HTMLCalendarCheckIconElement;
|
|
1291
|
+
"calendar-icon": HTMLCalendarIconElement;
|
|
1292
|
+
"checkmark-circle-icon": HTMLCheckmarkCircleIconElement;
|
|
1293
|
+
"chevron-icon": HTMLChevronIconElement;
|
|
1294
|
+
"close-icon": HTMLCloseIconElement;
|
|
1295
|
+
"document-refresh-icon": HTMLDocumentRefreshIconElement;
|
|
1296
|
+
"folder-icon": HTMLFolderIconElement;
|
|
1297
|
+
"forward-icon": HTMLForwardIconElement;
|
|
1298
|
+
"globe-icon": HTMLGlobeIconElement;
|
|
1299
|
+
"inbox-icon": HTMLInboxIconElement;
|
|
1300
|
+
"italic-icon": HTMLItalicIconElement;
|
|
1301
|
+
"loading-icon": HTMLLoadingIconElement;
|
|
1302
|
+
"nylas-booked-event-card": HTMLNylasBookedEventCardElement;
|
|
1303
|
+
"nylas-booking-form": HTMLNylasBookingFormElement;
|
|
1304
|
+
"nylas-cancelled-event-card": HTMLNylasCancelledEventCardElement;
|
|
1305
|
+
"nylas-composer": HTMLNylasComposerElement;
|
|
1306
|
+
"nylas-date-picker": HTMLNylasDatePickerElement;
|
|
1307
|
+
"nylas-if-state": HTMLNylasIfStateElement;
|
|
1308
|
+
"nylas-list-folders": HTMLNylasListFoldersElement;
|
|
1309
|
+
"nylas-list-threads": HTMLNylasListThreadsElement;
|
|
1310
|
+
"nylas-locale-switch": HTMLNylasLocaleSwitchElement;
|
|
1311
|
+
"nylas-login": HTMLNylasLoginElement;
|
|
1312
|
+
"nylas-logo": HTMLNylasLogoElement;
|
|
1313
|
+
"nylas-mailbox": HTMLNylasMailboxElement;
|
|
1314
|
+
"nylas-mailbox-pagination": HTMLNylasMailboxPaginationElement;
|
|
1315
|
+
"nylas-mailbox-toolbar-button": HTMLNylasMailboxToolbarButtonElement;
|
|
1316
|
+
"nylas-notification": HTMLNylasNotificationElement;
|
|
1317
|
+
"nylas-open-hours-picker": HTMLNylasOpenHoursPickerElement;
|
|
1318
|
+
"nylas-provider": HTMLNylasProviderElement;
|
|
1319
|
+
"nylas-scheduler": HTMLNylasSchedulerElement;
|
|
1320
|
+
"nylas-selected-event-card": HTMLNylasSelectedEventCardElement;
|
|
1321
|
+
"nylas-summarize-message-button": HTMLNylasSummarizeMessageButtonElement;
|
|
1322
|
+
"nylas-threads-refresh": HTMLNylasThreadsRefreshElement;
|
|
1323
|
+
"nylas-threads-search": HTMLNylasThreadsSearchElement;
|
|
1324
|
+
"nylas-timeslot-picker": HTMLNylasTimeslotPickerElement;
|
|
1325
|
+
"nylas-view-email": HTMLNylasViewEmailElement;
|
|
1326
|
+
"nylas-view-thread": HTMLNylasViewThreadElement;
|
|
1327
|
+
"people-icon": HTMLPeopleIconElement;
|
|
1328
|
+
"play-icon": HTMLPlayIconElement;
|
|
1329
|
+
"refresh-icon": HTMLRefreshIconElement;
|
|
1330
|
+
"reply-all-icon": HTMLReplyAllIconElement;
|
|
1331
|
+
"reply-icon": HTMLReplyIconElement;
|
|
1332
|
+
"sent-icon": HTMLSentIconElement;
|
|
1333
|
+
"spam-icon": HTMLSpamIconElement;
|
|
1334
|
+
"star-icon": HTMLStarIconElement;
|
|
1335
|
+
"stop-icon": HTMLStopIconElement;
|
|
1336
|
+
"translate-icon": HTMLTranslateIconElement;
|
|
1337
|
+
"trash-icon": HTMLTrashIconElement;
|
|
1338
|
+
"underline-icon": HTMLUnderlineIconElement;
|
|
1339
|
+
"warning-icon": HTMLWarningIconElement;
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
declare namespace LocalJSX {
|
|
1343
|
+
interface ArchiveIcon {
|
|
1344
|
+
"height"?: string;
|
|
1345
|
+
"width"?: string;
|
|
1346
|
+
}
|
|
1347
|
+
interface ArrowIcon {
|
|
1348
|
+
"height"?: string;
|
|
1349
|
+
"width"?: string;
|
|
1350
|
+
}
|
|
1351
|
+
interface BoldIcon {
|
|
1352
|
+
"height"?: string;
|
|
1353
|
+
"width"?: string;
|
|
1354
|
+
}
|
|
1355
|
+
interface CalendarCancelIcon {
|
|
1356
|
+
"height"?: string;
|
|
1357
|
+
"width"?: string;
|
|
1358
|
+
}
|
|
1359
|
+
interface CalendarCheckIcon {
|
|
1360
|
+
"height"?: string;
|
|
1361
|
+
"width"?: string;
|
|
1362
|
+
}
|
|
1363
|
+
interface CalendarIcon {
|
|
1364
|
+
"height"?: string;
|
|
1365
|
+
"width"?: string;
|
|
1366
|
+
}
|
|
1367
|
+
interface CheckmarkCircleIcon {
|
|
1368
|
+
"height"?: string;
|
|
1369
|
+
"width"?: string;
|
|
1370
|
+
}
|
|
1371
|
+
interface ChevronIcon {
|
|
1372
|
+
"height"?: string;
|
|
1373
|
+
"width"?: string;
|
|
1374
|
+
}
|
|
1375
|
+
interface CloseIcon {
|
|
1376
|
+
"height"?: string;
|
|
1377
|
+
"width"?: string;
|
|
1378
|
+
}
|
|
1379
|
+
interface DocumentRefreshIcon {
|
|
1380
|
+
"height"?: string;
|
|
1381
|
+
"width"?: string;
|
|
1382
|
+
}
|
|
1383
|
+
interface FolderIcon {
|
|
1384
|
+
"height"?: string;
|
|
1385
|
+
"width"?: string;
|
|
1386
|
+
}
|
|
1387
|
+
interface ForwardIcon {
|
|
1388
|
+
"height"?: string;
|
|
1389
|
+
"width"?: string;
|
|
1390
|
+
}
|
|
1391
|
+
interface GlobeIcon {
|
|
1392
|
+
"height"?: string;
|
|
1393
|
+
"width"?: string;
|
|
1394
|
+
}
|
|
1395
|
+
interface InboxIcon {
|
|
1396
|
+
"height"?: string;
|
|
1397
|
+
"width"?: string;
|
|
1398
|
+
}
|
|
1399
|
+
interface ItalicIcon {
|
|
1400
|
+
"height"?: string;
|
|
1401
|
+
"width"?: string;
|
|
1402
|
+
}
|
|
1403
|
+
interface LoadingIcon {
|
|
1404
|
+
"height"?: string;
|
|
1405
|
+
"width"?: string;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* The booked event card component.
|
|
1409
|
+
*/
|
|
1410
|
+
interface NylasBookedEventCard {
|
|
1411
|
+
/**
|
|
1412
|
+
* Booking flow type.
|
|
1413
|
+
*/
|
|
1414
|
+
"bookingFlow"?: 'booking' | 'rescheduling';
|
|
1415
|
+
/**
|
|
1416
|
+
* The booking info used to book / reschedule the event.
|
|
1417
|
+
*/
|
|
1418
|
+
"bookingInfo"?: NylasSchedulerBookingData;
|
|
1419
|
+
/**
|
|
1420
|
+
* The booked event.
|
|
1421
|
+
*/
|
|
1422
|
+
"eventInfo": NylasEvent;
|
|
1423
|
+
/**
|
|
1424
|
+
* Cancel booking button clicked event.
|
|
1425
|
+
*/
|
|
1426
|
+
"onCancelBookingButtonClicked"?: (event: NylasBookedEventCardCustomEvent<{ bookingId: string }>) => void;
|
|
1427
|
+
/**
|
|
1428
|
+
* Reschedule button clicked event.
|
|
1429
|
+
*/
|
|
1430
|
+
"onRescheduleButtonClicked"?: (event: NylasBookedEventCardCustomEvent<{ bookingId: string }>) => void;
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* The booking form component.
|
|
1434
|
+
*/
|
|
1435
|
+
interface NylasBookingForm {
|
|
1436
|
+
"bookedEventError"?: NylasErrorResponse;
|
|
1437
|
+
"bookedEventLoading"?: boolean;
|
|
1438
|
+
/**
|
|
1439
|
+
* The booking info.
|
|
1440
|
+
*/
|
|
1441
|
+
"bookingInfo"?: NylasSchedulerBookingData;
|
|
1442
|
+
/**
|
|
1443
|
+
* The booked event (Used to track if a booking is created in an eventOverride).
|
|
1444
|
+
*/
|
|
1445
|
+
"eventInfo"?: NylasEvent1;
|
|
1446
|
+
/**
|
|
1447
|
+
* This event is fired when the cancel button is clicked.
|
|
1448
|
+
*/
|
|
1449
|
+
"onBackButtonClicked"?: (event: NylasBookingFormCustomEvent<boolean>) => void;
|
|
1450
|
+
/**
|
|
1451
|
+
* This event is fired when the book button is clicked.
|
|
1452
|
+
*/
|
|
1453
|
+
"onDetailsConfirmed"?: (event: NylasBookingFormCustomEvent<NylasSchedulerBookingData>) => void;
|
|
1454
|
+
/**
|
|
1455
|
+
* This event is fired when the email is changed.
|
|
1456
|
+
*/
|
|
1457
|
+
"onEmailChanged"?: (event: NylasBookingFormCustomEvent<string>) => void;
|
|
1458
|
+
/**
|
|
1459
|
+
* This event is fired when the name is changed.
|
|
1460
|
+
*/
|
|
1461
|
+
"onNameChanged"?: (event: NylasBookingFormCustomEvent<string>) => void;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* The cancelled event card component.
|
|
1465
|
+
*/
|
|
1466
|
+
interface NylasCancelledEventCard {
|
|
1467
|
+
/**
|
|
1468
|
+
* The participant's name who booked the event / is logged in.
|
|
1469
|
+
*/
|
|
1470
|
+
"cancelledEvent": NylasEvent1;
|
|
1471
|
+
/**
|
|
1472
|
+
* This event is fired when the close button is clicked on the cancelled event card.
|
|
1473
|
+
*/
|
|
1474
|
+
"onCloseCancelEventCardClicked"?: (event: NylasCancelledEventCardCustomEvent<void>) => void;
|
|
1475
|
+
}
|
|
1476
|
+
interface NylasComposer {
|
|
1477
|
+
/**
|
|
1478
|
+
* The message to reply to or forward
|
|
1479
|
+
*/
|
|
1480
|
+
"message"?: Message;
|
|
1481
|
+
/**
|
|
1482
|
+
* Fired when the composer is closed
|
|
1483
|
+
*/
|
|
1484
|
+
"onClose"?: (event: NylasComposerCustomEvent<MouseEvent>) => void;
|
|
1485
|
+
/**
|
|
1486
|
+
* Fired when the send button is clicked
|
|
1487
|
+
*/
|
|
1488
|
+
"onSend"?: (event: NylasComposerCustomEvent<{
|
|
1489
|
+
message: Message;
|
|
1490
|
+
replyBody: string;
|
|
1491
|
+
}>) => void;
|
|
1492
|
+
/**
|
|
1493
|
+
* The view email element
|
|
1494
|
+
*/
|
|
1495
|
+
"viewEmailElement"?: HTMLNylasViewEmailElement | null;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* The date picker component.
|
|
1499
|
+
*/
|
|
1500
|
+
interface NylasDatePicker {
|
|
1501
|
+
/**
|
|
1502
|
+
* The loading state.
|
|
1503
|
+
*/
|
|
1504
|
+
"loadingState"?: LoadingState;
|
|
1505
|
+
/**
|
|
1506
|
+
* This event is fired when a date is selected.
|
|
1507
|
+
*/
|
|
1508
|
+
"onDateSelected"?: (event: NylasDatePickerCustomEvent<Date>) => void;
|
|
1509
|
+
/**
|
|
1510
|
+
* This event is fired when the month is changed.
|
|
1511
|
+
*/
|
|
1512
|
+
"onMonthChanged"?: (event: NylasDatePickerCustomEvent<Date>) => void;
|
|
1513
|
+
/**
|
|
1514
|
+
* The dates that are selectable.
|
|
1515
|
+
*/
|
|
1516
|
+
"selectableDates"?: Date[];
|
|
1517
|
+
/**
|
|
1518
|
+
* The selected date.
|
|
1519
|
+
*/
|
|
1520
|
+
"selectedDate"?: Date;
|
|
1521
|
+
}
|
|
1522
|
+
interface NylasIfState {
|
|
1523
|
+
"getStore"?: <K extends keyof Stores>(name: K) => Stores[K];
|
|
1524
|
+
/**
|
|
1525
|
+
* If true, then the component will render if the state is true. This prop is used with the `state` prop.
|
|
1526
|
+
*/
|
|
1527
|
+
"isBoolean"?: boolean;
|
|
1528
|
+
/**
|
|
1529
|
+
* If true, then the component will render if the state is set (empty or not set). This prop is used with the `state` prop.
|
|
1530
|
+
*/
|
|
1531
|
+
"isStateSet"?: boolean;
|
|
1532
|
+
/**
|
|
1533
|
+
* The name of the state to watch.
|
|
1534
|
+
*/
|
|
1535
|
+
"state"?: string;
|
|
1536
|
+
"transition"?: Transitions;
|
|
1537
|
+
}
|
|
1538
|
+
interface NylasListFolders {
|
|
1539
|
+
"folders"?: Folder[];
|
|
1540
|
+
"onFolderSelected"?: (event: NylasListFoldersCustomEvent<Folder>) => void;
|
|
1541
|
+
"selectedFolder"?: string;
|
|
1542
|
+
}
|
|
1543
|
+
interface NylasListThreads {
|
|
1544
|
+
"isAuthenticated"?: boolean;
|
|
1545
|
+
"onThreadSelected"?: (event: NylasListThreadsCustomEvent<Thread>) => void;
|
|
1546
|
+
"showCheckbox"?: boolean;
|
|
1547
|
+
"state"?: DataState;
|
|
1548
|
+
"threads"?: Thread[];
|
|
1549
|
+
"tokenInfo"?: TokenInfo;
|
|
1550
|
+
}
|
|
1551
|
+
interface NylasLocaleSwitch {
|
|
1552
|
+
/**
|
|
1553
|
+
* This event is fired when the language is changed.
|
|
1554
|
+
*/
|
|
1555
|
+
"onLanguageChanged"?: (event: NylasLocaleSwitchCustomEvent<string>) => void;
|
|
1556
|
+
/**
|
|
1557
|
+
* This event is fired when the timezone is changed.
|
|
1558
|
+
*/
|
|
1559
|
+
"onTimezoneChanged"?: (event: NylasLocaleSwitchCustomEvent<string>) => void;
|
|
1560
|
+
/**
|
|
1561
|
+
* The selected language.
|
|
1562
|
+
*/
|
|
1563
|
+
"selectedLanguage"?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* The selected timezone.
|
|
1566
|
+
*/
|
|
1567
|
+
"selectedTimezone"?: string;
|
|
1568
|
+
}
|
|
1569
|
+
interface NylasLogin {
|
|
1570
|
+
"buttonText"?: string;
|
|
1571
|
+
"companyName"?: string;
|
|
1572
|
+
"isAuthenticated"?: boolean;
|
|
1573
|
+
"loginMethod"?: 'redirect' | 'emebded';
|
|
1574
|
+
"logoUrl"?: string;
|
|
1575
|
+
"logoWidth"?: string;
|
|
1576
|
+
"nylasConnector"?: NylasAuthConnectorInterface;
|
|
1577
|
+
"onButtonClick"?: (event: NylasLoginCustomEvent<{ url?: string }>) => void;
|
|
1578
|
+
"providers"?: string;
|
|
1579
|
+
"scopes"?: string[];
|
|
1580
|
+
}
|
|
1581
|
+
interface NylasLogo {
|
|
1582
|
+
"height"?: string;
|
|
1583
|
+
"width"?: string;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* The Nylas Mailbox component.
|
|
1587
|
+
* This component is used as a provider for all other Nylas Mailbox components.
|
|
1588
|
+
* It is responsible for managing the NylasAuth and NylasMailboxConnector instances.
|
|
1589
|
+
* It also manages the state of the NylasAuth and NylasMailboxStore instances.
|
|
1590
|
+
* @example <nylas-mailbox
|
|
1591
|
+
* auth-config={{
|
|
1592
|
+
* clientId: 'YOUR_CLIENT_ID',
|
|
1593
|
+
* }}
|
|
1594
|
+
* default-auth-store-state={{
|
|
1595
|
+
* threadQueryParams: {
|
|
1596
|
+
* limit: 10,
|
|
1597
|
+
* }}
|
|
1598
|
+
* >
|
|
1599
|
+
* <nylas-mailbox-thread-list></nylas-mailbox-thread-list>
|
|
1600
|
+
* </nylas-mailbox>
|
|
1601
|
+
*/
|
|
1602
|
+
interface NylasMailbox {
|
|
1603
|
+
/**
|
|
1604
|
+
* The Nylas Auth configuration. Used to manage all things authentication with Nylas.
|
|
1605
|
+
*/
|
|
1606
|
+
"authConfig"?: AuthConfg;
|
|
1607
|
+
/**
|
|
1608
|
+
* Automatically register components that have the `@RegisterComponent` decorator. If this is set to false, you will need to manually register components using the `registerComponent` method.
|
|
1609
|
+
*/
|
|
1610
|
+
"automaticComponentRegistration"?: boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* The default auth store state. Used to set the initial state of the auth store.
|
|
1613
|
+
*/
|
|
1614
|
+
"defaultAuthStoreState"?: NylasAuthStoreState;
|
|
1615
|
+
/**
|
|
1616
|
+
* The default mailbox store state. Used to set the initial state of the mailbox store.
|
|
1617
|
+
*/
|
|
1618
|
+
"defaultMailboxStoreState"?: NylasMailboxStoreState;
|
|
1619
|
+
/**
|
|
1620
|
+
* This provides a way to override the default event handlers.
|
|
1621
|
+
*/
|
|
1622
|
+
"eventOverrides"?: EventOverride<Exclude<typeof this.nylasMailboxConnector, undefined>>;
|
|
1623
|
+
/**
|
|
1624
|
+
* This event is fired when the provider is initialized. It can be used to set the initial state of the provider, or to prevent the provider from firing some default behavior.
|
|
1625
|
+
*/
|
|
1626
|
+
"onInit"?: (event: NylasMailboxCustomEvent<HTMLNylasMailboxElement>) => void;
|
|
1627
|
+
/**
|
|
1628
|
+
* This event is fired when the the NyalsAuth isAuthenticated state changes to true.
|
|
1629
|
+
*/
|
|
1630
|
+
"onLoggedIn"?: (event: NylasMailboxCustomEvent<HTMLNylasMailboxElement>) => void;
|
|
1631
|
+
/**
|
|
1632
|
+
* This event is fired when the the NyalsAuth isAuthenticated state changes to true.
|
|
1633
|
+
*/
|
|
1634
|
+
"onLoggedOut"?: (event: NylasMailboxCustomEvent<HTMLNylasMailboxElement>) => void;
|
|
1635
|
+
}
|
|
1636
|
+
interface NylasMailboxPagination {
|
|
1637
|
+
/**
|
|
1638
|
+
* @description Whether or not the mailbox has a next or previous page of threads
|
|
1639
|
+
*/
|
|
1640
|
+
"hasNextPage"?: boolean;
|
|
1641
|
+
/**
|
|
1642
|
+
* @description Whether or not the mailbox has a previous page of threads
|
|
1643
|
+
*/
|
|
1644
|
+
"hasPreviousPage"?: boolean;
|
|
1645
|
+
/**
|
|
1646
|
+
* @description Whether or not the infinity scroll should only be enabled on mobile devices
|
|
1647
|
+
*/
|
|
1648
|
+
"mobileOnlyInfiniteScroll"?: boolean;
|
|
1649
|
+
/**
|
|
1650
|
+
* @description The width of the mobile viewport
|
|
1651
|
+
*/
|
|
1652
|
+
"mobileViewPortWidth"?: number;
|
|
1653
|
+
/**
|
|
1654
|
+
* @description An event that is fired when the user scrolls to the bottom of the page
|
|
1655
|
+
*/
|
|
1656
|
+
"onNext"?: (event: NylasMailboxPaginationCustomEvent<PaginationEvent>) => void;
|
|
1657
|
+
/**
|
|
1658
|
+
* @description An event that is fired when the user scrolls to the top of the page
|
|
1659
|
+
*/
|
|
1660
|
+
"onPrevious"?: (event: NylasMailboxPaginationCustomEvent<PaginationEvent>) => void;
|
|
1661
|
+
/**
|
|
1662
|
+
* @description Whether or not the mailbox has a next or previous page of threads
|
|
1663
|
+
*/
|
|
1664
|
+
"scrollTarget"?: 'container' | 'page';
|
|
1665
|
+
/**
|
|
1666
|
+
* @description The state of the mailbox
|
|
1667
|
+
*/
|
|
1668
|
+
"state"?: 'ready' | 'loading' | 'error';
|
|
1669
|
+
}
|
|
1670
|
+
interface NylasMailboxToolbarButton {
|
|
1671
|
+
/**
|
|
1672
|
+
* The value of the state to compare against to check if the data is loading, error, or ready.
|
|
1673
|
+
*/
|
|
1674
|
+
"dataState"?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* If true, then the component will render the icon only.
|
|
1677
|
+
*/
|
|
1678
|
+
"iconOnly"?: boolean;
|
|
1679
|
+
/**
|
|
1680
|
+
* If true, then the component will render if the state is true. This prop is used with the `state` prop.
|
|
1681
|
+
*/
|
|
1682
|
+
"mailboxConnector"?: NylasMailboxConnectorInterface;
|
|
1683
|
+
/**
|
|
1684
|
+
* The name of the mailbox connector method to call.
|
|
1685
|
+
*/
|
|
1686
|
+
"method": MethodsOfNylasMailboxConnector;
|
|
1687
|
+
}
|
|
1688
|
+
interface NylasNotification {
|
|
1689
|
+
"allowedCategories"?: string[];
|
|
1690
|
+
"ttl"?: number;
|
|
1691
|
+
}
|
|
1692
|
+
interface NylasOpenHoursPicker {
|
|
1693
|
+
/**
|
|
1694
|
+
* The number of milliseconds the user must be dragging for before we consider it a drag event.
|
|
1695
|
+
*/
|
|
1696
|
+
"dragThreshold"?: number;
|
|
1697
|
+
/**
|
|
1698
|
+
* The end time of the day. Leave this to the default date of 2024-09-07T23:59:59.999Z unless you want want available times to be a specific year, month, and day.
|
|
1699
|
+
*/
|
|
1700
|
+
"endTime"?: Date;
|
|
1701
|
+
/**
|
|
1702
|
+
* The width of the viewport in mobile.
|
|
1703
|
+
*/
|
|
1704
|
+
"mobileViewPortWidth"?: number;
|
|
1705
|
+
/**
|
|
1706
|
+
* Emitted when open hours is changed.
|
|
1707
|
+
*/
|
|
1708
|
+
"onOpenHoursChanged"?: (event: NylasOpenHoursPickerCustomEvent<OpenHour[]>) => void;
|
|
1709
|
+
/**
|
|
1710
|
+
* A pre-populated open hour configuration.
|
|
1711
|
+
*/
|
|
1712
|
+
"openHours"?: OpenHour[];
|
|
1713
|
+
/**
|
|
1714
|
+
* The start time of the day. Leave this to the default date of 2024-09-01T00:00:00.000Z unless you want want available times to be a specific year, month, and day.
|
|
1715
|
+
*/
|
|
1716
|
+
"startTime"?: Date;
|
|
1717
|
+
/**
|
|
1718
|
+
* The number of minutes between each time. If this is 15, we'll show 15 minute intervals. If this is 60, we'll show 1 hour intervals.
|
|
1719
|
+
*/
|
|
1720
|
+
"stepMinutes"?: number;
|
|
1721
|
+
}
|
|
1722
|
+
/**
|
|
1723
|
+
* The Nylas Provider component.
|
|
1724
|
+
* This component is used to manage the Nylas Provider.
|
|
1725
|
+
* It is used to manage the Nylas Auth instance, the Nylas Connector instance,
|
|
1726
|
+
* and the Nylas Store instance.
|
|
1727
|
+
*/
|
|
1728
|
+
interface NylasProvider {
|
|
1729
|
+
/**
|
|
1730
|
+
* The Nylas Auth configuration. Used to manage all things authentication with Nylas.
|
|
1731
|
+
*/
|
|
1732
|
+
"authConfig"?: AuthConfg;
|
|
1733
|
+
/**
|
|
1734
|
+
* Automatically register components that have the `@RegisterComponent` decorator. If this is set to false, you will need to manually register components using the `registerComponent` method.
|
|
1735
|
+
* @default true
|
|
1736
|
+
*/
|
|
1737
|
+
"automaticComponentRegistration"?: boolean;
|
|
1738
|
+
/**
|
|
1739
|
+
* This provides a way to override the default event handlers.
|
|
1740
|
+
*/
|
|
1741
|
+
"eventOverrides"?: EventOverride<Exclude<typeof this.nylasConnector, undefined>>;
|
|
1742
|
+
/**
|
|
1743
|
+
* This event is fired when the provider is initialized. It can be used to set the initial state of the provider, or to prevent the provider from firing some default behavior.
|
|
1744
|
+
*/
|
|
1745
|
+
"onInit"?: (event: NylasProviderCustomEvent<HTMLNylasProviderElement>) => void;
|
|
1746
|
+
/**
|
|
1747
|
+
* This event is fired when the the NyalsAuth isAuthenticated state changes to true.
|
|
1748
|
+
*/
|
|
1749
|
+
"onLoggedIn"?: (event: NylasProviderCustomEvent<HTMLNylasProviderElement>) => void;
|
|
1750
|
+
/**
|
|
1751
|
+
* This event is fired when the the NyalsAuth isAuthenticated state changes to true.
|
|
1752
|
+
*/
|
|
1753
|
+
"onLoggedOut"?: (event: NylasProviderCustomEvent<HTMLNylasProviderElement>) => void;
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* The Nylas Scheduler component is used to show the Nylas Scheduler UI.
|
|
1757
|
+
*/
|
|
1758
|
+
interface NylasScheduler {
|
|
1759
|
+
/**
|
|
1760
|
+
* This enables passing the bookingInfo object to the Scheduler UI for direct booking event creation. When used with timeslotConfirmedHandler, it bypasses the additional data page and immediately invokes the handler after booking.
|
|
1761
|
+
*/
|
|
1762
|
+
"bookingInfo"?: NylasSchedulerBookingData1;
|
|
1763
|
+
/**
|
|
1764
|
+
* The default scheduler store state. Used to set the initial state of the scheduler store.
|
|
1765
|
+
*/
|
|
1766
|
+
"defaultSchedulerStoreState"?: NylasSchedulerStoreState;
|
|
1767
|
+
/**
|
|
1768
|
+
* This provides an easy way to override the default function of the event emitter. An example of this is the `timeslotConfirmed` event. By default, this event will set the scheduler store state for `showBookingForm` to `true` which will show the booking form. However, if you want to override this behavior, you can pass in the prop `eventOverride` like: ```html <nylas-scheduler eventOverride={{"timeslotConfirmed": (event, nylasConnector) => { console.log("Timeslot confirmed event fired!"); } }} /> ```
|
|
1769
|
+
*/
|
|
1770
|
+
"eventOverrides"?: SchedulerEventOverride;
|
|
1771
|
+
/**
|
|
1772
|
+
* The loading state. This is used to set the loading state for the Nylas Scheduler when fetching data. For example, when fetching availability, the loading state can be set to: ```js loadingState={ api: 'availability' } ```
|
|
1773
|
+
*/
|
|
1774
|
+
"loadingState"?: LoadingState;
|
|
1775
|
+
/**
|
|
1776
|
+
* This is used to set the mode for the Nylas Scheduler. The mode can be either `app` or `composable`. The default mode is `app`. - `app`: This mode is used to show the default Nylas Scheduler UI. - `composable`: This mode is used to show the composable Nylas Scheduler UI by passing the individual scheduler components as children.
|
|
1777
|
+
*/
|
|
1778
|
+
"mode"?: 'app' | 'composable';
|
|
1779
|
+
/**
|
|
1780
|
+
* This event is fired when the provider is initialized. It can be used to set the initial state of the provider, or to prevent the provider from firing some default behavior.
|
|
1781
|
+
*/
|
|
1782
|
+
"onInit"?: (event: NylasSchedulerCustomEvent<HTMLNylasSchedulerElement>) => void;
|
|
1783
|
+
"onNylasSchedulerError"?: (event: NylasSchedulerCustomEvent<Notification>) => void;
|
|
1784
|
+
/**
|
|
1785
|
+
* Booking Id required for rescheduling flow.
|
|
1786
|
+
*/
|
|
1787
|
+
"rescheduleId"?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* The URL for the Nylas Scheduler API. (staging or production URL)
|
|
1790
|
+
*/
|
|
1791
|
+
"schedulerApiUrl"?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* The session ID for the Nylas Scheduler. This is used to authenticate the user.
|
|
1794
|
+
*/
|
|
1795
|
+
"sessionId"?: string;
|
|
1796
|
+
/**
|
|
1797
|
+
* Theme config, used to automatically generate a theme with color palette and CSS variables to customize the look and feel of the Nylas Scheduler.
|
|
1798
|
+
*/
|
|
1799
|
+
"themeConfig"?: ThemeConfig;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* The selected event card component.
|
|
1803
|
+
*/
|
|
1804
|
+
interface NylasSelectedEventCard {
|
|
1805
|
+
/**
|
|
1806
|
+
* The selected date.
|
|
1807
|
+
*/
|
|
1808
|
+
"selectedDate"?: Date;
|
|
1809
|
+
/**
|
|
1810
|
+
* The selected time.
|
|
1811
|
+
*/
|
|
1812
|
+
"selectedTimeslot"?: Timeslot;
|
|
1813
|
+
/**
|
|
1814
|
+
* * The selected timezone.
|
|
1815
|
+
*/
|
|
1816
|
+
"selectedTimezone"?: string;
|
|
1817
|
+
}
|
|
1818
|
+
interface NylasSummarizeMessageButton {
|
|
1819
|
+
/**
|
|
1820
|
+
* The message to summarize
|
|
1821
|
+
*/
|
|
1822
|
+
"message"?: Message;
|
|
1823
|
+
/**
|
|
1824
|
+
* The on summarize event handler
|
|
1825
|
+
*/
|
|
1826
|
+
"onSummarize"?: (event: NylasSummarizeMessageButtonCustomEvent<SummarizeEvent>) => void;
|
|
1827
|
+
}
|
|
1828
|
+
interface NylasThreadsRefresh {
|
|
1829
|
+
"onRefresh"?: (event: NylasThreadsRefreshCustomEvent<RefreshEvent>) => void;
|
|
1830
|
+
}
|
|
1831
|
+
interface NylasThreadsSearch {
|
|
1832
|
+
/**
|
|
1833
|
+
* Event emitted when the query changes
|
|
1834
|
+
*/
|
|
1835
|
+
"onSearch"?: (event: NylasThreadsSearchCustomEvent<string>) => void;
|
|
1836
|
+
/**
|
|
1837
|
+
* The query to search for threads
|
|
1838
|
+
*/
|
|
1839
|
+
"query"?: string;
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* The timeslot picker component.
|
|
1843
|
+
*/
|
|
1844
|
+
interface NylasTimeslotPicker {
|
|
1845
|
+
/**
|
|
1846
|
+
* The available timeslots.
|
|
1847
|
+
*/
|
|
1848
|
+
"availability"?: AvailabilityTimeslot[];
|
|
1849
|
+
/**
|
|
1850
|
+
* The loading state prop. Used to display loading state when fetching availability.
|
|
1851
|
+
*/
|
|
1852
|
+
"loadingState"?: LoadingState;
|
|
1853
|
+
/**
|
|
1854
|
+
* This event is fired when a timeslot is confirmed. By default, this will proceed to the booking form page.
|
|
1855
|
+
*/
|
|
1856
|
+
"onTimeslotConfirmed"?: (event: NylasTimeslotPickerCustomEvent<Timeslot>) => void;
|
|
1857
|
+
/**
|
|
1858
|
+
* This event is fired when a timeslot is selected.
|
|
1859
|
+
*/
|
|
1860
|
+
"onTimeslotSelected"?: (event: NylasTimeslotPickerCustomEvent<Timeslot>) => void;
|
|
1861
|
+
/**
|
|
1862
|
+
* The selected date.
|
|
1863
|
+
*/
|
|
1864
|
+
"selectedDate"?: Date;
|
|
1865
|
+
/**
|
|
1866
|
+
* The selected timeslot.
|
|
1867
|
+
*/
|
|
1868
|
+
"selectedTimeslot"?: Timeslot;
|
|
1869
|
+
/**
|
|
1870
|
+
* The selected timezone.
|
|
1871
|
+
*/
|
|
1872
|
+
"selectedTimezone"?: string;
|
|
1873
|
+
}
|
|
1874
|
+
interface NylasViewEmail {
|
|
1875
|
+
"attachments"?: InternalAttachment[];
|
|
1876
|
+
"detectDarkMode"?: boolean;
|
|
1877
|
+
"message"?: Message;
|
|
1878
|
+
"parent"?: HTMLElement;
|
|
1879
|
+
}
|
|
1880
|
+
interface NylasViewThread {
|
|
1881
|
+
/**
|
|
1882
|
+
* Attachments for each message within the thread
|
|
1883
|
+
*/
|
|
1884
|
+
"attachments"?: InternalAttachment[];
|
|
1885
|
+
/**
|
|
1886
|
+
* The draft message to display
|
|
1887
|
+
*/
|
|
1888
|
+
"draft"?: Message;
|
|
1889
|
+
/**
|
|
1890
|
+
* Messages within the thread to display
|
|
1891
|
+
*/
|
|
1892
|
+
"messages"?: Message[];
|
|
1893
|
+
/**
|
|
1894
|
+
* Event emitted when a message is clicked
|
|
1895
|
+
*/
|
|
1896
|
+
"onMessageClicked"?: (event: NylasViewThreadCustomEvent<Message>) => void;
|
|
1897
|
+
/**
|
|
1898
|
+
* Event emitted when a message contact data is clicked
|
|
1899
|
+
*/
|
|
1900
|
+
"onShowContactDataClicked"?: (event: NylasViewThreadCustomEvent<Message>) => void;
|
|
1901
|
+
/**
|
|
1902
|
+
* Event emitted when a thread is selected
|
|
1903
|
+
*/
|
|
1904
|
+
"onThreadSelected"?: (event: NylasViewThreadCustomEvent<Thread>) => void;
|
|
1905
|
+
/**
|
|
1906
|
+
* Thread to display
|
|
1907
|
+
*/
|
|
1908
|
+
"thread"?: Thread;
|
|
1909
|
+
}
|
|
1910
|
+
interface PeopleIcon {
|
|
1911
|
+
"height"?: string;
|
|
1912
|
+
"width"?: string;
|
|
1913
|
+
}
|
|
1914
|
+
interface PlayIcon {
|
|
1915
|
+
"height"?: string;
|
|
1916
|
+
"width"?: string;
|
|
1917
|
+
}
|
|
1918
|
+
interface RefreshIcon {
|
|
1919
|
+
"height"?: string;
|
|
1920
|
+
"width"?: string;
|
|
1921
|
+
}
|
|
1922
|
+
interface ReplyAllIcon {
|
|
1923
|
+
"height"?: string;
|
|
1924
|
+
"width"?: string;
|
|
1925
|
+
}
|
|
1926
|
+
interface ReplyIcon {
|
|
1927
|
+
"height"?: string;
|
|
1928
|
+
"width"?: string;
|
|
1929
|
+
}
|
|
1930
|
+
interface SentIcon {
|
|
1931
|
+
"height"?: string;
|
|
1932
|
+
"width"?: string;
|
|
1933
|
+
}
|
|
1934
|
+
interface SpamIcon {
|
|
1935
|
+
"height"?: string;
|
|
1936
|
+
"width"?: string;
|
|
1937
|
+
}
|
|
1938
|
+
interface StarIcon {
|
|
1939
|
+
"height"?: string;
|
|
1940
|
+
"width"?: string;
|
|
1941
|
+
}
|
|
1942
|
+
interface StopIcon {
|
|
1943
|
+
"height"?: string;
|
|
1944
|
+
"width"?: string;
|
|
1945
|
+
}
|
|
1946
|
+
interface TranslateIcon {
|
|
1947
|
+
"height"?: string;
|
|
1948
|
+
"width"?: string;
|
|
1949
|
+
}
|
|
1950
|
+
interface TrashIcon {
|
|
1951
|
+
"height"?: string;
|
|
1952
|
+
"width"?: string;
|
|
1953
|
+
}
|
|
1954
|
+
interface UnderlineIcon {
|
|
1955
|
+
"height"?: string;
|
|
1956
|
+
"width"?: string;
|
|
1957
|
+
}
|
|
1958
|
+
interface WarningIcon {
|
|
1959
|
+
"height"?: string;
|
|
1960
|
+
"width"?: string;
|
|
1961
|
+
}
|
|
1962
|
+
interface IntrinsicElements {
|
|
1963
|
+
"archive-icon": ArchiveIcon;
|
|
1964
|
+
"arrow-icon": ArrowIcon;
|
|
1965
|
+
"bold-icon": BoldIcon;
|
|
1966
|
+
"calendar-cancel-icon": CalendarCancelIcon;
|
|
1967
|
+
"calendar-check-icon": CalendarCheckIcon;
|
|
1968
|
+
"calendar-icon": CalendarIcon;
|
|
1969
|
+
"checkmark-circle-icon": CheckmarkCircleIcon;
|
|
1970
|
+
"chevron-icon": ChevronIcon;
|
|
1971
|
+
"close-icon": CloseIcon;
|
|
1972
|
+
"document-refresh-icon": DocumentRefreshIcon;
|
|
1973
|
+
"folder-icon": FolderIcon;
|
|
1974
|
+
"forward-icon": ForwardIcon;
|
|
1975
|
+
"globe-icon": GlobeIcon;
|
|
1976
|
+
"inbox-icon": InboxIcon;
|
|
1977
|
+
"italic-icon": ItalicIcon;
|
|
1978
|
+
"loading-icon": LoadingIcon;
|
|
1979
|
+
"nylas-booked-event-card": NylasBookedEventCard;
|
|
1980
|
+
"nylas-booking-form": NylasBookingForm;
|
|
1981
|
+
"nylas-cancelled-event-card": NylasCancelledEventCard;
|
|
1982
|
+
"nylas-composer": NylasComposer;
|
|
1983
|
+
"nylas-date-picker": NylasDatePicker;
|
|
1984
|
+
"nylas-if-state": NylasIfState;
|
|
1985
|
+
"nylas-list-folders": NylasListFolders;
|
|
1986
|
+
"nylas-list-threads": NylasListThreads;
|
|
1987
|
+
"nylas-locale-switch": NylasLocaleSwitch;
|
|
1988
|
+
"nylas-login": NylasLogin;
|
|
1989
|
+
"nylas-logo": NylasLogo;
|
|
1990
|
+
"nylas-mailbox": NylasMailbox;
|
|
1991
|
+
"nylas-mailbox-pagination": NylasMailboxPagination;
|
|
1992
|
+
"nylas-mailbox-toolbar-button": NylasMailboxToolbarButton;
|
|
1993
|
+
"nylas-notification": NylasNotification;
|
|
1994
|
+
"nylas-open-hours-picker": NylasOpenHoursPicker;
|
|
1995
|
+
"nylas-provider": NylasProvider;
|
|
1996
|
+
"nylas-scheduler": NylasScheduler;
|
|
1997
|
+
"nylas-selected-event-card": NylasSelectedEventCard;
|
|
1998
|
+
"nylas-summarize-message-button": NylasSummarizeMessageButton;
|
|
1999
|
+
"nylas-threads-refresh": NylasThreadsRefresh;
|
|
2000
|
+
"nylas-threads-search": NylasThreadsSearch;
|
|
2001
|
+
"nylas-timeslot-picker": NylasTimeslotPicker;
|
|
2002
|
+
"nylas-view-email": NylasViewEmail;
|
|
2003
|
+
"nylas-view-thread": NylasViewThread;
|
|
2004
|
+
"people-icon": PeopleIcon;
|
|
2005
|
+
"play-icon": PlayIcon;
|
|
2006
|
+
"refresh-icon": RefreshIcon;
|
|
2007
|
+
"reply-all-icon": ReplyAllIcon;
|
|
2008
|
+
"reply-icon": ReplyIcon;
|
|
2009
|
+
"sent-icon": SentIcon;
|
|
2010
|
+
"spam-icon": SpamIcon;
|
|
2011
|
+
"star-icon": StarIcon;
|
|
2012
|
+
"stop-icon": StopIcon;
|
|
2013
|
+
"translate-icon": TranslateIcon;
|
|
2014
|
+
"trash-icon": TrashIcon;
|
|
2015
|
+
"underline-icon": UnderlineIcon;
|
|
2016
|
+
"warning-icon": WarningIcon;
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
export { LocalJSX as JSX };
|
|
2020
|
+
declare module "@stencil/core" {
|
|
2021
|
+
export namespace JSX {
|
|
2022
|
+
interface IntrinsicElements {
|
|
2023
|
+
"archive-icon": LocalJSX.ArchiveIcon & JSXBase.HTMLAttributes<HTMLArchiveIconElement>;
|
|
2024
|
+
"arrow-icon": LocalJSX.ArrowIcon & JSXBase.HTMLAttributes<HTMLArrowIconElement>;
|
|
2025
|
+
"bold-icon": LocalJSX.BoldIcon & JSXBase.HTMLAttributes<HTMLBoldIconElement>;
|
|
2026
|
+
"calendar-cancel-icon": LocalJSX.CalendarCancelIcon & JSXBase.HTMLAttributes<HTMLCalendarCancelIconElement>;
|
|
2027
|
+
"calendar-check-icon": LocalJSX.CalendarCheckIcon & JSXBase.HTMLAttributes<HTMLCalendarCheckIconElement>;
|
|
2028
|
+
"calendar-icon": LocalJSX.CalendarIcon & JSXBase.HTMLAttributes<HTMLCalendarIconElement>;
|
|
2029
|
+
"checkmark-circle-icon": LocalJSX.CheckmarkCircleIcon & JSXBase.HTMLAttributes<HTMLCheckmarkCircleIconElement>;
|
|
2030
|
+
"chevron-icon": LocalJSX.ChevronIcon & JSXBase.HTMLAttributes<HTMLChevronIconElement>;
|
|
2031
|
+
"close-icon": LocalJSX.CloseIcon & JSXBase.HTMLAttributes<HTMLCloseIconElement>;
|
|
2032
|
+
"document-refresh-icon": LocalJSX.DocumentRefreshIcon & JSXBase.HTMLAttributes<HTMLDocumentRefreshIconElement>;
|
|
2033
|
+
"folder-icon": LocalJSX.FolderIcon & JSXBase.HTMLAttributes<HTMLFolderIconElement>;
|
|
2034
|
+
"forward-icon": LocalJSX.ForwardIcon & JSXBase.HTMLAttributes<HTMLForwardIconElement>;
|
|
2035
|
+
"globe-icon": LocalJSX.GlobeIcon & JSXBase.HTMLAttributes<HTMLGlobeIconElement>;
|
|
2036
|
+
"inbox-icon": LocalJSX.InboxIcon & JSXBase.HTMLAttributes<HTMLInboxIconElement>;
|
|
2037
|
+
"italic-icon": LocalJSX.ItalicIcon & JSXBase.HTMLAttributes<HTMLItalicIconElement>;
|
|
2038
|
+
"loading-icon": LocalJSX.LoadingIcon & JSXBase.HTMLAttributes<HTMLLoadingIconElement>;
|
|
2039
|
+
/**
|
|
2040
|
+
* The booked event card component.
|
|
2041
|
+
*/
|
|
2042
|
+
"nylas-booked-event-card": LocalJSX.NylasBookedEventCard & JSXBase.HTMLAttributes<HTMLNylasBookedEventCardElement>;
|
|
2043
|
+
/**
|
|
2044
|
+
* The booking form component.
|
|
2045
|
+
*/
|
|
2046
|
+
"nylas-booking-form": LocalJSX.NylasBookingForm & JSXBase.HTMLAttributes<HTMLNylasBookingFormElement>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The cancelled event card component.
|
|
2049
|
+
*/
|
|
2050
|
+
"nylas-cancelled-event-card": LocalJSX.NylasCancelledEventCard & JSXBase.HTMLAttributes<HTMLNylasCancelledEventCardElement>;
|
|
2051
|
+
"nylas-composer": LocalJSX.NylasComposer & JSXBase.HTMLAttributes<HTMLNylasComposerElement>;
|
|
2052
|
+
/**
|
|
2053
|
+
* The date picker component.
|
|
2054
|
+
*/
|
|
2055
|
+
"nylas-date-picker": LocalJSX.NylasDatePicker & JSXBase.HTMLAttributes<HTMLNylasDatePickerElement>;
|
|
2056
|
+
"nylas-if-state": LocalJSX.NylasIfState & JSXBase.HTMLAttributes<HTMLNylasIfStateElement>;
|
|
2057
|
+
"nylas-list-folders": LocalJSX.NylasListFolders & JSXBase.HTMLAttributes<HTMLNylasListFoldersElement>;
|
|
2058
|
+
"nylas-list-threads": LocalJSX.NylasListThreads & JSXBase.HTMLAttributes<HTMLNylasListThreadsElement>;
|
|
2059
|
+
"nylas-locale-switch": LocalJSX.NylasLocaleSwitch & JSXBase.HTMLAttributes<HTMLNylasLocaleSwitchElement>;
|
|
2060
|
+
"nylas-login": LocalJSX.NylasLogin & JSXBase.HTMLAttributes<HTMLNylasLoginElement>;
|
|
2061
|
+
"nylas-logo": LocalJSX.NylasLogo & JSXBase.HTMLAttributes<HTMLNylasLogoElement>;
|
|
2062
|
+
/**
|
|
2063
|
+
* The Nylas Mailbox component.
|
|
2064
|
+
* This component is used as a provider for all other Nylas Mailbox components.
|
|
2065
|
+
* It is responsible for managing the NylasAuth and NylasMailboxConnector instances.
|
|
2066
|
+
* It also manages the state of the NylasAuth and NylasMailboxStore instances.
|
|
2067
|
+
* @example <nylas-mailbox
|
|
2068
|
+
* auth-config={{
|
|
2069
|
+
* clientId: 'YOUR_CLIENT_ID',
|
|
2070
|
+
* }}
|
|
2071
|
+
* default-auth-store-state={{
|
|
2072
|
+
* threadQueryParams: {
|
|
2073
|
+
* limit: 10,
|
|
2074
|
+
* }}
|
|
2075
|
+
* >
|
|
2076
|
+
* <nylas-mailbox-thread-list></nylas-mailbox-thread-list>
|
|
2077
|
+
* </nylas-mailbox>
|
|
2078
|
+
*/
|
|
2079
|
+
"nylas-mailbox": LocalJSX.NylasMailbox & JSXBase.HTMLAttributes<HTMLNylasMailboxElement>;
|
|
2080
|
+
"nylas-mailbox-pagination": LocalJSX.NylasMailboxPagination & JSXBase.HTMLAttributes<HTMLNylasMailboxPaginationElement>;
|
|
2081
|
+
"nylas-mailbox-toolbar-button": LocalJSX.NylasMailboxToolbarButton & JSXBase.HTMLAttributes<HTMLNylasMailboxToolbarButtonElement>;
|
|
2082
|
+
"nylas-notification": LocalJSX.NylasNotification & JSXBase.HTMLAttributes<HTMLNylasNotificationElement>;
|
|
2083
|
+
"nylas-open-hours-picker": LocalJSX.NylasOpenHoursPicker & JSXBase.HTMLAttributes<HTMLNylasOpenHoursPickerElement>;
|
|
2084
|
+
/**
|
|
2085
|
+
* The Nylas Provider component.
|
|
2086
|
+
* This component is used to manage the Nylas Provider.
|
|
2087
|
+
* It is used to manage the Nylas Auth instance, the Nylas Connector instance,
|
|
2088
|
+
* and the Nylas Store instance.
|
|
2089
|
+
*/
|
|
2090
|
+
"nylas-provider": LocalJSX.NylasProvider & JSXBase.HTMLAttributes<HTMLNylasProviderElement>;
|
|
2091
|
+
/**
|
|
2092
|
+
* The Nylas Scheduler component is used to show the Nylas Scheduler UI.
|
|
2093
|
+
*/
|
|
2094
|
+
"nylas-scheduler": LocalJSX.NylasScheduler & JSXBase.HTMLAttributes<HTMLNylasSchedulerElement>;
|
|
2095
|
+
/**
|
|
2096
|
+
* The selected event card component.
|
|
2097
|
+
*/
|
|
2098
|
+
"nylas-selected-event-card": LocalJSX.NylasSelectedEventCard & JSXBase.HTMLAttributes<HTMLNylasSelectedEventCardElement>;
|
|
2099
|
+
"nylas-summarize-message-button": LocalJSX.NylasSummarizeMessageButton & JSXBase.HTMLAttributes<HTMLNylasSummarizeMessageButtonElement>;
|
|
2100
|
+
"nylas-threads-refresh": LocalJSX.NylasThreadsRefresh & JSXBase.HTMLAttributes<HTMLNylasThreadsRefreshElement>;
|
|
2101
|
+
"nylas-threads-search": LocalJSX.NylasThreadsSearch & JSXBase.HTMLAttributes<HTMLNylasThreadsSearchElement>;
|
|
2102
|
+
/**
|
|
2103
|
+
* The timeslot picker component.
|
|
2104
|
+
*/
|
|
2105
|
+
"nylas-timeslot-picker": LocalJSX.NylasTimeslotPicker & JSXBase.HTMLAttributes<HTMLNylasTimeslotPickerElement>;
|
|
2106
|
+
"nylas-view-email": LocalJSX.NylasViewEmail & JSXBase.HTMLAttributes<HTMLNylasViewEmailElement>;
|
|
2107
|
+
"nylas-view-thread": LocalJSX.NylasViewThread & JSXBase.HTMLAttributes<HTMLNylasViewThreadElement>;
|
|
2108
|
+
"people-icon": LocalJSX.PeopleIcon & JSXBase.HTMLAttributes<HTMLPeopleIconElement>;
|
|
2109
|
+
"play-icon": LocalJSX.PlayIcon & JSXBase.HTMLAttributes<HTMLPlayIconElement>;
|
|
2110
|
+
"refresh-icon": LocalJSX.RefreshIcon & JSXBase.HTMLAttributes<HTMLRefreshIconElement>;
|
|
2111
|
+
"reply-all-icon": LocalJSX.ReplyAllIcon & JSXBase.HTMLAttributes<HTMLReplyAllIconElement>;
|
|
2112
|
+
"reply-icon": LocalJSX.ReplyIcon & JSXBase.HTMLAttributes<HTMLReplyIconElement>;
|
|
2113
|
+
"sent-icon": LocalJSX.SentIcon & JSXBase.HTMLAttributes<HTMLSentIconElement>;
|
|
2114
|
+
"spam-icon": LocalJSX.SpamIcon & JSXBase.HTMLAttributes<HTMLSpamIconElement>;
|
|
2115
|
+
"star-icon": LocalJSX.StarIcon & JSXBase.HTMLAttributes<HTMLStarIconElement>;
|
|
2116
|
+
"stop-icon": LocalJSX.StopIcon & JSXBase.HTMLAttributes<HTMLStopIconElement>;
|
|
2117
|
+
"translate-icon": LocalJSX.TranslateIcon & JSXBase.HTMLAttributes<HTMLTranslateIconElement>;
|
|
2118
|
+
"trash-icon": LocalJSX.TrashIcon & JSXBase.HTMLAttributes<HTMLTrashIconElement>;
|
|
2119
|
+
"underline-icon": LocalJSX.UnderlineIcon & JSXBase.HTMLAttributes<HTMLUnderlineIconElement>;
|
|
2120
|
+
"warning-icon": LocalJSX.WarningIcon & JSXBase.HTMLAttributes<HTMLWarningIconElement>;
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|