@nylas/react 1.3.4 → 1.3.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/add-circle-icon.entry-25aecb13.js +15 -0
- package/dist/{add-circle-icon.entry-dcc45961.cjs → add-circle-icon.entry-5c49ba96.cjs} +1 -1
- package/dist/{archive-icon.entry-c4da9f4f.cjs → archive-icon.entry-0a9e8ec3.cjs} +1 -1
- package/dist/{archive-icon.entry-715e139b.js → archive-icon.entry-89e31121.js} +2 -2
- package/dist/{arrow-icon.entry-bdccce8a.cjs → arrow-icon.entry-19e5237c.cjs} +1 -1
- package/dist/{arrow-icon.entry-9311463c.js → arrow-icon.entry-9cfd86a1.js} +2 -2
- package/dist/bold-icon.entry-d591e701.cjs +1 -0
- package/dist/{bold-icon.entry-c531dff1.js → bold-icon.entry-eab3420d.js} +6 -6
- package/dist/{button-component_2.entry-5aad0ec4.js → button-component_2.entry-7cd5f9c0.js} +6 -6
- package/dist/{button-component_2.entry-db911efe.cjs → button-component_2.entry-ce4314bf.cjs} +1 -1
- package/dist/{calendar-agenda-fill-icon_53.entry-6f1aa42c.js → calendar-agenda-fill-icon_54.entry-7099138a.js} +841 -727
- package/dist/calendar-agenda-fill-icon_54.entry-9228dbe7.cjs +8 -0
- package/dist/{calendar-cancel-icon.entry-59375bc4.js → calendar-cancel-icon.entry-299d6fba.js} +4 -4
- package/dist/{calendar-cancel-icon.entry-3bd1c8e9.cjs → calendar-cancel-icon.entry-6e3d20f1.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-540dde9d.cjs → calendar-check-icon_2.entry-087dd913.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-1ca369b6.js → calendar-check-icon_2.entry-08ef8d2f.js} +5 -5
- package/dist/{calendar-icon.entry-66517be4.js → calendar-icon.entry-53b54115.js} +5 -5
- package/dist/{calendar-icon.entry-1d9773d5.cjs → calendar-icon.entry-73f9d05b.cjs} +1 -1
- package/dist/checkbox-component_3.entry-bc9768dd.cjs +1 -0
- package/dist/checkbox-component_3.entry-d828eb1d.js +149 -0
- package/dist/{chevron-icon_3.entry-afc62aa5.js → chevron-icon_3.entry-783588a9.js} +8 -8
- package/dist/chevron-icon_3.entry-e956d78c.cjs +1 -0
- package/dist/{clock-icon_4.entry-ab2c2eaf.js → clock-icon_4.entry-0e809dcb.js} +18 -18
- package/dist/{clock-icon_4.entry-f46a42fc.cjs → clock-icon_4.entry-60d41dfd.cjs} +1 -1
- package/dist/close-icon.entry-1b5d25c5.cjs +1 -0
- package/dist/close-icon.entry-fef4f624.js +15 -0
- package/dist/constants-6da0ede7-151395ad.cjs +1 -0
- package/dist/{constants-91d76d21-1638ead6.js → constants-6da0ede7-49c32ba7.js} +29 -16
- package/dist/{copy-icon.entry-c009a659.js → copy-icon.entry-25699ab8.js} +7 -7
- package/dist/{copy-icon.entry-16835c5d.cjs → copy-icon.entry-ab6530e0.cjs} +1 -1
- package/dist/{delete-icon.entry-e8815e15.js → delete-icon.entry-802084f6.js} +5 -5
- package/dist/{delete-icon.entry-3c295200.cjs → delete-icon.entry-e99e1f82.cjs} +1 -1
- package/dist/document-refresh-icon.entry-065a59f5.cjs +1 -0
- package/dist/document-refresh-icon.entry-d1604f53.js +15 -0
- package/dist/elements/index.d.ts +1 -0
- package/dist/{feedbackSync-b5d35a5b-20032e5d.js → feedbackSync-c040f483-2b6476c4.js} +1 -1
- package/dist/{feedbackSync-b5d35a5b-1343e33b.cjs → feedbackSync-c040f483-d6dd0560.cjs} +1 -1
- package/dist/{folder-icon.entry-1837e7eb.cjs → folder-icon.entry-351e61fc.cjs} +1 -1
- package/dist/{folder-icon.entry-1a70f499.js → folder-icon.entry-6c0c09ed.js} +4 -4
- package/dist/forward-icon.entry-0ccfb600.js +15 -0
- package/dist/forward-icon.entry-6b7af9cd.cjs +1 -0
- package/dist/{globe-icon.entry-5ea64e36.cjs → globe-icon.entry-2b75b66b.cjs} +1 -1
- package/dist/{globe-icon.entry-2886c103.js → globe-icon.entry-5ddcd2cb.js} +4 -4
- package/dist/{google-logo-icon_4.entry-c0413818.js → google-logo-icon_4.entry-04174684.js} +354 -342
- package/dist/google-logo-icon_4.entry-a685ff91.cjs +1 -0
- package/dist/inbox-icon.entry-0ad18b3f.js +15 -0
- package/dist/inbox-icon.entry-425d1ded.cjs +1 -0
- package/dist/{index-cd93b584.js → index-7e7c24f1.js} +3944 -3309
- package/dist/index-81719cc6.cjs +81 -0
- package/dist/{index.es-ef72cd61-0860521c.cjs → index.es-2b014ec7-0589e68a.cjs} +1 -1
- package/dist/{index.es-ef72cd61-3075f564.js → index.es-2b014ec7-72557487.js} +1 -1
- package/dist/{info-icon_2.entry-cfa2954a.cjs → info-icon_2.entry-7ec02802.cjs} +1 -1
- package/dist/{info-icon_2.entry-891619f7.js → info-icon_2.entry-a6d0e842.js} +6 -6
- package/dist/{input-color-picker.entry-58c5f4d3.js → input-color-picker.entry-d98d06ca.js} +3 -3
- package/dist/{input-color-picker.entry-5c3e8407.cjs → input-color-picker.entry-ed9a1c07.cjs} +1 -1
- package/dist/input-component.entry-2e57b00e.cjs +1 -0
- package/dist/{input-component.entry-a45cff7f.js → input-component.entry-f3aa3419.js} +7 -7
- package/dist/{input-dropdown_2.entry-0518caac.js → input-dropdown_2.entry-0d9c8475.js} +15 -15
- package/dist/input-dropdown_2.entry-6fc7df16.cjs +1 -0
- package/dist/italic-icon.entry-7a8712f2.cjs +1 -0
- package/dist/italic-icon.entry-d610e66f.js +15 -0
- package/dist/{multi-select-dropdown.entry-0b7e26c0.js → multi-select-dropdown.entry-b31d9f11.js} +4 -4
- package/dist/multi-select-dropdown.entry-eaa268b4.cjs +1 -0
- package/dist/{nylas-booked-event-card_12.entry-8eed168c.js → nylas-booked-event-card_12.entry-45514813.js} +395 -349
- package/dist/nylas-booked-event-card_12.entry-498de30a.cjs +1 -0
- package/dist/{nylas-form-card.entry-8842785d.js → nylas-form-card.entry-67aec298.js} +3 -3
- package/dist/{nylas-form-card.entry-2c336c14.cjs → nylas-form-card.entry-fdb3c114.cjs} +1 -1
- package/dist/{nylas-if-state.entry-e6c90919.cjs → nylas-if-state.entry-76b38c9c.cjs} +1 -1
- package/dist/{nylas-if-state.entry-fdc20d01.js → nylas-if-state.entry-ee7d92b0.js} +3 -3
- package/dist/{nylas-login.entry-16f39c90.js → nylas-login.entry-265f9d0f.js} +3 -3
- package/dist/{nylas-login.entry-dcdc4d06.cjs → nylas-login.entry-589e45d0.cjs} +1 -1
- package/dist/{nylas-provider.entry-d51de210.js → nylas-provider.entry-5605a3e0.js} +5 -5
- package/dist/{nylas-provider.entry-0cc093e4.cjs → nylas-provider.entry-cfb9627c.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-af211f07.cjs → nylas-scheduler-editor.entry-6fdfb9b5.cjs} +2 -2
- package/dist/{nylas-scheduler-editor.entry-d0214565.js → nylas-scheduler-editor.entry-b3e085b3.js} +38 -32
- package/dist/nylas-scheduling.entry-8cc5c353.cjs +1 -0
- package/dist/{nylas-scheduling.entry-3d3a4eb4.js → nylas-scheduling.entry-bc00beba.js} +88 -79
- package/dist/nylas-time-window-picker.entry-a77c1d67.cjs +1 -0
- package/dist/nylas-time-window-picker.entry-c421303e.js +316 -0
- package/dist/{person-icon.entry-954d4c10.cjs → person-icon.entry-36b21e95.cjs} +1 -1
- package/dist/{person-icon.entry-dcdc2118.js → person-icon.entry-85660f98.js} +2 -2
- package/dist/{play-icon.entry-e727a1d6.js → play-icon.entry-953b1bc8.js} +4 -4
- package/dist/{play-icon.entry-7e17d583.cjs → play-icon.entry-c35ade8a.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +71 -70
- package/dist/{refresh-icon.entry-f735be78.cjs → refresh-icon.entry-038501ca.cjs} +1 -1
- package/dist/{refresh-icon.entry-d5e50180.js → refresh-icon.entry-d8644f5d.js} +4 -4
- package/dist/{register-component-a169494c-62768a00.js → register-component-e9c10e19-099fb50f.js} +1 -1
- package/dist/{register-component-a169494c-3d95c4fd.cjs → register-component-e9c10e19-80bbc4dd.cjs} +1 -1
- package/dist/{reply-all-icon.entry-c847636d.cjs → reply-all-icon.entry-ead9d0ba.cjs} +1 -1
- package/dist/{reply-all-icon.entry-848cd16f.js → reply-all-icon.entry-f209daeb.js} +5 -5
- package/dist/reply-icon.entry-b7f35ecd.cjs +1 -0
- package/dist/reply-icon.entry-d37a129b.js +15 -0
- package/dist/{scheduler-config-store-ed4a8dfd-0e3f540f.cjs → scheduler-config-store-ed4a8dfd-0d4408cf.cjs} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-622802c7.js → scheduler-config-store-ed4a8dfd-35ec90c6.js} +1 -1
- package/dist/{scheduler-store-8e74959b-ffa0b3c6.js → scheduler-store-dc3a7958-7c73f5e2.js} +2 -2
- package/dist/{scheduler-store-8e74959b-c8514d9a.cjs → scheduler-store-dc3a7958-99c6bdf6.cjs} +1 -1
- package/dist/sent-icon.entry-b662ef5b.cjs +1 -0
- package/dist/sent-icon.entry-ec433cec.js +15 -0
- package/dist/spam-icon.entry-3a553ae4.js +15 -0
- package/dist/spam-icon.entry-a79819fd.cjs +1 -0
- package/dist/{star-icon.entry-f275321a.cjs → star-icon.entry-47ea44e7.cjs} +1 -1
- package/dist/{star-icon.entry-d7cd7608.js → star-icon.entry-9b22bb32.js} +4 -4
- package/dist/stop-icon.entry-1f7918b2.js +15 -0
- package/dist/{stop-icon.entry-89c2bae7.cjs → stop-icon.entry-26e2e633.cjs} +1 -1
- package/dist/{textarea-component.entry-02360e34.js → textarea-component.entry-6939d0fc.js} +5 -4
- package/dist/textarea-component.entry-da0a861e.cjs +1 -0
- package/dist/toggle-switch.entry-5ae5ba46.js +33 -0
- package/dist/toggle-switch.entry-c5fd3e33.cjs +1 -0
- package/dist/{translate-icon.entry-a7915e82.cjs → translate-icon.entry-72e0369e.cjs} +1 -1
- package/dist/{translate-icon.entry-b0b36e4c.js → translate-icon.entry-8cffa646.js} +2 -2
- package/dist/trash-fill-icon.entry-815859c6.js +15 -0
- package/dist/trash-fill-icon.entry-8620c28f.cjs +1 -0
- package/dist/{underline-icon.entry-1636f401.js → underline-icon.entry-afd9c78b.js} +2 -2
- package/dist/{underline-icon.entry-8bf17177.cjs → underline-icon.entry-ba1a9e87.cjs} +1 -1
- package/dist/{warning-icon.entry-cef2e7c1.js → warning-icon.entry-53441175.js} +7 -7
- package/dist/{warning-icon.entry-27c0cdd6.cjs → warning-icon.entry-7cbede6b.cjs} +1 -1
- package/package.json +3 -3
- package/dist/add-circle-icon.entry-321c1dd1.js +0 -15
- package/dist/bold-icon.entry-06fa4738.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_53.entry-affead77.cjs +0 -6
- package/dist/checkbox-component_3.entry-3918885e.cjs +0 -1
- package/dist/checkbox-component_3.entry-cf9507ac.js +0 -153
- package/dist/chevron-icon_3.entry-27b71bd6.cjs +0 -1
- package/dist/close-icon.entry-791cb99c.js +0 -15
- package/dist/close-icon.entry-be2b5f87.cjs +0 -1
- package/dist/constants-91d76d21-0f7c85cc.cjs +0 -1
- package/dist/document-refresh-icon.entry-1628d0dd.js +0 -15
- package/dist/document-refresh-icon.entry-7d84ace4.cjs +0 -1
- package/dist/forward-icon.entry-7a9952fe.cjs +0 -1
- package/dist/forward-icon.entry-92fa4f95.js +0 -15
- package/dist/google-logo-icon_4.entry-ff5ebfd9.cjs +0 -1
- package/dist/inbox-icon.entry-893a70b6.js +0 -15
- package/dist/inbox-icon.entry-ad864253.cjs +0 -1
- package/dist/index-94416062.cjs +0 -81
- package/dist/input-component.entry-f6f257b9.cjs +0 -1
- package/dist/input-dropdown_2.entry-85077fff.cjs +0 -1
- package/dist/italic-icon.entry-7f971c72.cjs +0 -1
- package/dist/italic-icon.entry-a9a0be67.js +0 -15
- package/dist/multi-select-dropdown.entry-2c5b3f8d.cjs +0 -1
- package/dist/nylas-booked-event-card_12.entry-d416f896.cjs +0 -1
- package/dist/nylas-scheduling.entry-ce1ef505.cjs +0 -1
- package/dist/nylas-time-window-picker_2.entry-24672606.js +0 -336
- package/dist/nylas-time-window-picker_2.entry-52a54abb.cjs +0 -1
- package/dist/reply-icon.entry-028435a1.cjs +0 -1
- package/dist/reply-icon.entry-9e3e5122.js +0 -15
- package/dist/sent-icon.entry-eef67c1a.cjs +0 -1
- package/dist/sent-icon.entry-f8fda6ff.js +0 -15
- package/dist/spam-icon.entry-22437325.cjs +0 -1
- package/dist/spam-icon.entry-ec4f3144.js +0 -15
- package/dist/stop-icon.entry-55779283.js +0 -15
- package/dist/textarea-component.entry-5e8cb080.cjs +0 -1
- package/dist/trash-fill-icon.entry-1fd28f47.js +0 -15
- package/dist/trash-fill-icon.entry-e933f219.cjs +0 -1
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { b as ae, R as C, r as oe, c as X, S as B, T as U, U as G, V as q, h as k, H as he, g as me } from "./index-7e7c24f1.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
var J = { exports: {} };
|
|
5
|
+
(function(e, t) {
|
|
6
|
+
(function(n, i) {
|
|
7
|
+
e.exports = i();
|
|
8
|
+
})(ae, function() {
|
|
9
|
+
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, o = /\d\d?/, v = /\d*[^-_:/,()\s\d]+/, x = {}, W = function(s) {
|
|
10
|
+
return (s = +s) + (s > 68 ? 1900 : 2e3);
|
|
11
|
+
}, l = function(s) {
|
|
12
|
+
return function(a) {
|
|
13
|
+
this[s] = +a;
|
|
14
|
+
};
|
|
15
|
+
}, _ = [/[+-]\d\d:?(\d\d)?|Z/, function(s) {
|
|
16
|
+
(this.zone || (this.zone = {})).offset = function(a) {
|
|
17
|
+
if (!a || a === "Z")
|
|
18
|
+
return 0;
|
|
19
|
+
var h = a.match(/([+-]|\d\d)/g), m = 60 * h[1] + (+h[2] || 0);
|
|
20
|
+
return m === 0 ? 0 : h[0] === "+" ? -m : m;
|
|
21
|
+
}(s);
|
|
22
|
+
}], P = function(s) {
|
|
23
|
+
var a = x[s];
|
|
24
|
+
return a && (a.indexOf ? a : a.s.concat(a.f));
|
|
25
|
+
}, j = function(s, a) {
|
|
26
|
+
var h, m = x.meridiem;
|
|
27
|
+
if (m) {
|
|
28
|
+
for (var f = 1; f <= 24; f += 1)
|
|
29
|
+
if (s.indexOf(m(f, 0, a)) > -1) {
|
|
30
|
+
h = f > 12;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
} else
|
|
34
|
+
h = s === (a ? "pm" : "PM");
|
|
35
|
+
return h;
|
|
36
|
+
}, Q = { A: [v, function(s) {
|
|
37
|
+
this.afternoon = j(s, !1);
|
|
38
|
+
}], a: [v, function(s) {
|
|
39
|
+
this.afternoon = j(s, !0);
|
|
40
|
+
}], S: [/\d/, function(s) {
|
|
41
|
+
this.milliseconds = 100 * +s;
|
|
42
|
+
}], SS: [r, function(s) {
|
|
43
|
+
this.milliseconds = 10 * +s;
|
|
44
|
+
}], SSS: [/\d{3}/, function(s) {
|
|
45
|
+
this.milliseconds = +s;
|
|
46
|
+
}], s: [o, l("seconds")], ss: [o, l("seconds")], m: [o, l("minutes")], mm: [o, l("minutes")], H: [o, l("hours")], h: [o, l("hours")], HH: [o, l("hours")], hh: [o, l("hours")], D: [o, l("day")], DD: [r, l("day")], Do: [v, function(s) {
|
|
47
|
+
var a = x.ordinal, h = s.match(/\d+/);
|
|
48
|
+
if (this.day = h[0], a)
|
|
49
|
+
for (var m = 1; m <= 31; m += 1)
|
|
50
|
+
a(m).replace(/\[|\]/g, "") === s && (this.day = m);
|
|
51
|
+
}], M: [o, l("month")], MM: [r, l("month")], MMM: [v, function(s) {
|
|
52
|
+
var a = P("months"), h = (P("monthsShort") || a.map(function(m) {
|
|
53
|
+
return m.slice(0, 3);
|
|
54
|
+
})).indexOf(s) + 1;
|
|
55
|
+
if (h < 1)
|
|
56
|
+
throw new Error();
|
|
57
|
+
this.month = h % 12 || h;
|
|
58
|
+
}], MMMM: [v, function(s) {
|
|
59
|
+
var a = P("months").indexOf(s) + 1;
|
|
60
|
+
if (a < 1)
|
|
61
|
+
throw new Error();
|
|
62
|
+
this.month = a % 12 || a;
|
|
63
|
+
}], Y: [/[+-]?\d+/, l("year")], YY: [r, function(s) {
|
|
64
|
+
this.year = W(s);
|
|
65
|
+
}], YYYY: [/\d{4}/, l("year")], Z: _, ZZ: _ };
|
|
66
|
+
function ee(s) {
|
|
67
|
+
var a, h;
|
|
68
|
+
a = s, h = x && x.formats;
|
|
69
|
+
for (var m = (s = a.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, b, u) {
|
|
70
|
+
var d = u && u.toUpperCase();
|
|
71
|
+
return b || h[u] || n[u] || h[d].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, T, D) {
|
|
72
|
+
return T || D.slice(1);
|
|
73
|
+
});
|
|
74
|
+
})).match(i), f = m.length, p = 0; p < f; p += 1) {
|
|
75
|
+
var L = m[p], I = Q[L], y = I && I[0], g = I && I[1];
|
|
76
|
+
m[p] = g ? { regex: y, parser: g } : L.replace(/^\[|\]$/g, "");
|
|
77
|
+
}
|
|
78
|
+
return function(S) {
|
|
79
|
+
for (var b = {}, u = 0, d = 0; u < f; u += 1) {
|
|
80
|
+
var w = m[u];
|
|
81
|
+
if (typeof w == "string")
|
|
82
|
+
d += w.length;
|
|
83
|
+
else {
|
|
84
|
+
var T = w.regex, D = w.parser, E = S.slice(d), A = T.exec(E)[0];
|
|
85
|
+
D.call(b, A), S = S.replace(A, "");
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return function(M) {
|
|
89
|
+
var c = M.afternoon;
|
|
90
|
+
if (c !== void 0) {
|
|
91
|
+
var Y = M.hours;
|
|
92
|
+
c ? Y < 12 && (M.hours += 12) : Y === 12 && (M.hours = 0), delete M.afternoon;
|
|
93
|
+
}
|
|
94
|
+
}(b), b;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
return function(s, a, h) {
|
|
98
|
+
h.p.customParseFormat = !0, s && s.parseTwoDigitYear && (W = s.parseTwoDigitYear);
|
|
99
|
+
var m = a.prototype, f = m.parse;
|
|
100
|
+
m.parse = function(p) {
|
|
101
|
+
var L = p.date, I = p.utc, y = p.args;
|
|
102
|
+
this.$u = I;
|
|
103
|
+
var g = y[1];
|
|
104
|
+
if (typeof g == "string") {
|
|
105
|
+
var S = y[2] === !0, b = y[3] === !0, u = S || b, d = y[2];
|
|
106
|
+
b && (d = y[2]), x = this.$locale(), !S && d && (x = h.Ls[d]), this.$d = function(E, A, M) {
|
|
107
|
+
try {
|
|
108
|
+
if (["x", "X"].indexOf(A) > -1)
|
|
109
|
+
return new Date((A === "X" ? 1e3 : 1) * E);
|
|
110
|
+
var c = ee(A)(E), Y = c.year, O = c.month, te = c.day, ie = c.hours, se = c.minutes, ne = c.seconds, re = c.milliseconds, N = c.zone, z = /* @__PURE__ */ new Date(), F = te || (Y || O ? 1 : z.getDate()), H = Y || z.getFullYear(), $ = 0;
|
|
111
|
+
Y && !O || ($ = O > 0 ? O - 1 : z.getMonth());
|
|
112
|
+
var K = ie || 0, R = se || 0, V = ne || 0, Z = re || 0;
|
|
113
|
+
return N ? new Date(Date.UTC(H, $, F, K, R, V, Z + 60 * N.offset * 1e3)) : M ? new Date(Date.UTC(H, $, F, K, R, V, Z)) : new Date(H, $, F, K, R, V, Z);
|
|
114
|
+
} catch {
|
|
115
|
+
return /* @__PURE__ */ new Date("");
|
|
116
|
+
}
|
|
117
|
+
}(L, g, I), this.init(), d && d !== !0 && (this.$L = this.locale(d).$L), u && L != this.format(g) && (this.$d = /* @__PURE__ */ new Date("")), x = {};
|
|
118
|
+
} else if (g instanceof Array)
|
|
119
|
+
for (var w = g.length, T = 1; T <= w; T += 1) {
|
|
120
|
+
y[1] = g[T - 1];
|
|
121
|
+
var D = h.apply(this, y);
|
|
122
|
+
if (D.isValid()) {
|
|
123
|
+
this.$d = D.$d, this.$L = D.$L, this.init();
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
T === w && (this.$d = /* @__PURE__ */ new Date(""));
|
|
127
|
+
}
|
|
128
|
+
else
|
|
129
|
+
f.call(this, p);
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
})(J);
|
|
134
|
+
const le = J.exports, de = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}', ce = de;
|
|
135
|
+
C.extend(le);
|
|
136
|
+
const ue = class {
|
|
137
|
+
constructor(e) {
|
|
138
|
+
oe(this, e), this.timeChange = X(this, "timeChange", 7), this.formError = X(this, "formError", 7), this.time = void 0, this.minimumStartTime = null, this.placeholder = "hh:mmam/pm", this.name = void 0, this.hasError = !1, this.err = "", this.showTimes = !1, this.ariaActivedescendant = "", this.times = this.generateTimes(), this.shouldAutoScroll = !1;
|
|
139
|
+
}
|
|
140
|
+
handleOutsideClick(e) {
|
|
141
|
+
!e.composedPath().includes(this.el) && this.showTimes && (this.showTimes = !1);
|
|
142
|
+
}
|
|
143
|
+
minimumStartTimeChangedHandler() {
|
|
144
|
+
if (this.minimumStartTime) {
|
|
145
|
+
let e = C().hour(parseInt(this.minimumStartTime)).minute(parseInt(this.minimumStartTime.slice(-4, -2)));
|
|
146
|
+
this.minimumStartTime.slice(-2).toLowerCase() === "pm" && parseInt(this.minimumStartTime) !== 12 ? e = e.add(12, "hour") : this.minimumStartTime.slice(-2).toLowerCase() === "am" && parseInt(this.minimumStartTime) === 12 && (e = e.subtract(12, "hour")), this.times = this.generateTimes();
|
|
147
|
+
const t = C(this.times[0].value, "hh:mma");
|
|
148
|
+
C(this.time, "hh:mma").isBefore(t) && (this.err = "Invalid", this.formError.emit({
|
|
149
|
+
key: this.el.id,
|
|
150
|
+
message: "Invalid"
|
|
151
|
+
}));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
componentDidRender() {
|
|
155
|
+
if (this.showTimes && this.shouldAutoScroll) {
|
|
156
|
+
const e = B(this.time), t = this.times.findIndex((n) => n.value === e);
|
|
157
|
+
t > -1 && (this.shouldAutoScroll = !1, this.scrollToViewWithinParent(t));
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
handleTimeChange(e, t) {
|
|
162
|
+
const n = t.split(":");
|
|
163
|
+
n[0] === "00" && n[1].slice(-2) == "pm" && (this.err = "Invalid", this.formError.emit({
|
|
164
|
+
key: this.el.id,
|
|
165
|
+
message: "Invalid"
|
|
166
|
+
})), U(t) ? (this.err = "", this.formError.emit({
|
|
167
|
+
key: this.el.id,
|
|
168
|
+
message: ""
|
|
169
|
+
})) : (this.err = "Invalid", this.formError.emit({
|
|
170
|
+
key: this.el.id,
|
|
171
|
+
message: "Invalid"
|
|
172
|
+
})), this.timeChange.emit({
|
|
173
|
+
key: this.el.id,
|
|
174
|
+
value: t
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
handleTimeAutocomplete(e) {
|
|
178
|
+
var n;
|
|
179
|
+
const t = (n = e.target) == null ? void 0 : n.value;
|
|
180
|
+
if (!U(t)) {
|
|
181
|
+
this.err = "Invalid", this.formError.emit({
|
|
182
|
+
key: this.el.id,
|
|
183
|
+
message: "Invalid"
|
|
184
|
+
});
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
if (t === "") {
|
|
188
|
+
const i = G().format("hh:mma");
|
|
189
|
+
this.timeChange.emit({
|
|
190
|
+
key: this.el.id,
|
|
191
|
+
value: i
|
|
192
|
+
});
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (!q(t)) {
|
|
196
|
+
const i = B(t);
|
|
197
|
+
this.timeChange.emit({
|
|
198
|
+
key: this.el.id,
|
|
199
|
+
value: i
|
|
200
|
+
});
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
this.timeChange.emit({
|
|
204
|
+
key: this.el.id,
|
|
205
|
+
value: t
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
handleOnInput(e) {
|
|
209
|
+
var n;
|
|
210
|
+
const t = (n = e.target) == null ? void 0 : n.value;
|
|
211
|
+
if (U(t)) {
|
|
212
|
+
if (t === "") {
|
|
213
|
+
const i = G().format("hh:mma"), r = this.times.findIndex((o) => o.value === i);
|
|
214
|
+
r > -1 && this.scrollToViewWithinParent(r);
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
if (!q(t)) {
|
|
218
|
+
const i = B(t), r = this.times.findIndex((o) => o.value === i);
|
|
219
|
+
r > -1 && this.scrollToViewWithinParent(r);
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
generateTimes() {
|
|
225
|
+
const e = [];
|
|
226
|
+
let t = C().set("hour", 0).set("minute", 0).set("second", 0);
|
|
227
|
+
this.minimumStartTime && (t = C(this.minimumStartTime, "hh:mma"));
|
|
228
|
+
const n = t.endOf("day").diff(t, "minutes"), i = Math.round(n / 15);
|
|
229
|
+
for (let r = 0; r < i + 1; r++) {
|
|
230
|
+
const o = t.add(r * 15, "minute");
|
|
231
|
+
if (r == i && o.format("hh:mma").includes("am"))
|
|
232
|
+
break;
|
|
233
|
+
e.push({ id: r, value: o.format("hh:mma") });
|
|
234
|
+
}
|
|
235
|
+
return e;
|
|
236
|
+
}
|
|
237
|
+
handleComboboxKeyDown(e) {
|
|
238
|
+
if (e.key === "ArrowDown") {
|
|
239
|
+
if (e.preventDefault(), !this.showTimes) {
|
|
240
|
+
this.showTimes = !0, this.shouldAutoScroll = !0;
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (this.ariaActivedescendant === "")
|
|
244
|
+
this.ariaActivedescendant = this.times[0].id.toString(), this.focusOption(0);
|
|
245
|
+
else {
|
|
246
|
+
const t = this.times.findIndex((i) => i.id.toString() === this.ariaActivedescendant), n = t + 1 < this.times.length ? t + 1 : 0;
|
|
247
|
+
this.ariaActivedescendant = this.times[n].id.toString(), this.focusOption(n);
|
|
248
|
+
}
|
|
249
|
+
} else if (e.key === "ArrowUp")
|
|
250
|
+
if (e.preventDefault(), this.ariaActivedescendant === "")
|
|
251
|
+
this.ariaActivedescendant = this.times[this.times.length - 1].id.toString(), this.focusOption(this.times.length - 1);
|
|
252
|
+
else {
|
|
253
|
+
const t = this.times.findIndex((i) => i.id.toString() === this.ariaActivedescendant), n = t - 1 >= 0 ? t - 1 : this.times.length - 1;
|
|
254
|
+
this.ariaActivedescendant = this.times[n].id.toString(), this.focusOption(n);
|
|
255
|
+
}
|
|
256
|
+
else
|
|
257
|
+
e.key === "Escape" && (this.showTimes = !1, this.timeInput.focus());
|
|
258
|
+
}
|
|
259
|
+
handleListboxKeydown(e) {
|
|
260
|
+
const t = this.times, n = t.findIndex((i) => i.id.toString() === this.ariaActivedescendant);
|
|
261
|
+
if (e.key === "ArrowDown" || e.key === "Tab" && !e.shiftKey) {
|
|
262
|
+
e.preventDefault();
|
|
263
|
+
const i = n + 1 < t.length ? n + 1 : 0;
|
|
264
|
+
this.ariaActivedescendant = t[i].id.toString(), this.focusOption(i);
|
|
265
|
+
} else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
|
|
266
|
+
e.preventDefault();
|
|
267
|
+
const i = n - 1 >= 0 ? n - 1 : t.length - 1;
|
|
268
|
+
this.ariaActivedescendant = t[i].id.toString(), this.focusOption(i);
|
|
269
|
+
} else if (e.key === "Enter") {
|
|
270
|
+
if (e.preventDefault(), this.ariaActivedescendant) {
|
|
271
|
+
const i = t[n];
|
|
272
|
+
this.handleTimeChange(e, i.value), this.showTimes = !1, this.ariaActivedescendant = "", this.timeInput.focus();
|
|
273
|
+
}
|
|
274
|
+
} else
|
|
275
|
+
e.key === "Escape" && (this.showTimes = !1, this.timeInput.focus());
|
|
276
|
+
}
|
|
277
|
+
scrollToViewWithinParent(e) {
|
|
278
|
+
var v;
|
|
279
|
+
const t = this.times[e], n = (v = this.el.shadowRoot) == null ? void 0 : v.getElementById(t.id.toString()), i = this.timeMenu;
|
|
280
|
+
this.ariaActivedescendant = t.id.toString();
|
|
281
|
+
const r = n.getBoundingClientRect(), o = i.getBoundingClientRect();
|
|
282
|
+
r.top < o.top ? i.scrollTop -= o.top - r.top : r.bottom > o.bottom && (i.scrollTop += r.bottom - o.bottom), r.left < o.left ? i.scrollLeft -= o.left - r.left : r.right > o.right && (i.scrollLeft += r.right - o.right);
|
|
283
|
+
}
|
|
284
|
+
focusOption(e) {
|
|
285
|
+
var r;
|
|
286
|
+
const t = this.times[e];
|
|
287
|
+
if (!t)
|
|
288
|
+
return;
|
|
289
|
+
const n = t.id.toString(), i = (r = this.el.shadowRoot) == null ? void 0 : r.getElementById(n);
|
|
290
|
+
i && (i.focus(), i.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
291
|
+
}
|
|
292
|
+
render() {
|
|
293
|
+
return k(he, { key: "877080483e0ada0d0b696406c87d77e425302c57" }, k("div", { key: "4823aac7d1c66aed3fb05b662033b240807d836a", class: "time-picker", part: "time-picker" }, k("input", { key: "90f29f4d489d5acc6f468e851ee309356134a5ab", type: "text", name: this.name, id: this.name, part: "time-input", class: {
|
|
294
|
+
"time-input": !0,
|
|
295
|
+
error: !!this.err || this.hasError
|
|
296
|
+
}, ref: (e) => this.timeInput = e, value: this.time, onClick: () => {
|
|
297
|
+
this.showTimes = !this.showTimes, this.shouldAutoScroll = !0;
|
|
298
|
+
}, "aria-haspopup": "listbox", "aria-label": this.name, "aria-expanded": this.showTimes ? "true" : "false", placeholder: this.placeholder, onKeyDown: (e) => this.handleComboboxKeyDown(e), onInput: (e) => this.handleOnInput(e), onBlur: (e) => this.handleTimeAutocomplete(e) }), this.err && k("div", { class: "invalid-time-icon" }), this.showTimes && k("div", { class: "times", part: "times", ref: (e) => this.timeMenu = e }, k("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (e) => this.handleListboxKeydown(e) }, this.times.map((e) => k("li", { tabindex: "0", key: e.id, id: e.id.toString(), class: {
|
|
299
|
+
focused: this.ariaActivedescendant === e.id.toString()
|
|
300
|
+
}, onClick: (t) => {
|
|
301
|
+
this.handleTimeChange(t, e.value), this.showTimes = !1, this.timeInput.focus();
|
|
302
|
+
}, role: "option" }, `${e.value}`)))), !this.showTimes && this.err && k("p", { class: "error", id: "email-error" }, this.err)));
|
|
303
|
+
}
|
|
304
|
+
get el() {
|
|
305
|
+
return me(this);
|
|
306
|
+
}
|
|
307
|
+
static get watchers() {
|
|
308
|
+
return {
|
|
309
|
+
minimumStartTime: ["minimumStartTimeChangedHandler"]
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
ue.style = ce;
|
|
314
|
+
export {
|
|
315
|
+
ue as nylas_time_window_picker
|
|
316
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-81719cc6.cjs");require("react");require("react-dom");const r=".sc-person-icon-h{display:flex}",i=r,t=class{constructor(s){e.registerInstance(this,s),this.width="14",this.height="16"}render(){return e.h("svg",{key:"0a47e6585ae19ad96e3c57b2aec1547798fe7abc",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5aba35e97caadb061d6948c4f5ffc9390b2cd223",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_icon=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-7e7c24f1.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ".sc-person-icon-h{display:flex}", r = o, C = class {
|
|
@@ -6,7 +6,7 @@ const o = ".sc-person-icon-h{display:flex}", r = o, C = class {
|
|
|
6
6
|
s(this, e), this.width = "14", this.height = "16";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "0a47e6585ae19ad96e3c57b2aec1547798fe7abc", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5aba35e97caadb061d6948c4f5ffc9390b2cd223", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
C.style = r;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as s, h as t } from "./index-7e7c24f1.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ".sc-play-icon-h{display:flex}", i = o, r = class {
|
|
5
|
-
constructor(
|
|
6
|
-
|
|
5
|
+
constructor(e) {
|
|
6
|
+
s(this, e), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "03aeffce3f9f6d60a15e334e51d4b8473724937a", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "b150b7c852caa549be48caaf60e46bc442b15960", d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
r.style = i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-81719cc6.cjs");require("react");require("react-dom");const s=".sc-play-icon-h{display:flex}",o=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"03aeffce3f9f6d60a15e334e51d4b8473724937a",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"b150b7c852caa549be48caaf60e46bc442b15960",d:"M21 12L3 21V3L21 12Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=o;exports.play_icon=t;
|
package/dist/react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-81719cc6.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FeedbackIcon=o.FeedbackIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.InputImageUrl=o.InputImageUrl;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDateComponent=o.NylasDateComponent;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasDisableEmails=o.NylasDisableEmails;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFeedbackForm=o.NylasFeedbackForm;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasProvider=o.NylasProvider;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
|
package/dist/react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as e, $ as l, a0 as i, a1 as c, a2 as t, a3 as r, a4 as b, a5 as I, a6 as y, a7 as N, a8 as d, a9 as C, aa as m, ab as p, ac as g, ad as k, ae as u, af as P, ag as f, ah as E, ai as h, aj as v, ak as S, al as B, am as F, an as T, ao as L, ap as D, aq as w, ar as A, as as R, at as M, au as x, av as G, aw as W, ax as z, ay as O, az as U, aA as Z, aB as q, aC as X, aD as Y, aE as j, aF as H, aG as J, aH as K, aI as Q, aJ as V, aK as _, aL as $, aM as aa, aN as sa, aO as oa, aP as na, aQ as ea, aR as la, aS as ia, aT as ca, aU as ta, aV as ra, aW as ba, aX as Ia, aY as ya, aZ as Na, a_ as da, a$ as Ca, b0 as ma, b1 as pa, b2 as ga, b3 as ka, b4 as ua, b5 as Pa, b6 as fa, b7 as Ea, b8 as ha, b9 as va, ba as Sa, N as Ba, bb as Fa, bc as Ta, bd as La, be as Da, bf as wa, bg as Aa, bh as Ra, bi as Ma, bj as xa, bk as Ga, bl as Wa, bm as za, bn as Oa, bo as Ua, bp as Za, bq as qa, br as Xa, bs as Ya, bt as ja, bu as Ha, bv as Ja, bw as Ka, bx as Qa, by as Va, bz as _a, bA as $a, bB as as, bC as ss, bD as os, bE as ns, bF as es, bG as ls, bH as is, bI as cs, bJ as ts, bK as rs, bL as bs, bM as Is, bN as ys, bO as Ns, bP as ds, bQ as Cs, bR as ms, bS as ps, bT as gs, bU as ks, bV as us, bW as Ps, bX as fs, bY as Es, bZ as hs, X as vs, Y as Ss, Z as Bs, W as Fs } from "./index-7e7c24f1.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|
|
@@ -29,8 +29,8 @@ export {
|
|
|
29
29
|
F as EnvelopeIcon,
|
|
30
30
|
T as EyeIcon,
|
|
31
31
|
L as FeedbackIcon,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
D as FlowIcon,
|
|
33
|
+
w as FolderIcon,
|
|
34
34
|
A as ForwardIcon,
|
|
35
35
|
R as GlobeIcon,
|
|
36
36
|
M as GoogleLogoIcon,
|
|
@@ -40,16 +40,16 @@ export {
|
|
|
40
40
|
z as InputColorPicker,
|
|
41
41
|
O as InputComponent,
|
|
42
42
|
U as InputDropdown,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
Z as InputImageUrl,
|
|
44
|
+
q as ItalicIcon,
|
|
45
45
|
X as LoadingIcon,
|
|
46
|
-
|
|
46
|
+
Y as LocationIcon,
|
|
47
47
|
j as LocationOffIcon,
|
|
48
48
|
H as MicrosoftLogoIcon,
|
|
49
49
|
J as MicrosoftTeamsIcon,
|
|
50
50
|
K as MultiSelectDropdown,
|
|
51
51
|
Q as NylasAdditionalParticipants,
|
|
52
|
-
|
|
52
|
+
V as NylasAvailabilityPicker,
|
|
53
53
|
_ as NylasBookedEventCard,
|
|
54
54
|
$ as NylasBookingCalendarPicker,
|
|
55
55
|
aa as NylasBookingConfirmationRedirect,
|
|
@@ -69,69 +69,70 @@ export {
|
|
|
69
69
|
da as NylasCustomizeBookingSettings,
|
|
70
70
|
Ca as NylasDateComponent,
|
|
71
71
|
ma as NylasDatePicker,
|
|
72
|
-
pa as
|
|
73
|
-
ga as
|
|
74
|
-
ka as
|
|
75
|
-
ua as
|
|
76
|
-
Pa as
|
|
77
|
-
fa as
|
|
78
|
-
Ea as
|
|
79
|
-
ha as
|
|
80
|
-
va as
|
|
81
|
-
Sa as
|
|
82
|
-
Ba as
|
|
83
|
-
Fa as
|
|
84
|
-
Ta as
|
|
85
|
-
La as
|
|
72
|
+
pa as NylasDisableEmails,
|
|
73
|
+
ga as NylasEditorTabs,
|
|
74
|
+
ka as NylasEventDescription,
|
|
75
|
+
ua as NylasEventDuration,
|
|
76
|
+
Pa as NylasEventInfo,
|
|
77
|
+
fa as NylasEventLimits,
|
|
78
|
+
Ea as NylasEventLocation,
|
|
79
|
+
ha as NylasEventTitle,
|
|
80
|
+
va as NylasFeedbackForm,
|
|
81
|
+
Sa as NylasFormCard,
|
|
82
|
+
Ba as NylasIdentityRequestWrapper,
|
|
83
|
+
Fa as NylasIfState,
|
|
84
|
+
Ta as NylasLimitFutureBookings,
|
|
85
|
+
La as NylasListConfigurations,
|
|
86
|
+
Da as NylasLocaleSwitch,
|
|
86
87
|
wa as NylasLogin,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
Aa as NylasLogo,
|
|
89
|
+
Ra as NylasMinBookingNotice,
|
|
90
|
+
Ma as NylasMinCancellationNotice,
|
|
91
|
+
xa as NylasNotification,
|
|
92
|
+
Ga as NylasOrganizerConfirmationCard,
|
|
93
|
+
Wa as NylasPageName,
|
|
94
|
+
za as NylasPageStyling,
|
|
95
|
+
Oa as NylasParticipantBookingCalendars,
|
|
96
|
+
Ua as NylasParticipantsCustomAvailability,
|
|
97
|
+
Za as NylasProvider,
|
|
97
98
|
qa as NylasReminderEmails,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
99
|
+
Xa as NylasReminderTime,
|
|
100
|
+
Ya as NylasSchedulerEditor,
|
|
101
|
+
ja as NylasScheduling,
|
|
102
|
+
Ha as NylasSchedulingMethod,
|
|
103
|
+
Ja as NylasSelectedEventCard,
|
|
104
|
+
Ka as NylasTimeWindowPicker,
|
|
105
|
+
Qa as NylasTimeslotInterval,
|
|
106
|
+
Va as NylasTimeslotPicker,
|
|
107
|
+
_a as PaintbrushFillIcon,
|
|
108
|
+
$a as PaintbrushIcon,
|
|
109
|
+
as as PeopleIcon,
|
|
110
|
+
ss as PersonClipboardIcon,
|
|
111
|
+
os as PersonIcon,
|
|
112
|
+
ns as PlayIcon,
|
|
113
|
+
es as PlusIcon,
|
|
114
|
+
ls as RadioButtonGroup,
|
|
115
|
+
is as RefreshIcon,
|
|
116
|
+
cs as ReplyAllIcon,
|
|
117
|
+
ts as ReplyIcon,
|
|
118
|
+
rs as SearchIcon,
|
|
119
|
+
bs as SelectDropdown,
|
|
120
|
+
Is as SentIcon,
|
|
121
|
+
ys as SpamIcon,
|
|
122
|
+
Ns as StarIcon,
|
|
123
|
+
ds as StopIcon,
|
|
124
|
+
Cs as TextareaComponent,
|
|
125
|
+
ms as TimePeriodSelector,
|
|
126
|
+
ps as ToggleSwitch,
|
|
127
|
+
gs as TooltipComponent,
|
|
128
|
+
ks as TranslateIcon,
|
|
129
|
+
us as TrashFillIcon,
|
|
130
|
+
Ps as TrashIcon,
|
|
131
|
+
fs as UnderlineIcon,
|
|
132
|
+
Es as WarningIcon,
|
|
133
|
+
hs as ZoomIcon,
|
|
134
|
+
vs as applyPolyfills,
|
|
135
|
+
Ss as defineCustomElements,
|
|
136
|
+
Bs as setNonce,
|
|
137
|
+
Fs as useNylasMailboxElement
|
|
137
138
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-81719cc6.cjs");require("react");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",i=t,e=class{constructor(s){c.registerInstance(this,s),this.width="15",this.height="15"}render(){return c.h("svg",{key:"6b97426e4b19084109dd6615f5bdc654a0020fb9",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c.h("path",{key:"fc8867cd8e42697f0d4a3dac3dc0973cd0c29d65",d:"M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z"}))}};e.style=i;exports.refresh_icon=e;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as t, h as c } from "./index-7e7c24f1.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const e = ".sc-refresh-icon-h{display:flex}", l = e, h = class {
|
|
5
5
|
constructor(s) {
|
|
6
|
-
|
|
6
|
+
t(this, s), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return c("svg", { key: "
|
|
9
|
+
return c("svg", { key: "6b97426e4b19084109dd6615f5bdc654a0020fb9", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "fc8867cd8e42697f0d4a3dac3dc0973cd0c29d65", d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
h.style = l;
|
package/dist/{register-component-a169494c-3d95c4fd.cjs → register-component-e9c10e19-80bbc4dd.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./index-
|
|
1
|
+
"use strict";const s=require("./index-81719cc6.cjs");function m(e,o,i="registerComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function P(e,o,i="unregisterComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function b(e){return(o,i)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${i}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),u=n.filter(c=>t.includes(c));if(u.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${u.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=s.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=m(o,u,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=P(o,u,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=b;
|