@nylas/web-elements 2.5.4-canary-20260414190133 → 2.5.4
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 +14 -7
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +9 -5
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +8 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.entry.cjs.js.map +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-scheduling.entry.cjs.js.map +1 -1
- package/dist/cjs/radio-button-group.cjs.entry.js +8 -1
- package/dist/cjs/radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/radio-button-group.entry.cjs.js.map +1 -1
- package/dist/cjs/{version-YNIW-ify.js → version-COw2dh2E.js} +3 -3
- package/dist/cjs/{version-YNIW-ify.js.map → version-COw2dh2E.js.map} +1 -1
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +8 -1
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/scheduler-view.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/scheduler-view.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler-config.js +7 -0
- package/dist/collection/connector/shared/api/scheduler-config.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-booking-form.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 +12 -5
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +5 -5
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-timeslot-interval.js +1 -1
- package/dist/components/{p-CrRo4iAd.js → p-BUEZ6uxG.js} +3 -3
- package/dist/components/{p-CrRo4iAd.js.map → p-BUEZ6uxG.js.map} +1 -1
- package/dist/components/{p-CK5WaL4F.js → p-Bd0cKEr-.js} +5 -5
- package/dist/components/{p-CK5WaL4F.js.map → p-Bd0cKEr-.js.map} +1 -1
- package/dist/components/{p-CMFPcpfe.js → p-C0pHjJtj.js} +3 -3
- package/dist/components/{p-CMFPcpfe.js.map → p-C0pHjJtj.js.map} +1 -1
- package/dist/components/{p-B_Qi3sM4.js → p-CyWE9dXK.js} +10 -3
- package/dist/components/p-CyWE9dXK.js.map +1 -0
- package/dist/components/{p-CFYeMUAJ.js → p-DTmxwCTa.js} +3 -3
- package/dist/components/{p-CFYeMUAJ.js.map → p-DTmxwCTa.js.map} +1 -1
- package/dist/components/{p-CqSo9p2I.js → p-ejCgVZ9o.js} +3 -3
- package/dist/components/{p-CqSo9p2I.js.map → p-ejCgVZ9o.js.map} +1 -1
- package/dist/components/radio-button-group.js +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +8 -1
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +3 -3
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/radio-button-group.entry.js +8 -1
- package/dist/esm/radio-button-group.entry.js.map +1 -1
- package/dist/esm/{version-B_bXhV6M.js → version-DDixcvI0.js} +3 -3
- package/dist/esm/{version-B_bXhV6M.js.map → version-DDixcvI0.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.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-5a861a93.entry.js → p-7876f3e5.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-5a861a93.entry.js.map → p-7876f3e5.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-4f5cfb00.entry.js → p-937127a0.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-B_bXhV6M.js → p-DDixcvI0.js} +2 -2
- package/dist/nylas-web-elements/{p-B_bXhV6M.js.map → p-DDixcvI0.js.map} +1 -1
- package/dist/nylas-web-elements/{p-5ab4cc6d.entry.js → p-a6d5e357.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a6d5e357.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-f5cf4c30.entry.js +2 -0
- package/dist/nylas-web-elements/p-f5cf4c30.entry.js.map +1 -0
- package/dist/nylas-web-elements/radio-button-group.entry.esm.js.map +1 -1
- package/dist/types/connector/shared/api/scheduler-config.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-B_Qi3sM4.js.map +0 -1
- package/dist/nylas-web-elements/p-5ab4cc6d.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-70ade4dd.entry.js +0 -2
- package/dist/nylas-web-elements/p-70ade4dd.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-4f5cfb00.entry.js.map → p-937127a0.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RadioButtonGroup$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RadioButtonGroup$1, d as defineCustomElement$1 } from './p-CyWE9dXK.js';
|
|
2
2
|
|
|
3
3
|
const RadioButtonGroup = RadioButtonGroup$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -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-DVA2Alyc.js';
|
|
3
3
|
import { a as debug, i as instance, p as mergeDeep, D as DEFAULT_OPEN_HOURS, q as editorTabComponentNames, r as parsePreviewLink, C as CONFIGURATION_EVENT_TYPE, s as editorGroupTabComponentNames, g as getCalendarRange } from './utils-BW6igRcf.js';
|
|
4
|
-
import { E as ErrorCategory, u, v as version } from './version-
|
|
4
|
+
import { E as ErrorCategory, u, v as version } from './version-DDixcvI0.js';
|
|
5
5
|
import { i as isInitialized, a as init, c as captureMessage, b as captureFeedback, f as feedbackSyncIntegration } from './feedbackSync-B8tfyAQm.js';
|
|
6
6
|
|
|
7
7
|
const iconCss$1 = ".sc-google-logo-icon-h{display:flex}";
|
|
@@ -2,7 +2,7 @@ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, a
|
|
|
2
2
|
import { N as NylasBaseProvider } from './abstract-provider-KowNUOZM.js';
|
|
3
3
|
import { N as NylasIdentityRequestWrapper } from './nylas-api-request-BUmT2J5X.js';
|
|
4
4
|
import { d as dayjs, u as utc, t as timezone, a as debug, b as dataResponse, g as getCalendarRange, e as error, C as CONFIGURATION_EVENT_TYPE, L as LANGUAGE_CODE, i as instance, c as LANGUAGE_MAP } from './utils-BW6igRcf.js';
|
|
5
|
-
import { o as o$1, v as version, E as ErrorCategory, N as NotificationType } from './version-
|
|
5
|
+
import { o as o$1, v as version, E as ErrorCategory, N as NotificationType } from './version-DDixcvI0.js';
|
|
6
6
|
import { c as createStore } from './index-DVBNi-yR.js';
|
|
7
7
|
|
|
8
8
|
dayjs.extend(utc);
|
|
@@ -265,6 +265,7 @@ class NylasSchedulerConfigAPIConnector {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
this.nylasSchedulerConfigStore.state.selectedGroupEvent = response.data;
|
|
268
|
+
this.invalidateGroupEventsCache();
|
|
268
269
|
await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
|
|
269
270
|
this.nylasSchedulerConfigStore.state.isLoading = false;
|
|
270
271
|
return dataResponse(response.data);
|
|
@@ -324,6 +325,9 @@ class NylasSchedulerConfigAPIConnector {
|
|
|
324
325
|
this.nylasSchedulerConfigStore.state.groupEvents = response.data;
|
|
325
326
|
return dataResponse(response.data);
|
|
326
327
|
}
|
|
328
|
+
invalidateGroupEventsCache() {
|
|
329
|
+
this.groupEventsCache.clear();
|
|
330
|
+
}
|
|
327
331
|
cleanupExpiredCache() {
|
|
328
332
|
const now = Date.now();
|
|
329
333
|
for (const [key, value] of this.groupEventsCache.entries()) {
|
|
@@ -360,6 +364,7 @@ class NylasSchedulerConfigAPIConnector {
|
|
|
360
364
|
});
|
|
361
365
|
}
|
|
362
366
|
this.nylasSchedulerConfigStore.state.selectedGroupEvent = response.data;
|
|
367
|
+
this.invalidateGroupEventsCache();
|
|
363
368
|
await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
|
|
364
369
|
this.nylasSchedulerConfigStore.state.isLoading = false;
|
|
365
370
|
return dataResponse(response.data);
|
|
@@ -512,6 +517,7 @@ class NylasSchedulerConfigAPIConnector {
|
|
|
512
517
|
message: 'Error deleting group event: ' + response.error?.message,
|
|
513
518
|
});
|
|
514
519
|
}
|
|
520
|
+
this.invalidateGroupEventsCache();
|
|
515
521
|
await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
|
|
516
522
|
this.nylasSchedulerConfigStore.state.isLoading = false;
|
|
517
523
|
return dataResponse(response.data);
|
|
@@ -547,6 +553,7 @@ class NylasSchedulerConfigAPIConnector {
|
|
|
547
553
|
});
|
|
548
554
|
}
|
|
549
555
|
if (response.data?.imported_events?.length > 0) {
|
|
556
|
+
this.invalidateGroupEventsCache();
|
|
550
557
|
await this.getGroupEvents(configurationId, this.nylasSchedulerConfigStore.state.selectedConfiguration);
|
|
551
558
|
}
|
|
552
559
|
this.nylasSchedulerConfigStore.state.isLoading = false;
|