@nylas/web-elements 0.0.0-test-20250318204811 → 0.0.0-test-20250320180623
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 +13 -13
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4813 -4805
- package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js.map +1 -1
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +1 -1
- package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +9 -9
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/input-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +14 -10
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-event-calendar_3.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-key-points.cjs.entry.js +1 -1
- package/dist/cjs/nylas-key-points.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/{scheduler-store-599282e9.js → scheduler-store-df3a9a3a.js} +10 -2
- package/dist/cjs/scheduler-store-df3a9a3a.js.map +1 -0
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.css +1 -1
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +3 -3
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js.map +1 -1
- package/dist/collection/components/nylas-notebook/nylas-key-points/nylas-key-points.js +4 -3
- package/dist/collection/components/nylas-notebook/nylas-key-points/nylas-key-points.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +13 -11
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +3 -3
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +8 -6
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +8 -10
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +2 -2
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +11 -11
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.css +1 -3
- package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.css +1 -3
- package/dist/collection/connector/nylas-scheduler-connector/errors/index.js +1 -29
- package/dist/collection/connector/nylas-scheduler-connector/errors/index.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
- package/dist/collection/types/index.js +29 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/components/input-dropdown2.js +1 -1
- package/dist/components/input-dropdown2.js.map +1 -1
- package/dist/components/nylas-booked-event-card2.js +9 -5
- package/dist/components/nylas-booked-event-card2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +3 -3
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group2.js +7 -7
- package/dist/components/nylas-editor-tabs-group2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +2 -2
- package/dist/components/nylas-event-calendar2.js.map +1 -1
- package/dist/components/nylas-event-duration2.js +1 -1
- package/dist/components/nylas-event-duration2.js.map +1 -1
- package/dist/components/nylas-key-points.js +1 -1
- package/dist/components/nylas-key-points.js.map +1 -1
- package/dist/components/nylas-organizer-confirmation-card2.js +4 -4
- package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
- package/dist/components/nylas-reminder-time2.js +1 -1
- package/dist/components/nylas-reminder-time2.js.map +1 -1
- package/dist/components/nylas-scheduling.js +2 -2
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/scheduler-store.js +9 -1
- package/dist/components/scheduler-store.js.map +1 -1
- package/dist/components/time-period-selector2.js +1 -1
- package/dist/components/time-period-selector2.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_36.entry.js +1 -1
- package/dist/esm/calendar-agenda-fill-icon_36.entry.js.map +1 -1
- package/dist/esm/checkmark-icon_15.entry.js +1 -1
- package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +9 -9
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/input-dropdown_2.entry.js +2 -2
- package/dist/esm/input-dropdown_2.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +14 -10
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-event-calendar_3.entry.js.map +1 -1
- package/dist/esm/nylas-key-points.entry.js +1 -1
- package/dist/esm/nylas-key-points.entry.js.map +1 -1
- package/dist/esm/nylas-provider.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +3 -3
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/{scheduler-store-59b3f29b.js → scheduler-store-ef022be9.js} +10 -2
- package/dist/esm/scheduler-store-ef022be9.js.map +1 -0
- 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-13a6c977.entry.js +2 -0
- package/dist/nylas-web-elements/p-13a6c977.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-a6fbfec1.entry.js → p-1fb32e0e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-40e57350.entry.js → p-463d9c42.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-40e57350.entry.js.map → p-463d9c42.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-4e20f21a.entry.js.map +1 -1
- package/dist/nylas-web-elements/{p-ef506ab3.entry.js → p-55886492.entry.js} +2 -2
- package/dist/nylas-web-elements/p-55886492.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-731a856b.js +2 -0
- package/dist/nylas-web-elements/p-731a856b.js.map +1 -0
- package/dist/nylas-web-elements/{p-4130014c.entry.js → p-74dfe60e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-4130014c.entry.js.map → p-74dfe60e.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-a6a52e17.entry.js +2 -0
- package/dist/nylas-web-elements/p-a6a52e17.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-8841358d.entry.js → p-a906d005.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a906d005.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-ab3ba8dc.entry.js +2 -0
- package/dist/nylas-web-elements/p-ab3ba8dc.entry.js.map +1 -0
- package/dist/types/components/design-system/time-period-selector/time-period-selector.d.ts +1 -1
- package/dist/types/components/nylas-notebook/nylas-key-points/nylas-key-points.d.ts +1 -6
- package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +2 -1
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.d.ts +5 -5
- package/dist/types/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.d.ts +1 -2
- package/dist/types/components.d.ts +12 -12
- package/dist/types/connector/nylas-scheduler-connector/errors/index.d.ts +1 -31
- package/dist/types/connector/shared/api/scheduler.d.ts +1 -1
- package/dist/types/types/index.d.ts +36 -0
- package/package.json +2 -2
- package/dist/cjs/scheduler-store-599282e9.js.map +0 -1
- package/dist/esm/scheduler-store-59b3f29b.js.map +0 -1
- package/dist/nylas-web-elements/p-790c6070.js +0 -2
- package/dist/nylas-web-elements/p-790c6070.js.map +0 -1
- package/dist/nylas-web-elements/p-8841358d.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-ac757a7b.entry.js +0 -2
- package/dist/nylas-web-elements/p-ac757a7b.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-b0f18064.entry.js +0 -2
- package/dist/nylas-web-elements/p-b0f18064.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-ef506ab3.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-f99b677f.entry.js +0 -2
- package/dist/nylas-web-elements/p-f99b677f.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-a6fbfec1.entry.js.map → p-1fb32e0e.entry.js.map} +0 -0
|
@@ -379,7 +379,7 @@ const NylasEditorTabs = class {
|
|
|
379
379
|
if (this.enableUserFeedback && !isInitialized()) {
|
|
380
380
|
init({
|
|
381
381
|
dsn: 'https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816',
|
|
382
|
-
release: "1.
|
|
382
|
+
release: "1.4.0",
|
|
383
383
|
integrations: integrations => [
|
|
384
384
|
...integrations.filter(_integration => false),
|
|
385
385
|
feedbackSyncIntegration({
|
|
@@ -436,7 +436,7 @@ const NylasEditorTabs = class {
|
|
|
436
436
|
captureContext: {
|
|
437
437
|
tags: {
|
|
438
438
|
'nylas-web-element': 'nylas-scheduler-editor',
|
|
439
|
-
'nylas-web-element-version': "1.
|
|
439
|
+
'nylas-web-element-version': "1.4.0",
|
|
440
440
|
'nylas-config-id': this.selectedConfiguration?.id,
|
|
441
441
|
'nylas-slug': this.selectedConfiguration?.slug,
|
|
442
442
|
'host-url': window.location.href,
|
|
@@ -991,7 +991,7 @@ const NylasEditorTabsGroup = class {
|
|
|
991
991
|
if (this.enableUserFeedback && !isInitialized()) {
|
|
992
992
|
init({
|
|
993
993
|
dsn: 'https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816',
|
|
994
|
-
release: "1.
|
|
994
|
+
release: "1.4.0",
|
|
995
995
|
integrations: integrations => [
|
|
996
996
|
...integrations.filter(_integration => false),
|
|
997
997
|
feedbackSyncIntegration({
|
|
@@ -1044,7 +1044,7 @@ const NylasEditorTabsGroup = class {
|
|
|
1044
1044
|
captureContext: {
|
|
1045
1045
|
tags: {
|
|
1046
1046
|
'nylas-web-element': 'nylas-scheduler-editor',
|
|
1047
|
-
'nylas-web-element-version': "1.
|
|
1047
|
+
'nylas-web-element-version': "1.4.0",
|
|
1048
1048
|
},
|
|
1049
1049
|
extra: {
|
|
1050
1050
|
configId: this.selectedConfiguration?.id,
|
|
@@ -1263,9 +1263,9 @@ const NylasEditorTabsGroup = class {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
render() {
|
|
1265
1265
|
debug('[nylas-editor-tabs-group]', 'render', this.formState);
|
|
1266
|
-
return (h(Host, { key: '
|
|
1266
|
+
return (h(Host, { key: '80f6d7605323f94c0c42c82a93a54841f7ce6fce' }, h("form", { key: 'dc53448c3981f476b3dffb8b1415899d8af97ac7', 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 => {
|
|
1267
1267
|
this.setActiveTab(e, TabGroup.CalendarView);
|
|
1268
|
-
} }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, "Return to Calendar view")))) : 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 ==
|
|
1268
|
+
} }, h("chevron-icon", { width: "16", height: "16" }), h("span", null, "Return to Calendar view")))) : 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: '8f0cd2cc7110a467eaaeba5a8698be56b7242860', class: "footer", part: "editor__footer net__footer" }, h("div", { key: '6bc62bd12942861a5e529dabe0102272c48b7daa', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (h("button-component", { title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, h("feedback-icon", null))), this.activeTab === TabGroup.CalendarView && (h("button-component", { title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, "Page settings"))), h("div", { key: 'f304c79865183375c2ff53285e60de1ef417c9a7', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h("p", { key: 'b17c3f605ed0bf2e41b5fd37515ebeb661582f9c', class: {
|
|
1269
1269
|
'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
|
|
1270
1270
|
'saved-changes': this.changesSaved,
|
|
1271
1271
|
'error': this.error !== '',
|
|
@@ -1274,17 +1274,17 @@ const NylasEditorTabsGroup = class {
|
|
|
1274
1274
|
? instance.t('unsavedChangesLabel')
|
|
1275
1275
|
: this.error == '' && this.changesSaved
|
|
1276
1276
|
? `${instance.t('changesSavedLabel')}!`
|
|
1277
|
-
: ''), h("div", { key: '
|
|
1277
|
+
: ''), h("div", { key: '091db183c2fca1d28ae77f80243b76639ea6efa9', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (h("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1278
1278
|
event.preventDefault();
|
|
1279
1279
|
const previewEvent = this.previewButtonClicked.emit(this.host);
|
|
1280
1280
|
if (!previewEvent.defaultPrevented) {
|
|
1281
1281
|
window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
|
|
1282
1282
|
}
|
|
1283
|
-
}, variant: 'basic' }, h("eye-icon", null))), h("button-component", { key: '
|
|
1283
|
+
}, variant: 'basic' }, h("eye-icon", null))), h("button-component", { key: '87c0a5643895914dfb58877e79a7c8e4de281713', type: "button", disabled: this.isLoading, clickHandler: event => {
|
|
1284
1284
|
event.preventDefault();
|
|
1285
1285
|
this.cancelButtonClick.emit();
|
|
1286
1286
|
this.error = '';
|
|
1287
|
-
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('backButton')), h("button-component", { key: '
|
|
1287
|
+
}, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, instance.t('backButton')), h("button-component", { key: '0e65441dd017ddaec3eb451cc4abbca28820b6a6', type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, 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", null)));
|
|
1288
1288
|
}
|
|
1289
1289
|
get host() { return getElement(this); }
|
|
1290
1290
|
static get watchers() { return {
|