@memobit/libs 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +135 -132
- package/dist/version.json +4 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9973,7 +9973,7 @@ var t3 = /* @__PURE__ */ r("svg", {
|
|
|
9973
9973
|
storm: Pt,
|
|
9974
9974
|
uranus: Wt,
|
|
9975
9975
|
venus: Ut
|
|
9976
|
-
},
|
|
9976
|
+
}, G = ({ className: t = "", fade: c, fadeOnHover: l, name: a, pulse: s, pulseOnHover: o, size: i, spin: n, spinOnHover: d, variant: h }) => /* @__PURE__ */ e("span", {
|
|
9977
9977
|
className: [
|
|
9978
9978
|
"icon",
|
|
9979
9979
|
i ? `icon--${i}` : "",
|
|
@@ -10019,7 +10019,7 @@ var t3 = /* @__PURE__ */ r("svg", {
|
|
|
10019
10019
|
disabled: o,
|
|
10020
10020
|
children: [/* @__PURE__ */ r("span", {
|
|
10021
10021
|
className: "accordion-item__title",
|
|
10022
|
-
children: [l && /* @__PURE__ */ e(
|
|
10022
|
+
children: [l && /* @__PURE__ */ e(G, { name: l }), /* @__PURE__ */ e("span", {
|
|
10023
10023
|
className: "accordion-item__title-text",
|
|
10024
10024
|
children: c
|
|
10025
10025
|
})]
|
|
@@ -10089,7 +10089,7 @@ var t3 = /* @__PURE__ */ r("svg", {
|
|
|
10089
10089
|
title: w,
|
|
10090
10090
|
type: v,
|
|
10091
10091
|
children: n ? /* @__PURE__ */ r(c1, { children: [/* @__PURE__ */ e("span", { className: "button__spinner" }), /* @__PURE__ */ e("span", { children: c || "Loading..." })] }) : /* @__PURE__ */ r(c1, { children: [
|
|
10092
|
-
o !== void 0 && (typeof o == "string" ? /* @__PURE__ */ e(
|
|
10092
|
+
o !== void 0 && (typeof o == "string" ? /* @__PURE__ */ e(G, {
|
|
10093
10093
|
size: "lg",
|
|
10094
10094
|
name: o,
|
|
10095
10095
|
variant: i
|
|
@@ -10124,16 +10124,16 @@ var O1 = ({ children: t, className: c, isOpen: l, noPadding: a = !1, onClose: s,
|
|
|
10124
10124
|
/* @__PURE__ */ r("div", {
|
|
10125
10125
|
className: "modal__header",
|
|
10126
10126
|
children: [/* @__PURE__ */ r("h2", { children: [
|
|
10127
|
-
p ? /* @__PURE__ */ e(
|
|
10127
|
+
p ? /* @__PURE__ */ e(G, { name: p }) : null,
|
|
10128
10128
|
" ",
|
|
10129
10129
|
m
|
|
10130
10130
|
] }), /* @__PURE__ */ e(F, {
|
|
10131
10131
|
className: "modal__close",
|
|
10132
|
+
icon: "clear",
|
|
10132
10133
|
onClick: s,
|
|
10133
10134
|
size: "medium",
|
|
10134
10135
|
title: "Close modal",
|
|
10135
|
-
variant: "ghost"
|
|
10136
|
-
children: "×"
|
|
10136
|
+
variant: "ghost"
|
|
10137
10137
|
})]
|
|
10138
10138
|
}),
|
|
10139
10139
|
t != null && /* @__PURE__ */ e("div", {
|
|
@@ -10236,7 +10236,7 @@ var O1 = ({ children: t, className: c, isOpen: l, noPadding: a = !1, onClose: s,
|
|
|
10236
10236
|
}),
|
|
10237
10237
|
c && /* @__PURE__ */ e("span", {
|
|
10238
10238
|
className: "app-header__icon",
|
|
10239
|
-
children: /* @__PURE__ */ e(
|
|
10239
|
+
children: /* @__PURE__ */ e(G, { name: c })
|
|
10240
10240
|
}),
|
|
10241
10241
|
/* @__PURE__ */ r("div", {
|
|
10242
10242
|
className: "app-header__copy",
|
|
@@ -10375,7 +10375,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
10375
10375
|
type: "button",
|
|
10376
10376
|
title: s,
|
|
10377
10377
|
onClick: g,
|
|
10378
|
-
children: /* @__PURE__ */ e(
|
|
10378
|
+
children: /* @__PURE__ */ e(G, {
|
|
10379
10379
|
name: "clear",
|
|
10380
10380
|
size: "sm"
|
|
10381
10381
|
})
|
|
@@ -11176,13 +11176,13 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11176
11176
|
className: `${g ? "card-content-hidden" : ""}`,
|
|
11177
11177
|
children: [/* @__PURE__ */ r("span", {
|
|
11178
11178
|
className: "card-title-content",
|
|
11179
|
-
children: [a && /* @__PURE__ */ e(
|
|
11179
|
+
children: [a && /* @__PURE__ */ e(G, { name: a }), m]
|
|
11180
11180
|
}), o && /* @__PURE__ */ e("span", {
|
|
11181
11181
|
className: "collapsible-button",
|
|
11182
11182
|
onClick: () => w(!g),
|
|
11183
11183
|
children: /* @__PURE__ */ e("span", {
|
|
11184
11184
|
className: `opener-button ${g ? "opener-button-extended" : ""}`,
|
|
11185
|
-
children: /* @__PURE__ */ e(
|
|
11185
|
+
children: /* @__PURE__ */ e(G, {
|
|
11186
11186
|
name: "caret-up",
|
|
11187
11187
|
size: "lg"
|
|
11188
11188
|
})
|
|
@@ -11218,7 +11218,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11218
11218
|
className: "checkbox-label",
|
|
11219
11219
|
children: [/* @__PURE__ */ e("span", { className: "checkbox-box" }), (a || l) && /* @__PURE__ */ r("span", {
|
|
11220
11220
|
className: "checkbox-text",
|
|
11221
|
-
children: [a && /* @__PURE__ */ e(
|
|
11221
|
+
children: [a && /* @__PURE__ */ e(G, { name: a }), l && /* @__PURE__ */ e("span", {
|
|
11222
11222
|
className: "checkbox-text-label",
|
|
11223
11223
|
children: l
|
|
11224
11224
|
})]
|
|
@@ -11237,7 +11237,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11237
11237
|
className: "chip__swatch",
|
|
11238
11238
|
style: { backgroundColor: l }
|
|
11239
11239
|
}),
|
|
11240
|
-
o && /* @__PURE__ */ e(
|
|
11240
|
+
o && /* @__PURE__ */ e(G, { name: o }),
|
|
11241
11241
|
/* @__PURE__ */ e("span", {
|
|
11242
11242
|
className: "chip__label",
|
|
11243
11243
|
children: t
|
|
@@ -11261,7 +11261,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11261
11261
|
/* @__PURE__ */ r("div", {
|
|
11262
11262
|
className: "collapsible-section__label",
|
|
11263
11263
|
children: [
|
|
11264
|
-
a && /* @__PURE__ */ e(
|
|
11264
|
+
a && /* @__PURE__ */ e(G, {
|
|
11265
11265
|
name: a,
|
|
11266
11266
|
variant: u
|
|
11267
11267
|
}),
|
|
@@ -11269,10 +11269,10 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11269
11269
|
n
|
|
11270
11270
|
]
|
|
11271
11271
|
}),
|
|
11272
|
-
m && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
11272
|
+
m && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(G, { name: m }) }),
|
|
11273
11273
|
/* @__PURE__ */ e("span", {
|
|
11274
11274
|
className: `collapsible-section__icon ${M ? "collapsible-section__icon--collapsed" : ""}`,
|
|
11275
|
-
children: /* @__PURE__ */ e(
|
|
11275
|
+
children: /* @__PURE__ */ e(G, { name: "caret-up" })
|
|
11276
11276
|
}),
|
|
11277
11277
|
/* @__PURE__ */ e("span", {
|
|
11278
11278
|
className: "collapsible-section__right-details",
|
|
@@ -11286,7 +11286,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11286
11286
|
/* @__PURE__ */ r("span", {
|
|
11287
11287
|
className: "collapsible-section__label",
|
|
11288
11288
|
children: [
|
|
11289
|
-
a && /* @__PURE__ */ e(
|
|
11289
|
+
a && /* @__PURE__ */ e(G, {
|
|
11290
11290
|
name: a,
|
|
11291
11291
|
variant: u
|
|
11292
11292
|
}),
|
|
@@ -11294,10 +11294,10 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
11294
11294
|
n
|
|
11295
11295
|
]
|
|
11296
11296
|
}),
|
|
11297
|
-
m && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
11297
|
+
m && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(G, { name: m }) }),
|
|
11298
11298
|
/* @__PURE__ */ e("span", {
|
|
11299
11299
|
className: `collapsible-section__icon ${M ? "collapsible-section__icon--collapsed" : ""}`,
|
|
11300
|
-
children: /* @__PURE__ */ e(
|
|
11300
|
+
children: /* @__PURE__ */ e(G, { name: "caret-up" })
|
|
11301
11301
|
})
|
|
11302
11302
|
]
|
|
11303
11303
|
})
|
|
@@ -12052,7 +12052,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12052
12052
|
children: [
|
|
12053
12053
|
(a || o) && /* @__PURE__ */ r("div", {
|
|
12054
12054
|
className: "confirm-popover__header",
|
|
12055
|
-
children: [o && /* @__PURE__ */ e(
|
|
12055
|
+
children: [o && /* @__PURE__ */ e(G, { name: o }), a && /* @__PURE__ */ e("span", {
|
|
12056
12056
|
className: "confirm-popover__title",
|
|
12057
12057
|
children: a
|
|
12058
12058
|
})]
|
|
@@ -12160,7 +12160,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12160
12160
|
onClick: h,
|
|
12161
12161
|
className: "toast__close-button",
|
|
12162
12162
|
title: "Close",
|
|
12163
|
-
children: /* @__PURE__ */ e(
|
|
12163
|
+
children: /* @__PURE__ */ e(G, {
|
|
12164
12164
|
name: "clear",
|
|
12165
12165
|
size: "sm"
|
|
12166
12166
|
})
|
|
@@ -12448,7 +12448,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12448
12448
|
children: "×"
|
|
12449
12449
|
}), /* @__PURE__ */ e("span", {
|
|
12450
12450
|
className: "datepicker__icon",
|
|
12451
|
-
children: /* @__PURE__ */ e(
|
|
12451
|
+
children: /* @__PURE__ */ e(G, { name: "calendar" })
|
|
12452
12452
|
})]
|
|
12453
12453
|
})]
|
|
12454
12454
|
}), D && (p ? /* @__PURE__ */ r("div", {
|
|
@@ -12604,8 +12604,8 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12604
12604
|
}), [$, p1] = z(!1), s1 = Y(null), W = Y([]), n1 = Y(null), v1 = Y(null), y1 = C0(), k1 = i ?? `dropdown-${y1}`, g1 = Y(null);
|
|
12605
12605
|
U(() => {
|
|
12606
12606
|
if (H && M && m) {
|
|
12607
|
-
const
|
|
12608
|
-
v.forEach((r1) => (
|
|
12607
|
+
const E = new Set(V.map((r1) => r1.value)), T = [], q = [];
|
|
12608
|
+
v.forEach((r1) => (E.has(r1.value) ? T : q).push(r1)), g1.current = [...T, ...q];
|
|
12609
12609
|
} else H || (g1.current = null);
|
|
12610
12610
|
}, [
|
|
12611
12611
|
H,
|
|
@@ -12613,11 +12613,11 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12613
12613
|
m,
|
|
12614
12614
|
v
|
|
12615
12615
|
]), U(() => {
|
|
12616
|
-
const
|
|
12617
|
-
if (!f || !k) P(
|
|
12616
|
+
const E = g1.current ?? v;
|
|
12617
|
+
if (!f || !k) P(E);
|
|
12618
12618
|
else {
|
|
12619
12619
|
const T = c2(k);
|
|
12620
|
-
P(
|
|
12620
|
+
P(E.filter((q) => c2(q.label).includes(T)));
|
|
12621
12621
|
}
|
|
12622
12622
|
o1(-1);
|
|
12623
12623
|
}, [
|
|
@@ -12628,9 +12628,9 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12628
12628
|
]);
|
|
12629
12629
|
const $1 = Y(L);
|
|
12630
12630
|
U(() => {
|
|
12631
|
-
const
|
|
12631
|
+
const E = $1.current;
|
|
12632
12632
|
$1.current = L;
|
|
12633
|
-
const T = !Object.is(
|
|
12633
|
+
const T = !Object.is(E, L);
|
|
12634
12634
|
if (L == null) {
|
|
12635
12635
|
T && (X([]), A(""));
|
|
12636
12636
|
return;
|
|
@@ -12669,7 +12669,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12669
12669
|
f && C !== void 0 && A(C);
|
|
12670
12670
|
}, [C, f]), U(() => {
|
|
12671
12671
|
if (!H || !s1.current) return;
|
|
12672
|
-
const
|
|
12672
|
+
const E = () => {
|
|
12673
12673
|
if (!s1.current) return;
|
|
12674
12674
|
const T = s1.current.getBoundingClientRect(), q = window.innerHeight, r1 = 300, K1 = q - T.bottom, j1 = T.top, b0 = K1 < r1 && j1 > K1;
|
|
12675
12675
|
p1(b0), N && I({
|
|
@@ -12678,11 +12678,11 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12678
12678
|
width: T.width
|
|
12679
12679
|
});
|
|
12680
12680
|
};
|
|
12681
|
-
return
|
|
12682
|
-
window.removeEventListener("scroll",
|
|
12681
|
+
return E(), window.addEventListener("scroll", E, !0), window.addEventListener("resize", E), () => {
|
|
12682
|
+
window.removeEventListener("scroll", E, !0), window.removeEventListener("resize", E);
|
|
12683
12683
|
};
|
|
12684
12684
|
}, [H, N]), U(() => {
|
|
12685
|
-
const
|
|
12685
|
+
const E = (T) => {
|
|
12686
12686
|
if (s1.current && !s1.current.contains(T.target)) {
|
|
12687
12687
|
if (N && H) {
|
|
12688
12688
|
const q = document.querySelector(".dropdown-menu--portal");
|
|
@@ -12700,8 +12700,8 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12700
12700
|
S(!1), !m && V.length > 0 ? A(V[0].label) : m && f && A("");
|
|
12701
12701
|
}
|
|
12702
12702
|
};
|
|
12703
|
-
return document.addEventListener("mousedown",
|
|
12704
|
-
document.removeEventListener("mousedown",
|
|
12703
|
+
return document.addEventListener("mousedown", E), () => {
|
|
12704
|
+
document.removeEventListener("mousedown", E);
|
|
12705
12705
|
};
|
|
12706
12706
|
}, [
|
|
12707
12707
|
t,
|
|
@@ -12715,19 +12715,19 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12715
12715
|
V,
|
|
12716
12716
|
N
|
|
12717
12717
|
]);
|
|
12718
|
-
const K = (
|
|
12719
|
-
if (!
|
|
12718
|
+
const K = (E) => {
|
|
12719
|
+
if (!E.disabled)
|
|
12720
12720
|
if (m) {
|
|
12721
|
-
const T = V.some((r1) => r1.value ===
|
|
12721
|
+
const T = V.some((r1) => r1.value === E.value);
|
|
12722
12722
|
let q;
|
|
12723
|
-
T ? q = V.filter((r1) => r1.value !==
|
|
12723
|
+
T ? q = V.filter((r1) => r1.value !== E.value) : q = [...V, E], X(q), f && A(""), g && g(q, p);
|
|
12724
12724
|
} else
|
|
12725
|
-
A(
|
|
12725
|
+
A(E.label), X([E]), S(!1), g && g(E, p);
|
|
12726
12726
|
}, t1 = () => {
|
|
12727
12727
|
if (!t || !k.trim()) return;
|
|
12728
|
-
const
|
|
12729
|
-
if (
|
|
12730
|
-
K(
|
|
12728
|
+
const E = v.find((q) => q.label.toLowerCase() === k.toLowerCase() || q.value.toString() === k);
|
|
12729
|
+
if (E) {
|
|
12730
|
+
K(E);
|
|
12731
12731
|
return;
|
|
12732
12732
|
}
|
|
12733
12733
|
const T = {
|
|
@@ -12740,63 +12740,63 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12740
12740
|
X(q), A(""), g && g(q, p);
|
|
12741
12741
|
} else
|
|
12742
12742
|
X([T]), A(T.label), S(!1), g && g(T, p);
|
|
12743
|
-
}, B = (
|
|
12744
|
-
const T = V.filter((q) => q.value !==
|
|
12743
|
+
}, B = (E) => {
|
|
12744
|
+
const T = V.filter((q) => q.value !== E.value);
|
|
12745
12745
|
X(T), g && (m ? g(T, p) : (g(null, p), f || A("")));
|
|
12746
12746
|
}, Z = () => {
|
|
12747
12747
|
X([]), (!f || !m) && A(""), S(!1), g && g(m ? [] : null, p);
|
|
12748
|
-
}, Q = (
|
|
12749
|
-
A(
|
|
12748
|
+
}, Q = (E) => {
|
|
12749
|
+
A(E), H || S(!0), w?.(E);
|
|
12750
12750
|
}, i1 = () => {
|
|
12751
12751
|
a || (S(!0), !m && f && V.length > 0 && A(""), (m || f) && n1.current?.focus());
|
|
12752
12752
|
}, b1 = () => {
|
|
12753
12753
|
a || (S(!H), H || (o1(-1), !m && f && V.length > 0 && A(""), (m || f) && n1.current?.focus()));
|
|
12754
|
-
}, f1 = (
|
|
12754
|
+
}, f1 = (E) => {
|
|
12755
12755
|
if (!a) {
|
|
12756
12756
|
if (!H) {
|
|
12757
|
-
(
|
|
12757
|
+
(E.key === "ArrowDown" || E.key === "Enter") && (S(!0), E.preventDefault());
|
|
12758
12758
|
return;
|
|
12759
12759
|
}
|
|
12760
|
-
switch (
|
|
12760
|
+
switch (E.key) {
|
|
12761
12761
|
case "ArrowDown":
|
|
12762
|
-
if (
|
|
12762
|
+
if (E.preventDefault(), t && k && D.length === 0) return;
|
|
12763
12763
|
o1((T) => {
|
|
12764
12764
|
const q = T < (t && k && !D.some((r1) => r1.label.toLowerCase() === k.toLowerCase()) ? D.length : D.length - 1) ? T + 1 : 0;
|
|
12765
12765
|
return q < D.length && W.current[q] && W.current[q]?.scrollIntoView({ block: "nearest" }), q;
|
|
12766
12766
|
});
|
|
12767
12767
|
break;
|
|
12768
12768
|
case "ArrowUp":
|
|
12769
|
-
if (
|
|
12769
|
+
if (E.preventDefault(), t && k && D.length === 0) return;
|
|
12770
12770
|
o1((T) => {
|
|
12771
12771
|
const q = t && k && !D.some((K1) => K1.label.toLowerCase() === k.toLowerCase()) ? D.length : D.length - 1, r1 = T > 0 ? T - 1 : q;
|
|
12772
12772
|
return r1 < D.length && W.current[r1] && W.current[r1]?.scrollIntoView({ block: "nearest" }), r1;
|
|
12773
12773
|
});
|
|
12774
12774
|
break;
|
|
12775
12775
|
case "Enter":
|
|
12776
|
-
|
|
12776
|
+
E.preventDefault(), O >= 0 && O < D.length ? K(D[O]) : (t && k && O === D.length || t && k && D.length === 0) && t1();
|
|
12777
12777
|
break;
|
|
12778
12778
|
case "Escape":
|
|
12779
|
-
|
|
12779
|
+
E.preventDefault(), S(!1), !m && V.length > 0 ? A(V[0].label) : m && f && A("");
|
|
12780
12780
|
break;
|
|
12781
12781
|
case "Backspace":
|
|
12782
|
-
m && k === "" && V.length > 0 && (
|
|
12782
|
+
m && k === "" && V.length > 0 && (E.preventDefault(), B(V[V.length - 1]));
|
|
12783
12783
|
break;
|
|
12784
12784
|
default:
|
|
12785
12785
|
break;
|
|
12786
12786
|
}
|
|
12787
12787
|
}
|
|
12788
|
-
}, B1 = (
|
|
12788
|
+
}, B1 = (E) => V.some((T) => T.value === E.value), D1 = () => {
|
|
12789
12789
|
if (V.length === 0) return "";
|
|
12790
|
-
const
|
|
12791
|
-
if (V.length <=
|
|
12792
|
-
const T = V.slice(0,
|
|
12790
|
+
const E = Math.max(1, d);
|
|
12791
|
+
if (V.length <= E) return V.map((r1) => r1.label).join(", ");
|
|
12792
|
+
const T = V.slice(0, E).map((r1) => r1.label).join(", "), q = V.length - E;
|
|
12793
12793
|
return `${T} (+${q} ${q === 1 ? "other" : "others"})`;
|
|
12794
12794
|
}, Y1 = () => m && b || f && H ? k : V.length > 0 ? m ? D1() : V[0].label : "", _1 = () => m && b ? V.length > 0 ? "" : u : H && f ? u : V.length > 0 ? "" : u, L1 = () => !m || V.length === 0 || x === "none" ? null : x === "floating" ? /* @__PURE__ */ r("div", {
|
|
12795
12795
|
className: "dropdown-selected-count",
|
|
12796
12796
|
children: [V.length, " selected"]
|
|
12797
|
-
}) : null, T1 = () => !!(t && k && k.trim() && !D.some((
|
|
12797
|
+
}) : null, T1 = () => !!(t && k && k.trim() && !D.some((E) => E.label.toLowerCase() === k.toLowerCase() || E.value.toString() === k)), t0 = () => {
|
|
12798
12798
|
if (!H || a) return null;
|
|
12799
|
-
const
|
|
12799
|
+
const E = /* @__PURE__ */ e("div", {
|
|
12800
12800
|
ref: v1,
|
|
12801
12801
|
className: `dropdown-menu ${N ? "dropdown-menu--portal" : ""} ${$ ? "dropdown-menu--upward" : ""}`,
|
|
12802
12802
|
style: N ? {
|
|
@@ -12844,9 +12844,9 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12844
12844
|
className: "dropdown-option-prefix",
|
|
12845
12845
|
children: T.prefix
|
|
12846
12846
|
}),
|
|
12847
|
-
T.icon && /* @__PURE__ */ e(
|
|
12847
|
+
T.icon && /* @__PURE__ */ e(G, { name: T.icon }),
|
|
12848
12848
|
/* @__PURE__ */ e("span", { children: T.label }),
|
|
12849
|
-
T.suffixIcon && /* @__PURE__ */ e(
|
|
12849
|
+
T.suffixIcon && /* @__PURE__ */ e(G, { name: T.suffixIcon })
|
|
12850
12850
|
]
|
|
12851
12851
|
}), T.details && /* @__PURE__ */ e("span", {
|
|
12852
12852
|
className: "dropdown-option-details",
|
|
@@ -12864,7 +12864,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12864
12864
|
className: "dropdown-option-content",
|
|
12865
12865
|
children: /* @__PURE__ */ r("span", {
|
|
12866
12866
|
className: "dropdown-option-label",
|
|
12867
|
-
children: [/* @__PURE__ */ e(
|
|
12867
|
+
children: [/* @__PURE__ */ e(G, { name: "plus" }), /* @__PURE__ */ r("span", { children: [
|
|
12868
12868
|
"Create “",
|
|
12869
12869
|
k,
|
|
12870
12870
|
"”"
|
|
@@ -12877,7 +12877,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12877
12877
|
children: "No options found"
|
|
12878
12878
|
})
|
|
12879
12879
|
});
|
|
12880
|
-
return N ? q1(
|
|
12880
|
+
return N ? q1(E, document.body) : E;
|
|
12881
12881
|
}, C1 = !m && V.length === 1 ? V[0] : null, I1 = y && !H && !m && V.length > 0, X1 = !!(C1?.icon && !k && !I1), r0 = !!(C1?.suffixIcon && !I1), Z1 = m && b;
|
|
12882
12882
|
return /* @__PURE__ */ r("div", {
|
|
12883
12883
|
className: `dropdown-container ${s ? "dropdown-error" : ""} ${_ ? "dropdown-success" : ""} ${o ? "dropdown-highlighted" : ""} ${m ? "multiple" : ""} ${a ? "disabled" : ""} ${m ? `count-display-${x}` : ""} ${l}`,
|
|
@@ -12893,32 +12893,32 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12893
12893
|
children: [
|
|
12894
12894
|
X1 && C1?.icon && /* @__PURE__ */ e("span", {
|
|
12895
12895
|
className: "dropdown-selected-icon dropdown-selected-icon--prefix",
|
|
12896
|
-
children: /* @__PURE__ */ e(
|
|
12896
|
+
children: /* @__PURE__ */ e(G, { name: C1.icon })
|
|
12897
12897
|
}),
|
|
12898
12898
|
I1 && C1 && /* @__PURE__ */ r("span", {
|
|
12899
12899
|
className: "dropdown-value-chip",
|
|
12900
12900
|
onClick: i1,
|
|
12901
|
-
children: [C1.icon && /* @__PURE__ */ e(
|
|
12901
|
+
children: [C1.icon && /* @__PURE__ */ e(G, { name: C1.icon }), /* @__PURE__ */ e("span", {
|
|
12902
12902
|
className: "dropdown-value-chip__label",
|
|
12903
12903
|
children: C1.label
|
|
12904
12904
|
})]
|
|
12905
12905
|
}),
|
|
12906
|
-
Z1 && V.map((
|
|
12906
|
+
Z1 && V.map((E) => /* @__PURE__ */ r("span", {
|
|
12907
12907
|
className: "dropdown-chip",
|
|
12908
12908
|
children: [/* @__PURE__ */ e("span", {
|
|
12909
12909
|
className: "dropdown-chip__label",
|
|
12910
|
-
children:
|
|
12910
|
+
children: E.label
|
|
12911
12911
|
}), /* @__PURE__ */ e("button", {
|
|
12912
12912
|
type: "button",
|
|
12913
12913
|
className: "dropdown-chip__remove",
|
|
12914
12914
|
title: "Remove",
|
|
12915
12915
|
disabled: a,
|
|
12916
12916
|
onClick: (T) => {
|
|
12917
|
-
T.stopPropagation(), B(
|
|
12917
|
+
T.stopPropagation(), B(E);
|
|
12918
12918
|
},
|
|
12919
12919
|
children: W0
|
|
12920
12920
|
})]
|
|
12921
|
-
}, `dd-chip-${
|
|
12921
|
+
}, `dd-chip-${E.value}`)),
|
|
12922
12922
|
/* @__PURE__ */ e(A1, {
|
|
12923
12923
|
ref: n1,
|
|
12924
12924
|
id: k1,
|
|
@@ -12937,7 +12937,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
12937
12937
|
children: [
|
|
12938
12938
|
r0 && C1?.suffixIcon && /* @__PURE__ */ e("span", {
|
|
12939
12939
|
className: "dropdown-selected-icon dropdown-selected-icon--suffix",
|
|
12940
|
-
children: /* @__PURE__ */ e(
|
|
12940
|
+
children: /* @__PURE__ */ e(G, { name: C1.suffixIcon })
|
|
12941
12941
|
}),
|
|
12942
12942
|
(!m && V.length > 0 || m && V.length > 0) && /* @__PURE__ */ e("span", {
|
|
12943
12943
|
className: "dropdown-action-button dropdown-clear-button",
|
|
@@ -13011,7 +13011,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
13011
13011
|
className: "input-date-clear",
|
|
13012
13012
|
onClick: () => p?.(void 0),
|
|
13013
13013
|
title: "Clear date",
|
|
13014
|
-
children: /* @__PURE__ */ e(
|
|
13014
|
+
children: /* @__PURE__ */ e(G, {
|
|
13015
13015
|
name: "clear",
|
|
13016
13016
|
size: "sm"
|
|
13017
13017
|
})
|
|
@@ -13204,7 +13204,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
13204
13204
|
children: [
|
|
13205
13205
|
/* @__PURE__ */ e("div", {
|
|
13206
13206
|
className: "input-search__icon",
|
|
13207
|
-
children: /* @__PURE__ */ e(
|
|
13207
|
+
children: /* @__PURE__ */ e(G, { name: "search" })
|
|
13208
13208
|
}),
|
|
13209
13209
|
/* @__PURE__ */ e(A1, {
|
|
13210
13210
|
autoComplete: t,
|
|
@@ -13228,7 +13228,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
13228
13228
|
className: "input-search__clear",
|
|
13229
13229
|
onClick: f,
|
|
13230
13230
|
title: "Clear search",
|
|
13231
|
-
children: /* @__PURE__ */ e(
|
|
13231
|
+
children: /* @__PURE__ */ e(G, {
|
|
13232
13232
|
name: "clear",
|
|
13233
13233
|
size: "sm"
|
|
13234
13234
|
})
|
|
@@ -13258,7 +13258,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
13258
13258
|
className: `control-panel__filter-title${t.isActive ? " control-panel__filter-title--active" : ""}`,
|
|
13259
13259
|
children: [
|
|
13260
13260
|
t.isActive && /* @__PURE__ */ e("span", { className: "control-panel__filter-active-dot" }),
|
|
13261
|
-
t.icon && /* @__PURE__ */ e(
|
|
13261
|
+
t.icon && /* @__PURE__ */ e(G, { name: t.icon }),
|
|
13262
13262
|
t.label
|
|
13263
13263
|
]
|
|
13264
13264
|
}), /* @__PURE__ */ e(Tr, {
|
|
@@ -13442,7 +13442,7 @@ var El = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
|
|
|
13442
13442
|
className: "control-panel__filter-swatch",
|
|
13443
13443
|
style: { backgroundColor: i.color }
|
|
13444
13444
|
}),
|
|
13445
|
-
i.icon && /* @__PURE__ */ e(
|
|
13445
|
+
i.icon && /* @__PURE__ */ e(G, { name: i.icon }),
|
|
13446
13446
|
/* @__PURE__ */ e("span", {
|
|
13447
13447
|
className: "control-panel__filter-label",
|
|
13448
13448
|
children: i.label
|
|
@@ -13588,7 +13588,7 @@ function N2(t, c, l = 0) {
|
|
|
13588
13588
|
h.stopPropagation(), t.onOpenChange?.(!o, t);
|
|
13589
13589
|
},
|
|
13590
13590
|
type: "button",
|
|
13591
|
-
children: /* @__PURE__ */ e(
|
|
13591
|
+
children: /* @__PURE__ */ e(G, { name: "caret-right" })
|
|
13592
13592
|
}) : /* @__PURE__ */ e("span", { className: "control-panel__nav-toggle-placeholder" })), /* @__PURE__ */ r("button", {
|
|
13593
13593
|
className: i,
|
|
13594
13594
|
onClick: () => {
|
|
@@ -13603,7 +13603,7 @@ function N2(t, c, l = 0) {
|
|
|
13603
13603
|
t.icon ? /* @__PURE__ */ e("span", {
|
|
13604
13604
|
className: "control-panel__nav-icon",
|
|
13605
13605
|
style: t.color ? { color: t.color } : void 0,
|
|
13606
|
-
children: /* @__PURE__ */ e(
|
|
13606
|
+
children: /* @__PURE__ */ e(G, { name: t.icon })
|
|
13607
13607
|
}) : t.color && /* @__PURE__ */ e("span", {
|
|
13608
13608
|
className: "control-panel__nav-dot",
|
|
13609
13609
|
style: { backgroundColor: t.color }
|
|
@@ -13727,7 +13727,7 @@ var Gr = [{
|
|
|
13727
13727
|
className: "control-panel__filter-title",
|
|
13728
13728
|
children: n.label
|
|
13729
13729
|
}), /* @__PURE__ */ e("div", {
|
|
13730
|
-
className: "control-panel__filter-list"
|
|
13730
|
+
className: `control-panel__filter-list ${n.inline ? "control-panel__filter-list--inline" : ""}`,
|
|
13731
13731
|
children: n.options.map((p) => {
|
|
13732
13732
|
const g = n.value === p.value, w = () => c?.({
|
|
13733
13733
|
optionId: n.id,
|
|
@@ -13749,7 +13749,7 @@ var Gr = [{
|
|
|
13749
13749
|
type: "radio",
|
|
13750
13750
|
value: p.value
|
|
13751
13751
|
}),
|
|
13752
|
-
p.icon && /* @__PURE__ */ e(
|
|
13752
|
+
p.icon && /* @__PURE__ */ e(G, { name: p.icon }),
|
|
13753
13753
|
/* @__PURE__ */ e("span", {
|
|
13754
13754
|
className: "control-panel__filter-label",
|
|
13755
13755
|
children: p.label
|
|
@@ -13982,7 +13982,7 @@ var Gr = [{
|
|
|
13982
13982
|
const o = c ? (a - 1) * t + 1 : 0, i = Math.min(a * t, c), n = s ? ` ${s}` : "";
|
|
13983
13983
|
return c === l ? `Showing ${o}-${i} of ${l}${n}` : `Showing ${o}-${i} of ${c} filtered${n} (${l} total)`;
|
|
13984
13984
|
}, J1 = ({ icon: t, title: c, description: l, noCard: a, primary: s, secondary: o, children: i }) => {
|
|
13985
|
-
const n = s || o, d = typeof t == "string" ? /* @__PURE__ */ e(
|
|
13985
|
+
const n = s || o, d = typeof t == "string" ? /* @__PURE__ */ e(G, {
|
|
13986
13986
|
name: t,
|
|
13987
13987
|
size: "xxxl"
|
|
13988
13988
|
}) : t;
|
|
@@ -14063,13 +14063,12 @@ var Gr = [{
|
|
|
14063
14063
|
onClick: () => typeof b == "number" && a(b),
|
|
14064
14064
|
children: b
|
|
14065
14065
|
}, M)),
|
|
14066
|
-
/* @__PURE__ */
|
|
14066
|
+
/* @__PURE__ */ r(F, {
|
|
14067
14067
|
variant: "default",
|
|
14068
14068
|
borders: "sharp",
|
|
14069
14069
|
disabled: t === c,
|
|
14070
|
-
sufixIcon: "»",
|
|
14071
14070
|
onClick: () => a(t + 1),
|
|
14072
|
-
children: m("desktop") ? "Next" : ""
|
|
14071
|
+
children: [m("desktop") ? "Next" : "", /* @__PURE__ */ e(G, { name: "next" })]
|
|
14073
14072
|
})
|
|
14074
14073
|
]
|
|
14075
14074
|
}),
|
|
@@ -14168,7 +14167,7 @@ var Gr = [{
|
|
|
14168
14167
|
500
|
|
14169
14168
|
], H2 = (t) => typeof t.header == "string" ? t.header : t.key, lc = (t) => typeof t == "number" ? `${t}px` : t, S2 = (t) => /* @__PURE__ */ r("span", {
|
|
14170
14169
|
className: "data-view__column-label",
|
|
14171
|
-
children: [t.icon && /* @__PURE__ */ e(
|
|
14170
|
+
children: [t.icon && /* @__PURE__ */ e(G, {
|
|
14172
14171
|
className: "data-view__column-icon",
|
|
14173
14172
|
name: t.icon,
|
|
14174
14173
|
size: "sm",
|
|
@@ -14178,7 +14177,7 @@ var Gr = [{
|
|
|
14178
14177
|
const l = t.cellIcon?.(c), a = t.accessor ? t.accessor(c) : c[t.key];
|
|
14179
14178
|
return l ? /* @__PURE__ */ r("span", {
|
|
14180
14179
|
className: "data-view__cell-with-icon",
|
|
14181
|
-
children: [/* @__PURE__ */ e(
|
|
14180
|
+
children: [/* @__PURE__ */ e(G, {
|
|
14182
14181
|
className: "data-view__cell-icon",
|
|
14183
14182
|
name: l
|
|
14184
14183
|
}), /* @__PURE__ */ e("span", { children: a })]
|
|
@@ -14204,7 +14203,7 @@ function ac({ data: t, columns: c, rowKey: l, card: a, actions: s, timeline: o,
|
|
|
14204
14203
|
o1 && /* @__PURE__ */ e("span", {
|
|
14205
14204
|
className: "data-view__card-pin",
|
|
14206
14205
|
title: "Pinned",
|
|
14207
|
-
children: /* @__PURE__ */ e(
|
|
14206
|
+
children: /* @__PURE__ */ e(G, {
|
|
14208
14207
|
name: "pin",
|
|
14209
14208
|
size: "sm"
|
|
14210
14209
|
})
|
|
@@ -14229,7 +14228,7 @@ function ac({ data: t, columns: c, rowKey: l, card: a, actions: s, timeline: o,
|
|
|
14229
14228
|
className: "data-view__card-title-row",
|
|
14230
14229
|
children: [/* @__PURE__ */ r("div", {
|
|
14231
14230
|
className: "data-view__card-title-line",
|
|
14232
|
-
children: [$ && /* @__PURE__ */ e(
|
|
14231
|
+
children: [$ && /* @__PURE__ */ e(G, {
|
|
14233
14232
|
className: "data-view__card-icon",
|
|
14234
14233
|
name: $
|
|
14235
14234
|
}), /* @__PURE__ */ e("span", {
|
|
@@ -14298,7 +14297,7 @@ function ac({ data: t, columns: c, rowKey: l, card: a, actions: s, timeline: o,
|
|
|
14298
14297
|
className: "data-view__group-count",
|
|
14299
14298
|
children: A.totalCount
|
|
14300
14299
|
}),
|
|
14301
|
-
x && /* @__PURE__ */ e(
|
|
14300
|
+
x && /* @__PURE__ */ e(G, {
|
|
14302
14301
|
className: "data-view__group-chevron",
|
|
14303
14302
|
name: P ? "caret-down" : "caret-up",
|
|
14304
14303
|
size: "sm"
|
|
@@ -14338,7 +14337,7 @@ function ic({ config: t }) {
|
|
|
14338
14337
|
onClick: () => n((h) => !h),
|
|
14339
14338
|
children: /* @__PURE__ */ r("span", {
|
|
14340
14339
|
className: "data-view__column-selector-label",
|
|
14341
|
-
children: [s, /* @__PURE__ */ e(
|
|
14340
|
+
children: [s, /* @__PURE__ */ e(G, {
|
|
14342
14341
|
name: "caret-down",
|
|
14343
14342
|
size: "sm"
|
|
14344
14343
|
})]
|
|
@@ -14374,7 +14373,7 @@ var nc = ({ items: t, sortKey: c, sortDirection: l, onSort: a, align: s = "left"
|
|
|
14374
14373
|
children: /* @__PURE__ */ e(F, {
|
|
14375
14374
|
className: `mini-sort__button${m ? " is-active" : ""}`,
|
|
14376
14375
|
disabled: n.disabled,
|
|
14377
|
-
icon: n.icon ? /* @__PURE__ */ e(
|
|
14376
|
+
icon: n.icon ? /* @__PURE__ */ e(G, {
|
|
14378
14377
|
className: "mini-sort__icon",
|
|
14379
14378
|
name: n.icon,
|
|
14380
14379
|
size: "sm",
|
|
@@ -14391,7 +14390,7 @@ var nc = ({ items: t, sortKey: c, sortDirection: l, onSort: a, align: s = "left"
|
|
|
14391
14390
|
children: /* @__PURE__ */ e(F, {
|
|
14392
14391
|
className: "mini-sort__button mini-sort__direction",
|
|
14393
14392
|
disabled: c === null,
|
|
14394
|
-
icon: /* @__PURE__ */ e(
|
|
14393
|
+
icon: /* @__PURE__ */ e(G, {
|
|
14395
14394
|
className: "mini-sort__icon",
|
|
14396
14395
|
name: l === "asc" ? "arrow-up" : "arrow-down",
|
|
14397
14396
|
size: "sm",
|
|
@@ -14425,7 +14424,7 @@ function oc({ columns: t, config: c, sortDirection: l, sortKey: a, onSort: s })
|
|
|
14425
14424
|
function sc({ state: t }) {
|
|
14426
14425
|
return /* @__PURE__ */ e("span", {
|
|
14427
14426
|
className: `data-view__sort-icon data-view__sort-icon--${t}`,
|
|
14428
|
-
children: /* @__PURE__ */ e(
|
|
14427
|
+
children: /* @__PURE__ */ e(G, { name: t === "asc" ? "arrow-up" : t === "desc" ? "arrow-down" : "arrow-bidirectional-vertical" })
|
|
14429
14428
|
});
|
|
14430
14429
|
}
|
|
14431
14430
|
function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1, onSelectionChange: o, selectedIds: i, pageSizeOptions: n = i2, initialPageSize: d = i2[1], showPageSize: h = !0, card: m, actions: p, actionsWidth: g, timeline: w, onRowClick: v, rowHref: u, rowClassName: f, rowDetail: C, empty: x, initialSortKey: b = null, initialSortDirection: M = "asc", sortKey: _, sortDirection: N, onSortChange: L, miniSort: y, showCardSortControls: H = !0, desktopView: S = "table", cardMaxWidth: k, className: A, onPageChange: D, onPageSizeChange: P, currentPage: O, totalItems: o1, group: V, showResultsCount: X = !0, totalCount: a1, itemNoun: I, columnSelector: $ }) {
|
|
@@ -14472,7 +14471,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14472
14471
|
_1,
|
|
14473
14472
|
t0,
|
|
14474
14473
|
a
|
|
14475
|
-
]), I1 = o1 !== void 0, X1 = I1 ? o1 : C1.length, r0 = Math.max(1, Math.ceil(X1 / B)), Z1 = Math.min(t1, r0),
|
|
14474
|
+
]), I1 = o1 !== void 0, X1 = I1 ? o1 : C1.length, r0 = Math.max(1, Math.ceil(X1 / B)), Z1 = Math.min(t1, r0), E = I1 ? C1 : C1.slice((Z1 - 1) * B, Z1 * B), T = X ? Ur(B, X1, a1 ?? X1, Z1, I) : null, q = m1(() => {
|
|
14476
14475
|
if (!V) return null;
|
|
14477
14476
|
const R = /* @__PURE__ */ new Map();
|
|
14478
14477
|
return C1.forEach((J) => {
|
|
@@ -14482,7 +14481,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14482
14481
|
}, [V, C1]), r1 = m1(() => {
|
|
14483
14482
|
if (!V || !q) return null;
|
|
14484
14483
|
const R = /* @__PURE__ */ new Map(), J = [];
|
|
14485
|
-
|
|
14484
|
+
E.forEach((e1) => {
|
|
14486
14485
|
const l1 = V.groupBy(e1), u1 = R.get(l1);
|
|
14487
14486
|
u1 ? u1.push(e1) : (R.set(l1, [e1]), J.push(l1));
|
|
14488
14487
|
});
|
|
@@ -14496,11 +14495,11 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14496
14495
|
}, [
|
|
14497
14496
|
V,
|
|
14498
14497
|
q,
|
|
14499
|
-
|
|
14500
|
-
]), K1 = m1(() => w ? q0(
|
|
14498
|
+
E
|
|
14499
|
+
]), K1 = m1(() => w ? q0(E.map((R) => ({
|
|
14501
14500
|
id: w.idAccessor(R),
|
|
14502
14501
|
date: w.dateAccessor(R)
|
|
14503
|
-
})), w.granularity) : /* @__PURE__ */ new Map(), [
|
|
14502
|
+
})), w.granularity) : /* @__PURE__ */ new Map(), [E, w]), j1 = (R) => {
|
|
14504
14503
|
i === void 0 && k1(R), o?.(c.filter((J, h1) => R.includes(D1(J, h1))));
|
|
14505
14504
|
}, b0 = (R) => {
|
|
14506
14505
|
R.sortable && (_1 === R.key ? T1(R.key, L1 === "asc" ? "desc" : "asc") : T1(R.key, "asc"));
|
|
@@ -14580,7 +14579,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14580
14579
|
H0 && T1(H0.key, L1 === "asc" ? "desc" : "asc");
|
|
14581
14580
|
},
|
|
14582
14581
|
variant: "ghost",
|
|
14583
|
-
children: /* @__PURE__ */ e(
|
|
14582
|
+
children: /* @__PURE__ */ e(G, { name: L1 === "asc" ? "arrow-up" : "arrow-down" })
|
|
14584
14583
|
})
|
|
14585
14584
|
})]
|
|
14586
14585
|
}),
|
|
@@ -14592,7 +14591,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14592
14591
|
}, R.key))
|
|
14593
14592
|
}),
|
|
14594
14593
|
/* @__PURE__ */ e(ac, {
|
|
14595
|
-
data:
|
|
14594
|
+
data: E,
|
|
14596
14595
|
columns: t,
|
|
14597
14596
|
rowKey: D1,
|
|
14598
14597
|
card: m,
|
|
@@ -14679,7 +14678,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14679
14678
|
p && /* @__PURE__ */ e("td", { className: "data-view__filter-cell data-view__filter-cell--spacer" })
|
|
14680
14679
|
]
|
|
14681
14680
|
})] }), /* @__PURE__ */ e("tbody", { children: (() => {
|
|
14682
|
-
if (
|
|
14681
|
+
if (E.length === 0) return /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", {
|
|
14683
14682
|
colSpan: d0.length + (c0 ? 1 : 0) + (s ? 1 : 0) + (p ? 1 : 0),
|
|
14684
14683
|
className: "data-view__empty",
|
|
14685
14684
|
children: x ? /* @__PURE__ */ e(J1, {
|
|
@@ -14722,7 +14721,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14722
14721
|
style: Q[w1.key] ? { width: Q[w1.key] } : void 0,
|
|
14723
14722
|
children: [R0 === 0 && z1 && /* @__PURE__ */ e(d1, {
|
|
14724
14723
|
title: "Pinned",
|
|
14725
|
-
children: /* @__PURE__ */ e(
|
|
14724
|
+
children: /* @__PURE__ */ e(G, {
|
|
14726
14725
|
className: "data-view__pin-indicator",
|
|
14727
14726
|
name: "pin",
|
|
14728
14727
|
size: "sm"
|
|
@@ -14769,7 +14768,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14769
14768
|
className: "data-view__group-count",
|
|
14770
14769
|
children: l1.totalCount
|
|
14771
14770
|
}),
|
|
14772
|
-
V?.collapsible && /* @__PURE__ */ e(
|
|
14771
|
+
V?.collapsible && /* @__PURE__ */ e(G, {
|
|
14773
14772
|
className: "data-view__group-chevron",
|
|
14774
14773
|
name: N1 ? "caret-down" : "caret-up",
|
|
14775
14774
|
size: "sm"
|
|
@@ -14779,7 +14778,7 @@ function Ca({ columns: t, data: c, rowKey: l, pinnedIds: a, selectable: s = !1,
|
|
|
14779
14778
|
}), !N1 && l1.items.map((z1, R1) => h1(z1, u1 + R1))] }, l1.key ?? "__null__");
|
|
14780
14779
|
});
|
|
14781
14780
|
}
|
|
14782
|
-
return
|
|
14781
|
+
return E.map((e1, l1) => h1(e1, l1));
|
|
14783
14782
|
})() })] })
|
|
14784
14783
|
}),
|
|
14785
14784
|
/* @__PURE__ */ e(a2, {
|
|
@@ -14888,8 +14887,9 @@ var Q1 = (t) => {
|
|
|
14888
14887
|
children: [
|
|
14889
14888
|
/* @__PURE__ */ e(F, {
|
|
14890
14889
|
variant: "default",
|
|
14890
|
+
icon: "caret-left",
|
|
14891
14891
|
onClick: () => p(u0(m, -1)),
|
|
14892
|
-
|
|
14892
|
+
title: "Previous month"
|
|
14893
14893
|
}),
|
|
14894
14894
|
/* @__PURE__ */ r("span", { children: [
|
|
14895
14895
|
m.toLocaleString("default", { month: "long" }),
|
|
@@ -14902,8 +14902,9 @@ var Q1 = (t) => {
|
|
|
14902
14902
|
] }),
|
|
14903
14903
|
/* @__PURE__ */ e(F, {
|
|
14904
14904
|
variant: "default",
|
|
14905
|
+
icon: "caret-right",
|
|
14905
14906
|
onClick: () => p(u0(m, 1)),
|
|
14906
|
-
|
|
14907
|
+
title: "Next month"
|
|
14907
14908
|
})
|
|
14908
14909
|
]
|
|
14909
14910
|
}), /* @__PURE__ */ r("div", {
|
|
@@ -15309,7 +15310,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
15309
15310
|
}),
|
|
15310
15311
|
(h || m) && /* @__PURE__ */ r("h2", {
|
|
15311
15312
|
className: "drawer__title",
|
|
15312
|
-
children: [m && /* @__PURE__ */ e(
|
|
15313
|
+
children: [m && /* @__PURE__ */ e(G, { name: m }), h && /* @__PURE__ */ e("span", {
|
|
15313
15314
|
className: "drawer__title-text",
|
|
15314
15315
|
children: h
|
|
15315
15316
|
})]
|
|
@@ -15335,11 +15336,11 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
15335
15336
|
}),
|
|
15336
15337
|
!v && /* @__PURE__ */ e(F, {
|
|
15337
15338
|
className: "drawer__close",
|
|
15339
|
+
icon: "clear",
|
|
15338
15340
|
onClick: c,
|
|
15339
15341
|
size: "medium",
|
|
15340
15342
|
title: "Close drawer",
|
|
15341
|
-
variant: "ghost"
|
|
15342
|
-
children: "×"
|
|
15343
|
+
variant: "ghost"
|
|
15343
15344
|
})
|
|
15344
15345
|
]
|
|
15345
15346
|
}),
|
|
@@ -20561,7 +20562,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
20561
20562
|
onClick: t[0].onClick,
|
|
20562
20563
|
children: /* @__PURE__ */ e("span", {
|
|
20563
20564
|
className: "float-button__icon",
|
|
20564
|
-
children: /* @__PURE__ */ e(
|
|
20565
|
+
children: /* @__PURE__ */ e(G, {
|
|
20565
20566
|
name: t[0].icon,
|
|
20566
20567
|
size: "xxl"
|
|
20567
20568
|
})
|
|
@@ -20586,7 +20587,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
20586
20587
|
onClick: () => s(o),
|
|
20587
20588
|
children: [/* @__PURE__ */ e("span", {
|
|
20588
20589
|
className: "float-button-menu__icon",
|
|
20589
|
-
children: /* @__PURE__ */ e(
|
|
20590
|
+
children: /* @__PURE__ */ e(G, { name: o.icon })
|
|
20590
20591
|
}), /* @__PURE__ */ e("span", {
|
|
20591
20592
|
className: "float-button-menu__label",
|
|
20592
20593
|
children: o.label
|
|
@@ -20598,7 +20599,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
20598
20599
|
title: "Actions menu",
|
|
20599
20600
|
children: /* @__PURE__ */ e("span", {
|
|
20600
20601
|
className: "float-button__icon",
|
|
20601
|
-
children: /* @__PURE__ */ e(
|
|
20602
|
+
children: /* @__PURE__ */ e(G, {
|
|
20602
20603
|
name: c ? "clear" : "plus",
|
|
20603
20604
|
size: "xxl"
|
|
20604
20605
|
})
|
|
@@ -20719,7 +20720,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
20719
20720
|
w(x.path);
|
|
20720
20721
|
},
|
|
20721
20722
|
children: [
|
|
20722
|
-
/* @__PURE__ */ e(
|
|
20723
|
+
/* @__PURE__ */ e(G, {
|
|
20723
20724
|
name: "folder",
|
|
20724
20725
|
size: "sm"
|
|
20725
20726
|
}),
|
|
@@ -20727,7 +20728,7 @@ var gc = ({ text: t }) => /* @__PURE__ */ e(c1, { children: m1(() => vc(t), [t])
|
|
|
20727
20728
|
className: "folder-browser__entry-name",
|
|
20728
20729
|
children: x.name
|
|
20729
20730
|
}),
|
|
20730
|
-
/* @__PURE__ */ e(
|
|
20731
|
+
/* @__PURE__ */ e(G, {
|
|
20731
20732
|
className: "folder-browser__entry-chevron",
|
|
20732
20733
|
name: "arrow-right",
|
|
20733
20734
|
size: "sm"
|
|
@@ -21342,7 +21343,7 @@ var Sa = M1(({ autoComplete: t = "on", autoFocus: c, cols: l, disabled: a, error
|
|
|
21342
21343
|
variant: "info",
|
|
21343
21344
|
disabled: !g,
|
|
21344
21345
|
onClick: v,
|
|
21345
|
-
children: ["Next ", /* @__PURE__ */ e(
|
|
21346
|
+
children: ["Next ", /* @__PURE__ */ e(G, {
|
|
21346
21347
|
name: "next",
|
|
21347
21348
|
size: "sm"
|
|
21348
21349
|
})]
|
|
@@ -21491,7 +21492,7 @@ var Sa = M1(({ autoComplete: t = "on", autoFocus: c, cols: l, disabled: a, error
|
|
|
21491
21492
|
onClick: () => g(v),
|
|
21492
21493
|
children: [/* @__PURE__ */ e("span", {
|
|
21493
21494
|
className: "MenuHamburger_item__icon",
|
|
21494
|
-
children: v.icon ? /* @__PURE__ */ e(
|
|
21495
|
+
children: v.icon ? /* @__PURE__ */ e(G, { name: v.icon }) : null
|
|
21495
21496
|
}), /* @__PURE__ */ e("span", {
|
|
21496
21497
|
className: "MenuHamburger_item__label",
|
|
21497
21498
|
children: v.label
|
|
@@ -21622,7 +21623,7 @@ var Sa = M1(({ autoComplete: t = "on", autoFocus: c, cols: l, disabled: a, error
|
|
|
21622
21623
|
disabled: v.disabled,
|
|
21623
21624
|
children: [v.icon && /* @__PURE__ */ e("span", {
|
|
21624
21625
|
className: "navbar__item-icon",
|
|
21625
|
-
children: v.icon ? /* @__PURE__ */ e(
|
|
21626
|
+
children: v.icon ? /* @__PURE__ */ e(G, { name: v.icon }) : null
|
|
21626
21627
|
}), /* @__PURE__ */ e("span", {
|
|
21627
21628
|
className: "navbar__item-label",
|
|
21628
21629
|
children: v.label
|
|
@@ -22759,7 +22760,7 @@ ${s.textContent ?? ""}
|
|
|
22759
22760
|
onMouseDown: (h) => {
|
|
22760
22761
|
h.preventDefault(), s();
|
|
22761
22762
|
},
|
|
22762
|
-
children: [/* @__PURE__ */ e(
|
|
22763
|
+
children: [/* @__PURE__ */ e(G, { name: "checkmark" }), " List"]
|
|
22763
22764
|
})
|
|
22764
22765
|
})]
|
|
22765
22766
|
}),
|
|
@@ -22789,7 +22790,7 @@ ${s.textContent ?? ""}
|
|
|
22789
22790
|
onMouseDown: (h) => {
|
|
22790
22791
|
h.preventDefault(), o();
|
|
22791
22792
|
},
|
|
22792
|
-
children: [/* @__PURE__ */ e(
|
|
22793
|
+
children: [/* @__PURE__ */ e(G, { name: "link" }), " Link"]
|
|
22793
22794
|
})
|
|
22794
22795
|
})
|
|
22795
22796
|
}),
|
|
@@ -23090,7 +23091,7 @@ ${s.textContent ?? ""}
|
|
|
23090
23091
|
children: [
|
|
23091
23092
|
y.icon && /* @__PURE__ */ e("span", {
|
|
23092
23093
|
className: "sidebar__link-icon",
|
|
23093
|
-
children: /* @__PURE__ */ e(
|
|
23094
|
+
children: /* @__PURE__ */ e(G, { name: y.icon })
|
|
23094
23095
|
}),
|
|
23095
23096
|
y.emoji && /* @__PURE__ */ e("span", {
|
|
23096
23097
|
className: "sidebar__link-emoji",
|
|
@@ -23141,7 +23142,7 @@ ${s.textContent ?? ""}
|
|
|
23141
23142
|
className: "sidebar__section-title-row",
|
|
23142
23143
|
children: [y.icon && /* @__PURE__ */ e("span", {
|
|
23143
23144
|
className: "sidebar__section-icon",
|
|
23144
|
-
children: /* @__PURE__ */ e(
|
|
23145
|
+
children: /* @__PURE__ */ e(G, { name: y.icon })
|
|
23145
23146
|
}), /* @__PURE__ */ r("div", {
|
|
23146
23147
|
className: "sidebar__section-copy",
|
|
23147
23148
|
children: [y.title && /* @__PURE__ */ e("span", {
|
|
@@ -23426,7 +23427,7 @@ var ti = ({ variant: t = "text", animation: c = "pulse", width: l, height: a, bo
|
|
|
23426
23427
|
function h2({ state: t }) {
|
|
23427
23428
|
return /* @__PURE__ */ e("span", {
|
|
23428
23429
|
className: `suggestions-list__sort-icon suggestions-list__sort-icon--${t}`,
|
|
23429
|
-
children: /* @__PURE__ */ e(
|
|
23430
|
+
children: /* @__PURE__ */ e(G, { name: t === "asc" ? "arrow-up" : t === "desc" ? "arrow-down" : "arrow-bidirectional-vertical" })
|
|
23430
23431
|
});
|
|
23431
23432
|
}
|
|
23432
23433
|
var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s = !1, onRowClick: o }) => {
|
|
@@ -23521,6 +23522,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
23521
23522
|
return /* @__PURE__ */ r("div", {
|
|
23522
23523
|
className: "suggestions-list",
|
|
23523
23524
|
children: [/* @__PURE__ */ e("div", { children: /* @__PURE__ */ r(F, {
|
|
23525
|
+
icon: i ? "caret-up" : "caret-down",
|
|
23524
23526
|
onClick: M,
|
|
23525
23527
|
children: [
|
|
23526
23528
|
i ? "Hide" : "Show",
|
|
@@ -24489,9 +24491,9 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24489
24491
|
className: "tips-of-the-day",
|
|
24490
24492
|
children: [
|
|
24491
24493
|
/* @__PURE__ */ r("h3", { children: [
|
|
24492
|
-
/* @__PURE__ */ e(
|
|
24494
|
+
/* @__PURE__ */ e(G, { name: "sparkle" }),
|
|
24493
24495
|
" Tip Of The Day ",
|
|
24494
|
-
/* @__PURE__ */ e(
|
|
24496
|
+
/* @__PURE__ */ e(G, { name: "sparkle" })
|
|
24495
24497
|
] }),
|
|
24496
24498
|
" ",
|
|
24497
24499
|
/* @__PURE__ */ e("h4", { children: t[c] })
|
|
@@ -24518,7 +24520,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24518
24520
|
className: "toast__close",
|
|
24519
24521
|
onClick: l,
|
|
24520
24522
|
title: "Close",
|
|
24521
|
-
children: /* @__PURE__ */ e(
|
|
24523
|
+
children: /* @__PURE__ */ e(G, {
|
|
24522
24524
|
name: "clear",
|
|
24523
24525
|
size: "sm"
|
|
24524
24526
|
})
|
|
@@ -24535,7 +24537,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24535
24537
|
onClick: () => l(n.key),
|
|
24536
24538
|
children: [n.icon && /* @__PURE__ */ e("span", {
|
|
24537
24539
|
className: "toggle-buttons__card-icon",
|
|
24538
|
-
children: /* @__PURE__ */ e(
|
|
24540
|
+
children: /* @__PURE__ */ e(G, {
|
|
24539
24541
|
name: n.icon,
|
|
24540
24542
|
size: "xl"
|
|
24541
24543
|
})
|
|
@@ -24607,7 +24609,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24607
24609
|
className: "memobit-toolbar__heading-icon",
|
|
24608
24610
|
children: [
|
|
24609
24611
|
a.svg,
|
|
24610
|
-
a.icon && /* @__PURE__ */ e(
|
|
24612
|
+
a.icon && /* @__PURE__ */ e(G, { name: a.icon }),
|
|
24611
24613
|
a.emoji
|
|
24612
24614
|
]
|
|
24613
24615
|
}), /* @__PURE__ */ r("div", {
|
|
@@ -24703,7 +24705,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24703
24705
|
className: "tour-hud__btn",
|
|
24704
24706
|
disabled: l === 0,
|
|
24705
24707
|
onClick: i,
|
|
24706
|
-
children: [/* @__PURE__ */ e(
|
|
24708
|
+
children: [/* @__PURE__ */ e(G, {
|
|
24707
24709
|
name: "arrow-left",
|
|
24708
24710
|
size: "sm"
|
|
24709
24711
|
}), "Prev"]
|
|
@@ -24713,7 +24715,7 @@ var d2 = 10, ni = ({ data: t, label: c, title: l, tooltip: a, enableSearch: s =
|
|
|
24713
24715
|
className: "tour-hud__btn",
|
|
24714
24716
|
disabled: l >= a - 1,
|
|
24715
24717
|
onClick: n,
|
|
24716
|
-
children: ["Next", /* @__PURE__ */ e(
|
|
24718
|
+
children: ["Next", /* @__PURE__ */ e(G, {
|
|
24717
24719
|
name: "arrow-right",
|
|
24718
24720
|
size: "sm"
|
|
24719
24721
|
})]
|
|
@@ -25199,6 +25201,7 @@ function Ci({ redirectPath: t = "/" }) {
|
|
|
25199
25201
|
/* @__PURE__ */ e(F, {
|
|
25200
25202
|
type: "submit",
|
|
25201
25203
|
variant: "info",
|
|
25204
|
+
icon: "key",
|
|
25202
25205
|
loading: g,
|
|
25203
25206
|
fullWidth: !0,
|
|
25204
25207
|
children: "Sign In"
|
|
@@ -25429,7 +25432,7 @@ var _i = (t, c, l) => {
|
|
|
25429
25432
|
} catch {
|
|
25430
25433
|
return t.trim();
|
|
25431
25434
|
}
|
|
25432
|
-
}, _l = "1.0.
|
|
25435
|
+
}, _l = "1.0.20", Bi = 240, Ll = "71768a7", zl = "2026-07-14T08:38:11.557Z", Ri = "240", Vl = (t) => {
|
|
25433
25436
|
const c = document.getElementById("mb-version-toast");
|
|
25434
25437
|
if (c) {
|
|
25435
25438
|
c.remove();
|
|
@@ -25453,7 +25456,7 @@ var _i = (t, c, l) => {
|
|
|
25453
25456
|
const c = {
|
|
25454
25457
|
...t,
|
|
25455
25458
|
lib: _l,
|
|
25456
|
-
libBuildNumber:
|
|
25459
|
+
libBuildNumber: 240,
|
|
25457
25460
|
libCommit: Ll,
|
|
25458
25461
|
libBuildDate: zl
|
|
25459
25462
|
};
|
|
@@ -25574,7 +25577,7 @@ export {
|
|
|
25574
25577
|
Wr as Flag,
|
|
25575
25578
|
_a as FloatButton,
|
|
25576
25579
|
La as FolderBrowserModal,
|
|
25577
|
-
|
|
25580
|
+
G as Icon,
|
|
25578
25581
|
za as InfiniteScroll,
|
|
25579
25582
|
Hr as InputDate,
|
|
25580
25583
|
Va as InputEmail,
|