@hiver/connector-agent 4.4.3-emailLogger-beta.13 → 4.4.3-emailLogger-beta.15
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/features/email-logger/components/log-action/index.d.ts.map +1 -1
- package/features/email-logger/components/log-action/tooltip.d.ts +2 -1
- package/features/email-logger/components/log-action/tooltip.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/footer/index.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/loader/index.d.ts +5 -1
- package/features/email-logger/components/select-entity/components/loader/index.d.ts.map +1 -1
- package/features/email-logger/components/unAuth-tooltip/index.d.ts +2 -2
- package/features/email-logger/components/unAuth-tooltip/index.d.ts.map +1 -1
- package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts +2 -1
- package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts.map +1 -1
- package/features/email-logger/components/welcome-banner/content.d.ts.map +1 -1
- package/features/email-logger/constants/index.d.ts +6 -5
- package/features/email-logger/constants/index.d.ts.map +1 -1
- package/features/email-logger/utils/index.d.ts.map +1 -1
- package/index.es.js +385 -382
- package/index.umd.js +29 -29
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ var Bl = (e) => {
|
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var wh = (e, t, n) => t in e ? Ih(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
6
|
-
var
|
|
6
|
+
var $e = (e, t, n) => wh(e, typeof t != "symbol" ? t + "" : t, n), ia = (e, t, n) => t.has(e) || Bl("Cannot " + n);
|
|
7
7
|
var L = (e, t, n) => (ia(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ue = (e, t, n) => t.has(e) ? Bl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), te = (e, t, n, r) => (ia(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ve = (e, t, n) => (ia(e, t, "access private method"), n);
|
|
8
8
|
var Ei = (e, t, n, r) => ({
|
|
9
9
|
set _(o) {
|
|
@@ -14,9 +14,9 @@ var Ei = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as A from "react";
|
|
17
|
-
import Ce, { useState as W, useRef as ye, useSyncExternalStore as _h, useLayoutEffect as go, useEffect as he, isValidElement as Hr, cloneElement as Ba, createContext as Gc, useContext as Oe, useCallback as Le, forwardRef as As, useMemo as
|
|
17
|
+
import Ce, { useState as W, useRef as ye, useSyncExternalStore as _h, useLayoutEffect as go, useEffect as he, isValidElement as Hr, cloneElement as Ba, createContext as Gc, useContext as Oe, useCallback as Le, forwardRef as As, useMemo as Ae, Component as Ah, Fragment as Va, useReducer as Th, Suspense as Hc } from "react";
|
|
18
18
|
import Sh, { createPortal as mo } from "react-dom";
|
|
19
|
-
import { keyframes as Wc, styled as O, Stack as G, theme as U, IconButton as ft, Typography as re, Box as ae, Tooltip as
|
|
19
|
+
import { keyframes as Wc, styled as O, Stack as G, theme as U, IconButton as ft, Typography as re, Box as ae, Tooltip as Ee, Button as ze, icons as Zt, Menu as Lh, MenuItem as Oh, ListItemIcon as Rh, brandIcons as m0, Grid as Fh, Link as fi, Skeleton as Zc, TableHead as Dh, TableCell as Ts, TableRow as b0, palette as Nh, Icon as v0, DatePicker as kh, DateTextField as Mh, InputAdornment as Ph, Checkbox as y0, TextField as jh, tooltipClasses as zo, TableContainer as Bh, Table as Vh, TableBody as Gh, Dialog as Hh, Paper as Wh, HiverProvider as Uc, CircularProgress as C0, FormControl as x0, RadioGroup as E0, FormControlLabel as I0, Radio as w0, ClickAwayListener as Zh, OutlinedInput as Uh, Switch as Xh } from "@hiver/hiver-ui-kit";
|
|
20
20
|
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ga = { exports: {} }, Ro = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
@@ -331,13 +331,13 @@ function zh() {
|
|
|
331
331
|
}
|
|
332
332
|
return "";
|
|
333
333
|
}
|
|
334
|
-
var ht = Object.prototype.hasOwnProperty, xn = {},
|
|
334
|
+
var ht = Object.prototype.hasOwnProperty, xn = {}, Mt = g.ReactDebugCurrentFrame;
|
|
335
335
|
function ut(S) {
|
|
336
336
|
if (S) {
|
|
337
337
|
var Z = S._owner, ee = ot(S.type, S._source, Z ? Z.type : null);
|
|
338
|
-
|
|
338
|
+
Mt.setExtraStackFrame(ee);
|
|
339
339
|
} else
|
|
340
|
-
|
|
340
|
+
Mt.setExtraStackFrame(null);
|
|
341
341
|
}
|
|
342
342
|
function Qe(S, Z, ee, ge, ke) {
|
|
343
343
|
{
|
|
@@ -359,7 +359,7 @@ function zh() {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
var rr = Array.isArray;
|
|
362
|
-
function
|
|
362
|
+
function Pt(S) {
|
|
363
363
|
return rr(S);
|
|
364
364
|
}
|
|
365
365
|
function _o(S) {
|
|
@@ -538,7 +538,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
538
538
|
{
|
|
539
539
|
if (typeof S != "object")
|
|
540
540
|
return;
|
|
541
|
-
if (
|
|
541
|
+
if (Pt(S))
|
|
542
542
|
for (var ee = 0; ee < S.length; ee++) {
|
|
543
543
|
var ge = S[ee];
|
|
544
544
|
To(ge) && xi(ge, Z);
|
|
@@ -553,7 +553,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Ie(S) {
|
|
557
557
|
{
|
|
558
558
|
var Z = S.type;
|
|
559
559
|
if (Z == null || typeof Z == "string")
|
|
@@ -600,7 +600,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
600
600
|
var xt = ra();
|
|
601
601
|
xt ? xe += xt : xe += So();
|
|
602
602
|
var nt;
|
|
603
|
-
S === null ? nt = "null" :
|
|
603
|
+
S === null ? nt = "null" : Pt(S) ? nt = "array" : S !== void 0 && S.$$typeof === t ? (nt = "<" + (k(S.type) || "Unknown") + " />", xe = " Did you accidentally export a JSX literal instead of a component?") : nt = typeof S, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nt, xe);
|
|
604
604
|
}
|
|
605
605
|
var it = na(S, Z, ee, ke, He);
|
|
606
606
|
if (it == null)
|
|
@@ -609,7 +609,7 @@ Check the top-level render call using <` + ee + ">.");
|
|
|
609
609
|
var $t = Z.children;
|
|
610
610
|
if ($t !== void 0)
|
|
611
611
|
if (ge)
|
|
612
|
-
if (
|
|
612
|
+
if (Pt($t)) {
|
|
613
613
|
for (var Mr = 0; Mr < $t.length; Mr++)
|
|
614
614
|
Oo($t[Mr], S);
|
|
615
615
|
Object.freeze && Object.freeze($t);
|
|
@@ -632,7 +632,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
632
632
|
<%s key={someKey} {...props} />`, oa, ir, xh, ir), Ct[ir + oa] = !0;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
return S === r ? Ye(it) :
|
|
635
|
+
return S === r ? Ye(it) : Ie(it), it;
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
function bh(S, Z, ee) {
|
|
@@ -660,7 +660,7 @@ function qn() {
|
|
|
660
660
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = _0(e)) && (r && (r += " "), r += t);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
|
-
const Yo = (e) => typeof e == "number" && !isNaN(e), xr = (e) => typeof e == "string",
|
|
663
|
+
const Yo = (e) => typeof e == "number" && !isNaN(e), xr = (e) => typeof e == "string", jt = (e) => typeof e == "function", Mi = (e) => xr(e) || jt(e) ? e : null, Ha = (e) => Hr(e) || xr(e) || jt(e) || Yo(e);
|
|
664
664
|
function Yh(e, t, n) {
|
|
665
665
|
n === void 0 && (n = 300);
|
|
666
666
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -724,11 +724,11 @@ function qh(e) {
|
|
|
724
724
|
h = w == null ? [] : h.filter((T) => T !== w), x();
|
|
725
725
|
}, _ = (w) => {
|
|
726
726
|
const { toastId: T, onOpen: D, updateId: R, children: F } = w.props, k = R == null;
|
|
727
|
-
w.staleId && v.delete(w.staleId), v.set(T, w), h = [...h, w.props.toastId].filter((j) => j !== w.staleId), x(), m(Hl(w, k ? "added" : "updated")), k &&
|
|
727
|
+
w.staleId && v.delete(w.staleId), v.set(T, w), h = [...h, w.props.toastId].filter((j) => j !== w.staleId), x(), m(Hl(w, k ? "added" : "updated")), k && jt(D) && D(Hr(F) && F.props);
|
|
728
728
|
};
|
|
729
729
|
return { id: d, props: y, observe: (w) => (E.add(w), () => E.delete(w)), toggle: (w, T) => {
|
|
730
730
|
v.forEach((D) => {
|
|
731
|
-
T != null && T !== D.props.toastId ||
|
|
731
|
+
T != null && T !== D.props.toastId || jt(D.toggle) && D.toggle(w);
|
|
732
732
|
});
|
|
733
733
|
}, removeToast: I, toasts: v, clearQueue: () => {
|
|
734
734
|
b -= f.length, f = [];
|
|
@@ -747,12 +747,12 @@ function qh(e) {
|
|
|
747
747
|
return B != null;
|
|
748
748
|
})), toastId: D, updateId: R, data: F, closeToast: z, isIn: !1, className: Mi(T.className || y.toastClassName), bodyClassName: Mi(T.bodyClassName || y.bodyClassName), progressClassName: Mi(T.progressClassName || y.progressClassName), autoClose: !T.isLoading && ($ = T.autoClose, Y = y.autoClose, $ === !1 || Yo($) && $ > 0 ? $ : Y), deleteToast() {
|
|
749
749
|
const M = v.get(D), { onClose: V, children: B } = M.props;
|
|
750
|
-
|
|
750
|
+
jt(V) && V(Hr(B) && B.props), m(Hl(M, "removed")), v.delete(D), b--, b < 0 && (b = 0), f.length > 0 ? _(f.shift()) : x();
|
|
751
751
|
} };
|
|
752
752
|
var $, Y;
|
|
753
753
|
K.closeButton = y.closeButton, T.closeButton === !1 || Ha(T.closeButton) ? K.closeButton = T.closeButton : T.closeButton === !0 && (K.closeButton = !Ha(y.closeButton) || y.closeButton);
|
|
754
754
|
let ce = w;
|
|
755
|
-
Hr(w) && !xr(w.type) ? ce = Ba(w, { closeToast: z, toastProps: K, data: F }) :
|
|
755
|
+
Hr(w) && !xr(w.type) ? ce = Ba(w, { closeToast: z, toastProps: K, data: F }) : jt(w) && (ce = w({ closeToast: z, toastProps: K, data: F }));
|
|
756
756
|
const Q = { content: ce, props: K, staleId: k };
|
|
757
757
|
y.limit && y.limit > 0 && b > y.limit && q ? f.push(Q) : Yo(j) ? setTimeout(() => {
|
|
758
758
|
_(Q);
|
|
@@ -831,7 +831,7 @@ function Kh(e) {
|
|
|
831
831
|
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: s, style: c, controlledProgress: a, progress: l, rtl: d, isIn: p, theme: m } = e;
|
|
832
832
|
const C = i || a && l === 0, b = { ...c, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused" };
|
|
833
833
|
a && (b.transform = `scaleX(${l})`);
|
|
834
|
-
const f = qn("Toastify__progress-bar", a ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${m}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": d }), h =
|
|
834
|
+
const f = qn("Toastify__progress-bar", a ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${m}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": d }), h = jt(s) ? s({ rtl: d, type: o, defaultClassName: f }) : qn(f, s), g = { [a && l >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: a && l < 1 ? null : () => {
|
|
835
835
|
p && r();
|
|
836
836
|
} };
|
|
837
837
|
return Ce.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": C }, Ce.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${o}` }), Ce.createElement("div", { role: "progressbar", "aria-hidden": C ? "true" : "false", "aria-label": "notification timer", className: h, style: b, ...g }));
|
|
@@ -860,7 +860,7 @@ je.loading = (e, t) => Zo(e, rs("default", { isLoading: !0, autoClose: !1, close
|
|
|
860
860
|
if (p == null) return void je.dismiss(r);
|
|
861
861
|
const C = { type: d, ...c, ...n, data: m }, b = xr(p) ? { render: p } : p;
|
|
862
862
|
return r ? je.update(r, { ...C, ...b }) : je(b.render, { ...C, ...b }), m;
|
|
863
|
-
}, l =
|
|
863
|
+
}, l = jt(e) ? e() : e;
|
|
864
864
|
return l.then((d) => a("success", s, d)).catch((d) => a("error", i, d)), l;
|
|
865
865
|
}, je.success = Ii("success"), je.info = Ii("info"), je.error = Ii("error"), je.warning = Ii("warning"), je.warn = je.warning, je.dark = (e, t) => Zo(e, rs("default", { theme: "dark", ...t })), je.dismiss = function(e) {
|
|
866
866
|
(function(t) {
|
|
@@ -915,18 +915,18 @@ const np = typeof window < "u" ? go : he, wi = (e) => {
|
|
|
915
915
|
}, spinner: function() {
|
|
916
916
|
return Ce.createElement("div", { className: "Toastify__spinner" });
|
|
917
917
|
} }, rp = (e) => {
|
|
918
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = Qh(e), { closeButton: s, children: c, autoClose: a, onClick: l, type: d, hideProgressBar: p, closeToast: m, transition: C, position: b, className: f, style: h, bodyClassName: g, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: x, role: I, progress: _, rtl: w, toastId: T, deleteToast: D, isIn: R, isLoading: F, closeOnClick: k, theme: j } = e, z = qn("Toastify__toast", `Toastify__toast-theme--${j}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": w }, { "Toastify__toast--close-on-click": k }), q =
|
|
918
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = Qh(e), { closeButton: s, children: c, autoClose: a, onClick: l, type: d, hideProgressBar: p, closeToast: m, transition: C, position: b, className: f, style: h, bodyClassName: g, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: x, role: I, progress: _, rtl: w, toastId: T, deleteToast: D, isIn: R, isLoading: F, closeOnClick: k, theme: j } = e, z = qn("Toastify__toast", `Toastify__toast-theme--${j}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": w }, { "Toastify__toast--close-on-click": k }), q = jt(f) ? f({ rtl: w, position: b, type: d, defaultClassName: z }) : qn(z, f), K = function(Q) {
|
|
919
919
|
let { theme: M, type: V, isLoading: B, icon: H } = Q, J = null;
|
|
920
920
|
const ie = { theme: M, type: V };
|
|
921
|
-
return H === !1 || (
|
|
921
|
+
return H === !1 || (jt(H) ? J = H({ ...ie, isLoading: B }) : Hr(H) ? J = Ba(H, ie) : B ? J = sa.spinner() : ((le) => le in sa)(V) && (J = sa[V](ie))), J;
|
|
922
922
|
}(e), $ = !!_ || !a, Y = { closeToast: m, type: d, theme: j };
|
|
923
923
|
let ce = null;
|
|
924
|
-
return s === !1 || (ce =
|
|
924
|
+
return s === !1 || (ce = jt(s) ? s(Y) : Hr(s) ? Ba(s, Y) : function(Q) {
|
|
925
925
|
let { closeToast: M, theme: V, ariaLabel: B = "close" } = Q;
|
|
926
926
|
return Ce.createElement("button", { className: `Toastify__close-button Toastify__close-button--${V}`, type: "button", onClick: (H) => {
|
|
927
927
|
H.stopPropagation(), M(H);
|
|
928
928
|
}, "aria-label": B }, Ce.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ce.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
929
|
-
}(Y)), Ce.createElement(C, { isIn: R, done: D, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: T, onClick: l, "data-in": R, className: q, ...o, style: h, ref: r }, Ce.createElement("div", { ...R && { role: I }, className:
|
|
929
|
+
}(Y)), Ce.createElement(C, { isIn: R, done: D, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: T, onClick: l, "data-in": R, className: q, ...o, style: h, ref: r }, Ce.createElement("div", { ...R && { role: I }, className: jt(g) ? g({ type: d }) : qn("Toastify__toast-body", g), style: y }, K != null && Ce.createElement("div", { className: qn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !F }) }, K), Ce.createElement("div", null, c)), ce, Ce.createElement(Kh, { ...x && !$ ? { key: `pb-${x}` } : {}, rtl: w, theme: j, delay: a, isRunning: t, isIn: R, closeToast: m, hide: p, type: d, style: E, className: v, controlledProgress: $, progress: _ || 0 })));
|
|
930
930
|
}, Ls = function(e, t) {
|
|
931
931
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
932
932
|
}, op = Ss(Ls("bounce", !0));
|
|
@@ -939,7 +939,7 @@ function Xc(e) {
|
|
|
939
939
|
const n = e.stacked, [r, o] = W(!0), i = ye(null), { getToastToRender: s, isToastActive: c, count: a } = qh(t), { className: l, style: d, rtl: p, containerId: m } = t;
|
|
940
940
|
function C(f) {
|
|
941
941
|
const h = qn("Toastify__toast-container", `Toastify__toast-container--${f}`, { "Toastify__toast-container--rtl": p });
|
|
942
|
-
return
|
|
942
|
+
return jt(l) ? l({ position: f, rtl: p, defaultClassName: h }) : qn(h, Mi(l));
|
|
943
943
|
}
|
|
944
944
|
function b() {
|
|
945
945
|
n && (o(!0), je.play());
|
|
@@ -1740,14 +1740,14 @@ var Ag = /* @__PURE__ */ Object.freeze({
|
|
|
1740
1740
|
hasStandardBrowserEnv: Ig,
|
|
1741
1741
|
navigator: Ka,
|
|
1742
1742
|
origin: _g
|
|
1743
|
-
}),
|
|
1743
|
+
}), Dt = {
|
|
1744
1744
|
...Ag,
|
|
1745
1745
|
...Eg
|
|
1746
1746
|
};
|
|
1747
1747
|
function Tg(e, t) {
|
|
1748
|
-
return Ms(e, new
|
|
1748
|
+
return Ms(e, new Dt.classes.URLSearchParams(), Object.assign({
|
|
1749
1749
|
visitor: function(n, r, o, i) {
|
|
1750
|
-
return
|
|
1750
|
+
return Dt.isNode && N.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
1751
1751
|
}
|
|
1752
1752
|
}, t));
|
|
1753
1753
|
}
|
|
@@ -1841,8 +1841,8 @@ const qc = {
|
|
|
1841
1841
|
maxContentLength: -1,
|
|
1842
1842
|
maxBodyLength: -1,
|
|
1843
1843
|
env: {
|
|
1844
|
-
FormData:
|
|
1845
|
-
Blob:
|
|
1844
|
+
FormData: Dt.classes.FormData,
|
|
1845
|
+
Blob: Dt.classes.Blob
|
|
1846
1846
|
},
|
|
1847
1847
|
validateStatus: function(t) {
|
|
1848
1848
|
return t >= 200 && t < 300;
|
|
@@ -2139,11 +2139,11 @@ const is = (e, t, n = 3) => {
|
|
|
2139
2139
|
loaded: r
|
|
2140
2140
|
}), t[1]];
|
|
2141
2141
|
}, ru = (e) => (...t) => N.asap(() => e(...t));
|
|
2142
|
-
var Vg =
|
|
2142
|
+
var Vg = Dt.hasStandardBrowserEnv ? (
|
|
2143
2143
|
// Standard browser envs have full support of the APIs needed to test
|
|
2144
2144
|
// whether the request URL is of the same origin as current location.
|
|
2145
2145
|
function() {
|
|
2146
|
-
const t =
|
|
2146
|
+
const t = Dt.navigator && /(msie|trident)/i.test(Dt.navigator.userAgent), n = document.createElement("a");
|
|
2147
2147
|
let r;
|
|
2148
2148
|
function o(i) {
|
|
2149
2149
|
let s = i;
|
|
@@ -2170,7 +2170,7 @@ var Vg = Nt.hasStandardBrowserEnv ? (
|
|
|
2170
2170
|
return !0;
|
|
2171
2171
|
};
|
|
2172
2172
|
}()
|
|
2173
|
-
), Gg =
|
|
2173
|
+
), Gg = Dt.hasStandardBrowserEnv ? (
|
|
2174
2174
|
// Standard browser envs support document.cookie
|
|
2175
2175
|
{
|
|
2176
2176
|
write(e, t, n, r, o, i) {
|
|
@@ -2280,14 +2280,14 @@ var Q0 = (e) => {
|
|
|
2280
2280
|
);
|
|
2281
2281
|
let a;
|
|
2282
2282
|
if (N.isFormData(n)) {
|
|
2283
|
-
if (
|
|
2283
|
+
if (Dt.hasStandardBrowserEnv || Dt.hasStandardBrowserWebWorkerEnv)
|
|
2284
2284
|
s.setContentType(void 0);
|
|
2285
2285
|
else if ((a = s.getContentType()) !== !1) {
|
|
2286
2286
|
const [l, ...d] = a ? a.split(";").map((p) => p.trim()).filter(Boolean) : [];
|
|
2287
2287
|
s.setContentType([l || "multipart/form-data", ...d].join("; "));
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
|
-
if (
|
|
2290
|
+
if (Dt.hasStandardBrowserEnv && (r && N.isFunction(r) && (r = r(t)), r || r !== !1 && Vg(t.url))) {
|
|
2291
2291
|
const l = o && i && Gg.read(i);
|
|
2292
2292
|
l && s.set(o, l);
|
|
2293
2293
|
}
|
|
@@ -2345,7 +2345,7 @@ var Ug = Zg && function(e) {
|
|
|
2345
2345
|
h && (r(!v || v.type ? new vo(null, e, h) : v), h.abort(), h = null);
|
|
2346
2346
|
}, o.cancelToken && o.cancelToken.subscribe(d), o.signal && (o.signal.aborted ? d() : o.signal.addEventListener("abort", d)));
|
|
2347
2347
|
const y = Pg(o.url);
|
|
2348
|
-
if (y &&
|
|
2348
|
+
if (y && Dt.protocols.indexOf(y) === -1) {
|
|
2349
2349
|
r(new be("Unsupported protocol " + y + ":", be.ERR_BAD_REQUEST, e));
|
|
2350
2350
|
return;
|
|
2351
2351
|
}
|
|
@@ -2442,7 +2442,7 @@ const zg = function* (e, t) {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
}, Qg = K0 && e1(() => {
|
|
2444
2444
|
let e = !1;
|
|
2445
|
-
const t = new Request(
|
|
2445
|
+
const t = new Request(Dt.origin, {
|
|
2446
2446
|
body: new ReadableStream(),
|
|
2447
2447
|
method: "POST",
|
|
2448
2448
|
get duplex() {
|
|
@@ -2466,7 +2466,7 @@ const Kg = async (e) => {
|
|
|
2466
2466
|
if (N.isBlob(e))
|
|
2467
2467
|
return e.size;
|
|
2468
2468
|
if (N.isSpecCompliantForm(e))
|
|
2469
|
-
return (await new Request(
|
|
2469
|
+
return (await new Request(Dt.origin, {
|
|
2470
2470
|
method: "POST",
|
|
2471
2471
|
body: e
|
|
2472
2472
|
}).arrayBuffer()).byteLength;
|
|
@@ -3214,11 +3214,11 @@ var Cm = me && me.__awaiter || function(e, t, n, r) {
|
|
|
3214
3214
|
};
|
|
3215
3215
|
Object.defineProperty(De, "__esModule", { value: !0 });
|
|
3216
3216
|
De.expireToken = De.invalidateToken = De.validateToken = De.validateAccount = De.getConfig = De.introduceDelay = De.isTokenInExpiryWindow = De.getStoredAuthData = De.setUserDetails = De.getRefreshInterval = De.setTokenAndExpiry = De.getRandomDelay = De.hasValidToken = void 0;
|
|
3217
|
-
var Tn = tr, Pr = Ot,
|
|
3217
|
+
var Tn = tr, Pr = Ot, Bt = bn, nl = function() {
|
|
3218
3218
|
var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
|
|
3219
3219
|
return t;
|
|
3220
3220
|
}, rl = function(e) {
|
|
3221
|
-
var t = parseInt((0,
|
|
3221
|
+
var t = parseInt((0, Bt.getItemFromStorage)("hiverAuthUserId") || "0"), n = parseInt((0, Bt.getItemFromStorage)("hiverAuthUserGroupId") || "0"), r = e.userId, o = e.usergroupId;
|
|
3222
3222
|
return t === r && o === n;
|
|
3223
3223
|
};
|
|
3224
3224
|
De.validateAccount = rl;
|
|
@@ -3240,7 +3240,7 @@ var wm = function() {
|
|
|
3240
3240
|
};
|
|
3241
3241
|
De.expireToken = wm;
|
|
3242
3242
|
var _m = function(e) {
|
|
3243
|
-
var t = (0,
|
|
3243
|
+
var t = (0, Bt.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r = nl(), o = rl(e);
|
|
3244
3244
|
return console.log("Heimdall: checking if there is a valid token", r < n && o), r < n && o;
|
|
3245
3245
|
};
|
|
3246
3246
|
De.hasValidToken = _m;
|
|
@@ -3251,22 +3251,22 @@ De.getRandomDelay = Am;
|
|
|
3251
3251
|
var Tm = function(e, t) {
|
|
3252
3252
|
if (!e || !t)
|
|
3253
3253
|
throw new Error("User Id or user group Id not found in the response");
|
|
3254
|
-
(0,
|
|
3254
|
+
(0, Bt.setItemInStorage)("hiverAuthUserId", e), (0, Bt.setItemInStorage)("hiverAuthUserGroupId", t);
|
|
3255
3255
|
};
|
|
3256
3256
|
De.setUserDetails = Tm;
|
|
3257
3257
|
var Sm = function(e, t) {
|
|
3258
3258
|
if (!e)
|
|
3259
3259
|
throw new Error("Token not found in the response");
|
|
3260
|
-
(0,
|
|
3260
|
+
(0, Bt.setItemInStorage)("hiverAuthToken", e), (0, Bt.setItemInStorage)("hiverAuthTokenExpiry", t);
|
|
3261
3261
|
};
|
|
3262
3262
|
De.setTokenAndExpiry = Sm;
|
|
3263
3263
|
var Lm = function() {
|
|
3264
|
-
var e = (0,
|
|
3264
|
+
var e = (0, Bt.getItemFromStorage)("hiverAuthTokenExpiry"), t = (0, Bt.getItemFromStorage)("hiverAuthToken"), n = (0, Bt.getItemFromStorage)("hiverAuthUserId"), r = (0, Bt.getItemFromStorage)("hiverAuthUserGroupId");
|
|
3265
3265
|
return { token: t, expiryTime: e, userId: n, usergroupId: r };
|
|
3266
3266
|
};
|
|
3267
3267
|
De.getStoredAuthData = Lm;
|
|
3268
3268
|
var i1 = function() {
|
|
3269
|
-
var e = (0,
|
|
3269
|
+
var e = (0, Bt.getItemFromStorage)("hiverAuthTokenExpiry") || "";
|
|
3270
3270
|
if (!e)
|
|
3271
3271
|
return !0;
|
|
3272
3272
|
var t = nl(), n = new Date(e), r = 4 * 60 * 1e3, o = n.getTime() - t.getTime() < r;
|
|
@@ -3304,7 +3304,7 @@ var Rm = function(e, t, n) {
|
|
|
3304
3304
|
De.getConfig = Rm;
|
|
3305
3305
|
var Fm = function() {
|
|
3306
3306
|
try {
|
|
3307
|
-
var e = (0,
|
|
3307
|
+
var e = (0, Bt.getItemFromStorage)("hiverAuthTokenExpiry");
|
|
3308
3308
|
if (!e)
|
|
3309
3309
|
return Tn.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY;
|
|
3310
3310
|
var t = new Date(e), n = nl();
|
|
@@ -5142,7 +5142,7 @@ const qt = {
|
|
|
5142
5142
|
} catch (m) {
|
|
5143
5143
|
throw console.error("API call failed with error: ", m), m;
|
|
5144
5144
|
}
|
|
5145
|
-
},
|
|
5145
|
+
}, Xe = t3({
|
|
5146
5146
|
configHiver: {
|
|
5147
5147
|
getToken: !0,
|
|
5148
5148
|
fetchCsrfToken: () => "",
|
|
@@ -5200,7 +5200,7 @@ const qt = {
|
|
|
5200
5200
|
localStorage.setItem(Gi, JSON.stringify(c));
|
|
5201
5201
|
return;
|
|
5202
5202
|
}
|
|
5203
|
-
}, yt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[n5]) === !0 : (e == null ? void 0 : e[t]) === !0,
|
|
5203
|
+
}, yt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[n5]) === !0 : (e == null ? void 0 : e[t]) === !0, kt = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), yu = (e, t, n, r = !1) => {
|
|
5204
5204
|
var i;
|
|
5205
5205
|
const o = {};
|
|
5206
5206
|
return o.card_title = t, o.card_state = n ? v5 : y5, r && e ? (o.data_state = e == null ? void 0 : e.status, o.connector_names = (i = e == null ? void 0 : e.data) == null ? void 0 : i.connectorNames) : e && (o.data_state = (e == null ? void 0 : e.status) || "unknown_error"), o;
|
|
@@ -5464,12 +5464,12 @@ const _5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
5464
5464
|
/* @__PURE__ */ u.jsx(k5, { rating: m, setRating: f })
|
|
5465
5465
|
] })
|
|
5466
5466
|
] }),
|
|
5467
|
-
/* @__PURE__ */ u.jsx(ae, { position: "relative", children: /* @__PURE__ */ u.jsx(
|
|
5467
|
+
/* @__PURE__ */ u.jsx(ae, { position: "relative", children: /* @__PURE__ */ u.jsx(Ee, { title: "Close", children: /* @__PURE__ */ u.jsx(R5, { onClick: h, children: /* @__PURE__ */ u.jsx(o3, { width: "16px", height: "16px" }) }) }) })
|
|
5468
5468
|
]
|
|
5469
5469
|
}
|
|
5470
5470
|
),
|
|
5471
5471
|
/* @__PURE__ */ u.jsx(L5, { className: d || !a ? "fade-in" : "", children: /* @__PURE__ */ u.jsxs(
|
|
5472
|
-
|
|
5472
|
+
ze,
|
|
5473
5473
|
{
|
|
5474
5474
|
size: "small",
|
|
5475
5475
|
variant: "outlined",
|
|
@@ -5496,7 +5496,7 @@ const _5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
5496
5496
|
width: 100%;
|
|
5497
5497
|
gap: 4px;
|
|
5498
5498
|
justify-content: space-between;
|
|
5499
|
-
`, W5 = O(
|
|
5499
|
+
`, W5 = O(ze)`
|
|
5500
5500
|
width: 127px;
|
|
5501
5501
|
height: 28px;
|
|
5502
5502
|
gap: 8px;
|
|
@@ -5539,7 +5539,7 @@ const _5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
5539
5539
|
/* @__PURE__ */ u.jsxs(H5, { gap: "4px", children: [
|
|
5540
5540
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", justifyContent: "space-between", children: [
|
|
5541
5541
|
/* @__PURE__ */ u.jsx(X5, { variant: "body1_medium", children: P5 }),
|
|
5542
|
-
/* @__PURE__ */ u.jsx(G, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ u.jsx(
|
|
5542
|
+
/* @__PURE__ */ u.jsx(G, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ u.jsx(Ee, { title: "Close", placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { children: /* @__PURE__ */ u.jsx(Z5, {}) }) }) })
|
|
5543
5543
|
] }),
|
|
5544
5544
|
/* @__PURE__ */ u.jsx($5, { variant: "body2", children: j5 })
|
|
5545
5545
|
] }),
|
|
@@ -5882,7 +5882,7 @@ const o4 = O(ae)`
|
|
|
5882
5882
|
height: 20px;
|
|
5883
5883
|
border-radius: 2px;
|
|
5884
5884
|
}
|
|
5885
|
-
`, L4 = O(
|
|
5885
|
+
`, L4 = O(ze)`
|
|
5886
5886
|
height: 28px;
|
|
5887
5887
|
max-width: 115px;
|
|
5888
5888
|
white-space: pre;
|
|
@@ -5998,10 +5998,10 @@ const o4 = O(ae)`
|
|
|
5998
5998
|
/* @__PURE__ */ u.jsx(R1, { variant: "h2", children: y ? sl : v1 })
|
|
5999
5999
|
] }),
|
|
6000
6000
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", children: [
|
|
6001
|
-
/* @__PURE__ */ u.jsx(
|
|
6001
|
+
/* @__PURE__ */ u.jsx(Ee, { title: a3, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: x, id: "help-button", sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: J5, alt: "Help", height: "20px" }) }) }),
|
|
6002
6002
|
t && (o != null && o.length) ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
6003
|
-
r ? /* @__PURE__ */ u.jsx(
|
|
6004
|
-
n ? /* @__PURE__ */ u.jsx(
|
|
6003
|
+
r ? /* @__PURE__ */ u.jsx(Ee, { title: I1, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: s, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: K5, alt: "Link Task", height: "20px" }) }) }) : null,
|
|
6004
|
+
n ? /* @__PURE__ */ u.jsx(Ee, { title: E1, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: i, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: Y5, alt: "Add", height: "20px" }) }) }) : null
|
|
6005
6005
|
] }) : null
|
|
6006
6006
|
] })
|
|
6007
6007
|
] })
|
|
@@ -6115,7 +6115,7 @@ function P4() {
|
|
|
6115
6115
|
}()), ba;
|
|
6116
6116
|
}
|
|
6117
6117
|
process.env.NODE_ENV === "production" ? sc.exports = M4() : sc.exports = P4();
|
|
6118
|
-
var j4 = sc.exports,
|
|
6118
|
+
var j4 = sc.exports, Vt = (
|
|
6119
6119
|
// prettier-ignore
|
|
6120
6120
|
// @ts-ignore
|
|
6121
6121
|
"default" in A ? A.default : A
|
|
@@ -6124,20 +6124,20 @@ var j4 = sc.exports, Gt = (
|
|
|
6124
6124
|
{}
|
|
6125
6125
|
);
|
|
6126
6126
|
function B4() {
|
|
6127
|
-
if (!
|
|
6127
|
+
if (!Vt.createContext)
|
|
6128
6128
|
return {};
|
|
6129
6129
|
const e = _u[wu] ?? (_u[wu] = /* @__PURE__ */ new Map());
|
|
6130
|
-
let t = e.get(
|
|
6131
|
-
return t || (t =
|
|
6130
|
+
let t = e.get(Vt.createContext);
|
|
6131
|
+
return t || (t = Vt.createContext(
|
|
6132
6132
|
null
|
|
6133
|
-
), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(
|
|
6133
|
+
), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(Vt.createContext, t)), t;
|
|
6134
6134
|
}
|
|
6135
6135
|
var Kn = /* @__PURE__ */ B4(), V4 = () => {
|
|
6136
6136
|
throw new Error("uSES not initialized!");
|
|
6137
6137
|
};
|
|
6138
6138
|
function ul(e = Kn) {
|
|
6139
6139
|
return function() {
|
|
6140
|
-
const n =
|
|
6140
|
+
const n = Vt.useContext(e);
|
|
6141
6141
|
if (process.env.NODE_ENV !== "production" && !n)
|
|
6142
6142
|
throw new Error(
|
|
6143
6143
|
"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"
|
|
@@ -6167,7 +6167,7 @@ function W4(e = Kn) {
|
|
|
6167
6167
|
getServerState: l,
|
|
6168
6168
|
stabilityCheck: d,
|
|
6169
6169
|
identityFunctionCheck: p
|
|
6170
|
-
} = t(), m =
|
|
6170
|
+
} = t(), m = Vt.useRef(!0), C = Vt.useCallback(
|
|
6171
6171
|
{
|
|
6172
6172
|
[r.name](f) {
|
|
6173
6173
|
const h = r(f);
|
|
@@ -6227,7 +6227,7 @@ Selectors that return the entire state are almost certainly a mistake, as they w
|
|
|
6227
6227
|
C,
|
|
6228
6228
|
i
|
|
6229
6229
|
);
|
|
6230
|
-
return
|
|
6230
|
+
return Vt.useDebugValue(b), b;
|
|
6231
6231
|
};
|
|
6232
6232
|
return Object.assign(n, {
|
|
6233
6233
|
withTypes: () => n
|
|
@@ -6317,7 +6317,7 @@ function $4(e, t) {
|
|
|
6317
6317
|
};
|
|
6318
6318
|
return b;
|
|
6319
6319
|
}
|
|
6320
|
-
var z4 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Y4 = typeof navigator < "u" && navigator.product === "ReactNative", J4 = z4 || Y4 ?
|
|
6320
|
+
var z4 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Y4 = typeof navigator < "u" && navigator.product === "ReactNative", J4 = z4 || Y4 ? Vt.useLayoutEffect : Vt.useEffect;
|
|
6321
6321
|
function q4({
|
|
6322
6322
|
store: e,
|
|
6323
6323
|
context: t,
|
|
@@ -6326,7 +6326,7 @@ function q4({
|
|
|
6326
6326
|
stabilityCheck: o = "once",
|
|
6327
6327
|
identityFunctionCheck: i = "once"
|
|
6328
6328
|
}) {
|
|
6329
|
-
const s =
|
|
6329
|
+
const s = Vt.useMemo(() => {
|
|
6330
6330
|
const l = $4(e);
|
|
6331
6331
|
return {
|
|
6332
6332
|
store: e,
|
|
@@ -6335,7 +6335,7 @@ function q4({
|
|
|
6335
6335
|
stabilityCheck: o,
|
|
6336
6336
|
identityFunctionCheck: i
|
|
6337
6337
|
};
|
|
6338
|
-
}, [e, r, o, i]), c =
|
|
6338
|
+
}, [e, r, o, i]), c = Vt.useMemo(() => e.getState(), [e]);
|
|
6339
6339
|
J4(() => {
|
|
6340
6340
|
const { subscription: l } = s;
|
|
6341
6341
|
return l.onStateChange = l.notifyNestedSubs, l.trySubscribe(), c !== e.getState() && l.notifyNestedSubs(), () => {
|
|
@@ -6343,7 +6343,7 @@ function q4({
|
|
|
6343
6343
|
};
|
|
6344
6344
|
}, [s, c]);
|
|
6345
6345
|
const a = t || Kn;
|
|
6346
|
-
return /* @__PURE__ */
|
|
6346
|
+
return /* @__PURE__ */ Vt.createElement(a.Provider, { value: s }, n);
|
|
6347
6347
|
}
|
|
6348
6348
|
var dl = q4;
|
|
6349
6349
|
function j1(e = Kn) {
|
|
@@ -6367,7 +6367,7 @@ function K4(e = Kn) {
|
|
|
6367
6367
|
}
|
|
6368
6368
|
var eb = /* @__PURE__ */ K4();
|
|
6369
6369
|
G4(j4.useSyncExternalStoreWithSelector);
|
|
6370
|
-
const rn = eb.withTypes(),
|
|
6370
|
+
const rn = eb.withTypes(), _e = Z4.withTypes(), Je = {
|
|
6371
6371
|
GET: "GET",
|
|
6372
6372
|
POST: "POST",
|
|
6373
6373
|
DELETE: "DELETE",
|
|
@@ -7555,7 +7555,7 @@ var Xb = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", $b
|
|
|
7555
7555
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
7556
7556
|
does not exist at runtime
|
|
7557
7557
|
*/
|
|
7558
|
-
|
|
7558
|
+
$e(this, "_type");
|
|
7559
7559
|
this.payload = e, this.meta = t;
|
|
7560
7560
|
}
|
|
7561
7561
|
}, Pu = class {
|
|
@@ -7564,7 +7564,7 @@ var Xb = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", $b
|
|
|
7564
7564
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
7565
7565
|
does not exist at runtime
|
|
7566
7566
|
*/
|
|
7567
|
-
|
|
7567
|
+
$e(this, "_type");
|
|
7568
7568
|
this.payload = e, this.meta = t;
|
|
7569
7569
|
}
|
|
7570
7570
|
}, Yb = (e) => {
|
|
@@ -8024,7 +8024,7 @@ const ju = {
|
|
|
8024
8024
|
["fetch_authenticated_connectors", i == null ? void 0 : i.toString()]
|
|
8025
8025
|
].forEach(([c, a]) => {
|
|
8026
8026
|
a !== void 0 && t.append(c, a);
|
|
8027
|
-
}),
|
|
8027
|
+
}), Xe({
|
|
8028
8028
|
url: `${y9}?${t.toString()}`,
|
|
8029
8029
|
method: C9.GET
|
|
8030
8030
|
});
|
|
@@ -8426,7 +8426,7 @@ function Si(e, t) {
|
|
|
8426
8426
|
function m6(e, t) {
|
|
8427
8427
|
return e.map(t).join("");
|
|
8428
8428
|
}
|
|
8429
|
-
var Xs = 1, fo = 1, vf = 0,
|
|
8429
|
+
var Xs = 1, fo = 1, vf = 0, Nt = 0, st = 0, xo = "";
|
|
8430
8430
|
function $s(e, t, n, r, o, i, s) {
|
|
8431
8431
|
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Xs, column: fo, length: s, return: "" };
|
|
8432
8432
|
}
|
|
@@ -8437,16 +8437,16 @@ function b6() {
|
|
|
8437
8437
|
return st;
|
|
8438
8438
|
}
|
|
8439
8439
|
function v6() {
|
|
8440
|
-
return st =
|
|
8440
|
+
return st = Nt > 0 ? mt(xo, --Nt) : 0, fo--, st === 10 && (fo = 1, Xs--), st;
|
|
8441
8441
|
}
|
|
8442
8442
|
function Wt() {
|
|
8443
|
-
return st =
|
|
8443
|
+
return st = Nt < vf ? mt(xo, Nt++) : 0, fo++, st === 10 && (fo = 1, Xs++), st;
|
|
8444
8444
|
}
|
|
8445
8445
|
function yn() {
|
|
8446
|
-
return mt(xo,
|
|
8446
|
+
return mt(xo, Nt);
|
|
8447
8447
|
}
|
|
8448
8448
|
function Wi() {
|
|
8449
|
-
return
|
|
8449
|
+
return Nt;
|
|
8450
8450
|
}
|
|
8451
8451
|
function gi(e, t) {
|
|
8452
8452
|
return ri(xo, e, t);
|
|
@@ -8484,13 +8484,13 @@ function oi(e) {
|
|
|
8484
8484
|
return 0;
|
|
8485
8485
|
}
|
|
8486
8486
|
function yf(e) {
|
|
8487
|
-
return Xs = fo = 1, vf = pn(xo = e),
|
|
8487
|
+
return Xs = fo = 1, vf = pn(xo = e), Nt = 0, [];
|
|
8488
8488
|
}
|
|
8489
8489
|
function Cf(e) {
|
|
8490
8490
|
return xo = "", e;
|
|
8491
8491
|
}
|
|
8492
8492
|
function Zi(e) {
|
|
8493
|
-
return bf(gi(
|
|
8493
|
+
return bf(gi(Nt - 1, vc(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
8494
8494
|
}
|
|
8495
8495
|
function y6(e) {
|
|
8496
8496
|
for (; (st = yn()) && st < 33; )
|
|
@@ -8506,7 +8506,7 @@ function vc(e) {
|
|
|
8506
8506
|
for (; Wt(); )
|
|
8507
8507
|
switch (st) {
|
|
8508
8508
|
case e:
|
|
8509
|
-
return
|
|
8509
|
+
return Nt;
|
|
8510
8510
|
case 34:
|
|
8511
8511
|
case 39:
|
|
8512
8512
|
e !== 34 && e !== 39 && vc(st);
|
|
@@ -8518,18 +8518,18 @@ function vc(e) {
|
|
|
8518
8518
|
Wt();
|
|
8519
8519
|
break;
|
|
8520
8520
|
}
|
|
8521
|
-
return
|
|
8521
|
+
return Nt;
|
|
8522
8522
|
}
|
|
8523
8523
|
function x6(e, t) {
|
|
8524
8524
|
for (; Wt() && e + st !== 57; )
|
|
8525
8525
|
if (e + st === 84 && yn() === 47)
|
|
8526
8526
|
break;
|
|
8527
|
-
return "/*" + gi(t,
|
|
8527
|
+
return "/*" + gi(t, Nt - 1) + "*" + Us(e === 47 ? e : Wt());
|
|
8528
8528
|
}
|
|
8529
8529
|
function E6(e) {
|
|
8530
8530
|
for (; !oi(yn()); )
|
|
8531
8531
|
Wt();
|
|
8532
|
-
return gi(e,
|
|
8532
|
+
return gi(e, Nt);
|
|
8533
8533
|
}
|
|
8534
8534
|
function I6(e) {
|
|
8535
8535
|
return Cf(Ui("", null, null, null, [""], e = yf(e), 0, [0], e));
|
|
@@ -8678,13 +8678,13 @@ function S6(e) {
|
|
|
8678
8678
|
var L6 = function(t, n, r) {
|
|
8679
8679
|
for (var o = 0, i = 0; o = i, i = yn(), o === 38 && i === 12 && (n[r] = 1), !oi(i); )
|
|
8680
8680
|
Wt();
|
|
8681
|
-
return gi(t,
|
|
8681
|
+
return gi(t, Nt);
|
|
8682
8682
|
}, O6 = function(t, n) {
|
|
8683
8683
|
var r = -1, o = 44;
|
|
8684
8684
|
do
|
|
8685
8685
|
switch (oi(o)) {
|
|
8686
8686
|
case 0:
|
|
8687
|
-
o === 38 && yn() === 12 && (n[r] = 1), t[r] += L6(
|
|
8687
|
+
o === 38 && yn() === 12 && (n[r] = 1), t[r] += L6(Nt - 1, n, r);
|
|
8688
8688
|
break;
|
|
8689
8689
|
case 2:
|
|
8690
8690
|
t[r] += Zi(o);
|
|
@@ -9938,7 +9938,7 @@ var Mf = function(t) {
|
|
|
9938
9938
|
zIndex: 1
|
|
9939
9939
|
};
|
|
9940
9940
|
}, Qv = function(t) {
|
|
9941
|
-
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, a = ye(null), l = ye(null), d = W(Mf(s)), p = dt(d, 2), m = p[0], C = p[1], b =
|
|
9941
|
+
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, a = ye(null), l = ye(null), d = W(Mf(s)), p = dt(d, 2), m = p[0], C = p[1], b = Ae(function() {
|
|
9942
9942
|
return {
|
|
9943
9943
|
setPortalPlacement: C
|
|
9944
9944
|
};
|
|
@@ -10544,9 +10544,9 @@ var t7 = process.env.NODE_ENV === "production" ? {
|
|
|
10544
10544
|
return "".concat(r).concat(n ? " for search term " + n : "", ".");
|
|
10545
10545
|
}
|
|
10546
10546
|
}, o7 = function(t) {
|
|
10547
|
-
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, a = t.selectProps, l = t.id, d = t.isAppleDevice, p = a.ariaLiveMessages, m = a.getOptionLabel, C = a.inputValue, b = a.isMulti, f = a.isOptionDisabled, h = a.isSearchable, g = a.menuIsOpen, y = a.options, v = a.screenReaderStatus, E = a.tabSelectsValue, x = a.isLoading, I = a["aria-label"], _ = a["aria-live"], w =
|
|
10547
|
+
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, a = t.selectProps, l = t.id, d = t.isAppleDevice, p = a.ariaLiveMessages, m = a.getOptionLabel, C = a.inputValue, b = a.isMulti, f = a.isOptionDisabled, h = a.isSearchable, g = a.menuIsOpen, y = a.options, v = a.screenReaderStatus, E = a.tabSelectsValue, x = a.isLoading, I = a["aria-label"], _ = a["aria-live"], w = Ae(function() {
|
|
10548
10548
|
return se(se({}, r7), p || {});
|
|
10549
|
-
}, [p]), T =
|
|
10549
|
+
}, [p]), T = Ae(function() {
|
|
10550
10550
|
var z = "";
|
|
10551
10551
|
if (n && w.onChange) {
|
|
10552
10552
|
var q = n.option, K = n.options, $ = n.removedValue, Y = n.removedValues, ce = n.value, Q = function(le) {
|
|
@@ -10561,7 +10561,7 @@ var t7 = process.env.NODE_ENV === "production" ? {
|
|
|
10561
10561
|
z = w.onChange(J);
|
|
10562
10562
|
}
|
|
10563
10563
|
return z;
|
|
10564
|
-
}, [n, w, f, c, m]), D =
|
|
10564
|
+
}, [n, w, f, c, m]), D = Ae(function() {
|
|
10565
10565
|
var z = "", q = r || o, K = !!(r && c && c.includes(r));
|
|
10566
10566
|
if (q && w.onFocus) {
|
|
10567
10567
|
var $ = {
|
|
@@ -10577,7 +10577,7 @@ var t7 = process.env.NODE_ENV === "production" ? {
|
|
|
10577
10577
|
z = w.onFocus($);
|
|
10578
10578
|
}
|
|
10579
10579
|
return z;
|
|
10580
|
-
}, [r, o, m, f, w, i, c, d]), R =
|
|
10580
|
+
}, [r, o, m, f, w, i, c, d]), R = Ae(function() {
|
|
10581
10581
|
var z = "";
|
|
10582
10582
|
if (g && y.length && !x && w.onFilter) {
|
|
10583
10583
|
var q = v({
|
|
@@ -10589,7 +10589,7 @@ var t7 = process.env.NODE_ENV === "production" ? {
|
|
|
10589
10589
|
});
|
|
10590
10590
|
}
|
|
10591
10591
|
return z;
|
|
10592
|
-
}, [i, C, g, w, y, v, x]), F = (n == null ? void 0 : n.action) === "initial-input-focus", k =
|
|
10592
|
+
}, [i, C, g, w, y, v, x]), F = (n == null ? void 0 : n.action) === "initial-input-focus", k = Ae(function() {
|
|
10593
10593
|
var z = "";
|
|
10594
10594
|
if (w.guidance) {
|
|
10595
10595
|
var q = o ? "value" : g ? "menu" : "input";
|
|
@@ -12336,7 +12336,7 @@ const Z7 = O(ae)`
|
|
|
12336
12336
|
isMulti: t,
|
|
12337
12337
|
isScrollTarget: n
|
|
12338
12338
|
}) => {
|
|
12339
|
-
const r = ye(), o =
|
|
12339
|
+
const r = ye(), o = Ae(() => e ? Object.fromEntries(e.map((c) => [c.value, c])) : {}, [e]);
|
|
12340
12340
|
return {
|
|
12341
12341
|
optionsMap: o,
|
|
12342
12342
|
getValue: (c) => {
|
|
@@ -12392,20 +12392,20 @@ function c2(e) {
|
|
|
12392
12392
|
b.current = !1;
|
|
12393
12393
|
};
|
|
12394
12394
|
}, []);
|
|
12395
|
-
var ot = Le(function(
|
|
12395
|
+
var ot = Le(function(Mt, ut) {
|
|
12396
12396
|
if (!i) return ut();
|
|
12397
|
-
var Qe = i(
|
|
12397
|
+
var Qe = i(Mt, ut);
|
|
12398
12398
|
Qe && typeof Qe.then == "function" && Qe.then(ut, function() {
|
|
12399
12399
|
return ut();
|
|
12400
12400
|
});
|
|
12401
12401
|
}, [i]);
|
|
12402
12402
|
he(function() {
|
|
12403
|
-
n === !0 && ot(x, function(
|
|
12404
|
-
b.current && (y(
|
|
12403
|
+
n === !0 && ot(x, function(Mt) {
|
|
12404
|
+
b.current && (y(Mt || []), D(!!C.current));
|
|
12405
12405
|
});
|
|
12406
12406
|
}, []);
|
|
12407
|
-
var ht = Le(function(
|
|
12408
|
-
var Qe = Av(
|
|
12407
|
+
var ht = Le(function(Mt, ut) {
|
|
12408
|
+
var Qe = Av(Mt, ut, a);
|
|
12409
12409
|
if (!Qe) {
|
|
12410
12410
|
C.current = void 0, I(""), j(""), $([]), D(!1), M(!1);
|
|
12411
12411
|
return;
|
|
@@ -12414,8 +12414,8 @@ function c2(e) {
|
|
|
12414
12414
|
I(Qe), j(Qe), $(H[Qe]), D(!1), M(!1);
|
|
12415
12415
|
else {
|
|
12416
12416
|
var rr = C.current = {};
|
|
12417
|
-
I(Qe), D(!0), M(!k), ot(Qe, function(
|
|
12418
|
-
b && rr === C.current && (C.current = void 0, D(!1), j(Qe), $(
|
|
12417
|
+
I(Qe), D(!0), M(!k), ot(Qe, function(Pt) {
|
|
12418
|
+
b && rr === C.current && (C.current = void 0, D(!1), j(Qe), $(Pt || []), M(!1), J(Pt ? se(se({}, H), {}, Gr({}, Qe, Pt)) : H));
|
|
12419
12419
|
});
|
|
12420
12420
|
}
|
|
12421
12421
|
}, [o, ot, k, H, a]), xn = Q ? [] : x && k ? K : g || [];
|
|
@@ -12454,12 +12454,12 @@ var J7 = /* @__PURE__ */ As(function(e, t) {
|
|
|
12454
12454
|
}
|
|
12455
12455
|
};
|
|
12456
12456
|
function K7(e) {
|
|
12457
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? La.formatCreateLabel : i, c = e.isValidNewOption, a = c === void 0 ? La.isValidNewOption : c, l = e.getNewOptionData, d = l === void 0 ? La.getNewOptionData : l, p = e.onCreateOption, m = e.options, C = m === void 0 ? [] : m, b = e.onChange, f = sn(e, Q7), h = f.getOptionValue, g = h === void 0 ? zf : h, y = f.getOptionLabel, v = y === void 0 ? $f : y, E = f.inputValue, x = f.isLoading, I = f.isMulti, _ = f.value, w = f.name, T =
|
|
12457
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? La.formatCreateLabel : i, c = e.isValidNewOption, a = c === void 0 ? La.isValidNewOption : c, l = e.getNewOptionData, d = l === void 0 ? La.getNewOptionData : l, p = e.onCreateOption, m = e.options, C = m === void 0 ? [] : m, b = e.onChange, f = sn(e, Q7), h = f.getOptionValue, g = h === void 0 ? zf : h, y = f.getOptionLabel, v = y === void 0 ? $f : y, E = f.inputValue, x = f.isLoading, I = f.isMulti, _ = f.value, w = f.name, T = Ae(function() {
|
|
12458
12458
|
return a(E, ys(_), C, {
|
|
12459
12459
|
getOptionValue: g,
|
|
12460
12460
|
getOptionLabel: v
|
|
12461
12461
|
}) ? d(E, s(E)) : void 0;
|
|
12462
|
-
}, [s, d, v, g, E, a, C, _]), D =
|
|
12462
|
+
}, [s, d, v, g, E, a, C, _]), D = Ae(function() {
|
|
12463
12463
|
return (n || !x) && T ? o === "first" ? [T].concat(Wr(C)) : [].concat(Wr(C), [T]) : C;
|
|
12464
12464
|
}, [n, o, x, T, C]), R = Le(function(F, k) {
|
|
12465
12465
|
if (k.action !== "select-option")
|
|
@@ -12633,7 +12633,7 @@ const Eo = "table-cell-form-field", qs = "60px", Qs = "24px", aC = O(ae)`
|
|
|
12633
12633
|
border-right: var(--border-size) solid transparent;
|
|
12634
12634
|
}
|
|
12635
12635
|
${({ hasError: e }) => e ? "border: var(--border-size) solid #CD3746;" : ""}
|
|
12636
|
-
`, d2 = O(
|
|
12636
|
+
`, d2 = O(ze)`
|
|
12637
12637
|
padding: 0;
|
|
12638
12638
|
margin: 0;
|
|
12639
12639
|
outline: 0;
|
|
@@ -12799,7 +12799,7 @@ const bC = O(y0)`
|
|
|
12799
12799
|
onFocus: C,
|
|
12800
12800
|
onValidationError: b
|
|
12801
12801
|
}) => {
|
|
12802
|
-
const f = t ?? [], h = (o == null ? void 0 : o.validations) ?? {}, g = ye(), y = ye({}), [v, E] = W({}), { colsLength: x, colsTemplate: I, colWidth: _ } =
|
|
12802
|
+
const f = t ?? [], h = (o == null ? void 0 : o.validations) ?? {}, g = ye(), y = ye({}), [v, E] = W({}), { colsLength: x, colsTemplate: I, colWidth: _ } = Ae(() => {
|
|
12803
12803
|
let M = 0, V = "";
|
|
12804
12804
|
for (const B of r) {
|
|
12805
12805
|
let H = B.cols ? Number(B.cols) : 1;
|
|
@@ -12810,7 +12810,7 @@ const bC = O(y0)`
|
|
|
12810
12810
|
colsTemplate: V.trim(),
|
|
12811
12811
|
colWidth: `${isNaN(c) ? h2 : c}px`
|
|
12812
12812
|
};
|
|
12813
|
-
}, [r, c, s]), { fieldDependency: w, fieldConfigs: T } =
|
|
12813
|
+
}, [r, c, s]), { fieldDependency: w, fieldConfigs: T } = Ae(() => {
|
|
12814
12814
|
const M = {}, V = {};
|
|
12815
12815
|
for (const B of r) {
|
|
12816
12816
|
if (!B.valueConfig)
|
|
@@ -13383,8 +13383,8 @@ const CC = O(ae)`
|
|
|
13383
13383
|
}
|
|
13384
13384
|
),
|
|
13385
13385
|
/* @__PURE__ */ u.jsxs(wC, { className: "input-wrapper", children: [
|
|
13386
|
-
/* @__PURE__ */ u.jsx(
|
|
13387
|
-
r != null && r.icon ? /* @__PURE__ */ u.jsx(
|
|
13386
|
+
/* @__PURE__ */ u.jsx(Ee, { title: m.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: le(m) }),
|
|
13387
|
+
r != null && r.icon ? /* @__PURE__ */ u.jsx(Ee, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ u.jsx(TC, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
|
|
13388
13388
|
] }),
|
|
13389
13389
|
ce()
|
|
13390
13390
|
]
|
|
@@ -13490,7 +13490,7 @@ const CC = O(ae)`
|
|
|
13490
13490
|
/* @__PURE__ */ u.jsx("img", { className: "preview-img", onError: () => r(!0), ...t }),
|
|
13491
13491
|
/* @__PURE__ */ u.jsx(DC, { className: "play-icon" })
|
|
13492
13492
|
] });
|
|
13493
|
-
}, g2 = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(
|
|
13493
|
+
}, g2 = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(Ee, { ...t, classes: { popper: e } }))(({ tooltipStyle: e, arrowStyle: t }) => ({
|
|
13494
13494
|
[`& .${zo.arrow}`]: {
|
|
13495
13495
|
...t
|
|
13496
13496
|
},
|
|
@@ -13582,21 +13582,21 @@ const CC = O(ae)`
|
|
|
13582
13582
|
return n;
|
|
13583
13583
|
}, Io = "/v1/api", PC = `${Io}/connectors/conversation/:conversationId/metadata`, jC = `${Io}/connectors/forms/:formId/field/:fieldName/data`, BC = `${Io}/connectors/form/:formId`, VC = `${Io}/connectors/forms/:id/link`, GC = `${Io}/connectors/forms/:id/preview`, HC = `${Io}/connectors/conversation/:conversationId/selected-email`, WC = (e, t, n = "email") => {
|
|
13584
13584
|
const r = new URLSearchParams();
|
|
13585
|
-
return r.append("channel_type", n),
|
|
13586
|
-
url:
|
|
13585
|
+
return r.append("channel_type", n), Xe({
|
|
13586
|
+
url: kt(`${jC}?${r.toString()}`, e),
|
|
13587
13587
|
method: Je.POST,
|
|
13588
13588
|
data: t
|
|
13589
13589
|
});
|
|
13590
13590
|
}, ZC = (e, t, n = "email") => {
|
|
13591
13591
|
const r = new URLSearchParams();
|
|
13592
|
-
return r.append("channel_type", n),
|
|
13593
|
-
url:
|
|
13592
|
+
return r.append("channel_type", n), Xe({
|
|
13593
|
+
url: kt(`${BC}?${r.toString()}`, e),
|
|
13594
13594
|
method: Je.POST,
|
|
13595
13595
|
data: t
|
|
13596
13596
|
});
|
|
13597
13597
|
}, UC = (e, t, n = "email") => {
|
|
13598
13598
|
const r = new URLSearchParams();
|
|
13599
|
-
return r.append("channel_type", n),
|
|
13599
|
+
return r.append("channel_type", n), Xe({
|
|
13600
13600
|
url: `${GC.replace(":id", e)}?${r.toString()}`,
|
|
13601
13601
|
method: Je.POST,
|
|
13602
13602
|
data: {
|
|
@@ -13781,20 +13781,20 @@ const CC = O(ae)`
|
|
|
13781
13781
|
conversationId: n
|
|
13782
13782
|
}) => {
|
|
13783
13783
|
const r = new URLSearchParams();
|
|
13784
|
-
return e.forEach((o) => r.append("inbox_ids", o)), r.append("channel_type", t), r.append("conversation_id", String(n)),
|
|
13784
|
+
return e.forEach((o) => r.append("inbox_ids", o)), r.append("channel_type", t), r.append("conversation_id", String(n)), Xe({
|
|
13785
13785
|
url: `${JC}?${r.toString()}`,
|
|
13786
13786
|
method: Je.GET
|
|
13787
13787
|
});
|
|
13788
13788
|
}, v2 = (e, t, n = "email") => {
|
|
13789
13789
|
const r = new URLSearchParams();
|
|
13790
|
-
return r.append("channel_type", n),
|
|
13791
|
-
url:
|
|
13790
|
+
return r.append("channel_type", n), Xe({
|
|
13791
|
+
url: kt(`${KC}?${r.toString()}`, e),
|
|
13792
13792
|
method: Je.POST,
|
|
13793
13793
|
data: t
|
|
13794
13794
|
});
|
|
13795
13795
|
}, n8 = (e, t = "email", n, r) => {
|
|
13796
13796
|
const o = new URLSearchParams();
|
|
13797
|
-
return o.append("channel_type", t),
|
|
13797
|
+
return o.append("channel_type", t), Xe({
|
|
13798
13798
|
url: `${qC.replace(":id", e)}?${o.toString()}`,
|
|
13799
13799
|
method: Je.POST,
|
|
13800
13800
|
data: {
|
|
@@ -13804,7 +13804,7 @@ const CC = O(ae)`
|
|
|
13804
13804
|
});
|
|
13805
13805
|
}, r8 = (e, t, n = "email", r, o) => {
|
|
13806
13806
|
const i = new URLSearchParams();
|
|
13807
|
-
return i.append("channel_type", n), o && i.append("senderEmail", o),
|
|
13807
|
+
return i.append("channel_type", n), o && i.append("senderEmail", o), Xe({
|
|
13808
13808
|
url: `${QC.replace(":id", e)}?${i.toString()}`,
|
|
13809
13809
|
method: Je.POST,
|
|
13810
13810
|
data: {
|
|
@@ -13814,7 +13814,7 @@ const CC = O(ae)`
|
|
|
13814
13814
|
});
|
|
13815
13815
|
}, o8 = (e, t = "email", n, r, o) => {
|
|
13816
13816
|
const i = new URLSearchParams();
|
|
13817
|
-
return i.append("channel_type", t), i.append("conversation_id", String(n || "")), i.append("senderEmail", o), i.append("externalResourceId", r),
|
|
13817
|
+
return i.append("channel_type", t), i.append("conversation_id", String(n || "")), i.append("senderEmail", o), i.append("externalResourceId", r), Xe({
|
|
13818
13818
|
url: `${e8.replace(":formId", e)}?${i.toString()}`,
|
|
13819
13819
|
method: Je.GET
|
|
13820
13820
|
});
|
|
@@ -14124,7 +14124,7 @@ Do you want to continue?`, m8 = "Select an object to create", b8 = "Select an ob
|
|
|
14124
14124
|
};
|
|
14125
14125
|
}, [e]), [n, o];
|
|
14126
14126
|
}, _8 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.8016%2011.709L12.3416%205.16893L11.4298%204.25712L4.88979%2010.7972V11.709H5.8016ZM6.33618%2012.9987H3.6001V10.2626L10.9739%202.88875C11.0948%202.76786%2011.2588%202.69995%2011.4298%202.69995C11.6008%202.69995%2011.7648%202.76786%2011.8857%202.88875L13.71%204.71302C13.8309%204.83395%2013.8988%204.99794%2013.8988%205.16893C13.8988%205.33992%2013.8309%205.50391%2013.71%205.62484L6.33618%2012.9987ZM3.6001%2014.2884H15.2073V15.578H3.6001V14.2884Z'%20fill='%236C7B94'/%3e%3c/svg%3e", A8 = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
14127
|
-
const o = rn(), { sendTrackingEvent: i, currentSmIds: s } = Oe(rt), { userGroupId: c } = Ln() || {}, [a, l] = w8(), { isScrolling: d, isVertical: p } = a, m = d && p, C =
|
|
14127
|
+
const o = rn(), { sendTrackingEvent: i, currentSmIds: s } = Oe(rt), { userGroupId: c } = Ln() || {}, [a, l] = w8(), { isScrolling: d, isVertical: p } = a, m = d && p, C = Ae(() => (e == null ? void 0 : e[0].data.map((g) => g.label)) || [], [e]), b = Ae(() => e.map((g) => {
|
|
14128
14128
|
const y = {
|
|
14129
14129
|
cells: {},
|
|
14130
14130
|
externalResourceId: g.externalResourceId
|
|
@@ -14155,7 +14155,7 @@ Do you want to continue?`, m8 = "Select an object to create", b8 = "Select an ob
|
|
|
14155
14155
|
] }) }),
|
|
14156
14156
|
/* @__PURE__ */ u.jsx(Gh, { children: b.map((g, y) => /* @__PURE__ */ u.jsxs(m4, { children: [
|
|
14157
14157
|
Object.values(g.cells).map((v, E) => f(v, E)),
|
|
14158
|
-
/* @__PURE__ */ u.jsx(v4, { children: !m && g.externalResourceId && /* @__PURE__ */ u.jsx(
|
|
14158
|
+
/* @__PURE__ */ u.jsx(v4, { children: !m && g.externalResourceId && /* @__PURE__ */ u.jsx(Ee, { title: x1, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { className: "row-edit", onClick: () => h(g.externalResourceId), children: /* @__PURE__ */ u.jsx("img", { src: _8 }) }) }) })
|
|
14159
14159
|
] }, `id_${y}`)) })
|
|
14160
14160
|
] }) })
|
|
14161
14161
|
] });
|
|
@@ -14220,7 +14220,7 @@ const Td = (e) => {
|
|
|
14220
14220
|
isCardLevelError: C,
|
|
14221
14221
|
fieldName: b,
|
|
14222
14222
|
showErrorIcon: f
|
|
14223
|
-
} = e, h = ye(null), g = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: x, connectorFunctions: I } = Oe(rt), _ =
|
|
14223
|
+
} = e, h = ye(null), g = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: x, connectorFunctions: I } = Oe(rt), _ = _e(F8), w = _ == null ? void 0 : _[m], [T, D] = W(!1), R = Ae(() => {
|
|
14224
14224
|
if (n && C) {
|
|
14225
14225
|
const { error_message: Y } = Ad(n);
|
|
14226
14226
|
return Y;
|
|
@@ -14280,7 +14280,7 @@ const Td = (e) => {
|
|
|
14280
14280
|
return i ? /* @__PURE__ */ u.jsx(Qn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : z ? /* @__PURE__ */ u.jsxs(D1, { gap: "7px", children: [
|
|
14281
14281
|
f ? /* @__PURE__ */ u.jsx(G, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ u.jsx("img", { src: N8, width: "18px", height: "18px" }) }) : null,
|
|
14282
14282
|
/* @__PURE__ */ u.jsx(N1, { variant: "body2", children: R ? $(R) : bu })
|
|
14283
|
-
] }) : /* @__PURE__ */ u.jsx(
|
|
14283
|
+
] }) : /* @__PURE__ */ u.jsx(Ee, { title: T ? j : null, placement: "bottom", children: r ? /* @__PURE__ */ u.jsx(
|
|
14284
14284
|
k1,
|
|
14285
14285
|
{
|
|
14286
14286
|
ref: g,
|
|
@@ -14315,16 +14315,16 @@ const Td = (e) => {
|
|
|
14315
14315
|
},
|
|
14316
14316
|
sx: { ...i },
|
|
14317
14317
|
children: /* @__PURE__ */ u.jsxs(G, { direction: "row", children: [
|
|
14318
|
-
r && /* @__PURE__ */ u.jsx(ae, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ u.jsx(
|
|
14318
|
+
r && /* @__PURE__ */ u.jsx(ae, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ u.jsx(Ee, { title: "Close", placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: () => t(!1), children: /* @__PURE__ */ u.jsx("img", { src: I2 }) }) }) }),
|
|
14319
14319
|
n
|
|
14320
14320
|
] })
|
|
14321
14321
|
}
|
|
14322
14322
|
), w2 = (e) => {
|
|
14323
14323
|
var M, V, B;
|
|
14324
|
-
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, a = (o == null ? void 0 : o[t]) === ne.IDLE, l = (o == null ? void 0 : o[t]) === ne.LOADING, d = (o == null ? void 0 : o[t]) === ne.FAILED, { cardType: p, data: m, cardErrorMessage: C, redirectToAdminTab: b, connectorNames: f } = (r == null ? void 0 : r[t]) || {}, h = p === "flat", [g, y] = W(!1), [v, E] = W(!1), [x, I] = W(!1), [_, w] = W(!1), T = ((M = m == null ? void 0 : m.listItems) == null ? void 0 : M.statusCode) !== 401, D =
|
|
14324
|
+
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, a = (o == null ? void 0 : o[t]) === ne.IDLE, l = (o == null ? void 0 : o[t]) === ne.LOADING, d = (o == null ? void 0 : o[t]) === ne.FAILED, { cardType: p, data: m, cardErrorMessage: C, redirectToAdminTab: b, connectorNames: f } = (r == null ? void 0 : r[t]) || {}, h = p === "flat", [g, y] = W(!1), [v, E] = W(!1), [x, I] = W(!1), [_, w] = W(!1), T = ((M = m == null ? void 0 : m.listItems) == null ? void 0 : M.statusCode) !== 401, D = Ae(() => {
|
|
14325
14325
|
var H, J, ie, le;
|
|
14326
14326
|
return h && ((H = m == null ? void 0 : m.flatDisplay) != null && H.data) ? m.flatDisplay.data : !h && ((le = (ie = (J = m == null ? void 0 : m.listItems) == null ? void 0 : J.fields) == null ? void 0 : ie[0]) != null && le.data) ? m.listItems.fields[0].data : [];
|
|
14327
|
-
}, [h, m]), R =
|
|
14327
|
+
}, [h, m]), R = Ae(() => D == null ? void 0 : D.slice(0, 5), [D]), [F, k] = W([]), j = ye(null), [z, q] = W(0), K = g ? -180 : 0, $ = h ? !1 : !!((V = m == null ? void 0 : m.listItems) != null && V.errorMessage), Y = $ || d || C, ce = a && !$ && i && (x || v);
|
|
14328
14328
|
go(() => {
|
|
14329
14329
|
var H;
|
|
14330
14330
|
(H = j.current) != null && H.scrollHeight && q(j.current.scrollHeight + c);
|
|
@@ -14407,13 +14407,13 @@ const Td = (e) => {
|
|
|
14407
14407
|
channelType: n = "email"
|
|
14408
14408
|
}) => {
|
|
14409
14409
|
const r = new URLSearchParams();
|
|
14410
|
-
return e.forEach((o) => r.append("inbox_ids", o)), r.append("channel_type", n), r.append("conversation_id", String(t || "")),
|
|
14410
|
+
return e.forEach((o) => r.append("inbox_ids", o)), r.append("channel_type", n), r.append("conversation_id", String(t || "")), Xe({
|
|
14411
14411
|
url: `${B8}?${r.toString()}`,
|
|
14412
14412
|
method: Je.GET
|
|
14413
14413
|
});
|
|
14414
14414
|
}, H8 = (e, t, n, r) => {
|
|
14415
14415
|
const o = new URLSearchParams();
|
|
14416
|
-
return o.append("senderEmail", t), o.append("conversation_id", String(n || "")), r && o.append("externalResourceId", r),
|
|
14416
|
+
return o.append("senderEmail", t), o.append("conversation_id", String(n || "")), r && o.append("externalResourceId", r), Xe({
|
|
14417
14417
|
url: `${V8.replace(":id", e)}?${o.toString()}`,
|
|
14418
14418
|
method: Je.GET
|
|
14419
14419
|
});
|
|
@@ -14521,7 +14521,7 @@ const Td = (e) => {
|
|
|
14521
14521
|
conversationId: i,
|
|
14522
14522
|
connectorName: s
|
|
14523
14523
|
}) => {
|
|
14524
|
-
const c = rn(), { sendTrackingEvent: a } = Oe(rt), d =
|
|
14524
|
+
const c = rn(), { sendTrackingEvent: a } = Oe(rt), d = _e(q8) === ne.LOADING, p = () => {
|
|
14525
14525
|
i && o && c(Qi({ id: n, conversationId: i, externalResourceId: o })).unwrap().then(() => {
|
|
14526
14526
|
a(_3, {
|
|
14527
14527
|
connector_name: s,
|
|
@@ -14541,8 +14541,8 @@ const Td = (e) => {
|
|
|
14541
14541
|
/* @__PURE__ */ u.jsx(re, { variant: "h2", children: p5 }),
|
|
14542
14542
|
/* @__PURE__ */ u.jsx(re, { variant: "body2", children: ox(s) }),
|
|
14543
14543
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
14544
|
-
/* @__PURE__ */ u.jsx(
|
|
14545
|
-
/* @__PURE__ */ u.jsx(
|
|
14544
|
+
/* @__PURE__ */ u.jsx(ze, { variant: "text", onClick: () => t(!1), children: al }),
|
|
14545
|
+
/* @__PURE__ */ u.jsx(ze, { disabled: d, color: "error", onClick: p, children: C1 })
|
|
14546
14546
|
] })
|
|
14547
14547
|
] }) });
|
|
14548
14548
|
}, sx = ({ actions: e, isHovered: t = !1 }) => {
|
|
@@ -14551,8 +14551,8 @@ const Td = (e) => {
|
|
|
14551
14551
|
return null;
|
|
14552
14552
|
const o = r[r.length - 1], i = r.slice(0, -1), s = t ? (i.length + 1) * 32 : 32;
|
|
14553
14553
|
return /* @__PURE__ */ u.jsxs(h4, { width: s, isHovered: t, children: [
|
|
14554
|
-
/* @__PURE__ */ u.jsx("div", { className: "hidden-actions", children: i.map(({ id: c, disabled: a, label: l, iconSrc: d, action: p }) => /* @__PURE__ */ u.jsx(
|
|
14555
|
-
o && /* @__PURE__ */ u.jsx(
|
|
14554
|
+
/* @__PURE__ */ u.jsx("div", { className: "hidden-actions", children: i.map(({ id: c, disabled: a, label: l, iconSrc: d, action: p }) => /* @__PURE__ */ u.jsx(Ee, { title: l, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: p, disabled: a, children: /* @__PURE__ */ u.jsx("img", { src: d }) }) }, c)) }),
|
|
14555
|
+
o && /* @__PURE__ */ u.jsx(Ee, { title: o.label, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: o.action, disabled: o.disabled, children: /* @__PURE__ */ u.jsx("img", { src: o.iconSrc }) }) }, o.id)
|
|
14556
14556
|
] });
|
|
14557
14557
|
}, ax = (e) => {
|
|
14558
14558
|
const {
|
|
@@ -14565,7 +14565,7 @@ const Td = (e) => {
|
|
|
14565
14565
|
} = e, c = rn(), { availableFeatures: a, sendTrackingEvent: l, conversationId: d, currentSmIds: p } = Oe(rt), { userGroupId: m } = Ln() || {}, [C, b] = W(!!i), [f, h] = W(!1), [g, y] = W(!1), [v, E] = W(!1), { id: x, title: I, externalResourceId: _ = "", forms: w = [], logoUrl: T } = t;
|
|
14566
14566
|
let D = x;
|
|
14567
14567
|
_ && (D = `${D}_${_}`);
|
|
14568
|
-
const { data: R, cardType: F, cardErrorMessage: k, connectorNames: j } = (n == null ? void 0 : n[D]) ?? {}, z = (j == null ? void 0 : j[0]) || "", q = (o == null ? void 0 : o[D]) === ne.LOADING, K = (o == null ? void 0 : o[D]) === ne.FAILED, $ = !!(yt(a, g1) && _), Y =
|
|
14568
|
+
const { data: R, cardType: F, cardErrorMessage: k, connectorNames: j } = (n == null ? void 0 : n[D]) ?? {}, z = (j == null ? void 0 : j[0]) || "", q = (o == null ? void 0 : o[D]) === ne.LOADING, K = (o == null ? void 0 : o[D]) === ne.FAILED, $ = !!(yt(a, g1) && _), Y = Ae(() => {
|
|
14569
14569
|
var P, oe;
|
|
14570
14570
|
if (k || K || !(yt(a, t5) && w.some((Te) => Te.type === "edit")))
|
|
14571
14571
|
return !1;
|
|
@@ -14662,11 +14662,11 @@ const Td = (e) => {
|
|
|
14662
14662
|
/* @__PURE__ */ u.jsxs(i4, { className: C ? "hiver-card-expanded" : "", onClick: (P) => M(P, D), children: [
|
|
14663
14663
|
/* @__PURE__ */ u.jsxs(s4, { children: [
|
|
14664
14664
|
T && /* @__PURE__ */ u.jsx("img", { src: T, alt: I }),
|
|
14665
|
-
/* @__PURE__ */ u.jsx(
|
|
14665
|
+
/* @__PURE__ */ u.jsx(Ee, { title: f ? I : "", placement: "bottom", children: /* @__PURE__ */ u.jsx(a4, { variant: "h4", onMouseOver: (P) => V(P), onMouseLeave: (P) => V(P), children: I }) })
|
|
14666
14666
|
] }),
|
|
14667
14667
|
/* @__PURE__ */ u.jsxs(D1, { children: [
|
|
14668
14668
|
/* @__PURE__ */ u.jsx(sx, { actions: le, isHovered: v }),
|
|
14669
|
-
/* @__PURE__ */ u.jsx(
|
|
14669
|
+
/* @__PURE__ */ u.jsx(Ee, { title: C ? b1 : il, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: (P) => M(P, D), children: /* @__PURE__ */ u.jsx(ll, { className: C ? "" : "hiver-up" }) }) })
|
|
14670
14670
|
] })
|
|
14671
14671
|
] }),
|
|
14672
14672
|
/* @__PURE__ */ u.jsx(
|
|
@@ -14761,7 +14761,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
14761
14761
|
color: ${U.palette.gray.gray1};
|
|
14762
14762
|
font-size: 13px;
|
|
14763
14763
|
margin-bottom: 24px;
|
|
14764
|
-
`, Od = O(
|
|
14764
|
+
`, Od = O(ze)`
|
|
14765
14765
|
width: 100%;
|
|
14766
14766
|
color: ${U.palette.gray.black};
|
|
14767
14767
|
background-color: white;
|
|
@@ -14849,10 +14849,10 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
14849
14849
|
] })
|
|
14850
14850
|
] });
|
|
14851
14851
|
}, kx = () => {
|
|
14852
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Oe(rt), [o, i] = W(!1), s = ye(null), [c, a] = W(0), { templateUpdates: l } = e || {}, { sections: d = [], actionButtons: p = [], title: m } = l || {}, { version: C = "" } = l || {}, b = I5(C), f =
|
|
14852
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Oe(rt), [o, i] = W(!1), s = ye(null), [c, a] = W(0), { templateUpdates: l } = e || {}, { sections: d = [], actionButtons: p = [], title: m } = l || {}, { version: C = "" } = l || {}, b = I5(C), f = Ae(
|
|
14853
14853
|
() => E5(C),
|
|
14854
14854
|
[C]
|
|
14855
|
-
), h =
|
|
14855
|
+
), h = Ae(() => (p == null ? void 0 : p.filter(({ isAdminPanelLink: E }) => !(!n && E))) ?? [], [p, n]);
|
|
14856
14856
|
if (he(() => {
|
|
14857
14857
|
!f && l && pa(C, !0);
|
|
14858
14858
|
}, [f, C, l]), go(() => {
|
|
@@ -14878,8 +14878,8 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
14878
14878
|
/* @__PURE__ */ u.jsxs(w4, { children: [
|
|
14879
14879
|
/* @__PURE__ */ u.jsx(E4, { variant: "h3", children: m }),
|
|
14880
14880
|
/* @__PURE__ */ u.jsxs(ae, { children: [
|
|
14881
|
-
o ? /* @__PURE__ */ u.jsx(
|
|
14882
|
-
/* @__PURE__ */ u.jsx(
|
|
14881
|
+
o ? /* @__PURE__ */ u.jsx(Ee, { title: d5, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: v, children: /* @__PURE__ */ u.jsx(Zt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
14882
|
+
/* @__PURE__ */ u.jsx(Ee, { title: o ? u5 : il, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: g, children: /* @__PURE__ */ u.jsx(ll, { className: o ? "" : "hiver-up" }) }) })
|
|
14883
14883
|
] })
|
|
14884
14884
|
] }),
|
|
14885
14885
|
/* @__PURE__ */ u.jsx(_4, { className: o ? "slideDown" : "slideUp", ref: s, height: c, children: /* @__PURE__ */ u.jsxs(A4, { children: [
|
|
@@ -14915,7 +14915,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
14915
14915
|
/* @__PURE__ */ u.jsx(G, { flexDirection: "row", gap: "8px", marginBottom: "11.5px", children: h.map(({ text: E, link: x, isAdminPanelLink: I }) => /* @__PURE__ */ u.jsx(L4, { variant: I ? "contained" : "text", children: /* @__PURE__ */ u.jsx(O4, { variant: "caption", onClick: (_) => y(_, x, I, !0), children: E }) }, E)) })
|
|
14916
14916
|
] }) })
|
|
14917
14917
|
] });
|
|
14918
|
-
}, Mx = ({ selectedEmail: e, conversationId: t }) =>
|
|
14918
|
+
}, Mx = ({ selectedEmail: e, conversationId: t }) => Xe({
|
|
14919
14919
|
url: HC.replace(":conversationId", "" + t),
|
|
14920
14920
|
method: Je.PATCH,
|
|
14921
14921
|
data: {
|
|
@@ -14928,14 +14928,14 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
14928
14928
|
}, [e]), { textRef: t, isOverflow: n };
|
|
14929
14929
|
}, jx = (e) => {
|
|
14930
14930
|
const { textRef: t, isOverflow: n } = F2(e.data.label);
|
|
14931
|
-
return /* @__PURE__ */ u.jsx(
|
|
14931
|
+
return /* @__PURE__ */ u.jsx(Ee, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(F4, { ref: t, variant: "body2", paddingTop: n ? "5px" : "0px", children: e.data.label }) });
|
|
14932
14932
|
}, Bx = (e) => /* @__PURE__ */ u.jsxs(Dn.MenuList, { ...e, children: [
|
|
14933
14933
|
/* @__PURE__ */ u.jsx(D4, { children: /* @__PURE__ */ u.jsx(re, { variant: "body2_medium", children: ib }) }),
|
|
14934
14934
|
e.children
|
|
14935
14935
|
] }), Vx = (e) => {
|
|
14936
14936
|
const { isSelected: t } = e, { textRef: n, isOverflow: r } = F2(e.data.label);
|
|
14937
14937
|
return /* @__PURE__ */ u.jsx(Dn.Option, { ...e, children: /* @__PURE__ */ u.jsxs(G, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
|
|
14938
|
-
/* @__PURE__ */ u.jsx(
|
|
14938
|
+
/* @__PURE__ */ u.jsx(Ee, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(N4, { ref: n, className: "dropdown-item-text", variant: "body2", children: e.data.label }) }),
|
|
14939
14939
|
t ? /* @__PURE__ */ u.jsx("img", { src: Px, width: "14px", height: "14px" }) : null
|
|
14940
14940
|
] }) });
|
|
14941
14941
|
}, Gx = (e) => /* @__PURE__ */ u.jsx(Dn.DropdownIndicator, { ...e, children: e.selectProps.menuIsOpen ? /* @__PURE__ */ u.jsx(Zt.ArrowDropUp, { sx: { height: "18px", width: "18px", color: U.palette.gray.gray3 } }) : /* @__PURE__ */ u.jsx(Zt.ArrowDropDown, { sx: { height: "18px", width: "18px", color: U.palette.gray.gray3 } }) }), Hx = {
|
|
@@ -15052,7 +15052,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15052
15052
|
}, [n]), t && a && c.current && mo(
|
|
15053
15053
|
/* @__PURE__ */ u.jsxs(Zx, { className: "layover-paper", elevation: 0, children: [
|
|
15054
15054
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
|
|
15055
|
-
/* @__PURE__ */ u.jsx(
|
|
15055
|
+
/* @__PURE__ */ u.jsx(Ee, { title: i, placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: r, children: /* @__PURE__ */ u.jsx(Ux, { src: $x }) }) }),
|
|
15056
15056
|
/* @__PURE__ */ u.jsx(re, { children: o })
|
|
15057
15057
|
] }),
|
|
15058
15058
|
/* @__PURE__ */ u.jsx(Xx, { children: e })
|
|
@@ -15073,7 +15073,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15073
15073
|
white-space: nowrap;
|
|
15074
15074
|
overflow: hidden;
|
|
15075
15075
|
}
|
|
15076
|
-
`, qx = O(
|
|
15076
|
+
`, qx = O(ze)`
|
|
15077
15077
|
&:hover {
|
|
15078
15078
|
background-color: #e3e9ff !important;
|
|
15079
15079
|
color: ${U.palette.purple.primary} !important;
|
|
@@ -15110,7 +15110,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15110
15110
|
/* @__PURE__ */ u.jsx(Qn, { width: "100px", height: "24px" })
|
|
15111
15111
|
] }) : /* @__PURE__ */ u.jsxs(Qx, { children: [
|
|
15112
15112
|
p && /* @__PURE__ */ u.jsx("img", { src: p, alt: d }),
|
|
15113
|
-
/* @__PURE__ */ u.jsx(
|
|
15113
|
+
/* @__PURE__ */ u.jsx(Ee, { title: i ? d : "", children: /* @__PURE__ */ u.jsx(
|
|
15114
15114
|
re,
|
|
15115
15115
|
{
|
|
15116
15116
|
variant: "h4",
|
|
@@ -15121,8 +15121,8 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15121
15121
|
) })
|
|
15122
15122
|
] }),
|
|
15123
15123
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", alignItems: "center", children: [
|
|
15124
|
-
c ? /* @__PURE__ */ u.jsx(
|
|
15125
|
-
/* @__PURE__ */ u.jsx(
|
|
15124
|
+
c ? /* @__PURE__ */ u.jsx(Ee, { title: m1, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: (f) => b(f), children: /* @__PURE__ */ u.jsx("img", { src: T2 }) }) }) : null,
|
|
15125
|
+
/* @__PURE__ */ u.jsx(Ee, { title: c ? b1 : il, placement: "bottom", children: /* @__PURE__ */ u.jsx(lo, { onClick: () => a((f) => !f), children: /* @__PURE__ */ u.jsx(ll, { className: c ? "" : "hiver-up" }) }) })
|
|
15126
15126
|
] })
|
|
15127
15127
|
] }),
|
|
15128
15128
|
/* @__PURE__ */ u.jsx(
|
|
@@ -15300,7 +15300,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15300
15300
|
}
|
|
15301
15301
|
};
|
|
15302
15302
|
}, {}), B2 = ({ formFields: e, formState: t, formId: n, conversationId: r }) => {
|
|
15303
|
-
const o = rn(), i =
|
|
15303
|
+
const o = rn(), i = Ae(() => {
|
|
15304
15304
|
if (e && e.length) {
|
|
15305
15305
|
const c = Fd({ formFields: e, formId: n, formState: t, appDispatch: o });
|
|
15306
15306
|
return e.reduce((l, d) => {
|
|
@@ -15317,7 +15317,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15317
15317
|
}, c);
|
|
15318
15318
|
}
|
|
15319
15319
|
return null;
|
|
15320
|
-
}, [e, t, n, o]), s =
|
|
15320
|
+
}, [e, t, n, o]), s = Ae(() => {
|
|
15321
15321
|
const c = Dd({ formFields: e, formId: n, formState: t, conversationId: r, appDispatch: o });
|
|
15322
15322
|
return e.reduce((l, d) => {
|
|
15323
15323
|
const p = d.columns;
|
|
@@ -15344,7 +15344,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15344
15344
|
/* @__PURE__ */ u.jsx(G, { gap: "4px", marginBottom: "20px", children: r.split(`
|
|
15345
15345
|
`).map((i, s) => /* @__PURE__ */ u.jsx(re, { variant: "body2", children: i }, s)) }),
|
|
15346
15346
|
/* @__PURE__ */ u.jsx(G, { direction: "row", justifyContent: "flex-end", gap: "8px", children: o.map((i) => /* @__PURE__ */ u.jsx(
|
|
15347
|
-
|
|
15347
|
+
ze,
|
|
15348
15348
|
{
|
|
15349
15349
|
variant: i.variant,
|
|
15350
15350
|
size: "medium",
|
|
@@ -15363,7 +15363,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15363
15363
|
connectors: s
|
|
15364
15364
|
}) => {
|
|
15365
15365
|
var Mn;
|
|
15366
|
-
const { userGroupId: c, userId: a } = Ln() || {}, [l, d] = W(null), [p, m] = W(!1), C = ye(null), [b, f] = P2(), h =
|
|
15366
|
+
const { userGroupId: c, userId: a } = Ln() || {}, [l, d] = W(null), [p, m] = W(!1), C = ye(null), [b, f] = P2(), h = _e(O2), g = _e(t ? $8 : S2), y = _e(Y8), v = _e(z8), E = _e(Q8), x = _e(K8), I = _e(ex), _ = _e(tx), w = _e(nx), T = _e(R2), D = v == null ? void 0 : v[(l == null ? void 0 : l.value) ?? ""], R = D == null ? void 0 : D.expandedView, { formConfigs: F, formViewConfigs: k } = Ae(() => {
|
|
15367
15367
|
if (l && "value" in l && y && y[l.value] && Array.isArray(y[l.value])) {
|
|
15368
15368
|
const Ne = y[l.value], pt = [
|
|
15369
15369
|
{
|
|
@@ -15381,7 +15381,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15381
15381
|
formConfigs: pe,
|
|
15382
15382
|
formViewConfigs: pe
|
|
15383
15383
|
};
|
|
15384
|
-
}, [y, l, R]), j =
|
|
15384
|
+
}, [y, l, R]), j = Ae(() => {
|
|
15385
15385
|
var Ne;
|
|
15386
15386
|
const pe = ((Ne = F == null ? void 0 : F[0]) == null ? void 0 : Ne.formFields) || [];
|
|
15387
15387
|
return Tl({ formFields: pe });
|
|
@@ -15405,7 +15405,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15405
15405
|
formId: F[0].id,
|
|
15406
15406
|
formState: b,
|
|
15407
15407
|
conversationId: M
|
|
15408
|
-
}), X = (Mn = h == null ? void 0 : h.forms.find((pe) => pe.type === "edit")) == null ? void 0 : Mn.id, { externalResourceId: qe } = h ?? {}, Ge = [x, I, w].includes(ne.LOADING), ot =
|
|
15408
|
+
}), X = (Mn = h == null ? void 0 : h.forms.find((pe) => pe.type === "edit")) == null ? void 0 : Mn.id, { externalResourceId: qe } = h ?? {}, Ge = [x, I, w].includes(ne.LOADING), ot = Ae(() => !R || !H ? null : H(), [R, H]), ht = rn();
|
|
15409
15409
|
he(() => (R && J && J(!0), () => {
|
|
15410
15410
|
R && J && J(!1);
|
|
15411
15411
|
}), [R, J]), he(() => {
|
|
@@ -15430,7 +15430,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15430
15430
|
}, [g, v, t, X, n]);
|
|
15431
15431
|
const xn = () => {
|
|
15432
15432
|
d(C.current), m(!1), f({ type: mn.RESET_STATE });
|
|
15433
|
-
},
|
|
15433
|
+
}, Mt = (pe, Ne) => {
|
|
15434
15434
|
z(pe, Ne);
|
|
15435
15435
|
}, ut = (pe, Ne, pt) => {
|
|
15436
15436
|
if (Ne.action === "clear" && Ne.name && (z(Ne.name, ""), l != null && l.value && Y(Ne.name, E == null ? void 0 : E[l.value]), j[Ne.name].isRequired && ce(Ne.name, !0)), pe && typeof pe == "object" && "label" in pe && typeof pe.label == "string" && "value" in pe && (typeof pe.value == "string" || typeof pe.value == "number") && typeof Ne.name < "u")
|
|
@@ -15503,7 +15503,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15503
15503
|
});
|
|
15504
15504
|
});
|
|
15505
15505
|
}
|
|
15506
|
-
},
|
|
15506
|
+
}, Pt = [
|
|
15507
15507
|
{
|
|
15508
15508
|
label: "Cancel",
|
|
15509
15509
|
action: () => m(!1),
|
|
@@ -15538,7 +15538,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15538
15538
|
setShown: m,
|
|
15539
15539
|
title: f8,
|
|
15540
15540
|
description: h8,
|
|
15541
|
-
buttons:
|
|
15541
|
+
buttons: Pt
|
|
15542
15542
|
}
|
|
15543
15543
|
),
|
|
15544
15544
|
R ? /* @__PURE__ */ u.jsxs(eE, { children: [
|
|
@@ -15547,7 +15547,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15547
15547
|
" to ",
|
|
15548
15548
|
D.connectorName
|
|
15549
15549
|
] }),
|
|
15550
|
-
/* @__PURE__ */ u.jsx(
|
|
15550
|
+
/* @__PURE__ */ u.jsx(Ee, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ u.jsx(ft, { onClick: r, children: /* @__PURE__ */ u.jsx(tE, { src: I2 }) }) })
|
|
15551
15551
|
] }) : null,
|
|
15552
15552
|
/* @__PURE__ */ u.jsxs(W2, { spacing: 3, children: [
|
|
15553
15553
|
!t && !R ? /* @__PURE__ */ u.jsx(
|
|
@@ -15573,7 +15573,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15573
15573
|
inputChangeHandler: q,
|
|
15574
15574
|
checkboxChangeHandler: K,
|
|
15575
15575
|
dateChangeHandler: $,
|
|
15576
|
-
tableChangeHandler:
|
|
15576
|
+
tableChangeHandler: Mt,
|
|
15577
15577
|
onValidationError: ce,
|
|
15578
15578
|
fieldsSpacing: 3,
|
|
15579
15579
|
labelSpacing: 0.5,
|
|
@@ -15591,7 +15591,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15591
15591
|
] }),
|
|
15592
15592
|
/* @__PURE__ */ u.jsxs(H2, { children: [
|
|
15593
15593
|
/* @__PURE__ */ u.jsx(
|
|
15594
|
-
|
|
15594
|
+
ze,
|
|
15595
15595
|
{
|
|
15596
15596
|
disabled: Q() || Ge || !T,
|
|
15597
15597
|
onClick: t ? Qe : rr,
|
|
@@ -15645,7 +15645,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15645
15645
|
background-color: inherit;
|
|
15646
15646
|
--form-background-color: inherit;
|
|
15647
15647
|
}
|
|
15648
|
-
`, U2 = O(
|
|
15648
|
+
`, U2 = O(ze)`
|
|
15649
15649
|
&:hover {
|
|
15650
15650
|
background-color: #e3e9ff !important;
|
|
15651
15651
|
color: ${U.palette.purple.primary} !important;
|
|
@@ -15666,13 +15666,13 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15666
15666
|
`, tE = O("img")`
|
|
15667
15667
|
height: 16px;
|
|
15668
15668
|
width: 16px;
|
|
15669
|
-
`, nE = O(
|
|
15669
|
+
`, nE = O(ze)`
|
|
15670
15670
|
color: ${U.palette.gray.gray3};
|
|
15671
15671
|
&:hover {
|
|
15672
15672
|
color: ${U.palette.purple.primary};
|
|
15673
15673
|
}
|
|
15674
15674
|
`, rE = ({ setOpenTaskLinking: e, onLinkingSuccess: t }) => {
|
|
15675
|
-
const n = rn(), r =
|
|
15675
|
+
const n = rn(), r = _e(D2), o = _e(N2), i = _e(J8), s = _e(L2), [c, a] = W(!1), [l, d] = W(null), [p, m] = W(""), [C, b] = W({}), { conversationId: f, sendTrackingEvent: h, email: g } = Oe(rt);
|
|
15676
15676
|
he(() => {
|
|
15677
15677
|
s && s.length && d(s[0]);
|
|
15678
15678
|
}, [s]);
|
|
@@ -15759,7 +15759,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15759
15759
|
)
|
|
15760
15760
|
] }),
|
|
15761
15761
|
/* @__PURE__ */ u.jsxs(H2, { children: [
|
|
15762
|
-
/* @__PURE__ */ u.jsx(
|
|
15762
|
+
/* @__PURE__ */ u.jsx(ze, { onClick: I, disabled: R() || E, size: "small", children: y1 }),
|
|
15763
15763
|
/* @__PURE__ */ u.jsx(
|
|
15764
15764
|
U2,
|
|
15765
15765
|
{
|
|
@@ -15773,7 +15773,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15773
15773
|
)
|
|
15774
15774
|
] })
|
|
15775
15775
|
] });
|
|
15776
|
-
}, oE = O(
|
|
15776
|
+
}, oE = O(ze)`
|
|
15777
15777
|
&:hover {
|
|
15778
15778
|
background-color: #e3e9ff !important;
|
|
15779
15779
|
color: ${U.palette.purple.primary} !important;
|
|
@@ -15787,7 +15787,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15787
15787
|
& .content__btn {
|
|
15788
15788
|
margin-left: 8px;
|
|
15789
15789
|
}
|
|
15790
|
-
`, iE = O(
|
|
15790
|
+
`, iE = O(ze)`
|
|
15791
15791
|
& path {
|
|
15792
15792
|
fill: #fff;
|
|
15793
15793
|
}
|
|
@@ -15940,10 +15940,10 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
15940
15940
|
margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
|
|
15941
15941
|
`, SE = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
|
|
15942
15942
|
var E;
|
|
15943
|
-
const [r, o] = P2(), i = ye(null), s =
|
|
15943
|
+
const [r, o] = P2(), i = ye(null), s = _e(X2), c = _e(uE), a = _e(dE), l = Ae(() => e && c && c[e] && Array.isArray(c[e]) ? {
|
|
15944
15944
|
id: e,
|
|
15945
15945
|
formFields: c[e]
|
|
15946
|
-
} : { id: "emptyFormId", formFields: [] }, [c, e]), d =
|
|
15946
|
+
} : { id: "emptyFormId", formFields: [] }, [c, e]), d = Ae(() => {
|
|
15947
15947
|
const x = (l == null ? void 0 : l.formFields) || [];
|
|
15948
15948
|
return Tl({ formFields: x });
|
|
15949
15949
|
}, [l]), {
|
|
@@ -16009,7 +16009,7 @@ const ux = "Bring your favourite tools into Hiver", dx = "Plugin image", fx = "I
|
|
|
16009
16009
|
}
|
|
16010
16010
|
) });
|
|
16011
16011
|
}, Fa = "@connector-agent-global-search-priority", Da = M9(), LE = ({ objectList: e }) => ({
|
|
16012
|
-
sortedObjectList:
|
|
16012
|
+
sortedObjectList: Ae(() => {
|
|
16013
16013
|
const r = Da.getItem(Fa);
|
|
16014
16014
|
return r ? [...e].sort((o, i) => (r[o.value] ?? 0) > (r[i.value] ?? 0) ? -1 : 1) : e;
|
|
16015
16015
|
}, [e]),
|
|
@@ -17380,12 +17380,12 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17380
17380
|
clear() {
|
|
17381
17381
|
L(this, Ke).clear(), L(this, Zn).clear();
|
|
17382
17382
|
}
|
|
17383
|
-
}, Ke = new WeakMap(), Zn = new WeakMap(), Un = new WeakMap(), Kr = new WeakMap(), eo = new WeakMap(), Xn = new WeakMap(), to = new WeakMap(), no = new WeakMap(), h0), St,
|
|
17383
|
+
}, Ke = new WeakMap(), Zn = new WeakMap(), Un = new WeakMap(), Kr = new WeakMap(), eo = new WeakMap(), Xn = new WeakMap(), to = new WeakMap(), no = new WeakMap(), h0), St, we, ui, It, vr, ro, $n, hn, di, oo, io, yr, Cr, zn, so, Ve, Wo, Oc, Rc, Fc, Dc, Nc, kc, Mc, rh, p0, YE = (p0 = class extends wo {
|
|
17384
17384
|
constructor(t, n) {
|
|
17385
17385
|
super();
|
|
17386
17386
|
ue(this, Ve);
|
|
17387
17387
|
ue(this, St);
|
|
17388
|
-
ue(this,
|
|
17388
|
+
ue(this, we);
|
|
17389
17389
|
ue(this, ui);
|
|
17390
17390
|
ue(this, It);
|
|
17391
17391
|
ue(this, vr);
|
|
@@ -17409,52 +17409,52 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17409
17409
|
this.refetch = this.refetch.bind(this);
|
|
17410
17410
|
}
|
|
17411
17411
|
onSubscribe() {
|
|
17412
|
-
this.listeners.size === 1 && (L(this,
|
|
17412
|
+
this.listeners.size === 1 && (L(this, we).addObserver(this), Gd(L(this, we), this.options) ? ve(this, Ve, Wo).call(this) : this.updateResult(), ve(this, Ve, Dc).call(this));
|
|
17413
17413
|
}
|
|
17414
17414
|
onUnsubscribe() {
|
|
17415
17415
|
this.hasListeners() || this.destroy();
|
|
17416
17416
|
}
|
|
17417
17417
|
shouldFetchOnReconnect() {
|
|
17418
17418
|
return Pc(
|
|
17419
|
-
L(this,
|
|
17419
|
+
L(this, we),
|
|
17420
17420
|
this.options,
|
|
17421
17421
|
this.options.refetchOnReconnect
|
|
17422
17422
|
);
|
|
17423
17423
|
}
|
|
17424
17424
|
shouldFetchOnWindowFocus() {
|
|
17425
17425
|
return Pc(
|
|
17426
|
-
L(this,
|
|
17426
|
+
L(this, we),
|
|
17427
17427
|
this.options,
|
|
17428
17428
|
this.options.refetchOnWindowFocus
|
|
17429
17429
|
);
|
|
17430
17430
|
}
|
|
17431
17431
|
destroy() {
|
|
17432
|
-
this.listeners = /* @__PURE__ */ new Set(), ve(this, Ve, Nc).call(this), ve(this, Ve, kc).call(this), L(this,
|
|
17432
|
+
this.listeners = /* @__PURE__ */ new Set(), ve(this, Ve, Nc).call(this), ve(this, Ve, kc).call(this), L(this, we).removeObserver(this);
|
|
17433
17433
|
}
|
|
17434
17434
|
setOptions(t, n) {
|
|
17435
|
-
const r = this.options, o = L(this,
|
|
17436
|
-
if (this.options = L(this, St).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof en(this.options.enabled, L(this,
|
|
17435
|
+
const r = this.options, o = L(this, we);
|
|
17436
|
+
if (this.options = L(this, St).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof en(this.options.enabled, L(this, we)) != "boolean")
|
|
17437
17437
|
throw new Error(
|
|
17438
17438
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
17439
17439
|
);
|
|
17440
|
-
ve(this, Ve, Mc).call(this), L(this,
|
|
17440
|
+
ve(this, Ve, Mc).call(this), L(this, we).setOptions(this.options), r._defaulted && !Es(this.options, r) && L(this, St).getQueryCache().notify({
|
|
17441
17441
|
type: "observerOptionsUpdated",
|
|
17442
|
-
query: L(this,
|
|
17442
|
+
query: L(this, we),
|
|
17443
17443
|
observer: this
|
|
17444
17444
|
});
|
|
17445
17445
|
const i = this.hasListeners();
|
|
17446
17446
|
i && Hd(
|
|
17447
|
-
L(this,
|
|
17447
|
+
L(this, we),
|
|
17448
17448
|
o,
|
|
17449
17449
|
this.options,
|
|
17450
17450
|
r
|
|
17451
|
-
) && ve(this, Ve, Wo).call(this), this.updateResult(n), i && (L(this,
|
|
17451
|
+
) && ve(this, Ve, Wo).call(this), this.updateResult(n), i && (L(this, we) !== o || en(this.options.enabled, L(this, we)) !== en(r.enabled, L(this, we)) || $r(this.options.staleTime, L(this, we)) !== $r(r.staleTime, L(this, we))) && ve(this, Ve, Oc).call(this);
|
|
17452
17452
|
const s = ve(this, Ve, Rc).call(this);
|
|
17453
|
-
i && (L(this,
|
|
17453
|
+
i && (L(this, we) !== o || en(this.options.enabled, L(this, we)) !== en(r.enabled, L(this, we)) || s !== L(this, zn)) && ve(this, Ve, Fc).call(this, s);
|
|
17454
17454
|
}
|
|
17455
17455
|
getOptimisticResult(t) {
|
|
17456
17456
|
const n = L(this, St).getQueryCache().build(L(this, St), t), r = this.createResult(n, t);
|
|
17457
|
-
return qE(this, r) && (te(this, It, r), te(this, ro, this.options), te(this, vr, L(this,
|
|
17457
|
+
return qE(this, r) && (te(this, It, r), te(this, ro, this.options), te(this, vr, L(this, we).state)), r;
|
|
17458
17458
|
}
|
|
17459
17459
|
getCurrentResult() {
|
|
17460
17460
|
return L(this, It);
|
|
@@ -17473,7 +17473,7 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17473
17473
|
L(this, so).add(t);
|
|
17474
17474
|
}
|
|
17475
17475
|
getCurrentQuery() {
|
|
17476
|
-
return L(this,
|
|
17476
|
+
return L(this, we);
|
|
17477
17477
|
}
|
|
17478
17478
|
refetch({ ...t } = {}) {
|
|
17479
17479
|
return this.fetch({
|
|
@@ -17492,7 +17492,7 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17492
17492
|
}
|
|
17493
17493
|
createResult(t, n) {
|
|
17494
17494
|
var w;
|
|
17495
|
-
const r = L(this,
|
|
17495
|
+
const r = L(this, we), o = this.options, i = L(this, It), s = L(this, vr), c = L(this, ro), l = t !== r ? t.state : L(this, ui), { state: d } = t;
|
|
17496
17496
|
let p = { ...d }, m = !1, C;
|
|
17497
17497
|
if (n._optimisticResults) {
|
|
17498
17498
|
const T = this.hasListeners(), D = !T && Gd(t, n), R = T && Hd(t, r, n, o);
|
|
@@ -17582,8 +17582,8 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17582
17582
|
return _;
|
|
17583
17583
|
}
|
|
17584
17584
|
updateResult(t) {
|
|
17585
|
-
const n = L(this, It), r = this.createResult(L(this,
|
|
17586
|
-
if (te(this, vr, L(this,
|
|
17585
|
+
const n = L(this, It), r = this.createResult(L(this, we), this.options);
|
|
17586
|
+
if (te(this, vr, L(this, we).state), te(this, ro, this.options), L(this, vr).data !== void 0 && te(this, io, L(this, we)), Es(r, n))
|
|
17587
17587
|
return;
|
|
17588
17588
|
te(this, It, r);
|
|
17589
17589
|
const o = {}, i = () => {
|
|
@@ -17605,9 +17605,9 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17605
17605
|
onQueryUpdate() {
|
|
17606
17606
|
this.updateResult(), this.hasListeners() && ve(this, Ve, Dc).call(this);
|
|
17607
17607
|
}
|
|
17608
|
-
}, St = new WeakMap(),
|
|
17608
|
+
}, St = new WeakMap(), we = new WeakMap(), ui = new WeakMap(), It = new WeakMap(), vr = new WeakMap(), ro = new WeakMap(), $n = new WeakMap(), hn = new WeakMap(), di = new WeakMap(), oo = new WeakMap(), io = new WeakMap(), yr = new WeakMap(), Cr = new WeakMap(), zn = new WeakMap(), so = new WeakMap(), Ve = new WeakSet(), Wo = function(t) {
|
|
17609
17609
|
ve(this, Ve, Mc).call(this);
|
|
17610
|
-
let n = L(this,
|
|
17610
|
+
let n = L(this, we).fetch(
|
|
17611
17611
|
this.options,
|
|
17612
17612
|
t
|
|
17613
17613
|
);
|
|
@@ -17616,7 +17616,7 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17616
17616
|
ve(this, Ve, Nc).call(this);
|
|
17617
17617
|
const t = $r(
|
|
17618
17618
|
this.options.staleTime,
|
|
17619
|
-
L(this,
|
|
17619
|
+
L(this, we)
|
|
17620
17620
|
);
|
|
17621
17621
|
if (Or || L(this, It).isStale || !_c(t))
|
|
17622
17622
|
return;
|
|
@@ -17625,9 +17625,9 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17625
17625
|
L(this, It).isStale || this.updateResult();
|
|
17626
17626
|
}, r));
|
|
17627
17627
|
}, Rc = function() {
|
|
17628
|
-
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(L(this,
|
|
17628
|
+
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(L(this, we)) : this.options.refetchInterval) ?? !1;
|
|
17629
17629
|
}, Fc = function(t) {
|
|
17630
|
-
ve(this, Ve, kc).call(this), te(this, zn, t), !(Or || en(this.options.enabled, L(this,
|
|
17630
|
+
ve(this, Ve, kc).call(this), te(this, zn, t), !(Or || en(this.options.enabled, L(this, we)) === !1 || !_c(L(this, zn)) || L(this, zn) === 0) && te(this, Cr, setInterval(() => {
|
|
17631
17631
|
(this.options.refetchIntervalInBackground || Ll.isFocused()) && ve(this, Ve, Wo).call(this);
|
|
17632
17632
|
}, L(this, zn)));
|
|
17633
17633
|
}, Dc = function() {
|
|
@@ -17638,16 +17638,16 @@ var Ke, Zn, Un, Kr, eo, Xn, to, no, h0, zE = (h0 = class {
|
|
|
17638
17638
|
L(this, Cr) && (clearInterval(L(this, Cr)), te(this, Cr, void 0));
|
|
17639
17639
|
}, Mc = function() {
|
|
17640
17640
|
const t = L(this, St).getQueryCache().build(L(this, St), this.options);
|
|
17641
|
-
if (t === L(this,
|
|
17641
|
+
if (t === L(this, we))
|
|
17642
17642
|
return;
|
|
17643
|
-
const n = L(this,
|
|
17644
|
-
te(this,
|
|
17643
|
+
const n = L(this, we);
|
|
17644
|
+
te(this, we, t), te(this, ui, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
|
|
17645
17645
|
}, rh = function(t) {
|
|
17646
17646
|
lt.batch(() => {
|
|
17647
17647
|
t.listeners && this.listeners.forEach((n) => {
|
|
17648
17648
|
n(L(this, It));
|
|
17649
17649
|
}), L(this, St).getQueryCache().notify({
|
|
17650
|
-
query: L(this,
|
|
17650
|
+
query: L(this, we),
|
|
17651
17651
|
type: "observerResultsUpdated"
|
|
17652
17652
|
});
|
|
17653
17653
|
});
|
|
@@ -17905,8 +17905,8 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
17905
17905
|
senderEmail: t
|
|
17906
17906
|
}) => {
|
|
17907
17907
|
try {
|
|
17908
|
-
const n = await
|
|
17909
|
-
url:
|
|
17908
|
+
const n = await Xe({
|
|
17909
|
+
url: kt(PC, { conversationId: e }),
|
|
17910
17910
|
params: { senderEmail: t },
|
|
17911
17911
|
method: Je.GET
|
|
17912
17912
|
});
|
|
@@ -17937,8 +17937,8 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
17937
17937
|
};
|
|
17938
17938
|
}, mI = async ({ conversationId: e }) => {
|
|
17939
17939
|
try {
|
|
17940
|
-
const t = await
|
|
17941
|
-
url:
|
|
17940
|
+
const t = await Xe({
|
|
17941
|
+
url: kt(pI, { conversationId: e }),
|
|
17942
17942
|
method: Je.GET
|
|
17943
17943
|
}), n = t == null ? void 0 : t.data;
|
|
17944
17944
|
return gI(n);
|
|
@@ -17964,11 +17964,11 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
17964
17964
|
fetchSearchResults: r,
|
|
17965
17965
|
onReset: o
|
|
17966
17966
|
}) => {
|
|
17967
|
-
const [i, s] = W(""), { conversationId: c, email: a, availableFeatures: l } = Oe(rt), d =
|
|
17967
|
+
const [i, s] = W(""), { conversationId: c, email: a, availableFeatures: l } = Oe(rt), d = _e(lE), p = _e(X2), m = yt(l, i5), { sortedObjectList: C, updatePriority: b } = LE({ objectList: d }), { data: f } = vI({
|
|
17968
17968
|
enabled: m && !!c,
|
|
17969
17969
|
conversationId: String(c),
|
|
17970
17970
|
senderEmail: a
|
|
17971
|
-
}), h = (f == null ? void 0 : f.suggestedOptions) ?? [], g =
|
|
17971
|
+
}), h = (f == null ? void 0 : f.suggestedOptions) ?? [], g = Ae(() => !p || !C.length ? [] : C.map(({ value: v }) => {
|
|
17972
17972
|
const E = p[v];
|
|
17973
17973
|
return E ? {
|
|
17974
17974
|
description: `${E.connectorName ?? ""} - ${E.searchObject}`,
|
|
@@ -18008,7 +18008,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18008
18008
|
] }) : null;
|
|
18009
18009
|
}, CI = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='%236C7B94'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.00483%2012.5052C7.73146%2012.7786%207.73146%2013.2218%208.00483%2013.4952C8.2782%2013.7685%208.72141%2013.7685%208.99478%2013.4952L11.9948%2010.4952C12.2681%2010.2218%2012.2681%209.77859%2011.9948%209.50522L8.99478%206.50522C8.72141%206.23185%208.2782%206.23185%208.00483%206.50522C7.73146%206.77859%207.73146%207.2218%208.00483%207.49517L10.5099%2010.0002L8.00483%2012.5052Z'/%3e%3c/svg%3e", xI = async ({ id: e, externalResourceId: t, conversationId: n, channelType: r = "email", email: o }) => {
|
|
18010
18010
|
const i = new URLSearchParams();
|
|
18011
|
-
i.append("channel_type", r), o && i.append("senderEmail", o), await
|
|
18011
|
+
i.append("channel_type", r), o && i.append("senderEmail", o), await Xe({
|
|
18012
18012
|
url: `${VC.replace(":id", e)}?${i.toString()}`,
|
|
18013
18013
|
method: Je.POST,
|
|
18014
18014
|
data: {
|
|
@@ -18041,7 +18041,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18041
18041
|
onBack: o,
|
|
18042
18042
|
onLink: i
|
|
18043
18043
|
}) => {
|
|
18044
|
-
const s = rn(), { conversationId: c, currentSmIds: a, sendTrackingEvent: l, email: d } = Oe(rt), p =
|
|
18044
|
+
const s = rn(), { conversationId: c, currentSmIds: a, sendTrackingEvent: l, email: d } = Oe(rt), p = _e(D2), m = _e(N2), { mutate: C, isPending: b } = EI({ onSuccess: i }), f = m === ne.LOADING, h = {
|
|
18045
18045
|
externalResourceId: e
|
|
18046
18046
|
};
|
|
18047
18047
|
he(() => {
|
|
@@ -18076,7 +18076,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18076
18076
|
args: h
|
|
18077
18077
|
}
|
|
18078
18078
|
),
|
|
18079
|
-
/* @__PURE__ */ u.jsx(G, { alignItems: "flex-end", children: /* @__PURE__ */ u.jsx(
|
|
18079
|
+
/* @__PURE__ */ u.jsx(G, { alignItems: "flex-end", children: /* @__PURE__ */ u.jsx(ze, { size: "small", disabled: f || b, onClick: g, children: y1 }) })
|
|
18080
18080
|
] })
|
|
18081
18081
|
] });
|
|
18082
18082
|
}, uh = O(G)`
|
|
@@ -18099,7 +18099,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18099
18099
|
/* @__PURE__ */ u.jsx("img", { src: AI, width: 124, height: 107 }),
|
|
18100
18100
|
/* @__PURE__ */ u.jsx(re, { variant: "body2", color: U.palette.gray.gray3, children: vE })
|
|
18101
18101
|
] }), SI = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
18102
|
-
const o = rn(), { sendTrackingEvent: i, currentSmIds: s } = Oe(rt), [c, a] = W(null), l =
|
|
18102
|
+
const o = rn(), { sendTrackingEvent: i, currentSmIds: s } = Oe(rt), [c, a] = W(null), l = kt(mE, {
|
|
18103
18103
|
count: e.length.toString(),
|
|
18104
18104
|
countSuffix: e.length > 1 ? "s" : "",
|
|
18105
18105
|
searchObject: t.objectName,
|
|
@@ -18144,7 +18144,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18144
18144
|
try {
|
|
18145
18145
|
if (e === void 0 || t === void 0)
|
|
18146
18146
|
return [];
|
|
18147
|
-
const r = await
|
|
18147
|
+
const r = await Xe({
|
|
18148
18148
|
url: hI.replace(":formId", e.toString()),
|
|
18149
18149
|
method: Je.POST,
|
|
18150
18150
|
data: {
|
|
@@ -18202,14 +18202,14 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18202
18202
|
};
|
|
18203
18203
|
}, DI = ({ isAdmin: e = !1 }) => {
|
|
18204
18204
|
var Oo;
|
|
18205
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Oe(rt), s = rn(), { userGroupId: c, userId: a } = Ln() || {}, l = ye(!1), d = ye(null), p = ye(null), m = ye(null), [C, b] = W({}), [f, h] = W(!1), [g, y] = W(!1), [v, E] = W(!1), [x, I] = W(!1), [_, w] = W(), [T, D] = W(!1), [R, F] = W(null), [k, j] = W(), [z, q] = W(null), [K, $] = W(!1), [Y, ce] = W(!1), Q =
|
|
18205
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Oe(rt), s = rn(), { userGroupId: c, userId: a } = Ln() || {}, l = ye(!1), d = ye(null), p = ye(null), m = ye(null), [C, b] = W({}), [f, h] = W(!1), [g, y] = W(!1), [v, E] = W(!1), [x, I] = W(!1), [_, w] = W(), [T, D] = W(!1), [R, F] = W(null), [k, j] = W(), [z, q] = W(null), [K, $] = W(!1), [Y, ce] = W(!1), Q = _e(T8), M = _e(S8), V = _e(O8), B = _e(R8), H = _e(D8), J = _e(L8), ie = _e(S2), le = _e(X8), P = _e(L2), oe = _e(O2), Te = _e(R2), X = _e(zx), qe = yt(o, Q3), Ge = yt(o, g1), ot = yt(o, o5), ht = yt(o, s5), xn = yt(o, a5), Mt = yt(o, c5), ut = Ae(() => !Q || !Q.length ? null : P8(Q, V, B), [Q, V, B]), Qe = w5(V), { data: rr, isLoading: Pt } = ch({
|
|
18206
18206
|
senderEmail: t,
|
|
18207
18207
|
conversationId: String(i),
|
|
18208
18208
|
enabled: ht && !!t
|
|
18209
|
-
}), { emailHeaders: _o, selectedEmail: Fr } = rr ?? {}, { scrollOnceAfterLoad: kn, resetScrollState: Mn } = FI(p), pe = J !== ne.LOADING && (!B || !Object.values(B).some((
|
|
18209
|
+
}), { emailHeaders: _o, selectedEmail: Fr } = rr ?? {}, { scrollOnceAfterLoad: kn, resetScrollState: Mn } = FI(p), pe = J !== ne.LOADING && (!B || !Object.values(B).some((Ie) => Ie === ne.LOADING)) && Q && Q.length > 0;
|
|
18210
18210
|
go(() => {
|
|
18211
|
-
var
|
|
18212
|
-
K && !f && Y && ((
|
|
18211
|
+
var Ie;
|
|
18212
|
+
K && !f && Y && ((Ie = m == null ? void 0 : m.current) != null && Ie.scrollHeight) && kn(!!pe, "smooth");
|
|
18213
18213
|
}, [
|
|
18214
18214
|
K,
|
|
18215
18215
|
f,
|
|
@@ -18219,22 +18219,22 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18219
18219
|
(Oo = m == null ? void 0 : m.current) == null ? void 0 : Oo.scrollHeight,
|
|
18220
18220
|
a
|
|
18221
18221
|
]);
|
|
18222
|
-
const Ne = (
|
|
18222
|
+
const Ne = (Ie, Ye) => {
|
|
18223
18223
|
r(H3, {
|
|
18224
|
-
search_keyword:
|
|
18224
|
+
search_keyword: Ie,
|
|
18225
18225
|
sm_ids: n,
|
|
18226
18226
|
connector_name: Ye,
|
|
18227
18227
|
suggestion_type: X
|
|
18228
18228
|
});
|
|
18229
|
-
}, pt = (
|
|
18229
|
+
}, pt = (Ie, Ye, Ct) => {
|
|
18230
18230
|
!Array.isArray(Ye) || !Ye.length ? r(W3, {
|
|
18231
|
-
search_keyword:
|
|
18231
|
+
search_keyword: Ie,
|
|
18232
18232
|
sm_ids: n,
|
|
18233
18233
|
connector_name: Ct,
|
|
18234
18234
|
suggestion_type: X
|
|
18235
18235
|
}) : Ye.length && r(Z3, {
|
|
18236
18236
|
num_of_results: Ye.length,
|
|
18237
|
-
search_keyword:
|
|
18237
|
+
search_keyword: Ie,
|
|
18238
18238
|
sm_ids: n,
|
|
18239
18239
|
connector_name: Ct,
|
|
18240
18240
|
suggestion_type: X
|
|
@@ -18250,10 +18250,10 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18250
18250
|
}, [At, F]), jn = Le(() => {
|
|
18251
18251
|
t && n.length && i && s(ts({ inboxIds: n, conversationId: i }));
|
|
18252
18252
|
}, [s, t, n, i]), yi = Le(
|
|
18253
|
-
(
|
|
18254
|
-
|
|
18253
|
+
(Ie, Ye) => {
|
|
18254
|
+
Ie && i && Ye && s(
|
|
18255
18255
|
es({
|
|
18256
|
-
id:
|
|
18256
|
+
id: Ie,
|
|
18257
18257
|
channelType: "email",
|
|
18258
18258
|
conversationId: i,
|
|
18259
18259
|
externalResourceId: Ye,
|
|
@@ -18270,14 +18270,14 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18270
18270
|
a && ($(await D0(a)), ce(await Tp(a)));
|
|
18271
18271
|
})();
|
|
18272
18272
|
}, [a]), he(() => {
|
|
18273
|
-
|
|
18274
|
-
}, [t, Fr,
|
|
18273
|
+
Pt || j(Fr || t);
|
|
18274
|
+
}, [t, Fr, Pt]), he(() => {
|
|
18275
18275
|
Y && a && Sp(a);
|
|
18276
18276
|
}, [Y, a]), he(() => {
|
|
18277
|
-
var
|
|
18277
|
+
var Ie;
|
|
18278
18278
|
if (oe) {
|
|
18279
18279
|
y(!0);
|
|
18280
|
-
const { externalResourceId: Ye } = oe, Ct = (
|
|
18280
|
+
const { externalResourceId: Ye } = oe, Ct = (Ie = oe.forms.find((cn) => cn.type === "edit")) == null ? void 0 : Ie.id;
|
|
18281
18281
|
yi(Ct, Ye);
|
|
18282
18282
|
} else
|
|
18283
18283
|
y(!1), s(E8());
|
|
@@ -18285,13 +18285,13 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18285
18285
|
s(Sd.clearConnectorList());
|
|
18286
18286
|
}), [s, jn, Mn]), he(() => {
|
|
18287
18287
|
if (H && Q && Q.length && ut && !l.current) {
|
|
18288
|
-
const { cards_per_app:
|
|
18288
|
+
const { cards_per_app: Ie, total_empty_cards: Ye, total_cards_with_errors: Ct } = ut;
|
|
18289
18289
|
r(m3, {
|
|
18290
18290
|
numOfCards: Q.length,
|
|
18291
18291
|
total_cards_loaded: Q.length,
|
|
18292
18292
|
total_empty_cards: Ye,
|
|
18293
18293
|
total_cards_with_errors: Ct,
|
|
18294
|
-
cards_per_app:
|
|
18294
|
+
cards_per_app: Ie,
|
|
18295
18295
|
sm_ids: n
|
|
18296
18296
|
}), l.current = !0;
|
|
18297
18297
|
}
|
|
@@ -18304,50 +18304,50 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18304
18304
|
inboxIds: n,
|
|
18305
18305
|
conversationId: i,
|
|
18306
18306
|
channelType: "email",
|
|
18307
|
-
isExpandedFormEnabled:
|
|
18307
|
+
isExpandedFormEnabled: Mt
|
|
18308
18308
|
})
|
|
18309
18309
|
);
|
|
18310
|
-
}, [s, n, i,
|
|
18311
|
-
const
|
|
18310
|
+
}, [s, n, i, Mt]), he(() => {
|
|
18311
|
+
const Ie = (Ye) => {
|
|
18312
18312
|
var cn;
|
|
18313
18313
|
if (!(Ye instanceof CustomEvent))
|
|
18314
18314
|
return;
|
|
18315
18315
|
const Ct = (cn = Ye.detail) == null ? void 0 : cn.connectorKey;
|
|
18316
18316
|
b({ connectorKey: Ct });
|
|
18317
18317
|
};
|
|
18318
|
-
return window.addEventListener(Zd.OPEN_FORM_VIEW,
|
|
18319
|
-
window.removeEventListener(Zd.OPEN_FORM_VIEW,
|
|
18318
|
+
return window.addEventListener(Zd.OPEN_FORM_VIEW, Ie), () => {
|
|
18319
|
+
window.removeEventListener(Zd.OPEN_FORM_VIEW, Ie);
|
|
18320
18320
|
};
|
|
18321
18321
|
}, []), he(() => {
|
|
18322
18322
|
if (!(ie != null && ie.length) || !C.connectorKey)
|
|
18323
18323
|
return;
|
|
18324
|
-
const
|
|
18324
|
+
const Ie = C.connectorKey;
|
|
18325
18325
|
b({});
|
|
18326
18326
|
const Ye = ie.find(
|
|
18327
18327
|
(Ct) => {
|
|
18328
18328
|
var cn;
|
|
18329
|
-
return ((cn = Ct.connectorKey) == null ? void 0 : cn.toLowerCase()) === (
|
|
18329
|
+
return ((cn = Ct.connectorKey) == null ? void 0 : cn.toLowerCase()) === (Ie == null ? void 0 : Ie.toLowerCase());
|
|
18330
18330
|
}
|
|
18331
18331
|
);
|
|
18332
18332
|
Ye && (q(Ye), E(!0));
|
|
18333
18333
|
}, [ie, C]), !t.length || J === ne.LOADING)
|
|
18334
18334
|
return /* @__PURE__ */ u.jsx(Nx, {});
|
|
18335
|
-
const na = (
|
|
18335
|
+
const na = (Ie) => {
|
|
18336
18336
|
r(x3, {
|
|
18337
18337
|
connector_name: le,
|
|
18338
|
-
source:
|
|
18338
|
+
source: Ie,
|
|
18339
18339
|
sm_ids: n
|
|
18340
18340
|
});
|
|
18341
|
-
}, Dr = (
|
|
18342
|
-
E(!0), na(
|
|
18341
|
+
}, Dr = (Ie) => {
|
|
18342
|
+
E(!0), na(Ie);
|
|
18343
18343
|
}, Ci = () => {
|
|
18344
18344
|
I(!0), r(E3);
|
|
18345
|
-
}, En = (
|
|
18346
|
-
r(
|
|
18347
|
-
}, Nr = (
|
|
18345
|
+
}, En = (Ie) => {
|
|
18346
|
+
r(Ie, _), Te ? D(!0) : (E(!1), q(null));
|
|
18347
|
+
}, Nr = (Ie) => {
|
|
18348
18348
|
if (oe) {
|
|
18349
18349
|
const { connectorName: Ye, title: Ct } = oe;
|
|
18350
|
-
r(
|
|
18350
|
+
r(Ie, {
|
|
18351
18351
|
connector_name: Ye,
|
|
18352
18352
|
card_title: Ct,
|
|
18353
18353
|
sm_ids: n,
|
|
@@ -18438,7 +18438,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18438
18438
|
emailHeaders: _o,
|
|
18439
18439
|
selectedEmail: k,
|
|
18440
18440
|
root: d.current,
|
|
18441
|
-
isLoading:
|
|
18441
|
+
isLoading: Pt,
|
|
18442
18442
|
setSelectedEmail: j
|
|
18443
18443
|
}
|
|
18444
18444
|
) : null,
|
|
@@ -18532,7 +18532,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
18532
18532
|
stackingContext: d,
|
|
18533
18533
|
isAdmin: p = !1
|
|
18534
18534
|
}) => {
|
|
18535
|
-
const m =
|
|
18535
|
+
const m = Ae(
|
|
18536
18536
|
() => ({
|
|
18537
18537
|
userEmail: i,
|
|
18538
18538
|
email: n,
|
|
@@ -19529,7 +19529,7 @@ const dI = (e) => new Promise((t) => setTimeout(t, e)), ah = ({
|
|
|
19529
19529
|
}
|
|
19530
19530
|
) }), dh = "/v1/api", jI = `${dh}/connector/conversation/:conversationId/data`, BI = `${dh}/connector/feedback/conversation/:conversationId`, VI = async (e) => {
|
|
19531
19531
|
try {
|
|
19532
|
-
const t = await
|
|
19532
|
+
const t = await Xe({
|
|
19533
19533
|
url: jI.replace(":conversationId", e) + "?channel_type=email",
|
|
19534
19534
|
method: Je.GET
|
|
19535
19535
|
});
|
|
@@ -19552,12 +19552,12 @@ function GI(e, t) {
|
|
|
19552
19552
|
}
|
|
19553
19553
|
class HI {
|
|
19554
19554
|
constructor(t = [], n = null) {
|
|
19555
|
-
|
|
19556
|
-
|
|
19557
|
-
|
|
19558
|
-
|
|
19559
|
-
|
|
19560
|
-
|
|
19555
|
+
$e(this, "highlightTerms");
|
|
19556
|
+
$e(this, "observer");
|
|
19557
|
+
$e(this, "isHighlighting");
|
|
19558
|
+
$e(this, "debounceTimer");
|
|
19559
|
+
$e(this, "debounceDelay");
|
|
19560
|
+
$e(this, "onHighlightsUpdated");
|
|
19561
19561
|
this.highlightTerms = t, this.observer = null, this.isHighlighting = !1, this.debounceTimer = null, this.debounceDelay = 500, this.onHighlightsUpdated = n, this.init();
|
|
19562
19562
|
}
|
|
19563
19563
|
init() {
|
|
@@ -19721,7 +19721,7 @@ function WI() {
|
|
|
19721
19721
|
mutationFn: async ({ conversationId: e, feedbackData: t }) => {
|
|
19722
19722
|
if (!e)
|
|
19723
19723
|
throw new Error("Conversation ID is required");
|
|
19724
|
-
const n = await
|
|
19724
|
+
const n = await Xe({
|
|
19725
19725
|
url: BI.replace(":conversationId", e) + "?channel_type=email",
|
|
19726
19726
|
method: "POST",
|
|
19727
19727
|
data: t
|
|
@@ -19745,7 +19745,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
19745
19745
|
FEEDBACK_OPTION_SUBMITTED: "app_object_detection_general_feedback_submitted",
|
|
19746
19746
|
DATA_CARD_DURATION: "app_object_detection_data_card_duration",
|
|
19747
19747
|
DATA_CARD_SCROLLED: "app_object_detection_data_card_scrolled"
|
|
19748
|
-
}, fh = (e) => /* @__PURE__ */ u.jsx(
|
|
19748
|
+
}, fh = (e) => /* @__PURE__ */ u.jsx(ze, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ u.jsx(C0, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), ow = O(ae)`
|
|
19749
19749
|
max-height: 340px;
|
|
19750
19750
|
width: 440px;
|
|
19751
19751
|
border-radius: 12px;
|
|
@@ -19808,7 +19808,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
19808
19808
|
),
|
|
19809
19809
|
/* @__PURE__ */ u.jsxs(sw, { children: [
|
|
19810
19810
|
/* @__PURE__ */ u.jsx(
|
|
19811
|
-
|
|
19811
|
+
ze,
|
|
19812
19812
|
{
|
|
19813
19813
|
variant: "text",
|
|
19814
19814
|
color: "primary",
|
|
@@ -19892,10 +19892,10 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
19892
19892
|
width: 100%;
|
|
19893
19893
|
min-height: 40px;
|
|
19894
19894
|
background-color: ${U.palette.gray.gray6a};
|
|
19895
|
-
`, Vo = O(
|
|
19895
|
+
`, Vo = O(Ee)`
|
|
19896
19896
|
padding: 6px;
|
|
19897
19897
|
border-radius: 6px;
|
|
19898
|
-
`, mw = O(
|
|
19898
|
+
`, mw = O(ze)`
|
|
19899
19899
|
background-color: #f3f8ff;
|
|
19900
19900
|
border-radius: 360px;
|
|
19901
19901
|
color: #196fe0;
|
|
@@ -19919,7 +19919,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
19919
19919
|
externalResourceId: x,
|
|
19920
19920
|
connectorId: I,
|
|
19921
19921
|
textToHighlight: _
|
|
19922
|
-
} = e.cardData || {}, w =
|
|
19922
|
+
} = e.cardData || {}, w = Ae(
|
|
19923
19923
|
() => ({
|
|
19924
19924
|
key: _,
|
|
19925
19925
|
card_id: E,
|
|
@@ -19993,7 +19993,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
19993
19993
|
/* @__PURE__ */ u.jsxs(cw, { children: [
|
|
19994
19994
|
/* @__PURE__ */ u.jsxs(G, { flexDirection: "row", alignItems: "center", style: { height: "100%" }, children: [
|
|
19995
19995
|
y && /* @__PURE__ */ u.jsx("img", { src: y, alt: "Logo", style: { marginRight: 8 }, height: 18, width: 18 }),
|
|
19996
|
-
/* @__PURE__ */ u.jsx(
|
|
19996
|
+
/* @__PURE__ */ u.jsx(Ee, { title: v, arrow: !0, placement: "top", children: /* @__PURE__ */ u.jsx(lw, { variant: "h3", color: U.palette.gray.black, width: o ? "100px" : "200px", children: v }) })
|
|
19997
19997
|
] }),
|
|
19998
19998
|
o ? /* @__PURE__ */ u.jsx(mw, { variant: "text", size: "small", endIcon: /* @__PURE__ */ u.jsx(Zt.ArrowForward, {}), onClick: z, children: YI }) : null
|
|
19999
19999
|
] }),
|
|
@@ -20003,7 +20003,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
20003
20003
|
ce,
|
|
20004
20004
|
":"
|
|
20005
20005
|
] }),
|
|
20006
|
-
/* @__PURE__ */ u.jsx(
|
|
20006
|
+
/* @__PURE__ */ u.jsx(Ee, { title: (Y == null ? void 0 : Y.length) > Ma ? Y : "", arrow: !0, placement: "top", children: Q ? /* @__PURE__ */ u.jsx(
|
|
20007
20007
|
fi,
|
|
20008
20008
|
{
|
|
20009
20009
|
href: Q,
|
|
@@ -20051,7 +20051,7 @@ const ZI = "Everything looks good", UI = "Something is not working", XI = "Share
|
|
|
20051
20051
|
}, Xd = (e, t, n, r = 10) => e >= n.left - r && e <= n.right + r && t >= n.top - r && t <= n.bottom + r, $d = (e, t = 350, n = 400) => {
|
|
20052
20052
|
const r = e.getBoundingClientRect(), o = window.innerHeight, i = window.innerWidth, s = r.top, c = o - r.bottom;
|
|
20053
20053
|
return c >= t || c > s ? r.left < n / 2 ? "bottom-start" : i - r.right < n / 2 ? "bottom-end" : "bottom" : r.left < n / 2 ? "top-start" : i - r.right < n / 2 ? "top-end" : "top";
|
|
20054
|
-
}, xw = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(
|
|
20054
|
+
}, xw = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(Ee, { ...t, classes: { popper: e } }))(() => ({
|
|
20055
20055
|
[`& .${zo.tooltip}`]: {
|
|
20056
20056
|
backgroundColor: "#fff",
|
|
20057
20057
|
padding: 0,
|
|
@@ -20235,7 +20235,7 @@ const _w = (e) => {
|
|
|
20235
20235
|
} else
|
|
20236
20236
|
t[o].entities.push(r);
|
|
20237
20237
|
}
|
|
20238
|
-
return
|
|
20238
|
+
return t;
|
|
20239
20239
|
}, Aw = (e) => {
|
|
20240
20240
|
const { emailLogSettings: t, messageLogStatus: n, selectedEntities: r } = e;
|
|
20241
20241
|
return t.connectorStatus === _s.UNAUTHENTICATED ? Ze.UNAUTHENTICATED : n.pending > 0 ? Ze.PENDING : n.failed ? Ze.ERROR : r.length === 0 ? Ze.NOT_LOGGED : Ze.LOGGED;
|
|
@@ -20280,12 +20280,12 @@ const _w = (e) => {
|
|
|
20280
20280
|
[Ze.ERROR]: Pa,
|
|
20281
20281
|
[Ze.UNAUTHENTICATED]: Pa
|
|
20282
20282
|
}, Mw = {
|
|
20283
|
-
[Ze.NOT_LOGGED]: "
|
|
20283
|
+
[Ze.NOT_LOGGED]: "Sync conversation",
|
|
20284
20284
|
[Ze.PENDING]: "Syncing in progress",
|
|
20285
|
-
[Ze.LOGGED]: "
|
|
20286
|
-
[Ze.ERROR]: "
|
|
20287
|
-
[Ze.UNAUTHENTICATED]: "
|
|
20288
|
-
}, an = Gc({}), Pw = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(
|
|
20285
|
+
[Ze.LOGGED]: "Synced",
|
|
20286
|
+
[Ze.ERROR]: "Syncing failed",
|
|
20287
|
+
[Ze.UNAUTHENTICATED]: "Sync conversation"
|
|
20288
|
+
}, an = Gc({}), Pw = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(Ee, { ...t, classes: { popper: e } }))(() => ({
|
|
20289
20289
|
[`& .${zo.tooltip}`]: {
|
|
20290
20290
|
backgroundColor: "#fff",
|
|
20291
20291
|
padding: 0,
|
|
@@ -20327,24 +20327,20 @@ const _w = (e) => {
|
|
|
20327
20327
|
children: e
|
|
20328
20328
|
}
|
|
20329
20329
|
) }) });
|
|
20330
|
-
}, Vw = "Turn off to stop auto logging future threads for this conversation", Gw = "Authentication
|
|
20331
|
-
{
|
|
20332
|
-
label: "We are already using another extension for this",
|
|
20333
|
-
value: "another_extension"
|
|
20334
|
-
},
|
|
20330
|
+
}, Vw = "Turn off to stop auto logging future threads for this conversation", Gw = "Authentication failed", Hw = "Retry authentication to use this functionality and save in ':connectorName'", Ww = "Reach out to your admin to reauthenticate :connectorName", Zw = "Syncing this conversation to :connectorName. Refresh the page to see updates.", Uw = "Something went wrong while syncing this conversation. Please try again.", Xw = "No recommendations found", $w = "Already logged email cannot be removed", zw = "https://cdn.hiverhq.com/connectors-module/assets/email_logging_preview.png", Yw = "Log this email thread to your CRM", Jw = "Automatically sync Hiver conversations with your CRM to unify and audit customer records easily.", Yd = "connector-agent_email-logger_welcomed", Jd = "connector-agent_email-logger_welcome_shown", qw = "Tell us how we can improve", Qw = "Everything looks good", Kw = "Something is not working", e_ = "Please provide your feedback", t_ = "Feedback submitted", n_ = "Failed to submit feedback", qd = "email-logging", r_ = [
|
|
20335
20331
|
{
|
|
20336
|
-
label: "
|
|
20337
|
-
value: "
|
|
20332
|
+
label: "Records are not accurate",
|
|
20333
|
+
value: "not_accurate"
|
|
20338
20334
|
},
|
|
20339
20335
|
{
|
|
20340
|
-
label: "
|
|
20341
|
-
value: "
|
|
20336
|
+
label: "Search is not working",
|
|
20337
|
+
value: "search_not_working"
|
|
20342
20338
|
},
|
|
20343
20339
|
{
|
|
20344
20340
|
label: "Other",
|
|
20345
20341
|
value: "other"
|
|
20346
20342
|
}
|
|
20347
|
-
],
|
|
20343
|
+
], Gt = {
|
|
20348
20344
|
email_logging_intro_popup_shown: "email_logging_intro_popup_shown",
|
|
20349
20345
|
email_logging_intro_popup_continue_clicked: "email_logging_intro_popup_continue_clicked",
|
|
20350
20346
|
email_logging_intro_popup_learn_more_clicked: "email_logging_intro_popup_learn_more_clicked",
|
|
@@ -20400,28 +20396,21 @@ const _w = (e) => {
|
|
|
20400
20396
|
column-gap: 8px;
|
|
20401
20397
|
`, Qd = uf(), d_ = ({ onContinue: e, connectorName: t }) => {
|
|
20402
20398
|
const { connectorFunctions: n } = Oe(an), r = n == null ? void 0 : n.sendTrackingEvent;
|
|
20403
|
-
he(() => {
|
|
20404
|
-
const
|
|
20405
|
-
if (!r || !t ||
|
|
20399
|
+
return he(() => {
|
|
20400
|
+
const o = Qd.getItem(Jd);
|
|
20401
|
+
if (!r || !t || o === "true")
|
|
20406
20402
|
return;
|
|
20407
|
-
const
|
|
20408
|
-
r(
|
|
20403
|
+
const i = setTimeout(() => {
|
|
20404
|
+
r(Gt.email_logging_intro_popup_shown, { app_name: t }), Qd.setItem(Jd, "true");
|
|
20409
20405
|
}, 1500);
|
|
20410
20406
|
return () => {
|
|
20411
|
-
clearTimeout(
|
|
20407
|
+
clearTimeout(i);
|
|
20412
20408
|
};
|
|
20413
|
-
}, [r, t])
|
|
20414
|
-
|
|
20415
|
-
|
|
20416
|
-
|
|
20417
|
-
|
|
20418
|
-
/* @__PURE__ */ u.jsx(a_, { src: $w, alt: "Welcome" }),
|
|
20419
|
-
/* @__PURE__ */ u.jsx(c_, { children: zw }),
|
|
20420
|
-
/* @__PURE__ */ u.jsx(l_, { children: Yw }),
|
|
20421
|
-
/* @__PURE__ */ u.jsxs(u_, { children: [
|
|
20422
|
-
/* @__PURE__ */ u.jsx("a", { href: Jw, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ u.jsx(Xe, { variant: "text", size: "small", onClick: o, children: "Learn more" }) }),
|
|
20423
|
-
e ? /* @__PURE__ */ u.jsx(Xe, { variant: "contained", size: "small", className: "primary-action", onClick: e, children: "Continue" }) : null
|
|
20424
|
-
] })
|
|
20409
|
+
}, [r, t]), /* @__PURE__ */ u.jsxs(s_, { children: [
|
|
20410
|
+
/* @__PURE__ */ u.jsx(a_, { src: zw, alt: "Welcome" }),
|
|
20411
|
+
/* @__PURE__ */ u.jsx(c_, { children: Yw }),
|
|
20412
|
+
/* @__PURE__ */ u.jsx(l_, { children: Jw }),
|
|
20413
|
+
/* @__PURE__ */ u.jsx(u_, { children: e ? /* @__PURE__ */ u.jsx(ze, { variant: "contained", size: "small", className: "primary-action", onClick: e, children: "Continue" }) : null })
|
|
20425
20414
|
] });
|
|
20426
20415
|
}, f_ = ({ children: e, onContinue: t, connectorName: n }) => /* @__PURE__ */ u.jsx(
|
|
20427
20416
|
g2,
|
|
@@ -20463,16 +20452,16 @@ const _w = (e) => {
|
|
|
20463
20452
|
align-items: center;
|
|
20464
20453
|
margin-top: 20px;
|
|
20465
20454
|
width: 100%;
|
|
20466
|
-
`, y_ = (e) => /* @__PURE__ */ A.createElement("svg", { width: 58, height: 26, viewBox: "0 0 58 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M8.9082 1.37598C10.221 0.614497 11.8414 0.614651 13.1543 1.37598L19.9619 5.32422C21.2668 6.08111 22.0702 7.47589 22.0703 8.98438V16.916C22.0703 18.4247 21.2669 19.8192 19.9619 20.5762L13.1543 24.5244C11.8414 25.2858 10.2211 25.2859 8.9082 24.5244L2.10156 20.5762C0.796567 19.8192 -0.00683594 18.4247 -0.00683594 16.916V8.98438C-0.00668786 7.47589 0.796688 6.08111 2.10156 5.32422L8.9082 1.37598ZM11.9531 15.9727C11.9531 17.5841 13.2597 18.8906 14.8711 18.8906V15.3281C14.871 13.7167 13.5645 12.4102 11.9531 12.4102V15.9727ZM7.57617 15.6641C7.57619 17.2755 8.88271 18.582 10.4941 18.582V10.1592C10.4939 8.54793 9.18748 7.24219 7.57617 7.24219V15.6641Z", fill: "#D0D8E3" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M27.4643 7.74676V11.8643C27.8476 11.0201 28.9238 10.6646 29.6462 10.6646C31.4006 10.6646 32.4325 11.8199 32.4325 13.7898V17.0335C32.4325 17.4482 32.0935 17.8037 31.6512 17.8037C31.2384 17.8037 30.914 17.4482 30.914 17.0335V13.8787C30.914 12.7975 30.2359 12.1606 29.3808 12.1606C28.511 12.1606 27.4643 12.6493 27.4643 14.012V17.0335C27.4643 17.4482 27.1252 17.8037 26.6829 17.8037C26.2701 17.8037 25.9458 17.4482 25.9458 17.0335V7.74676C25.9458 7.33204 26.2849 6.97656 26.7272 6.97656C27.1399 6.97656 27.4643 7.33204 27.4643 7.74676ZM33.6052 8.01336C33.6052 7.46534 34.0769 7.05062 34.6224 7.05062C35.1826 7.05062 35.6249 7.46534 35.6249 8.01336C35.6249 8.56139 35.1826 8.97611 34.6224 8.97611C34.0769 8.97611 33.6052 8.56139 33.6052 8.01336ZM35.389 17.0335C35.389 17.4482 35.0499 17.8037 34.6077 17.8037C34.1949 17.8037 33.8705 17.4482 33.8705 17.0335V11.5089C33.8705 11.0941 34.1949 10.7387 34.6077 10.7387C35.0499 10.7387 35.389 11.0941 35.389 11.5089V17.0335ZM42.7241 11.7014L40.4685 17.1076C40.2915 17.5371 39.9967 17.8037 39.5544 17.8037H39.466C39.0237 17.8037 38.7141 17.5371 38.5372 17.1076L36.2963 11.7014C36.1341 11.3163 36.3848 10.8275 36.7976 10.7535C37.1956 10.6794 37.5642 10.872 37.7116 11.2571L39.5102 15.7894L41.3088 11.2571C41.4562 10.872 41.8248 10.6794 42.2228 10.7535C42.6356 10.8275 42.8862 11.3163 42.7241 11.7014ZM44.6044 13.701H48.5996C48.4522 12.6197 47.6708 11.9976 46.6388 11.9976C45.5774 11.9976 44.7518 12.6345 44.6044 13.701ZM50.0886 14.1157C50.0886 14.5156 49.7643 14.8118 49.3957 14.8118H44.6044C44.7518 15.8782 45.6069 16.5447 46.7125 16.5447C47.4349 16.5447 47.8477 16.293 48.349 15.8782C48.5996 15.6709 49.0124 15.5672 49.322 15.819C49.6021 16.0412 49.6168 16.5003 49.3515 16.7817C48.6586 17.5075 47.6561 17.8778 46.6388 17.8778C44.6781 17.8778 43.1006 16.4411 43.1006 14.249C43.1006 12.0569 44.6781 10.6646 46.6388 10.6646C48.5554 10.6646 50.0296 11.9976 50.0886 14.1157ZM54.4162 12.1013C53.1188 12.1013 52.5733 13.4047 52.5733 15.2413V17.0335C52.5733 17.4482 52.2343 17.8037 51.792 17.8037C51.3792 17.8037 51.0548 17.4482 51.0548 17.0335V11.5089C51.0548 11.0941 51.3792 10.7387 51.792 10.7387C52.2343 10.7387 52.5733 11.0941 52.5733 11.5089V12.3975C52.9272 11.1682 53.6053 10.6646 54.4604 10.6646C54.6815 10.6646 54.9027 10.6794 55.1091 10.7239C55.4924 10.8127 55.743 11.1978 55.6545 11.5977C55.5218 12.2642 54.8584 12.1013 54.4162 12.1013Z", fill: "#D0D8E3" })), C_ = ({ isAdmin: e, connectorId: t, connectorName: n }) => {
|
|
20467
|
-
const
|
|
20468
|
-
|
|
20455
|
+
`, y_ = (e) => /* @__PURE__ */ A.createElement("svg", { width: 58, height: 26, viewBox: "0 0 58 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M8.9082 1.37598C10.221 0.614497 11.8414 0.614651 13.1543 1.37598L19.9619 5.32422C21.2668 6.08111 22.0702 7.47589 22.0703 8.98438V16.916C22.0703 18.4247 21.2669 19.8192 19.9619 20.5762L13.1543 24.5244C11.8414 25.2858 10.2211 25.2859 8.9082 24.5244L2.10156 20.5762C0.796567 19.8192 -0.00683594 18.4247 -0.00683594 16.916V8.98438C-0.00668786 7.47589 0.796688 6.08111 2.10156 5.32422L8.9082 1.37598ZM11.9531 15.9727C11.9531 17.5841 13.2597 18.8906 14.8711 18.8906V15.3281C14.871 13.7167 13.5645 12.4102 11.9531 12.4102V15.9727ZM7.57617 15.6641C7.57619 17.2755 8.88271 18.582 10.4941 18.582V10.1592C10.4939 8.54793 9.18748 7.24219 7.57617 7.24219V15.6641Z", fill: "#D0D8E3" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M27.4643 7.74676V11.8643C27.8476 11.0201 28.9238 10.6646 29.6462 10.6646C31.4006 10.6646 32.4325 11.8199 32.4325 13.7898V17.0335C32.4325 17.4482 32.0935 17.8037 31.6512 17.8037C31.2384 17.8037 30.914 17.4482 30.914 17.0335V13.8787C30.914 12.7975 30.2359 12.1606 29.3808 12.1606C28.511 12.1606 27.4643 12.6493 27.4643 14.012V17.0335C27.4643 17.4482 27.1252 17.8037 26.6829 17.8037C26.2701 17.8037 25.9458 17.4482 25.9458 17.0335V7.74676C25.9458 7.33204 26.2849 6.97656 26.7272 6.97656C27.1399 6.97656 27.4643 7.33204 27.4643 7.74676ZM33.6052 8.01336C33.6052 7.46534 34.0769 7.05062 34.6224 7.05062C35.1826 7.05062 35.6249 7.46534 35.6249 8.01336C35.6249 8.56139 35.1826 8.97611 34.6224 8.97611C34.0769 8.97611 33.6052 8.56139 33.6052 8.01336ZM35.389 17.0335C35.389 17.4482 35.0499 17.8037 34.6077 17.8037C34.1949 17.8037 33.8705 17.4482 33.8705 17.0335V11.5089C33.8705 11.0941 34.1949 10.7387 34.6077 10.7387C35.0499 10.7387 35.389 11.0941 35.389 11.5089V17.0335ZM42.7241 11.7014L40.4685 17.1076C40.2915 17.5371 39.9967 17.8037 39.5544 17.8037H39.466C39.0237 17.8037 38.7141 17.5371 38.5372 17.1076L36.2963 11.7014C36.1341 11.3163 36.3848 10.8275 36.7976 10.7535C37.1956 10.6794 37.5642 10.872 37.7116 11.2571L39.5102 15.7894L41.3088 11.2571C41.4562 10.872 41.8248 10.6794 42.2228 10.7535C42.6356 10.8275 42.8862 11.3163 42.7241 11.7014ZM44.6044 13.701H48.5996C48.4522 12.6197 47.6708 11.9976 46.6388 11.9976C45.5774 11.9976 44.7518 12.6345 44.6044 13.701ZM50.0886 14.1157C50.0886 14.5156 49.7643 14.8118 49.3957 14.8118H44.6044C44.7518 15.8782 45.6069 16.5447 46.7125 16.5447C47.4349 16.5447 47.8477 16.293 48.349 15.8782C48.5996 15.6709 49.0124 15.5672 49.322 15.819C49.6021 16.0412 49.6168 16.5003 49.3515 16.7817C48.6586 17.5075 47.6561 17.8778 46.6388 17.8778C44.6781 17.8778 43.1006 16.4411 43.1006 14.249C43.1006 12.0569 44.6781 10.6646 46.6388 10.6646C48.5554 10.6646 50.0296 11.9976 50.0886 14.1157ZM54.4162 12.1013C53.1188 12.1013 52.5733 13.4047 52.5733 15.2413V17.0335C52.5733 17.4482 52.2343 17.8037 51.792 17.8037C51.3792 17.8037 51.0548 17.4482 51.0548 17.0335V11.5089C51.0548 11.0941 51.3792 10.7387 51.792 10.7387C52.2343 10.7387 52.5733 11.0941 52.5733 11.5089V12.3975C52.9272 11.1682 53.6053 10.6646 54.4604 10.6646C54.6815 10.6646 54.9027 10.6794 55.1091 10.7239C55.4924 10.8127 55.743 11.1978 55.6545 11.5977C55.5218 12.2642 54.8584 12.1013 54.4162 12.1013Z", fill: "#D0D8E3" })), C_ = ({ isAdmin: e, connectorId: t, connectorName: n, close: r }) => {
|
|
20456
|
+
const o = e ? Hw : Ww, { connectorFunctions: i } = Oe(an), s = i == null ? void 0 : i.redirectToAdmin, c = () => {
|
|
20457
|
+
r(), s == null || s(t);
|
|
20469
20458
|
};
|
|
20470
20459
|
return /* @__PURE__ */ u.jsxs(g_, { children: [
|
|
20471
20460
|
/* @__PURE__ */ u.jsx(m_, { children: Gw }),
|
|
20472
|
-
/* @__PURE__ */ u.jsx(b_, { children:
|
|
20461
|
+
/* @__PURE__ */ u.jsx(b_, { children: kt(o, { connectorName: n }) }),
|
|
20473
20462
|
/* @__PURE__ */ u.jsxs(v_, { children: [
|
|
20474
20463
|
/* @__PURE__ */ u.jsx("div", { children: /* @__PURE__ */ u.jsx(y_, {}) }),
|
|
20475
|
-
e ? /* @__PURE__ */ u.jsx(
|
|
20464
|
+
e ? /* @__PURE__ */ u.jsx(ze, { variant: "contained", size: "small", color: "primary", onClick: c, children: "Authenticate" }) : null
|
|
20476
20465
|
] })
|
|
20477
20466
|
] });
|
|
20478
20467
|
}, x_ = ({
|
|
@@ -20481,22 +20470,35 @@ const _w = (e) => {
|
|
|
20481
20470
|
connectorId: n,
|
|
20482
20471
|
connectorName: r,
|
|
20483
20472
|
children: o
|
|
20484
|
-
}) =>
|
|
20485
|
-
|
|
20486
|
-
|
|
20487
|
-
|
|
20488
|
-
|
|
20489
|
-
|
|
20490
|
-
|
|
20491
|
-
|
|
20492
|
-
|
|
20493
|
-
|
|
20494
|
-
|
|
20495
|
-
|
|
20496
|
-
|
|
20497
|
-
|
|
20473
|
+
}) => {
|
|
20474
|
+
const [i, s] = W(!0), c = () => s(!0), a = () => s(!1);
|
|
20475
|
+
return /* @__PURE__ */ u.jsx(
|
|
20476
|
+
g2,
|
|
20477
|
+
{
|
|
20478
|
+
onTouchMove: c,
|
|
20479
|
+
onMouseMove: c,
|
|
20480
|
+
onPointerMove: c,
|
|
20481
|
+
title: i && !t ? /* @__PURE__ */ u.jsx(C_, { isAdmin: e, connectorId: n, connectorName: r, close: a }) : "",
|
|
20482
|
+
enterDelay: 500,
|
|
20483
|
+
placement: "top",
|
|
20484
|
+
arrow: !0,
|
|
20485
|
+
tooltipStyle: h_,
|
|
20486
|
+
arrowStyle: p_,
|
|
20487
|
+
children: o
|
|
20488
|
+
}
|
|
20489
|
+
);
|
|
20490
|
+
}, E_ = ({
|
|
20491
|
+
children: e,
|
|
20492
|
+
isAdmin: t,
|
|
20493
|
+
logSettings: n,
|
|
20494
|
+
status: r,
|
|
20495
|
+
retry: o,
|
|
20496
|
+
renderEntities: i
|
|
20497
|
+
}) => {
|
|
20498
|
+
const { connectorFunctions: s } = Oe(an), c = s == null ? void 0 : s.sendTrackingEvent, [a, l] = W(() => localStorage.getItem(Yd) === "true"), [d, p] = W(!1), { connectorId: m, connectorName: C, connectorStatus: b } = n ?? {}, f = t || b !== _s.DISABLED, h = b === _s.UNAUTHENTICATED, g = r === Ze.PENDING, y = () => {
|
|
20499
|
+
localStorage.setItem(Yd, "true"), l(!0), p(!0), c == null || c(Gt.email_logging_intro_popup_continue_clicked, { app_name: C });
|
|
20498
20500
|
};
|
|
20499
|
-
return
|
|
20501
|
+
return a ? h ? /* @__PURE__ */ u.jsx(x_, { connectorId: m, connectorName: C, isAdmin: t, isAuthenticated: !1, children: e }) : o ? /* @__PURE__ */ u.jsx(Ee, { title: Uw, children: e }) : g ? /* @__PURE__ */ u.jsx(Ee, { title: Zw.replace(":connectorName", C), children: e }) : i ? /* @__PURE__ */ u.jsx(Bw, { defaultOpen: d, renderTooltip: i, children: e }) : /* @__PURE__ */ u.jsx(u.Fragment, { children: e }) : /* @__PURE__ */ u.jsx(f_, { onContinue: f ? y : void 0, connectorName: C, children: e });
|
|
20500
20502
|
}, I_ = (e) => /* @__PURE__ */ A.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.6168 54.7446C28.6931 52.5589 31.0146 51.1102 33.0842 51.8174C35.9985 52.8133 40.0375 53.9024 44.0621 54.043C48.0034 54.1806 51.968 53.4097 54.8762 52.6339C57.0264 52.0602 59.2927 53.6932 59.215 55.9172C59.1742 57.0856 58.4742 58.1269 57.3723 58.5178C54.8051 59.4284 49.7633 60.8927 44.3075 60.7022C38.7694 60.5088 33.1999 58.6241 30.4004 57.5311C29.2637 57.0873 28.5742 55.9641 28.6168 54.7446Z", fill: "url(#paint0_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "url(#paint1_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("mask", { id: "mask0_8481_102191", style: {
|
|
20501
20503
|
maskType: "luminance"
|
|
20502
20504
|
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ A.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ A.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ A.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ A.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ A.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ A.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ A.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ A.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ A.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ A.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ A.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), Pl = ({ message: e }) => /* @__PURE__ */ u.jsxs(G, { justifyContent: "center", alignItems: "center", height: "100%", children: [
|
|
@@ -20512,8 +20514,8 @@ const _w = (e) => {
|
|
|
20512
20514
|
try {
|
|
20513
20515
|
if (!n)
|
|
20514
20516
|
throw new Error("Conversation ID is required to validate entity");
|
|
20515
|
-
const r = await
|
|
20516
|
-
url:
|
|
20517
|
+
const r = await Xe({
|
|
20518
|
+
url: kt(T_, { conversationId: n }),
|
|
20517
20519
|
data: e,
|
|
20518
20520
|
method: Je.POST
|
|
20519
20521
|
}), o = r == null ? void 0 : r.data;
|
|
@@ -20574,12 +20576,12 @@ const _w = (e) => {
|
|
|
20574
20576
|
flex-shrink: 0;
|
|
20575
20577
|
`, j_ = ({ connectorName: e, entity: t, checked: n, disabled: r, setCheckedEntities: o }) => {
|
|
20576
20578
|
const { conversationId: i, connectorFunctions: s } = Oe(an), c = s == null ? void 0 : s.sendTrackingEvent, { displayValue: a, entityType: l, cardId: d } = t, p = (g) => {
|
|
20577
|
-
o == null || o((y) => ({ ...y, [l + a]: g })), c == null || c(
|
|
20579
|
+
o == null || o((y) => ({ ...y, [l + a]: g })), c == null || c(Gt.email_logging_smart_suggestion_selected, {
|
|
20578
20580
|
app_name: e,
|
|
20579
20581
|
object_key_selected: a
|
|
20580
20582
|
});
|
|
20581
20583
|
}, m = () => {
|
|
20582
|
-
c == null || c(
|
|
20584
|
+
c == null || c(Gt.email_logging_smart_suggestion_not_found, {
|
|
20583
20585
|
app_name: e,
|
|
20584
20586
|
object_key_selected: a
|
|
20585
20587
|
});
|
|
@@ -20587,7 +20589,7 @@ const _w = (e) => {
|
|
|
20587
20589
|
!o || b || r || f || (n ? o((g) => {
|
|
20588
20590
|
const y = { ...g };
|
|
20589
20591
|
return delete y[l + a], y;
|
|
20590
|
-
}) : (c == null || c(
|
|
20592
|
+
}) : (c == null || c(Gt.email_logging_smart_suggestion_initiated, {
|
|
20591
20593
|
app_name: e,
|
|
20592
20594
|
object_key_selected: a
|
|
20593
20595
|
}), C({
|
|
@@ -20596,17 +20598,17 @@ const _w = (e) => {
|
|
|
20596
20598
|
conversationId: i
|
|
20597
20599
|
})));
|
|
20598
20600
|
};
|
|
20599
|
-
return /* @__PURE__ */ u.jsx(
|
|
20601
|
+
return /* @__PURE__ */ u.jsx(Ee, { title: r ? $w : "", placement: "top", children: /* @__PURE__ */ u.jsxs(N_, { disabled: b || f, onClick: h, children: [
|
|
20600
20602
|
/* @__PURE__ */ u.jsx(k_, { value: n, checked: n, disabled: r }),
|
|
20601
|
-
/* @__PURE__ */ u.jsx(
|
|
20603
|
+
/* @__PURE__ */ u.jsx(Ee, { title: (a == null ? void 0 : a.length) > 30 ? a : null, placement: "right", children: /* @__PURE__ */ u.jsx(P_, { variant: "body2", children: a }) }),
|
|
20602
20604
|
b ? /* @__PURE__ */ u.jsx(Kd, { children: /* @__PURE__ */ u.jsx(M_, {}) }) : null,
|
|
20603
|
-
f ? /* @__PURE__ */ u.jsx(
|
|
20605
|
+
f ? /* @__PURE__ */ u.jsx(Ee, { title: "Record not found in " + e, children: /* @__PURE__ */ u.jsx(Kd, { children: /* @__PURE__ */ u.jsx(Vc, {}) }) }) : null
|
|
20604
20606
|
] }) });
|
|
20605
20607
|
}, B_ = O(G)`
|
|
20606
20608
|
color: #343c45;
|
|
20607
|
-
padding:
|
|
20609
|
+
padding: 18px 0;
|
|
20608
20610
|
box-sizing: border-box;
|
|
20609
|
-
row-gap:
|
|
20611
|
+
row-gap: 6px;
|
|
20610
20612
|
`;
|
|
20611
20613
|
O(G)`
|
|
20612
20614
|
padding: 0 16px 14px;
|
|
@@ -20656,7 +20658,7 @@ const V_ = O(G)`
|
|
|
20656
20658
|
disabled: r = !1,
|
|
20657
20659
|
setCheckedEntities: o
|
|
20658
20660
|
}) => {
|
|
20659
|
-
const i =
|
|
20661
|
+
const i = Ae(() => _w(t), [t]), s = (c) => {
|
|
20660
20662
|
const a = c.currentTarget;
|
|
20661
20663
|
if (!a)
|
|
20662
20664
|
return;
|
|
@@ -20679,9 +20681,9 @@ const V_ = O(G)`
|
|
|
20679
20681
|
},
|
|
20680
20682
|
a.formId
|
|
20681
20683
|
)) })
|
|
20682
|
-
] }, c.type)) }) : /* @__PURE__ */ u.jsx(Pl, { message:
|
|
20684
|
+
] }, c.type)) }) : /* @__PURE__ */ u.jsx(Pl, { message: Xw });
|
|
20683
20685
|
}, Z_ = O(G)`
|
|
20684
|
-
padding:
|
|
20686
|
+
padding: 18px 0;
|
|
20685
20687
|
row-gap: 12px;
|
|
20686
20688
|
box-sizing: border-box;
|
|
20687
20689
|
`, U_ = O(G)`
|
|
@@ -20754,7 +20756,7 @@ const V_ = O(G)`
|
|
|
20754
20756
|
if (!(t != null && t.length))
|
|
20755
20757
|
return /* @__PURE__ */ u.jsx(Pl, { message: "No results found" });
|
|
20756
20758
|
const a = (l) => {
|
|
20757
|
-
o(l), c == null || c(
|
|
20759
|
+
o(l), c == null || c(Gt.email_logging_search_result_selected, {
|
|
20758
20760
|
app_name: e,
|
|
20759
20761
|
object_name: l.displayValue,
|
|
20760
20762
|
object_key: l.entityType
|
|
@@ -20763,9 +20765,7 @@ const V_ = O(G)`
|
|
|
20763
20765
|
return /* @__PURE__ */ u.jsxs(Y_, { children: [
|
|
20764
20766
|
/* @__PURE__ */ u.jsxs(re, { variant: "body2", color: "#3E4C5A", children: [
|
|
20765
20767
|
i,
|
|
20766
|
-
" Results found
|
|
20767
|
-
/* @__PURE__ */ u.jsx("span", { style: { textTransform: "capitalize" }, children: r }),
|
|
20768
|
-
" in ",
|
|
20768
|
+
" Results found in ",
|
|
20769
20769
|
e
|
|
20770
20770
|
] }),
|
|
20771
20771
|
/* @__PURE__ */ u.jsx(J_, { children: t.map((l) => /* @__PURE__ */ u.jsx(
|
|
@@ -20792,15 +20792,15 @@ const V_ = O(G)`
|
|
|
20792
20792
|
height: 32px;
|
|
20793
20793
|
fill: #506dff;
|
|
20794
20794
|
animation: ${ea} 1s linear infinite;
|
|
20795
|
-
`, tA = () => /* @__PURE__ */ u.jsxs(K_, { children: [
|
|
20795
|
+
`, tA = ({ message: e = "Fetching details" }) => /* @__PURE__ */ u.jsxs(K_, { children: [
|
|
20796
20796
|
/* @__PURE__ */ u.jsx(eA, {}),
|
|
20797
|
-
/* @__PURE__ */ u.jsx(re, { variant: "body2", fontSize: "12px", color: "#6F7C90", children:
|
|
20797
|
+
/* @__PURE__ */ u.jsx(re, { variant: "body2", fontSize: "12px", color: "#6F7C90", children: e })
|
|
20798
20798
|
] }), nA = async ({ conversationId: e }) => {
|
|
20799
20799
|
try {
|
|
20800
20800
|
if (!e)
|
|
20801
20801
|
throw new Error("Conversation ID is required to fetch email log status");
|
|
20802
|
-
const t = await
|
|
20803
|
-
url:
|
|
20802
|
+
const t = await Xe({
|
|
20803
|
+
url: kt(w_, { conversationId: e }),
|
|
20804
20804
|
method: Je.GET
|
|
20805
20805
|
});
|
|
20806
20806
|
return t == null ? void 0 : t.data;
|
|
@@ -20811,7 +20811,7 @@ const V_ = O(G)`
|
|
|
20811
20811
|
var t;
|
|
20812
20812
|
return e ? !((t = e == null ? void 0 : e.messageLogStatus) != null && t.pending) : !1;
|
|
20813
20813
|
}, ta = ({ conversationId: e }) => {
|
|
20814
|
-
const t = Rl(), { queryKey: n, polledLogsStatus: r } =
|
|
20814
|
+
const t = Rl(), { queryKey: n, polledLogsStatus: r } = Ae(() => {
|
|
20815
20815
|
const i = ["EmailLogger", "PolledLogsStatus", e], s = ah({
|
|
20816
20816
|
intervalMillis: 1e3,
|
|
20817
20817
|
maxRetries: 10,
|
|
@@ -20835,8 +20835,8 @@ const V_ = O(G)`
|
|
|
20835
20835
|
try {
|
|
20836
20836
|
if (!t)
|
|
20837
20837
|
throw new Error("Conversation ID is required to post logs");
|
|
20838
|
-
const n = await
|
|
20839
|
-
url:
|
|
20838
|
+
const n = await Xe({
|
|
20839
|
+
url: kt(L_, { conversationId: t }),
|
|
20840
20840
|
data: e,
|
|
20841
20841
|
method: Je.POST
|
|
20842
20842
|
});
|
|
@@ -20867,11 +20867,13 @@ const V_ = O(G)`
|
|
|
20867
20867
|
`, aA = ({ checkedEntities: e, close: t, connectorName: n, connectorId: r }) => {
|
|
20868
20868
|
const { conversationId: o, connectorFunctions: i } = Oe(an), { refetch: s } = ta({ conversationId: o }), c = i == null ? void 0 : i.sendTrackingEvent, a = () => {
|
|
20869
20869
|
s(), t();
|
|
20870
|
-
const b = Object.values(e), f = b.map((
|
|
20871
|
-
c == null || c(
|
|
20870
|
+
const b = Object.values(e), f = b.map((g) => g.displayValue).join(", "), h = Array.from(new Set(b.map((g) => g == null ? void 0 : g.entityType)));
|
|
20871
|
+
c == null || c(Gt.email_logging_log_config_saved, {
|
|
20872
20872
|
app_name: n,
|
|
20873
20873
|
num_of_keys_selected: b.length,
|
|
20874
|
-
list_of_keys: f
|
|
20874
|
+
list_of_keys: f,
|
|
20875
|
+
list_of_objects: h.join(", "),
|
|
20876
|
+
num_of_objects_selected: h.length
|
|
20875
20877
|
});
|
|
20876
20878
|
}, { mutate: l, isPending: d } = iA({ onSuccess: a }), p = Object.keys(e).length > 0, m = () => {
|
|
20877
20879
|
const b = Object.values(e);
|
|
@@ -20884,12 +20886,12 @@ const V_ = O(G)`
|
|
|
20884
20886
|
}
|
|
20885
20887
|
});
|
|
20886
20888
|
}, C = () => {
|
|
20887
|
-
t == null || t(), c == null || c(
|
|
20889
|
+
t == null || t(), c == null || c(Gt.email_logging_log_config_canceled, { app_name: n });
|
|
20888
20890
|
};
|
|
20889
20891
|
return /* @__PURE__ */ u.jsxs(sA, { children: [
|
|
20890
|
-
/* @__PURE__ */ u.jsx(
|
|
20892
|
+
/* @__PURE__ */ u.jsx(ze, { variant: "text", size: "small", onClick: C, children: "Cancel" }),
|
|
20891
20893
|
/* @__PURE__ */ u.jsxs(
|
|
20892
|
-
|
|
20894
|
+
ze,
|
|
20893
20895
|
{
|
|
20894
20896
|
variant: "contained",
|
|
20895
20897
|
size: "small",
|
|
@@ -20974,7 +20976,7 @@ const V_ = O(G)`
|
|
|
20974
20976
|
),
|
|
20975
20977
|
/* @__PURE__ */ u.jsxs(dA, { children: [
|
|
20976
20978
|
/* @__PURE__ */ u.jsx(
|
|
20977
|
-
|
|
20979
|
+
ze,
|
|
20978
20980
|
{
|
|
20979
20981
|
variant: "text",
|
|
20980
20982
|
color: "primary",
|
|
@@ -21004,7 +21006,7 @@ const V_ = O(G)`
|
|
|
21004
21006
|
try {
|
|
21005
21007
|
if (!e)
|
|
21006
21008
|
throw new Error("Conversation ID is required");
|
|
21007
|
-
const n = await
|
|
21009
|
+
const n = await Xe({
|
|
21008
21010
|
url: O_.replace(":conversationId", e) + "?channel_type=email",
|
|
21009
21011
|
method: "POST",
|
|
21010
21012
|
data: t
|
|
@@ -21038,7 +21040,7 @@ const gA = O(G)`
|
|
|
21038
21040
|
font-weight: 400;
|
|
21039
21041
|
line-height: 12px;
|
|
21040
21042
|
letter-spacing: 0;
|
|
21041
|
-
`, n0 = O(
|
|
21043
|
+
`, n0 = O(Ee)`
|
|
21042
21044
|
padding: 6px;
|
|
21043
21045
|
border-radius: 6px;
|
|
21044
21046
|
`, bA = () => {
|
|
@@ -21093,7 +21095,7 @@ const gA = O(G)`
|
|
|
21093
21095
|
isLoading: i,
|
|
21094
21096
|
title: qw,
|
|
21095
21097
|
feedbackOptions: r_,
|
|
21096
|
-
width: "
|
|
21098
|
+
width: "440px"
|
|
21097
21099
|
}
|
|
21098
21100
|
) })
|
|
21099
21101
|
] });
|
|
@@ -21101,8 +21103,8 @@ const gA = O(G)`
|
|
|
21101
21103
|
try {
|
|
21102
21104
|
if (!e)
|
|
21103
21105
|
throw new Error("Conversation ID is required to fetch recommendations");
|
|
21104
|
-
const t = await
|
|
21105
|
-
url:
|
|
21106
|
+
const t = await Xe({
|
|
21107
|
+
url: kt(__, { conversationId: e }),
|
|
21106
21108
|
method: Je.GET
|
|
21107
21109
|
}), n = t == null ? void 0 : t.data;
|
|
21108
21110
|
return (n == null ? void 0 : n.results) ?? [];
|
|
@@ -21121,8 +21123,8 @@ const gA = O(G)`
|
|
|
21121
21123
|
try {
|
|
21122
21124
|
if (!e)
|
|
21123
21125
|
throw new Error("Form ID is required to fetch search entities");
|
|
21124
|
-
const r = await
|
|
21125
|
-
url:
|
|
21126
|
+
const r = await Xe({
|
|
21127
|
+
url: kt(S_, { formId: e }),
|
|
21126
21128
|
data: { search_string: n, args: {} },
|
|
21127
21129
|
method: Je.POST
|
|
21128
21130
|
}), o = r == null ? void 0 : r.data;
|
|
@@ -21143,8 +21145,8 @@ const gA = O(G)`
|
|
|
21143
21145
|
try {
|
|
21144
21146
|
if (!t)
|
|
21145
21147
|
throw new Error("Conversation ID is required to toggle auto logs");
|
|
21146
|
-
const n = await
|
|
21147
|
-
url:
|
|
21148
|
+
const n = await Xe({
|
|
21149
|
+
url: kt(R_, { conversationId: t }),
|
|
21148
21150
|
data: e,
|
|
21149
21151
|
method: Je.PATCH
|
|
21150
21152
|
});
|
|
@@ -21219,7 +21221,7 @@ const gA = O(G)`
|
|
|
21219
21221
|
}
|
|
21220
21222
|
}
|
|
21221
21223
|
`, DA = O(G)`
|
|
21222
|
-
padding: 8px 0 8px
|
|
21224
|
+
padding: 8px 0 8px 12px;
|
|
21223
21225
|
justify-content: center;
|
|
21224
21226
|
align-items: center;
|
|
21225
21227
|
svg {
|
|
@@ -21263,7 +21265,7 @@ const gA = O(G)`
|
|
|
21263
21265
|
isError: E,
|
|
21264
21266
|
isLoading: x
|
|
21265
21267
|
} = yA({ conversationId: h, enabled: !l }), { refetch: I } = ta({ conversationId: h }), _ = () => {
|
|
21266
|
-
y == null || y(
|
|
21268
|
+
y == null || y(Gt.email_logging_search_results_found, {
|
|
21267
21269
|
app_name: s,
|
|
21268
21270
|
search_keyword: d
|
|
21269
21271
|
});
|
|
@@ -21275,7 +21277,7 @@ const gA = O(G)`
|
|
|
21275
21277
|
reset: F
|
|
21276
21278
|
} = xA({ onSuccess: _ }), { mutate: k, isPending: j } = IA({
|
|
21277
21279
|
onSuccess: I
|
|
21278
|
-
}), { results: z = [], ...q } = T ?? {}, K =
|
|
21280
|
+
}), { results: z = [], ...q } = T ?? {}, K = Ae(() => {
|
|
21279
21281
|
const V = {}, B = [];
|
|
21280
21282
|
for (const H of m) {
|
|
21281
21283
|
const J = H.entityType + H.displayValue;
|
|
@@ -21292,21 +21294,21 @@ const gA = O(G)`
|
|
|
21292
21294
|
const { entityType: B, displayValue: H } = V;
|
|
21293
21295
|
f((J) => ({ ...J, [B + H]: V })), C((J) => [V, ...J]), p(""), F();
|
|
21294
21296
|
}, ce = () => {
|
|
21295
|
-
y == null || y(
|
|
21297
|
+
y == null || y(Gt.email_logging_search_initiated, { app_name: s });
|
|
21296
21298
|
}, Q = () => {
|
|
21297
21299
|
k({ payload: { autoLogEnabled: !r }, conversationId: h });
|
|
21298
|
-
const V = r ?
|
|
21300
|
+
const V = r ? Gt.email_logging_auto_log_disabled : Gt.email_logging_auto_log_enabled;
|
|
21299
21301
|
y == null || y(V, { app_name: s });
|
|
21300
21302
|
}, M = x || D;
|
|
21301
21303
|
return /* @__PURE__ */ u.jsxs(wA, { children: [
|
|
21302
21304
|
/* @__PURE__ */ u.jsxs(_A, { children: [
|
|
21303
21305
|
/* @__PURE__ */ u.jsxs(AA, { children: [
|
|
21304
21306
|
/* @__PURE__ */ u.jsx(SA, { children: /* @__PURE__ */ u.jsx(LA, { src: a, alt: "connector" }) }),
|
|
21305
|
-
/* @__PURE__ */ u.jsx(re, { children: "
|
|
21307
|
+
/* @__PURE__ */ u.jsx(re, { children: "Sync conversation" })
|
|
21306
21308
|
] }),
|
|
21307
21309
|
/* @__PURE__ */ u.jsxs(TA, { children: [
|
|
21308
21310
|
j ? /* @__PURE__ */ u.jsx(MA, {}) : null,
|
|
21309
|
-
l ? /* @__PURE__ */ u.jsx(
|
|
21311
|
+
l ? /* @__PURE__ */ u.jsx(Ee, { arrow: !0, title: Vw, children: /* @__PURE__ */ u.jsx(
|
|
21310
21312
|
kA,
|
|
21311
21313
|
{
|
|
21312
21314
|
checked: r,
|
|
@@ -21336,7 +21338,7 @@ const gA = O(G)`
|
|
|
21336
21338
|
}
|
|
21337
21339
|
) }),
|
|
21338
21340
|
/* @__PURE__ */ u.jsx(r0, { children: /* @__PURE__ */ u.jsx(o0, { children: /* @__PURE__ */ u.jsxs(po, { children: [
|
|
21339
|
-
/* @__PURE__ */ u.jsx(lr, { condition: M, children: /* @__PURE__ */ u.jsx(tA, {}) }, "loading"),
|
|
21341
|
+
/* @__PURE__ */ u.jsx(lr, { condition: M, children: /* @__PURE__ */ u.jsx(tA, { message: D ? "Searching..." : "Loading..." }) }, "loading"),
|
|
21340
21342
|
/* @__PURE__ */ u.jsx(lr, { condition: d === "" && K.length > 0, children: /* @__PURE__ */ u.jsx(
|
|
21341
21343
|
e0,
|
|
21342
21344
|
{
|
|
@@ -21382,8 +21384,8 @@ const gA = O(G)`
|
|
|
21382
21384
|
try {
|
|
21383
21385
|
if (!e)
|
|
21384
21386
|
throw new Error("Conversation ID is required to retry logs");
|
|
21385
|
-
const t = await
|
|
21386
|
-
url:
|
|
21387
|
+
const t = await Xe({
|
|
21388
|
+
url: kt(A_, { conversationId: e }),
|
|
21387
21389
|
method: Je.POST
|
|
21388
21390
|
});
|
|
21389
21391
|
return t == null ? void 0 : t.data;
|
|
@@ -21402,7 +21404,7 @@ const gA = O(G)`
|
|
|
21402
21404
|
padding: 8px;
|
|
21403
21405
|
width: fit-content;
|
|
21404
21406
|
cursor: pointer;
|
|
21405
|
-
`, GA = O(
|
|
21407
|
+
`, GA = O(ze)`
|
|
21406
21408
|
padding: 0;
|
|
21407
21409
|
background: none;
|
|
21408
21410
|
border: none;
|
|
@@ -21413,7 +21415,7 @@ const gA = O(G)`
|
|
|
21413
21415
|
margin-left: 6px;
|
|
21414
21416
|
`, HA = [Ze.PENDING, Ze.LOGGED, Ze.NOT_LOGGED], WA = ({ status: e, emailLogStatus: t }) => {
|
|
21415
21417
|
const { isAdmin: n, conversationId: r, connectorFunctions: o } = Oe(an), i = o == null ? void 0 : o.sendTrackingEvent, { refetch: s } = ta({ conversationId: r }), { mutate: c, isPending: a } = BA({ onSuccess: s }), l = Dw[e], d = Mw[e], p = kw[e], { emailLogSettings: m, messageLogStatus: C } = t, { connectorName: b } = m ?? {}, { logged: f, total: h } = C ?? {}, g = e === Ze.LOGGED && h ? ` (${f}/${h})` : "", y = e === Ze.ERROR, v = HA.includes(e), E = ({ close: I }) => /* @__PURE__ */ u.jsx(PA, { close: I, emailLogStatus: t }), x = () => {
|
|
21416
|
-
c({ conversationId: r }), i == null || i(
|
|
21418
|
+
c({ conversationId: r }), i == null || i(Gt.email_logging_failed_clicked, { app_name: b });
|
|
21417
21419
|
};
|
|
21418
21420
|
return /* @__PURE__ */ u.jsx(
|
|
21419
21421
|
E_,
|
|
@@ -21421,6 +21423,7 @@ const gA = O(G)`
|
|
|
21421
21423
|
logSettings: m,
|
|
21422
21424
|
status: e,
|
|
21423
21425
|
isAdmin: n,
|
|
21426
|
+
retry: y,
|
|
21424
21427
|
renderEntities: v ? E : void 0,
|
|
21425
21428
|
children: /* @__PURE__ */ u.jsxs(VA, { style: { cursor: v ? "pointer" : "not-allowed" }, children: [
|
|
21426
21429
|
l,
|
|
@@ -21483,7 +21486,7 @@ const gA = O(G)`
|
|
|
21483
21486
|
connectorFunctions: n,
|
|
21484
21487
|
children: r
|
|
21485
21488
|
}) => {
|
|
21486
|
-
const o =
|
|
21489
|
+
const o = Ae(
|
|
21487
21490
|
() => ({
|
|
21488
21491
|
isAdmin: e,
|
|
21489
21492
|
conversationId: t,
|
|
@@ -21505,20 +21508,20 @@ class aT {
|
|
|
21505
21508
|
disableAutoLogInCompose: a = !1,
|
|
21506
21509
|
disableAutoLogInSubject: l = !1
|
|
21507
21510
|
} = {}) {
|
|
21508
|
-
|
|
21509
|
-
|
|
21510
|
-
|
|
21511
|
-
|
|
21512
|
-
|
|
21513
|
-
|
|
21514
|
-
|
|
21515
|
-
|
|
21516
|
-
|
|
21517
|
-
|
|
21518
|
-
|
|
21519
|
-
|
|
21520
|
-
|
|
21521
|
-
|
|
21511
|
+
$e(this, "observer", null);
|
|
21512
|
+
$e(this, "setComposeButtonContainers", null);
|
|
21513
|
+
$e(this, "setEmailButtonContainers", null);
|
|
21514
|
+
$e(this, "setSubjectButtonContainers", null);
|
|
21515
|
+
$e(this, "emailNodeFilter");
|
|
21516
|
+
$e(this, "composeNodeFilter");
|
|
21517
|
+
$e(this, "emailHeaderTargetSelector");
|
|
21518
|
+
$e(this, "composeHeaderTargetSelector");
|
|
21519
|
+
$e(this, "emailMessageContainerSelector");
|
|
21520
|
+
$e(this, "disableAutoLogInEmail");
|
|
21521
|
+
$e(this, "disableAutoLogInCompose");
|
|
21522
|
+
$e(this, "disableAutoLogInSubject");
|
|
21523
|
+
$e(this, "subjectContainer", null);
|
|
21524
|
+
$e(this, "_addLogButtonsOnEmail", () => {
|
|
21522
21525
|
if (this.disableAutoLogInEmail)
|
|
21523
21526
|
return;
|
|
21524
21527
|
document.querySelectorAll(Ni).forEach((r) => r.remove());
|
|
@@ -21534,7 +21537,7 @@ class aT {
|
|
|
21534
21537
|
});
|
|
21535
21538
|
});
|
|
21536
21539
|
});
|
|
21537
|
-
|
|
21540
|
+
$e(this, "_addLogButtonsOnCompose", () => {
|
|
21538
21541
|
if (this.disableAutoLogInCompose)
|
|
21539
21542
|
return;
|
|
21540
21543
|
document.querySelectorAll(ki).forEach((r) => r.remove());
|
|
@@ -21547,7 +21550,7 @@ class aT {
|
|
|
21547
21550
|
i.classList.add(ki.slice(1)), i.style.display = "inline-block", r.appendChild(i), (s = this.setComposeButtonContainers) == null || s.call(this, { ["_compose_" + o]: { element: i } });
|
|
21548
21551
|
});
|
|
21549
21552
|
});
|
|
21550
|
-
|
|
21553
|
+
$e(this, "_addLogButtonOnSubject", () => {
|
|
21551
21554
|
var r, o, i;
|
|
21552
21555
|
if (this.disableAutoLogInSubject || !this.subjectContainer)
|
|
21553
21556
|
return;
|
|
@@ -21614,7 +21617,7 @@ export {
|
|
|
21614
21617
|
iT as ConnectorCardList,
|
|
21615
21618
|
cT as EmailLogger,
|
|
21616
21619
|
aT as GmailLogObserver,
|
|
21617
|
-
|
|
21620
|
+
Xe as HiverConnectorBifrostAuth,
|
|
21618
21621
|
sT as IntegrationSense,
|
|
21619
21622
|
qA as addNewConnectors,
|
|
21620
21623
|
Sp as dismissNotification,
|