@hortiview/shared-components 0.0.11176 → 0.0.11587
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/README.md +58 -8
- package/dist/BigLoadingSpinner-iegTbDcD.js +16 -0
- package/dist/GenericCard-6J558OgP.js +350 -0
- package/dist/ListAreaService-DOwtdRa4.js +109 -0
- package/dist/_MapCache-B75yWNNd.js +376 -0
- package/dist/_baseIsEqual-D0Dsajdb.js +317 -0
- package/dist/_getTag-BCf9b56Z.js +81 -0
- package/dist/animationframe-EMBh6XeO.js +54 -0
- package/dist/assets/HashTabView.css +1 -1
- package/dist/assets/Select.css +1 -0
- package/dist/component-DsB0poTj.js +571 -0
- package/dist/component-neHBNHRu.js +114 -0
- package/dist/components/AlertBanner/AlertBanner.d.ts +0 -1
- package/dist/components/AlertBanner/AlertBanner.js +15 -15
- package/dist/components/AlertBanner/AlertBanner.test.js +11 -9
- package/dist/components/BaseView/BaseView.d.ts +1 -1
- package/dist/components/BaseView/BaseView.js +27 -28
- package/dist/components/BaseView/BaseView.test.js +25 -25
- package/dist/components/BasicHeading/BasicHeading.d.ts +1 -0
- package/dist/components/BasicHeading/BasicHeading.js +17 -17
- package/dist/components/BasicHeading/BasicHeading.test.js +10 -10
- package/dist/components/BlockView/BlockView.d.ts +1 -0
- package/dist/components/BlockView/BlockView.js +24 -25
- package/dist/components/BlockView/BlockView.test.js +2 -2
- package/dist/components/ChipCard/ChipCard.js +1765 -15
- package/dist/components/ChipCard/ChipCard.test.js +2 -2
- package/dist/components/ContextMenu/ContextMenu.d.ts +3 -2
- package/dist/components/ContextMenu/ContextMenu.js +28 -28
- package/dist/components/ContextMenu/ContextMenu.test.js +2 -2
- package/dist/components/DeleteModal/DeleteModal.d.ts +0 -1
- package/dist/components/DeleteModal/DeleteModal.js +53 -51
- package/dist/components/DeleteModal/DeleteModal.test.js +2 -2
- package/dist/components/Disclaimer/Disclaimer.js +12 -11
- package/dist/components/Disclaimer/Disclaimer.test.js +2 -2
- package/dist/components/EmptyView/EmptyView.d.ts +1 -0
- package/dist/components/EmptyView/EmptyView.js +258 -19
- package/dist/components/EmptyView/EmptyView.test.js +2 -2
- package/dist/components/Filter/Filter.d.ts +1 -0
- package/dist/components/Filter/Filter.js +81 -77
- package/dist/components/Filter/Filter.test.js +2 -2
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +1 -0
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +13 -11
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +2 -2
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +3 -2
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5975 -6389
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +2 -2
- package/dist/components/FormComponents/FormNumber/CustomTextField.d.ts +2 -1
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +13 -14
- package/dist/components/FormComponents/FormNumber/FormNumber.d.ts +2 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.js +2 -2
- package/dist/components/FormComponents/FormNumber/FormNumber.test.js +4 -4
- package/dist/components/FormComponents/FormRadio/FormRadio.d.ts +1 -0
- package/dist/components/FormComponents/FormRadio/FormRadio.js +4 -4
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +2 -2
- package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +4 -7
- package/dist/components/FormComponents/FormSelect/FormSelect.js +100 -110
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +3 -3
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.d.ts +1 -0
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -5
- package/dist/components/FormComponents/FormSlider/FormSlider.d.ts +1 -0
- package/dist/components/FormComponents/FormSlider/FormSlider.js +1155 -27
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +2 -2
- package/dist/components/FormComponents/FormText/FormText.d.ts +2 -1
- package/dist/components/FormComponents/FormText/FormText.js +28 -28
- package/dist/components/FormComponents/FormText/FormText.test.js +13 -13
- package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +2 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.js +17 -15
- package/dist/components/FormComponents/FormToggle/FormToggle.test.js +2 -2
- package/dist/components/FormattedNumberDisplay/FormattedNumberDisplay.d.ts +2 -1
- package/dist/components/FormattedNumberDisplay/FormattedNumberDisplay.js +1 -1
- package/dist/components/GenericTable/GenericTable.d.ts +1 -0
- package/dist/components/GenericTable/GenericTable.js +10487 -76
- package/dist/components/GenericTable/GenericTable.test.js +2 -2
- package/dist/components/GenericTable/GenericTableService.d.ts +1 -0
- package/dist/components/GenericTable/GenericTableService.js +41 -41
- package/dist/components/GenericTable/Mobile/GenericCard.d.ts +1 -1
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -3
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +3 -3
- package/dist/components/GenericTable/Mobile/GenericCardList.d.ts +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -8
- package/dist/components/GenericTable/Mobile/GenericCardList.test.js +2 -2
- package/dist/components/HashTabView/HashTabView.d.ts +6 -1
- package/dist/components/HashTabView/HashTabView.js +1805 -72
- package/dist/components/HashTabView/HashTabView.test.js +2 -2
- package/dist/components/HeaderFilter/HeaderFilter.d.ts +3 -2
- package/dist/components/HeaderFilter/HeaderFilter.js +14 -14
- package/dist/components/HeaderFilter/HeaderFilter.test.js +2 -2
- package/dist/components/HealthCheckFailed/HealthCheckFailed.js +19 -17
- package/dist/components/HealthCheckFailed/HealthCheckFailed.test.js +2 -2
- package/dist/components/Iconify/Iconify.d.ts +2 -3
- package/dist/components/Iconify/Iconify.js +44 -45
- package/dist/components/Iconify/Iconify.test.js +2 -2
- package/dist/components/InfoGroup/InfoGroup.d.ts +4 -3
- package/dist/components/InfoGroup/InfoGroup.js +30 -29
- package/dist/components/InfoGroup/InfoGroup.test.js +2 -2
- package/dist/components/ListArea/ListArea.d.ts +1 -1
- package/dist/components/ListArea/ListArea.js +29 -27
- package/dist/components/ListArea/ListArea.test.js +5 -5
- package/dist/components/ListArea/ListAreaService.d.ts +9 -8
- package/dist/components/ListArea/ListAreaService.js +7 -5
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +3 -3
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +506 -38
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +2 -2
- package/dist/components/Modal/Modal.d.ts +2 -1
- package/dist/components/Modal/Modal.js +926 -10
- package/dist/components/ModulePadding/ModulePadding.d.ts +7 -0
- package/dist/components/ModulePadding/ModulePadding.js +28 -0
- package/dist/components/ModulePadding/ModulePadding.test.d.ts +1 -0
- package/dist/components/ModulePadding/ModulePadding.test.js +22 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +0 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.js +13 -14
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +4 -4
- package/dist/components/Scrollbar/Scrollbar.js +5 -6
- package/dist/components/Scrollbar/scrollbar.test.js +2 -2
- package/dist/components/SearchBar/SearchBar.js +11 -11
- package/dist/components/SearchBar/SearchBar.test.js +2 -2
- package/dist/components/Select/Select.d.ts +14 -0
- package/dist/components/Select/Select.js +34 -0
- package/dist/components/Select/Select.test.d.ts +1 -0
- package/dist/components/Select/Select.test.js +28 -0
- package/dist/components/VerticalDivider/VerticalDivider.js +4 -5
- package/dist/components/VerticalDivider/VerticalDivider.test.js +2 -2
- package/dist/floating-ui.dom-CeD8zknG.js +978 -0
- package/dist/get-7ACccM2X.js +114 -0
- package/dist/{get-BiqanC9_.js → get-DFv1gXfq.js} +1 -1
- package/dist/hooks/useBreakpoints.test.js +2 -2
- package/dist/hooks/useHelperText.d.ts +1 -0
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/identity-DLWZln-X.js +1763 -0
- package/dist/{index-DzM8o582.js → index-CrcXCSzI.js} +1940 -1796
- package/dist/index.es-0lQcz8m1.js +444 -0
- package/dist/index.es-25EARqhH.js +2027 -0
- package/dist/index.es-3043KTnb.js +1066 -0
- package/dist/index.es-41ztjcFT.js +724 -0
- package/dist/index.es-6TJ1S8Jr.js +954 -0
- package/dist/index.es-8GOVkuo-.js +374 -0
- package/dist/index.es-B-_jXDuz.js +216 -0
- package/dist/index.es-BWgXLqXn.js +102 -0
- package/dist/index.es-BtjV0oNv.js +360 -0
- package/dist/index.es-BvrQnJ3j.js +509 -0
- package/dist/index.es-CF_xy2ns.js +674 -0
- package/dist/index.es-CL_Heu1n.js +54 -0
- package/dist/index.es-CiqbARoC.js +306 -0
- package/dist/index.es-D-CKRzIB.js +63 -0
- package/dist/index.es-D6N-XWHe.js +56 -0
- package/dist/index.es-DKDgy7Kt.js +45 -0
- package/dist/index.es-DntoATwO.js +159 -0
- package/dist/index.es-UHKFl8Da.js +7075 -0
- package/dist/index.es-d5xhUpJZ.js +3242 -0
- package/dist/index.es-da0cf7oE.js +569 -0
- package/dist/index.es-h2lMdt7G.js +107 -0
- package/dist/index.es-zr101OF5.js +4853 -0
- package/dist/{isArray-2zMxXFEr.js → isArray-DN9s620O.js} +3 -3
- package/dist/{isArray-C_5XvIlE.js → isArray-Dub1wGJM.js} +1 -1
- package/dist/isEmpty-B4GG2s-V.js +31 -0
- package/dist/isPlainObject-C273y67K.js +40 -0
- package/dist/isString-BW9UHONv.js +21 -0
- package/dist/keyboard-Bpt0aBqQ.js +107 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +58 -54
- package/dist/orderBy-Bd48bw88.js +316 -0
- package/dist/{react-number-format.es-BD3_OvMU.js → react-number-format.es-BK1EpVXq.js} +151 -151
- package/dist/react-tooltip.min-DSY6KDqS.js +431 -0
- package/dist/{react.esm-FR1-H8iU.js → react.esm-DNwojocF.js} +5289 -4990
- package/dist/services/BlockService.d.ts +1 -0
- package/dist/services/NumberService.d.ts +1 -0
- package/dist/services/UtilService.d.ts +1 -0
- package/dist/services/UtilService.js +2 -2
- package/dist/services/services.test.js +1 -1
- package/dist/toString-CrgB_7Pe.js +54 -0
- package/dist/tslib.es6-BDCynO9F.js +162 -0
- package/dist/types/GenericTable.d.ts +2 -2
- package/dist/types/HashTab.d.ts +0 -1
- package/dist/types/ListElement.d.ts +0 -1
- package/dist/types/internal/ReactRouterTypes.d.ts +0 -1
- package/dist/uniqueId-NU3-C36A.js +18 -0
- package/dist/util-DA21pZXj.js +78 -0
- package/dist/{vi.CjhMlMwf-DWv7vrn7.js → vi.CjhMlMwf-BCJNwXvu.js} +1 -1
- package/package.json +15 -15
- package/dist/BigLoadingSpinner-C3wTbTD0.js +0 -17
- package/dist/GenericCard-B8x1DMa8.js +0 -81
- package/dist/ListAreaService-CRX4eEUJ.js +0 -108
- package/dist/_Map-Dtlps7IZ.js +0 -113
- package/dist/_overArg-_0pUmCsX.js +0 -14
- package/dist/get-P-5PYZOE.js +0 -426
- package/dist/isEmpty-BimaZd5G.js +0 -225
- package/dist/isString-BOHPtrlm.js +0 -44
- package/dist/orderBy-BVQIswlJ.js +0 -765
- package/dist/react-tooltip.min-c2wVkjF2.js +0 -1354
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as o } from "../isArray-
|
|
2
|
-
import { i as s, a } from "../isString-
|
|
1
|
+
import { i as o } from "../isArray-Dub1wGJM.js";
|
|
2
|
+
import { i as s, a } from "../isString-BW9UHONv.js";
|
|
3
3
|
import { LANGUAGE_CODES_MAPPER as c } from "../types/Languages.js";
|
|
4
4
|
const A = (r) => r.split(" ").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(" "), m = (r) => Object.fromEntries(
|
|
5
5
|
Object.entries(r).map(([t, i]) => [t, n(i)])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getBlockNumberByDto as r } from "./BlockService.js";
|
|
2
2
|
import { capitalizeFirstLetters as a, trimLeadingAndTrailingSpaces as o } from "./UtilService.js";
|
|
3
|
-
import { d as n, t as e, g as s } from "../vi.CjhMlMwf-
|
|
3
|
+
import { d as n, t as e, g as s } from "../vi.CjhMlMwf-BCJNwXvu.js";
|
|
4
4
|
n("Services Test", () => {
|
|
5
5
|
n("capitalizeFirstLetters", () => {
|
|
6
6
|
e("should capitalize first letters of a lower case string", () => {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { a as q, b as p, c as T, r as _ } from "./isArray-DN9s620O.js";
|
|
2
|
+
var s, g;
|
|
3
|
+
function d() {
|
|
4
|
+
if (g) return s;
|
|
5
|
+
g = 1;
|
|
6
|
+
function t(r, n) {
|
|
7
|
+
for (var i = -1, e = r == null ? 0 : r.length, o = Array(e); ++i < e; )
|
|
8
|
+
o[i] = n(r[i], i, r);
|
|
9
|
+
return o;
|
|
10
|
+
}
|
|
11
|
+
return s = t, s;
|
|
12
|
+
}
|
|
13
|
+
var u, m;
|
|
14
|
+
function h() {
|
|
15
|
+
if (m) return u;
|
|
16
|
+
m = 1;
|
|
17
|
+
var t = q(), r = p(), n = "[object Symbol]";
|
|
18
|
+
function i(e) {
|
|
19
|
+
return typeof e == "symbol" || r(e) && t(e) == n;
|
|
20
|
+
}
|
|
21
|
+
return u = i, u;
|
|
22
|
+
}
|
|
23
|
+
var b, c;
|
|
24
|
+
function v() {
|
|
25
|
+
if (c) return b;
|
|
26
|
+
c = 1;
|
|
27
|
+
var t = T(), r = d(), n = _(), i = h(), e = t ? t.prototype : void 0, o = e ? e.toString : void 0;
|
|
28
|
+
function y(a) {
|
|
29
|
+
if (typeof a == "string")
|
|
30
|
+
return a;
|
|
31
|
+
if (n(a))
|
|
32
|
+
return r(a, y) + "";
|
|
33
|
+
if (i(a))
|
|
34
|
+
return o ? o.call(a) : "";
|
|
35
|
+
var S = a + "";
|
|
36
|
+
return S == "0" && 1 / a == -1 / 0 ? "-0" : S;
|
|
37
|
+
}
|
|
38
|
+
return b = y, b;
|
|
39
|
+
}
|
|
40
|
+
var f, l;
|
|
41
|
+
function M() {
|
|
42
|
+
if (l) return f;
|
|
43
|
+
l = 1;
|
|
44
|
+
var t = v();
|
|
45
|
+
function r(n) {
|
|
46
|
+
return n == null ? "" : t(n);
|
|
47
|
+
}
|
|
48
|
+
return f = r, f;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
h as a,
|
|
52
|
+
d as b,
|
|
53
|
+
M as r
|
|
54
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
var y = function(n, a) {
|
|
2
|
+
return y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
|
|
3
|
+
t.__proto__ = r;
|
|
4
|
+
} || function(t, r) {
|
|
5
|
+
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
6
|
+
}, y(n, a);
|
|
7
|
+
};
|
|
8
|
+
function h(n, a) {
|
|
9
|
+
if (typeof a != "function" && a !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(a) + " is not a constructor or null");
|
|
11
|
+
y(n, a);
|
|
12
|
+
function t() {
|
|
13
|
+
this.constructor = n;
|
|
14
|
+
}
|
|
15
|
+
n.prototype = a === null ? Object.create(a) : (t.prototype = a.prototype, new t());
|
|
16
|
+
}
|
|
17
|
+
var p = function() {
|
|
18
|
+
return p = Object.assign || function(a) {
|
|
19
|
+
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
|
20
|
+
t = arguments[r];
|
|
21
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && (a[e] = t[e]);
|
|
22
|
+
}
|
|
23
|
+
return a;
|
|
24
|
+
}, p.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
function b(n, a) {
|
|
27
|
+
var t = {};
|
|
28
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && a.indexOf(r) < 0 && (t[r] = n[r]);
|
|
29
|
+
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
|
30
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(n); i < r.length; i++)
|
|
31
|
+
a.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(n, r[i]) && (t[r[i]] = n[r[i]]);
|
|
32
|
+
return t;
|
|
33
|
+
}
|
|
34
|
+
function _(n, a, t, r) {
|
|
35
|
+
function i(e) {
|
|
36
|
+
return e instanceof t ? e : new t(function(l) {
|
|
37
|
+
l(e);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return new (t || (t = Promise))(function(e, l) {
|
|
41
|
+
function u(c) {
|
|
42
|
+
try {
|
|
43
|
+
o(r.next(c));
|
|
44
|
+
} catch (s) {
|
|
45
|
+
l(s);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function f(c) {
|
|
49
|
+
try {
|
|
50
|
+
o(r.throw(c));
|
|
51
|
+
} catch (s) {
|
|
52
|
+
l(s);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function o(c) {
|
|
56
|
+
c.done ? e(c.value) : i(c.value).then(u, f);
|
|
57
|
+
}
|
|
58
|
+
o((r = r.apply(n, a || [])).next());
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function d(n, a) {
|
|
62
|
+
var t = { label: 0, sent: function() {
|
|
63
|
+
if (e[0] & 1) throw e[1];
|
|
64
|
+
return e[1];
|
|
65
|
+
}, trys: [], ops: [] }, r, i, e, l = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
66
|
+
return l.next = u(0), l.throw = u(1), l.return = u(2), typeof Symbol == "function" && (l[Symbol.iterator] = function() {
|
|
67
|
+
return this;
|
|
68
|
+
}), l;
|
|
69
|
+
function u(o) {
|
|
70
|
+
return function(c) {
|
|
71
|
+
return f([o, c]);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function f(o) {
|
|
75
|
+
if (r) throw new TypeError("Generator is already executing.");
|
|
76
|
+
for (; l && (l = 0, o[0] && (t = 0)), t; ) try {
|
|
77
|
+
if (r = 1, i && (e = o[0] & 2 ? i.return : o[0] ? i.throw || ((e = i.return) && e.call(i), 0) : i.next) && !(e = e.call(i, o[1])).done) return e;
|
|
78
|
+
switch (i = 0, e && (o = [o[0] & 2, e.value]), o[0]) {
|
|
79
|
+
case 0:
|
|
80
|
+
case 1:
|
|
81
|
+
e = o;
|
|
82
|
+
break;
|
|
83
|
+
case 4:
|
|
84
|
+
return t.label++, { value: o[1], done: !1 };
|
|
85
|
+
case 5:
|
|
86
|
+
t.label++, i = o[1], o = [0];
|
|
87
|
+
continue;
|
|
88
|
+
case 7:
|
|
89
|
+
o = t.ops.pop(), t.trys.pop();
|
|
90
|
+
continue;
|
|
91
|
+
default:
|
|
92
|
+
if (e = t.trys, !(e = e.length > 0 && e[e.length - 1]) && (o[0] === 6 || o[0] === 2)) {
|
|
93
|
+
t = 0;
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if (o[0] === 3 && (!e || o[1] > e[0] && o[1] < e[3])) {
|
|
97
|
+
t.label = o[1];
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
if (o[0] === 6 && t.label < e[1]) {
|
|
101
|
+
t.label = e[1], e = o;
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
if (e && t.label < e[2]) {
|
|
105
|
+
t.label = e[2], t.ops.push(o);
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
e[2] && t.ops.pop(), t.trys.pop();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
o = a.call(n, t);
|
|
112
|
+
} catch (c) {
|
|
113
|
+
o = [6, c], i = 0;
|
|
114
|
+
} finally {
|
|
115
|
+
r = e = 0;
|
|
116
|
+
}
|
|
117
|
+
if (o[0] & 5) throw o[1];
|
|
118
|
+
return { value: o[0] ? o[1] : void 0, done: !0 };
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function v(n) {
|
|
122
|
+
var a = typeof Symbol == "function" && Symbol.iterator, t = a && n[a], r = 0;
|
|
123
|
+
if (t) return t.call(n);
|
|
124
|
+
if (n && typeof n.length == "number") return {
|
|
125
|
+
next: function() {
|
|
126
|
+
return n && r >= n.length && (n = void 0), { value: n && n[r++], done: !n };
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
throw new TypeError(a ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
130
|
+
}
|
|
131
|
+
function w(n, a) {
|
|
132
|
+
var t = typeof Symbol == "function" && n[Symbol.iterator];
|
|
133
|
+
if (!t) return n;
|
|
134
|
+
var r = t.call(n), i, e = [], l;
|
|
135
|
+
try {
|
|
136
|
+
for (; (a === void 0 || a-- > 0) && !(i = r.next()).done; ) e.push(i.value);
|
|
137
|
+
} catch (u) {
|
|
138
|
+
l = { error: u };
|
|
139
|
+
} finally {
|
|
140
|
+
try {
|
|
141
|
+
i && !i.done && (t = r.return) && t.call(r);
|
|
142
|
+
} finally {
|
|
143
|
+
if (l) throw l.error;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return e;
|
|
147
|
+
}
|
|
148
|
+
function O(n, a, t) {
|
|
149
|
+
if (t || arguments.length === 2) for (var r = 0, i = a.length, e; r < i; r++)
|
|
150
|
+
(e || !(r in a)) && (e || (e = Array.prototype.slice.call(a, 0, r)), e[r] = a[r]);
|
|
151
|
+
return n.concat(e || Array.prototype.slice.call(a));
|
|
152
|
+
}
|
|
153
|
+
export {
|
|
154
|
+
O as _,
|
|
155
|
+
w as a,
|
|
156
|
+
h as b,
|
|
157
|
+
p as c,
|
|
158
|
+
v as d,
|
|
159
|
+
b as e,
|
|
160
|
+
_ as f,
|
|
161
|
+
d as g
|
|
162
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ListItemProps } from '@element-public/react-list';
|
|
2
|
+
|
|
3
3
|
/**
|
|
4
4
|
* Props for the GenericTable component {@link GenericTable}
|
|
5
5
|
* @template T the type of the data that will be displayed in the table
|
package/dist/types/HashTab.d.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { g as a } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
|
+
import { r as d } from "./toString-CrgB_7Pe.js";
|
|
3
|
+
var r, u;
|
|
4
|
+
function q() {
|
|
5
|
+
if (u) return r;
|
|
6
|
+
u = 1;
|
|
7
|
+
var e = d(), i = 0;
|
|
8
|
+
function n(t) {
|
|
9
|
+
var o = ++i;
|
|
10
|
+
return e(t) + o;
|
|
11
|
+
}
|
|
12
|
+
return r = n, r;
|
|
13
|
+
}
|
|
14
|
+
var s = q();
|
|
15
|
+
const I = /* @__PURE__ */ a(s);
|
|
16
|
+
export {
|
|
17
|
+
I as u
|
|
18
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2016 Google Inc.
|
|
4
|
+
*
|
|
5
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
* in the Software without restriction, including without limitation the rights
|
|
8
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
* furnished to do so, subject to the following conditions:
|
|
11
|
+
*
|
|
12
|
+
* The above copyright notice and this permission notice shall be included in
|
|
13
|
+
* all copies or substantial portions of the Software.
|
|
14
|
+
*
|
|
15
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
* THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
var d = {
|
|
24
|
+
animation: {
|
|
25
|
+
prefixed: "-webkit-animation",
|
|
26
|
+
standard: "animation"
|
|
27
|
+
},
|
|
28
|
+
transform: {
|
|
29
|
+
prefixed: "-webkit-transform",
|
|
30
|
+
standard: "transform"
|
|
31
|
+
},
|
|
32
|
+
transition: {
|
|
33
|
+
prefixed: "-webkit-transition",
|
|
34
|
+
standard: "transition"
|
|
35
|
+
}
|
|
36
|
+
}, s = {
|
|
37
|
+
animationend: {
|
|
38
|
+
cssProperty: "animation",
|
|
39
|
+
prefixed: "webkitAnimationEnd",
|
|
40
|
+
standard: "animationend"
|
|
41
|
+
},
|
|
42
|
+
animationiteration: {
|
|
43
|
+
cssProperty: "animation",
|
|
44
|
+
prefixed: "webkitAnimationIteration",
|
|
45
|
+
standard: "animationiteration"
|
|
46
|
+
},
|
|
47
|
+
animationstart: {
|
|
48
|
+
cssProperty: "animation",
|
|
49
|
+
prefixed: "webkitAnimationStart",
|
|
50
|
+
standard: "animationstart"
|
|
51
|
+
},
|
|
52
|
+
transitionend: {
|
|
53
|
+
cssProperty: "transition",
|
|
54
|
+
prefixed: "webkitTransitionEnd",
|
|
55
|
+
standard: "transitionend"
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
function m(t) {
|
|
59
|
+
return !!t.document && typeof t.document.createElement == "function";
|
|
60
|
+
}
|
|
61
|
+
function c(t, n) {
|
|
62
|
+
if (m(t) && n in d) {
|
|
63
|
+
var r = t.document.createElement("div"), a = d[n], i = a.standard, e = a.prefixed, o = i in r.style;
|
|
64
|
+
return o ? i : e;
|
|
65
|
+
}
|
|
66
|
+
return n;
|
|
67
|
+
}
|
|
68
|
+
function p(t, n) {
|
|
69
|
+
if (m(t) && n in s) {
|
|
70
|
+
var r = t.document.createElement("div"), a = s[n], i = a.standard, e = a.prefixed, o = a.cssProperty, f = o in r.style;
|
|
71
|
+
return f ? i : e;
|
|
72
|
+
}
|
|
73
|
+
return n;
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
c as a,
|
|
77
|
+
p as g
|
|
78
|
+
};
|
|
@@ -1304,7 +1304,7 @@ function Ef(e) {
|
|
|
1304
1304
|
}), t;
|
|
1305
1305
|
}
|
|
1306
1306
|
function Tf(e, t) {
|
|
1307
|
-
return e.size
|
|
1307
|
+
return e.size - 1 <= 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${Ue(Ef(e), t, Sf)} }`);
|
|
1308
1308
|
}
|
|
1309
1309
|
const vf = Number.isNaN || ((e) => e !== e);
|
|
1310
1310
|
function ko(e, t) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hortiview/shared-components",
|
|
3
3
|
"description": "This is a shared component library. It should used in the HortiView platform and its modules.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11587",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
|
|
7
7
|
"author": "Falk Menge <falk.menge.ext@bayer.com>",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"react-number-format": "^5.4.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@chromatic-com/storybook": "
|
|
40
|
-
"@element/react-components": "^
|
|
41
|
-
"@element/themes": "^
|
|
42
|
-
"@storybook/addon-essentials": "^8.
|
|
43
|
-
"@storybook/addon-interactions": "^8.
|
|
44
|
-
"@storybook/addon-links": "^8.
|
|
45
|
-
"@storybook/addon-onboarding": "^8.
|
|
46
|
-
"@storybook/blocks": "^8.
|
|
47
|
-
"@storybook/react": "^8.
|
|
48
|
-
"@storybook/react-vite": "^8.
|
|
49
|
-
"@storybook/test": "^8.
|
|
39
|
+
"@chromatic-com/storybook": "^3.2.4",
|
|
40
|
+
"@element-public/react-components": "^2.0.0-alpha.1",
|
|
41
|
+
"@element-public/themes": "^2.0.0",
|
|
42
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
43
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
44
|
+
"@storybook/addon-links": "^8.5.3",
|
|
45
|
+
"@storybook/addon-onboarding": "^8.5.3",
|
|
46
|
+
"@storybook/blocks": "^8.5.3",
|
|
47
|
+
"@storybook/react": "^8.5.3",
|
|
48
|
+
"@storybook/react-vite": "^8.5.3",
|
|
49
|
+
"@storybook/test": "^8.5.3",
|
|
50
50
|
"@testing-library/jest-dom": "^6.4.2",
|
|
51
51
|
"@testing-library/react": "^14.2.1",
|
|
52
52
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"eslint": "^8.57.0",
|
|
64
64
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
65
65
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
66
|
-
"eslint-plugin-storybook": "^0.
|
|
66
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
67
67
|
"glob": "^10.3.10",
|
|
68
68
|
"jsdom": "^24.0.0",
|
|
69
69
|
"lodash": "^4.17.21",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"react-hook-form": "^7.51.2",
|
|
73
73
|
"react-number-format": "^5.4.3",
|
|
74
74
|
"react-tooltip": "^5.26.4",
|
|
75
|
-
"storybook": "^8.
|
|
75
|
+
"storybook": "^8.5.3",
|
|
76
76
|
"typescript": "^5.2.2",
|
|
77
77
|
"vite": "^6.1.0",
|
|
78
78
|
"vite-plugin-dts": "^3.7.3",
|
|
79
|
-
"vite-plugin-lib-inject-css": "^2.
|
|
79
|
+
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
80
80
|
"vite-plugin-svgr": "^4.3.0",
|
|
81
81
|
"vitest": "^3.0.5"
|
|
82
82
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./assets/BigLoadingSpinner.css";
|
|
2
|
-
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
-
import { TypoBody as n } from "@element/react-components";
|
|
4
|
-
import { Iconify as d } from "./components/Iconify/Iconify.js";
|
|
5
|
-
const e = "_loadingBigOverlay_7dxo1_1", g = "_bigLoadSpinnerCard_7dxo1_12", s = "_bigLoadSpinnerCardText_7dxo1_27", t = "_logo_7dxo1_33", o = {
|
|
6
|
-
loadingBigOverlay: e,
|
|
7
|
-
bigLoadSpinnerCard: g,
|
|
8
|
-
bigLoadSpinnerCardText: s,
|
|
9
|
-
logo: t
|
|
10
|
-
}, l = ({ text: r }) => /* @__PURE__ */ a("div", { className: o.bigLoadSpinnerCard, role: "progressbar", "data-testid": "loading-spinner", children: [
|
|
11
|
-
/* @__PURE__ */ i(d, { icon: "hortiview", className: o.logo, "data-testid": "logo-icon" }),
|
|
12
|
-
/* @__PURE__ */ i(n, { tag: "p", bold: !0, level: 1, className: o.bigLoadSpinnerCardText, children: r })
|
|
13
|
-
] }), x = (r) => /* @__PURE__ */ i("div", { className: o.loadingBigOverlay, children: /* @__PURE__ */ i(l, { ...r }) });
|
|
14
|
-
export {
|
|
15
|
-
x as B,
|
|
16
|
-
o as s
|
|
17
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import "./assets/GenericCard.css";
|
|
2
|
-
import { jsx as r, jsxs as o, Fragment as C } from "react/jsx-runtime";
|
|
3
|
-
import { Card as h, CardContent as m, CardBody as T, Grid as g, GridRow as u, GridCol as c, TypoSubtitle as f, CardTitle as x, CardDivider as v } from "@element/react-components";
|
|
4
|
-
import { useMemo as w } from "react";
|
|
5
|
-
import { OverflowTooltip as l } from "./components/OverflowTooltip/OverflowTooltip.js";
|
|
6
|
-
const b = "_cardTitle_ny9m0_1", B = "_cardBody_ny9m0_5", N = "_cardContent_ny9m0_10", $ = "_row_ny9m0_14", k = "_font_ny9m0_18", G = "_fontHeader_ny9m0_23", H = "_title_ny9m0_27", S = "_emptyContainer_ny9m0_33", A = "_empty_ny9m0_33", n = {
|
|
7
|
-
cardTitle: b,
|
|
8
|
-
cardBody: B,
|
|
9
|
-
cardContent: N,
|
|
10
|
-
row: $,
|
|
11
|
-
font: k,
|
|
12
|
-
fontHeader: G,
|
|
13
|
-
title: H,
|
|
14
|
-
emptyContainer: S,
|
|
15
|
-
empty: A
|
|
16
|
-
}, _ = {
|
|
17
|
-
desktopCol: 6,
|
|
18
|
-
phoneCol: 2,
|
|
19
|
-
tabletCol: 4,
|
|
20
|
-
verticalAlign: "bottom"
|
|
21
|
-
}, R = ({ item: e, columns: t, hiddenColumns: i }) => {
|
|
22
|
-
const d = t.find((a) => a.asCardTitle), y = t.find((a) => a.asCardSubtitle), p = w(
|
|
23
|
-
() => t.filter(
|
|
24
|
-
(a) => !a.asCardTitle && !a.asCardSubtitle && a.id !== "actions"
|
|
25
|
-
),
|
|
26
|
-
[t]
|
|
27
|
-
);
|
|
28
|
-
return /* @__PURE__ */ r(h, { variant: "raised", "data-testid": `card${d ? "-" + e[d.accessor] : ""}`, children: /* @__PURE__ */ o(m, { className: n.cardContent, "data-testid": "card-content", children: [
|
|
29
|
-
/* @__PURE__ */ r(j, { item: e, titleColumn: d, subTitleColumn: y }),
|
|
30
|
-
/* @__PURE__ */ r(T, { className: n.cardBody, "data-testid": "card-body", children: /* @__PURE__ */ r(g, { fullHeight: !0, fullWidth: !0, variant: "none", children: p.map((a) => i?.includes(a.id) ? null : /* @__PURE__ */ o(u, { className: n.row, "data-testid": "row", children: [
|
|
31
|
-
/* @__PURE__ */ r(c, { horizontalAlign: "right", ..._, children: /* @__PURE__ */ o(
|
|
32
|
-
f,
|
|
33
|
-
{
|
|
34
|
-
level: 2,
|
|
35
|
-
themeColor: "text-secondary-on-background",
|
|
36
|
-
className: `${n.font} ${n.fontHeader}`,
|
|
37
|
-
tag: "div",
|
|
38
|
-
children: [
|
|
39
|
-
a.header,
|
|
40
|
-
":"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
) }),
|
|
44
|
-
/* @__PURE__ */ r(c, { horizontalAlign: "left", ..._, children: /* @__PURE__ */ r(s, { column: a, item: e }) })
|
|
45
|
-
] }, a.id)) }) })
|
|
46
|
-
] }) });
|
|
47
|
-
}, j = ({ item: e, titleColumn: t, subTitleColumn: i }) => {
|
|
48
|
-
const d = e.actions;
|
|
49
|
-
return !t && !i && !d ? null : /* @__PURE__ */ o(C, { children: [
|
|
50
|
-
/* @__PURE__ */ r(
|
|
51
|
-
x,
|
|
52
|
-
{
|
|
53
|
-
"data-testid": "card-title",
|
|
54
|
-
className: n.cardTitle,
|
|
55
|
-
primaryText: t !== void 0 && /* @__PURE__ */ r(s, { column: t, item: e, isTitle: !0 }),
|
|
56
|
-
secondaryText: i !== void 0 && /* @__PURE__ */ r(s, { column: i, item: e, isTitle: !0 }),
|
|
57
|
-
trailingBlock: d,
|
|
58
|
-
trailingBlockType: "title-actions"
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
/* @__PURE__ */ r(v, {})
|
|
62
|
-
] });
|
|
63
|
-
}, s = ({ item: e, column: t, isTitle: i = !1 }) => t.cellTemplate ? t.cellTemplate({ row: { original: e } }) : i ? /* @__PURE__ */ r(
|
|
64
|
-
l,
|
|
65
|
-
{
|
|
66
|
-
id: `tip_${t.id}_${e[t.accessor]}`,
|
|
67
|
-
text: e[t.accessor],
|
|
68
|
-
children: /* @__PURE__ */ r("span", { className: n.title, children: e[t.accessor] })
|
|
69
|
-
}
|
|
70
|
-
) : /* @__PURE__ */ r(
|
|
71
|
-
l,
|
|
72
|
-
{
|
|
73
|
-
id: `tip_${t.id}_${e[t.accessor]}`,
|
|
74
|
-
text: e[t.accessor],
|
|
75
|
-
children: /* @__PURE__ */ r(f, { level: 2, themeColor: "text-primary-on-background", className: n.font, children: e[t.accessor] })
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
export {
|
|
79
|
-
R as G,
|
|
80
|
-
n as s
|
|
81
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import "./assets/ListAreaService.css";
|
|
2
|
-
import { jsx as r, jsxs as z } from "react/jsx-runtime";
|
|
3
|
-
import { TypoButton as B, Icon as C, Group as b, TypoSubtitle as N, TypoBody as O } from "@element/react-components";
|
|
4
|
-
import { Iconify as $ } from "./components/Iconify/Iconify.js";
|
|
5
|
-
import { AvailableCustomIcons as k } from "./enums/AvailableCustomIcons.js";
|
|
6
|
-
const E = "_fullWidth_zewqs_1", j = "_mainElevation_zewqs_5", W = "_searchbar_zewqs_11", G = "_roundedBottom_zewqs_19", L = "_primaryText_zewqs_24", S = "_list_zewqs_28", A = "_listItem_zewqs_56", P = "_iconColor_zewqs_76", D = "_overlineTitle_zewqs_80", F = "_noOverlineTitle_zewqs_85", H = "_truncate_zewqs_89", J = "_truncateOverlineText_zewqs_100", o = {
|
|
7
|
-
fullWidth: E,
|
|
8
|
-
mainElevation: j,
|
|
9
|
-
searchbar: W,
|
|
10
|
-
roundedBottom: G,
|
|
11
|
-
primaryText: L,
|
|
12
|
-
list: S,
|
|
13
|
-
listItem: A,
|
|
14
|
-
iconColor: P,
|
|
15
|
-
overlineTitle: D,
|
|
16
|
-
noOverlineTitle: F,
|
|
17
|
-
truncate: H,
|
|
18
|
-
truncateOverlineText: J
|
|
19
|
-
}, Y = (t, s, l, a) => {
|
|
20
|
-
const n = t.reduce((i, c) => {
|
|
21
|
-
const { groupName: e, ...m } = c;
|
|
22
|
-
return !e || typeof e != "string" || (i[e] || (i[e] = {
|
|
23
|
-
groupName: /* @__PURE__ */ r(B, { children: e }),
|
|
24
|
-
id: e,
|
|
25
|
-
items: []
|
|
26
|
-
}), i[e].items = [
|
|
27
|
-
...i[e].items,
|
|
28
|
-
f(m, s, l, a)
|
|
29
|
-
]), i;
|
|
30
|
-
}, {});
|
|
31
|
-
return Object.values(n);
|
|
32
|
-
}, Z = (t, s, l, a) => t.map((n) => f(n, s, l, a)), f = (t, s, l, a) => {
|
|
33
|
-
const {
|
|
34
|
-
id: n,
|
|
35
|
-
title: i,
|
|
36
|
-
subTitle: c,
|
|
37
|
-
route: e,
|
|
38
|
-
value: m,
|
|
39
|
-
noNavigation: p,
|
|
40
|
-
disabled: d,
|
|
41
|
-
icon: y,
|
|
42
|
-
iconType: v,
|
|
43
|
-
trailingIcon: g,
|
|
44
|
-
trailingIconType: h,
|
|
45
|
-
actionButton: I,
|
|
46
|
-
onClick: w,
|
|
47
|
-
customTitle: T,
|
|
48
|
-
listItemClassName: x,
|
|
49
|
-
overlineTitle: u
|
|
50
|
-
} = t, _ = s === e;
|
|
51
|
-
return {
|
|
52
|
-
id: n,
|
|
53
|
-
key: n,
|
|
54
|
-
select: _,
|
|
55
|
-
primaryText: n,
|
|
56
|
-
secondaryText: /* @__PURE__ */ z(b, { direction: "vertical", gap: "none", children: [
|
|
57
|
-
T ?? /* @__PURE__ */ r(
|
|
58
|
-
N,
|
|
59
|
-
{
|
|
60
|
-
"data-testid": "title",
|
|
61
|
-
level: 1,
|
|
62
|
-
themeColor: _ ? "primary" : void 0,
|
|
63
|
-
className: `${o.truncate} lmnt-theme-on-surface-active`,
|
|
64
|
-
children: i
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
c && !T ? /* @__PURE__ */ r(
|
|
68
|
-
O,
|
|
69
|
-
{
|
|
70
|
-
"data-testid": "subtitle",
|
|
71
|
-
level: 2,
|
|
72
|
-
themeColor: _ ? "primary" : void 0,
|
|
73
|
-
className: `${o.truncate} lmnt-theme-on-surface-inactive`,
|
|
74
|
-
children: c
|
|
75
|
-
}
|
|
76
|
-
) : void 0
|
|
77
|
-
] }),
|
|
78
|
-
overlineText: u ? /* @__PURE__ */ r(
|
|
79
|
-
"span",
|
|
80
|
-
{
|
|
81
|
-
"data-testid": "overline-title",
|
|
82
|
-
className: `${o.truncate} ${o.truncateOverlineText}`,
|
|
83
|
-
children: u
|
|
84
|
-
}
|
|
85
|
-
) : void 0,
|
|
86
|
-
trailingBlock: I ?? g ?? /* @__PURE__ */ r(C, { icon: "arrow_right", className: o.iconColor }),
|
|
87
|
-
leadingBlock: K(y),
|
|
88
|
-
value: m,
|
|
89
|
-
componentProps: {
|
|
90
|
-
id: n,
|
|
91
|
-
"data-testid": `${i}-list-item`,
|
|
92
|
-
key: n,
|
|
93
|
-
leadingBlockType: v ?? "icon",
|
|
94
|
-
trailingBlockType: h ?? "icon",
|
|
95
|
-
className: `${v === "avatar" ? "" : o.listItem} ${l} ${x ?? ""} ${u ? o.overlineTitle : o.noOverlineTitle}`,
|
|
96
|
-
onClick: (M, q) => w?.(q),
|
|
97
|
-
tag: d || p ? void 0 : a ?? "a",
|
|
98
|
-
to: d || p ? void 0 : e,
|
|
99
|
-
disabled: d
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}, K = (t) => typeof t == "string" && t in k ? /* @__PURE__ */ r($, { icon: t }) : t;
|
|
103
|
-
export {
|
|
104
|
-
Z as a,
|
|
105
|
-
Y as g,
|
|
106
|
-
f as m,
|
|
107
|
-
o as s
|
|
108
|
-
};
|