@nylas/web-elements 2.0.6 → 2.1.0
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/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +212 -212
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1044 -1044
- package/dist/cjs/{abstract-provider-b37458c4.js → abstract-provider-85a616a9.js} +2 -2
- package/dist/cjs/{abstract-provider-b37458c4.js.map → abstract-provider-85a616a9.js.map} +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_37.cjs.entry.js +55 -55
- package/dist/cjs/calendar-agenda-fill-icon_37.cjs.entry.js.map +1 -1
- package/dist/cjs/checkbox-group_4.cjs.entry.js +3 -3
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +2 -2
- package/dist/cjs/{customParseFormat-61a3a302.js → customParseFormat-dc3b45aa.js} +2 -2
- package/dist/cjs/{customParseFormat-61a3a302.js.map → customParseFormat-dc3b45aa.js.map} +1 -1
- package/dist/cjs/{feedbackSync-2c4d37fe.js → feedbackSync-eaa01d21.js} +2 -2
- package/dist/cjs/feedbackSync-eaa01d21.js.map +1 -0
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +18 -18
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{index.es-e4fc6d92.js → index.es-a962dedb.js} +2 -2
- package/dist/cjs/{index.es-e4fc6d92.js.map → index.es-a962dedb.js.map} +1 -1
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{nylas-api-request-5b2f7ec0.js → nylas-api-request-d263af93.js} +2 -2
- package/dist/cjs/{nylas-api-request-5b2f7ec0.js.map → nylas-api-request-d263af93.js.map} +1 -1
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +2 -2
- package/dist/cjs/nylas-date-component_2.cjs.entry.js +2 -2
- package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
- package/dist/cjs/nylas-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +6 -6
- package/dist/cjs/nylas-scheduling.cjs.entry.js +8 -8
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/{register-component-8a9c40ee.js → register-component-2eefbf66.js} +2 -2
- package/dist/cjs/{register-component-8a9c40ee.js.map → register-component-2eefbf66.js.map} +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/{utils-c923f1a8.js → utils-e37da320.js} +113 -113
- package/dist/cjs/{utils-c923f1a8.js.map → utils-e37da320.js.map} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +10 -10
- 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/test/nylas-editor-tabs.spec.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +18 -18
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.css → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.css} +46 -46
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.js → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js} +41 -41
- package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js.map +1 -0
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/test/nylas-specific-date-availability-picker.spec.js → nylas-specific-time-availability-picker/test/nylas-specific-time-availability-picker.spec.js} +48 -48
- package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/test/nylas-specific-time-availability-picker.spec.js.map +1 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group2.js +2 -2
- package/dist/components/nylas-editor-tabs2.js +15 -15
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-participants-custom-availability2.js +21 -21
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +5 -5
- package/dist/components/nylas-scheduling.js +4 -4
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-specific-time-availability-picker.d.ts +11 -0
- package/dist/components/nylas-specific-time-availability-picker.js +8 -0
- package/dist/components/nylas-specific-time-availability-picker.js.map +1 -0
- package/dist/components/{nylas-specific-date-availability-picker2.js → nylas-specific-time-availability-picker2.js} +41 -41
- package/dist/components/nylas-specific-time-availability-picker2.js.map +1 -0
- package/dist/components/utils.js +112 -112
- package/dist/esm/{abstract-provider-45ada3b4.js → abstract-provider-a502b54d.js} +2 -2
- package/dist/esm/{abstract-provider-45ada3b4.js.map → abstract-provider-a502b54d.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_37.entry.js +55 -55
- package/dist/esm/calendar-agenda-fill-icon_37.entry.js.map +1 -1
- package/dist/esm/checkbox-group_4.entry.js +3 -3
- package/dist/esm/checkmark-icon_15.entry.js +2 -2
- package/dist/esm/{customParseFormat-eeec04f5.js → customParseFormat-b5d95b34.js} +2 -2
- package/dist/esm/{customParseFormat-eeec04f5.js.map → customParseFormat-b5d95b34.js.map} +1 -1
- package/dist/esm/{feedbackSync-0ebd0eda.js → feedbackSync-92220b42.js} +2 -2
- package/dist/esm/feedbackSync-92220b42.js.map +1 -0
- package/dist/esm/google-logo-icon_6.entry.js +18 -18
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/{index.es-57d4a08f.js → index.es-488bc919.js} +2 -2
- package/dist/esm/{index.es-57d4a08f.js.map → index.es-488bc919.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown_2.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/{nylas-api-request-ad1909c6.js → nylas-api-request-9f7ac6c5.js} +2 -2
- package/dist/esm/{nylas-api-request-ad1909c6.js.map → nylas-api-request-9f7ac6c5.js.map} +1 -1
- package/dist/esm/nylas-booked-event-card_11.entry.js +2 -2
- package/dist/esm/nylas-date-component_2.entry.js +2 -2
- package/dist/esm/nylas-form-card.entry.js +2 -2
- package/dist/esm/nylas-notification_2.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +6 -6
- package/dist/esm/nylas-scheduling.entry.js +8 -8
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/{register-component-0aad9e3d.js → register-component-3acd57e7.js} +2 -2
- package/dist/esm/{register-component-0aad9e3d.js.map → register-component-3acd57e7.js.map} +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/{utils-d3c0b941.js → utils-31933f5d.js} +113 -113
- package/dist/esm/{utils-d3c0b941.js.map → utils-31933f5d.js.map} +1 -1
- package/dist/nylas-web-elements/index.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-3216af1e.entry.js → p-20f50696.entry.js} +2 -2
- package/dist/nylas-web-elements/p-341f1a4c.entry.js +2 -0
- package/dist/nylas-web-elements/p-341f1a4c.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-1591deba.js → p-34c9fc7d.js} +2 -2
- package/dist/nylas-web-elements/{p-38fa873f.js → p-3524dab1.js} +2 -2
- package/dist/nylas-web-elements/p-3524dab1.js.map +1 -0
- package/dist/nylas-web-elements/{p-d45012f2.js → p-438d4542.js} +2 -2
- package/dist/nylas-web-elements/{p-21ab4e47.entry.js → p-536c5ef3.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a4678661.entry.js → p-5a6c2efd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-66a89e65.js +14 -0
- package/dist/nylas-web-elements/{p-17c5fb16.js.map → p-66a89e65.js.map} +1 -1
- package/dist/nylas-web-elements/{p-88e68e14.entry.js → p-6adb19cf.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8937a53f.entry.js → p-6bda61cf.entry.js} +3 -3
- package/dist/nylas-web-elements/p-6bda61cf.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-30d92734.entry.js → p-7c02e476.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8072aa07.js → p-803a1695.js} +2 -2
- package/dist/nylas-web-elements/{p-186bbd43.entry.js → p-81925b89.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-186bbd43.entry.js.map → p-81925b89.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-855fe5b3.entry.js → p-83d2ff21.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f83aa456.entry.js → p-8673dcf1.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-24c390bd.js → p-86e217f4.js} +2 -2
- package/dist/nylas-web-elements/{p-d0f51520.entry.js → p-8d5efa5e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0271cef3.entry.js → p-d7323440.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-59ff0231.entry.js → p-da25d877.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f0e1688e.js → p-e42db60f.js} +2 -2
- package/dist/nylas-web-elements/{p-c11e1016.entry.js → p-ff122d1e.entry.js} +2 -2
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +5 -5
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +3 -3
- package/dist/types/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.d.ts → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.d.ts} +7 -7
- package/dist/types/components.d.ts +19 -19
- package/dist/types/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cjs/feedbackSync-2c4d37fe.js.map +0 -1
- package/dist/collection/components/scheduler-editor/nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.js.map +0 -1
- package/dist/collection/components/scheduler-editor/nylas-specific-date-availability-picker/test/nylas-specific-date-availability-picker.spec.js.map +0 -1
- package/dist/components/nylas-specific-date-availability-picker.d.ts +0 -11
- package/dist/components/nylas-specific-date-availability-picker.js +0 -8
- package/dist/components/nylas-specific-date-availability-picker.js.map +0 -1
- package/dist/components/nylas-specific-date-availability-picker2.js.map +0 -1
- package/dist/esm/feedbackSync-0ebd0eda.js.map +0 -1
- package/dist/nylas-web-elements/p-17c5fb16.js +0 -14
- package/dist/nylas-web-elements/p-38fa873f.js.map +0 -1
- package/dist/nylas-web-elements/p-3ddcb355.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ddcb355.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-8937a53f.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-3216af1e.entry.js.map → p-20f50696.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-1591deba.js.map → p-34c9fc7d.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d45012f2.js.map → p-438d4542.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-21ab4e47.entry.js.map → p-536c5ef3.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a4678661.entry.js.map → p-5a6c2efd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-88e68e14.entry.js.map → p-6adb19cf.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-30d92734.entry.js.map → p-7c02e476.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8072aa07.js.map → p-803a1695.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-855fe5b3.entry.js.map → p-83d2ff21.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f83aa456.entry.js.map → p-8673dcf1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-24c390bd.js.map → p-86e217f4.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d0f51520.entry.js.map → p-8d5efa5e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0271cef3.entry.js.map → p-d7323440.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-59ff0231.entry.js.map → p-da25d877.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f0e1688e.js.map → p-e42db60f.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c11e1016.entry.js.map → p-ff122d1e.entry.js.map} +0 -0
|
@@ -16,7 +16,7 @@ const patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
18
|
globalScripts();
|
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor\",[[1,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040],\"nylasSessionsConfig\":[16],\"defaultAuthArgs\":[16],\"eventOverrides\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16],\"mode\":[1],\"additionalParticipants\":[16],\"hideEditorTabs\":[16],\"conferenceProviders\":[16],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"experimentalFeatures\":[16],\"enableEventTypes\":[16],\"themeConfig\":[16],\"automaticComponentRegistration\":[32],\"selectedLanguage\":[32],\"langVersion\":[32],\"version\":[32],\"store\":[64],\"schedulerConnector\":[64]},[[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"configurationId\":[\"configurationIdChanged\"],\"localization\":[\"updateLocalization\"],\"nylasBranding\":[\"updateNylasBranding\"],\"experimentalFeatures\":[\"updateExperimentalFeatures\"],\"enableEventTypes\":[\"updateEnableEventTypes\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"nylas-scheduling\",[[1,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16],\"rescheduleBookingRef\":[1,\"reschedule-booking-ref\"],\"cancelBookingRef\":[1,\"cancel-booking-ref\"],\"organizerConfirmationBookingRef\":[1,\"organizer-confirmation-booking-ref\"],\"configurationId\":[1,\"configuration-id\"],\"slug\":[1],\"clientId\":[1,\"client-id\"],\"nylasBranding\":[4,\"nylas-branding\"],\"eventOverrides\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"localization\":[16],\"defaultLanguage\":[1,\"default-language\"],\"showNotification\":[4,\"show-notification\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"hour12\":[4,\"hour-1-2\"],\"automaticComponentRegistration\":[32],\"selectedDateLabel\":[32],\"refConfigId\":[32],\"language\":[32],\"showFeedbackModal\":[32],\"bookingInfoConfirmed\":[32],\"version\":[32],\"getNylasSchedulerStore\":[64],\"getNylasSchedulerConnector\":[64],\"getRef\":[64]},[[0,\"languageChanged\",\"languageChanged\"],[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"monthChanged\",\"monthChangedHandler\"],[0,\"detailsConfirmed\",\"bookButtonClickedHandler\"],[0,\"dateSelected\",\"dateSelectedHandler\"],[0,\"cancelBookedEventError\",\"cancelBookedEventErrorHandler\"],[0,\"cancelBookedEventValidationError\",\"cancelBookedEventValidationErrorHandler\"],[0,\"rescheduleBookedEventError\",\"rescheduleBookedEventErrorHandler\"],[0,\"confirmBookingError\",\"confirmBookingErrorHandler\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"validateTimeslotError\",\"eventIsFullHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"bookingInfo\":[\"bookingInfoChanged\"],\"rescheduleBookingRef\":[\"rescheduleBookingRefChanged\"],\"cancelBookingRef\":[\"cancelBookingRefChanged\"],\"organizerConfirmationBookingRef\":[\"organizerConfirmationBookingRefChanged\"],\"localization\":[\"localizationChanged\"],\"defaultLanguage\":[\"defaultLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"archive-icon\",[[2,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon\",[[2,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon\",[[2,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon\",[[2,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon\",[[2,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon\",[[2,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon\",[[2,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon\",[[2,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon\",[[2,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon\",[[2,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon\",[[2,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon\",[[2,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon\",[[2,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon\",[[2,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon\",[[2,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon\",[[2,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon\",[[2,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon\",[[2,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-circle-icon\",[[2,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon\",[[2,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon\",[[2,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon\",[[2,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon\",[[2,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group\",[[1,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"toggle-switch\",[[1,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"themeConfig\":[16],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"translate-icon\",[[2,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon\",[[2,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"textarea-component\",[[1,\"textarea-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"maxLength\":[2,\"max-length\"],\"type\":[1],\"tooltip\":[1],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]],{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"checkbox-component\",[[1,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-form-card\",[[70,\"nylas-form-card\",{\"themeConfig\":[16]},null,{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"add-circle-icon_2\",[[2,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[2,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"multi-select-dropdown\",[[1,\"multi-select-dropdown\",{\"name\":[1],\"label\":[1],\"options\":[16],\"error\":[1025],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"multipleOptionsSelectedLabel\":[1,\"multiple-options-selected-label\"],\"selectAtLeastOneOptionLabel\":[1,\"select-at-least-one-option-label\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"globe-icon\",[[2,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"input-component\",[[1,\"input-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"type\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"maxValue\":[2,\"max-value\"],\"minValue\":[2,\"min-value\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"google-meet-icon_5\",[[2,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[2,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3\",[[1,\"select-dropdown\",{\"name\":[1],\"options\":[16],\"defaultSelectedOption\":[16],\"withSearch\":[4,\"with-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"dropdownButtonText\":[1,\"dropdown-button-text\"],\"withChevron\":[4,\"with-chevron\"],\"emptyValue\":[1,\"empty-value\"],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16],\"selectedOption\":[32],\"isOpen\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"],[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultSelectedOption\":[\"defaultSelectedOptionChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"search-icon\",{\"width\":[1],\"height\":[1]}],[2,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15\",[[65,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16],\"conferenceProviders\":[16],\"selectedConfiguration\":[16],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"participantOptions\":[16],\"eventParticipants\":[16],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"participants\":[32],\"participantErrors\":[32],\"includeOrganizerAsParticipant\":[32],\"isRoundRobinConfig\":[32],\"error\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"inputOptionChanged\",\"onInputOptionChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUser\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[65,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-description\",{\"selectedConfiguration\":[16],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16],\"description\":[32],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"additionalFieldTokens\":[32]},[[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-title\",{\"selectedConfiguration\":[16],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"configEventTitle\":[32],\"additionalFieldTokens\":[32]},[[8,\"formSubmitted\",\"formSubmittedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"ariaActivedescendant\":[\"ariaActivedescendantChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[65,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[2,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[2,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[2,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[2,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[2,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4\",[[65,\"nylas-event-calendar\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16],\"currentUser\":[16],\"calendars\":[16],\"masterGroupEvents\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"selectedView\":[32],\"events\":[32],\"calendar\":[32],\"selectedEvent\":[32],\"selectedDateRangeString\":[32],\"showEditEventDetails\":[32],\"showCreateEventDetails\":[32],\"editOptionChoices\":[32],\"updateOptionChoices\":[32],\"deleteOptionChoices\":[32],\"editOptions\":[32],\"showEditOptions\":[32],\"updateOptions\":[32],\"showUpdateOptions\":[32],\"deleteOptions\":[32],\"showDeleteOptions\":[32],\"unsavedChanges\":[32],\"showConfirmDiscardUnsavedChangesModal\":[32],\"createNewGroupEventTimeslot\":[32],\"formError\":[32],\"formErrors\":[32],\"loadingOptions\":[32],\"showChooseParticipantsModal\":[32],\"importParticipants\":[32],\"selectedImportParticipants\":[32],\"showAllEvents\":[32]},[[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"timeWindowFormError\",\"timeWindowFormErrorHandler\"],[0,\"dateTimeInputError\",\"dateTimeInputErrorHandler\"],[4,\"saveGroupEventChangesError\",\"saveGroupEventChangesErrorHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasCheckboxGroupChanged\",\"nylasCheckboxGroupChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"groupEvents\":[\"groupEventsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[65,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16],\"themeConfig\":[16],\"selectedDate\":[32],\"selectedStartTime\":[32],\"selectedEndTime\":[32],\"selectedTimezone\":[32],\"selectedRecurrenceType\":[32],\"timeRangeError\":[32],\"selectedRrule\":[32],\"recurrenceOptions\":[32],\"repeatEveryInterval\":[32],\"repeatEveryFrequency\":[32],\"repeatOnDays\":[32],\"repeatMonthlySameDate\":[32],\"repeatEndType\":[32],\"repeatEndAfter\":[32],\"repeatEndOn\":[32],\"monthRecurrenceOptions\":[32],\"endDate\":[32],\"hasDateTimeInputError\":[32]},[[0,\"timeChange\",\"setTime\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"themeConfig\":[16],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-notification_2\",[[1,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[2,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-date-component_2\",[[1,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"themeConfig\":[16],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"time\":[\"timeChangedHandler\"],\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-date-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"errorMessage\":[1,\"error-message\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-dropdown_2\",[[2,\"time-period-selector\",{\"themeConfig\":[16],\"timePeriods\":[16],\"defaultSelectedPeriod\":[1,\"default-selected-period\"],\"defaultSelectedNumber\":[2,\"default-selected-number\"],\"hasError\":[4,\"has-error\"],\"selectedPeriod\":[32],\"selectedNumber\":[32],\"numberOptions\":[32],\"timePeriodOptions\":[32]},[[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"defaultSelectedPeriod\":[\"defaultSelectedPeriodChanged\"],\"defaultSelectedNumber\":[\"defaultSelectedNumberChanged\"],\"timePeriods\":[\"timePeriodsChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"themeConfig\":[16],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"clock-icon_4\",[[2,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[2,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[2,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[2,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2\",[[6,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"mouseOverHandler\":[16],\"mouseOutHandler\":[16],\"focusHandler\":[16],\"blurHandler\":[16]}],[1,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2\",[[1,\"tooltip-component\",{\"position\":[1]}],[2,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_37\",[[65,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedParticipants\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-buffer-time\",{\"selectedConfiguration\":[16],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-duration\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[2,\"people-icon\",{\"width\":[1],\"height\":[1]}],[65,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16],\"eventReminders\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16],\"confirmationEmailTemplate\":[16],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"confirmationEmail\":[32],\"isConfirmationEmailOpen\":[32],\"participantsState\":[32],\"invalidImageErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"nylasFormInputImageUrlInvalid\",\"nylasFormInputImageUrlInvalidHandler\"],[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"nylasBranding\":[\"nylasBrandingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16],\"name\":[1],\"additionalFields\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"staticFields\":[32],\"formFields\":[32],\"formFieldsOrder\":[32],\"count\":[32],\"watchFields\":[32],\"fieldTypes\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"openHours\":[16],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32],\"timeWindowErrors\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"openHours\":[\"openHoursChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-disable-emails\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-specific-date-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"specificDateOpenHours\":[16],\"themeConfig\":[16],\"specificDateEntries\":[32],\"validationErrors\":[32]},[[0,\"timeChange\",\"handleTimeChange\"],[0,\"timeWindowFormError\",\"setFormError\"],[0,\"nylasFormInputChanged\",\"handleFormInputChange\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"currentRedirectUrl\":[32],\"acceptUrl\":[32],\"componentLoaded\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[4,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"urlSlug\":[32],\"focus\":[32],\"copied\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"nylasFormInputFocused\",\"nylasFormInputFocusHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[8,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16],\"name\":[1],\"participantOptions\":[16],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16],\"calendars\":[16],\"defaultSelectedCalendars\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-page-name\",{\"selectedConfiguration\":[16],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"themeConfig\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16],\"defaultHideAdditionalGuests\":[4,\"default-hide-additional-guests\"],\"defaultHideCancellationOptions\":[4,\"default-hide-cancellation-options\"],\"defaultHideReschedulingOptions\":[4,\"default-hide-rescheduling-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"showSettings\":[16],\"themeConfig\":[16],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxChanged\",\"nylasFormCheckboxChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-page-styling\",{\"selectedConfiguration\":[16],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[2,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6\",[[6,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"themeConfig\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"loaded\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[6,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16],\"themeConfig\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"componentLoaded\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"importGroupEvent\",\"importGroupEventHandler\"],[0,\"saveGroupEventChanges\",\"saveGroupEventChangesHandler\"],[0,\"deleteGroupEvent\",\"deleteGroupEventHandler\"],[0,\"createGroupEvent\",\"createGroupEventHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedGroupEvent\":[\"selectedGroupEventChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"themeConfig\":[16],\"state\":[32],\"error\":[32],\"currentCursor\":[32],\"previousCursors\":[32],\"disableNextPageButton\":[32],\"deleteConfigurationId\":[32],\"showDeleteButtonLoading\":[32],\"editButtonLoadingId\":[32],\"registerCallback\":[64],\"getState\":[64],\"setState\":[64],\"setError\":[64],\"hideDeleteConfirmation\":[64],\"hideEditButtonLoading\":[64]},[[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"]],{\"listConfigurationsNextCursor\":[\"listConfigurationsNextCursorChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-select-event-type\",{\"participantOptions\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16],\"themeConfig\":[16]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11\",[[1,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16],\"eventInfo\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"name\":[32],\"email\":[32],\"guestEmails\":[32],\"guestEmailErrors\":[32],\"isNameValid\":[32],\"isEmailValid\":[32],\"additionalFields\":[32],\"namePatternError\":[32],\"nameRequiredError\":[32],\"emailPatternError\":[32],\"emailRequiredError\":[32],\"validationError\":[32],\"backButtonLoading\":[32],\"firstRender\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"selectOptionChangedHandler\"],[0,\"selectedOptionsChanged\",\"selecedOptionsChangedHandler\"],[0,\"nylasFormSwitchToggled\",\"switchToggledHandler\"],[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[0,\"nylasFormRadioChanged\",\"radioChangedHandler\"],[0,\"nylasFormDropdownDefaultSelected\",\"dropdownDefaultSelectedHandler\"]],{\"bookingInfo\":[\"bookingInfoChangedHandler\"],\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16],\"configSettings\":[16],\"eventInfo\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancellationReason\":[32],\"cancellationError\":[32],\"cancellationPolicy\":[32]},[[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-booked-event-card\",{\"eventInfo\":[16],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16],\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[1,\"nylas-cancelled-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancelledEventInfo\":[16],\"isClosing\":[32]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-confirmed-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmedEventInfo\":[16],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-date-picker\",{\"selectableDates\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"isLoading\":[4,\"is-loading\"],\"eventDuration\":[2,\"event-duration\"],\"month\":[32],\"dates\":[32],\"disableNextMonthButton\":[32],\"selectableDatesTimezone\":[32]},null,{\"configSettings\":[\"configSettingsChanged\"],\"selectedLanguage\":[\"selectedLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"selectedTimezone\":[\"selectedTimezoneChanged\"],\"selectableDates\":[\"selectableDatesChanged\"]}],[1,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"organizerConfirmationBookingId\":[1,\"organizer-confirmation-booking-id\"],\"selectedLanguage\":[1,\"selected-language\"],\"action\":[32],\"resetAction\":[64]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"times\":[32],\"hoveredTimeslotIndex\":[32],\"selectedTimeslotIndex\":[32],\"emitValidateTimeslotError\":[64]},null,{\"selectedLanguage\":[\"selectedLanguageChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"availability\":[\"availabilityChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}],[2,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"nylas-scheduler-editor\",[[1,\"nylas-scheduler-editor\",{\"configurationId\":[1025,\"configuration-id\"],\"nylasApiRequest\":[1040],\"nylasSessionsConfig\":[16],\"defaultAuthArgs\":[16],\"eventOverrides\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"defaultSchedulerConfigState\":[16],\"mode\":[1],\"additionalParticipants\":[16],\"hideEditorTabs\":[16],\"conferenceProviders\":[16],\"requiresSlug\":[4,\"requires-slug\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"defaultLanguage\":[1,\"default-language\"],\"localization\":[16],\"nylasBranding\":[4,\"nylas-branding\"],\"experimentalFeatures\":[16],\"enableEventTypes\":[16],\"themeConfig\":[16],\"automaticComponentRegistration\":[32],\"selectedLanguage\":[32],\"langVersion\":[32],\"version\":[32],\"store\":[64],\"schedulerConnector\":[64]},[[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"configurationId\":[\"configurationIdChanged\"],\"localization\":[\"updateLocalization\"],\"nylasBranding\":[\"updateNylasBranding\"],\"experimentalFeatures\":[\"updateExperimentalFeatures\"],\"enableEventTypes\":[\"updateEnableEventTypes\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"nylas-scheduling\",[[1,\"nylas-scheduling\",{\"mode\":[1],\"defaultSchedulerState\":[16],\"sessionId\":[1,\"session-id\"],\"schedulerApiUrl\":[1,\"scheduler-api-url\"],\"bookingInfo\":[16],\"rescheduleBookingRef\":[1,\"reschedule-booking-ref\"],\"cancelBookingRef\":[1,\"cancel-booking-ref\"],\"organizerConfirmationBookingRef\":[1,\"organizer-confirmation-booking-ref\"],\"configurationId\":[1,\"configuration-id\"],\"slug\":[1],\"clientId\":[1,\"client-id\"],\"nylasBranding\":[4,\"nylas-branding\"],\"eventOverrides\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"localization\":[16],\"defaultLanguage\":[1,\"default-language\"],\"showNotification\":[4,\"show-notification\"],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"hour12\":[4,\"hour-1-2\"],\"automaticComponentRegistration\":[32],\"selectedDateLabel\":[32],\"refConfigId\":[32],\"language\":[32],\"showFeedbackModal\":[32],\"bookingInfoConfirmed\":[32],\"version\":[32],\"getNylasSchedulerStore\":[64],\"getNylasSchedulerConnector\":[64],\"getRef\":[64]},[[0,\"languageChanged\",\"languageChanged\"],[0,\"registerComponent\",\"registerComponentHandler\"],[0,\"unregisterComponent\",\"unregisterComponentHandler\"],[0,\"monthChanged\",\"monthChangedHandler\"],[0,\"detailsConfirmed\",\"bookButtonClickedHandler\"],[0,\"dateSelected\",\"dateSelectedHandler\"],[0,\"cancelBookedEventError\",\"cancelBookedEventErrorHandler\"],[0,\"cancelBookedEventValidationError\",\"cancelBookedEventValidationErrorHandler\"],[0,\"rescheduleBookedEventError\",\"rescheduleBookedEventErrorHandler\"],[0,\"confirmBookingError\",\"confirmBookingErrorHandler\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"validateTimeslotError\",\"eventIsFullHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"bookingInfo\":[\"bookingInfoChanged\"],\"rescheduleBookingRef\":[\"rescheduleBookingRefChanged\"],\"cancelBookingRef\":[\"cancelBookingRefChanged\"],\"organizerConfirmationBookingRef\":[\"organizerConfirmationBookingRefChanged\"],\"localization\":[\"localizationChanged\"],\"defaultLanguage\":[\"defaultLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}]]],[\"archive-icon\",[[2,\"archive-icon\",{\"width\":[1],\"height\":[1]}]]],[\"arrow-icon\",[[2,\"arrow-icon\",{\"width\":[1],\"height\":[1]}]]],[\"bold-icon\",[[2,\"bold-icon\",{\"width\":[1],\"height\":[1]}]]],[\"document-refresh-icon\",[[2,\"document-refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"folder-icon\",[[2,\"folder-icon\",{\"width\":[1],\"height\":[1]}]]],[\"forward-icon\",[[2,\"forward-icon\",{\"width\":[1],\"height\":[1]}]]],[\"inbox-icon\",[[2,\"inbox-icon\",{\"width\":[1],\"height\":[1]}]]],[\"italic-icon\",[[2,\"italic-icon\",{\"width\":[1],\"height\":[1]}]]],[\"play-icon\",[[2,\"play-icon\",{\"width\":[1],\"height\":[1]}]]],[\"refresh-icon\",[[2,\"refresh-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-all-icon\",[[2,\"reply-all-icon\",{\"width\":[1],\"height\":[1]}]]],[\"reply-icon\",[[2,\"reply-icon\",{\"width\":[1],\"height\":[1]}]]],[\"sent-icon\",[[2,\"sent-icon\",{\"width\":[1],\"height\":[1]}]]],[\"spam-icon\",[[2,\"spam-icon\",{\"width\":[1],\"height\":[1]}]]],[\"star-icon\",[[2,\"star-icon\",{\"width\":[1],\"height\":[1]}]]],[\"stop-icon\",[[2,\"stop-icon\",{\"width\":[1],\"height\":[1]}]]],[\"trash-fill-icon\",[[2,\"trash-fill-icon\",{\"width\":[1],\"height\":[1]}]]],[\"underline-icon\",[[2,\"underline-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-circle-icon\",[[2,\"checkmark-circle-icon\",{\"width\":[1],\"height\":[1]}]]],[\"delete-icon\",[[2,\"delete-icon\",{\"width\":[1],\"height\":[1]}]]],[\"person-icon\",[[2,\"person-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-cancel-icon\",[[2,\"calendar-cancel-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-check-icon\",[[2,\"calendar-check-icon\",{\"width\":[1],\"height\":[1]}]]],[\"radio-button-group\",[[1,\"radio-button-group\",{\"name\":[1],\"options\":[16],\"defaultSelectedValue\":[1,\"default-selected-value\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"selectedValue\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"defaultSelectedValue\":[\"handleDefaultSelectedValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"toggle-switch\",[[1,\"toggle-switch\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"themeConfig\":[16],\"isChecked\":[32]},null,{\"checked\":[\"checkedChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"translate-icon\",[[2,\"translate-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-icon\",[[2,\"calendar-icon\",{\"width\":[1],\"height\":[1]}]]],[\"textarea-component\",[[1,\"textarea-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"maxLength\":[2,\"max-length\"],\"type\":[1],\"tooltip\":[1],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"triggerValidation\",\"handletriggerValidation\"]],{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"checkbox-component\",[[1,\"checkbox-component\",{\"name\":[1],\"checked\":[4],\"label\":[1],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"isChecked\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"checked\":[\"checkedPropChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-form-card\",[[70,\"nylas-form-card\",{\"themeConfig\":[16]},null,{\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"add-circle-icon_2\",[[2,\"add-circle-icon\",{\"width\":[1],\"height\":[1]}],[2,\"close-icon\",{\"width\":[1],\"height\":[1]}]]],[\"multi-select-dropdown\",[[1,\"multi-select-dropdown\",{\"name\":[1],\"label\":[1],\"options\":[16],\"error\":[1025],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"multipleOptionsSelectedLabel\":[1,\"multiple-options-selected-label\"],\"selectAtLeastOneOptionLabel\":[1,\"select-at-least-one-option-label\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"availableOptions\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"shouldFocusFirstOption\":[32]},[[6,\"click\",\"handleOutsideClick\"],[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"globe-icon\",[[2,\"globe-icon\",{\"width\":[1],\"height\":[1]}]]],[\"input-component\",[[1,\"input-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"type\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"maxValue\":[2,\"max-value\"],\"minValue\":[2,\"min-value\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"google-meet-icon_5\",[[2,\"google-meet-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-icon\",{\"width\":[1],\"height\":[1]}],[2,\"location-off-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-teams-icon\",{\"width\":[1],\"height\":[1]}],[2,\"zoom-icon\",{\"width\":[1],\"height\":[1]}]]],[\"chevron-icon_3\",[[1,\"select-dropdown\",{\"name\":[1],\"options\":[16],\"defaultSelectedOption\":[16],\"withSearch\":[4,\"with-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"label\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"dropdownButtonText\":[1,\"dropdown-button-text\"],\"withChevron\":[4,\"with-chevron\"],\"emptyValue\":[1,\"empty-value\"],\"errorMessage\":[1,\"error-message\"],\"themeConfig\":[16],\"selectedOption\":[32],\"isOpen\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"error\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"],[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultSelectedOption\":[\"defaultSelectedOptionChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"search-icon\",{\"width\":[1],\"height\":[1]}],[2,\"chevron-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkmark-icon_15\",[[65,\"nylas-event-location\",{\"name\":[1],\"currentUser\":[16],\"userProvider\":[1,\"user-provider\"],\"eventConferencing\":[16],\"conferenceProviders\":[16],\"selectedConfiguration\":[16],\"eventLocation\":[1,\"event-location\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"location\":[32],\"grantId\":[32],\"selectedLocationOption\":[32],\"userProviderState\":[32],\"locationOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"currentUser\":[\"currentUserChangedHandler\"],\"conferenceProviders\":[\"conferenceProvidersChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-additional-participants\",{\"name\":[1],\"selectedConfiguration\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"participantOptions\":[16],\"eventParticipants\":[16],\"roundRobinConfig\":[4,\"round-robin-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"participants\":[32],\"participantErrors\":[32],\"includeOrganizerAsParticipant\":[32],\"isRoundRobinConfig\":[32],\"error\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"inputOptionChanged\",\"onInputOptionChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUser\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationAndCurrentUserChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-feedback-form\",{\"themeConfig\":[8,\"theme-config\"],\"feedbackMessage\":[32]},[[4,\"nylasFormInputChanged\",\"handleFormInputChanged\"]]],[65,\"nylas-reminder-time\",{\"name\":[1],\"eventReminderTimeMinutes\":[2,\"event-reminder-time-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32],\"errorState\":[32]},[[4,\"nylasSuggestReminderMinutes\",\"nylasSuggestReminderMinutesHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"eventReminderTimeMinutes\":[\"eventReminderTimeMinutesChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-description\",{\"selectedConfiguration\":[16],\"eventDescription\":[1,\"event-description\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"hideAutoPopulateButton\":[4,\"hide-auto-populate-button\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16],\"description\":[32],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"additionalFieldTokens\":[32]},[[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-title\",{\"selectedConfiguration\":[16],\"eventTitle\":[1,\"event-title\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"noTemplates\":[4,\"no-templates\"],\"themeConfig\":[16],\"showTokens\":[32],\"availableTokens\":[32],\"filteredTokens\":[32],\"ariaActivedescendant\":[32],\"currentWord\":[32],\"validationError\":[32],\"configEventTitle\":[32],\"additionalFieldTokens\":[32]},[[8,\"formSubmitted\",\"formSubmittedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"ariaActivedescendant\":[\"ariaActivedescendantChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"input-color-picker\",{\"name\":[1],\"defaultSelectedColor\":[1,\"default-selected-color\"],\"selectedColor\":[32],\"isOpen\":[32],\"ariaActivedescendant\":[32],\"errorMessage\":[32]},[[6,\"click\",\"handleOutsideClick\"]]],[65,\"input-image-url\",{\"imageUrl\":[1,\"image-url\"],\"themeConfig\":[16],\"errorMessage\":[1,\"error-message\"],\"name\":[1],\"currentImageUrl\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"errorMessage\":[\"errorMessageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-info\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"checkmark-icon\",{\"width\":[1],\"height\":[1]}],[2,\"dragable-icon\",{\"width\":[1],\"height\":[1]}],[2,\"eye-icon\",{\"width\":[1],\"height\":[1]}],[2,\"feedback-icon\",{\"width\":[1],\"height\":[1]}],[2,\"trash-icon\",{\"width\":[1],\"height\":[1]}],[2,\"copy-icon\",{\"width\":[1],\"height\":[1]}]]],[\"checkbox-group_4\",[[65,\"nylas-event-calendar\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"groupEvents\":[16],\"currentUser\":[16],\"calendars\":[16],\"masterGroupEvents\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[16],\"selectedView\":[32],\"events\":[32],\"calendar\":[32],\"selectedEvent\":[32],\"selectedDateRangeString\":[32],\"showEditEventDetails\":[32],\"showCreateEventDetails\":[32],\"editOptionChoices\":[32],\"updateOptionChoices\":[32],\"deleteOptionChoices\":[32],\"editOptions\":[32],\"showEditOptions\":[32],\"updateOptions\":[32],\"showUpdateOptions\":[32],\"deleteOptions\":[32],\"showDeleteOptions\":[32],\"unsavedChanges\":[32],\"showConfirmDiscardUnsavedChangesModal\":[32],\"createNewGroupEventTimeslot\":[32],\"formError\":[32],\"formErrors\":[32],\"loadingOptions\":[32],\"showChooseParticipantsModal\":[32],\"importParticipants\":[32],\"selectedImportParticipants\":[32],\"showAllEvents\":[32]},[[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"timeWindowFormError\",\"timeWindowFormErrorHandler\"],[0,\"dateTimeInputError\",\"dateTimeInputErrorHandler\"],[4,\"saveGroupEventChangesError\",\"saveGroupEventChangesErrorHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasCheckboxGroupChanged\",\"nylasCheckboxGroupChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"groupEvents\":[\"groupEventsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"isLoading\":[\"isLoadingChangedHandler\"]}],[65,\"nylas-event-timeslot\",{\"name\":[1],\"initialValue\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"currentUser\":[16],\"themeConfig\":[16],\"selectedDate\":[32],\"selectedStartTime\":[32],\"selectedEndTime\":[32],\"selectedTimezone\":[32],\"selectedRecurrenceType\":[32],\"timeRangeError\":[32],\"selectedRrule\":[32],\"recurrenceOptions\":[32],\"repeatEveryInterval\":[32],\"repeatEveryFrequency\":[32],\"repeatOnDays\":[32],\"repeatMonthlySameDate\":[32],\"repeatEndType\":[32],\"repeatEndAfter\":[32],\"repeatEndOn\":[32],\"monthRecurrenceOptions\":[32],\"endDate\":[32],\"hasDateTimeInputError\":[32]},[[0,\"timeChange\",\"setTime\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-capacity\",{\"name\":[1],\"capacity\":[2],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedEventCapacity\":[32],\"error\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"checkbox-group\",{\"name\":[1],\"label\":[1],\"options\":[16],\"required\":[4],\"direction\":[1],\"themeConfig\":[16],\"error\":[32],\"selectedValues\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"nylasFormCheckboxToggled\",\"handleCheckboxToggled\"]],{\"options\":[\"optionsChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"nylas-notification_2\",[[1,\"nylas-notification\",{\"ttl\":[8],\"allowedCategories\":[16],\"notifications\":[32]},[[16,\"nylasSchedulerError\",\"onError\"],[16,\"nylasSchedulerWarning\",\"onWarning\"],[16,\"nylasSchedulerInfo\",\"onInfo\"],[16,\"nylasSchedulerSuccess\",\"onSuccess\"],[16,\"dismissNotification\",\"onDismissNotification\"]]],[2,\"warning-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-date-component_2\",[[1,\"nylas-time-window-picker\",{\"time\":[1],\"minimumStartTime\":[1,\"minimum-start-time\"],\"placeholder\":[1],\"name\":[1],\"hasError\":[516,\"has-error\"],\"language\":[1],\"themeConfig\":[16],\"err\":[32],\"showTimes\":[32],\"ariaActivedescendant\":[32],\"times\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"time\":[\"timeChangedHandler\"],\"minimumStartTime\":[\"minimumStartTimeChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-date-component\",{\"name\":[1],\"defaultValue\":[1,\"default-value\"],\"label\":[1],\"placeholder\":[1],\"required\":[4],\"readOnly\":[4,\"read-only\"],\"autoFocus\":[4,\"auto-focus\"],\"pattern\":[16],\"maxLength\":[2,\"max-length\"],\"patternError\":[1,\"pattern-error\"],\"requiredError\":[1,\"required-error\"],\"errorMessage\":[1,\"error-message\"],\"minDate\":[1,\"min-date\"],\"hasError\":[4,\"has-error\"],\"themeConfig\":[16],\"value\":[32],\"error\":[32],\"isDateValid\":[32]},[[4,\"bookingFormSubmitted\",\"handleBookingFormSubmitted\"],[4,\"formSubmitted\",\"handleFormSubmitted\"]],{\"defaultValue\":[\"handleDefaultValueChange\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"input-dropdown_2\",[[2,\"time-period-selector\",{\"themeConfig\":[16],\"timePeriods\":[16],\"defaultSelectedPeriod\":[1,\"default-selected-period\"],\"defaultSelectedNumber\":[2,\"default-selected-number\"],\"hasError\":[4,\"has-error\"],\"selectedPeriod\":[32],\"selectedNumber\":[32],\"numberOptions\":[32],\"timePeriodOptions\":[32]},[[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"defaultSelectedPeriod\":[\"defaultSelectedPeriodChanged\"],\"defaultSelectedNumber\":[\"defaultSelectedNumberChanged\"],\"timePeriods\":[\"timePeriodsChanged\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"input-dropdown\",{\"name\":[1],\"options\":[16],\"defaultInputOption\":[16],\"inputValue\":[1,\"input-value\"],\"pluralizedLabel\":[1,\"pluralized-label\"],\"filterable\":[4],\"themeConfig\":[16],\"selectedOption\":[32],\"isOpen\":[32],\"typedValue\":[32],\"filteredOptions\":[32],\"ariaActivedescendant\":[32],\"shouldAutoScroll\":[32]},[[6,\"click\",\"handleOutsideClick\"]],{\"options\":[\"optionsChangedHandler\"],\"defaultInputOption\":[\"defaultSelectedOptionChangedHandler\"],\"inputValue\":[\"inputValueChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}]]],[\"clock-icon_4\",[[2,\"person-clipboard-icon\",{\"width\":[1],\"height\":[1]}],[2,\"plus-icon\",{\"width\":[1],\"height\":[1]}],[2,\"edit-icon\",{\"width\":[1],\"height\":[1]}],[2,\"clock-icon\",{\"width\":[1],\"height\":[1]}]]],[\"button-component_2\",[[6,\"button-component\",{\"variant\":[1],\"disabled\":[4],\"type\":[1],\"tooltip\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"mouseOverHandler\":[16],\"mouseOutHandler\":[16],\"focusHandler\":[16],\"blurHandler\":[16]}],[1,\"loading-icon\",{\"width\":[1],\"height\":[1]}]]],[\"info-icon_2\",[[1,\"tooltip-component\",{\"position\":[1]}],[2,\"info-icon\",{\"width\":[1],\"height\":[1]}]]],[\"calendar-agenda-fill-icon_37\",[[65,\"nylas-participants-custom-availability\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedParticipants\":[32]},[[0,\"nylasFormSwitchToggled\",\"nylasFormSwitchToggledHandler\"],[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-limit-future-bookings\",{\"selectedConfiguration\":[16],\"availableDaysInFuture\":[2,\"available-days-in-future\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-connected-calendars\",{\"name\":[1],\"selectedConfiguration\":[16],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendars\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-participant-booking-calendars\",{\"selectedConfiguration\":[16],\"name\":[1],\"participants\":[16],\"calendars\":[16],\"participantOptions\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"participantCalendars\":[32],\"participantDefaultSelectedCalendar\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"calendars\":[\"calendarsChangedHandler\"],\"participants\":[\"participantsChangedHandler\"],\"participantOptions\":[\"participantOptionsChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-timeslot-interval\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"internalEventDurationMinutes\":[32],\"selectedInterval\":[32],\"selectedRoundTo\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormRadioChanged\",\"nylasFormRadioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-buffer-time\",{\"selectedConfiguration\":[16],\"name\":[1],\"buffer\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedBeforeBufferTime\":[32],\"selectedAfterBufferTime\":[32],\"componentLoaded\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-duration\",{\"selectedConfiguration\":[16],\"name\":[1],\"eventDurationMinutes\":[2,\"event-duration-minutes\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"duration\":[32],\"durationMinutes\":[32],\"durationIncrement\":[32],\"error\":[32],\"durationMinutesOptions\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"inputOptionChanged\",\"inputOptionChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"calendar-info-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-patterns-icon\",{\"width\":[1],\"height\":[1]}],[2,\"people-icon\",{\"width\":[1],\"height\":[1]}],[65,\"nylas-reminder-emails\",{\"selectedConfiguration\":[16],\"eventReminders\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"reminders\":[32],\"reminderErrors\":[32],\"participants\":[32],\"clearError\":[32]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"],[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-confirmation-email\",{\"selectedConfiguration\":[16],\"confirmationEmailTemplate\":[16],\"participants\":[16],\"name\":[1],\"nylasBranding\":[4,\"nylas-branding\"],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"confirmationEmail\":[32],\"isConfirmationEmailOpen\":[32],\"participantsState\":[32],\"invalidImageErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"valueChanged\",\"valueChangedHandler\"],[0,\"nylasFormInputImageUrlInvalid\",\"nylasFormInputImageUrlInvalidHandler\"],[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"nylasBranding\":[\"nylasBrandingChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-form-config\",{\"selectedConfiguration\":[16],\"name\":[1],\"additionalFields\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"staticFields\":[32],\"formFields\":[32],\"formFieldsOrder\":[32],\"count\":[32],\"watchFields\":[32],\"fieldTypes\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"],[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"openHours\":[16],\"defaultTimezone\":[1,\"default-timezone\"],\"hideHeader\":[4,\"hide-header\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"schedule\":[32],\"timezone\":[32],\"overlapDays\":[32],\"timeWindowErrors\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"timeChange\",\"setTime\"],[0,\"timeWindowFormError\",\"setFormError\"]],{\"name\":[\"elementNameChangedHandler\"],\"openHours\":[\"openHoursChanged\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-disable-emails\",{\"selectedConfiguration\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"organizerLocale\":[32],\"disableEmails\":[32]},[[0,\"nylasFormSwitchToggled\",\"nyalsFormSwitchToggledHandler\"],[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-min-booking-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minBookingNotice\":[2,\"min-booking-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-min-cancellation-notice\",{\"selectedConfiguration\":[16],\"name\":[1],\"minCancellationNotice\":[2,\"min-cancellation-notice\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedNumber\":[32],\"selectedPeriod\":[32]},[[0,\"timePeriodChanged\",\"timePeriodChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-specific-time-availability-picker\",{\"name\":[1],\"selectedConfiguration\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"specificTimesAvailability\":[16],\"themeConfig\":[16],\"specificDateEntries\":[32],\"validationErrors\":[32]},[[0,\"timeChange\",\"handleTimeChange\"],[0,\"timeWindowFormError\",\"setFormError\"],[0,\"nylasFormInputChanged\",\"handleFormInputChange\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-confirmation-redirect\",{\"selectedConfiguration\":[16],\"name\":[1],\"redirectUrl\":[1,\"redirect-url\"],\"redirectUrlErrorMessage\":[1,\"redirect-url-error-message\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"currentRedirectUrl\":[32],\"acceptUrl\":[32],\"componentLoaded\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[4,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-custom-event-slug\",{\"selectedConfiguration\":[16],\"defaultUrlSlug\":[1,\"default-url-slug\"],\"isOpen\":[4,\"is-open\"],\"slugErrorMessage\":[1,\"slug-error-message\"],\"name\":[1],\"requiresSlug\":[4,\"requires-slug\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"urlSlug\":[32],\"focus\":[32],\"copied\":[32],\"requiredError\":[32],\"patternError\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[0,\"nylasFormInputFocused\",\"nylasFormInputFocusHandler\"],[0,\"nylasFormInputBlurred\",\"nylasFormInputBlurHandler\"],[8,\"formSubmitted\",\"formSubmittedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-scheduling-method\",{\"selectedConfiguration\":[16],\"name\":[1],\"participantOptions\":[16],\"readOnly\":[4,\"read-only\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"showSubTitle\":[4,\"show-sub-title\"],\"selectedBookingType\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-calendar-picker\",{\"calendars\":[16],\"currentUser\":[16],\"currentUserCalendars\":[16],\"name\":[1],\"defaultBookingCalendar\":[1,\"default-booking-calendar\"],\"hideHeader\":[4,\"hide-header\"],\"expressFlow\":[4,\"express-flow\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendar\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"currentUserCalendars\":[\"currentUserCalendarsChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-booking-confirmation-type\",{\"selectedConfiguration\":[16],\"name\":[1],\"bookingType\":[1,\"booking-type\"],\"showComponent\":[4,\"show-component\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedBookingType\":[32],\"showDropdown\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-calendar-picker\",{\"name\":[1],\"currentUser\":[16],\"calendars\":[16],\"defaultSelectedCalendars\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"selectedCalendars\":[32],\"error\":[32]},[[0,\"selectedOptionsChanged\",\"selectedOptionsChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-page-name\",{\"selectedConfiguration\":[16],\"name\":[1],\"pageName\":[1,\"page-name\"],\"showToggle\":[4,\"show-toggle\"],\"isOpen\":[4,\"is-open\"],\"required\":[4],\"themeConfig\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"requirePageName\":[4,\"require-page-name\"],\"currentPageName\":[32],\"pageNameErrorMessage\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-customize-booking-settings\",{\"selectedConfiguration\":[16],\"defaultHideAdditionalGuests\":[4,\"default-hide-additional-guests\"],\"defaultHideCancellationOptions\":[4,\"default-hide-cancellation-options\"],\"defaultHideReschedulingOptions\":[4,\"default-hide-rescheduling-options\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"showSettings\":[16],\"themeConfig\":[16],\"allowGuestsToInvite\":[32],\"hideCancellationOptions\":[32],\"hideReschedulingOptions\":[32]},[[0,\"nylasFormCheckboxChanged\",\"nylasFormCheckboxChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-cancellation-policy\",{\"selectedConfiguration\":[16],\"cancellationPolicy\":[1,\"cancellation-policy\"],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"message\":[32]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-page-styling\",{\"selectedConfiguration\":[16],\"name\":[1],\"appearance\":[16],\"isOpen\":[4,\"is-open\"],\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16],\"currentAppearance\":[32],\"customInputsSlot\":[32]},[[4,\"nylasFormInputChanged\",\"nylasFormInputChangeHandler\"],[4,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"],[4,\"valueChanged\",\"valueChangedHandler\"],[4,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[4,\"nylasFormRadioChanged\",\"radioChangedHandler\"]],{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"],\"selectedConfiguration\":[\"selectedConfigurationChangedHandler\"]}],[65,\"nylas-custom-booking-flow\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[65,\"nylas-event-limits\",{\"selectedLanguage\":[1,\"selected-language\"],\"themeConfig\":[16]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"calendar-agenda-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"calendar-agenda-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"envelope-icon\",{\"width\":[1],\"height\":[1]}],[2,\"flow-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-fill-icon\",{\"width\":[1],\"height\":[1]}],[2,\"paintbrush-icon\",{\"width\":[1],\"height\":[1]}]]],[\"google-logo-icon_6\",[[6,\"nylas-editor-tabs\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"themeConfig\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"loaded\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[6,\"nylas-editor-tabs-group\",{\"calendars\":[16],\"selectedConfiguration\":[16],\"configurations\":[16],\"currentUser\":[16],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"mode\":[1],\"hideEditorTabs\":[16],\"enableUserFeedback\":[4,\"enable-user-feedback\"],\"selectedLanguage\":[1,\"selected-language\"],\"selectedEventType\":[1,\"selected-event-type\"],\"selectedGroupEvent\":[16],\"themeConfig\":[16],\"action\":[32],\"showFeedbackModal\":[32],\"activeTab\":[32],\"isLoading\":[32],\"componentLoaded\":[32],\"hasUnsavedChanges\":[32],\"changesSaved\":[32],\"formState\":[32],\"error\":[32],\"schedulerConfigCreatedEventHandler\":[64],\"setError\":[64],\"resetError\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"feedbackModalClosed\",\"feedbackModalClosedHandler\"],[0,\"feedbackSubmitted\",\"feedbackSubmittedHandler\"],[0,\"importGroupEvent\",\"importGroupEventHandler\"],[0,\"saveGroupEventChanges\",\"saveGroupEventChangesHandler\"],[0,\"deleteGroupEvent\",\"deleteGroupEventHandler\"],[0,\"createGroupEvent\",\"createGroupEventHandler\"]],{\"selectedConfiguration\":[\"configChangedHandler\"],\"selectedGroupEvent\":[\"selectedGroupEventChangedHandler\"],\"currentUser\":[\"userChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-list-configurations\",{\"configurations\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"schedulerPreviewLink\":[1,\"scheduler-preview-link\"],\"listConfigurationsNextCursor\":[1,\"list-configurations-next-cursor\"],\"themeConfig\":[16],\"state\":[32],\"error\":[32],\"currentCursor\":[32],\"previousCursors\":[32],\"disableNextPageButton\":[32],\"deleteConfigurationId\":[32],\"showDeleteButtonLoading\":[32],\"editButtonLoadingId\":[32],\"registerCallback\":[64],\"getState\":[64],\"setState\":[64],\"setError\":[64],\"hideDeleteConfirmation\":[64],\"hideEditButtonLoading\":[64]},[[0,\"nylasFormDropdownChanged\",\"handleNylasFormDropdownChanged\"]],{\"listConfigurationsNextCursor\":[\"listConfigurationsNextCursorChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[1,\"nylas-select-event-type\",{\"participantOptions\":[16],\"name\":[1],\"selectedLanguage\":[1,\"selected-language\"],\"enableEventTypes\":[16],\"themeConfig\":[16]},null,{\"name\":[\"elementNameChangedHandler\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChangedHandler\"]}],[2,\"google-logo-icon\",{\"width\":[1],\"height\":[1]}],[2,\"microsoft-logo-icon\",{\"width\":[1],\"height\":[1]}]]],[\"nylas-booked-event-card_11\",[[1,\"nylas-booking-form\",{\"isLoading\":[4,\"is-loading\"],\"bookingInfo\":[16],\"eventInfo\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"name\":[32],\"email\":[32],\"guestEmails\":[32],\"guestEmailErrors\":[32],\"isNameValid\":[32],\"isEmailValid\":[32],\"additionalFields\":[32],\"namePatternError\":[32],\"nameRequiredError\":[32],\"emailPatternError\":[32],\"emailRequiredError\":[32],\"validationError\":[32],\"backButtonLoading\":[32],\"firstRender\":[32]},[[0,\"nylasFormInputChanged\",\"nylasFormInputChangedHandler\"],[0,\"nylasFormDropdownChanged\",\"selectOptionChangedHandler\"],[0,\"selectedOptionsChanged\",\"selecedOptionsChangedHandler\"],[0,\"nylasFormSwitchToggled\",\"switchToggledHandler\"],[0,\"nylasFormCheckboxToggled\",\"checkboxToggledHandler\"],[0,\"nylasFormRadioChanged\",\"radioChangedHandler\"],[0,\"nylasFormDropdownDefaultSelected\",\"dropdownDefaultSelectedHandler\"]],{\"bookingInfo\":[\"bookingInfoChangedHandler\"],\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-cancel-booking-form\",{\"cancelBookingId\":[1,\"cancel-booking-id\"],\"rejectBookingId\":[1,\"reject-booking-id\"],\"selectedTimeslot\":[16],\"configSettings\":[16],\"eventInfo\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancellationReason\":[32],\"cancellationError\":[32],\"cancellationPolicy\":[32]},[[0,\"nylasFormInputChanged\",\"handleNylasFormInputChanged\"]],{\"configSettings\":[\"configSettingsChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-booked-event-card\",{\"eventInfo\":[16],\"rescheduleBookingId\":[1,\"reschedule-booking-id\"],\"bookingInfo\":[16],\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedTimeslot\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-locale-switch\",{\"themeConfig\":[8,\"theme-config\"],\"bookingInfo\":[16],\"selectedTimezone\":[1025,\"selected-timezone\"],\"selectedLanguage\":[1025,\"selected-language\"],\"searchPlaceholder\":[32]},[[0,\"nylasFormDropdownChanged\",\"nylasFormDropdownChangedHandler\"]],{\"themeConfig\":[\"themeConfigChanged\"],\"bookingInfo\":[\"bookingInfoChangedHandler\"]}],[1,\"nylas-cancelled-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"cancelledEventInfo\":[16],\"isClosing\":[32]},null,{\"selectedLanguage\":[\"selectedLanguageChangedHandler\"],\"themeConfig\":[\"themeConfigChanged\"]}],[1,\"nylas-confirmed-event-card\",{\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedLanguage\":[1,\"selected-language\"],\"confirmedEventInfo\":[16],\"isClosing\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-date-picker\",{\"selectableDates\":[16],\"configSettings\":[16],\"themeConfig\":[8,\"theme-config\"],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"isLoading\":[4,\"is-loading\"],\"eventDuration\":[2,\"event-duration\"],\"month\":[32],\"dates\":[32],\"disableNextMonthButton\":[32],\"selectableDatesTimezone\":[32]},null,{\"configSettings\":[\"configSettingsChanged\"],\"selectedLanguage\":[\"selectedLanguageChanged\"],\"themeConfig\":[\"themeConfigChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"selectedTimezone\":[\"selectedTimezoneChanged\"],\"selectableDates\":[\"selectableDatesChanged\"]}],[1,\"nylas-organizer-confirmation-card\",{\"configSettings\":[16],\"isLoading\":[4,\"is-loading\"],\"themeConfig\":[8,\"theme-config\"],\"organizerConfirmationBookingId\":[1,\"organizer-confirmation-booking-id\"],\"selectedLanguage\":[1,\"selected-language\"],\"action\":[32],\"resetAction\":[64]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-selected-event-card\",{\"themeConfig\":[8,\"theme-config\"],\"selectedDate\":[16],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"startTime\":[32],\"endTime\":[32]},null,{\"themeConfig\":[\"themeConfigChanged\"],\"selectedLanguage\":[\"selectedLanguageChangedHandler\"]}],[1,\"nylas-timeslot-picker\",{\"availability\":[16],\"isLoading\":[4,\"loading-state\"],\"themeConfig\":[8,\"theme-config\"],\"selectedTimeslot\":[16],\"selectedTimezone\":[1,\"selected-timezone\"],\"selectedDate\":[16],\"selectedLanguage\":[1,\"selected-language\"],\"hour12\":[4,\"hour-1-2\"],\"times\":[32],\"hoveredTimeslotIndex\":[32],\"selectedTimeslotIndex\":[32],\"emitValidateTimeslotError\":[64]},null,{\"selectedLanguage\":[\"selectedLanguageChanged\"],\"selectedDate\":[\"selectedDateChanged\"],\"availability\":[\"availabilityChanged\"],\"themeConfig\":[\"themeConfigChanged\"]}],[2,\"nylas-logo\",{\"width\":[1],\"height\":[1]}]]]]"), options);
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
//# sourceMappingURL=nylas-web-elements.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as debug, o as error } from './utils-
|
|
1
|
+
import { b as debug, o as error } from './utils-31933f5d.js';
|
|
2
2
|
import { a as getElement } from './index-091600eb.js';
|
|
3
3
|
|
|
4
4
|
function createComponentEvent(instance, registeredComponent, eventName = 'registerComponent') {
|
|
@@ -141,4 +141,4 @@ function RegisterComponent(config) {
|
|
|
141
141
|
|
|
142
142
|
export { RegisterComponent as R };
|
|
143
143
|
|
|
144
|
-
//# sourceMappingURL=register-component-
|
|
144
|
+
//# sourceMappingURL=register-component-3acd57e7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"register-component-0aad9e3d.js","mappings":"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","names":[],"sources":["src/common/register-component.ts"],"sourcesContent":["import { BaseNylasConnectorInterface } from '@/connector/connector-interface';\nimport { debug, error } from '@/utils/utils';\nimport { ComponentInterface, getElement } from '@stencil/core';\nimport { CombinedStoreStateKeys, EventEmitterEventType, ExtractEventEmitterKeys, ExtractEventEmitterProperties } from './types';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nexport interface RegisteredComponent<H extends ComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores = string> {\n name: string;\n element: HTMLStencilElement & { setProperty?: (key: string, value: any) => Promise<void>; registerCallback?(): Promise<void> };\n getStoresToProp?: keyof H;\n storeToProps?: Map<string, keyof H>;\n stateToProps?: Map<MailboxStores, keyof H>;\n eventToProps?: Map<ExtractEventEmitterKeys<H>, (event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>, nylasConnector: B) => Promise<void>>;\n localPropsToProp?: Map<string, keyof H>;\n authToProp?: keyof H;\n connectorToProp?: keyof H;\n registrationEventName?: string;\n unregistrationEventName?: string;\n}\n\nexport function createComponentEvent<T extends ComponentInterface, B extends BaseNylasConnectorInterface>(\n instance: T,\n registeredComponent: RegisteredComponent<T, B>,\n eventName: string = 'registerComponent',\n) {\n return new CustomEvent<RegisteredComponent<typeof instance, B>>(eventName, {\n bubbles: true,\n composed: true,\n detail: registeredComponent,\n });\n}\n\nexport function unregisterComponentEvent<T extends ComponentInterface, B extends BaseNylasConnectorInterface>(\n instance: T,\n registeredComponent: RegisteredComponent<T, B>,\n eventName: string = 'unregisterComponent',\n) {\n return new CustomEvent<RegisteredComponent<typeof instance, B>>(eventName, {\n bubbles: true,\n composed: true,\n detail: registeredComponent,\n });\n}\n\nexport interface RegisterComponentConfig<H extends ComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores>\n extends Omit<RegisteredComponent<H, B, MailboxStores>, 'eventToProps' | 'name' | 'element'> {\n name: string;\n eventToProps?: Partial<{\n [P in ExtractEventEmitterProperties<H> as P['key']]: (event: CustomEvent<P['eventType']>, nylasConnector: B) => Promise<void>;\n }>;\n fireRegisterEvent?: boolean | ((host: H) => boolean);\n}\n\nexport interface NylasComponentInterface extends ComponentInterface {\n authToProp?: keyof this;\n connectorToProp?: keyof this;\n registerCallback?: () => Promise<void>;\n}\n\nexport function RegisterComponent<H extends NylasComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores extends Record<string, any>>(\n config: RegisterComponentConfig<H, B, CombinedStoreStateKeys<keyof MailboxStores, MailboxStores>>,\n) {\n return (target: H, propKey: string) => {\n const componentName = config.name;\n debug(`[${componentName}] Registering component ${componentName} being called on ${propKey}`);\n\n const originalComponentWillLoad = target.componentWillLoad;\n if (!originalComponentWillLoad) {\n error(`[${componentName}] componentWillLoad lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n const originalConnectCallback = target.connectedCallback;\n if (!originalConnectCallback) {\n error(`[${componentName}] connectedCallback lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n const originalDisconnectCallback = target.disconnectedCallback;\n if (!originalDisconnectCallback) {\n error(`[${componentName}] disconnectedCallback lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n // Detect a conflict if config.storeToProps and config.stateToProps are both defined\n // for overlapping prop keys\n if (config.storeToProps && config.stateToProps) {\n const storeToPropsKeys = Array.from(config.storeToProps.values());\n const stateToPropsKeys = Array.from(config.stateToProps.values());\n const intersection = storeToPropsKeys.filter(key => stateToPropsKeys.includes(key));\n if (intersection.length > 0) {\n error(\n `[${componentName}] Overlapping prop keys detected in ${componentName} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${intersection.join(\n ', ',\n )}`,\n );\n return;\n }\n }\n\n // Convert the record of eventToProps to a map\n const eventToPropsMap = new Map<ExtractEventEmitterKeys<H>, (event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>, nylasConnector: B) => Promise<void>>();\n if (config.eventToProps) {\n Object.keys(config.eventToProps).forEach(key => {\n eventToPropsMap.set(\n key as ExtractEventEmitterKeys<H>,\n config.eventToProps?.[key as ExtractEventEmitterKeys<H>] as (\n event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>,\n nylasConnector: B,\n ) => Promise<void>,\n );\n });\n }\n\n target.connectedCallback = function () {\n debug(`[~${componentName}] connectedCallback called`);\n const origionalResult = originalConnectCallback?.call(this);\n const host = getElement(this);\n\n // If the nylas id is already set, then we don't need to do anything\n if (host.dataset.nylasId) {\n return origionalResult;\n }\n\n Object.defineProperty(host, 'registerNylasComponent', {\n get() {\n return true;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'stateToProps', {\n get() {\n return config.stateToProps;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'getStoresToProp', {\n get() {\n return config.getStoresToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'storeToProps', {\n get() {\n return config.storeToProps;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'eventToProps', {\n get() {\n return eventToPropsMap;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'authToProp', {\n get() {\n return config.authToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'connectorToProp', {\n get() {\n return config.connectorToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'localPropsToProp', {\n get() {\n return config.localPropsToProp;\n },\n enumerable: true,\n });\n return origionalResult;\n };\n\n if (config.fireRegisterEvent) {\n target.componentWillLoad = function () {\n const origionalResult = originalComponentWillLoad?.call(this);\n const host = getElement(this);\n\n // We use our host element to dispatch a registration event that is picked up by the\n // the nylas-provider component.\n const registeredComponent: RegisteredComponent<H, B> = {\n element: host,\n ...config,\n eventToProps: eventToPropsMap,\n };\n const event = createComponentEvent(target, registeredComponent, config.registrationEventName);\n if (host.dispatchEvent(event)) {\n debug(`[${componentName}] Component ${componentName} successfully fired registration event`);\n }\n\n return origionalResult;\n };\n\n target.disconnectedCallback = function () {\n const origionalResult = originalDisconnectCallback?.call(this);\n const host = getElement(this);\n\n // We use our host element to dispatch a registration event that is picked up by the\n // the nylas-provider component.\n const registeredComponent: RegisteredComponent<H, B> = {\n element: host,\n ...config,\n eventToProps: eventToPropsMap,\n };\n const event = unregisterComponentEvent(target, registeredComponent, config.unregistrationEventName);\n if (host.dispatchEvent(event)) {\n debug(`[${componentName}] Component ${componentName} successfully fired unregistration event`);\n }\n\n return origionalResult;\n };\n }\n };\n}\n"],"version":3}
|
|
1
|
+
{"file":"register-component-3acd57e7.js","mappings":"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","names":[],"sources":["src/common/register-component.ts"],"sourcesContent":["import { BaseNylasConnectorInterface } from '@/connector/connector-interface';\nimport { debug, error } from '@/utils/utils';\nimport { ComponentInterface, getElement } from '@stencil/core';\nimport { CombinedStoreStateKeys, EventEmitterEventType, ExtractEventEmitterKeys, ExtractEventEmitterProperties } from './types';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nexport interface RegisteredComponent<H extends ComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores = string> {\n name: string;\n element: HTMLStencilElement & { setProperty?: (key: string, value: any) => Promise<void>; registerCallback?(): Promise<void> };\n getStoresToProp?: keyof H;\n storeToProps?: Map<string, keyof H>;\n stateToProps?: Map<MailboxStores, keyof H>;\n eventToProps?: Map<ExtractEventEmitterKeys<H>, (event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>, nylasConnector: B) => Promise<void>>;\n localPropsToProp?: Map<string, keyof H>;\n authToProp?: keyof H;\n connectorToProp?: keyof H;\n registrationEventName?: string;\n unregistrationEventName?: string;\n}\n\nexport function createComponentEvent<T extends ComponentInterface, B extends BaseNylasConnectorInterface>(\n instance: T,\n registeredComponent: RegisteredComponent<T, B>,\n eventName: string = 'registerComponent',\n) {\n return new CustomEvent<RegisteredComponent<typeof instance, B>>(eventName, {\n bubbles: true,\n composed: true,\n detail: registeredComponent,\n });\n}\n\nexport function unregisterComponentEvent<T extends ComponentInterface, B extends BaseNylasConnectorInterface>(\n instance: T,\n registeredComponent: RegisteredComponent<T, B>,\n eventName: string = 'unregisterComponent',\n) {\n return new CustomEvent<RegisteredComponent<typeof instance, B>>(eventName, {\n bubbles: true,\n composed: true,\n detail: registeredComponent,\n });\n}\n\nexport interface RegisterComponentConfig<H extends ComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores>\n extends Omit<RegisteredComponent<H, B, MailboxStores>, 'eventToProps' | 'name' | 'element'> {\n name: string;\n eventToProps?: Partial<{\n [P in ExtractEventEmitterProperties<H> as P['key']]: (event: CustomEvent<P['eventType']>, nylasConnector: B) => Promise<void>;\n }>;\n fireRegisterEvent?: boolean | ((host: H) => boolean);\n}\n\nexport interface NylasComponentInterface extends ComponentInterface {\n authToProp?: keyof this;\n connectorToProp?: keyof this;\n registerCallback?: () => Promise<void>;\n}\n\nexport function RegisterComponent<H extends NylasComponentInterface, B extends BaseNylasConnectorInterface, MailboxStores extends Record<string, any>>(\n config: RegisterComponentConfig<H, B, CombinedStoreStateKeys<keyof MailboxStores, MailboxStores>>,\n) {\n return (target: H, propKey: string) => {\n const componentName = config.name;\n debug(`[${componentName}] Registering component ${componentName} being called on ${propKey}`);\n\n const originalComponentWillLoad = target.componentWillLoad;\n if (!originalComponentWillLoad) {\n error(`[${componentName}] componentWillLoad lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n const originalConnectCallback = target.connectedCallback;\n if (!originalConnectCallback) {\n error(`[${componentName}] connectedCallback lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n const originalDisconnectCallback = target.disconnectedCallback;\n if (!originalDisconnectCallback) {\n error(`[${componentName}] disconnectedCallback lifecycle method in ${componentName} missing. Required for RegisterComponent decorator.`);\n return;\n }\n\n // Detect a conflict if config.storeToProps and config.stateToProps are both defined\n // for overlapping prop keys\n if (config.storeToProps && config.stateToProps) {\n const storeToPropsKeys = Array.from(config.storeToProps.values());\n const stateToPropsKeys = Array.from(config.stateToProps.values());\n const intersection = storeToPropsKeys.filter(key => stateToPropsKeys.includes(key));\n if (intersection.length > 0) {\n error(\n `[${componentName}] Overlapping prop keys detected in ${componentName} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${intersection.join(\n ', ',\n )}`,\n );\n return;\n }\n }\n\n // Convert the record of eventToProps to a map\n const eventToPropsMap = new Map<ExtractEventEmitterKeys<H>, (event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>, nylasConnector: B) => Promise<void>>();\n if (config.eventToProps) {\n Object.keys(config.eventToProps).forEach(key => {\n eventToPropsMap.set(\n key as ExtractEventEmitterKeys<H>,\n config.eventToProps?.[key as ExtractEventEmitterKeys<H>] as (\n event: CustomEvent<EventEmitterEventType<H[ExtractEventEmitterKeys<H>]>>,\n nylasConnector: B,\n ) => Promise<void>,\n );\n });\n }\n\n target.connectedCallback = function () {\n debug(`[~${componentName}] connectedCallback called`);\n const origionalResult = originalConnectCallback?.call(this);\n const host = getElement(this);\n\n // If the nylas id is already set, then we don't need to do anything\n if (host.dataset.nylasId) {\n return origionalResult;\n }\n\n Object.defineProperty(host, 'registerNylasComponent', {\n get() {\n return true;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'stateToProps', {\n get() {\n return config.stateToProps;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'getStoresToProp', {\n get() {\n return config.getStoresToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'storeToProps', {\n get() {\n return config.storeToProps;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'eventToProps', {\n get() {\n return eventToPropsMap;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'authToProp', {\n get() {\n return config.authToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'connectorToProp', {\n get() {\n return config.connectorToProp;\n },\n enumerable: true,\n });\n Object.defineProperty(host, 'localPropsToProp', {\n get() {\n return config.localPropsToProp;\n },\n enumerable: true,\n });\n return origionalResult;\n };\n\n if (config.fireRegisterEvent) {\n target.componentWillLoad = function () {\n const origionalResult = originalComponentWillLoad?.call(this);\n const host = getElement(this);\n\n // We use our host element to dispatch a registration event that is picked up by the\n // the nylas-provider component.\n const registeredComponent: RegisteredComponent<H, B> = {\n element: host,\n ...config,\n eventToProps: eventToPropsMap,\n };\n const event = createComponentEvent(target, registeredComponent, config.registrationEventName);\n if (host.dispatchEvent(event)) {\n debug(`[${componentName}] Component ${componentName} successfully fired registration event`);\n }\n\n return origionalResult;\n };\n\n target.disconnectedCallback = function () {\n const origionalResult = originalDisconnectCallback?.call(this);\n const host = getElement(this);\n\n // We use our host element to dispatch a registration event that is picked up by the\n // the nylas-provider component.\n const registeredComponent: RegisteredComponent<H, B> = {\n element: host,\n ...config,\n eventToProps: eventToPropsMap,\n };\n const event = unregisterComponentEvent(target, registeredComponent, config.unregistrationEventName);\n if (host.dispatchEvent(event)) {\n debug(`[${componentName}] Component ${componentName} successfully fired unregistration event`);\n }\n\n return origionalResult;\n };\n }\n };\n}\n"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-091600eb.js';
|
|
2
|
-
import { r as sanitize } from './utils-
|
|
2
|
+
import { r as sanitize } from './utils-31933f5d.js';
|
|
3
3
|
|
|
4
4
|
const textareaComponentCss = ":host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:\"Inter\", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}textarea:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}";
|
|
5
5
|
const TextareaComponentStyle0 = textareaComponentCss;
|