@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
|
@@ -21,6 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'nylas-web-elements';
|
|
24
|
+
const BUILD = /* nylas-web-elements */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -31,7 +32,11 @@ const NAMESPACE = 'nylas-web-elements';
|
|
|
31
32
|
* Modified for Stencil's renderer and slot projection
|
|
32
33
|
*/
|
|
33
34
|
let scopeId;
|
|
35
|
+
let contentRef;
|
|
34
36
|
let hostTagName;
|
|
37
|
+
let useNativeShadowDom = false;
|
|
38
|
+
let checkSlotFallbackVisibility = false;
|
|
39
|
+
let checkSlotRelocate = false;
|
|
35
40
|
let isSvgMode = false;
|
|
36
41
|
let renderingRef = null;
|
|
37
42
|
let queuePending = false;
|
|
@@ -114,6 +119,7 @@ function queryNonceMetaTagContent(doc) {
|
|
|
114
119
|
const h = (nodeName, vnodeData, ...children) => {
|
|
115
120
|
let child = null;
|
|
116
121
|
let key = null;
|
|
122
|
+
let slotName = null;
|
|
117
123
|
let simple = false;
|
|
118
124
|
let lastSimple = false;
|
|
119
125
|
const vNodeChildren = [];
|
|
@@ -144,6 +150,9 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
144
150
|
if (vnodeData.key) {
|
|
145
151
|
key = vnodeData.key;
|
|
146
152
|
}
|
|
153
|
+
if (vnodeData.name) {
|
|
154
|
+
slotName = vnodeData.name;
|
|
155
|
+
}
|
|
147
156
|
// normalize class / className attributes
|
|
148
157
|
{
|
|
149
158
|
const classData = vnodeData.className || vnodeData.class;
|
|
@@ -169,6 +178,9 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
169
178
|
{
|
|
170
179
|
vnode.$key$ = key;
|
|
171
180
|
}
|
|
181
|
+
{
|
|
182
|
+
vnode.$name$ = slotName;
|
|
183
|
+
}
|
|
172
184
|
return vnode;
|
|
173
185
|
};
|
|
174
186
|
/**
|
|
@@ -193,6 +205,9 @@ const newVNode = (tag, text) => {
|
|
|
193
205
|
{
|
|
194
206
|
vnode.$key$ = null;
|
|
195
207
|
}
|
|
208
|
+
{
|
|
209
|
+
vnode.$name$ = null;
|
|
210
|
+
}
|
|
196
211
|
return vnode;
|
|
197
212
|
};
|
|
198
213
|
const Host = {};
|
|
@@ -612,16 +627,39 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
612
627
|
let i = 0;
|
|
613
628
|
let elm;
|
|
614
629
|
let childNode;
|
|
630
|
+
let oldVNode;
|
|
631
|
+
if (!useNativeShadowDom) {
|
|
632
|
+
// remember for later we need to check to relocate nodes
|
|
633
|
+
checkSlotRelocate = true;
|
|
634
|
+
if (newVNode.$tag$ === 'slot') {
|
|
635
|
+
if (scopeId) {
|
|
636
|
+
// scoped css needs to add its scoped id to the parent element
|
|
637
|
+
parentElm.classList.add(scopeId + '-s');
|
|
638
|
+
}
|
|
639
|
+
newVNode.$flags$ |= newVNode.$children$
|
|
640
|
+
? // slot element has fallback content
|
|
641
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
642
|
+
: // slot element does not have fallback content
|
|
643
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
615
646
|
if (newVNode.$text$ !== null) {
|
|
616
647
|
// create text node
|
|
617
648
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
618
649
|
}
|
|
650
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
651
|
+
// create a slot reference node
|
|
652
|
+
elm = newVNode.$elm$ =
|
|
653
|
+
doc.createTextNode('');
|
|
654
|
+
}
|
|
619
655
|
else {
|
|
620
656
|
if (!isSvgMode) {
|
|
621
657
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
622
658
|
}
|
|
623
659
|
// create element
|
|
624
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$
|
|
660
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
661
|
+
? 'slot-fb'
|
|
662
|
+
: newVNode.$tag$)
|
|
625
663
|
);
|
|
626
664
|
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
627
665
|
isSvgMode = false;
|
|
@@ -638,7 +676,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
638
676
|
if (newVNode.$children$) {
|
|
639
677
|
for (i = 0; i < newVNode.$children$.length; ++i) {
|
|
640
678
|
// create the node
|
|
641
|
-
childNode = createElm(oldParentVNode, newVNode, i);
|
|
679
|
+
childNode = createElm(oldParentVNode, newVNode, i, elm);
|
|
642
680
|
// return node could have been null
|
|
643
681
|
if (childNode) {
|
|
644
682
|
// append our new node
|
|
@@ -660,8 +698,50 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
660
698
|
// This needs to always happen so we can hide nodes that are projected
|
|
661
699
|
// to another component but don't end up in a slot
|
|
662
700
|
elm['s-hn'] = hostTagName;
|
|
701
|
+
{
|
|
702
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
703
|
+
// remember the content reference comment
|
|
704
|
+
elm['s-sr'] = true;
|
|
705
|
+
// remember the content reference comment
|
|
706
|
+
elm['s-cr'] = contentRef;
|
|
707
|
+
// remember the slot name, or empty string for default slot
|
|
708
|
+
elm['s-sn'] = newVNode.$name$ || '';
|
|
709
|
+
// check if we've got an old vnode for this slot
|
|
710
|
+
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
711
|
+
if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
|
|
712
|
+
{
|
|
713
|
+
// we've got an old slot vnode and the wrapper is being replaced
|
|
714
|
+
// so let's move the old slot content back to its original location
|
|
715
|
+
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
663
720
|
return elm;
|
|
664
721
|
};
|
|
722
|
+
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
723
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
724
|
+
const oldSlotChildNodes = parentElm.childNodes;
|
|
725
|
+
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
726
|
+
const childNode = oldSlotChildNodes[i];
|
|
727
|
+
if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
|
|
728
|
+
// and relocate it back to it's original location
|
|
729
|
+
parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
|
|
730
|
+
// remove the old original location comment entirely
|
|
731
|
+
// later on the patch function will know what to do
|
|
732
|
+
// and move this to the correct spot if need be
|
|
733
|
+
childNode['s-ol'].remove();
|
|
734
|
+
childNode['s-ol'] = undefined;
|
|
735
|
+
// Reset so we can correctly move the node around again.
|
|
736
|
+
childNode['s-sh'] = undefined;
|
|
737
|
+
checkSlotRelocate = true;
|
|
738
|
+
}
|
|
739
|
+
if (recursive) {
|
|
740
|
+
putBackInOriginalLocation(childNode, recursive);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
744
|
+
};
|
|
665
745
|
/**
|
|
666
746
|
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
667
747
|
* add them to the DOM in the appropriate place.
|
|
@@ -678,17 +758,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
678
758
|
* creating DOM nodes (inclusive)
|
|
679
759
|
*/
|
|
680
760
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
681
|
-
let containerElm = (parentElm);
|
|
761
|
+
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
682
762
|
let childNode;
|
|
683
763
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
684
764
|
containerElm = containerElm.shadowRoot;
|
|
685
765
|
}
|
|
686
766
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
687
767
|
if (vnodes[startIdx]) {
|
|
688
|
-
childNode = createElm(null, parentVNode, startIdx);
|
|
768
|
+
childNode = createElm(null, parentVNode, startIdx, parentElm);
|
|
689
769
|
if (childNode) {
|
|
690
770
|
vnodes[startIdx].$elm$ = childNode;
|
|
691
|
-
containerElm.insertBefore(childNode, before);
|
|
771
|
+
containerElm.insertBefore(childNode, referenceNode(before) );
|
|
692
772
|
}
|
|
693
773
|
}
|
|
694
774
|
}
|
|
@@ -711,6 +791,20 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
711
791
|
const elm = vnode.$elm$;
|
|
712
792
|
nullifyVNodeRefs(vnode);
|
|
713
793
|
if (elm) {
|
|
794
|
+
{
|
|
795
|
+
// we're removing this element
|
|
796
|
+
// so it's possible we need to show slot fallback content now
|
|
797
|
+
checkSlotFallbackVisibility = true;
|
|
798
|
+
if (elm['s-ol']) {
|
|
799
|
+
// remove the original location comment
|
|
800
|
+
elm['s-ol'].remove();
|
|
801
|
+
}
|
|
802
|
+
else {
|
|
803
|
+
// it's possible that child nodes of the node
|
|
804
|
+
// that's being removed are slot nodes
|
|
805
|
+
putBackInOriginalLocation(elm, true);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
714
808
|
// remove the vnode's element from the dom
|
|
715
809
|
elm.remove();
|
|
716
810
|
}
|
|
@@ -831,6 +925,23 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = fal
|
|
|
831
925
|
newEndVnode = newCh[--newEndIdx];
|
|
832
926
|
}
|
|
833
927
|
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
928
|
+
// case: "Vnode moved right"
|
|
929
|
+
//
|
|
930
|
+
// We've found that the last node in our window on the new children is
|
|
931
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
932
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
933
|
+
// nodes:
|
|
934
|
+
//
|
|
935
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
936
|
+
// ^^^^^^^^^^^
|
|
937
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
938
|
+
// ^^^^^^^^^^^^^
|
|
939
|
+
//
|
|
940
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
941
|
+
// and move the DOM element for `oldStartVnode`.
|
|
942
|
+
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
943
|
+
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
944
|
+
}
|
|
834
945
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
835
946
|
// We need to move the element for `oldStartVnode` into a position which
|
|
836
947
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
@@ -854,6 +965,24 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = fal
|
|
|
854
965
|
newEndVnode = newCh[--newEndIdx];
|
|
855
966
|
}
|
|
856
967
|
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
968
|
+
// case: "Vnode moved left"
|
|
969
|
+
//
|
|
970
|
+
// We've found that the first node in our window on the new children is
|
|
971
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
972
|
+
// Visually, this is the layout of these two nodes:
|
|
973
|
+
//
|
|
974
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
975
|
+
// ^^^^^^^^^^^^^
|
|
976
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
977
|
+
// ^^^^^^^^^^^
|
|
978
|
+
//
|
|
979
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
980
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
981
|
+
// children etc) but we also need to move the DOM node to which
|
|
982
|
+
// `oldEndVnode` corresponds.
|
|
983
|
+
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
984
|
+
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
985
|
+
}
|
|
857
986
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
858
987
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
859
988
|
// the same node, so since we're here we know that they are not. Thus we
|
|
@@ -888,7 +1017,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = fal
|
|
|
888
1017
|
elmToMove = oldCh[idxInOld];
|
|
889
1018
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
890
1019
|
// the tag doesn't match so we'll need a new DOM element
|
|
891
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
|
|
1020
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
892
1021
|
}
|
|
893
1022
|
else {
|
|
894
1023
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
@@ -904,13 +1033,13 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = fal
|
|
|
904
1033
|
// the key of the first new child OR the build is not using `key`
|
|
905
1034
|
// attributes at all. In either case we need to create a new element
|
|
906
1035
|
// for the new node.
|
|
907
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
|
|
1036
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
908
1037
|
newStartVnode = newCh[++newStartIdx];
|
|
909
1038
|
}
|
|
910
1039
|
if (node) {
|
|
911
1040
|
// if we created a new node then handle inserting it to the DOM
|
|
912
1041
|
{
|
|
913
|
-
oldStartVnode.$elm
|
|
1042
|
+
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
914
1043
|
}
|
|
915
1044
|
}
|
|
916
1045
|
}
|
|
@@ -949,6 +1078,9 @@ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
949
1078
|
// compare if two vnode to see if they're "technically" the same
|
|
950
1079
|
// need to have the same element tag, and same key to be the same
|
|
951
1080
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1081
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
1082
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
1083
|
+
}
|
|
952
1084
|
// this will be set if JSX tags in the build have `key` attrs set on them
|
|
953
1085
|
// we only want to check this if we're not on the first render since on
|
|
954
1086
|
// first render `leftVNode.$key$` will always be `null`, so we can be led
|
|
@@ -961,6 +1093,14 @@ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
961
1093
|
}
|
|
962
1094
|
return false;
|
|
963
1095
|
};
|
|
1096
|
+
const referenceNode = (node) => {
|
|
1097
|
+
// this node was relocated to a new location in the dom
|
|
1098
|
+
// because of some other component's slot
|
|
1099
|
+
// but we still have an html comment in place of where
|
|
1100
|
+
// it's original location was according to it's original vdom
|
|
1101
|
+
return (node && node['s-ol']) || node;
|
|
1102
|
+
};
|
|
1103
|
+
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
964
1104
|
/**
|
|
965
1105
|
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
966
1106
|
* it. This function handles flushing updates to the DOM and reconciling the
|
|
@@ -976,6 +1116,7 @@ const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
|
976
1116
|
const newChildren = newVNode.$children$;
|
|
977
1117
|
const tag = newVNode.$tag$;
|
|
978
1118
|
const text = newVNode.$text$;
|
|
1119
|
+
let defaultHolder;
|
|
979
1120
|
if (text === null) {
|
|
980
1121
|
{
|
|
981
1122
|
// test if we're rendering an svg element, or still rendering nodes inside of one
|
|
@@ -1014,12 +1155,193 @@ const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
|
1014
1155
|
isSvgMode = false;
|
|
1015
1156
|
}
|
|
1016
1157
|
}
|
|
1158
|
+
else if ((defaultHolder = elm['s-cr'])) {
|
|
1159
|
+
// this element has slotted content
|
|
1160
|
+
defaultHolder.parentNode.textContent = text;
|
|
1161
|
+
}
|
|
1017
1162
|
else if (oldVNode.$text$ !== text) {
|
|
1018
1163
|
// update the text content for the text only vnode
|
|
1019
1164
|
// and also only if the text is different than before
|
|
1020
1165
|
elm.data = text;
|
|
1021
1166
|
}
|
|
1022
1167
|
};
|
|
1168
|
+
/**
|
|
1169
|
+
* Adjust the `.hidden` property as-needed on any nodes in a DOM subtree which
|
|
1170
|
+
* are slot fallbacks nodes.
|
|
1171
|
+
*
|
|
1172
|
+
* A slot fallback node should be visible by default. Then, it should be
|
|
1173
|
+
* conditionally hidden if:
|
|
1174
|
+
*
|
|
1175
|
+
* - it has a sibling with a `slot` property set to its slot name or if
|
|
1176
|
+
* - it is a default fallback slot node, in which case we hide if it has any
|
|
1177
|
+
* content
|
|
1178
|
+
*
|
|
1179
|
+
* @param elm the element of interest
|
|
1180
|
+
*/
|
|
1181
|
+
const updateFallbackSlotVisibility = (elm) => {
|
|
1182
|
+
const childNodes = elm.childNodes;
|
|
1183
|
+
for (const childNode of childNodes) {
|
|
1184
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1185
|
+
if (childNode['s-sr']) {
|
|
1186
|
+
// this is a slot fallback node
|
|
1187
|
+
// get the slot name for this slot reference node
|
|
1188
|
+
const slotName = childNode['s-sn'];
|
|
1189
|
+
// by default always show a fallback slot node
|
|
1190
|
+
// then hide it if there are other slots in the light dom
|
|
1191
|
+
childNode.hidden = false;
|
|
1192
|
+
// we need to check all of its sibling nodes in order to see if
|
|
1193
|
+
// `childNode` should be hidden
|
|
1194
|
+
for (const siblingNode of childNodes) {
|
|
1195
|
+
// Don't check the node against itself
|
|
1196
|
+
if (siblingNode !== childNode) {
|
|
1197
|
+
if (siblingNode['s-hn'] !== childNode['s-hn'] || slotName !== '') {
|
|
1198
|
+
// this sibling node is from a different component OR is a named
|
|
1199
|
+
// fallback slot node
|
|
1200
|
+
if (siblingNode.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
|
|
1201
|
+
(slotName === siblingNode.getAttribute('slot') || slotName === siblingNode['s-sn'])) {
|
|
1202
|
+
childNode.hidden = true;
|
|
1203
|
+
break;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
else {
|
|
1207
|
+
// this is a default fallback slot node
|
|
1208
|
+
// any element or text node (with content)
|
|
1209
|
+
// should hide the default fallback slot node
|
|
1210
|
+
if (siblingNode.nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
1211
|
+
(siblingNode.nodeType === 3 /* NODE_TYPE.TextNode */ && siblingNode.textContent.trim() !== '')) {
|
|
1212
|
+
childNode.hidden = true;
|
|
1213
|
+
break;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
// keep drilling down
|
|
1220
|
+
updateFallbackSlotVisibility(childNode);
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* Component-global information about nodes which are either currently being
|
|
1226
|
+
* relocated or will be shortly.
|
|
1227
|
+
*/
|
|
1228
|
+
const relocateNodes = [];
|
|
1229
|
+
/**
|
|
1230
|
+
* Mark the contents of a slot for relocation via adding references to them to
|
|
1231
|
+
* the {@link relocateNodes} data structure. The actual work of relocating them
|
|
1232
|
+
* will then be handled in {@link renderVdom}.
|
|
1233
|
+
*
|
|
1234
|
+
* @param elm a render node whose child nodes need to be relocated
|
|
1235
|
+
*/
|
|
1236
|
+
const markSlotContentForRelocation = (elm) => {
|
|
1237
|
+
// tslint:disable-next-line: prefer-const
|
|
1238
|
+
let node;
|
|
1239
|
+
let hostContentNodes;
|
|
1240
|
+
let j;
|
|
1241
|
+
for (const childNode of elm.childNodes) {
|
|
1242
|
+
// we need to find child nodes which are slot references so we can then try
|
|
1243
|
+
// to match them up with nodes that need to be relocated
|
|
1244
|
+
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
1245
|
+
// first get the content reference comment node ('s-cr'), then we get
|
|
1246
|
+
// its parent, which is where all the host content is now
|
|
1247
|
+
hostContentNodes = node.parentNode.childNodes;
|
|
1248
|
+
const slotName = childNode['s-sn'];
|
|
1249
|
+
// iterate through all the nodes under the location where the host was
|
|
1250
|
+
// originally rendered
|
|
1251
|
+
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1252
|
+
node = hostContentNodes[j];
|
|
1253
|
+
// check that the node is not a content reference node or a node
|
|
1254
|
+
// reference and then check that the host name does not match that of
|
|
1255
|
+
// childNode.
|
|
1256
|
+
// In addition, check that the slot either has not already been relocated, or
|
|
1257
|
+
// that its current location's host is not childNode's host. This is essentially
|
|
1258
|
+
// a check so that we don't try to relocate (and then hide) a node that is already
|
|
1259
|
+
// where it should be.
|
|
1260
|
+
if (!node['s-cn'] &&
|
|
1261
|
+
!node['s-nr'] &&
|
|
1262
|
+
node['s-hn'] !== childNode['s-hn'] &&
|
|
1263
|
+
(!BUILD.experimentalSlotFixes )) {
|
|
1264
|
+
// if `node` is located in the slot that `childNode` refers to (via the
|
|
1265
|
+
// `'s-sn'` property) then we need to relocate it from it's current spot
|
|
1266
|
+
// (under the host element parent) to the right slot location
|
|
1267
|
+
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1268
|
+
// it's possible we've already decided to relocate this node
|
|
1269
|
+
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1270
|
+
// made some changes to slots
|
|
1271
|
+
// let's make sure we also double check
|
|
1272
|
+
// fallbacks are correctly hidden or shown
|
|
1273
|
+
checkSlotFallbackVisibility = true;
|
|
1274
|
+
// ensure that the slot-name attr is correct
|
|
1275
|
+
node['s-sn'] = node['s-sn'] || slotName;
|
|
1276
|
+
if (relocateNodeData) {
|
|
1277
|
+
relocateNodeData.$nodeToRelocate$['s-sh'] = childNode['s-hn'];
|
|
1278
|
+
// we marked this node for relocation previously but didn't find
|
|
1279
|
+
// out the slot reference node to which it needs to be relocated
|
|
1280
|
+
// so write it down now!
|
|
1281
|
+
relocateNodeData.$slotRefNode$ = childNode;
|
|
1282
|
+
}
|
|
1283
|
+
else {
|
|
1284
|
+
node['s-sh'] = childNode['s-hn'];
|
|
1285
|
+
// add to our list of nodes to relocate
|
|
1286
|
+
relocateNodes.push({
|
|
1287
|
+
$slotRefNode$: childNode,
|
|
1288
|
+
$nodeToRelocate$: node,
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
if (node['s-sr']) {
|
|
1292
|
+
relocateNodes.map((relocateNode) => {
|
|
1293
|
+
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
|
|
1294
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1295
|
+
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
1296
|
+
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
1303
|
+
// the node is not found within the slot (`childNode`) that we're
|
|
1304
|
+
// currently looking at, so we stick it into `relocateNodes` to
|
|
1305
|
+
// handle later. If we never find a home for this element then
|
|
1306
|
+
// we'll need to hide it
|
|
1307
|
+
relocateNodes.push({
|
|
1308
|
+
$nodeToRelocate$: node,
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
// if we're dealing with any type of element (capable of itself being a
|
|
1315
|
+
// slot reference or containing one) then we recur
|
|
1316
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1317
|
+
markSlotContentForRelocation(childNode);
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
};
|
|
1321
|
+
/**
|
|
1322
|
+
* Check whether a node is located in a given named slot.
|
|
1323
|
+
*
|
|
1324
|
+
* @param nodeToRelocate the node of interest
|
|
1325
|
+
* @param slotName the slot name to check
|
|
1326
|
+
* @returns whether the node is located in the slot or not
|
|
1327
|
+
*/
|
|
1328
|
+
const isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
1329
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1330
|
+
if (nodeToRelocate.getAttribute('slot') === null && slotName === '') {
|
|
1331
|
+
// if the node doesn't have a slot attribute, and the slot we're checking
|
|
1332
|
+
// is not a named slot, then we assume the node should be within the slot
|
|
1333
|
+
return true;
|
|
1334
|
+
}
|
|
1335
|
+
if (nodeToRelocate.getAttribute('slot') === slotName) {
|
|
1336
|
+
return true;
|
|
1337
|
+
}
|
|
1338
|
+
return false;
|
|
1339
|
+
}
|
|
1340
|
+
if (nodeToRelocate['s-sn'] === slotName) {
|
|
1341
|
+
return true;
|
|
1342
|
+
}
|
|
1343
|
+
return slotName === '';
|
|
1344
|
+
};
|
|
1023
1345
|
/**
|
|
1024
1346
|
* 'Nullify' any VDom `ref` callbacks on a VDom node or its children by calling
|
|
1025
1347
|
* them with `null`. This signals that the DOM element corresponding to the VDom
|
|
@@ -1047,7 +1369,9 @@ const nullifyVNodeRefs = (vNode) => {
|
|
|
1047
1369
|
* @param isInitialLoad whether or not this is the first call after page load
|
|
1048
1370
|
*/
|
|
1049
1371
|
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1372
|
+
var _a, _b, _c, _d;
|
|
1050
1373
|
const hostElm = hostRef.$hostElement$;
|
|
1374
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1051
1375
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1052
1376
|
// if `renderFnResults` is a Host node then we can use it directly. If not,
|
|
1053
1377
|
// we need to call `h` again to wrap the children of our component in a
|
|
@@ -1084,8 +1408,112 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1084
1408
|
{
|
|
1085
1409
|
scopeId = hostElm['s-sc'];
|
|
1086
1410
|
}
|
|
1411
|
+
{
|
|
1412
|
+
contentRef = hostElm['s-cr'];
|
|
1413
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
1414
|
+
// always reset
|
|
1415
|
+
checkSlotFallbackVisibility = false;
|
|
1416
|
+
}
|
|
1087
1417
|
// synchronous patch
|
|
1088
1418
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1419
|
+
{
|
|
1420
|
+
// while we're moving nodes around existing nodes, temporarily disable
|
|
1421
|
+
// the disconnectCallback from working
|
|
1422
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1423
|
+
if (checkSlotRelocate) {
|
|
1424
|
+
markSlotContentForRelocation(rootVnode.$elm$);
|
|
1425
|
+
for (const relocateData of relocateNodes) {
|
|
1426
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1427
|
+
if (!nodeToRelocate['s-ol']) {
|
|
1428
|
+
// add a reference node marking this node's original location
|
|
1429
|
+
// keep a reference to this node for later lookups
|
|
1430
|
+
const orgLocationNode = doc.createTextNode('');
|
|
1431
|
+
orgLocationNode['s-nr'] = nodeToRelocate;
|
|
1432
|
+
nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
for (const relocateData of relocateNodes) {
|
|
1436
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1437
|
+
const slotRefNode = relocateData.$slotRefNode$;
|
|
1438
|
+
if (slotRefNode) {
|
|
1439
|
+
const parentNodeRef = slotRefNode.parentNode;
|
|
1440
|
+
// When determining where to insert content, the most simple case would be
|
|
1441
|
+
// to relocate the node immediately following the slot reference node. We do this
|
|
1442
|
+
// by getting a reference to the node immediately following the slot reference node
|
|
1443
|
+
// since we will use `insertBefore` to manipulate the DOM.
|
|
1444
|
+
//
|
|
1445
|
+
// If there is no node immediately following the slot reference node, then we will just
|
|
1446
|
+
// end up appending the node as the last child of the parent.
|
|
1447
|
+
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1448
|
+
// If the node we're currently planning on inserting the new node before is an element,
|
|
1449
|
+
// we need to do some additional checks to make sure we're inserting the node in the correct order.
|
|
1450
|
+
// The use case here would be that we have multiple nodes being relocated to the same slot. So, we want
|
|
1451
|
+
// to make sure they get inserted into their new how in the same order they were declared in their original location.
|
|
1452
|
+
//
|
|
1453
|
+
// TODO(STENCIL-914): Remove `experimentalSlotFixes` check
|
|
1454
|
+
{
|
|
1455
|
+
let orgLocationNode = (_a = nodeToRelocate['s-ol']) === null || _a === void 0 ? void 0 : _a.previousSibling;
|
|
1456
|
+
while (orgLocationNode) {
|
|
1457
|
+
let refNode = (_b = orgLocationNode['s-nr']) !== null && _b !== void 0 ? _b : null;
|
|
1458
|
+
if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
|
|
1459
|
+
refNode = refNode.nextSibling;
|
|
1460
|
+
if (!refNode || !refNode['s-nr']) {
|
|
1461
|
+
insertBeforeNode = refNode;
|
|
1462
|
+
break;
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
orgLocationNode = orgLocationNode.previousSibling;
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1469
|
+
nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1470
|
+
// we've checked that it's worth while to relocate
|
|
1471
|
+
// since that the node to relocate
|
|
1472
|
+
// has a different next sibling or parent relocated
|
|
1473
|
+
if (nodeToRelocate !== insertBeforeNode) {
|
|
1474
|
+
if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
|
|
1475
|
+
// probably a component in the index.html that doesn't have its hostname set
|
|
1476
|
+
nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
|
|
1477
|
+
}
|
|
1478
|
+
// Add it back to the dom but in its new home
|
|
1479
|
+
// If we get to this point and `insertBeforeNode` is `null`, that means
|
|
1480
|
+
// we're just going to append the node as the last child of the parent. Passing
|
|
1481
|
+
// `null` as the second arg here will trigger that behavior.
|
|
1482
|
+
parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
|
|
1483
|
+
// Reset the `hidden` value back to what it was defined as originally
|
|
1484
|
+
// This solves a problem where a `slot` is dynamically rendered and `hidden` may have
|
|
1485
|
+
// been set on content originally, but now it has a slot to go to so it should have
|
|
1486
|
+
// the value it was defined as having in the DOM, not what we overrode it to.
|
|
1487
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1488
|
+
nodeToRelocate.hidden = (_c = nodeToRelocate['s-ih']) !== null && _c !== void 0 ? _c : false;
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
else {
|
|
1494
|
+
// this node doesn't have a slot home to go to, so let's hide it
|
|
1495
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1496
|
+
// Store the initial value of `hidden` so we can reset it later when
|
|
1497
|
+
// moving nodes around.
|
|
1498
|
+
if (isInitialLoad) {
|
|
1499
|
+
nodeToRelocate['s-ih'] = (_d = nodeToRelocate.hidden) !== null && _d !== void 0 ? _d : false;
|
|
1500
|
+
}
|
|
1501
|
+
nodeToRelocate.hidden = true;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
if (checkSlotFallbackVisibility) {
|
|
1507
|
+
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1508
|
+
}
|
|
1509
|
+
// done moving nodes around
|
|
1510
|
+
// allow the disconnect callback to work again
|
|
1511
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1512
|
+
// always reset
|
|
1513
|
+
relocateNodes.length = 0;
|
|
1514
|
+
}
|
|
1515
|
+
// Clear the content ref so we don't create a memory leak
|
|
1516
|
+
contentRef = undefined;
|
|
1089
1517
|
};
|
|
1090
1518
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1091
1519
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
@@ -1690,6 +2118,16 @@ const connectedCallback = (elm) => {
|
|
|
1690
2118
|
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1691
2119
|
// first time this component has connected
|
|
1692
2120
|
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
2121
|
+
{
|
|
2122
|
+
// initUpdate
|
|
2123
|
+
// if the slot polyfill is required we'll need to put some nodes
|
|
2124
|
+
// in here to act as original content anchors as we move nodes around
|
|
2125
|
+
// host element has been connected to the DOM
|
|
2126
|
+
if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
2127
|
+
cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
2128
|
+
setContentReference(elm);
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
1693
2131
|
{
|
|
1694
2132
|
// find the first ancestor component (if there is one) and register
|
|
1695
2133
|
// this component as one of the actively loading child components for its ancestor
|
|
@@ -1736,6 +2174,17 @@ const connectedCallback = (elm) => {
|
|
|
1736
2174
|
endConnected();
|
|
1737
2175
|
}
|
|
1738
2176
|
};
|
|
2177
|
+
const setContentReference = (elm) => {
|
|
2178
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
2179
|
+
// or this browser doesn't support native shadow dom
|
|
2180
|
+
// and this host element was NOT created with SSR
|
|
2181
|
+
// let's pick out the inner content for slot projection
|
|
2182
|
+
// create a node to represent where the original
|
|
2183
|
+
// content was first placed, which is useful later on
|
|
2184
|
+
const contentRefElm = (elm['s-cr'] = doc.createComment(''));
|
|
2185
|
+
contentRefElm['s-cn'] = true;
|
|
2186
|
+
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
2187
|
+
};
|
|
1739
2188
|
const disconnectInstance = (instance) => {
|
|
1740
2189
|
{
|
|
1741
2190
|
safeCall(instance, 'disconnectedCallback');
|
|
@@ -2011,10 +2460,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2011
2460
|
}
|
|
2012
2461
|
switch(bundleId) {
|
|
2013
2462
|
|
|
2014
|
-
case 'nylas-if-state_3.cjs':
|
|
2015
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2016
|
-
/* webpackMode: "lazy" */
|
|
2017
|
-
'./nylas-if-state_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2018
2463
|
case 'document-refresh-icon.cjs':
|
|
2019
2464
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2020
2465
|
/* webpackMode: "lazy" */
|
|
@@ -2023,6 +2468,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2023
2468
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2024
2469
|
/* webpackMode: "lazy" */
|
|
2025
2470
|
'./nylas-additional-participants.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2471
|
+
case 'nylas-if-state.cjs':
|
|
2472
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2473
|
+
/* webpackMode: "lazy" */
|
|
2474
|
+
'./nylas-if-state.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2026
2475
|
case 'nylas-list-folders.cjs':
|
|
2027
2476
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2028
2477
|
/* webpackMode: "lazy" */
|
|
@@ -2031,6 +2480,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2031
2480
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2032
2481
|
/* webpackMode: "lazy" */
|
|
2033
2482
|
'./nylas-list-threads.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2483
|
+
case 'nylas-login.cjs':
|
|
2484
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2485
|
+
/* webpackMode: "lazy" */
|
|
2486
|
+
'./nylas-login.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2487
|
+
case 'nylas-mailbox.cjs':
|
|
2488
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2489
|
+
/* webpackMode: "lazy" */
|
|
2490
|
+
'./nylas-mailbox.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2034
2491
|
case 'nylas-mailbox-pagination.cjs':
|
|
2035
2492
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2036
2493
|
/* webpackMode: "lazy" */
|
|
@@ -2079,26 +2536,26 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2079
2536
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2080
2537
|
/* webpackMode: "lazy" */
|
|
2081
2538
|
'./forward-icon_6.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2082
|
-
case '
|
|
2539
|
+
case 'google-logo-icon_3.cjs':
|
|
2083
2540
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2084
2541
|
/* webpackMode: "lazy" */
|
|
2085
|
-
'./
|
|
2086
|
-
case 'nylas-
|
|
2542
|
+
'./google-logo-icon_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2543
|
+
case 'nylas-booked-event-card_10.cjs':
|
|
2087
2544
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2088
2545
|
/* webpackMode: "lazy" */
|
|
2089
|
-
'./nylas-
|
|
2546
|
+
'./nylas-booked-event-card_10.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2090
2547
|
case 'bold-icon_3.cjs':
|
|
2091
2548
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2092
2549
|
/* webpackMode: "lazy" */
|
|
2093
2550
|
'./bold-icon_3.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2094
|
-
case '
|
|
2551
|
+
case 'add-circle-icon_22.cjs':
|
|
2095
2552
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2096
2553
|
/* webpackMode: "lazy" */
|
|
2097
|
-
'./
|
|
2098
|
-
case '
|
|
2554
|
+
'./add-circle-icon_22.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2555
|
+
case 'calendar-check-icon_2.cjs':
|
|
2099
2556
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2100
2557
|
/* webpackMode: "lazy" */
|
|
2101
|
-
'./
|
|
2558
|
+
'./calendar-check-icon_2.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2102
2559
|
case 'play-icon_2.cjs':
|
|
2103
2560
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2104
2561
|
/* webpackMode: "lazy" */
|
|
@@ -2123,6 +2580,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2123
2580
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2124
2581
|
/* webpackMode: "lazy" */
|
|
2125
2582
|
'./calendar-icon.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2583
|
+
case 'time-period-selector.cjs':
|
|
2584
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2585
|
+
/* webpackMode: "lazy" */
|
|
2586
|
+
'./time-period-selector.cjs.entry.js')); }).then(processMod, consoleError);
|
|
2126
2587
|
case 'nylas-form-card.cjs':
|
|
2127
2588
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
2128
2589
|
/* webpackMode: "lazy" */
|
|
@@ -2250,4 +2711,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
2250
2711
|
exports.registerInstance = registerInstance;
|
|
2251
2712
|
exports.setNonce = setNonce;
|
|
2252
2713
|
|
|
2253
|
-
//# sourceMappingURL=index-
|
|
2714
|
+
//# sourceMappingURL=index-7af03e3f.js.map
|