@nylas/web-elements 1.0.2-canary.2 → 1.1.0-canary.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/add-circle-icon.cjs.entry.js +2 -2
- package/dist/cjs/{add-circle-icon_18.cjs.entry.js → add-circle-icon_22.cjs.entry.js} +425 -97
- package/dist/cjs/add-circle-icon_22.cjs.entry.js.map +1 -0
- package/dist/cjs/archive-icon.cjs.entry.js +2 -2
- package/dist/cjs/archive-icon_7.cjs.entry.js +8 -8
- package/dist/cjs/arrow-icon.cjs.entry.js +2 -2
- package/dist/cjs/bold-icon.cjs.entry.js +2 -2
- package/dist/cjs/bold-icon_3.cjs.entry.js +4 -4
- package/dist/cjs/button-component.cjs.entry.js +30 -0
- package/dist/cjs/button-component.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +2 -2
- package/dist/cjs/calendar-check-icon.cjs.entry.js +2 -2
- package/dist/cjs/calendar-check-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/calendar-icon.cjs.entry.js +2 -2
- package/dist/cjs/calendar-info-icon.cjs.entry.js +2 -2
- package/dist/cjs/calendar-patterns-icon.cjs.entry.js +2 -2
- package/dist/cjs/checkmark-circle-icon.cjs.entry.js +2 -2
- package/dist/cjs/chevron-icon.cjs.entry.js +2 -2
- package/dist/cjs/chevron-icon_3.cjs.entry.js +23 -6
- package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/close-icon.cjs.entry.js +2 -2
- package/dist/cjs/{constants-9e39ba68.js → constants-0fba94a4.js} +2 -1
- package/dist/cjs/{constants-9e39ba68.js.map → constants-0fba94a4.js.map} +1 -1
- package/dist/cjs/{constants-c48567b9.js → constants-6baf1f1d.js} +2 -1
- package/dist/cjs/{constants-c48567b9.js.map → constants-6baf1f1d.js.map} +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +2 -2
- package/dist/cjs/flow-icon.cjs.entry.js +2 -2
- package/dist/cjs/folder-icon.cjs.entry.js +2 -2
- package/dist/cjs/forward-icon.cjs.entry.js +2 -2
- package/dist/cjs/forward-icon_6.cjs.entry.js +9 -9
- package/dist/cjs/globe-icon.cjs.entry.js +2 -2
- package/dist/cjs/google-logo-icon.cjs.entry.js +23 -0
- package/dist/cjs/google-logo-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/google-logo-icon_3.cjs.entry.js +302 -0
- package/dist/cjs/google-logo-icon_3.cjs.entry.js.map +1 -0
- package/dist/cjs/inbox-icon.cjs.entry.js +2 -2
- package/dist/cjs/{index-ecd19640.js → index-5ba61c57.js} +2 -2
- package/dist/cjs/{index-ecd19640.js.map → index-5ba61c57.js.map} +1 -1
- package/dist/cjs/{index-37045c7b.js → index-7af03e3f.js} +482 -21
- package/dist/cjs/index-7af03e3f.js.map +1 -0
- package/dist/cjs/{index-ec8e2a4d.js → index-c14ea8f5.js} +34 -6
- package/dist/cjs/index-c14ea8f5.js.map +1 -0
- package/dist/cjs/{index-f969795f.js → index-e31dc92c.js} +2 -2
- package/dist/cjs/{index-f969795f.js.map → index-e31dc92c.js.map} +1 -1
- package/dist/cjs/index.cjs.js +4 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{index.es-9122f5a3.js → index.es-447c5aca.js} +7 -2
- package/dist/cjs/index.es-447c5aca.js.map +1 -0
- package/dist/cjs/{index.es-3c12ec8c.js → index.es-68425511.js} +7 -2
- package/dist/cjs/index.es-68425511.js.map +1 -0
- package/dist/cjs/info-icon.cjs.entry.js +2 -2
- package/dist/cjs/info-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/italic-icon.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/loading-icon.cjs.entry.js +2 -2
- package/dist/cjs/location-icon.cjs.entry.js +2 -2
- package/dist/cjs/location-off-icon.cjs.entry.js +2 -2
- package/dist/cjs/{mailbox-store-37622628.js → mailbox-store-556bc7b6.js} +81 -3
- package/dist/cjs/mailbox-store-556bc7b6.js.map +1 -0
- package/dist/cjs/{mailbox-store-5cd5e485.js → mailbox-store-aacd75ff.js} +81 -3
- package/dist/cjs/mailbox-store-aacd75ff.js.map +1 -0
- package/dist/cjs/microsoft-logo-icon.cjs.entry.js +23 -0
- package/dist/cjs/microsoft-logo-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/nylas-additional-participants.cjs.entry.js +6 -6
- package/dist/cjs/nylas-additional-participants.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-api-request-8ec3a89c.js +39 -0
- package/dist/cjs/nylas-api-request-8ec3a89c.js.map +1 -0
- package/dist/cjs/nylas-api-request-ab24150d.js +37 -0
- package/dist/cjs/nylas-api-request-ab24150d.js.map +1 -0
- package/dist/cjs/nylas-availability-picker.cjs.entry.js +9 -9
- package/dist/cjs/nylas-availability-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card.cjs.entry.js +4 -4
- package/dist/cjs/nylas-booked-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +14 -14
- package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-calendar-picker.cjs.entry.js +4 -4
- package/dist/cjs/nylas-booking-calendar-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +3 -3
- package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-buffer-time.cjs.entry.js +5 -5
- package/dist/cjs/nylas-buffer-time.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-calendar-picker.cjs.entry.js +4 -4
- package/dist/cjs/nylas-calendar-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +4 -4
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +3 -3
- package/dist/cjs/nylas-composer.cjs.entry.js +2 -2
- package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +3 -3
- package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/nylas-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +100 -48
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-description.cjs.entry.js +3 -3
- package/dist/cjs/nylas-event-description.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-duration.cjs.entry.js +4 -4
- package/dist/cjs/nylas-event-duration.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-info.cjs.entry.js +4 -4
- package/dist/cjs/nylas-event-info.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-limits.cjs.entry.js +68 -0
- package/dist/cjs/nylas-event-limits.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-event-title.cjs.entry.js +4 -4
- package/dist/cjs/nylas-event-title.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-form-card.cjs.entry.js +4 -4
- package/dist/cjs/nylas-form-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +2 -2
- package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +122 -0
- package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-list-folders.cjs.entry.js +3 -3
- package/dist/cjs/nylas-list-threads.cjs.entry.js +3 -3
- package/dist/cjs/nylas-locale-switch.cjs.entry.js +4 -4
- package/dist/cjs/nylas-locale-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-location-component.cjs.entry.js +5 -5
- package/dist/cjs/nylas-location-component.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-login.cjs.entry.js +3 -3
- package/dist/cjs/nylas-logo.cjs.entry.js +2 -2
- package/dist/cjs/nylas-mailbox-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +3 -3
- package/dist/cjs/nylas-mailbox.cjs.entry.js +12 -13
- package/dist/cjs/nylas-mailbox.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +145 -0
- package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js.map +1 -0
- package/dist/cjs/nylas-notification.cjs.entry.js +2 -2
- package/dist/cjs/nylas-provider.cjs.entry.js +9 -21
- package/dist/cjs/nylas-provider.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +7257 -74
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +17 -13
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js +4 -4
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +4 -4
- package/dist/cjs/nylas-threads-refresh.cjs.entry.js +4 -4
- package/dist/cjs/nylas-threads-search.cjs.entry.js +3 -3
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +4 -4
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-timeslot-picker.cjs.entry.js +3 -3
- package/dist/cjs/nylas-timeslot-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-view-email.cjs.entry.js +2 -2
- package/dist/cjs/nylas-view-thread.cjs.entry.js +3 -3
- package/dist/cjs/nylas-web-elements.cjs.js +2 -2
- package/dist/cjs/people-icon.cjs.entry.js +2 -2
- package/dist/cjs/play-icon.cjs.entry.js +2 -2
- package/dist/cjs/play-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/refresh-icon.cjs.entry.js +2 -2
- package/dist/cjs/{register-component-cc1cf810.js → register-component-d729f3f7.js} +2 -2
- package/dist/cjs/{register-component-cc1cf810.js.map → register-component-d729f3f7.js.map} +1 -1
- package/dist/cjs/{register-component-dfbd5404.js → register-component-f1ebc65d.js} +2 -2
- package/dist/cjs/{register-component-dfbd5404.js.map → register-component-f1ebc65d.js.map} +1 -1
- package/dist/cjs/reply-all-icon.cjs.entry.js +2 -2
- package/dist/cjs/reply-icon.cjs.entry.js +2 -2
- package/dist/cjs/scheduler-config-store-31b83ad3.js +19 -0
- package/dist/cjs/scheduler-config-store-31b83ad3.js.map +1 -0
- package/dist/cjs/scheduler-config-store-9c2cc421.js +19 -0
- package/dist/cjs/scheduler-config-store-9c2cc421.js.map +1 -0
- package/dist/cjs/{scheduler-store-65f0fbe5.js → scheduler-store-4cb46b3c.js} +3 -2
- package/dist/cjs/scheduler-store-4cb46b3c.js.map +1 -0
- package/dist/cjs/{scheduler-store-41b6d179.js → scheduler-store-7320f5d0.js} +3 -2
- package/dist/cjs/scheduler-store-7320f5d0.js.map +1 -0
- package/dist/cjs/search-icon.cjs.entry.js +2 -2
- package/dist/cjs/select-dropdown.cjs.entry.js +21 -4
- package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/sent-icon.cjs.entry.js +2 -2
- package/dist/cjs/spam-icon.cjs.entry.js +2 -2
- package/dist/cjs/star-icon.cjs.entry.js +2 -2
- package/dist/cjs/stop-icon.cjs.entry.js +2 -2
- package/dist/cjs/time-period-selector.cjs.entry.js +104 -0
- package/dist/cjs/time-period-selector.cjs.entry.js.map +1 -0
- package/dist/cjs/tooltip-component.cjs.entry.js +2 -2
- package/dist/cjs/translate-icon.cjs.entry.js +2 -2
- package/dist/cjs/trash-icon.cjs.entry.js +2 -2
- package/dist/cjs/underline-icon.cjs.entry.js +2 -2
- package/dist/cjs/warning-icon.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/common/constants.js +1 -0
- package/dist/collection/common/constants.js.map +1 -1
- package/dist/collection/common/icons/add-circle.js +1 -1
- package/dist/collection/common/icons/archive.js +1 -1
- package/dist/collection/common/icons/arrow.js +1 -1
- package/dist/collection/common/icons/bold.js +1 -1
- package/dist/collection/common/icons/calendar-cancel.js +1 -1
- package/dist/collection/common/icons/calendar-check.js +1 -1
- package/dist/collection/common/icons/calendar-info.js +1 -1
- package/dist/collection/common/icons/calendar-patterns.js +1 -1
- package/dist/collection/common/icons/calendar.js +1 -1
- package/dist/collection/common/icons/checkmark-circle.js +1 -1
- package/dist/collection/common/icons/chevron.js +1 -1
- package/dist/collection/common/icons/close.js +1 -1
- package/dist/collection/common/icons/document-refresh.js +1 -1
- package/dist/collection/common/icons/flow.js +1 -1
- package/dist/collection/common/icons/folder.js +1 -1
- package/dist/collection/common/icons/forward.js +1 -1
- package/dist/collection/common/icons/globe.js +1 -1
- package/dist/collection/common/icons/google-logo.js +63 -0
- package/dist/collection/common/icons/google-logo.js.map +1 -0
- package/dist/collection/common/icons/inbox.js +1 -1
- package/dist/collection/common/icons/info.js +1 -1
- package/dist/collection/common/icons/italic.js +1 -1
- package/dist/collection/common/icons/loading.js +1 -1
- package/dist/collection/common/icons/location-off.js +1 -1
- package/dist/collection/common/icons/location.js +1 -1
- package/dist/collection/common/icons/microsoft-logo.js +63 -0
- package/dist/collection/common/icons/microsoft-logo.js.map +1 -0
- package/dist/collection/common/icons/nylas-logo.js +1 -1
- package/dist/collection/common/icons/people.js +1 -1
- package/dist/collection/common/icons/play.js +1 -1
- package/dist/collection/common/icons/refresh.js +1 -1
- package/dist/collection/common/icons/reply-all.js +1 -1
- package/dist/collection/common/icons/reply.js +1 -1
- package/dist/collection/common/icons/search.js +1 -1
- package/dist/collection/common/icons/sent.js +1 -1
- package/dist/collection/common/icons/spam.js +1 -1
- package/dist/collection/common/icons/star.js +1 -1
- package/dist/collection/common/icons/stop.js +1 -1
- package/dist/collection/common/icons/translate.js +1 -1
- package/dist/collection/common/icons/trash.js +1 -1
- package/dist/collection/common/icons/underline.js +1 -1
- package/dist/collection/common/icons/warning.js +1 -1
- package/dist/collection/common/nylas-api-request.js +34 -0
- package/dist/collection/common/nylas-api-request.js.map +1 -0
- package/dist/collection/components/design-system/button-component/button-component.css +73 -0
- package/dist/collection/components/design-system/button-component/button-component.js +193 -0
- package/dist/collection/components/design-system/button-component/button-component.js.map +1 -0
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.css +6 -4
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +42 -2
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +1 -1
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.css +22 -0
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +200 -0
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js.map +1 -0
- package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
- package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
- package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
- package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +2 -2
- package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
- package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
- package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
- package/dist/collection/components/nylas-login/nylas-login.js +1 -1
- package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css +4 -3
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +4 -0
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.css +1 -0
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +20 -10
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +6 -1
- package/dist/collection/components/scheduler/nylas-locale-switch/test/nylas-locale-switch.spec.js +3 -3
- package/dist/collection/components/scheduler/nylas-locale-switch/test/nylas-locale-switch.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduling.css +7 -8
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduling.js +27 -6
- package/dist/collection/components/scheduler/nylas-scheduler/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduler/scheduler-view.js +2 -1
- package/dist/collection/components/scheduler/nylas-scheduler/scheduler-view.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduler/test/nylas-scheduling.spec.js +9 -0
- package/dist/collection/components/scheduler/nylas-scheduler/test/nylas-scheduling.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.css +12 -2
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.css +5 -16
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.css +49 -3
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +5 -5
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/test/nylas-availability-picker.spec.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/test/nylas-availability-picker.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.css +6 -0
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.css +6 -0
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.css +2 -2
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +90 -52
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +22 -0
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.css +2 -2
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.css +60 -0
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +59 -0
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.css +2 -2
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.css +46 -0
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +191 -0
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/test/nylas-limit-future-bookings.spec.js +41 -0
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/test/nylas-limit-future-bookings.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-location-component/nylas-location-component.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-location-component/nylas-location-component.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.css +46 -0
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +214 -0
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/test/nylas-min-cancellation-notice.spec.js +41 -0
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/test/nylas-min-cancellation-notice.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.css +73 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +177 -66
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.css +10 -2
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js.map +1 -1
- package/dist/collection/connector/connector-interface.js.map +1 -1
- package/dist/collection/connector/nylas-connector/index.js +0 -12
- package/dist/collection/connector/nylas-connector/index.js.map +1 -1
- package/dist/collection/connector/nylas-scheduler-config-connector/index.js +3 -24
- package/dist/collection/connector/nylas-scheduler-config-connector/index.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler-config.js +79 -10
- package/dist/collection/connector/shared/api/scheduler-config.js.map +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/stores/auth-session-store.js +18 -0
- package/dist/collection/stores/auth-session-store.js.map +1 -0
- package/dist/collection/stores/scheduler-config-store.js +2 -0
- package/dist/collection/stores/scheduler-config-store.js.map +1 -1
- package/dist/collection/stores/scheduler-store.js +1 -0
- package/dist/collection/stores/scheduler-store.js.map +1 -1
- package/dist/components/add-circle.js +1 -1
- package/dist/components/archive.js +1 -1
- package/dist/components/arrow.js +1 -1
- package/dist/components/bold.js +1 -1
- package/dist/components/button-component.d.ts +11 -0
- package/dist/components/button-component.js +8 -0
- package/dist/components/button-component.js.map +1 -0
- package/dist/components/button-component2.js +50 -0
- package/dist/components/button-component2.js.map +1 -0
- package/dist/components/calendar-cancel.js +1 -1
- package/dist/components/calendar-check.js +1 -1
- package/dist/components/calendar-info.js +1 -1
- package/dist/components/calendar-patterns.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkmark-circle.js +1 -1
- package/dist/components/chevron.js +1 -1
- package/dist/components/close.js +1 -1
- package/dist/components/constants.js +1 -0
- package/dist/components/constants.js.map +1 -1
- package/dist/components/document-refresh-icon.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder.js +1 -1
- package/dist/components/forward.js +1 -1
- package/dist/components/globe.js +1 -1
- package/dist/components/google-logo-icon.d.ts +11 -0
- package/dist/components/google-logo-icon.js +8 -0
- package/dist/components/google-logo-icon.js.map +1 -0
- package/dist/components/google-logo.js +37 -0
- package/dist/components/google-logo.js.map +1 -0
- package/dist/components/inbox.js +1 -1
- package/dist/components/index.es.js +6 -2
- package/dist/components/index.es.js.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/italic.js +1 -1
- package/dist/components/loading.js +1 -1
- package/dist/components/location-off.js +1 -1
- package/dist/components/location.js +1 -1
- package/dist/components/mailbox-store.js +78 -2
- package/dist/components/mailbox-store.js.map +1 -1
- package/dist/components/microsoft-logo-icon.d.ts +11 -0
- package/dist/components/microsoft-logo-icon.js +8 -0
- package/dist/components/microsoft-logo-icon.js.map +1 -0
- package/dist/components/microsoft-logo.js +37 -0
- package/dist/components/microsoft-logo.js.map +1 -0
- package/dist/components/multi-select-dropdown2.js +2 -2
- package/dist/components/nylas-additional-participants.js +4 -4
- package/dist/components/nylas-additional-participants.js.map +1 -1
- package/dist/components/nylas-api-request.js +37 -0
- package/dist/components/nylas-api-request.js.map +1 -0
- package/dist/components/nylas-availability-picker2.js +6 -6
- package/dist/components/nylas-availability-picker2.js.map +1 -1
- package/dist/components/nylas-booked-event-card2.js +1 -1
- package/dist/components/nylas-booked-event-card2.js.map +1 -1
- package/dist/components/nylas-booking-calendar-picker2.js +2 -2
- package/dist/components/nylas-booking-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +1 -1
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-buffer-time2.js +3 -3
- package/dist/components/nylas-buffer-time2.js.map +1 -1
- package/dist/components/nylas-calendar-picker2.js +2 -2
- package/dist/components/nylas-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +2 -2
- package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +1 -1
- package/dist/components/nylas-composer2.js +1 -1
- package/dist/components/nylas-custom-booking-flow2.js +1 -1
- package/dist/components/nylas-custom-booking-flow2.js.map +1 -1
- package/dist/components/nylas-date-picker2.js +1 -1
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +184 -101
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-description2.js.map +1 -1
- package/dist/components/nylas-event-duration2.js +2 -2
- package/dist/components/nylas-event-duration2.js.map +1 -1
- package/dist/components/nylas-event-info2.js +2 -2
- package/dist/components/nylas-event-info2.js.map +1 -1
- package/dist/components/nylas-event-limits.d.ts +11 -0
- package/dist/components/nylas-event-limits.js +8 -0
- package/dist/components/nylas-event-limits.js.map +1 -0
- package/dist/components/nylas-event-limits2.js +79 -0
- package/dist/components/nylas-event-limits2.js.map +1 -0
- package/dist/components/nylas-event-title2.js +1 -1
- package/dist/components/nylas-event-title2.js.map +1 -1
- package/dist/components/nylas-form-card2.js +2 -2
- package/dist/components/nylas-form-card2.js.map +1 -1
- package/dist/components/nylas-limit-future-bookings.d.ts +11 -0
- package/dist/components/nylas-limit-future-bookings.js +8 -0
- package/dist/components/nylas-limit-future-bookings.js.map +1 -0
- package/dist/components/nylas-limit-future-bookings2.js +171 -0
- package/dist/components/nylas-limit-future-bookings2.js.map +1 -0
- package/dist/components/nylas-list-folders.js +1 -1
- package/dist/components/nylas-list-threads.js +1 -1
- package/dist/components/nylas-locale-switch2.js +1 -1
- package/dist/components/nylas-locale-switch2.js.map +1 -1
- package/dist/components/nylas-location-component2.js +3 -3
- package/dist/components/nylas-location-component2.js.map +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
- package/dist/components/nylas-mailbox.js +2 -3
- package/dist/components/nylas-mailbox.js.map +1 -1
- package/dist/components/nylas-min-cancellation-notice.d.ts +11 -0
- package/dist/components/nylas-min-cancellation-notice.js +8 -0
- package/dist/components/nylas-min-cancellation-notice.js.map +1 -0
- package/dist/components/nylas-min-cancellation-notice2.js +194 -0
- package/dist/components/nylas-min-cancellation-notice2.js.map +1 -0
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-provider.js +3 -15
- package/dist/components/nylas-provider.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +7362 -132
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +14 -9
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +1 -1
- package/dist/components/nylas-selected-event-card2.js.map +1 -1
- package/dist/components/nylas-summarize-message-button2.js +2 -2
- package/dist/components/nylas-threads-refresh.js +2 -2
- package/dist/components/nylas-threads-search.js +1 -1
- package/dist/components/nylas-time-window-picker2.js +3 -3
- package/dist/components/nylas-time-window-picker2.js.map +1 -1
- package/dist/components/nylas-timeslot-picker2.js +1 -1
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/components/nylas-view-email2.js +1 -1
- package/dist/components/nylas-view-thread.js +1 -1
- package/dist/components/people-icon.js +1 -1
- package/dist/components/play.js +1 -1
- package/dist/components/refresh.js +1 -1
- package/dist/components/reply-all.js +1 -1
- package/dist/components/reply.js +1 -1
- package/dist/components/scheduler-config-store.js +3 -30
- package/dist/components/scheduler-config-store.js.map +1 -1
- package/dist/components/scheduler-store.js +1 -0
- package/dist/components/scheduler-store.js.map +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +25 -4
- package/dist/components/select-dropdown2.js.map +1 -1
- package/dist/components/sent.js +1 -1
- package/dist/components/spam.js +1 -1
- package/dist/components/star.js +1 -1
- package/dist/components/stop.js +1 -1
- package/dist/components/time-period-selector.d.ts +11 -0
- package/dist/components/time-period-selector.js +8 -0
- package/dist/components/time-period-selector.js.map +1 -0
- package/dist/components/time-period-selector2.js +144 -0
- package/dist/components/time-period-selector2.js.map +1 -0
- package/dist/components/toolitp-component.js +1 -1
- package/dist/components/translate.js +1 -1
- package/dist/components/trash.js +1 -1
- package/dist/components/underline.js +1 -1
- package/dist/components/warning.js +1 -1
- package/dist/esm/add-circle-icon.entry.js +2 -2
- package/dist/esm/{add-circle-icon_18.entry.js → add-circle-icon_22.entry.js} +423 -99
- package/dist/esm/add-circle-icon_22.entry.js.map +1 -0
- package/dist/esm/archive-icon.entry.js +2 -2
- package/dist/esm/archive-icon_7.entry.js +8 -8
- package/dist/esm/arrow-icon.entry.js +2 -2
- package/dist/esm/bold-icon.entry.js +2 -2
- package/dist/esm/bold-icon_3.entry.js +4 -4
- package/dist/esm/button-component.entry.js +26 -0
- package/dist/esm/button-component.entry.js.map +1 -0
- package/dist/esm/calendar-cancel-icon.entry.js +2 -2
- package/dist/esm/calendar-check-icon.entry.js +2 -2
- package/dist/esm/calendar-check-icon_2.entry.js +3 -3
- package/dist/esm/calendar-icon.entry.js +2 -2
- package/dist/esm/calendar-info-icon.entry.js +2 -2
- package/dist/esm/calendar-patterns-icon.entry.js +2 -2
- package/dist/esm/checkmark-circle-icon.entry.js +2 -2
- package/dist/esm/chevron-icon.entry.js +2 -2
- package/dist/esm/chevron-icon_3.entry.js +23 -6
- package/dist/esm/chevron-icon_3.entry.js.map +1 -1
- package/dist/esm/close-icon.entry.js +2 -2
- package/dist/{nylas-web-elements/constants-56fee505.js → esm/constants-335dffcf.js} +2 -1
- package/dist/{nylas-web-elements/constants-56fee505.js.map → esm/constants-335dffcf.js.map} +1 -1
- package/dist/esm/{constants-b6bf6671.js → constants-6ee60d6d.js} +2 -1
- package/dist/esm/{constants-b6bf6671.js.map → constants-6ee60d6d.js.map} +1 -1
- package/dist/esm/document-refresh-icon.entry.js +2 -2
- package/dist/esm/flow-icon.entry.js +2 -2
- package/dist/esm/folder-icon.entry.js +2 -2
- package/dist/esm/forward-icon.entry.js +2 -2
- package/dist/esm/forward-icon_6.entry.js +10 -10
- package/dist/esm/globe-icon.entry.js +2 -2
- package/dist/esm/google-logo-icon.entry.js +19 -0
- package/dist/esm/google-logo-icon.entry.js.map +1 -0
- package/dist/esm/google-logo-icon_3.entry.js +296 -0
- package/dist/esm/google-logo-icon_3.entry.js.map +1 -0
- package/dist/esm/inbox-icon.entry.js +2 -2
- package/dist/{nylas-web-elements/index-7b27868b.js → esm/index-11d12497.js} +2 -2
- package/dist/esm/{index-7b27868b.js.map → index-11d12497.js.map} +1 -1
- package/dist/esm/{index-10914bc1.js → index-628f294a.js} +2 -2
- package/dist/esm/{index-10914bc1.js.map → index-628f294a.js.map} +1 -1
- package/dist/esm/{index-0583f8a8.js → index-7cb0dd3d.js} +482 -21
- package/dist/esm/index-7cb0dd3d.js.map +1 -0
- package/dist/esm/{index-bda1cba1.js → index-8362ce5c.js} +34 -6
- package/dist/esm/index-8362ce5c.js.map +1 -0
- package/dist/esm/{index.es-0a5de5bf.js → index.es-2578c6a5.js} +8 -4
- package/dist/esm/index.es-2578c6a5.js.map +1 -0
- package/dist/{nylas-web-elements/index.es-a9f78dad.js → esm/index.es-bd511719.js} +7 -3
- package/dist/esm/index.es-bd511719.js.map +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/info-icon.entry.js +2 -2
- package/dist/esm/info-icon_2.entry.js +3 -3
- package/dist/esm/italic-icon.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loading-icon.entry.js +2 -2
- package/dist/esm/location-icon.entry.js +2 -2
- package/dist/esm/location-off-icon.entry.js +2 -2
- package/dist/{nylas-web-elements/mailbox-store-8a1c2d32.js → esm/mailbox-store-150cc456.js} +80 -4
- package/dist/esm/mailbox-store-150cc456.js.map +1 -0
- package/dist/esm/{mailbox-store-e721b17c.js → mailbox-store-bb21512c.js} +81 -5
- package/dist/esm/mailbox-store-bb21512c.js.map +1 -0
- package/dist/esm/microsoft-logo-icon.entry.js +19 -0
- package/dist/esm/microsoft-logo-icon.entry.js.map +1 -0
- package/dist/esm/multi-select-dropdown.entry.js +3 -3
- package/dist/esm/nylas-additional-participants.entry.js +6 -6
- package/dist/esm/nylas-additional-participants.entry.js.map +1 -1
- package/dist/esm/nylas-api-request-55446aba.js +37 -0
- package/dist/esm/nylas-api-request-55446aba.js.map +1 -0
- package/dist/esm/nylas-api-request-c97a0153.js +35 -0
- package/dist/esm/nylas-api-request-c97a0153.js.map +1 -0
- package/dist/esm/nylas-availability-picker.entry.js +9 -9
- package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card.entry.js +4 -4
- package/dist/esm/nylas-booked-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card_10.entry.js +15 -15
- package/dist/esm/nylas-booked-event-card_10.entry.js.map +1 -1
- package/dist/esm/nylas-booking-calendar-picker.entry.js +4 -4
- package/dist/esm/nylas-booking-calendar-picker.entry.js.map +1 -1
- package/dist/esm/nylas-booking-form.entry.js +3 -3
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-buffer-time.entry.js +5 -5
- package/dist/esm/nylas-buffer-time.entry.js.map +1 -1
- package/dist/esm/nylas-calendar-picker.entry.js +4 -4
- package/dist/esm/nylas-calendar-picker.entry.js.map +1 -1
- package/dist/esm/nylas-cancel-booking-form.entry.js +4 -4
- package/dist/esm/nylas-cancel-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/esm/nylas-composer.entry.js +2 -2
- package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/esm/nylas-custom-booking-flow.entry.js.map +1 -1
- package/dist/esm/nylas-date-picker.entry.js +3 -3
- package/dist/esm/nylas-date-picker.entry.js.map +1 -1
- package/dist/esm/nylas-editor-tabs.entry.js +100 -48
- package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/esm/nylas-event-description.entry.js +3 -3
- package/dist/esm/nylas-event-description.entry.js.map +1 -1
- package/dist/esm/nylas-event-duration.entry.js +4 -4
- package/dist/esm/nylas-event-duration.entry.js.map +1 -1
- package/dist/esm/nylas-event-info.entry.js +4 -4
- package/dist/esm/nylas-event-info.entry.js.map +1 -1
- package/dist/esm/nylas-event-limits.entry.js +64 -0
- package/dist/esm/nylas-event-limits.entry.js.map +1 -0
- package/dist/esm/nylas-event-title.entry.js +4 -4
- package/dist/esm/nylas-event-title.entry.js.map +1 -1
- package/dist/esm/nylas-form-card.entry.js +4 -4
- package/dist/esm/nylas-form-card.entry.js.map +1 -1
- package/dist/esm/nylas-if-state.entry.js +2 -2
- package/dist/esm/nylas-limit-future-bookings.entry.js +118 -0
- package/dist/esm/nylas-limit-future-bookings.entry.js.map +1 -0
- package/dist/esm/nylas-list-folders.entry.js +3 -3
- package/dist/esm/nylas-list-threads.entry.js +3 -3
- package/dist/esm/nylas-locale-switch.entry.js +4 -4
- package/dist/esm/nylas-locale-switch.entry.js.map +1 -1
- package/dist/esm/nylas-location-component.entry.js +5 -5
- package/dist/esm/nylas-location-component.entry.js.map +1 -1
- package/dist/esm/nylas-login.entry.js +3 -3
- package/dist/esm/nylas-logo.entry.js +2 -2
- package/dist/esm/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/esm/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/esm/nylas-mailbox.entry.js +5 -6
- package/dist/esm/nylas-mailbox.entry.js.map +1 -1
- package/dist/esm/nylas-min-cancellation-notice.entry.js +141 -0
- package/dist/esm/nylas-min-cancellation-notice.entry.js.map +1 -0
- package/dist/esm/nylas-notification.entry.js +2 -2
- package/dist/esm/nylas-provider.entry.js +7 -19
- package/dist/esm/nylas-provider.entry.js.map +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +7257 -74
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +17 -13
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-selected-event-card.entry.js +4 -4
- package/dist/esm/nylas-selected-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-summarize-message-button.entry.js +4 -4
- package/dist/esm/nylas-threads-refresh.entry.js +4 -4
- package/dist/esm/nylas-threads-search.entry.js +3 -3
- package/dist/esm/nylas-time-window-picker.entry.js +4 -4
- package/dist/esm/nylas-time-window-picker.entry.js.map +1 -1
- package/dist/esm/nylas-timeslot-picker.entry.js +3 -3
- package/dist/esm/nylas-timeslot-picker.entry.js.map +1 -1
- package/dist/esm/nylas-view-email.entry.js +2 -2
- package/dist/esm/nylas-view-thread.entry.js +3 -3
- package/dist/esm/nylas-web-elements.js +3 -3
- package/dist/esm/people-icon.entry.js +2 -2
- package/dist/esm/play-icon.entry.js +2 -2
- package/dist/esm/play-icon_2.entry.js +3 -3
- package/dist/esm/refresh-icon.entry.js +2 -2
- package/dist/{nylas-web-elements/register-component-93f9bcf5.js → esm/register-component-0645dce0.js} +2 -2
- package/dist/esm/{register-component-93f9bcf5.js.map → register-component-0645dce0.js.map} +1 -1
- package/dist/esm/{register-component-d056a880.js → register-component-dc659dc3.js} +3 -3
- package/dist/esm/{register-component-d056a880.js.map → register-component-dc659dc3.js.map} +1 -1
- package/dist/esm/reply-all-icon.entry.js +2 -2
- package/dist/esm/reply-icon.entry.js +2 -2
- package/dist/esm/scheduler-config-store-51ee4f42.js +17 -0
- package/dist/esm/scheduler-config-store-51ee4f42.js.map +1 -0
- package/dist/esm/scheduler-config-store-bc59545b.js +17 -0
- package/dist/esm/scheduler-config-store-bc59545b.js.map +1 -0
- package/dist/esm/{scheduler-store-f2e72da4.js → scheduler-store-4d0a4f8a.js} +3 -2
- package/dist/esm/scheduler-store-4d0a4f8a.js.map +1 -0
- package/dist/esm/{scheduler-store-0fbe642c.js → scheduler-store-72116723.js} +4 -3
- package/dist/esm/scheduler-store-72116723.js.map +1 -0
- package/dist/esm/search-icon.entry.js +2 -2
- package/dist/esm/select-dropdown.entry.js +21 -4
- package/dist/esm/select-dropdown.entry.js.map +1 -1
- package/dist/esm/sent-icon.entry.js +2 -2
- package/dist/esm/spam-icon.entry.js +2 -2
- package/dist/esm/star-icon.entry.js +2 -2
- package/dist/esm/stop-icon.entry.js +2 -2
- package/dist/esm/time-period-selector.entry.js +100 -0
- package/dist/esm/time-period-selector.entry.js.map +1 -0
- package/dist/esm/tooltip-component.entry.js +2 -2
- package/dist/esm/translate-icon.entry.js +2 -2
- package/dist/esm/trash-icon.entry.js +2 -2
- package/dist/esm/underline-icon.entry.js +2 -2
- package/dist/esm/{utils-0cd66d04.js → utils-c00bdc3c.js} +2 -2
- package/dist/esm/{utils-0cd66d04.js.map → utils-c00bdc3c.js.map} +1 -1
- package/dist/esm/warning-icon.entry.js +2 -2
- package/dist/nylas-web-elements/add-circle-icon.entry.js +2 -2
- package/dist/nylas-web-elements/archive-icon.entry.js +2 -2
- package/dist/nylas-web-elements/arrow-icon.entry.js +2 -2
- package/dist/nylas-web-elements/bold-icon.entry.js +2 -2
- package/dist/nylas-web-elements/button-component.entry.js +26 -0
- package/dist/nylas-web-elements/button-component.entry.js.map +1 -0
- package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-check-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-info-icon.entry.js +2 -2
- package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +2 -2
- package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +2 -2
- package/dist/nylas-web-elements/chevron-icon.entry.js +2 -2
- package/dist/nylas-web-elements/close-icon.entry.js +2 -2
- package/dist/{esm/constants-56fee505.js → nylas-web-elements/constants-335dffcf.js} +2 -1
- package/dist/{esm/constants-56fee505.js.map → nylas-web-elements/constants-335dffcf.js.map} +1 -1
- package/dist/nylas-web-elements/document-refresh-icon.entry.js +2 -2
- package/dist/nylas-web-elements/flow-icon.entry.js +2 -2
- package/dist/nylas-web-elements/folder-icon.entry.js +2 -2
- package/dist/nylas-web-elements/forward-icon.entry.js +2 -2
- package/dist/nylas-web-elements/globe-icon.entry.js +2 -2
- package/dist/nylas-web-elements/google-logo-icon.entry.js +19 -0
- package/dist/nylas-web-elements/google-logo-icon.entry.js.map +1 -0
- package/dist/nylas-web-elements/inbox-icon.entry.js +2 -2
- package/dist/{esm/index-7b27868b.js → nylas-web-elements/index-11d12497.js} +2 -2
- package/dist/nylas-web-elements/{index-7b27868b.js.map → index-11d12497.js.map} +1 -1
- package/dist/nylas-web-elements/{index-bda1cba1.js → index-8362ce5c.js} +2 -2
- package/dist/nylas-web-elements/index-8362ce5c.js.map +1 -0
- package/dist/{esm/index.es-a9f78dad.js → nylas-web-elements/index.es-bd511719.js} +7 -3
- package/dist/nylas-web-elements/index.es-bd511719.js.map +1 -0
- package/dist/nylas-web-elements/index.esm.js +3 -2
- package/dist/nylas-web-elements/index.esm.js.map +1 -1
- package/dist/nylas-web-elements/info-icon.entry.js +2 -2
- package/dist/nylas-web-elements/italic-icon.entry.js +2 -2
- package/dist/nylas-web-elements/loading-icon.entry.js +2 -2
- package/dist/nylas-web-elements/location-icon.entry.js +2 -2
- package/dist/nylas-web-elements/location-off-icon.entry.js +2 -2
- package/dist/{esm/mailbox-store-8a1c2d32.js → nylas-web-elements/mailbox-store-150cc456.js} +80 -4
- package/dist/nylas-web-elements/mailbox-store-150cc456.js.map +1 -0
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +19 -0
- package/dist/nylas-web-elements/microsoft-logo-icon.entry.js.map +1 -0
- package/dist/nylas-web-elements/multi-select-dropdown.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js +6 -6
- package/dist/nylas-web-elements/nylas-additional-participants.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-api-request-55446aba.js +37 -0
- package/dist/nylas-web-elements/nylas-api-request-55446aba.js.map +1 -0
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js +9 -9
- package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-buffer-time.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-buffer-time.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-calendar-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-composer.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-date-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-date-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +100 -48
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-description.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-event-description.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-duration.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-event-duration.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-info.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-event-info.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-event-limits.entry.js +64 -0
- package/dist/nylas-web-elements/nylas-event-limits.entry.js.map +1 -0
- package/dist/nylas-web-elements/nylas-event-title.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-event-title.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-form-card.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-form-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-if-state.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +118 -0
- package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js.map +1 -0
- package/dist/nylas-web-elements/nylas-list-folders.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-list-threads.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-location-component.entry.js +5 -5
- package/dist/nylas-web-elements/nylas-location-component.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-login.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-logo.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-mailbox.entry.js +5 -6
- package/dist/nylas-web-elements/nylas-mailbox.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +141 -0
- package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js.map +1 -0
- package/dist/nylas-web-elements/nylas-notification.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-provider.entry.js +7 -19
- package/dist/nylas-web-elements/nylas-provider.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +7257 -74
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +17 -13
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-threads-search.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +4 -4
- package/dist/nylas-web-elements/nylas-time-window-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-view-email.entry.js +2 -2
- package/dist/nylas-web-elements/nylas-view-thread.entry.js +3 -3
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +3 -3
- package/dist/nylas-web-elements/p-006ab406.entry.js +2 -0
- package/dist/nylas-web-elements/p-006ab406.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-01bf65c2.entry.js +2 -0
- package/dist/nylas-web-elements/{p-bf2887bd.js → p-1819b3d7.js} +2 -2
- package/dist/nylas-web-elements/{p-bf2887bd.js.map → p-1819b3d7.js.map} +1 -1
- package/dist/nylas-web-elements/{p-26b75895.entry.js → p-2523c292.entry.js} +2 -2
- package/dist/nylas-web-elements/p-2c5d5953.entry.js +2 -0
- package/dist/nylas-web-elements/p-2c5d5953.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-3631e6e5.entry.js +2 -0
- package/dist/nylas-web-elements/p-3631e6e5.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-374527e6.entry.js +2 -0
- package/dist/nylas-web-elements/p-374527e6.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-0195d832.entry.js → p-395f49eb.entry.js} +2 -2
- package/dist/nylas-web-elements/p-39b280e2.entry.js +2 -0
- package/dist/nylas-web-elements/p-39b280e2.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-3da66838.entry.js +2 -0
- package/dist/nylas-web-elements/p-3da66838.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-9955e9b6.js → p-408dda49.js} +2 -2
- package/dist/nylas-web-elements/{p-31f12f3f.entry.js → p-409d4410.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3105fc0a.entry.js → p-40ed7eab.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-412215d1.entry.js → p-41c1654e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a959a080.entry.js → p-42a4c2fd.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-68f47a72.entry.js → p-4d9fceeb.entry.js} +2 -2
- package/dist/nylas-web-elements/p-59b6ae90.entry.js +2 -0
- package/dist/nylas-web-elements/p-59b6ae90.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-5a3809a7.entry.js +2 -0
- package/dist/nylas-web-elements/p-5a3809a7.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-c0fac9fc.entry.js → p-64364434.entry.js} +2 -2
- package/dist/nylas-web-elements/p-65fdfb60.js +2 -0
- package/dist/nylas-web-elements/p-65fdfb60.js.map +1 -0
- package/dist/nylas-web-elements/p-68c2fadf.js +3 -0
- package/dist/nylas-web-elements/{p-e4b9d6af.js.map → p-68c2fadf.js.map} +1 -1
- package/dist/nylas-web-elements/{p-67f20520.entry.js → p-7b1bb792.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-facc84f3.js → p-901f9612.js} +2 -2
- package/dist/nylas-web-elements/{p-e324add5.entry.js → p-9dac153b.entry.js} +2 -2
- package/dist/nylas-web-elements/p-9f168ff0.js +2 -0
- package/dist/nylas-web-elements/{p-ce89d941.js.map → p-9f168ff0.js.map} +1 -1
- package/dist/nylas-web-elements/p-a0c2ce03.entry.js +2 -0
- package/dist/nylas-web-elements/{p-f8e59935.entry.js → p-a1e27dc5.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a3d5a1dd.entry.js +2 -0
- package/dist/nylas-web-elements/p-ad9c3cab.entry.js +2 -0
- package/dist/nylas-web-elements/p-ad9c3cab.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-5d875283.entry.js → p-ae01e1cb.entry.js} +2 -2
- package/dist/nylas-web-elements/p-af22da60.entry.js +17 -0
- package/dist/nylas-web-elements/p-af22da60.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-b54b575a.entry.js → p-b2208193.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-02435888.entry.js → p-ba3d383f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f826c690.entry.js → p-baa620b4.entry.js} +2 -2
- package/dist/nylas-web-elements/p-bfdc148c.entry.js +2 -0
- package/dist/nylas-web-elements/{p-65b275df.js → p-cabb2e68.js} +2 -2
- package/dist/nylas-web-elements/p-cadc9052.js +2 -0
- package/dist/nylas-web-elements/p-cadc9052.js.map +1 -0
- package/dist/nylas-web-elements/p-d224c7af.entry.js +2 -0
- package/dist/nylas-web-elements/p-d224c7af.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-d67d1c72.js +2 -0
- package/dist/nylas-web-elements/p-d67d1c72.js.map +1 -0
- package/dist/nylas-web-elements/p-d85eecf4.entry.js +2 -0
- package/dist/nylas-web-elements/p-d85eecf4.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-d92a0405.entry.js +2 -0
- package/dist/nylas-web-elements/p-dc1cee56.entry.js +2 -0
- package/dist/nylas-web-elements/p-dc1cee56.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-de63bc35.entry.js +2 -0
- package/dist/nylas-web-elements/{p-22c0a883.entry.js → p-deafc6bc.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-64be0bab.js → p-df5e9aaf.js} +2 -2
- package/dist/nylas-web-elements/p-df5e9aaf.js.map +1 -0
- package/dist/nylas-web-elements/p-f48d0571.entry.js +2 -0
- package/dist/nylas-web-elements/p-fbbca7a6.entry.js +2 -0
- package/dist/nylas-web-elements/people-icon.entry.js +2 -2
- package/dist/nylas-web-elements/play-icon.entry.js +2 -2
- package/dist/nylas-web-elements/refresh-icon.entry.js +2 -2
- package/dist/{esm/register-component-93f9bcf5.js → nylas-web-elements/register-component-0645dce0.js} +2 -2
- package/dist/nylas-web-elements/{register-component-93f9bcf5.js.map → register-component-0645dce0.js.map} +1 -1
- package/dist/nylas-web-elements/reply-all-icon.entry.js +2 -2
- package/dist/nylas-web-elements/reply-icon.entry.js +2 -2
- package/dist/nylas-web-elements/scheduler-config-store-bc59545b.js +17 -0
- package/dist/nylas-web-elements/scheduler-config-store-bc59545b.js.map +1 -0
- package/dist/nylas-web-elements/{scheduler-store-f2e72da4.js → scheduler-store-4d0a4f8a.js} +3 -2
- package/dist/nylas-web-elements/scheduler-store-4d0a4f8a.js.map +1 -0
- package/dist/nylas-web-elements/search-icon.entry.js +2 -2
- package/dist/nylas-web-elements/select-dropdown.entry.js +21 -4
- package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/sent-icon.entry.js +2 -2
- package/dist/nylas-web-elements/spam-icon.entry.js +2 -2
- package/dist/nylas-web-elements/star-icon.entry.js +2 -2
- package/dist/nylas-web-elements/stop-icon.entry.js +2 -2
- package/dist/nylas-web-elements/time-period-selector.entry.js +100 -0
- package/dist/nylas-web-elements/time-period-selector.entry.js.map +1 -0
- package/dist/nylas-web-elements/tooltip-component.entry.js +2 -2
- package/dist/nylas-web-elements/translate-icon.entry.js +2 -2
- package/dist/nylas-web-elements/trash-icon.entry.js +2 -2
- package/dist/nylas-web-elements/underline-icon.entry.js +2 -2
- package/dist/nylas-web-elements/warning-icon.entry.js +2 -2
- package/dist/types/common/icons/google-logo.d.ts +5 -0
- package/dist/types/common/icons/microsoft-logo.d.ts +5 -0
- package/dist/types/common/nylas-api-request.d.ts +35 -0
- package/dist/types/components/design-system/button-component/button-component.d.ts +13 -0
- package/dist/types/components/design-system/select-dropdown/select-dropdown.d.ts +3 -0
- package/dist/types/components/design-system/time-period-selector/time-period-selector.d.ts +31 -0
- package/dist/types/components/scheduler/nylas-scheduler/nylas-scheduling.d.ts +1 -0
- package/dist/types/components/scheduler/nylas-scheduler/scheduler-view.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +21 -28
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/tab-contents.d.ts +7 -0
- package/dist/types/components/scheduler-editor/nylas-event-limits/nylas-event-limits.d.ts +8 -0
- package/dist/types/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.d.ts +28 -0
- package/dist/types/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.d.ts +25 -0
- package/dist/types/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.d.ts +12 -10
- package/dist/types/components.d.ts +314 -19
- package/dist/types/connector/connector-interface.d.ts +1 -1
- package/dist/types/connector/nylas-connector/index.d.ts +1 -4
- package/dist/types/connector/nylas-scheduler-config-connector/index.d.ts +5 -32
- package/dist/types/connector/shared/api/scheduler-config.d.ts +12 -11
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stores/auth-session-store.d.ts +9 -0
- package/dist/types/stores/scheduler-config-store.d.ts +5 -2
- package/dist/types/stores/scheduler-store.d.ts +1 -0
- package/package.json +10 -7
- package/dist/cjs/add-circle-icon_18.cjs.entry.js.map +0 -1
- package/dist/cjs/auth-store-78906da5.js +0 -85
- package/dist/cjs/auth-store-78906da5.js.map +0 -1
- package/dist/cjs/auth-store-be4bbe89.js +0 -85
- package/dist/cjs/auth-store-be4bbe89.js.map +0 -1
- package/dist/cjs/index-37045c7b.js.map +0 -1
- package/dist/cjs/index-ec8e2a4d.js.map +0 -1
- package/dist/cjs/index.es-3c12ec8c.js.map +0 -1
- package/dist/cjs/index.es-9122f5a3.js.map +0 -1
- package/dist/cjs/mailbox-store-37622628.js.map +0 -1
- package/dist/cjs/mailbox-store-5cd5e485.js.map +0 -1
- package/dist/cjs/nylas-if-state_3.cjs.entry.js +0 -411
- package/dist/cjs/nylas-if-state_3.cjs.entry.js.map +0 -1
- package/dist/cjs/scheduler-config-store-03b22a70.js +0 -47
- package/dist/cjs/scheduler-config-store-03b22a70.js.map +0 -1
- package/dist/cjs/scheduler-config-store-9577e499.js +0 -47
- package/dist/cjs/scheduler-config-store-9577e499.js.map +0 -1
- package/dist/cjs/scheduler-store-41b6d179.js.map +0 -1
- package/dist/cjs/scheduler-store-65f0fbe5.js.map +0 -1
- package/dist/components/auth-store.js +0 -82
- package/dist/components/auth-store.js.map +0 -1
- package/dist/esm/add-circle-icon_18.entry.js.map +0 -1
- package/dist/esm/auth-store-69ac49c7.js +0 -82
- package/dist/esm/auth-store-69ac49c7.js.map +0 -1
- package/dist/esm/auth-store-f46d9222.js +0 -82
- package/dist/esm/auth-store-f46d9222.js.map +0 -1
- package/dist/esm/index-0583f8a8.js.map +0 -1
- package/dist/esm/index-bda1cba1.js.map +0 -1
- package/dist/esm/index.es-0a5de5bf.js.map +0 -1
- package/dist/esm/index.es-a9f78dad.js.map +0 -1
- package/dist/esm/mailbox-store-8a1c2d32.js.map +0 -1
- package/dist/esm/mailbox-store-e721b17c.js.map +0 -1
- package/dist/esm/nylas-if-state_3.entry.js +0 -405
- package/dist/esm/nylas-if-state_3.entry.js.map +0 -1
- package/dist/esm/scheduler-config-store-4d035001.js +0 -44
- package/dist/esm/scheduler-config-store-4d035001.js.map +0 -1
- package/dist/esm/scheduler-config-store-8f162729.js +0 -44
- package/dist/esm/scheduler-config-store-8f162729.js.map +0 -1
- package/dist/esm/scheduler-store-0fbe642c.js.map +0 -1
- package/dist/esm/scheduler-store-f2e72da4.js.map +0 -1
- package/dist/nylas-web-elements/auth-store-f46d9222.js +0 -82
- package/dist/nylas-web-elements/auth-store-f46d9222.js.map +0 -1
- package/dist/nylas-web-elements/index-bda1cba1.js.map +0 -1
- package/dist/nylas-web-elements/index.es-a9f78dad.js.map +0 -1
- package/dist/nylas-web-elements/mailbox-store-8a1c2d32.js.map +0 -1
- package/dist/nylas-web-elements/p-18c6ddfa.entry.js +0 -2
- package/dist/nylas-web-elements/p-1af51c6b.js +0 -2
- package/dist/nylas-web-elements/p-1af51c6b.js.map +0 -1
- package/dist/nylas-web-elements/p-1c3b651f.entry.js +0 -2
- package/dist/nylas-web-elements/p-1c3b651f.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-558faafb.entry.js +0 -2
- package/dist/nylas-web-elements/p-558faafb.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-5642190a.entry.js +0 -2
- package/dist/nylas-web-elements/p-5642190a.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-577ecdd4.entry.js +0 -2
- package/dist/nylas-web-elements/p-577ecdd4.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-578f4029.js +0 -2
- package/dist/nylas-web-elements/p-578f4029.js.map +0 -1
- package/dist/nylas-web-elements/p-5c72d9a4.js +0 -2
- package/dist/nylas-web-elements/p-5c72d9a4.js.map +0 -1
- package/dist/nylas-web-elements/p-5fd0eb1d.entry.js +0 -2
- package/dist/nylas-web-elements/p-64be0bab.js.map +0 -1
- package/dist/nylas-web-elements/p-6aa84fd8.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c84f99e.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c84f99e.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-80079122.entry.js +0 -2
- package/dist/nylas-web-elements/p-a30e3755.entry.js +0 -2
- package/dist/nylas-web-elements/p-afdac062.entry.js +0 -2
- package/dist/nylas-web-elements/p-afdac062.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-be3b6e3a.entry.js +0 -2
- package/dist/nylas-web-elements/p-be3b6e3a.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-cc6721a7.entry.js +0 -2
- package/dist/nylas-web-elements/p-ce89d941.js +0 -2
- package/dist/nylas-web-elements/p-e4b9d6af.js +0 -3
- package/dist/nylas-web-elements/p-e4ec4651.entry.js +0 -2
- package/dist/nylas-web-elements/p-e4ec4651.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-f442a2f9.entry.js +0 -2
- package/dist/nylas-web-elements/p-f78abda8.entry.js +0 -2
- package/dist/nylas-web-elements/p-f78abda8.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-f8056365.entry.js +0 -2
- package/dist/nylas-web-elements/p-fbe6262b.entry.js +0 -2
- package/dist/nylas-web-elements/p-fbe6262b.entry.js.map +0 -1
- package/dist/nylas-web-elements/scheduler-config-store-8f162729.js +0 -44
- package/dist/nylas-web-elements/scheduler-config-store-8f162729.js.map +0 -1
- package/dist/nylas-web-elements/scheduler-store-f2e72da4.js.map +0 -1
- /package/dist/nylas-web-elements/{p-5fd0eb1d.entry.js.map → p-01bf65c2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-26b75895.entry.js.map → p-2523c292.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0195d832.entry.js.map → p-395f49eb.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-9955e9b6.js.map → p-408dda49.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-31f12f3f.entry.js.map → p-409d4410.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3105fc0a.entry.js.map → p-40ed7eab.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-412215d1.entry.js.map → p-41c1654e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a959a080.entry.js.map → p-42a4c2fd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-68f47a72.entry.js.map → p-4d9fceeb.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c0fac9fc.entry.js.map → p-64364434.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-67f20520.entry.js.map → p-7b1bb792.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-facc84f3.js.map → p-901f9612.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e324add5.entry.js.map → p-9dac153b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6aa84fd8.entry.js.map → p-a0c2ce03.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f8e59935.entry.js.map → p-a1e27dc5.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-18c6ddfa.entry.js.map → p-a3d5a1dd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5d875283.entry.js.map → p-ae01e1cb.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b54b575a.entry.js.map → p-b2208193.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-02435888.entry.js.map → p-ba3d383f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f826c690.entry.js.map → p-baa620b4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f8056365.entry.js.map → p-bfdc148c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-65b275df.js.map → p-cabb2e68.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cc6721a7.entry.js.map → p-d92a0405.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a30e3755.entry.js.map → p-de63bc35.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-22c0a883.entry.js.map → p-deafc6bc.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f442a2f9.entry.js.map → p-f48d0571.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-80079122.entry.js.map → p-fbbca7a6.entry.js.map} +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { debug } from "../../../utils/utils";
|
|
2
|
+
import { h } from "@stencil/core";
|
|
3
|
+
export class TimePeriodSelector {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.timePeriods = ['hour', 'day', 'week', 'month'];
|
|
6
|
+
this.defaultSelectedPeriod = 'hour';
|
|
7
|
+
this.defaultSelectedNumber = 1;
|
|
8
|
+
this.selectedPeriod = this.defaultSelectedPeriod;
|
|
9
|
+
this.selectedNumber = this.defaultSelectedNumber;
|
|
10
|
+
this.numberOptions = this.calculateOptions('hour').map(i => {
|
|
11
|
+
return {
|
|
12
|
+
label: i.toString(),
|
|
13
|
+
value: i.toString(),
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
this.timePeriodOptions = this.timePeriods.map(period => {
|
|
17
|
+
return {
|
|
18
|
+
label: period,
|
|
19
|
+
value: period,
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
defaultSelectedPeriodChangedHandler(newValue) {
|
|
24
|
+
this.selectedPeriod = newValue;
|
|
25
|
+
this.updateNumberOptionsAndSelectedNumber(newValue);
|
|
26
|
+
}
|
|
27
|
+
defaultSelectedNumberChangedHandler(newValue) {
|
|
28
|
+
this.selectedNumber = newValue;
|
|
29
|
+
}
|
|
30
|
+
timePeriodsChangedHandler(newValue) {
|
|
31
|
+
this.timePeriodOptions = newValue.map(period => {
|
|
32
|
+
return {
|
|
33
|
+
label: period,
|
|
34
|
+
value: period,
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
calculateOptions(period) {
|
|
39
|
+
switch (period) {
|
|
40
|
+
case 'hour':
|
|
41
|
+
return Array.from({ length: 23 }, (_, i) => i + 1);
|
|
42
|
+
case 'minute':
|
|
43
|
+
return Array.from({ length: 60 }, (_, i) => i);
|
|
44
|
+
case 'day':
|
|
45
|
+
return Array.from({ length: 30 }, (_, i) => i + 1);
|
|
46
|
+
case 'week':
|
|
47
|
+
return Array.from({ length: 4 }, (_, i) => i + 1);
|
|
48
|
+
case 'month':
|
|
49
|
+
return Array.from({ length: 12 }, (_, i) => i + 1);
|
|
50
|
+
default:
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
selectedOptionChangedHandler(event) {
|
|
55
|
+
debug('time-period-selector', 'selectedOptionChangedHandler', event.detail);
|
|
56
|
+
const { value, name } = event.detail;
|
|
57
|
+
if (name === 'time-period') {
|
|
58
|
+
this.selectedPeriod = value;
|
|
59
|
+
this.updateNumberOptionsAndSelectedNumber(value);
|
|
60
|
+
}
|
|
61
|
+
else if (name === 'time-number') {
|
|
62
|
+
this.selectedNumber = parseInt(value);
|
|
63
|
+
}
|
|
64
|
+
const selected = {
|
|
65
|
+
number: this.selectedNumber,
|
|
66
|
+
period: this.selectedPeriod,
|
|
67
|
+
};
|
|
68
|
+
this.timePeriodChanged.emit(selected);
|
|
69
|
+
}
|
|
70
|
+
updateNumberOptionsAndSelectedNumber(period) {
|
|
71
|
+
const numberOptions = this.calculateOptions(period);
|
|
72
|
+
this.numberOptions = numberOptions.map(i => {
|
|
73
|
+
return {
|
|
74
|
+
label: i.toString(),
|
|
75
|
+
value: i.toString(),
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
this.selectedNumber = parseInt(this.numberOptions[0].value);
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
return (h("div", { key: '85937e5b0dbeb32c5f2417fa644744c731b4cd57', class: "time-period-selector" }, h("select-dropdown", { key: '030d52e80b1e1561b517009c14109d4c9ecf2577', id: "time-number", name: 'time-number', exportparts: "sd__dropdown: tps__number-dropdown, sd__dropdown-button: tps__number-dropdown-button, sd__dropdown-content: tps__number-dropdown-content", options: this.numberOptions, defaultSelectedOption: this.numberOptions.find(i => i.value == this.selectedNumber.toString()) ?? this.numberOptions[0], withSearch: false }), h("select-dropdown", { key: 'ddd959a787e5ff9c4cc25ca239af0e75b4eede66', id: "time-period", name: 'time-period', options: this.timePeriodOptions, exportparts: "sd__dropdown: tps__period-dropdown, sd__dropdown-button: tps__period-dropdown-button, sd__dropdown-content: tps__period-dropdown-content", pluralizedLabel: this.selectedNumber > 1 ? 's' : '', defaultSelectedOption: this.timePeriodOptions.find(i => i.value == this.selectedPeriod) ?? this.timePeriodOptions[0], withSearch: false })));
|
|
82
|
+
}
|
|
83
|
+
static get is() { return "time-period-selector"; }
|
|
84
|
+
static get encapsulation() { return "scoped"; }
|
|
85
|
+
static get originalStyleUrls() {
|
|
86
|
+
return {
|
|
87
|
+
"$": ["time-period-selector.scss"]
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
static get styleUrls() {
|
|
91
|
+
return {
|
|
92
|
+
"$": ["time-period-selector.css"]
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
static get properties() {
|
|
96
|
+
return {
|
|
97
|
+
"timePeriods": {
|
|
98
|
+
"type": "unknown",
|
|
99
|
+
"mutable": false,
|
|
100
|
+
"complexType": {
|
|
101
|
+
"original": "string[]",
|
|
102
|
+
"resolved": "string[]",
|
|
103
|
+
"references": {}
|
|
104
|
+
},
|
|
105
|
+
"required": false,
|
|
106
|
+
"optional": false,
|
|
107
|
+
"docs": {
|
|
108
|
+
"tags": [],
|
|
109
|
+
"text": ""
|
|
110
|
+
},
|
|
111
|
+
"defaultValue": "['hour', 'day', 'week', 'month']"
|
|
112
|
+
},
|
|
113
|
+
"defaultSelectedPeriod": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "string",
|
|
118
|
+
"resolved": "string",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": false,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": "The default selected time period."
|
|
126
|
+
},
|
|
127
|
+
"attribute": "default-selected-period",
|
|
128
|
+
"reflect": false,
|
|
129
|
+
"defaultValue": "'hour'"
|
|
130
|
+
},
|
|
131
|
+
"defaultSelectedNumber": {
|
|
132
|
+
"type": "number",
|
|
133
|
+
"mutable": false,
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "number",
|
|
136
|
+
"resolved": "number",
|
|
137
|
+
"references": {}
|
|
138
|
+
},
|
|
139
|
+
"required": false,
|
|
140
|
+
"optional": false,
|
|
141
|
+
"docs": {
|
|
142
|
+
"tags": [],
|
|
143
|
+
"text": "The default selected number."
|
|
144
|
+
},
|
|
145
|
+
"attribute": "default-selected-number",
|
|
146
|
+
"reflect": false,
|
|
147
|
+
"defaultValue": "1"
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
static get states() {
|
|
152
|
+
return {
|
|
153
|
+
"selectedPeriod": {},
|
|
154
|
+
"selectedNumber": {},
|
|
155
|
+
"numberOptions": {},
|
|
156
|
+
"timePeriodOptions": {}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
static get events() {
|
|
160
|
+
return [{
|
|
161
|
+
"method": "timePeriodChanged",
|
|
162
|
+
"name": "timePeriodChanged",
|
|
163
|
+
"bubbles": true,
|
|
164
|
+
"cancelable": true,
|
|
165
|
+
"composed": true,
|
|
166
|
+
"docs": {
|
|
167
|
+
"tags": [],
|
|
168
|
+
"text": ""
|
|
169
|
+
},
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "{ number: number; period: string }",
|
|
172
|
+
"resolved": "{ number: number; period: string; }",
|
|
173
|
+
"references": {}
|
|
174
|
+
}
|
|
175
|
+
}];
|
|
176
|
+
}
|
|
177
|
+
static get elementRef() { return "host"; }
|
|
178
|
+
static get watchers() {
|
|
179
|
+
return [{
|
|
180
|
+
"propName": "defaultSelectedPeriod",
|
|
181
|
+
"methodName": "defaultSelectedPeriodChangedHandler"
|
|
182
|
+
}, {
|
|
183
|
+
"propName": "defaultSelectedNumber",
|
|
184
|
+
"methodName": "defaultSelectedNumberChangedHandler"
|
|
185
|
+
}, {
|
|
186
|
+
"propName": "timePeriods",
|
|
187
|
+
"methodName": "timePeriodsChangedHandler"
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
190
|
+
static get listeners() {
|
|
191
|
+
return [{
|
|
192
|
+
"name": "selectedOptionChanged",
|
|
193
|
+
"method": "selectedOptionChangedHandler",
|
|
194
|
+
"target": undefined,
|
|
195
|
+
"capture": false,
|
|
196
|
+
"passive": false
|
|
197
|
+
}];
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
//# sourceMappingURL=time-period-selector.js.map
|
package/dist/collection/components/design-system/time-period-selector/time-period-selector.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-period-selector.js","sourceRoot":"","sources":["../../../../src/components/design-system/time-period-selector/time-period-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOlE,MAAM,OAAO,kBAAkB;;2BAIG,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;qCAKxB,MAAM;qCAKN,CAAC;8BAKP,IAAI,CAAC,qBAAqB;8BAK1B,IAAI,CAAC,qBAAqB;6BAKC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;YACjG,OAAO;gBACL,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;gBACnB,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;aACpB,CAAC;QACJ,CAAC,CAAC;iCAK2B,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YACzD,OAAO;gBACL,KAAK,EAAE,MAAM;gBACb,KAAK,EAAE,MAAM;aACd,CAAC;QACJ,CAAC,CAAC;;IAGF,mCAAmC,CAAC,QAAgB;QAClD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;QAC/B,IAAI,CAAC,oCAAoC,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IAGD,mCAAmC,CAAC,QAAgB;QAClD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;IACjC,CAAC;IAGD,yBAAyB,CAAC,QAAkB;QAC1C,IAAI,CAAC,iBAAiB,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YAC7C,OAAO;gBACL,KAAK,EAAE,MAAM;gBACb,KAAK,EAAE,MAAM;aACd,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAIO,gBAAgB,CAAC,MAAc;QACrC,QAAQ,MAAM,EAAE,CAAC;YACf,KAAK,MAAM;gBACT,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACrD,KAAK,QAAQ;gBACX,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YACjD,KAAK,KAAK;gBACR,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACrD,KAAK,MAAM;gBACT,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACpD,KAAK,OAAO;gBACV,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACrD;gBACE,OAAO,EAAE,CAAC;QACd,CAAC;IACH,CAAC;IAGD,4BAA4B,CAAC,KAAmD;QAC9E,KAAK,CAAC,sBAAsB,EAAE,8BAA8B,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC5E,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACrC,IAAI,IAAI,KAAK,aAAa,EAAE,CAAC;YAC3B,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;YAC5B,IAAI,CAAC,oCAAoC,CAAC,KAAK,CAAC,CAAC;QACnD,CAAC;aAAM,IAAI,IAAI,KAAK,aAAa,EAAE,CAAC;YAClC,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,IAAI,CAAC,cAAc;YAC3B,MAAM,EAAE,IAAI,CAAC,cAAc;SAC5B,CAAC;QACF,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;IAED,oCAAoC,CAAC,MAAc;QACjD,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;YACzC,OAAO;gBACL,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;gBACnB,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;aACpB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,sBAAsB;YAC/B,wEACE,EAAE,EAAC,aAAa,EAChB,IAAI,EAAE,aAAa,EACnB,WAAW,EAAC,0IAA0I,EACtJ,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,qBAAqB,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EACvH,UAAU,EAAE,KAAK,GACjB;YACF,wEACE,EAAE,EAAC,aAAa,EAChB,IAAI,EAAE,aAAa,EACnB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAC/B,WAAW,EAAC,0IAA0I,EACtJ,eAAe,EAAE,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EACnD,qBAAqB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,EACpH,UAAU,EAAE,KAAK,GACjB,CACE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { debug } from '@/utils/utils';\nimport { Element, Event, EventEmitter, Watch } from '@stencil/core';\nimport { Component, h, Listen, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'time-period-selector',\n styleUrl: 'time-period-selector.scss',\n scoped: true,\n})\nexport class TimePeriodSelector {\n @Element() host!: HTMLElement;\n\n // The possible values for the time periods dropdown\n @Prop() timePeriods: string[] = ['hour', 'day', 'week', 'month'];\n\n /**\n * The default selected time period.\n */\n @Prop() defaultSelectedPeriod: string = 'hour';\n\n /**\n * The default selected number.\n */\n @Prop() defaultSelectedNumber: number = 1;\n\n /**\n * The currently selected time period\n */\n @State() selectedPeriod: string = this.defaultSelectedPeriod;\n\n /**\n * The currently selected number of the time period\n */\n @State() selectedNumber: number = this.defaultSelectedNumber;\n\n /*\n * The options for the number dropdown, to be calculated based on the selectedPeriod\n */\n @State() numberOptions: { label: string; value: string }[] = this.calculateOptions('hour').map(i => {\n return {\n label: i.toString(),\n value: i.toString(),\n };\n });\n\n /**\n * The options for the time period dropdown\n */\n @State() timePeriodOptions = this.timePeriods.map(period => {\n return {\n label: period,\n value: period,\n };\n });\n\n @Watch('defaultSelectedPeriod')\n defaultSelectedPeriodChangedHandler(newValue: string) {\n this.selectedPeriod = newValue;\n this.updateNumberOptionsAndSelectedNumber(newValue);\n }\n\n @Watch('defaultSelectedNumber')\n defaultSelectedNumberChangedHandler(newValue: number) {\n this.selectedNumber = newValue;\n }\n\n @Watch('timePeriods')\n timePeriodsChangedHandler(newValue: string[]) {\n this.timePeriodOptions = newValue.map(period => {\n return {\n label: period,\n value: period,\n };\n });\n }\n\n @Event() timePeriodChanged!: EventEmitter<{ number: number; period: string }>;\n\n private calculateOptions(period: string): number[] {\n switch (period) {\n case 'hour':\n return Array.from({ length: 23 }, (_, i) => i + 1);\n case 'minute':\n return Array.from({ length: 60 }, (_, i) => i);\n case 'day':\n return Array.from({ length: 30 }, (_, i) => i + 1);\n case 'week':\n return Array.from({ length: 4 }, (_, i) => i + 1);\n case 'month':\n return Array.from({ length: 12 }, (_, i) => i + 1);\n default:\n return [];\n }\n }\n\n @Listen('selectedOptionChanged')\n selectedOptionChangedHandler(event: CustomEvent<{ value: string; name: string }>) {\n debug('time-period-selector', 'selectedOptionChangedHandler', event.detail);\n const { value, name } = event.detail;\n if (name === 'time-period') {\n this.selectedPeriod = value;\n this.updateNumberOptionsAndSelectedNumber(value);\n } else if (name === 'time-number') {\n this.selectedNumber = parseInt(value);\n }\n const selected = {\n number: this.selectedNumber,\n period: this.selectedPeriod,\n };\n this.timePeriodChanged.emit(selected);\n }\n\n updateNumberOptionsAndSelectedNumber(period: string) {\n const numberOptions = this.calculateOptions(period);\n this.numberOptions = numberOptions.map(i => {\n return {\n label: i.toString(),\n value: i.toString(),\n };\n });\n this.selectedNumber = parseInt(this.numberOptions[0].value);\n }\n\n render() {\n return (\n <div class=\"time-period-selector\">\n <select-dropdown\n id=\"time-number\"\n name={'time-number'}\n exportparts=\"sd__dropdown: tps__number-dropdown, sd__dropdown-button: tps__number-dropdown-button, sd__dropdown-content: tps__number-dropdown-content\"\n options={this.numberOptions}\n defaultSelectedOption={this.numberOptions.find(i => i.value == this.selectedNumber.toString()) ?? this.numberOptions[0]}\n withSearch={false}\n />\n <select-dropdown\n id=\"time-period\"\n name={'time-period'}\n options={this.timePeriodOptions}\n exportparts=\"sd__dropdown: tps__period-dropdown, sd__dropdown-button: tps__period-dropdown-button, sd__dropdown-content: tps__period-dropdown-content\"\n pluralizedLabel={this.selectedNumber > 1 ? 's' : ''}\n defaultSelectedOption={this.timePeriodOptions.find(i => i.value == this.selectedPeriod) ?? this.timePeriodOptions[0]}\n withSearch={false}\n />\n </div>\n );\n }\n}\n"]}
|
|
@@ -12,7 +12,7 @@ export class TooltipComponent {
|
|
|
12
12
|
event.target.nextElementSibling.style.opacity = '0';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '1ba151bd1d0f2c80cc641832c986bab321accade', class: "tooltip-container" }, h("span", { key: '7d432bbaa90b5e9aee4f1d8cae36e97bad47bc9e', class: "info-icon", tabindex: "0", onFocus: this.showTooltip.bind(this), onBlur: this.hideTooltip.bind(this) }, h("slot", { key: '4f5014e68d07d5e70a873b389ef84b290017a8cd', name: "tooltip-icon" }, "i")), h("span", { key: '8c903af137f14d51297e1ba212d6343d1ba0f2e5', class: `tooltip-content ${this.position}` }, h("slot", { key: 'aa87ef75acc364a667d3a5139e9683f404646e51', name: "tooltip-content" }, "This is a help text."))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "tooltip-component"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,7 +127,7 @@ export class NylasComposer {
|
|
|
127
127
|
this.editorEl.focus();
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '89cdb2c6c606698704a06507ddbe301a37134ca4' }, h("sp-theme", { key: '4946560c2ab8518e5172e506caf36fa98fbc3912', scale: "medium", color: "dark" }, h("div", { key: 'b21a8843aaebb1fd4169ce2b849fb801bce46df4', class: "editor", contentEditable: true, ref: r => (this.editorEl = r) }, h("div", { key: '830a97d7947b65c0312630184d539d4f8c7a48eb', class: "toolbar", ref: r => (this.toolbarEl = r), contentEditable: false }, h("sp-button", { key: '2fb11d997b13e4ec6e700155e3001d30f52bb217', quiet: true, onClick: () => document.execCommand('bold') }, h("div", { key: '5c4fd64a8a3ccb94f36675047c05a662a1846426', slot: "icon" }, h("bold-icon", { key: '033043849fddd392bc078dbb2fd843f6701c0501' })), h("div", { key: '585b08407297a97e3214d716505331f0889ea68f', slot: "label" }, "Bold")), h("sp-button", { key: 'b01e3c9c40fbe11122ca7be4b5120ba19262e1d5', quiet: true, onClick: () => document.execCommand('underline') }, h("div", { key: 'e407e888cb414fc4e5b15e9d21349038c7871f83', slot: "icon" }, h("underline-icon", { key: '838cf6c3b7b42708b5ed6e5c53072cda29043f40' })), h("div", { key: 'c662e1cefa352cb8910050a77e5b0a2e18de6bed', slot: "label" }, "Underline")), h("sp-button", { key: '7e39fdbbdaeafabf1de93f42758f3b499c70206b', quiet: true, onClick: () => document.execCommand('italic') }, h("div", { key: '8d7c7be8cf3959726b7541ed64e4e41995461258', slot: "icon" }, h("italic-icon", { key: 'ae07a6648728e3f9720dfdc3e3f91e8e4cbf86d9' })), h("div", { key: 'fc3fc026d47610df27752ec8a310db99e280014c', slot: "label" }, "Italic")))), h("div", { key: '9d4abb27a5d5a6b2c884da58191ca8f014e9ab43', class: 'buttons' }, h("sp-button", { key: '43f2b6d9a4a6d5513eb6fd52fb8f68f416077b37', onClick: this.sendComposer, class: "send" }, "Send"), h("sp-button", { key: 'fbae8e0490814b13347e3cc09bfd922ff5fceb43', onClick: this.closeComposer, class: "close" }, "Close")))));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "nylas-composer"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,7 +69,7 @@ export class NylasListFolders {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '216a4856e0e4484bd21a13c8b52f60056838e355' }, h("div", { key: '3dfa827f612e13c3abec08c7e50a3f52ece2f677', class: "folders" }, this.defaultFolders?.map(folder => (h("sp-button", { onClick: () => this.folderSelectedHandler(folder), class: {
|
|
73
73
|
folder: true,
|
|
74
74
|
selected: formatFolderName(folder.name ?? 'inbox').toLowerCase() === this.selectedFolder?.toLowerCase(),
|
|
75
75
|
} }, h("div", { slot: "icon", class: "icon" }, this.getFolderIcon(folder)), this.formatFolderName(folder))))), this.otherFolders && (h(Fragment, null, h("hr", null), h("div", { class: "folders" }, this.otherFolders?.map(folder => (h("sp-button", { onClick: () => this.folderSelectedHandler(folder), class: {
|
|
@@ -43,7 +43,7 @@ export class NylasListThreads {
|
|
|
43
43
|
debug(`[nylas-list-threads] Component did load`, { isAuthenticated: this.isAuthenticated });
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '4cd99954b325347a5bcf2fdda5440224f188ca4d' }, h("div", { key: '876dd6bf8cd63ce8c8ca9894559b32b3c5885597', class: 'list-thread', part: "list-thread" }, this.state === 'loading' && new Array(10).fill(0).map((_, i) => h("div", { class: "thread loading", style: { animationDelay: `${i * 20}ms` } })), this.state === 'ready' &&
|
|
47
47
|
this.threads.map(thread => (h("button", { key: thread?.id, class: {
|
|
48
48
|
'thread': true,
|
|
49
49
|
'unread': thread?.unread === true,
|
|
@@ -119,7 +119,7 @@ export class NylasMailbox {
|
|
|
119
119
|
return this.nylasMailboxConnector;
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: 'c60eb0c2f7929884b9ac702c50451ab6e09a2b6c' }, h("slot", { key: '7c5e0f6dfb81b7e3e4dd67a700b78e1143e2bf53' })));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "nylas-mailbox"; }
|
|
125
125
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@ export class NylasMailboxToolbarButton {
|
|
|
70
70
|
state = this.dataState ? store.get(storeKey) === 'loading' : false;
|
|
71
71
|
}
|
|
72
72
|
const key = state ? `state-loading` : 'state-ready';
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'bc4a3e76b0b9ea32d5c640b6ef5944bc45edb2b1' }, h("sp-theme", { key: 'c52ad12f24b96ca8ee1da8f026db2441ae87d40e', scale: "medium", color: "dark" }, h("sp-button", { onClick: this.onClick, disabled: state, key: key, "icon-only": this.iconOnly, label: this.renderByState(state) }, this.hasSlot('icon') && (h("div", { slot: "icon", class: 'slot' }, h("slot", { name: "icon" }))), !this.iconOnly && this.renderByState(state)))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "nylas-mailbox-toolbar-button"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,7 +91,7 @@ export class NylasMailboxToolbarButton {
|
|
|
91
91
|
"mutable": false,
|
|
92
92
|
"complexType": {
|
|
93
93
|
"original": "MethodsOfNylasMailboxConnector",
|
|
94
|
-
"resolved": "\"init\" | \"resetStores\" | \"logout\" | \"auth.isAuthenticated\" | \"messages.getMessages\" | \"messages.getThreadMessages\" | \"messages.downloadMessageAttachments\" | \"messages.summarizeText\" | \"messages.textToSpeech\" | \"threads.back\" | \"threads.getThreads\" | \"threads.getThread\" | \"threads.nextThreadPage\" | \"threads.previousThreadPage\" | \"threads.updateThreadQueryParams\" | \"threads.unSelectThread\" | \"threads.selectThread\" | \"threads.markThreadAsRead\" | \"threads.updateThread\" | \"folders.getFolders\" | \"folders.selectFolder\" | \"auth.
|
|
94
|
+
"resolved": "\"init\" | \"resetStores\" | \"logout\" | \"auth.isAuthenticated\" | \"messages.getMessages\" | \"messages.getThreadMessages\" | \"messages.downloadMessageAttachments\" | \"messages.summarizeText\" | \"messages.textToSpeech\" | \"threads.back\" | \"threads.getThreads\" | \"threads.getThread\" | \"threads.nextThreadPage\" | \"threads.previousThreadPage\" | \"threads.updateThreadQueryParams\" | \"threads.unSelectThread\" | \"threads.selectThread\" | \"threads.markThreadAsRead\" | \"threads.updateThread\" | \"folders.getFolders\" | \"folders.selectFolder\" | \"auth.logout\" | \"auth.validateSession\" | \"auth.getTokenInfo\" | \"auth.isAccessTokenValid\" | \"auth.getHostedAuthRedirectURL\" | \"auth.manageHostedAuthCodeExchange\" | \"nylasAuth.isAuthenticated\" | \"nylasAuth.logout\" | \"nylasAuth.getTokenInfo\" | \"nylasAuth.isAccessTokenValid\" | \"nylasAuth.getHostedAuthRedirectURL\" | \"nylasAuth.nylasAPIRequest\" | \"nylasAuth.exchangeAuthCodeForTokenInfo\" | \"nylasAuth.nylasDownloadFileRequest\" | \"nylasAuth.refreshAccessToken\" | \"nylasAuth.hasScopeByType\" | \"nylasAuth.hasScope\" | `nylasAuth.config.${string}` | \"nylasMailboxStore.set\" | \"nylasMailboxStore.use\" | \"nylasMailboxStore.reset\" | \"nylasMailboxStore.get\" | \"nylasMailboxStore.on\" | \"nylasMailboxStore.onChange\" | \"nylasMailboxStore.dispose\" | \"nylasMailboxStore.forceUpdate\" | `nylasMailboxStore.state.${string}` | \"nylasAuthStore.set\" | \"nylasAuthStore.use\" | \"nylasAuthStore.reset\" | \"nylasAuthStore.get\" | \"nylasAuthStore.on\" | \"nylasAuthStore.onChange\" | \"nylasAuthStore.dispose\" | \"nylasAuthStore.forceUpdate\" | \"nylasAuthStore.state.state.\" | \"nylasAuthStore.state.isAuthenticated.\" | \"nylasAuthStore.state.tokenInfo.\" | \"nylasAuthStore.state.tokenInfo.email.\" | \"nylasAuthStore.state.tokenInfo.grant_id.\" | \"nylasAuthStore.state.tokenInfo.expires_in.\" | \"nylasAuthStore.state.tokenInfo.id_token.\" | \"nylasAuthStore.state.tokenInfo.token_type.\" | \"nylasAuthStore.state.tokenInfo.scope.\" | \"nylasAuthStore.state.tokenInfo.refresh_token.\" | \"router.init\" | \"router.addRouteChangeListener\" | \"router.setRoute\" | \"router.navigate\" | \"router.getRoute\" | \"router.getBasePath\" | \"router.matchRoute\" | \"mailboxStore.set\" | \"mailboxStore.use\" | \"mailboxStore.reset\" | \"mailboxStore.get\" | \"mailboxStore.on\" | \"mailboxStore.onChange\" | \"mailboxStore.dispose\" | \"mailboxStore.forceUpdate\" | `mailboxStore.state.${string}` | \"authStore.set\" | \"authStore.use\" | \"authStore.reset\" | \"authStore.get\" | \"authStore.on\" | \"authStore.onChange\" | \"authStore.dispose\" | \"authStore.forceUpdate\" | \"authStore.state.state.\" | \"authStore.state.isAuthenticated.\" | \"authStore.state.tokenInfo.\" | \"authStore.state.tokenInfo.email.\" | \"authStore.state.tokenInfo.grant_id.\" | \"authStore.state.tokenInfo.expires_in.\" | \"authStore.state.tokenInfo.id_token.\" | \"authStore.state.tokenInfo.token_type.\" | \"authStore.state.tokenInfo.scope.\" | \"authStore.state.tokenInfo.refresh_token.\"",
|
|
95
95
|
"references": {
|
|
96
96
|
"MethodsOfNylasMailboxConnector": {
|
|
97
97
|
"location": "local",
|
|
@@ -146,12 +146,12 @@ export class NylasSummarizeMessageButton {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: 'b14f3bab7ebd190d54a66a3e00704f9e4b147a8f' }, h("sp-theme", { key: '3a5b0782c84bbc7dba7b15306d608b885b5a6edc', scale: "medium", color: "dark" }, h("sp-button", { key: 'd63121e6f80bd09f1e7ca35e1176aa3a070517b3', label: "Summarize email", "icon-only": true, onClickCapture: this.onClick, class: {
|
|
150
150
|
'summarize-button': true,
|
|
151
151
|
'stopped': this.state === 'stopped',
|
|
152
152
|
'loading': this.state === 'loading',
|
|
153
153
|
'playing': this.state === 'playing',
|
|
154
|
-
} }, this.state === 'stopped' && h("play-icon", null), this.state === 'loading' && h("loading-icon", null), this.state === 'playing' && h("stop-icon", null)), h("audio", { key: '
|
|
154
|
+
} }, this.state === 'stopped' && h("play-icon", null), this.state === 'loading' && h("loading-icon", null), this.state === 'playing' && h("stop-icon", null)), h("audio", { key: '954be0517a3b7328149830b2058d073ae9da591d', ref: r => (this.audioRef = r), autoPlay: true, onPlaying: () => (this.state = 'playing'), onPause: () => (this.state = 'stopped'), onEnded: () => {
|
|
155
155
|
this.state = 'stopped';
|
|
156
156
|
debug(`[nylas-summarize-message-button] Audio ended`);
|
|
157
157
|
} }))));
|
|
@@ -76,11 +76,11 @@ export class NylasThreadsRefresh {
|
|
|
76
76
|
this.state = state;
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '8b1c69762b81b03cbe942f980fd7c3f2c861a72e' }, h("div", { key: 'f79595227147faeb6fe37c4928f0f9e715c7870c', class: "container", ref: r => (this.containerElement = r) }, h("button", { key: 'e897c025006514ffff9a0c799b7716ec17c3febb', class: {
|
|
80
80
|
'pull-to-refresh': true,
|
|
81
81
|
'pulling': this.pulling,
|
|
82
82
|
'refreshing': this.state === 'loading',
|
|
83
|
-
}, "aria-label": "Refreshing..." }, this.state === 'loading' && h("refresh-icon", { slot: "icon" }), this.state !== 'loading' && h("arrow-icon", { slot: "icon" })), h("div", { key: '
|
|
83
|
+
}, "aria-label": "Refreshing..." }, this.state === 'loading' && h("refresh-icon", { slot: "icon" }), this.state !== 'loading' && h("arrow-icon", { slot: "icon" })), h("div", { key: 'ba683ed78ab4c0a4131ec319abb4322de618e6d7', class: "content", ref: r => (this.contentElement = r) }, h("slot", { key: '3111550c7d75d3d610394ed0c8a64b5a520d092c' })))));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "nylas-threads-refresh"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class NylasThreadsSearch {
|
|
|
43
43
|
this.internalQuery = this.query;
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '4273fc9982039d507cadbc07c36b1eb67fa1c087' }, h("sp-theme", { key: 'a78cf6506d82e5cfd91ecbacccb1580be3693c89', scale: "medium", color: "dark" }, h("sp-search", { key: '1ca66aa0b045344ab4fdf003681923a389980c29', quiet: true, onSubmit: this.onSearch, onBlur: this.onSearch, value: this.internalQuery }))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "nylas-threads-search"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -151,7 +151,7 @@ export class NylasViewEmail {
|
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
153
|
console.debug(`[nylas-view-email] render`, { hoistedFontURLs: this.hoistedFontURLs });
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '5209aa3727b4c8013cec3ee0a33afdb38e9925d9' }, this.state === 'loading' && h("div", null, "Loading..."), this.state === 'ready' && (h(Fragment, null, this.styles.map(style => (h("style", null, DOMPurify.sanitize(style.innerHTML)))), h("div", { class: 'view-email', part: "view-email", innerHTML: this.sanitizedBody, ref: el => (this.viewEmailElement = el) })))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "nylas-view-email"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class NylasViewThread {
|
|
|
121
121
|
const lastTwoMessages = this.internalMessages.slice(this.internalMessages.length - 2, this.internalMessages.length);
|
|
122
122
|
const remainingMessages = this.internalMessages.slice(1, this.internalMessages.length - 2);
|
|
123
123
|
const lastMessage = this.internalMessages[this.internalMessages.length - 1];
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '836293c4ebe84588af8bc245f79ef45548d99d64' }, h("sp-theme", { key: '7d66ec6cb6d487a0f454ee27d81c20e41e5f7649', scale: "medium", color: "dark" }, h("div", { key: 'd70c54528874a783aa31c8c16aa2023d08a14da1', class: "view-thread" }, h("div", { key: 'd1de0e04665f48d83fa2e913f9c48beea42e2149', class: "header" }, h("div", { key: 'a08529d41372857db86f3abfaed8a2d5f7898392', class: 'subject' }, this.thread?.subject), h("div", { key: 'e26cddf45f1ff869837184f136ce44225911aca9', class: 'folders' }, this.thread?.folders?.map(folder => h("sp-tag", { size: "s" }, toTitleCase(folder.replace('CATEGORY_', '').replace('_', ' ')))))), h("div", { key: '03d81b5879b0003b991f1b34f78961358008324c', class: "messages" }, fistMessage && (h(ViewThreadMessage, { message: fistMessage, attachments: this.attachments.filter(attachment => attachment.messageId === fistMessage.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement })), remainingMessages.length > 0 && this.messages.length > 1 && !this.showAllEmails && lastTwoMessages.length > 0 && (h(Fragment, null, h("div", { class: 'show-more' }, h("button", { type: "button", onClick: this.onShowAllEmailsClick }, h("span", { class: 'avatar' }, remainingMessages.length), " ", h("span", { class: 'sr-only' }, "Show ", remainingMessages.length, " more emails"))), h("hr", null))), remainingMessages.length > 0 &&
|
|
125
125
|
this.showAllEmails &&
|
|
126
126
|
this.messages.length > 2 &&
|
|
127
127
|
remainingMessages.map(email => (h(ViewThreadMessage, { message: email, attachments: this.attachments.filter(attachment => attachment.messageId === fistMessage?.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }))), lastTwoMessages.length > 0 &&
|
|
@@ -69,7 +69,7 @@ export class NylasLogin {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const splitProviders = this.providers?.split(',') || [];
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'bff99d93c49f3a70e4e8f28ea97082853af37be0' }, this.loginMethod === 'redirect' && (h("div", { class: "redirect-container" }, !this.isAuthenticated && (h("sp-button", { part: "button", onClick: this._handleLoginRedirect }, this.buttonText)))), this.loginMethod === 'emebded' && (h("main", { class: "login-container" }, h("section", { class: "login-box" }, h("header", null, h("img", { src: this.logoUrl, alt: `${this.companyName} logo`, width: '100%', style: {
|
|
73
73
|
minWidth: this.logoWidth,
|
|
74
74
|
} }), h("h1", null, "Welcome")), h("p", null, "Log in to your account to continue to ", this.companyName), h("div", { class: "login-methods" }, splitProviders.includes('google') && (h("button", { class: "login-google", onClick: this._onGoogleButtonClick }, h("svg", { xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "18", height: "18", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 256 262" }, h("path", { fill: "#4285F4", d: "M255.6 131.6c0-8.2-.8-16.2-2.2-23.9H130v45.3h70.3c-3 16.1-12.4 29.7-26.3 38.9v32.4h42.6c25-23 39.4-56.7 39.4-97.7z" }), h("path", { fill: "#34A853", d: "M130 262c35.3 0 64.9-11.7 86.5-31.7l-42.6-32.4c-11.7 7.9-26.7 12.6-43.9 12.6-33.7 0-62.3-22.7-72.5-53.4H14.5v33.3A130.3 130.3 0 00130 262z" }), h("path", { fill: "#FBBC05", d: "M57.5 158.1a72.7 72.7 0 010-54.2V70.6H14.5a130.4 130.4 0 000 120.8l43-33.3z" }), h("path", { fill: "#EA4335", d: "M130 51.6c19 0 36 6.5 49.4 19.2l37-36C195 13.1 165.2 0 130 0A130.3 130.3 0 0014.5 70.6l43 33.3c10.2-30.7 38.8-53.3 72.5-53.3z" })), "Continue with Google")), splitProviders.includes('microsoft') && (h("button", { class: "login-microsoft", onClick: this._onMicrosoftButtonClick }, h("svg", { xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", role: "img", width: "18", height: "18", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 448 512" }, h("path", { fill: "#F3F3F3", d: "M0 32v192h192V32H0zm256 0v192h192V32H256zm192 256v192h-192V288h192zM0 224v192h192V224H0z" })), "Continue with Microsoft"))), h("form", { class: "login-form", method: "POST", onSubmit: this._onFormSubmit }, h("label", { htmlFor: "email" }, "Email"), h("input", { type: "email", id: "email", name: "email", required: true, value: this.email }), h("button", { type: "submit" }, "Next")))))));
|
|
75
75
|
}
|
|
@@ -101,7 +101,7 @@ export class NylasProvider {
|
|
|
101
101
|
return this.baseProvider?.getStore('schedulerConfig');
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'cf7646d512fe6614ad4a73ac63c3581f20af1ab2' }, h("slot", { key: 'bf17dda1b22695e9862a549866fcd140b5d2e0db' })));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "nylas-provider"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css
CHANGED
|
@@ -81,7 +81,7 @@ sp-theme {
|
|
|
81
81
|
.booked-event-header h2 {
|
|
82
82
|
color: var(--nylas-base-600);
|
|
83
83
|
margin-top: 1.5rem;
|
|
84
|
-
margin-bottom: 0.
|
|
84
|
+
margin-bottom: 0.25rem;
|
|
85
85
|
font-size: 1.125rem;
|
|
86
86
|
font-weight: 600;
|
|
87
87
|
}
|
|
@@ -115,11 +115,11 @@ sp-theme {
|
|
|
115
115
|
font-weight: 600;
|
|
116
116
|
line-height: 1.25rem;
|
|
117
117
|
text-align: justify;
|
|
118
|
-
margin-bottom:
|
|
118
|
+
margin-bottom: 4px;
|
|
119
119
|
}
|
|
120
120
|
.booking-date-time p,
|
|
121
121
|
.booking-participants p {
|
|
122
|
-
font-size:
|
|
122
|
+
font-size: 16px;
|
|
123
123
|
margin: 0;
|
|
124
124
|
font-weight: 400;
|
|
125
125
|
text-align: justify;
|
|
@@ -159,6 +159,7 @@ sp-button {
|
|
|
159
159
|
font-size: 16px;
|
|
160
160
|
padding: 8px;
|
|
161
161
|
font-family: var(--nylas-font-family);
|
|
162
|
+
font-weight: 600;
|
|
162
163
|
height: 48px;
|
|
163
164
|
line-height: 24px;
|
|
164
165
|
}
|
|
@@ -201,6 +201,10 @@ input[type=email].error {
|
|
|
201
201
|
border-color: var(--nylas-error);
|
|
202
202
|
border-width: 2px;
|
|
203
203
|
}
|
|
204
|
+
input[type=text].error::placeholder,
|
|
205
|
+
input[type=email].error::placeholder {
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
}
|
|
204
208
|
input[type=text].guest-email,
|
|
205
209
|
input[type=email].guest-email {
|
|
206
210
|
color: var(--nylas-base-900);
|
package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js
CHANGED
|
@@ -54,7 +54,7 @@ export class NylasCancelBookingForm {
|
|
|
54
54
|
debug(`[nylas-cancel-booking-form] Component disconnected`);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '3e77b83049c0b9cd2ed968cc97e665017f76837e', part: "ncec" }, h("sp-theme", { key: '857ac295df09b0f642eb1e9d01021531b935c7ad', theme: "spectrum", scale: "medium" }, h("div", { key: '9f52787bc3efc81618e5eac14219c5674f4efe5a', class: "nylas-cancel-booking-form", part: "ncec__card" }, h("div", { key: '07ddd2cd5664aacf4e123d822bde07af562a8571', class: "nylas-cancel-booking-form__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: '04ccbf1eb7ccd7d9053265e1991f8fd494b7e4ae' })), h("h3", { key: '2fdbd40021dae8eb98e4288793af8719d3cc6226', class: "nylas-cancel-booking-form__title", part: "ncec__title" }, "Cancel booking?"), h("div", { key: '3af3918de0c111bcf90f6ad44a468efdcab185ac', class: "nylas-cancel-booking-form__description", part: "ncec__description" }, "Your current timeslot will become available to others."), h("form", { key: '7e136e261b22e513b395e47dfc2db696aced945f', onSubmit: this.handleSubmitCancelBooking }, h("sp-field-label", { key: 'fa566625fafbc74f98bb7c012dcb1c71093c0227', for: "cancel-reason", class: this.cancellationError ? 'error' : '' }, "Reason for cancellation ", h("span", { key: 'fb567a86677bfc33c63b6118ed9ce71eed7a5084', class: "required" }, "*")), h("sp-textfield", { key: 'c585d1f070700a4ccb39d52fdc7dba764c19d43f', id: "cancel-reason", class: this.cancellationError ? 'error' : '', part: "ncec__reason-textarea", multiline: true, value: this.cancellationReason, onInput: this.handleOnChangeCancellationReason, onFocus: this.handleOnChangeCancellationReason, invalid: !!this.cancellationError }, h("sp-help-text", { key: 'cf6d0e82b648ee662fa9244a793cfcaa64913c4c', slot: "negative-help-text" }, this.cancellationError)), h("sp-button", { key: 'b8e17a34e57faaaa61585ea4beb2205537c38c49', variant: "primary", class: "cancel", type: "submit", part: "ncec__button-cta" }, "Cancel booking"), h("sp-button", { key: 'eafb068d14d0680d8ea5cd7e42fd358d3582e99a', variant: "secondary", class: "back", treatment: "outline", part: "ncec__button-outline", onClick: this.handleGoBackClicked }, "Go back"))))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "nylas-cancel-booking-form"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class NylasCancelledEventCard {
|
|
|
35
35
|
debug(`[nylas-cancelled-event-card] Component disconnected`);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '52b1d729c8df61770be08c165665671f54189c9a', part: "ncec" }, h("sp-theme", { key: '94633560e146be20b9321e9548edb007bf570e1c', theme: "spectrum", color: "dark", scale: "medium" }, h("div", { key: 'a18a0006aa5e84e58daa6f9446e2b85908867196', class: "nylas-cancelled-event-card", part: "ncec__card" }, h("div", { key: '67cc5524db58cb7777feaf9b249070e5d713b17b', class: "nylas-cancelled-event-card__calendar-icon", part: "ncec__icon" }, h("calendar-cancel-icon", { key: '87b0379d4847388505e4f6ddd62d059af9156303' })), h("h3", { key: 'b7d36ece20f5926c8bb2d0e796a35ed44772e8cf', class: "nylas-cancelled-event-card__title", part: "ncec__title" }, "Your booking has been cancelled successfully!"), h("div", { key: '808a6cdf14cec2782990c85e06c23e5b9936bc56', class: "nylas-cancelled-event-card__description", part: "ncec__description" }, "A cancellation email has been sent to the participants."), h("div", { key: 'cfd161ea961c637ab2247a568143e659bfb1b7da', class: "nylas-cancelled-event-card__cta" }, h("sp-button", { key: 'ab549c146571e0dd4e86cce46d9947875794a437', variant: "secondary", treatment: "outline", part: "ncec__button-outline", onClick: this.handleCloseClicked }, "Close"))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "nylas-cancelled-event-card"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
--nylas-border-radius-3x: 0.75rem;
|
|
26
26
|
--nylas-font-family: "Inter", sans-serif;
|
|
27
27
|
}
|
|
28
|
+
@media screen and (max-width: 768px) {
|
|
29
|
+
:host {
|
|
30
|
+
min-height: auto;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
28
33
|
|
|
29
34
|
.nylas-date-picker {
|
|
30
35
|
display: flex;
|
|
@@ -76,7 +81,7 @@
|
|
|
76
81
|
min-height: 2rem;
|
|
77
82
|
cursor: pointer;
|
|
78
83
|
border-radius: var(--nylas-border-radius-2x);
|
|
79
|
-
font-size:
|
|
84
|
+
font-size: 16px;
|
|
80
85
|
font-weight: 600;
|
|
81
86
|
font-family: inherit;
|
|
82
87
|
color: var(--nylas-base-text);
|
|
@@ -84,11 +89,11 @@
|
|
|
84
89
|
cursor: pointer;
|
|
85
90
|
border: none;
|
|
86
91
|
}
|
|
87
|
-
@media screen and (max-width:
|
|
92
|
+
@media screen and (max-width: 412px) {
|
|
88
93
|
.dates .date {
|
|
89
|
-
width:
|
|
90
|
-
height:
|
|
91
|
-
min-width:
|
|
94
|
+
width: 38px;
|
|
95
|
+
height: 38px;
|
|
96
|
+
min-width: none;
|
|
92
97
|
}
|
|
93
98
|
}
|
|
94
99
|
.dates .date:hover:not(:disabled) {
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
cursor: not-allowed;
|
|
113
118
|
}
|
|
114
119
|
.dates .day {
|
|
115
|
-
font-size:
|
|
120
|
+
font-size: 12px;
|
|
116
121
|
color: var(--nylas-base-800);
|
|
117
122
|
font-weight: 600;
|
|
118
123
|
letter-spacing: 0.5px;
|
|
@@ -120,6 +125,11 @@
|
|
|
120
125
|
display: flex;
|
|
121
126
|
align-items: center;
|
|
122
127
|
}
|
|
128
|
+
@media screen and (max-width: 768px) {
|
|
129
|
+
.dates .day {
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
123
133
|
.dates .date.day-skeleton {
|
|
124
134
|
height: 48px;
|
|
125
135
|
width: 48px;
|
|
@@ -127,11 +137,11 @@
|
|
|
127
137
|
animation: pulsate 1.5s infinite ease-in-out;
|
|
128
138
|
background-color: var(--nylas-base-50);
|
|
129
139
|
}
|
|
130
|
-
@media screen and (max-width:
|
|
140
|
+
@media screen and (max-width: 412px) {
|
|
131
141
|
.dates .date.day-skeleton {
|
|
132
|
-
width:
|
|
133
|
-
|
|
134
|
-
|
|
142
|
+
width: 38px;
|
|
143
|
+
height: 38px;
|
|
144
|
+
min-width: none;
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
147
|
.dates .date.current-day::after {
|
|
@@ -34,12 +34,17 @@
|
|
|
34
34
|
border-left: none;
|
|
35
35
|
border-right: none;
|
|
36
36
|
color: var(--nylas-base-50);
|
|
37
|
-
font-size:
|
|
37
|
+
font-size: 14px;
|
|
38
38
|
font-weight: 600;
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
transition: all 0.2s ease-in-out;
|
|
41
41
|
font-family: inherit;
|
|
42
42
|
}
|
|
43
|
+
@media screen and (max-width: 768px) {
|
|
44
|
+
.nylas-locale-switch {
|
|
45
|
+
font-size: 16px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
43
48
|
|
|
44
49
|
.select-wrapper {
|
|
45
50
|
display: flex;
|