@ambuj.bhaskar/react-component-library 0.18.27-alpha → 0.18.28-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.js +49 -57
- package/dist/index.umd.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9152,7 +9152,7 @@ const y$ = "_table_q0jcp_1", x$ = "_table__header_q0jcp_18", w$ = "_table__heade
|
|
|
9152
9152
|
list: e,
|
|
9153
9153
|
headerClass: t = "",
|
|
9154
9154
|
type: n = ""
|
|
9155
|
-
}) => (console.log("AWIHEADER List,", e), /* @__PURE__ */ z.jsx($$, { className: t, children: /* @__PURE__ */ z.jsx(mS, { children: e.map((r) => /* @__PURE__ */ z.jsx(U$, { children: r }, r)) }, `row_${n}`) }, n)), Q$ = "_modal__header_1etzt_1", W$ = "_modalButtonsContainer_1etzt_16", Y$ = "_genericModalBody_1etzt_25", Z$ = "_fixHeightScroll_1etzt_29", G$ = "_genericModalRow_1etzt_35", q$ = "_modal_1etzt_1", X$ = "_modal__close_button_1etzt_75", J$ = "_detailsModal_1etzt_81", eK = "_modal__row__cell_1etzt_86", tK = "_modal__row__label_1etzt_95", nK = "_modal__row__option_1etzt_100", rK = "_modalButton_1etzt_16", oK = "_modalFooter_1etzt_129", iK = "_column_1etzt_138", aK = "_borderTop_1etzt_142", sK = "_leftButtons_1etzt_146", lK = "_centerButtons_1etzt_147", cK = "_rightButtons_1etzt_148", uK = "_rightWrapper_1etzt_153", dK = "_children_1etzt_159", fK = "_boldLabel_1etzt_164", CK = "_notification__modal_1etzt_168", gK = "_notification__modal__header_1etzt_179", hK = "_notification__modal__header__readbutton_1etzt_185", AK = "_notification__modal__content_1etzt_193", mK = "_notification__modal__content__notification_1etzt_199", pK = "_notification__modal__content__notread_1etzt_204", vK = "_notification__modal__filter_1etzt_207", bK = "_filterTab_1etzt_214", yK = "_active_1etzt_230", xK = "_notification__modal__footer_1etzt_236", wK = "_notification__backdrop_1etzt_243", EK = "_rightPopup_1etzt_253", SK = "_closeIcon_1etzt_260", _K = "_draggableHeader_1etzt_270",
|
|
9155
|
+
}) => (console.log("AWIHEADER List,", e), /* @__PURE__ */ z.jsx($$, { className: t, children: /* @__PURE__ */ z.jsx(mS, { children: e.map((r) => /* @__PURE__ */ z.jsx(U$, { children: r }, r)) }, `row_${n}`) }, n)), Q$ = "_modal__header_1etzt_1", W$ = "_modalButtonsContainer_1etzt_16", Y$ = "_genericModalBody_1etzt_25", Z$ = "_fixHeightScroll_1etzt_29", G$ = "_genericModalRow_1etzt_35", q$ = "_modal_1etzt_1", X$ = "_modal__close_button_1etzt_75", J$ = "_detailsModal_1etzt_81", eK = "_modal__row__cell_1etzt_86", tK = "_modal__row__label_1etzt_95", nK = "_modal__row__option_1etzt_100", rK = "_modalButton_1etzt_16", oK = "_modalFooter_1etzt_129", iK = "_column_1etzt_138", aK = "_borderTop_1etzt_142", sK = "_leftButtons_1etzt_146", lK = "_centerButtons_1etzt_147", cK = "_rightButtons_1etzt_148", uK = "_rightWrapper_1etzt_153", dK = "_children_1etzt_159", fK = "_boldLabel_1etzt_164", CK = "_notification__modal_1etzt_168", gK = "_notification__modal__header_1etzt_179", hK = "_notification__modal__header__readbutton_1etzt_185", AK = "_notification__modal__content_1etzt_193", mK = "_notification__modal__content__notification_1etzt_199", pK = "_notification__modal__content__notread_1etzt_204", vK = "_notification__modal__filter_1etzt_207", bK = "_filterTab_1etzt_214", yK = "_active_1etzt_230", xK = "_notification__modal__footer_1etzt_236", wK = "_notification__backdrop_1etzt_243", EK = "_rightPopup_1etzt_253", SK = "_closeIcon_1etzt_260", _K = "_draggableHeader_1etzt_270", T0 = {
|
|
9156
9156
|
modal__header: Q$,
|
|
9157
9157
|
modalButtonsContainer: W$,
|
|
9158
9158
|
genericModalBody: Y$,
|
|
@@ -10186,11 +10186,11 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10186
10186
|
"div",
|
|
10187
10187
|
{
|
|
10188
10188
|
className: Pn(
|
|
10189
|
-
i === "topRightNotification" ?
|
|
10189
|
+
i === "topRightNotification" ? T0.notification__modal : r ? T0.detailsModal : T0.modal,
|
|
10190
10190
|
o,
|
|
10191
|
-
{ [
|
|
10191
|
+
{ [T0.rightPopup]: a === "right" }
|
|
10192
10192
|
),
|
|
10193
|
-
children: s ? /* @__PURE__ */ z.jsx("div", { className:
|
|
10193
|
+
children: s ? /* @__PURE__ */ z.jsx("div", { className: T0.draggableHeader, children: e }) : /* @__PURE__ */ z.jsx(z.Fragment, { children: e })
|
|
10194
10194
|
}
|
|
10195
10195
|
);
|
|
10196
10196
|
return /* @__PURE__ */ z.jsxs(z.Fragment, { children: [
|
|
@@ -10199,22 +10199,14 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10199
10199
|
{
|
|
10200
10200
|
onClick: () => n == null ? void 0 : n(),
|
|
10201
10201
|
className: Pn(
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10202
|
+
T0.backdrop,
|
|
10203
|
+
T0.backdrop__transparent,
|
|
10204
|
+
T0.cursorPointer,
|
|
10205
|
+
T0.backdrop__active
|
|
10206
10206
|
)
|
|
10207
10207
|
}
|
|
10208
10208
|
),
|
|
10209
|
-
s ? /* @__PURE__ */ z.jsx(TK, { handle: `.${
|
|
10210
|
-
"div",
|
|
10211
|
-
{
|
|
10212
|
-
style: {
|
|
10213
|
-
background: "#fff !important"
|
|
10214
|
-
},
|
|
10215
|
-
children: l
|
|
10216
|
-
}
|
|
10217
|
-
) }) : l
|
|
10209
|
+
s ? /* @__PURE__ */ z.jsx("div", { className: `draggableContainer ${a}`, children: /* @__PURE__ */ z.jsx(TK, { handle: `.${T0.draggableHeader}`, bounds: "parent", children: /* @__PURE__ */ z.jsx("div", { className: T0.reactDraggableWrapper, children: l }) }) }) : l
|
|
10218
10210
|
] });
|
|
10219
10211
|
}, vg = ({
|
|
10220
10212
|
children: e,
|
|
@@ -10223,8 +10215,8 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10223
10215
|
}) => /* @__PURE__ */ z.jsx(
|
|
10224
10216
|
"div",
|
|
10225
10217
|
{
|
|
10226
|
-
className: Pn(
|
|
10227
|
-
[
|
|
10218
|
+
className: Pn(T0.genericModalBody, t, {
|
|
10219
|
+
[T0.fixHeightScroll]: n
|
|
10228
10220
|
}),
|
|
10229
10221
|
children: e
|
|
10230
10222
|
}
|
|
@@ -10979,7 +10971,7 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10979
10971
|
}) => /* @__PURE__ */ z.jsxs(
|
|
10980
10972
|
"div",
|
|
10981
10973
|
{
|
|
10982
|
-
className:
|
|
10974
|
+
className: T0.modal__header,
|
|
10983
10975
|
style: {
|
|
10984
10976
|
backgroundColor: n || "",
|
|
10985
10977
|
borderBottom: r ? "0" : "1px solid #E5E5E5"
|
|
@@ -10989,7 +10981,7 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10989
10981
|
t && /* @__PURE__ */ z.jsx(
|
|
10990
10982
|
"div",
|
|
10991
10983
|
{
|
|
10992
|
-
className:
|
|
10984
|
+
className: T0.modal__close_button,
|
|
10993
10985
|
onClick: t,
|
|
10994
10986
|
title: "Close",
|
|
10995
10987
|
children: /* @__PURE__ */ z.jsx(
|
|
@@ -10997,7 +10989,7 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
10997
10989
|
{
|
|
10998
10990
|
src: pn.crossUrl.IconComponent,
|
|
10999
10991
|
alt: "Close",
|
|
11000
|
-
className:
|
|
10992
|
+
className: T0.closeIcon
|
|
11001
10993
|
}
|
|
11002
10994
|
)
|
|
11003
10995
|
}
|
|
@@ -11125,19 +11117,19 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
11125
11117
|
"div",
|
|
11126
11118
|
{
|
|
11127
11119
|
className: Pn(
|
|
11128
|
-
|
|
11120
|
+
T0.modalFooter,
|
|
11129
11121
|
{
|
|
11130
|
-
[
|
|
11131
|
-
[
|
|
11122
|
+
[T0.borderTop]: o,
|
|
11123
|
+
[T0.column]: a === "column"
|
|
11132
11124
|
},
|
|
11133
11125
|
s || ""
|
|
11134
11126
|
),
|
|
11135
11127
|
children: [
|
|
11136
|
-
e.length > 0 && /* @__PURE__ */ z.jsx("div", { className:
|
|
11137
|
-
t.length > 0 && /* @__PURE__ */ z.jsx("div", { className:
|
|
11138
|
-
/* @__PURE__ */ z.jsxs("div", { className:
|
|
11139
|
-
i && /* @__PURE__ */ z.jsx("div", { className:
|
|
11140
|
-
(n.length > 0 || !e.length && !t.length && r.length > 0) && /* @__PURE__ */ z.jsx("div", { className:
|
|
11128
|
+
e.length > 0 && /* @__PURE__ */ z.jsx("div", { className: T0.leftButtons, children: l(e) }),
|
|
11129
|
+
t.length > 0 && /* @__PURE__ */ z.jsx("div", { className: T0.centerButtons, children: l(t) }),
|
|
11130
|
+
/* @__PURE__ */ z.jsxs("div", { className: T0.rightWrapper, children: [
|
|
11131
|
+
i && /* @__PURE__ */ z.jsx("div", { className: T0.children, children: i }),
|
|
11132
|
+
(n.length > 0 || !e.length && !t.length && r.length > 0) && /* @__PURE__ */ z.jsx("div", { className: T0.rightButtons, children: l(n.length > 0 ? n : r) })
|
|
11141
11133
|
] })
|
|
11142
11134
|
]
|
|
11143
11135
|
}
|
|
@@ -11149,13 +11141,13 @@ const TK = /* @__PURE__ */ P2(kK), pg = ({
|
|
|
11149
11141
|
labelTitle: r,
|
|
11150
11142
|
boldLabel: o = !1,
|
|
11151
11143
|
className: i = ""
|
|
11152
|
-
}) => /* @__PURE__ */ z.jsxs("div", { className: Pn(
|
|
11153
|
-
e && /* @__PURE__ */ z.jsxs("label", { className:
|
|
11154
|
-
/* @__PURE__ */ z.jsx("span", { className: o ?
|
|
11144
|
+
}) => /* @__PURE__ */ z.jsxs("div", { className: Pn(T0.genericModalRow, i), title: r, children: [
|
|
11145
|
+
e && /* @__PURE__ */ z.jsxs("label", { className: T0.modal__row__label, children: [
|
|
11146
|
+
/* @__PURE__ */ z.jsx("span", { className: o ? T0.boldLabel : "", children: e }),
|
|
11155
11147
|
" ",
|
|
11156
11148
|
n && /* @__PURE__ */ z.jsx("span", { className: "asterisk", children: "*" })
|
|
11157
11149
|
] }),
|
|
11158
|
-
/* @__PURE__ */ z.jsx("div", { className:
|
|
11150
|
+
/* @__PURE__ */ z.jsx("div", { className: T0.modal__row__option, children: t })
|
|
11159
11151
|
] }), wv = ({
|
|
11160
11152
|
toggleSelectAnnotation: e = () => {
|
|
11161
11153
|
console.log("Not available");
|
|
@@ -21168,7 +21160,7 @@ function J0e() {
|
|
|
21168
21160
|
["partial", E],
|
|
21169
21161
|
["partialRight", S],
|
|
21170
21162
|
["rearg", H]
|
|
21171
|
-
], Z = "[object Arguments]", te = "[object Array]", ne = "[object AsyncFunction]", J = "[object Boolean]", he = "[object Date]", Ce = "[object DOMException]", se = "[object Error]", oe = "[object Function]", q = "[object GeneratorFunction]", G = "[object Map]", ce = "[object Number]", be = "[object Null]", ye = "[object Object]", re = "[object Promise]", Fe = "[object Proxy]", ze = "[object RegExp]", pe = "[object Set]", Se = "[object String]", He = "[object Symbol]", ke = "[object Undefined]", je = "[object WeakMap]", tt = "[object WeakSet]", We = "[object ArrayBuffer]", ht = "[object DataView]", Xe = "[object Float32Array]", Pe = "[object Float64Array]", Be = "[object Int8Array]", Ke = "[object Int16Array]", Ie = "[object Int32Array]", Me = "[object Uint8Array]", De = "[object Uint8ClampedArray]", Je = "[object Uint16Array]", Te = "[object Uint32Array]", et = /\b__p \+= '';/g, _t = /\b(__p \+=) '' \+/g, kt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Yt = /&(?:amp|lt|gt|quot|#39);/g, xn = /[&<>"']/g, Tt = RegExp(Yt.source), en = RegExp(xn.source), sn = /<%-([\s\S]+?)%>/g, Pt = /<%([\s\S]+?)%>/g, yt = /<%=([\s\S]+?)%>/g, pt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ft = /^\w*$/, Rt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Jt = /[\\^$.*+?()[\]{}|]/g, ot = RegExp(Jt.source), it = /^\s+/, Et = /\s/, At = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Lt = /\{\n\/\* \[wrapped with (.+)\] \*/, le = /,? & /, $e = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Le = /[()=,{}\[\]\/\s]/, dt = /\\(\\)?/g, Ne = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, vt = /\w*$/, wt = /^[-+]0x[0-9a-f]+$/i, Mt = /^0b[01]+$/i, dn = /^\[object .+?Constructor\]$/, st = /^0o[0-7]+$/i, lt = /^(?:0|[1-9]\d*)$/, Ht = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ve = /($^)/, Ot = /['\n\r\u2028\u2029\\]/g, Dt = "\\ud800-\\udfff", n0 = "\\u0300-\\u036f", h0 = "\\ufe20-\\ufe2f", Wn = "\\u20d0-\\u20ff", Vn = n0 + h0 + Wn, Ln = "\\u2700-\\u27bf", b0 = "a-z\\xdf-\\xf6\\xf8-\\xff",
|
|
21163
|
+
], Z = "[object Arguments]", te = "[object Array]", ne = "[object AsyncFunction]", J = "[object Boolean]", he = "[object Date]", Ce = "[object DOMException]", se = "[object Error]", oe = "[object Function]", q = "[object GeneratorFunction]", G = "[object Map]", ce = "[object Number]", be = "[object Null]", ye = "[object Object]", re = "[object Promise]", Fe = "[object Proxy]", ze = "[object RegExp]", pe = "[object Set]", Se = "[object String]", He = "[object Symbol]", ke = "[object Undefined]", je = "[object WeakMap]", tt = "[object WeakSet]", We = "[object ArrayBuffer]", ht = "[object DataView]", Xe = "[object Float32Array]", Pe = "[object Float64Array]", Be = "[object Int8Array]", Ke = "[object Int16Array]", Ie = "[object Int32Array]", Me = "[object Uint8Array]", De = "[object Uint8ClampedArray]", Je = "[object Uint16Array]", Te = "[object Uint32Array]", et = /\b__p \+= '';/g, _t = /\b(__p \+=) '' \+/g, kt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Yt = /&(?:amp|lt|gt|quot|#39);/g, xn = /[&<>"']/g, Tt = RegExp(Yt.source), en = RegExp(xn.source), sn = /<%-([\s\S]+?)%>/g, Pt = /<%([\s\S]+?)%>/g, yt = /<%=([\s\S]+?)%>/g, pt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ft = /^\w*$/, Rt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Jt = /[\\^$.*+?()[\]{}|]/g, ot = RegExp(Jt.source), it = /^\s+/, Et = /\s/, At = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Lt = /\{\n\/\* \[wrapped with (.+)\] \*/, le = /,? & /, $e = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Le = /[()=,{}\[\]\/\s]/, dt = /\\(\\)?/g, Ne = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, vt = /\w*$/, wt = /^[-+]0x[0-9a-f]+$/i, Mt = /^0b[01]+$/i, dn = /^\[object .+?Constructor\]$/, st = /^0o[0-7]+$/i, lt = /^(?:0|[1-9]\d*)$/, Ht = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ve = /($^)/, Ot = /['\n\r\u2028\u2029\\]/g, Dt = "\\ud800-\\udfff", n0 = "\\u0300-\\u036f", h0 = "\\ufe20-\\ufe2f", Wn = "\\u20d0-\\u20ff", Vn = n0 + h0 + Wn, Ln = "\\u2700-\\u27bf", b0 = "a-z\\xdf-\\xf6\\xf8-\\xff", F0 = "\\xac\\xb1\\xd7\\xf7", Kt = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", vn = "\\u2000-\\u206f", rn = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Sn = "A-Z\\xc0-\\xd6\\xd8-\\xde", Rn = "\\ufe0e\\ufe0f", W0 = F0 + Kt + vn + rn, r0 = "['’]", d0 = "[" + Dt + "]", B0 = "[" + W0 + "]", tn = "[" + Vn + "]", fn = "\\d+", bn = "[" + Ln + "]", mt = "[" + b0 + "]", St = "[^" + Dt + W0 + fn + Ln + b0 + Sn + "]", Bt = "\\ud83c[\\udffb-\\udfff]", Ye = "(?:" + tn + "|" + Bt + ")", Mn = "[^" + Dt + "]", On = "(?:\\ud83c[\\udde6-\\uddff]){2}", z0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", a0 = "[" + Sn + "]", i1 = "\\u200d", nn = "(?:" + mt + "|" + St + ")", Cn = "(?:" + a0 + "|" + St + ")", Zt = "(?:" + r0 + "(?:d|ll|m|re|s|t|ve))?", Nt = "(?:" + r0 + "(?:D|LL|M|RE|S|T|VE))?", Ft = Ye + "?", Tn = "[" + Rn + "]?", Fn = "(?:" + i1 + "(?:" + [Mn, On, z0].join("|") + ")" + Tn + Ft + ")*", A0 = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", an = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Cr = Tn + Ft + Fn, go = "(?:" + [bn, On, z0].join("|") + ")" + Cr, e9 = "(?:" + [Mn + tn + "?", tn, On, z0, d0].join("|") + ")", Dn = RegExp(r0, "g"), Xt = RegExp(tn, "g"), yn = RegExp(Bt + "(?=" + Bt + ")|" + e9 + Cr, "g"), I0 = RegExp([
|
|
21172
21164
|
a0 + "?" + mt + "+" + Zt + "(?=" + [B0, a0, "$"].join("|") + ")",
|
|
21173
21165
|
Cn + "+" + Nt + "(?=" + [B0, a0 + nn, "$"].join("|") + ")",
|
|
21174
21166
|
a0 + "?" + nn + "+" + Zt,
|
|
@@ -39887,10 +39879,10 @@ function w4e(e, t, n, r, o, i, a) {
|
|
|
39887
39879
|
if (Wn && en[1] === "l" && (dn > je.right || h.current.rl)) {
|
|
39888
39880
|
var Ln = pt;
|
|
39889
39881
|
Vn ? Ln -= q - ce : Ln = ot.x - At.x - Ie;
|
|
39890
|
-
var b0 = Nt(Ln, ft),
|
|
39882
|
+
var b0 = Nt(Ln, ft), F0 = Nt(Ln, ft, He);
|
|
39891
39883
|
// Of course use larger one
|
|
39892
39884
|
b0 > Rt || b0 === Rt && (!pe || // Choose recommend one
|
|
39893
|
-
|
|
39885
|
+
F0 >= Jt) ? (h.current.rl = !0, pt = Ln, Ie = -Ie, yt.points = [xi(en, 1), xi(Tt, 1)]) : h.current.rl = !1;
|
|
39894
39886
|
}
|
|
39895
39887
|
if (Wn && en[1] === "r" && (Mt < je.left || h.current.lr)) {
|
|
39896
39888
|
var Kt = pt;
|
|
@@ -40041,7 +40033,7 @@ function H4e() {
|
|
|
40041
40033
|
}, [Pt]);
|
|
40042
40034
|
var $e = u.useState(null), Le = de($e, 2), dt = Le[0], Ne = Le[1], vt = u.useState(null), wt = de(vt, 2), Mt = wt[0], dn = wt[1], st = function(yn) {
|
|
40043
40035
|
dn([yn.clientX, yn.clientY]);
|
|
40044
|
-
}, lt = w4e(Pt, tt, U && Mt !== null ? Mt : Ke, P, L, k, $), Ht = de(lt, 11), Ve = Ht[0], Ot = Ht[1], Dt = Ht[2], n0 = Ht[3], h0 = Ht[4], Wn = Ht[5], Vn = Ht[6], Ln = Ht[7], b0 = Ht[8],
|
|
40036
|
+
}, lt = w4e(Pt, tt, U && Mt !== null ? Mt : Ke, P, L, k, $), Ht = de(lt, 11), Ve = Ht[0], Ot = Ht[1], Dt = Ht[2], n0 = Ht[3], h0 = Ht[4], Wn = Ht[5], Vn = Ht[6], Ln = Ht[7], b0 = Ht[8], F0 = Ht[9], Kt = Ht[10], vn = b4e(re, l, c, d), rn = de(vn, 2), Sn = rn[0], Rn = rn[1], W0 = Sn.has("click"), r0 = Rn.has("click") || Rn.has("contextMenu"), d0 = Bn(function() {
|
|
40045
40037
|
Lt || Kt();
|
|
40046
40038
|
}), B0 = function() {
|
|
40047
40039
|
pt.current && U && r0 && it(!1);
|
|
@@ -40052,9 +40044,9 @@ function H4e() {
|
|
|
40052
40044
|
Pt && !(L != null && L[P]) && d0();
|
|
40053
40045
|
}, [JSON.stringify(k)]);
|
|
40054
40046
|
var tn = u.useMemo(function() {
|
|
40055
|
-
var Xt = x4e(L, i,
|
|
40056
|
-
return ge(Xt, j == null ? void 0 : j(
|
|
40057
|
-
}, [
|
|
40047
|
+
var Xt = x4e(L, i, F0, U);
|
|
40048
|
+
return ge(Xt, j == null ? void 0 : j(F0));
|
|
40049
|
+
}, [F0, j, L, i, U]);
|
|
40058
40050
|
u.useImperativeHandle(r, function() {
|
|
40059
40051
|
return {
|
|
40060
40052
|
nativeElement: Me.current,
|
|
@@ -40161,7 +40153,7 @@ function H4e() {
|
|
|
40161
40153
|
forceRender: H,
|
|
40162
40154
|
autoDestroy: ce,
|
|
40163
40155
|
getPopupContainer: _,
|
|
40164
|
-
align:
|
|
40156
|
+
align: F0,
|
|
40165
40157
|
arrow: Dn,
|
|
40166
40158
|
arrowPos: e9,
|
|
40167
40159
|
ready: Ve,
|
|
@@ -40505,8 +40497,8 @@ var D4e = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction
|
|
|
40505
40497
|
multiple: Fe,
|
|
40506
40498
|
toggleOpen: ot
|
|
40507
40499
|
});
|
|
40508
|
-
}, [e, m, Jt, ft, r, ze, Fe, ot]),
|
|
40509
|
-
|
|
40500
|
+
}, [e, m, Jt, ft, r, ze, Fe, ot]), F0 = !!F || y, Kt;
|
|
40501
|
+
F0 && (Kt = /* @__PURE__ */ u.createElement(n7, {
|
|
40510
40502
|
className: ge("".concat(o, "-arrow"), Y({}, "".concat(o, "-arrow-loading"), y)),
|
|
40511
40503
|
customizeIcon: F,
|
|
40512
40504
|
customizeIconProps: {
|
|
@@ -40525,7 +40517,7 @@ var D4e = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction
|
|
|
40525
40517
|
}), le("", !1, !1);
|
|
40526
40518
|
}, rn = Qse(o, vn, d, L, K, x, Te, A), Sn = rn.allowClear, Rn = rn.clearIcon, W0 = /* @__PURE__ */ u.createElement(j, {
|
|
40527
40519
|
ref: Pe
|
|
40528
|
-
}), r0 = ge(o, i, Y(Y(Y(Y(Y(Y(Y(Y(Y(Y({}, "".concat(o, "-focused"), Me), "".concat(o, "-multiple"), Fe), "".concat(o, "-single"), !Fe), "".concat(o, "-allow-clear"), L), "".concat(o, "-show-arrow"),
|
|
40520
|
+
}), r0 = ge(o, i, Y(Y(Y(Y(Y(Y(Y(Y(Y(Y({}, "".concat(o, "-focused"), Me), "".concat(o, "-multiple"), Fe), "".concat(o, "-single"), !Fe), "".concat(o, "-allow-clear"), L), "".concat(o, "-show-arrow"), F0), "".concat(o, "-disabled"), x), "".concat(o, "-loading"), y), "".concat(o, "-open"), ft), "".concat(o, "-customize-input"), et), "".concat(o, "-show-search"), ze)), d0 = /* @__PURE__ */ u.createElement(iO, {
|
|
40529
40521
|
ref: ht,
|
|
40530
40522
|
disabled: x,
|
|
40531
40523
|
prefixCls: o,
|
|
@@ -45459,13 +45451,13 @@ var o6e = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
|
|
|
45459
45451
|
}
|
|
45460
45452
|
};
|
|
45461
45453
|
});
|
|
45462
|
-
var
|
|
45454
|
+
var F0 = v0(k || [], {
|
|
45463
45455
|
value: F,
|
|
45464
45456
|
// Legacy convert key to array
|
|
45465
45457
|
postState: function(mt) {
|
|
45466
45458
|
return Array.isArray(mt) ? mt : mt == null ? x9 : [mt];
|
|
45467
45459
|
}
|
|
45468
|
-
}), Kt = de(
|
|
45460
|
+
}), Kt = de(F0, 2), vn = Kt[0], rn = Kt[1], Sn = function(mt) {
|
|
45469
45461
|
if (P) {
|
|
45470
45462
|
var St = mt.key, Bt = vn.includes(St), Ye;
|
|
45471
45463
|
L ? Bt ? Ye = vn.filter(function(On) {
|
|
@@ -50827,7 +50819,7 @@ function t8e(e, t) {
|
|
|
50827
50819
|
u.useEffect(function() {
|
|
50828
50820
|
ye || Vn(null);
|
|
50829
50821
|
}, [ye]);
|
|
50830
|
-
var b0 = u.useState(0),
|
|
50822
|
+
var b0 = u.useState(0), F0 = de(b0, 2), Kt = F0[0], vn = F0[1], rn = hB(ne, J), Sn = function(Nt) {
|
|
50831
50823
|
Vn(Nt), Dt("preset");
|
|
50832
50824
|
}, Rn = function(Nt) {
|
|
50833
50825
|
var Ft = it(Nt);
|
|
@@ -51212,7 +51204,7 @@ function i8e(e, t) {
|
|
|
51212
51204
|
Mn && !T && Se(!1, {
|
|
51213
51205
|
force: !0
|
|
51214
51206
|
});
|
|
51215
|
-
},
|
|
51207
|
+
}, F0 = function(Bt) {
|
|
51216
51208
|
b0(Bt);
|
|
51217
51209
|
}, Kt = function(Bt) {
|
|
51218
51210
|
n0(Bt), Ht("cell");
|
|
@@ -51256,7 +51248,7 @@ function i8e(e, t) {
|
|
|
51256
51248
|
presets: Vn,
|
|
51257
51249
|
onPresetHover: Ln,
|
|
51258
51250
|
onPresetSubmit: b0,
|
|
51259
|
-
onNow:
|
|
51251
|
+
onNow: F0,
|
|
51260
51252
|
cellRender: Rn
|
|
51261
51253
|
})), d0 = function(Bt) {
|
|
51262
51254
|
Pe(Bt);
|
|
@@ -56711,9 +56703,9 @@ var hI = function(t) {
|
|
|
56711
56703
|
"aria-disabled": Ln
|
|
56712
56704
|
}, Vn);
|
|
56713
56705
|
}
|
|
56714
|
-
var
|
|
56706
|
+
var F0 = ge(o, s, (n = {}, Y(n, "".concat(o, "-start"), b === "start"), Y(n, "".concat(o, "-center"), b === "center"), Y(n, "".concat(o, "-end"), b === "end"), Y(n, "".concat(o, "-simple"), F), Y(n, "".concat(o, "-disabled"), k), n));
|
|
56715
56707
|
return /* @__PURE__ */ ue.createElement("ul", _e({
|
|
56716
|
-
className:
|
|
56708
|
+
className: F0,
|
|
56717
56709
|
style: P,
|
|
56718
56710
|
ref: Ce
|
|
56719
56711
|
}, Jt), ot, h0, F ? vt : At, Vn, /* @__PURE__ */ ue.createElement(gI, {
|
|
@@ -59789,9 +59781,9 @@ function hfe(e, t) {
|
|
|
59789
59781
|
}, [ft, s, pe.length]), u.useEffect(function() {
|
|
59790
59782
|
Wn.current = !0;
|
|
59791
59783
|
}, []);
|
|
59792
|
-
var Vn = u.useState(0), Ln = de(Vn, 2), b0 = Ln[0],
|
|
59784
|
+
var Vn = u.useState(0), Ln = de(Vn, 2), b0 = Ln[0], F0 = Ln[1], Kt = u.useState(!0), vn = de(Kt, 2), rn = vn[0], Sn = vn[1];
|
|
59793
59785
|
u.useEffect(function() {
|
|
59794
|
-
(!B || !k) && (Xe.current instanceof Element ?
|
|
59786
|
+
(!B || !k) && (Xe.current instanceof Element ? F0(AC(Xe.current).width) : F0(AC(Pe.current).width)), Sn(R5e("position", "sticky"));
|
|
59795
59787
|
}, []), u.useEffect(function() {
|
|
59796
59788
|
k && O && (O.body.current = Xe.current);
|
|
59797
59789
|
});
|
|
@@ -72243,7 +72235,7 @@ const QHe = (e, t) => {
|
|
|
72243
72235
|
SELECTED: 4.5,
|
|
72244
72236
|
CAROUSAL: 2.5,
|
|
72245
72237
|
CIRCLE: 2
|
|
72246
|
-
}, dt = bt(""), Ne = bt(null), vt = bt(null), wt = bt(null), Mt = DR(), [dn, st] = It(!1), [lt, Ht] = It(!1), [Ve, Ot] = It([]), [Dt, n0] = It(), [h0, Wn] = It(), [Vn, Ln] = It({ x: -1, y: -1 }), [b0,
|
|
72238
|
+
}, dt = bt(""), Ne = bt(null), vt = bt(null), wt = bt(null), Mt = DR(), [dn, st] = It(!1), [lt, Ht] = It(!1), [Ve, Ot] = It([]), [Dt, n0] = It(), [h0, Wn] = It(), [Vn, Ln] = It({ x: -1, y: -1 }), [b0, F0] = It(-1), [Kt, vn] = It({
|
|
72247
72239
|
x: 0,
|
|
72248
72240
|
y: 0
|
|
72249
72241
|
}), [rn, Sn] = It(c), [Rn, W0] = It("-1"), [r0, d0] = It([]), [B0, tn] = It(!1), [fn, bn] = It(null), [mt, St] = It({ width: 0, height: 0 }), Bt = f0.INITIAL_ZOOM_PROPERTIES, [Ye, Mn] = It(Bt), [On, z0] = It(!1), [a0, i1] = It(!1), [nn, Cn] = It(-1), [Zt, Nt] = It(!1), Ft = f0.INITIAL_ZOOM_LEVEL, Tn = 12, Fn = mt.width * Ft, A0 = bt(null), [an, Cr] = It(ce), [go, e9] = It(), [Dn, Xt] = It(
|
|
@@ -72760,7 +72752,7 @@ const QHe = (e, t) => {
|
|
|
72760
72752
|
l ? (Ln({
|
|
72761
72753
|
x: ve,
|
|
72762
72754
|
y: Ee
|
|
72763
|
-
}),
|
|
72755
|
+
}), F0(on)) : (F0(on), Ln(Ze[on])), console.log("setSelectCornerCoordinates");
|
|
72764
72756
|
else if ((re == null ? void 0 : re.awi_annotation_type) === "rectangle" && !On) {
|
|
72765
72757
|
const w0 = Ze[(on + 2) % 4];
|
|
72766
72758
|
Ln(w0);
|
|
@@ -72768,7 +72760,7 @@ const QHe = (e, t) => {
|
|
|
72768
72760
|
const w0 = Ze[(on + 2) % 4];
|
|
72769
72761
|
Ln(w0);
|
|
72770
72762
|
} else
|
|
72771
|
-
|
|
72763
|
+
F0(on), Ln(Ze[on]);
|
|
72772
72764
|
tn(!1), Ot([]);
|
|
72773
72765
|
}
|
|
72774
72766
|
});
|