@nylas/web-elements 0.0.0-test-20250321141510 → 0.0.0-test-20250327161320

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 (70) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +10 -11
  2. package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js +6 -9
  3. package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js.map +1 -1
  4. package/dist/cjs/google-logo-icon_6.cjs.entry.js +5 -5
  5. package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  7. package/dist/cjs/nylas-transcript.cjs.entry.js +4 -4
  8. package/dist/cjs/nylas-transcript.cjs.entry.js.map +1 -1
  9. package/dist/cjs/nylas-video-player.cjs.entry.js +2 -2
  10. package/dist/cjs/nylas-video-player.cjs.entry.js.map +1 -1
  11. package/dist/cjs/scheduler-store-461fd2ff.js.map +1 -1
  12. package/dist/collection/components/nylas-notebook/nylas-transcript/nylas-transcript.css +5 -0
  13. package/dist/collection/components/nylas-notebook/nylas-transcript/nylas-transcript.js +3 -3
  14. package/dist/collection/components/nylas-notebook/nylas-transcript/nylas-transcript.js.map +1 -1
  15. package/dist/collection/components/nylas-notebook/nylas-video-player/nylas-video-player.css +0 -3
  16. package/dist/collection/components/nylas-notebook/nylas-video-player/nylas-video-player.js +1 -1
  17. package/dist/collection/components/nylas-notebook/nylas-video-player/nylas-video-player.js.map +1 -1
  18. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
  19. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  20. package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +3 -5
  21. package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js.map +1 -1
  22. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +5 -5
  23. package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
  24. package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration-with-config-2.spec.js +58 -0
  25. package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration-with-config-2.spec.js.map +1 -0
  26. package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration-with-config.spec.js +0 -32
  27. package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration-with-config.spec.js.map +1 -1
  28. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +3 -4
  29. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
  30. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js +12 -0
  31. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js.map +1 -1
  32. package/dist/collection/types/index.js.map +1 -1
  33. package/dist/components/nylas-booking-form-config2.js +3 -5
  34. package/dist/components/nylas-booking-form-config2.js.map +1 -1
  35. package/dist/components/nylas-editor-tabs-group2.js +5 -5
  36. package/dist/components/nylas-editor-tabs-group2.js.map +1 -1
  37. package/dist/components/nylas-participants-custom-availability2.js +3 -4
  38. package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
  39. package/dist/components/nylas-scheduling.js.map +1 -1
  40. package/dist/components/nylas-transcript.js +4 -4
  41. package/dist/components/nylas-transcript.js.map +1 -1
  42. package/dist/components/nylas-video-player.js +2 -2
  43. package/dist/components/nylas-video-player.js.map +1 -1
  44. package/dist/components/scheduler-store.js.map +1 -1
  45. package/dist/esm/calendar-agenda-fill-icon_36.entry.js +6 -9
  46. package/dist/esm/calendar-agenda-fill-icon_36.entry.js.map +1 -1
  47. package/dist/esm/google-logo-icon_6.entry.js +5 -5
  48. package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
  49. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  50. package/dist/esm/nylas-transcript.entry.js +4 -4
  51. package/dist/esm/nylas-transcript.entry.js.map +1 -1
  52. package/dist/esm/nylas-video-player.entry.js +2 -2
  53. package/dist/esm/nylas-video-player.entry.js.map +1 -1
  54. package/dist/esm/scheduler-store-755ced0b.js.map +1 -1
  55. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  56. package/dist/nylas-web-elements/p-4b48f29a.entry.js.map +1 -1
  57. package/dist/nylas-web-elements/{p-f12cd991.entry.js → p-7fcdad32.entry.js} +2 -2
  58. package/dist/nylas-web-elements/p-7fcdad32.entry.js.map +1 -0
  59. package/dist/nylas-web-elements/{p-b1c57792.entry.js → p-c3f848d7.entry.js} +2 -2
  60. package/dist/nylas-web-elements/{p-b1c57792.entry.js.map → p-c3f848d7.entry.js.map} +1 -1
  61. package/dist/nylas-web-elements/p-d1053aa8.entry.js +2 -0
  62. package/dist/nylas-web-elements/p-d1053aa8.entry.js.map +1 -0
  63. package/dist/nylas-web-elements/p-d36ad6ef.js.map +1 -1
  64. package/dist/nylas-web-elements/{p-11d7062d.entry.js → p-f4881c71.entry.js} +2 -2
  65. package/dist/nylas-web-elements/p-f4881c71.entry.js.map +1 -0
  66. package/package.json +3 -3
  67. package/dist/nylas-web-elements/p-11d7062d.entry.js.map +0 -1
  68. package/dist/nylas-web-elements/p-3d93df74.entry.js +0 -2
  69. package/dist/nylas-web-elements/p-3d93df74.entry.js.map +0 -1
  70. package/dist/nylas-web-elements/p-f12cd991.entry.js.map +0 -1
@@ -1267,9 +1267,9 @@ const NylasEditorTabsGroup = class {
1267
1267
  }
1268
1268
  render() {
1269
1269
  utils.debug('[nylas-editor-tabs-group]', 'render', this.formState);
1270
- return (index.h(index.Host, { key: '3876ed63289b6d9f50ada8cf0f45e6bf89ce5144' }, index.h("form", { key: '0811e2531ad2a510fa0d3d0361c6013f24debd15', 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 => {
1270
+ return (index.h(index.Host, { key: 'cf025708c655e2aee605430428f78cc98b83a36d' }, index.h("form", { key: 'b9043cb7810321296d11bd11934e8cb7bcc79eb1', 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 => {
1271
1271
  this.setActiveTab(e, TabGroup.CalendarView);
1272
- } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, "Return to Calendar view")))) : 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: 'aeac48a6fb617c41599578ea1daaa077d8460eb7', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: 'c6ae59dfb5a785a61005aded9cccef25b5bc988d', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", null))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, "Page settings"))), index.h("div", { key: 'c8173bb6d4c0f7c3c032e69ba90a168690213d61', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '647a5d28a97e96da3cd1244eedb9ad7a9a5b659e', class: {
1272
+ } }, index.h("chevron-icon", { width: "16", height: "16" }), index.h("span", null, "Return to Calendar view")))) : 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: '50f69aab7b22a587606b5406c91759e51addb44f', class: "footer", part: "editor__footer net__footer" }, index.h("div", { key: '26ebcb6c1cc508e1f10fe20eb4c5857023173605', class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && (index.h("button-component", { title: "Share your feedback", id: "report-issue", variant: 'basic', onClick: e => this.onFeedbackClick(e) }, index.h("feedback-icon", null))), this.activeTab === TabGroup.CalendarView && (index.h("button-component", { title: "Go to page settings", id: "page-settings", variant: 'basic', onClick: e => this.setActiveTab(e, TabGroup.BookingOptions) }, "Page settings"))), index.h("div", { key: 'ee32dd94e37aeb792814141170a5767d731269bb', class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, index.h("p", { key: '498062aecdb216bc247b2e114ac2e8bf69183fd8', class: {
1273
1273
  'unsaved-changes': this.hasUnsavedChanges && !this.changesSaved,
1274
1274
  'saved-changes': this.changesSaved,
1275
1275
  'error': this.error !== '',
@@ -1278,17 +1278,17 @@ const NylasEditorTabsGroup = class {
1278
1278
  ? utils.instance.t('unsavedChangesLabel')
1279
1279
  : this.error == '' && this.changesSaved
1280
1280
  ? `${utils.instance.t('changesSavedLabel')}!`
1281
- : ''), index.h("div", { key: '13f02e12c253380c196501d819e26dbef36f5532', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1281
+ : ''), index.h("div", { key: 'f0dface3c46b80bc47567a4e681bf41cf312a514', class: "footer-buttons__row" }, this.schedulerPreviewLink !== '' && this.action === 'edit' && (index.h("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: event => {
1282
1282
  event.preventDefault();
1283
1283
  const previewEvent = this.previewButtonClicked.emit(this.host);
1284
1284
  if (!previewEvent.defaultPrevented) {
1285
1285
  window.open(utils.parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), '_blank');
1286
1286
  }
1287
- }, variant: 'basic' }, index.h("eye-icon", null))), index.h("button-component", { key: '945a4b3405ff6e8a90d87dfea5928c86939d1666', type: "button", disabled: this.isLoading, clickHandler: event => {
1287
+ }, variant: 'basic' }, index.h("eye-icon", null))), index.h("button-component", { key: '1eeecd13d02200db7e19dcdd82196d03e6bd8347', type: "button", disabled: this.isLoading, clickHandler: event => {
1288
1288
  event.preventDefault();
1289
1289
  this.cancelButtonClick.emit();
1290
1290
  this.error = '';
1291
- }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('backButton')), index.h("button-component", { key: 'd412db23e9fff9450174caa83d39a5dae05b5022', type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, 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", null)));
1291
+ }, variant: 'basic', part: "editor__footer-cancel net__footer-cancel" }, utils.instance.t('backButton')), index.h("button-component", { key: '28d33ae984c3a42a985342c7dda7d45c296a27bb', type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, 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", null)));
1292
1292
  }
1293
1293
  get host() { return index.getElement(this); }
1294
1294
  static get watchers() { return {