@qtalo/qt-ui-library 0.1.7 → 0.1.8
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 +34 -3
- package/dist/index.js +283 -213
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/styles.css +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:
|
|
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: Ga, trustedTypes: p } = e, h = c.prototype, Ka = lookupGetter(h, "cloneNode"), qa = lookupGetter(h, "remove"), g = lookupGetter(h, "nextSibling"), O = lookupGetter(h, "childNodes"), Ja = lookupGetter(h, "parentNode");
|
|
330
330
|
if (typeof o == "function") {
|
|
331
331
|
let e = n.createElement("template");
|
|
332
332
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
333
333
|
}
|
|
334
|
-
let A,
|
|
335
|
-
t.isSupported = typeof entries == "function" && typeof
|
|
336
|
-
let { MUSTACHE_EXPR:
|
|
334
|
+
let A, Ya = "", { implementation: Xa, createNodeIterator: Za, createDocumentFragment: Qa, getElementsByTagName: $a } = n, { importNode: eo } = r, R = _createHooksMap();
|
|
335
|
+
t.isSupported = typeof entries == "function" && typeof Ja == "function" && Xa && Xa.createHTMLDocument !== void 0;
|
|
336
|
+
let { MUSTACHE_EXPR: to, ERB_EXPR: no, TMPLIT_EXPR: ro, DATA_ATTR: io, ARIA_ATTR: ao, IS_SCRIPT_OR_DATA: oo, ATTR_WHITESPACE: so, CUSTOM_ELEMENT: co } = EXPRESSIONS, { IS_ALLOWED_URI: lo } = EXPRESSIONS, B = null, uo = addToSet({}, [
|
|
337
337
|
...html$1,
|
|
338
338
|
...svg$1,
|
|
339
339
|
...svgFilters,
|
|
340
340
|
...mathMl$1,
|
|
341
341
|
...text
|
|
342
|
-
]), V = null,
|
|
342
|
+
]), V = null, fo = 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
|
+
})), po = null, mo = null, ho = 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
|
+
})), go = !0, _o = !0, vo = !1, yo = !0, bo = !1, xo = !0, So = !1, Co = !1, wo = !1, To = !1, Eo = !1, Do = !1, Oo = !0, ko = !1, Ao = !0, jo = !1, Mo = {}, No = null, Po = 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
|
+
]), Fo = null, Io = addToSet({}, [
|
|
406
406
|
"audio",
|
|
407
407
|
"video",
|
|
408
408
|
"img",
|
|
409
409
|
"source",
|
|
410
410
|
"image",
|
|
411
411
|
"track"
|
|
412
|
-
]),
|
|
412
|
+
]), Lo = null, Ro = addToSet({}, [
|
|
413
413
|
"alt",
|
|
414
414
|
"class",
|
|
415
415
|
"for",
|
|
@@ -424,58 +424,58 @@ function createDOMPurify() {
|
|
|
424
424
|
"value",
|
|
425
425
|
"style",
|
|
426
426
|
"xmlns"
|
|
427
|
-
]),
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
], stringToString),
|
|
427
|
+
]), zo = "http://www.w3.org/1998/Math/MathML", Bo = "http://www.w3.org/2000/svg", Vo = "http://www.w3.org/1999/xhtml", Ho = Vo, Uo = !1, Wo = null, Go = addToSet({}, [
|
|
428
|
+
zo,
|
|
429
|
+
Bo,
|
|
430
|
+
Vo
|
|
431
|
+
], stringToString), Ko = addToSet({}, [
|
|
432
432
|
"mi",
|
|
433
433
|
"mo",
|
|
434
434
|
"mn",
|
|
435
435
|
"ms",
|
|
436
436
|
"mtext"
|
|
437
|
-
]),
|
|
437
|
+
]), qo = addToSet({}, ["annotation-xml"]), Jo = addToSet({}, [
|
|
438
438
|
"title",
|
|
439
439
|
"style",
|
|
440
440
|
"font",
|
|
441
441
|
"a",
|
|
442
442
|
"script"
|
|
443
|
-
]),
|
|
443
|
+
]), Yo = null, Xo = ["application/xhtml+xml", "text/html"], Y = null, Zo = null, Qo = n.createElement("form"), $o = function(e) {
|
|
444
444
|
return e instanceof RegExp || e instanceof Function;
|
|
445
|
-
},
|
|
445
|
+
}, es = 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 (!(Zo && Zo === e)) {
|
|
448
|
+
if ((!e || typeof e != "object") && (e = {}), e = clone(e), Yo = Xo.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Yo === "application/xhtml+xml" ? stringToString : stringToLowerCase, B = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, Y) : uo, V = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, Y) : fo, Wo = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : Go, Lo = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Ro), e.ADD_URI_SAFE_ATTR, Y) : Ro, Fo = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(Io), e.ADD_DATA_URI_TAGS, Y) : Io, No = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, Y) : Po, po = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, Y) : clone({}), mo = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, Y) : clone({}), Mo = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : !1, go = e.ALLOW_ARIA_ATTR !== !1, _o = e.ALLOW_DATA_ATTR !== !1, vo = e.ALLOW_UNKNOWN_PROTOCOLS || !1, yo = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, bo = e.SAFE_FOR_TEMPLATES || !1, xo = e.SAFE_FOR_XML !== !1, So = e.WHOLE_DOCUMENT || !1, To = e.RETURN_DOM || !1, Eo = e.RETURN_DOM_FRAGMENT || !1, Do = e.RETURN_TRUSTED_TYPE || !1, wo = e.FORCE_BODY || !1, Oo = e.SANITIZE_DOM !== !1, ko = e.SANITIZE_NAMED_PROPS || !1, Ao = e.KEEP_CONTENT !== !1, jo = e.IN_PLACE || !1, lo = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, Ho = e.NAMESPACE || Vo, Ko = e.MATHML_TEXT_INTEGRATION_POINTS || Ko, qo = e.HTML_INTEGRATION_POINTS || qo, H = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && $o(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && $o(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), bo && (_o = !1), Eo && (To = !0), Mo && (B = addToSet({}, text), V = [], Mo.html === !0 && (addToSet(B, html$1), addToSet(V, html)), Mo.svg === !0 && (addToSet(B, svg$1), addToSet(V, svg), addToSet(V, xml)), Mo.svgFilters === !0 && (addToSet(B, svgFilters), addToSet(V, svg), addToSet(V, xml)), Mo.mathMl === !0 && (addToSet(B, mathMl$1), addToSet(V, mathMl), addToSet(V, xml))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? ho.tagCheck = e.ADD_TAGS : (B === uo && (B = clone(B)), addToSet(B, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? ho.attributeCheck = e.ADD_ATTR : (V === fo && (V = clone(V)), addToSet(V, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && addToSet(Lo, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (No === Po && (No = clone(No)), addToSet(No, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (No === Po && (No = clone(No)), addToSet(No, e.ADD_FORBID_CONTENTS, Y)), Ao && (B["#text"] = !0), So && addToSet(B, [
|
|
449
449
|
"html",
|
|
450
450
|
"head",
|
|
451
451
|
"body"
|
|
452
|
-
]), B.table && (addToSet(B, ["tbody"]), delete
|
|
452
|
+
]), B.table && (addToSet(B, ["tbody"]), delete po.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
|
-
A = e.TRUSTED_TYPES_POLICY,
|
|
456
|
-
} else A === void 0 && (A = _createTrustedTypesPolicy(p, i)), A !== null && typeof
|
|
457
|
-
freeze && freeze(e),
|
|
455
|
+
A = e.TRUSTED_TYPES_POLICY, Ya = A.createHTML("");
|
|
456
|
+
} else A === void 0 && (A = _createTrustedTypesPolicy(p, i)), A !== null && typeof Ya == "string" && (Ya = A.createHTML(""));
|
|
457
|
+
freeze && freeze(e), Zo = e;
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, ts = addToSet({}, [
|
|
460
460
|
...svg$1,
|
|
461
461
|
...svgFilters,
|
|
462
462
|
...svgDisallowed
|
|
463
|
-
]),
|
|
464
|
-
let t =
|
|
463
|
+
]), ns = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), rs = function(e) {
|
|
464
|
+
let t = Ja(e);
|
|
465
465
|
(!t || !t.tagName) && (t = {
|
|
466
|
-
namespaceURI:
|
|
466
|
+
namespaceURI: Ho,
|
|
467
467
|
tagName: "template"
|
|
468
468
|
});
|
|
469
469
|
let n = stringToLowerCase(e.tagName), r = stringToLowerCase(t.tagName);
|
|
470
|
-
return
|
|
471
|
-
},
|
|
470
|
+
return Wo[e.namespaceURI] ? e.namespaceURI === Bo ? t.namespaceURI === Vo ? n === "svg" : t.namespaceURI === zo ? n === "svg" && (r === "annotation-xml" || Ko[r]) : !!ts[n] : e.namespaceURI === zo ? t.namespaceURI === Vo ? n === "math" : t.namespaceURI === Bo ? n === "math" && qo[r] : !!ns[n] : e.namespaceURI === Vo ? t.namespaceURI === Bo && !qo[r] || t.namespaceURI === zo && !Ko[r] ? !1 : !ns[n] && (Jo[n] || !ts[n]) : !!(Yo === "application/xhtml+xml" && Wo[e.namespaceURI]) : !1;
|
|
471
|
+
}, is = function(e) {
|
|
472
472
|
arrayPush(t.removed, { element: e });
|
|
473
473
|
try {
|
|
474
|
-
|
|
474
|
+
Ja(e).removeChild(e);
|
|
475
475
|
} catch {
|
|
476
|
-
|
|
476
|
+
qa(e);
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, as = function(e, n) {
|
|
479
479
|
try {
|
|
480
480
|
arrayPush(t.removed, {
|
|
481
481
|
attribute: n.getAttributeNode(e),
|
|
@@ -487,87 +487,87 @@ 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 (To || Eo) try {
|
|
491
|
+
is(n);
|
|
492
492
|
} catch {}
|
|
493
493
|
else try {
|
|
494
494
|
n.setAttribute(e, "");
|
|
495
495
|
} catch {}
|
|
496
|
-
},
|
|
496
|
+
}, os = function(e) {
|
|
497
497
|
let t = null, r = null;
|
|
498
|
-
if (
|
|
498
|
+
if (wo) e = "<remove></remove>" + e;
|
|
499
499
|
else {
|
|
500
500
|
let t = stringMatch(e, /^[\r\n\t ]+/);
|
|
501
501
|
r = t && t[0];
|
|
502
502
|
}
|
|
503
|
-
|
|
503
|
+
Yo === "application/xhtml+xml" && Ho === Vo && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
504
504
|
let i = A ? A.createHTML(e) : e;
|
|
505
|
-
if (
|
|
506
|
-
t = new
|
|
505
|
+
if (Ho === Vo) try {
|
|
506
|
+
t = new Ga().parseFromString(i, Yo);
|
|
507
507
|
} catch {}
|
|
508
508
|
if (!t || !t.documentElement) {
|
|
509
|
-
t =
|
|
509
|
+
t = Xa.createDocument(Ho, "template", null);
|
|
510
510
|
try {
|
|
511
|
-
t.documentElement.innerHTML =
|
|
511
|
+
t.documentElement.innerHTML = Uo ? Ya : i;
|
|
512
512
|
} catch {}
|
|
513
513
|
}
|
|
514
514
|
let a = t.body || t.documentElement;
|
|
515
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
516
|
-
},
|
|
517
|
-
return
|
|
518
|
-
},
|
|
515
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Ho === Vo ? $a.call(t, So ? "html" : "body")[0] : So ? t.documentElement : a;
|
|
516
|
+
}, ss = function(e) {
|
|
517
|
+
return Za.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
518
|
+
}, cs = function(e) {
|
|
519
519
|
return e instanceof f && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
520
|
-
},
|
|
520
|
+
}, ls = function(e) {
|
|
521
521
|
return typeof s == "function" && e instanceof s;
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function us(e, n, r) {
|
|
524
524
|
arrayForEach(e, (e) => {
|
|
525
|
-
e.call(t, n, r,
|
|
525
|
+
e.call(t, n, r, Zo);
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
let
|
|
528
|
+
let ds = function(e) {
|
|
529
529
|
let n = null;
|
|
530
|
-
if (
|
|
530
|
+
if (us(R.beforeSanitizeElements, e, null), cs(e)) return is(e), !0;
|
|
531
531
|
let r = Y(e.nodeName);
|
|
532
|
-
if (
|
|
532
|
+
if (us(R.uponSanitizeElement, e, {
|
|
533
533
|
tagName: r,
|
|
534
534
|
allowedTags: B
|
|
535
|
-
}),
|
|
536
|
-
if (!(
|
|
537
|
-
if (!
|
|
538
|
-
if (
|
|
539
|
-
let t =
|
|
535
|
+
}), xo && e.hasChildNodes() && !ls(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || xo && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return is(e), !0;
|
|
536
|
+
if (!(ho.tagCheck instanceof Function && ho.tagCheck(r)) && (!B[r] || po[r])) {
|
|
537
|
+
if (!po[r] && ps(r) && (H.tagNameCheck instanceof RegExp && regExpTest(H.tagNameCheck, r) || H.tagNameCheck instanceof Function && H.tagNameCheck(r))) return !1;
|
|
538
|
+
if (Ao && !No[r]) {
|
|
539
|
+
let t = Ja(e) || e.parentNode, n = O(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 = Ka(n[i], !0);
|
|
544
544
|
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, g(e));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
return
|
|
548
|
+
return is(e), !0;
|
|
549
549
|
}
|
|
550
|
-
return e instanceof c && !
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
550
|
+
return e instanceof c && !rs(e) || (r === "noscript" || r === "noembed" || r === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (is(e), !0) : (bo && e.nodeType === NODE_TYPE.text && (n = e.textContent, arrayForEach([
|
|
551
|
+
to,
|
|
552
|
+
no,
|
|
553
|
+
ro
|
|
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 (!V[t] ||
|
|
561
|
-
if (!(
|
|
562
|
-
} else if (!
|
|
556
|
+
}), e.textContent !== n && (arrayPush(t.removed, { element: e.cloneNode() }), e.textContent = n)), us(R.afterSanitizeElements, e, null), !1);
|
|
557
|
+
}, fs = function(e, t, r) {
|
|
558
|
+
if (Oo && (t === "id" || t === "name") && (r in n || r in Qo)) return !1;
|
|
559
|
+
if (!(_o && !mo[t] && regExpTest(io, t)) && !(go && regExpTest(ao, t)) && !(ho.attributeCheck instanceof Function && ho.attributeCheck(t, e))) {
|
|
560
|
+
if (!V[t] || mo[t]) {
|
|
561
|
+
if (!(ps(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 (!Lo[t] && !regExpTest(lo, stringReplace(r, so, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && stringIndexOf(r, "data:") === 0 && Fo[e]) && !(vo && !regExpTest(oo, stringReplace(r, so, ""))) && r) return !1;
|
|
563
563
|
}
|
|
564
564
|
return !0;
|
|
565
|
-
},
|
|
566
|
-
return e !== "annotation-xml" && stringMatch(e,
|
|
567
|
-
},
|
|
568
|
-
|
|
565
|
+
}, ps = function(e) {
|
|
566
|
+
return e !== "annotation-xml" && stringMatch(e, co);
|
|
567
|
+
}, ms = function(e) {
|
|
568
|
+
us(R.beforeSanitizeAttributes, e, null);
|
|
569
569
|
let { attributes: n } = e;
|
|
570
|
-
if (!n ||
|
|
570
|
+
if (!n || cs(e)) return;
|
|
571
571
|
let r = {
|
|
572
572
|
attrName: "",
|
|
573
573
|
attrValue: "",
|
|
@@ -577,33 +577,33 @@ function createDOMPurify() {
|
|
|
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, us(R.uponSanitizeAttribute, e, r), u = r.attrValue, ko && (c === "id" || c === "name") && (as(a, e), u = "user-content-" + u), xo && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, u)) {
|
|
581
|
+
as(a, e);
|
|
582
582
|
continue;
|
|
583
583
|
}
|
|
584
584
|
if (c === "attributename" && stringMatch(u, "href")) {
|
|
585
|
-
|
|
585
|
+
as(a, e);
|
|
586
586
|
continue;
|
|
587
587
|
}
|
|
588
588
|
if (r.forceKeepAttr) continue;
|
|
589
589
|
if (!r.keepAttr) {
|
|
590
|
-
|
|
590
|
+
as(a, e);
|
|
591
591
|
continue;
|
|
592
592
|
}
|
|
593
|
-
if (!
|
|
594
|
-
|
|
593
|
+
if (!yo && regExpTest(/\/>/i, u)) {
|
|
594
|
+
as(a, e);
|
|
595
595
|
continue;
|
|
596
596
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
bo && arrayForEach([
|
|
598
|
+
to,
|
|
599
|
+
no,
|
|
600
|
+
ro
|
|
601
601
|
], (e) => {
|
|
602
602
|
u = stringReplace(u, e, " ");
|
|
603
603
|
});
|
|
604
604
|
let f = Y(e.nodeName);
|
|
605
|
-
if (!
|
|
606
|
-
|
|
605
|
+
if (!fs(f, c, u)) {
|
|
606
|
+
as(a, e);
|
|
607
607
|
continue;
|
|
608
608
|
}
|
|
609
609
|
if (A && typeof p == "object" && typeof p.getAttributeType == "function" && !o) switch (p.getAttributeType(f, c)) {
|
|
@@ -615,56 +615,56 @@ function createDOMPurify() {
|
|
|
615
615
|
break;
|
|
616
616
|
}
|
|
617
617
|
if (u !== l) try {
|
|
618
|
-
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u),
|
|
618
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), cs(e) ? is(e) : arrayPop(t.removed);
|
|
619
619
|
} catch {
|
|
620
|
-
|
|
620
|
+
as(a, e);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
|
|
624
|
-
},
|
|
625
|
-
let n = null, r =
|
|
626
|
-
for (
|
|
627
|
-
|
|
623
|
+
us(R.afterSanitizeAttributes, e, null);
|
|
624
|
+
}, hs = function e(t) {
|
|
625
|
+
let n = null, r = ss(t);
|
|
626
|
+
for (us(R.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) us(R.uponSanitizeShadowNode, n, null), ds(n), ms(n), n.content instanceof a && e(n.content);
|
|
627
|
+
us(R.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 (Uo = !e, Uo && (e = "<!-->"), typeof e != "string" && !ls(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 (Co || es(n), t.removed = [], typeof e == "string" && (jo = !1), jo) {
|
|
636
636
|
if (e.nodeName) {
|
|
637
637
|
let t = Y(e.nodeName);
|
|
638
|
-
if (!B[t] ||
|
|
638
|
+
if (!B[t] || po[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 = os("<!---->"), 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 (!To && !bo && !So && e.indexOf("<") === -1) return A && Do ? A.createHTML(e) : e;
|
|
643
|
+
if (i = os(e), !i) return To ? null : Do ? Ya : "";
|
|
644
644
|
}
|
|
645
|
-
i &&
|
|
646
|
-
let u =
|
|
647
|
-
for (; c = u.nextNode();)
|
|
648
|
-
if (
|
|
649
|
-
if (
|
|
650
|
-
if (
|
|
645
|
+
i && wo && is(i.firstChild);
|
|
646
|
+
let u = ss(jo ? e : i);
|
|
647
|
+
for (; c = u.nextNode();) ds(c), ms(c), c.content instanceof a && hs(c.content);
|
|
648
|
+
if (jo) return e;
|
|
649
|
+
if (To) {
|
|
650
|
+
if (Eo) for (l = Qa.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
651
651
|
else l = i;
|
|
652
|
-
return (V.shadowroot || V.shadowrootmode) && (l =
|
|
652
|
+
return (V.shadowroot || V.shadowrootmode) && (l = eo.call(r, l, !0)), l;
|
|
653
653
|
}
|
|
654
|
-
let f =
|
|
655
|
-
return
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
654
|
+
let f = So ? i.outerHTML : i.innerHTML;
|
|
655
|
+
return So && B["!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), bo && arrayForEach([
|
|
656
|
+
to,
|
|
657
|
+
no,
|
|
658
|
+
ro
|
|
659
659
|
], (e) => {
|
|
660
660
|
f = stringReplace(f, e, " ");
|
|
661
|
-
}), A &&
|
|
661
|
+
}), A && Do ? A.createHTML(f) : f;
|
|
662
662
|
}, t.setConfig = function() {
|
|
663
|
-
|
|
663
|
+
es(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Co = !0;
|
|
664
664
|
}, t.clearConfig = function() {
|
|
665
|
-
|
|
665
|
+
Zo = null, Co = !1;
|
|
666
666
|
}, t.isValidAttribute = function(e, t, n) {
|
|
667
|
-
return
|
|
667
|
+
return Zo || es({}), fs(Y(e), Y(t), n);
|
|
668
668
|
}, t.addHook = function(e, t) {
|
|
669
669
|
typeof t == "function" && arrayPush(R[e], t);
|
|
670
670
|
}, t.removeHook = function(e, t) {
|
|
@@ -20157,14 +20157,14 @@ ${c}` : c;
|
|
|
20157
20157
|
if (this.options.pedantic ? (f = 2, s = c.trimStart()) : u ? f = t[1].length + 1 : (f = t[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
|
|
20158
20158
|
let t = this.rules.other.nextBulletRegex(f), n = this.rules.other.hrRegex(f), i = this.rules.other.fencesBeginRegex(f), a = this.rules.other.headingBeginRegex(f), o = this.rules.other.htmlBeginRegex(f);
|
|
20159
20159
|
for (; e;) {
|
|
20160
|
-
let
|
|
20161
|
-
if (l =
|
|
20160
|
+
let Ga = e.split("\n", 1)[0], p;
|
|
20161
|
+
if (l = Ga, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
|
|
20162
20162
|
if (p.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s += "\n" + p.slice(f);
|
|
20163
20163
|
else {
|
|
20164
20164
|
if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
|
|
20165
20165
|
s += "\n" + l;
|
|
20166
20166
|
}
|
|
20167
|
-
!u && !l.trim() && (u = !0), r +=
|
|
20167
|
+
!u && !l.trim() && (u = !0), r += Ga + "\n", e = e.substring(Ga.length + 1), c = p.slice(f);
|
|
20168
20168
|
}
|
|
20169
20169
|
}
|
|
20170
20170
|
i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
|
|
@@ -21384,7 +21384,7 @@ function Dropdown({ trigger: e, children: t, align: n = "start", disabled: r = !
|
|
|
21384
21384
|
function O() {
|
|
21385
21385
|
u.current &&= (clearTimeout(u.current), null), a(!0);
|
|
21386
21386
|
}
|
|
21387
|
-
function
|
|
21387
|
+
function Ja() {
|
|
21388
21388
|
u.current = window.setTimeout(() => {
|
|
21389
21389
|
a(!1);
|
|
21390
21390
|
}, 120);
|
|
@@ -21403,7 +21403,7 @@ function Dropdown({ trigger: e, children: t, align: n = "start", disabled: r = !
|
|
|
21403
21403
|
ref: o,
|
|
21404
21404
|
className: "inline-flex",
|
|
21405
21405
|
onMouseEnter: O,
|
|
21406
|
-
onMouseLeave:
|
|
21406
|
+
onMouseLeave: Ja,
|
|
21407
21407
|
onClick: () => a((e) => !e),
|
|
21408
21408
|
"aria-haspopup": "menu",
|
|
21409
21409
|
"aria-expanded": i,
|
|
@@ -21411,7 +21411,7 @@ function Dropdown({ trigger: e, children: t, align: n = "start", disabled: r = !
|
|
|
21411
21411
|
}), i && !r && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21412
21412
|
ref: s,
|
|
21413
21413
|
onMouseEnter: O,
|
|
21414
|
-
onMouseLeave:
|
|
21414
|
+
onMouseLeave: Ja,
|
|
21415
21415
|
style: {
|
|
21416
21416
|
position: "fixed",
|
|
21417
21417
|
top: p?.top ?? 0,
|
|
@@ -21429,7 +21429,7 @@ function Input({ type: e = "text", value: t, defaultValue: n, disabled: r = !1,
|
|
|
21429
21429
|
let t = e.target.value;
|
|
21430
21430
|
f || u(t), o?.(t);
|
|
21431
21431
|
}
|
|
21432
|
-
function
|
|
21432
|
+
function qa(e) {
|
|
21433
21433
|
s?.(e);
|
|
21434
21434
|
}
|
|
21435
21435
|
return /* @__PURE__ */ jsx("input", {
|
|
@@ -21440,7 +21440,7 @@ function Input({ type: e = "text", value: t, defaultValue: n, disabled: r = !1,
|
|
|
21440
21440
|
"aria-disabled": r || void 0,
|
|
21441
21441
|
"aria-invalid": i || void 0,
|
|
21442
21442
|
onChange: h,
|
|
21443
|
-
onKeyDown:
|
|
21443
|
+
onKeyDown: qa,
|
|
21444
21444
|
className: cn("bg-transparent outline-none", r && "pointer-events-none", c)
|
|
21445
21445
|
});
|
|
21446
21446
|
}
|
|
@@ -21478,17 +21478,17 @@ function getVerticalAlign(e, t, n) {
|
|
|
21478
21478
|
return n === "start" ? e.top : n === "end" ? e.bottom - t.height : e.top + e.height / 2 - t.height / 2;
|
|
21479
21479
|
}
|
|
21480
21480
|
function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120, className: i }) {
|
|
21481
|
-
let a = useRef(null), o = useRef(null), s = useRef(null), [u, p] = useState(!1), [O,
|
|
21481
|
+
let a = useRef(null), o = useRef(null), s = useRef(null), [u, p] = useState(!1), [O, Ja] = useState(null), A = () => {
|
|
21482
21482
|
s.current &&= (clearTimeout(s.current), null), s.current = window.setTimeout(() => {
|
|
21483
21483
|
p(!0);
|
|
21484
21484
|
}, r);
|
|
21485
|
-
},
|
|
21485
|
+
}, Ya = () => {
|
|
21486
21486
|
s.current &&= (clearTimeout(s.current), null), p(!1);
|
|
21487
21487
|
};
|
|
21488
21488
|
return useLayoutEffect(() => {
|
|
21489
21489
|
if (!u || !a.current || !o.current) return;
|
|
21490
21490
|
let e = a.current.getBoundingClientRect(), t = o.current.getBoundingClientRect(), [r, i] = n.split("-"), s = i ?? "center", c = 0, l = 0;
|
|
21491
|
-
r === "top" || r === "bottom" ? (c = r === "top" ? e.top - t.height - 4 : e.bottom + 4, l = getHorizontalAlign(e, t, s)) : (l = r === "left" ? e.left - t.width - 4 : e.right + 4, c = getVerticalAlign(e, t, s)),
|
|
21491
|
+
r === "top" || r === "bottom" ? (c = r === "top" ? e.top - t.height - 4 : e.bottom + 4, l = getHorizontalAlign(e, t, s)) : (l = r === "left" ? e.left - t.width - 4 : e.right + 4, c = getVerticalAlign(e, t, s)), Ja((e) => e && e.top === c && e.left === l ? e : {
|
|
21492
21492
|
top: c,
|
|
21493
21493
|
left: l
|
|
21494
21494
|
});
|
|
@@ -21498,9 +21498,9 @@ function Tooltip({ children: e, content: t, position: n = "top", delay: r = 120,
|
|
|
21498
21498
|
ref: a,
|
|
21499
21499
|
className: "inline-flex",
|
|
21500
21500
|
onMouseEnter: A,
|
|
21501
|
-
onMouseLeave:
|
|
21501
|
+
onMouseLeave: Ya,
|
|
21502
21502
|
onFocus: A,
|
|
21503
|
-
onBlur:
|
|
21503
|
+
onBlur: Ya,
|
|
21504
21504
|
children: e
|
|
21505
21505
|
}), u && createPortal(/* @__PURE__ */ jsx("div", {
|
|
21506
21506
|
ref: o,
|
|
@@ -21606,31 +21606,6 @@ function LogoIcon(e) {
|
|
|
21606
21606
|
})
|
|
21607
21607
|
});
|
|
21608
21608
|
}
|
|
21609
|
-
function AirtableIcon(e) {
|
|
21610
|
-
return /* @__PURE__ */ jsxs(Icon, {
|
|
21611
|
-
viewBox: "0 0 36 36",
|
|
21612
|
-
...e,
|
|
21613
|
-
children: [
|
|
21614
|
-
/* @__PURE__ */ jsx("path", {
|
|
21615
|
-
d: "M16.56 6.99L6.49 11.16C5.93 11.39 5.94 12.18 6.5 12.41L16.61 16.42C17.5 16.77 18.49 16.77 19.37 16.42L29.48 12.41C30.05 12.18 30.05 11.39 29.49 11.16L19.43 6.99C18.51 6.61 17.48 6.61 16.56 6.99",
|
|
21616
|
-
fill: "#FCB400"
|
|
21617
|
-
}),
|
|
21618
|
-
/* @__PURE__ */ jsx("path", {
|
|
21619
|
-
d: "M18.89 18.6V28.62C18.89 29.09 19.37 29.42 19.81 29.25L31.07 24.87C31.2 24.82 31.31 24.74 31.38 24.63C31.46 24.51 31.5 24.38 31.5 24.25V14.23C31.5 13.76 31.02 13.43 30.58 13.61L19.31 17.98C19.19 18.03 19.08 18.11 19 18.23C18.93 18.34 18.89 18.47 18.89 18.6Z",
|
|
21620
|
-
fill: "#18BFFF"
|
|
21621
|
-
}),
|
|
21622
|
-
/* @__PURE__ */ jsx("path", {
|
|
21623
|
-
d: "M16.26 19.12L12.91 20.74L12.57 20.9L5.52 24.28C5.07 24.5 4.5 24.17 4.5 23.67V14.28C4.5 14.1 4.59 13.94 4.72 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.06 13.59 5.3 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z",
|
|
21624
|
-
fill: "#F82B60"
|
|
21625
|
-
}),
|
|
21626
|
-
/* @__PURE__ */ jsx("path", {
|
|
21627
|
-
d: "M16.26 19.12L12.91 20.74L4.71 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.05 13.59 5.29 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z",
|
|
21628
|
-
fill: "black",
|
|
21629
|
-
fillOpacity: "0.25"
|
|
21630
|
-
})
|
|
21631
|
-
]
|
|
21632
|
-
});
|
|
21633
|
-
}
|
|
21634
21609
|
function AsanaIcon(e) {
|
|
21635
21610
|
return /* @__PURE__ */ jsx(Icon, {
|
|
21636
21611
|
viewBox: "0 0 16 16",
|
|
@@ -22841,7 +22816,7 @@ function useToastTimers(e, t) {
|
|
|
22841
22816
|
isPaused: !0
|
|
22842
22817
|
});
|
|
22843
22818
|
}), a.current &&= (clearInterval(a.current), null);
|
|
22844
|
-
}, []),
|
|
22819
|
+
}, []), Ka = useCallback(() => {
|
|
22845
22820
|
s.current && (s.current = !1, i.current.forEach((t, n) => {
|
|
22846
22821
|
if (t.isPaused && t.remainingTime > 0) {
|
|
22847
22822
|
let r = e.find((e) => e.id === n);
|
|
@@ -22852,7 +22827,7 @@ function useToastTimers(e, t) {
|
|
|
22852
22827
|
e,
|
|
22853
22828
|
u,
|
|
22854
22829
|
p
|
|
22855
|
-
]),
|
|
22830
|
+
]), qa = useCallback((e) => {
|
|
22856
22831
|
i.current.delete(e), r((t) => {
|
|
22857
22832
|
let n = new Map(t);
|
|
22858
22833
|
return n.delete(e), n;
|
|
@@ -22873,22 +22848,22 @@ function useToastTimers(e, t) {
|
|
|
22873
22848
|
}, []), {
|
|
22874
22849
|
remainingTimes: n,
|
|
22875
22850
|
pauseAll: h,
|
|
22876
|
-
resumeAll:
|
|
22877
|
-
cleanupTimer:
|
|
22851
|
+
resumeAll: Ka,
|
|
22852
|
+
cleanupTimer: qa
|
|
22878
22853
|
};
|
|
22879
22854
|
}
|
|
22880
22855
|
function Toaster() {
|
|
22881
|
-
let [e, t] = useState([]), [n, r] = useState([]), i = useRef(/* @__PURE__ */ new Set()), a = useRef(/* @__PURE__ */ new Map()), s = useRef([]), { remainingTimes: l, pauseAll: u, resumeAll:
|
|
22856
|
+
let [e, t] = useState([]), [n, r] = useState([]), i = useRef(/* @__PURE__ */ new Set()), a = useRef(/* @__PURE__ */ new Map()), s = useRef([]), { remainingTimes: l, pauseAll: u, resumeAll: qa, cleanupTimer: O } = useToastTimers(e, a);
|
|
22882
22857
|
useEffect(() => toastStore.subscribe(t), []);
|
|
22883
|
-
let
|
|
22858
|
+
let Ja = useSyncExternalStore(subscribeNoop, getClientSnapshot, getServerSnapshot), A = useCallback((e) => {
|
|
22884
22859
|
e.callbacks?.onOpen?.();
|
|
22885
|
-
}, []),
|
|
22860
|
+
}, []), Ya = useCallback((e, t) => {
|
|
22886
22861
|
t === "manual" ? e.callbacks?.onClose?.() : e.callbacks?.onAutoClose?.(), e.callbacks?.onDismiss?.(t);
|
|
22887
22862
|
}, []);
|
|
22888
22863
|
useEffect(() => {
|
|
22889
22864
|
let t = new Set(e.map((e) => e.id)), n = new Map(e.map((e) => [e.id, e])), o = i.current;
|
|
22890
22865
|
s.current.filter((e) => !t.has(e.id) && e.animationState !== "exiting").forEach((e) => {
|
|
22891
|
-
|
|
22866
|
+
Ya(e, a.current.get(e.id) ?? "timeout"), a.current.delete(e.id);
|
|
22892
22867
|
}), r((r) => {
|
|
22893
22868
|
let i = r.map((e) => {
|
|
22894
22869
|
let t = n.get(e.id);
|
|
@@ -22906,30 +22881,42 @@ function Toaster() {
|
|
|
22906
22881
|
}, [
|
|
22907
22882
|
e,
|
|
22908
22883
|
A,
|
|
22909
|
-
|
|
22884
|
+
Ya
|
|
22910
22885
|
]);
|
|
22911
|
-
let
|
|
22886
|
+
let Xa = useCallback((e) => {
|
|
22912
22887
|
r((t) => {
|
|
22913
22888
|
let n = t.filter((t) => t.id !== e);
|
|
22914
22889
|
return s.current = n, n;
|
|
22915
22890
|
}), O(e), toastStore.cleanup(e);
|
|
22916
|
-
}, [O]),
|
|
22891
|
+
}, [O]), Za = useCallback((e) => {
|
|
22917
22892
|
a.current.set(e, "manual"), toastStore.remove(e);
|
|
22918
22893
|
}, []);
|
|
22919
|
-
if (!
|
|
22920
|
-
let
|
|
22921
|
-
return createPortal(/* @__PURE__ */ jsx(Fragment, { children: Object.entries(
|
|
22894
|
+
if (!Ja) return null;
|
|
22895
|
+
let Qa = groupByPosition(n);
|
|
22896
|
+
return createPortal(/* @__PURE__ */ jsx(Fragment, { children: Object.entries(Qa).map(([e, t]) => /* @__PURE__ */ jsx("div", {
|
|
22922
22897
|
className: cn("pointer-events-none fixed z-1000 flex flex-col items-end gap-2 p-4", POSITION_CLASSES[e]),
|
|
22923
22898
|
children: t.map((e) => /* @__PURE__ */ jsx(ToastWrapper, {
|
|
22924
22899
|
toast: e,
|
|
22925
22900
|
remainingTime: l.get(e.id) ?? e.duration,
|
|
22926
|
-
onExitComplete:
|
|
22927
|
-
onClose:
|
|
22901
|
+
onExitComplete: Xa,
|
|
22902
|
+
onClose: Za,
|
|
22928
22903
|
onHoverStart: u,
|
|
22929
|
-
onHoverEnd:
|
|
22904
|
+
onHoverEnd: qa
|
|
22930
22905
|
}, e.id))
|
|
22931
22906
|
}, e)) }), document.body);
|
|
22932
22907
|
}
|
|
22908
|
+
function AccountInfo({ title: e, value: t }) {
|
|
22909
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
22910
|
+
className: "flex flex-col",
|
|
22911
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
22912
|
+
className: "mb-1 text-sm font-semibold text-neutral-900",
|
|
22913
|
+
children: e
|
|
22914
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
22915
|
+
className: "text-sm font-normal text-neutral-900",
|
|
22916
|
+
children: t
|
|
22917
|
+
})]
|
|
22918
|
+
});
|
|
22919
|
+
}
|
|
22933
22920
|
const AVATAR_COLOR = {
|
|
22934
22921
|
amber: {
|
|
22935
22922
|
bg: "bg-amber-200",
|
|
@@ -23126,7 +23113,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23126
23113
|
function O(e) {
|
|
23127
23114
|
p(e), a?.(e);
|
|
23128
23115
|
}
|
|
23129
|
-
let
|
|
23116
|
+
let Ja = {
|
|
23130
23117
|
fire: [{
|
|
23131
23118
|
id: "fire",
|
|
23132
23119
|
tooltip: "Mark as fire",
|
|
@@ -23207,7 +23194,7 @@ function BulkActions({ totalItems: e = 0, selectedItems: t = 0, onSelectAll: n,
|
|
|
23207
23194
|
}),
|
|
23208
23195
|
/* @__PURE__ */ jsx("div", {
|
|
23209
23196
|
className: "flex items-center divide-x divide-neutral-400-variant-1",
|
|
23210
|
-
children: t > 0 && /* @__PURE__ */ jsx(Fragment, { children: Object.entries(
|
|
23197
|
+
children: t > 0 && /* @__PURE__ */ jsx(Fragment, { children: Object.entries(Ja).map(([e, t]) => /* @__PURE__ */ jsx("div", {
|
|
23211
23198
|
className: "flex items-center gap-2 px-1",
|
|
23212
23199
|
children: t.map((e) => /* @__PURE__ */ jsx(InfoTooltip, {
|
|
23213
23200
|
content: e.tooltip,
|
|
@@ -23286,18 +23273,18 @@ function renderIcon(e, t) {
|
|
|
23286
23273
|
});
|
|
23287
23274
|
}
|
|
23288
23275
|
function FilterButton({ variant: e = "custom", label: t, count: n, selected: r = !1, icon: i, classNames: a, disabled: o, ...s }) {
|
|
23289
|
-
let c = !!o, l = filterButtonStyles({ selected: !c && r }), u = e === "custom" ? void 0 : FILTER_BUTTON_META[e], f = i ?? u?.icon,
|
|
23276
|
+
let c = !!o, l = filterButtonStyles({ selected: !c && r }), u = e === "custom" ? void 0 : FILTER_BUTTON_META[e], f = i ?? u?.icon, Ga = t ?? u?.label, p = c ? "text-neutral-400" : r && u?.iconColor ? u.iconColor : "text-neutral-900 opacity-60 group-hover:opacity-80";
|
|
23290
23277
|
return /* @__PURE__ */ jsxs(Button, {
|
|
23291
23278
|
...s,
|
|
23292
23279
|
disabled: o,
|
|
23293
|
-
"aria-label": s["aria-label"] ??
|
|
23280
|
+
"aria-label": s["aria-label"] ?? Ga,
|
|
23294
23281
|
className: cn("group", l.root(), c && "border-neutral-300 bg-white hover:border-neutral-300", a?.root),
|
|
23295
23282
|
children: [f && /* @__PURE__ */ jsx("span", {
|
|
23296
23283
|
className: cn("flex items-center", a?.icon),
|
|
23297
23284
|
children: renderIcon(f, cn("shrink-0", p))
|
|
23298
|
-
}),
|
|
23285
|
+
}), Ga && /* @__PURE__ */ jsxs("span", {
|
|
23299
23286
|
className: cn(l.label(), c && "font-medium text-neutral-400", a?.label),
|
|
23300
|
-
children: [/* @__PURE__ */ jsx("span", { children:
|
|
23287
|
+
children: [/* @__PURE__ */ jsx("span", { children: Ga }), typeof n == "number" && n > 0 && /* @__PURE__ */ jsxs("span", {
|
|
23301
23288
|
"aria-label": `${n} items`,
|
|
23302
23289
|
className: cn("font-medium", a?.count),
|
|
23303
23290
|
children: [
|
|
@@ -23473,7 +23460,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23473
23460
|
t,
|
|
23474
23461
|
n
|
|
23475
23462
|
]);
|
|
23476
|
-
let
|
|
23463
|
+
let Ja = useMemo(() => generateCalendarDays(g.year, g.month), [g.year, g.month]);
|
|
23477
23464
|
function A(t) {
|
|
23478
23465
|
let o = t.getMonth(), s = t.getFullYear();
|
|
23479
23466
|
if ((o !== g.month || s !== g.year) && O({
|
|
@@ -23491,7 +23478,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23491
23478
|
}), a());
|
|
23492
23479
|
}
|
|
23493
23480
|
}
|
|
23494
|
-
function
|
|
23481
|
+
function Ya() {
|
|
23495
23482
|
O((e) => e.month === 0 ? {
|
|
23496
23483
|
year: e.year - 1,
|
|
23497
23484
|
month: 11
|
|
@@ -23500,7 +23487,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23500
23487
|
month: e.month - 1
|
|
23501
23488
|
});
|
|
23502
23489
|
}
|
|
23503
|
-
function
|
|
23490
|
+
function Xa() {
|
|
23504
23491
|
O((e) => e.month === 11 ? {
|
|
23505
23492
|
year: e.year + 1,
|
|
23506
23493
|
month: 0
|
|
@@ -23509,7 +23496,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23509
23496
|
month: e.month + 1
|
|
23510
23497
|
});
|
|
23511
23498
|
}
|
|
23512
|
-
let
|
|
23499
|
+
let Za = getWeekdays();
|
|
23513
23500
|
return /* @__PURE__ */ jsxs("div", {
|
|
23514
23501
|
className: "mt-1 w-fit rounded-lg border border-neutral-400 bg-white p-2 shadow-lg",
|
|
23515
23502
|
children: [
|
|
@@ -23521,7 +23508,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23521
23508
|
direction: "left",
|
|
23522
23509
|
size: 20
|
|
23523
23510
|
}),
|
|
23524
|
-
onClick:
|
|
23511
|
+
onClick: Ya,
|
|
23525
23512
|
className: "hover:opacity-60",
|
|
23526
23513
|
"aria-label": "Previous month"
|
|
23527
23514
|
}),
|
|
@@ -23538,7 +23525,7 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23538
23525
|
direction: "right",
|
|
23539
23526
|
size: 20
|
|
23540
23527
|
}),
|
|
23541
|
-
onClick:
|
|
23528
|
+
onClick: Xa,
|
|
23542
23529
|
className: "hover:opacity-60",
|
|
23543
23530
|
"aria-label": "Next month"
|
|
23544
23531
|
})
|
|
@@ -23546,17 +23533,17 @@ function CalendarPanel({ mode: e, selectedDate: t, selectedRange: n, onDateSelec
|
|
|
23546
23533
|
}),
|
|
23547
23534
|
/* @__PURE__ */ jsx("div", {
|
|
23548
23535
|
className: "mb-2 grid grid-cols-7",
|
|
23549
|
-
children:
|
|
23536
|
+
children: Za.map((e) => /* @__PURE__ */ jsx("div", {
|
|
23550
23537
|
className: "flex items-center justify-center p-0.5 text-[9px] font-bold text-neutral-900",
|
|
23551
23538
|
children: e
|
|
23552
23539
|
}, e))
|
|
23553
23540
|
}),
|
|
23554
23541
|
/* @__PURE__ */ jsx("div", {
|
|
23555
23542
|
className: "grid grid-cols-7",
|
|
23556
|
-
children:
|
|
23557
|
-
let o = isToday(i), c = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n,
|
|
23558
|
-
e === "range" && u && !f && s && !isDateBefore(s, u) ? (h = u,
|
|
23559
|
-
let g = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, h,
|
|
23543
|
+
children: Ja.map(({ day: r, date: i, isCurrentMonth: a }) => {
|
|
23544
|
+
let o = isToday(i), c = e === "single" && t && isSameDay(i, t), { startDate: u, endDate: f } = n, Ga = u && isSameDay(i, u), p = f && isSameDay(i, f), h = u, qa = s;
|
|
23545
|
+
e === "range" && u && !f && s && !isDateBefore(s, u) ? (h = u, qa = s) : (h = null, qa = null);
|
|
23546
|
+
let g = e === "range" && (isDateInRange(i, u, f) || isDateInRange(i, h, qa)), O = c || Ga || p;
|
|
23560
23547
|
return /* @__PURE__ */ jsx(Button, {
|
|
23561
23548
|
type: "button",
|
|
23562
23549
|
onClick: () => A(i),
|
|
@@ -23632,14 +23619,14 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
23632
23619
|
startDate: null,
|
|
23633
23620
|
endDate: null
|
|
23634
23621
|
};
|
|
23635
|
-
function
|
|
23622
|
+
function qa(t) {
|
|
23636
23623
|
e === "single" && (u || s(t), r?.(t));
|
|
23637
23624
|
}
|
|
23638
23625
|
function g(t) {
|
|
23639
23626
|
e === "range" && (u || l(t), r?.(t));
|
|
23640
23627
|
}
|
|
23641
23628
|
function O() {
|
|
23642
|
-
e === "single" ?
|
|
23629
|
+
e === "single" ? qa(null) : g({
|
|
23643
23630
|
startDate: null,
|
|
23644
23631
|
endDate: null
|
|
23645
23632
|
});
|
|
@@ -23656,7 +23643,7 @@ function DatePicker({ mode: e = "single", value: t, defaultValue: n, onChange: r
|
|
|
23656
23643
|
mode: e,
|
|
23657
23644
|
selectedDate: f,
|
|
23658
23645
|
selectedRange: p,
|
|
23659
|
-
onDateSelect:
|
|
23646
|
+
onDateSelect: qa,
|
|
23660
23647
|
onRangeSelect: g
|
|
23661
23648
|
})
|
|
23662
23649
|
}) });
|
|
@@ -23795,7 +23782,7 @@ function EventActionsList({ actions: e, className: t }) {
|
|
|
23795
23782
|
}) })
|
|
23796
23783
|
});
|
|
23797
23784
|
}
|
|
23798
|
-
function EventCard({ icon: e, sender: t, title: n, content: r, timestamp: i, timestampTooltip: a, workspace: o, read: s = !1, selected: c = !1, onSelect: l, checked: u = !1, onCheckedChange: f, statusBadges:
|
|
23785
|
+
function EventCard({ icon: e, sender: t, title: n, content: r, timestamp: i, timestampTooltip: a, workspace: o, read: s = !1, selected: c = !1, onSelect: l, checked: u = !1, onCheckedChange: f, statusBadges: Ga = {}, actions: p = {}, density: h = "normal", className: g, style: O }) {
|
|
23799
23786
|
return /* @__PURE__ */ jsx(Card, {
|
|
23800
23787
|
as: Pressable,
|
|
23801
23788
|
onPress: l,
|
|
@@ -23836,7 +23823,7 @@ function EventCard({ icon: e, sender: t, title: n, content: r, timestamp: i, tim
|
|
|
23836
23823
|
}),
|
|
23837
23824
|
/* @__PURE__ */ jsxs(CardFooter, {
|
|
23838
23825
|
className: "mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1",
|
|
23839
|
-
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges:
|
|
23826
|
+
children: [/* @__PURE__ */ jsx(EventStatusesList, { statusBadges: Ga }), /* @__PURE__ */ jsx(EventActionsList, {
|
|
23840
23827
|
actions: p,
|
|
23841
23828
|
className: "col-start-2 justify-self-end"
|
|
23842
23829
|
})]
|
|
@@ -23855,7 +23842,7 @@ function EventCard({ icon: e, sender: t, title: n, content: r, timestamp: i, tim
|
|
|
23855
23842
|
children: [
|
|
23856
23843
|
e,
|
|
23857
23844
|
/* @__PURE__ */ jsx(EventStatusesList, {
|
|
23858
|
-
statusBadges:
|
|
23845
|
+
statusBadges: Ga,
|
|
23859
23846
|
density: h
|
|
23860
23847
|
}),
|
|
23861
23848
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -24007,6 +23994,7 @@ function MessageReplies({ replies: e }) {
|
|
|
24007
23994
|
if (!e || e.length === 0) return null;
|
|
24008
23995
|
let t = e[0]?.id;
|
|
24009
23996
|
return t ? /* @__PURE__ */ jsx(Accordion, {
|
|
23997
|
+
className: "w-full",
|
|
24010
23998
|
type: "multiple",
|
|
24011
23999
|
defaultValue: [`replies-${t}`],
|
|
24012
24000
|
children: /* @__PURE__ */ jsxs(AccordionItem, {
|
|
@@ -24372,12 +24360,12 @@ function renderEventContent(e) {
|
|
|
24372
24360
|
function getEventValue(e, t) {
|
|
24373
24361
|
return e.id ?? `${e.type}-${e.timestamp}-${t}`;
|
|
24374
24362
|
}
|
|
24375
|
-
function EventDetail({ events: e }) {
|
|
24363
|
+
function EventDetail({ events: e, expandedEventIndex: t }) {
|
|
24376
24364
|
if (e.length === 0) return null;
|
|
24377
24365
|
if (e.length === 1) {
|
|
24378
24366
|
let t = e[0];
|
|
24379
24367
|
return /* @__PURE__ */ jsxs("div", {
|
|
24380
|
-
className: "w-full",
|
|
24368
|
+
className: "min-h-0 w-full overflow-y-auto",
|
|
24381
24369
|
children: [/* @__PURE__ */ jsx(EventDetailHeader, {
|
|
24382
24370
|
icon: t.icon,
|
|
24383
24371
|
subject: t.subject,
|
|
@@ -24393,30 +24381,33 @@ function EventDetail({ events: e }) {
|
|
|
24393
24381
|
});
|
|
24394
24382
|
}
|
|
24395
24383
|
return /* @__PURE__ */ jsx(Accordion, {
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24384
|
+
className: "w-full",
|
|
24385
|
+
defaultValue: t === void 0 ? getEventValue(e[0], 0) : getEventValue(e[t], t),
|
|
24386
|
+
children: ({ openItems: t }) => /* @__PURE__ */ jsx(Fragment, { children: e.map((n, r) => {
|
|
24387
|
+
let i = getEventValue(n, r), a = t.has(i);
|
|
24399
24388
|
return /* @__PURE__ */ jsxs(AccordionItem, {
|
|
24400
|
-
value:
|
|
24389
|
+
value: i,
|
|
24401
24390
|
children: [/* @__PURE__ */ jsx(AccordionTrigger, {
|
|
24402
|
-
value:
|
|
24403
|
-
className:
|
|
24391
|
+
value: i,
|
|
24392
|
+
className: "sticky top-0 z-10",
|
|
24404
24393
|
children: /* @__PURE__ */ jsx(EventDetailHeader, {
|
|
24405
|
-
icon:
|
|
24406
|
-
subject:
|
|
24407
|
-
from:
|
|
24408
|
-
prefixTimestamp:
|
|
24409
|
-
timestamp:
|
|
24410
|
-
isPriority:
|
|
24411
|
-
isFirstEvent:
|
|
24394
|
+
icon: n.icon,
|
|
24395
|
+
subject: n.subject,
|
|
24396
|
+
from: n.from,
|
|
24397
|
+
prefixTimestamp: n.prefixTimestamp,
|
|
24398
|
+
timestamp: n.timestamp,
|
|
24399
|
+
isPriority: n.isPriority,
|
|
24400
|
+
isFirstEvent: r === 0,
|
|
24412
24401
|
isSingleEvent: !1,
|
|
24413
|
-
isOpen:
|
|
24402
|
+
isOpen: a,
|
|
24403
|
+
className: "border-b border-neutral-400"
|
|
24414
24404
|
})
|
|
24415
24405
|
}), /* @__PURE__ */ jsx(AccordionContent, {
|
|
24416
|
-
value:
|
|
24417
|
-
|
|
24406
|
+
value: i,
|
|
24407
|
+
className: cn(r < e.length - 1 && a && "border-b border-neutral-400"),
|
|
24408
|
+
children: renderEventContent(n)
|
|
24418
24409
|
})]
|
|
24419
|
-
},
|
|
24410
|
+
}, i);
|
|
24420
24411
|
}) })
|
|
24421
24412
|
});
|
|
24422
24413
|
}
|
|
@@ -24531,6 +24522,85 @@ function IntegrationBar({ orientation: e = "vertical", children: t, onAddMore: n
|
|
|
24531
24522
|
})
|
|
24532
24523
|
});
|
|
24533
24524
|
}
|
|
24525
|
+
function IntegrationItemSkeleton() {
|
|
24526
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24527
|
+
className: "flex w-full items-center justify-center",
|
|
24528
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
24529
|
+
className: "flex w-full flex-col gap-2 rounded-lg bg-neutral-100-variant-3 px-3 py-3",
|
|
24530
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
24531
|
+
className: "flex items-center justify-between gap-2",
|
|
24532
|
+
children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-1/3" }), /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-1/8" })]
|
|
24533
|
+
})
|
|
24534
|
+
})
|
|
24535
|
+
});
|
|
24536
|
+
}
|
|
24537
|
+
function IntegrationsCard({ icon: e, name: t, maxConnectionsPerService: i, connectLabel: a, onConnect: o, isLoading: s, children: c }) {
|
|
24538
|
+
let l = Children.toArray(c).length;
|
|
24539
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24540
|
+
className: "flex flex-col gap-4 rounded-lg border border-neutral-400 bg-white p-4",
|
|
24541
|
+
children: [
|
|
24542
|
+
/* @__PURE__ */ jsxs("div", {
|
|
24543
|
+
className: "flex items-center justify-between",
|
|
24544
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
24545
|
+
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
24546
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24547
|
+
className: "flex h-11 w-11 shrink-0 items-center justify-center",
|
|
24548
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
24549
|
+
className: "flex items-center justify-center",
|
|
24550
|
+
children: cloneElement(e, {
|
|
24551
|
+
size: 36,
|
|
24552
|
+
className: cn({ grayscale: !l && s })
|
|
24553
|
+
})
|
|
24554
|
+
})
|
|
24555
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
24556
|
+
className: "flex min-w-0 flex-1 flex-col",
|
|
24557
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24558
|
+
className: "truncate text-xs font-bold text-neutral-800",
|
|
24559
|
+
children: t
|
|
24560
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
24561
|
+
className: "text-xs font-normal text-neutral-800",
|
|
24562
|
+
children: `${l} of ${i} accounts`
|
|
24563
|
+
})]
|
|
24564
|
+
})]
|
|
24565
|
+
}), l < i && !s && /* @__PURE__ */ jsx(Button, {
|
|
24566
|
+
className: "flex shrink-0 items-center gap-1 rounded-lg border border-brand-primary bg-white px-2 py-1 text-xs font-bold text-brand-primary transition-opacity hover:opacity-70",
|
|
24567
|
+
onClick: o,
|
|
24568
|
+
children: a
|
|
24569
|
+
})]
|
|
24570
|
+
}),
|
|
24571
|
+
s && /* @__PURE__ */ jsx(IntegrationItemSkeleton, {}),
|
|
24572
|
+
l > 0 && c && /* @__PURE__ */ jsx("div", {
|
|
24573
|
+
className: "flex flex-col gap-2",
|
|
24574
|
+
children: c
|
|
24575
|
+
})
|
|
24576
|
+
]
|
|
24577
|
+
});
|
|
24578
|
+
}
|
|
24579
|
+
function IntegrationItem({ account: e, valid: t, disconnectLabel: n, onDisconnect: r, invalidLabel: i, invalidDescription: a }) {
|
|
24580
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24581
|
+
className: cn("flex flex-col gap-2 rounded-lg border px-3 py-3", t === !1 ? "border-error-base bg-error-base/5" : "border-brand-primary bg-neutral-100-variant-3"),
|
|
24582
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
24583
|
+
className: "flex items-center justify-between gap-2",
|
|
24584
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24585
|
+
className: "flex-1 truncate text-xs font-bold text-neutral-800",
|
|
24586
|
+
children: e
|
|
24587
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
24588
|
+
className: "shrink-0 text-xs font-medium text-error-base underline transition-opacity hover:opacity-70",
|
|
24589
|
+
onClick: r,
|
|
24590
|
+
children: n
|
|
24591
|
+
})]
|
|
24592
|
+
}), t === !1 && /* @__PURE__ */ jsxs("div", {
|
|
24593
|
+
className: "flex gap-2",
|
|
24594
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
24595
|
+
className: "text-xs font-semibold text-error-base",
|
|
24596
|
+
children: i
|
|
24597
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
24598
|
+
className: "text-xs text-neutral-500",
|
|
24599
|
+
children: a
|
|
24600
|
+
})]
|
|
24601
|
+
})]
|
|
24602
|
+
});
|
|
24603
|
+
}
|
|
24534
24604
|
function SearchInput({ value: e, defaultValue: t, placeholder: n = "Search...", onChange: r, onKeyDown: i, onClear: a, disabled: o = !1, className: s }) {
|
|
24535
24605
|
let [c, l] = useState(t ?? ""), u = typeof e == "string", f = u ? e : c, p = f.length > 0;
|
|
24536
24606
|
function h(e) {
|
|
@@ -24747,6 +24817,6 @@ function QtaloImage({ size: e = 40, className: t, ...n }) {
|
|
|
24747
24817
|
}) })]
|
|
24748
24818
|
});
|
|
24749
24819
|
}
|
|
24750
|
-
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, ActionMenu, ActionMenuItem, AddIcon,
|
|
24820
|
+
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, AccountInfo, ActionMenu, ActionMenuItem, AddIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, EVENT_CARD_HEIGHT_SIZE, EventCard, EventCardSkeleton, EventDetail, EventDetailContentCalendar, EventDetailContentEmail, EventDetailContentHeader, EventDetailContentMessage, EventDetailContentTicket, EventDetailHeader, EventDetailPriority, EventDetailSkeleton, EventDetailSummary, ExternalLinkIcon, FilterBar, FilterBarSkeleton, FilterButton, FireIcon, GmailIcon, GoogleCalendarIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InfoTooltip, Input, InsightIcon, IntegrationBar, IntegrationBarSkeleton, IntegrationItem, IntegrationItemSkeleton, IntegrationsCard, JiraIcon, LightIcon, LogoIcon, MinusIcon, MoreIcon, NormalDensityIcon, NotFireIcon, OutlookCalendarIcon, OutlookIcon, Pressable, QtaloImage, ReadIcon, RichContent, SearchIcon, SearchInput, 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 };
|
|
24751
24821
|
|
|
24752
24822
|
//# sourceMappingURL=index.js.map
|