@qtalo/qt-ui-library 0.1.21 → 0.1.23
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/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +13 -10
- package/dist/index.js +412 -363
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -326,20 +326,20 @@ var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.a
|
|
|
326
326
|
function createDOMPurify() {
|
|
327
327
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), t = (e) => createDOMPurify(e);
|
|
328
328
|
if (t.version = "3.3.1", t.removed = [], !e || !e.document || e.document.nodeType !== NODE_TYPE.document || !e.Element) return t.isSupported = !1, t;
|
|
329
|
-
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: h } = e,
|
|
329
|
+
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: h } = e, Xo = c.prototype, g = lookupGetter(Xo, "cloneNode"), O = lookupGetter(Xo, "remove"), Zo = lookupGetter(Xo, "nextSibling"), Qo = lookupGetter(Xo, "childNodes"), $o = lookupGetter(Xo, "parentNode");
|
|
330
330
|
if (typeof o == "function") {
|
|
331
331
|
let e = n.createElement("template");
|
|
332
332
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
333
333
|
}
|
|
334
|
-
let A, R = "", { implementation:
|
|
335
|
-
t.isSupported = typeof entries == "function" && typeof
|
|
336
|
-
let { MUSTACHE_EXPR:
|
|
334
|
+
let A, R = "", { implementation: es, createNodeIterator: ts, createDocumentFragment: ns, getElementsByTagName: rs } = n, { importNode: is } = r, B = _createHooksMap();
|
|
335
|
+
t.isSupported = typeof entries == "function" && typeof $o == "function" && es && es.createHTMLDocument !== void 0;
|
|
336
|
+
let { MUSTACHE_EXPR: as, ERB_EXPR: os, TMPLIT_EXPR: ss, DATA_ATTR: cs, ARIA_ATTR: ls, IS_SCRIPT_OR_DATA: us, ATTR_WHITESPACE: ds, CUSTOM_ELEMENT: fs } = EXPRESSIONS, { IS_ALLOWED_URI: ps } = EXPRESSIONS, V = null, ms = addToSet({}, [
|
|
337
337
|
...html$1,
|
|
338
338
|
...svg$1,
|
|
339
339
|
...svgFilters,
|
|
340
340
|
...mathMl$1,
|
|
341
341
|
...text
|
|
342
|
-
]),
|
|
342
|
+
]), hs = null, gs = addToSet({}, [
|
|
343
343
|
...html,
|
|
344
344
|
...svg,
|
|
345
345
|
...mathMl,
|
|
@@ -363,7 +363,7 @@ function createDOMPurify() {
|
|
|
363
363
|
enumerable: !0,
|
|
364
364
|
value: !1
|
|
365
365
|
}
|
|
366
|
-
})),
|
|
366
|
+
})), _s = null, vs = null, ys = Object.seal(create(null, {
|
|
367
367
|
tagCheck: {
|
|
368
368
|
writable: !0,
|
|
369
369
|
configurable: !1,
|
|
@@ -376,7 +376,7 @@ function createDOMPurify() {
|
|
|
376
376
|
enumerable: !0,
|
|
377
377
|
value: null
|
|
378
378
|
}
|
|
379
|
-
})),
|
|
379
|
+
})), bs = !0, xs = !0, Ss = !1, Cs = !0, ws = !1, Ts = !0, Es = !1, Ds = !1, Os = !1, ks = !1, As = !1, js = !1, Ms = !0, Ns = !1, Ps = !0, Fs = !1, Is = {}, Ls = null, Rs = addToSet({}, [
|
|
380
380
|
"annotation-xml",
|
|
381
381
|
"audio",
|
|
382
382
|
"colgroup",
|
|
@@ -402,14 +402,14 @@ function createDOMPurify() {
|
|
|
402
402
|
"title",
|
|
403
403
|
"video",
|
|
404
404
|
"xmp"
|
|
405
|
-
]),
|
|
405
|
+
]), zs = null, Bs = addToSet({}, [
|
|
406
406
|
"audio",
|
|
407
407
|
"video",
|
|
408
408
|
"img",
|
|
409
409
|
"source",
|
|
410
410
|
"image",
|
|
411
411
|
"track"
|
|
412
|
-
]),
|
|
412
|
+
]), Vs = null, Hs = addToSet({}, [
|
|
413
413
|
"alt",
|
|
414
414
|
"class",
|
|
415
415
|
"for",
|
|
@@ -424,58 +424,58 @@ function createDOMPurify() {
|
|
|
424
424
|
"value",
|
|
425
425
|
"style",
|
|
426
426
|
"xmlns"
|
|
427
|
-
]),
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
], stringToString),
|
|
427
|
+
]), Us = "http://www.w3.org/1998/Math/MathML", Ws = "http://www.w3.org/2000/svg", Gs = "http://www.w3.org/1999/xhtml", Ks = Gs, qs = !1, Js = null, Ys = addToSet({}, [
|
|
428
|
+
Us,
|
|
429
|
+
Ws,
|
|
430
|
+
Gs
|
|
431
|
+
], stringToString), Xs = addToSet({}, [
|
|
432
432
|
"mi",
|
|
433
433
|
"mo",
|
|
434
434
|
"mn",
|
|
435
435
|
"ms",
|
|
436
436
|
"mtext"
|
|
437
|
-
]),
|
|
437
|
+
]), Zs = addToSet({}, ["annotation-xml"]), Qs = addToSet({}, [
|
|
438
438
|
"title",
|
|
439
439
|
"style",
|
|
440
440
|
"font",
|
|
441
441
|
"a",
|
|
442
442
|
"script"
|
|
443
|
-
]),
|
|
443
|
+
]), $s = null, ec = ["application/xhtml+xml", "text/html"], Y = null, tc = null, nc = n.createElement("form"), rc = function(e) {
|
|
444
444
|
return e instanceof RegExp || e instanceof Function;
|
|
445
|
-
},
|
|
445
|
+
}, ic = function() {
|
|
446
446
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
447
|
-
if (!(
|
|
448
|
-
if ((!e || typeof e != "object") && (e = {}), e = clone(e),
|
|
447
|
+
if (!(tc && tc === e)) {
|
|
448
|
+
if ((!e || typeof e != "object") && (e = {}), e = clone(e), $s = ec.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = $s === "application/xhtml+xml" ? stringToString : stringToLowerCase, V = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : ms, hs = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : gs, Js = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : Ys, Vs = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Hs), e.ADD_URI_SAFE_ATTR, Y) : Hs, zs = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Bs), e.ADD_DATA_URI_TAGS, Y) : Bs, Ls = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : Rs, _s = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), vs = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Is = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, bs = e.ALLOW_ARIA_ATTR !== !1, xs = e.ALLOW_DATA_ATTR !== !1, Ss = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Cs = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ws = e.SAFE_FOR_TEMPLATES || !1, Ts = e.SAFE_FOR_XML !== !1, Es = e.WHOLE_DOCUMENT || !1, ks = e.RETURN_DOM || !1, As = e.RETURN_DOM_FRAGMENT || !1, js = e.RETURN_TRUSTED_TYPE || !1, Os = e.FORCE_BODY || !1, Ms = e.SANITIZE_DOM !== !1, Ns = e.SANITIZE_NAMED_PROPS || !1, Ps = e.KEEP_CONTENT !== !1, Fs = e.IN_PLACE || !1, ps = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Ks = e.NAMESPACE || Gs, Xs = e.MATHML_TEXT_INTEGRATION_POINTS || Xs, Zs = e.HTML_INTEGRATION_POINTS || Zs, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && rc(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && rc(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ws && (xs = !1), As && (ks = !0), Is && (V = addToSet({}, text), hs = [], Is.html === !0 && (addToSet(V, html$1), addToSet(hs, html)), Is.svg === !0 && (addToSet(V, svg$1), addToSet(hs, svg), addToSet(hs, xml)), Is.svgFilters === !0 && (addToSet(V, svgFilters), addToSet(hs, svg), addToSet(hs, xml)), Is.mathMl === !0 && (addToSet(V, mathMl$1), addToSet(hs, mathMl), addToSet(hs, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? ys.tagCheck = e.ADD_TAGS : (V === ms && (V = clone(V)), addToSet(V, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? ys.attributeCheck = e.ADD_ATTR : (hs === gs && (hs = clone(hs)), addToSet(hs, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Vs, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Ls === Rs && (Ls = clone(Ls)), addToSet(Ls, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Ls === Rs && (Ls = clone(Ls)), addToSet(Ls, e.ADD_FORBID_CONTENTS, Y)), Ps && (V["#text"] = !0), Es && addToSet(V, [
|
|
449
449
|
"html",
|
|
450
450
|
"head",
|
|
451
451
|
"body"
|
|
452
|
-
]), V.table && (addToSet(V, ["tbody"]), delete
|
|
452
|
+
]), V.table && (addToSet(V, ["tbody"]), delete _s.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
453
453
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
454
454
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
455
455
|
A = e.TRUSTED_TYPES_POLICY, R = A.createHTML("");
|
|
456
456
|
} else A === void 0 && (A = _createTrustedTypesPolicy(h, i)), A !== null && typeof R == "string" && (R = A.createHTML(""));
|
|
457
|
-
freeze && freeze(e),
|
|
457
|
+
freeze && freeze(e), tc = e;
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, ac = addToSet({}, [
|
|
460
460
|
...svg$1,
|
|
461
461
|
...svgFilters,
|
|
462
462
|
...svgDisallowed
|
|
463
|
-
]),
|
|
464
|
-
let t =
|
|
463
|
+
]), oc = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), sc = function(e) {
|
|
464
|
+
let t = $o(e);
|
|
465
465
|
(!t || !t.tagName) && (t = {
|
|
466
|
-
namespaceURI:
|
|
466
|
+
namespaceURI: Ks,
|
|
467
467
|
tagName: "template"
|
|
468
468
|
});
|
|
469
469
|
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
470
|
-
return
|
|
471
|
-
},
|
|
470
|
+
return Js[e.namespaceURI] ? e.namespaceURI === Ws ? t.namespaceURI === Gs ? n === "svg" : t.namespaceURI === Us ? n === "svg" && (r === "annotation-xml" || Xs[r]) : !!ac[n] : e.namespaceURI === Us ? t.namespaceURI === Gs ? n === "math" : t.namespaceURI === Ws ? n === "math" && Zs[r] : !!oc[n] : e.namespaceURI === Gs ? t.namespaceURI === Ws && !Zs[r] || t.namespaceURI === Us && !Xs[r] ? !1 : !oc[n] && (Qs[n] || !ac[n]) : !!($s === "application/xhtml+xml" && Js[e.namespaceURI]) : !1;
|
|
471
|
+
}, cc = function(e) {
|
|
472
472
|
arrayPush(t.removed, { element: e });
|
|
473
473
|
try {
|
|
474
|
-
|
|
474
|
+
$o(e).removeChild(e);
|
|
475
475
|
} catch {
|
|
476
476
|
O(e);
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, lc = function(e, n) {
|
|
479
479
|
try {
|
|
480
480
|
arrayPush(t.removed, {
|
|
481
481
|
attribute: n.getAttributeNode(e),
|
|
@@ -487,123 +487,123 @@ function createDOMPurify() {
|
|
|
487
487
|
from: n
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
-
if (n.removeAttribute(e), e === "is") if (
|
|
491
|
-
|
|
490
|
+
if (n.removeAttribute(e), e === "is") if (ks || As) try {
|
|
491
|
+
cc(n);
|
|
492
492
|
} catch {}
|
|
493
493
|
else try {
|
|
494
494
|
n.setAttribute(e, "");
|
|
495
495
|
} catch {}
|
|
496
|
-
},
|
|
496
|
+
}, uc = function(e) {
|
|
497
497
|
let t = null, r = null;
|
|
498
|
-
if (
|
|
498
|
+
if (Os) e = "<remove></remove>" + e;
|
|
499
499
|
else {
|
|
500
500
|
let t = stringMatch(e, /^[\r\n\t ]+/);
|
|
501
501
|
r = t && t[0];
|
|
502
502
|
}
|
|
503
|
-
|
|
503
|
+
$s === "application/xhtml+xml" && Ks === Gs && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
504
504
|
let i = A ? A.createHTML(e) : e;
|
|
505
|
-
if (
|
|
506
|
-
t = new p().parseFromString(i,
|
|
505
|
+
if (Ks === Gs) try {
|
|
506
|
+
t = new p().parseFromString(i, $s);
|
|
507
507
|
} catch {}
|
|
508
508
|
if (!t || !t.documentElement) {
|
|
509
|
-
t =
|
|
509
|
+
t = es.createDocument(Ks, "template", null);
|
|
510
510
|
try {
|
|
511
|
-
t.documentElement.innerHTML =
|
|
511
|
+
t.documentElement.innerHTML = qs ? R : i;
|
|
512
512
|
} catch {}
|
|
513
513
|
}
|
|
514
514
|
let a = t.body || t.documentElement;
|
|
515
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
516
|
-
},
|
|
517
|
-
return
|
|
518
|
-
},
|
|
515
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Ks === Gs ? rs.call(t, Es ? "html" : "body")[0] : Es ? t.documentElement : a;
|
|
516
|
+
}, dc = function(e) {
|
|
517
|
+
return ts.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
518
|
+
}, fc = function(e) {
|
|
519
519
|
return e instanceof f && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
520
|
-
},
|
|
520
|
+
}, pc = function(e) {
|
|
521
521
|
return typeof s == "function" && e instanceof s;
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function mc(e, n, r) {
|
|
524
524
|
arrayForEach(e, (e) => {
|
|
525
|
-
e.call(t, n, r,
|
|
525
|
+
e.call(t, n, r, tc);
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
let
|
|
528
|
+
let hc = function(e) {
|
|
529
529
|
let n = null;
|
|
530
|
-
if (
|
|
530
|
+
if (mc(B.beforeSanitizeElements, e, null), fc(e)) return cc(e), !0;
|
|
531
531
|
let r = Y(e.nodeName);
|
|
532
|
-
if (
|
|
532
|
+
if (mc(B.uponSanitizeElement, e, {
|
|
533
533
|
tagName: r,
|
|
534
534
|
allowedTags: V
|
|
535
|
-
}),
|
|
536
|
-
if (!(
|
|
537
|
-
if (!
|
|
538
|
-
if (
|
|
539
|
-
let t =
|
|
535
|
+
}), Ts && e.hasChildNodes() && !pc(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || Ts && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return cc(e), !0;
|
|
536
|
+
if (!(ys.tagCheck instanceof Function && ys.tagCheck(r)) && (!V[r] || _s[r])) {
|
|
537
|
+
if (!_s[r] && _c(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
|
|
538
|
+
if (Ps && !Ls[r]) {
|
|
539
|
+
let t = $o(e) || e.parentNode, n = Qo(e) || e.childNodes;
|
|
540
540
|
if (n && t) {
|
|
541
541
|
let r = n.length;
|
|
542
542
|
for (let i = r - 1; i >= 0; --i) {
|
|
543
543
|
let r = g(n[i], !0);
|
|
544
|
-
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r,
|
|
544
|
+
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Zo(e));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
return
|
|
548
|
+
return cc(e), !0;
|
|
549
549
|
}
|
|
550
|
-
return e instanceof c && !
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
550
|
+
return e instanceof c && !sc(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (cc(e), !0) : (ws && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
|
|
551
|
+
as,
|
|
552
|
+
os,
|
|
553
|
+
ss
|
|
554
554
|
], (e) => {
|
|
555
555
|
n = stringReplace(n, e, " ");
|
|
556
|
-
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)),
|
|
557
|
-
},
|
|
558
|
-
if (
|
|
559
|
-
if (!(
|
|
560
|
-
if (!
|
|
561
|
-
if (!(
|
|
562
|
-
} else if (!
|
|
556
|
+
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), mc(B.afterSanitizeElements, e, null), !1);
|
|
557
|
+
}, gc = function(e, t, r) {
|
|
558
|
+
if (Ms && (t === "id" || t === "name") && (r in n || r in nc)) return !1;
|
|
559
|
+
if (!(xs && !vs[t] && regExpTest(cs, t)) && !(bs && regExpTest(ls, t)) && !(ys.attributeCheck instanceof Function && ys.attributeCheck(t, e))) {
|
|
560
|
+
if (!hs[t] || vs[t]) {
|
|
561
|
+
if (!(_c(e) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, e) || H.tagNameCheck instanceof Function && H.tagNameCheck(e)) && (H.attributeNameCheck instanceof RegExp && regExpTest(H.attributeNameCheck, t) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(t, e)) || t === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r)))) return !1;
|
|
562
|
+
} else if (!Vs[t] && !regExpTest(ps, stringReplace(r, ds, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && zs[e]) && !(Ss && !regExpTest(us, stringReplace(r, ds, ""))) && r) return !1;
|
|
563
563
|
}
|
|
564
564
|
return !0;
|
|
565
|
-
},
|
|
566
|
-
return e !== "annotation-xml" && stringMatch(e,
|
|
567
|
-
},
|
|
568
|
-
|
|
565
|
+
}, _c = function(e) {
|
|
566
|
+
return e !== "annotation-xml" && stringMatch(e, fs);
|
|
567
|
+
}, vc = function(e) {
|
|
568
|
+
mc(B.beforeSanitizeAttributes, e, null);
|
|
569
569
|
let { attributes: n } = e;
|
|
570
|
-
if (!n ||
|
|
570
|
+
if (!n || fc(e)) return;
|
|
571
571
|
let r = {
|
|
572
572
|
attrName: "",
|
|
573
573
|
attrValue: "",
|
|
574
574
|
keepAttr: !0,
|
|
575
|
-
allowedAttributes:
|
|
575
|
+
allowedAttributes: hs,
|
|
576
576
|
forceKeepAttr: void 0
|
|
577
577
|
}, i = n.length;
|
|
578
578
|
for (; i--;) {
|
|
579
579
|
let { name: a, namespaceURI: o, value: s } = n[i], c = Y(a), l = s, u = a === "value" ? l : stringTrim(l);
|
|
580
|
-
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0,
|
|
581
|
-
|
|
580
|
+
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, mc(B.uponSanitizeAttribute, e, r), u = r.attrValue, Ns && (c === "id" || c === "name") && (lc(a, e), u = "user-content-" + u), Ts && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
|
|
581
|
+
lc(a, e);
|
|
582
582
|
continue;
|
|
583
583
|
}
|
|
584
584
|
if (c === "attributename" && stringMatch(u, "href")) {
|
|
585
|
-
|
|
585
|
+
lc(a, e);
|
|
586
586
|
continue;
|
|
587
587
|
}
|
|
588
588
|
if (r.forceKeepAttr) continue;
|
|
589
589
|
if (!r.keepAttr) {
|
|
590
|
-
|
|
590
|
+
lc(a, e);
|
|
591
591
|
continue;
|
|
592
592
|
}
|
|
593
|
-
if (!
|
|
594
|
-
|
|
593
|
+
if (!Cs && regExpTest(/\/>/i, u)) {
|
|
594
|
+
lc(a, e);
|
|
595
595
|
continue;
|
|
596
596
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
ws && arrayForEach([
|
|
598
|
+
as,
|
|
599
|
+
os,
|
|
600
|
+
ss
|
|
601
601
|
], (e) => {
|
|
602
602
|
u = stringReplace(u, e, " ");
|
|
603
603
|
});
|
|
604
604
|
let f = Y(e.nodeName);
|
|
605
|
-
if (!
|
|
606
|
-
|
|
605
|
+
if (!gc(f, c, u)) {
|
|
606
|
+
lc(a, e);
|
|
607
607
|
continue;
|
|
608
608
|
}
|
|
609
609
|
if (A && typeof h == "object" && typeof h.getAttributeType == "function" && !o) switch (h.getAttributeType(f, c)) {
|
|
@@ -615,56 +615,56 @@ function createDOMPurify() {
|
|
|
615
615
|
break;
|
|
616
616
|
}
|
|
617
617
|
if (u !== l) try {
|
|
618
|
-
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u),
|
|
618
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), fc(e) ? cc(e) : arrayPop(t.removed);
|
|
619
619
|
} catch {
|
|
620
|
-
|
|
620
|
+
lc(a, e);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
|
|
624
|
-
},
|
|
625
|
-
let n = null, r =
|
|
626
|
-
for (
|
|
627
|
-
|
|
623
|
+
mc(B.afterSanitizeAttributes, e, null);
|
|
624
|
+
}, yc = function e(t) {
|
|
625
|
+
let n = null, r = dc(t);
|
|
626
|
+
for (mc(B.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) mc(B.uponSanitizeShadowNode, n, null), hc(n), vc(n), n.content instanceof a && e(n.content);
|
|
627
|
+
mc(B.afterSanitizeShadowDOM, t, null);
|
|
628
628
|
};
|
|
629
629
|
return t.sanitize = function(e) {
|
|
630
630
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
|
|
631
|
-
if (
|
|
631
|
+
if (qs = !e, qs && (e = "<!-->"), typeof e != "string" && !pc(e)) if (typeof e.toString == "function") {
|
|
632
632
|
if (e = e.toString(), typeof e != "string") throw typeErrorCreate("dirty is not a string, aborting");
|
|
633
633
|
} else throw typeErrorCreate("toString is not a function");
|
|
634
634
|
if (!t.isSupported) return e;
|
|
635
|
-
if (
|
|
635
|
+
if (Ds || ic(n), t.removed = [], typeof e == "string" && (Fs = !1), Fs) {
|
|
636
636
|
if (e.nodeName) {
|
|
637
637
|
let t = Y(e.nodeName);
|
|
638
|
-
if (!V[t] ||
|
|
638
|
+
if (!V[t] || _s[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
639
639
|
}
|
|
640
|
-
} else if (e instanceof s) i =
|
|
640
|
+
} else if (e instanceof s) i = uc("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === NODE_TYPE.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
|
|
641
641
|
else {
|
|
642
|
-
if (!
|
|
643
|
-
if (i =
|
|
642
|
+
if (!ks && !ws && !Es && e.indexOf("<") === -1) return A && js ? A.createHTML(e) : e;
|
|
643
|
+
if (i = uc(e), !i) return ks ? null : js ? R : "";
|
|
644
644
|
}
|
|
645
|
-
i &&
|
|
646
|
-
let u =
|
|
647
|
-
for (; c = u.nextNode();)
|
|
648
|
-
if (
|
|
649
|
-
if (
|
|
650
|
-
if (
|
|
645
|
+
i && Os && cc(i.firstChild);
|
|
646
|
+
let u = dc(Fs ? e : i);
|
|
647
|
+
for (; c = u.nextNode();) hc(c), vc(c), c.content instanceof a && yc(c.content);
|
|
648
|
+
if (Fs) return e;
|
|
649
|
+
if (ks) {
|
|
650
|
+
if (As) for (l = ns.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
651
651
|
else l = i;
|
|
652
|
-
return (
|
|
652
|
+
return (hs.shadowroot || hs.shadowrootmode) && (l = is.call(r, l, !0)), l;
|
|
653
653
|
}
|
|
654
|
-
let f =
|
|
655
|
-
return
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
654
|
+
let f = Es ? i.outerHTML : i.innerHTML;
|
|
655
|
+
return Es && V["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), ws && arrayForEach([
|
|
656
|
+
as,
|
|
657
|
+
os,
|
|
658
|
+
ss
|
|
659
659
|
], (e) => {
|
|
660
660
|
f = stringReplace(f, e, " ");
|
|
661
|
-
}), A &&
|
|
661
|
+
}), A && js ? A.createHTML(f) : f;
|
|
662
662
|
}, t.setConfig = function() {
|
|
663
|
-
|
|
663
|
+
ic(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Ds = !0;
|
|
664
664
|
}, t.clearConfig = function() {
|
|
665
|
-
|
|
665
|
+
tc = null, Ds = !1;
|
|
666
666
|
}, t.isValidAttribute = function(e, t, n) {
|
|
667
|
-
return
|
|
667
|
+
return tc || ic({}), gc(Y(e), Y(t), n);
|
|
668
668
|
}, t.addHook = function(e, t) {
|
|
669
669
|
typeof t == "function" && arrayPush(B[e], t);
|
|
670
670
|
}, t.removeHook = function(e, t) {
|
|
@@ -21372,15 +21372,15 @@ function useDropdown() {
|
|
|
21372
21372
|
return e;
|
|
21373
21373
|
}
|
|
21374
21374
|
function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bottom", offsetX: i = 0, offsetY: a = 0, disabled: o = !1, openOnHover: c = !0, open: u, onOpenChange: p }) {
|
|
21375
|
-
let g = u !== void 0, [O, A] = useState(!1), R = g ? u : O,
|
|
21375
|
+
let g = u !== void 0, [O, A] = useState(!1), R = g ? u : O, es = useCallback((e) => {
|
|
21376
21376
|
e !== R && (g || A(e), p?.(e));
|
|
21377
21377
|
}, [
|
|
21378
21378
|
R,
|
|
21379
21379
|
g,
|
|
21380
21380
|
p
|
|
21381
|
-
]),
|
|
21382
|
-
if (!
|
|
21383
|
-
let e =
|
|
21381
|
+
]), ts = useRef(null), ns = useRef(null), rs = useRef(null), [is, B] = useState(null), as = useCallback(() => {
|
|
21382
|
+
if (!ts.current || !ns.current) return;
|
|
21383
|
+
let e = ts.current.getBoundingClientRect(), t = ns.current.getBoundingClientRect(), o = e.left;
|
|
21384
21384
|
n === "end" ? o = e.right - t.width : n === "center" && (o = e.left + (e.width - t.width) / 2), o += i;
|
|
21385
21385
|
let s;
|
|
21386
21386
|
s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() => B({
|
|
@@ -21394,52 +21394,52 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
|
|
|
21394
21394
|
a
|
|
21395
21395
|
]);
|
|
21396
21396
|
useLayoutEffect(() => {
|
|
21397
|
-
R &&
|
|
21398
|
-
}, [R,
|
|
21397
|
+
R && as();
|
|
21398
|
+
}, [R, as]), useEffect(() => {
|
|
21399
21399
|
if (!R) return;
|
|
21400
|
-
let e = () =>
|
|
21400
|
+
let e = () => as();
|
|
21401
21401
|
return window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
21402
21402
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
21403
21403
|
};
|
|
21404
|
-
}, [R,
|
|
21405
|
-
let
|
|
21406
|
-
|
|
21407
|
-
}, [
|
|
21408
|
-
|
|
21409
|
-
|
|
21404
|
+
}, [R, as]);
|
|
21405
|
+
let os = useCallback(() => {
|
|
21406
|
+
rs.current &&= (clearTimeout(rs.current), null), es(!0);
|
|
21407
|
+
}, [es]), ss = useCallback(() => {
|
|
21408
|
+
rs.current = window.setTimeout(() => {
|
|
21409
|
+
es(!1);
|
|
21410
21410
|
}, 120);
|
|
21411
|
-
}, [
|
|
21411
|
+
}, [es]);
|
|
21412
21412
|
return useEffect(() => {
|
|
21413
21413
|
function e(e) {
|
|
21414
21414
|
let t = e.target;
|
|
21415
|
-
|
|
21415
|
+
ts.current?.contains(t) || ns.current?.contains(t) || es(!1);
|
|
21416
21416
|
}
|
|
21417
21417
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
21418
|
-
}, [
|
|
21419
|
-
|
|
21418
|
+
}, [es]), useEffect(() => () => {
|
|
21419
|
+
rs.current && clearTimeout(rs.current);
|
|
21420
21420
|
}, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
|
|
21421
21421
|
value: {
|
|
21422
|
-
close: () =>
|
|
21423
|
-
open:
|
|
21422
|
+
close: () => es(!1),
|
|
21423
|
+
open: os
|
|
21424
21424
|
},
|
|
21425
21425
|
children: [/* @__PURE__ */ jsx("div", {
|
|
21426
|
-
ref:
|
|
21426
|
+
ref: ts,
|
|
21427
21427
|
className: "inline-flex",
|
|
21428
|
-
onMouseEnter: c ?
|
|
21429
|
-
onMouseLeave: c ?
|
|
21430
|
-
onClick: () =>
|
|
21428
|
+
onMouseEnter: c ? os : void 0,
|
|
21429
|
+
onMouseLeave: c ? ss : void 0,
|
|
21430
|
+
onClick: () => es(!R),
|
|
21431
21431
|
"aria-haspopup": "menu",
|
|
21432
21432
|
"aria-expanded": R,
|
|
21433
21433
|
children: e
|
|
21434
21434
|
}), R && !o && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21435
|
-
ref:
|
|
21436
|
-
onMouseEnter: c ?
|
|
21437
|
-
onMouseLeave: c ?
|
|
21435
|
+
ref: ns,
|
|
21436
|
+
onMouseEnter: c ? os : void 0,
|
|
21437
|
+
onMouseLeave: c ? ss : void 0,
|
|
21438
21438
|
style: {
|
|
21439
21439
|
position: "fixed",
|
|
21440
|
-
top:
|
|
21441
|
-
left:
|
|
21442
|
-
visibility:
|
|
21440
|
+
top: is?.top ?? 0,
|
|
21441
|
+
left: is?.left ?? 0,
|
|
21442
|
+
visibility: is ? "visible" : "hidden",
|
|
21443
21443
|
zIndex: 1e3
|
|
21444
21444
|
},
|
|
21445
21445
|
children: t
|
|
@@ -22204,6 +22204,19 @@ function OutlookIcon(e) {
|
|
|
22204
22204
|
})]
|
|
22205
22205
|
});
|
|
22206
22206
|
}
|
|
22207
|
+
function ReplyIoIcon(e) {
|
|
22208
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22209
|
+
viewBox: "0 0 18 18",
|
|
22210
|
+
...e,
|
|
22211
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
22212
|
+
d: "M16.81,9.54c0,1.39-.16,2.63-.47,4.02-.47,2.01-1.87,3.4-3.9,3.87-2.65.62-5.46.62-8.12,0-1.87-.46-3.44-2.01-3.75-3.87-.31-1.39-.47-2.79-.47-4.02,0-1.39.16-2.63.47-4.02.47-2.01,1.87-3.4,3.9-3.87,1.25-.31,2.65-.46,4.06-.46s2.65.15,4.06.46c2.03.46,3.44,1.86,3.9,3.87.16,1.24.31,2.63.31,4.02Z",
|
|
22213
|
+
fill: "#8aaad9"
|
|
22214
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
22215
|
+
d: "M13.64,8.61c2.35,0,4.25-1.91,4.25-4.26S15.99.1,13.64.1s-4.25,1.91-4.25,4.26,1.9,4.26,4.25,4.26Z",
|
|
22216
|
+
fill: "#4063ae"
|
|
22217
|
+
})]
|
|
22218
|
+
});
|
|
22219
|
+
}
|
|
22207
22220
|
function SlackIcon(e) {
|
|
22208
22221
|
return /* @__PURE__ */ jsxs(Icon, {
|
|
22209
22222
|
viewBox: "0 0 18 18",
|
|
@@ -22643,6 +22656,29 @@ function ExternalLinkIcon({ pathProps: e, ...t }) {
|
|
|
22643
22656
|
})
|
|
22644
22657
|
});
|
|
22645
22658
|
}
|
|
22659
|
+
function EyeIcon({ pathProps: e, ...t }) {
|
|
22660
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22661
|
+
viewBox: "0 0 20 20",
|
|
22662
|
+
...t,
|
|
22663
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
22664
|
+
d: "M3.08,10.22c-.05-.14-.05-.3,0-.44.96-2.9,3.7-4.99,6.92-4.99s5.95,2.09,6.92,4.98c.05.14.05.3,0,.44-.96,2.9-3.7,4.99-6.92,4.99s-5.95-2.09-6.92-4.98h0Z",
|
|
22665
|
+
fill: "none",
|
|
22666
|
+
stroke: "currentColor",
|
|
22667
|
+
strokeLinecap: "round",
|
|
22668
|
+
strokeLinejoin: "round",
|
|
22669
|
+
strokeWidth: "1.25px",
|
|
22670
|
+
...e
|
|
22671
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
22672
|
+
d: "M12.08,10c0,1.15-.93,2.08-2.08,2.08s-2.08-.93-2.08-2.08.93-2.08,2.08-2.08,2.08.93,2.08,2.08Z",
|
|
22673
|
+
fill: "none",
|
|
22674
|
+
stroke: "currentColor",
|
|
22675
|
+
strokeLinecap: "round",
|
|
22676
|
+
strokeLinejoin: "round",
|
|
22677
|
+
strokeWidth: "1.25px",
|
|
22678
|
+
...e
|
|
22679
|
+
})]
|
|
22680
|
+
});
|
|
22681
|
+
}
|
|
22646
22682
|
function HomeIcon({ pathProps: e, ...t }) {
|
|
22647
22683
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22648
22684
|
viewBox: "0 0 20 20",
|
|
@@ -22711,6 +22747,21 @@ function MoreIcon({ pathProps: e, ...t }) {
|
|
|
22711
22747
|
})
|
|
22712
22748
|
});
|
|
22713
22749
|
}
|
|
22750
|
+
function NoEyeIcon({ pathProps: e, ...t }) {
|
|
22751
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
22752
|
+
viewBox: "0 0 20 20",
|
|
22753
|
+
...t,
|
|
22754
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
22755
|
+
d: "M4.43,7.38c-.65.77-1.13,1.66-1.42,2.62.9,3.01,3.69,5.21,6.99,5.21.69,0,1.36-.1,1.99-.27M5.99,5.99c1.19-.78,2.58-1.2,4.01-1.2,3.3,0,6.09,2.2,6.99,5.21-.49,1.65-1.55,3.06-2.98,4.01M5.99,5.99l-2.24-2.24M5.99,5.99l2.53,2.53M14.01,14.01l2.24,2.24M14.01,14.01l-2.53-2.53M11.47,11.47c.81-.81.81-2.13,0-2.95s-2.13-.81-2.95,0M11.47,11.47l-2.95-2.95",
|
|
22756
|
+
fill: "none",
|
|
22757
|
+
stroke: "currentColor",
|
|
22758
|
+
strokeLinecap: "round",
|
|
22759
|
+
strokeLinejoin: "round",
|
|
22760
|
+
strokeWidth: "1.25px",
|
|
22761
|
+
...e
|
|
22762
|
+
})
|
|
22763
|
+
});
|
|
22764
|
+
}
|
|
22714
22765
|
function NormalDensityIcon({ pathProps: e, ...t }) {
|
|
22715
22766
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22716
22767
|
viewBox: "0 0 24 24",
|
|
@@ -22954,13 +23005,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
22954
23005
|
e,
|
|
22955
23006
|
o,
|
|
22956
23007
|
t
|
|
22957
|
-
]), h = u?.step ?? null, g = u?.index ?? null,
|
|
23008
|
+
]), h = u?.step ?? null, g = u?.index ?? null, Qo = useCallback((e) => {
|
|
22958
23009
|
c((t) => {
|
|
22959
23010
|
if (t.has(e)) return t;
|
|
22960
23011
|
let n = new Set(t);
|
|
22961
23012
|
return n.add(e), n;
|
|
22962
23013
|
});
|
|
22963
|
-
}, []),
|
|
23014
|
+
}, []), $o = useCallback(() => {
|
|
22964
23015
|
c((n) => {
|
|
22965
23016
|
let r = findActiveStep(e, n, t);
|
|
22966
23017
|
if (r == null || n.has(r.step.id)) return n;
|
|
@@ -22976,13 +23027,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
22976
23027
|
currentStepIndex: g,
|
|
22977
23028
|
dismissedStepIds: o,
|
|
22978
23029
|
actions: useMemo(() => ({
|
|
22979
|
-
dismissCurrentStep:
|
|
22980
|
-
dismissStep:
|
|
23030
|
+
dismissCurrentStep: $o,
|
|
23031
|
+
dismissStep: Qo,
|
|
22981
23032
|
skipAll: A,
|
|
22982
23033
|
close: A
|
|
22983
23034
|
}), [
|
|
22984
|
-
|
|
22985
|
-
|
|
23035
|
+
$o,
|
|
23036
|
+
Qo,
|
|
22986
23037
|
A
|
|
22987
23038
|
])
|
|
22988
23039
|
}) });
|
|
@@ -23196,13 +23247,13 @@ function Toaster() {
|
|
|
23196
23247
|
useEffect(() => toastStore.subscribe(t), []);
|
|
23197
23248
|
let A = useSyncExternalStore(subscribeNoop$1, getClientSnapshot$1, getServerSnapshot$1), R = useCallback((e) => {
|
|
23198
23249
|
e.callbacks?.onOpen?.();
|
|
23199
|
-
}, []),
|
|
23250
|
+
}, []), es = useCallback((e, t) => {
|
|
23200
23251
|
t === "manual" ? e.callbacks?.onClose?.() : (t === "timeout" || t === "replaced") && e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
|
|
23201
23252
|
}, []);
|
|
23202
23253
|
useEffect(() => {
|
|
23203
23254
|
let t = new Set(e.map((e) => e.id)), n = new Map(e.map((e) => [e.id, e])), s = i.current;
|
|
23204
23255
|
o.current.filter((e) => !t.has(e.id) && e.animationState !== "exiting").forEach((e) => {
|
|
23205
|
-
|
|
23256
|
+
es(e, a.current.get(e.id) ?? toastStore.consumePendingDismissReason(e.id) ?? "timeout"), a.current.delete(e.id);
|
|
23206
23257
|
}), r((r) => {
|
|
23207
23258
|
let i = r.map((e) => {
|
|
23208
23259
|
let t = n.get(e.id);
|
|
@@ -23220,19 +23271,19 @@ function Toaster() {
|
|
|
23220
23271
|
}, [
|
|
23221
23272
|
e,
|
|
23222
23273
|
R,
|
|
23223
|
-
|
|
23274
|
+
es
|
|
23224
23275
|
]);
|
|
23225
|
-
let
|
|
23276
|
+
let ts = useCallback((e) => {
|
|
23226
23277
|
r((t) => {
|
|
23227
23278
|
let n = t.filter((t) => t.id !== e);
|
|
23228
23279
|
return o.current = n, n;
|
|
23229
23280
|
}), p(e), toastStore.cleanup(e);
|
|
23230
|
-
}, [p]),
|
|
23281
|
+
}, [p]), ns = useCallback((e) => {
|
|
23231
23282
|
a.current.set(e, "manual"), toastStore.remove(e);
|
|
23232
23283
|
}, []);
|
|
23233
23284
|
if (!A) return null;
|
|
23234
|
-
let
|
|
23235
|
-
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(
|
|
23285
|
+
let rs = groupByPosition(n);
|
|
23286
|
+
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(rs).map(([e, t]) => {
|
|
23236
23287
|
let n = t.filter((e) => e.singleSlot), r = t.filter((e) => !e.singleSlot), i = n.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
23237
23288
|
className: cn("isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1", SINGLE_SLOT_PLACE[e]),
|
|
23238
23289
|
children: n.map((e, t) => /* @__PURE__ */ jsx("div", {
|
|
@@ -23241,8 +23292,8 @@ function Toaster() {
|
|
|
23241
23292
|
children: /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23242
23293
|
toast: e,
|
|
23243
23294
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23244
|
-
onExitComplete:
|
|
23245
|
-
onClose:
|
|
23295
|
+
onExitComplete: ts,
|
|
23296
|
+
onClose: ns,
|
|
23246
23297
|
onHoverStart: u,
|
|
23247
23298
|
onHoverEnd: f
|
|
23248
23299
|
})
|
|
@@ -23250,8 +23301,8 @@ function Toaster() {
|
|
|
23250
23301
|
}) : null, a = r.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23251
23302
|
toast: e,
|
|
23252
23303
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23253
|
-
onExitComplete:
|
|
23254
|
-
onClose:
|
|
23304
|
+
onExitComplete: ts,
|
|
23305
|
+
onClose: ns,
|
|
23255
23306
|
onHoverStart: u,
|
|
23256
23307
|
onHoverEnd: f
|
|
23257
23308
|
}, e.id));
|
|
@@ -23469,7 +23520,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23469
23520
|
function g(e) {
|
|
23470
23521
|
p(e), a?.(e);
|
|
23471
23522
|
}
|
|
23472
|
-
let
|
|
23523
|
+
let $o = {
|
|
23473
23524
|
fire: [{
|
|
23474
23525
|
id: "fire",
|
|
23475
23526
|
tooltip: "Mark as fire",
|
|
@@ -23550,7 +23601,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23550
23601
|
}),
|
|
23551
23602
|
/* @__PURE__ */ jsx("div", {
|
|
23552
23603
|
className: "flex items-center divide-x divide-neutral-400-variant-1",
|
|
23553
|
-
children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(
|
|
23604
|
+
children: t > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries($o).map(([e, t]) => /* @__PURE__ */ jsx("div", {
|
|
23554
23605
|
className: "gap-2 px-1 flex items-center",
|
|
23555
23606
|
children: t.map((e) => /* @__PURE__ */ jsx(InfoTooltip, {
|
|
23556
23607
|
content: e.tooltip,
|
|
@@ -23827,14 +23878,14 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23827
23878
|
variant: r,
|
|
23828
23879
|
orientation: i,
|
|
23829
23880
|
status: a
|
|
23830
|
-
}),
|
|
23831
|
-
function
|
|
23832
|
-
c === void 0 &&
|
|
23881
|
+
}), $o = useRef(null), [A, R] = useState(!1), [es, ts] = useState(!1), [ns, rs] = useState(l), [is, B] = useState(null), as = c ?? ns, os = s && (A || es || as), ss = typeof n == "number" && n > 0 && (o || a === "active");
|
|
23882
|
+
function cs(e) {
|
|
23883
|
+
c === void 0 && rs(e), u?.(e);
|
|
23833
23884
|
}
|
|
23834
23885
|
return useLayoutEffect(() => {
|
|
23835
|
-
if (!
|
|
23886
|
+
if (!os || !$o.current) return;
|
|
23836
23887
|
function e() {
|
|
23837
|
-
let e =
|
|
23888
|
+
let e = $o.current?.getBoundingClientRect();
|
|
23838
23889
|
e && B({
|
|
23839
23890
|
top: e.top - 8,
|
|
23840
23891
|
left: e.right - 12
|
|
@@ -23843,7 +23894,7 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23843
23894
|
return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
23844
23895
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
23845
23896
|
};
|
|
23846
|
-
}, [
|
|
23897
|
+
}, [os]), /* @__PURE__ */ jsxs(Button, {
|
|
23847
23898
|
...g,
|
|
23848
23899
|
className: cn(O.root(), p?.root),
|
|
23849
23900
|
onMouseEnter: () => R(!0),
|
|
@@ -23851,20 +23902,20 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23851
23902
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
23852
23903
|
className: "relative",
|
|
23853
23904
|
children: [/* @__PURE__ */ jsx("div", {
|
|
23854
|
-
ref:
|
|
23905
|
+
ref: $o,
|
|
23855
23906
|
className: cn(O.bubble(), p?.bubble),
|
|
23856
23907
|
children: renderIcon(e, O.icon())
|
|
23857
|
-
}),
|
|
23858
|
-
isPressed:
|
|
23859
|
-
isPortalHovered:
|
|
23860
|
-
portalPosition:
|
|
23861
|
-
onMouseEnter: () =>
|
|
23862
|
-
onMouseLeave: () =>
|
|
23863
|
-
onToggle: () =>
|
|
23908
|
+
}), os && is && typeof document < "u" && ToggleControlPortal({
|
|
23909
|
+
isPressed: as,
|
|
23910
|
+
isPortalHovered: es,
|
|
23911
|
+
portalPosition: is,
|
|
23912
|
+
onMouseEnter: () => ts(!0),
|
|
23913
|
+
onMouseLeave: () => ts(!1),
|
|
23914
|
+
onToggle: () => cs(!as)
|
|
23864
23915
|
})]
|
|
23865
23916
|
}), /* @__PURE__ */ jsxs("div", {
|
|
23866
23917
|
className: cn(O.label(), p?.label),
|
|
23867
|
-
children: [/* @__PURE__ */ jsx("span", { children: t }),
|
|
23918
|
+
children: [/* @__PURE__ */ jsx("span", { children: t }), ss && /* @__PURE__ */ jsxs("span", {
|
|
23868
23919
|
"aria-label": `${n} items`,
|
|
23869
23920
|
className: cn(O.count(), p?.count),
|
|
23870
23921
|
children: [
|
|
@@ -23924,7 +23975,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23924
23975
|
t,
|
|
23925
23976
|
n
|
|
23926
23977
|
]);
|
|
23927
|
-
let
|
|
23978
|
+
let $o = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
|
|
23928
23979
|
function A(t) {
|
|
23929
23980
|
let o = t.getMonth(), s = t.getFullYear();
|
|
23930
23981
|
if ((o !== g.month || s !== g.year) && O({
|
|
@@ -23951,7 +24002,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23951
24002
|
month: e.month - 1
|
|
23952
24003
|
});
|
|
23953
24004
|
}
|
|
23954
|
-
function
|
|
24005
|
+
function es() {
|
|
23955
24006
|
O((e) => e.month === 11 ? {
|
|
23956
24007
|
year: e.year + 1,
|
|
23957
24008
|
month: 0
|
|
@@ -23960,7 +24011,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23960
24011
|
month: e.month + 1
|
|
23961
24012
|
});
|
|
23962
24013
|
}
|
|
23963
|
-
let
|
|
24014
|
+
let ts = getWeekdays();
|
|
23964
24015
|
return /* @__PURE__ */ jsxs("div", {
|
|
23965
24016
|
className: "mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white",
|
|
23966
24017
|
children: [
|
|
@@ -23989,7 +24040,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23989
24040
|
direction: "right",
|
|
23990
24041
|
size: 20
|
|
23991
24042
|
}),
|
|
23992
|
-
onClick:
|
|
24043
|
+
onClick: es,
|
|
23993
24044
|
className: "hover:opacity-60",
|
|
23994
24045
|
"aria-label": "Next month"
|
|
23995
24046
|
})
|
|
@@ -23997,17 +24048,17 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23997
24048
|
}),
|
|
23998
24049
|
/* @__PURE__ */ jsx("div", {
|
|
23999
24050
|
className: "mb-2 grid grid-cols-7",
|
|
24000
|
-
children:
|
|
24051
|
+
children: ts.map((e) => /* @__PURE__ */ jsx("div", {
|
|
24001
24052
|
className: "p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900",
|
|
24002
24053
|
children: e
|
|
24003
24054
|
}, e))
|
|
24004
24055
|
}),
|
|
24005
24056
|
/* @__PURE__ */ jsx("div", {
|
|
24006
24057
|
className: "grid grid-cols-7",
|
|
24007
|
-
children:
|
|
24008
|
-
let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f),
|
|
24009
|
-
e === "range" && u && !f && s && !isDateBefore(s, u) ? (
|
|
24010
|
-
let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i,
|
|
24058
|
+
children: $o.map(({ day: r, date: i, isCurrentMonth: a }) => {
|
|
24059
|
+
let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f), Xo = u, g = s;
|
|
24060
|
+
e === "range" && u && !f && s && !isDateBefore(s, u) ? (Xo = u, g = s) : (Xo = null, g = null);
|
|
24061
|
+
let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, Xo, g)), Qo = l || p || h;
|
|
24011
24062
|
return /* @__PURE__ */ jsx(Button, {
|
|
24012
24063
|
type: "button",
|
|
24013
24064
|
onClick: () => A(i),
|
|
@@ -24019,9 +24070,9 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24019
24070
|
},
|
|
24020
24071
|
className: "p-0.5",
|
|
24021
24072
|
"aria-label": `Select ${formatDate(i)}`,
|
|
24022
|
-
"aria-selected":
|
|
24073
|
+
"aria-selected": Qo || void 0,
|
|
24023
24074
|
children: /* @__PURE__ */ jsx("div", {
|
|
24024
|
-
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors",
|
|
24075
|
+
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", Qo && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500", O && !Qo && "font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30", o && !Qo && !O && "font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white", !Qo && !O && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
|
|
24025
24076
|
children: r
|
|
24026
24077
|
})
|
|
24027
24078
|
}, `${i.getFullYear()}-${i.getMonth()}-${r}`);
|
|
@@ -24089,7 +24140,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24089
24140
|
function g(t) {
|
|
24090
24141
|
e === "range" && (u || l(t), r?.(t));
|
|
24091
24142
|
}
|
|
24092
|
-
function
|
|
24143
|
+
function Qo() {
|
|
24093
24144
|
e === "single" ? h(null) : g({
|
|
24094
24145
|
startDate: null,
|
|
24095
24146
|
endDate: null
|
|
@@ -24100,7 +24151,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24100
24151
|
displayText: e === "single" ? formatDate(f) : formatDateRange(p.startDate, p.endDate),
|
|
24101
24152
|
disabled: i,
|
|
24102
24153
|
className: a,
|
|
24103
|
-
onClear:
|
|
24154
|
+
onClear: Qo
|
|
24104
24155
|
}),
|
|
24105
24156
|
disabled: i,
|
|
24106
24157
|
children: /* @__PURE__ */ jsx(CalendarPanel, {
|
|
@@ -24314,7 +24365,7 @@ function EventActionsList({ actions: e, className: t }) {
|
|
|
24314
24365
|
}) })
|
|
24315
24366
|
});
|
|
24316
24367
|
}
|
|
24317
|
-
function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: h = {}, actions:
|
|
24368
|
+
function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: h = {}, actions: Xo = {}, density: g = "normal", className: O, style: $o, isPriority: A, isDone: R }) {
|
|
24318
24369
|
return /* @__PURE__ */ jsx(Card, {
|
|
24319
24370
|
as: Pressable,
|
|
24320
24371
|
onPress: u,
|
|
@@ -24323,7 +24374,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24323
24374
|
state: l ? "selected" : c ? "read" : "unread",
|
|
24324
24375
|
density: g
|
|
24325
24376
|
}), O),
|
|
24326
|
-
style:
|
|
24377
|
+
style: $o,
|
|
24327
24378
|
"data-service": t,
|
|
24328
24379
|
children: g === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
|
|
24329
24380
|
className: "gap-x-2 gap-y-1",
|
|
@@ -24361,7 +24412,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24361
24412
|
/* @__PURE__ */ jsxs(CardFooter, {
|
|
24362
24413
|
className: "mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center",
|
|
24363
24414
|
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: h }), /* @__PURE__ */ jsx(EventActionsList, {
|
|
24364
|
-
actions:
|
|
24415
|
+
actions: Xo,
|
|
24365
24416
|
className: "col-start-2 justify-self-end"
|
|
24366
24417
|
})]
|
|
24367
24418
|
})
|
|
@@ -24400,7 +24451,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24400
24451
|
]
|
|
24401
24452
|
}),
|
|
24402
24453
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
24403
|
-
/* @__PURE__ */ jsx(EventActionsList, { actions:
|
|
24454
|
+
/* @__PURE__ */ jsx(EventActionsList, { actions: Xo }),
|
|
24404
24455
|
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24405
24456
|
content: o,
|
|
24406
24457
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -24540,6 +24591,138 @@ function EventDetailContentEmail({ detail: { summary: e, body: t, priorityText:
|
|
|
24540
24591
|
})]
|
|
24541
24592
|
});
|
|
24542
24593
|
}
|
|
24594
|
+
var eventSummaryCardStyles = tv({
|
|
24595
|
+
base: "gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5",
|
|
24596
|
+
variants: {
|
|
24597
|
+
tone: {
|
|
24598
|
+
default: "hover:bg-primary-light",
|
|
24599
|
+
priority: "hover:bg-tertiary-500-variant-4"
|
|
24600
|
+
},
|
|
24601
|
+
state: {
|
|
24602
|
+
normal: "",
|
|
24603
|
+
selected: ""
|
|
24604
|
+
}
|
|
24605
|
+
},
|
|
24606
|
+
compoundVariants: [
|
|
24607
|
+
{
|
|
24608
|
+
tone: "default",
|
|
24609
|
+
state: "normal",
|
|
24610
|
+
class: "border-neutral-400"
|
|
24611
|
+
},
|
|
24612
|
+
{
|
|
24613
|
+
tone: "default",
|
|
24614
|
+
state: "selected",
|
|
24615
|
+
class: "border-primary-500 bg-primary-light"
|
|
24616
|
+
},
|
|
24617
|
+
{
|
|
24618
|
+
tone: "priority",
|
|
24619
|
+
state: "normal",
|
|
24620
|
+
class: "border-tertiary-500-variant-3"
|
|
24621
|
+
},
|
|
24622
|
+
{
|
|
24623
|
+
tone: "priority",
|
|
24624
|
+
state: "selected",
|
|
24625
|
+
class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
|
|
24626
|
+
}
|
|
24627
|
+
]
|
|
24628
|
+
});
|
|
24629
|
+
function insightLabelVisible(e) {
|
|
24630
|
+
return e != null && e !== "";
|
|
24631
|
+
}
|
|
24632
|
+
function EventSummaryInsightChip({ label: e }) {
|
|
24633
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24634
|
+
className: "h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light",
|
|
24635
|
+
children: [/* @__PURE__ */ jsx(InsightIcon, {
|
|
24636
|
+
size: 13,
|
|
24637
|
+
className: "text-primary-500"
|
|
24638
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
24639
|
+
className: "font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500",
|
|
24640
|
+
children: e
|
|
24641
|
+
})]
|
|
24642
|
+
});
|
|
24643
|
+
}
|
|
24644
|
+
function EventSummaryFireButton({ active: e, onClick: t }) {
|
|
24645
|
+
return /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
|
|
24646
|
+
className: cn("group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50", e && "border-tertiary-400 bg-tertiary-50"),
|
|
24647
|
+
icon: e ? /* @__PURE__ */ jsxs("span", {
|
|
24648
|
+
className: "contents",
|
|
24649
|
+
children: [/* @__PURE__ */ jsx(FireFillIcon, {
|
|
24650
|
+
size: 16,
|
|
24651
|
+
className: "block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0"
|
|
24652
|
+
}), /* @__PURE__ */ jsx(CloseIcon, {
|
|
24653
|
+
size: 12,
|
|
24654
|
+
className: "hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100",
|
|
24655
|
+
strokeWidth: 2
|
|
24656
|
+
})]
|
|
24657
|
+
}) : /* @__PURE__ */ jsx(FireIcon, {
|
|
24658
|
+
size: 16,
|
|
24659
|
+
className: "text-neutral-500 group-hover:text-tertiary-500-variant-2"
|
|
24660
|
+
}),
|
|
24661
|
+
onClick: t,
|
|
24662
|
+
"aria-pressed": e
|
|
24663
|
+
}) });
|
|
24664
|
+
}
|
|
24665
|
+
function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, workspace: o, selected: s = !1, onSelect: c, actions: l, className: u }) {
|
|
24666
|
+
let { fire: f, insight: p, link: h } = l, Xo = p?.label ?? null;
|
|
24667
|
+
return /* @__PURE__ */ jsxs(Pressable, {
|
|
24668
|
+
onPress: c,
|
|
24669
|
+
className: cn(eventSummaryCardStyles({
|
|
24670
|
+
tone: f.active ? "priority" : "default",
|
|
24671
|
+
state: s ? "selected" : "normal"
|
|
24672
|
+
}), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
|
|
24673
|
+
"data-service": t,
|
|
24674
|
+
children: [
|
|
24675
|
+
/* @__PURE__ */ jsxs("div", {
|
|
24676
|
+
className: "gap-1.5 flex items-center justify-between",
|
|
24677
|
+
children: [
|
|
24678
|
+
e,
|
|
24679
|
+
/* @__PURE__ */ jsx("span", {
|
|
24680
|
+
className: "min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900",
|
|
24681
|
+
children: n
|
|
24682
|
+
}),
|
|
24683
|
+
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24684
|
+
content: o,
|
|
24685
|
+
children: /* @__PURE__ */ jsx(Avatar, {
|
|
24686
|
+
name: o,
|
|
24687
|
+
size: "xs"
|
|
24688
|
+
})
|
|
24689
|
+
}),
|
|
24690
|
+
/* @__PURE__ */ jsx("span", {
|
|
24691
|
+
className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
|
|
24692
|
+
children: a
|
|
24693
|
+
}),
|
|
24694
|
+
insightLabelVisible(Xo) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Xo }),
|
|
24695
|
+
/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
24696
|
+
active: f.active,
|
|
24697
|
+
onClick: f.onClick
|
|
24698
|
+
})
|
|
24699
|
+
]
|
|
24700
|
+
}),
|
|
24701
|
+
/* @__PURE__ */ jsx("div", {
|
|
24702
|
+
className: "text-sm font-medium line-clamp-1 text-neutral-900",
|
|
24703
|
+
children: r
|
|
24704
|
+
}),
|
|
24705
|
+
/* @__PURE__ */ jsxs("div", {
|
|
24706
|
+
className: "gap-2 flex",
|
|
24707
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24708
|
+
className: "min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700",
|
|
24709
|
+
children: i
|
|
24710
|
+
}), /* @__PURE__ */ jsx(InfoTooltip, {
|
|
24711
|
+
content: h.tooltip,
|
|
24712
|
+
children: /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
|
|
24713
|
+
type: "button",
|
|
24714
|
+
icon: /* @__PURE__ */ jsx(ExternalLinkIcon, {
|
|
24715
|
+
size: 16,
|
|
24716
|
+
className: "text-neutral-800"
|
|
24717
|
+
}),
|
|
24718
|
+
className: "text-primary-500",
|
|
24719
|
+
onClick: h.onClick
|
|
24720
|
+
}) })
|
|
24721
|
+
})]
|
|
24722
|
+
})
|
|
24723
|
+
]
|
|
24724
|
+
});
|
|
24725
|
+
}
|
|
24543
24726
|
function DateSeparator({ timestamp: e }) {
|
|
24544
24727
|
return /* @__PURE__ */ jsxs("div", {
|
|
24545
24728
|
className: "gap-4 flex items-center",
|
|
@@ -24719,13 +24902,8 @@ function PriorityGroupHeader({ title: e, onMarkAsNotFireClick: t }) {
|
|
|
24719
24902
|
className: "pb-3 border-b border-neutral-200",
|
|
24720
24903
|
children: /* @__PURE__ */ jsxs("div", {
|
|
24721
24904
|
className: "gap-2 flex items-center",
|
|
24722
|
-
children: [/* @__PURE__ */ jsx(
|
|
24723
|
-
|
|
24724
|
-
size: 16,
|
|
24725
|
-
className: "text-tertiary-500"
|
|
24726
|
-
}),
|
|
24727
|
-
className: "h-6 w-6 relative flex shrink-0 items-center justify-center rounded-full border border-tertiary-400 bg-tertiary-50 transition-opacity hover:opacity-70",
|
|
24728
|
-
"aria-label": "Priority",
|
|
24905
|
+
children: [/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
24906
|
+
active: !0,
|
|
24729
24907
|
onClick: t
|
|
24730
24908
|
}), /* @__PURE__ */ jsx("h4", {
|
|
24731
24909
|
className: "text-tertiary-700 text-xs font-semibold tracking-wide uppercase",
|
|
@@ -24768,11 +24946,11 @@ function MessageGroup({ group: e, onPreviousPriority: t, onNextPriority: n }) {
|
|
|
24768
24946
|
});
|
|
24769
24947
|
}
|
|
24770
24948
|
function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityText: n }, className: r }) {
|
|
24771
|
-
let i = e.filter((e) => e.isPriority).length, a = useRef(null), o = useRef(null);
|
|
24949
|
+
let i = e.filter((e) => e.isPriority).length, a = useRef(null), o = useRef(null), c = useRef(!1);
|
|
24772
24950
|
useEffect(() => {
|
|
24773
|
-
e.length > 0 && o.current?.scrollIntoView({ behavior: "smooth" });
|
|
24951
|
+
e.length > 0 && !c.current && (c.current = !0, o.current?.scrollIntoView({ behavior: "smooth" }));
|
|
24774
24952
|
}, [e]);
|
|
24775
|
-
let
|
|
24953
|
+
let u = i, f = useCallback((t) => {
|
|
24776
24954
|
if (!a.current) return;
|
|
24777
24955
|
let n = Array.from(a.current.querySelectorAll("[data-group-id][class*=\"scroll-mt\"]")).filter((t) => {
|
|
24778
24956
|
let n = t.getAttribute("data-group-id");
|
|
@@ -24794,12 +24972,12 @@ function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityTe
|
|
|
24794
24972
|
ref: a,
|
|
24795
24973
|
className: "gap-4 flex flex-col",
|
|
24796
24974
|
children: [e.map((e) => {
|
|
24797
|
-
let t = e.isPriority ?
|
|
24975
|
+
let t = e.isPriority ? u-- : 0, n = t ? () => {
|
|
24798
24976
|
let e = t + 1;
|
|
24799
|
-
e <= i &&
|
|
24977
|
+
e <= i && f(e);
|
|
24800
24978
|
} : void 0, r = t ? () => {
|
|
24801
24979
|
let e = t - 1;
|
|
24802
|
-
e >= 1 &&
|
|
24980
|
+
e >= 1 && f(e);
|
|
24803
24981
|
} : void 0;
|
|
24804
24982
|
return /* @__PURE__ */ jsx(MessageGroup, {
|
|
24805
24983
|
group: {
|
|
@@ -24869,11 +25047,11 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
|
|
|
24869
25047
|
]
|
|
24870
25048
|
})] });
|
|
24871
25049
|
}
|
|
24872
|
-
function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, issue: r, notification: i, project: a, task: o, dueDate: s, startDate: c, assignees: l, reporter: u, team: f, location: p, related: h }, className:
|
|
25050
|
+
function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, issue: r, notification: i, project: a, task: o, dueDate: s, startDate: c, assignees: l, reporter: u, team: f, location: p, related: h }, className: Xo }) {
|
|
24873
25051
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
24874
25052
|
summary: e,
|
|
24875
25053
|
priorityText: n,
|
|
24876
|
-
className:
|
|
25054
|
+
className: Xo,
|
|
24877
25055
|
children: [
|
|
24878
25056
|
/* @__PURE__ */ jsx(EventDetailContentTicketDetails, {
|
|
24879
25057
|
issue: r,
|
|
@@ -24899,138 +25077,6 @@ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText:
|
|
|
24899
25077
|
]
|
|
24900
25078
|
});
|
|
24901
25079
|
}
|
|
24902
|
-
var eventSummaryCardStyles = tv({
|
|
24903
|
-
base: "gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5",
|
|
24904
|
-
variants: {
|
|
24905
|
-
tone: {
|
|
24906
|
-
default: "hover:bg-primary-light",
|
|
24907
|
-
priority: "hover:bg-tertiary-500-variant-4"
|
|
24908
|
-
},
|
|
24909
|
-
state: {
|
|
24910
|
-
normal: "",
|
|
24911
|
-
selected: ""
|
|
24912
|
-
}
|
|
24913
|
-
},
|
|
24914
|
-
compoundVariants: [
|
|
24915
|
-
{
|
|
24916
|
-
tone: "default",
|
|
24917
|
-
state: "normal",
|
|
24918
|
-
class: "border-neutral-400"
|
|
24919
|
-
},
|
|
24920
|
-
{
|
|
24921
|
-
tone: "default",
|
|
24922
|
-
state: "selected",
|
|
24923
|
-
class: "border-primary-500 bg-primary-light"
|
|
24924
|
-
},
|
|
24925
|
-
{
|
|
24926
|
-
tone: "priority",
|
|
24927
|
-
state: "normal",
|
|
24928
|
-
class: "border-tertiary-500-variant-3"
|
|
24929
|
-
},
|
|
24930
|
-
{
|
|
24931
|
-
tone: "priority",
|
|
24932
|
-
state: "selected",
|
|
24933
|
-
class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
|
|
24934
|
-
}
|
|
24935
|
-
]
|
|
24936
|
-
});
|
|
24937
|
-
function insightLabelVisible(e) {
|
|
24938
|
-
return e != null && e !== "";
|
|
24939
|
-
}
|
|
24940
|
-
function EventSummaryInsightChip({ label: e }) {
|
|
24941
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
24942
|
-
className: "h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light",
|
|
24943
|
-
children: [/* @__PURE__ */ jsx(InsightIcon, {
|
|
24944
|
-
size: 13,
|
|
24945
|
-
className: "text-primary-500"
|
|
24946
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
24947
|
-
className: "font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500",
|
|
24948
|
-
children: e
|
|
24949
|
-
})]
|
|
24950
|
-
});
|
|
24951
|
-
}
|
|
24952
|
-
function EventSummaryFireButton({ active: e, onClick: t }) {
|
|
24953
|
-
return /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
|
|
24954
|
-
className: cn("group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50", e && "border-tertiary-400 bg-tertiary-50"),
|
|
24955
|
-
icon: e ? /* @__PURE__ */ jsxs("span", {
|
|
24956
|
-
className: "contents",
|
|
24957
|
-
children: [/* @__PURE__ */ jsx(FireFillIcon, {
|
|
24958
|
-
size: 16,
|
|
24959
|
-
className: "block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0"
|
|
24960
|
-
}), /* @__PURE__ */ jsx(CloseIcon, {
|
|
24961
|
-
size: 12,
|
|
24962
|
-
className: "hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100",
|
|
24963
|
-
strokeWidth: 2
|
|
24964
|
-
})]
|
|
24965
|
-
}) : /* @__PURE__ */ jsx(FireIcon, {
|
|
24966
|
-
size: 16,
|
|
24967
|
-
className: "text-neutral-500 group-hover:text-tertiary-500-variant-2"
|
|
24968
|
-
}),
|
|
24969
|
-
onClick: t,
|
|
24970
|
-
"aria-pressed": e
|
|
24971
|
-
}) });
|
|
24972
|
-
}
|
|
24973
|
-
function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, workspace: o, selected: s = !1, onSelect: c, actions: l, className: u }) {
|
|
24974
|
-
let { fire: f, insight: p, link: h } = l, Ko = p?.label ?? null;
|
|
24975
|
-
return /* @__PURE__ */ jsxs(Pressable, {
|
|
24976
|
-
onPress: c,
|
|
24977
|
-
className: cn(eventSummaryCardStyles({
|
|
24978
|
-
tone: f.active ? "priority" : "default",
|
|
24979
|
-
state: s ? "selected" : "normal"
|
|
24980
|
-
}), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
|
|
24981
|
-
"data-service": t,
|
|
24982
|
-
children: [
|
|
24983
|
-
/* @__PURE__ */ jsxs("div", {
|
|
24984
|
-
className: "gap-1.5 flex items-center justify-between",
|
|
24985
|
-
children: [
|
|
24986
|
-
e,
|
|
24987
|
-
/* @__PURE__ */ jsx("span", {
|
|
24988
|
-
className: "min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900",
|
|
24989
|
-
children: n
|
|
24990
|
-
}),
|
|
24991
|
-
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24992
|
-
content: o,
|
|
24993
|
-
children: /* @__PURE__ */ jsx(Avatar, {
|
|
24994
|
-
name: o,
|
|
24995
|
-
size: "xs"
|
|
24996
|
-
})
|
|
24997
|
-
}),
|
|
24998
|
-
/* @__PURE__ */ jsx("span", {
|
|
24999
|
-
className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
|
|
25000
|
-
children: a
|
|
25001
|
-
}),
|
|
25002
|
-
insightLabelVisible(Ko) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Ko }),
|
|
25003
|
-
/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
25004
|
-
active: f.active,
|
|
25005
|
-
onClick: f.onClick
|
|
25006
|
-
})
|
|
25007
|
-
]
|
|
25008
|
-
}),
|
|
25009
|
-
/* @__PURE__ */ jsx("div", {
|
|
25010
|
-
className: "text-sm font-medium line-clamp-1 text-neutral-900",
|
|
25011
|
-
children: r
|
|
25012
|
-
}),
|
|
25013
|
-
/* @__PURE__ */ jsxs("div", {
|
|
25014
|
-
className: "gap-2 flex",
|
|
25015
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
25016
|
-
className: "min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700",
|
|
25017
|
-
children: i
|
|
25018
|
-
}), /* @__PURE__ */ jsx(InfoTooltip, {
|
|
25019
|
-
content: h.tooltip,
|
|
25020
|
-
children: /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
|
|
25021
|
-
type: "button",
|
|
25022
|
-
icon: /* @__PURE__ */ jsx(ExternalLinkIcon, {
|
|
25023
|
-
size: 16,
|
|
25024
|
-
className: "text-neutral-800"
|
|
25025
|
-
}),
|
|
25026
|
-
className: "text-primary-500",
|
|
25027
|
-
onClick: h.onClick
|
|
25028
|
-
}) })
|
|
25029
|
-
})]
|
|
25030
|
-
})
|
|
25031
|
-
]
|
|
25032
|
-
});
|
|
25033
|
-
}
|
|
25034
25080
|
function EventDetailHeader({ icon: e, subject: t, from: n, prefixTimestamp: r, timestamp: a, isPriority: o, isOpen: s, isFirstEvent: c, isSingleEvent: l, className: u, onFireClick: f }) {
|
|
25035
25081
|
return /* @__PURE__ */ jsx("div", {
|
|
25036
25082
|
className: cn("h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white", u),
|
|
@@ -25067,7 +25113,7 @@ function EventDetailHeader({ icon: e, subject: t, from: n, prefixTimestamp: r, t
|
|
|
25067
25113
|
children: a
|
|
25068
25114
|
})]
|
|
25069
25115
|
}),
|
|
25070
|
-
/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
25116
|
+
f != null && /* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
25071
25117
|
active: o,
|
|
25072
25118
|
onClick: f
|
|
25073
25119
|
}),
|
|
@@ -25170,7 +25216,10 @@ function renderEventContent(e) {
|
|
|
25170
25216
|
function getEventValue(e, t) {
|
|
25171
25217
|
return e.id ?? `${e.type}-${e.timestamp}-${t}`;
|
|
25172
25218
|
}
|
|
25173
|
-
function
|
|
25219
|
+
function headerOnFireClick(e) {
|
|
25220
|
+
return e.type === "message" ? void 0 : e.onFireClick;
|
|
25221
|
+
}
|
|
25222
|
+
function EventDetail({ events: e, expandedEventIndex: t }) {
|
|
25174
25223
|
if (e.length === 0) return null;
|
|
25175
25224
|
if (e.length === 1) {
|
|
25176
25225
|
let t = e[0];
|
|
@@ -25187,39 +25236,39 @@ function EventDetail({ events: e, expandedEventIndex: t, onFireClick: n }) {
|
|
|
25187
25236
|
isFirstEvent: !0,
|
|
25188
25237
|
isSingleEvent: !0,
|
|
25189
25238
|
className: "top-0 sticky z-10 border-b border-neutral-400",
|
|
25190
|
-
onFireClick:
|
|
25239
|
+
onFireClick: headerOnFireClick(t)
|
|
25191
25240
|
}), renderEventContent(t)]
|
|
25192
25241
|
});
|
|
25193
25242
|
}
|
|
25194
25243
|
return /* @__PURE__ */ jsx(Accordion, {
|
|
25195
25244
|
className: "w-full",
|
|
25196
25245
|
defaultValue: t === void 0 ? getEventValue(e[0], 0) : getEventValue(e[t], t),
|
|
25197
|
-
children: ({ openItems: t }) => /* @__PURE__ */ jsx(Fragment$1, { children: e.map((
|
|
25198
|
-
let
|
|
25246
|
+
children: ({ openItems: t }) => /* @__PURE__ */ jsx(Fragment$1, { children: e.map((n, r) => {
|
|
25247
|
+
let i = getEventValue(n, r), a = t.has(i);
|
|
25199
25248
|
return /* @__PURE__ */ jsxs(AccordionItem, {
|
|
25200
|
-
value:
|
|
25249
|
+
value: i,
|
|
25201
25250
|
children: [/* @__PURE__ */ jsx(AccordionTrigger, {
|
|
25202
|
-
value:
|
|
25251
|
+
value: i,
|
|
25203
25252
|
className: "top-0 sticky z-10",
|
|
25204
25253
|
children: /* @__PURE__ */ jsx(EventDetailHeader, {
|
|
25205
|
-
icon:
|
|
25206
|
-
subject:
|
|
25207
|
-
from:
|
|
25208
|
-
prefixTimestamp:
|
|
25209
|
-
timestamp:
|
|
25210
|
-
isPriority:
|
|
25211
|
-
isFirstEvent:
|
|
25254
|
+
icon: n.icon,
|
|
25255
|
+
subject: n.subject,
|
|
25256
|
+
from: n.from,
|
|
25257
|
+
prefixTimestamp: n.prefixTimestamp,
|
|
25258
|
+
timestamp: n.timestamp,
|
|
25259
|
+
isPriority: n.isPriority,
|
|
25260
|
+
isFirstEvent: r === 0,
|
|
25212
25261
|
isSingleEvent: !1,
|
|
25213
|
-
isOpen:
|
|
25262
|
+
isOpen: a,
|
|
25214
25263
|
className: "border-b border-neutral-400",
|
|
25215
|
-
onFireClick: n
|
|
25264
|
+
onFireClick: headerOnFireClick(n)
|
|
25216
25265
|
})
|
|
25217
25266
|
}), /* @__PURE__ */ jsx(AccordionContent, {
|
|
25218
|
-
value:
|
|
25219
|
-
className: cn(
|
|
25220
|
-
children: renderEventContent(
|
|
25267
|
+
value: i,
|
|
25268
|
+
className: cn(r < e.length - 1 && a && "border-b border-neutral-400"),
|
|
25269
|
+
children: renderEventContent(n)
|
|
25221
25270
|
})]
|
|
25222
|
-
},
|
|
25271
|
+
}, i);
|
|
25223
25272
|
}) })
|
|
25224
25273
|
});
|
|
25225
25274
|
}
|
|
@@ -25533,10 +25582,10 @@ function OnboardingCard({ stepLabel: e, title: t, description: n, titleAccessory
|
|
|
25533
25582
|
children: [i, a]
|
|
25534
25583
|
})
|
|
25535
25584
|
]
|
|
25536
|
-
}),
|
|
25585
|
+
}), Xo = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
|
|
25537
25586
|
layout: o,
|
|
25538
25587
|
placement: s
|
|
25539
|
-
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
25588
|
+
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [Xo, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, Xo] });
|
|
25540
25589
|
return o === "horizontal" ? /* @__PURE__ */ jsx("div", {
|
|
25541
25590
|
className: cn("flex items-center", u),
|
|
25542
25591
|
children: g
|
|
@@ -25906,6 +25955,6 @@ function QtaloBlueImage({ size: e = 40, className: t, ...n }) {
|
|
|
25906
25955
|
}) })]
|
|
25907
25956
|
});
|
|
25908
25957
|
}
|
|
25909
|
-
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
|
|
25958
|
+
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
|
|
25910
25959
|
|
|
25911
25960
|
//# sourceMappingURL=index.js.map
|