@hortiview/shared-components 0.0.4624 → 0.0.4721
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/ListAreaService-BQCdQv7a.js +68 -0
- package/dist/assets/DeleteModal.css +1 -1
- package/dist/{component-Rx4bNsGO.js → component-DCtofpGS.js} +1 -1
- package/dist/components/BaseView/BaseView.js +30 -28
- package/dist/components/BaseView/BaseView.test.js +1 -1
- package/dist/components/BasicHeading/BasicHeading.js +51 -40
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.js +51 -41
- package/dist/components/DeleteModal/DeleteModal.js +36 -34
- package/dist/components/Disclaimer/Disclaimer.js +14 -11
- package/dist/components/EmptyView/EmptyView.js +4 -4
- package/dist/components/HashTabView/HashTabView.js +68 -60
- package/dist/components/HeaderFilter/HeaderFilter.js +629 -628
- package/dist/components/Iconify/Iconify.js +1 -1
- package/dist/components/ListArea/ListArea.js +233 -189
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.js +9 -56
- package/dist/components/SearchBar/SearchBar.js +48 -47
- package/dist/components/VerticalDivider/VerticalDivider.js +6 -4
- package/dist/hooks/useBreakpoint.js +2 -2
- package/dist/{index.es-InSNsV4f.js → index.es-3I3oam0G.js} +1 -1
- package/dist/{index.es-Cct4Uapb.js → index.es-BahjEG5L.js} +28 -28
- package/dist/{index.es-L0ZCcbUf.js → index.es-BcHAMD5J.js} +1805 -1676
- package/dist/{index.es-CQ3ep412.js → index.es-C3EKMb0J.js} +3 -3
- package/dist/{index.es-C1ojb4Lq.js → index.es-CcfZlo4c.js} +1 -1
- package/dist/index.es-DVNdCQvl.js +1192 -0
- package/dist/{index.es-CVCp4d0C.js → index.es-STyHqa-8.js} +2 -2
- package/dist/{index.es-CNBieliG.js → index.es-hAl7Wxm5.js} +1 -1
- package/dist/{index.es-Cm4X20_S.js → index.es-z8RCxF8n.js} +2 -2
- package/dist/main.d.ts +0 -1
- package/dist/main.js +6 -6
- package/dist/{tslib.es6-CIXEwqhg.js → tslib.es6-BOWp4lfV.js} +4 -4
- package/dist/{useBreakpoint-DyAmuka7.js → useBreakpoint-DROHPVxO.js} +2 -2
- package/package.json +1 -1
- package/dist/BlockView.module-8kbPxxc4.js +0 -15
- package/dist/HashTabView.module-BY0tbl3B.js +0 -13
- package/dist/HeaderFilter.module-DiBmulr5.js +0 -7
- package/dist/_getTag-DNUtgXkb.js +0 -136
- package/dist/_stringToPath-BfzwTbL6.js +0 -54
- package/dist/baseView.module-DXWalo9p.js +0 -7
- package/dist/basicHeading.module-ClcvD7x2.js +0 -16
- package/dist/disclaimer.module-BZydt-Q_.js +0 -8
- package/dist/index.es-Ba9oZK_n.js +0 -769
- package/dist/index.es-Cj9DW-2T.js +0 -430
- package/dist/listArea.module-B04TR5bj.js +0 -14
- package/dist/searchBar.module-9gKyrZRT.js +0 -7
- package/dist/verticalDivider.module-C3_GL-fH.js +0 -7
- /package/dist/assets/{baseView.css → BaseView.css} +0 -0
- /package/dist/assets/{basicHeading.css → BasicHeading.css} +0 -0
- /package/dist/assets/{disclaimer.css → Disclaimer.css} +0 -0
- /package/dist/assets/{listArea.css → ListAreaService.css} +0 -0
- /package/dist/assets/{searchBar.css → SearchBar.css} +0 -0
- /package/dist/assets/{verticalDivider.css → VerticalDivider.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef as f, useRef as i, useImperativeHandle as s, useEffect as l } from "react";
|
|
2
|
-
import { P as r } from "./index.es-
|
|
3
|
-
import { M as R } from "./component-
|
|
2
|
+
import { P as r } from "./index.es-BahjEG5L.js";
|
|
3
|
+
import { M as R } from "./component-DCtofpGS.js";
|
|
4
4
|
const a = {
|
|
5
5
|
/**
|
|
6
6
|
* Content to be rendered inside the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as e, a as m, c as k, _ as s, f as I } from "./index.es-
|
|
1
|
+
import { P as e, a as m, c as k, _ as s, f as I } from "./index.es-BahjEG5L.js";
|
|
2
2
|
import i, { forwardRef as u, useRef as x, useImperativeHandle as b, useEffect as $ } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as S } from "./tslib.es6-BOWp4lfV.js";
|
|
4
4
|
function _(c) {
|
|
5
5
|
return c.toLowerCase();
|
|
6
6
|
}
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -7,12 +7,12 @@ import { EmptyView as c } from "./components/EmptyView/EmptyView.js";
|
|
|
7
7
|
import { HashTabView as V } from "./components/HashTabView/HashTabView.js";
|
|
8
8
|
import { HeaderFilter as d } from "./components/HeaderFilter/HeaderFilter.js";
|
|
9
9
|
import { Iconify as w } from "./components/Iconify/Iconify.js";
|
|
10
|
-
import { ListArea as
|
|
11
|
-
import { ScrollbarX as
|
|
10
|
+
import { ListArea as H } from "./components/ListArea/ListArea.js";
|
|
11
|
+
import { ScrollbarX as h, ScrollbarY as k } from "./components/Scrollbar/Scrollbar.js";
|
|
12
12
|
import { SearchBar as v } from "./components/SearchBar/SearchBar.js";
|
|
13
13
|
import { VerticalDivider as A } from "./components/VerticalDivider/VerticalDivider.js";
|
|
14
14
|
import { AvailableCustomIcons as I } from "./enums/AvailableCustomIcons.js";
|
|
15
|
-
import {
|
|
15
|
+
import { a as g } from "./useBreakpoint-DROHPVxO.js";
|
|
16
16
|
import { capitalizeFirstLetters as C } from "./services/UtilService.js";
|
|
17
17
|
export {
|
|
18
18
|
I as AvailableCustomIcons,
|
|
@@ -25,9 +25,9 @@ export {
|
|
|
25
25
|
V as HashTabView,
|
|
26
26
|
d as HeaderFilter,
|
|
27
27
|
w as Iconify,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
H as ListArea,
|
|
29
|
+
h as ScrollbarX,
|
|
30
|
+
k as ScrollbarY,
|
|
31
31
|
v as SearchBar,
|
|
32
32
|
A as VerticalDivider,
|
|
33
33
|
C as capitalizeFirstLetters,
|
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.4721",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "./assets/BlockView.css";
|
|
2
|
-
const c = "_grid_g18cu_1", o = "_black_g18cu_11", _ = "_blockLayout_g18cu_15", t = "_blockRow_g18cu_27", l = "_block_g18cu_15", b = "_active_g18cu_46", k = "_error_g18cu_52", e = "_empty_g18cu_58", r = "_blockText_g18cu_65", g = {
|
|
3
|
-
grid: c,
|
|
4
|
-
black: o,
|
|
5
|
-
blockLayout: _,
|
|
6
|
-
blockRow: t,
|
|
7
|
-
block: l,
|
|
8
|
-
active: b,
|
|
9
|
-
error: k,
|
|
10
|
-
empty: e,
|
|
11
|
-
blockText: r
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
g as s
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./assets/HashTabView.css";
|
|
2
|
-
const t = "_elevation_1rcw6_1", n = "_themeBackground_1rcw6_6", a = "_tabBar_1rcw6_10", r = "_tabWrapper_1rcw6_16", o = "_tabButton_1rcw6_20", c = "_childContainer_1rcw6_24", e = "_childContainerLg_1rcw6_28", i = {
|
|
3
|
-
elevation: t,
|
|
4
|
-
themeBackground: n,
|
|
5
|
-
tabBar: a,
|
|
6
|
-
tabWrapper: r,
|
|
7
|
-
tabButton: o,
|
|
8
|
-
childContainer: c,
|
|
9
|
-
childContainerLg: e
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as s
|
|
13
|
-
};
|
package/dist/_getTag-DNUtgXkb.js
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { k as G, h as U, o as W, p as j, q as T, s as S, t as F, g as I, v as V } from "./index.es-Cct4Uapb.js";
|
|
2
|
-
var z = "__lodash_hash_undefined__";
|
|
3
|
-
function J(e) {
|
|
4
|
-
return this.__data__.set(e, z), this;
|
|
5
|
-
}
|
|
6
|
-
var K = J;
|
|
7
|
-
function Q(e) {
|
|
8
|
-
return this.__data__.has(e);
|
|
9
|
-
}
|
|
10
|
-
var X = Q, Y = G, Z = K, k = X;
|
|
11
|
-
function A(e) {
|
|
12
|
-
var a = -1, r = e == null ? 0 : e.length;
|
|
13
|
-
for (this.__data__ = new Y(); ++a < r; )
|
|
14
|
-
this.add(e[a]);
|
|
15
|
-
}
|
|
16
|
-
A.prototype.add = A.prototype.push = Z;
|
|
17
|
-
A.prototype.has = k;
|
|
18
|
-
var ee = A;
|
|
19
|
-
function ae(e, a) {
|
|
20
|
-
for (var r = -1, t = e == null ? 0 : e.length; ++r < t; )
|
|
21
|
-
if (a(e[r], r, e))
|
|
22
|
-
return !0;
|
|
23
|
-
return !1;
|
|
24
|
-
}
|
|
25
|
-
var re = ae;
|
|
26
|
-
function te(e, a) {
|
|
27
|
-
return e.has(a);
|
|
28
|
-
}
|
|
29
|
-
var ne = te, se = ee, ie = re, fe = ne, ge = 1, ue = 2;
|
|
30
|
-
function ve(e, a, r, t, g, n) {
|
|
31
|
-
var i = r & ge, s = e.length, c = a.length;
|
|
32
|
-
if (s != c && !(i && c > s))
|
|
33
|
-
return !1;
|
|
34
|
-
var o = n.get(e), l = n.get(a);
|
|
35
|
-
if (o && l)
|
|
36
|
-
return o == a && l == e;
|
|
37
|
-
var _ = -1, d = !0, y = r & ue ? new se() : void 0;
|
|
38
|
-
for (n.set(e, a), n.set(a, e); ++_ < s; ) {
|
|
39
|
-
var u = e[_], p = a[_];
|
|
40
|
-
if (t)
|
|
41
|
-
var M = i ? t(p, u, _, a, e, n) : t(u, p, _, e, a, n);
|
|
42
|
-
if (M !== void 0) {
|
|
43
|
-
if (M)
|
|
44
|
-
continue;
|
|
45
|
-
d = !1;
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
if (y) {
|
|
49
|
-
if (!ie(a, function(E, D) {
|
|
50
|
-
if (!fe(y, D) && (u === E || g(u, E, r, t, n)))
|
|
51
|
-
return y.push(D);
|
|
52
|
-
})) {
|
|
53
|
-
d = !1;
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
} else if (!(u === p || g(u, p, r, t, n))) {
|
|
57
|
-
d = !1;
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return n.delete(e), n.delete(a), d;
|
|
62
|
-
}
|
|
63
|
-
var oe = ve;
|
|
64
|
-
function _e(e) {
|
|
65
|
-
var a = -1, r = Array(e.size);
|
|
66
|
-
return e.forEach(function(t, g) {
|
|
67
|
-
r[++a] = [g, t];
|
|
68
|
-
}), r;
|
|
69
|
-
}
|
|
70
|
-
var ce = _e;
|
|
71
|
-
function le(e) {
|
|
72
|
-
var a = -1, r = Array(e.size);
|
|
73
|
-
return e.forEach(function(t) {
|
|
74
|
-
r[++a] = t;
|
|
75
|
-
}), r;
|
|
76
|
-
}
|
|
77
|
-
var de = le, P = U, L = W, pe = j, Ae = oe, Te = ce, Se = de, ye = 1, we = 2, $e = "[object Boolean]", be = "[object Date]", he = "[object Error]", Ce = "[object Map]", me = "[object Number]", Me = "[object RegExp]", Ee = "[object Set]", De = "[object String]", Pe = "[object Symbol]", Le = "[object ArrayBuffer]", Oe = "[object DataView]", O = P ? P.prototype : void 0, w = O ? O.valueOf : void 0;
|
|
78
|
-
function Re(e, a, r, t, g, n, i) {
|
|
79
|
-
switch (r) {
|
|
80
|
-
case Oe:
|
|
81
|
-
if (e.byteLength != a.byteLength || e.byteOffset != a.byteOffset)
|
|
82
|
-
return !1;
|
|
83
|
-
e = e.buffer, a = a.buffer;
|
|
84
|
-
case Le:
|
|
85
|
-
return !(e.byteLength != a.byteLength || !n(new L(e), new L(a)));
|
|
86
|
-
case $e:
|
|
87
|
-
case be:
|
|
88
|
-
case me:
|
|
89
|
-
return pe(+e, +a);
|
|
90
|
-
case he:
|
|
91
|
-
return e.name == a.name && e.message == a.message;
|
|
92
|
-
case Me:
|
|
93
|
-
case De:
|
|
94
|
-
return e == a + "";
|
|
95
|
-
case Ce:
|
|
96
|
-
var s = Te;
|
|
97
|
-
case Ee:
|
|
98
|
-
var c = t & ye;
|
|
99
|
-
if (s || (s = Se), e.size != a.size && !c)
|
|
100
|
-
return !1;
|
|
101
|
-
var o = i.get(e);
|
|
102
|
-
if (o)
|
|
103
|
-
return o == a;
|
|
104
|
-
t |= we, i.set(e, a);
|
|
105
|
-
var l = Ae(s(e), s(a), t, g, n, i);
|
|
106
|
-
return i.delete(e), l;
|
|
107
|
-
case Pe:
|
|
108
|
-
if (w)
|
|
109
|
-
return w.call(e) == w.call(a);
|
|
110
|
-
}
|
|
111
|
-
return !1;
|
|
112
|
-
}
|
|
113
|
-
var ta = Re, Ne = T, He = S, xe = Ne(He, "DataView"), qe = xe, Be = T, Ge = S, Ue = Be(Ge, "Promise"), We = Ue, je = T, Fe = S, Ie = je(Fe, "Set"), Ve = Ie, ze = T, Je = S, Ke = ze(Je, "WeakMap"), Qe = Ke, $ = qe, b = F, h = We, C = Ve, m = Qe, B = I, v = V, R = "[object Map]", Xe = "[object Object]", N = "[object Promise]", H = "[object Set]", x = "[object WeakMap]", q = "[object DataView]", Ye = v($), Ze = v(b), ke = v(h), ea = v(C), aa = v(m), f = B;
|
|
114
|
-
($ && f(new $(new ArrayBuffer(1))) != q || b && f(new b()) != R || h && f(h.resolve()) != N || C && f(new C()) != H || m && f(new m()) != x) && (f = function(e) {
|
|
115
|
-
var a = B(e), r = a == Xe ? e.constructor : void 0, t = r ? v(r) : "";
|
|
116
|
-
if (t)
|
|
117
|
-
switch (t) {
|
|
118
|
-
case Ye:
|
|
119
|
-
return q;
|
|
120
|
-
case Ze:
|
|
121
|
-
return R;
|
|
122
|
-
case ke:
|
|
123
|
-
return N;
|
|
124
|
-
case ea:
|
|
125
|
-
return H;
|
|
126
|
-
case aa:
|
|
127
|
-
return x;
|
|
128
|
-
}
|
|
129
|
-
return a;
|
|
130
|
-
});
|
|
131
|
-
var na = f;
|
|
132
|
-
export {
|
|
133
|
-
oe as _,
|
|
134
|
-
ta as a,
|
|
135
|
-
na as b
|
|
136
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { g as h, i as y, h as b, j as g, k as l } from "./index.es-Cct4Uapb.js";
|
|
2
|
-
function _(r, e) {
|
|
3
|
-
for (var a = -1, t = r == null ? 0 : r.length, n = Array(t); ++a < t; )
|
|
4
|
-
n[a] = e(r[a], a, r);
|
|
5
|
-
return n;
|
|
6
|
-
}
|
|
7
|
-
var v = _, d = h, T = y, S = "[object Symbol]";
|
|
8
|
-
function C(r) {
|
|
9
|
-
return typeof r == "symbol" || T(r) && d(r) == S;
|
|
10
|
-
}
|
|
11
|
-
var z = C, c = b, E = v, M = g, $ = z, A = 1 / 0, p = c ? c.prototype : void 0, m = p ? p.toString : void 0;
|
|
12
|
-
function u(r) {
|
|
13
|
-
if (typeof r == "string")
|
|
14
|
-
return r;
|
|
15
|
-
if (M(r))
|
|
16
|
-
return E(r, u) + "";
|
|
17
|
-
if ($(r))
|
|
18
|
-
return m ? m.call(r) : "";
|
|
19
|
-
var e = r + "";
|
|
20
|
-
return e == "0" && 1 / r == -A ? "-0" : e;
|
|
21
|
-
}
|
|
22
|
-
var L = u, f = l, I = "Expected a function";
|
|
23
|
-
function o(r, e) {
|
|
24
|
-
if (typeof r != "function" || e != null && typeof e != "function")
|
|
25
|
-
throw new TypeError(I);
|
|
26
|
-
var a = function() {
|
|
27
|
-
var t = arguments, n = e ? e.apply(this, t) : t[0], i = a.cache;
|
|
28
|
-
if (i.has(n))
|
|
29
|
-
return i.get(n);
|
|
30
|
-
var s = r.apply(this, t);
|
|
31
|
-
return a.cache = i.set(n, s) || i, s;
|
|
32
|
-
};
|
|
33
|
-
return a.cache = new (o.Cache || f)(), a;
|
|
34
|
-
}
|
|
35
|
-
o.Cache = f;
|
|
36
|
-
var j = o, k = j, w = 500;
|
|
37
|
-
function N(r) {
|
|
38
|
-
var e = k(r, function(t) {
|
|
39
|
-
return a.size === w && a.clear(), t;
|
|
40
|
-
}), a = e.cache;
|
|
41
|
-
return e;
|
|
42
|
-
}
|
|
43
|
-
var O = N, P = O, x = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, R = /\\(\\)?/g, F = P(function(r) {
|
|
44
|
-
var e = [];
|
|
45
|
-
return r.charCodeAt(0) === 46 && e.push(""), r.replace(x, function(a, t, n, i) {
|
|
46
|
-
e.push(n ? i.replace(R, "$1") : t || a);
|
|
47
|
-
}), e;
|
|
48
|
-
}), X = F;
|
|
49
|
-
export {
|
|
50
|
-
L as _,
|
|
51
|
-
X as a,
|
|
52
|
-
v as b,
|
|
53
|
-
z as i
|
|
54
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import "./assets/basicHeading.css";
|
|
2
|
-
const n = "_pageHeader_fwns1_1", e = "_headlineContainer_fwns1_11", t = "_actionButtonContainer_fwns1_16", a = "_content_fwns1_25", i = "_leadingIcon_fwns1_31", o = "_headingWrapper_fwns1_38", _ = "_headingContainer_fwns1_43", s = "_invisible_fwns1_48", r = "_withAvatar_fwns1_52", c = "_iconContainer_fwns1_57", w = {
|
|
3
|
-
pageHeader: n,
|
|
4
|
-
headlineContainer: e,
|
|
5
|
-
actionButtonContainer: t,
|
|
6
|
-
content: a,
|
|
7
|
-
leadingIcon: i,
|
|
8
|
-
headingWrapper: o,
|
|
9
|
-
headingContainer: _,
|
|
10
|
-
invisible: s,
|
|
11
|
-
withAvatar: r,
|
|
12
|
-
iconContainer: c
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
w as s
|
|
16
|
-
};
|