@nylas/web-elements 0.0.0-canary-20250318134614 → 0.0.0-test-20250319204140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/cdn/input-color-picker/input-color-picker.es.js +699 -0
  2. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +4 -4
  3. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +3 -3
  4. package/dist/cjs/google-logo-icon_6.cjs.entry.js +4 -4
  5. package/dist/cjs/nylas-event-calendar_3.cjs.entry.js.map +1 -1
  6. package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
  7. package/dist/cjs/nylas-scheduling.cjs.entry.js +3 -3
  8. package/dist/cjs/{scheduler-store-599282e9.js → scheduler-store-c1fc5cf3.js} +2 -2
  9. package/dist/cjs/{scheduler-store-599282e9.js.map → scheduler-store-c1fc5cf3.js.map} +1 -1
  10. package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js +2 -2
  11. package/dist/collection/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.js.map +1 -1
  12. package/dist/components/nylas-editor-tabs-group2.js +2 -2
  13. package/dist/components/nylas-editor-tabs2.js +2 -2
  14. package/dist/components/nylas-event-calendar2.js.map +1 -1
  15. package/dist/components/nylas-scheduling.js +2 -2
  16. package/dist/components/scheduler-store.js +1 -1
  17. package/dist/esm/google-logo-icon_6.entry.js +4 -4
  18. package/dist/esm/nylas-event-calendar_3.entry.js.map +1 -1
  19. package/dist/esm/nylas-provider.entry.js +1 -1
  20. package/dist/esm/nylas-scheduling.entry.js +3 -3
  21. package/dist/esm/{scheduler-store-59b3f29b.js → scheduler-store-bbb4cf8d.js} +2 -2
  22. package/dist/esm/{scheduler-store-59b3f29b.js.map → scheduler-store-bbb4cf8d.js.map} +1 -1
  23. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  24. package/dist/nylas-web-elements/{p-a6fbfec1.entry.js → p-14569ed8.entry.js} +2 -2
  25. package/dist/nylas-web-elements/p-4e20f21a.entry.js.map +1 -1
  26. package/dist/nylas-web-elements/{p-ef506ab3.entry.js → p-91bc630c.entry.js} +2 -2
  27. package/dist/nylas-web-elements/{p-790c6070.js → p-f0c25e38.js} +2 -2
  28. package/dist/nylas-web-elements/{p-8841358d.entry.js → p-f7ea608d.entry.js} +2 -2
  29. package/dist/types/components/scheduler-editor/nylas-event-calendar/nylas-event-calendar.d.ts +1 -2
  30. package/package.json +2 -2
  31. /package/dist/nylas-web-elements/{p-a6fbfec1.entry.js.map → p-14569ed8.entry.js.map} +0 -0
  32. /package/dist/nylas-web-elements/{p-ef506ab3.entry.js.map → p-91bc630c.entry.js.map} +0 -0
  33. /package/dist/nylas-web-elements/{p-790c6070.js.map → p-f0c25e38.js.map} +0 -0
  34. /package/dist/nylas-web-elements/{p-8841358d.entry.js.map → p-f7ea608d.entry.js.map} +0 -0
@@ -0,0 +1,699 @@
1
+ const x = {
2
+ allRenderFn: !1,
3
+ cmpDidLoad: !0,
4
+ cmpDidUnload: !1,
5
+ cmpDidUpdate: !0,
6
+ cmpDidRender: !0,
7
+ cmpWillLoad: !0,
8
+ cmpWillUpdate: !0,
9
+ cmpWillRender: !0,
10
+ connectedCallback: !0,
11
+ disconnectedCallback: !0,
12
+ element: !0,
13
+ event: !0,
14
+ hasRenderFn: !0,
15
+ lifecycle: !0,
16
+ hostListener: !0,
17
+ hostListenerTargetWindow: !0,
18
+ hostListenerTargetDocument: !0,
19
+ hostListenerTargetBody: !0,
20
+ hostListenerTargetParent: !1,
21
+ hostListenerTarget: !0,
22
+ member: !0,
23
+ method: !0,
24
+ mode: !0,
25
+ observeAttribute: !0,
26
+ prop: !0,
27
+ propMutable: !0,
28
+ reflect: !0,
29
+ scoped: !0,
30
+ shadowDom: !0,
31
+ slot: !0,
32
+ cssAnnotations: !0,
33
+ state: !0,
34
+ style: !0,
35
+ formAssociated: !1,
36
+ svg: !0,
37
+ updatable: !0,
38
+ vdomAttribute: !0,
39
+ vdomXlink: !0,
40
+ vdomClass: !0,
41
+ vdomFunctional: !0,
42
+ vdomKey: !0,
43
+ vdomListener: !0,
44
+ vdomRef: !0,
45
+ vdomPropOrAttr: !0,
46
+ vdomRender: !0,
47
+ vdomStyle: !0,
48
+ vdomText: !0,
49
+ watchCallback: !0,
50
+ taskQueue: !0,
51
+ hotModuleReplacement: !1,
52
+ isDebug: !1,
53
+ isDev: !1,
54
+ isTesting: !1,
55
+ hydrateServerSide: !1,
56
+ hydrateClientSide: !1,
57
+ lifecycleDOMEvents: !1,
58
+ lazyLoad: !1,
59
+ profile: !1,
60
+ slotRelocation: !0,
61
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
62
+ appendChildSlotFix: !1,
63
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
64
+ cloneNodeFix: !1,
65
+ hydratedAttribute: !1,
66
+ hydratedClass: !0,
67
+ scriptDataOpts: !1,
68
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
69
+ scopedSlotTextContentFix: !1,
70
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
71
+ shadowDomShim: !1,
72
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
73
+ slotChildNodesFix: !1,
74
+ invisiblePrehydration: !0,
75
+ propBoolean: !0,
76
+ propNumber: !0,
77
+ propString: !0,
78
+ constructableCSS: !0,
79
+ cmpShouldUpdate: !0,
80
+ devTools: !1,
81
+ shadowDelegatesFocus: !0,
82
+ initializeNextTick: !1,
83
+ asyncLoading: !1,
84
+ asyncQueue: !1,
85
+ transformTagName: !1,
86
+ attachStyles: !0,
87
+ // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
88
+ experimentalSlotFixes: !1
89
+ };
90
+ let C, j, _, le = !1, F = !1, I = !1, b = !1, N = null, z = !1;
91
+ const T = (e, t = "") => () => {
92
+ }, Se = "slot-fb{display:contents}slot-fb[hidden]{display:none}", K = "http://www.w3.org/1999/xlink", Q = {}, xe = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml", Te = (e) => e != null, W = (e) => (e = typeof e, e === "object" || e === "function");
93
+ function Ce(e) {
94
+ var t, n, s;
95
+ return (s = (n = (t = e.head) === null || t === void 0 ? void 0 : t.querySelector('meta[name="csp-nonce"]')) === null || n === void 0 ? void 0 : n.getAttribute("content")) !== null && s !== void 0 ? s : void 0;
96
+ }
97
+ const v = (e, t, ...n) => {
98
+ let s = null, o = null, a = null, l = !1, i = !1;
99
+ const r = [], u = (c) => {
100
+ for (let $ = 0; $ < c.length; $++)
101
+ s = c[$], Array.isArray(s) ? u(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !W(s)) && (s = String(s)), l && i ? r[r.length - 1].$text$ += s : r.push(l ? D(null, s) : s), i = l);
102
+ };
103
+ if (u(n), t) {
104
+ t.key && (o = t.key), t.name && (a = t.name);
105
+ {
106
+ const c = t.className || t.class;
107
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter(($) => c[$]).join(" "));
108
+ }
109
+ }
110
+ if (typeof e == "function")
111
+ return e(t === null ? {} : t, r, _e);
112
+ const d = D(e, null);
113
+ return d.$attrs$ = t, r.length > 0 && (d.$children$ = r), d.$key$ = o, d.$name$ = a, d;
114
+ }, D = (e, t) => {
115
+ const n = {
116
+ $flags$: 0,
117
+ $tag$: e,
118
+ $text$: t,
119
+ $elm$: null,
120
+ $children$: null
121
+ };
122
+ return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
123
+ }, Ee = {}, Le = (e) => e && e.$tag$ === Ee, _e = {
124
+ forEach: (e, t) => e.map(X).forEach(t),
125
+ map: (e, t) => e.map(X).map(t).map(Oe)
126
+ }, X = (e) => ({
127
+ vattrs: e.$attrs$,
128
+ vchildren: e.$children$,
129
+ vkey: e.$key$,
130
+ vname: e.$name$,
131
+ vtag: e.$tag$,
132
+ vtext: e.$text$
133
+ }), Oe = (e) => {
134
+ if (typeof e.vtag == "function") {
135
+ const n = Object.assign({}, e.vattrs);
136
+ return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), v(e.vtag, n, ...e.vchildren || []);
137
+ }
138
+ const t = D(e.vtag, e.vtext);
139
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
140
+ }, Ae = (e) => rt.map((t) => t(e)).find((t) => !!t), Be = (e, t) => e != null && !W(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Re = (e) => e, Fe = (e, t, n) => {
141
+ const s = Re(e);
142
+ return {
143
+ emit: (o) => De(s, t, {
144
+ bubbles: !!(n & 4),
145
+ composed: !!(n & 2),
146
+ cancelable: !!(n & 1),
147
+ detail: o
148
+ })
149
+ };
150
+ }, De = (e, t, n) => {
151
+ const s = h.ce(t, n);
152
+ return e.dispatchEvent(s), s;
153
+ }, G = /* @__PURE__ */ new WeakMap(), Pe = (e, t, n) => {
154
+ let s = M.get(e);
155
+ ct && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, M.set(e, s);
156
+ }, Me = (e, t, n) => {
157
+ var s;
158
+ const o = re(t, n), a = M.get(o);
159
+ if (e = e.nodeType === 11 ? e : m, a)
160
+ if (typeof a == "string") {
161
+ e = e.head || e;
162
+ let l = G.get(e), i;
163
+ if (l || G.set(e, l = /* @__PURE__ */ new Set()), !l.has(o)) {
164
+ {
165
+ i = m.createElement("style"), i.innerHTML = a;
166
+ const r = (s = h.$nonce$) !== null && s !== void 0 ? s : Ce(m);
167
+ r != null && i.setAttribute("nonce", r), e.insertBefore(i, e.querySelector("link"));
168
+ }
169
+ t.$flags$ & 4 && (i.innerHTML += Se), l && l.add(o);
170
+ }
171
+ } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
+ return o;
173
+ }, Ue = (e) => {
174
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, o = T("attachStyles", t.$tagName$), a = Me(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t, e.$modeName$);
175
+ s & 10 && (n["s-sc"] = a, n.classList.add(a + "-h"), s & 2 && n.classList.add(a + "-s")), o();
176
+ }, re = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), J = (e, t, n, s, o, a) => {
177
+ if (n !== s) {
178
+ let l = te(e, t), i = t.toLowerCase();
179
+ if (t === "class") {
180
+ const r = e.classList, u = Y(n), d = Y(s);
181
+ r.remove(...u.filter((c) => c && !d.includes(c))), r.add(...d.filter((c) => c && !u.includes(c)));
182
+ } else if (t === "style") {
183
+ for (const r in n)
184
+ (!s || s[r] == null) && (r.includes("-") ? e.style.removeProperty(r) : e.style[r] = "");
185
+ for (const r in s)
186
+ (!n || s[r] !== n[r]) && (r.includes("-") ? e.style.setProperty(r, s[r]) : e.style[r] = s[r]);
187
+ } else if (t !== "key")
188
+ if (t === "ref")
189
+ s && s(e);
190
+ else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
191
+ if (t[2] === "-" ? t = t.slice(3) : te(U, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
192
+ const r = t.endsWith(ae);
193
+ t = t.replace(ze, ""), n && h.rel(e, t, n, r), s && h.ael(e, t, s, r);
194
+ }
195
+ } else {
196
+ const r = W(s);
197
+ if ((l || r && s !== null) && !o)
198
+ try {
199
+ if (e.tagName.includes("-"))
200
+ e[t] = s;
201
+ else {
202
+ const d = s ?? "";
203
+ t === "list" ? l = !1 : (n == null || e[t] != d) && (e[t] = d);
204
+ }
205
+ } catch {
206
+ }
207
+ let u = !1;
208
+ i !== (i = i.replace(/^xlink\:?/, "")) && (t = i, u = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && (u ? e.removeAttributeNS(K, t) : e.removeAttribute(t)) : (!l || a & 4 || o) && !r && (s = s === !0 ? "" : s, u ? e.setAttributeNS(K, t, s) : e.setAttribute(t, s));
209
+ }
210
+ }
211
+ }, je = /\s/, Y = (e) => e ? e.split(je) : [], ae = "Capture", ze = new RegExp(ae + "$"), ie = (e, t, n, s) => {
212
+ const o = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || Q, l = t.$attrs$ || Q;
213
+ for (s in a)
214
+ s in l || J(o, s, a[s], void 0, n, t.$flags$);
215
+ for (s in l)
216
+ J(o, s, a[s], l[s], n, t.$flags$);
217
+ }, P = (e, t, n, s) => {
218
+ const o = t.$children$[n];
219
+ let a = 0, l, i, r;
220
+ if (le || (I = !0, o.$tag$ === "slot" && (C && s.classList.add(C + "-s"), o.$flags$ |= o.$children$ ? (
221
+ // slot element has fallback content
222
+ 2
223
+ ) : (
224
+ // slot element does not have fallback content
225
+ 1
226
+ ))), o.$text$ !== null)
227
+ l = o.$elm$ = m.createTextNode(o.$text$);
228
+ else if (o.$flags$ & 1)
229
+ l = o.$elm$ = m.createTextNode("");
230
+ else {
231
+ if (b || (b = o.$tag$ === "svg"), l = o.$elm$ = m.createElementNS(b ? xe : we, o.$flags$ & 2 ? "slot-fb" : o.$tag$), b && o.$tag$ === "foreignObject" && (b = !1), ie(null, o, b), Te(C) && l["s-si"] !== C && l.classList.add(l["s-si"] = C), o.$children$)
232
+ for (a = 0; a < o.$children$.length; ++a)
233
+ i = P(e, o, a, l), i && l.appendChild(i);
234
+ o.$tag$ === "svg" ? b = !1 : l.tagName === "foreignObject" && (b = !0);
235
+ }
236
+ return l["s-hn"] = _, o.$flags$ & 3 && (l["s-sr"] = !0, l["s-cr"] = j, l["s-sn"] = o.$name$ || "", r = e && e.$children$ && e.$children$[n], r && r.$tag$ === o.$tag$ && e.$elm$ && O(e.$elm$, !1)), l;
237
+ }, O = (e, t) => {
238
+ h.$flags$ |= 1;
239
+ const n = e.childNodes;
240
+ for (let s = n.length - 1; s >= 0; s--) {
241
+ const o = n[s];
242
+ o["s-hn"] !== _ && o["s-ol"] && (de(o).insertBefore(o, q(o)), o["s-ol"].remove(), o["s-ol"] = void 0, o["s-sh"] = void 0, I = !0), t && O(o, t);
243
+ }
244
+ h.$flags$ &= -2;
245
+ }, ce = (e, t, n, s, o, a) => {
246
+ let l = e["s-cr"] && e["s-cr"].parentNode || e, i;
247
+ for (l.shadowRoot && l.tagName === _ && (l = l.shadowRoot); o <= a; ++o)
248
+ s[o] && (i = P(null, n, o, e), i && (s[o].$elm$ = i, l.insertBefore(i, q(t))));
249
+ }, fe = (e, t, n) => {
250
+ for (let s = t; s <= n; ++s) {
251
+ const o = e[s];
252
+ if (o) {
253
+ const a = o.$elm$;
254
+ pe(o), a && (F = !0, a["s-ol"] ? a["s-ol"].remove() : O(a, !0), a.remove());
255
+ }
256
+ }
257
+ }, He = (e, t, n, s, o = !1) => {
258
+ let a = 0, l = 0, i = 0, r = 0, u = t.length - 1, d = t[0], c = t[u], $ = s.length - 1, f = s[0], p = s[$], g, y;
259
+ for (; a <= u && l <= $; )
260
+ if (d == null)
261
+ d = t[++a];
262
+ else if (c == null)
263
+ c = t[--u];
264
+ else if (f == null)
265
+ f = s[++l];
266
+ else if (p == null)
267
+ p = s[--$];
268
+ else if (R(d, f, o))
269
+ E(d, f, o), d = t[++a], f = s[++l];
270
+ else if (R(c, p, o))
271
+ E(c, p, o), c = t[--u], p = s[--$];
272
+ else if (R(d, p, o))
273
+ (d.$tag$ === "slot" || p.$tag$ === "slot") && O(d.$elm$.parentNode, !1), E(d, p, o), e.insertBefore(d.$elm$, c.$elm$.nextSibling), d = t[++a], p = s[--$];
274
+ else if (R(c, f, o))
275
+ (d.$tag$ === "slot" || p.$tag$ === "slot") && O(c.$elm$.parentNode, !1), E(c, f, o), e.insertBefore(c.$elm$, d.$elm$), c = t[--u], f = s[++l];
276
+ else {
277
+ for (i = -1, r = a; r <= u; ++r)
278
+ if (t[r] && t[r].$key$ !== null && t[r].$key$ === f.$key$) {
279
+ i = r;
280
+ break;
281
+ }
282
+ i >= 0 ? (y = t[i], y.$tag$ !== f.$tag$ ? g = P(t && t[l], n, i, e) : (E(y, f, o), t[i] = void 0, g = y.$elm$), f = s[++l]) : (g = P(t && t[l], n, l, e), f = s[++l]), g && de(d.$elm$).insertBefore(g, q(d.$elm$));
283
+ }
284
+ a > u ? ce(e, s[$ + 1] == null ? null : s[$ + 1].$elm$, n, s, l, $) : l > $ && fe(t, a, u);
285
+ }, R = (e, t, n = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : n ? !0 : e.$key$ === t.$key$ : !1, q = (e) => e && e["s-ol"] || e, de = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, E = (e, t, n = !1) => {
286
+ const s = t.$elm$ = e.$elm$, o = e.$children$, a = t.$children$, l = t.$tag$, i = t.$text$;
287
+ let r;
288
+ i === null ? (b = l === "svg" ? !0 : l === "foreignObject" ? !1 : b, l === "slot" || ie(e, t, b), o !== null && a !== null ? He(s, o, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, a, 0, a.length - 1)) : o !== null && fe(o, 0, o.length - 1), b && l === "svg" && (b = !1)) : (r = s["s-cr"]) ? r.parentNode.textContent = i : e.$text$ !== i && (s.data = i);
289
+ }, $e = (e) => {
290
+ const t = e.childNodes;
291
+ for (const n of t)
292
+ if (n.nodeType === 1) {
293
+ if (n["s-sr"]) {
294
+ const s = n["s-sn"];
295
+ n.hidden = !1;
296
+ for (const o of t)
297
+ if (o !== n) {
298
+ if (o["s-hn"] !== n["s-hn"] || s !== "") {
299
+ if (o.nodeType === 1 && (s === o.getAttribute("slot") || s === o["s-sn"])) {
300
+ n.hidden = !0;
301
+ break;
302
+ }
303
+ } else if (o.nodeType === 1 || o.nodeType === 3 && o.textContent.trim() !== "") {
304
+ n.hidden = !0;
305
+ break;
306
+ }
307
+ }
308
+ }
309
+ $e(n);
310
+ }
311
+ }, k = [], ue = (e) => {
312
+ let t, n, s;
313
+ for (const o of e.childNodes) {
314
+ if (o["s-sr"] && (t = o["s-cr"]) && t.parentNode) {
315
+ n = t.parentNode.childNodes;
316
+ const a = o["s-sn"];
317
+ for (s = n.length - 1; s >= 0; s--)
318
+ if (t = n[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== o["s-hn"] && !x.experimentalSlotFixes)
319
+ if (Z(t, a)) {
320
+ let l = k.find((i) => i.$nodeToRelocate$ === t);
321
+ F = !0, t["s-sn"] = t["s-sn"] || a, l ? (l.$nodeToRelocate$["s-sh"] = o["s-hn"], l.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], k.push({
322
+ $slotRefNode$: o,
323
+ $nodeToRelocate$: t
324
+ })), t["s-sr"] && k.map((i) => {
325
+ Z(i.$nodeToRelocate$, t["s-sn"]) && (l = k.find((r) => r.$nodeToRelocate$ === t), l && !i.$slotRefNode$ && (i.$slotRefNode$ = l.$slotRefNode$));
326
+ });
327
+ } else k.some((l) => l.$nodeToRelocate$ === t) || k.push({
328
+ $nodeToRelocate$: t
329
+ });
330
+ }
331
+ o.nodeType === 1 && ue(o);
332
+ }
333
+ }, Z = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", pe = (e) => {
334
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(pe);
335
+ }, Ie = (e, t, n = !1) => {
336
+ var s, o, a, l, i;
337
+ const r = e.$hostElement$, u = e.$cmpMeta$, d = e.$vnode$ || D(null, null), c = Le(t) ? t : v(null, null, t);
338
+ if (_ = r.tagName, u.$attrsToReflect$ && (c.$attrs$ = c.$attrs$ || {}, u.$attrsToReflect$.map(([$, f]) => c.$attrs$[f] = r[$])), n && c.$attrs$)
339
+ for (const $ of Object.keys(c.$attrs$))
340
+ r.hasAttribute($) && !["key", "ref", "style", "class"].includes($) && (c.$attrs$[$] = r[$]);
341
+ c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = d.$elm$ = r.shadowRoot || r, C = r["s-sc"], j = r["s-cr"], le = (u.$flags$ & 1) !== 0, F = !1, E(d, c, n);
342
+ {
343
+ if (h.$flags$ |= 1, I) {
344
+ ue(c.$elm$);
345
+ for (const $ of k) {
346
+ const f = $.$nodeToRelocate$;
347
+ if (!f["s-ol"]) {
348
+ const p = m.createTextNode("");
349
+ p["s-nr"] = f, f.parentNode.insertBefore(f["s-ol"] = p, f);
350
+ }
351
+ }
352
+ for (const $ of k) {
353
+ const f = $.$nodeToRelocate$, p = $.$slotRefNode$;
354
+ if (p) {
355
+ const g = p.parentNode;
356
+ let y = p.nextSibling;
357
+ {
358
+ let w = (s = f["s-ol"]) === null || s === void 0 ? void 0 : s.previousSibling;
359
+ for (; w; ) {
360
+ let S = (o = w["s-nr"]) !== null && o !== void 0 ? o : null;
361
+ if (S && S["s-sn"] === f["s-sn"] && g === S.parentNode && (S = S.nextSibling, !S || !S["s-nr"])) {
362
+ y = S;
363
+ break;
364
+ }
365
+ w = w.previousSibling;
366
+ }
367
+ }
368
+ (!y && g !== f.parentNode || f.nextSibling !== y) && f !== y && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName), g.insertBefore(f, y), f.nodeType === 1 && (f.hidden = (a = f["s-ih"]) !== null && a !== void 0 ? a : !1));
369
+ } else
370
+ f.nodeType === 1 && (n && (f["s-ih"] = (l = f.hidden) !== null && l !== void 0 ? l : !1), f.hidden = !0);
371
+ }
372
+ }
373
+ F && $e(c.$elm$), h.$flags$ &= -2, k.length = 0;
374
+ }
375
+ if (x.experimentalScopedSlotChanges && u.$flags$ & 2)
376
+ for (const $ of c.$elm$.childNodes)
377
+ $["s-hn"] !== _ && !$["s-sh"] && (n && $["s-ih"] == null && ($["s-ih"] = (i = $.hidden) !== null && i !== void 0 ? i : !1), $.hidden = !0);
378
+ j = void 0;
379
+ }, We = (e, t) => {
380
+ }, he = (e, t) => (e.$flags$ |= 16, We(e, e.$ancestorComponent$), $t(() => qe(e, t))), qe = (e, t) => {
381
+ const n = e.$hostElement$, s = T("scheduleUpdate", e.$cmpMeta$.$tagName$), o = n;
382
+ let a;
383
+ return t ? a = L(o, "componentWillLoad") : a = L(o, "componentWillUpdate"), a = V(a, () => L(o, "componentWillRender")), s(), V(a, () => Ke(e, o, t));
384
+ }, V = (e, t) => Ne(e) ? e.then(t) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = async (e, t, n) => {
385
+ const s = e.$hostElement$, o = T("update", e.$cmpMeta$.$tagName$);
386
+ s["s-rc"], n && Ue(e);
387
+ const a = T("render", e.$cmpMeta$.$tagName$);
388
+ Qe(e, t, s, n), a(), o(), Xe(e);
389
+ }, Qe = (e, t, n, s) => {
390
+ try {
391
+ N = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (x.hasRenderFn || x.reflect) && (x.vdomRender || x.reflect) && (x.hydrateServerSide || Ie(e, t, s));
392
+ } catch (r) {
393
+ B(r, e.$hostElement$);
394
+ }
395
+ return N = null, null;
396
+ }, Xe = (e) => {
397
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = T("postUpdate", t), o = n;
398
+ e.$ancestorComponent$, L(o, "componentDidRender"), e.$flags$ & 64 ? (L(o, "componentDidUpdate"), s()) : (e.$flags$ |= 64, L(o, "componentDidLoad"), s());
399
+ }, L = (e, t, n) => {
400
+ if (e && e[t])
401
+ try {
402
+ return e[t](n);
403
+ } catch (s) {
404
+ B(s);
405
+ }
406
+ }, Ge = (e, t) => A(e).$instanceValues$.get(t), Je = (e, t, n, s) => {
407
+ const o = A(e), a = e, l = o.$instanceValues$.get(t), i = o.$flags$, r = a;
408
+ n = Be(n, s.$members$[t][0]);
409
+ const u = Number.isNaN(l) && Number.isNaN(n);
410
+ if (n !== l && !u) {
411
+ o.$instanceValues$.set(t, n);
412
+ {
413
+ if (s.$watchers$ && i & 128) {
414
+ const c = s.$watchers$[t];
415
+ c && c.map(($) => {
416
+ try {
417
+ r[$](n, l, t);
418
+ } catch (f) {
419
+ B(f, a);
420
+ }
421
+ });
422
+ }
423
+ if ((i & 18) === 2) {
424
+ if (r.componentShouldUpdate && r.componentShouldUpdate(n, l, t) === !1)
425
+ return;
426
+ he(o, !1);
427
+ }
428
+ }
429
+ }
430
+ }, Ye = (e, t, n) => {
431
+ var s;
432
+ const o = e.prototype;
433
+ if (t.$members$) {
434
+ e.watchers && (t.$watchers$ = e.watchers);
435
+ const a = Object.entries(t.$members$);
436
+ a.map(([l, [i]]) => {
437
+ (i & 31 || i & 32) && Object.defineProperty(o, l, {
438
+ get() {
439
+ return Ge(this, l);
440
+ },
441
+ set(r) {
442
+ Je(this, l, r, t);
443
+ },
444
+ configurable: !0,
445
+ enumerable: !0
446
+ });
447
+ });
448
+ {
449
+ const l = /* @__PURE__ */ new Map();
450
+ o.attributeChangedCallback = function(i, r, u) {
451
+ h.jmp(() => {
452
+ var d;
453
+ const c = l.get(i);
454
+ if (this.hasOwnProperty(c))
455
+ u = this[c], delete this[c];
456
+ else {
457
+ if (o.hasOwnProperty(c) && typeof this[c] == "number" && this[c] == u)
458
+ return;
459
+ if (c == null) {
460
+ const $ = A(this), f = $ == null ? void 0 : $.$flags$;
461
+ if (f && !(f & 8) && f & 128 && u !== r) {
462
+ const g = this, y = (d = t.$watchers$) === null || d === void 0 ? void 0 : d[i];
463
+ y == null || y.forEach((w) => {
464
+ g[w] != null && g[w].call(g, u, r, i);
465
+ });
466
+ }
467
+ return;
468
+ }
469
+ }
470
+ this[c] = u === null && typeof this[c] == "boolean" ? !1 : u;
471
+ });
472
+ }, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([
473
+ ...Object.keys((s = t.$watchers$) !== null && s !== void 0 ? s : {}),
474
+ ...a.filter(
475
+ ([i, r]) => r[0] & 15
476
+ /* MEMBER_FLAGS.HasAttribute */
477
+ ).map(([i, r]) => {
478
+ var u;
479
+ const d = r[1] || i;
480
+ return l.set(d, i), r[0] & 512 && ((u = t.$attrsToReflect$) === null || u === void 0 || u.push([i, d])), d;
481
+ })
482
+ ]));
483
+ }
484
+ }
485
+ return e;
486
+ }, Ze = async (e, t, n, s) => {
487
+ let o;
488
+ if (!(t.$flags$ & 32) && (t.$flags$ |= 32, o = e.constructor, customElements.whenDefined(n.$tagName$).then(() => t.$flags$ |= 128), o.style)) {
489
+ let l = o.style;
490
+ typeof l != "string" && (l = l[t.$modeName$ = Ae(e)]);
491
+ const i = re(n, t.$modeName$);
492
+ if (!M.has(i)) {
493
+ const r = T("registerStyles", n.$tagName$);
494
+ Pe(i, l, !!(n.$flags$ & 1)), r();
495
+ }
496
+ }
497
+ t.$ancestorComponent$, he(t, !0);
498
+ }, ee = (e) => {
499
+ }, Ve = (e) => {
500
+ if (!(h.$flags$ & 1)) {
501
+ const t = A(e), n = t.$cmpMeta$, s = T("connectedCallback", n.$tagName$);
502
+ t.$flags$ & 1 ? (ge(e, t, n.$listeners$), t != null && t.$lazyInstance$ ? ee(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ee(t.$lazyInstance$))) : (t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
503
+ n.$flags$ & 12 && et(e), n.$members$ && Object.entries(n.$members$).map(([o, [a]]) => {
504
+ if (a & 31 && e.hasOwnProperty(o)) {
505
+ const l = e[o];
506
+ delete e[o], e[o] = l;
507
+ }
508
+ }), Ze(e, t, n)), s();
509
+ }
510
+ }, et = (e) => {
511
+ const t = e["s-cr"] = m.createComment("");
512
+ t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
513
+ }, tt = async (e) => {
514
+ if (!(h.$flags$ & 1)) {
515
+ const t = A(e);
516
+ t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0);
517
+ }
518
+ }, ye = (e, t) => {
519
+ const n = {
520
+ $flags$: t[0],
521
+ $tagName$: t[1]
522
+ };
523
+ n.$members$ = t[2], n.$listeners$ = t[3], n.$watchers$ = e.$watchers$, n.$attrsToReflect$ = [], !se && n.$flags$ & 1 && (n.$flags$ |= 8);
524
+ const s = e.prototype.connectedCallback, o = e.prototype.disconnectedCallback;
525
+ return Object.assign(e.prototype, {
526
+ __registerHost() {
527
+ lt(this, n);
528
+ },
529
+ connectedCallback() {
530
+ Ve(this), s && s.call(this);
531
+ },
532
+ disconnectedCallback() {
533
+ tt(this), o && o.call(this);
534
+ },
535
+ __attachShadow() {
536
+ se ? this.attachShadow({
537
+ mode: "open",
538
+ delegatesFocus: !!(n.$flags$ & 16)
539
+ }) : this.shadowRoot = this;
540
+ }
541
+ }), e.is = n.$tagName$, Ye(e, n);
542
+ }, ge = (e, t, n, s) => {
543
+ n && n.map(([o, a, l]) => {
544
+ const i = nt(e, o), r = st(t, l), u = ot(o);
545
+ h.ael(i, a, r, u), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(i, a, r, u));
546
+ });
547
+ }, st = (e, t) => (n) => {
548
+ try {
549
+ x.lazyLoad || e.$hostElement$[t](n);
550
+ } catch (s) {
551
+ B(s);
552
+ }
553
+ }, nt = (e, t) => t & 4 ? m : t & 8 ? U : t & 16 ? m.body : e, ot = (e) => at ? {
554
+ passive: (e & 1) !== 0,
555
+ capture: (e & 2) !== 0
556
+ } : (e & 2) !== 0, be = /* @__PURE__ */ new WeakMap(), A = (e) => be.get(e), lt = (e, t) => {
557
+ const n = {
558
+ $flags$: 0,
559
+ $hostElement$: e,
560
+ $cmpMeta$: t,
561
+ $instanceValues$: /* @__PURE__ */ new Map()
562
+ };
563
+ return ge(e, n, t.$listeners$), be.set(e, n);
564
+ }, te = (e, t) => t in e, B = (e, t) => (0, console.error)(e, t), M = /* @__PURE__ */ new Map(), rt = [], U = typeof window < "u" ? window : {}, m = U.document || { head: {} }, ve = U.HTMLElement || class {
565
+ }, h = {
566
+ $flags$: 0,
567
+ $resourcesUrl$: "",
568
+ jmp: (e) => e(),
569
+ raf: (e) => requestAnimationFrame(e),
570
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
571
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
572
+ ce: (e, t) => new CustomEvent(e, t)
573
+ }, se = (
574
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
575
+ !0
576
+ ), at = /* @__PURE__ */ (() => {
577
+ let e = !1;
578
+ try {
579
+ m.addEventListener("e", null, Object.defineProperty({}, "passive", {
580
+ get() {
581
+ e = !0;
582
+ }
583
+ }));
584
+ } catch {
585
+ }
586
+ return e;
587
+ })(), it = (e) => Promise.resolve(e), ct = /* @__PURE__ */ (() => {
588
+ try {
589
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
590
+ } catch {
591
+ }
592
+ return !1;
593
+ })(), ne = [], me = [], ft = (e, t) => (n) => {
594
+ e.push(n), z || (z = !0, t && h.$flags$ & 4 ? dt(H) : h.raf(H));
595
+ }, oe = (e) => {
596
+ for (let t = 0; t < e.length; t++)
597
+ try {
598
+ e[t](performance.now());
599
+ } catch (n) {
600
+ B(n);
601
+ }
602
+ e.length = 0;
603
+ }, H = () => {
604
+ oe(ne), oe(me), (z = ne.length > 0) && h.raf(H);
605
+ }, dt = (e) => it().then(e), $t = /* @__PURE__ */ ft(me, !0), ut = ".sc-chevron-icon-h{display:flex}", pt = ut, ht = ye(class extends ve {
606
+ constructor() {
607
+ super(), this.__registerHost(), this.width = "24", this.height = "24";
608
+ }
609
+ render() {
610
+ return v("svg", { key: "80c05a605d7afb1c678f8965b1abae5c5e25916c", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, v("path", { key: "f754fdf2b68716dac07523348b1db34d0529d9a8", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
611
+ }
612
+ static get style() {
613
+ return pt;
614
+ }
615
+ }, [2, "chevron-icon", {
616
+ width: [1],
617
+ height: [1]
618
+ }]);
619
+ function yt() {
620
+ if (typeof customElements > "u")
621
+ return;
622
+ ["chevron-icon"].forEach((t) => {
623
+ switch (t) {
624
+ case "chevron-icon":
625
+ customElements.get(t) || customElements.define(t, ht);
626
+ break;
627
+ }
628
+ });
629
+ }
630
+ const gt = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.color-picker-container{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available;padding-left:0;gap:0;overflow:hidden}.color-picker-container:focus{outline-color:var(--nylas-primary)}.color-picker-container.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}.color-picker-container.error::placeholder{font-weight:400}.color-picker-container::placeholder{color:var(--nylas-base-300)}.color-picker-container input{display:flex;align-items:center;height:100%;appearance:none;border:none;border-right:1px solid var(--nylas-base-200);background:transparent}.color-picker-container input::-webkit-color-swatch{min-width:30px;border-radius:0.25rem;border:1px solid var(--nylas-base-200);margin:0.25rem}.color-picker-container input::-moz-color-swatch{min-width:30px;border-radius:0.25rem;border:1px solid var(--nylas-base-200);margin:0.25rem}.color-picker-container.error{border:1px solid var(--nylas-error)}.color-picker-container:hover,.color-picker-container:active{outline:1px solid var(--nylas-primary)}.color-picker-container:active{outline:2px solid var(--nylas-primary)}.color-picker-container label{width:100%}.labelBtn{color:var(--nylas-base-800);padding:14px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;width:100%;gap:0.5rem;background:transparent;border:none}.labelBtn.error{border:1px solid var(--nylas-error)}.labelBtn.focus{background:transparent}.labelBtn:hover,.labelBtn:active{outline:1px solid var(--nylas-primary)}.labelBtn span.chevron{display:flex;align-self:center}.labelBtn span.open{transform:rotate(90deg)}.labelBtn span.closed{transform:rotate(270deg)}.labelBtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.labelBtn span.selected-option{max-width:124px;font-size:16px}}', bt = gt, ke = ye(class extends ve {
631
+ constructor() {
632
+ super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged = Fe(this, "nylasFormDropdownChanged", 7), this.componentType = "color-picker", this.name = void 0, this.defaultSelectedColor = void 0, this.selectedColor = this.defaultSelectedColor, this.isOpen = !1, this.ariaActivedescendant = "", this.errorMessage = "";
633
+ }
634
+ componentWillLoad() {
635
+ this.selectedColor = this.defaultSelectedColor, this.el.setAttribute("component-type", this.componentType);
636
+ }
637
+ handleFocus() {
638
+ this.isOpen = !0;
639
+ }
640
+ handleBlur() {
641
+ this.isOpen = !1;
642
+ }
643
+ handleInput(t) {
644
+ this.selectedColor = t.target.value;
645
+ }
646
+ handleChange(t) {
647
+ this.selectedColor = t.target.value, this.nylasFormDropdownChanged.emit({
648
+ value: this.selectedColor,
649
+ name: this.name,
650
+ error: this.errorMessage
651
+ });
652
+ }
653
+ handleKeyDown(t) {
654
+ var n;
655
+ (t.code === "Enter" || t.code === "Space") && (t.preventDefault(), (n = this.inputRef) == null || n.click());
656
+ }
657
+ handleOutsideClick(t) {
658
+ !t.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
659
+ }
660
+ render() {
661
+ return v("div", { key: "081086e3c3877d0f9027a6862a6e0a3c53e70051", class: "color-picker-container", part: "icp_color-picker", tabindex: "0", onKeyDown: (t) => this.handleKeyDown(t) }, v("input", { key: "0bb1c2162f840c3438c334bc09741a35d5d97b42", type: "color", ref: (t) => this.inputRef = t, id: this.name, name: this.name, value: this.selectedColor, tabindex: "-1", onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), onInput: (t) => this.handleInput(t), onChange: (t) => this.handleChange(t), onKeyDown: (t) => this.handleKeyDown(t) }), v("label", { key: "d063c26dd52948dc40b14d3f93443ac30eb173e3", part: "icp_color-picker-button", htmlFor: this.name, class: { labelBtn: !0, open: this.isOpen, error: !!this.errorMessage }, "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name }, v("span", { key: "f0898da0abc4de14ee84cd8414fca3ef4f05fb38", class: "selected-option", part: "icp_color-picker-button-selected-label" }, this.selectedColor || "Select a color"), v("span", { key: "d998216f68ef77fa672c4435d275ffae4b656a49", class: {
662
+ open: this.isOpen,
663
+ closed: !this.isOpen,
664
+ chevron: !0
665
+ }, "aria-hidden": "true" }, v("chevron-icon", { key: "589c6052482633ae22ab1132536201b0a6b73fe2", width: "16", height: "16" })), this.errorMessage && v("span", { class: "error help-text" }, this.errorMessage)));
666
+ }
667
+ get el() {
668
+ return this;
669
+ }
670
+ static get style() {
671
+ return bt;
672
+ }
673
+ }, [1, "input-color-picker", {
674
+ name: [1],
675
+ defaultSelectedColor: [1, "default-selected-color"],
676
+ selectedColor: [32],
677
+ isOpen: [32],
678
+ ariaActivedescendant: [32],
679
+ errorMessage: [32]
680
+ }, [[6, "click", "handleOutsideClick"]]]);
681
+ function vt() {
682
+ if (typeof customElements > "u")
683
+ return;
684
+ ["input-color-picker", "chevron-icon"].forEach((t) => {
685
+ switch (t) {
686
+ case "input-color-picker":
687
+ customElements.get(t) || customElements.define(t, ke);
688
+ break;
689
+ case "chevron-icon":
690
+ customElements.get(t) || yt();
691
+ break;
692
+ }
693
+ });
694
+ }
695
+ const St = ke, xt = vt;
696
+ export {
697
+ St as InputColorPicker,
698
+ xt as defineCustomElement
699
+ };