@qtalo/qt-ui-library 0.3.4 → 0.4.1
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 +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +305 -0
- package/dist/index.js +1519 -344
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/styles/styles.css +183 -0
package/dist/index.js
CHANGED
|
@@ -391,43 +391,43 @@ function createDOMPurify() {
|
|
|
391
391
|
e.DocumentFragment;
|
|
392
392
|
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
393
393
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
394
|
-
let l = e.DOMParser, u = e.trustedTypes, f = s.prototype, p = lookupGetter(f, "cloneNode"), h = lookupGetter(f, "remove"),
|
|
394
|
+
let l = e.DOMParser, u = e.trustedTypes, f = s.prototype, p = lookupGetter(f, "cloneNode"), h = lookupGetter(f, "remove"), Ac = lookupGetter(f, "nextSibling"), g = lookupGetter(f, "childNodes"), O = lookupGetter(f, "parentNode"), jc = lookupGetter(f, "shadowRoot"), Mc = lookupGetter(f, "attributes"), A = o && o.prototype ? lookupGetter(o.prototype, "nodeType") : null, Nc = o && o.prototype ? lookupGetter(o.prototype, "nodeName") : null, R = o && o.prototype ? lookupGetter(o.prototype, "ownerDocument") : null;
|
|
395
395
|
if (typeof a == "function") {
|
|
396
396
|
let e = n.createElement("template");
|
|
397
397
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
398
398
|
}
|
|
399
|
-
let B,
|
|
400
|
-
if (
|
|
401
|
-
},
|
|
402
|
-
|
|
399
|
+
let B, Pc = "", Fc, Ic = !1, Lc = 0, Rc = function() {
|
|
400
|
+
if (Lc > 0) throw typeErrorCreate("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
401
|
+
}, zc = function(e) {
|
|
402
|
+
Rc(), Lc++;
|
|
403
403
|
try {
|
|
404
404
|
return B.createHTML(e);
|
|
405
405
|
} finally {
|
|
406
|
-
|
|
406
|
+
Lc--;
|
|
407
407
|
}
|
|
408
|
-
},
|
|
409
|
-
|
|
408
|
+
}, Bc = function(e) {
|
|
409
|
+
Rc(), Lc++;
|
|
410
410
|
try {
|
|
411
411
|
return B.createScriptURL(e);
|
|
412
412
|
} finally {
|
|
413
|
-
|
|
413
|
+
Lc--;
|
|
414
414
|
}
|
|
415
|
-
},
|
|
416
|
-
return
|
|
417
|
-
},
|
|
418
|
-
t.isSupported = typeof entries == "function" && typeof O == "function" &&
|
|
419
|
-
let
|
|
415
|
+
}, Vc = function() {
|
|
416
|
+
return Ic ||= (Fc = _createTrustedTypesPolicy(u, i), !0), Fc;
|
|
417
|
+
}, Hc = n, Uc = Hc.implementation, Wc = Hc.createNodeIterator, Gc = Hc.createDocumentFragment, Kc = Hc.getElementsByTagName, qc = r.importNode, V = _createHooksMap();
|
|
418
|
+
t.isSupported = typeof entries == "function" && typeof O == "function" && Uc && Uc.createHTMLDocument !== void 0;
|
|
419
|
+
let Jc = MUSTACHE_EXPR, Yc = ERB_EXPR, Xc = TMPLIT_EXPR, Zc = DATA_ATTR, Qc = ARIA_ATTR, $c = IS_SCRIPT_OR_DATA, el = ATTR_WHITESPACE, tl = CUSTOM_ELEMENT, nl = IS_ALLOWED_URI, H = null, rl = addToSet({}, [
|
|
420
420
|
...html$1,
|
|
421
421
|
...svg$1,
|
|
422
422
|
...svgFilters,
|
|
423
423
|
...mathMl$1,
|
|
424
424
|
...text
|
|
425
|
-
]), Y = null,
|
|
425
|
+
]), Y = null, il = addToSet({}, [
|
|
426
426
|
...html,
|
|
427
427
|
...svg,
|
|
428
428
|
...mathMl,
|
|
429
429
|
...xml
|
|
430
|
-
]),
|
|
430
|
+
]), al = Object.seal(create(null, {
|
|
431
431
|
tagNameCheck: {
|
|
432
432
|
writable: !0,
|
|
433
433
|
configurable: !1,
|
|
@@ -446,7 +446,7 @@ function createDOMPurify() {
|
|
|
446
446
|
enumerable: !0,
|
|
447
447
|
value: !1
|
|
448
448
|
}
|
|
449
|
-
})),
|
|
449
|
+
})), ol = null, sl = null, cl = Object.seal(create(null, {
|
|
450
450
|
tagCheck: {
|
|
451
451
|
writable: !0,
|
|
452
452
|
configurable: !1,
|
|
@@ -459,14 +459,14 @@ function createDOMPurify() {
|
|
|
459
459
|
enumerable: !0,
|
|
460
460
|
value: null
|
|
461
461
|
}
|
|
462
|
-
})),
|
|
462
|
+
})), ll = !0, ul = !0, dl = !1, fl = !0, pl = !1, ml = !0, hl = !1, gl = !1, _l = null, vl = null, yl = !1, bl = !1, xl = !1, Sl = !1, Cl = !0, wl = !1, Tl = "user-content-", El = !0, Dl = !1, Ol = {}, kl = null, Al = addToSet({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), jl = null, Ml = addToSet({}, [
|
|
463
463
|
"audio",
|
|
464
464
|
"video",
|
|
465
465
|
"img",
|
|
466
466
|
"source",
|
|
467
467
|
"image",
|
|
468
468
|
"track"
|
|
469
|
-
]),
|
|
469
|
+
]), Nl = null, Pl = addToSet({}, [
|
|
470
470
|
"alt",
|
|
471
471
|
"class",
|
|
472
472
|
"for",
|
|
@@ -481,78 +481,78 @@ function createDOMPurify() {
|
|
|
481
481
|
"value",
|
|
482
482
|
"style",
|
|
483
483
|
"xmlns"
|
|
484
|
-
]),
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
], stringToString),
|
|
484
|
+
]), Fl = "http://www.w3.org/1998/Math/MathML", Il = "http://www.w3.org/2000/svg", Ll = "http://www.w3.org/1999/xhtml", Rl = Ll, zl = !1, Bl = null, Vl = addToSet({}, [
|
|
485
|
+
Fl,
|
|
486
|
+
Il,
|
|
487
|
+
Ll
|
|
488
|
+
], stringToString), Hl = freeze([
|
|
489
489
|
"mi",
|
|
490
490
|
"mo",
|
|
491
491
|
"mn",
|
|
492
492
|
"ms",
|
|
493
493
|
"mtext"
|
|
494
|
-
]),
|
|
494
|
+
]), Ul = addToSet({}, Hl), Wl = freeze(["annotation-xml"]), Gl = addToSet({}, Wl), Kl = addToSet({}, [
|
|
495
495
|
"title",
|
|
496
496
|
"style",
|
|
497
497
|
"font",
|
|
498
498
|
"a",
|
|
499
499
|
"script"
|
|
500
|
-
]),
|
|
500
|
+
]), ql = null, Jl = ["application/xhtml+xml", "text/html"], Yl = null, Xl = null, Zl = n.createElement("form"), Ql = function(e) {
|
|
501
501
|
return e instanceof RegExp || e instanceof Function;
|
|
502
|
-
},
|
|
502
|
+
}, $l = function() {
|
|
503
503
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
504
|
-
if (
|
|
505
|
-
(!e || typeof e != "object") && (e = {}), e = clone(e),
|
|
506
|
-
transform:
|
|
507
|
-
base:
|
|
508
|
-
}),
|
|
509
|
-
transform:
|
|
510
|
-
base:
|
|
511
|
-
}),
|
|
504
|
+
if (Xl && Xl === e) return;
|
|
505
|
+
(!e || typeof e != "object") && (e = {}), e = clone(e), ql = Jl.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Yl = ql === "application/xhtml+xml" ? stringToString : stringToLowerCase, H = _resolveSetOption(e, "ALLOWED_TAGS", rl, { transform: Yl }), Y = _resolveSetOption(e, "ALLOWED_ATTR", il, { transform: Yl }), Bl = _resolveSetOption(e, "ALLOWED_NAMESPACES", Vl, { transform: stringToString }), Nl = _resolveSetOption(e, "ADD_URI_SAFE_ATTR", Pl, {
|
|
506
|
+
transform: Yl,
|
|
507
|
+
base: Pl
|
|
508
|
+
}), jl = _resolveSetOption(e, "ADD_DATA_URI_TAGS", Ml, {
|
|
509
|
+
transform: Yl,
|
|
510
|
+
base: Ml
|
|
511
|
+
}), kl = _resolveSetOption(e, "FORBID_CONTENTS", Al, { transform: Yl }), ol = _resolveSetOption(e, "FORBID_TAGS", clone({}), { transform: Yl }), sl = _resolveSetOption(e, "FORBID_ATTR", clone({}), { transform: Yl }), Ol = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? clone(e.USE_PROFILES) : e.USE_PROFILES : !1, ll = e.ALLOW_ARIA_ATTR !== !1, ul = e.ALLOW_DATA_ATTR !== !1, dl = e.ALLOW_UNKNOWN_PROTOCOLS || !1, fl = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, pl = e.SAFE_FOR_TEMPLATES || !1, ml = e.SAFE_FOR_XML !== !1, hl = e.WHOLE_DOCUMENT || !1, bl = e.RETURN_DOM || !1, xl = e.RETURN_DOM_FRAGMENT || !1, Sl = e.RETURN_TRUSTED_TYPE || !1, yl = e.FORCE_BODY || !1, Cl = e.SANITIZE_DOM !== !1, wl = e.SANITIZE_NAMED_PROPS || !1, El = e.KEEP_CONTENT !== !1, Dl = e.IN_PLACE || !1, nl = isRegex(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : IS_ALLOWED_URI, Rl = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Ll, Ul = objectHasOwnProperty(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? clone(e.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, Hl), Gl = objectHasOwnProperty(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? clone(e.HTML_INTEGRATION_POINTS) : addToSet({}, Wl);
|
|
512
512
|
let t = objectHasOwnProperty(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? clone(e.CUSTOM_ELEMENT_HANDLING) : create(null);
|
|
513
|
-
if (
|
|
513
|
+
if (al = create(null), objectHasOwnProperty(t, "tagNameCheck") && Ql(t.tagNameCheck) && (al.tagNameCheck = t.tagNameCheck), objectHasOwnProperty(t, "attributeNameCheck") && Ql(t.attributeNameCheck) && (al.attributeNameCheck = t.attributeNameCheck), objectHasOwnProperty(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (al.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), seal(al), pl && (ul = !1), xl && (bl = !0), Ol && (H = addToSet({}, text), Y = create(null), Ol.html === !0 && (addToSet(H, html$1), addToSet(Y, html)), Ol.svg === !0 && (addToSet(H, svg$1), addToSet(Y, svg), addToSet(Y, xml)), Ol.svgFilters === !0 && (addToSet(H, svgFilters), addToSet(Y, svg), addToSet(Y, xml)), Ol.mathMl === !0 && (addToSet(H, mathMl$1), addToSet(Y, mathMl), addToSet(Y, xml))), cl.tagCheck = null, cl.attributeCheck = null, objectHasOwnProperty(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? cl.tagCheck = e.ADD_TAGS : arrayIsArray(e.ADD_TAGS) && (H === rl && (H = clone(H)), addToSet(H, e.ADD_TAGS, Yl))), objectHasOwnProperty(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? cl.attributeCheck = e.ADD_ATTR : arrayIsArray(e.ADD_ATTR) && (Y === il && (Y = clone(Y)), addToSet(Y, e.ADD_ATTR, Yl))), objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") && arrayIsArray(e.ADD_URI_SAFE_ATTR) && addToSet(Nl, e.ADD_URI_SAFE_ATTR, Yl), objectHasOwnProperty(e, "FORBID_CONTENTS") && arrayIsArray(e.FORBID_CONTENTS) && (kl === Al && (kl = clone(kl)), addToSet(kl, e.FORBID_CONTENTS, Yl)), objectHasOwnProperty(e, "ADD_FORBID_CONTENTS") && arrayIsArray(e.ADD_FORBID_CONTENTS) && (kl === Al && (kl = clone(kl)), addToSet(kl, e.ADD_FORBID_CONTENTS, Yl)), El && (H["#text"] = !0), hl && addToSet(H, [
|
|
514
514
|
"html",
|
|
515
515
|
"head",
|
|
516
516
|
"body"
|
|
517
|
-
]), H.table && (addToSet(H, ["tbody"]), delete
|
|
517
|
+
]), H.table && (addToSet(H, ["tbody"]), delete ol.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
518
518
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
519
519
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
520
520
|
let t = B;
|
|
521
521
|
B = e.TRUSTED_TYPES_POLICY;
|
|
522
522
|
try {
|
|
523
|
-
|
|
523
|
+
Pc = zc("");
|
|
524
524
|
} catch (e) {
|
|
525
525
|
throw B = t, e;
|
|
526
526
|
}
|
|
527
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (B = void 0,
|
|
528
|
-
freeze && freeze(e),
|
|
529
|
-
},
|
|
527
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (B = void 0, Pc = "") : (B === void 0 && (B = Vc()), B && typeof Pc == "string" && (Pc = zc("")));
|
|
528
|
+
freeze && freeze(e), Xl = e;
|
|
529
|
+
}, eu = addToSet({}, [
|
|
530
530
|
...svg$1,
|
|
531
531
|
...svgFilters,
|
|
532
532
|
...svgDisallowed
|
|
533
|
-
]),
|
|
534
|
-
return t.namespaceURI ===
|
|
535
|
-
},
|
|
536
|
-
return t.namespaceURI ===
|
|
537
|
-
},
|
|
538
|
-
return t.namespaceURI ===
|
|
539
|
-
},
|
|
533
|
+
]), tu = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), nu = function(e, t, n) {
|
|
534
|
+
return t.namespaceURI === Ll ? e === "svg" : t.namespaceURI === Fl ? e === "svg" && (n === "annotation-xml" || Ul[n]) : !!eu[e];
|
|
535
|
+
}, ru = function(e, t, n) {
|
|
536
|
+
return t.namespaceURI === Ll ? e === "math" : t.namespaceURI === Il ? e === "math" && Gl[n] : !!tu[e];
|
|
537
|
+
}, iu = function(e, t, n) {
|
|
538
|
+
return t.namespaceURI === Il && !Gl[n] || t.namespaceURI === Fl && !Ul[n] ? !1 : !tu[e] && (Kl[e] || !eu[e]);
|
|
539
|
+
}, au = function(e) {
|
|
540
540
|
let t = O(e);
|
|
541
541
|
(!t || !t.tagName) && (t = {
|
|
542
|
-
namespaceURI:
|
|
542
|
+
namespaceURI: Rl,
|
|
543
543
|
tagName: "template"
|
|
544
544
|
});
|
|
545
545
|
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
546
|
-
return
|
|
547
|
-
},
|
|
546
|
+
return Bl[e.namespaceURI] ? e.namespaceURI === Il ? nu(n, t, r) : e.namespaceURI === Fl ? ru(n, t, r) : e.namespaceURI === Ll ? iu(n, t, r) : !!(ql === "application/xhtml+xml" && Bl[e.namespaceURI]) : !1;
|
|
547
|
+
}, ou = function(e) {
|
|
548
548
|
arrayPush(t.removed, { element: e });
|
|
549
549
|
try {
|
|
550
550
|
O(e).removeChild(e);
|
|
551
551
|
} catch {
|
|
552
552
|
if (h(e), !O(e)) throw typeErrorCreate("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
553
553
|
}
|
|
554
|
-
},
|
|
555
|
-
|
|
554
|
+
}, su = function(e) {
|
|
555
|
+
uu(e);
|
|
556
556
|
let t = g(e);
|
|
557
557
|
if (t) {
|
|
558
558
|
let e = [];
|
|
@@ -564,14 +564,14 @@ function createDOMPurify() {
|
|
|
564
564
|
} catch {}
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
-
let n =
|
|
567
|
+
let n = Mc(e);
|
|
568
568
|
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
569
569
|
let r = n[t], i = r && r.name;
|
|
570
570
|
if (typeof i == "string") try {
|
|
571
571
|
e.removeAttribute(i);
|
|
572
572
|
} catch {}
|
|
573
573
|
}
|
|
574
|
-
},
|
|
574
|
+
}, cu = function(e, n) {
|
|
575
575
|
try {
|
|
576
576
|
arrayPush(t.removed, {
|
|
577
577
|
attribute: n.getAttributeNode(e),
|
|
@@ -583,30 +583,30 @@ function createDOMPurify() {
|
|
|
583
583
|
from: n
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
|
-
if (n.removeAttribute(e), e === "is") if (
|
|
587
|
-
|
|
586
|
+
if (n.removeAttribute(e), e === "is") if (bl || xl) try {
|
|
587
|
+
ou(n);
|
|
588
588
|
} catch {}
|
|
589
589
|
else try {
|
|
590
590
|
n.setAttribute(e, "");
|
|
591
591
|
} catch {}
|
|
592
|
-
},
|
|
593
|
-
let t =
|
|
592
|
+
}, lu = function(e) {
|
|
593
|
+
let t = Mc(e);
|
|
594
594
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
595
595
|
let r = t[n], i = r && r.name;
|
|
596
|
-
if (!(typeof i != "string" || Y[
|
|
596
|
+
if (!(typeof i != "string" || Y[Yl(i)])) try {
|
|
597
597
|
e.removeAttribute(i);
|
|
598
598
|
} catch {}
|
|
599
599
|
}
|
|
600
|
-
},
|
|
600
|
+
}, uu = function(e) {
|
|
601
601
|
let t = [e];
|
|
602
602
|
for (; t.length > 0;) {
|
|
603
603
|
let e = t.pop();
|
|
604
|
-
(A ? A(e) : e.nodeType) === NODE_TYPE.element &&
|
|
604
|
+
(A ? A(e) : e.nodeType) === NODE_TYPE.element && lu(e);
|
|
605
605
|
let n = g(e);
|
|
606
606
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
607
607
|
}
|
|
608
|
-
},
|
|
609
|
-
if (!
|
|
608
|
+
}, du = function(e) {
|
|
609
|
+
if (!ml) return;
|
|
610
610
|
let t = [e];
|
|
611
611
|
for (; t.length > 0;) {
|
|
612
612
|
let e = t.pop(), n = A ? A(e) : e.nodeType;
|
|
@@ -617,7 +617,7 @@ function createDOMPurify() {
|
|
|
617
617
|
continue;
|
|
618
618
|
}
|
|
619
619
|
if (n === NODE_TYPE.element) {
|
|
620
|
-
let t = e, n =
|
|
620
|
+
let t = e, n = Yl(Nc ? Nc(e) : e.nodeName);
|
|
621
621
|
try {
|
|
622
622
|
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && n !== "label" && n !== "output" && t.removeAttribute("for");
|
|
623
623
|
} catch {}
|
|
@@ -625,50 +625,50 @@ function createDOMPurify() {
|
|
|
625
625
|
let r = g(e);
|
|
626
626
|
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
627
627
|
}
|
|
628
|
-
},
|
|
628
|
+
}, fu = function(e) {
|
|
629
629
|
let t = null, r = null;
|
|
630
|
-
if (
|
|
630
|
+
if (yl) e = "<remove></remove>" + e;
|
|
631
631
|
else {
|
|
632
632
|
let t = stringMatch(e, /^[\r\n\t ]+/);
|
|
633
633
|
r = t && t[0];
|
|
634
634
|
}
|
|
635
|
-
|
|
636
|
-
let i = B ?
|
|
637
|
-
if (
|
|
638
|
-
t = new l().parseFromString(i,
|
|
635
|
+
ql === "application/xhtml+xml" && Rl === Ll && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
636
|
+
let i = B ? zc(e) : e;
|
|
637
|
+
if (Rl === Ll) try {
|
|
638
|
+
t = new l().parseFromString(i, ql);
|
|
639
639
|
} catch {}
|
|
640
640
|
if (!t || !t.documentElement) {
|
|
641
|
-
t =
|
|
641
|
+
t = Uc.createDocument(Rl, "template", null);
|
|
642
642
|
try {
|
|
643
|
-
t.documentElement.innerHTML =
|
|
643
|
+
t.documentElement.innerHTML = zl ? Pc : i;
|
|
644
644
|
} catch {}
|
|
645
645
|
}
|
|
646
646
|
let a = t.body || t.documentElement;
|
|
647
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
648
|
-
},
|
|
647
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Rl === Ll ? Kc.call(t, hl ? "html" : "body")[0] : hl ? t.documentElement : a;
|
|
648
|
+
}, pu = function(e) {
|
|
649
649
|
let t = R ? R(e) : e.ownerDocument;
|
|
650
|
-
return
|
|
651
|
-
},
|
|
652
|
-
return e = stringReplace(e,
|
|
653
|
-
},
|
|
650
|
+
return Wc.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
651
|
+
}, mu = function(e) {
|
|
652
|
+
return e = stringReplace(e, Jc, " "), e = stringReplace(e, Yc, " "), e = stringReplace(e, Xc, " "), e;
|
|
653
|
+
}, hu = function(e) {
|
|
654
654
|
e.normalize();
|
|
655
|
-
let t = R ? R(e) : e.ownerDocument, n =
|
|
656
|
-
for (; r;) r.data =
|
|
655
|
+
let t = R ? R(e) : e.ownerDocument, n = Wc.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
656
|
+
for (; r;) r.data = mu(r.data), r = n.nextNode();
|
|
657
657
|
let i = e.querySelectorAll?.call(e, "template");
|
|
658
658
|
i && arrayForEach(i, (e) => {
|
|
659
|
-
|
|
659
|
+
_u(e.content) && hu(e.content);
|
|
660
660
|
});
|
|
661
|
-
},
|
|
662
|
-
let t =
|
|
663
|
-
return typeof t != "string" ||
|
|
664
|
-
},
|
|
661
|
+
}, gu = function(e) {
|
|
662
|
+
let t = Nc ? Nc(e) : null;
|
|
663
|
+
return typeof t != "string" || Yl(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== Mc(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== A(e) || e.childNodes !== g(e);
|
|
664
|
+
}, _u = function(e) {
|
|
665
665
|
if (!A || typeof e != "object" || !e) return !1;
|
|
666
666
|
try {
|
|
667
667
|
return A(e) === NODE_TYPE.documentFragment;
|
|
668
668
|
} catch {
|
|
669
669
|
return !1;
|
|
670
670
|
}
|
|
671
|
-
},
|
|
671
|
+
}, vu = function(e) {
|
|
672
672
|
if (!A || typeof e != "object" || !e) return !1;
|
|
673
673
|
try {
|
|
674
674
|
return typeof A(e) == "number";
|
|
@@ -676,57 +676,57 @@ function createDOMPurify() {
|
|
|
676
676
|
return !1;
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
|
-
function
|
|
679
|
+
function yu(e, n, r) {
|
|
680
680
|
e.length !== 0 && arrayForEach(e, (e) => {
|
|
681
|
-
e.call(t, n, r,
|
|
681
|
+
e.call(t, n, r, Xl);
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
let
|
|
685
|
-
return !!(
|
|
686
|
-
},
|
|
687
|
-
if (!
|
|
688
|
-
if (
|
|
684
|
+
let bu = function(e, t) {
|
|
685
|
+
return !!(ml && e.hasChildNodes() && !vu(e.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, e.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, e.innerHTML) || ml && e.namespaceURI === Ll && t === "style" && vu(e.firstElementChild) || e.nodeType === NODE_TYPE.processingInstruction || ml && e.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, e.data));
|
|
686
|
+
}, xu = function(e, t, n) {
|
|
687
|
+
if (!ol[t] && Eu(t) && (al.tagNameCheck instanceof RegExp && regExpTest(al.tagNameCheck, t) || al.tagNameCheck instanceof Function && al.tagNameCheck(t))) return !1;
|
|
688
|
+
if (El && !kl[t]) {
|
|
689
689
|
let t = O(e), r = g(e);
|
|
690
690
|
if (r && t) {
|
|
691
691
|
let i = r.length;
|
|
692
692
|
for (let a = i - 1; a >= 0; --a) {
|
|
693
693
|
let i = e === n ? p(r[a], !0) : r[a];
|
|
694
|
-
t.insertBefore(i,
|
|
694
|
+
t.insertBefore(i, Ac(e));
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
-
return
|
|
699
|
-
},
|
|
698
|
+
return ou(e), !0;
|
|
699
|
+
}, Su = function(e, t, n, r) {
|
|
700
700
|
return e.length === 0 ? t : t === n || t === r ? clone(t) : t;
|
|
701
|
-
},
|
|
702
|
-
if (
|
|
703
|
-
if (
|
|
704
|
-
let r =
|
|
705
|
-
if (H =
|
|
701
|
+
}, Cu = function(e, n) {
|
|
702
|
+
if (yu(V.beforeSanitizeElements, e, null), e !== n && O(e) === null) return Dl && uu(e), !0;
|
|
703
|
+
if (gu(e)) return ou(e), !0;
|
|
704
|
+
let r = Yl(Nc ? Nc(e) : e.nodeName);
|
|
705
|
+
if (H = Su(V.uponSanitizeElement, H, rl, _l), yu(V.uponSanitizeElement, e, {
|
|
706
706
|
tagName: r,
|
|
707
707
|
allowedTags: H
|
|
708
|
-
}), e !== n && O(e) === null) return
|
|
709
|
-
if (
|
|
710
|
-
if (
|
|
711
|
-
let t =
|
|
712
|
-
return t === !1 &&
|
|
708
|
+
}), e !== n && O(e) === null) return Dl && uu(e), !0;
|
|
709
|
+
if (bu(e, r)) return ou(e), !0;
|
|
710
|
+
if (ol[r] || !(cl.tagCheck instanceof Function && cl.tagCheck(r)) && !H[r]) {
|
|
711
|
+
let t = xu(e, r, n);
|
|
712
|
+
return t === !1 && yu(V.afterSanitizeElements, e, null), t;
|
|
713
713
|
}
|
|
714
|
-
if ((A ? A(e) : e.nodeType) === NODE_TYPE.element && !
|
|
715
|
-
if (
|
|
716
|
-
let n =
|
|
714
|
+
if ((A ? A(e) : e.nodeType) === NODE_TYPE.element && !au(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(FALLBACK_TAG_CLOSE, e.innerHTML)) return ou(e), !0;
|
|
715
|
+
if (pl && e.nodeType === NODE_TYPE.text) {
|
|
716
|
+
let n = mu(e.textContent);
|
|
717
717
|
e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
718
718
|
}
|
|
719
|
-
return
|
|
720
|
-
},
|
|
721
|
-
if (
|
|
722
|
-
let i = Y[t] ||
|
|
723
|
-
if (!(
|
|
719
|
+
return yu(V.afterSanitizeElements, e, null), !1;
|
|
720
|
+
}, wu = function(e, t, r) {
|
|
721
|
+
if (sl[t] || ml && t === "patchsrc" || ml && t === "for" && e !== "label" && e !== "output" || Cl && (t === "id" || t === "name") && (r in n || r in Zl)) return !1;
|
|
722
|
+
let i = Y[t] || cl.attributeCheck instanceof Function && cl.attributeCheck(t, e);
|
|
723
|
+
if (!(ul && regExpTest(Zc, t)) && !(ll && regExpTest(Qc, t))) {
|
|
724
724
|
if (i) {
|
|
725
|
-
if (!
|
|
726
|
-
} else if (!(
|
|
725
|
+
if (!Nl[t] && !regExpTest(nl, stringReplace(r, el, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && jl[e]) && !(dl && !regExpTest($c, stringReplace(r, el, ""))) && r) return !1;
|
|
726
|
+
} else if (!(Eu(e) && (al.tagNameCheck instanceof RegExp && regExpTest(al.tagNameCheck, e) || al.tagNameCheck instanceof Function && al.tagNameCheck(e)) && (al.attributeNameCheck instanceof RegExp && regExpTest(al.attributeNameCheck, t) || al.attributeNameCheck instanceof Function && al.attributeNameCheck(t, e)) || t === "is" && al.allowCustomizedBuiltInElements && (al.tagNameCheck instanceof RegExp && regExpTest(al.tagNameCheck, r) || al.tagNameCheck instanceof Function && al.tagNameCheck(r)))) return !1;
|
|
727
727
|
}
|
|
728
728
|
return !0;
|
|
729
|
-
},
|
|
729
|
+
}, Tu = addToSet({}, [
|
|
730
730
|
"annotation-xml",
|
|
731
731
|
"color-profile",
|
|
732
732
|
"font-face",
|
|
@@ -735,67 +735,67 @@ function createDOMPurify() {
|
|
|
735
735
|
"font-face-src",
|
|
736
736
|
"font-face-uri",
|
|
737
737
|
"missing-glyph"
|
|
738
|
-
]),
|
|
739
|
-
return !
|
|
740
|
-
},
|
|
738
|
+
]), Eu = function(e) {
|
|
739
|
+
return !Tu[stringToLowerCase(e)] && regExpTest(tl, e);
|
|
740
|
+
}, Du = function(e, t, n, r) {
|
|
741
741
|
if (B && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
742
|
-
case "TrustedHTML": return
|
|
743
|
-
case "TrustedScriptURL": return
|
|
742
|
+
case "TrustedHTML": return zc(r);
|
|
743
|
+
case "TrustedScriptURL": return Bc(r);
|
|
744
744
|
}
|
|
745
745
|
return r;
|
|
746
|
-
},
|
|
746
|
+
}, Ou = function(e, n, r, i) {
|
|
747
747
|
try {
|
|
748
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i),
|
|
748
|
+
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), gu(e) ? ou(e) : arrayPop(t.removed);
|
|
749
749
|
} catch {
|
|
750
|
-
|
|
750
|
+
cu(n, e);
|
|
751
751
|
}
|
|
752
|
-
},
|
|
753
|
-
|
|
752
|
+
}, ku = function(e) {
|
|
753
|
+
yu(V.beforeSanitizeAttributes, e, null);
|
|
754
754
|
let t = e.attributes;
|
|
755
|
-
if (!t ||
|
|
756
|
-
Y =
|
|
755
|
+
if (!t || gu(e)) return;
|
|
756
|
+
Y = Su(V.uponSanitizeAttribute, Y, il, vl);
|
|
757
757
|
let n = {
|
|
758
758
|
attrName: "",
|
|
759
759
|
attrValue: "",
|
|
760
760
|
keepAttr: !0,
|
|
761
761
|
allowedAttributes: Y,
|
|
762
762
|
forceKeepAttr: void 0
|
|
763
|
-
}, r = t.length, i =
|
|
763
|
+
}, r = t.length, i = Yl(e.nodeName);
|
|
764
764
|
for (; r--;) {
|
|
765
|
-
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l =
|
|
766
|
-
if (n.attrName = l, n.attrValue = f, n.keepAttr = !0, n.forceKeepAttr = void 0,
|
|
767
|
-
|
|
765
|
+
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = Yl(o), u = c, f = o === "value" ? u : stringTrim(u);
|
|
766
|
+
if (n.attrName = l, n.attrValue = f, n.keepAttr = !0, n.forceKeepAttr = void 0, yu(V.uponSanitizeAttribute, e, n), f = n.attrValue, wl && (l === "id" || l === "name") && stringIndexOf(f, Tl) !== 0 && (cu(o, e), f = Tl + f), ml && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
767
|
+
cu(o, e);
|
|
768
768
|
continue;
|
|
769
769
|
}
|
|
770
770
|
if (l === "attributename" && stringMatch(f, "href")) {
|
|
771
|
-
|
|
771
|
+
cu(o, e);
|
|
772
772
|
continue;
|
|
773
773
|
}
|
|
774
774
|
if (!n.forceKeepAttr) {
|
|
775
775
|
if (!n.keepAttr) {
|
|
776
|
-
|
|
776
|
+
cu(o, e);
|
|
777
777
|
continue;
|
|
778
778
|
}
|
|
779
|
-
if (!
|
|
780
|
-
|
|
779
|
+
if (!fl && regExpTest(SELF_CLOSING_TAG, f)) {
|
|
780
|
+
cu(o, e);
|
|
781
781
|
continue;
|
|
782
782
|
}
|
|
783
|
-
if (
|
|
784
|
-
|
|
783
|
+
if (pl && (f = mu(f)), !wu(i, l, f)) {
|
|
784
|
+
cu(o, e);
|
|
785
785
|
continue;
|
|
786
786
|
}
|
|
787
|
-
f =
|
|
787
|
+
f = Du(i, l, s, f), f !== u && Ou(e, o, s, f);
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
|
-
|
|
791
|
-
},
|
|
792
|
-
let t = null, n =
|
|
793
|
-
for (
|
|
794
|
-
let e =
|
|
795
|
-
|
|
790
|
+
yu(V.afterSanitizeAttributes, e, null);
|
|
791
|
+
}, Au = function(e) {
|
|
792
|
+
let t = null, n = pu(e);
|
|
793
|
+
for (yu(V.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (yu(V.uponSanitizeShadowNode, t, null), Cu(t, e), ku(t), _u(t.content) && Au(t.content), (A ? A(t) : t.nodeType) === NODE_TYPE.element) {
|
|
794
|
+
let e = jc(t);
|
|
795
|
+
_u(e) && (ju(e), Au(e));
|
|
796
796
|
}
|
|
797
|
-
|
|
798
|
-
},
|
|
797
|
+
yu(V.afterSanitizeShadowDOM, e, null);
|
|
798
|
+
}, ju = function(e) {
|
|
799
799
|
let t = [{
|
|
800
800
|
node: e,
|
|
801
801
|
shadow: null
|
|
@@ -803,7 +803,7 @@ function createDOMPurify() {
|
|
|
803
803
|
for (; t.length > 0;) {
|
|
804
804
|
let e = t.pop();
|
|
805
805
|
if (e.shadow) {
|
|
806
|
-
|
|
806
|
+
Au(e.shadow);
|
|
807
807
|
continue;
|
|
808
808
|
}
|
|
809
809
|
let n = e.node, r = (A ? A(n) : n.nodeType) === NODE_TYPE.element, i = g(n);
|
|
@@ -812,18 +812,18 @@ function createDOMPurify() {
|
|
|
812
812
|
shadow: null
|
|
813
813
|
});
|
|
814
814
|
if (r) {
|
|
815
|
-
let e =
|
|
816
|
-
if (typeof e == "string" &&
|
|
815
|
+
let e = Nc ? Nc(n) : null;
|
|
816
|
+
if (typeof e == "string" && Yl(e) === "template") {
|
|
817
817
|
let e = n.content;
|
|
818
|
-
|
|
818
|
+
_u(e) && t.push({
|
|
819
819
|
node: e,
|
|
820
820
|
shadow: null
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
if (r) {
|
|
825
|
-
let e =
|
|
826
|
-
|
|
825
|
+
let e = jc(n);
|
|
826
|
+
_u(e) && t.push({
|
|
827
827
|
node: null,
|
|
828
828
|
shadow: e
|
|
829
829
|
}, {
|
|
@@ -835,54 +835,54 @@ function createDOMPurify() {
|
|
|
835
835
|
};
|
|
836
836
|
return t.sanitize = function(e) {
|
|
837
837
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
838
|
-
if (
|
|
838
|
+
if (zl = !e, zl && (e = "<!-->"), typeof e != "string" && !vu(e) && (e = stringifyValue(e), typeof e != "string")) throw typeErrorCreate("dirty is not a string, aborting");
|
|
839
839
|
if (!t.isSupported) return e;
|
|
840
|
-
|
|
841
|
-
let c =
|
|
840
|
+
gl ? (H = _l, Y = vl) : $l(n), (V.uponSanitizeElement.length > 0 || V.uponSanitizeAttribute.length > 0) && (H = clone(H)), V.uponSanitizeAttribute.length > 0 && (Y = clone(Y)), t.removed = [];
|
|
841
|
+
let c = Dl && typeof e != "string" && vu(e);
|
|
842
842
|
if (c) {
|
|
843
|
-
|
|
844
|
-
let t =
|
|
843
|
+
du(e);
|
|
844
|
+
let t = Nc ? Nc(e) : e.nodeName;
|
|
845
845
|
if (typeof t == "string") {
|
|
846
|
-
let n =
|
|
847
|
-
if (!H[n] ||
|
|
846
|
+
let n = Yl(t);
|
|
847
|
+
if (!H[n] || ol[n]) throw su(e), typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
848
848
|
}
|
|
849
|
-
if (
|
|
849
|
+
if (gu(e)) throw su(e), typeErrorCreate("root node is clobbered and cannot be sanitized in-place");
|
|
850
850
|
try {
|
|
851
|
-
|
|
851
|
+
ju(e);
|
|
852
852
|
} catch (t) {
|
|
853
|
-
throw
|
|
853
|
+
throw su(e), t;
|
|
854
854
|
}
|
|
855
|
-
} else if (
|
|
855
|
+
} else if (vu(e)) i = fu("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === NODE_TYPE.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), ju(a);
|
|
856
856
|
else {
|
|
857
|
-
if (!
|
|
858
|
-
if (i =
|
|
857
|
+
if (!bl && !pl && !hl && e.indexOf("<") === -1) return B && Sl ? zc(e) : e;
|
|
858
|
+
if (i = fu(e), !i) return bl ? null : Sl ? Pc : "";
|
|
859
859
|
}
|
|
860
|
-
i &&
|
|
860
|
+
i && yl && ou(i.firstChild);
|
|
861
861
|
let l = c ? e : i;
|
|
862
862
|
try {
|
|
863
|
-
let e =
|
|
864
|
-
for (; o = e.nextNode();)
|
|
863
|
+
let e = pu(l);
|
|
864
|
+
for (; o = e.nextNode();) Cu(o, l), ku(o), _u(o.content) && Au(o.content);
|
|
865
865
|
} catch (n) {
|
|
866
|
-
throw c && (
|
|
867
|
-
e.element &&
|
|
866
|
+
throw c && (su(e), arrayForEach(t.removed, (e) => {
|
|
867
|
+
e.element && uu(e.element);
|
|
868
868
|
})), n;
|
|
869
869
|
}
|
|
870
870
|
if (c) return arrayForEach(t.removed, (e) => {
|
|
871
|
-
e.element &&
|
|
872
|
-
}),
|
|
873
|
-
if (
|
|
874
|
-
if (
|
|
871
|
+
e.element && uu(e.element);
|
|
872
|
+
}), pl && hu(e), e;
|
|
873
|
+
if (bl) {
|
|
874
|
+
if (pl && hu(i), xl) for (s = Gc.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
875
875
|
else s = i;
|
|
876
|
-
return (Y.shadowroot || Y.shadowrootmode) && (s =
|
|
876
|
+
return (Y.shadowroot || Y.shadowrootmode) && (s = qc.call(r, s, !0)), s;
|
|
877
877
|
}
|
|
878
|
-
let u =
|
|
879
|
-
return
|
|
878
|
+
let u = hl ? i.outerHTML : i.innerHTML;
|
|
879
|
+
return hl && H["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), pl && (u = mu(u)), B && Sl ? zc(u) : u;
|
|
880
880
|
}, t.setConfig = function() {
|
|
881
|
-
|
|
881
|
+
$l(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), gl = !0, _l = H, vl = Y;
|
|
882
882
|
}, t.clearConfig = function() {
|
|
883
|
-
|
|
883
|
+
Xl = null, gl = !1, _l = null, vl = null, B = Fc, Pc = "";
|
|
884
884
|
}, t.isValidAttribute = function(e, t, n) {
|
|
885
|
-
return
|
|
885
|
+
return Xl || $l({}), wu(Yl(e), Yl(t), n);
|
|
886
886
|
}, t.addHook = function(e, t) {
|
|
887
887
|
typeof t == "function" && objectHasOwnProperty(V, e) && arrayPush(V[e], t);
|
|
888
888
|
}, t.removeHook = function(e, t) {
|
|
@@ -21592,18 +21592,18 @@ function useDropdown() {
|
|
|
21592
21592
|
return e;
|
|
21593
21593
|
}
|
|
21594
21594
|
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 }) {
|
|
21595
|
-
let g = u !== void 0, [O,
|
|
21596
|
-
e !== R && (g ||
|
|
21595
|
+
let g = u !== void 0, [O, Nc] = useState(!1), R = g ? u : O, B = useCallback((e) => {
|
|
21596
|
+
e !== R && (g || Nc(e), p?.(e));
|
|
21597
21597
|
}, [
|
|
21598
21598
|
R,
|
|
21599
21599
|
g,
|
|
21600
21600
|
p
|
|
21601
|
-
]),
|
|
21602
|
-
if (!
|
|
21603
|
-
let e =
|
|
21601
|
+
]), Pc = useRef(null), Fc = useRef(null), Ic = useRef(null), [Lc, Rc] = useState(null), zc = useCallback(() => {
|
|
21602
|
+
if (!Pc.current || !Fc.current) return;
|
|
21603
|
+
let e = Pc.current.getBoundingClientRect(), t = Fc.current.getBoundingClientRect(), o = e.left;
|
|
21604
21604
|
n === "end" ? o = e.right - t.width : n === "center" && (o = e.left + (e.width - t.width) / 2), o += i;
|
|
21605
21605
|
let s;
|
|
21606
|
-
s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() =>
|
|
21606
|
+
s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() => Rc({
|
|
21607
21607
|
top: s,
|
|
21608
21608
|
left: o
|
|
21609
21609
|
}));
|
|
@@ -21614,52 +21614,52 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
|
|
|
21614
21614
|
a
|
|
21615
21615
|
]);
|
|
21616
21616
|
useLayoutEffect(() => {
|
|
21617
|
-
R &&
|
|
21618
|
-
}, [R,
|
|
21617
|
+
R && zc();
|
|
21618
|
+
}, [R, zc]), useEffect(() => {
|
|
21619
21619
|
if (!R) return;
|
|
21620
|
-
let e = () =>
|
|
21620
|
+
let e = () => zc();
|
|
21621
21621
|
return window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
21622
21622
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
21623
21623
|
};
|
|
21624
|
-
}, [R,
|
|
21625
|
-
let
|
|
21626
|
-
|
|
21627
|
-
}, [B]),
|
|
21628
|
-
|
|
21624
|
+
}, [R, zc]);
|
|
21625
|
+
let Bc = useCallback(() => {
|
|
21626
|
+
Ic.current &&= (clearTimeout(Ic.current), null), B(!0);
|
|
21627
|
+
}, [B]), Vc = useCallback(() => {
|
|
21628
|
+
Ic.current = window.setTimeout(() => {
|
|
21629
21629
|
B(!1);
|
|
21630
21630
|
}, 120);
|
|
21631
21631
|
}, [B]);
|
|
21632
21632
|
return useEffect(() => {
|
|
21633
21633
|
function e(e) {
|
|
21634
21634
|
let t = e.target;
|
|
21635
|
-
|
|
21635
|
+
Pc.current?.contains(t) || Fc.current?.contains(t) || B(!1);
|
|
21636
21636
|
}
|
|
21637
21637
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
21638
21638
|
}, [B]), useEffect(() => () => {
|
|
21639
|
-
|
|
21639
|
+
Ic.current && clearTimeout(Ic.current);
|
|
21640
21640
|
}, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
|
|
21641
21641
|
value: {
|
|
21642
21642
|
close: () => B(!1),
|
|
21643
|
-
open:
|
|
21643
|
+
open: Bc
|
|
21644
21644
|
},
|
|
21645
21645
|
children: [/* @__PURE__ */ jsx("div", {
|
|
21646
|
-
ref:
|
|
21646
|
+
ref: Pc,
|
|
21647
21647
|
className: "inline-flex",
|
|
21648
|
-
onMouseEnter: c ?
|
|
21649
|
-
onMouseLeave: c ?
|
|
21648
|
+
onMouseEnter: c ? Bc : void 0,
|
|
21649
|
+
onMouseLeave: c ? Vc : void 0,
|
|
21650
21650
|
onClick: () => B(!R),
|
|
21651
21651
|
"aria-haspopup": "menu",
|
|
21652
21652
|
"aria-expanded": R,
|
|
21653
21653
|
children: e
|
|
21654
21654
|
}), R && !o && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21655
|
-
ref:
|
|
21656
|
-
onMouseEnter: c ?
|
|
21657
|
-
onMouseLeave: c ?
|
|
21655
|
+
ref: Fc,
|
|
21656
|
+
onMouseEnter: c ? Bc : void 0,
|
|
21657
|
+
onMouseLeave: c ? Vc : void 0,
|
|
21658
21658
|
style: {
|
|
21659
21659
|
position: "fixed",
|
|
21660
|
-
top:
|
|
21661
|
-
left:
|
|
21662
|
-
visibility:
|
|
21660
|
+
top: Lc?.top ?? 0,
|
|
21661
|
+
left: Lc?.left ?? 0,
|
|
21662
|
+
visibility: Lc ? "visible" : "hidden",
|
|
21663
21663
|
zIndex: 1e3
|
|
21664
21664
|
},
|
|
21665
21665
|
children: t
|
|
@@ -21687,6 +21687,25 @@ function Input({ type: e = "text", value: t, defaultValue: n, disabled: r = !1,
|
|
|
21687
21687
|
className: cn("bg-transparent outline-none", r && "pointer-events-none", c)
|
|
21688
21688
|
});
|
|
21689
21689
|
}
|
|
21690
|
+
function MsIcon({ name: e, size: t = 16, className: n }) {
|
|
21691
|
+
return /* @__PURE__ */ jsx("span", {
|
|
21692
|
+
"aria-hidden": "true",
|
|
21693
|
+
className: cn("inline-block shrink-0 select-none overflow-hidden whitespace-nowrap", n),
|
|
21694
|
+
style: {
|
|
21695
|
+
width: t,
|
|
21696
|
+
height: t,
|
|
21697
|
+
fontSize: t,
|
|
21698
|
+
lineHeight: 1,
|
|
21699
|
+
fontFamily: "'Material Symbols Outlined Variable'",
|
|
21700
|
+
fontStyle: "normal",
|
|
21701
|
+
fontWeight: "normal",
|
|
21702
|
+
letterSpacing: "normal",
|
|
21703
|
+
textTransform: "none",
|
|
21704
|
+
fontVariationSettings: "'wght' 300"
|
|
21705
|
+
},
|
|
21706
|
+
children: e
|
|
21707
|
+
});
|
|
21708
|
+
}
|
|
21690
21709
|
function Pressable({ as: e, disabled: t = !1, onPress: n, className: r, children: i, ...a }) {
|
|
21691
21710
|
let o = e || "div", c = useCallback(() => {
|
|
21692
21711
|
t || n?.();
|
|
@@ -21721,7 +21740,7 @@ function getVerticalAlign(e, t, n) {
|
|
|
21721
21740
|
return n === "start" ? e.top : n === "end" ? e.bottom - t.height : e.top + e.height / 2 - t.height / 2;
|
|
21722
21741
|
}
|
|
21723
21742
|
function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120, className: i }) {
|
|
21724
|
-
let a = useRef(null), o = useRef(null), s = useRef(null), [c, u] = useState(!1), [p, g] = useState(null),
|
|
21743
|
+
let a = useRef(null), o = useRef(null), s = useRef(null), [c, u] = useState(!1), [p, g] = useState(null), Nc = () => {
|
|
21725
21744
|
s.current &&= (clearTimeout(s.current), null), s.current = window.setTimeout(() => {
|
|
21726
21745
|
u(!0);
|
|
21727
21746
|
}, r);
|
|
@@ -21740,9 +21759,9 @@ function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120,
|
|
|
21740
21759
|
}, []), /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
21741
21760
|
ref: a,
|
|
21742
21761
|
className: "inline-flex",
|
|
21743
|
-
onMouseEnter:
|
|
21762
|
+
onMouseEnter: Nc,
|
|
21744
21763
|
onMouseLeave: R,
|
|
21745
|
-
onFocus:
|
|
21764
|
+
onFocus: Nc,
|
|
21746
21765
|
onBlur: R,
|
|
21747
21766
|
children: e
|
|
21748
21767
|
}), c && createPortal(/* @__PURE__ */ jsx("div", {
|
|
@@ -22424,6 +22443,125 @@ function OutlookIcon(e) {
|
|
|
22424
22443
|
})]
|
|
22425
22444
|
});
|
|
22426
22445
|
}
|
|
22446
|
+
function PulseGmailIcon({ pathProps: e, ...t }) {
|
|
22447
|
+
let n = useId(), r = `pulse-gmail-stripe-${n}`, i = `pulse-gmail-arch-${n}`;
|
|
22448
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22449
|
+
viewBox: "0 0 48 48",
|
|
22450
|
+
...t,
|
|
22451
|
+
children: [
|
|
22452
|
+
/* @__PURE__ */ jsx("path", {
|
|
22453
|
+
d: "M36.5 11H46V38.5C46 40.1567 44.6567 41.5 43 41.5H38C37.6022 41.5 37.2206 41.342 36.9393 41.0607C36.658 40.7794 36.5 40.3978 36.5 40V11Z",
|
|
22454
|
+
fill: `url(#${r})`,
|
|
22455
|
+
...e
|
|
22456
|
+
}),
|
|
22457
|
+
/* @__PURE__ */ jsx("path", {
|
|
22458
|
+
d: "M11.5 11H2V38.5C2 40.1567 3.34325 41.5 5 41.5H10C10.3978 41.5 10.7794 41.342 11.0607 41.0607C11.342 40.7794 11.5 40.3978 11.5 40V11Z",
|
|
22459
|
+
fill: "#FC413D"
|
|
22460
|
+
}),
|
|
22461
|
+
/* @__PURE__ */ jsx("path", {
|
|
22462
|
+
d: "M9.80655 7.614C7.7983 5.926 4.80205 6.1855 3.11405 8.19375C1.42605 10.2018 1.68555 13.198 3.6938 14.8863L22.7133 30.8735C23.0737 31.1764 23.5294 31.3425 24.0002 31.3425C24.471 31.3425 24.9267 31.1764 25.287 30.8735L44.3065 14.886C46.3145 13.198 46.574 10.2018 44.886 8.1935C43.198 6.1855 40.2018 5.926 38.1938 7.614L24 19.545L9.80655 7.614Z",
|
|
22463
|
+
fill: `url(#${i})`
|
|
22464
|
+
}),
|
|
22465
|
+
/* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsxs("linearGradient", {
|
|
22466
|
+
id: r,
|
|
22467
|
+
x1: "41.25",
|
|
22468
|
+
y1: "11",
|
|
22469
|
+
x2: "41.25",
|
|
22470
|
+
y2: "41.5",
|
|
22471
|
+
gradientUnits: "userSpaceOnUse",
|
|
22472
|
+
children: [
|
|
22473
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#60D673" }),
|
|
22474
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22475
|
+
offset: "0.17",
|
|
22476
|
+
stopColor: "#42C868"
|
|
22477
|
+
}),
|
|
22478
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22479
|
+
offset: "0.39",
|
|
22480
|
+
stopColor: "#0EBC5F"
|
|
22481
|
+
}),
|
|
22482
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22483
|
+
offset: "0.62",
|
|
22484
|
+
stopColor: "#00A9BB"
|
|
22485
|
+
}),
|
|
22486
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22487
|
+
offset: "0.86",
|
|
22488
|
+
stopColor: "#3C90FF"
|
|
22489
|
+
}),
|
|
22490
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22491
|
+
offset: "1",
|
|
22492
|
+
stopColor: "#3186FF"
|
|
22493
|
+
})
|
|
22494
|
+
]
|
|
22495
|
+
}), /* @__PURE__ */ jsxs("linearGradient", {
|
|
22496
|
+
id: i,
|
|
22497
|
+
x1: "2.00005",
|
|
22498
|
+
y1: "11.5325",
|
|
22499
|
+
x2: "46",
|
|
22500
|
+
y2: "11.5325",
|
|
22501
|
+
gradientUnits: "userSpaceOnUse",
|
|
22502
|
+
children: [
|
|
22503
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22504
|
+
offset: "0.08",
|
|
22505
|
+
stopColor: "#FF63A0"
|
|
22506
|
+
}),
|
|
22507
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22508
|
+
offset: "0.3",
|
|
22509
|
+
stopColor: "#FC413D"
|
|
22510
|
+
}),
|
|
22511
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22512
|
+
offset: "0.5",
|
|
22513
|
+
stopColor: "#FC413D"
|
|
22514
|
+
}),
|
|
22515
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22516
|
+
offset: "0.65",
|
|
22517
|
+
stopColor: "#FC413D"
|
|
22518
|
+
}),
|
|
22519
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22520
|
+
offset: "0.72",
|
|
22521
|
+
stopColor: "#FC5C30"
|
|
22522
|
+
}),
|
|
22523
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22524
|
+
offset: "0.86",
|
|
22525
|
+
stopColor: "#FEB10C"
|
|
22526
|
+
}),
|
|
22527
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22528
|
+
offset: "0.91",
|
|
22529
|
+
stopColor: "#FEC700"
|
|
22530
|
+
}),
|
|
22531
|
+
/* @__PURE__ */ jsx("stop", {
|
|
22532
|
+
offset: "0.96",
|
|
22533
|
+
stopColor: "#FFDB0F"
|
|
22534
|
+
})
|
|
22535
|
+
]
|
|
22536
|
+
})] })
|
|
22537
|
+
]
|
|
22538
|
+
});
|
|
22539
|
+
}
|
|
22540
|
+
function PulseSlackIcon({ pathProps: e, ...t }) {
|
|
22541
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
22542
|
+
viewBox: "0 0 42 42",
|
|
22543
|
+
...t,
|
|
22544
|
+
children: [
|
|
22545
|
+
/* @__PURE__ */ jsx("path", {
|
|
22546
|
+
d: "M8.6928 26.0188C8.6928 28.4109 6.7574 30.3443 4.36276 30.3443C1.96811 30.3443 0.0327148 28.4109 0.0327148 26.0188C0.0327148 23.6267 1.96811 21.6933 4.36276 21.6933H8.6928V26.0188ZM10.8578 26.0188C10.8578 23.6267 12.7932 21.6933 15.1879 21.6933C17.5825 21.6933 19.5179 23.6267 19.5179 26.0188V36.8326C19.5179 39.2247 17.5825 41.1581 15.1879 41.1581C12.7932 41.1581 10.8578 39.2247 10.8578 36.8326V26.0188Z",
|
|
22547
|
+
fill: "#E01E5A",
|
|
22548
|
+
...e
|
|
22549
|
+
}),
|
|
22550
|
+
/* @__PURE__ */ jsx("path", {
|
|
22551
|
+
d: "M15.188 8.65101C12.7933 8.65101 10.8579 6.71764 10.8579 4.3255C10.8579 1.93337 12.7933 0 15.188 0C17.5826 0 19.518 1.93337 19.518 4.3255V8.65101H15.188ZM15.188 10.8465C17.5826 10.8465 19.518 12.7799 19.518 15.172C19.518 17.5642 17.5826 19.4975 15.188 19.4975H4.33004C1.9354 19.4975 0 17.5642 0 15.172C0 12.7799 1.9354 10.8465 4.33004 10.8465H15.188Z",
|
|
22552
|
+
fill: "#36C5F0"
|
|
22553
|
+
}),
|
|
22554
|
+
/* @__PURE__ */ jsx("path", {
|
|
22555
|
+
d: "M32.5409 15.172C32.5409 12.7799 34.4763 10.8465 36.871 10.8465C39.2656 10.8465 41.201 12.7799 41.201 15.172C41.201 17.5642 39.2656 19.4975 36.871 19.4975H32.5409V15.172ZM30.3759 15.172C30.3759 17.5642 28.4405 19.4975 26.0459 19.4975C23.6512 19.4975 21.7158 17.5642 21.7158 15.172V4.3255C21.7158 1.93337 23.6512 0 26.0459 0C28.4405 0 30.3759 1.93337 30.3759 4.3255V15.172Z",
|
|
22556
|
+
fill: "#2EB67D"
|
|
22557
|
+
}),
|
|
22558
|
+
/* @__PURE__ */ jsx("path", {
|
|
22559
|
+
d: "M26.0459 32.5071C28.4405 32.5071 30.3759 34.4404 30.3759 36.8326C30.3759 39.2247 28.4405 41.1581 26.0459 41.1581C23.6512 41.1581 21.7158 39.2247 21.7158 36.8326V32.5071H26.0459ZM26.0459 30.3443C23.6512 30.3443 21.7158 28.4109 21.7158 26.0188C21.7158 23.6267 23.6512 21.6933 26.0459 21.6933H36.9038C39.2984 21.6933 41.2338 23.6267 41.2338 26.0188C41.2338 28.4109 39.2984 30.3443 36.9038 30.3443H26.0459Z",
|
|
22560
|
+
fill: "#ECB22E"
|
|
22561
|
+
})
|
|
22562
|
+
]
|
|
22563
|
+
});
|
|
22564
|
+
}
|
|
22427
22565
|
function ReplyIoIcon(e) {
|
|
22428
22566
|
return /* @__PURE__ */ jsxs(Icon, {
|
|
22429
22567
|
viewBox: "0 0 18 18",
|
|
@@ -22862,6 +23000,30 @@ function ArrowIcon({ direction: e = "down", className: t, pathProps: n, ...r })
|
|
|
22862
23000
|
})
|
|
22863
23001
|
});
|
|
22864
23002
|
}
|
|
23003
|
+
function BriefcaseOutlineIcon({ pathProps: e, ...t }) {
|
|
23004
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
23005
|
+
viewBox: "0 0 24 24",
|
|
23006
|
+
...t,
|
|
23007
|
+
children: [/* @__PURE__ */ jsx("rect", {
|
|
23008
|
+
x: "2",
|
|
23009
|
+
y: "7",
|
|
23010
|
+
width: "20",
|
|
23011
|
+
height: "14",
|
|
23012
|
+
rx: "2",
|
|
23013
|
+
stroke: "currentColor",
|
|
23014
|
+
strokeWidth: "2",
|
|
23015
|
+
strokeLinecap: "round",
|
|
23016
|
+
strokeLinejoin: "round"
|
|
23017
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
23018
|
+
d: "M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",
|
|
23019
|
+
stroke: "currentColor",
|
|
23020
|
+
strokeWidth: "2",
|
|
23021
|
+
strokeLinecap: "round",
|
|
23022
|
+
strokeLinejoin: "round",
|
|
23023
|
+
...e
|
|
23024
|
+
})]
|
|
23025
|
+
});
|
|
23026
|
+
}
|
|
22865
23027
|
function BuildingIcon({ pathProps: e, ...t }) {
|
|
22866
23028
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22867
23029
|
viewBox: "0 0 24 24",
|
|
@@ -22914,6 +23076,32 @@ function CalendarIcon({ pathProps: e, ...t }) {
|
|
|
22914
23076
|
})
|
|
22915
23077
|
});
|
|
22916
23078
|
}
|
|
23079
|
+
function CheckBoldIcon({ pathProps: e, ...t }) {
|
|
23080
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
23081
|
+
viewBox: "0 0 24 24",
|
|
23082
|
+
...t,
|
|
23083
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
23084
|
+
d: "M5 12l5 5L20 7",
|
|
23085
|
+
stroke: "currentColor",
|
|
23086
|
+
strokeWidth: "3.5",
|
|
23087
|
+
...e
|
|
23088
|
+
})
|
|
23089
|
+
});
|
|
23090
|
+
}
|
|
23091
|
+
function CheckOutlineIcon({ pathProps: e, ...t }) {
|
|
23092
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
23093
|
+
viewBox: "0 0 24 24",
|
|
23094
|
+
...t,
|
|
23095
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
23096
|
+
d: "M20 6L9 17L4 12",
|
|
23097
|
+
stroke: "currentColor",
|
|
23098
|
+
strokeWidth: "2.5",
|
|
23099
|
+
strokeLinecap: "round",
|
|
23100
|
+
strokeLinejoin: "round",
|
|
23101
|
+
...e
|
|
23102
|
+
})
|
|
23103
|
+
});
|
|
23104
|
+
}
|
|
22917
23105
|
function CheckSquareIcon({ pathProps: e, ...t }) {
|
|
22918
23106
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22919
23107
|
viewBox: "0 0 24 24",
|
|
@@ -22925,6 +23113,20 @@ function CheckSquareIcon({ pathProps: e, ...t }) {
|
|
|
22925
23113
|
})
|
|
22926
23114
|
});
|
|
22927
23115
|
}
|
|
23116
|
+
function ChevronRightIcon({ pathProps: e, ...t }) {
|
|
23117
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
23118
|
+
viewBox: "0 0 24 24",
|
|
23119
|
+
...t,
|
|
23120
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
23121
|
+
d: "M9 6l6 6-6 6",
|
|
23122
|
+
stroke: "currentColor",
|
|
23123
|
+
strokeWidth: "2.5",
|
|
23124
|
+
strokeLinecap: "round",
|
|
23125
|
+
strokeLinejoin: "round",
|
|
23126
|
+
...e
|
|
23127
|
+
})
|
|
23128
|
+
});
|
|
23129
|
+
}
|
|
22928
23130
|
function CloseBoldIcon({ pathProps: e, ...t }) {
|
|
22929
23131
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22930
23132
|
viewBox: "0 0 16 16",
|
|
@@ -22950,6 +23152,20 @@ function CloseIcon({ pathProps: e, ...t }) {
|
|
|
22950
23152
|
})
|
|
22951
23153
|
});
|
|
22952
23154
|
}
|
|
23155
|
+
function CloseOutlineIcon({ pathProps: e, ...t }) {
|
|
23156
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
23157
|
+
viewBox: "0 0 24 24",
|
|
23158
|
+
...t,
|
|
23159
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
23160
|
+
d: "M18 6L6 18M6 6l12 12",
|
|
23161
|
+
stroke: "currentColor",
|
|
23162
|
+
strokeWidth: "2.5",
|
|
23163
|
+
strokeLinecap: "round",
|
|
23164
|
+
strokeLinejoin: "round",
|
|
23165
|
+
...e
|
|
23166
|
+
})
|
|
23167
|
+
});
|
|
23168
|
+
}
|
|
22953
23169
|
function CompactDensityIcon({ pathProps: e, ...t }) {
|
|
22954
23170
|
return /* @__PURE__ */ jsx(Icon, {
|
|
22955
23171
|
viewBox: "0 0 24 24",
|
|
@@ -23005,6 +23221,39 @@ function ExternalLinkIcon({ pathProps: e, ...t }) {
|
|
|
23005
23221
|
})
|
|
23006
23222
|
});
|
|
23007
23223
|
}
|
|
23224
|
+
function ExternalLinkOutlineIcon({ pathProps: e, ...t }) {
|
|
23225
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
23226
|
+
viewBox: "0 0 24 24",
|
|
23227
|
+
...t,
|
|
23228
|
+
children: [
|
|
23229
|
+
/* @__PURE__ */ jsx("path", {
|
|
23230
|
+
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
|
|
23231
|
+
stroke: "currentColor",
|
|
23232
|
+
strokeWidth: "2",
|
|
23233
|
+
strokeLinecap: "round",
|
|
23234
|
+
strokeLinejoin: "round",
|
|
23235
|
+
...e
|
|
23236
|
+
}),
|
|
23237
|
+
/* @__PURE__ */ jsx("polyline", {
|
|
23238
|
+
points: "15 3 21 3 21 9",
|
|
23239
|
+
stroke: "currentColor",
|
|
23240
|
+
strokeWidth: "2",
|
|
23241
|
+
strokeLinecap: "round",
|
|
23242
|
+
strokeLinejoin: "round"
|
|
23243
|
+
}),
|
|
23244
|
+
/* @__PURE__ */ jsx("line", {
|
|
23245
|
+
x1: "10",
|
|
23246
|
+
y1: "14",
|
|
23247
|
+
x2: "21",
|
|
23248
|
+
y2: "3",
|
|
23249
|
+
stroke: "currentColor",
|
|
23250
|
+
strokeWidth: "2",
|
|
23251
|
+
strokeLinecap: "round",
|
|
23252
|
+
strokeLinejoin: "round"
|
|
23253
|
+
})
|
|
23254
|
+
]
|
|
23255
|
+
});
|
|
23256
|
+
}
|
|
23008
23257
|
function EyeIcon({ pathProps: e, ...t }) {
|
|
23009
23258
|
return /* @__PURE__ */ jsxs(Icon, {
|
|
23010
23259
|
viewBox: "0 0 20 20",
|
|
@@ -23050,6 +23299,17 @@ function InboxIcon({ pathProps: e, ...t }) {
|
|
|
23050
23299
|
})
|
|
23051
23300
|
});
|
|
23052
23301
|
}
|
|
23302
|
+
function InfoFillIcon({ pathProps: e, ...t }) {
|
|
23303
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
23304
|
+
viewBox: "0 0 24 24",
|
|
23305
|
+
...t,
|
|
23306
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
23307
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z",
|
|
23308
|
+
fill: "currentColor",
|
|
23309
|
+
...e
|
|
23310
|
+
})
|
|
23311
|
+
});
|
|
23312
|
+
}
|
|
23053
23313
|
function LightIcon({ pathProps: e, ...t }) {
|
|
23054
23314
|
return /* @__PURE__ */ jsx(Icon, {
|
|
23055
23315
|
viewBox: "0 0 24 24",
|
|
@@ -23174,6 +23434,28 @@ function SystemIcon({ pathProps: e, ...t }) {
|
|
|
23174
23434
|
}) })
|
|
23175
23435
|
});
|
|
23176
23436
|
}
|
|
23437
|
+
function UserOutlineIcon({ pathProps: e, ...t }) {
|
|
23438
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
23439
|
+
viewBox: "0 0 24 24",
|
|
23440
|
+
...t,
|
|
23441
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
23442
|
+
cx: "12",
|
|
23443
|
+
cy: "7",
|
|
23444
|
+
r: "4",
|
|
23445
|
+
stroke: "currentColor",
|
|
23446
|
+
strokeWidth: "2",
|
|
23447
|
+
strokeLinecap: "round",
|
|
23448
|
+
strokeLinejoin: "round"
|
|
23449
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
23450
|
+
d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2",
|
|
23451
|
+
stroke: "currentColor",
|
|
23452
|
+
strokeWidth: "2",
|
|
23453
|
+
strokeLinecap: "round",
|
|
23454
|
+
strokeLinejoin: "round",
|
|
23455
|
+
...e
|
|
23456
|
+
})]
|
|
23457
|
+
});
|
|
23458
|
+
}
|
|
23177
23459
|
function Badge({ icon: e, label: t, action: n, className: r, ...i }) {
|
|
23178
23460
|
return /* @__PURE__ */ jsxs("div", {
|
|
23179
23461
|
className: cn("w-fit", r),
|
|
@@ -23312,6 +23594,19 @@ function HelpPanelEngine({ title: e, items: t, footer: n, closeLabel: r = "Close
|
|
|
23312
23594
|
]
|
|
23313
23595
|
});
|
|
23314
23596
|
}
|
|
23597
|
+
function ResizeDivider({ isResizing: e = !1, onMouseDown: t, className: n }) {
|
|
23598
|
+
return /* @__PURE__ */ jsx("div", {
|
|
23599
|
+
role: "separator",
|
|
23600
|
+
"aria-orientation": "vertical",
|
|
23601
|
+
"aria-label": "Resize panel",
|
|
23602
|
+
onMouseDown: t,
|
|
23603
|
+
className: cn("max-md:hidden relative z-10 w-px shrink-0 cursor-col-resize transition-colors", e ? "bg-brand-primary" : "bg-neutral-400 hover:bg-brand-primary", n),
|
|
23604
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
23605
|
+
"aria-hidden": "true",
|
|
23606
|
+
className: "inset-y-0 -left-1.5 w-3 absolute"
|
|
23607
|
+
})
|
|
23608
|
+
});
|
|
23609
|
+
}
|
|
23315
23610
|
const ONBOARDING_DISMISSED_STORAGE_KEY = "onboarding_dismissed";
|
|
23316
23611
|
function readDismissedFromStorage(e) {
|
|
23317
23612
|
if (typeof window > "u") return /* @__PURE__ */ new Set();
|
|
@@ -23352,13 +23647,13 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
23352
23647
|
e,
|
|
23353
23648
|
o,
|
|
23354
23649
|
t
|
|
23355
|
-
]), g = h?.step ?? null,
|
|
23650
|
+
]), g = h?.step ?? null, Mc = h?.index ?? null, A = useCallback((e) => {
|
|
23356
23651
|
c((t) => {
|
|
23357
23652
|
if (t.has(e)) return t;
|
|
23358
23653
|
let n = new Set(t);
|
|
23359
23654
|
return n.add(e), n;
|
|
23360
23655
|
});
|
|
23361
|
-
}, []),
|
|
23656
|
+
}, []), Nc = useCallback(() => {
|
|
23362
23657
|
c((n) => {
|
|
23363
23658
|
let r = findActiveStep(e, n, t);
|
|
23364
23659
|
if (r == null || n.has(r.step.id)) return n;
|
|
@@ -23371,15 +23666,15 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
23371
23666
|
return /* @__PURE__ */ jsx(Fragment$1, { children: i({
|
|
23372
23667
|
context: t,
|
|
23373
23668
|
currentStep: g,
|
|
23374
|
-
currentStepIndex:
|
|
23669
|
+
currentStepIndex: Mc,
|
|
23375
23670
|
dismissedStepIds: o,
|
|
23376
23671
|
actions: useMemo(() => ({
|
|
23377
|
-
dismissCurrentStep:
|
|
23672
|
+
dismissCurrentStep: Nc,
|
|
23378
23673
|
dismissStep: A,
|
|
23379
23674
|
skipAll: R,
|
|
23380
23675
|
close: R
|
|
23381
23676
|
}), [
|
|
23382
|
-
|
|
23677
|
+
Nc,
|
|
23383
23678
|
A,
|
|
23384
23679
|
R
|
|
23385
23680
|
])
|
|
@@ -23592,7 +23887,7 @@ function useToastTimers(e, t) {
|
|
|
23592
23887
|
function Toaster() {
|
|
23593
23888
|
let [e, t] = useState([]), [n, r] = useState([]), i = useRef(/* @__PURE__ */ new Set()), a = useRef(/* @__PURE__ */ new Map()), o = useRef([]), { remainingTimes: c, pauseAll: u, resumeAll: f, cleanupTimer: p } = useToastTimers(e, a);
|
|
23594
23889
|
useEffect(() => toastStore.subscribe(t), []);
|
|
23595
|
-
let
|
|
23890
|
+
let Nc = useSyncExternalStore(subscribeNoop$1, getClientSnapshot$1, getServerSnapshot$1), R = useCallback((e) => {
|
|
23596
23891
|
e.callbacks?.onOpen?.();
|
|
23597
23892
|
}, []), B = useCallback((e, t) => {
|
|
23598
23893
|
t === "manual" ? e.callbacks?.onClose?.() : (t === "timeout" || t === "replaced") && e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
|
|
@@ -23620,17 +23915,17 @@ function Toaster() {
|
|
|
23620
23915
|
R,
|
|
23621
23916
|
B
|
|
23622
23917
|
]);
|
|
23623
|
-
let
|
|
23918
|
+
let Pc = useCallback((e) => {
|
|
23624
23919
|
r((t) => {
|
|
23625
23920
|
let n = t.filter((t) => t.id !== e);
|
|
23626
23921
|
return o.current = n, n;
|
|
23627
23922
|
}), p(e), toastStore.cleanup(e);
|
|
23628
|
-
}, [p]),
|
|
23923
|
+
}, [p]), Fc = useCallback((e) => {
|
|
23629
23924
|
a.current.set(e, "manual"), toastStore.remove(e);
|
|
23630
23925
|
}, []);
|
|
23631
|
-
if (!
|
|
23632
|
-
let
|
|
23633
|
-
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(
|
|
23926
|
+
if (!Nc) return null;
|
|
23927
|
+
let Ic = groupByPosition(n);
|
|
23928
|
+
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(Ic).map(([e, t]) => {
|
|
23634
23929
|
let n = t.filter((e) => e.singleSlot), r = t.filter((e) => !e.singleSlot), i = n.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
23635
23930
|
className: cn("isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1", SINGLE_SLOT_PLACE[e]),
|
|
23636
23931
|
children: n.map((e, t) => /* @__PURE__ */ jsx("div", {
|
|
@@ -23639,8 +23934,8 @@ function Toaster() {
|
|
|
23639
23934
|
children: /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23640
23935
|
toast: e,
|
|
23641
23936
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23642
|
-
onExitComplete:
|
|
23643
|
-
onClose:
|
|
23937
|
+
onExitComplete: Pc,
|
|
23938
|
+
onClose: Fc,
|
|
23644
23939
|
onHoverStart: u,
|
|
23645
23940
|
onHoverEnd: f
|
|
23646
23941
|
})
|
|
@@ -23648,8 +23943,8 @@ function Toaster() {
|
|
|
23648
23943
|
}) : null, a = r.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
|
|
23649
23944
|
toast: e,
|
|
23650
23945
|
remainingTime: c.get(e.id) ?? e.duration,
|
|
23651
|
-
onExitComplete:
|
|
23652
|
-
onClose:
|
|
23946
|
+
onExitComplete: Pc,
|
|
23947
|
+
onClose: Fc,
|
|
23653
23948
|
onHoverStart: u,
|
|
23654
23949
|
onHoverEnd: f
|
|
23655
23950
|
}, e.id));
|
|
@@ -23659,6 +23954,20 @@ function Toaster() {
|
|
|
23659
23954
|
}, e);
|
|
23660
23955
|
}) }), document.body);
|
|
23661
23956
|
}
|
|
23957
|
+
function ToolbarButton({ label: e, icon: t, count: n, variant: r = "tab", selected: i = !1, className: a, ...o }) {
|
|
23958
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
23959
|
+
...o,
|
|
23960
|
+
className: cn("gap-1 rounded-md py-1 font-semibold inline-flex shrink-0 items-center border text-[11px] whitespace-nowrap transition-colors", r === "tab" ? "px-1.5" : "px-2", r === "tab" && (i ? "border-brand-primary bg-primary-light-variant-2 text-toolbar-button-active-text" : "border-neutral-400 bg-white-variant-4 text-neutral-700 hover:border-toolbar-button-hover-border hover:text-toolbar-text-strong"), r === "menu" && (i ? "border-brand-primary bg-primary-light-variant-2 text-toolbar-button-active-text" : "border-toolbar-button-menu-border bg-primary-light-variant-2 text-toolbar-button-active-text hover:border-brand-primary"), a),
|
|
23961
|
+
children: [
|
|
23962
|
+
t,
|
|
23963
|
+
/* @__PURE__ */ jsx("span", { children: e }),
|
|
23964
|
+
n !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
23965
|
+
className: cn("h-4 min-w-4 rounded px-1 font-bold flex items-center justify-center text-[10px]", r === "menu" || i ? "bg-primary-subtle text-toolbar-button-active-text" : "bg-toolbar-badge-idle-bg text-neutral-700"),
|
|
23966
|
+
children: n
|
|
23967
|
+
})
|
|
23968
|
+
]
|
|
23969
|
+
});
|
|
23970
|
+
}
|
|
23662
23971
|
function AccountInfo({ title: e, value: t }) {
|
|
23663
23972
|
return /* @__PURE__ */ jsxs("div", {
|
|
23664
23973
|
className: "flex flex-col",
|
|
@@ -23931,7 +24240,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23931
24240
|
}),
|
|
23932
24241
|
onClick: r.read.off
|
|
23933
24242
|
}]
|
|
23934
|
-
},
|
|
24243
|
+
}, Nc = [{
|
|
23935
24244
|
value: "normal",
|
|
23936
24245
|
tooltip: "Normal density",
|
|
23937
24246
|
icon: /* @__PURE__ */ jsx(NormalDensityIcon, { size: 20 })
|
|
@@ -23975,7 +24284,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23975
24284
|
}),
|
|
23976
24285
|
/* @__PURE__ */ jsx("div", {
|
|
23977
24286
|
className: "gap-2 flex items-center",
|
|
23978
|
-
children:
|
|
24287
|
+
children: Nc.map(({ value: e, tooltip: t, icon: n }) => {
|
|
23979
24288
|
let r = f === e;
|
|
23980
24289
|
return /* @__PURE__ */ jsx(InfoTooltip, {
|
|
23981
24290
|
content: t,
|
|
@@ -24237,15 +24546,15 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
24237
24546
|
variant: r,
|
|
24238
24547
|
orientation: i,
|
|
24239
24548
|
status: a
|
|
24240
|
-
}), A = useRef(null), [
|
|
24241
|
-
function
|
|
24242
|
-
c === void 0 &&
|
|
24549
|
+
}), A = useRef(null), [Nc, R] = useState(!1), [B, Pc] = useState(!1), [Fc, Ic] = useState(l), [Lc, Rc] = useState(null), zc = c ?? Fc, Bc = s && (Nc || B || zc), Vc = typeof n == "number" && n > 0 && (o || a === "active");
|
|
24550
|
+
function Hc(e) {
|
|
24551
|
+
c === void 0 && Ic(e), u?.(e);
|
|
24243
24552
|
}
|
|
24244
24553
|
return useLayoutEffect(() => {
|
|
24245
|
-
if (!
|
|
24554
|
+
if (!Bc || !A.current) return;
|
|
24246
24555
|
function e() {
|
|
24247
24556
|
let e = A.current?.getBoundingClientRect();
|
|
24248
|
-
e &&
|
|
24557
|
+
e && Rc({
|
|
24249
24558
|
top: e.top - 8,
|
|
24250
24559
|
left: e.right - 12
|
|
24251
24560
|
});
|
|
@@ -24253,7 +24562,7 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
24253
24562
|
return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
24254
24563
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
24255
24564
|
};
|
|
24256
|
-
}, [
|
|
24565
|
+
}, [Bc]), /* @__PURE__ */ jsxs(Button, {
|
|
24257
24566
|
...g,
|
|
24258
24567
|
className: cn(O.root(), p?.root),
|
|
24259
24568
|
onMouseEnter: () => R(!0),
|
|
@@ -24264,17 +24573,17 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
24264
24573
|
ref: A,
|
|
24265
24574
|
className: cn(O.bubble(), p?.bubble),
|
|
24266
24575
|
children: renderIcon(e, O.icon())
|
|
24267
|
-
}),
|
|
24268
|
-
isPressed:
|
|
24576
|
+
}), Bc && Lc && typeof document < "u" && ToggleControlPortal({
|
|
24577
|
+
isPressed: zc,
|
|
24269
24578
|
isPortalHovered: B,
|
|
24270
|
-
portalPosition:
|
|
24271
|
-
onMouseEnter: () =>
|
|
24272
|
-
onMouseLeave: () =>
|
|
24273
|
-
onToggle: () =>
|
|
24579
|
+
portalPosition: Lc,
|
|
24580
|
+
onMouseEnter: () => Pc(!0),
|
|
24581
|
+
onMouseLeave: () => Pc(!1),
|
|
24582
|
+
onToggle: () => Hc(!zc)
|
|
24274
24583
|
})]
|
|
24275
24584
|
}), /* @__PURE__ */ jsxs("div", {
|
|
24276
24585
|
className: cn(O.label(), p?.label),
|
|
24277
|
-
children: [/* @__PURE__ */ jsx("span", { children: t }),
|
|
24586
|
+
children: [/* @__PURE__ */ jsx("span", { children: t }), Vc && /* @__PURE__ */ jsxs("span", {
|
|
24278
24587
|
"aria-label": `${n} items`,
|
|
24279
24588
|
className: cn(O.count(), p?.count),
|
|
24280
24589
|
children: [
|
|
@@ -24286,6 +24595,72 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
24286
24595
|
})]
|
|
24287
24596
|
});
|
|
24288
24597
|
}
|
|
24598
|
+
function CustomerGroupHeaderSkeleton({ labelWidthClassName: e = "w-32", className: t }) {
|
|
24599
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24600
|
+
"aria-hidden": "true",
|
|
24601
|
+
className: cn("flex items-center", t),
|
|
24602
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
24603
|
+
className: "min-w-0 gap-2 py-3 pr-2 pl-5 flex flex-1 items-center",
|
|
24604
|
+
children: [
|
|
24605
|
+
/* @__PURE__ */ jsx("span", { className: "rounded-sm size-3 shrink-0 bg-neutral-300-variant-3" }),
|
|
24606
|
+
/* @__PURE__ */ jsx("span", { className: "h-5 w-5 shrink-0 rounded-full bg-neutral-300-variant-3" }),
|
|
24607
|
+
/* @__PURE__ */ jsx("div", {
|
|
24608
|
+
className: "text-[13px]",
|
|
24609
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-3 inline-block align-middle", e) })
|
|
24610
|
+
}),
|
|
24611
|
+
/* @__PURE__ */ jsx("span", { className: "h-4 w-5 rounded bg-neutral-300-variant-3" })
|
|
24612
|
+
]
|
|
24613
|
+
})
|
|
24614
|
+
});
|
|
24615
|
+
}
|
|
24616
|
+
function CustomerGroupHeader({ label: e, count: t, open: n, onToggle: r, allOpen: i = !0, onToggleAll: a, className: o }) {
|
|
24617
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24618
|
+
className: cn("group/header flex items-center transition-colors hover:bg-group-header-hover-bg", o),
|
|
24619
|
+
children: [/* @__PURE__ */ jsxs("button", {
|
|
24620
|
+
type: "button",
|
|
24621
|
+
"aria-expanded": n,
|
|
24622
|
+
onClick: r,
|
|
24623
|
+
className: "min-w-0 gap-2 py-3 pr-2 pl-5 flex flex-1 cursor-pointer items-center text-left",
|
|
24624
|
+
children: [
|
|
24625
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
24626
|
+
size: 12,
|
|
24627
|
+
className: cn("shrink-0 text-neutral-700 transition-transform group-hover/header:text-group-header-text-strong", n && "rotate-90")
|
|
24628
|
+
}),
|
|
24629
|
+
/* @__PURE__ */ jsx("span", {
|
|
24630
|
+
"aria-hidden": "true",
|
|
24631
|
+
className: "h-5 w-5 font-bold flex shrink-0 items-center justify-center rounded-full bg-group-header-initial-bg text-[10px] text-group-header-initial-text",
|
|
24632
|
+
children: e.charAt(0)
|
|
24633
|
+
}),
|
|
24634
|
+
/* @__PURE__ */ jsx("span", {
|
|
24635
|
+
className: "font-semibold truncate text-[13px] text-group-header-text-strong",
|
|
24636
|
+
children: e
|
|
24637
|
+
}),
|
|
24638
|
+
/* @__PURE__ */ jsx("span", {
|
|
24639
|
+
className: "rounded px-1.5 font-semibold bg-neutral-400 text-[11px] text-neutral-700",
|
|
24640
|
+
children: t
|
|
24641
|
+
})
|
|
24642
|
+
]
|
|
24643
|
+
}), a && /* @__PURE__ */ jsxs("button", {
|
|
24644
|
+
type: "button",
|
|
24645
|
+
onClick: a,
|
|
24646
|
+
className: "mr-3 gap-1 rounded-md px-1.5 py-1 font-medium inline-flex shrink-0 items-center text-[11px] whitespace-nowrap text-neutral-700 hover:text-group-header-text-strong",
|
|
24647
|
+
children: [/* @__PURE__ */ jsx(MsIcon, {
|
|
24648
|
+
name: i ? "unfold_less" : "unfold_more",
|
|
24649
|
+
size: 13
|
|
24650
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
24651
|
+
className: "grid text-left",
|
|
24652
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
24653
|
+
"aria-hidden": "true",
|
|
24654
|
+
className: "invisible col-start-1 row-start-1",
|
|
24655
|
+
children: "Collapse all"
|
|
24656
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
24657
|
+
className: "col-start-1 row-start-1",
|
|
24658
|
+
children: i ? "Collapse all" : "Expand all"
|
|
24659
|
+
})]
|
|
24660
|
+
})]
|
|
24661
|
+
})]
|
|
24662
|
+
});
|
|
24663
|
+
}
|
|
24289
24664
|
function ActionMenuItem({ icon: e, label: t, className: n, selected: r, ...a }) {
|
|
24290
24665
|
return /* @__PURE__ */ jsxs(Button, {
|
|
24291
24666
|
className: cn("gap-2 px-3 py-2 flex items-center justify-start bg-white hover:bg-neutral-100", r && "bg-primary-500 text-white hover:bg-primary-bright", n),
|
|
@@ -24335,7 +24710,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24335
24710
|
n
|
|
24336
24711
|
]);
|
|
24337
24712
|
let A = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
|
|
24338
|
-
function
|
|
24713
|
+
function Nc(t) {
|
|
24339
24714
|
let o = t.getMonth(), s = t.getFullYear();
|
|
24340
24715
|
if ((o !== g.month || s !== g.year) && O({
|
|
24341
24716
|
year: s,
|
|
@@ -24370,7 +24745,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24370
24745
|
month: e.month + 1
|
|
24371
24746
|
});
|
|
24372
24747
|
}
|
|
24373
|
-
let
|
|
24748
|
+
let Pc = getWeekdays();
|
|
24374
24749
|
return /* @__PURE__ */ jsxs("div", {
|
|
24375
24750
|
className: "mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white",
|
|
24376
24751
|
children: [
|
|
@@ -24407,7 +24782,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24407
24782
|
}),
|
|
24408
24783
|
/* @__PURE__ */ jsx("div", {
|
|
24409
24784
|
className: "mb-2 grid grid-cols-7",
|
|
24410
|
-
children:
|
|
24785
|
+
children: Pc.map((e) => /* @__PURE__ */ jsx("div", {
|
|
24411
24786
|
className: "p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900",
|
|
24412
24787
|
children: e
|
|
24413
24788
|
}, e))
|
|
@@ -24415,12 +24790,12 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24415
24790
|
/* @__PURE__ */ jsx("div", {
|
|
24416
24791
|
className: "grid grid-cols-7",
|
|
24417
24792
|
children: A.map(({ day: r, date: i, isCurrentMonth: a }) => {
|
|
24418
|
-
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),
|
|
24419
|
-
e === "range" && u && !f && s && !isDateBefore(s, u) ? (
|
|
24420
|
-
let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i,
|
|
24793
|
+
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), Ac = u, g = s;
|
|
24794
|
+
e === "range" && u && !f && s && !isDateBefore(s, u) ? (Ac = u, g = s) : (Ac = null, g = null);
|
|
24795
|
+
let O = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, Ac, g)), Mc = l || p || h;
|
|
24421
24796
|
return /* @__PURE__ */ jsx(Button, {
|
|
24422
24797
|
type: "button",
|
|
24423
|
-
onClick: () =>
|
|
24798
|
+
onClick: () => Nc(i),
|
|
24424
24799
|
onMouseEnter: () => {
|
|
24425
24800
|
e === "range" && u && !f && !isDateBefore(i, u) && c(i);
|
|
24426
24801
|
},
|
|
@@ -24429,9 +24804,9 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24429
24804
|
},
|
|
24430
24805
|
className: "p-0.5",
|
|
24431
24806
|
"aria-label": `Select ${formatDate(i)}`,
|
|
24432
|
-
"aria-selected":
|
|
24807
|
+
"aria-selected": Mc || void 0,
|
|
24433
24808
|
children: /* @__PURE__ */ jsx("div", {
|
|
24434
|
-
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors",
|
|
24809
|
+
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", Mc && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500", O && !Mc && "font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30", o && !Mc && !O && "font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white", !Mc && !O && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
|
|
24435
24810
|
children: r
|
|
24436
24811
|
})
|
|
24437
24812
|
}, `${i.getFullYear()}-${i.getMonth()}-${r}`);
|
|
@@ -24499,7 +24874,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24499
24874
|
function g(t) {
|
|
24500
24875
|
e === "range" && (u || l(t), r?.(t));
|
|
24501
24876
|
}
|
|
24502
|
-
function
|
|
24877
|
+
function Mc() {
|
|
24503
24878
|
e === "single" ? h(null) : g({
|
|
24504
24879
|
startDate: null,
|
|
24505
24880
|
endDate: null
|
|
@@ -24510,7 +24885,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24510
24885
|
displayText: e === "single" ? formatDate(f) : formatDateRange(p.startDate, p.endDate),
|
|
24511
24886
|
disabled: i,
|
|
24512
24887
|
className: a,
|
|
24513
|
-
onClear:
|
|
24888
|
+
onClear: Mc
|
|
24514
24889
|
}),
|
|
24515
24890
|
disabled: i,
|
|
24516
24891
|
children: /* @__PURE__ */ jsx(CalendarPanel, {
|
|
@@ -24724,12 +25099,12 @@ function EventActionsList({ actions: e, className: t }) {
|
|
|
24724
25099
|
}) })
|
|
24725
25100
|
});
|
|
24726
25101
|
}
|
|
24727
|
-
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:
|
|
25102
|
+
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: Ac = {}, density: g = "normal", className: O, style: A, isPriority: Nc, isDone: R }) {
|
|
24728
25103
|
return /* @__PURE__ */ jsx(Card, {
|
|
24729
25104
|
as: Pressable,
|
|
24730
25105
|
onPress: u,
|
|
24731
25106
|
className: cn(eventCardStyles({
|
|
24732
|
-
tone:
|
|
25107
|
+
tone: Nc ? "priority" : R ? "done" : "default",
|
|
24733
25108
|
state: l ? "selected" : c ? "read" : "unread",
|
|
24734
25109
|
density: g
|
|
24735
25110
|
}), O),
|
|
@@ -24771,7 +25146,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24771
25146
|
/* @__PURE__ */ jsxs(CardFooter, {
|
|
24772
25147
|
className: "mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center",
|
|
24773
25148
|
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: h }), /* @__PURE__ */ jsx(EventActionsList, {
|
|
24774
|
-
actions:
|
|
25149
|
+
actions: Ac,
|
|
24775
25150
|
className: "col-start-2 justify-self-end"
|
|
24776
25151
|
})]
|
|
24777
25152
|
})
|
|
@@ -24810,7 +25185,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24810
25185
|
]
|
|
24811
25186
|
}),
|
|
24812
25187
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
24813
|
-
/* @__PURE__ */ jsx(EventActionsList, { actions:
|
|
25188
|
+
/* @__PURE__ */ jsx(EventActionsList, { actions: Ac }),
|
|
24814
25189
|
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24815
25190
|
content: o,
|
|
24816
25191
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -25055,11 +25430,11 @@ function EventSummaryFireButton({ active: e, onClick: t }) {
|
|
|
25055
25430
|
}) });
|
|
25056
25431
|
}
|
|
25057
25432
|
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 }) {
|
|
25058
|
-
let { fire: f, insight: p, link: h } = l,
|
|
25433
|
+
let { fire: f, insight: p, link: h } = l, Ac = p?.label ?? null;
|
|
25059
25434
|
return /* @__PURE__ */ jsxs(Pressable, {
|
|
25060
25435
|
onPress: c,
|
|
25061
25436
|
className: cn(eventSummaryCardStyles({
|
|
25062
|
-
tone: f.active ? "priority" : insightLabelVisible(
|
|
25437
|
+
tone: f.active ? "priority" : insightLabelVisible(Ac) ? "insight" : "default",
|
|
25063
25438
|
state: s ? "selected" : "normal"
|
|
25064
25439
|
}), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
|
|
25065
25440
|
"data-service": t,
|
|
@@ -25083,7 +25458,7 @@ function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i
|
|
|
25083
25458
|
className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
|
|
25084
25459
|
children: a
|
|
25085
25460
|
}),
|
|
25086
|
-
insightLabelVisible(
|
|
25461
|
+
insightLabelVisible(Ac) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: Ac }),
|
|
25087
25462
|
f.onClick && /* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
25088
25463
|
active: f.active,
|
|
25089
25464
|
onClick: f.onClick
|
|
@@ -25355,13 +25730,13 @@ function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityTe
|
|
|
25355
25730
|
}, []), f = u.length, p = new Map(c.map((e) => {
|
|
25356
25731
|
let t = e.insightBadgeId ?? e.id, n = u.indexOf(t);
|
|
25357
25732
|
return [e.id, f - n];
|
|
25358
|
-
})),
|
|
25733
|
+
})), Ac = /* @__PURE__ */ new Set(), g = new Set(c.reduce((e, t) => {
|
|
25359
25734
|
let n = t.insightBadgeId ?? t.id;
|
|
25360
|
-
return
|
|
25361
|
-
}, [])), O = useRef(null), A = useRef(null),
|
|
25735
|
+
return Ac.has(n) || (Ac.add(n), e.push(t.id)), e;
|
|
25736
|
+
}, [])), O = useRef(null), A = useRef(null), Nc = useRef(!1);
|
|
25362
25737
|
useEffect(() => {
|
|
25363
|
-
if (e.length === 0 ||
|
|
25364
|
-
|
|
25738
|
+
if (e.length === 0 || Nc.current) return;
|
|
25739
|
+
Nc.current = !0;
|
|
25365
25740
|
let t = [...e].reverse().find((e) => e.isPriority), n = [...e].reverse().find((e) => !e.isPriority && e.isInsight), r = t ?? n;
|
|
25366
25741
|
if (r && O.current) {
|
|
25367
25742
|
let e = O.current.querySelector(`[data-group-id="${r.id}"]`);
|
|
@@ -25479,7 +25854,7 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
|
|
|
25479
25854
|
]
|
|
25480
25855
|
})] });
|
|
25481
25856
|
}
|
|
25482
|
-
function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, issue: a, notification: o, project: s, task: c, dueDate: l, startDate: u, assignees: f, reporter: p, team: h, location:
|
|
25857
|
+
function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, issue: a, notification: o, project: s, task: c, dueDate: l, startDate: u, assignees: f, reporter: p, team: h, location: Ac, related: g }, className: O }) {
|
|
25483
25858
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
25484
25859
|
summary: e,
|
|
25485
25860
|
priorityText: n,
|
|
@@ -25497,7 +25872,7 @@ function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText:
|
|
|
25497
25872
|
assignees: f,
|
|
25498
25873
|
reporter: p,
|
|
25499
25874
|
team: h,
|
|
25500
|
-
location:
|
|
25875
|
+
location: Ac,
|
|
25501
25876
|
related: g
|
|
25502
25877
|
}),
|
|
25503
25878
|
/* @__PURE__ */ jsx("h2", {
|
|
@@ -26293,10 +26668,10 @@ function OnboardingCard({ stepLabel: e, title: t, description: n, titleAccessory
|
|
|
26293
26668
|
children: [i, a]
|
|
26294
26669
|
})
|
|
26295
26670
|
]
|
|
26296
|
-
}),
|
|
26671
|
+
}), Ac = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
|
|
26297
26672
|
layout: o,
|
|
26298
26673
|
placement: s
|
|
26299
|
-
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
26674
|
+
}), c, l), g = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [Ac, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, Ac] });
|
|
26300
26675
|
return o === "horizontal" ? /* @__PURE__ */ jsx("div", {
|
|
26301
26676
|
className: cn("flex items-center", u),
|
|
26302
26677
|
children: g
|
|
@@ -26539,46 +26914,246 @@ function PulseFilterChipSkeleton({ labelWidthClassName: e = "w-16", className: t
|
|
|
26539
26914
|
children: [/* @__PURE__ */ jsx("div", { className: "size-3 shrink-0 rounded-full bg-neutral-300-variant-3" }), /* @__PURE__ */ jsx(Skeleton, { className: cn("h-3", e) })]
|
|
26540
26915
|
});
|
|
26541
26916
|
}
|
|
26542
|
-
function
|
|
26543
|
-
|
|
26544
|
-
|
|
26545
|
-
|
|
26546
|
-
}
|
|
26547
|
-
function g() {
|
|
26548
|
-
u || l(""), r?.(""), a?.();
|
|
26549
|
-
}
|
|
26550
|
-
return /* @__PURE__ */ jsxs("fieldset", {
|
|
26551
|
-
role: "search",
|
|
26552
|
-
className: cn("h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white", o && "pointer-events-none bg-neutral-200 opacity-70", s),
|
|
26553
|
-
disabled: o,
|
|
26917
|
+
function PulseSignalCardSkeleton({ className: e }) {
|
|
26918
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
26919
|
+
"aria-hidden": "true",
|
|
26920
|
+
className: cn("min-h-24 p-4 relative w-full rounded-[4px] border border-pulse-card-border bg-white-variant-5", e),
|
|
26554
26921
|
children: [
|
|
26555
|
-
/* @__PURE__ */
|
|
26556
|
-
|
|
26557
|
-
className: "
|
|
26922
|
+
/* @__PURE__ */ jsxs("span", {
|
|
26923
|
+
className: "right-3 gap-1.5 absolute top-[10px] flex items-center",
|
|
26924
|
+
children: [/* @__PURE__ */ jsx("span", { className: "rounded-sm size-[13px] bg-neutral-300-variant-3" }), /* @__PURE__ */ jsx("span", {
|
|
26925
|
+
className: "h-6 w-6 flex items-center justify-center",
|
|
26926
|
+
children: /* @__PURE__ */ jsx("span", { className: "rounded-sm size-3 bg-neutral-300-variant-3" })
|
|
26927
|
+
})]
|
|
26558
26928
|
}),
|
|
26559
|
-
/* @__PURE__ */
|
|
26560
|
-
|
|
26561
|
-
|
|
26562
|
-
placeholder: n,
|
|
26563
|
-
onChange: h,
|
|
26564
|
-
onKeyDown: i,
|
|
26565
|
-
className: cn("m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800", "bg-transparent outline-none", "placeholder:text-neutral-700-alpha-60", o && "text-neutral-700-alpha-60")
|
|
26929
|
+
/* @__PURE__ */ jsxs("div", {
|
|
26930
|
+
className: "mb-1 pr-10 text-[13px]",
|
|
26931
|
+
children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-16 inline-block align-middle" }), /* @__PURE__ */ jsx(Skeleton, { className: "ml-1.5 h-2.5 w-20 inline-block align-middle" })]
|
|
26566
26932
|
}),
|
|
26567
|
-
|
|
26568
|
-
|
|
26569
|
-
|
|
26570
|
-
|
|
26571
|
-
|
|
26572
|
-
|
|
26573
|
-
|
|
26574
|
-
|
|
26575
|
-
|
|
26576
|
-
|
|
26577
|
-
|
|
26578
|
-
|
|
26579
|
-
|
|
26580
|
-
|
|
26581
|
-
|
|
26933
|
+
/* @__PURE__ */ jsx("div", {
|
|
26934
|
+
className: "mb-1 pr-10 leading-snug text-[13px]",
|
|
26935
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 inline-block w-3/5 align-middle" })
|
|
26936
|
+
}),
|
|
26937
|
+
/* @__PURE__ */ jsx("div", {
|
|
26938
|
+
className: "pr-10 leading-snug text-[12px]",
|
|
26939
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 inline-block w-11/12 align-middle" })
|
|
26940
|
+
}),
|
|
26941
|
+
/* @__PURE__ */ jsx("div", {
|
|
26942
|
+
className: "mt-1.5 pr-10 leading-snug text-[12px]",
|
|
26943
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 inline-block w-4/5 align-middle" })
|
|
26944
|
+
}),
|
|
26945
|
+
/* @__PURE__ */ jsx("div", {
|
|
26946
|
+
className: "mt-1 pr-10 text-[11px]",
|
|
26947
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-24 inline-block align-middle" })
|
|
26948
|
+
})
|
|
26949
|
+
]
|
|
26950
|
+
});
|
|
26951
|
+
}
|
|
26952
|
+
var SEVERITY = {
|
|
26953
|
+
fire: {
|
|
26954
|
+
icon: FireFillIcon,
|
|
26955
|
+
text: "text-tertiary-500-variant-2"
|
|
26956
|
+
},
|
|
26957
|
+
spark: {
|
|
26958
|
+
icon: InsightFillIcon,
|
|
26959
|
+
text: "text-brand-primary"
|
|
26960
|
+
},
|
|
26961
|
+
watching: {
|
|
26962
|
+
icon: EyeFillIcon,
|
|
26963
|
+
text: "text-neutral-700-variant-1"
|
|
26964
|
+
}
|
|
26965
|
+
}, MOVE = {
|
|
26966
|
+
respond: {
|
|
26967
|
+
label: "Respond",
|
|
26968
|
+
style: "text-pulse-card-tag-respond-text border-pulse-card-tag-respond-border"
|
|
26969
|
+
},
|
|
26970
|
+
decide: {
|
|
26971
|
+
label: "Decide",
|
|
26972
|
+
style: "text-pulse-card-tag-decide-text border-pulse-card-tag-decide-border"
|
|
26973
|
+
},
|
|
26974
|
+
observe: {
|
|
26975
|
+
label: "Observe",
|
|
26976
|
+
style: "border-neutral-400 text-neutral-700"
|
|
26977
|
+
}
|
|
26978
|
+
};
|
|
26979
|
+
function PulseSignalStatus({ timeText: e, severity: t, slaLabel: n, move: r, keepSize: i = !1, className: a }) {
|
|
26980
|
+
let { icon: o, text: s } = SEVERITY[t];
|
|
26981
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
26982
|
+
className: cn("gap-1.5 flex items-center", a),
|
|
26983
|
+
children: [
|
|
26984
|
+
e && /* @__PURE__ */ jsx("span", {
|
|
26985
|
+
className: cn("font-bold text-[13px]", i && "shrink-0", s),
|
|
26986
|
+
children: e
|
|
26987
|
+
}),
|
|
26988
|
+
/* @__PURE__ */ jsxs("span", {
|
|
26989
|
+
className: cn("gap-1 font-medium inline-flex items-center text-[11px] text-neutral-700", i && "shrink-0"),
|
|
26990
|
+
children: [/* @__PURE__ */ jsx(o, {
|
|
26991
|
+
size: 14,
|
|
26992
|
+
className: s
|
|
26993
|
+
}), n]
|
|
26994
|
+
}),
|
|
26995
|
+
r && /* @__PURE__ */ jsx("span", {
|
|
26996
|
+
className: cn("h-4 rounded px-1.5 font-semibold inline-flex items-center border text-[10px]", i && "shrink-0", MOVE[r].style),
|
|
26997
|
+
children: MOVE[r].label
|
|
26998
|
+
})
|
|
26999
|
+
]
|
|
27000
|
+
});
|
|
27001
|
+
}
|
|
27002
|
+
var pulseSignalCardStyles = tv({
|
|
27003
|
+
base: "min-h-24 p-4 relative h-full w-full rounded-[4px] border bg-white-variant-5 text-left transition-colors outline-none focus-visible:ring-2 focus-visible:ring-brand-primary",
|
|
27004
|
+
variants: {
|
|
27005
|
+
tone: {
|
|
27006
|
+
response: "",
|
|
27007
|
+
review: "",
|
|
27008
|
+
spark: ""
|
|
27009
|
+
},
|
|
27010
|
+
selected: {
|
|
27011
|
+
true: "",
|
|
27012
|
+
false: "border-pulse-card-border"
|
|
27013
|
+
}
|
|
27014
|
+
},
|
|
27015
|
+
compoundVariants: [
|
|
27016
|
+
{
|
|
27017
|
+
tone: "response",
|
|
27018
|
+
selected: !0,
|
|
27019
|
+
class: "border-tertiary-500-variant-2"
|
|
27020
|
+
},
|
|
27021
|
+
{
|
|
27022
|
+
tone: "response",
|
|
27023
|
+
selected: !1,
|
|
27024
|
+
class: "hover:border-tertiary-500-variant-2 hover:bg-tertiary-500-variant-4"
|
|
27025
|
+
},
|
|
27026
|
+
{
|
|
27027
|
+
tone: "review",
|
|
27028
|
+
selected: !0,
|
|
27029
|
+
class: "border-amber-400"
|
|
27030
|
+
},
|
|
27031
|
+
{
|
|
27032
|
+
tone: "review",
|
|
27033
|
+
selected: !1,
|
|
27034
|
+
class: "hover:border-amber-400 hover:bg-pulse-card-review-hover-bg"
|
|
27035
|
+
},
|
|
27036
|
+
{
|
|
27037
|
+
tone: "spark",
|
|
27038
|
+
selected: !0,
|
|
27039
|
+
class: "border-brand-primary"
|
|
27040
|
+
},
|
|
27041
|
+
{
|
|
27042
|
+
tone: "spark",
|
|
27043
|
+
selected: !1,
|
|
27044
|
+
class: "hover:border-brand-primary hover:bg-pulse-card-spark-hover-bg"
|
|
27045
|
+
}
|
|
27046
|
+
]
|
|
27047
|
+
});
|
|
27048
|
+
function PulseSignalCard({ timeText: e, severity: t, slaLabel: n, move: r, subject: i, askAuthor: a, askText: o, nextLabel: s, nextText: c, owner: l, sources: u, tone: f, selected: p = !1, onClick: h, onOpenThread: Ac, className: g }) {
|
|
27049
|
+
return /* @__PURE__ */ jsxs(Pressable, {
|
|
27050
|
+
onPress: h,
|
|
27051
|
+
className: cn(pulseSignalCardStyles({
|
|
27052
|
+
tone: f,
|
|
27053
|
+
selected: p
|
|
27054
|
+
}), g),
|
|
27055
|
+
children: [
|
|
27056
|
+
/* @__PURE__ */ jsxs("span", {
|
|
27057
|
+
className: "right-3 gap-1.5 absolute top-[10px] flex items-center",
|
|
27058
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
27059
|
+
className: "gap-1 flex items-center",
|
|
27060
|
+
children: u
|
|
27061
|
+
}), Ac && /* @__PURE__ */ jsx(InfoTooltip, {
|
|
27062
|
+
content: "Open thread",
|
|
27063
|
+
position: "top",
|
|
27064
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
27065
|
+
type: "button",
|
|
27066
|
+
"aria-label": "Open thread",
|
|
27067
|
+
onClick: (e) => {
|
|
27068
|
+
e.stopPropagation(), Ac();
|
|
27069
|
+
},
|
|
27070
|
+
onKeyDown: (e) => e.stopPropagation(),
|
|
27071
|
+
className: "h-6 w-6 rounded-md flex items-center justify-center text-neutral-700 transition-colors hover:bg-pulse-card-action-hover-bg hover:text-pulse-card-action-hover-text",
|
|
27072
|
+
children: /* @__PURE__ */ jsx(ExternalLinkOutlineIcon, { size: 12 })
|
|
27073
|
+
})
|
|
27074
|
+
})]
|
|
27075
|
+
}),
|
|
27076
|
+
/* @__PURE__ */ jsx(PulseSignalStatus, {
|
|
27077
|
+
className: "mb-1 pr-10",
|
|
27078
|
+
timeText: e,
|
|
27079
|
+
severity: t,
|
|
27080
|
+
slaLabel: n,
|
|
27081
|
+
move: r
|
|
27082
|
+
}),
|
|
27083
|
+
/* @__PURE__ */ jsx("p", {
|
|
27084
|
+
className: "mb-1 pr-10 leading-snug font-semibold line-clamp-1 text-[13px] text-neutral-900",
|
|
27085
|
+
children: i
|
|
27086
|
+
}),
|
|
27087
|
+
o && /* @__PURE__ */ jsxs("p", {
|
|
27088
|
+
className: "pr-10 leading-snug line-clamp-2 text-[12px] text-pulse-card-text",
|
|
27089
|
+
children: [
|
|
27090
|
+
/* @__PURE__ */ jsxs("span", {
|
|
27091
|
+
className: "font-semibold",
|
|
27092
|
+
children: [a, ":"]
|
|
27093
|
+
}),
|
|
27094
|
+
" “",
|
|
27095
|
+
o,
|
|
27096
|
+
"”"
|
|
27097
|
+
]
|
|
27098
|
+
}),
|
|
27099
|
+
c && /* @__PURE__ */ jsxs("p", {
|
|
27100
|
+
className: "mt-1.5 pr-10 leading-snug text-[12px] text-pulse-card-text",
|
|
27101
|
+
children: [
|
|
27102
|
+
/* @__PURE__ */ jsx("span", {
|
|
27103
|
+
className: "font-semibold",
|
|
27104
|
+
children: s
|
|
27105
|
+
}),
|
|
27106
|
+
" ",
|
|
27107
|
+
c
|
|
27108
|
+
]
|
|
27109
|
+
}),
|
|
27110
|
+
/* @__PURE__ */ jsx("p", {
|
|
27111
|
+
className: "mt-1 pr-10 line-clamp-1 text-[11px] text-neutral-700",
|
|
27112
|
+
children: l ? `Likely: ${l}` : "Responsibility unclear"
|
|
27113
|
+
})
|
|
27114
|
+
]
|
|
27115
|
+
});
|
|
27116
|
+
}
|
|
27117
|
+
function SearchInput({ value: e, defaultValue: t, placeholder: n = "Search...", onChange: r, onKeyDown: i, onClear: a, disabled: o = !1, className: s }) {
|
|
27118
|
+
let [c, l] = useState(t ?? ""), u = typeof e == "string", f = u ? e : c, p = f.length > 0;
|
|
27119
|
+
function h(e) {
|
|
27120
|
+
u || l(e), r?.(e);
|
|
27121
|
+
}
|
|
27122
|
+
function g() {
|
|
27123
|
+
u || l(""), r?.(""), a?.();
|
|
27124
|
+
}
|
|
27125
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
27126
|
+
role: "search",
|
|
27127
|
+
className: cn("h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white", o && "pointer-events-none bg-neutral-200 opacity-70", s),
|
|
27128
|
+
disabled: o,
|
|
27129
|
+
children: [
|
|
27130
|
+
/* @__PURE__ */ jsx(SearchIcon, {
|
|
27131
|
+
size: 20,
|
|
27132
|
+
className: "text-neutral-700"
|
|
27133
|
+
}),
|
|
27134
|
+
/* @__PURE__ */ jsx(Input, {
|
|
27135
|
+
type: "text",
|
|
27136
|
+
value: f,
|
|
27137
|
+
placeholder: n,
|
|
27138
|
+
onChange: h,
|
|
27139
|
+
onKeyDown: i,
|
|
27140
|
+
className: cn("m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800", "bg-transparent outline-none", "placeholder:text-neutral-700-alpha-60", o && "text-neutral-700-alpha-60")
|
|
27141
|
+
}),
|
|
27142
|
+
p && !o && /* @__PURE__ */ jsx(IconButton, {
|
|
27143
|
+
type: "button",
|
|
27144
|
+
icon: /* @__PURE__ */ jsx(CloseIcon, {
|
|
27145
|
+
size: 16,
|
|
27146
|
+
className: "text-neutral-700"
|
|
27147
|
+
}),
|
|
27148
|
+
onClick: g,
|
|
27149
|
+
"aria-label": "Clear search",
|
|
27150
|
+
className: "rounded p-0 transition-opacity hover:opacity-70"
|
|
27151
|
+
})
|
|
27152
|
+
]
|
|
27153
|
+
});
|
|
27154
|
+
}
|
|
27155
|
+
var chipStyles = tv({
|
|
27156
|
+
slots: {
|
|
26582
27157
|
root: "inline-flex h-5 min-w-0 items-center gap-1 rounded-full py-0.5 pr-1 pl-2 text-[11px] font-semibold",
|
|
26583
27158
|
close: "flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current"
|
|
26584
27159
|
},
|
|
@@ -26848,14 +27423,14 @@ function SourceIcons({ sourceTypes: e, sourceLink: t, onOpenSource: n, sourceToo
|
|
|
26848
27423
|
})]
|
|
26849
27424
|
});
|
|
26850
27425
|
}
|
|
26851
|
-
function SignalCard({ title: e, clientName: t, requesterName: n, explanation: r, severity: i, status: a, slaLabel: o, slaStatusLabel: s, sourceTypes: c, sourceLink: l, onOpenSource: u, sourceTooltip: f, patternContext: p, variant: h = "home", selected:
|
|
27426
|
+
function SignalCard({ title: e, clientName: t, requesterName: n, explanation: r, severity: i, status: a, slaLabel: o, slaStatusLabel: s, sourceTypes: c, sourceLink: l, onOpenSource: u, sourceTooltip: f, patternContext: p, variant: h = "home", selected: Ac = !1, onClick: g, className: O }) {
|
|
26852
27427
|
let A = SEVERITY_CONFIG$1[i];
|
|
26853
27428
|
return /* @__PURE__ */ jsxs(Pressable, {
|
|
26854
27429
|
onPress: g,
|
|
26855
27430
|
className: cn(signalCardStyles({
|
|
26856
27431
|
layout: h,
|
|
26857
27432
|
status: a,
|
|
26858
|
-
selected:
|
|
27433
|
+
selected: Ac
|
|
26859
27434
|
}), O),
|
|
26860
27435
|
children: [
|
|
26861
27436
|
/* @__PURE__ */ jsx(SourceIcons, {
|
|
@@ -26962,7 +27537,7 @@ function SignalClusterCardSkeleton({ className: e }) {
|
|
|
26962
27537
|
]
|
|
26963
27538
|
});
|
|
26964
27539
|
}
|
|
26965
|
-
var barStyles = tv({
|
|
27540
|
+
var barStyles$1 = tv({
|
|
26966
27541
|
base: "h-full rounded-full",
|
|
26967
27542
|
variants: { status: {
|
|
26968
27543
|
met: "bg-green-400",
|
|
@@ -26971,7 +27546,7 @@ var barStyles = tv({
|
|
|
26971
27546
|
overdue: "bg-amber-400",
|
|
26972
27547
|
way_overdue: "bg-red-500"
|
|
26973
27548
|
} }
|
|
26974
|
-
}), badgeStyles = tv({
|
|
27549
|
+
}), badgeStyles$1 = tv({
|
|
26975
27550
|
base: "rounded-full px-2 py-0.5 text-[10px] font-semibold",
|
|
26976
27551
|
variants: { status: {
|
|
26977
27552
|
met: "bg-green-50 text-green-700",
|
|
@@ -26993,14 +27568,14 @@ function SlaProgressBar({ policyLabel: e, statusLabel: t, status: n, actualLabel
|
|
|
26993
27568
|
className: "text-[10px] font-bold tracking-widest text-neutral-900 uppercase",
|
|
26994
27569
|
children: e
|
|
26995
27570
|
}), /* @__PURE__ */ jsx("span", {
|
|
26996
|
-
className: badgeStyles({ status: n }),
|
|
27571
|
+
className: badgeStyles$1({ status: n }),
|
|
26997
27572
|
children: t
|
|
26998
27573
|
})]
|
|
26999
27574
|
}),
|
|
27000
27575
|
/* @__PURE__ */ jsx("div", {
|
|
27001
27576
|
className: "h-1.5 overflow-hidden rounded-full bg-neutral-200",
|
|
27002
27577
|
children: /* @__PURE__ */ jsx("div", {
|
|
27003
|
-
className: barStyles({ status: n }),
|
|
27578
|
+
className: barStyles$1({ status: n }),
|
|
27004
27579
|
style: { width: `${c}%` }
|
|
27005
27580
|
})
|
|
27006
27581
|
}),
|
|
@@ -27164,8 +27739,8 @@ function GuardrailTooltip({ text: e }) {
|
|
|
27164
27739
|
})
|
|
27165
27740
|
});
|
|
27166
27741
|
}
|
|
27167
|
-
function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStatusLabel: r, statusLabel: i, statusTone: a, sourceType: o, sourceLink: s, onOpenSource: c, sourceTooltip: l, clientCompany: u, contactName: f, teamCompanyName: p, recipientLabel: h, sla: g, claim: O, sameThreadGuardrail: A, evidenceItems:
|
|
27168
|
-
let
|
|
27742
|
+
function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStatusLabel: r, statusLabel: i, statusTone: a, sourceType: o, sourceLink: s, onOpenSource: c, sourceTooltip: l, clientCompany: u, contactName: f, teamCompanyName: p, recipientLabel: h, sla: g, claim: O, sameThreadGuardrail: A, evidenceItems: Nc, nextStep: R, actionRationale: B, rankingRationale: Pc, attentionRationale: Fc, dismissOptions: Ic, onClose: Lc, onResolve: Rc, onDismiss: zc, className: Bc, ...Vc }) {
|
|
27743
|
+
let Hc = SEVERITY_CONFIG[t], [Uc, Wc] = useState(!1), [Gc, Kc] = useState(null), [qc, V] = useState(!1), [Yc, Xc] = useState(!1), Zc = () => {
|
|
27169
27744
|
let t = [r, n].filter(Boolean).join(" · "), i = [
|
|
27170
27745
|
e,
|
|
27171
27746
|
"",
|
|
@@ -27175,12 +27750,12 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27175
27750
|
...t ? ["", t] : []
|
|
27176
27751
|
];
|
|
27177
27752
|
navigator.clipboard.writeText(i.join("\n")).catch(() => {}), V(!0), setTimeout(() => V(!1), 2e3);
|
|
27178
|
-
},
|
|
27179
|
-
|
|
27753
|
+
}, Qc = () => {
|
|
27754
|
+
zc?.(Gc ?? void 0), Wc(!1), Kc(null);
|
|
27180
27755
|
};
|
|
27181
27756
|
return /* @__PURE__ */ jsxs("div", {
|
|
27182
|
-
className: cn("flex h-full flex-col overflow-y-auto bg-white-variant-8", STATUS_BADGE_STYLES[a].accentBar,
|
|
27183
|
-
...
|
|
27757
|
+
className: cn("flex h-full flex-col overflow-y-auto bg-white-variant-8", STATUS_BADGE_STYLES[a].accentBar, Bc),
|
|
27758
|
+
...Vc,
|
|
27184
27759
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
27185
27760
|
className: "sticky top-0 z-20 shrink-0 border-b border-neutral-200-variant-1 bg-white-variant-8 px-4 pt-5 pb-4",
|
|
27186
27761
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -27193,12 +27768,12 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27193
27768
|
children: e
|
|
27194
27769
|
}),
|
|
27195
27770
|
n && /* @__PURE__ */ jsx("span", {
|
|
27196
|
-
className: cn("text-[13px] font-bold shrink-0",
|
|
27771
|
+
className: cn("text-[13px] font-bold shrink-0", Hc.text),
|
|
27197
27772
|
children: n
|
|
27198
27773
|
}),
|
|
27199
27774
|
r && /* @__PURE__ */ jsxs("span", {
|
|
27200
27775
|
className: "inline-flex shrink-0 items-center gap-1 text-[10px] font-medium text-neutral-500",
|
|
27201
|
-
children: [
|
|
27776
|
+
children: [Hc.icon && /* @__PURE__ */ jsx(Hc.icon, {
|
|
27202
27777
|
size: 11,
|
|
27203
27778
|
className: "text-neutral-500"
|
|
27204
27779
|
}), r]
|
|
@@ -27208,9 +27783,9 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27208
27783
|
children: [/* @__PURE__ */ jsx("span", { className: cn("h-1.5 w-1.5 shrink-0 rounded-full", STATUS_BADGE_STYLES[a].dot) }), i]
|
|
27209
27784
|
})
|
|
27210
27785
|
]
|
|
27211
|
-
}),
|
|
27786
|
+
}), Lc && /* @__PURE__ */ jsx(Button, {
|
|
27212
27787
|
type: "button",
|
|
27213
|
-
onClick:
|
|
27788
|
+
onClick: Lc,
|
|
27214
27789
|
"aria-label": "Close",
|
|
27215
27790
|
className: "h-7 w-7 shrink-0 rounded-lg hover:bg-neutral-100",
|
|
27216
27791
|
children: /* @__PURE__ */ jsx("svg", {
|
|
@@ -27306,28 +27881,28 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27306
27881
|
children: B
|
|
27307
27882
|
})]
|
|
27308
27883
|
}),
|
|
27309
|
-
|
|
27884
|
+
Pc ? /* @__PURE__ */ jsxs("div", {
|
|
27310
27885
|
className: "rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5",
|
|
27311
27886
|
children: [/* @__PURE__ */ jsx("p", {
|
|
27312
27887
|
className: "mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase",
|
|
27313
27888
|
children: "Why ranked first"
|
|
27314
27889
|
}), /* @__PURE__ */ jsx("p", {
|
|
27315
27890
|
className: "text-sm text-neutral-800",
|
|
27316
|
-
children:
|
|
27891
|
+
children: Pc
|
|
27317
27892
|
})]
|
|
27318
|
-
}) :
|
|
27893
|
+
}) : Fc ? /* @__PURE__ */ jsxs("div", {
|
|
27319
27894
|
className: "rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5",
|
|
27320
27895
|
children: [/* @__PURE__ */ jsx("p", {
|
|
27321
27896
|
className: "mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase",
|
|
27322
27897
|
children: "Why this needs attention"
|
|
27323
27898
|
}), /* @__PURE__ */ jsx("p", {
|
|
27324
27899
|
className: "text-sm text-neutral-800",
|
|
27325
|
-
children:
|
|
27900
|
+
children: Fc
|
|
27326
27901
|
})]
|
|
27327
27902
|
}) : null,
|
|
27328
27903
|
/* @__PURE__ */ jsx(SectionCard, {
|
|
27329
27904
|
title: "What do you want to do?",
|
|
27330
|
-
children:
|
|
27905
|
+
children: Uc ? /* @__PURE__ */ jsxs("div", {
|
|
27331
27906
|
className: "flex flex-col gap-2",
|
|
27332
27907
|
children: [
|
|
27333
27908
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -27336,10 +27911,10 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27336
27911
|
}),
|
|
27337
27912
|
/* @__PURE__ */ jsx("div", {
|
|
27338
27913
|
className: "flex flex-wrap gap-1.5",
|
|
27339
|
-
children:
|
|
27914
|
+
children: Ic.map((e) => /* @__PURE__ */ jsx(Button, {
|
|
27340
27915
|
type: "button",
|
|
27341
|
-
onClick: () =>
|
|
27342
|
-
className:
|
|
27916
|
+
onClick: () => Kc((t) => t === e.id ? null : e.id),
|
|
27917
|
+
className: Gc === e.id ? "rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white" : "rounded-full border border-neutral-300 bg-white px-2.5 py-1 text-[11px] font-medium text-neutral-700 hover:border-neutral-500",
|
|
27343
27918
|
children: e.label
|
|
27344
27919
|
}, e.id))
|
|
27345
27920
|
}),
|
|
@@ -27348,21 +27923,21 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27348
27923
|
children: [
|
|
27349
27924
|
/* @__PURE__ */ jsx(Button, {
|
|
27350
27925
|
type: "button",
|
|
27351
|
-
onClick:
|
|
27926
|
+
onClick: Qc,
|
|
27352
27927
|
className: "rounded-lg bg-neutral-800 px-3 py-1.5 text-xs font-semibold text-white",
|
|
27353
27928
|
children: "Confirm"
|
|
27354
27929
|
}),
|
|
27355
27930
|
/* @__PURE__ */ jsx(Button, {
|
|
27356
27931
|
type: "button",
|
|
27357
27932
|
onClick: () => {
|
|
27358
|
-
|
|
27933
|
+
Wc(!1), Kc(null);
|
|
27359
27934
|
},
|
|
27360
27935
|
className: "text-xs font-medium text-neutral-700-variant-1 hover:underline",
|
|
27361
27936
|
children: "Cancel"
|
|
27362
27937
|
}),
|
|
27363
27938
|
/* @__PURE__ */ jsx(Button, {
|
|
27364
27939
|
type: "button",
|
|
27365
|
-
onClick:
|
|
27940
|
+
onClick: Rc,
|
|
27366
27941
|
className: "ml-auto text-xs font-medium text-primary-500 hover:underline",
|
|
27367
27942
|
children: "Mark handled instead"
|
|
27368
27943
|
})
|
|
@@ -27390,21 +27965,21 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27390
27965
|
})(),
|
|
27391
27966
|
/* @__PURE__ */ jsxs(Button, {
|
|
27392
27967
|
type: "button",
|
|
27393
|
-
onClick:
|
|
27968
|
+
onClick: Rc,
|
|
27394
27969
|
className: "gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
|
|
27395
27970
|
children: [/* @__PURE__ */ jsx(CheckActionIcon, {}), "Mark handled"]
|
|
27396
27971
|
}),
|
|
27397
27972
|
/* @__PURE__ */ jsxs(Button, {
|
|
27398
27973
|
type: "button",
|
|
27399
|
-
onClick: () =>
|
|
27974
|
+
onClick: () => Wc(!0),
|
|
27400
27975
|
className: "gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
|
|
27401
27976
|
children: [/* @__PURE__ */ jsx(DismissActionIcon, {}), "Mark not useful"]
|
|
27402
27977
|
}),
|
|
27403
27978
|
/* @__PURE__ */ jsxs(Button, {
|
|
27404
27979
|
type: "button",
|
|
27405
|
-
onClick:
|
|
27406
|
-
className:
|
|
27407
|
-
children: [jsx(
|
|
27980
|
+
onClick: Zc,
|
|
27981
|
+
className: qc ? "gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors" : "gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
|
|
27982
|
+
children: [jsx(qc ? CheckActionIcon : CopyActionIcon, {}), qc ? "Copied" : "Copy evidence"]
|
|
27408
27983
|
})
|
|
27409
27984
|
]
|
|
27410
27985
|
})
|
|
@@ -27413,20 +27988,20 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
|
|
|
27413
27988
|
className: "rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5",
|
|
27414
27989
|
children: [/* @__PURE__ */ jsxs(Button, {
|
|
27415
27990
|
type: "button",
|
|
27416
|
-
onClick: () =>
|
|
27991
|
+
onClick: () => Xc((e) => !e),
|
|
27417
27992
|
className: "w-full justify-between text-left",
|
|
27418
|
-
"aria-expanded":
|
|
27993
|
+
"aria-expanded": Yc,
|
|
27419
27994
|
children: [/* @__PURE__ */ jsx("span", {
|
|
27420
27995
|
className: "text-[10px] font-bold tracking-widest text-neutral-900 uppercase",
|
|
27421
27996
|
children: "Evidence analysis"
|
|
27422
27997
|
}), /* @__PURE__ */ jsxs("span", {
|
|
27423
27998
|
className: "inline-flex items-center gap-1 text-xs font-medium text-neutral-700-variant-1",
|
|
27424
|
-
children: [
|
|
27999
|
+
children: [Yc ? "Hide proof" : "Show proof", /* @__PURE__ */ jsx(ChevronIcon, { expanded: Yc })]
|
|
27425
28000
|
})]
|
|
27426
|
-
}),
|
|
28001
|
+
}), Yc && /* @__PURE__ */ jsx("div", {
|
|
27427
28002
|
className: "mt-3 border-t border-neutral-200-variant-1 pt-3",
|
|
27428
28003
|
children: /* @__PURE__ */ jsx(EvidenceTimeline, {
|
|
27429
|
-
items:
|
|
28004
|
+
items: Nc,
|
|
27430
28005
|
canExpandThread: !0,
|
|
27431
28006
|
tone: a,
|
|
27432
28007
|
threadTitle: e,
|
|
@@ -27520,6 +28095,606 @@ function SignalDetailPanelSkeleton({ className: e }) {
|
|
|
27520
28095
|
})]
|
|
27521
28096
|
});
|
|
27522
28097
|
}
|
|
28098
|
+
function SignalSummaryActionButton({ icon: e, label: t, className: n, ...r }) {
|
|
28099
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
28100
|
+
type: "button",
|
|
28101
|
+
...r,
|
|
28102
|
+
className: cn("gap-1.5 rounded-lg px-3 py-1.5 text-xs font-semibold inline-flex items-center border-[1.5px] border-signal-summary-action-border bg-transparent text-neutral-700-variant-1 transition-colors hover:bg-signal-summary-action-hover-bg", n),
|
|
28103
|
+
children: [e, t]
|
|
28104
|
+
});
|
|
28105
|
+
}
|
|
28106
|
+
function SignalSummaryActionsSectionSkeleton({ className: e }) {
|
|
28107
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28108
|
+
"aria-hidden": "true",
|
|
28109
|
+
className: cn("px-4 py-4", e),
|
|
28110
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
28111
|
+
className: "mb-3 text-[10px]",
|
|
28112
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-32 inline-block align-middle" })
|
|
28113
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
28114
|
+
className: "gap-2 flex flex-wrap items-center",
|
|
28115
|
+
children: [/* @__PURE__ */ jsx("span", { className: "w-28 rounded-lg h-[31px] bg-neutral-300-variant-3" }), /* @__PURE__ */ jsx("span", { className: "w-32 rounded-lg h-[31px] bg-neutral-300-variant-3" })]
|
|
28116
|
+
})]
|
|
28117
|
+
});
|
|
28118
|
+
}
|
|
28119
|
+
function SignalSummaryActionsSection({ title: e, children: t, className: n }) {
|
|
28120
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28121
|
+
className: cn("px-4 py-4", n),
|
|
28122
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
28123
|
+
className: "mb-3 font-bold tracking-widest text-[10px] text-neutral-900 uppercase",
|
|
28124
|
+
children: e
|
|
28125
|
+
}), t]
|
|
28126
|
+
});
|
|
28127
|
+
}
|
|
28128
|
+
function SignalSummaryClaimSectionSkeleton({ className: e }) {
|
|
28129
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28130
|
+
"aria-hidden": "true",
|
|
28131
|
+
className: cn("px-4 py-4", e),
|
|
28132
|
+
children: [
|
|
28133
|
+
/* @__PURE__ */ jsx("div", {
|
|
28134
|
+
className: "mb-2 text-[10px]",
|
|
28135
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-28 inline-block align-middle" })
|
|
28136
|
+
}),
|
|
28137
|
+
/* @__PURE__ */ jsx("div", {
|
|
28138
|
+
className: "text-sm leading-snug",
|
|
28139
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 inline-block w-full align-middle" })
|
|
28140
|
+
}),
|
|
28141
|
+
/* @__PURE__ */ jsx("div", {
|
|
28142
|
+
className: "text-sm leading-snug",
|
|
28143
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 inline-block w-2/3 align-middle" })
|
|
28144
|
+
})
|
|
28145
|
+
]
|
|
28146
|
+
});
|
|
28147
|
+
}
|
|
28148
|
+
function CursorTooltip({ content: e, children: t, position: n = "top-right", multiline: r = !1, className: i }) {
|
|
28149
|
+
let [a, o] = useState(null), s = (e) => o({
|
|
28150
|
+
x: e.clientX,
|
|
28151
|
+
y: e.clientY
|
|
28152
|
+
});
|
|
28153
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
28154
|
+
onMouseEnter: s,
|
|
28155
|
+
onMouseMove: s,
|
|
28156
|
+
onMouseLeave: () => o(null),
|
|
28157
|
+
className: cn("text-sm block truncate", i),
|
|
28158
|
+
children: t
|
|
28159
|
+
}), a && createPortal(/* @__PURE__ */ jsx("div", {
|
|
28160
|
+
className: "pointer-events-none fixed z-[99999999]",
|
|
28161
|
+
style: {
|
|
28162
|
+
top: a.y - 14,
|
|
28163
|
+
left: a.x,
|
|
28164
|
+
transform: n === "top" ? "translate(-50%, calc(-100% - 4px))" : "translate(0, calc(-100% - 4px))"
|
|
28165
|
+
},
|
|
28166
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
28167
|
+
className: cn("rounded px-3 py-1.5 font-medium shadow-lg bg-cursor-tooltip-bg text-white-variant-1", r ? "text-[11px]/snug max-w-[280px] whitespace-normal" : "text-xs whitespace-nowrap"),
|
|
28168
|
+
children: e
|
|
28169
|
+
})
|
|
28170
|
+
}), document.body)] });
|
|
28171
|
+
}
|
|
28172
|
+
function SignalSummaryClaimSection({ title: e, claim: t, guardrail: n, className: r }) {
|
|
28173
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28174
|
+
className: cn("px-4 py-4", r),
|
|
28175
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28176
|
+
className: "mb-2 gap-1.5 flex items-center",
|
|
28177
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
28178
|
+
className: "font-bold tracking-widest text-[10px] text-neutral-900 uppercase",
|
|
28179
|
+
children: e
|
|
28180
|
+
}), n && /* @__PURE__ */ jsx(CursorTooltip, {
|
|
28181
|
+
content: n,
|
|
28182
|
+
position: "top",
|
|
28183
|
+
multiline: !0,
|
|
28184
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
28185
|
+
className: "flex text-neutral-600-variant-7 transition-colors hover:text-signal-summary-guardrail-hover",
|
|
28186
|
+
children: /* @__PURE__ */ jsx(InfoFillIcon, { size: 13 })
|
|
28187
|
+
})
|
|
28188
|
+
})]
|
|
28189
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
28190
|
+
className: "text-sm leading-snug text-neutral-800",
|
|
28191
|
+
children: t
|
|
28192
|
+
})]
|
|
28193
|
+
});
|
|
28194
|
+
}
|
|
28195
|
+
function SignalSummaryDismissReasons({ prompt: e, options: t, selectedId: n, onSelect: r, confirmLabel: i, cancelLabel: a, insteadLabel: o, onConfirm: s, onCancel: c, onInstead: l, className: u }) {
|
|
28196
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28197
|
+
className: u,
|
|
28198
|
+
children: [
|
|
28199
|
+
/* @__PURE__ */ jsx("p", {
|
|
28200
|
+
className: "mb-2.5 text-xs text-neutral-700-variant-1",
|
|
28201
|
+
children: e
|
|
28202
|
+
}),
|
|
28203
|
+
/* @__PURE__ */ jsx("div", {
|
|
28204
|
+
className: "mb-3 gap-1.5 flex flex-wrap",
|
|
28205
|
+
children: t.map((e) => {
|
|
28206
|
+
let t = e.id === n;
|
|
28207
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
28208
|
+
type: "button",
|
|
28209
|
+
"aria-pressed": t,
|
|
28210
|
+
onClick: () => r(e.id),
|
|
28211
|
+
className: cn("px-2.5 py-1 text-xs font-medium rounded-full border transition-colors", t ? "border-signal-summary-chip-selected-bg bg-signal-summary-chip-selected-bg text-signal-summary-chip-selected-text" : "border-signal-summary-chip-border bg-signal-summary-chip-bg text-neutral-700-variant-1 hover:border-neutral-400-variant-2"),
|
|
28212
|
+
children: e.label
|
|
28213
|
+
}, e.id);
|
|
28214
|
+
})
|
|
28215
|
+
}),
|
|
28216
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28217
|
+
className: "gap-2 flex flex-wrap items-center",
|
|
28218
|
+
children: [
|
|
28219
|
+
/* @__PURE__ */ jsx(Button, {
|
|
28220
|
+
type: "button",
|
|
28221
|
+
onClick: s,
|
|
28222
|
+
className: "rounded-lg px-3 py-1.5 text-xs font-semibold bg-signal-summary-confirm-bg text-signal-summary-confirm-text transition-colors hover:bg-signal-summary-confirm-hover-bg",
|
|
28223
|
+
children: i
|
|
28224
|
+
}),
|
|
28225
|
+
/* @__PURE__ */ jsx(Button, {
|
|
28226
|
+
type: "button",
|
|
28227
|
+
onClick: c,
|
|
28228
|
+
className: "rounded-lg px-3 py-1.5 text-xs font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900",
|
|
28229
|
+
children: a
|
|
28230
|
+
}),
|
|
28231
|
+
/* @__PURE__ */ jsx(Button, {
|
|
28232
|
+
type: "button",
|
|
28233
|
+
onClick: l,
|
|
28234
|
+
className: "text-xs font-medium ml-auto text-signal-summary-instead-text transition-colors hover:text-signal-summary-instead-hover-text",
|
|
28235
|
+
children: o
|
|
28236
|
+
})
|
|
28237
|
+
]
|
|
28238
|
+
})
|
|
28239
|
+
]
|
|
28240
|
+
});
|
|
28241
|
+
}
|
|
28242
|
+
function SignalSummaryHeaderSkeleton({ className: e }) {
|
|
28243
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28244
|
+
"aria-hidden": "true",
|
|
28245
|
+
className: cn("shrink-0 border-b border-signal-summary-border bg-white-variant-8", e),
|
|
28246
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28247
|
+
className: "h-12 gap-2.5 px-4 flex items-center border-b border-signal-summary-border",
|
|
28248
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
28249
|
+
className: "text-[13px]",
|
|
28250
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-20 inline-block align-middle" })
|
|
28251
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28252
|
+
className: "text-[11px]",
|
|
28253
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-24 inline-block align-middle" })
|
|
28254
|
+
})]
|
|
28255
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
28256
|
+
className: "gap-0.5 px-4 py-2.5 flex flex-col",
|
|
28257
|
+
children: [{
|
|
28258
|
+
nameWidth: "w-24",
|
|
28259
|
+
lineHeight: "text-sm"
|
|
28260
|
+
}, {
|
|
28261
|
+
nameWidth: "w-28",
|
|
28262
|
+
lineHeight: "text-xs"
|
|
28263
|
+
}].map(({ nameWidth: e, lineHeight: t }) => /* @__PURE__ */ jsxs("div", {
|
|
28264
|
+
className: "min-w-0 gap-2 flex items-center",
|
|
28265
|
+
children: [
|
|
28266
|
+
/* @__PURE__ */ jsx("span", {
|
|
28267
|
+
className: "w-9 shrink-0 text-[10px]",
|
|
28268
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-7 inline-block align-middle" })
|
|
28269
|
+
}),
|
|
28270
|
+
/* @__PURE__ */ jsx("span", { className: "h-[18px] w-[18px] shrink-0 rounded-full bg-neutral-300-variant-3" }),
|
|
28271
|
+
/* @__PURE__ */ jsx("span", {
|
|
28272
|
+
className: t,
|
|
28273
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-2.5 inline-block align-middle", e) })
|
|
28274
|
+
}),
|
|
28275
|
+
/* @__PURE__ */ jsx("span", { className: "w-36 h-[19px] rounded-full bg-neutral-300-variant-3" })
|
|
28276
|
+
]
|
|
28277
|
+
}, e))
|
|
28278
|
+
})]
|
|
28279
|
+
});
|
|
28280
|
+
}
|
|
28281
|
+
function Label$1({ children: e }) {
|
|
28282
|
+
return /* @__PURE__ */ jsx("span", {
|
|
28283
|
+
className: "w-9 font-bold tracking-wider shrink-0 text-[10px] text-neutral-700-variant-1 uppercase",
|
|
28284
|
+
children: e
|
|
28285
|
+
});
|
|
28286
|
+
}
|
|
28287
|
+
function Name$1({ name: e, tooltip: t }) {
|
|
28288
|
+
let n = /* @__PURE__ */ jsx("span", {
|
|
28289
|
+
className: cn("text-xs font-semibold text-neutral-900", t && "cursor-default underline decoration-neutral-400-variant-2 decoration-dotted underline-offset-2"),
|
|
28290
|
+
children: e
|
|
28291
|
+
});
|
|
28292
|
+
return t ? /* @__PURE__ */ jsx(CursorTooltip, {
|
|
28293
|
+
content: t,
|
|
28294
|
+
children: n
|
|
28295
|
+
}) : n;
|
|
28296
|
+
}
|
|
28297
|
+
function AddressPill$1({ address: e }) {
|
|
28298
|
+
return /* @__PURE__ */ jsx("span", {
|
|
28299
|
+
className: "min-w-0 px-2 font-medium truncate rounded-full border border-signal-summary-border bg-white-variant-2 py-px text-[10px] text-neutral-700-variant-1",
|
|
28300
|
+
children: e
|
|
28301
|
+
});
|
|
28302
|
+
}
|
|
28303
|
+
function SignalSummaryHeader({ status: e, onClose: t, from: n, to: r, className: i }) {
|
|
28304
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28305
|
+
className: cn("top-0 sticky z-20 shrink-0 border-b border-signal-summary-border bg-white-variant-8", i),
|
|
28306
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28307
|
+
className: "h-12 gap-3 px-4 flex items-center justify-between border-b border-signal-summary-border",
|
|
28308
|
+
children: [e, t && /* @__PURE__ */ jsx("button", {
|
|
28309
|
+
type: "button",
|
|
28310
|
+
"aria-label": "Close",
|
|
28311
|
+
onClick: t,
|
|
28312
|
+
className: "h-7 w-7 rounded-lg md:hidden flex shrink-0 items-center justify-center text-neutral-700 transition-colors hover:bg-signal-summary-close-hover-bg hover:text-neutral-800-variant-3",
|
|
28313
|
+
children: /* @__PURE__ */ jsx("svg", {
|
|
28314
|
+
width: "14",
|
|
28315
|
+
height: "14",
|
|
28316
|
+
viewBox: "0 0 24 24",
|
|
28317
|
+
fill: "none",
|
|
28318
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
28319
|
+
d: "M18 6L6 18M6 6l12 12",
|
|
28320
|
+
stroke: "currentColor",
|
|
28321
|
+
strokeWidth: "2",
|
|
28322
|
+
strokeLinecap: "round"
|
|
28323
|
+
})
|
|
28324
|
+
})
|
|
28325
|
+
})]
|
|
28326
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
28327
|
+
className: "gap-0.5 px-4 py-2.5 flex flex-col",
|
|
28328
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28329
|
+
className: "min-w-0 gap-2 flex items-center",
|
|
28330
|
+
children: [
|
|
28331
|
+
/* @__PURE__ */ jsx(Label$1, { children: "From" }),
|
|
28332
|
+
/* @__PURE__ */ jsx("span", {
|
|
28333
|
+
className: "font-bold flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full bg-signal-summary-avatar-bg text-[9px] text-signal-summary-avatar-text",
|
|
28334
|
+
children: n.name.charAt(0).toUpperCase()
|
|
28335
|
+
}),
|
|
28336
|
+
/* @__PURE__ */ jsx(Name$1, {
|
|
28337
|
+
name: n.name,
|
|
28338
|
+
tooltip: n.company
|
|
28339
|
+
}),
|
|
28340
|
+
n.address && /* @__PURE__ */ jsx(AddressPill$1, { address: n.address })
|
|
28341
|
+
]
|
|
28342
|
+
}), r && /* @__PURE__ */ jsxs("div", {
|
|
28343
|
+
className: "min-w-0 gap-2 flex items-center",
|
|
28344
|
+
children: [
|
|
28345
|
+
/* @__PURE__ */ jsx(Label$1, { children: "To" }),
|
|
28346
|
+
/* @__PURE__ */ jsx("span", {
|
|
28347
|
+
className: "flex h-[18px] w-[18px] shrink-0 items-center justify-center",
|
|
28348
|
+
children: r.icon
|
|
28349
|
+
}),
|
|
28350
|
+
/* @__PURE__ */ jsx(Name$1, {
|
|
28351
|
+
name: r.name,
|
|
28352
|
+
tooltip: r.tooltip
|
|
28353
|
+
}),
|
|
28354
|
+
r.addresses?.map((e) => /* @__PURE__ */ jsx(AddressPill$1, { address: e }, e))
|
|
28355
|
+
]
|
|
28356
|
+
})]
|
|
28357
|
+
})]
|
|
28358
|
+
});
|
|
28359
|
+
}
|
|
28360
|
+
function SignalSummaryReviewSection({ title: e, decision: t, reasons: n = [], className: r }) {
|
|
28361
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28362
|
+
className: cn("px-4 py-4", r),
|
|
28363
|
+
children: [
|
|
28364
|
+
/* @__PURE__ */ jsx("p", {
|
|
28365
|
+
className: "mb-2 font-bold tracking-widest text-[10px] text-neutral-900 uppercase",
|
|
28366
|
+
children: e
|
|
28367
|
+
}),
|
|
28368
|
+
/* @__PURE__ */ jsx("p", {
|
|
28369
|
+
className: "text-sm/snug font-semibold text-neutral-900",
|
|
28370
|
+
children: t
|
|
28371
|
+
}),
|
|
28372
|
+
n.length > 0 && /* @__PURE__ */ jsx("ul", {
|
|
28373
|
+
className: "mt-2 gap-1 flex flex-col",
|
|
28374
|
+
children: n.map((e) => /* @__PURE__ */ jsx("li", {
|
|
28375
|
+
className: "text-[12px]/snug text-neutral-700",
|
|
28376
|
+
children: e
|
|
28377
|
+
}, e))
|
|
28378
|
+
})
|
|
28379
|
+
]
|
|
28380
|
+
});
|
|
28381
|
+
}
|
|
28382
|
+
function SignalSummarySlaSectionSkeleton({ className: e }) {
|
|
28383
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28384
|
+
"aria-hidden": "true",
|
|
28385
|
+
className: cn("px-4 py-4", e),
|
|
28386
|
+
children: [
|
|
28387
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28388
|
+
className: "mb-2.5 flex items-center justify-between",
|
|
28389
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
28390
|
+
className: "text-[10px]",
|
|
28391
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-36 inline-block align-middle" })
|
|
28392
|
+
}), /* @__PURE__ */ jsx("span", { className: "w-20 h-[19px] rounded-full bg-neutral-300-variant-3" })]
|
|
28393
|
+
}),
|
|
28394
|
+
/* @__PURE__ */ jsx("div", { className: "mb-2.5 h-1.5 rounded-full bg-neutral-300-variant-3" }),
|
|
28395
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28396
|
+
className: "flex items-center justify-between",
|
|
28397
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
28398
|
+
className: "text-[11px]",
|
|
28399
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-20 inline-block align-middle" })
|
|
28400
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28401
|
+
className: "text-[11px]",
|
|
28402
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-16 inline-block align-middle" })
|
|
28403
|
+
})]
|
|
28404
|
+
})
|
|
28405
|
+
]
|
|
28406
|
+
});
|
|
28407
|
+
}
|
|
28408
|
+
var badgeStyles = tv({
|
|
28409
|
+
base: "px-2 py-0.5 font-semibold rounded-full text-[10px]",
|
|
28410
|
+
variants: { status: {
|
|
28411
|
+
met: "bg-signal-summary-sla-good-badge-bg text-signal-summary-sla-good-badge-text",
|
|
28412
|
+
on_track: "bg-signal-summary-sla-good-badge-bg text-signal-summary-sla-good-badge-text",
|
|
28413
|
+
approaching: "bg-signal-summary-sla-approaching-badge-bg text-signal-summary-sla-approaching-badge-text",
|
|
28414
|
+
overdue: "bg-signal-summary-sla-overdue-badge-bg text-signal-summary-sla-overdue-badge-text",
|
|
28415
|
+
way_overdue: "bg-signal-summary-sla-way-overdue-badge-bg text-signal-summary-sla-way-overdue-badge-text"
|
|
28416
|
+
} }
|
|
28417
|
+
}), barStyles = tv({
|
|
28418
|
+
base: "h-full rounded-full",
|
|
28419
|
+
variants: { status: {
|
|
28420
|
+
met: "bg-signal-summary-sla-good-bar",
|
|
28421
|
+
on_track: "bg-signal-summary-sla-good-bar",
|
|
28422
|
+
approaching: "bg-signal-summary-sla-approaching-bar",
|
|
28423
|
+
overdue: "bg-signal-summary-sla-overdue-bar",
|
|
28424
|
+
way_overdue: "bg-signal-summary-sla-way-overdue-bar"
|
|
28425
|
+
} }
|
|
28426
|
+
});
|
|
28427
|
+
function SignalSummarySlaSection({ title: e, statusLabel: t, status: n, percentUsed: r, actual: i, window: a, className: o }) {
|
|
28428
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
28429
|
+
className: cn("px-4 py-4", o),
|
|
28430
|
+
children: [
|
|
28431
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28432
|
+
className: "mb-2.5 flex items-center justify-between",
|
|
28433
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
28434
|
+
className: "font-bold tracking-widest text-[10px] text-neutral-900 uppercase",
|
|
28435
|
+
children: e
|
|
28436
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28437
|
+
className: badgeStyles({ status: n }),
|
|
28438
|
+
children: t
|
|
28439
|
+
})]
|
|
28440
|
+
}),
|
|
28441
|
+
/* @__PURE__ */ jsx("div", {
|
|
28442
|
+
className: "mb-2.5 h-1.5 overflow-hidden rounded-full bg-signal-summary-sla-track",
|
|
28443
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
28444
|
+
className: barStyles({ status: n }),
|
|
28445
|
+
style: { width: `${Math.min(r, 100)}%` }
|
|
28446
|
+
})
|
|
28447
|
+
}),
|
|
28448
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28449
|
+
className: "flex items-center justify-between",
|
|
28450
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
28451
|
+
className: "gap-1 inline-flex items-center text-[11px] text-neutral-700-variant-1",
|
|
28452
|
+
children: [
|
|
28453
|
+
"Actual:",
|
|
28454
|
+
" ",
|
|
28455
|
+
/* @__PURE__ */ jsx("span", {
|
|
28456
|
+
className: "font-semibold text-neutral-800",
|
|
28457
|
+
children: i
|
|
28458
|
+
})
|
|
28459
|
+
]
|
|
28460
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
28461
|
+
className: "text-[11px] text-neutral-700-variant-1",
|
|
28462
|
+
children: [
|
|
28463
|
+
"Window:",
|
|
28464
|
+
" ",
|
|
28465
|
+
/* @__PURE__ */ jsx("span", {
|
|
28466
|
+
className: "font-semibold text-neutral-800",
|
|
28467
|
+
children: a
|
|
28468
|
+
})
|
|
28469
|
+
]
|
|
28470
|
+
})]
|
|
28471
|
+
})
|
|
28472
|
+
]
|
|
28473
|
+
});
|
|
28474
|
+
}
|
|
28475
|
+
function EvidenceHeaderSkeleton({ className: e }) {
|
|
28476
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28477
|
+
"aria-hidden": "true",
|
|
28478
|
+
className: cn("h-12 gap-2 px-4 flex shrink-0 items-center justify-between border-b border-evidence-border bg-white-variant-8", e),
|
|
28479
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28480
|
+
className: "min-w-0 gap-1.5 flex items-center",
|
|
28481
|
+
children: [/* @__PURE__ */ jsx("span", { className: "rounded-sm size-3.5 shrink-0 bg-neutral-300-variant-3" }), /* @__PURE__ */ jsx("span", {
|
|
28482
|
+
className: "text-[13px]",
|
|
28483
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-48 inline-block align-middle" })
|
|
28484
|
+
})]
|
|
28485
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28486
|
+
className: "shrink-0 text-[11px]",
|
|
28487
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-16 inline-block align-middle" })
|
|
28488
|
+
})]
|
|
28489
|
+
});
|
|
28490
|
+
}
|
|
28491
|
+
function EvidenceHeader({ icon: e, title: t, muted: n = !1, meta: r, className: i }) {
|
|
28492
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28493
|
+
className: cn("top-0 h-12 gap-2 px-4 sticky z-10 flex shrink-0 items-center justify-between border-b border-evidence-border bg-white-variant-8", i),
|
|
28494
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28495
|
+
className: "min-w-0 gap-1.5 flex items-center",
|
|
28496
|
+
children: [e, /* @__PURE__ */ jsx("span", {
|
|
28497
|
+
className: cn("min-w-0 truncate text-[13px]", n ? "font-medium text-neutral-600-variant-7" : "font-bold text-neutral-900"),
|
|
28498
|
+
children: t
|
|
28499
|
+
})]
|
|
28500
|
+
}), r && /* @__PURE__ */ jsx("div", {
|
|
28501
|
+
className: "gap-2 flex shrink-0 items-center",
|
|
28502
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
28503
|
+
className: "font-medium text-[11px] text-neutral-700",
|
|
28504
|
+
children: r
|
|
28505
|
+
})
|
|
28506
|
+
})]
|
|
28507
|
+
});
|
|
28508
|
+
}
|
|
28509
|
+
function ThreadDateDividerSkeleton({ className: e }) {
|
|
28510
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28511
|
+
"aria-hidden": "true",
|
|
28512
|
+
className: cn("px-4 py-3 relative flex items-center justify-center", e),
|
|
28513
|
+
children: [/* @__PURE__ */ jsx("div", { className: "inset-x-4 absolute top-1/2 h-px bg-evidence-border" }), /* @__PURE__ */ jsx("span", { className: "h-7 w-16 relative z-10 rounded-full bg-neutral-300-variant-3" })]
|
|
28514
|
+
});
|
|
28515
|
+
}
|
|
28516
|
+
function ThreadDateDivider({ label: e, className: t }) {
|
|
28517
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28518
|
+
className: cn("px-4 py-3 relative flex items-center justify-center", t),
|
|
28519
|
+
children: [/* @__PURE__ */ jsx("div", { className: "inset-x-4 absolute top-1/2 h-px bg-evidence-border" }), /* @__PURE__ */ jsx("span", {
|
|
28520
|
+
className: "px-3 py-1 font-semibold relative z-10 inline-flex items-center rounded-full border border-thread-date-pill-border bg-white-variant-8 text-[12px] text-neutral-900",
|
|
28521
|
+
children: e
|
|
28522
|
+
})]
|
|
28523
|
+
});
|
|
28524
|
+
}
|
|
28525
|
+
function ThreadEmailMessageSkeleton({ className: e }) {
|
|
28526
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28527
|
+
"aria-hidden": "true",
|
|
28528
|
+
className: cn("gap-2.5 px-4 pt-5 pb-4 flex border-b border-evidence-border last:border-b-0", e),
|
|
28529
|
+
children: [/* @__PURE__ */ jsx("span", { className: "h-9 w-9 shrink-0 rounded-full bg-neutral-300-variant-3" }), /* @__PURE__ */ jsxs("div", {
|
|
28530
|
+
className: "min-w-0 flex-1",
|
|
28531
|
+
children: [
|
|
28532
|
+
/* @__PURE__ */ jsxs("div", {
|
|
28533
|
+
className: "gap-2 flex items-start justify-between",
|
|
28534
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
28535
|
+
className: "min-w-0 gap-0.5 flex flex-1 flex-col",
|
|
28536
|
+
children: ["w-24", "w-28"].map((e) => /* @__PURE__ */ jsxs("div", {
|
|
28537
|
+
className: "gap-1.5 flex items-center",
|
|
28538
|
+
children: [
|
|
28539
|
+
/* @__PURE__ */ jsx("span", {
|
|
28540
|
+
className: "w-9 shrink-0 text-[10px]",
|
|
28541
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-7 inline-block align-middle" })
|
|
28542
|
+
}),
|
|
28543
|
+
/* @__PURE__ */ jsx("span", {
|
|
28544
|
+
className: "text-[13px]",
|
|
28545
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-3 inline-block align-middle", e) })
|
|
28546
|
+
}),
|
|
28547
|
+
/* @__PURE__ */ jsx("span", { className: "w-32 h-[19px] rounded-full bg-neutral-300-variant-3" })
|
|
28548
|
+
]
|
|
28549
|
+
}, e))
|
|
28550
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28551
|
+
className: "shrink-0 text-[11px]",
|
|
28552
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-20 inline-block align-middle" })
|
|
28553
|
+
})]
|
|
28554
|
+
}),
|
|
28555
|
+
/* @__PURE__ */ jsx("div", {
|
|
28556
|
+
className: "mt-2 text-sm leading-relaxed",
|
|
28557
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 inline-block w-full align-middle" })
|
|
28558
|
+
}),
|
|
28559
|
+
/* @__PURE__ */ jsx("div", {
|
|
28560
|
+
className: "text-sm leading-relaxed",
|
|
28561
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 inline-block w-3/4 align-middle" })
|
|
28562
|
+
})
|
|
28563
|
+
]
|
|
28564
|
+
})]
|
|
28565
|
+
});
|
|
28566
|
+
}
|
|
28567
|
+
function Name({ name: e, company: t }) {
|
|
28568
|
+
let n = /* @__PURE__ */ jsx("span", {
|
|
28569
|
+
className: cn("min-w-0 font-bold truncate text-[13px] text-neutral-900", t && "cursor-default underline decoration-neutral-400-variant-2 decoration-dotted underline-offset-2"),
|
|
28570
|
+
children: e
|
|
28571
|
+
});
|
|
28572
|
+
return t ? /* @__PURE__ */ jsx(CursorTooltip, {
|
|
28573
|
+
content: t,
|
|
28574
|
+
children: n
|
|
28575
|
+
}) : n;
|
|
28576
|
+
}
|
|
28577
|
+
function AddressPill({ address: e }) {
|
|
28578
|
+
return /* @__PURE__ */ jsx("span", {
|
|
28579
|
+
className: "min-w-0 px-2 font-medium truncate rounded-full border border-evidence-border bg-white-variant-2 py-px text-[10px] text-neutral-700-variant-1",
|
|
28580
|
+
children: e
|
|
28581
|
+
});
|
|
28582
|
+
}
|
|
28583
|
+
function Label({ children: e }) {
|
|
28584
|
+
return /* @__PURE__ */ jsx("span", {
|
|
28585
|
+
className: "w-9 font-bold tracking-wider shrink-0 text-[10px] text-neutral-700-variant-1 uppercase",
|
|
28586
|
+
children: e
|
|
28587
|
+
});
|
|
28588
|
+
}
|
|
28589
|
+
function ThreadEmailMessage({ icon: e, sourceLabel: t, onOpenSource: n, senderName: r, senderCompany: i, senderAddress: a, recipientName: o, recipientCompany: s, recipientAddresses: c, recipientNote: l, timestamp: u, body: f, className: p }) {
|
|
28590
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28591
|
+
className: cn("gap-2.5 px-4 pt-5 pb-4 flex border-b border-evidence-border last:border-b-0", p),
|
|
28592
|
+
children: [/* @__PURE__ */ jsx(CursorTooltip, {
|
|
28593
|
+
content: t,
|
|
28594
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
28595
|
+
type: "button",
|
|
28596
|
+
"aria-label": t,
|
|
28597
|
+
onClick: n,
|
|
28598
|
+
className: "h-9 w-9 flex shrink-0 items-center justify-center rounded-full bg-thread-avatar-email-bg transition-opacity hover:opacity-80",
|
|
28599
|
+
children: e
|
|
28600
|
+
})
|
|
28601
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
28602
|
+
className: "min-w-0 flex-1",
|
|
28603
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28604
|
+
className: "gap-2 flex items-start justify-between",
|
|
28605
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28606
|
+
className: "min-w-0 gap-0.5 flex flex-1 flex-col",
|
|
28607
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28608
|
+
className: "min-w-0 gap-1.5 flex flex-wrap items-center",
|
|
28609
|
+
children: [
|
|
28610
|
+
/* @__PURE__ */ jsx(Label, { children: "From" }),
|
|
28611
|
+
/* @__PURE__ */ jsx(Name, {
|
|
28612
|
+
name: r,
|
|
28613
|
+
company: i
|
|
28614
|
+
}),
|
|
28615
|
+
a && /* @__PURE__ */ jsx(AddressPill, { address: a })
|
|
28616
|
+
]
|
|
28617
|
+
}), o && /* @__PURE__ */ jsxs("div", {
|
|
28618
|
+
className: "min-w-0 gap-1.5 flex flex-wrap items-center",
|
|
28619
|
+
children: [
|
|
28620
|
+
/* @__PURE__ */ jsx(Label, { children: "To" }),
|
|
28621
|
+
/* @__PURE__ */ jsx(Name, {
|
|
28622
|
+
name: o,
|
|
28623
|
+
company: s
|
|
28624
|
+
}),
|
|
28625
|
+
c?.length ? c.map((e) => /* @__PURE__ */ jsx(AddressPill, { address: e }, e)) : l && /* @__PURE__ */ jsxs("span", {
|
|
28626
|
+
className: "min-w-0 truncate text-[11px] text-neutral-700 italic",
|
|
28627
|
+
children: [
|
|
28628
|
+
"(",
|
|
28629
|
+
l,
|
|
28630
|
+
")"
|
|
28631
|
+
]
|
|
28632
|
+
})
|
|
28633
|
+
]
|
|
28634
|
+
})]
|
|
28635
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28636
|
+
className: "font-medium shrink-0 text-[11px] text-neutral-700-variant-1",
|
|
28637
|
+
children: u
|
|
28638
|
+
})]
|
|
28639
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
28640
|
+
className: "mt-2 text-sm leading-relaxed text-neutral-800",
|
|
28641
|
+
children: f
|
|
28642
|
+
})]
|
|
28643
|
+
})]
|
|
28644
|
+
});
|
|
28645
|
+
}
|
|
28646
|
+
function ThreadSlackMessageSkeleton({ bodyWidthClassName: e = "w-4/5", className: t }) {
|
|
28647
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28648
|
+
"aria-hidden": "true",
|
|
28649
|
+
className: cn("gap-2.5 px-4 pt-3 pb-0.5 flex", t),
|
|
28650
|
+
children: [/* @__PURE__ */ jsx("span", { className: "h-9 w-9 rounded-lg shrink-0 bg-neutral-300-variant-3" }), /* @__PURE__ */ jsxs("div", {
|
|
28651
|
+
className: "min-w-0 flex-1",
|
|
28652
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28653
|
+
className: "gap-2 flex items-center",
|
|
28654
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
28655
|
+
className: "text-[14px]",
|
|
28656
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-24 inline-block align-middle" })
|
|
28657
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28658
|
+
className: "text-[11px]",
|
|
28659
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-14 inline-block align-middle" })
|
|
28660
|
+
})]
|
|
28661
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
28662
|
+
className: "text-sm leading-relaxed",
|
|
28663
|
+
children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-3 inline-block align-middle", e) })
|
|
28664
|
+
})]
|
|
28665
|
+
})]
|
|
28666
|
+
});
|
|
28667
|
+
}
|
|
28668
|
+
function ThreadSlackMessage({ sourceLabel: e, onOpenSource: t, senderName: n, timestamp: r, body: i, className: a }) {
|
|
28669
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
28670
|
+
className: cn("gap-2.5 px-4 pt-3 pb-0.5 flex", a),
|
|
28671
|
+
children: [/* @__PURE__ */ jsx(CursorTooltip, {
|
|
28672
|
+
content: e,
|
|
28673
|
+
children: /* @__PURE__ */ jsx("button", {
|
|
28674
|
+
type: "button",
|
|
28675
|
+
"aria-label": e,
|
|
28676
|
+
onClick: t,
|
|
28677
|
+
className: "h-9 w-9 rounded-lg font-medium flex shrink-0 items-center justify-center bg-neutral-600-variant-3 text-[18px] text-white-variant-1 transition-opacity hover:opacity-80",
|
|
28678
|
+
children: n.charAt(0).toUpperCase()
|
|
28679
|
+
})
|
|
28680
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
28681
|
+
className: "min-w-0 flex-1",
|
|
28682
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
28683
|
+
className: "gap-2 flex flex-wrap items-baseline",
|
|
28684
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
28685
|
+
className: "font-bold text-[14px] text-neutral-900",
|
|
28686
|
+
children: n
|
|
28687
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
28688
|
+
className: "font-medium text-[11px] text-neutral-700-variant-1",
|
|
28689
|
+
children: r
|
|
28690
|
+
})]
|
|
28691
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
28692
|
+
className: "text-sm leading-relaxed whitespace-pre-wrap text-neutral-800",
|
|
28693
|
+
children: i
|
|
28694
|
+
})]
|
|
28695
|
+
})]
|
|
28696
|
+
});
|
|
28697
|
+
}
|
|
27523
28698
|
var DEFAULT_DURATION = 4e3, DEFAULT_POSITION = "bottom-right";
|
|
27524
28699
|
function buildCallbacks({ onOpen: e, onClose: t, onAutoClose: n, onDismiss: r }) {
|
|
27525
28700
|
return e || t || n || r ? {
|
|
@@ -27773,6 +28948,6 @@ function QtaloBlueImage({ size: e = 40, className: t, ...n }) {
|
|
|
27773
28948
|
}) })]
|
|
27774
28949
|
});
|
|
27775
28950
|
}
|
|
27776
|
-
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, AccountOutlineIcon, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BetaResizeHandle, BuildingIcon, BuildingOutlineIcon, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseBoldIcon, 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, EventDetailFollowUp, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, EvidenceTimeline, ExternalLinkIcon, EyeFillIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeFillIcon, 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, PatternIcon, Pressable, PulseFilterChip, PulseFilterChipSkeleton, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, RoleBadge, SearchIcon, SearchInput, SearchWithSuggestions, SignOutIcon, SignalCard, SignalCardSkeleton, SignalClusterCard, SignalClusterCardSkeleton, SignalDetailPanel, SignalDetailPanelSkeleton, Skeleton, SlaProgressBar, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, WarningIcon, 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 };
|
|
28951
|
+
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, AccountOutlineIcon, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BetaResizeHandle, BriefcaseOutlineIcon, BuildingIcon, BuildingOutlineIcon, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckBoldIcon, CheckCircleEmptyIcon, CheckCircleIcon, CheckIcon, CheckOutlineIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ChevronRightIcon, ClickUpIcon, CloseBoldIcon, CloseIcon, CloseOutlineIcon, CompactDensityIcon, CopyIcon, CursorTooltip, CustomerGroupHeader, CustomerGroupHeaderSkeleton, 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, EventDetailFollowUp, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, EvidenceHeader, EvidenceHeaderSkeleton, EvidenceTimeline, ExternalLinkIcon, ExternalLinkOutlineIcon, EyeFillIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeFillIcon, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoFillIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, MsIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, PatternIcon, Pressable, PulseFilterChip, PulseFilterChipSkeleton, PulseGmailIcon, PulseSignalCard, PulseSignalCardSkeleton, PulseSignalStatus, PulseSlackIcon, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, ResizeDivider, RichContent, RoleBadge, SearchIcon, SearchInput, SearchWithSuggestions, SignOutIcon, SignalCard, SignalCardSkeleton, SignalClusterCard, SignalClusterCardSkeleton, SignalDetailPanel, SignalDetailPanelSkeleton, SignalSummaryActionButton, SignalSummaryActionsSection, SignalSummaryActionsSectionSkeleton, SignalSummaryClaimSection, SignalSummaryClaimSectionSkeleton, SignalSummaryDismissReasons, SignalSummaryHeader, SignalSummaryHeaderSkeleton, SignalSummaryReviewSection, SignalSummarySlaSection, SignalSummarySlaSectionSkeleton, Skeleton, SlaProgressBar, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, ThreadDateDivider, ThreadDateDividerSkeleton, ThreadEmailMessage, ThreadEmailMessageSkeleton, ThreadSlackMessage, ThreadSlackMessageSkeleton, Toaster, ToolbarButton, Tooltip, UnreadIcon, UserOutlineIcon, WarningIcon, 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 };
|
|
27777
28952
|
|
|
27778
28953
|
//# sourceMappingURL=index.js.map
|