@nylas/web-elements 2.3.1-canary-20260108155609 → 2.3.1
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 +228 -228
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4069 -4071
- package/dist/cjs/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.cjs.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +7 -7
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +10 -2
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -16
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
- package/dist/cjs/{version-7tiQyQzm.js → version-TA6fPT8q.js} +3 -3
- package/dist/{esm/version-CJAr1BgW.js.map → cjs/version-TA6fPT8q.js.map} +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +10 -2
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +6 -6
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler.js +2 -18
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-date-picker.js +1 -1
- package/dist/components/nylas-editor-tabs-group.js +1 -1
- package/dist/components/nylas-editor-tabs.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +3 -3
- package/dist/components/nylas-scheduling.js +5 -18
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/{p-jdTk8JQH.js → p-BOnzTQbE.js} +3 -3
- package/dist/components/{p-jdTk8JQH.js.map → p-BOnzTQbE.js.map} +1 -1
- package/dist/components/{p-B_1k1rpl.js → p-BtSPSFdA.js} +3 -3
- package/dist/components/{p-B_1k1rpl.js.map → p-BtSPSFdA.js.map} +1 -1
- package/dist/components/{p-CfFKgyg4.js → p-CMouzL9_.js} +9 -9
- package/dist/components/{p-CfFKgyg4.js.map → p-CMouzL9_.js.map} +1 -1
- package/dist/components/{p-CrkAtQ72.js → p-D9LfvAE5.js} +12 -4
- package/dist/components/p-D9LfvAE5.js.map +1 -0
- package/dist/esm/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +7 -7
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card_11.entry.js +10 -2
- package/dist/esm/nylas-booked-event-card_11.entry.js.map +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +4 -17
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/{version-CJAr1BgW.js → version-CIhCCVPS.js} +3 -3
- package/dist/{cjs/version-7tiQyQzm.js.map → esm/version-CIhCCVPS.js.map} +1 -1
- package/dist/nylas-web-elements/google-logo-icon.microsoft-logo-icon.nylas-editor-tabs.nylas-editor-tabs-group.nylas-list-configurations.nylas-select-event-type.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-a80bea66.entry.js → p-10b9c8eb.entry.js} +2 -2
- package/dist/nylas-web-elements/p-197e9602.entry.js +2 -0
- package/dist/nylas-web-elements/p-197e9602.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-9a4d5f1b.entry.js → p-6ed560fe.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-9a4d5f1b.entry.js.map → p-6ed560fe.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-CIhCCVPS.js +2 -0
- package/dist/nylas-web-elements/{p-CJAr1BgW.js.map → p-CIhCCVPS.js.map} +1 -1
- package/dist/nylas-web-elements/{p-544c4297.entry.js → p-ab80b127.entry.js} +2 -2
- package/dist/nylas-web-elements/p-ab80b127.entry.js.map +1 -0
- package/dist/types/connector/shared/api/scheduler.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-CrkAtQ72.js.map +0 -1
- package/dist/nylas-web-elements/p-544c4297.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-CJAr1BgW.js +0 -2
- package/dist/nylas-web-elements/p-c3b1d596.entry.js +0 -2
- package/dist/nylas-web-elements/p-c3b1d596.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-a80bea66.entry.js.map → p-10b9c8eb.entry.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, c as createEvent, H as Host, a as getElement } from './index-0EQQA0nE.js';
|
|
2
2
|
import { R as RegisterComponent } from './register-component-D4DulFJU.js';
|
|
3
3
|
import { a as debug, i as instance, m as mergeDeep, p as parsePreviewLink, g as getCalendarRange } from './utils-D7AODx4L.js';
|
|
4
|
-
import { u, v as version } from './version-
|
|
4
|
+
import { u, v as version } from './version-CIhCCVPS.js';
|
|
5
5
|
import { D as DEFAULT_OPEN_HOURS, e as editorTabComponentNames, C as CONFIGURATION_EVENT_TYPE, b as editorGroupTabComponentNames } from './constants-COJy29df.js';
|
|
6
6
|
import { E as ErrorCategory, i as isInitialized, a as init, c as captureMessage, b as captureFeedback, f as feedbackSyncIntegration } from './feedbackSync-CquJ7U5v.js';
|
|
7
7
|
|
|
@@ -1351,7 +1351,7 @@ const NylasEditorTabsGroup = class {
|
|
|
1351
1351
|
location: !conferencing ? formState.location : undefined,
|
|
1352
1352
|
participants: formState.participants,
|
|
1353
1353
|
organizer: organizer,
|
|
1354
|
-
conferencing: !formState.location ? conferencing :
|
|
1354
|
+
conferencing: !formState.location ? conferencing : undefined,
|
|
1355
1355
|
when: formState.eventTimeslot.when,
|
|
1356
1356
|
recurrence: formState.eventTimeslot.recurrence,
|
|
1357
1357
|
calendar_id: organizerDefaultCal?.id || 'primary',
|
|
@@ -1527,9 +1527,9 @@ const NylasEditorTabsGroup = class {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
render() {
|
|
1529
1529
|
debug('[nylas-editor-tabs-group]', 'render', this.formState);
|
|
1530
|
-
return (h(Host, { key: '
|
|
1530
|
+
return (h(Host, { key: '8f61e0ba84b0b86a27440220560eabcaeea4e1e5' }, h("nylas-notification", { key: '94cae29c1400ff371141100848c1037a8a7d322c' }), h("form", { key: 'a88d6973a4711a4489115b184db1b0535e123be7', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
|
|
1531
1531
|
this.setActiveTab(e, TabGroup.CalendarView);
|
|
1532
|
-
} }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '
|
|
1532
|
+
} }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h("div", { class: "tabs", part: "editor__tabs net__tabs" }, h("button", { name: TabGroup.BookingOptions, class: { tab: true, active: this.activeTab == TabGroup.BookingOptions, hide: this.hideTab(TabGroup.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, h("flow-icon", { width: "16", height: "16" }), instance.t('bookingOptionsTab')), h("button", { name: TabGroup.BookingForm, class: { tab: true, active: this.activeTab == TabGroup.BookingForm, hide: this.hideTab(TabGroup.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: e => this.setActiveTab(e, TabGroup.BookingForm) }, this.activeTab == TabGroup.BookingForm ? h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h("calendar-agenda-icon", { width: "16", height: "16" }), instance.t('bookingFormTab')), h("button", { name: TabGroup.Communications, class: { tab: true, active: this.activeTab == TabGroup.Communications, hide: this.hideTab(TabGroup.Communications) }, onClick: e => this.setActiveTab(e, TabGroup.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == TabGroup.Communications ? h("envelope-fill-icon", { width: "16", height: "16" }) : h("envelope-icon", { width: "16", height: "16" }), instance.t('communicationsTab')), h("button", { name: TabGroup.PageStyles, class: { tab: true, active: this.activeTab == TabGroup.PageStyles, hide: this.hideTab(TabGroup.PageStyles) }, onClick: e => this.setActiveTab(e, TabGroup.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == TabGroup.PageStyles ? h("paintbrush-fill-icon", { width: "16", height: "16" }) : h("paintbrush-icon", { width: "16", height: "16" }), instance.t('pageStylesTab'))), h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: instance })))) : (h("div", { class: "composable", key: this.selectedConfiguration?.id }, h("slot", null))), h("div", { key: '3cc55875cbb83e00b3007c06b5804399ae24c164', class: "footer", part: "editor__footer net__footer" }, h("div", { key: '661552aaedc6dfde5eb0725c4b37f975e11b8f2e', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { key: 'e2daf60e19bc54d7c3e9a520e0f4ce1d5ffb66ad', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", { key: 'fe1744b7062f50672ff51f8d850145935c1c94fe' }))), this.activeTab === TabGroup.CalendarView && (h("button-component", { key: '0c5a82186e7ba4b919342613b55740a5c15d7ee5', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, instance.t('pageSettingsButton')))), h("div", { key: 'df369d271cd6fc78c9b4ad5667a88382d9f29a65', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: '47b63ac1f8a5a90d4ba154acb2e6c4c5d6ef7545', class: {
|
|
1533
1533
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
1534
1534
|
'saved-changes': this.changesSaved,
|
|
1535
1535
|
'error': this.error?.message !== '',
|
|
@@ -1538,17 +1538,17 @@ const NylasEditorTabsGroup = class {
|
|
|
1538
1538
|
? instance.t('unsavedChangesLabel')
|
|
1539
1539
|
: this.error?.message == '' && this.changesSaved
|
|
1540
1540
|
? `${instance.t('changesSavedLabel')}!`
|
|
1541
|
-
: ''), h("div", { key: '
|
|
1541
|
+
: ''), h("div", { key: '1b1436cdc1da5ba05094e269cf1d4477bd8c25dd', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { key: '62cf4336c52211179fb5900d756f3ed62936c498', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1542
1542
|
event.preventDefault();
|
|
1543
1543
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
1544
1544
|
if (!previewEvent.defaultPrevented) {
|
|
1545
1545
|
window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
1546
1546
|
}
|
|
1547
|
-
}, variant: 'basic' }, h("eye-icon", { key: '
|
|
1547
|
+
}, variant: 'basic' }, h("eye-icon", { key: '9b32f09007c8eb0db6b093e5dde173790fc5537e' }))), h("button-component", { key: '692558a733120ce097966909ecdafb22de98e67e', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1548
1548
|
event.preventDefault();
|
|
1549
1549
|
this.cancelButtonClick.emit();
|
|
1550
1550
|
this.host.resetError();
|
|
1551
|
-
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), h("button-component", { key: '
|
|
1551
|
+
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('cancelButton')), h("button-component", { key: '4eda146ceacc6749da0f95152060a925e6f9cf06', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (h("span", null, h("loading-icon", null), ' ')) : this.isLoading ? (h("span", null, instance.t('savingButtonText'), h("loading-icon", null), ' ')) : this.action === 'create' ? (`${instance.t('createButtonText')}`) : (`${instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && h("nylas-feedback-form", { key: '62ab497f55fc337f2ac530df8def914157198e06' })));
|
|
1552
1552
|
}
|
|
1553
1553
|
get host() { return getElement(this); }
|
|
1554
1554
|
static get watchers() { return {
|