@nylas/web-elements 1.1.5 → 1.1.6
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-booked-event-card/nylas-booked-event-card.es.js +155 -145
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +80 -70
- package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +14 -4
- package/dist/cdn/nylas-cancelled-event-card/nylas-cancelled-event-card.es.js +14 -4
- package/dist/cdn/nylas-confirmed-event-card/nylas-confirmed-event-card.es.js +14 -4
- package/dist/cdn/nylas-date-picker/nylas-date-picker.es.js +86 -73
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +19 -12
- package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +1226 -1219
- package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +1233 -1220
- package/dist/cdn/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.es.js +11 -4
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +19 -12
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1694 -1584
- package/dist/cdn/nylas-selected-event-card/nylas-selected-event-card.es.js +14 -4
- package/dist/cdn/nylas-timeslot-picker/nylas-timeslot-picker.es.js +13 -3
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js +13 -3
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +7 -6
- package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card.cjs.entry.js +15 -4
- package/dist/cjs/nylas-booked-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +142 -25
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +16 -3
- package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +13 -2
- package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +13 -2
- package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-confirmed-event-card.cjs.entry.js +13 -2
- package/dist/cjs/nylas-confirmed-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-date-picker.cjs.entry.js +16 -2
- package/dist/cjs/nylas-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js +7 -6
- package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-feedback-form.cjs.entry.js +13 -3
- package/dist/cjs/nylas-feedback-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-locale-switch.cjs.entry.js +18 -4
- package/dist/cjs/nylas-locale-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-organizer-confirmation-card.cjs.entry.js +12 -2
- package/dist/cjs/nylas-organizer-confirmation-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +11 -10
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js +14 -3
- package/dist/cjs/nylas-selected-event-card.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-timeslot-picker.cjs.entry.js +12 -1
- package/dist/cjs/nylas-timeslot-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css +0 -23
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +34 -3
- 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.css +0 -23
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +35 -2
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.css +0 -23
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +32 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.css +0 -23
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +32 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.css +0 -23
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +32 -1
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +0 -23
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +35 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.css +0 -23
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +36 -2
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +0 -23
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js +37 -3
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.css +0 -23
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +31 -1
- 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 +10 -9
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.css +0 -23
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +33 -2
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +0 -23
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +31 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/test/nylas-timeslot-picker.spec.js +7 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/test/nylas-timeslot-picker.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +5 -4
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/components/nylas-booked-event-card2.js +16 -4
- package/dist/components/nylas-booked-event-card2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +17 -3
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +14 -2
- package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +14 -2
- package/dist/components/nylas-cancelled-event-card2.js.map +1 -1
- package/dist/components/nylas-confirmed-event-card2.js +14 -2
- package/dist/components/nylas-confirmed-event-card2.js.map +1 -1
- package/dist/components/nylas-date-picker2.js +18 -3
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +7 -6
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-feedback-form2.js +14 -3
- package/dist/components/nylas-feedback-form2.js.map +1 -1
- package/dist/components/nylas-locale-switch2.js +20 -5
- package/dist/components/nylas-locale-switch2.js.map +1 -1
- package/dist/components/nylas-organizer-confirmation-card2.js +13 -2
- package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
- package/dist/components/nylas-scheduling.js +11 -10
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +15 -3
- package/dist/components/nylas-selected-event-card2.js.map +1 -1
- package/dist/components/nylas-timeslot-picker2.js +13 -1
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js +13 -3
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +7 -6
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nylas-booked-event-card.entry.js +16 -5
- package/dist/esm/nylas-booked-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +142 -25
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-booking-form.entry.js +16 -3
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-cancel-booking-form.entry.js +14 -3
- package/dist/esm/nylas-cancel-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-cancelled-event-card.entry.js +14 -3
- package/dist/esm/nylas-cancelled-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-confirmed-event-card.entry.js +14 -3
- package/dist/esm/nylas-confirmed-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-date-picker.entry.js +18 -4
- package/dist/esm/nylas-date-picker.entry.js.map +1 -1
- package/dist/esm/nylas-editor-tabs.entry.js +7 -6
- package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/esm/nylas-feedback-form.entry.js +13 -3
- package/dist/esm/nylas-feedback-form.entry.js.map +1 -1
- package/dist/esm/nylas-locale-switch.entry.js +20 -6
- package/dist/esm/nylas-locale-switch.entry.js.map +1 -1
- package/dist/esm/nylas-organizer-confirmation-card.entry.js +12 -2
- package/dist/esm/nylas-organizer-confirmation-card.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +11 -10
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-selected-event-card.entry.js +15 -4
- package/dist/esm/nylas-selected-event-card.entry.js.map +1 -1
- package/dist/esm/nylas-timeslot-picker.entry.js +13 -2
- package/dist/esm/nylas-timeslot-picker.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +16 -5
- package/dist/nylas-web-elements/nylas-booked-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +16 -3
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +14 -3
- package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +14 -3
- package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-confirmed-event-card.entry.js +14 -3
- package/dist/nylas-web-elements/nylas-confirmed-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-date-picker.entry.js +18 -4
- package/dist/nylas-web-elements/nylas-date-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +7 -6
- package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-feedback-form.entry.js +13 -3
- package/dist/nylas-web-elements/nylas-feedback-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js +20 -6
- package/dist/nylas-web-elements/nylas-locale-switch.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-organizer-confirmation-card.entry.js +12 -2
- package/dist/nylas-web-elements/nylas-organizer-confirmation-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +11 -10
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +15 -4
- package/dist/nylas-web-elements/nylas-selected-event-card.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +13 -2
- package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/p-2e7f0f20.entry.js +2 -0
- package/dist/nylas-web-elements/p-2e7f0f20.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-b5b568cf.entry.js → p-368190e9.entry.js} +2 -2
- package/dist/nylas-web-elements/p-368190e9.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-e790c71f.entry.js → p-9a8047b9.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-e790c71f.entry.js.map → p-9a8047b9.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-d586ff14.entry.js → p-eba3d197.entry.js} +3 -3
- package/dist/nylas-web-elements/p-eba3d197.entry.js.map +1 -0
- package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +4 -1
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +5 -2
- package/dist/types/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.d.ts +4 -1
- package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +4 -0
- package/dist/types/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.d.ts +4 -0
- package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +5 -0
- package/dist/types/components/scheduler/nylas-feedback-form/nylas-feedback-form.d.ts +3 -0
- package/dist/types/components/scheduler/nylas-locale-switch/nylas-locale-switch.d.ts +5 -0
- package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +3 -1
- package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.d.ts +4 -1
- package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +4 -1
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +1 -1
- package/dist/types/components.d.ts +88 -0
- package/package.json +1 -1
- package/dist/nylas-web-elements/p-7a1d51ab.entry.js +0 -2
- package/dist/nylas-web-elements/p-7a1d51ab.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-b5b568cf.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-d586ff14.entry.js.map +0 -1
|
@@ -87,8 +87,8 @@ const De = {
|
|
|
87
87
|
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
88
88
|
experimentalSlotFixes: !1
|
|
89
89
|
};
|
|
90
|
-
let
|
|
91
|
-
const
|
|
90
|
+
let qe, Br, ot, Uu = !1, It = !1, en = !1, ue = !1, Tn = null, Cr = !1;
|
|
91
|
+
const Ie = (r, e = "") => () => {
|
|
92
92
|
}, W1 = "slot-fb{display:contents}slot-fb[hidden]{display:none}", Sn = "http://www.w3.org/1999/xlink", Bn = {}, G1 = "http://www.w3.org/2000/svg", K1 = "http://www.w3.org/1999/xhtml", V1 = (r) => r != null, tn = (r) => (r = typeof r, r === "object" || r === "function");
|
|
93
93
|
function J1(r) {
|
|
94
94
|
var e, t, n;
|
|
@@ -171,7 +171,7 @@ const Y = (r, e, ...t) => {
|
|
|
171
171
|
} else r.adoptedStyleSheets.includes(i) || (r.adoptedStyleSheets = [...r.adoptedStyleSheets, i]);
|
|
172
172
|
return u;
|
|
173
173
|
}, ig = (r) => {
|
|
174
|
-
const e = r.$cmpMeta$, t = r.$hostElement$, n = e.$flags$, u =
|
|
174
|
+
const e = r.$cmpMeta$, t = r.$hostElement$, n = e.$flags$, u = Ie("attachStyles", e.$tagName$), i = ug(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, r.$modeName$);
|
|
175
175
|
n & 10 && (t["s-sc"] = i, t.classList.add(i + "-h"), n & 2 && t.classList.add(i + "-s")), u();
|
|
176
176
|
}, ju = (r, e) => "sc-" + (e && r.$flags$ & 32 ? r.$tagName$ + "-" + e : r.$tagName$), An = (r, e, t, n, u, i) => {
|
|
177
177
|
if (t !== n) {
|
|
@@ -217,7 +217,7 @@ const Y = (r, e, ...t) => {
|
|
|
217
217
|
}, Ft = (r, e, t, n) => {
|
|
218
218
|
const u = e.$children$[t];
|
|
219
219
|
let i = 0, o, a, s;
|
|
220
|
-
if (Uu || (en = !0, u.$tag$ === "slot" && (
|
|
220
|
+
if (Uu || (en = !0, u.$tag$ === "slot" && (qe && n.classList.add(qe + "-s"), u.$flags$ |= u.$children$ ? (
|
|
221
221
|
// slot element has fallback content
|
|
222
222
|
2
|
|
223
223
|
) : (
|
|
@@ -228,7 +228,7 @@ const Y = (r, e, ...t) => {
|
|
|
228
228
|
else if (u.$flags$ & 1)
|
|
229
229
|
o = u.$elm$ = de.createTextNode("");
|
|
230
230
|
else {
|
|
231
|
-
if (ue || (ue = u.$tag$ === "svg"), o = u.$elm$ = de.createElementNS(ue ? G1 : K1, u.$flags$ & 2 ? "slot-fb" : u.$tag$), ue && u.$tag$ === "foreignObject" && (ue = !1), qu(null, u, ue), V1(
|
|
231
|
+
if (ue || (ue = u.$tag$ === "svg"), o = u.$elm$ = de.createElementNS(ue ? G1 : K1, u.$flags$ & 2 ? "slot-fb" : u.$tag$), ue && u.$tag$ === "foreignObject" && (ue = !1), qu(null, u, ue), V1(qe) && o["s-si"] !== qe && o.classList.add(o["s-si"] = qe), u.$children$)
|
|
232
232
|
for (i = 0; i < u.$children$.length; ++i)
|
|
233
233
|
a = Ft(r, u, i, o), a && o.appendChild(a);
|
|
234
234
|
u.$tag$ === "svg" ? ue = !1 : o.tagName === "foreignObject" && (ue = !0);
|
|
@@ -266,23 +266,23 @@ const Y = (r, e, ...t) => {
|
|
|
266
266
|
else if (p == null)
|
|
267
267
|
p = n[--c];
|
|
268
268
|
else if (kt(f, h, u))
|
|
269
|
-
|
|
269
|
+
He(f, h, u), f = e[++i], h = n[++o];
|
|
270
270
|
else if (kt(d, p, u))
|
|
271
|
-
|
|
271
|
+
He(d, p, u), d = e[--l], p = n[--c];
|
|
272
272
|
else if (kt(f, p, u))
|
|
273
|
-
(f.$tag$ === "slot" || p.$tag$ === "slot") && st(f.$elm$.parentNode, !1),
|
|
273
|
+
(f.$tag$ === "slot" || p.$tag$ === "slot") && st(f.$elm$.parentNode, !1), He(f, p, u), r.insertBefore(f.$elm$, d.$elm$.nextSibling), f = e[++i], p = n[--c];
|
|
274
274
|
else if (kt(d, h, u))
|
|
275
|
-
(f.$tag$ === "slot" || p.$tag$ === "slot") && st(d.$elm$.parentNode, !1),
|
|
275
|
+
(f.$tag$ === "slot" || p.$tag$ === "slot") && st(d.$elm$.parentNode, !1), He(d, h, u), r.insertBefore(d.$elm$, f.$elm$), d = e[--l], h = n[++o];
|
|
276
276
|
else {
|
|
277
277
|
for (a = -1, s = i; s <= l; ++s)
|
|
278
278
|
if (e[s] && e[s].$key$ !== null && e[s].$key$ === h.$key$) {
|
|
279
279
|
a = s;
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
|
-
a >= 0 ? (g = e[a], g.$tag$ !== h.$tag$ ? m = Ft(e && e[o], t, a, r) : (
|
|
282
|
+
a >= 0 ? (g = e[a], g.$tag$ !== h.$tag$ ? m = Ft(e && e[o], t, a, r) : (He(g, h, u), e[a] = void 0, m = g.$elm$), h = n[++o]) : (m = Ft(e && e[o], t, o, r), h = n[++o]), m && Wu(f.$elm$).insertBefore(m, rn(f.$elm$));
|
|
283
283
|
}
|
|
284
284
|
i > l ? Hu(r, n[c + 1] == null ? null : n[c + 1].$elm$, t, n, o, c) : o > c && zu(e, i, l);
|
|
285
|
-
}, kt = (r, e, t = !1) => r.$tag$ === e.$tag$ ? r.$tag$ === "slot" ? r.$name$ === e.$name$ : t ? !0 : r.$key$ === e.$key$ : !1, rn = (r) => r && r["s-ol"] || r, Wu = (r) => (r["s-ol"] ? r["s-ol"] : r).parentNode,
|
|
285
|
+
}, kt = (r, e, t = !1) => r.$tag$ === e.$tag$ ? r.$tag$ === "slot" ? r.$name$ === e.$name$ : t ? !0 : r.$key$ === e.$key$ : !1, rn = (r) => r && r["s-ol"] || r, Wu = (r) => (r["s-ol"] ? r["s-ol"] : r).parentNode, He = (r, e, t = !1) => {
|
|
286
286
|
const n = e.$elm$ = r.$elm$, u = r.$children$, i = e.$children$, o = e.$tag$, a = e.$text$;
|
|
287
287
|
let s;
|
|
288
288
|
a === null ? (ue = o === "svg" ? !0 : o === "foreignObject" ? !1 : ue, o === "slot" || qu(r, e, ue), u !== null && i !== null ? ag(n, u, e, i, t) : i !== null ? (r.$text$ !== null && (n.textContent = ""), Hu(n, null, e, i, 0, i.length - 1)) : u !== null && zu(u, 0, u.length - 1), ue && o === "svg" && (ue = !1)) : (s = n["s-cr"]) ? s.parentNode.textContent = a : r.$text$ !== a && (n.data = a);
|
|
@@ -338,7 +338,7 @@ const Y = (r, e, ...t) => {
|
|
|
338
338
|
if (ot = s.tagName, l.$attrsToReflect$ && (d.$attrs$ = d.$attrs$ || {}, l.$attrsToReflect$.map(([c, h]) => d.$attrs$[h] = s[c])), t && d.$attrs$)
|
|
339
339
|
for (const c of Object.keys(d.$attrs$))
|
|
340
340
|
s.hasAttribute(c) && !["key", "ref", "style", "class"].includes(c) && (d.$attrs$[c] = s[c]);
|
|
341
|
-
d.$tag$ = null, d.$flags$ |= 4, r.$vnode$ = d, d.$elm$ = f.$elm$ = s.shadowRoot || s,
|
|
341
|
+
d.$tag$ = null, d.$flags$ |= 4, r.$vnode$ = d, d.$elm$ = f.$elm$ = s.shadowRoot || s, qe = s["s-sc"], Br = s["s-cr"], Uu = (l.$flags$ & 1) !== 0, It = !1, He(f, d, t);
|
|
342
342
|
{
|
|
343
343
|
if (ee.$flags$ |= 1, en) {
|
|
344
344
|
Ku(d.$elm$);
|
|
@@ -378,13 +378,13 @@ const Y = (r, e, ...t) => {
|
|
|
378
378
|
Br = void 0;
|
|
379
379
|
}, cg = (r, e) => {
|
|
380
380
|
}, Ju = (r, e) => (r.$flags$ |= 16, cg(r, r.$ancestorComponent$), Og(() => fg(r, e))), fg = (r, e) => {
|
|
381
|
-
const t = r.$hostElement$, n =
|
|
381
|
+
const t = r.$hostElement$, n = Ie("scheduleUpdate", r.$cmpMeta$.$tagName$), u = t;
|
|
382
382
|
let i;
|
|
383
383
|
return e ? i = We(u, "componentWillLoad") : i = We(u, "componentWillUpdate"), i = Pn(i, () => We(u, "componentWillRender")), n(), Pn(i, () => hg(r, u, e));
|
|
384
384
|
}, Pn = (r, e) => dg(r) ? r.then(e) : e(), dg = (r) => r instanceof Promise || r && r.then && typeof r.then == "function", hg = async (r, e, t) => {
|
|
385
|
-
const n = r.$hostElement$, u =
|
|
385
|
+
const n = r.$hostElement$, u = Ie("update", r.$cmpMeta$.$tagName$);
|
|
386
386
|
n["s-rc"], t && ig(r);
|
|
387
|
-
const i =
|
|
387
|
+
const i = Ie("render", r.$cmpMeta$.$tagName$);
|
|
388
388
|
gg(r, e, n, t), i(), u(), pg(r);
|
|
389
389
|
}, gg = (r, e, t, n) => {
|
|
390
390
|
try {
|
|
@@ -394,7 +394,7 @@ const Y = (r, e, ...t) => {
|
|
|
394
394
|
}
|
|
395
395
|
return Tn = null, null;
|
|
396
396
|
}, pg = (r) => {
|
|
397
|
-
const e = r.$cmpMeta$.$tagName$, t = r.$hostElement$, n =
|
|
397
|
+
const e = r.$cmpMeta$.$tagName$, t = r.$hostElement$, n = Ie("postUpdate", e), u = t;
|
|
398
398
|
r.$ancestorComponent$, We(u, "componentDidRender"), r.$flags$ & 64 ? (We(u, "componentDidUpdate"), n()) : (r.$flags$ |= 64, We(u, "componentDidLoad"), n());
|
|
399
399
|
}, We = (r, e, t) => {
|
|
400
400
|
if (r && r[e])
|
|
@@ -490,7 +490,7 @@ const Y = (r, e, ...t) => {
|
|
|
490
490
|
typeof o != "string" && (o = o[e.$modeName$ = eg(r)]);
|
|
491
491
|
const a = ju(t, e.$modeName$);
|
|
492
492
|
if (!Ut.has(a)) {
|
|
493
|
-
const s =
|
|
493
|
+
const s = Ie("registerStyles", t.$tagName$);
|
|
494
494
|
ng(a, o, !!(t.$flags$ & 1)), s();
|
|
495
495
|
}
|
|
496
496
|
}
|
|
@@ -498,7 +498,7 @@ const Y = (r, e, ...t) => {
|
|
|
498
498
|
}, Ln = (r) => {
|
|
499
499
|
}, kg = (r) => {
|
|
500
500
|
if (!(ee.$flags$ & 1)) {
|
|
501
|
-
const e = pt(r), t = e.$cmpMeta$, n =
|
|
501
|
+
const e = pt(r), t = e.$cmpMeta$, n = Ie("connectedCallback", t.$tagName$);
|
|
502
502
|
e.$flags$ & 1 ? (Zu(r, e, t.$listeners$), e != null && e.$lazyInstance$ ? Ln(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Ln(e.$lazyInstance$))) : (e.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
503
503
|
t.$flags$ & 12 && xg(r), t.$members$ && Object.entries(t.$members$).map(([u, [i]]) => {
|
|
504
504
|
if (i & 31 && r.hasOwnProperty(u)) {
|
|
@@ -1570,11 +1570,11 @@ var pi = { exports: {} };
|
|
|
1570
1570
|
}, y.valueOf = function() {
|
|
1571
1571
|
return this.$d.getTime();
|
|
1572
1572
|
}, y.startOf = function(v, C) {
|
|
1573
|
-
var E = this, B = !!O.u(C) || C, D = O.p(v), F = function(
|
|
1574
|
-
var Me = O.w(E.$u ? Date.UTC(E.$y, re,
|
|
1573
|
+
var E = this, B = !!O.u(C) || C, D = O.p(v), F = function(Ue, re) {
|
|
1574
|
+
var Me = O.w(E.$u ? Date.UTC(E.$y, re, Ue) : new Date(E.$y, re, Ue), E);
|
|
1575
1575
|
return B ? Me : Me.endOf(l);
|
|
1576
|
-
}, z = function(
|
|
1577
|
-
return O.w(E.toDate()[
|
|
1576
|
+
}, z = function(Ue, re) {
|
|
1577
|
+
return O.w(E.toDate()[Ue].apply(E.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), E);
|
|
1578
1578
|
}, G = this.$W, Z = this.$M, Ce = this.$D, Ee = "set" + (this.$u ? "UTC" : "");
|
|
1579
1579
|
switch (D) {
|
|
1580
1580
|
case h:
|
|
@@ -1634,9 +1634,9 @@ var pi = { exports: {} };
|
|
|
1634
1634
|
}, Qe = E.meridiem || function(re, Me, gr) {
|
|
1635
1635
|
var vt = re < 12 ? "AM" : "PM";
|
|
1636
1636
|
return gr ? vt.toLowerCase() : vt;
|
|
1637
|
-
},
|
|
1637
|
+
}, Ue = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: G + 1, MM: O.s(G + 1, 2, "0"), MMM: Ee(E.monthsShort, G, Ce, 3), MMMM: Ee(Ce, G), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: Ee(E.weekdaysMin, this.$W, Z, 2), ddd: Ee(E.weekdaysShort, this.$W, Z, 3), dddd: Z[this.$W], H: String(F), HH: O.s(F, 2, "0"), h: Ze(1), hh: Ze(2), a: Qe(F, z, !0), A: Qe(F, z, !1), m: String(z), mm: O.s(z, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: D };
|
|
1638
1638
|
return B.replace(w, function(re, Me) {
|
|
1639
|
-
return Me ||
|
|
1639
|
+
return Me || Ue[re] || D.replace(":", "");
|
|
1640
1640
|
});
|
|
1641
1641
|
}, y.utcOffset = function() {
|
|
1642
1642
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -1727,7 +1727,7 @@ var Rr = [
|
|
|
1727
1727
|
}, fp = function(r) {
|
|
1728
1728
|
return oe(r) ? r : [r];
|
|
1729
1729
|
};
|
|
1730
|
-
function
|
|
1730
|
+
function _e(r, e, t) {
|
|
1731
1731
|
t === void 0 && (t = " ");
|
|
1732
1732
|
var n = String(r);
|
|
1733
1733
|
return e = e >> 0, n.length > e ? String(n) : (e = e - n.length, e > t.length && (t += U(t, e / t.length)), t.slice(0, e) + String(n));
|
|
@@ -1746,9 +1746,9 @@ var dp = function(r, e, t) {
|
|
|
1746
1746
|
return !ye(r);
|
|
1747
1747
|
}, H = function(r, e) {
|
|
1748
1748
|
return V(r) && r.indexOf(e) !== -1;
|
|
1749
|
-
},
|
|
1749
|
+
}, Ne = function(r, e, t, n, u, i) {
|
|
1750
1750
|
return n === void 0 && (n = 0), u === void 0 && (u = 0), i === void 0 && (i = 0), new Date(Date.UTC(r, e - 1, t, n, u, i));
|
|
1751
|
-
}, hp = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], bi = 1e3 * 60 * 60 * 24, yi = 9999, vi =
|
|
1751
|
+
}, hp = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], bi = 1e3 * 60 * 60 * 24, yi = 9999, vi = Ne(1970, 1, 1), gp = [6, 0, 1, 2, 3, 4, 5], ut = function(r) {
|
|
1752
1752
|
return r % 4 === 0 && r % 100 !== 0 || r % 400 === 0;
|
|
1753
1753
|
}, ki = function(r) {
|
|
1754
1754
|
return r instanceof Date;
|
|
@@ -1769,7 +1769,7 @@ var dp = function(r, e, t) {
|
|
|
1769
1769
|
}, Ge = function(r) {
|
|
1770
1770
|
return gp[r.getUTCDay()];
|
|
1771
1771
|
}, Wn = function(r, e) {
|
|
1772
|
-
var t =
|
|
1772
|
+
var t = Ne(r, e + 1, 1);
|
|
1773
1773
|
return [Ge(t), mp(t)];
|
|
1774
1774
|
}, wi = function(r, e) {
|
|
1775
1775
|
return e = e || r, new Date(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
@@ -1788,13 +1788,13 @@ var dp = function(r, e, t) {
|
|
|
1788
1788
|
e === void 0 && (e = !0);
|
|
1789
1789
|
var t = new Date(r);
|
|
1790
1790
|
return [
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1791
|
+
_e(t.getUTCFullYear().toString(), 4, "0"),
|
|
1792
|
+
_e(t.getUTCMonth() + 1, 2, "0"),
|
|
1793
|
+
_e(t.getUTCDate(), 2, "0"),
|
|
1794
1794
|
"T",
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1795
|
+
_e(t.getUTCHours(), 2, "0"),
|
|
1796
|
+
_e(t.getUTCMinutes(), 2, "0"),
|
|
1797
|
+
_e(t.getUTCSeconds(), 2, "0"),
|
|
1798
1798
|
e ? "Z" : ""
|
|
1799
1799
|
].join("");
|
|
1800
1800
|
}, an = function(r) {
|
|
@@ -1808,7 +1808,7 @@ var dp = function(r, e, t) {
|
|
|
1808
1808
|
}, bp = function(r, e) {
|
|
1809
1809
|
var t = Intl.DateTimeFormat().resolvedOptions().timeZone, n = new Date(Kn(r, t)), u = new Date(Kn(r, e ?? "UTC")), i = u.getTime() - n.getTime();
|
|
1810
1810
|
return new Date(r.getTime() - i);
|
|
1811
|
-
},
|
|
1811
|
+
}, ze = (
|
|
1812
1812
|
/** @class */
|
|
1813
1813
|
function() {
|
|
1814
1814
|
function r(e, t) {
|
|
@@ -1886,7 +1886,7 @@ var Vn = (
|
|
|
1886
1886
|
return e.prototype.add = function(t) {
|
|
1887
1887
|
return this.iterator(t, this._result.length) ? (this._result.push(t), !0) : !1;
|
|
1888
1888
|
}, e;
|
|
1889
|
-
}(
|
|
1889
|
+
}(ze)
|
|
1890
1890
|
), jt = {
|
|
1891
1891
|
dayNames: [
|
|
1892
1892
|
"Sunday",
|
|
@@ -2752,7 +2752,7 @@ var Rp = (
|
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
2754
|
if (!n && this.all) {
|
|
2755
|
-
for (var l = new
|
|
2755
|
+
for (var l = new ze(e, t), a = 0; a < this.all.length && l.accept(this.all[a]); a++)
|
|
2756
2756
|
;
|
|
2757
2757
|
n = l.getValue(), this._cacheAdd(e, n, t);
|
|
2758
2758
|
}
|
|
@@ -2765,7 +2765,7 @@ var Rp = (
|
|
|
2765
2765
|
return r;
|
|
2766
2766
|
}();
|
|
2767
2767
|
function zp(r, e) {
|
|
2768
|
-
var t =
|
|
2768
|
+
var t = Ne(r, 1, 1), n = ut(r) ? 366 : 365, u = ut(r + 1) ? 366 : 365, i = Or(t), o = Ge(t), a = se(se({ yearlen: n, nextyearlen: u, yearordinal: i, yearweekday: o }, Wp(r)), { wnomask: null });
|
|
2769
2769
|
if (ye(e.byweekno))
|
|
2770
2770
|
return a;
|
|
2771
2771
|
a.wnomask = U(0, n + 7);
|
|
@@ -2791,7 +2791,7 @@ function zp(r, e) {
|
|
|
2791
2791
|
if (H(e.byweekno, -1))
|
|
2792
2792
|
S = -1;
|
|
2793
2793
|
else {
|
|
2794
|
-
var L = Ge(
|
|
2794
|
+
var L = Ge(Ne(r - 1, 1, 1)), M = ce(7 - L.valueOf() + e.wkst, 7), A = ut(r - 1) ? 366 : 365, R = void 0;
|
|
2795
2795
|
M >= 4 ? (M = 0, R = A + ce(L - e.wkst, 7)) : R = n - f, S = Math.floor(52 + ce(R, 7) / 4);
|
|
2796
2796
|
}
|
|
2797
2797
|
if (H(e.byweekno, S))
|
|
@@ -2801,7 +2801,7 @@ function zp(r, e) {
|
|
|
2801
2801
|
return a;
|
|
2802
2802
|
}
|
|
2803
2803
|
function Wp(r) {
|
|
2804
|
-
var e = ut(r) ? 366 : 365, t =
|
|
2804
|
+
var e = ut(r) ? 366 : 365, t = Ne(r, 1, 1), n = Ge(t);
|
|
2805
2805
|
return e === 365 ? {
|
|
2806
2806
|
mmask: Op,
|
|
2807
2807
|
mdaymask: Fp,
|
|
@@ -2936,11 +2936,11 @@ var Vp = (
|
|
|
2936
2936
|
i[o] = o;
|
|
2937
2937
|
return [i, n, u];
|
|
2938
2938
|
}, r.prototype.wdayset = function(e, t, n) {
|
|
2939
|
-
for (var u = U(null, this.yearlen + 7), i = Or(
|
|
2939
|
+
for (var u = U(null, this.yearlen + 7), i = Or(Ne(e, t, n)) - this.yearordinal, o = i, a = 0; a < 7 && (u[i] = i, ++i, this.wdaymask[i] !== this.options.wkst); a++)
|
|
2940
2940
|
;
|
|
2941
2941
|
return [u, o, i];
|
|
2942
2942
|
}, r.prototype.ddayset = function(e, t, n) {
|
|
2943
|
-
var u = U(null, this.yearlen), i = Or(
|
|
2943
|
+
var u = U(null, this.yearlen), i = Or(Ne(e, t, n)) - this.yearordinal;
|
|
2944
2944
|
return u[i] = i, [u, i, i + 1];
|
|
2945
2945
|
}, r.prototype.htimeset = function(e, t, n, u) {
|
|
2946
2946
|
var i = this, o = [];
|
|
@@ -3107,7 +3107,7 @@ var fe = {
|
|
|
3107
3107
|
if (e)
|
|
3108
3108
|
return this._iter(new Vn("all", {}, e));
|
|
3109
3109
|
var t = this._cacheGet("all");
|
|
3110
|
-
return t === !1 && (t = this._iter(new
|
|
3110
|
+
return t === !1 && (t = this._iter(new ze("all", {})), this._cacheAdd("all", t)), t;
|
|
3111
3111
|
}, r.prototype.between = function(e, t, n, u) {
|
|
3112
3112
|
if (n === void 0 && (n = !1), !nt(e) || !nt(t))
|
|
3113
3113
|
throw new Error("Invalid date passed in to RRule.between");
|
|
@@ -3119,17 +3119,17 @@ var fe = {
|
|
|
3119
3119
|
if (u)
|
|
3120
3120
|
return this._iter(new Vn("between", i, u));
|
|
3121
3121
|
var o = this._cacheGet("between", i);
|
|
3122
|
-
return o === !1 && (o = this._iter(new
|
|
3122
|
+
return o === !1 && (o = this._iter(new ze("between", i)), this._cacheAdd("between", o, i)), o;
|
|
3123
3123
|
}, r.prototype.before = function(e, t) {
|
|
3124
3124
|
if (t === void 0 && (t = !1), !nt(e))
|
|
3125
3125
|
throw new Error("Invalid date passed in to RRule.before");
|
|
3126
3126
|
var n = { dt: e, inc: t }, u = this._cacheGet("before", n);
|
|
3127
|
-
return u === !1 && (u = this._iter(new
|
|
3127
|
+
return u === !1 && (u = this._iter(new ze("before", n)), this._cacheAdd("before", u, n)), u;
|
|
3128
3128
|
}, r.prototype.after = function(e, t) {
|
|
3129
3129
|
if (t === void 0 && (t = !1), !nt(e))
|
|
3130
3130
|
throw new Error("Invalid date passed in to RRule.after");
|
|
3131
3131
|
var n = { dt: e, inc: t }, u = this._cacheGet("after", n);
|
|
3132
|
-
return u === !1 && (u = this._iter(new
|
|
3132
|
+
return u === !1 && (u = this._iter(new ze("after", n)), this._cacheAdd("after", u, n)), u;
|
|
3133
3133
|
}, r.prototype.count = function() {
|
|
3134
3134
|
return this.all().length;
|
|
3135
3135
|
}, r.prototype.toString = function() {
|
|
@@ -3571,7 +3571,7 @@ function Si(r, e, t) {
|
|
|
3571
3571
|
n !== "__proto__" && n !== "constructor" && (n in r ? typeof r[n] == "string" || r[n] instanceof String || typeof e[n] == "string" || e[n] instanceof String ? t && (r[n] = e[n]) : Si(r[n], e[n], t) : r[n] = e[n]);
|
|
3572
3572
|
return r;
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function je(r) {
|
|
3575
3575
|
return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
3576
3576
|
}
|
|
3577
3577
|
var pm = {
|
|
@@ -4291,7 +4291,7 @@ class Bm {
|
|
|
4291
4291
|
maxReplaces: w,
|
|
4292
4292
|
alwaysFormat: S
|
|
4293
4293
|
} = e.interpolation;
|
|
4294
|
-
this.escape = t !== void 0 ? t : mm, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = u !== void 0 ? u : !1, this.prefix = i ?
|
|
4294
|
+
this.escape = t !== void 0 ? t : mm, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = u !== void 0 ? u : !1, this.prefix = i ? je(i) : o || "{{", this.suffix = a ? je(a) : s || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : d || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = c ? je(c) : h || je("$t("), this.nestingSuffix = p ? je(p) : m || je(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = S !== void 0 ? S : !1, this.resetRegExp();
|
|
4295
4295
|
}
|
|
4296
4296
|
reset() {
|
|
4297
4297
|
this.options && this.init(this.options);
|
|
@@ -4409,7 +4409,7 @@ function Cm(r) {
|
|
|
4409
4409
|
formatOptions: t
|
|
4410
4410
|
};
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function Ye(r) {
|
|
4413
4413
|
const e = {};
|
|
4414
4414
|
return function(n, u, i) {
|
|
4415
4415
|
const o = u + JSON.stringify(i);
|
|
@@ -4421,32 +4421,32 @@ class Mm {
|
|
|
4421
4421
|
constructor() {
|
|
4422
4422
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4423
4423
|
this.logger = ke.create("formatter"), this.options = e, this.formats = {
|
|
4424
|
-
number:
|
|
4424
|
+
number: Ye((t, n) => {
|
|
4425
4425
|
const u = new Intl.NumberFormat(t, {
|
|
4426
4426
|
...n
|
|
4427
4427
|
});
|
|
4428
4428
|
return (i) => u.format(i);
|
|
4429
4429
|
}),
|
|
4430
|
-
currency:
|
|
4430
|
+
currency: Ye((t, n) => {
|
|
4431
4431
|
const u = new Intl.NumberFormat(t, {
|
|
4432
4432
|
...n,
|
|
4433
4433
|
style: "currency"
|
|
4434
4434
|
});
|
|
4435
4435
|
return (i) => u.format(i);
|
|
4436
4436
|
}),
|
|
4437
|
-
datetime:
|
|
4437
|
+
datetime: Ye((t, n) => {
|
|
4438
4438
|
const u = new Intl.DateTimeFormat(t, {
|
|
4439
4439
|
...n
|
|
4440
4440
|
});
|
|
4441
4441
|
return (i) => u.format(i);
|
|
4442
4442
|
}),
|
|
4443
|
-
relativetime:
|
|
4443
|
+
relativetime: Ye((t, n) => {
|
|
4444
4444
|
const u = new Intl.RelativeTimeFormat(t, {
|
|
4445
4445
|
...n
|
|
4446
4446
|
});
|
|
4447
4447
|
return (i) => u.format(i, n.range || "day");
|
|
4448
4448
|
}),
|
|
4449
|
-
list:
|
|
4449
|
+
list: Ye((t, n) => {
|
|
4450
4450
|
const u = new Intl.ListFormat(t, {
|
|
4451
4451
|
...n
|
|
4452
4452
|
});
|
|
@@ -4464,7 +4464,7 @@ class Mm {
|
|
|
4464
4464
|
this.formats[e.toLowerCase().trim()] = t;
|
|
4465
4465
|
}
|
|
4466
4466
|
addCached(e, t) {
|
|
4467
|
-
this.formats[e.toLowerCase().trim()] =
|
|
4467
|
+
this.formats[e.toLowerCase().trim()] = Ye(t);
|
|
4468
4468
|
}
|
|
4469
4469
|
format(e, t, n) {
|
|
4470
4470
|
let u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -7771,14 +7771,14 @@ ge.registerAtRule = (r) => {
|
|
|
7771
7771
|
ge.registerRoot = (r) => {
|
|
7772
7772
|
E1 = r;
|
|
7773
7773
|
};
|
|
7774
|
-
var
|
|
7774
|
+
var Fe = ge;
|
|
7775
7775
|
ge.default = ge;
|
|
7776
7776
|
ge.rebuild = (r) => {
|
|
7777
7777
|
r.type === "atrule" ? Object.setPrototypeOf(r, bn.prototype) : r.type === "rule" ? Object.setPrototypeOf(r, mn.prototype) : r.type === "decl" ? Object.setPrototypeOf(r, k1.prototype) : r.type === "comment" ? Object.setPrototypeOf(r, x1.prototype) : r.type === "root" && Object.setPrototypeOf(r, E1.prototype), r[v1] = !0, r.nodes && r.nodes.forEach((e) => {
|
|
7778
7778
|
ge.rebuild(e);
|
|
7779
7779
|
});
|
|
7780
7780
|
};
|
|
7781
|
-
let Sb =
|
|
7781
|
+
let Sb = Fe, S1, B1;
|
|
7782
7782
|
class ft extends Sb {
|
|
7783
7783
|
constructor(e) {
|
|
7784
7784
|
super({ type: "document", ...e }), this.nodes || (this.nodes = []);
|
|
@@ -7941,7 +7941,7 @@ var Ub = function(e, t = {}) {
|
|
|
7941
7941
|
position: L
|
|
7942
7942
|
};
|
|
7943
7943
|
};
|
|
7944
|
-
let M1 =
|
|
7944
|
+
let M1 = Fe;
|
|
7945
7945
|
class Jt extends M1 {
|
|
7946
7946
|
constructor(e) {
|
|
7947
7947
|
super(e), this.type = "atrule";
|
|
@@ -7956,7 +7956,7 @@ class Jt extends M1 {
|
|
|
7956
7956
|
var kn = Jt;
|
|
7957
7957
|
Jt.default = Jt;
|
|
7958
7958
|
M1.registerAtRule(Jt);
|
|
7959
|
-
let D1 =
|
|
7959
|
+
let D1 = Fe, A1, R1;
|
|
7960
7960
|
class Ke extends D1 {
|
|
7961
7961
|
constructor(e) {
|
|
7962
7962
|
super(e), this.type = "root", this.nodes || (this.nodes = []);
|
|
@@ -8007,7 +8007,7 @@ let dt = {
|
|
|
8007
8007
|
};
|
|
8008
8008
|
var O1 = dt;
|
|
8009
8009
|
dt.default = dt;
|
|
8010
|
-
let P1 =
|
|
8010
|
+
let P1 = Fe, _b = O1;
|
|
8011
8011
|
class Zt extends P1 {
|
|
8012
8012
|
constructor(e) {
|
|
8013
8013
|
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
@@ -8331,7 +8331,7 @@ class Gb {
|
|
|
8331
8331
|
}
|
|
8332
8332
|
}
|
|
8333
8333
|
var Kb = Gb;
|
|
8334
|
-
let Vb =
|
|
8334
|
+
let Vb = Fe, Jb = Kb, Zb = fr;
|
|
8335
8335
|
function Qt(r, e) {
|
|
8336
8336
|
let t = new Zb(r, e), n = new Jb(t);
|
|
8337
8337
|
try {
|
|
@@ -8344,7 +8344,7 @@ function Qt(r, e) {
|
|
|
8344
8344
|
var wn = Qt;
|
|
8345
8345
|
Qt.default = Qt;
|
|
8346
8346
|
Vb.registerParse(Qt);
|
|
8347
|
-
let { isClean: me, my: Qb } = bt, Xb = b1, e2 = ar, t2 =
|
|
8347
|
+
let { isClean: me, my: Qb } = bt, Xb = b1, e2 = ar, t2 = Fe, r2 = yn, Iu = vn, n2 = wn, u2 = yt;
|
|
8348
8348
|
const i2 = {
|
|
8349
8349
|
document: "Document",
|
|
8350
8350
|
root: "Root",
|
|
@@ -8806,7 +8806,7 @@ function gt(r, e) {
|
|
|
8806
8806
|
}
|
|
8807
8807
|
var T2 = gt;
|
|
8808
8808
|
gt.default = gt;
|
|
8809
|
-
let S2 = pn, N1 = cr, B2 = I1, C2 =
|
|
8809
|
+
let S2 = pn, N1 = cr, B2 = I1, C2 = Fe, En = b2, M2 = ar, D2 = T2, F1 = yn, A2 = C1, U1 = dr, _1 = kn, R2 = vn, O2 = fr, P2 = wn, L2 = O1, j1 = xn, Y1 = yt, I2 = lr;
|
|
8810
8810
|
function q(...r) {
|
|
8811
8811
|
return r.length === 1 && Array.isArray(r[0]) && (r = r[0]), new En(r);
|
|
8812
8812
|
}
|
|
@@ -8995,7 +8995,7 @@ var H1 = { exports: {} };
|
|
|
8995
8995
|
const F2 = H1.exports;
|
|
8996
8996
|
mi.extend(N2);
|
|
8997
8997
|
mi.extend(F2);
|
|
8998
|
-
function
|
|
8998
|
+
function Le(...r) {
|
|
8999
8999
|
window && window.localStorage && window.localStorage.getItem("debug") && (console.group(...r), console.trace(), console.groupEnd());
|
|
9000
9000
|
}
|
|
9001
9001
|
function At(...r) {
|
|
@@ -9041,7 +9041,7 @@ function H2(r, e, t = "unregisterComponent") {
|
|
|
9041
9041
|
function z2(r) {
|
|
9042
9042
|
return (e, t) => {
|
|
9043
9043
|
const n = r.name;
|
|
9044
|
-
|
|
9044
|
+
Le(`[${n}] Registering component ${n} being called on ${t}`);
|
|
9045
9045
|
const u = e.componentWillLoad;
|
|
9046
9046
|
if (!u) {
|
|
9047
9047
|
At(`[${n}] componentWillLoad lifecycle method in ${n} missing. Required for RegisterComponent decorator.`);
|
|
@@ -9069,7 +9069,7 @@ function z2(r) {
|
|
|
9069
9069
|
var l;
|
|
9070
9070
|
a.set(s, (l = r.eventToProps) == null ? void 0 : l[s]);
|
|
9071
9071
|
}), e.connectedCallback = function() {
|
|
9072
|
-
|
|
9072
|
+
Le(`[~${n}] connectedCallback called`);
|
|
9073
9073
|
const s = i == null ? void 0 : i.call(this), l = Rt(this);
|
|
9074
9074
|
return l.dataset.nylasId || (Object.defineProperty(l, "registerNylasComponent", {
|
|
9075
9075
|
get() {
|
|
@@ -9118,14 +9118,14 @@ function z2(r) {
|
|
|
9118
9118
|
...r,
|
|
9119
9119
|
eventToProps: a
|
|
9120
9120
|
}, d = q2(e, f, r.registrationEventName);
|
|
9121
|
-
return l.dispatchEvent(d) &&
|
|
9121
|
+
return l.dispatchEvent(d) && Le(`[${n}] Component ${n} successfully fired registration event`), s;
|
|
9122
9122
|
}, e.disconnectedCallback = function() {
|
|
9123
9123
|
const s = o == null ? void 0 : o.call(this), l = Rt(this), f = {
|
|
9124
9124
|
element: l,
|
|
9125
9125
|
...r,
|
|
9126
9126
|
eventToProps: a
|
|
9127
9127
|
}, d = H2(e, f, r.unregistrationEventName);
|
|
9128
|
-
return l.dispatchEvent(d) &&
|
|
9128
|
+
return l.dispatchEvent(d) && Le(`[${n}] Component ${n} successfully fired unregistration event`), s;
|
|
9129
9129
|
});
|
|
9130
9130
|
};
|
|
9131
9131
|
}
|
|
@@ -9248,7 +9248,7 @@ hr((r) => {
|
|
|
9248
9248
|
}, (r, e) => {
|
|
9249
9249
|
r.setUTCDate(r.getUTCDate() + e);
|
|
9250
9250
|
}, (r, e) => (e - r) / Xt, (r) => Math.floor(r / Xt));
|
|
9251
|
-
const o3 = ':host{display:block;min-height:444px
|
|
9251
|
+
const o3 = ':host{display:block;min-height:444px}@media screen and (max-width: 768px){:host{min-height:auto}}.nylas-date-picker{display:flex;gap:1rem;flex-direction:column}.header{margin:0 0.5rem;height:48px}.header h2{font-size:1.3125rem;font-weight:400;line-height:1rem;color:var(--nylas-base-800)}.header h2 strong{font-weight:600}.title{margin:0 -1.25rem;display:flex;flex-direction:column;padding:0 1.5rem;gap:0.5rem;border-bottom:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family)}.title h1{margin-bottom:0;font-size:18px;line-height:20px;font-weight:600;display:flex;gap:0.5rem;align-items:center}.title p{margin-top:0;font-size:16px;display:flex;gap:0.5rem;align-items:center}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.dates{display:grid;justify-items:center;grid-template-columns:repeat(7, 1fr);gap:0.5rem;margin-bottom:24px}.dates .date{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px;width:48px;min-width:2rem;min-height:2rem;cursor:pointer;border-radius:var(--nylas-border-radius-2x);font-size:16px;font-weight:600;font-family:inherit;color:var(--nylas-base-text);background-color:var(--nylas-base-100);cursor:pointer;border:none}@media screen and (max-width: 412px){.dates .date{width:38px;height:38px;min-width:none}}.dates .date:hover:not(:disabled){box-shadow:0 0 0 2px var(--nylas-base-500) inset}.dates .date.date.current-month{color:var(--nylas-base-800)}.dates .date.date.selected{background-color:var(--nylas-primary);color:var(--nylas-base-0);font-weight:700}.dates .date.date.day-skeleton{color:var(--nylas-base-300)}.dates .date:disabled{color:var(--nylas-base-300);background-color:transparent;font-weight:400;cursor:not-allowed}.dates .day{font-size:12px;color:var(--nylas-base-800);font-weight:600;letter-spacing:0.5px;height:32px;display:flex;align-items:center}@media screen and (max-width: 768px){.dates .day{font-size:14px}}.dates .date.day-skeleton{height:48px;width:48px;border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite ease-in-out;background-color:var(--nylas-base-50)}@media screen and (max-width: 412px){.dates .date.day-skeleton{width:38px;height:38px;min-width:none}}.dates .date.current-day::after{content:"";position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:6px;height:6px;border-radius:50%;background-color:var(--nylas-base-500)}.dates .date.current-day.selected::after{background-color:var(--nylas-base-100)}.pagination{display:flex;flex-direction:row;justify-content:space-between;align-items:center;min-width:92px}.pagination .chevron-right{transform:rotate(180deg)}.pagination .button{display:flex;flex-direction:row;justify-content:center;align-items:center;height:3vh;width:3vh;min-width:3em;min-height:3em;cursor:pointer;border-radius:var(--nylas-border-radius-2x);background-color:transparent;color:var(--nylas-base-800);cursor:pointer;border:none}.pagination .button:hover{background-color:var(--nylas-base-50)}.pagination .button:active{background-color:var(--nylas-base-100)}.pagination .button:disabled{background-color:transparent;color:var(--nylas-base-300);cursor:not-allowed}.flex-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--nylas-base-500)}', s3 = o3;
|
|
9252
9252
|
var a3 = function(r, e, t, n) {
|
|
9253
9253
|
var u = arguments.length, i = u < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
|
|
9254
9254
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
@@ -9263,7 +9263,7 @@ var a3 = function(r, e, t, n) {
|
|
|
9263
9263
|
};
|
|
9264
9264
|
const $n = er(class extends rr {
|
|
9265
9265
|
constructor() {
|
|
9266
|
-
super(), this.__registerHost(), this.__attachShadow(), this.dateSelected = Mn(this, "dateSelected", 7), this.monthChanged = Mn(this, "monthChanged", 7), this.selectableDates = void 0, this.configSettings = void 0, this.selectedDate = void 0, this.selectedLanguage = void 0, this.isLoading = void 0, this.eventDuration = void 0, this.month = this.selectedDate || /* @__PURE__ */ new Date(), this.dates = this.getDates(), this.disableNextMonthButton = !1;
|
|
9266
|
+
super(), this.__registerHost(), this.__attachShadow(), this.dateSelected = Mn(this, "dateSelected", 7), this.monthChanged = Mn(this, "monthChanged", 7), this.selectableDates = void 0, this.configSettings = void 0, this.themeConfig = void 0, this.selectedDate = void 0, this.selectedLanguage = void 0, this.isLoading = void 0, this.eventDuration = void 0, this.month = this.selectedDate || /* @__PURE__ */ new Date(), this.dates = this.getDates(), this.disableNextMonthButton = !1;
|
|
9267
9267
|
}
|
|
9268
9268
|
configSettingsChanged(e) {
|
|
9269
9269
|
var i;
|
|
@@ -9281,6 +9281,14 @@ const $n = er(class extends rr {
|
|
|
9281
9281
|
}
|
|
9282
9282
|
componentWillLoad() {
|
|
9283
9283
|
}
|
|
9284
|
+
componentDidLoad() {
|
|
9285
|
+
Le("[nylas-date-picker] Component did load"), this.applyThemeConfig(this.themeConfig);
|
|
9286
|
+
}
|
|
9287
|
+
applyThemeConfig(e) {
|
|
9288
|
+
if (e)
|
|
9289
|
+
for (const [t, n] of Object.entries(e))
|
|
9290
|
+
this.host.style.setProperty(`${t}`, n);
|
|
9291
|
+
}
|
|
9284
9292
|
getDates() {
|
|
9285
9293
|
const e = U2(this.month), t = _2(this.month);
|
|
9286
9294
|
return Tr.range(Tr.offset(t, -t.getDay()), Tr.offset(e, 7 - e.getDay()));
|
|
@@ -9302,7 +9310,7 @@ const $n = er(class extends rr {
|
|
|
9302
9310
|
}
|
|
9303
9311
|
render() {
|
|
9304
9312
|
var e, t, n, u, i, o, a;
|
|
9305
|
-
return Y(_u, { key: "
|
|
9313
|
+
return Y(_u, { key: "ffb13b5ab2b96a23232a0e4fce0166cc4e471bc3", part: "ndp" }, Y("div", { key: "d617e1e85082cda56f123b915460161003fba8ad", class: "nylas-date-picker" }, Y("div", { key: "8b966e5cfa60ec08da307e7537170adcfc04944b", class: "title", part: "ndp__title" }, (e = this.configSettings) != null && e.name ? Y("h1", null, (t = this.configSettings) == null ? void 0 : t.name) : ((u = (n = this.configSettings) == null ? void 0 : n.organizer) == null ? void 0 : u.name) && Y("h1", null, Y("person-icon", null), ((o = (i = this.configSettings) == null ? void 0 : i.organizer) == null ? void 0 : o.name) || "Organizer"), Y("p", { key: "ec8dd18ff022b61ac574c1a0bb4c94c4bd51b643" }, Y("clock-icon", { key: "8c0685800081b17f4b118938b106af1e291ded09" }), this.eventDuration ? j2(this.eventDuration) : `- ${le.t("time.minutes")}`)), Y("div", { key: "9c4e5f5aed7d3350f149115236b1be17ee1b77e7", class: "header flex-row" }, Y("h2", { key: "b30d034da321b0e34e93f41fdeddcd5c6890fc9c", part: "ndp__month-header" }, Y("strong", { key: "2c45a29ba2d99856262c706e626c7dc43b05380b" }, Y2(this.month.toLocaleDateString(void 0, { month: "long" }).toLocaleLowerCase())), " ", this.month.toLocaleDateString(void 0, { year: "numeric" })), Y("div", { key: "eb086cc81c029c3f2dc12a5c796f4e20e60fef2e", class: "pagination" }, Y("button", { key: "aefca223118d1e0c4f908ab325743730a5633d0f", title: "Previous month", onClick: () => this.changeMonth(-1), class: { "chevron-left": !0, button: !0 }, disabled: !((a = this.selectableDates) != null && a.length) || this.month <= /* @__PURE__ */ new Date(), part: "ndp__month-button" }, Y("chevron-icon", { key: "04e6c8e8dd6fa33805e19a97cc56aff0355bacd1" })), Y("button", { key: "912568ecbc76504f9e917042edc7dd41ccfb51fa", title: "Next month", onClick: () => this.changeMonth(1), class: { "chevron-right": !0, button: !0 }, disabled: this.disableNextMonthButton, part: "ndp__month-button" }, Y("chevron-icon", { key: "25efda159f4cd761012ee2143690c37cf9247f66" })))), Y("div", { key: "4c0d4d94cce9d758e8dd52d4e29ec27f21410772", class: "dates" }, [
|
|
9306
9314
|
le.t("days.sunday"),
|
|
9307
9315
|
le.t("days.monday"),
|
|
9308
9316
|
le.t("days.tuesday"),
|
|
@@ -9324,6 +9332,9 @@ const $n = er(class extends rr {
|
|
|
9324
9332
|
}, "aria-lang": s.toLocaleDateString(void 0, { dateStyle: "full" }), disabled: f, onClick: () => this.selectDate(s), part: `ndp__date ${this.isSelected(s, this.selectedDate, this.selectableDates) ? "ndp__date--selected" : ""} ${rt(s, /* @__PURE__ */ new Date()) ? "ndp__date--current-day" : ""} ${wr(s, this.month) ? "ndp__date--current-month" : ""}` }, s.getDate());
|
|
9325
9333
|
}))));
|
|
9326
9334
|
}
|
|
9335
|
+
get host() {
|
|
9336
|
+
return this;
|
|
9337
|
+
}
|
|
9327
9338
|
static get watchers() {
|
|
9328
9339
|
return {
|
|
9329
9340
|
configSettings: ["configSettingsChanged"],
|
|
@@ -9336,6 +9347,7 @@ const $n = er(class extends rr {
|
|
|
9336
9347
|
}, [1, "nylas-date-picker", {
|
|
9337
9348
|
selectableDates: [16],
|
|
9338
9349
|
configSettings: [16],
|
|
9350
|
+
themeConfig: [8, "theme-config"],
|
|
9339
9351
|
selectedDate: [16],
|
|
9340
9352
|
selectedLanguage: [1, "selected-language"],
|
|
9341
9353
|
isLoading: [4, "is-loading"],
|
|
@@ -9360,12 +9372,13 @@ a3([
|
|
|
9360
9372
|
]),
|
|
9361
9373
|
eventToProps: {
|
|
9362
9374
|
dateSelected: async (r, e) => {
|
|
9363
|
-
|
|
9375
|
+
Le("nylas-date-picker", "dateSelected", r.detail), e.scheduler.selectDate(r.detail);
|
|
9364
9376
|
},
|
|
9365
9377
|
monthChanged: async (r, e) => {
|
|
9366
|
-
|
|
9378
|
+
Le("nylas-date-picker", "monthChanged", r.detail);
|
|
9367
9379
|
}
|
|
9368
9380
|
},
|
|
9381
|
+
localPropsToProp: /* @__PURE__ */ new Map([["themeConfig", "themeConfig"]]),
|
|
9369
9382
|
fireRegisterEvent: !0
|
|
9370
9383
|
}),
|
|
9371
9384
|
Sr("design:type", Function),
|