@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.
Files changed (66) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +228 -228
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4069 -4071
  3. 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
  4. package/dist/cjs/google-logo-icon_6.cjs.entry.js +7 -7
  5. package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +10 -2
  7. package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js.map +1 -1
  8. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  9. package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -16
  10. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  11. package/dist/cjs/nylas-scheduling.entry.cjs.js.map +1 -1
  12. package/dist/cjs/{version-7tiQyQzm.js → version-TA6fPT8q.js} +3 -3
  13. package/dist/{esm/version-CJAr1BgW.js.map → cjs/version-TA6fPT8q.js.map} +1 -1
  14. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +10 -2
  15. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
  16. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +6 -6
  17. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
  18. package/dist/collection/connector/shared/api/scheduler.js +2 -18
  19. package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
  20. package/dist/collection/version.js +1 -1
  21. package/dist/collection/version.js.map +1 -1
  22. package/dist/components/nylas-date-picker.js +1 -1
  23. package/dist/components/nylas-editor-tabs-group.js +1 -1
  24. package/dist/components/nylas-editor-tabs.js +1 -1
  25. package/dist/components/nylas-scheduler-editor.js +3 -3
  26. package/dist/components/nylas-scheduling.js +5 -18
  27. package/dist/components/nylas-scheduling.js.map +1 -1
  28. package/dist/components/{p-jdTk8JQH.js → p-BOnzTQbE.js} +3 -3
  29. package/dist/components/{p-jdTk8JQH.js.map → p-BOnzTQbE.js.map} +1 -1
  30. package/dist/components/{p-B_1k1rpl.js → p-BtSPSFdA.js} +3 -3
  31. package/dist/components/{p-B_1k1rpl.js.map → p-BtSPSFdA.js.map} +1 -1
  32. package/dist/components/{p-CfFKgyg4.js → p-CMouzL9_.js} +9 -9
  33. package/dist/components/{p-CfFKgyg4.js.map → p-CMouzL9_.js.map} +1 -1
  34. package/dist/components/{p-CrkAtQ72.js → p-D9LfvAE5.js} +12 -4
  35. package/dist/components/p-D9LfvAE5.js.map +1 -0
  36. 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
  37. package/dist/esm/google-logo-icon_6.entry.js +7 -7
  38. package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
  39. package/dist/esm/nylas-booked-event-card_11.entry.js +10 -2
  40. package/dist/esm/nylas-booked-event-card_11.entry.js.map +1 -1
  41. package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
  42. package/dist/esm/nylas-scheduling.entry.js +4 -17
  43. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  44. package/dist/esm/{version-CJAr1BgW.js → version-CIhCCVPS.js} +3 -3
  45. package/dist/{cjs/version-7tiQyQzm.js.map → esm/version-CIhCCVPS.js.map} +1 -1
  46. 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
  47. package/dist/nylas-web-elements/nylas-scheduling.entry.esm.js.map +1 -1
  48. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  49. package/dist/nylas-web-elements/{p-a80bea66.entry.js → p-10b9c8eb.entry.js} +2 -2
  50. package/dist/nylas-web-elements/p-197e9602.entry.js +2 -0
  51. package/dist/nylas-web-elements/p-197e9602.entry.js.map +1 -0
  52. package/dist/nylas-web-elements/{p-9a4d5f1b.entry.js → p-6ed560fe.entry.js} +2 -2
  53. package/dist/nylas-web-elements/{p-9a4d5f1b.entry.js.map → p-6ed560fe.entry.js.map} +1 -1
  54. package/dist/nylas-web-elements/p-CIhCCVPS.js +2 -0
  55. package/dist/nylas-web-elements/{p-CJAr1BgW.js.map → p-CIhCCVPS.js.map} +1 -1
  56. package/dist/nylas-web-elements/{p-544c4297.entry.js → p-ab80b127.entry.js} +2 -2
  57. package/dist/nylas-web-elements/p-ab80b127.entry.js.map +1 -0
  58. package/dist/types/connector/shared/api/scheduler.d.ts +1 -1
  59. package/dist/types/version.d.ts +1 -1
  60. package/package.json +1 -1
  61. package/dist/components/p-CrkAtQ72.js.map +0 -1
  62. package/dist/nylas-web-elements/p-544c4297.entry.js.map +0 -1
  63. package/dist/nylas-web-elements/p-CJAr1BgW.js +0 -2
  64. package/dist/nylas-web-elements/p-c3b1d596.entry.js +0 -2
  65. package/dist/nylas-web-elements/p-c3b1d596.entry.js.map +0 -1
  66. /package/dist/nylas-web-elements/{p-a80bea66.entry.js.map → p-10b9c8eb.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-9TuL48qE.js');
4
4
  var registerComponent = require('./register-component-DSTSbrHA.js');
5
5
  var utils = require('./utils-Bgkmok_H.js');
6
- var version = require('./version-7tiQyQzm.js');
6
+ var version = require('./version-TA6fPT8q.js');
7
7
  var constants = require('./constants-AbUWnRXW.js');
8
8
  var feedbackSync = require('./feedbackSync-CwO9ANWC.js');
9
9
 
@@ -1353,7 +1353,7 @@ const NylasEditorTabsGroup = class {
1353
1353
  location: !conferencing ? formState.location : undefined,
1354
1354
  participants: formState.participants,
1355
1355
  organizer: organizer,
1356
- conferencing: !formState.location ? conferencing : {},
1356
+ conferencing: !formState.location ? conferencing : undefined,
1357
1357
  when: formState.eventTimeslot.when,
1358
1358
  recurrence: formState.eventTimeslot.recurrence,
1359
1359
  calendar_id: organizerDefaultCal?.id || 'primary',
@@ -1529,9 +1529,9 @@ const NylasEditorTabsGroup = class {
1529
1529
  }
1530
1530
  render() {
1531
1531
  utils.debug('[nylas-editor-tabs-group]', 'render', this.formState);
1532
- return (index.h(index.Host, { key: 'b8c38d76ff405a655598b4764d520ca9785cefff' }, index.h("nylas-notification", { key: '91fef9992261f0ca1c8dbed9b6d16c4d8c2861f9' }), index.h("form", { key: '8c8a607298a7062a211f6d31a20f70a035a9d47a', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, index.h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1532
+ return (index.h(index.Host, { key: '8f61e0ba84b0b86a27440220560eabcaeea4e1e5' }, index.h("nylas-notification", { key: '94cae29c1400ff371141100848c1037a8a7d322c' }), index.h("form", { key: 'a88d6973a4711a4489115b184db1b0535e123be7', onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: el => (this.formRef = el), noValidate: true }, this.mode === 'app' ? (index.h("div", { class: "return-to-calendar-view", part: "editor__return-to-calendar-view net__return-to-calendar-view" }, index.h("button-component", { id: "return-to-calendar-view-button", variant: "invisible", part: "nset__header__back-button", type: "button", onClick: e => {
1533
1533
  this.setActiveTab(e, TabGroup.CalendarView);
1534
- } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.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) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.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 ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.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 ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.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 ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: 'a88a443bbf3e6c1234c14b99336afc72ef92a9fe', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: 'd6a1dbef004da659367dd79f358cacab9ab2f7eb', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: '8cbaae803541f451ee7aaec973bf57bdadba71bf', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: '3b9e37e45f013a909884875f982df70432138fd2' }))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { key: '6a41b39d9bf8d581e8fe48bc2e582a14b2afa980', class: "page-settings-button", title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, utils.instance.t('pageSettingsButton')))), index.h("div", { key: '9e8d2891485d672a334cfd3197de420d0c38a341', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '68d9d778fe26529e01823f519757fb0780564c71', class: {
1534
+ } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, utils.instance.t('returnToCalendarView'))))) : null, this.mode === 'app' ? (index.h("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, index.h("div", { class: "tabs", part: "editor__tabs net__tabs" }, index.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) }, index.h("flow-icon", { width: "16", height: "16" }), utils.instance.t('bookingOptionsTab')), index.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 ? index.h("calendar-agenda-fill-icon", { width: "16", height: "16" }) : index.h("calendar-agenda-icon", { width: "16", height: "16" }), utils.instance.t('bookingFormTab')), index.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 ? index.h("envelope-fill-icon", { width: "16", height: "16" }) : index.h("envelope-icon", { width: "16", height: "16" }), utils.instance.t('communicationsTab')), index.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 ? index.h("paintbrush-fill-icon", { width: "16", height: "16" }) : index.h("paintbrush-icon", { width: "16", height: "16" }), utils.instance.t('pageStylesTab'))), index.h("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, index.h(TabContentsGroup, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: this.selectedConfiguration?.id ?? 'new', i18next: utils.instance })))) : (index.h("div", { class: "composable", key: this.selectedConfiguration?.id }, index.h("slot", null))), index.h("div", { key: '3cc55875cbb83e00b3007c06b5804399ae24c164', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '661552aaedc6dfde5eb0725c4b37f975e11b8f2e', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { key: 'e2daf60e19bc54d7c3e9a520e0f4ce1d5ffb66ad', title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", { key: 'fe1744b7062f50672ff51f8d850145935c1c94fe' }))), this.activeTab === TabGroup.CalendarView && (index.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) }, utils.instance.t('pageSettingsButton')))), index.h("div", { key: 'df369d271cd6fc78c9b4ad5667a88382d9f29a65', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '47b63ac1f8a5a90d4ba154acb2e6c4c5d6ef7545', class: {
1535
1535
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
1536
1536
  'saved-changes': this.changesSaved,
1537
1537
  'error': this.error?.message !== '',
@@ -1540,17 +1540,17 @@ const NylasEditorTabsGroup = class {
1540
1540
  ? utils.instance.t('unsavedChangesLabel')
1541
1541
  : this.error?.message == '' && this.changesSaved
1542
1542
  ? `${utils.instance.t('changesSavedLabel')}!`
1543
- : ''), index.h("div", { key: '7560e3e6fd76576705940c2066fb702afac96956', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: 'd2b580bfce0f89d43786c8ef28300eb8d32a4dff', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1543
+ : ''), index.h("div", { key: '1b1436cdc1da5ba05094e269cf1d4477bd8c25dd', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { key: '62cf4336c52211179fb5900d756f3ed62936c498', title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1544
1544
  event.preventDefault();
1545
1545
  const previewEvent = this.previewButtonClicked.emit(this.host);
1546
1546
  if (!previewEvent.defaultPrevented) {
1547
1547
  window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
1548
1548
  }
1549
- }, variant: 'basic' }, index.h("eye-icon", { key: 'decb2684e95af7c2899c747c34e8be58241536cb' }))), index.h("button-component", { key: '03774d790d50c6300d500407e9bdb88ccae50d44', type: "button", disabled: this.isLoading, clickHandler: event => {
1549
+ }, variant: 'basic' }, index.h("eye-icon", { key: '9b32f09007c8eb0db6b093e5dde173790fc5537e' }))), index.h("button-component", { key: '692558a733120ce097966909ecdafb22de98e67e', type: "button", disabled: this.isLoading, clickHandler: event => {
1550
1550
  event.preventDefault();
1551
1551
  this.cancelButtonClick.emit();
1552
1552
  this.host.resetError();
1553
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.h("button-component", { key: 'a953672204dacf110ba95a15559ecc4a3b344d27', class: { 'save-changes': this.action === 'edit' }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, !this.componentLoaded ? (index.h("span", null, index.h("loading-icon", null), ' ')) : this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '0459509ce084e495ef66c39068d465db821368df' })));
1553
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('cancelButton')), index.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 ? (index.h("span", null, index.h("loading-icon", null), ' ')) : this.isLoading ? (index.h("span", null, utils.instance.t('savingButtonText'), index.h("loading-icon", null), ' ')) : this.action === 'create' ? (`${utils.instance.t('createButtonText')}`) : (`${utils.instance.t('saveChangesButtonText')}`)))))), this.showFeedbackModal && index.h("nylas-feedback-form", { key: '62ab497f55fc337f2ac530df8def914157198e06' })));
1554
1554
  }
1555
1555
  get host() { return index.getElement(this); }
1556
1556
  static get watchers() { return {