customer-module-frontend 2.2.0-beta.1 → 2.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/customer-module.js +380 -379
- package/dist/customer-module.js.map +1 -1
- package/package.json +1 -1
package/dist/customer-module.js
CHANGED
|
@@ -3989,16 +3989,16 @@ var xm = function() {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
}, ot = function(fe) {
|
|
3991
3991
|
var Ne = St(fe.target.parentElement);
|
|
3992
|
-
Ne ?
|
|
3992
|
+
Ne ? Xt(Ne) : Rt(fe), fe.preventDefault();
|
|
3993
3993
|
}, Ct = function(fe) {
|
|
3994
3994
|
var Ne = gt(fe.target.parentElement);
|
|
3995
|
-
Ne ?
|
|
3995
|
+
Ne ? Xt(Ne) : Xe(fe), fe.preventDefault();
|
|
3996
3996
|
}, Rt = function(fe) {
|
|
3997
3997
|
var Ne = nn();
|
|
3998
|
-
|
|
3998
|
+
Xt(Ne), fe.preventDefault();
|
|
3999
3999
|
}, Xe = function(fe) {
|
|
4000
4000
|
var Ne = rn();
|
|
4001
|
-
|
|
4001
|
+
Xt(Ne), fe.preventDefault();
|
|
4002
4002
|
}, ie = function(fe) {
|
|
4003
4003
|
Ut({
|
|
4004
4004
|
index: i.Children.count(r.children) - 1
|
|
@@ -4019,7 +4019,7 @@ var xm = function() {
|
|
|
4019
4019
|
return St(T.current.firstElementChild, !0);
|
|
4020
4020
|
}, rn = function() {
|
|
4021
4021
|
return gt(T.current.lastElementChild, !0);
|
|
4022
|
-
},
|
|
4022
|
+
}, Xt = function(fe) {
|
|
4023
4023
|
fe && (R.focus(fe), Ut({
|
|
4024
4024
|
element: fe
|
|
4025
4025
|
}));
|
|
@@ -4031,11 +4031,11 @@ var xm = function() {
|
|
|
4031
4031
|
lt && lt.scrollIntoView && lt.scrollIntoView({
|
|
4032
4032
|
block: "nearest"
|
|
4033
4033
|
});
|
|
4034
|
-
},
|
|
4034
|
+
}, Jt = function() {
|
|
4035
4035
|
var fe = D.current, Ne = fe.scrollLeft, qe = fe.scrollWidth, lt = R.getWidth(D.current);
|
|
4036
4036
|
v(Ne === 0), b(parseInt(Ne) === qe - lt);
|
|
4037
4037
|
}, Kt = function(fe) {
|
|
4038
|
-
r.scrollable &&
|
|
4038
|
+
r.scrollable && Jt(), fe.preventDefault();
|
|
4039
4039
|
}, an = function() {
|
|
4040
4040
|
return [L.current, te.current].reduce(function(fe, Ne) {
|
|
4041
4041
|
return Ne ? fe + R.getWidth(Ne) : fe;
|
|
@@ -4052,7 +4052,7 @@ var xm = function() {
|
|
|
4052
4052
|
}) : M(r.activeIndex);
|
|
4053
4053
|
};
|
|
4054
4054
|
i.useEffect(function() {
|
|
4055
|
-
Tt(),
|
|
4055
|
+
Tt(), Jt();
|
|
4056
4056
|
}), ur(function() {
|
|
4057
4057
|
s || c(ga());
|
|
4058
4058
|
}), _t(function() {
|
|
@@ -4745,7 +4745,7 @@ var ya = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
4745
4745
|
var ce = getComputedStyle(L.current);
|
|
4746
4746
|
G === "left" ? L.current.style.left = parseFloat(ce.left) - parseFloat(ce.paddingLeft) * 2 + "px" : G === "top" && (L.current.style.top = parseFloat(ce.top) - parseFloat(ce.paddingTop) * 2 + "px");
|
|
4747
4747
|
}
|
|
4748
|
-
},
|
|
4748
|
+
}, Xt = function() {
|
|
4749
4749
|
je() || (Fe.current = !1);
|
|
4750
4750
|
}, Tt = function(G) {
|
|
4751
4751
|
je() || (Fe.current = !0, gt(G));
|
|
@@ -4758,7 +4758,7 @@ var ya = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
4758
4758
|
return et?.addEventListener(yt, gt);
|
|
4759
4759
|
});
|
|
4760
4760
|
}
|
|
4761
|
-
},
|
|
4761
|
+
}, Jt = function(G) {
|
|
4762
4762
|
if (G) {
|
|
4763
4763
|
var ce = Rt(G), Ke = ce.showEvents, Ze = ce.hideEvents, et = un(G);
|
|
4764
4764
|
Ke.forEach(function(yt) {
|
|
@@ -4807,7 +4807,7 @@ var ya = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
4807
4807
|
}, hn = function(G) {
|
|
4808
4808
|
An(G || r.target, Ut);
|
|
4809
4809
|
}, En = function(G) {
|
|
4810
|
-
An(G || r.target,
|
|
4810
|
+
An(G || r.target, Jt);
|
|
4811
4811
|
}, An = function(G, ce) {
|
|
4812
4812
|
if (G = F.getRefElement(G), G)
|
|
4813
4813
|
if (R.isElement(G))
|
|
@@ -4875,7 +4875,7 @@ var ya = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
4875
4875
|
role: "tooltip",
|
|
4876
4876
|
"aria-hidden": s,
|
|
4877
4877
|
onMouseEnter: function(yt) {
|
|
4878
|
-
return
|
|
4878
|
+
return Xt();
|
|
4879
4879
|
},
|
|
4880
4880
|
onMouseLeave: function(yt) {
|
|
4881
4881
|
return Tt(yt);
|
|
@@ -8317,14 +8317,14 @@ var Hm = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
8317
8317
|
}
|
|
8318
8318
|
}), St = $a(pt, 2), gt = St[0], nn = St[1], rn = function(ae) {
|
|
8319
8319
|
r.onHide(ae), ae.preventDefault();
|
|
8320
|
-
},
|
|
8320
|
+
}, Xt = function() {
|
|
8321
8321
|
var ae = document.activeElement, re = ae && E.current && E.current.contains(ae);
|
|
8322
8322
|
!re && r.closable && r.showCloseIcon && r.showHeader && T.current && T.current.focus();
|
|
8323
8323
|
}, Tt = function(ae) {
|
|
8324
8324
|
H.current = ae.target, r.onPointerDown && r.onPointerDown(ae);
|
|
8325
8325
|
}, Ut = function(ae) {
|
|
8326
8326
|
r.dismissableMask && r.modal && K.current === ae.target && !H.current && rn(ae), r.onMaskClick && r.onMaskClick(ae), H.current = null;
|
|
8327
|
-
},
|
|
8327
|
+
}, Jt = function(ae) {
|
|
8328
8328
|
r.onMaximize ? r.onMaximize({
|
|
8329
8329
|
originalEvent: ae,
|
|
8330
8330
|
maximized: !Se
|
|
@@ -8358,7 +8358,7 @@ var Hm = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
8358
8358
|
}, An = function() {
|
|
8359
8359
|
E.current.setAttribute(Fe.current, "");
|
|
8360
8360
|
}, pn = function() {
|
|
8361
|
-
r.onShow && r.onShow(), r.focusOnShow &&
|
|
8361
|
+
r.onShow && r.onShow(), r.focusOnShow && Xt(), G();
|
|
8362
8362
|
}, ke = function() {
|
|
8363
8363
|
r.modal && !be() && R.addClass(K.current, "p-component-overlay-leave");
|
|
8364
8364
|
}, U = function() {
|
|
@@ -8477,7 +8477,7 @@ var Hm = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
8477
8477
|
var Ie = t({
|
|
8478
8478
|
type: "button",
|
|
8479
8479
|
className: $("maximizableButton"),
|
|
8480
|
-
onClick:
|
|
8480
|
+
onClick: Jt
|
|
8481
8481
|
}, X("maximizableButton"));
|
|
8482
8482
|
return /* @__PURE__ */ i.createElement("button", Ie, Ee, /* @__PURE__ */ i.createElement(xn, null));
|
|
8483
8483
|
}
|
|
@@ -9497,7 +9497,7 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9497
9497
|
!r.disabled && !r.readOnly && Ie();
|
|
9498
9498
|
}, rn = function() {
|
|
9499
9499
|
!r.disabled && !r.readOnly && Ie();
|
|
9500
|
-
},
|
|
9500
|
+
}, Xt = function() {
|
|
9501
9501
|
!r.disabled && !r.readOnly && Ie();
|
|
9502
9502
|
}, Tt = function(A) {
|
|
9503
9503
|
!r.disabled && !r.readOnly && (A.keyCode === 32 || A.keyCode === 13) && Ct(A, null, -1);
|
|
@@ -9506,7 +9506,7 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9506
9506
|
var B = A.nativeEvent.inputType, ne = A.nativeEvent.data;
|
|
9507
9507
|
B === "insertText" && /\D/.test(ne) && (A.target.value = w.current);
|
|
9508
9508
|
}
|
|
9509
|
-
},
|
|
9509
|
+
}, Jt = function(A) {
|
|
9510
9510
|
if (!(!R.isAndroid() || r.disabled || r.readOnly) && !(r.onKeyUp && (r.onKeyUp(A), A.defaultPrevented))) {
|
|
9511
9511
|
var B = A.which || A.keyCode;
|
|
9512
9512
|
B !== 13 && A.preventDefault();
|
|
@@ -9562,8 +9562,8 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9562
9562
|
he = de.slice(0, B - 1) + dn + de.slice(B);
|
|
9563
9563
|
} else gn === 1 ? (he = de.slice(0, B - 1) + "0" + de.slice(B), he = je(he) > 0 ? he : "") : he = de.slice(0, B - 1) + de.slice(B);
|
|
9564
9564
|
} else if (D.current.test(ft)) {
|
|
9565
|
-
var nt = pn(de),
|
|
9566
|
-
|
|
9565
|
+
var nt = pn(de), Zt = nt.minusCharIndex, Vn = nt.currencyCharIndex;
|
|
9566
|
+
Zt === Vn - 1 && (he = de.slice(0, Zt) + de.slice(B));
|
|
9567
9567
|
}
|
|
9568
9568
|
fe(A, he, null, "delete-single");
|
|
9569
9569
|
} else
|
|
@@ -9663,7 +9663,7 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9663
9663
|
isMinusSign: !1
|
|
9664
9664
|
}, de = B.search(O.current);
|
|
9665
9665
|
if (O.current.lastIndex = 0, !(!cn() && de !== -1)) {
|
|
9666
|
-
var he = h.current.selectionStart, ft = h.current.selectionEnd, st = h.current.value.trim(), It = pn(st), gn = It.decimalCharIndex, Ln = It.minusCharIndex, dn = It.suffixCharIndex, nt = It.currencyCharIndex,
|
|
9666
|
+
var he = h.current.selectionStart, ft = h.current.selectionEnd, st = h.current.value.trim(), It = pn(st), gn = It.decimalCharIndex, Ln = It.minusCharIndex, dn = It.suffixCharIndex, nt = It.currencyCharIndex, Zt = x.current.resolvedOptions().maximumFractionDigits, Vn = r.min || r.max || r.suffix || r.prefix, yn;
|
|
9667
9667
|
if (ne.isMinusSign) {
|
|
9668
9668
|
var Kn = Ln === -1;
|
|
9669
9669
|
(he === 0 || he === nt + 1) && (yn = st, (Kn || ft !== 0) && (yn = G(st, B, 0, ft)), fe(A, yn, B, "insert"));
|
|
@@ -9672,14 +9672,14 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9672
9672
|
fe(A, st, B, "insert");
|
|
9673
9673
|
else if (gn > he && gn < ft)
|
|
9674
9674
|
yn = G(st, B, he, ft), fe(A, yn, B, "insert");
|
|
9675
|
-
else if (gn === -1 && (
|
|
9675
|
+
else if (gn === -1 && (Zt || r.maxFractionDigits)) {
|
|
9676
9676
|
var Gn = ee !== "numeric" || ee === "numeric" && Vn;
|
|
9677
9677
|
Gn && (yn = G(st, B, he, ft), fe(A, yn, B, "insert"));
|
|
9678
9678
|
}
|
|
9679
9679
|
} else {
|
|
9680
9680
|
var Yn = he !== ft ? "range-insert" : "insert";
|
|
9681
9681
|
if (gn > 0 && he > gn) {
|
|
9682
|
-
if (he + B.length - (gn + 1) <=
|
|
9682
|
+
if (he + B.length - (gn + 1) <= Zt) {
|
|
9683
9683
|
var Wn = nt >= he ? nt - 1 : dn >= he ? dn : st.length;
|
|
9684
9684
|
yn = st.slice(0, he) + B + st.slice(he + B.length, Wn) + st.slice(Wn), fe(A, yn, B, Yn);
|
|
9685
9685
|
}
|
|
@@ -9776,26 +9776,26 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9776
9776
|
if (r.maxLength && r.maxLength < st.length)
|
|
9777
9777
|
return;
|
|
9778
9778
|
he.value = st;
|
|
9779
|
-
var
|
|
9779
|
+
var Zt = st.length;
|
|
9780
9780
|
if (ne === "range-insert") {
|
|
9781
9781
|
var Vn = je((ft || "").slice(0, dn)), yn = Vn !== null ? Vn.toString() : "", Kn = yn.split("").join("(".concat(P.current, ")?")), Gn = new RegExp(Kn, "g");
|
|
9782
9782
|
Gn.test(st);
|
|
9783
9783
|
var Yn = B.split("").join("(".concat(P.current, ")?")), Wn = new RegExp(Yn, "g");
|
|
9784
9784
|
Wn.test(st.slice(Gn.lastIndex)), nt = Gn.lastIndex + Wn.lastIndex, he.setSelectionRange(nt, nt);
|
|
9785
|
-
} else if (
|
|
9785
|
+
} else if (Zt === It)
|
|
9786
9786
|
if (ne === "insert" || ne === "delete-back-single") {
|
|
9787
9787
|
var Cn = nt;
|
|
9788
9788
|
B === "0" ? Cn = nt + 1 : Cn = Cn + Number(wn(A) || wn(B)), he.setSelectionRange(Cn, Cn);
|
|
9789
9789
|
} else ne === "delete-single" ? he.setSelectionRange(nt - 1, nt - 1) : (ne === "delete-range" || ne === "spin") && he.setSelectionRange(nt, nt);
|
|
9790
9790
|
else if (ne === "delete-back-single") {
|
|
9791
|
-
var dr = ft.charAt(nt - 1), Gr = ft.charAt(nt), Jr = It -
|
|
9791
|
+
var dr = ft.charAt(nt - 1), Gr = ft.charAt(nt), Jr = It - Zt, Je = M.current.test(Gr);
|
|
9792
9792
|
Je && Jr === 1 ? nt = nt + 1 : !Je && yt(dr) && (nt = nt + (-1 * Jr + 1)), M.current.lastIndex = 0, he.setSelectionRange(nt, nt);
|
|
9793
9793
|
} else if (ft === "-" && ne === "insert") {
|
|
9794
9794
|
he.setSelectionRange(0, 0);
|
|
9795
9795
|
var V = Ke(), Re = V + B.length + 1;
|
|
9796
9796
|
he.setSelectionRange(Re, Re);
|
|
9797
9797
|
} else
|
|
9798
|
-
nt = nt + (
|
|
9798
|
+
nt = nt + (Zt - It), he.setSelectionRange(nt, nt);
|
|
9799
9799
|
}
|
|
9800
9800
|
he.setAttribute("aria-valuenow", A);
|
|
9801
9801
|
}, Fn = function(A) {
|
|
@@ -9912,7 +9912,7 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9912
9912
|
name: r.name,
|
|
9913
9913
|
autoFocus: r.autoFocus,
|
|
9914
9914
|
onKeyDown: Kt,
|
|
9915
|
-
onKeyPress:
|
|
9915
|
+
onKeyPress: Jt,
|
|
9916
9916
|
onInput: Ut,
|
|
9917
9917
|
onClick: et,
|
|
9918
9918
|
onPointerDown: Ze,
|
|
@@ -9969,7 +9969,7 @@ var Gm = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
9969
9969
|
onKeyDown: function(ft) {
|
|
9970
9970
|
return Tt(ft);
|
|
9971
9971
|
},
|
|
9972
|
-
onKeyUp:
|
|
9972
|
+
onKeyUp: Xt,
|
|
9973
9973
|
disabled: r.disabled,
|
|
9974
9974
|
tabIndex: -1,
|
|
9975
9975
|
"aria-hidden": !0
|
|
@@ -10388,13 +10388,13 @@ var Ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
10388
10388
|
return yt();
|
|
10389
10389
|
},
|
|
10390
10390
|
when: !r.disabled
|
|
10391
|
-
}), nn = Ha(gt, 1), rn = nn[0],
|
|
10391
|
+
}), nn = Ha(gt, 1), rn = nn[0], Xt = function() {
|
|
10392
10392
|
return q;
|
|
10393
10393
|
}, Tt = function(ge) {
|
|
10394
10394
|
return Math.floor((ge + T * 4) / (r.step || 1));
|
|
10395
10395
|
}, Ut = function(ge) {
|
|
10396
10396
|
X.current = ge || X.current || R.findSingle(q.current, ".p-virtualscroller-content");
|
|
10397
|
-
},
|
|
10397
|
+
}, Jt = function(ge) {
|
|
10398
10398
|
return r.step ? P !== Tt(ge) : !0;
|
|
10399
10399
|
}, Kt = function(ge) {
|
|
10400
10400
|
be.current = c ? {
|
|
@@ -10584,17 +10584,17 @@ var Ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
10584
10584
|
}
|
|
10585
10585
|
}
|
|
10586
10586
|
}, Ke = function(ge) {
|
|
10587
|
-
var De = ge.target, Ue = ke(), tt = function(
|
|
10588
|
-
return
|
|
10589
|
-
}, Qe = function(
|
|
10590
|
-
return Math.floor(
|
|
10591
|
-
}, ct = function(
|
|
10592
|
-
return
|
|
10593
|
-
}, bt = function(
|
|
10594
|
-
return
|
|
10595
|
-
}, Bt = function(
|
|
10587
|
+
var De = ge.target, Ue = ke(), tt = function(Zt, Vn) {
|
|
10588
|
+
return Zt ? Zt > Vn ? Zt - Vn : Zt : 0;
|
|
10589
|
+
}, Qe = function(Zt, Vn) {
|
|
10590
|
+
return Math.floor(Zt / (Vn || Zt));
|
|
10591
|
+
}, ct = function(Zt, Vn, yn, Kn, Gn, Yn) {
|
|
10592
|
+
return Zt <= Gn ? Gn : Yn ? yn - Kn - Gn : Vn + Gn - 1;
|
|
10593
|
+
}, bt = function(Zt, Vn, yn, Kn, Gn, Yn, Wn) {
|
|
10594
|
+
return Zt <= Yn ? 0 : Math.max(0, Wn ? Zt < Vn ? yn : Zt - Yn : Zt > Vn ? yn : Zt - 2 * Yn);
|
|
10595
|
+
}, Bt = function(Zt, Vn, yn, Kn, Gn, Yn) {
|
|
10596
10596
|
var Wn = Vn + Kn + 2 * Gn;
|
|
10597
|
-
return
|
|
10597
|
+
return Zt >= Gn && (Wn = Wn + (Gn + 1)), pn(Wn, Yn);
|
|
10598
10598
|
}, kt = tt(De.scrollTop, Ue.top), Me = tt(De.scrollLeft, Ue.left), k = c ? {
|
|
10599
10599
|
rows: 0,
|
|
10600
10600
|
cols: 0
|
|
@@ -10640,7 +10640,7 @@ var Ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
10640
10640
|
first: Ue,
|
|
10641
10641
|
last: tt
|
|
10642
10642
|
};
|
|
10643
|
-
if (ce(bt), v(Ue), b(tt), be.current = ct, r.onScrollIndexChange && r.onScrollIndexChange(bt), r.lazy &&
|
|
10643
|
+
if (ce(bt), v(Ue), b(tt), be.current = ct, r.onScrollIndexChange && r.onScrollIndexChange(bt), r.lazy && Jt(Ue)) {
|
|
10644
10644
|
var Bt = {
|
|
10645
10645
|
first: r.step ? Math.min(Tt(Ue) * r.step, (r.items || []).length - r.step) : Ue,
|
|
10646
10646
|
last: Math.min(r.step ? (Tt(Ue) + 1) * r.step : tt, (r.items || []).length)
|
|
@@ -10650,9 +10650,9 @@ var Ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
10650
10650
|
}
|
|
10651
10651
|
}, et = function(ge) {
|
|
10652
10652
|
if (r.onScroll && r.onScroll(ge), r.delay) {
|
|
10653
|
-
if (Ve.current && clearTimeout(Ve.current),
|
|
10653
|
+
if (Ve.current && clearTimeout(Ve.current), Jt(m)) {
|
|
10654
10654
|
if (!J && r.showLoader) {
|
|
10655
|
-
var De = Ke(ge), Ue = De.isRangeChanged, tt = Ue || (r.step ?
|
|
10655
|
+
var De = Ke(ge), Ue = De.isRangeChanged, tt = Ue || (r.step ? Jt(m) : !1);
|
|
10656
10656
|
tt && we(!0);
|
|
10657
10657
|
}
|
|
10658
10658
|
Ve.current = setTimeout(function() {
|
|
@@ -10731,7 +10731,7 @@ var Ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
10731
10731
|
}, [r.orientation]), i.useImperativeHandle(n, function() {
|
|
10732
10732
|
return {
|
|
10733
10733
|
props: r,
|
|
10734
|
-
getElementRef:
|
|
10734
|
+
getElementRef: Xt,
|
|
10735
10735
|
scrollTo: Kt,
|
|
10736
10736
|
scrollToIndex: an,
|
|
10737
10737
|
scrollInView: cn,
|
|
@@ -11792,12 +11792,12 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
11792
11792
|
return F.isNotEmpty(r.value);
|
|
11793
11793
|
}, rn = function(V) {
|
|
11794
11794
|
return gt(V) && ae(V);
|
|
11795
|
-
},
|
|
11795
|
+
}, Xt = function() {
|
|
11796
11796
|
return nn ? dn.findIndex(function(V) {
|
|
11797
11797
|
return rn(V);
|
|
11798
11798
|
}) : -1;
|
|
11799
11799
|
}, Tt = function() {
|
|
11800
|
-
var V =
|
|
11800
|
+
var V = Xt();
|
|
11801
11801
|
return V < 0 ? Kt() : V;
|
|
11802
11802
|
}, Ut = function(V, Re) {
|
|
11803
11803
|
J.current = (J.current || "") + Re;
|
|
@@ -11811,8 +11811,8 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
11811
11811
|
}), wt !== -1 && (In = !0), wt === -1 && b === -1 && (wt = Tt()), wt !== -1 && un(V, wt)), te.current && clearTimeout(te.current), te.current = setTimeout(function() {
|
|
11812
11812
|
J.current = "", te.current = null;
|
|
11813
11813
|
}, 500), In;
|
|
11814
|
-
},
|
|
11815
|
-
var V =
|
|
11814
|
+
}, Jt = function() {
|
|
11815
|
+
var V = Xt();
|
|
11816
11816
|
return V < 0 ? an() : V;
|
|
11817
11817
|
}, Kt = function() {
|
|
11818
11818
|
return dn.findIndex(function(V) {
|
|
@@ -11839,7 +11839,7 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
11839
11839
|
Re && Re.focus();
|
|
11840
11840
|
}, hn = function(V) {
|
|
11841
11841
|
if (!S)
|
|
11842
|
-
re(), r.editable && un(V,
|
|
11842
|
+
re(), r.editable && un(V, Xt());
|
|
11843
11843
|
else {
|
|
11844
11844
|
var Re = b !== -1 ? cn(b) : K.current ? Kt() : Tt();
|
|
11845
11845
|
un(V, Re);
|
|
@@ -11850,7 +11850,7 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
11850
11850
|
if (V.altKey && !Re)
|
|
11851
11851
|
b !== -1 && Rt(V, dn[b]), state.overlayVisible && Ee(), V.preventDefault();
|
|
11852
11852
|
else {
|
|
11853
|
-
var wt = b !== -1 ? Dn(b) : K.current ? an() :
|
|
11853
|
+
var wt = b !== -1 ? Dn(b) : K.current ? an() : Jt();
|
|
11854
11854
|
un(V, wt), !S && re(), V.preventDefault();
|
|
11855
11855
|
}
|
|
11856
11856
|
}, An = function(V) {
|
|
@@ -11998,7 +11998,7 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
11998
11998
|
}, ae = function(V) {
|
|
11999
11999
|
return F.equals(r.value, ct(V), Un());
|
|
12000
12000
|
}, re = function() {
|
|
12001
|
-
w(b !== -1 ? b : r.autoOptionFocus ? Tt() : r.editable ? -1 :
|
|
12001
|
+
w(b !== -1 ? b : r.autoOptionFocus ? Tt() : r.editable ? -1 : Xt()), E(!0);
|
|
12002
12002
|
}, Ee = function() {
|
|
12003
12003
|
E(!1), K.current = !1;
|
|
12004
12004
|
}, Ie = function() {
|
|
@@ -12225,7 +12225,7 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
12225
12225
|
"aria-label": In
|
|
12226
12226
|
}, Q("trigger"));
|
|
12227
12227
|
return /* @__PURE__ */ i.createElement("div", vn, wt);
|
|
12228
|
-
}, dn = $e(), nt = ne(),
|
|
12228
|
+
}, dn = $e(), nt = ne(), Zt = F.isNotEmpty(r.tooltip), Vn = $l.getOtherProps(r), yn = F.reduceKeys(Vn, R.ARIA_PROPS), Kn = de(), Gn = he(), Yn = ft(), Wn = r.loading ? gn() : Ln(), Cn = It(), dr = t({
|
|
12229
12229
|
id: r.id,
|
|
12230
12230
|
ref: H,
|
|
12231
12231
|
className: Pe(r.className, ee("root", {
|
|
@@ -12297,7 +12297,7 @@ var sl = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
12297
12297
|
firstFocusableElement: /* @__PURE__ */ i.createElement("span", Gr),
|
|
12298
12298
|
lastFocusableElement: /* @__PURE__ */ i.createElement("span", Jr),
|
|
12299
12299
|
sx: Y
|
|
12300
|
-
}))),
|
|
12300
|
+
}))), Zt && /* @__PURE__ */ i.createElement(ya, Oa({
|
|
12301
12301
|
target: H,
|
|
12302
12302
|
content: r.tooltip,
|
|
12303
12303
|
pt: Q("tooltip")
|
|
@@ -15066,10 +15066,10 @@ var S2 = function(n) {
|
|
|
15066
15066
|
var pt = Q(ie), St = Wr({}, P.current), gt = n.resolveFieldData(St), nn = Wr(Wr({}, pt), {}, {
|
|
15067
15067
|
newRowData: St,
|
|
15068
15068
|
newValue: gt
|
|
15069
|
-
}), rn = M("onCellEditCancel"),
|
|
15069
|
+
}), rn = M("onCellEditCancel"), Xt = M("cellEditValidator"), Tt = M("onCellEditComplete");
|
|
15070
15070
|
!it && rn && rn(nn);
|
|
15071
15071
|
var Ut = !0;
|
|
15072
|
-
(!it || T()) &&
|
|
15072
|
+
(!it || T()) && Xt && (Ut = Xt(nn)), Ut ? (it && Tt && Tt(nn), ee(ie)) : ie.preventDefault(), d(St);
|
|
15073
15073
|
}, q = function(ie) {
|
|
15074
15074
|
var it = Wr({}, u);
|
|
15075
15075
|
F.mutateFieldData(it, n.field, ie), d(it);
|
|
@@ -15186,7 +15186,7 @@ var S2 = function(n) {
|
|
|
15186
15186
|
});
|
|
15187
15187
|
return /* @__PURE__ */ i.createElement("td", pt, it);
|
|
15188
15188
|
}, Rt = function() {
|
|
15189
|
-
var ie, it, pt = n.allowCellSelection && n.isCellSelected, St = n.editMode === "row", gt = n.getTabIndex(pt, n.index), nn = M("selectionMode"), rn = M("rowReorder"),
|
|
15189
|
+
var ie, it, pt = n.allowCellSelection && n.isCellSelected, St = n.editMode === "row", gt = n.getTabIndex(pt, n.index), nn = M("selectionMode"), rn = M("rowReorder"), Xt = M("header"), Tt = M("body"), Ut = M("editor"), Jt = n.frozenCol, Kt = M("align"), an = n.resolveFieldData(), cn = {
|
|
15190
15190
|
column: n.column,
|
|
15191
15191
|
field: n.field,
|
|
15192
15192
|
rowIndex: n.rowIndex,
|
|
@@ -15194,7 +15194,7 @@ var S2 = function(n) {
|
|
|
15194
15194
|
props: n.tableProps
|
|
15195
15195
|
}, Dn = F.getPropValue(M("rowEditor"), n.rowData, cn), un = F.getPropValue(M("expander"), n.rowData, cn), wn = F.getPropValue(n.cellClassName, an, cn), hn = F.getPropValue(M("bodyClassName"), n.rowData, cn), En = me(), An = t({
|
|
15196
15196
|
className: H("columnTitle")
|
|
15197
|
-
}, O("columnTitle")), pn = n.responsiveLayout === "stack" && /* @__PURE__ */ i.createElement("span", An, F.getJSXElement(
|
|
15197
|
+
}, O("columnTitle")), pn = n.responsiveLayout === "stack" && /* @__PURE__ */ i.createElement("span", An, F.getJSXElement(Xt, {
|
|
15198
15198
|
props: n.tableProps
|
|
15199
15199
|
}));
|
|
15200
15200
|
if (nn) {
|
|
@@ -15369,7 +15369,7 @@ var S2 = function(n) {
|
|
|
15369
15369
|
selectionMode: nn,
|
|
15370
15370
|
editor: Ut,
|
|
15371
15371
|
editingState: o,
|
|
15372
|
-
frozen:
|
|
15372
|
+
frozen: Jt,
|
|
15373
15373
|
cellSelected: pt,
|
|
15374
15374
|
align: Kt,
|
|
15375
15375
|
bodyProps: n,
|
|
@@ -15400,7 +15400,7 @@ var S2 = function(n) {
|
|
|
15400
15400
|
"data-p-selection-column": M("selectionMode") != null,
|
|
15401
15401
|
"data-p-editable-column": D() != null,
|
|
15402
15402
|
"data-p-cell-editing": o,
|
|
15403
|
-
"data-p-frozen-column":
|
|
15403
|
+
"data-p-frozen-column": Jt
|
|
15404
15404
|
}, O("root"), O("bodyCell"));
|
|
15405
15405
|
return /* @__PURE__ */ i.createElement("td", Hn({
|
|
15406
15406
|
ref: h
|
|
@@ -15726,18 +15726,18 @@ var k2 = /* @__PURE__ */ i.memo(function(e) {
|
|
|
15726
15726
|
return e.editingMeta && e.editingMeta[St] ? e.editingMeta[St].data : e.rowData;
|
|
15727
15727
|
}, rn = i.useCallback(function(ke, U) {
|
|
15728
15728
|
return e.allowCellSelection ? ke ? 0 : e.rowIndex === 0 && U === 0 ? e.tabIndex : -1 : null;
|
|
15729
|
-
}, [e.allowCellSelection, e.rowIndex, e.tabIndex]),
|
|
15729
|
+
}, [e.allowCellSelection, e.rowIndex, e.tabIndex]), Xt = i.useCallback(function(ke) {
|
|
15730
15730
|
var U = ke.nextElementSibling;
|
|
15731
|
-
return U ? R.getAttribute(U, "data-p-selectable-cell") ? U :
|
|
15731
|
+
return U ? R.getAttribute(U, "data-p-selectable-cell") ? U : Xt(U) : null;
|
|
15732
15732
|
}, []), Tt = i.useCallback(function(ke) {
|
|
15733
15733
|
var U = ke.previousElementSibling;
|
|
15734
15734
|
return U ? R.getAttribute(U, "data-p-selectable-cell") ? U : Tt(U) : null;
|
|
15735
15735
|
}, []), Ut = i.useCallback(function(ke, U) {
|
|
15736
15736
|
var G = ke.parentElement.nextElementSibling, ce = G ? G.children[U] : null;
|
|
15737
15737
|
return G && ce ? R.getAttribute(G, "data-p-selectable-row") && R.getAttribute(ce, "data-p-selectable-cell") ? ce : Ut(ce) : null;
|
|
15738
|
-
}, []),
|
|
15738
|
+
}, []), Jt = i.useCallback(function(ke, U) {
|
|
15739
15739
|
var G = ke.parentElement.previousElementSibling, ce = G ? G.children[U] : null;
|
|
15740
|
-
return G && ce ? R.getAttribute(G, "data-p-selectable-row") && R.getAttribute(ce, "data-p-selectable-cell") ? ce :
|
|
15740
|
+
return G && ce ? R.getAttribute(G, "data-p-selectable-row") && R.getAttribute(ce, "data-p-selectable-cell") ? ce : Jt(ce) : null;
|
|
15741
15741
|
}, []), Kt = i.useCallback(function(ke, U, G, ce) {
|
|
15742
15742
|
clearTimeout(ke.current), ke.current = setTimeout(function() {
|
|
15743
15743
|
if (U) {
|
|
@@ -15843,10 +15843,10 @@ var k2 = /* @__PURE__ */ i.memo(function(e) {
|
|
|
15843
15843
|
ptCallbacks: e.ptCallbacks,
|
|
15844
15844
|
metaData: e.metaData,
|
|
15845
15845
|
unstyled: e.unstyled,
|
|
15846
|
-
findNextSelectableCell:
|
|
15846
|
+
findNextSelectableCell: Xt,
|
|
15847
15847
|
findPrevSelectableCell: Tt,
|
|
15848
15848
|
findDownSelectableCell: Ut,
|
|
15849
|
-
findUpSelectableCell:
|
|
15849
|
+
findUpSelectableCell: Jt,
|
|
15850
15850
|
focusOnElement: Kt,
|
|
15851
15851
|
focusOnInit: an,
|
|
15852
15852
|
updateStickyPosition: cn
|
|
@@ -16112,7 +16112,7 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16112
16112
|
return !F.deepEquals(ne, he);
|
|
16113
16113
|
}
|
|
16114
16114
|
return !0;
|
|
16115
|
-
},
|
|
16115
|
+
}, Xt = function(k, A, B, ne) {
|
|
16116
16116
|
if (e.expandableRowGroups && !ne)
|
|
16117
16117
|
return !1;
|
|
16118
16118
|
var de = F.resolveFieldData(A, e.groupRowsBy), he = k[B + 1];
|
|
@@ -16128,9 +16128,9 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16128
16128
|
d.top !== A && m({
|
|
16129
16129
|
top: A
|
|
16130
16130
|
});
|
|
16131
|
-
},
|
|
16131
|
+
}, Jt = i.useRef(e.selection);
|
|
16132
16132
|
i.useEffect(function() {
|
|
16133
|
-
|
|
16133
|
+
Jt.current = e.selection;
|
|
16134
16134
|
}, [e.selection]);
|
|
16135
16135
|
var Kt = function(k) {
|
|
16136
16136
|
var A = k.originalEvent, B = k.data, ne = k.index, de = k.toggleable, he = k.type;
|
|
@@ -16138,7 +16138,7 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16138
16138
|
data: B,
|
|
16139
16139
|
index: ne
|
|
16140
16140
|
})) {
|
|
16141
|
-
var ft = q(B), st =
|
|
16141
|
+
var ft = q(B), st = Jt.current || [], It = st;
|
|
16142
16142
|
ft ? de && (It = null, En({
|
|
16143
16143
|
originalEvent: A,
|
|
16144
16144
|
data: B,
|
|
@@ -16159,7 +16159,7 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16159
16159
|
data: B,
|
|
16160
16160
|
index: ne
|
|
16161
16161
|
})) {
|
|
16162
|
-
var ft = q(B), st =
|
|
16162
|
+
var ft = q(B), st = Jt.current || [], It = st;
|
|
16163
16163
|
if (ft)
|
|
16164
16164
|
if (de) {
|
|
16165
16165
|
var gn = St(st, B);
|
|
@@ -16222,9 +16222,9 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16222
16222
|
he > E.current ? (ne = E.current, de = he) : he < E.current ? (ne = he, de = E.current) : ne = de = he;
|
|
16223
16223
|
for (var ft = e.value, st = [], It = A; It <= B; It++)
|
|
16224
16224
|
for (var gn = ft[It], Ln = e.columns, dn = e.paginator ? It + e.first : It, nt = ne; nt <= de; nt++) {
|
|
16225
|
-
var
|
|
16225
|
+
var Zt = it(Ln[nt], "field"), Vn = F.resolveFieldData(gn, Zt), yn = {
|
|
16226
16226
|
value: Vn,
|
|
16227
|
-
field:
|
|
16227
|
+
field: Zt,
|
|
16228
16228
|
rowData: gn,
|
|
16229
16229
|
rowIndex: dn,
|
|
16230
16230
|
cellIndex: nt,
|
|
@@ -16597,7 +16597,7 @@ var ws = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
16597
16597
|
}
|
|
16598
16598
|
return null;
|
|
16599
16599
|
}, Qe = function(k, A, B, ne) {
|
|
16600
|
-
if (j &&
|
|
16600
|
+
if (j && Xt(e.value, k, A - e.first, B)) {
|
|
16601
16601
|
var de = F.getJSXElement(e.rowGroupFooterTemplate, k, {
|
|
16602
16602
|
index: A,
|
|
16603
16603
|
colSpan: ne,
|
|
@@ -17217,9 +17217,9 @@ var qd = /* @__PURE__ */ i.memo(function(e) {
|
|
|
17217
17217
|
}, me = function() {
|
|
17218
17218
|
return m("showFilterOperator") && S && S.operator && m("showFilterMenuOptions");
|
|
17219
17219
|
}, Se = function() {
|
|
17220
|
-
return
|
|
17220
|
+
return Jt().length > 1;
|
|
17221
17221
|
}, Q = function() {
|
|
17222
|
-
return m("showAddButton") && S && S.operator &&
|
|
17222
|
+
return m("showAddButton") && S && S.operator && Jt() && Jt().length < m("maxConstraints") && m("showFilterMenuOptions");
|
|
17223
17223
|
}, ee = function(re) {
|
|
17224
17224
|
return !Y(re) && o.current && !(o.current.isSameNode(re) || o.current.contains(re));
|
|
17225
17225
|
}, Y = function(re) {
|
|
@@ -17353,13 +17353,13 @@ var qd = /* @__PURE__ */ i.memo(function(e) {
|
|
|
17353
17353
|
}, qa.on("overlay-click", u.current);
|
|
17354
17354
|
}, rn = function() {
|
|
17355
17355
|
M();
|
|
17356
|
-
},
|
|
17356
|
+
}, Xt = function() {
|
|
17357
17357
|
Ut();
|
|
17358
17358
|
}, Tt = function() {
|
|
17359
17359
|
Zn.clear(o.current);
|
|
17360
17360
|
}, Ut = function() {
|
|
17361
17361
|
O(), qa.off("overlay-click", u.current), u.current = null, c.current = !1;
|
|
17362
|
-
},
|
|
17362
|
+
}, Jt = function() {
|
|
17363
17363
|
return S ? S.constraints || [S] : [];
|
|
17364
17364
|
}, Kt = function() {
|
|
17365
17365
|
return S.operator;
|
|
@@ -17588,7 +17588,7 @@ var qd = /* @__PURE__ */ i.memo(function(e) {
|
|
|
17588
17588
|
}
|
|
17589
17589
|
return null;
|
|
17590
17590
|
}, rt = function() {
|
|
17591
|
-
var re =
|
|
17591
|
+
var re = Jt(), Ee = d({
|
|
17592
17592
|
className: w("filterConstraints")
|
|
17593
17593
|
}, x("filterConstraints")), Ie = d({
|
|
17594
17594
|
className: w("filterConstraint")
|
|
@@ -17711,7 +17711,7 @@ var qd = /* @__PURE__ */ i.memo(function(e) {
|
|
|
17711
17711
|
unmountOnExit: !0,
|
|
17712
17712
|
onEnter: nn,
|
|
17713
17713
|
onEntered: rn,
|
|
17714
|
-
onExit:
|
|
17714
|
+
onExit: Xt,
|
|
17715
17715
|
onExited: Tt
|
|
17716
17716
|
}, x("transition"));
|
|
17717
17717
|
return /* @__PURE__ */ i.createElement(so, null, /* @__PURE__ */ i.createElement(Ro, Hn({
|
|
@@ -18027,7 +18027,7 @@ var N2 = /* @__PURE__ */ i.memo(function(e) {
|
|
|
18027
18027
|
}, x("headerContent"));
|
|
18028
18028
|
return /* @__PURE__ */ i.createElement("div", ie, je, ot, Ct, Rt, Xe);
|
|
18029
18029
|
}, $e = function() {
|
|
18030
|
-
var _ = S(), je = M(), ot = K(), Ct = E("alignHeader") || E("align"), Rt = E("frozen"), Xe = E("sortable") && !_ ? e.tabIndex : null, ie = E("colSpan"), it = E("rowSpan"), pt = O(je), St = E("headerTooltip"), gt = E("headerClassName"), nn = F.isNotEmpty(St), rn = E("headerTooltipOptions"),
|
|
18030
|
+
var _ = S(), je = M(), ot = K(), Ct = E("alignHeader") || E("align"), Rt = E("frozen"), Xe = E("sortable") && !_ ? e.tabIndex : null, ie = E("colSpan"), it = E("rowSpan"), pt = O(je), St = E("headerTooltip"), gt = E("headerClassName"), nn = F.isNotEmpty(St), rn = E("headerTooltipOptions"), Xt = Y(), Tt = Ve(je), Ut = s({
|
|
18031
18031
|
className: Pe(gt, y("headerCell", {
|
|
18032
18032
|
headerProps: e,
|
|
18033
18033
|
frozen: Rt,
|
|
@@ -18072,7 +18072,7 @@ var N2 = /* @__PURE__ */ i.memo(function(e) {
|
|
|
18072
18072
|
}, x("root"), x("headerCell"));
|
|
18073
18073
|
return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("th", Hn({
|
|
18074
18074
|
ref: o
|
|
18075
|
-
}, Ut),
|
|
18075
|
+
}, Ut), Xt, Tt), nn && /* @__PURE__ */ i.createElement(ya, Hn({
|
|
18076
18076
|
target: o,
|
|
18077
18077
|
content: St,
|
|
18078
18078
|
pt: x("tooltip"),
|
|
@@ -18383,7 +18383,7 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
18383
18383
|
Er(ts.css.styles, ie.isUnstyled, {
|
|
18384
18384
|
name: "datatable"
|
|
18385
18385
|
});
|
|
18386
|
-
var it = i.useRef(""), pt = i.useRef(null), St = i.useRef(null), gt = i.useRef(null), nn = i.useRef(null), rn = i.useRef(null),
|
|
18386
|
+
var it = i.useRef(""), pt = i.useRef(null), St = i.useRef(null), gt = i.useRef(null), nn = i.useRef(null), rn = i.useRef(null), Xt = i.useRef(null), Tt = i.useRef(null), Ut = i.useRef(null), Jt = i.useRef(null), Kt = i.useRef(null), an = i.useRef(null), cn = i.useRef(null), Dn = i.useRef(null), un = i.useRef(null), wn = i.useRef(null), hn = i.useRef(null), En = i.useRef(null), An = i.useRef(null), pn = i.useRef(null), ke = i.useRef(null), U = i.useRef(null), G = i.useRef(!1), ce = i.useRef(null), Ke = i.useRef(!1), Ze = i.useRef(null), et = i.useRef(null), yt = i.useRef(null);
|
|
18387
18387
|
r.rows !== We && !r.onPage && (v(r.rows), _(r.rows));
|
|
18388
18388
|
var rt = function(W) {
|
|
18389
18389
|
return G.current && Gr(W);
|
|
@@ -18554,7 +18554,7 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
18554
18554
|
index: xe
|
|
18555
18555
|
})), Te;
|
|
18556
18556
|
}) : W;
|
|
18557
|
-
},
|
|
18557
|
+
}, Zt = function(W) {
|
|
18558
18558
|
if (r.onSelectAllChange)
|
|
18559
18559
|
return r.selectAll;
|
|
18560
18560
|
var le = r.selectionPageOnly ? Ur(W) : W, xe = F.isNotEmpty(r.frozenValue) ? [].concat(rr(r.frozenValue), rr(le)) : le, Te = nt(xe);
|
|
@@ -18690,12 +18690,12 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
18690
18690
|
le.preventDefault();
|
|
18691
18691
|
return;
|
|
18692
18692
|
}
|
|
18693
|
-
r.reorderableColumns && (
|
|
18693
|
+
r.reorderableColumns && (Jt.current = R.getHiddenElementOuterWidth(Tt.current), Kt.current = R.getHiddenElementOuterHeight(Tt.current), Dn.current = xe, cn.current = Ln(le.currentTarget), le.dataTransfer.setData("text", "b"));
|
|
18694
18694
|
}, Tr = function(W) {
|
|
18695
18695
|
var le = W.originalEvent, xe = W.column, Te = Ln(le.currentTarget);
|
|
18696
18696
|
if (r.reorderableColumns && cn.current && Te && !k(xe, "frozen") && (le.preventDefault(), cn.current !== Te)) {
|
|
18697
18697
|
var Be = R.getOffset(pt.current), Le = R.getOffset(Te), _e = Le.left - Be.left, ut = Le.left + Te.offsetWidth / 2, xt = R.index(cn.current), Pt = R.index(Ln(le.currentTarget));
|
|
18698
|
-
Tt.current.style.top = Le.top - Be.top - (Kt.current - 1) + "px", Ut.current.style.top = Le.top - Be.top + Te.offsetHeight + "px", le.pageX > ut && xt < Pt ? (Tt.current.style.left = _e + Te.offsetWidth - Math.ceil(
|
|
18698
|
+
Tt.current.style.top = Le.top - Be.top - (Kt.current - 1) + "px", Ut.current.style.top = Le.top - Be.top + Te.offsetHeight + "px", le.pageX > ut && xt < Pt ? (Tt.current.style.left = _e + Te.offsetWidth - Math.ceil(Jt.current / 2) + "px", Ut.current.style.left = _e + Te.offsetWidth - Math.ceil(Jt.current / 2) + "px", un.current = 1) : xt > Pt && (Tt.current.style.left = _e - Math.ceil(Jt.current / 2) + "px", Ut.current.style.left = _e - Math.ceil(Jt.current / 2) + "px", un.current = -1), Tt.current.style.display = "block", Ut.current.style.display = "block";
|
|
18699
18699
|
}
|
|
18700
18700
|
}, nr = function(W) {
|
|
18701
18701
|
var le = W.originalEvent;
|
|
@@ -19132,7 +19132,7 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
19132
19132
|
return St.current;
|
|
19133
19133
|
},
|
|
19134
19134
|
getVirtualScroller: function() {
|
|
19135
|
-
return
|
|
19135
|
+
return Xt.current;
|
|
19136
19136
|
},
|
|
19137
19137
|
getProcessedData: function() {
|
|
19138
19138
|
return Ir();
|
|
@@ -19195,7 +19195,7 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
19195
19195
|
onFilterChange: mc,
|
|
19196
19196
|
onFilterApply: Ci,
|
|
19197
19197
|
showSelectAll: r.showSelectAll,
|
|
19198
|
-
allRowsSelected:
|
|
19198
|
+
allRowsSelected: Zt,
|
|
19199
19199
|
onColumnCheckboxChange: In,
|
|
19200
19200
|
onColumnMouseDown: wt,
|
|
19201
19201
|
onColumnDragStart: vn,
|
|
@@ -19413,7 +19413,7 @@ var M2 = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
19413
19413
|
return /* @__PURE__ */ i.createElement("div", Hn({
|
|
19414
19414
|
ref: gt
|
|
19415
19415
|
}, _e), /* @__PURE__ */ i.createElement(Ws, Hn({
|
|
19416
|
-
ref:
|
|
19416
|
+
ref: Xt
|
|
19417
19417
|
}, Le, {
|
|
19418
19418
|
items: W,
|
|
19419
19419
|
columns: le,
|
|
@@ -27128,7 +27128,37 @@ function tc({
|
|
|
27128
27128
|
isLoadingMore: v
|
|
27129
27129
|
};
|
|
27130
27130
|
}
|
|
27131
|
-
const f8 = ({
|
|
27131
|
+
const f8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M2.33301 4.08331C2.33301 3.53972 2.33301 3.26792 2.42181 3.05351C2.54023 2.76765 2.76735 2.54053 3.05321 2.42212C3.26761 2.33331 3.53941 2.33331 4.08301 2.33331H9.91634C10.46 2.33331 10.7317 2.33331 10.9462 2.42212C11.232 2.54053 11.4591 2.76765 11.5776 3.05351C11.6663 3.26792 11.6663 3.53972 11.6663 4.08331M5.24967 11.6666H8.74967M6.99967 2.33331V11.6666", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), m8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M12.25 5.83335H1.75M9.33333 1.16669V3.50002M4.66667 1.16669V3.50002M4.55 12.8334H9.45C10.4301 12.8334 10.9201 12.8334 11.2945 12.6426C11.6238 12.4748 11.8915 12.2071 12.0592 11.8779C12.25 11.5035 12.25 11.0135 12.25 10.0334V5.13335C12.25 4.15326 12.25 3.66321 12.0592 3.28887C11.8915 2.95959 11.6238 2.69187 11.2945 2.52409C10.9201 2.33335 10.4301 2.33335 9.45 2.33335H4.55C3.56991 2.33335 3.07986 2.33335 2.70552 2.52409C2.37623 2.69187 2.10852 2.95959 1.94074 3.28887C1.75 3.66321 1.75 4.15326 1.75 5.13335V10.0334C1.75 11.0135 1.75 11.5035 1.94074 11.8779C2.10852 12.2071 2.37623 12.4748 2.70552 12.6426C3.07986 12.8334 3.56991 12.8334 4.55 12.8334Z", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), p8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M2.33301 4.66667H11.6663M2.33301 9.33333H11.6663M4.66634 1.75V12.25M9.33301 1.75V12.25", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), h8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M5.25033 9.91665H4.08366C2.47283 9.91665 1.16699 8.6108 1.16699 6.99998C1.16699 5.38915 2.47283 4.08331 4.08366 4.08331H5.25033M8.75033 9.91665H9.91699C11.5278 9.91665 12.8337 8.6108 12.8337 6.99998C12.8337 5.38915 11.5278 4.08331 9.91699 4.08331H8.75033M4.08366 6.99998H9.91699", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), g8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M1.16699 7C1.16699 5.067 2.73399 3.5 4.66699 3.5H9.33366C11.2667 3.5 12.8337 5.067 12.8337 7C12.8337 8.93299 11.2667 10.5 9.33366 10.5H4.66699C2.73399 10.5 1.16699 8.93299 1.16699 7Z", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M4.66634 8.45835C5.47176 8.45835 6.12467 7.80543 6.12467 7.00002C6.12467 6.19461 5.47176 5.54169 4.66634 5.54169C3.86093 5.54169 3.20801 6.19461 3.20801 7.00002C3.20801 7.80543 3.86093 8.45835 4.66634 8.45835Z", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), v8 = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M4.66667 6L7 8.33333L9.33333 6M4.55 12.25H9.45C10.4301 12.25 10.9201 12.25 11.2945 12.0592C11.6238 11.8915 11.8915 11.6238 12.0592 11.2945C12.25 10.9201 12.25 10.4301 12.25 9.45V4.55C12.25 3.56991 12.25 3.07986 12.0592 2.70552C11.8915 2.37623 11.6238 2.10852 11.2945 1.94074C10.9201 1.75 10.4301 1.75 9.45 1.75H4.55C3.56991 1.75 3.07986 1.75 2.70552 1.94074C2.37623 2.10852 2.10852 2.37623 1.94074 2.70552C1.75 3.07986 1.75 3.56991 1.75 4.55V9.45C1.75 10.4301 1.75 10.9201 1.94074 11.2945C2.10852 11.6238 2.37623 11.8915 2.70552 12.0592C3.07986 12.25 3.56991 12.25 4.55 12.25Z", stroke: "#334155", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), b8 = () => /* @__PURE__ */ f(f8, {}), y8 = () => /* @__PURE__ */ f(m8, {}), C8 = () => /* @__PURE__ */ f(p8, {}), w8 = () => /* @__PURE__ */ f(h8, {}), x8 = () => /* @__PURE__ */ f(g8, {}), E8 = () => /* @__PURE__ */ f(v8, {}), Gt = {
|
|
27132
|
+
COMPANY: "company",
|
|
27133
|
+
CONTACT: "contact"
|
|
27134
|
+
}, S8 = {
|
|
27135
|
+
ACCOUNT: "account"
|
|
27136
|
+
}, sn = {
|
|
27137
|
+
TEXT: "TEXT",
|
|
27138
|
+
NUMBER: "NUMBER",
|
|
27139
|
+
DATE: "DATE",
|
|
27140
|
+
URL: "URL",
|
|
27141
|
+
DROPDOWN: "DROPDOWN",
|
|
27142
|
+
CHIP: "CHIP",
|
|
27143
|
+
BOOLEAN: "BOOLEAN"
|
|
27144
|
+
}, Sf = {
|
|
27145
|
+
HIVER: "hiver"
|
|
27146
|
+
}, A8 = [
|
|
27147
|
+
{ label: "Text", value: sn.TEXT, getIcon: b8 },
|
|
27148
|
+
{ label: "Number", value: sn.NUMBER, getIcon: C8 },
|
|
27149
|
+
{ label: "Dropdown", value: sn.DROPDOWN, getIcon: E8 },
|
|
27150
|
+
{ label: "Date", value: sn.DATE, getIcon: y8 },
|
|
27151
|
+
{ label: "Url", value: sn.URL, getIcon: w8 },
|
|
27152
|
+
{ label: "Yes or no", value: sn.BOOLEAN, getIcon: x8 }
|
|
27153
|
+
], O8 = {
|
|
27154
|
+
type: sn.TEXT,
|
|
27155
|
+
dropdown_values: [],
|
|
27156
|
+
display_name: "",
|
|
27157
|
+
description: ""
|
|
27158
|
+
}, Fp = [
|
|
27159
|
+
{ label: "Yes", value: !0 },
|
|
27160
|
+
{ label: "No", value: !1 }
|
|
27161
|
+
], k8 = ({
|
|
27132
27162
|
conversationId: e,
|
|
27133
27163
|
contactId: n,
|
|
27134
27164
|
conversationMembers: t
|
|
@@ -27156,7 +27186,7 @@ const f8 = ({
|
|
|
27156
27186
|
const L = O[0]?.type || "email";
|
|
27157
27187
|
return Array.from({ length: 3 }, (te, J) => /* @__PURE__ */ f("div", { "data-conversation-shimmer": !0, children: /* @__PURE__ */ f(Gs, { size: "small", type: L }) }, `shimmer-${J}`));
|
|
27158
27188
|
}, [M, O]), T = ia((j) => {
|
|
27159
|
-
j && h?.setCFNode?.(j);
|
|
27189
|
+
j && h?.setCFNode?.(j, Gt.CONTACT);
|
|
27160
27190
|
}, [h]);
|
|
27161
27191
|
return tc({
|
|
27162
27192
|
wrapperRef: a,
|
|
@@ -27305,9 +27335,9 @@ const f8 = ({
|
|
|
27305
27335
|
has_contacts: e?.has_contacts,
|
|
27306
27336
|
has_conversations: e?.has_conversations
|
|
27307
27337
|
}
|
|
27308
|
-
})).data,
|
|
27338
|
+
})).data, I8 = async (e) => (await Qn.post(or.COMPANIES_WITH_FILTERS, e)).data, P8 = async (e) => (await Qn.get(
|
|
27309
27339
|
`/v1/companies/${e}/summary`
|
|
27310
|
-
)).data,
|
|
27340
|
+
)).data, Af = async (e, n) => (await Qn.get(
|
|
27311
27341
|
`/v1/companies/${e}/conversations`,
|
|
27312
27342
|
{
|
|
27313
27343
|
params: {
|
|
@@ -27379,7 +27409,7 @@ const f8 = ({
|
|
|
27379
27409
|
summaryErrors: { ...a.summaryErrors, [t]: null }
|
|
27380
27410
|
}));
|
|
27381
27411
|
try {
|
|
27382
|
-
const a = await
|
|
27412
|
+
const a = await P8(t);
|
|
27383
27413
|
e((r) => ({
|
|
27384
27414
|
summaries: { ...r.summaries, [t]: a.data },
|
|
27385
27415
|
summaryLoading: { ...r.summaryLoading, [t]: !1 }
|
|
@@ -27400,7 +27430,7 @@ const f8 = ({
|
|
|
27400
27430
|
conversationsErrors: { ...r.conversationsErrors, [t]: null }
|
|
27401
27431
|
}));
|
|
27402
27432
|
try {
|
|
27403
|
-
const r = await
|
|
27433
|
+
const r = await Af(t, a);
|
|
27404
27434
|
e((o) => ({
|
|
27405
27435
|
conversations: { ...o.conversations, [t]: r.data },
|
|
27406
27436
|
conversationsLoading: { ...o.conversationsLoading, [t]: !1 }
|
|
@@ -27430,7 +27460,7 @@ const f8 = ({
|
|
|
27430
27460
|
conversationsErrors: { ...l.conversationsErrors, [t]: null }
|
|
27431
27461
|
}));
|
|
27432
27462
|
try {
|
|
27433
|
-
const s = (o?.page_number ?? 0) + 1, c = await
|
|
27463
|
+
const s = (o?.page_number ?? 0) + 1, c = await Af(t, { ...a, page_number: s });
|
|
27434
27464
|
e((u) => {
|
|
27435
27465
|
if (!u.conversations[t])
|
|
27436
27466
|
return {
|
|
@@ -27460,7 +27490,7 @@ const f8 = ({
|
|
|
27460
27490
|
}
|
|
27461
27491
|
},
|
|
27462
27492
|
setData: (t) => e({ data: t })
|
|
27463
|
-
})),
|
|
27493
|
+
})), D8 = ({
|
|
27464
27494
|
accountId: e,
|
|
27465
27495
|
conversationId: n
|
|
27466
27496
|
}) => {
|
|
@@ -27485,7 +27515,7 @@ const f8 = ({
|
|
|
27485
27515
|
const P = h[0]?.type || "email";
|
|
27486
27516
|
return Array.from({ length: 3 }, (S, E) => /* @__PURE__ */ f("div", { "data-conversation-shimmer": !0, children: /* @__PURE__ */ f(Gs, { size: "small", type: P }) }, `shimmer-${E}`));
|
|
27487
27517
|
}, [y, h]), w = ia((x) => {
|
|
27488
|
-
x && d?.setCFNode?.(x);
|
|
27518
|
+
x && d?.setCFNode?.(x, Gt.COMPANY);
|
|
27489
27519
|
}, [d]);
|
|
27490
27520
|
return tc({
|
|
27491
27521
|
wrapperRef: t,
|
|
@@ -27504,7 +27534,7 @@ const f8 = ({
|
|
|
27504
27534
|
] }),
|
|
27505
27535
|
/* @__PURE__ */ Z("div", { className: "cm:flex cm:flex-col cm:gap-1", children: [
|
|
27506
27536
|
v && /* @__PURE__ */ f(
|
|
27507
|
-
|
|
27537
|
+
Of,
|
|
27508
27538
|
{
|
|
27509
27539
|
icon: "domain",
|
|
27510
27540
|
label: "Domain",
|
|
@@ -27512,7 +27542,7 @@ const f8 = ({
|
|
|
27512
27542
|
}
|
|
27513
27543
|
),
|
|
27514
27544
|
/* @__PURE__ */ f(
|
|
27515
|
-
|
|
27545
|
+
Of,
|
|
27516
27546
|
{
|
|
27517
27547
|
icon: "contacts",
|
|
27518
27548
|
label: "Contact",
|
|
@@ -27573,7 +27603,7 @@ const f8 = ({
|
|
|
27573
27603
|
icon: "hiver-bee"
|
|
27574
27604
|
}
|
|
27575
27605
|
) });
|
|
27576
|
-
},
|
|
27606
|
+
}, Of = ({ icon: e, label: n, value: t }) => /* @__PURE__ */ Z("div", { className: "cm:flex cm:gap-3 cm:items-center cm:h-[38px]", children: [
|
|
27577
27607
|
/* @__PURE__ */ Z("div", { className: "cm:flex cm:gap-2 cm:items-center cm:min-w-[90px]", children: [
|
|
27578
27608
|
/* @__PURE__ */ f(va, { name: e, size: 14, color: "#64758b" }),
|
|
27579
27609
|
/* @__PURE__ */ f("span", { className: "cm:text-sm cm:text-slate-text-subtle cm:leading-5", children: n })
|
|
@@ -27585,7 +27615,7 @@ const f8 = ({
|
|
|
27585
27615
|
className: "cm:text-sm cm:text-slate-text-body cm:leading-5 cm:truncate"
|
|
27586
27616
|
}
|
|
27587
27617
|
)
|
|
27588
|
-
] }),
|
|
27618
|
+
] }), N8 = ({ className: e, companyId: n, contactId: t, conversationId: a, conversationMembers: r }) => /* @__PURE__ */ f("div", { className: `cm:flex cm:flex-col cm:h-full bg-white [&_.p-tabview-panels]:p-0 ${e || ""}`, children: /* @__PURE__ */ f(R8, { accountId: n, contactId: t, conversationId: a, conversationMembers: r }) }), R8 = ({ accountId: e, contactId: n, conversationId: t, conversationMembers: a }) => {
|
|
27589
27619
|
const [r, o] = Et(0);
|
|
27590
27620
|
Yt(() => {
|
|
27591
27621
|
t && (e || n) && o(0);
|
|
@@ -27596,7 +27626,7 @@ const f8 = ({
|
|
|
27596
27626
|
{
|
|
27597
27627
|
label: "Contact",
|
|
27598
27628
|
content: /* @__PURE__ */ f(
|
|
27599
|
-
|
|
27629
|
+
k8,
|
|
27600
27630
|
{
|
|
27601
27631
|
conversationId: t,
|
|
27602
27632
|
contactId: s && !isNaN(s) ? s : void 0,
|
|
@@ -27607,7 +27637,7 @@ const f8 = ({
|
|
|
27607
27637
|
{
|
|
27608
27638
|
label: "Account",
|
|
27609
27639
|
content: /* @__PURE__ */ f(
|
|
27610
|
-
|
|
27640
|
+
D8,
|
|
27611
27641
|
{
|
|
27612
27642
|
accountId: c && !isNaN(c) ? c : void 0,
|
|
27613
27643
|
conversationId: t
|
|
@@ -27659,10 +27689,10 @@ const f8 = ({
|
|
|
27659
27689
|
)
|
|
27660
27690
|
] });
|
|
27661
27691
|
};
|
|
27662
|
-
var Ko = {},
|
|
27663
|
-
function
|
|
27664
|
-
if (
|
|
27665
|
-
|
|
27692
|
+
var Ko = {}, kf;
|
|
27693
|
+
function M8() {
|
|
27694
|
+
if (kf) return Ko;
|
|
27695
|
+
kf = 1;
|
|
27666
27696
|
var e = Jo;
|
|
27667
27697
|
if (process.env.NODE_ENV === "production")
|
|
27668
27698
|
Ko.createRoot = e.createRoot, Ko.hydrateRoot = e.hydrateRoot;
|
|
@@ -27686,8 +27716,8 @@ function b8() {
|
|
|
27686
27716
|
}
|
|
27687
27717
|
return Ko;
|
|
27688
27718
|
}
|
|
27689
|
-
var
|
|
27690
|
-
const
|
|
27719
|
+
var T8 = M8();
|
|
27720
|
+
const F8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='14'%20viewBox='0%200%2015%2014'%20fill='none'%3e%3cpath%20d='M4.31657%205.98372H2.38324C2.00987%205.98372%201.82318%205.98372%201.68058%206.05639C1.55514%206.12032%201.45315%206.22226%201.38923%206.34772C1.31657%206.49032%201.31657%206.67699%201.31657%207.05039V12.6504M10.3166%205.98372H12.2499C12.6233%205.98372%2012.81%205.98372%2012.9526%206.05639C13.078%206.12032%2013.18%206.22226%2013.2439%206.34772C13.3166%206.49032%2013.3166%206.67699%2013.3166%207.05039V12.6504M10.3166%2012.6504V2.78372C10.3166%202.03699%2010.3166%201.66362%2010.1712%201.3784C10.0434%201.12752%209.83944%200.923544%209.58857%200.795717C9.30337%200.650391%208.92997%200.650391%208.18324%200.650391H6.4499C5.70316%200.650391%205.3298%200.650391%205.04458%200.795717C4.7937%200.923544%204.58972%201.12752%204.4619%201.3784C4.31657%201.66362%204.31657%202.03699%204.31657%202.78372V12.6504M13.9832%2012.6504H0.649902M6.6499%203.31706H7.98324M6.6499%205.98372H7.98324M6.6499%208.65039H7.98324'%20stroke='%23334155'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", L8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.3333%2014C13.3333%2013.0696%2013.3333%2012.6045%2013.2185%2012.2259C12.96%2011.3737%2012.293%2010.7067%2011.4407%2010.4481C11.0622%2010.3333%2010.597%2010.3333%209.66663%2010.3333H6.33329C5.40292%2010.3333%204.93773%2010.3333%204.5592%2010.4481C3.70693%2010.7067%203.03999%2011.3737%202.78145%2012.2259C2.66663%2012.6045%202.66663%2013.0696%202.66663%2014M11%205C11%206.65685%209.65683%208%207.99996%208C6.34311%208%204.99996%206.65685%204.99996%205C4.99996%203.34315%206.34311%202%207.99996%202C9.65683%202%2011%203.34315%2011%205Z'%20stroke='%23334155'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Lp = async (e) => (await Qn.get("/v1/search", {
|
|
27691
27721
|
params: {
|
|
27692
27722
|
text: e?.text ?? "",
|
|
27693
27723
|
page_number: e?.page_number ?? 1,
|
|
@@ -27696,8 +27726,8 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27696
27726
|
}
|
|
27697
27727
|
})).data, GA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27698
27728
|
__proto__: null,
|
|
27699
|
-
search:
|
|
27700
|
-
}, Symbol.toStringTag, { value: "Module" })), us = ({ className: e = "" }) => /* @__PURE__ */ f("div", { className: `cm:bg-slate-surface-subtle-100 cm:animate-pulse ${e}` }),
|
|
27729
|
+
search: Lp
|
|
27730
|
+
}, Symbol.toStringTag, { value: "Module" })), us = ({ className: e = "" }) => /* @__PURE__ */ f("div", { className: `cm:bg-slate-surface-subtle-100 cm:animate-pulse ${e}` }), B8 = () => {
|
|
27701
27731
|
const e = [
|
|
27702
27732
|
{ textWidth: "cm:w-20", lastWidth: "cm:w-15" },
|
|
27703
27733
|
{ textWidth: "cm:w-27.5", lastWidth: "cm:w-20" }
|
|
@@ -27711,7 +27741,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27711
27741
|
/* @__PURE__ */ f(us, { className: `${t.lastWidth} cm:h-5 cm:rounded-[4px]` })
|
|
27712
27742
|
] }, a)) })
|
|
27713
27743
|
] }, n)) });
|
|
27714
|
-
},
|
|
27744
|
+
}, If = (e, n) => {
|
|
27715
27745
|
if (!n.trim())
|
|
27716
27746
|
return e;
|
|
27717
27747
|
const t = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), a = new RegExp(`(${t})`, "gi");
|
|
@@ -27724,10 +27754,10 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27724
27754
|
},
|
|
27725
27755
|
l
|
|
27726
27756
|
) : /* @__PURE__ */ f(Ht.Fragment, { children: o }, l));
|
|
27727
|
-
},
|
|
27757
|
+
}, Pf = () => /* @__PURE__ */ f("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ Z("div", { className: "cm:flex cm:flex-col cm:items-center cm:justify-center cm:gap-6", children: [
|
|
27728
27758
|
/* @__PURE__ */ f(va, { name: "search_typing", size: 64, type: "active", color: "#0F172A" }),
|
|
27729
27759
|
/* @__PURE__ */ f("div", { className: "cm:text-label-small cm:text-slate-text-subtle", children: "Start typing to search" })
|
|
27730
|
-
] }) }),
|
|
27760
|
+
] }) }), j8 = ({ searchResults: e, searchQuery: n, onNavigate: t, onClose: a, callbacks: r }) => {
|
|
27731
27761
|
const o = e.filter((s) => s.type === "company"), l = e.filter((s) => s.type === "contact");
|
|
27732
27762
|
return /* @__PURE__ */ Z("div", { children: [
|
|
27733
27763
|
o.length > 0 && /* @__PURE__ */ Z("div", { className: "cm:mb-4", children: [
|
|
@@ -27741,8 +27771,8 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27741
27771
|
return /* @__PURE__ */ Z("div", { className: "cm:flex cm:py-1.5 cm:px-2 cm:gap-2 cm:items-center cm:min-w-0 cm:cursor-pointer cm:rounded-[8px] cm:hover:bg-slate-surface-subtle-100 cm:transition-colors cm:-ml-2", style: { width: "calc(100% + 16px)" }, onClick: () => {
|
|
27742
27772
|
r?.sendGainsightEvent?.(Mr.CUSTOMER_SEARCH_RESULTS_CLICKED), t(`/accounts/${s.id}`), a();
|
|
27743
27773
|
}, children: [
|
|
27744
|
-
/* @__PURE__ */ f("img", { src:
|
|
27745
|
-
/* @__PURE__ */ f("div", { className: "cm:text-slate-text-title cm:text-sm cm:font-medium cm:leading-5 cm:truncate cm:block cm:min-w-0", children:
|
|
27774
|
+
/* @__PURE__ */ f("img", { src: F8, alt: "Buildings", className: "cm:shrink-0 cm:w-4 cm:h-4" }),
|
|
27775
|
+
/* @__PURE__ */ f("div", { className: "cm:text-slate-text-title cm:text-sm cm:font-medium cm:leading-5 cm:truncate cm:block cm:min-w-0", children: If(c, n) }),
|
|
27746
27776
|
s.domains.length > 0 && s.domains[0].name && /* @__PURE__ */ Z(qn, { children: [
|
|
27747
27777
|
/* @__PURE__ */ f("div", { className: "cm:w-px cm:h-3 cm:bg-slate-border-light cm:shrink-0" }),
|
|
27748
27778
|
/* @__PURE__ */ f(
|
|
@@ -27773,8 +27803,8 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27773
27803
|
r?.sendGainsightEvent?.(Mr.CUSTOMER_SEARCH_RESULTS_CLICKED), t(`/contacts/${s.id}`), a();
|
|
27774
27804
|
},
|
|
27775
27805
|
children: [
|
|
27776
|
-
/* @__PURE__ */ f("img", { src:
|
|
27777
|
-
/* @__PURE__ */ f("div", { className: "cm:text-slate-text-title cm:text-sm cm:font-medium cm:leading-5 cm:truncate cm:block cm:min-w-0", children:
|
|
27806
|
+
/* @__PURE__ */ f("img", { src: L8, alt: "Contacts", className: "cm:shrink-0 cm:w-4 cm:h-4" }),
|
|
27807
|
+
/* @__PURE__ */ f("div", { className: "cm:text-slate-text-title cm:text-sm cm:font-medium cm:leading-5 cm:truncate cm:block cm:min-w-0", children: If(c, n) }),
|
|
27778
27808
|
s.email && /* @__PURE__ */ Z(qn, { children: [
|
|
27779
27809
|
/* @__PURE__ */ f("div", { className: "cm:w-px cm:h-3 cm:bg-slate-border-light cm:shrink-0" }),
|
|
27780
27810
|
/* @__PURE__ */ f(
|
|
@@ -27792,7 +27822,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27792
27822
|
})
|
|
27793
27823
|
] })
|
|
27794
27824
|
] });
|
|
27795
|
-
},
|
|
27825
|
+
}, H8 = ({ open: e, onClose: n }) => {
|
|
27796
27826
|
const [t, a] = Et(""), [r, o] = Et([]), [l, s] = Et(!1), c = tn(null), u = ka(), d = en((y) => y.callbacks), m = () => {
|
|
27797
27827
|
a(""), o([]), s(!1), n();
|
|
27798
27828
|
};
|
|
@@ -27803,7 +27833,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27803
27833
|
}
|
|
27804
27834
|
return s(!0), c.current = setTimeout(async () => {
|
|
27805
27835
|
try {
|
|
27806
|
-
const y = await
|
|
27836
|
+
const y = await Lp({
|
|
27807
27837
|
text: t.trim(),
|
|
27808
27838
|
page_number: 1,
|
|
27809
27839
|
page_size: 20
|
|
@@ -27889,8 +27919,8 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27889
27919
|
),
|
|
27890
27920
|
maskClassName: "cm-root cm-search-dialog-mask",
|
|
27891
27921
|
className: "cm:bg-slate-surface-white cm:h-[360px] cm:w-[510px]",
|
|
27892
|
-
children: t.trim() === "" ? /* @__PURE__ */ f(
|
|
27893
|
-
|
|
27922
|
+
children: t.trim() === "" ? /* @__PURE__ */ f(Pf, {}) : l ? /* @__PURE__ */ f(B8, {}) : r.length === 0 ? /* @__PURE__ */ f(Pf, {}) : /* @__PURE__ */ f(
|
|
27923
|
+
j8,
|
|
27894
27924
|
{
|
|
27895
27925
|
searchResults: r,
|
|
27896
27926
|
searchQuery: t,
|
|
@@ -27902,7 +27932,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27902
27932
|
}
|
|
27903
27933
|
)
|
|
27904
27934
|
] });
|
|
27905
|
-
}, ba = (e) => en((t) => t.features)?.[e] ?? !1,
|
|
27935
|
+
}, ba = (e) => en((t) => t.features)?.[e] ?? !1, V8 = ({ children: e }) => {
|
|
27906
27936
|
const [n, t] = Et(!1), a = Vs(), r = a.pathname === "/" || a.pathname === "/accounts" || a.pathname === "/contacts", o = en((d) => d.callbacks), l = tn(null), s = ba(la.CUSTOM_FIELDS_ENABLED), c = { backgroundColor: "rgb(249, 250, 252)" };
|
|
27907
27937
|
return Yt(() => {
|
|
27908
27938
|
const d = () => {
|
|
@@ -27956,7 +27986,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27956
27986
|
}
|
|
27957
27987
|
),
|
|
27958
27988
|
/* @__PURE__ */ f(
|
|
27959
|
-
|
|
27989
|
+
H8,
|
|
27960
27990
|
{
|
|
27961
27991
|
open: n,
|
|
27962
27992
|
onClose: () => {
|
|
@@ -27966,7 +27996,7 @@ const C8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
27966
27996
|
)
|
|
27967
27997
|
] });
|
|
27968
27998
|
};
|
|
27969
|
-
function
|
|
27999
|
+
function z8() {
|
|
27970
28000
|
const e = Vs(), n = ka(), a = ["/accounts", "/contacts"].findIndex(
|
|
27971
28001
|
(s) => e.pathname.startsWith(s)
|
|
27972
28002
|
), r = (s) => s === a, o = [
|
|
@@ -28001,7 +28031,7 @@ function O8() {
|
|
|
28001
28031
|
}, items: o }) })
|
|
28002
28032
|
] });
|
|
28003
28033
|
}
|
|
28004
|
-
function
|
|
28034
|
+
function U8() {
|
|
28005
28035
|
const e = Vs(), n = ka(), t = hr((d) => d.data), a = hr((d) => d.summaries), r = Rr((d) => d.data), o = Rr((d) => d.summaries), l = e.pathname, s = [], c = (d) => {
|
|
28006
28036
|
const m = parseInt(d, 10);
|
|
28007
28037
|
if (isNaN(m)) return "Account";
|
|
@@ -28069,8 +28099,8 @@ function k8() {
|
|
|
28069
28099
|
}
|
|
28070
28100
|
return s;
|
|
28071
28101
|
}
|
|
28072
|
-
const
|
|
28073
|
-
const e =
|
|
28102
|
+
const K8 = () => {
|
|
28103
|
+
const e = U8();
|
|
28074
28104
|
return /* @__PURE__ */ Z(qn, { children: [
|
|
28075
28105
|
/* @__PURE__ */ f("style", { children: `
|
|
28076
28106
|
.cm-root .p-breadcrumb .p-breadcrumb-list li.p-menuitem-separator {
|
|
@@ -28089,14 +28119,14 @@ const I8 = () => {
|
|
|
28089
28119
|
)
|
|
28090
28120
|
] });
|
|
28091
28121
|
};
|
|
28092
|
-
function
|
|
28122
|
+
function W8() {
|
|
28093
28123
|
const e = Vs(), n = e.pathname.includes("/accounts/") || e.pathname.includes("/contacts/");
|
|
28094
|
-
return /* @__PURE__ */ Z(
|
|
28095
|
-
/* @__PURE__ */ f("div", { className: `cm:px-12 cm:shrink-0 ${n ? "" : "cm:pt-2"}`, children: n ? /* @__PURE__ */ f(
|
|
28124
|
+
return /* @__PURE__ */ Z(V8, { children: [
|
|
28125
|
+
/* @__PURE__ */ f("div", { className: `cm:px-12 cm:shrink-0 ${n ? "" : "cm:pt-2"}`, children: n ? /* @__PURE__ */ f(K8, {}) : /* @__PURE__ */ f(z8, {}) }),
|
|
28096
28126
|
/* @__PURE__ */ f("div", { className: "cm:flex-1 cm:flex cm:flex-col cm:min-h-0", children: /* @__PURE__ */ f(oh, {}) })
|
|
28097
28127
|
] });
|
|
28098
28128
|
}
|
|
28099
|
-
const Br = (e) => !e || typeof e == "string" && e.trim() === "" ? "-" : e,
|
|
28129
|
+
const Br = (e) => !e || typeof e == "string" && e.trim() === "" ? "-" : e, q8 = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)}KB` : `${(e / (1024 * 1024)).toFixed(1)}MB`;
|
|
28100
28130
|
function t1({
|
|
28101
28131
|
wrapperRef: e,
|
|
28102
28132
|
tableData: n,
|
|
@@ -28188,7 +28218,7 @@ function t1({
|
|
|
28188
28218
|
isLoadingMore: v
|
|
28189
28219
|
};
|
|
28190
28220
|
}
|
|
28191
|
-
const
|
|
28221
|
+
const Df = () => /* @__PURE__ */ f("div", { className: "cm:h-4 cm:bg-gray-200 cm:rounded cm:w-3/4 cm:animate-pulse" }), Q8 = ({ name: e }) => /* @__PURE__ */ f(ar, { text: e, className: "text-slate-900" }), G8 = ({ domain: e }) => /* @__PURE__ */ f(ar, { text: e, className: "text-slate-900" }), J8 = [
|
|
28192
28222
|
{
|
|
28193
28223
|
id: "name",
|
|
28194
28224
|
field: "nameDisplay",
|
|
@@ -28200,7 +28230,7 @@ const Pf = () => /* @__PURE__ */ f("div", { className: "cm:h-4 cm:bg-gray-200 cm
|
|
|
28200
28230
|
label: "Domain"
|
|
28201
28231
|
}
|
|
28202
28232
|
];
|
|
28203
|
-
function
|
|
28233
|
+
function X8() {
|
|
28204
28234
|
const e = ka(), { data: n, isLoading: t, fetchCompanies: a, fetchNextPage: r } = hr(), o = tn(null), l = en((C) => C.callbacks), [s, c] = Et(!0);
|
|
28205
28235
|
Yt(() => {
|
|
28206
28236
|
c(!0), a().finally(() => {
|
|
@@ -28220,7 +28250,7 @@ function T8() {
|
|
|
28220
28250
|
),
|
|
28221
28251
|
domain: Br(y.domains[0]?.name || y.generated_name),
|
|
28222
28252
|
nameDisplay: /* @__PURE__ */ f(
|
|
28223
|
-
|
|
28253
|
+
Q8,
|
|
28224
28254
|
{
|
|
28225
28255
|
name: Br(
|
|
28226
28256
|
y.generated_name ? y.generated_name : y.name
|
|
@@ -28228,7 +28258,7 @@ function T8() {
|
|
|
28228
28258
|
}
|
|
28229
28259
|
),
|
|
28230
28260
|
domainDisplay: /* @__PURE__ */ f(
|
|
28231
|
-
|
|
28261
|
+
G8,
|
|
28232
28262
|
{
|
|
28233
28263
|
domain: Br(
|
|
28234
28264
|
y.domains[0]?.name || y.generated_name
|
|
@@ -28242,8 +28272,8 @@ function T8() {
|
|
|
28242
28272
|
id: `shimmer-${b}`,
|
|
28243
28273
|
name: "",
|
|
28244
28274
|
domain: "",
|
|
28245
|
-
nameDisplay: /* @__PURE__ */ f(
|
|
28246
|
-
domainDisplay: /* @__PURE__ */ f(
|
|
28275
|
+
nameDisplay: /* @__PURE__ */ f(Df, {}),
|
|
28276
|
+
domainDisplay: /* @__PURE__ */ f(Df, {}),
|
|
28247
28277
|
isShimmerRow: !0,
|
|
28248
28278
|
isNoDataRow: !0
|
|
28249
28279
|
}));
|
|
@@ -28282,17 +28312,17 @@ function T8() {
|
|
|
28282
28312
|
scrollable: !0,
|
|
28283
28313
|
scrollHeight: "calc(var(--cm-container-height, 100vh) - 160px)",
|
|
28284
28314
|
value: d,
|
|
28285
|
-
columns:
|
|
28315
|
+
columns: J8,
|
|
28286
28316
|
onRowClick: v,
|
|
28287
28317
|
loading: !1
|
|
28288
28318
|
}
|
|
28289
28319
|
) })
|
|
28290
28320
|
] });
|
|
28291
28321
|
}
|
|
28292
|
-
const
|
|
28293
|
-
function
|
|
28322
|
+
const Z8 = (e) => e ?? null;
|
|
28323
|
+
function Bp({
|
|
28294
28324
|
callback: e,
|
|
28295
|
-
selectTargetNode: n =
|
|
28325
|
+
selectTargetNode: n = Z8,
|
|
28296
28326
|
rootMargin: t = "0px",
|
|
28297
28327
|
threshold: a = 0
|
|
28298
28328
|
}) {
|
|
@@ -28326,7 +28356,7 @@ function Lp({
|
|
|
28326
28356
|
unobserve: d
|
|
28327
28357
|
};
|
|
28328
28358
|
}
|
|
28329
|
-
const
|
|
28359
|
+
const jp = (e, n) => {
|
|
28330
28360
|
const [t, a] = Et(e);
|
|
28331
28361
|
return Yt(() => {
|
|
28332
28362
|
const r = setTimeout(() => {
|
|
@@ -28351,7 +28381,7 @@ var gi = class {
|
|
|
28351
28381
|
}
|
|
28352
28382
|
onUnsubscribe() {
|
|
28353
28383
|
}
|
|
28354
|
-
},
|
|
28384
|
+
}, Y8 = class extends gi {
|
|
28355
28385
|
#t;
|
|
28356
28386
|
#e;
|
|
28357
28387
|
#n;
|
|
@@ -28388,7 +28418,7 @@ var gi = class {
|
|
|
28388
28418
|
isFocused() {
|
|
28389
28419
|
return typeof this.#t == "boolean" ? this.#t : globalThis.document?.visibilityState !== "hidden";
|
|
28390
28420
|
}
|
|
28391
|
-
}, n1 = new
|
|
28421
|
+
}, n1 = new Y8(), _8 = {
|
|
28392
28422
|
// We need the wrapper function syntax below instead of direct references to
|
|
28393
28423
|
// global setTimeout etc.
|
|
28394
28424
|
//
|
|
@@ -28403,7 +28433,7 @@ var gi = class {
|
|
|
28403
28433
|
clearTimeout: (e) => clearTimeout(e),
|
|
28404
28434
|
setInterval: (e, n) => setInterval(e, n),
|
|
28405
28435
|
clearInterval: (e) => clearInterval(e)
|
|
28406
|
-
},
|
|
28436
|
+
}, $8 = class {
|
|
28407
28437
|
// We cannot have TimeoutManager<T> as we must instantiate it with a concrete
|
|
28408
28438
|
// type at app boot; and if we leave that type, then any new timer provider
|
|
28409
28439
|
// would need to support the default provider's concrete timer ID, which is
|
|
@@ -28411,7 +28441,7 @@ var gi = class {
|
|
|
28411
28441
|
//
|
|
28412
28442
|
// We settle for type safety for the TimeoutProvider type, and accept that
|
|
28413
28443
|
// this class is unsafe internally to allow for extension.
|
|
28414
|
-
#t =
|
|
28444
|
+
#t = _8;
|
|
28415
28445
|
#e = !1;
|
|
28416
28446
|
setTimeoutProvider(e) {
|
|
28417
28447
|
process.env.NODE_ENV !== "production" && this.#e && e !== this.#t && console.error(
|
|
@@ -28431,20 +28461,20 @@ var gi = class {
|
|
|
28431
28461
|
clearInterval(e) {
|
|
28432
28462
|
this.#t.clearInterval(e);
|
|
28433
28463
|
}
|
|
28434
|
-
}, Ao = new
|
|
28435
|
-
function
|
|
28464
|
+
}, Ao = new $8();
|
|
28465
|
+
function eb(e) {
|
|
28436
28466
|
setTimeout(e, 0);
|
|
28437
28467
|
}
|
|
28438
|
-
var
|
|
28468
|
+
var tb = typeof window > "u" || "Deno" in globalThis;
|
|
28439
28469
|
function Lr() {
|
|
28440
28470
|
}
|
|
28441
|
-
function
|
|
28471
|
+
function nb(e, n) {
|
|
28442
28472
|
return typeof e == "function" ? e(n) : e;
|
|
28443
28473
|
}
|
|
28444
28474
|
function ud(e) {
|
|
28445
28475
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
28446
28476
|
}
|
|
28447
|
-
function
|
|
28477
|
+
function Hp(e, n) {
|
|
28448
28478
|
return Math.max(e + (n || 0) - Date.now(), 0);
|
|
28449
28479
|
}
|
|
28450
28480
|
function io(e, n) {
|
|
@@ -28453,7 +28483,7 @@ function io(e, n) {
|
|
|
28453
28483
|
function $r(e, n) {
|
|
28454
28484
|
return typeof e == "function" ? e(n) : e;
|
|
28455
28485
|
}
|
|
28456
|
-
function
|
|
28486
|
+
function Nf(e, n) {
|
|
28457
28487
|
const {
|
|
28458
28488
|
type: t = "all",
|
|
28459
28489
|
exact: a,
|
|
@@ -28476,7 +28506,7 @@ function Df(e, n) {
|
|
|
28476
28506
|
}
|
|
28477
28507
|
return !(typeof s == "boolean" && n.isStale() !== s || r && r !== n.state.fetchStatus || o && !o(n));
|
|
28478
28508
|
}
|
|
28479
|
-
function
|
|
28509
|
+
function Rf(e, n) {
|
|
28480
28510
|
const { exact: t, status: a, predicate: r, mutationKey: o } = e;
|
|
28481
28511
|
if (o) {
|
|
28482
28512
|
if (!n.options.mutationKey)
|
|
@@ -28501,19 +28531,19 @@ function No(e) {
|
|
|
28501
28531
|
function dl(e, n) {
|
|
28502
28532
|
return e === n ? !0 : typeof e != typeof n ? !1 : e && n && typeof e == "object" && typeof n == "object" ? Object.keys(n).every((t) => dl(e[t], n[t])) : !1;
|
|
28503
28533
|
}
|
|
28504
|
-
var
|
|
28534
|
+
var rb = Object.prototype.hasOwnProperty;
|
|
28505
28535
|
function dd(e, n, t = 0) {
|
|
28506
28536
|
if (e === n)
|
|
28507
28537
|
return e;
|
|
28508
28538
|
if (t > 500) return n;
|
|
28509
|
-
const a =
|
|
28539
|
+
const a = Mf(e) && Mf(n);
|
|
28510
28540
|
if (!a && !(fd(e) && fd(n))) return n;
|
|
28511
28541
|
const o = (a ? e : Object.keys(e)).length, l = a ? n : Object.keys(n), s = l.length, c = a ? new Array(s) : {};
|
|
28512
28542
|
let u = 0;
|
|
28513
28543
|
for (let d = 0; d < s; d++) {
|
|
28514
28544
|
const m = a ? d : l[d], v = e[m], C = n[m];
|
|
28515
28545
|
if (v === C) {
|
|
28516
|
-
c[m] = v, (a ? d < o :
|
|
28546
|
+
c[m] = v, (a ? d < o : rb.call(e, m)) && u++;
|
|
28517
28547
|
continue;
|
|
28518
28548
|
}
|
|
28519
28549
|
if (v === null || C === null || typeof v != "object" || typeof C != "object") {
|
|
@@ -28533,22 +28563,22 @@ function Ts(e, n) {
|
|
|
28533
28563
|
return !1;
|
|
28534
28564
|
return !0;
|
|
28535
28565
|
}
|
|
28536
|
-
function
|
|
28566
|
+
function Mf(e) {
|
|
28537
28567
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
28538
28568
|
}
|
|
28539
28569
|
function fd(e) {
|
|
28540
|
-
if (!
|
|
28570
|
+
if (!Tf(e))
|
|
28541
28571
|
return !1;
|
|
28542
28572
|
const n = e.constructor;
|
|
28543
28573
|
if (n === void 0)
|
|
28544
28574
|
return !0;
|
|
28545
28575
|
const t = n.prototype;
|
|
28546
|
-
return !(!
|
|
28576
|
+
return !(!Tf(t) || !t.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
28547
28577
|
}
|
|
28548
|
-
function
|
|
28578
|
+
function Tf(e) {
|
|
28549
28579
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
28550
28580
|
}
|
|
28551
|
-
function
|
|
28581
|
+
function ab(e) {
|
|
28552
28582
|
return new Promise((n) => {
|
|
28553
28583
|
Ao.setTimeout(n, e);
|
|
28554
28584
|
});
|
|
@@ -28569,16 +28599,16 @@ function md(e, n, t) {
|
|
|
28569
28599
|
}
|
|
28570
28600
|
return n;
|
|
28571
28601
|
}
|
|
28572
|
-
function
|
|
28602
|
+
function ob(e, n, t = 0) {
|
|
28573
28603
|
const a = [...e, n];
|
|
28574
28604
|
return t && a.length > t ? a.slice(1) : a;
|
|
28575
28605
|
}
|
|
28576
|
-
function
|
|
28606
|
+
function ib(e, n, t = 0) {
|
|
28577
28607
|
const a = [n, ...e];
|
|
28578
28608
|
return t && a.length > t ? a.slice(0, -1) : a;
|
|
28579
28609
|
}
|
|
28580
28610
|
var Fs = /* @__PURE__ */ Symbol();
|
|
28581
|
-
function
|
|
28611
|
+
function Vp(e, n) {
|
|
28582
28612
|
return process.env.NODE_ENV !== "production" && e.queryFn === Fs && console.error(
|
|
28583
28613
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
|
28584
28614
|
), !e.queryFn && n?.initialPromise ? () => n.initialPromise : !e.queryFn || e.queryFn === Fs ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
@@ -28586,7 +28616,7 @@ function Hp(e, n) {
|
|
|
28586
28616
|
function a1(e, n) {
|
|
28587
28617
|
return typeof e == "function" ? e(...n) : !!e;
|
|
28588
28618
|
}
|
|
28589
|
-
function
|
|
28619
|
+
function lb(e, n, t) {
|
|
28590
28620
|
let a = !1, r;
|
|
28591
28621
|
return Object.defineProperty(e, "signal", {
|
|
28592
28622
|
enumerable: !0,
|
|
@@ -28594,7 +28624,7 @@ function Q8(e, n, t) {
|
|
|
28594
28624
|
}), e;
|
|
28595
28625
|
}
|
|
28596
28626
|
var fl = /* @__PURE__ */ (() => {
|
|
28597
|
-
let e = () =>
|
|
28627
|
+
let e = () => tb;
|
|
28598
28628
|
return {
|
|
28599
28629
|
/**
|
|
28600
28630
|
* Returns whether the current runtime should be treated as a server environment.
|
|
@@ -28632,13 +28662,13 @@ function pd() {
|
|
|
28632
28662
|
}), n(r);
|
|
28633
28663
|
}, t;
|
|
28634
28664
|
}
|
|
28635
|
-
var
|
|
28636
|
-
function
|
|
28665
|
+
var sb = eb;
|
|
28666
|
+
function cb() {
|
|
28637
28667
|
let e = [], n = 0, t = (s) => {
|
|
28638
28668
|
s();
|
|
28639
28669
|
}, a = (s) => {
|
|
28640
28670
|
s();
|
|
28641
|
-
}, r =
|
|
28671
|
+
}, r = sb;
|
|
28642
28672
|
const o = (s) => {
|
|
28643
28673
|
n ? e.push(s) : r(() => {
|
|
28644
28674
|
t(s);
|
|
@@ -28692,7 +28722,7 @@ function J8() {
|
|
|
28692
28722
|
}
|
|
28693
28723
|
};
|
|
28694
28724
|
}
|
|
28695
|
-
var gr =
|
|
28725
|
+
var gr = cb(), ub = class extends gi {
|
|
28696
28726
|
#t = !0;
|
|
28697
28727
|
#e;
|
|
28698
28728
|
#n;
|
|
@@ -28723,11 +28753,11 @@ var gr = J8(), X8 = class extends gi {
|
|
|
28723
28753
|
isOnline() {
|
|
28724
28754
|
return this.#t;
|
|
28725
28755
|
}
|
|
28726
|
-
}, Ls = new
|
|
28727
|
-
function
|
|
28756
|
+
}, Ls = new ub();
|
|
28757
|
+
function db(e) {
|
|
28728
28758
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
28729
28759
|
}
|
|
28730
|
-
function
|
|
28760
|
+
function zp(e) {
|
|
28731
28761
|
return (e ?? "online") === "online" ? Ls.isOnline() : !0;
|
|
28732
28762
|
}
|
|
28733
28763
|
var hd = class extends Error {
|
|
@@ -28735,7 +28765,7 @@ var hd = class extends Error {
|
|
|
28735
28765
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
28736
28766
|
}
|
|
28737
28767
|
};
|
|
28738
|
-
function
|
|
28768
|
+
function Up(e) {
|
|
28739
28769
|
let n = !1, t = 0, a;
|
|
28740
28770
|
const r = pd(), o = () => r.status !== "pending", l = (h) => {
|
|
28741
28771
|
if (!o()) {
|
|
@@ -28746,7 +28776,7 @@ function zp(e) {
|
|
|
28746
28776
|
n = !0;
|
|
28747
28777
|
}, c = () => {
|
|
28748
28778
|
n = !1;
|
|
28749
|
-
}, u = () => n1.isFocused() && (e.networkMode === "always" || Ls.isOnline()) && e.canRun(), d = () =>
|
|
28779
|
+
}, u = () => n1.isFocused() && (e.networkMode === "always" || Ls.isOnline()) && e.canRun(), d = () => zp(e.networkMode) && e.canRun(), m = (h) => {
|
|
28750
28780
|
o() || (a?.(), r.resolve(h));
|
|
28751
28781
|
}, v = (h) => {
|
|
28752
28782
|
o() || (a?.(), r.reject(h));
|
|
@@ -28769,12 +28799,12 @@ function zp(e) {
|
|
|
28769
28799
|
Promise.resolve(h).then(m).catch((w) => {
|
|
28770
28800
|
if (o())
|
|
28771
28801
|
return;
|
|
28772
|
-
const x = e.retry ?? (fl.isServer() ? 0 : 3), P = e.retryDelay ??
|
|
28802
|
+
const x = e.retry ?? (fl.isServer() ? 0 : 3), P = e.retryDelay ?? db, S = typeof P == "function" ? P(t, w) : P, E = x === !0 || typeof x == "number" && t < x || typeof x == "function" && x(t, w);
|
|
28773
28803
|
if (n || !E) {
|
|
28774
28804
|
v(w);
|
|
28775
28805
|
return;
|
|
28776
28806
|
}
|
|
28777
|
-
t++, e.onFail?.(t, w),
|
|
28807
|
+
t++, e.onFail?.(t, w), ab(S).then(() => u() ? void 0 : C()).then(() => {
|
|
28778
28808
|
n ? v(w) : y();
|
|
28779
28809
|
});
|
|
28780
28810
|
});
|
|
@@ -28790,7 +28820,7 @@ function zp(e) {
|
|
|
28790
28820
|
start: () => (d() ? y() : C().then(y), r)
|
|
28791
28821
|
};
|
|
28792
28822
|
}
|
|
28793
|
-
var
|
|
28823
|
+
var Kp = class {
|
|
28794
28824
|
#t;
|
|
28795
28825
|
destroy() {
|
|
28796
28826
|
this.clearGcTimeout();
|
|
@@ -28810,7 +28840,7 @@ var Up = class {
|
|
|
28810
28840
|
this.#t !== void 0 && (Ao.clearTimeout(this.#t), this.#t = void 0);
|
|
28811
28841
|
}
|
|
28812
28842
|
};
|
|
28813
|
-
function
|
|
28843
|
+
function fb(e) {
|
|
28814
28844
|
return {
|
|
28815
28845
|
onFetch: (n, t) => {
|
|
28816
28846
|
const a = n.options, r = n.fetchOptions?.meta?.fetchMore?.direction, o = n.state.data?.pages || [], l = n.state.data?.pageParams || [];
|
|
@@ -28818,12 +28848,12 @@ function Y8(e) {
|
|
|
28818
28848
|
const u = async () => {
|
|
28819
28849
|
let d = !1;
|
|
28820
28850
|
const m = (y) => {
|
|
28821
|
-
|
|
28851
|
+
lb(
|
|
28822
28852
|
y,
|
|
28823
28853
|
() => n.signal,
|
|
28824
28854
|
() => d = !0
|
|
28825
28855
|
);
|
|
28826
|
-
}, v =
|
|
28856
|
+
}, v = Vp(n.options, n.fetchOptions), C = async (y, h, b) => {
|
|
28827
28857
|
if (d)
|
|
28828
28858
|
return Promise.reject(n.signal.reason);
|
|
28829
28859
|
if (h == null && y.pages.length)
|
|
@@ -28837,14 +28867,14 @@ function Y8(e) {
|
|
|
28837
28867
|
meta: n.options.meta
|
|
28838
28868
|
};
|
|
28839
28869
|
return m(K), K;
|
|
28840
|
-
})(), P = await v(x), { maxPages: S } = n.options, E = b ?
|
|
28870
|
+
})(), P = await v(x), { maxPages: S } = n.options, E = b ? ib : ob;
|
|
28841
28871
|
return {
|
|
28842
28872
|
pages: E(y.pages, P, S),
|
|
28843
28873
|
pageParams: E(y.pageParams, h, S)
|
|
28844
28874
|
};
|
|
28845
28875
|
};
|
|
28846
28876
|
if (r && o.length) {
|
|
28847
|
-
const y = r === "backward", h = y ?
|
|
28877
|
+
const y = r === "backward", h = y ? Wp : gd, b = {
|
|
28848
28878
|
pages: o,
|
|
28849
28879
|
pageParams: l
|
|
28850
28880
|
}, w = h(a, b);
|
|
@@ -28882,16 +28912,16 @@ function gd(e, { pages: n, pageParams: t }) {
|
|
|
28882
28912
|
t
|
|
28883
28913
|
) : void 0;
|
|
28884
28914
|
}
|
|
28885
|
-
function
|
|
28915
|
+
function Wp(e, { pages: n, pageParams: t }) {
|
|
28886
28916
|
return n.length > 0 ? e.getPreviousPageParam?.(n[0], n, t[0], t) : void 0;
|
|
28887
28917
|
}
|
|
28888
|
-
function
|
|
28918
|
+
function mb(e, n) {
|
|
28889
28919
|
return n ? gd(e, n) != null : !1;
|
|
28890
28920
|
}
|
|
28891
|
-
function
|
|
28892
|
-
return !n || !e.getPreviousPageParam ? !1 :
|
|
28921
|
+
function pb(e, n) {
|
|
28922
|
+
return !n || !e.getPreviousPageParam ? !1 : Wp(e, n) != null;
|
|
28893
28923
|
}
|
|
28894
|
-
var
|
|
28924
|
+
var hb = class extends Kp {
|
|
28895
28925
|
#t;
|
|
28896
28926
|
#e;
|
|
28897
28927
|
#n;
|
|
@@ -28901,7 +28931,7 @@ var eb = class extends Up {
|
|
|
28901
28931
|
#l;
|
|
28902
28932
|
#i;
|
|
28903
28933
|
constructor(e) {
|
|
28904
|
-
super(), this.#i = !1, this.#l = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#o = e.client, this.#r = this.#o.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
|
28934
|
+
super(), this.#i = !1, this.#l = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#o = e.client, this.#r = this.#o.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Lf(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
|
28905
28935
|
}
|
|
28906
28936
|
get meta() {
|
|
28907
28937
|
return this.options.meta;
|
|
@@ -28914,9 +28944,9 @@ var eb = class extends Up {
|
|
|
28914
28944
|
}
|
|
28915
28945
|
setOptions(e) {
|
|
28916
28946
|
if (this.options = { ...this.#l, ...e }, e?._type && (this.#t = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
28917
|
-
const n =
|
|
28947
|
+
const n = Lf(this.options);
|
|
28918
28948
|
n.data !== void 0 && (this.setState(
|
|
28919
|
-
|
|
28949
|
+
Ff(n.data, n.dataUpdatedAt)
|
|
28920
28950
|
), this.#e = n);
|
|
28921
28951
|
}
|
|
28922
28952
|
}
|
|
@@ -28970,7 +29000,7 @@ var eb = class extends Up {
|
|
|
28970
29000
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
|
28971
29001
|
}
|
|
28972
29002
|
isStaleByTime(e = 0) {
|
|
28973
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
29003
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Hp(this.state.dataUpdatedAt, e);
|
|
28974
29004
|
}
|
|
28975
29005
|
onFocus() {
|
|
28976
29006
|
this.observers.find((n) => n.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -29016,7 +29046,7 @@ var eb = class extends Up {
|
|
|
29016
29046
|
get: () => (this.#i = !0, t.signal)
|
|
29017
29047
|
});
|
|
29018
29048
|
}, r = () => {
|
|
29019
|
-
const c =
|
|
29049
|
+
const c = Vp(this.options, n), d = (() => {
|
|
29020
29050
|
const m = {
|
|
29021
29051
|
client: this.#o,
|
|
29022
29052
|
queryKey: this.queryKey,
|
|
@@ -29040,9 +29070,9 @@ var eb = class extends Up {
|
|
|
29040
29070
|
};
|
|
29041
29071
|
return a(c), c;
|
|
29042
29072
|
})();
|
|
29043
|
-
(this.#t === "infinite" ?
|
|
29073
|
+
(this.#t === "infinite" ? fb(
|
|
29044
29074
|
this.options.pages
|
|
29045
|
-
) : this.options.behavior)?.onFetch(l, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== l.fetchOptions?.meta) && this.#s({ type: "fetch", meta: l.fetchOptions?.meta }), this.#a =
|
|
29075
|
+
) : this.options.behavior)?.onFetch(l, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== l.fetchOptions?.meta) && this.#s({ type: "fetch", meta: l.fetchOptions?.meta }), this.#a = Up({
|
|
29046
29076
|
initialPromise: n?.initialPromise,
|
|
29047
29077
|
fn: l.fetchFn,
|
|
29048
29078
|
onCancel: (c) => {
|
|
@@ -29123,13 +29153,13 @@ var eb = class extends Up {
|
|
|
29123
29153
|
case "fetch":
|
|
29124
29154
|
return {
|
|
29125
29155
|
...t,
|
|
29126
|
-
...
|
|
29156
|
+
...qp(t.data, this.options),
|
|
29127
29157
|
fetchMeta: e.meta ?? null
|
|
29128
29158
|
};
|
|
29129
29159
|
case "success":
|
|
29130
29160
|
const a = {
|
|
29131
29161
|
...t,
|
|
29132
|
-
...
|
|
29162
|
+
...Ff(e.data, e.dataUpdatedAt),
|
|
29133
29163
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
29134
29164
|
...!e.manual && {
|
|
29135
29165
|
fetchStatus: "idle",
|
|
@@ -29172,18 +29202,18 @@ var eb = class extends Up {
|
|
|
29172
29202
|
});
|
|
29173
29203
|
}
|
|
29174
29204
|
};
|
|
29175
|
-
function
|
|
29205
|
+
function qp(e, n) {
|
|
29176
29206
|
return {
|
|
29177
29207
|
fetchFailureCount: 0,
|
|
29178
29208
|
fetchFailureReason: null,
|
|
29179
|
-
fetchStatus:
|
|
29209
|
+
fetchStatus: zp(n.networkMode) ? "fetching" : "paused",
|
|
29180
29210
|
...e === void 0 && {
|
|
29181
29211
|
error: null,
|
|
29182
29212
|
status: "pending"
|
|
29183
29213
|
}
|
|
29184
29214
|
};
|
|
29185
29215
|
}
|
|
29186
|
-
function
|
|
29216
|
+
function Ff(e, n) {
|
|
29187
29217
|
return {
|
|
29188
29218
|
data: e,
|
|
29189
29219
|
dataUpdatedAt: n ?? Date.now(),
|
|
@@ -29192,7 +29222,7 @@ function Tf(e, n) {
|
|
|
29192
29222
|
status: "success"
|
|
29193
29223
|
};
|
|
29194
29224
|
}
|
|
29195
|
-
function
|
|
29225
|
+
function Lf(e) {
|
|
29196
29226
|
const n = typeof e.initialData == "function" ? e.initialData() : e.initialData, t = n !== void 0, a = t ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
29197
29227
|
return {
|
|
29198
29228
|
data: n,
|
|
@@ -29209,7 +29239,7 @@ function Ff(e) {
|
|
|
29209
29239
|
fetchStatus: "idle"
|
|
29210
29240
|
};
|
|
29211
29241
|
}
|
|
29212
|
-
var
|
|
29242
|
+
var Qp = class extends gi {
|
|
29213
29243
|
constructor(e, n) {
|
|
29214
29244
|
super(), this.options = n, this.#t = e, this.#i = null, this.#l = pd(), this.bindMethods(), this.setOptions(n);
|
|
29215
29245
|
}
|
|
@@ -29234,7 +29264,7 @@ var qp = class extends gi {
|
|
|
29234
29264
|
this.refetch = this.refetch.bind(this);
|
|
29235
29265
|
}
|
|
29236
29266
|
onSubscribe() {
|
|
29237
|
-
this.listeners.size === 1 && (this.#e.addObserver(this),
|
|
29267
|
+
this.listeners.size === 1 && (this.#e.addObserver(this), Bf(this.#e, this.options) ? this.#m() : this.updateResult(), this.#y());
|
|
29238
29268
|
}
|
|
29239
29269
|
onUnsubscribe() {
|
|
29240
29270
|
this.hasListeners() || this.destroy();
|
|
@@ -29268,7 +29298,7 @@ var qp = class extends gi {
|
|
|
29268
29298
|
observer: this
|
|
29269
29299
|
});
|
|
29270
29300
|
const a = this.hasListeners();
|
|
29271
|
-
a &&
|
|
29301
|
+
a && jf(
|
|
29272
29302
|
this.#e,
|
|
29273
29303
|
t,
|
|
29274
29304
|
this.options,
|
|
@@ -29279,7 +29309,7 @@ var qp = class extends gi {
|
|
|
29279
29309
|
}
|
|
29280
29310
|
getOptimisticResult(e) {
|
|
29281
29311
|
const n = this.#t.getQueryCache().build(this.#t, e), t = this.createResult(n, e);
|
|
29282
|
-
return
|
|
29312
|
+
return vb(this, t) && (this.#r = t, this.#a = this.options, this.#o = this.#e.state), t;
|
|
29283
29313
|
}
|
|
29284
29314
|
getCurrentResult() {
|
|
29285
29315
|
return this.#r;
|
|
@@ -29330,7 +29360,7 @@ var qp = class extends gi {
|
|
|
29330
29360
|
);
|
|
29331
29361
|
if (fl.isServer() || this.#r.isStale || !ud(e))
|
|
29332
29362
|
return;
|
|
29333
|
-
const t =
|
|
29363
|
+
const t = Hp(this.#r.dataUpdatedAt, e) + 1;
|
|
29334
29364
|
this.#d = Ao.setTimeout(() => {
|
|
29335
29365
|
this.#r.isStale || this.updateResult();
|
|
29336
29366
|
}, t);
|
|
@@ -29356,10 +29386,10 @@ var qp = class extends gi {
|
|
|
29356
29386
|
const t = this.#e, a = this.options, r = this.#r, o = this.#o, l = this.#a, c = e !== t ? e.state : this.#n, { state: u } = e;
|
|
29357
29387
|
let d = { ...u }, m = !1, v;
|
|
29358
29388
|
if (n._optimisticResults) {
|
|
29359
|
-
const M = this.hasListeners(), O = !M &&
|
|
29389
|
+
const M = this.hasListeners(), O = !M && Bf(e, n), D = M && jf(e, t, n, a);
|
|
29360
29390
|
(O || D) && (d = {
|
|
29361
29391
|
...d,
|
|
29362
|
-
...
|
|
29392
|
+
...qp(u.data, e.options)
|
|
29363
29393
|
}), n._optimisticResults === "isRestoring" && (d.fetchStatus = "idle");
|
|
29364
29394
|
}
|
|
29365
29395
|
let { error: C, errorUpdatedAt: y, status: h } = d;
|
|
@@ -29477,11 +29507,11 @@ var qp = class extends gi {
|
|
|
29477
29507
|
});
|
|
29478
29508
|
}
|
|
29479
29509
|
};
|
|
29480
|
-
function
|
|
29510
|
+
function gb(e, n) {
|
|
29481
29511
|
return $r(n.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && $r(n.retryOnMount, e) === !1);
|
|
29482
29512
|
}
|
|
29483
|
-
function
|
|
29484
|
-
return
|
|
29513
|
+
function Bf(e, n) {
|
|
29514
|
+
return gb(e, n) || e.state.data !== void 0 && vd(e, n, n.refetchOnMount);
|
|
29485
29515
|
}
|
|
29486
29516
|
function vd(e, n, t) {
|
|
29487
29517
|
if ($r(n.enabled, e) !== !1 && io(n.staleTime, e) !== "static") {
|
|
@@ -29490,16 +29520,16 @@ function vd(e, n, t) {
|
|
|
29490
29520
|
}
|
|
29491
29521
|
return !1;
|
|
29492
29522
|
}
|
|
29493
|
-
function
|
|
29523
|
+
function jf(e, n, t, a) {
|
|
29494
29524
|
return (e !== n || $r(a.enabled, e) === !1) && (!t.suspense || e.state.status !== "error") && o1(e, t);
|
|
29495
29525
|
}
|
|
29496
29526
|
function o1(e, n) {
|
|
29497
29527
|
return $r(n.enabled, e) !== !1 && e.isStaleByTime(io(n.staleTime, e));
|
|
29498
29528
|
}
|
|
29499
|
-
function
|
|
29529
|
+
function vb(e, n) {
|
|
29500
29530
|
return !Ts(e.getCurrentResult(), n);
|
|
29501
29531
|
}
|
|
29502
|
-
var
|
|
29532
|
+
var bb = class extends Qp {
|
|
29503
29533
|
constructor(e, n) {
|
|
29504
29534
|
super(e, n);
|
|
29505
29535
|
}
|
|
@@ -29534,8 +29564,8 @@ var rb = class extends qp {
|
|
|
29534
29564
|
...a,
|
|
29535
29565
|
fetchNextPage: this.fetchNextPage,
|
|
29536
29566
|
fetchPreviousPage: this.fetchPreviousPage,
|
|
29537
|
-
hasNextPage:
|
|
29538
|
-
hasPreviousPage:
|
|
29567
|
+
hasNextPage: mb(n, t.data),
|
|
29568
|
+
hasPreviousPage: pb(n, t.data),
|
|
29539
29569
|
isFetchNextPageError: u,
|
|
29540
29570
|
isFetchingNextPage: d,
|
|
29541
29571
|
isFetchPreviousPageError: m,
|
|
@@ -29544,13 +29574,13 @@ var rb = class extends qp {
|
|
|
29544
29574
|
isRefetching: o && !d && !v
|
|
29545
29575
|
};
|
|
29546
29576
|
}
|
|
29547
|
-
},
|
|
29577
|
+
}, yb = class extends Kp {
|
|
29548
29578
|
#t;
|
|
29549
29579
|
#e;
|
|
29550
29580
|
#n;
|
|
29551
29581
|
#r;
|
|
29552
29582
|
constructor(e) {
|
|
29553
|
-
super(), this.#t = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#e = [], this.state = e.state ||
|
|
29583
|
+
super(), this.#t = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#e = [], this.state = e.state || Gp(), this.setOptions(e.options), this.scheduleGc();
|
|
29554
29584
|
}
|
|
29555
29585
|
setOptions(e) {
|
|
29556
29586
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -29587,7 +29617,7 @@ var rb = class extends qp {
|
|
|
29587
29617
|
meta: this.options.meta,
|
|
29588
29618
|
mutationKey: this.options.mutationKey
|
|
29589
29619
|
};
|
|
29590
|
-
this.#r =
|
|
29620
|
+
this.#r = Up({
|
|
29591
29621
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, t) : Promise.reject(new Error("No mutationFn found")),
|
|
29592
29622
|
onFail: (o, l) => {
|
|
29593
29623
|
this.#o({ type: "failed", failureCount: o, error: l });
|
|
@@ -29763,7 +29793,7 @@ var rb = class extends qp {
|
|
|
29763
29793
|
});
|
|
29764
29794
|
}
|
|
29765
29795
|
};
|
|
29766
|
-
function
|
|
29796
|
+
function Gp() {
|
|
29767
29797
|
return {
|
|
29768
29798
|
context: void 0,
|
|
29769
29799
|
data: void 0,
|
|
@@ -29776,7 +29806,7 @@ function Qp() {
|
|
|
29776
29806
|
submittedAt: 0
|
|
29777
29807
|
};
|
|
29778
29808
|
}
|
|
29779
|
-
var
|
|
29809
|
+
var Cb = class extends gi {
|
|
29780
29810
|
constructor(e = {}) {
|
|
29781
29811
|
super(), this.config = e, this.#t = /* @__PURE__ */ new Set(), this.#e = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
29782
29812
|
}
|
|
@@ -29784,7 +29814,7 @@ var ob = class extends gi {
|
|
|
29784
29814
|
#e;
|
|
29785
29815
|
#n;
|
|
29786
29816
|
build(e, n, t) {
|
|
29787
|
-
const a = new
|
|
29817
|
+
const a = new yb({
|
|
29788
29818
|
client: e,
|
|
29789
29819
|
mutationCache: this,
|
|
29790
29820
|
mutationId: ++this.#n,
|
|
@@ -29843,11 +29873,11 @@ var ob = class extends gi {
|
|
|
29843
29873
|
find(e) {
|
|
29844
29874
|
const n = { exact: !0, ...e };
|
|
29845
29875
|
return this.getAll().find(
|
|
29846
|
-
(t) =>
|
|
29876
|
+
(t) => Rf(n, t)
|
|
29847
29877
|
);
|
|
29848
29878
|
}
|
|
29849
29879
|
findAll(e = {}) {
|
|
29850
|
-
return this.getAll().filter((n) =>
|
|
29880
|
+
return this.getAll().filter((n) => Rf(e, n));
|
|
29851
29881
|
}
|
|
29852
29882
|
notify(e) {
|
|
29853
29883
|
gr.batch(() => {
|
|
@@ -29868,7 +29898,7 @@ var ob = class extends gi {
|
|
|
29868
29898
|
function ds(e) {
|
|
29869
29899
|
return e.options.scope?.id;
|
|
29870
29900
|
}
|
|
29871
|
-
var
|
|
29901
|
+
var wb = class extends gi {
|
|
29872
29902
|
#t;
|
|
29873
29903
|
#e = void 0;
|
|
29874
29904
|
#n;
|
|
@@ -29903,7 +29933,7 @@ var ib = class extends gi {
|
|
|
29903
29933
|
return this.#r = n, this.#n?.removeObserver(this), this.#n = this.#t.getMutationCache().build(this.#t, this.options), this.#n.addObserver(this), this.#n.execute(e);
|
|
29904
29934
|
}
|
|
29905
29935
|
#o() {
|
|
29906
|
-
const e = this.#n?.state ??
|
|
29936
|
+
const e = this.#n?.state ?? Gp();
|
|
29907
29937
|
this.#e = {
|
|
29908
29938
|
...e,
|
|
29909
29939
|
isPending: e.status === "pending",
|
|
@@ -29973,7 +30003,7 @@ var ib = class extends gi {
|
|
|
29973
30003
|
});
|
|
29974
30004
|
});
|
|
29975
30005
|
}
|
|
29976
|
-
},
|
|
30006
|
+
}, xb = class extends gi {
|
|
29977
30007
|
constructor(e = {}) {
|
|
29978
30008
|
super(), this.config = e, this.#t = /* @__PURE__ */ new Map();
|
|
29979
30009
|
}
|
|
@@ -29981,7 +30011,7 @@ var ib = class extends gi {
|
|
|
29981
30011
|
build(e, n, t) {
|
|
29982
30012
|
const a = n.queryKey, r = n.queryHash ?? r1(a, n);
|
|
29983
30013
|
let o = this.get(r);
|
|
29984
|
-
return o || (o = new
|
|
30014
|
+
return o || (o = new hb({
|
|
29985
30015
|
client: e,
|
|
29986
30016
|
queryKey: a,
|
|
29987
30017
|
queryHash: r,
|
|
@@ -30016,12 +30046,12 @@ var ib = class extends gi {
|
|
|
30016
30046
|
find(e) {
|
|
30017
30047
|
const n = { exact: !0, ...e };
|
|
30018
30048
|
return this.getAll().find(
|
|
30019
|
-
(t) =>
|
|
30049
|
+
(t) => Nf(n, t)
|
|
30020
30050
|
);
|
|
30021
30051
|
}
|
|
30022
30052
|
findAll(e = {}) {
|
|
30023
30053
|
const n = this.getAll();
|
|
30024
|
-
return Object.keys(e).length > 0 ? n.filter((t) =>
|
|
30054
|
+
return Object.keys(e).length > 0 ? n.filter((t) => Nf(e, t)) : n;
|
|
30025
30055
|
}
|
|
30026
30056
|
notify(e) {
|
|
30027
30057
|
gr.batch(() => {
|
|
@@ -30044,7 +30074,7 @@ var ib = class extends gi {
|
|
|
30044
30074
|
});
|
|
30045
30075
|
});
|
|
30046
30076
|
}
|
|
30047
|
-
},
|
|
30077
|
+
}, Eb = class {
|
|
30048
30078
|
#t;
|
|
30049
30079
|
#e;
|
|
30050
30080
|
#n;
|
|
@@ -30054,7 +30084,7 @@ var ib = class extends gi {
|
|
|
30054
30084
|
#l;
|
|
30055
30085
|
#i;
|
|
30056
30086
|
constructor(e = {}) {
|
|
30057
|
-
this.#t = e.queryCache || new
|
|
30087
|
+
this.#t = e.queryCache || new xb(), this.#e = e.mutationCache || new Cb(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#o = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
30058
30088
|
}
|
|
30059
30089
|
mount() {
|
|
30060
30090
|
this.#a++, this.#a === 1 && (this.#l = n1.subscribe(async (e) => {
|
|
@@ -30096,7 +30126,7 @@ var ib = class extends gi {
|
|
|
30096
30126
|
setQueryData(e, n, t) {
|
|
30097
30127
|
const a = this.defaultQueryOptions({ queryKey: e }), o = this.#t.get(
|
|
30098
30128
|
a.queryHash
|
|
30099
|
-
)?.state.data, l =
|
|
30129
|
+
)?.state.data, l = nb(n, o);
|
|
30100
30130
|
if (l !== void 0)
|
|
30101
30131
|
return this.#t.build(this, a).setData(l, { ...t, manual: !0 });
|
|
30102
30132
|
}
|
|
@@ -30247,21 +30277,21 @@ var ib = class extends gi {
|
|
|
30247
30277
|
clear() {
|
|
30248
30278
|
this.#t.clear(), this.#e.clear();
|
|
30249
30279
|
}
|
|
30250
|
-
},
|
|
30280
|
+
}, Jp = i.createContext(
|
|
30251
30281
|
void 0
|
|
30252
30282
|
), i1 = (e) => {
|
|
30253
|
-
const n = i.useContext(
|
|
30283
|
+
const n = i.useContext(Jp);
|
|
30254
30284
|
if (!n)
|
|
30255
30285
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
30256
30286
|
return n;
|
|
30257
|
-
},
|
|
30287
|
+
}, Sb = ({
|
|
30258
30288
|
client: e,
|
|
30259
30289
|
children: n
|
|
30260
30290
|
}) => (i.useEffect(() => (e.mount(), () => {
|
|
30261
30291
|
e.unmount();
|
|
30262
|
-
}), [e]), /* @__PURE__ */ f(
|
|
30263
|
-
|
|
30264
|
-
function
|
|
30292
|
+
}), [e]), /* @__PURE__ */ f(Jp.Provider, { value: e, children: n })), Xp = i.createContext(!1), Ab = () => i.useContext(Xp);
|
|
30293
|
+
Xp.Provider;
|
|
30294
|
+
function Ob() {
|
|
30265
30295
|
let e = !1;
|
|
30266
30296
|
return {
|
|
30267
30297
|
clearReset: () => {
|
|
@@ -30273,20 +30303,20 @@ function db() {
|
|
|
30273
30303
|
isReset: () => e
|
|
30274
30304
|
};
|
|
30275
30305
|
}
|
|
30276
|
-
var
|
|
30306
|
+
var kb = i.createContext(Ob()), Ib = () => i.useContext(kb), Pb = (e, n, t) => {
|
|
30277
30307
|
const a = t?.state.error && typeof e.throwOnError == "function" ? a1(e.throwOnError, [t.state.error, t]) : e.throwOnError;
|
|
30278
30308
|
(e.suspense || e.experimental_prefetchInRender || a) && (n.isReset() || (e.retryOnMount = !1));
|
|
30279
|
-
},
|
|
30309
|
+
}, Db = (e) => {
|
|
30280
30310
|
i.useEffect(() => {
|
|
30281
30311
|
e.clearReset();
|
|
30282
30312
|
}, [e]);
|
|
30283
|
-
},
|
|
30313
|
+
}, Nb = ({
|
|
30284
30314
|
result: e,
|
|
30285
30315
|
errorResetBoundary: n,
|
|
30286
30316
|
throwOnError: t,
|
|
30287
30317
|
query: a,
|
|
30288
30318
|
suspense: r
|
|
30289
|
-
}) => e.isError && !n.isReset() && !e.isFetching && a && (r && e.data === void 0 || a1(t, [e.error, a])),
|
|
30319
|
+
}) => e.isError && !n.isReset() && !e.isFetching && a && (r && e.data === void 0 || a1(t, [e.error, a])), Rb = (e) => {
|
|
30290
30320
|
if (e.suspense) {
|
|
30291
30321
|
const t = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), a = e.staleTime;
|
|
30292
30322
|
e.staleTime = typeof a == "function" ? (...r) => t(a(...r)) : t(a), typeof e.gcTime == "number" && (e.gcTime = Math.max(
|
|
@@ -30294,22 +30324,22 @@ var fb = i.createContext(db()), mb = () => i.useContext(fb), pb = (e, n, t) => {
|
|
|
30294
30324
|
1e3
|
|
30295
30325
|
));
|
|
30296
30326
|
}
|
|
30297
|
-
},
|
|
30327
|
+
}, Mb = (e, n) => e.isLoading && e.isFetching && !n, Tb = (e, n) => e?.suspense && n.isPending, Hf = (e, n, t) => n.fetchOptimistic(e).catch(() => {
|
|
30298
30328
|
t.clearReset();
|
|
30299
30329
|
});
|
|
30300
|
-
function
|
|
30330
|
+
function Zp(e, n, t) {
|
|
30301
30331
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
|
|
30302
30332
|
throw new Error(
|
|
30303
30333
|
'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
|
|
30304
30334
|
);
|
|
30305
|
-
const a =
|
|
30335
|
+
const a = Ab(), r = Ib(), o = i1(), l = o.defaultQueryOptions(e);
|
|
30306
30336
|
o.getDefaultOptions().queries?._experimental_beforeQuery?.(
|
|
30307
30337
|
l
|
|
30308
30338
|
);
|
|
30309
30339
|
const s = o.getQueryCache().get(l.queryHash);
|
|
30310
30340
|
process.env.NODE_ENV !== "production" && (l.queryFn || console.error(
|
|
30311
30341
|
`[${l.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
|
|
30312
|
-
)), l._optimisticResults = a ? "isRestoring" : "optimistic",
|
|
30342
|
+
)), l._optimisticResults = a ? "isRestoring" : "optimistic", Rb(l), Pb(l, r, s), Db(r);
|
|
30313
30343
|
const c = !o.getQueryCache().get(l.queryHash), [u] = i.useState(
|
|
30314
30344
|
() => new n(
|
|
30315
30345
|
o,
|
|
@@ -30328,9 +30358,9 @@ function Xp(e, n, t) {
|
|
|
30328
30358
|
() => u.getCurrentResult()
|
|
30329
30359
|
), i.useEffect(() => {
|
|
30330
30360
|
u.setOptions(l);
|
|
30331
|
-
}, [l, u]),
|
|
30332
|
-
throw
|
|
30333
|
-
if (
|
|
30361
|
+
}, [l, u]), Tb(l, d))
|
|
30362
|
+
throw Hf(l, u, r);
|
|
30363
|
+
if (Nb({
|
|
30334
30364
|
result: d,
|
|
30335
30365
|
errorResetBoundary: r,
|
|
30336
30366
|
throwOnError: l.throwOnError,
|
|
@@ -30341,9 +30371,9 @@ function Xp(e, n, t) {
|
|
|
30341
30371
|
return o.getDefaultOptions().queries?._experimental_afterQuery?.(
|
|
30342
30372
|
l,
|
|
30343
30373
|
d
|
|
30344
|
-
), l.experimental_prefetchInRender && !fl.isServer() &&
|
|
30374
|
+
), l.experimental_prefetchInRender && !fl.isServer() && Mb(d, a) && (c ? (
|
|
30345
30375
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
30346
|
-
|
|
30376
|
+
Hf(l, u, r)
|
|
30347
30377
|
) : (
|
|
30348
30378
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
30349
30379
|
s?.promise
|
|
@@ -30352,11 +30382,11 @@ function Xp(e, n, t) {
|
|
|
30352
30382
|
}), l.notifyOnChangeProps ? d : u.trackResult(d);
|
|
30353
30383
|
}
|
|
30354
30384
|
function nc(e, n) {
|
|
30355
|
-
return
|
|
30385
|
+
return Zp(e, Qp);
|
|
30356
30386
|
}
|
|
30357
30387
|
function Da(e, n) {
|
|
30358
30388
|
const t = i1(), [a] = i.useState(
|
|
30359
|
-
() => new
|
|
30389
|
+
() => new wb(
|
|
30360
30390
|
t,
|
|
30361
30391
|
e
|
|
30362
30392
|
)
|
|
@@ -30382,42 +30412,12 @@ function Da(e, n) {
|
|
|
30382
30412
|
return { ...r, mutate: o, mutateAsync: r.mutate };
|
|
30383
30413
|
}
|
|
30384
30414
|
function Bs(e, n) {
|
|
30385
|
-
return
|
|
30415
|
+
return Zp(
|
|
30386
30416
|
e,
|
|
30387
|
-
|
|
30417
|
+
bb
|
|
30388
30418
|
);
|
|
30389
30419
|
}
|
|
30390
|
-
const
|
|
30391
|
-
COMPANY: "company",
|
|
30392
|
-
CONTACT: "contact"
|
|
30393
|
-
}, Rb = {
|
|
30394
|
-
ACCOUNT: "account"
|
|
30395
|
-
}, sn = {
|
|
30396
|
-
TEXT: "TEXT",
|
|
30397
|
-
NUMBER: "NUMBER",
|
|
30398
|
-
DATE: "DATE",
|
|
30399
|
-
URL: "URL",
|
|
30400
|
-
DROPDOWN: "DROPDOWN",
|
|
30401
|
-
CHIP: "CHIP",
|
|
30402
|
-
BOOLEAN: "BOOLEAN"
|
|
30403
|
-
}, Hf = {
|
|
30404
|
-
HIVER: "hiver"
|
|
30405
|
-
}, Mb = [
|
|
30406
|
-
{ label: "Text", value: sn.TEXT, getIcon: Ob },
|
|
30407
|
-
{ label: "Number", value: sn.NUMBER, getIcon: Ib },
|
|
30408
|
-
{ label: "Dropdown", value: sn.DROPDOWN, getIcon: Nb },
|
|
30409
|
-
{ label: "Date", value: sn.DATE, getIcon: kb },
|
|
30410
|
-
{ label: "Url", value: sn.URL, getIcon: Pb },
|
|
30411
|
-
{ label: "Yes or no", value: sn.BOOLEAN, getIcon: Db }
|
|
30412
|
-
], Tb = {
|
|
30413
|
-
type: sn.TEXT,
|
|
30414
|
-
dropdown_values: [],
|
|
30415
|
-
display_name: "",
|
|
30416
|
-
description: ""
|
|
30417
|
-
}, Zp = [
|
|
30418
|
-
{ label: "Yes", value: !0 },
|
|
30419
|
-
{ label: "No", value: !1 }
|
|
30420
|
-
], El = () => en.getState().callbacks?.cfApiCallback, Yp = async ({ entity_type: e, scope: n = Rb.ACCOUNT }) => {
|
|
30420
|
+
const El = () => en.getState().callbacks?.cfApiCallback, Yp = async ({ entity_type: e, scope: n = S8.ACCOUNT }) => {
|
|
30421
30421
|
const t = El(), a = en.getState().config;
|
|
30422
30422
|
return (await t(or.GET_CUSTOM_FIELDS, {
|
|
30423
30423
|
method: "GET",
|
|
@@ -31208,19 +31208,19 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31208
31208
|
}), Er(ms.css.styles, T, {
|
|
31209
31209
|
name: "calendar"
|
|
31210
31210
|
});
|
|
31211
|
-
var j = i.useRef(null), L = i.useRef(null), te = i.useRef(r.inputRef), J = i.useRef(null), we = i.useRef(!1), Fe = i.useRef(null), me = i.useRef(!1), Se = i.useRef(null), Q = i.useRef(null), ee = i.useRef(null), Y = i.useRef(!1), q = i.useRef(!1), X = i.useRef(!1), $ = i.useRef(!1), ve = i.useRef(null), be = i.useRef(!1), Ve = i.useState("date"), $e = pa(Ve, 2), Oe = $e[0], We = $e[1], _ = i.useState(null), je = pa(_, 2), ot = je[0], Ct = je[1], Rt = i.useState(null), Xe = pa(Rt, 2), ie = Xe[0], it = Xe[1], pt = i.useState([]), St = pa(pt, 2), gt = St[0], nn = St[1], rn = Po(r.value),
|
|
31211
|
+
var j = i.useRef(null), L = i.useRef(null), te = i.useRef(r.inputRef), J = i.useRef(null), we = i.useRef(!1), Fe = i.useRef(null), me = i.useRef(!1), Se = i.useRef(null), Q = i.useRef(null), ee = i.useRef(null), Y = i.useRef(!1), q = i.useRef(!1), X = i.useRef(!1), $ = i.useRef(!1), ve = i.useRef(null), be = i.useRef(!1), Ve = i.useState("date"), $e = pa(Ve, 2), Oe = $e[0], We = $e[1], _ = i.useState(null), je = pa(_, 2), ot = je[0], Ct = je[1], Rt = i.useState(null), Xe = pa(Rt, 2), ie = Xe[0], it = Xe[1], pt = i.useState([]), St = pa(pt, 2), gt = St[0], nn = St[1], rn = Po(r.value), Xt = r.inline || (r.onVisibleChange ? r.visible : m), Tt = ga(), Ut = P + "_panel", Jt = zs({
|
|
31212
31212
|
target: j,
|
|
31213
31213
|
overlay: L,
|
|
31214
31214
|
listener: function(p, g) {
|
|
31215
31215
|
var I = g.type, N = g.valid;
|
|
31216
31216
|
N && (I === "outside" ? !Y.current && !zr(p.target) && nr("outside") : a.hideOverlaysOnDocumentScrolling ? nr() : R.isDocument(p.target) || He()), Y.current = !1;
|
|
31217
31217
|
},
|
|
31218
|
-
when: !(r.touchUI || r.inline) &&
|
|
31218
|
+
when: !(r.touchUI || r.inline) && Xt,
|
|
31219
31219
|
type: "mousedown"
|
|
31220
|
-
}), Kt = pa(
|
|
31220
|
+
}), Kt = pa(Jt, 2), an = Kt[0], cn = Kt[1], Dn = function() {
|
|
31221
31221
|
return r.dateFormat || zn("dateFormat", r.locale);
|
|
31222
31222
|
}, un = function(p) {
|
|
31223
|
-
we.current ? (c(!0), we.current = !1) : (r.showOnFocus && !
|
|
31223
|
+
we.current ? (c(!0), we.current = !1) : (r.showOnFocus && !Xt && Tr(), c(!0), r.onFocus && r.onFocus(p));
|
|
31224
31224
|
}, wn = function(p) {
|
|
31225
31225
|
wa(r.value), r.onBlur && r.onBlur(p), c(!1);
|
|
31226
31226
|
}, hn = function(p) {
|
|
@@ -31248,7 +31248,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31248
31248
|
if (U(N)) {
|
|
31249
31249
|
dn(N), vn(p, N);
|
|
31250
31250
|
var se = N.length ? N[0] : N;
|
|
31251
|
-
|
|
31251
|
+
Zt(p, se);
|
|
31252
31252
|
}
|
|
31253
31253
|
} catch {
|
|
31254
31254
|
if (I)
|
|
@@ -31277,7 +31277,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31277
31277
|
return sa(I.getDate(), I.getMonth(), I.getFullYear(), !1) && Il(I);
|
|
31278
31278
|
}) && Ur() && (g = p.length > 1 && p[1] >= p[0]), g;
|
|
31279
31279
|
}, G = function() {
|
|
31280
|
-
|
|
31280
|
+
Xt ? nr() : Tr();
|
|
31281
31281
|
}, ce = function(p) {
|
|
31282
31282
|
J.current = {
|
|
31283
31283
|
backward: !0,
|
|
@@ -31385,7 +31385,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31385
31385
|
}
|
|
31386
31386
|
g.setFullYear(N);
|
|
31387
31387
|
}
|
|
31388
|
-
Oe === "month" ? g.setFullYear(Sn()) : Oe === "year" && g.setFullYear(Gr()),
|
|
31388
|
+
Oe === "month" ? g.setFullYear(Sn()) : Oe === "year" && g.setFullYear(Gr()), Zt(p, g), p.preventDefault();
|
|
31389
31389
|
}, Vt = function(p) {
|
|
31390
31390
|
if (r.disabled) {
|
|
31391
31391
|
p.preventDefault();
|
|
@@ -31414,7 +31414,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31414
31414
|
}
|
|
31415
31415
|
g.setFullYear(N);
|
|
31416
31416
|
}
|
|
31417
|
-
Oe === "month" ? g.setFullYear(Fn()) : Oe === "year" && g.setFullYear(Jr()),
|
|
31417
|
+
Oe === "month" ? g.setFullYear(Fn()) : Oe === "year" && g.setFullYear(Jr()), Zt(p, g), p.preventDefault();
|
|
31418
31418
|
}, On = function(p, g) {
|
|
31419
31419
|
for (var I = [], N = p; N <= g; N++)
|
|
31420
31420
|
gt.push(N);
|
|
@@ -31435,10 +31435,10 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31435
31435
|
return g;
|
|
31436
31436
|
}, on = function(p, g) {
|
|
31437
31437
|
var I = B(), N = de(I);
|
|
31438
|
-
N.setDate(1), N.setMonth(parseInt(g, 10)),
|
|
31438
|
+
N.setDate(1), N.setMonth(parseInt(g, 10)), Zt(p, N);
|
|
31439
31439
|
}, Un = function(p, g) {
|
|
31440
31440
|
var I = B(), N = de(I);
|
|
31441
|
-
N.setFullYear(parseInt(g, 10)),
|
|
31441
|
+
N.setFullYear(parseInt(g, 10)), Zt(p, N);
|
|
31442
31442
|
}, dt = function(p) {
|
|
31443
31443
|
var g = /* @__PURE__ */ new Date(), I = {
|
|
31444
31444
|
day: g.getDate(),
|
|
@@ -31452,7 +31452,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31452
31452
|
seconds: r.showSeconds ? g.getSeconds() : 0,
|
|
31453
31453
|
milliseconds: r.showMillisec ? g.getMilliseconds() : 0
|
|
31454
31454
|
};
|
|
31455
|
-
|
|
31455
|
+
Zt(p, g), Wn(p, I, N), r.onTodayButtonClick && r.onTodayButtonClick(p);
|
|
31456
31456
|
}, ae = function(p) {
|
|
31457
31457
|
be.current = !0, vn(p, null), wa(null), it((/* @__PURE__ */ new Date()).getFullYear()), nr(), r.onClearButtonClick && r.onClearButtonClick(p);
|
|
31458
31458
|
}, re = function(p) {
|
|
@@ -31591,7 +31591,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31591
31591
|
originalEvent: p,
|
|
31592
31592
|
value: ue
|
|
31593
31593
|
}), wa(ue);
|
|
31594
|
-
},
|
|
31594
|
+
}, Zt = function(p, g) {
|
|
31595
31595
|
dn(g), r.onViewDateChange && p ? r.onViewDateChange({
|
|
31596
31596
|
originalEvent: p,
|
|
31597
31597
|
value: g
|
|
@@ -31948,7 +31948,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31948
31948
|
N.setDate(1), N.setMonth(g), N.setYear(ie), b(N), We("date"), r.onMonthChange && r.onMonthChange({
|
|
31949
31949
|
month: g + 1,
|
|
31950
31950
|
year: ie
|
|
31951
|
-
}),
|
|
31951
|
+
}), Zt(p, N), pn({
|
|
31952
31952
|
event: p,
|
|
31953
31953
|
date: N
|
|
31954
31954
|
});
|
|
@@ -31989,7 +31989,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
31989
31989
|
visible: !0,
|
|
31990
31990
|
type: p
|
|
31991
31991
|
}) : (v(!0), Q.current = function(g) {
|
|
31992
|
-
!yr(g) &&
|
|
31992
|
+
!yr(g) && Xt && (Y.current = !0);
|
|
31993
31993
|
}, qa.on("overlay-click", Q.current));
|
|
31994
31994
|
}, nr = function(p, g) {
|
|
31995
31995
|
var I = function() {
|
|
@@ -32517,11 +32517,11 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
32517
32517
|
}, [r.disabled, r.mask, r.readOnlyInput]), _t(function() {
|
|
32518
32518
|
$.current && We(r.view), $.current = !1;
|
|
32519
32519
|
}, [r.view]), _t(function() {
|
|
32520
|
-
|
|
32521
|
-
}, [
|
|
32520
|
+
Xt && !r.inline && qe();
|
|
32521
|
+
}, [Xt, Oe, r.inline]), _t(function() {
|
|
32522
32522
|
if (!r.onViewDateChange && !me.current && Ml(r.value), r.viewDate) {
|
|
32523
32523
|
var oe = B(r.viewDate);
|
|
32524
|
-
|
|
32524
|
+
Zt(null, oe), pn({
|
|
32525
32525
|
event: null,
|
|
32526
32526
|
date: oe
|
|
32527
32527
|
});
|
|
@@ -32544,7 +32544,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
32544
32544
|
}
|
|
32545
32545
|
g instanceof Date && (dn(g), b(g), Ct(g.getMonth()), it(g.getFullYear()));
|
|
32546
32546
|
}
|
|
32547
|
-
}, [r.value,
|
|
32547
|
+
}, [r.value, Xt]), _t(function() {
|
|
32548
32548
|
wa(r.value);
|
|
32549
32549
|
}, [r.dateFormat, r.hourFormat, r.timeOnly, r.showSeconds, r.showMillisec, r.showTime, r.locale]), _t(function() {
|
|
32550
32550
|
L.current && (Vn(h), fe());
|
|
@@ -32557,7 +32557,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
32557
32557
|
hide: nr,
|
|
32558
32558
|
getCurrentDateTime: ne,
|
|
32559
32559
|
getViewDate: B,
|
|
32560
|
-
updateViewDate:
|
|
32560
|
+
updateViewDate: Zt,
|
|
32561
32561
|
focus: function() {
|
|
32562
32562
|
return R.focus(te.current);
|
|
32563
32563
|
},
|
|
@@ -33256,7 +33256,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
33256
33256
|
className: Pe(r.className, D("root", {
|
|
33257
33257
|
focusedState: s,
|
|
33258
33258
|
isFilled: Y3,
|
|
33259
|
-
panelVisible:
|
|
33259
|
+
panelVisible: Xt
|
|
33260
33260
|
})),
|
|
33261
33261
|
style: r.style
|
|
33262
33262
|
}, ms.getOtherProps(r), O("root"));
|
|
@@ -33273,7 +33273,7 @@ var r3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
33273
33273
|
inline: r.inline,
|
|
33274
33274
|
onClick: re,
|
|
33275
33275
|
onMouseUp: Ee,
|
|
33276
|
-
in:
|
|
33276
|
+
in: Xt,
|
|
33277
33277
|
onEnter: Na,
|
|
33278
33278
|
onEntered: co,
|
|
33279
33279
|
onExit: at,
|
|
@@ -33513,22 +33513,22 @@ const Yb = ({
|
|
|
33513
33513
|
}, wd = {
|
|
33514
33514
|
HEADER: {
|
|
33515
33515
|
CREATE: {
|
|
33516
|
-
[
|
|
33517
|
-
[
|
|
33516
|
+
[Gt.COMPANY]: "Create an account",
|
|
33517
|
+
[Gt.CONTACT]: "Create a contact"
|
|
33518
33518
|
},
|
|
33519
33519
|
EDIT: {
|
|
33520
|
-
[
|
|
33521
|
-
[
|
|
33520
|
+
[Gt.COMPANY]: "Edit account",
|
|
33521
|
+
[Gt.CONTACT]: "Edit contact"
|
|
33522
33522
|
}
|
|
33523
33523
|
},
|
|
33524
33524
|
FOOTER: {
|
|
33525
33525
|
CREATE: {
|
|
33526
|
-
[
|
|
33527
|
-
[
|
|
33526
|
+
[Gt.COMPANY]: "Create account",
|
|
33527
|
+
[Gt.CONTACT]: "Create contact"
|
|
33528
33528
|
},
|
|
33529
33529
|
EDIT: {
|
|
33530
|
-
[
|
|
33531
|
-
[
|
|
33530
|
+
[Gt.COMPANY]: "Save changes",
|
|
33531
|
+
[Gt.CONTACT]: "Save changes"
|
|
33532
33532
|
}
|
|
33533
33533
|
}
|
|
33534
33534
|
}, i3 = [
|
|
@@ -33583,11 +33583,11 @@ const Yb = ({
|
|
|
33583
33583
|
}
|
|
33584
33584
|
}
|
|
33585
33585
|
], py = {
|
|
33586
|
-
[
|
|
33587
|
-
[
|
|
33586
|
+
[Gt.COMPANY]: i3,
|
|
33587
|
+
[Gt.CONTACT]: l3
|
|
33588
33588
|
}, hy = {
|
|
33589
|
-
[
|
|
33590
|
-
[
|
|
33589
|
+
[Gt.COMPANY]: i3.map((e) => e.name),
|
|
33590
|
+
[Gt.CONTACT]: l3.map((e) => e.name)
|
|
33591
33591
|
}, s3 = [
|
|
33592
33592
|
{
|
|
33593
33593
|
id: "name",
|
|
@@ -33646,8 +33646,8 @@ const Yb = ({
|
|
|
33646
33646
|
style: { width: "300px" }
|
|
33647
33647
|
}
|
|
33648
33648
|
], gy = {
|
|
33649
|
-
[
|
|
33650
|
-
[
|
|
33649
|
+
[Gt.COMPANY]: s3,
|
|
33650
|
+
[Gt.CONTACT]: c3
|
|
33651
33651
|
}, vy = (e) => Z2(
|
|
33652
33652
|
(n) => ({
|
|
33653
33653
|
values: e,
|
|
@@ -33862,20 +33862,20 @@ const Yb = ({
|
|
|
33862
33862
|
for (const t of e)
|
|
33863
33863
|
!Array.isArray(t.values) || t.values.length === 0 || (n[t.custom_field_id] = t.values);
|
|
33864
33864
|
return n;
|
|
33865
|
-
}, lc = (e) => e ===
|
|
33865
|
+
}, lc = (e) => e === Gt.COMPANY ? "account" : "contact", Iy = ({ ...e }) => {
|
|
33866
33866
|
const n = (t) => {
|
|
33867
33867
|
const a = t.target.value, r = Number(a);
|
|
33868
33868
|
isNaN(r) || e.onChange?.(r);
|
|
33869
33869
|
};
|
|
33870
33870
|
return /* @__PURE__ */ f(Sl, { ...e, type: "text", value: e.value ? String(e.value) : "", onChange: n });
|
|
33871
33871
|
}, sc = (e) => {
|
|
33872
|
-
const n =
|
|
33872
|
+
const n = jp(e.open, 200);
|
|
33873
33873
|
return e.open ? /* @__PURE__ */ f(yy, { initialData: e.initialData, entityId: e.entityId, children: /* @__PURE__ */ f(Dy, { ...e, open: n }) }) : null;
|
|
33874
33874
|
}, Py = {
|
|
33875
|
-
[
|
|
33876
|
-
[
|
|
33875
|
+
[Gt.CONTACT]: ["email"],
|
|
33876
|
+
[Gt.COMPANY]: []
|
|
33877
33877
|
}, Dy = ({ open: e, entityId: n, entityType: t, onClose: a, onSuccess: r }) => {
|
|
33878
|
-
const o = !!n, l = py[t], { data: s } = l1({ entity_type: t }), { data: c } = _p(!!e && t ===
|
|
33878
|
+
const o = !!n, l = py[t], { data: s } = l1({ entity_type: t }), { data: c } = _p(!!e && t === Gt.COMPANY), { setErrors: u } = d1(), d = (S) => {
|
|
33879
33879
|
const E = S.custom_fields_errors, K = Object.fromEntries(E.map((H) => [H.cf_id, H.reason]));
|
|
33880
33880
|
u(K);
|
|
33881
33881
|
}, m = xy({
|
|
@@ -33886,7 +33886,7 @@ const Yb = ({
|
|
|
33886
33886
|
isEdit: o,
|
|
33887
33887
|
onSuccess: r,
|
|
33888
33888
|
onError: d
|
|
33889
|
-
}), C = t ===
|
|
33889
|
+
}), C = t === Gt.COMPANY ? m : v, { isPending: y } = C, h = Lt(() => {
|
|
33890
33890
|
if (!Array.isArray(s) || s.length === 0) return l;
|
|
33891
33891
|
const S = o ? Py[t] : [], E = l.map((H) => ({
|
|
33892
33892
|
...H,
|
|
@@ -33935,7 +33935,7 @@ const Yb = ({
|
|
|
33935
33935
|
value: E.value,
|
|
33936
33936
|
disabled: S.disabled,
|
|
33937
33937
|
onChange: (K) => E.onChange(K.target.value),
|
|
33938
|
-
options:
|
|
33938
|
+
options: Fp
|
|
33939
33939
|
}
|
|
33940
33940
|
) : S.type === sn.DATE ? /* @__PURE__ */ f(
|
|
33941
33941
|
Yb,
|
|
@@ -34195,7 +34195,7 @@ const Yb = ({
|
|
|
34195
34195
|
] }) });
|
|
34196
34196
|
}, Ky = (e) => /* @__PURE__ */ i.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ i.createElement("path", { d: "M8.00033 10C9.10487 10 10.0003 9.1046 10.0003 8C10.0003 6.8954 9.10487 6 8.00033 6C6.89573 6 6.00033 6.8954 6.00033 8C6.00033 9.1046 6.89573 10 8.00033 10Z", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ i.createElement("path", { d: "M6.19305 12.9141L6.58268 13.7904C6.69853 14.0512 6.88753 14.2729 7.1268 14.4284C7.36613 14.5839 7.6454 14.6667 7.9308 14.6667C8.21627 14.6667 8.49553 14.5839 8.7348 14.4284C8.97413 14.2729 9.16313 14.0512 9.279 13.7904L9.6686 12.9141C9.80733 12.6031 10.0406 12.3439 10.3353 12.1733C10.6318 12.0023 10.9748 11.9294 11.3153 11.9652L12.2686 12.0667C12.5524 12.0967 12.8388 12.0437 13.0931 11.9142C13.3473 11.7847 13.5586 11.5842 13.7012 11.3371C13.844 11.09 13.912 10.8069 13.897 10.5219C13.882 10.237 13.7847 9.96253 13.6167 9.73187L13.0523 8.95627C12.8513 8.67807 12.7439 8.3432 12.7457 8C12.7456 7.65773 12.854 7.32427 13.0553 7.0474L13.6197 6.27185C13.7876 6.04117 13.885 5.76671 13.9 5.48178C13.915 5.19685 13.8469 4.91369 13.7041 4.66667C13.5615 4.41949 13.3503 4.21899 13.096 4.08949C12.8417 3.95998 12.5553 3.90702 12.2716 3.93704L11.3183 4.03852C10.9778 4.07427 10.6347 4.00141 10.3383 3.83037C10.043 3.65883 9.8096 3.39824 9.6716 3.08593L9.279 2.20963C9.16313 1.94878 8.97413 1.72715 8.7348 1.5716C8.49553 1.41605 8.21627 1.33329 7.9308 1.33333C7.6454 1.33329 7.36613 1.41605 7.1268 1.5716C6.88753 1.72715 6.69853 1.94878 6.58268 2.20963L6.19305 3.08593C6.055 3.39824 5.82163 3.65883 5.52638 3.83037C5.22986 4.00141 4.88683 4.07427 4.54638 4.03852L3.59009 3.93704C3.30631 3.90702 3.01991 3.95998 2.76563 4.08949C2.51135 4.21899 2.30009 4.41949 2.15749 4.66667C2.01471 4.91369 1.94668 5.19685 1.96167 5.48178C1.97666 5.76671 2.07402 6.04117 2.24194 6.27185L2.80638 7.0474C3.00767 7.32427 3.11607 7.65773 3.11601 8C3.11607 8.34227 3.00767 8.6758 2.80638 8.9526L2.24194 9.72813C2.07402 9.9588 1.97666 10.2333 1.96167 10.5182C1.94668 10.8031 2.01471 11.0863 2.15749 11.3333C2.30024 11.5804 2.51151 11.7808 2.76576 11.9103C3.02001 12.0397 3.30633 12.0928 3.59009 12.0629L4.54342 11.9615C4.88387 11.9257 5.22689 11.9986 5.52342 12.1696C5.81977 12.3407 6.05423 12.6013 6.19305 12.9141Z", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" })), Wy = 5, qy = ({ entityType: e }) => {
|
|
34197
34197
|
const [n, t] = Et(!1);
|
|
34198
|
-
return e ===
|
|
34198
|
+
return e === Gt.COMPANY ? /* @__PURE__ */ Z(qn, { children: [
|
|
34199
34199
|
/* @__PURE__ */ f(
|
|
34200
34200
|
cc,
|
|
34201
34201
|
{
|
|
@@ -34422,7 +34422,7 @@ const mC = ({
|
|
|
34422
34422
|
/* @__PURE__ */ f(dC, { width: 44, height: 44 }),
|
|
34423
34423
|
/* @__PURE__ */ Z("div", { className: "cm:flex-1 cm:min-w-0", children: [
|
|
34424
34424
|
/* @__PURE__ */ f("p", { className: "cm:text-sm cm:font-medium cm:text-slate-800 cm:truncate", children: e.name }),
|
|
34425
|
-
/* @__PURE__ */ f("p", { className: "cm:text-xs cm:text-slate-400 cm:mt-0.5", children:
|
|
34425
|
+
/* @__PURE__ */ f("p", { className: "cm:text-xs cm:text-slate-400 cm:mt-0.5", children: q8(e.size) })
|
|
34426
34426
|
] }),
|
|
34427
34427
|
/* @__PURE__ */ f(
|
|
34428
34428
|
"button",
|
|
@@ -36029,7 +36029,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36029
36029
|
return !F.equals(Mn, Ye(pe), $);
|
|
36030
36030
|
}) : ln = [].concat(PC(r.value || []), [Ye(pe)]), pn(z, ln, pe), He !== -1 && c(He);
|
|
36031
36031
|
}
|
|
36032
|
-
},
|
|
36032
|
+
}, Xt = function(z) {
|
|
36033
36033
|
!r.inline && !r.disabled && !r.loading && !lt(z) && !Ne(z) && (j ? Ke() : ce(), R.focus(Se.current), z.preventDefault()), v(!0);
|
|
36034
36034
|
}, Tt = function(z) {
|
|
36035
36035
|
if (!j)
|
|
@@ -36047,7 +36047,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36047
36047
|
var He = s !== -1 ? ft(s) : m ? de() : B();
|
|
36048
36048
|
It(z, He), !j && ce(), z.preventDefault();
|
|
36049
36049
|
}
|
|
36050
|
-
},
|
|
36050
|
+
}, Jt = function(z) {
|
|
36051
36051
|
j ? s !== -1 && (z.shiftKey ? nn(z, s) : rn(z, Cn[s])) : (c(-1), Tt(z)), z.preventDefault();
|
|
36052
36052
|
}, Kt = function(z) {
|
|
36053
36053
|
var pe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, He = z.currentTarget;
|
|
@@ -36096,7 +36096,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36096
36096
|
case "Enter":
|
|
36097
36097
|
if (r.inline)
|
|
36098
36098
|
break;
|
|
36099
|
-
|
|
36099
|
+
Jt(z);
|
|
36100
36100
|
break;
|
|
36101
36101
|
case "Home":
|
|
36102
36102
|
if (r.inline)
|
|
@@ -36156,7 +36156,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36156
36156
|
case "Enter":
|
|
36157
36157
|
if (r.inline)
|
|
36158
36158
|
break;
|
|
36159
|
-
|
|
36159
|
+
Jt(z);
|
|
36160
36160
|
break;
|
|
36161
36161
|
case "Home":
|
|
36162
36162
|
if (r.inline)
|
|
@@ -36431,7 +36431,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36431
36431
|
return X || r.fixedPlaceholder ? "" : F.isNotEmpty(r.maxSelectedLabels) && ((z = r.value) === null || z === void 0 ? void 0 : z.length) > r.maxSelectedLabels ? dn() : F.isArray(r.value) ? r.value.reduce(function(pe, He, Dt) {
|
|
36432
36432
|
return pe + (Dt !== 0 ? ", " : "") + Un(He);
|
|
36433
36433
|
}, "") : "";
|
|
36434
|
-
},
|
|
36434
|
+
}, Zt = function() {
|
|
36435
36435
|
var z = r.value ? r.value.length : 0;
|
|
36436
36436
|
if (F.isNotEmpty(r.maxSelectedLabels) && z > r.maxSelectedLabels)
|
|
36437
36437
|
return dn();
|
|
@@ -36571,7 +36571,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36571
36571
|
});
|
|
36572
36572
|
return !X && r.showClear && !r.disabled ? He : null;
|
|
36573
36573
|
}, Wn = function() {
|
|
36574
|
-
var z =
|
|
36574
|
+
var z = Zt(), pe = t({
|
|
36575
36575
|
ref: Q,
|
|
36576
36576
|
className: $e("labelContainer")
|
|
36577
36577
|
}, Ve("labelContainer")), He = t({
|
|
@@ -36601,7 +36601,7 @@ var b3 = /* @__PURE__ */ i.memo(/* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
36601
36601
|
overlayVisibleState: j
|
|
36602
36602
|
}))
|
|
36603
36603
|
}, Gr), {}, {
|
|
36604
|
-
onClick:
|
|
36604
|
+
onClick: Xt
|
|
36605
36605
|
}), Fi.getOtherProps(r), Ve("root")), Na = t({
|
|
36606
36606
|
className: "p-hidden-accessible",
|
|
36607
36607
|
"data-p-hidden-accessible": !0
|
|
@@ -36924,7 +36924,7 @@ const VC = 14, zC = ({ size: e }) => /* @__PURE__ */ f(
|
|
|
36924
36924
|
] });
|
|
36925
36925
|
}, qC = (e) => e.id ?? e.value, QC = (e) => e.display_name ?? e.value ?? "", GC = ({ field: e, value: n, onChange: t }) => {
|
|
36926
36926
|
const a = Lt(
|
|
36927
|
-
() => e.type === sn.BOOLEAN ?
|
|
36927
|
+
() => e.type === sn.BOOLEAN ? Fp : (e.dropdown_values ?? []).map((o) => ({
|
|
36928
36928
|
label: QC(o),
|
|
36929
36929
|
value: qC(o)
|
|
36930
36930
|
})),
|
|
@@ -37076,7 +37076,7 @@ const VC = 14, zC = ({ size: e }) => /* @__PURE__ */ f(
|
|
|
37076
37076
|
a(e, o);
|
|
37077
37077
|
} });
|
|
37078
37078
|
}, y3 = ({ total: e, entityType: n, rightNode: t, extraActions: a }) => {
|
|
37079
|
-
const r = n ===
|
|
37079
|
+
const r = n === Gt.COMPANY ? "accounts" : "contacts", o = ba(la.CUSTOM_FIELDS_M2_ENABLED), l = ba(la.IS_ADMIN);
|
|
37080
37080
|
return /* @__PURE__ */ Z("div", { className: "cm:flex cm:items-center cm:justify-between cm:px-4 cm:py-2.5 cm:border cm:border-slate-border-light cm:rounded-t-lg cm:bg-white", children: [
|
|
37081
37081
|
/* @__PURE__ */ f("div", { className: "cm:text-sm cm:font-normal cm:text-slate-text-body", children: e > 0 ? `${e ?? 0} ${r}` : "" }),
|
|
37082
37082
|
/* @__PURE__ */ Z("div", { className: "cm:flex cm:items-center cm:gap-2", children: [
|
|
@@ -37089,10 +37089,10 @@ const VC = 14, zC = ({ size: e }) => /* @__PURE__ */ f(
|
|
|
37089
37089
|
] })
|
|
37090
37090
|
] });
|
|
37091
37091
|
}, gs = ["asc", "desc", null], Hs = fi((e, n) => ({
|
|
37092
|
-
[
|
|
37092
|
+
[Gt.COMPANY]: {
|
|
37093
37093
|
order: null
|
|
37094
37094
|
},
|
|
37095
|
-
[
|
|
37095
|
+
[Gt.CONTACT]: {
|
|
37096
37096
|
order: null
|
|
37097
37097
|
},
|
|
37098
37098
|
setSort: (t) => (a, r) => {
|
|
@@ -37140,12 +37140,12 @@ const VC = 14, zC = ({ size: e }) => /* @__PURE__ */ f(
|
|
|
37140
37140
|
const { total_results: n, page_number: t = 0, page_size: a } = e?.data ?? iw;
|
|
37141
37141
|
return t * a < n ? t + 1 : void 0;
|
|
37142
37142
|
}, cw = (e, n = !0) => {
|
|
37143
|
-
const t = js((h) => h.company.filters), a = Hs((h) => h[
|
|
37143
|
+
const t = js((h) => h.company.filters), a = Hs((h) => h[Gt.COMPANY]), r = Array.isArray(t) && t.length > 0, o = (a.field || a.custom_field_id) && a.order ? {
|
|
37144
37144
|
...a,
|
|
37145
37145
|
by: a.field ? "native" : "cf"
|
|
37146
37146
|
} : null, l = Bs({
|
|
37147
37147
|
queryKey: [Qa.COMPANIES_WITH_FILTERS, t, a],
|
|
37148
|
-
queryFn: ({ pageParam: h }) =>
|
|
37148
|
+
queryFn: ({ pageParam: h }) => I8({ filters: t, sort: o, page_size: 20, page_number: h }),
|
|
37149
37149
|
getNextPageParam: sw,
|
|
37150
37150
|
initialPageParam: 1,
|
|
37151
37151
|
enabled: n && r,
|
|
@@ -37585,14 +37585,14 @@ const Cw = ({
|
|
|
37585
37585
|
};
|
|
37586
37586
|
}, Ow = dc((e) => /* @__PURE__ */ f(O3, { field: e })), kw = dc(() => /* @__PURE__ */ f(ao, {})), Iw = ({ name: e }) => /* @__PURE__ */ f(ar, { text: e, className: "text-slate-900" }), Pw = ({ domains: e, fallback: n }) => e.length ? /* @__PURE__ */ f(fw, { values: e, maxVisible: 2 }) : /* @__PURE__ */ f(ar, { text: n, className: "text-slate-900" });
|
|
37587
37587
|
function Dw() {
|
|
37588
|
-
const e = ka(), [n, t] = Et(!1), { companies: a, total: r, isLoading: o, hasNextPage: l, isFetchingNextPage: s, refetch: c, fetchNextPage: u } = cw(), { parentCbRef: d, targetCbRef: m } =
|
|
37588
|
+
const e = ka(), [n, t] = Et(!1), { companies: a, total: r, isLoading: o, hasNextPage: l, isFetchingNextPage: s, refetch: c, fetchNextPage: u } = cw(), { parentCbRef: d, targetCbRef: m } = Bp({
|
|
37589
37589
|
callback: async () => {
|
|
37590
37590
|
l && await u();
|
|
37591
37591
|
},
|
|
37592
37592
|
selectTargetNode: A3
|
|
37593
|
-
}), { data: v = [], refetch: C } = S3({ entity_type:
|
|
37593
|
+
}), { data: v = [], refetch: C } = S3({ entity_type: Gt.COMPANY, defaultColumns: s3 }), y = en((T) => T.callbacks), h = async (T) => {
|
|
37594
37594
|
const j = T.map((te) => x3(te.id, te.visible ?? !1));
|
|
37595
|
-
await w3({ entity_type:
|
|
37595
|
+
await w3({ entity_type: Gt.COMPANY, visible_items: j }) && C();
|
|
37596
37596
|
}, {
|
|
37597
37597
|
preferences: b,
|
|
37598
37598
|
togglePreference: w,
|
|
@@ -37600,7 +37600,7 @@ function Dw() {
|
|
|
37600
37600
|
setAllVisible: P
|
|
37601
37601
|
} = D3({ items: v, savePreferences: h }), S = o || b.length === 0, E = Lt(() => b.filter((T) => T?.visible).map((T) => ({
|
|
37602
37602
|
...T,
|
|
37603
|
-
label: /* @__PURE__ */ f(C3, { title: T.label, entityType:
|
|
37603
|
+
label: /* @__PURE__ */ f(C3, { title: T.label, entityType: Gt.COMPANY, field: T.sortId || T.id, isCF: !T.locked })
|
|
37604
37604
|
})), [b]), K = Lt(() => {
|
|
37605
37605
|
if (!a) return [];
|
|
37606
37606
|
const T = a.map((L) => {
|
|
@@ -37693,7 +37693,7 @@ function Dw() {
|
|
|
37693
37693
|
y3,
|
|
37694
37694
|
{
|
|
37695
37695
|
total: r,
|
|
37696
|
-
entityType:
|
|
37696
|
+
entityType: Gt.COMPANY,
|
|
37697
37697
|
extraActions: /* @__PURE__ */ f(
|
|
37698
37698
|
P3,
|
|
37699
37699
|
{
|
|
@@ -37703,7 +37703,7 @@ function Dw() {
|
|
|
37703
37703
|
onSelectAll: P
|
|
37704
37704
|
}
|
|
37705
37705
|
),
|
|
37706
|
-
rightNode: /* @__PURE__ */ f(k3, { entityType:
|
|
37706
|
+
rightNode: /* @__PURE__ */ f(k3, { entityType: Gt.COMPANY, onClick: () => t(!0) })
|
|
37707
37707
|
}
|
|
37708
37708
|
),
|
|
37709
37709
|
D()
|
|
@@ -37714,7 +37714,7 @@ function Dw() {
|
|
|
37714
37714
|
open: n,
|
|
37715
37715
|
onClose: () => t(!1),
|
|
37716
37716
|
onSuccess: H,
|
|
37717
|
-
entityType:
|
|
37717
|
+
entityType: Gt.COMPANY
|
|
37718
37718
|
}
|
|
37719
37719
|
)
|
|
37720
37720
|
] });
|
|
@@ -37723,7 +37723,7 @@ const Nw = () => {
|
|
|
37723
37723
|
const e = en((t) => t.callbacks), n = ba(la.CUSTOM_FIELDS_ENABLED);
|
|
37724
37724
|
return Yt(() => {
|
|
37725
37725
|
e?.sendGainsightEvent && e.sendGainsightEvent(Mr.ACCOUNT_LIST_VIEWED);
|
|
37726
|
-
}, [e]), /* @__PURE__ */ f("div", { className: "cm:w-full cm:flex cm:flex-col cm:flex-1 cm:basis-0 cm:min-h-0", children: n ? /* @__PURE__ */ f(Dw, {}) : /* @__PURE__ */ f(
|
|
37726
|
+
}, [e]), /* @__PURE__ */ f("div", { className: "cm:w-full cm:flex cm:flex-col cm:flex-1 cm:basis-0 cm:min-h-0", children: n ? /* @__PURE__ */ f(Dw, {}) : /* @__PURE__ */ f(X8, {}) });
|
|
37727
37727
|
}, N3 = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_960_14978)'%3e%3cpath%20d='M6.41666%202.33314H3.96666C2.98656%202.33314%202.49652%202.33314%202.12217%202.52388C1.79289%202.69166%201.52517%202.95938%201.35739%203.28866C1.16666%203.663%201.16666%204.15305%201.16666%205.13314V10.0332C1.16666%2011.0132%201.16666%2011.5033%201.35739%2011.8776C1.52517%2012.2069%201.79289%2012.4746%202.12217%2012.6424C2.49652%2012.8331%202.98656%2012.8331%203.96666%2012.8331H8.86666C9.84677%2012.8331%2010.3368%2012.8331%2010.7112%2012.6424C11.0404%2012.4746%2011.3081%2012.2069%2011.4759%2011.8776C11.6667%2011.5033%2011.6667%2011.0132%2011.6667%2010.0332V7.58315M4.66664%209.33315H5.64346C5.92881%209.33315%206.0715%209.33315%206.20578%209.30089C6.32478%209.27231%206.43859%209.22518%206.54301%209.16124C6.66072%209.08908%206.76164%208.98817%206.96341%208.78639L12.5417%203.20814C13.0249%202.72489%2013.0249%201.94139%2012.5417%201.45814C12.0584%200.974894%2011.2749%200.974888%2010.7917%201.45814L5.21337%207.03639C5.0116%207.23817%204.91071%207.33908%204.83856%207.4568C4.7746%207.56122%204.72746%207.67497%204.69887%207.79403C4.66664%207.92831%204.66664%208.07099%204.66664%208.35636V9.33315Z'%20stroke='%230C3E9D'%20stroke-width='1.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_960_14978'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", m1 = ({
|
|
37728
37728
|
name: e,
|
|
37729
37729
|
avatarSize: n = "default",
|
|
@@ -38028,7 +38028,7 @@ const Fw = { total: 0, page: 0, page_size: 0 }, Lw = { total_results: 0, page_nu
|
|
|
38028
38028
|
const { total_results: n, page_number: t = 0, page_size: a } = e?.data ?? Lw;
|
|
38029
38029
|
return t * a < n ? t + 1 : void 0;
|
|
38030
38030
|
}, im = (e) => !!e && "results" in e.data, Hw = (e, n = !0) => {
|
|
38031
|
-
const t = js((h) => h.contact.filters), a = Array.isArray(t) && t.length > 0, r = Hs((h) => h[
|
|
38031
|
+
const t = js((h) => h.contact.filters), a = Array.isArray(t) && t.length > 0, r = Hs((h) => h[Gt.CONTACT]), o = (r.field || r.custom_field_id) && r.order ? {
|
|
38032
38032
|
...r,
|
|
38033
38033
|
by: r.field ? "native" : "cf"
|
|
38034
38034
|
} : null, l = Bs({
|
|
@@ -38069,14 +38069,14 @@ const Fw = { total: 0, page: 0, page_size: 0 }, Lw = { total_results: 0, page_nu
|
|
|
38069
38069
|
);
|
|
38070
38070
|
};
|
|
38071
38071
|
function Ww() {
|
|
38072
|
-
const [e, n] = Et(!1), { contacts: t, total: a, isLoading: r, hasNextPage: o, isFetchingNextPage: l, refetch: s, fetchNextPage: c } = Hw(), { parentCbRef: u, targetCbRef: d } =
|
|
38072
|
+
const [e, n] = Et(!1), { contacts: t, total: a, isLoading: r, hasNextPage: o, isFetchingNextPage: l, refetch: s, fetchNextPage: c } = Hw(), { parentCbRef: u, targetCbRef: d } = Bp({
|
|
38073
38073
|
callback: async () => {
|
|
38074
38074
|
o && await c();
|
|
38075
38075
|
},
|
|
38076
38076
|
selectTargetNode: A3
|
|
38077
|
-
}), m = ka(), v = en((j) => j.callbacks), C = ba(la.VOICE_ENABLED), { data: y = [], refetch: h } = S3({ entity_type:
|
|
38077
|
+
}), m = ka(), v = en((j) => j.callbacks), C = ba(la.VOICE_ENABLED), { data: y = [], refetch: h } = S3({ entity_type: Gt.CONTACT, defaultColumns: c3 }), b = async (j) => {
|
|
38078
38078
|
const L = j.map((J) => x3(J.id, J.visible ?? !1));
|
|
38079
|
-
await w3({ entity_type:
|
|
38079
|
+
await w3({ entity_type: Gt.CONTACT, visible_items: L }) && h();
|
|
38080
38080
|
}, {
|
|
38081
38081
|
preferences: w,
|
|
38082
38082
|
togglePreference: x,
|
|
@@ -38090,7 +38090,7 @@ function Ww() {
|
|
|
38090
38090
|
}
|
|
38091
38091
|
return j.map((L) => L.id === "phoneCall" ? L : {
|
|
38092
38092
|
...L,
|
|
38093
|
-
label: /* @__PURE__ */ f(C3, { title: L.label, entityType:
|
|
38093
|
+
label: /* @__PURE__ */ f(C3, { title: L.label, entityType: Gt.CONTACT, field: L.sortId || L.id, isCF: !L.locked })
|
|
38094
38094
|
});
|
|
38095
38095
|
}, [w, v?.onPhoneClick, C]), H = Lt(() => {
|
|
38096
38096
|
if (E || !t?.length)
|
|
@@ -38176,7 +38176,7 @@ function Ww() {
|
|
|
38176
38176
|
y3,
|
|
38177
38177
|
{
|
|
38178
38178
|
total: a,
|
|
38179
|
-
entityType:
|
|
38179
|
+
entityType: Gt.CONTACT,
|
|
38180
38180
|
extraActions: /* @__PURE__ */ f(
|
|
38181
38181
|
P3,
|
|
38182
38182
|
{
|
|
@@ -38186,7 +38186,7 @@ function Ww() {
|
|
|
38186
38186
|
onSelectAll: S
|
|
38187
38187
|
}
|
|
38188
38188
|
),
|
|
38189
|
-
rightNode: /* @__PURE__ */ f(k3, { entityType:
|
|
38189
|
+
rightNode: /* @__PURE__ */ f(k3, { entityType: Gt.CONTACT, onClick: () => n(!0) })
|
|
38190
38190
|
}
|
|
38191
38191
|
),
|
|
38192
38192
|
T()
|
|
@@ -38197,7 +38197,7 @@ function Ww() {
|
|
|
38197
38197
|
open: e,
|
|
38198
38198
|
onClose: () => n(!1),
|
|
38199
38199
|
onSuccess: M,
|
|
38200
|
-
entityType:
|
|
38200
|
+
entityType: Gt.CONTACT
|
|
38201
38201
|
}
|
|
38202
38202
|
)
|
|
38203
38203
|
] });
|
|
@@ -38397,7 +38397,7 @@ const qw = () => {
|
|
|
38397
38397
|
/* @__PURE__ */ f(L3, { entityType: "company", entityId: a.id })
|
|
38398
38398
|
] });
|
|
38399
38399
|
}, fc = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_960_6836)'%3e%3cg%20clip-path='url(%23clip1_960_6836)'%3e%3cpath%20d='M1.67773%2010.5663C1.70453%2010.3251%201.71793%2010.2045%201.75442%2010.0918C1.7868%209.99178%201.83254%209.89664%201.89041%209.80885C1.95564%209.70992%202.04144%209.62417%202.21305%209.45255L9.91672%201.74887C10.5611%201.10454%2011.6057%201.10454%2012.2501%201.74887C12.8944%202.39321%2012.8944%203.43788%2012.2501%204.08221L4.54638%2011.7859C4.37477%2011.9575%204.28897%2012.0432%204.19006%2012.1085C4.1023%2012.1664%204.00713%2012.2121%203.90712%2012.2445C3.79439%2012.281%203.67379%2012.2944%203.43259%2012.3212L1.45837%2012.5405L1.67773%2010.5663Z'%20stroke='%23334155'%20stroke-width='1.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_960_6836'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_960_6836'%3e%3crect%20width='14'%20height='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _w = () => {
|
|
38400
|
-
const [e, n] = Et(!1), { accountId: t } = lo(), a = t ? parseInt(t, 10) : void 0, { summaries: r } = hr(), o = Lt(() => t ? r[parseInt(t, 10)] : void 0, [t, r]), l = ba(la.CUSTOM_FIELDS_ENABLED), { data: s, isLoading: c } = g1({ entity_type:
|
|
38400
|
+
const [e, n] = Et(!1), { accountId: t } = lo(), a = t ? parseInt(t, 10) : void 0, { summaries: r } = hr(), o = Lt(() => t ? r[parseInt(t, 10)] : void 0, [t, r]), l = ba(la.CUSTOM_FIELDS_ENABLED), { data: s, isLoading: c } = g1({ entity_type: Gt.COMPANY, entity_ids: [a], enabled: l && !!a }), u = Lt(() => {
|
|
38401
38401
|
if (!o) return {};
|
|
38402
38402
|
const d = {
|
|
38403
38403
|
name: o.name,
|
|
@@ -38425,7 +38425,7 @@ const qw = () => {
|
|
|
38425
38425
|
open: e,
|
|
38426
38426
|
onClose: () => n(!1),
|
|
38427
38427
|
onSuccess: () => n(!1),
|
|
38428
|
-
entityType:
|
|
38428
|
+
entityType: Gt.COMPANY,
|
|
38429
38429
|
entityId: a,
|
|
38430
38430
|
initialData: u
|
|
38431
38431
|
},
|
|
@@ -39036,7 +39036,7 @@ const qw = () => {
|
|
|
39036
39036
|
/* @__PURE__ */ f(L3, { entityType: "contact", entityId: s.id })
|
|
39037
39037
|
] });
|
|
39038
39038
|
}, lx = () => {
|
|
39039
|
-
const [e, n] = Et(!1), { contactId: t } = lo(), a = t ? parseInt(t, 10) : void 0, { summaries: r } = Rr(), o = t ? r[parseInt(t, 10)] : void 0, l = ba(la.CUSTOM_FIELDS_ENABLED), { data: s, isLoading: c } = g1({ entity_type:
|
|
39039
|
+
const [e, n] = Et(!1), { contactId: t } = lo(), a = t ? parseInt(t, 10) : void 0, { summaries: r } = Rr(), o = t ? r[parseInt(t, 10)] : void 0, l = ba(la.CUSTOM_FIELDS_ENABLED), { data: s, isLoading: c } = g1({ entity_type: Gt.CONTACT, entity_ids: [a], enabled: l && !!a }), u = Lt(() => {
|
|
39040
39040
|
if (!o) return {};
|
|
39041
39041
|
const d = {
|
|
39042
39042
|
name: o.name,
|
|
@@ -39065,7 +39065,7 @@ const qw = () => {
|
|
|
39065
39065
|
open: e,
|
|
39066
39066
|
onClose: () => n(!1),
|
|
39067
39067
|
onSuccess: () => n(!1),
|
|
39068
|
-
entityType:
|
|
39068
|
+
entityType: Gt.CONTACT,
|
|
39069
39069
|
entityId: a,
|
|
39070
39070
|
initialData: u
|
|
39071
39071
|
},
|
|
@@ -39112,7 +39112,7 @@ const qw = () => {
|
|
|
39112
39112
|
] });
|
|
39113
39113
|
}, sx = () => /* @__PURE__ */ Z("div", { className: "cm:flex cm:gap-4 cm:items-start cm:relative cm:shrink-0 cm:w-full cm:h-full", children: [
|
|
39114
39114
|
/* @__PURE__ */ f("div", { className: "cm:flex-1", children: "dummy data" }),
|
|
39115
|
-
/* @__PURE__ */ f("div", { className: "cm:border-l cm:h-full cm:border-slate-border-light cm:w-[330px]", children: /* @__PURE__ */ f(
|
|
39115
|
+
/* @__PURE__ */ f("div", { className: "cm:border-l cm:h-full cm:border-slate-border-light cm:w-[330px]", children: /* @__PURE__ */ f(N8, { conversationMembers: [] }) })
|
|
39116
39116
|
] }), cx = async ({ payload: e, entity_type: n }) => {
|
|
39117
39117
|
const t = en.getState().config, a = El(), r = {
|
|
39118
39118
|
...e,
|
|
@@ -39140,7 +39140,7 @@ const qw = () => {
|
|
|
39140
39140
|
data: r
|
|
39141
39141
|
})).status === 200;
|
|
39142
39142
|
}, dx = ({ entityType: e, cf_id: n, onSuccess: t }) => {
|
|
39143
|
-
const { showSuccessToast: a, showErrorToast: r } = vi(), o = e ===
|
|
39143
|
+
const { showSuccessToast: a, showErrorToast: r } = vi(), o = e === Gt.COMPANY ? "Account" : "Contact";
|
|
39144
39144
|
return Da({
|
|
39145
39145
|
mutationFn: n ? ux : cx,
|
|
39146
39146
|
onSuccess: () => {
|
|
@@ -39445,7 +39445,7 @@ const bx = ({
|
|
|
39445
39445
|
bd,
|
|
39446
39446
|
{
|
|
39447
39447
|
value: e,
|
|
39448
|
-
options:
|
|
39448
|
+
options: A8,
|
|
39449
39449
|
disabled: n,
|
|
39450
39450
|
onChange: (a) => t(a.target.value),
|
|
39451
39451
|
itemTemplate: wx,
|
|
@@ -39541,7 +39541,7 @@ const bx = ({
|
|
|
39541
39541
|
)
|
|
39542
39542
|
] });
|
|
39543
39543
|
}, Ix = (e) => {
|
|
39544
|
-
const n =
|
|
39544
|
+
const n = jp(e.open, 200);
|
|
39545
39545
|
if (e.open)
|
|
39546
39546
|
return /* @__PURE__ */ f(Px, { ...e, delayedOpen: n });
|
|
39547
39547
|
}, Px = ({ open: e, delayedOpen: n, customField: t, entityType: a, onClose: r, onSuccess: o }) => {
|
|
@@ -39554,7 +39554,7 @@ const bx = ({
|
|
|
39554
39554
|
display_name: t.display_name,
|
|
39555
39555
|
description: t.description,
|
|
39556
39556
|
dropdown_values: t.dropdown_values ?? []
|
|
39557
|
-
} : { ...
|
|
39557
|
+
} : { ...O8 }, [t]), m = (v) => {
|
|
39558
39558
|
t?.cf_id ? c({
|
|
39559
39559
|
payload: {
|
|
39560
39560
|
...v,
|
|
@@ -39632,9 +39632,9 @@ const bx = ({
|
|
|
39632
39632
|
toggleFields: n
|
|
39633
39633
|
};
|
|
39634
39634
|
}, Rx = (e) => /* @__PURE__ */ i.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", ...e }, /* @__PURE__ */ i.createElement("rect", { id: "image 8", width: 24, height: 25, fill: "url(#pattern0_1_730)" }), /* @__PURE__ */ i.createElement("defs", null, /* @__PURE__ */ i.createElement("pattern", { id: "pattern0_1_730", patternContentUnits: "objectBoundingBox", width: 1, height: 1 }, /* @__PURE__ */ i.createElement("use", { xlinkHref: "#image0_1_730", transform: "translate(0.0416667) scale(0.00345238 0.00335571)" })), /* @__PURE__ */ i.createElement("image", { id: "image0_1_730", "data-name": "image.png", width: 700, height: 298, preserveAspectRatio: "none", xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAAEqCAYAAAD3bYOAAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACvKADAAQAAAABAAABKgAAAAAQe/iwAAA9JUlEQVR4Ae2dT4wcx5WnI6q6aULAWr2wDtTIY5dICdIYC6jkw9iAF3ATGF8WuxB7fNs9sHmbvZjkZfayAJvAXMYXUnPZubF58N5mu4XZ2yzA1mGA8VxUBgYeLSRSJe/I5sGGWxrAoEl25b6XXdmqrq4/mVkRmRGZX0JUVWZGvnjxRVbXr16+iLCGrXUEkr03e8Y8649M0jPW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H1SmUcqgp+btb41SU//pRVb+81JB0ZJ8nlHUhQSY4dy/LBr1mXQ2ZNDuzU8nCzHewhAAAIQgAAEIBAqgf8PYa7r8w1indoAAAAASUVORK5CYII=" }))), Mx = ({
|
|
39635
|
-
source: e =
|
|
39635
|
+
source: e = Sf.HIVER
|
|
39636
39636
|
}) => {
|
|
39637
|
-
const n = e ===
|
|
39637
|
+
const n = e === Sf.HIVER ? /* @__PURE__ */ f(Rx, {}) : null;
|
|
39638
39638
|
return /* @__PURE__ */ Z("div", { className: "cm:flex cm:items-center cm:gap-2", children: [
|
|
39639
39639
|
/* @__PURE__ */ f(
|
|
39640
39640
|
"div",
|
|
@@ -39860,7 +39860,7 @@ const bx = ({
|
|
|
39860
39860
|
)
|
|
39861
39861
|
] });
|
|
39862
39862
|
}, Vx = () => {
|
|
39863
|
-
const { entityType: e } = lo(), n = ka(), t = e ===
|
|
39863
|
+
const { entityType: e } = lo(), n = ka(), t = e === Gt.COMPANY ? "Accounts" : "Contacts", a = e === Gt.COMPANY ? Oo.ACCOUNTS : Oo.CONTACTS, r = e === Gt.COMPANY ? "accounts" : "contacts", o = e === Gt.COMPANY ? "account" : "contact";
|
|
39864
39864
|
return /* @__PURE__ */ Z(qn, { children: [
|
|
39865
39865
|
/* @__PURE__ */ f("style", { children: `
|
|
39866
39866
|
.cf-page-wrapper .cm-root .p-breadcrumb,
|
|
@@ -39908,12 +39908,12 @@ const bx = ({
|
|
|
39908
39908
|
r && e({ globalMountElement: r });
|
|
39909
39909
|
}, [e]), t = /* @__PURE__ */ f("div", { ref: n, className: "cm-root", style: zx }), a = document?.body || null;
|
|
39910
39910
|
return a ? Ad(t, a) : null;
|
|
39911
|
-
}, Kx = new
|
|
39911
|
+
}, Kx = new Eb();
|
|
39912
39912
|
function Wx() {
|
|
39913
|
-
return /* @__PURE__ */ Z(
|
|
39913
|
+
return /* @__PURE__ */ Z(Sb, { client: Kx, children: [
|
|
39914
39914
|
/* @__PURE__ */ Z(ih, { children: [
|
|
39915
39915
|
/* @__PURE__ */ f(ja, { path: "/conversation", element: /* @__PURE__ */ f(sx, {}) }),
|
|
39916
|
-
/* @__PURE__ */ Z(ja, { element: /* @__PURE__ */ f(
|
|
39916
|
+
/* @__PURE__ */ Z(ja, { element: /* @__PURE__ */ f(W8, {}), children: [
|
|
39917
39917
|
/* @__PURE__ */ f(ja, { path: "/", element: /* @__PURE__ */ f(lh, { to: Oo.ACCOUNTS }) }),
|
|
39918
39918
|
/* @__PURE__ */ f(ja, { path: Oo.ACCOUNTS, element: /* @__PURE__ */ f(Nw, {}) }),
|
|
39919
39919
|
/* @__PURE__ */ f(ja, { path: Oo.CONTACTS, element: /* @__PURE__ */ f(qw, {}) }),
|
|
@@ -39957,7 +39957,7 @@ function ZA(e = {}) {
|
|
|
39957
39957
|
r = l;
|
|
39958
39958
|
}
|
|
39959
39959
|
r.classList.add("cm-root"), en.getState().setMeta({ rootElement: r });
|
|
39960
|
-
const o =
|
|
39960
|
+
const o = T8.createRoot(r);
|
|
39961
39961
|
return o.render(
|
|
39962
39962
|
/* @__PURE__ */ f(ah, { children: /* @__PURE__ */ f(sh, { initialEntries: t, children: /* @__PURE__ */ f(Wx, {}) }) })
|
|
39963
39963
|
), {
|
|
@@ -40705,8 +40705,9 @@ const qx = `<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmln
|
|
|
40705
40705
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
40706
40706
|
export {
|
|
40707
40707
|
JA as API_METHODS,
|
|
40708
|
+
Gt as ENTITY_TYPES,
|
|
40708
40709
|
la as FEATURES,
|
|
40709
|
-
|
|
40710
|
+
N8 as RightPanel,
|
|
40710
40711
|
QA as contactsServices,
|
|
40711
40712
|
ZA as renderCustomerModule,
|
|
40712
40713
|
GA as searchServices,
|