@qtalo/qt-ui-library 0.1.23 → 0.1.25
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +22 -5
- package/dist/index.js +321 -284
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -326,20 +326,20 @@ var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.a
|
|
|
326
326
|
function createDOMPurify() {
|
|
327
327
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), t = (e) => createDOMPurify(e);
|
|
328
328
|
if (t.version = "3.3.1", t.removed = [], !e || !e.document || e.document.nodeType !== NODE_TYPE.document || !e.Element) return t.isSupported = !1, t;
|
|
329
|
-
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: h } = e,
|
|
329
|
+
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: f, DOMParser: p, trustedTypes: h } = e, g = c.prototype, O = lookupGetter(g, "cloneNode"), A = lookupGetter(g, "remove"), Zo = lookupGetter(g, "nextSibling"), Qo = lookupGetter(g, "childNodes"), $o = lookupGetter(g, "parentNode");
|
|
330
330
|
if (typeof o == "function") {
|
|
331
331
|
let e = n.createElement("template");
|
|
332
332
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
333
333
|
}
|
|
334
|
-
let
|
|
334
|
+
let R, B = "", { implementation: es, createNodeIterator: ts, createDocumentFragment: ns, getElementsByTagName: rs } = n, { importNode: is } = r, as = _createHooksMap();
|
|
335
335
|
t.isSupported = typeof entries == "function" && typeof $o == "function" && es && es.createHTMLDocument !== void 0;
|
|
336
|
-
let { MUSTACHE_EXPR:
|
|
336
|
+
let { MUSTACHE_EXPR: os, ERB_EXPR: ss, TMPLIT_EXPR: cs, DATA_ATTR: ls, ARIA_ATTR: us, IS_SCRIPT_OR_DATA: ds, ATTR_WHITESPACE: fs, CUSTOM_ELEMENT: ps } = EXPRESSIONS, { IS_ALLOWED_URI: ms } = EXPRESSIONS, V = null, hs = addToSet({}, [
|
|
337
337
|
...html$1,
|
|
338
338
|
...svg$1,
|
|
339
339
|
...svgFilters,
|
|
340
340
|
...mathMl$1,
|
|
341
341
|
...text
|
|
342
|
-
]),
|
|
342
|
+
]), gs = null, _s = addToSet({}, [
|
|
343
343
|
...html,
|
|
344
344
|
...svg,
|
|
345
345
|
...mathMl,
|
|
@@ -363,7 +363,7 @@ function createDOMPurify() {
|
|
|
363
363
|
enumerable: !0,
|
|
364
364
|
value: !1
|
|
365
365
|
}
|
|
366
|
-
})),
|
|
366
|
+
})), vs = null, ys = null, bs = Object.seal(create(null, {
|
|
367
367
|
tagCheck: {
|
|
368
368
|
writable: !0,
|
|
369
369
|
configurable: !1,
|
|
@@ -376,7 +376,7 @@ function createDOMPurify() {
|
|
|
376
376
|
enumerable: !0,
|
|
377
377
|
value: null
|
|
378
378
|
}
|
|
379
|
-
})),
|
|
379
|
+
})), xs = !0, Ss = !0, Cs = !1, ws = !0, Ts = !1, Es = !0, Ds = !1, Os = !1, ks = !1, As = !1, js = !1, Ms = !1, Ns = !0, Ps = !1, Fs = !0, Is = !1, Ls = {}, Rs = null, zs = addToSet({}, [
|
|
380
380
|
"annotation-xml",
|
|
381
381
|
"audio",
|
|
382
382
|
"colgroup",
|
|
@@ -402,14 +402,14 @@ function createDOMPurify() {
|
|
|
402
402
|
"title",
|
|
403
403
|
"video",
|
|
404
404
|
"xmp"
|
|
405
|
-
]),
|
|
405
|
+
]), Bs = null, Vs = addToSet({}, [
|
|
406
406
|
"audio",
|
|
407
407
|
"video",
|
|
408
408
|
"img",
|
|
409
409
|
"source",
|
|
410
410
|
"image",
|
|
411
411
|
"track"
|
|
412
|
-
]),
|
|
412
|
+
]), Hs = null, Us = addToSet({}, [
|
|
413
413
|
"alt",
|
|
414
414
|
"class",
|
|
415
415
|
"for",
|
|
@@ -424,58 +424,58 @@ function createDOMPurify() {
|
|
|
424
424
|
"value",
|
|
425
425
|
"style",
|
|
426
426
|
"xmlns"
|
|
427
|
-
]),
|
|
428
|
-
Us,
|
|
427
|
+
]), Ws = "http://www.w3.org/1998/Math/MathML", Gs = "http://www.w3.org/2000/svg", Ks = "http://www.w3.org/1999/xhtml", qs = Ks, Js = !1, Ys = null, Xs = addToSet({}, [
|
|
429
428
|
Ws,
|
|
430
|
-
Gs
|
|
431
|
-
|
|
429
|
+
Gs,
|
|
430
|
+
Ks
|
|
431
|
+
], stringToString), Zs = addToSet({}, [
|
|
432
432
|
"mi",
|
|
433
433
|
"mo",
|
|
434
434
|
"mn",
|
|
435
435
|
"ms",
|
|
436
436
|
"mtext"
|
|
437
|
-
]),
|
|
437
|
+
]), Qs = addToSet({}, ["annotation-xml"]), $s = addToSet({}, [
|
|
438
438
|
"title",
|
|
439
439
|
"style",
|
|
440
440
|
"font",
|
|
441
441
|
"a",
|
|
442
442
|
"script"
|
|
443
|
-
]),
|
|
443
|
+
]), ec = null, tc = ["application/xhtml+xml", "text/html"], Y = null, nc = null, rc = n.createElement("form"), ic = function(e) {
|
|
444
444
|
return e instanceof RegExp || e instanceof Function;
|
|
445
|
-
},
|
|
445
|
+
}, ac = function() {
|
|
446
446
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
447
|
-
if (!(
|
|
448
|
-
if ((!e || typeof e != "object") && (e = {}), e = clone(e),
|
|
447
|
+
if (!(nc && nc === e)) {
|
|
448
|
+
if ((!e || typeof e != "object") && (e = {}), e = clone(e), ec = tc.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = ec === "application/xhtml+xml" ? stringToString : stringToLowerCase, V = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : hs, gs = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : _s, Ys = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : Xs, Hs = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Us), e.ADD_URI_SAFE_ATTR, Y) : Us, Bs = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Vs), e.ADD_DATA_URI_TAGS, Y) : Vs, Rs = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : zs, vs = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), ys = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Ls = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, xs = e.ALLOW_ARIA_ATTR !== !1, Ss = e.ALLOW_DATA_ATTR !== !1, Cs = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ws = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ts = e.SAFE_FOR_TEMPLATES || !1, Es = e.SAFE_FOR_XML !== !1, Ds = e.WHOLE_DOCUMENT || !1, As = e.RETURN_DOM || !1, js = e.RETURN_DOM_FRAGMENT || !1, Ms = e.RETURN_TRUSTED_TYPE || !1, ks = e.FORCE_BODY || !1, Ns = e.SANITIZE_DOM !== !1, Ps = e.SANITIZE_NAMED_PROPS || !1, Fs = e.KEEP_CONTENT !== !1, Is = e.IN_PLACE || !1, ms = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, qs = e.NAMESPACE || Ks, Zs = e.MATHML_TEXT_INTEGRATION_POINTS || Zs, Qs = e.HTML_INTEGRATION_POINTS || Qs, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && ic(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && ic(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ts && (Ss = !1), js && (As = !0), Ls && (V = addToSet({}, text), gs = [], Ls.html === !0 && (addToSet(V, html$1), addToSet(gs, html)), Ls.svg === !0 && (addToSet(V, svg$1), addToSet(gs, svg), addToSet(gs, xml)), Ls.svgFilters === !0 && (addToSet(V, svgFilters), addToSet(gs, svg), addToSet(gs, xml)), Ls.mathMl === !0 && (addToSet(V, mathMl$1), addToSet(gs, mathMl), addToSet(gs, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? bs.tagCheck = e.ADD_TAGS : (V === hs && (V = clone(V)), addToSet(V, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? bs.attributeCheck = e.ADD_ATTR : (gs === _s && (gs = clone(gs)), addToSet(gs, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Hs, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (Rs === zs && (Rs = clone(Rs)), addToSet(Rs, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (Rs === zs && (Rs = clone(Rs)), addToSet(Rs, e.ADD_FORBID_CONTENTS, Y)), Fs && (V["#text"] = !0), Ds && addToSet(V, [
|
|
449
449
|
"html",
|
|
450
450
|
"head",
|
|
451
451
|
"body"
|
|
452
|
-
]), V.table && (addToSet(V, ["tbody"]), delete
|
|
452
|
+
]), V.table && (addToSet(V, ["tbody"]), delete vs.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
453
453
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
454
454
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
455
|
-
|
|
456
|
-
} else
|
|
457
|
-
freeze && freeze(e),
|
|
455
|
+
R = e.TRUSTED_TYPES_POLICY, B = R.createHTML("");
|
|
456
|
+
} else R === void 0 && (R = _createTrustedTypesPolicy(h, i)), R !== null && typeof B == "string" && (B = R.createHTML(""));
|
|
457
|
+
freeze && freeze(e), nc = e;
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, oc = addToSet({}, [
|
|
460
460
|
...svg$1,
|
|
461
461
|
...svgFilters,
|
|
462
462
|
...svgDisallowed
|
|
463
|
-
]),
|
|
463
|
+
]), sc = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), cc = function(e) {
|
|
464
464
|
let t = $o(e);
|
|
465
465
|
(!t || !t.tagName) && (t = {
|
|
466
|
-
namespaceURI:
|
|
466
|
+
namespaceURI: qs,
|
|
467
467
|
tagName: "template"
|
|
468
468
|
});
|
|
469
469
|
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
470
|
-
return
|
|
471
|
-
},
|
|
470
|
+
return Ys[e.namespaceURI] ? e.namespaceURI === Gs ? t.namespaceURI === Ks ? n === "svg" : t.namespaceURI === Ws ? n === "svg" && (r === "annotation-xml" || Zs[r]) : !!oc[n] : e.namespaceURI === Ws ? t.namespaceURI === Ks ? n === "math" : t.namespaceURI === Gs ? n === "math" && Qs[r] : !!sc[n] : e.namespaceURI === Ks ? t.namespaceURI === Gs && !Qs[r] || t.namespaceURI === Ws && !Zs[r] ? !1 : !sc[n] && ($s[n] || !oc[n]) : !!(ec === "application/xhtml+xml" && Ys[e.namespaceURI]) : !1;
|
|
471
|
+
}, lc = function(e) {
|
|
472
472
|
arrayPush(t.removed, { element: e });
|
|
473
473
|
try {
|
|
474
474
|
$o(e).removeChild(e);
|
|
475
475
|
} catch {
|
|
476
|
-
|
|
476
|
+
A(e);
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, uc = function(e, n) {
|
|
479
479
|
try {
|
|
480
480
|
arrayPush(t.removed, {
|
|
481
481
|
attribute: n.getAttributeNode(e),
|
|
@@ -487,196 +487,196 @@ function createDOMPurify() {
|
|
|
487
487
|
from: n
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
-
if (n.removeAttribute(e), e === "is") if (
|
|
491
|
-
|
|
490
|
+
if (n.removeAttribute(e), e === "is") if (As || js) try {
|
|
491
|
+
lc(n);
|
|
492
492
|
} catch {}
|
|
493
493
|
else try {
|
|
494
494
|
n.setAttribute(e, "");
|
|
495
495
|
} catch {}
|
|
496
|
-
},
|
|
496
|
+
}, dc = function(e) {
|
|
497
497
|
let t = null, r = null;
|
|
498
|
-
if (
|
|
498
|
+
if (ks) e = "<remove></remove>" + e;
|
|
499
499
|
else {
|
|
500
500
|
let t = stringMatch(e, /^[\r\n\t ]+/);
|
|
501
501
|
r = t && t[0];
|
|
502
502
|
}
|
|
503
|
-
|
|
504
|
-
let i =
|
|
505
|
-
if (
|
|
506
|
-
t = new p().parseFromString(i,
|
|
503
|
+
ec === "application/xhtml+xml" && qs === Ks && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
504
|
+
let i = R ? R.createHTML(e) : e;
|
|
505
|
+
if (qs === Ks) try {
|
|
506
|
+
t = new p().parseFromString(i, ec);
|
|
507
507
|
} catch {}
|
|
508
508
|
if (!t || !t.documentElement) {
|
|
509
|
-
t = es.createDocument(
|
|
509
|
+
t = es.createDocument(qs, "template", null);
|
|
510
510
|
try {
|
|
511
|
-
t.documentElement.innerHTML =
|
|
511
|
+
t.documentElement.innerHTML = Js ? B : i;
|
|
512
512
|
} catch {}
|
|
513
513
|
}
|
|
514
514
|
let a = t.body || t.documentElement;
|
|
515
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
516
|
-
}, dc = function(e) {
|
|
517
|
-
return ts.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
515
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), qs === Ks ? rs.call(t, Ds ? "html" : "body")[0] : Ds ? t.documentElement : a;
|
|
518
516
|
}, fc = function(e) {
|
|
519
|
-
return
|
|
517
|
+
return ts.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
520
518
|
}, pc = function(e) {
|
|
519
|
+
return e instanceof f && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
520
|
+
}, mc = function(e) {
|
|
521
521
|
return typeof s == "function" && e instanceof s;
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function hc(e, n, r) {
|
|
524
524
|
arrayForEach(e, (e) => {
|
|
525
|
-
e.call(t, n, r,
|
|
525
|
+
e.call(t, n, r, nc);
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
let
|
|
528
|
+
let gc = function(e) {
|
|
529
529
|
let n = null;
|
|
530
|
-
if (
|
|
530
|
+
if (hc(as.beforeSanitizeElements, e, null), pc(e)) return lc(e), !0;
|
|
531
531
|
let r = Y(e.nodeName);
|
|
532
|
-
if (
|
|
532
|
+
if (hc(as.uponSanitizeElement, e, {
|
|
533
533
|
tagName: r,
|
|
534
534
|
allowedTags: V
|
|
535
|
-
}),
|
|
536
|
-
if (!(
|
|
537
|
-
if (!
|
|
538
|
-
if (
|
|
535
|
+
}), Es && e.hasChildNodes() && !mc(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || Es && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return lc(e), !0;
|
|
536
|
+
if (!(bs.tagCheck instanceof Function && bs.tagCheck(r)) && (!V[r] || vs[r])) {
|
|
537
|
+
if (!vs[r] && vc(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
|
|
538
|
+
if (Fs && !Rs[r]) {
|
|
539
539
|
let t = $o(e) || e.parentNode, n = Qo(e) || e.childNodes;
|
|
540
540
|
if (n && t) {
|
|
541
541
|
let r = n.length;
|
|
542
542
|
for (let i = r - 1; i >= 0; --i) {
|
|
543
|
-
let r =
|
|
543
|
+
let r = O(n[i], !0);
|
|
544
544
|
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Zo(e));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
return
|
|
548
|
+
return lc(e), !0;
|
|
549
549
|
}
|
|
550
|
-
return e instanceof c && !
|
|
551
|
-
as,
|
|
550
|
+
return e instanceof c && !cc(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (lc(e), !0) : (Ts && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
|
|
552
551
|
os,
|
|
553
|
-
ss
|
|
552
|
+
ss,
|
|
553
|
+
cs
|
|
554
554
|
], (e) => {
|
|
555
555
|
n = stringReplace(n, e, " ");
|
|
556
|
-
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)),
|
|
557
|
-
},
|
|
558
|
-
if (
|
|
559
|
-
if (!(
|
|
560
|
-
if (!
|
|
561
|
-
if (!(
|
|
562
|
-
} else if (!
|
|
556
|
+
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), hc(as.afterSanitizeElements, e, null), !1);
|
|
557
|
+
}, _c = function(e, t, r) {
|
|
558
|
+
if (Ns && (t === "id" || t === "name") && (r in n || r in rc)) return !1;
|
|
559
|
+
if (!(Ss && !ys[t] && regExpTest(ls, t)) && !(xs && regExpTest(us, t)) && !(bs.attributeCheck instanceof Function && bs.attributeCheck(t, e))) {
|
|
560
|
+
if (!gs[t] || ys[t]) {
|
|
561
|
+
if (!(vc(e) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, e) || H.tagNameCheck instanceof Function && H.tagNameCheck(e)) && (H.attributeNameCheck instanceof RegExp && regExpTest(H.attributeNameCheck, t) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(t, e)) || t === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r)))) return !1;
|
|
562
|
+
} else if (!Hs[t] && !regExpTest(ms, stringReplace(r, fs, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Bs[e]) && !(Cs && !regExpTest(ds, stringReplace(r, fs, ""))) && r) return !1;
|
|
563
563
|
}
|
|
564
564
|
return !0;
|
|
565
|
-
}, _c = function(e) {
|
|
566
|
-
return e !== "annotation-xml" && stringMatch(e, fs);
|
|
567
565
|
}, vc = function(e) {
|
|
568
|
-
|
|
566
|
+
return e !== "annotation-xml" && stringMatch(e, ps);
|
|
567
|
+
}, yc = function(e) {
|
|
568
|
+
hc(as.beforeSanitizeAttributes, e, null);
|
|
569
569
|
let { attributes: n } = e;
|
|
570
|
-
if (!n ||
|
|
570
|
+
if (!n || pc(e)) return;
|
|
571
571
|
let r = {
|
|
572
572
|
attrName: "",
|
|
573
573
|
attrValue: "",
|
|
574
574
|
keepAttr: !0,
|
|
575
|
-
allowedAttributes:
|
|
575
|
+
allowedAttributes: gs,
|
|
576
576
|
forceKeepAttr: void 0
|
|
577
577
|
}, i = n.length;
|
|
578
578
|
for (; i--;) {
|
|
579
579
|
let { name: a, namespaceURI: o, value: s } = n[i], c = Y(a), l = s, u = a === "value" ? l : stringTrim(l);
|
|
580
|
-
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0,
|
|
581
|
-
|
|
580
|
+
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, hc(as.uponSanitizeAttribute, e, r), u = r.attrValue, Ps && (c === "id" || c === "name") && (uc(a, e), u = "user-content-" + u), Es && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
|
|
581
|
+
uc(a, e);
|
|
582
582
|
continue;
|
|
583
583
|
}
|
|
584
584
|
if (c === "attributename" && stringMatch(u, "href")) {
|
|
585
|
-
|
|
585
|
+
uc(a, e);
|
|
586
586
|
continue;
|
|
587
587
|
}
|
|
588
588
|
if (r.forceKeepAttr) continue;
|
|
589
589
|
if (!r.keepAttr) {
|
|
590
|
-
|
|
590
|
+
uc(a, e);
|
|
591
591
|
continue;
|
|
592
592
|
}
|
|
593
|
-
if (!
|
|
594
|
-
|
|
593
|
+
if (!ws && regExpTest(/\/>/i, u)) {
|
|
594
|
+
uc(a, e);
|
|
595
595
|
continue;
|
|
596
596
|
}
|
|
597
|
-
|
|
598
|
-
as,
|
|
597
|
+
Ts && arrayForEach([
|
|
599
598
|
os,
|
|
600
|
-
ss
|
|
599
|
+
ss,
|
|
600
|
+
cs
|
|
601
601
|
], (e) => {
|
|
602
602
|
u = stringReplace(u, e, " ");
|
|
603
603
|
});
|
|
604
604
|
let f = Y(e.nodeName);
|
|
605
|
-
if (!
|
|
606
|
-
|
|
605
|
+
if (!_c(f, c, u)) {
|
|
606
|
+
uc(a, e);
|
|
607
607
|
continue;
|
|
608
608
|
}
|
|
609
|
-
if (
|
|
609
|
+
if (R && typeof h == "object" && typeof h.getAttributeType == "function" && !o) switch (h.getAttributeType(f, c)) {
|
|
610
610
|
case "TrustedHTML":
|
|
611
|
-
u =
|
|
611
|
+
u = R.createHTML(u);
|
|
612
612
|
break;
|
|
613
613
|
case "TrustedScriptURL":
|
|
614
|
-
u =
|
|
614
|
+
u = R.createScriptURL(u);
|
|
615
615
|
break;
|
|
616
616
|
}
|
|
617
617
|
if (u !== l) try {
|
|
618
|
-
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u),
|
|
618
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), pc(e) ? lc(e) : arrayPop(t.removed);
|
|
619
619
|
} catch {
|
|
620
|
-
|
|
620
|
+
uc(a, e);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
|
|
624
|
-
},
|
|
625
|
-
let n = null, r =
|
|
626
|
-
for (
|
|
627
|
-
|
|
623
|
+
hc(as.afterSanitizeAttributes, e, null);
|
|
624
|
+
}, bc = function e(t) {
|
|
625
|
+
let n = null, r = fc(t);
|
|
626
|
+
for (hc(as.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) hc(as.uponSanitizeShadowNode, n, null), gc(n), yc(n), n.content instanceof a && e(n.content);
|
|
627
|
+
hc(as.afterSanitizeShadowDOM, t, null);
|
|
628
628
|
};
|
|
629
629
|
return t.sanitize = function(e) {
|
|
630
630
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
|
|
631
|
-
if (
|
|
631
|
+
if (Js = !e, Js && (e = "<!-->"), typeof e != "string" && !mc(e)) if (typeof e.toString == "function") {
|
|
632
632
|
if (e = e.toString(), typeof e != "string") throw typeErrorCreate("dirty is not a string, aborting");
|
|
633
633
|
} else throw typeErrorCreate("toString is not a function");
|
|
634
634
|
if (!t.isSupported) return e;
|
|
635
|
-
if (
|
|
635
|
+
if (Os || ac(n), t.removed = [], typeof e == "string" && (Is = !1), Is) {
|
|
636
636
|
if (e.nodeName) {
|
|
637
637
|
let t = Y(e.nodeName);
|
|
638
|
-
if (!V[t] ||
|
|
638
|
+
if (!V[t] || vs[t]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
639
639
|
}
|
|
640
|
-
} else if (e instanceof s) i =
|
|
640
|
+
} else if (e instanceof s) i = dc("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === NODE_TYPE.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
|
|
641
641
|
else {
|
|
642
|
-
if (!
|
|
643
|
-
if (i =
|
|
642
|
+
if (!As && !Ts && !Ds && e.indexOf("<") === -1) return R && Ms ? R.createHTML(e) : e;
|
|
643
|
+
if (i = dc(e), !i) return As ? null : Ms ? B : "";
|
|
644
644
|
}
|
|
645
|
-
i &&
|
|
646
|
-
let u =
|
|
647
|
-
for (; c = u.nextNode();)
|
|
648
|
-
if (
|
|
649
|
-
if (
|
|
650
|
-
if (
|
|
645
|
+
i && ks && lc(i.firstChild);
|
|
646
|
+
let u = fc(Is ? e : i);
|
|
647
|
+
for (; c = u.nextNode();) gc(c), yc(c), c.content instanceof a && bc(c.content);
|
|
648
|
+
if (Is) return e;
|
|
649
|
+
if (As) {
|
|
650
|
+
if (js) for (l = ns.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
651
651
|
else l = i;
|
|
652
|
-
return (
|
|
652
|
+
return (gs.shadowroot || gs.shadowrootmode) && (l = is.call(r, l, !0)), l;
|
|
653
653
|
}
|
|
654
|
-
let f =
|
|
655
|
-
return
|
|
656
|
-
as,
|
|
654
|
+
let f = Ds ? i.outerHTML : i.innerHTML;
|
|
655
|
+
return Ds && V["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), Ts && arrayForEach([
|
|
657
656
|
os,
|
|
658
|
-
ss
|
|
657
|
+
ss,
|
|
658
|
+
cs
|
|
659
659
|
], (e) => {
|
|
660
660
|
f = stringReplace(f, e, " ");
|
|
661
|
-
}),
|
|
661
|
+
}), R && Ms ? R.createHTML(f) : f;
|
|
662
662
|
}, t.setConfig = function() {
|
|
663
|
-
|
|
663
|
+
ac(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Os = !0;
|
|
664
664
|
}, t.clearConfig = function() {
|
|
665
|
-
|
|
665
|
+
nc = null, Os = !1;
|
|
666
666
|
}, t.isValidAttribute = function(e, t, n) {
|
|
667
|
-
return
|
|
667
|
+
return nc || ac({}), _c(Y(e), Y(t), n);
|
|
668
668
|
}, t.addHook = function(e, t) {
|
|
669
|
-
typeof t == "function" && arrayPush(
|
|
669
|
+
typeof t == "function" && arrayPush(as[e], t);
|
|
670
670
|
}, t.removeHook = function(e, t) {
|
|
671
671
|
if (t !== void 0) {
|
|
672
|
-
let n = arrayLastIndexOf(
|
|
673
|
-
return n === -1 ? void 0 : arraySplice(
|
|
672
|
+
let n = arrayLastIndexOf(as[e], t);
|
|
673
|
+
return n === -1 ? void 0 : arraySplice(as[e], n, 1)[0];
|
|
674
674
|
}
|
|
675
|
-
return arrayPop(
|
|
675
|
+
return arrayPop(as[e]);
|
|
676
676
|
}, t.removeHooks = function(e) {
|
|
677
|
-
|
|
677
|
+
as[e] = [];
|
|
678
678
|
}, t.removeAllHooks = function() {
|
|
679
|
-
|
|
679
|
+
as = _createHooksMap();
|
|
680
680
|
}, t;
|
|
681
681
|
}
|
|
682
682
|
var purify = createDOMPurify();
|
|
@@ -21328,11 +21328,11 @@ function Button({ className: e, children: t, ...n }) {
|
|
|
21328
21328
|
});
|
|
21329
21329
|
}
|
|
21330
21330
|
function Checkbox({ checked: e, defaultChecked: t, icon: n, indeterminate: r, indeterminateIcon: i, onChange: a, disabled: o, children: s, className: c }) {
|
|
21331
|
-
let u = useRef(null), [f, p] = useState(t ?? !1),
|
|
21331
|
+
let u = useRef(null), [f, p] = useState(t ?? !1), O = e ?? f;
|
|
21332
21332
|
useEffect(() => {
|
|
21333
21333
|
u.current && (u.current.indeterminate = !!r);
|
|
21334
21334
|
}, [r]);
|
|
21335
|
-
function
|
|
21335
|
+
function A(t) {
|
|
21336
21336
|
let n = t.target.checked;
|
|
21337
21337
|
e === void 0 && p(n), a?.(n);
|
|
21338
21338
|
}
|
|
@@ -21344,17 +21344,17 @@ function Checkbox({ checked: e, defaultChecked: t, icon: n, indeterminate: r, in
|
|
|
21344
21344
|
type: "checkbox",
|
|
21345
21345
|
className: cn("p-0 absolute h-px w-px overflow-hidden whitespace-nowrap", "[clip-path:inset(50%)]", "border-0"),
|
|
21346
21346
|
disabled: o,
|
|
21347
|
-
onChange:
|
|
21347
|
+
onChange: A,
|
|
21348
21348
|
...e === void 0 ? { defaultChecked: t } : { checked: e }
|
|
21349
21349
|
}),
|
|
21350
21350
|
/* @__PURE__ */ jsx("span", {
|
|
21351
21351
|
role: "checkbox",
|
|
21352
|
-
"aria-checked": r ? "mixed" :
|
|
21352
|
+
"aria-checked": r ? "mixed" : O,
|
|
21353
21353
|
tabIndex: -1,
|
|
21354
|
-
"data-state": r ? "indeterminate" :
|
|
21354
|
+
"data-state": r ? "indeterminate" : O ? "checked" : "unchecked",
|
|
21355
21355
|
className: "checkbox-box inline-flex items-center justify-center",
|
|
21356
21356
|
children: /* @__PURE__ */ jsx("span", {
|
|
21357
|
-
className: cn("checkbox-icon", !(
|
|
21357
|
+
className: cn("checkbox-icon", !(O || r) && "opacity-0"),
|
|
21358
21358
|
children: r ? i ?? "—" : n ?? "✓"
|
|
21359
21359
|
})
|
|
21360
21360
|
}),
|
|
@@ -21372,18 +21372,18 @@ function useDropdown() {
|
|
|
21372
21372
|
return e;
|
|
21373
21373
|
}
|
|
21374
21374
|
function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bottom", offsetX: i = 0, offsetY: a = 0, disabled: o = !1, openOnHover: c = !0, open: u, onOpenChange: p }) {
|
|
21375
|
-
let
|
|
21376
|
-
e !==
|
|
21375
|
+
let O = u !== void 0, [A, R] = useState(!1), B = O ? u : A, es = useCallback((e) => {
|
|
21376
|
+
e !== B && (O || R(e), p?.(e));
|
|
21377
21377
|
}, [
|
|
21378
|
-
|
|
21379
|
-
|
|
21378
|
+
B,
|
|
21379
|
+
O,
|
|
21380
21380
|
p
|
|
21381
|
-
]), ts = useRef(null), ns = useRef(null), rs = useRef(null), [is,
|
|
21381
|
+
]), ts = useRef(null), ns = useRef(null), rs = useRef(null), [is, as] = useState(null), os = useCallback(() => {
|
|
21382
21382
|
if (!ts.current || !ns.current) return;
|
|
21383
21383
|
let e = ts.current.getBoundingClientRect(), t = ns.current.getBoundingClientRect(), o = e.left;
|
|
21384
21384
|
n === "end" ? o = e.right - t.width : n === "center" && (o = e.left + (e.width - t.width) / 2), o += i;
|
|
21385
21385
|
let s;
|
|
21386
|
-
s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() =>
|
|
21386
|
+
s = r === "bottom" ? e.bottom + a : e.top - t.height + a, queueMicrotask(() => as({
|
|
21387
21387
|
top: s,
|
|
21388
21388
|
left: o
|
|
21389
21389
|
}));
|
|
@@ -21394,17 +21394,17 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
|
|
|
21394
21394
|
a
|
|
21395
21395
|
]);
|
|
21396
21396
|
useLayoutEffect(() => {
|
|
21397
|
-
|
|
21398
|
-
}, [
|
|
21399
|
-
if (!
|
|
21400
|
-
let e = () =>
|
|
21397
|
+
B && os();
|
|
21398
|
+
}, [B, os]), useEffect(() => {
|
|
21399
|
+
if (!B) return;
|
|
21400
|
+
let e = () => os();
|
|
21401
21401
|
return window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
21402
21402
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
21403
21403
|
};
|
|
21404
|
-
}, [
|
|
21405
|
-
let
|
|
21404
|
+
}, [B, os]);
|
|
21405
|
+
let ss = useCallback(() => {
|
|
21406
21406
|
rs.current &&= (clearTimeout(rs.current), null), es(!0);
|
|
21407
|
-
}, [es]),
|
|
21407
|
+
}, [es]), cs = useCallback(() => {
|
|
21408
21408
|
rs.current = window.setTimeout(() => {
|
|
21409
21409
|
es(!1);
|
|
21410
21410
|
}, 120);
|
|
@@ -21420,21 +21420,21 @@ function Dropdown({ trigger: e, children: t, align: n = "start", side: r = "bott
|
|
|
21420
21420
|
}, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
|
|
21421
21421
|
value: {
|
|
21422
21422
|
close: () => es(!1),
|
|
21423
|
-
open:
|
|
21423
|
+
open: ss
|
|
21424
21424
|
},
|
|
21425
21425
|
children: [/* @__PURE__ */ jsx("div", {
|
|
21426
21426
|
ref: ts,
|
|
21427
21427
|
className: "inline-flex",
|
|
21428
|
-
onMouseEnter: c ?
|
|
21429
|
-
onMouseLeave: c ?
|
|
21430
|
-
onClick: () => es(!
|
|
21428
|
+
onMouseEnter: c ? ss : void 0,
|
|
21429
|
+
onMouseLeave: c ? cs : void 0,
|
|
21430
|
+
onClick: () => es(!B),
|
|
21431
21431
|
"aria-haspopup": "menu",
|
|
21432
|
-
"aria-expanded":
|
|
21432
|
+
"aria-expanded": B,
|
|
21433
21433
|
children: e
|
|
21434
|
-
}),
|
|
21434
|
+
}), B && !o && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21435
21435
|
ref: ns,
|
|
21436
|
-
onMouseEnter: c ?
|
|
21437
|
-
onMouseLeave: c ?
|
|
21436
|
+
onMouseEnter: c ? ss : void 0,
|
|
21437
|
+
onMouseLeave: c ? cs : void 0,
|
|
21438
21438
|
style: {
|
|
21439
21439
|
position: "fixed",
|
|
21440
21440
|
top: is?.top ?? 0,
|
|
@@ -21452,7 +21452,7 @@ function Input({ type: e = "text", value: t, defaultValue: n, disabled: r = !1,
|
|
|
21452
21452
|
let t = e.target.value;
|
|
21453
21453
|
f || u(t), o?.(t);
|
|
21454
21454
|
}
|
|
21455
|
-
function
|
|
21455
|
+
function O(e) {
|
|
21456
21456
|
s?.(e);
|
|
21457
21457
|
}
|
|
21458
21458
|
return /* @__PURE__ */ jsx("input", {
|
|
@@ -21463,7 +21463,7 @@ function Input({ type: e = "text", value: t, defaultValue: n, disabled: r = !1,
|
|
|
21463
21463
|
"aria-disabled": r || void 0,
|
|
21464
21464
|
"aria-invalid": i || void 0,
|
|
21465
21465
|
onChange: h,
|
|
21466
|
-
onKeyDown:
|
|
21466
|
+
onKeyDown: O,
|
|
21467
21467
|
className: cn("bg-transparent outline-none", r && "pointer-events-none", c)
|
|
21468
21468
|
});
|
|
21469
21469
|
}
|
|
@@ -21501,17 +21501,17 @@ function getVerticalAlign(e, t, n) {
|
|
|
21501
21501
|
return n === "start" ? e.top : n === "end" ? e.bottom - t.height : e.top + e.height / 2 - t.height / 2;
|
|
21502
21502
|
}
|
|
21503
21503
|
function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120, className: i }) {
|
|
21504
|
-
let a = useRef(null), o = useRef(null), s = useRef(null), [c, u] = useState(!1), [p,
|
|
21504
|
+
let a = useRef(null), o = useRef(null), s = useRef(null), [c, u] = useState(!1), [p, O] = useState(null), R = () => {
|
|
21505
21505
|
s.current &&= (clearTimeout(s.current), null), s.current = window.setTimeout(() => {
|
|
21506
21506
|
u(!0);
|
|
21507
21507
|
}, r);
|
|
21508
|
-
},
|
|
21508
|
+
}, B = () => {
|
|
21509
21509
|
s.current &&= (clearTimeout(s.current), null), u(!1);
|
|
21510
21510
|
};
|
|
21511
21511
|
return useLayoutEffect(() => {
|
|
21512
21512
|
if (!c || !a.current || !o.current) return;
|
|
21513
21513
|
let e = a.current.getBoundingClientRect(), t = o.current.getBoundingClientRect(), [r, i] = n.split("-"), s = i ?? "center", l = 0, u = 0;
|
|
21514
|
-
r === "top" || r === "bottom" ? (l = r === "top" ? e.top - t.height - 4 : e.bottom + 4, u = getHorizontalAlign(e, t, s)) : (u = r === "left" ? e.left - t.width - 4 : e.right + 4, l = getVerticalAlign(e, t, s)),
|
|
21514
|
+
r === "top" || r === "bottom" ? (l = r === "top" ? e.top - t.height - 4 : e.bottom + 4, u = getHorizontalAlign(e, t, s)) : (u = r === "left" ? e.left - t.width - 4 : e.right + 4, l = getVerticalAlign(e, t, s)), O((e) => e && e.top === l && e.left === u ? e : {
|
|
21515
21515
|
top: l,
|
|
21516
21516
|
left: u
|
|
21517
21517
|
});
|
|
@@ -21520,10 +21520,10 @@ function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120,
|
|
|
21520
21520
|
}, []), /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
21521
21521
|
ref: a,
|
|
21522
21522
|
className: "inline-flex",
|
|
21523
|
-
onMouseEnter:
|
|
21524
|
-
onMouseLeave:
|
|
21525
|
-
onFocus:
|
|
21526
|
-
onBlur:
|
|
21523
|
+
onMouseEnter: R,
|
|
21524
|
+
onMouseLeave: B,
|
|
21525
|
+
onFocus: R,
|
|
21526
|
+
onBlur: B,
|
|
21527
21527
|
children: e
|
|
21528
21528
|
}), c && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21529
21529
|
ref: o,
|
|
@@ -23005,7 +23005,7 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
23005
23005
|
e,
|
|
23006
23006
|
o,
|
|
23007
23007
|
t
|
|
23008
|
-
]), h = u?.step ?? null,
|
|
23008
|
+
]), h = u?.step ?? null, O = u?.index ?? null, Qo = useCallback((e) => {
|
|
23009
23009
|
c((t) => {
|
|
23010
23010
|
if (t.has(e)) return t;
|
|
23011
23011
|
let n = new Set(t);
|
|
@@ -23018,23 +23018,23 @@ function OnboardingEngine({ steps: e, context: t, storageKey: n, isEnabled: r =
|
|
|
23018
23018
|
let i = new Set(n);
|
|
23019
23019
|
return i.add(r.step.id), i;
|
|
23020
23020
|
});
|
|
23021
|
-
}, [e, t]),
|
|
23021
|
+
}, [e, t]), R = useCallback(() => {
|
|
23022
23022
|
c(new Set(e.map((e) => e.id)));
|
|
23023
23023
|
}, [e]);
|
|
23024
23024
|
return /* @__PURE__ */ jsx(Fragment$1, { children: i({
|
|
23025
23025
|
context: t,
|
|
23026
23026
|
currentStep: h,
|
|
23027
|
-
currentStepIndex:
|
|
23027
|
+
currentStepIndex: O,
|
|
23028
23028
|
dismissedStepIds: o,
|
|
23029
23029
|
actions: useMemo(() => ({
|
|
23030
23030
|
dismissCurrentStep: $o,
|
|
23031
23031
|
dismissStep: Qo,
|
|
23032
|
-
skipAll:
|
|
23033
|
-
close:
|
|
23032
|
+
skipAll: R,
|
|
23033
|
+
close: R
|
|
23034
23034
|
}), [
|
|
23035
23035
|
$o,
|
|
23036
23036
|
Qo,
|
|
23037
|
-
|
|
23037
|
+
R
|
|
23038
23038
|
])
|
|
23039
23039
|
}) });
|
|
23040
23040
|
}
|
|
@@ -23206,7 +23206,7 @@ function useToastTimers(e, t) {
|
|
|
23206
23206
|
isPaused: !0
|
|
23207
23207
|
});
|
|
23208
23208
|
}), a.current &&= (clearInterval(a.current), null);
|
|
23209
|
-
}, []),
|
|
23209
|
+
}, []), O = useCallback(() => {
|
|
23210
23210
|
o.current && (o.current = !1, i.current.forEach((t, n) => {
|
|
23211
23211
|
if (t.isPaused && t.remainingTime > 0) {
|
|
23212
23212
|
let r = e.find((e) => e.id === n);
|
|
@@ -23217,7 +23217,7 @@ function useToastTimers(e, t) {
|
|
|
23217
23217
|
e,
|
|
23218
23218
|
u,
|
|
23219
23219
|
f
|
|
23220
|
-
]),
|
|
23220
|
+
]), A = useCallback((e) => {
|
|
23221
23221
|
i.current.delete(e), r((t) => {
|
|
23222
23222
|
let n = new Map(t);
|
|
23223
23223
|
return n.delete(e), n;
|
|
@@ -23238,14 +23238,14 @@ function useToastTimers(e, t) {
|
|
|
23238
23238
|
}, []), {
|
|
23239
23239
|
remainingTimes: n,
|
|
23240
23240
|
pauseAll: p,
|
|
23241
|
-
resumeAll:
|
|
23242
|
-
cleanupTimer:
|
|
23241
|
+
resumeAll: O,
|
|
23242
|
+
cleanupTimer: A
|
|
23243
23243
|
};
|
|
23244
23244
|
}
|
|
23245
23245
|
function Toaster() {
|
|
23246
23246
|
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);
|
|
23247
23247
|
useEffect(() => toastStore.subscribe(t), []);
|
|
23248
|
-
let
|
|
23248
|
+
let R = useSyncExternalStore(subscribeNoop$1, getClientSnapshot$1, getServerSnapshot$1), B = useCallback((e) => {
|
|
23249
23249
|
e.callbacks?.onOpen?.();
|
|
23250
23250
|
}, []), es = useCallback((e, t) => {
|
|
23251
23251
|
t === "manual" ? e.callbacks?.onClose?.() : (t === "timeout" || t === "replaced") && e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
|
|
@@ -23262,7 +23262,7 @@ function Toaster() {
|
|
|
23262
23262
|
content: t.content,
|
|
23263
23263
|
duration: t.duration
|
|
23264
23264
|
} : e;
|
|
23265
|
-
}).map((e) => markAsExiting(e, !t.has(e.id))).map(updateAnimationState), a = [...e.filter((e) => !s.has(e.id)).map((e) => (
|
|
23265
|
+
}).map((e) => markAsExiting(e, !t.has(e.id))).map(updateAnimationState), a = [...e.filter((e) => !s.has(e.id)).map((e) => (B(e), {
|
|
23266
23266
|
...e,
|
|
23267
23267
|
animationState: "entering"
|
|
23268
23268
|
})), ...i];
|
|
@@ -23270,7 +23270,7 @@ function Toaster() {
|
|
|
23270
23270
|
}), i.current = t;
|
|
23271
23271
|
}, [
|
|
23272
23272
|
e,
|
|
23273
|
-
|
|
23273
|
+
B,
|
|
23274
23274
|
es
|
|
23275
23275
|
]);
|
|
23276
23276
|
let ts = useCallback((e) => {
|
|
@@ -23281,7 +23281,7 @@ function Toaster() {
|
|
|
23281
23281
|
}, [p]), ns = useCallback((e) => {
|
|
23282
23282
|
a.current.set(e, "manual"), toastStore.remove(e);
|
|
23283
23283
|
}, []);
|
|
23284
|
-
if (!
|
|
23284
|
+
if (!R) return null;
|
|
23285
23285
|
let rs = groupByPosition(n);
|
|
23286
23286
|
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(rs).map(([e, t]) => {
|
|
23287
23287
|
let n = t.filter((e) => e.singleSlot), r = t.filter((e) => !e.singleSlot), i = n.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
@@ -23517,7 +23517,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23517
23517
|
let s = e > 0, c = s && t === e, l = s && t > 0 && t < e, u = c ? `All (${e})` : l ? `${t}/${e} selected` : `Select all (${e})`, [f, p] = useState(i ?? "normal"), h = () => {
|
|
23518
23518
|
n(!c);
|
|
23519
23519
|
};
|
|
23520
|
-
function
|
|
23520
|
+
function O(e) {
|
|
23521
23521
|
p(e), a?.(e);
|
|
23522
23522
|
}
|
|
23523
23523
|
let $o = {
|
|
@@ -23572,7 +23572,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23572
23572
|
}),
|
|
23573
23573
|
onClick: r.read.off
|
|
23574
23574
|
}]
|
|
23575
|
-
},
|
|
23575
|
+
}, R = [{
|
|
23576
23576
|
value: "normal",
|
|
23577
23577
|
tooltip: "Normal density",
|
|
23578
23578
|
icon: /* @__PURE__ */ jsx(NormalDensityIcon, { size: 20 })
|
|
@@ -23616,13 +23616,13 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23616
23616
|
}),
|
|
23617
23617
|
/* @__PURE__ */ jsx("div", {
|
|
23618
23618
|
className: "gap-2 flex items-center",
|
|
23619
|
-
children:
|
|
23619
|
+
children: R.map(({ value: e, tooltip: t, icon: n }) => {
|
|
23620
23620
|
let r = f === e;
|
|
23621
23621
|
return /* @__PURE__ */ jsx(InfoTooltip, {
|
|
23622
23622
|
content: t,
|
|
23623
23623
|
children: /* @__PURE__ */ jsx(IconButton, {
|
|
23624
23624
|
className: cn("h-7 w-7 p-0 text-neutral-900", r && "bg-white-variant-4"),
|
|
23625
|
-
onClick: () =>
|
|
23625
|
+
onClick: () => O(e),
|
|
23626
23626
|
icon: n,
|
|
23627
23627
|
"aria-pressed": r
|
|
23628
23628
|
})
|
|
@@ -23873,20 +23873,20 @@ function ToggleControlPortal({ isPressed: e, isPortalHovered: t, portalPosition:
|
|
|
23873
23873
|
})
|
|
23874
23874
|
}), document.body);
|
|
23875
23875
|
}
|
|
23876
|
-
function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary", orientation: i = "vertical", status: a = "active", alwaysShowCount: o = !1, showToggleControl: s = !1, pressed: c, defaultPressed: l = !1, onPressedChange: u, classNames: p, ...
|
|
23877
|
-
let
|
|
23876
|
+
function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary", orientation: i = "vertical", status: a = "active", alwaysShowCount: o = !1, showToggleControl: s = !1, pressed: c, defaultPressed: l = !1, onPressedChange: u, classNames: p, ...O }) {
|
|
23877
|
+
let A = iconCountButtonStyles({
|
|
23878
23878
|
variant: r,
|
|
23879
23879
|
orientation: i,
|
|
23880
23880
|
status: a
|
|
23881
|
-
}), $o = useRef(null), [
|
|
23882
|
-
function
|
|
23881
|
+
}), $o = useRef(null), [R, B] = useState(!1), [es, ts] = useState(!1), [ns, rs] = useState(l), [is, as] = useState(null), os = c ?? ns, ss = s && (R || es || os), cs = typeof n == "number" && n > 0 && (o || a === "active");
|
|
23882
|
+
function ls(e) {
|
|
23883
23883
|
c === void 0 && rs(e), u?.(e);
|
|
23884
23884
|
}
|
|
23885
23885
|
return useLayoutEffect(() => {
|
|
23886
|
-
if (!
|
|
23886
|
+
if (!ss || !$o.current) return;
|
|
23887
23887
|
function e() {
|
|
23888
23888
|
let e = $o.current?.getBoundingClientRect();
|
|
23889
|
-
e &&
|
|
23889
|
+
e && as({
|
|
23890
23890
|
top: e.top - 8,
|
|
23891
23891
|
left: e.right - 12
|
|
23892
23892
|
});
|
|
@@ -23894,30 +23894,30 @@ function IconCountButton({ icon: e, label: t, count: n, variant: r = "primary",
|
|
|
23894
23894
|
return e(), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
23895
23895
|
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
23896
23896
|
};
|
|
23897
|
-
}, [
|
|
23898
|
-
...
|
|
23899
|
-
className: cn(
|
|
23900
|
-
onMouseEnter: () =>
|
|
23901
|
-
onMouseLeave: () =>
|
|
23897
|
+
}, [ss]), /* @__PURE__ */ jsxs(Button, {
|
|
23898
|
+
...O,
|
|
23899
|
+
className: cn(A.root(), p?.root),
|
|
23900
|
+
onMouseEnter: () => B(!0),
|
|
23901
|
+
onMouseLeave: () => B(!1),
|
|
23902
23902
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
23903
23903
|
className: "relative",
|
|
23904
23904
|
children: [/* @__PURE__ */ jsx("div", {
|
|
23905
23905
|
ref: $o,
|
|
23906
|
-
className: cn(
|
|
23907
|
-
children: renderIcon(e,
|
|
23908
|
-
}),
|
|
23909
|
-
isPressed:
|
|
23906
|
+
className: cn(A.bubble(), p?.bubble),
|
|
23907
|
+
children: renderIcon(e, A.icon())
|
|
23908
|
+
}), ss && is && typeof document < "u" && ToggleControlPortal({
|
|
23909
|
+
isPressed: os,
|
|
23910
23910
|
isPortalHovered: es,
|
|
23911
23911
|
portalPosition: is,
|
|
23912
23912
|
onMouseEnter: () => ts(!0),
|
|
23913
23913
|
onMouseLeave: () => ts(!1),
|
|
23914
|
-
onToggle: () =>
|
|
23914
|
+
onToggle: () => ls(!os)
|
|
23915
23915
|
})]
|
|
23916
23916
|
}), /* @__PURE__ */ jsxs("div", {
|
|
23917
|
-
className: cn(
|
|
23918
|
-
children: [/* @__PURE__ */ jsx("span", { children: t }),
|
|
23917
|
+
className: cn(A.label(), p?.label),
|
|
23918
|
+
children: [/* @__PURE__ */ jsx("span", { children: t }), cs && /* @__PURE__ */ jsxs("span", {
|
|
23919
23919
|
"aria-label": `${n} items`,
|
|
23920
|
-
className: cn(
|
|
23920
|
+
className: cn(A.count(), p?.count),
|
|
23921
23921
|
children: [
|
|
23922
23922
|
"(",
|
|
23923
23923
|
formatCount(n),
|
|
@@ -23949,7 +23949,7 @@ function ActionMenu({ trigger: e, children: t, className: n, ...r }) {
|
|
|
23949
23949
|
});
|
|
23950
23950
|
}
|
|
23951
23951
|
function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelect: r, onRangeSelect: i }) {
|
|
23952
|
-
let { close: a } = useDropdown(), o = useMemo(() => /* @__PURE__ */ new Date(), []), [s, c] = useState(null), u = useRef(t), f = useRef(n), [
|
|
23952
|
+
let { close: a } = useDropdown(), o = useMemo(() => /* @__PURE__ */ new Date(), []), [s, c] = useState(null), u = useRef(t), f = useRef(n), [O, A] = useState(() => {
|
|
23953
23953
|
let r = e === "single" ? t ?? o : n.startDate ?? n.endDate ?? o;
|
|
23954
23954
|
return {
|
|
23955
23955
|
year: r.getFullYear(),
|
|
@@ -23958,13 +23958,13 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23958
23958
|
});
|
|
23959
23959
|
useEffect(() => {
|
|
23960
23960
|
(e === "single" && t && (!u.current || t.getTime() !== u.current.getTime()) || e === "range" && (n.startDate?.getTime() !== f.current.startDate?.getTime() || n.endDate?.getTime() !== f.current.endDate?.getTime())) && queueMicrotask(() => {
|
|
23961
|
-
if (e === "single" && t)
|
|
23961
|
+
if (e === "single" && t) A({
|
|
23962
23962
|
year: t.getFullYear(),
|
|
23963
23963
|
month: t.getMonth()
|
|
23964
23964
|
});
|
|
23965
23965
|
else if (e === "range") {
|
|
23966
23966
|
let e = n.startDate ?? n.endDate;
|
|
23967
|
-
e &&
|
|
23967
|
+
e && A({
|
|
23968
23968
|
year: e.getFullYear(),
|
|
23969
23969
|
month: e.getMonth()
|
|
23970
23970
|
});
|
|
@@ -23975,10 +23975,10 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23975
23975
|
t,
|
|
23976
23976
|
n
|
|
23977
23977
|
]);
|
|
23978
|
-
let $o = useMemo(() => generateCalendarDays(
|
|
23979
|
-
function
|
|
23978
|
+
let $o = useMemo(() => generateCalendarDays(O.year, O.month), [O.year, O.month]);
|
|
23979
|
+
function R(t) {
|
|
23980
23980
|
let o = t.getMonth(), s = t.getFullYear();
|
|
23981
|
-
if ((o !==
|
|
23981
|
+
if ((o !== O.month || s !== O.year) && A({
|
|
23982
23982
|
year: s,
|
|
23983
23983
|
month: o
|
|
23984
23984
|
}), e === "single") r(t), a();
|
|
@@ -23993,8 +23993,8 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23993
23993
|
}), a());
|
|
23994
23994
|
}
|
|
23995
23995
|
}
|
|
23996
|
-
function
|
|
23997
|
-
|
|
23996
|
+
function B() {
|
|
23997
|
+
A((e) => e.month === 0 ? {
|
|
23998
23998
|
year: e.year - 1,
|
|
23999
23999
|
month: 11
|
|
24000
24000
|
} : {
|
|
@@ -24003,7 +24003,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24003
24003
|
});
|
|
24004
24004
|
}
|
|
24005
24005
|
function es() {
|
|
24006
|
-
|
|
24006
|
+
A((e) => e.month === 11 ? {
|
|
24007
24007
|
year: e.year + 1,
|
|
24008
24008
|
month: 0
|
|
24009
24009
|
} : {
|
|
@@ -24023,16 +24023,16 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24023
24023
|
direction: "left",
|
|
24024
24024
|
size: 20
|
|
24025
24025
|
}),
|
|
24026
|
-
onClick:
|
|
24026
|
+
onClick: B,
|
|
24027
24027
|
className: "hover:opacity-60",
|
|
24028
24028
|
"aria-label": "Previous month"
|
|
24029
24029
|
}),
|
|
24030
24030
|
/* @__PURE__ */ jsxs("div", {
|
|
24031
24031
|
className: "font-bold text-[10px] text-neutral-900",
|
|
24032
24032
|
children: [
|
|
24033
|
-
getMonthName(
|
|
24033
|
+
getMonthName(O.month),
|
|
24034
24034
|
" ",
|
|
24035
|
-
|
|
24035
|
+
O.year
|
|
24036
24036
|
]
|
|
24037
24037
|
}),
|
|
24038
24038
|
/* @__PURE__ */ jsx(IconButton, {
|
|
@@ -24056,12 +24056,12 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24056
24056
|
/* @__PURE__ */ jsx("div", {
|
|
24057
24057
|
className: "grid grid-cols-7",
|
|
24058
24058
|
children: $o.map(({ day: r, date: i, isCurrentMonth: a }) => {
|
|
24059
|
-
let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f),
|
|
24060
|
-
e === "range" && u && !f && s && !isDateBefore(s, u) ? (
|
|
24061
|
-
let
|
|
24059
|
+
let o = isToday(i), l = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, p = u && isSameDay(i, u), h = f && isSameDay(i, f), g = u, O = s;
|
|
24060
|
+
e === "range" && u && !f && s && !isDateBefore(s, u) ? (g = u, O = s) : (g = null, O = null);
|
|
24061
|
+
let A = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, g, O)), Qo = l || p || h;
|
|
24062
24062
|
return /* @__PURE__ */ jsx(Button, {
|
|
24063
24063
|
type: "button",
|
|
24064
|
-
onClick: () =>
|
|
24064
|
+
onClick: () => R(i),
|
|
24065
24065
|
onMouseEnter: () => {
|
|
24066
24066
|
e === "range" && u && !f && !isDateBefore(i, u) && c(i);
|
|
24067
24067
|
},
|
|
@@ -24072,7 +24072,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
24072
24072
|
"aria-label": `Select ${formatDate(i)}`,
|
|
24073
24073
|
"aria-selected": Qo || void 0,
|
|
24074
24074
|
children: /* @__PURE__ */ jsx("div", {
|
|
24075
|
-
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", Qo && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500",
|
|
24075
|
+
className: cn("rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors", Qo && "font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500", A && !Qo && "font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30", o && !Qo && !A && "font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white", !Qo && !A && (a ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
|
|
24076
24076
|
children: r
|
|
24077
24077
|
})
|
|
24078
24078
|
}, `${i.getFullYear()}-${i.getMonth()}-${r}`);
|
|
@@ -24137,11 +24137,11 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24137
24137
|
function h(t) {
|
|
24138
24138
|
e === "single" && (u || s(t), r?.(t));
|
|
24139
24139
|
}
|
|
24140
|
-
function
|
|
24140
|
+
function O(t) {
|
|
24141
24141
|
e === "range" && (u || l(t), r?.(t));
|
|
24142
24142
|
}
|
|
24143
24143
|
function Qo() {
|
|
24144
|
-
e === "single" ? h(null) :
|
|
24144
|
+
e === "single" ? h(null) : O({
|
|
24145
24145
|
startDate: null,
|
|
24146
24146
|
endDate: null
|
|
24147
24147
|
});
|
|
@@ -24159,7 +24159,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
24159
24159
|
selectedDate: f,
|
|
24160
24160
|
selectedRange: p,
|
|
24161
24161
|
onDateSelect: h,
|
|
24162
|
-
onRangeSelect:
|
|
24162
|
+
onRangeSelect: O
|
|
24163
24163
|
})
|
|
24164
24164
|
}) });
|
|
24165
24165
|
}
|
|
@@ -24365,18 +24365,18 @@ function EventActionsList({ actions: e, className: t }) {
|
|
|
24365
24365
|
}) })
|
|
24366
24366
|
});
|
|
24367
24367
|
}
|
|
24368
|
-
function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: h = {}, actions:
|
|
24368
|
+
function EventCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, timestampTooltip: o, workspace: s, read: c = !1, selected: l = !1, onSelect: u, checked: f = !1, onCheckedChange: p, statusBadges: h = {}, actions: g = {}, density: O = "normal", className: A, style: $o, isPriority: R, isDone: B }) {
|
|
24369
24369
|
return /* @__PURE__ */ jsx(Card, {
|
|
24370
24370
|
as: Pressable,
|
|
24371
24371
|
onPress: u,
|
|
24372
24372
|
className: cn(eventCardStyles({
|
|
24373
|
-
tone:
|
|
24373
|
+
tone: R ? "priority" : B ? "done" : "default",
|
|
24374
24374
|
state: l ? "selected" : c ? "read" : "unread",
|
|
24375
|
-
density:
|
|
24376
|
-
}),
|
|
24375
|
+
density: O
|
|
24376
|
+
}), A),
|
|
24377
24377
|
style: $o,
|
|
24378
24378
|
"data-service": t,
|
|
24379
|
-
children:
|
|
24379
|
+
children: O === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
|
|
24380
24380
|
className: "gap-x-2 gap-y-1",
|
|
24381
24381
|
children: [
|
|
24382
24382
|
/* @__PURE__ */ jsx(CardSidebar, { children: /* @__PURE__ */ jsx(EventCheckbox, {
|
|
@@ -24412,7 +24412,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24412
24412
|
/* @__PURE__ */ jsxs(CardFooter, {
|
|
24413
24413
|
className: "mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center",
|
|
24414
24414
|
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: h }), /* @__PURE__ */ jsx(EventActionsList, {
|
|
24415
|
-
actions:
|
|
24415
|
+
actions: g,
|
|
24416
24416
|
className: "col-start-2 justify-self-end"
|
|
24417
24417
|
})]
|
|
24418
24418
|
})
|
|
@@ -24431,7 +24431,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24431
24431
|
e,
|
|
24432
24432
|
/* @__PURE__ */ jsx(EventStatusesList, {
|
|
24433
24433
|
statusBadges: h,
|
|
24434
|
-
density:
|
|
24434
|
+
density: O
|
|
24435
24435
|
}),
|
|
24436
24436
|
/* @__PURE__ */ jsxs("div", {
|
|
24437
24437
|
className: cn("min-w-0 gap-2 text-sm font-bold flex items-center whitespace-nowrap text-neutral-900", c && "font-medium"),
|
|
@@ -24451,7 +24451,7 @@ function EventCard({ icon: e, service: t, sender: n, title: r, content: i, times
|
|
|
24451
24451
|
]
|
|
24452
24452
|
}),
|
|
24453
24453
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
24454
|
-
/* @__PURE__ */ jsx(EventActionsList, { actions:
|
|
24454
|
+
/* @__PURE__ */ jsx(EventActionsList, { actions: g }),
|
|
24455
24455
|
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
24456
24456
|
content: o,
|
|
24457
24457
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -24506,16 +24506,28 @@ function EventDetailContentCalendarDetails({ from: e, to: t, link: n, location:
|
|
|
24506
24506
|
}
|
|
24507
24507
|
] });
|
|
24508
24508
|
}
|
|
24509
|
-
function
|
|
24510
|
-
return /* @__PURE__ */
|
|
24511
|
-
className: "
|
|
24512
|
-
children: /* @__PURE__ */ jsxs("
|
|
24513
|
-
className: "
|
|
24509
|
+
function EventDetailFollowUp({ title: e, subtitle: t }) {
|
|
24510
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24511
|
+
className: "gap-1 min-h-14 px-4 py-3 flex flex-col justify-center bg-primary-light",
|
|
24512
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
24513
|
+
className: "text-xs font-normal py-1 gap-1 flex items-center leading-[1.2] text-neutral-800",
|
|
24514
24514
|
children: [/* @__PURE__ */ jsx("span", {
|
|
24515
|
-
className: "font-bold text-
|
|
24516
|
-
children: "
|
|
24515
|
+
className: "font-bold text-primary-500",
|
|
24516
|
+
children: "Follow-Up:\xA0"
|
|
24517
24517
|
}), e]
|
|
24518
|
-
})
|
|
24518
|
+
}), t != null && t !== "" && /* @__PURE__ */ jsx("p", {
|
|
24519
|
+
className: "font-normal leading-snug text-[11px] text-neutral-600",
|
|
24520
|
+
children: t
|
|
24521
|
+
})]
|
|
24522
|
+
});
|
|
24523
|
+
}
|
|
24524
|
+
function EventDetailPriority({ priorityText: e }) {
|
|
24525
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24526
|
+
className: "min-h-14 gap-1 px-4 py-3 text-xs font-normal flex items-center bg-tertiary-50 leading-[1.2] text-neutral-800",
|
|
24527
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
24528
|
+
className: "font-bold text-tertiary-500",
|
|
24529
|
+
children: "High Urgency:\xA0"
|
|
24530
|
+
}), e]
|
|
24519
24531
|
});
|
|
24520
24532
|
}
|
|
24521
24533
|
function EventDetailSummary({ summary: e }) {
|
|
@@ -24530,25 +24542,33 @@ function EventDetailSummary({ summary: e }) {
|
|
|
24530
24542
|
})]
|
|
24531
24543
|
});
|
|
24532
24544
|
}
|
|
24533
|
-
function EventDetailContentHeader({ summary: e, priorityText: t,
|
|
24545
|
+
function EventDetailContentHeader({ summary: e, priorityText: t, followUpTitle: n, followUpSubtitle: r, children: i, className: a }) {
|
|
24534
24546
|
return /* @__PURE__ */ jsxs("div", {
|
|
24535
|
-
className: cn("flex flex-col",
|
|
24536
|
-
children: [
|
|
24547
|
+
className: cn("flex flex-col", a),
|
|
24548
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
24549
|
+
className: "top-14 sticky z-5 flex shrink-0 flex-col",
|
|
24550
|
+
children: [t != null && /* @__PURE__ */ jsx(EventDetailPriority, { priorityText: t }), n != null && /* @__PURE__ */ jsx(EventDetailFollowUp, {
|
|
24551
|
+
title: n,
|
|
24552
|
+
subtitle: r
|
|
24553
|
+
})]
|
|
24554
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
24537
24555
|
className: "gap-4 p-4 flex flex-col",
|
|
24538
|
-
children: [e != null && /* @__PURE__ */ jsx(EventDetailSummary, { summary: e }),
|
|
24556
|
+
children: [e != null && /* @__PURE__ */ jsx(EventDetailSummary, { summary: e }), i]
|
|
24539
24557
|
})]
|
|
24540
24558
|
});
|
|
24541
24559
|
}
|
|
24542
|
-
function EventDetailContentCalendar({ detail: { summary: e, body: t, priorityText: n,
|
|
24560
|
+
function EventDetailContentCalendar({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, from: a, to: o, link: s, location: c }, className: l }) {
|
|
24543
24561
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
24544
24562
|
summary: e,
|
|
24545
24563
|
priorityText: n,
|
|
24546
|
-
|
|
24564
|
+
followUpTitle: r,
|
|
24565
|
+
followUpSubtitle: i,
|
|
24566
|
+
className: l,
|
|
24547
24567
|
children: [/* @__PURE__ */ jsx(EventDetailContentCalendarDetails, {
|
|
24548
|
-
from:
|
|
24549
|
-
to:
|
|
24550
|
-
link:
|
|
24551
|
-
location:
|
|
24568
|
+
from: a,
|
|
24569
|
+
to: o,
|
|
24570
|
+
link: s,
|
|
24571
|
+
location: c
|
|
24552
24572
|
}), /* @__PURE__ */ jsx(RichContent, {
|
|
24553
24573
|
className: "max-w-[1260px px-4",
|
|
24554
24574
|
content: t
|
|
@@ -24575,16 +24595,18 @@ function EventDetailContentEmailDetails({ subject: e, to: t, date: n, from: r })
|
|
|
24575
24595
|
}
|
|
24576
24596
|
] });
|
|
24577
24597
|
}
|
|
24578
|
-
function EventDetailContentEmail({ detail: { summary: e, body: t, priorityText: n,
|
|
24598
|
+
function EventDetailContentEmail({ detail: { summary: e, body: t, priorityText: n, followUpTitle: r, followUpSubtitle: i, subject: a, to: o, date: s, from: c }, className: l }) {
|
|
24579
24599
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
24580
24600
|
summary: e,
|
|
24581
24601
|
priorityText: n,
|
|
24582
|
-
|
|
24602
|
+
followUpTitle: r,
|
|
24603
|
+
followUpSubtitle: i,
|
|
24604
|
+
className: l,
|
|
24583
24605
|
children: [/* @__PURE__ */ jsx(EventDetailContentEmailDetails, {
|
|
24584
|
-
subject:
|
|
24585
|
-
to:
|
|
24586
|
-
date:
|
|
24587
|
-
from:
|
|
24606
|
+
subject: a,
|
|
24607
|
+
to: o,
|
|
24608
|
+
date: s,
|
|
24609
|
+
from: c
|
|
24588
24610
|
}), /* @__PURE__ */ jsx(RichContent, {
|
|
24589
24611
|
className: "px-4 max-w-[1260px]",
|
|
24590
24612
|
content: t
|
|
@@ -24596,7 +24618,8 @@ var eventSummaryCardStyles = tv({
|
|
|
24596
24618
|
variants: {
|
|
24597
24619
|
tone: {
|
|
24598
24620
|
default: "hover:bg-primary-light",
|
|
24599
|
-
priority: "hover:bg-tertiary-500-variant-4"
|
|
24621
|
+
priority: "hover:bg-tertiary-500-variant-4",
|
|
24622
|
+
insight: "hover:bg-primary-light"
|
|
24600
24623
|
},
|
|
24601
24624
|
state: {
|
|
24602
24625
|
normal: "",
|
|
@@ -24612,7 +24635,7 @@ var eventSummaryCardStyles = tv({
|
|
|
24612
24635
|
{
|
|
24613
24636
|
tone: "default",
|
|
24614
24637
|
state: "selected",
|
|
24615
|
-
class: "border-
|
|
24638
|
+
class: "border-neutral-600 bg-primary-light"
|
|
24616
24639
|
},
|
|
24617
24640
|
{
|
|
24618
24641
|
tone: "priority",
|
|
@@ -24623,6 +24646,16 @@ var eventSummaryCardStyles = tv({
|
|
|
24623
24646
|
tone: "priority",
|
|
24624
24647
|
state: "selected",
|
|
24625
24648
|
class: "border-tertiary-500-variant-2 bg-tertiary-500-variant-4"
|
|
24649
|
+
},
|
|
24650
|
+
{
|
|
24651
|
+
tone: "insight",
|
|
24652
|
+
state: "normal",
|
|
24653
|
+
class: "border-primary-500/30"
|
|
24654
|
+
},
|
|
24655
|
+
{
|
|
24656
|
+
tone: "insight",
|
|
24657
|
+
state: "selected",
|
|
24658
|
+
class: "border-primary-500 bg-primary-light"
|
|
24626
24659
|
}
|
|
24627
24660
|
]
|
|
24628
24661
|
});
|
|
@@ -24663,11 +24696,11 @@ function EventSummaryFireButton({ active: e, onClick: t }) {
|
|
|
24663
24696
|
}) });
|
|
24664
24697
|
}
|
|
24665
24698
|
function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i, timestamp: a, workspace: o, selected: s = !1, onSelect: c, actions: l, className: u }) {
|
|
24666
|
-
let { fire: f, insight: p, link: h } = l,
|
|
24699
|
+
let { fire: f, insight: p, link: h } = l, g = p?.label ?? null;
|
|
24667
24700
|
return /* @__PURE__ */ jsxs(Pressable, {
|
|
24668
24701
|
onPress: c,
|
|
24669
24702
|
className: cn(eventSummaryCardStyles({
|
|
24670
|
-
tone: f.active ? "priority" : "default",
|
|
24703
|
+
tone: f.active ? "priority" : insightLabelVisible(g) ? "insight" : "default",
|
|
24671
24704
|
state: s ? "selected" : "normal"
|
|
24672
24705
|
}), EVENT_SUMMARY_CARD_HEIGHT_SIZE.style, u),
|
|
24673
24706
|
"data-service": t,
|
|
@@ -24691,7 +24724,7 @@ function EventSummaryCard({ icon: e, service: t, sender: n, title: r, content: i
|
|
|
24691
24724
|
className: "text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800",
|
|
24692
24725
|
children: a
|
|
24693
24726
|
}),
|
|
24694
|
-
insightLabelVisible(
|
|
24727
|
+
insightLabelVisible(g) && /* @__PURE__ */ jsx(EventSummaryInsightChip, { label: g }),
|
|
24695
24728
|
/* @__PURE__ */ jsx(EventSummaryFireButton, {
|
|
24696
24729
|
active: f.active,
|
|
24697
24730
|
onClick: f.onClick
|
|
@@ -24945,51 +24978,53 @@ function MessageGroup({ group: e, onPreviousPriority: t, onNextPriority: n }) {
|
|
|
24945
24978
|
})]
|
|
24946
24979
|
});
|
|
24947
24980
|
}
|
|
24948
|
-
function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityText: n }, className:
|
|
24949
|
-
let
|
|
24981
|
+
function EventDetailContentMessage({ detail: { groups: e, summary: t, priorityText: n, followUpTitle: r, followUpSubtitle: i }, className: a }) {
|
|
24982
|
+
let o = e.filter((e) => e.isPriority).length, c = useRef(null), u = useRef(null), f = useRef(!1);
|
|
24950
24983
|
useEffect(() => {
|
|
24951
|
-
e.length > 0 && !
|
|
24984
|
+
e.length > 0 && !f.current && (f.current = !0, u.current?.scrollIntoView({ behavior: "smooth" }));
|
|
24952
24985
|
}, [e]);
|
|
24953
|
-
let
|
|
24954
|
-
if (!
|
|
24955
|
-
let n = Array.from(
|
|
24986
|
+
let p = o, g = useCallback((t) => {
|
|
24987
|
+
if (!c.current) return;
|
|
24988
|
+
let n = Array.from(c.current.querySelectorAll("[data-group-id][class*=\"scroll-mt\"]")).filter((t) => {
|
|
24956
24989
|
let n = t.getAttribute("data-group-id");
|
|
24957
24990
|
return n ? e.find((e) => e.id === n)?.isPriority : !1;
|
|
24958
24991
|
});
|
|
24959
|
-
if (t >= 1 && t <=
|
|
24960
|
-
let e = n[
|
|
24992
|
+
if (t >= 1 && t <= o && n.length === o) {
|
|
24993
|
+
let e = n[o - t];
|
|
24961
24994
|
e && e.scrollIntoView({
|
|
24962
24995
|
behavior: "smooth",
|
|
24963
24996
|
block: "start"
|
|
24964
24997
|
});
|
|
24965
24998
|
}
|
|
24966
|
-
}, [e,
|
|
24999
|
+
}, [e, o]);
|
|
24967
25000
|
return /* @__PURE__ */ jsx(EventDetailContentHeader, {
|
|
24968
25001
|
summary: t,
|
|
24969
25002
|
priorityText: n,
|
|
24970
|
-
|
|
25003
|
+
followUpTitle: r,
|
|
25004
|
+
followUpSubtitle: i,
|
|
25005
|
+
className: a,
|
|
24971
25006
|
children: /* @__PURE__ */ jsxs("div", {
|
|
24972
|
-
ref:
|
|
25007
|
+
ref: c,
|
|
24973
25008
|
className: "gap-4 flex flex-col",
|
|
24974
25009
|
children: [e.map((e) => {
|
|
24975
|
-
let t = e.isPriority ?
|
|
25010
|
+
let t = e.isPriority ? p-- : 0, n = t ? () => {
|
|
24976
25011
|
let e = t + 1;
|
|
24977
|
-
e <=
|
|
25012
|
+
e <= o && g(e);
|
|
24978
25013
|
} : void 0, r = t ? () => {
|
|
24979
25014
|
let e = t - 1;
|
|
24980
|
-
e >= 1 &&
|
|
25015
|
+
e >= 1 && g(e);
|
|
24981
25016
|
} : void 0;
|
|
24982
25017
|
return /* @__PURE__ */ jsx(MessageGroup, {
|
|
24983
25018
|
group: {
|
|
24984
25019
|
...e,
|
|
24985
25020
|
priorityIndex: t,
|
|
24986
|
-
totalPriorityGroups:
|
|
25021
|
+
totalPriorityGroups: o
|
|
24987
25022
|
},
|
|
24988
25023
|
onPreviousPriority: n,
|
|
24989
25024
|
onNextPriority: r
|
|
24990
25025
|
}, e.id);
|
|
24991
25026
|
}), /* @__PURE__ */ jsx("div", {
|
|
24992
|
-
ref:
|
|
25027
|
+
ref: u,
|
|
24993
25028
|
"aria-hidden": "true"
|
|
24994
25029
|
})]
|
|
24995
25030
|
})
|
|
@@ -25047,24 +25082,26 @@ function EventDetailContentTicketDetails({ issue: e, notification: t, project: n
|
|
|
25047
25082
|
]
|
|
25048
25083
|
})] });
|
|
25049
25084
|
}
|
|
25050
|
-
function EventDetailContentTicket({ detail: { summary: e, body: t, priorityText: n,
|
|
25085
|
+
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: g, related: O }, className: A }) {
|
|
25051
25086
|
return /* @__PURE__ */ jsxs(EventDetailContentHeader, {
|
|
25052
25087
|
summary: e,
|
|
25053
25088
|
priorityText: n,
|
|
25054
|
-
|
|
25089
|
+
followUpTitle: r,
|
|
25090
|
+
followUpSubtitle: i,
|
|
25091
|
+
className: A,
|
|
25055
25092
|
children: [
|
|
25056
25093
|
/* @__PURE__ */ jsx(EventDetailContentTicketDetails, {
|
|
25057
|
-
issue:
|
|
25058
|
-
notification:
|
|
25059
|
-
project:
|
|
25060
|
-
task:
|
|
25061
|
-
dueDate:
|
|
25062
|
-
startDate:
|
|
25063
|
-
assignees:
|
|
25064
|
-
reporter:
|
|
25065
|
-
team:
|
|
25066
|
-
location:
|
|
25067
|
-
related:
|
|
25094
|
+
issue: a,
|
|
25095
|
+
notification: o,
|
|
25096
|
+
project: s,
|
|
25097
|
+
task: c,
|
|
25098
|
+
dueDate: l,
|
|
25099
|
+
startDate: u,
|
|
25100
|
+
assignees: f,
|
|
25101
|
+
reporter: p,
|
|
25102
|
+
team: h,
|
|
25103
|
+
location: g,
|
|
25104
|
+
related: O
|
|
25068
25105
|
}),
|
|
25069
25106
|
/* @__PURE__ */ jsx("h2", {
|
|
25070
25107
|
className: "px-4 text-sm font-bold text-neutral-900",
|
|
@@ -25582,16 +25619,16 @@ function OnboardingCard({ stepLabel: e, title: t, description: n, titleAccessory
|
|
|
25582
25619
|
children: [i, a]
|
|
25583
25620
|
})
|
|
25584
25621
|
]
|
|
25585
|
-
}),
|
|
25622
|
+
}), g = wrapArrow(/* @__PURE__ */ jsx(OnboardingCardArrow, {
|
|
25586
25623
|
layout: o,
|
|
25587
25624
|
placement: s
|
|
25588
|
-
}), c, l),
|
|
25625
|
+
}), c, l), O = s === "before" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [g, h] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [h, g] });
|
|
25589
25626
|
return o === "horizontal" ? /* @__PURE__ */ jsx("div", {
|
|
25590
25627
|
className: cn("flex items-center", u),
|
|
25591
|
-
children:
|
|
25628
|
+
children: O
|
|
25592
25629
|
}) : /* @__PURE__ */ jsx("div", {
|
|
25593
25630
|
className: cn("flex flex-col items-center", u),
|
|
25594
|
-
children:
|
|
25631
|
+
children: O
|
|
25595
25632
|
});
|
|
25596
25633
|
}
|
|
25597
25634
|
var subscribeNoop = () => () => {}, getClientSnapshot = () => !0, getServerSnapshot = () => !1, PRIMARY_BTN = "rounded-lg bg-white px-4 py-1.5 text-xs font-semibold text-primary-500 transition-opacity hover:opacity-90", GHOST_BTN = "text-xs font-semibold text-white/70 transition-colors hover:text-white";
|
|
@@ -25639,7 +25676,7 @@ function OnboardingPortal({ currentStep: e, currentStepIndex: t, actions: n, ste
|
|
|
25639
25676
|
let p = e.layout === "vertical" && o.mode === "vertical" ? {
|
|
25640
25677
|
marginLeft: o.arrowMarginLeft,
|
|
25641
25678
|
...e.arrowWrapperStyle
|
|
25642
|
-
} : e.arrowWrapperStyle,
|
|
25679
|
+
} : e.arrowWrapperStyle, A = /* @__PURE__ */ jsx(OnboardingCard, {
|
|
25643
25680
|
stepLabel: e.stepLabel ?? (t == null ? void 0 : `${t + 1} / ${r.length}`),
|
|
25644
25681
|
title: e.title,
|
|
25645
25682
|
description: e.description,
|
|
@@ -25678,7 +25715,7 @@ function OnboardingPortal({ currentStep: e, currentStepIndex: t, actions: n, ste
|
|
|
25678
25715
|
left: o.left
|
|
25679
25716
|
}
|
|
25680
25717
|
},
|
|
25681
|
-
children:
|
|
25718
|
+
children: A
|
|
25682
25719
|
}), document.body);
|
|
25683
25720
|
}
|
|
25684
25721
|
function Onboarding({ steps: e, context: t, storageKey: n, onFinish: r, isEnabled: i = !0 }) {
|
|
@@ -25699,7 +25736,7 @@ function SearchInput({ value: e, defaultValue: t, placeholder: n = "Search...",
|
|
|
25699
25736
|
function h(e) {
|
|
25700
25737
|
u || l(e), r?.(e);
|
|
25701
25738
|
}
|
|
25702
|
-
function
|
|
25739
|
+
function O() {
|
|
25703
25740
|
u || l(""), r?.(""), a?.();
|
|
25704
25741
|
}
|
|
25705
25742
|
return /* @__PURE__ */ jsxs("fieldset", {
|
|
@@ -25725,7 +25762,7 @@ function SearchInput({ value: e, defaultValue: t, placeholder: n = "Search...",
|
|
|
25725
25762
|
size: 16,
|
|
25726
25763
|
className: "text-neutral-700"
|
|
25727
25764
|
}),
|
|
25728
|
-
onClick:
|
|
25765
|
+
onClick: O,
|
|
25729
25766
|
"aria-label": "Clear search",
|
|
25730
25767
|
className: "rounded p-0 transition-opacity hover:opacity-70"
|
|
25731
25768
|
})
|
|
@@ -25955,6 +25992,6 @@ function QtaloBlueImage({ size: e = 40, className: t, ...n }) {
|
|
|
25955
25992
|
}) })]
|
|
25956
25993
|
});
|
|
25957
25994
|
}
|
|
25958
|
-
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
|
|
25995
|
+
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddCircleIcon, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, CheckSquareIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EVENT_SUMMARY_CARD_HEIGHT_SIZE, EmptyBoxIcon, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailFollowUp, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, EventEmptyState, EventSummaryCard, EventSummaryCardSkeleton, EventSummaryFireButton, ExternalLinkIcon, EyeIcon, FilterBar, FilterBarSkeleton, FilterButton, FireFillIcon, FireIcon, GmailIcon, GoogleCalendarIcon, HelpPanel, HelpPanelEngine, HomeIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InboxIcon, InfoTooltip, Input, InsightFillIcon, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MailIcon, MinusIcon, MoreIcon, NoEyeIcon, NormalDensityIcon, NotFireIcon, ONBOARDING_DISMISSED_STORAGE_KEY, Onboarding, OnboardingCard, OnboardingEngine, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloBlueImage, QtaloImage, ReadIcon, ReplyIoIcon, RichContent, SearchIcon, SearchInput, SignOutIcon, Skeleton, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, formatTimestamp, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, normalizeContent, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
|
|
25959
25996
|
|
|
25960
25997
|
//# sourceMappingURL=index.js.map
|