@nylas/web-elements 2.3.1-canary-20260108155205 → 2.3.1-canary-20260108171032
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 +1 -1
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4069 -4071
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +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-BIKhGgjH.js → version-CeT_0n4A.js} +3 -3
- package/dist/cjs/{version-BIKhGgjH.js.map → version-CeT_0n4A.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/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-DzM_DEIH.js → p-B6VIJyX4.js} +3 -3
- package/dist/components/{p-DzM_DEIH.js.map → p-B6VIJyX4.js.map} +1 -1
- package/dist/components/{p-DkfG_oE2.js → p-CiVq4q_I.js} +3 -3
- package/dist/components/{p-DkfG_oE2.js.map → p-CiVq4q_I.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/components/{p-CUriRAxu.js → p-riLaBDV9.js} +3 -3
- package/dist/components/{p-CUriRAxu.js.map → p-riLaBDV9.js.map} +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +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-CXFvcHg5.js → version-DmGp_17P.js} +3 -3
- package/dist/esm/{version-CXFvcHg5.js.map → version-DmGp_17P.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-15e67701.entry.js → p-001fc991.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-CXFvcHg5.js → p-DmGp_17P.js} +2 -2
- package/dist/nylas-web-elements/{p-CXFvcHg5.js.map → p-DmGp_17P.js.map} +1 -1
- package/dist/nylas-web-elements/p-a32e0d72.entry.js +2 -0
- package/dist/nylas-web-elements/p-a32e0d72.entry.js.map +1 -0
- 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/nylas-web-elements/{p-60fb00a8.entry.js → p-cf845da4.entry.js} +2 -2
- package/dist/types/connector/shared/api/scheduler.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/p-CrkAtQ72.js.map +0 -1
- package/dist/nylas-web-elements/p-3a989daf.entry.js +0 -2
- package/dist/nylas-web-elements/p-3a989daf.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-544c4297.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-15e67701.entry.js.map → p-001fc991.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-60fb00a8.entry.js.map → p-cf845da4.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-DmGp_17P.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
|
|
|
@@ -1172,7 +1172,15 @@ const NylasDatePicker = class {
|
|
|
1172
1172
|
return timeDay.range(timeDay.offset(firstDayOfMonth, -firstDayOfMonth.getDay()), timeDay.offset(lastDayOfMonth, 7 - lastDayOfMonth.getDay()));
|
|
1173
1173
|
}
|
|
1174
1174
|
selectDate(date) {
|
|
1175
|
-
|
|
1175
|
+
if (!date) {
|
|
1176
|
+
this.dateSelected.emit(date);
|
|
1177
|
+
return;
|
|
1178
|
+
}
|
|
1179
|
+
const year = date.getFullYear();
|
|
1180
|
+
const month = date.getMonth();
|
|
1181
|
+
const day = date.getDate();
|
|
1182
|
+
const dateInSelectedTimezone = dayjs.tz(`${year}-${String(month + 1).padStart(2, '0')}-${String(day).padStart(2, '0')} 12:00`, this.selectedTimezone);
|
|
1183
|
+
this.dateSelected.emit(dateInSelectedTimezone.toDate());
|
|
1176
1184
|
}
|
|
1177
1185
|
changeMonth(change) {
|
|
1178
1186
|
this.month = new Date(this.month.getFullYear(), this.month.getMonth() + change, 1);
|
|
@@ -1200,7 +1208,7 @@ const NylasDatePicker = class {
|
|
|
1200
1208
|
});
|
|
1201
1209
|
}
|
|
1202
1210
|
render() {
|
|
1203
|
-
return (h(Host, { key: '
|
|
1211
|
+
return (h(Host, { key: '6fe0131e53169edbb33d4181bca86faf66062842', part: "ndp" }, h("div", { key: 'aff6d815dcfa418a60a08f5a55fdbe3224996729', class: "nylas-date-picker" }, h("div", { key: '15a64ed69236a904fc4ee965680466a85bbe6c4e', class: "title", part: "ndp__title" }, this.configSettings?.name ? (h("h1", null, this.configSettings?.name)) : (this.configSettings?.organizer?.name && (h("h1", null, h("person-icon", null), this.configSettings?.organizer?.name || 'Organizer'))), h("p", { key: '5a9692a1535f4103b4b06107e2d80ca0ffb964da' }, h("clock-icon", { key: 'c5065ce5474422bd3aa8091ef4ab4e90d703fa82' }), this.eventDuration ? convertMinutesToHoursAndMinutes(this.eventDuration) : `- ${instance.t('time.minutes')}`)), h("div", { key: '72d7263de5e11341b131aedebb955467653ec263', class: 'header flex-row' }, h("h2", { key: '064ff2e251c14ab989dce98f2a99ab4d1e69c17a', part: 'ndp__month-header' }, h("strong", { key: '7561ab851be1ed699f56c85672cfca7b976ae159' }, translateMonth(this.month.toLocaleDateString('en-US', { month: 'long' }).toLowerCase())), "\u00A0", this.month.toLocaleDateString(undefined, { year: 'numeric' })), h("div", { key: 'a6683748b031a60a5f451f9698e8c264a9ed7f5f', class: 'pagination' }, h("button", { key: '2add26a5b2a648968c868e73f08e2c7cae0b74dd', title: "Previous month", onClick: () => this.changeMonth(-1), class: { 'chevron-left': true, 'button': true }, disabled: this.month <= new Date(), part: "ndp__month-button" }, h("chevron-icon", { key: '4e0bd46d2e3ba3f05636072468f68662d6dfc0b7' })), h("button", { key: '9966fd865b9ccb002b8995c43503808a70364047', title: "Next month", onClick: () => this.changeMonth(1), class: { 'chevron-right': true, 'button': true }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, h("chevron-icon", { key: '47846202155d56f19e9a0dab23789335a546342e' })))), h("div", { key: '35eda68be8f2f757e498426e5070144452e18c0a', class: 'dates' }, [
|
|
1204
1212
|
instance.t('days.sunday'),
|
|
1205
1213
|
instance.t('days.monday'),
|
|
1206
1214
|
instance.t('days.tuesday'),
|