@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,58 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { s as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
const P = (o, i, r, n) => {
|
|
8
|
-
const a = o.reduce((e, c) => {
|
|
9
|
-
const { groupName: t, ...l } = c;
|
|
10
|
-
return !t || typeof t != "string" || (e[t] || (e[t] = {
|
|
11
|
-
groupName: /* @__PURE__ */ s(x, { children: t }),
|
|
12
|
-
id: t,
|
|
13
|
-
items: []
|
|
14
|
-
}), e[t].items = [
|
|
15
|
-
...e[t].items,
|
|
16
|
-
y(l, i, r, !0, n)
|
|
17
|
-
]), e;
|
|
18
|
-
}, {});
|
|
19
|
-
return Object.values(a);
|
|
20
|
-
}, q = (o, i, r, n) => o.map((a) => y(a, i, r, !1, n)), y = (o, i, r, n, a) => {
|
|
21
|
-
const {
|
|
22
|
-
title: e,
|
|
23
|
-
subTitle: c,
|
|
24
|
-
route: t,
|
|
25
|
-
value: l,
|
|
26
|
-
noNavigation: p,
|
|
27
|
-
disabled: f,
|
|
28
|
-
icon: v,
|
|
29
|
-
iconType: d,
|
|
30
|
-
trailingIcon: I,
|
|
31
|
-
trailingIconType: T,
|
|
32
|
-
actionButton: b,
|
|
33
|
-
onClick: B,
|
|
34
|
-
customTitle: g
|
|
35
|
-
} = o, m = i === t;
|
|
36
|
-
return {
|
|
37
|
-
select: m,
|
|
38
|
-
primaryText: g ?? /* @__PURE__ */ s(N, { level: 1, bold: m, themeColor: m ? "primary" : void 0, children: e }),
|
|
39
|
-
secondaryText: c && !g ? /* @__PURE__ */ s(L, { level: 2, themeColor: m ? "primary" : void 0, children: c }) : void 0,
|
|
40
|
-
trailingBlock: b ?? I ?? /* @__PURE__ */ s($, { icon: "arrow_right" }),
|
|
41
|
-
leadingBlock: j(v),
|
|
42
|
-
nonInteractive: f,
|
|
43
|
-
value: l,
|
|
44
|
-
componentProps: {
|
|
45
|
-
leadingBlockType: d ?? "icon",
|
|
46
|
-
trailingBlockType: T ?? "icon",
|
|
47
|
-
className: `${d === "avatar" ? "" : u.listItem} ${r} ${n ? u.groupedListItem : ""}`,
|
|
48
|
-
onClick: (S, h) => B?.(h),
|
|
49
|
-
tag: p ? void 0 : a ?? "a",
|
|
50
|
-
to: p ? void 0 : t
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}, j = (o) => typeof o == "string" && o in C ? /* @__PURE__ */ s(k, { icon: o }) : o;
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../Iconify/Iconify.js";
|
|
3
|
+
import { g as s, a, m as g } from "../../ListAreaService-BQCdQv7a.js";
|
|
4
|
+
import "../../enums/AvailableCustomIcons.js";
|
|
5
|
+
import "../../index.es-z8RCxF8n.js";
|
|
6
|
+
import "../../index.es-3I3oam0G.js";
|
|
54
7
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
8
|
+
s as getGroupedItems,
|
|
9
|
+
a as getListedItems,
|
|
10
|
+
g as mapListElement
|
|
58
11
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import "../../assets/SearchBar.css";
|
|
1
2
|
import { jsx as De } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { c as Lt, I as ze } from "../../index.es-InSNsV4f.js";
|
|
9
|
-
import { I as Ot } from "../../index.es-Cj9DW-2T.js";
|
|
3
|
+
import { P as r, _ as re, c as V, d as O, j as mt, h as ve, e as Ge } from "../../index.es-BahjEG5L.js";
|
|
4
|
+
import c, { forwardRef as Ie, useRef as I, useImperativeHandle as We, useEffect as _, useState as B, useMemo as bt, useCallback as Se } from "react";
|
|
5
|
+
import { M as vt, a as It, N as xt, F as He, T as Tt, I as yt } from "../../index.es-DVNdCQvl.js";
|
|
6
|
+
import { c as C, _ as f } from "../../tslib.es6-BOWp4lfV.js";
|
|
7
|
+
import { a as z, b as Y, d as ie, M as we, m as Ct, f as Et } from "../../component-DCtofpGS.js";
|
|
8
|
+
import { c as Lt, I as ze } from "../../index.es-3I3oam0G.js";
|
|
10
9
|
/**
|
|
11
10
|
* @license
|
|
12
11
|
* Copyright 2018 Google Inc.
|
|
@@ -55,7 +54,7 @@ var P = {
|
|
|
55
54
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
56
55
|
* THE SOFTWARE.
|
|
57
56
|
*/
|
|
58
|
-
var
|
|
57
|
+
var Ot = (
|
|
59
58
|
/** @class */
|
|
60
59
|
function(a) {
|
|
61
60
|
C(t, a);
|
|
@@ -168,7 +167,7 @@ var Ye = (
|
|
|
168
167
|
return e.unlisten(i, o);
|
|
169
168
|
}
|
|
170
169
|
};
|
|
171
|
-
return new
|
|
170
|
+
return new Ot(n);
|
|
172
171
|
}, t;
|
|
173
172
|
}(Y)
|
|
174
173
|
);
|
|
@@ -196,7 +195,7 @@ var Ye = (
|
|
|
196
195
|
*/
|
|
197
196
|
var Ke = {
|
|
198
197
|
ROOT: "mdc-text-field-character-counter"
|
|
199
|
-
},
|
|
198
|
+
}, At = {
|
|
200
199
|
ROOT_SELECTOR: "." + Ke.ROOT
|
|
201
200
|
};
|
|
202
201
|
/**
|
|
@@ -236,7 +235,7 @@ var Je = (
|
|
|
236
235
|
configurable: !0
|
|
237
236
|
}), Object.defineProperty(t, "strings", {
|
|
238
237
|
get: function() {
|
|
239
|
-
return
|
|
238
|
+
return At;
|
|
240
239
|
},
|
|
241
240
|
enumerable: !1,
|
|
242
241
|
configurable: !0
|
|
@@ -279,7 +278,7 @@ var Je = (
|
|
|
279
278
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
280
279
|
* THE SOFTWARE.
|
|
281
280
|
*/
|
|
282
|
-
var
|
|
281
|
+
var Rt = (
|
|
283
282
|
/** @class */
|
|
284
283
|
function(a) {
|
|
285
284
|
C(t, a);
|
|
@@ -352,7 +351,7 @@ var x = {
|
|
|
352
351
|
WITH_TRAILING_ICON: "mdc-text-field--with-trailing-icon"
|
|
353
352
|
}, Me = {
|
|
354
353
|
LABEL_SCALE: 0.75
|
|
355
|
-
},
|
|
354
|
+
}, Nt = [
|
|
356
355
|
"pattern",
|
|
357
356
|
"min",
|
|
358
357
|
"max",
|
|
@@ -360,7 +359,7 @@ var x = {
|
|
|
360
359
|
"step",
|
|
361
360
|
"minlength",
|
|
362
361
|
"maxlength"
|
|
363
|
-
],
|
|
362
|
+
], Ft = [
|
|
364
363
|
"color",
|
|
365
364
|
"date",
|
|
366
365
|
"datetime-local",
|
|
@@ -391,7 +390,7 @@ var x = {
|
|
|
391
390
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
392
391
|
* THE SOFTWARE.
|
|
393
392
|
*/
|
|
394
|
-
var je = ["mousedown", "touchstart"], Be = ["click", "keydown"],
|
|
393
|
+
var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Pt = (
|
|
395
394
|
/** @class */
|
|
396
395
|
function(a) {
|
|
397
396
|
C(t, a);
|
|
@@ -433,7 +432,7 @@ var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Vt = (
|
|
|
433
432
|
}), Object.defineProperty(t.prototype, "shouldAlwaysFloat_", {
|
|
434
433
|
get: function() {
|
|
435
434
|
var e = this.getNativeInput_().type;
|
|
436
|
-
return
|
|
435
|
+
return Ft.indexOf(e) >= 0;
|
|
437
436
|
},
|
|
438
437
|
enumerable: !1,
|
|
439
438
|
configurable: !0
|
|
@@ -536,7 +535,7 @@ var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Vt = (
|
|
|
536
535
|
}, t.prototype.handleValidationAttributeChange = function(e) {
|
|
537
536
|
var n = this;
|
|
538
537
|
e.some(function(i) {
|
|
539
|
-
return
|
|
538
|
+
return Nt.indexOf(i) > -1 ? (n.styleValidity_(!0), n.adapter.setLabelRequired(n.getNativeInput_().required), !0) : !1;
|
|
540
539
|
}), e.indexOf("maxlength") > -1 && this.setCharacterCounter_(this.getValue().length);
|
|
541
540
|
}, t.prototype.notchOutline = function(e) {
|
|
542
541
|
if (!(!this.adapter.hasOutline() || !this.adapter.hasLabel()))
|
|
@@ -853,7 +852,7 @@ var Ze = (
|
|
|
853
852
|
var ke = {
|
|
854
853
|
ICON_EVENT: "MDCTextField:icon",
|
|
855
854
|
ICON_ROLE: "button"
|
|
856
|
-
},
|
|
855
|
+
}, Vt = {
|
|
857
856
|
ROOT: "mdc-text-field__icon"
|
|
858
857
|
};
|
|
859
858
|
/**
|
|
@@ -896,7 +895,7 @@ var Ue = ["click", "keydown"], qe = (
|
|
|
896
895
|
configurable: !0
|
|
897
896
|
}), Object.defineProperty(t, "cssClasses", {
|
|
898
897
|
get: function() {
|
|
899
|
-
return
|
|
898
|
+
return Vt;
|
|
900
899
|
},
|
|
901
900
|
enumerable: !1,
|
|
902
901
|
configurable: !0
|
|
@@ -969,7 +968,7 @@ var Ue = ["click", "keydown"], qe = (
|
|
|
969
968
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
970
969
|
* THE SOFTWARE.
|
|
971
970
|
*/
|
|
972
|
-
var
|
|
971
|
+
var Dt = (
|
|
973
972
|
/** @class */
|
|
974
973
|
function(a) {
|
|
975
974
|
C(t, a);
|
|
@@ -1040,7 +1039,7 @@ var St = (
|
|
|
1040
1039
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1041
1040
|
* THE SOFTWARE.
|
|
1042
1041
|
*/
|
|
1043
|
-
var
|
|
1042
|
+
var St = (
|
|
1044
1043
|
/** @class */
|
|
1045
1044
|
function(a) {
|
|
1046
1045
|
C(t, a);
|
|
@@ -1057,13 +1056,13 @@ var Ht = (
|
|
|
1057
1056
|
}), i === void 0 && (i = function(u) {
|
|
1058
1057
|
return new Ze(u);
|
|
1059
1058
|
}), o === void 0 && (o = function(u) {
|
|
1060
|
-
return new
|
|
1059
|
+
return new Rt(u);
|
|
1061
1060
|
}), l === void 0 && (l = function(u) {
|
|
1062
|
-
return new
|
|
1061
|
+
return new Dt(u);
|
|
1063
1062
|
}), s === void 0 && (s = function(u) {
|
|
1064
|
-
return new
|
|
1063
|
+
return new vt(u);
|
|
1065
1064
|
}), p === void 0 && (p = function(u) {
|
|
1066
|
-
return new
|
|
1065
|
+
return new It(u);
|
|
1067
1066
|
}), this.input_ = this.root.querySelector(x.INPUT_SELECTOR);
|
|
1068
1067
|
var D = this.root.querySelector(x.LABEL_SELECTOR);
|
|
1069
1068
|
this.label_ = D ? s(D) : null;
|
|
@@ -1295,7 +1294,7 @@ var Ht = (
|
|
|
1295
1294
|
this.foundation.notchOutline(e);
|
|
1296
1295
|
}, t.prototype.getDefaultFoundation = function() {
|
|
1297
1296
|
var e = f(f(f(f(f({}, this.getRootAdapterMethods_()), this.getInputAdapterMethods_()), this.getLabelAdapterMethods_()), this.getLineRippleAdapterMethods_()), this.getOutlineAdapterMethods_());
|
|
1298
|
-
return new
|
|
1297
|
+
return new Pt(e, this.getFoundationMap_());
|
|
1299
1298
|
}, t.prototype.getRootAdapterMethods_ = function() {
|
|
1300
1299
|
var e = this;
|
|
1301
1300
|
return {
|
|
@@ -1419,7 +1418,7 @@ var Ht = (
|
|
|
1419
1418
|
}, t;
|
|
1420
1419
|
}(Y)
|
|
1421
1420
|
);
|
|
1422
|
-
const
|
|
1421
|
+
const Ht = {
|
|
1423
1422
|
/**
|
|
1424
1423
|
*
|
|
1425
1424
|
*
|
|
@@ -1438,7 +1437,7 @@ const wt = {
|
|
|
1438
1437
|
* Defaults to **null**.
|
|
1439
1438
|
*/
|
|
1440
1439
|
rippleCenter: r.string
|
|
1441
|
-
},
|
|
1440
|
+
}, wt = {
|
|
1442
1441
|
activated: null,
|
|
1443
1442
|
className: void 0,
|
|
1444
1443
|
rippleCenter: null
|
|
@@ -1461,8 +1460,8 @@ const wt = {
|
|
|
1461
1460
|
}, o));
|
|
1462
1461
|
});
|
|
1463
1462
|
oe.displayName = "LineRipple";
|
|
1464
|
-
oe.propTypes =
|
|
1465
|
-
oe.defaultProps =
|
|
1463
|
+
oe.propTypes = Ht;
|
|
1464
|
+
oe.defaultProps = wt;
|
|
1466
1465
|
const se = /* @__PURE__ */ Ie((a, t) => {
|
|
1467
1466
|
const {
|
|
1468
1467
|
wrap: e,
|
|
@@ -1482,7 +1481,7 @@ se.defaultProps = {
|
|
|
1482
1481
|
children: void 0,
|
|
1483
1482
|
wrap: !1
|
|
1484
1483
|
};
|
|
1485
|
-
const
|
|
1484
|
+
const Mt = {
|
|
1486
1485
|
/**
|
|
1487
1486
|
* @deprecated _Use `fullWidth` instead._
|
|
1488
1487
|
*
|
|
@@ -1630,7 +1629,7 @@ const jt = {
|
|
|
1630
1629
|
*
|
|
1631
1630
|
* Defaults to **null**.
|
|
1632
1631
|
*/
|
|
1633
|
-
maxlength:
|
|
1632
|
+
maxlength: mt(r.number, "Textfield", "counter"),
|
|
1634
1633
|
/**
|
|
1635
1634
|
* Prevents resizing when using `textarea`.
|
|
1636
1635
|
*
|
|
@@ -1753,7 +1752,7 @@ const jt = {
|
|
|
1753
1752
|
* Defaults to **'filled'**.
|
|
1754
1753
|
*/
|
|
1755
1754
|
variant: r.oneOf(["filled", "outlined", "embedded"])
|
|
1756
|
-
},
|
|
1755
|
+
}, jt = {
|
|
1757
1756
|
block: void 0,
|
|
1758
1757
|
className: void 0,
|
|
1759
1758
|
containerClass: void 0,
|
|
@@ -1795,7 +1794,7 @@ const jt = {
|
|
|
1795
1794
|
variant: "filled"
|
|
1796
1795
|
}, Xe = (a, t) => a ? /* @__PURE__ */ c.createElement("div", {
|
|
1797
1796
|
className: "mdc-text-field-character-counter"
|
|
1798
|
-
}, "0 / ", t) : null,
|
|
1797
|
+
}, "0 / ", t) : null, Bt = (a) => {
|
|
1799
1798
|
const {
|
|
1800
1799
|
type: t
|
|
1801
1800
|
} = {
|
|
@@ -1814,7 +1813,7 @@ const jt = {
|
|
|
1814
1813
|
dense: e === "IconButton" ? !0 : void 0,
|
|
1815
1814
|
role: "button"
|
|
1816
1815
|
});
|
|
1817
|
-
},
|
|
1816
|
+
}, kt = (a) => {
|
|
1818
1817
|
const {
|
|
1819
1818
|
type: t
|
|
1820
1819
|
} = {
|
|
@@ -1879,8 +1878,8 @@ const jt = {
|
|
|
1879
1878
|
} = a, {
|
|
1880
1879
|
hoisted: st,
|
|
1881
1880
|
position: Ee = "bottom"
|
|
1882
|
-
} = b && typeof b == "object" ? b : {}, [ee] = B(() => Q || ve()), [pe] = B(() => J || ve()), [he] = B(() => de || ve()), [Le, lt] = B(!0), [_e, ut] = B(!1), [N, dt] = B(Z), ct = h || s && N, ft = g ? "textarea" : "input", pt = I(), Oe = I(), F = I(), m = I(), ge = I(), Ae = I(), Re = I(), te = I(), G = I(), ht = (X || q) && !g, w =
|
|
1883
|
-
_(() => (m.current =
|
|
1881
|
+
} = b && typeof b == "object" ? b : {}, [ee] = B(() => Q || ve()), [pe] = B(() => J || ve()), [he] = B(() => de || ve()), [Le, lt] = B(!0), [_e, ut] = B(!1), [N, dt] = B(Z), ct = h || s && N, ft = g ? "textarea" : "input", pt = I(), Oe = I(), F = I(), m = I(), ge = I(), Ae = I(), Re = I(), te = I(), G = I(), ht = (X || q) && !g, w = bt(() => H ?? !0, [H]), M = !g && (U || it || fe === "embedded"), me = !U && (et || rt || fe === "outlined"), ne = !me && !M && (nt || ue || fe === "filled"), W = M || K || e, be = !M && !!u && !D;
|
|
1882
|
+
_(() => (m.current = St.attachTo(ge.current), () => {
|
|
1884
1883
|
m.current.destroy();
|
|
1885
1884
|
}), [_e]), We(t, () => ({
|
|
1886
1885
|
mdc: m.current,
|
|
@@ -1980,7 +1979,7 @@ const jt = {
|
|
|
1980
1979
|
className: V(["lmnt", "mdc-text-field", "lmnt-text-field", M && "lmnt-text-field--embedded", W && "lmnt-text-field--full-width", ht && "lmnt-text-field--with-icon", !w && "mdc-text-field--invalid", R && "mdc-text-field--disabled", A && "mdc-text-field--focused", !be && "mdc-text-field--no-label", q && !g && "mdc-text-field--with-leading-icon", g && "mdc-text-field--textarea", g && s && N && !$ && "mdc-text-field--with-internal-counter", X && !g && "mdc-text-field--with-trailing-icon", ne && "mdc-text-field--filled", me && "mdc-text-field--outlined", D && "lmnt-text-field--dense", n])
|
|
1981
1980
|
}, ne && /* @__PURE__ */ c.createElement("span", {
|
|
1982
1981
|
className: "mdc-text-field__ripple"
|
|
1983
|
-
}), q && !g &&
|
|
1982
|
+
}), q && !g && Bt(q), Te && !q && !g && /* @__PURE__ */ c.createElement("span", {
|
|
1984
1983
|
className: "mdc-text-field__affix mdc-text-field__affix--prefix"
|
|
1985
1984
|
}, Te), /* @__PURE__ */ c.createElement(se, {
|
|
1986
1985
|
wrap: !$ && g
|
|
@@ -1998,9 +1997,9 @@ const jt = {
|
|
|
1998
1997
|
maxLength: N,
|
|
1999
1998
|
ref: Ae,
|
|
2000
1999
|
value: L
|
|
2001
|
-
}, ot)), !$ && Xe(_e, N)), X && !g &&
|
|
2000
|
+
}, ot)), !$ && Xe(_e, N)), X && !g && kt(X), ye && !X && !g && /* @__PURE__ */ c.createElement("span", {
|
|
2002
2001
|
className: "mdc-text-field__affix mdc-text-field__affix--suffix"
|
|
2003
|
-
}, ye), me && /* @__PURE__ */ c.createElement(
|
|
2002
|
+
}, ye), me && /* @__PURE__ */ c.createElement(xt, null, be && /* @__PURE__ */ c.createElement(He, {
|
|
2004
2003
|
id: he,
|
|
2005
2004
|
htmlFor: ee
|
|
2006
2005
|
}, u)), ne && be && /* @__PURE__ */ c.createElement(He, {
|
|
@@ -2013,7 +2012,7 @@ const jt = {
|
|
|
2013
2012
|
id: pe,
|
|
2014
2013
|
"aria-hidden": E ? "false" : "true",
|
|
2015
2014
|
className: V(["mdc-text-field-helper-text", E && "mdc-text-field-helper-text--persistent", S && "mdc-text-field-helper-text--validation-msg"])
|
|
2016
|
-
}, h), $ && Xe(_e, N)), b && /* @__PURE__ */ c.createElement(
|
|
2015
|
+
}, h), $ && Xe(_e, N)), b && /* @__PURE__ */ c.createElement(Tt, re({
|
|
2017
2016
|
role: "tooltip"
|
|
2018
2017
|
}, b, {
|
|
2019
2018
|
ref: te,
|
|
@@ -2021,9 +2020,11 @@ const jt = {
|
|
|
2021
2020
|
})));
|
|
2022
2021
|
});
|
|
2023
2022
|
le.displayName = "Textfield";
|
|
2024
|
-
le.propTypes =
|
|
2025
|
-
le.defaultProps =
|
|
2026
|
-
const
|
|
2023
|
+
le.propTypes = Mt;
|
|
2024
|
+
le.defaultProps = jt;
|
|
2025
|
+
const Ut = "_searchbar_gnvwc_1", qt = {
|
|
2026
|
+
searchbar: Ut
|
|
2027
|
+
}, Zt = ({
|
|
2027
2028
|
className: a = "",
|
|
2028
2029
|
dense: t = !1,
|
|
2029
2030
|
searchTerm: e,
|
|
@@ -2032,7 +2033,7 @@ const Zt = ({
|
|
|
2032
2033
|
}) => /* @__PURE__ */ De(
|
|
2033
2034
|
le,
|
|
2034
2035
|
{
|
|
2035
|
-
className: `${a ?? ""} ${
|
|
2036
|
+
className: `${a ?? ""} ${qt.searchbar}`,
|
|
2036
2037
|
dense: t,
|
|
2037
2038
|
variant: "outlined",
|
|
2038
2039
|
placeholder: i,
|
|
@@ -2040,7 +2041,7 @@ const Zt = ({
|
|
|
2040
2041
|
onChange: (o) => n(o.target.value),
|
|
2041
2042
|
fullWidth: !0,
|
|
2042
2043
|
trailingIcon: /* @__PURE__ */ De(
|
|
2043
|
-
|
|
2044
|
+
yt,
|
|
2044
2045
|
{
|
|
2045
2046
|
icon: e ? "close" : "search",
|
|
2046
2047
|
onClick: () => e ? n("") : void 0
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import "../../assets/VerticalDivider.css";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
const d = "_divider_opvom_1", t = {
|
|
4
|
+
divider: d
|
|
5
|
+
}, v = ({ height: i = "2rem", className: r = "" }) => /* @__PURE__ */ e("div", { className: `${t.divider} ${r}`, style: { height: i } });
|
|
4
6
|
export {
|
|
5
|
-
|
|
7
|
+
v as VerticalDivider
|
|
6
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as j, d as vt, a as mt, u as gt, c as ht, _ as yt, e as bt } from "./index.es-
|
|
1
|
+
import { P as j, d as vt, a as mt, u as gt, c as ht, _ as yt, e as bt } from "./index.es-BahjEG5L.js";
|
|
2
2
|
import wt, { forwardRef as xt, useRef as Ee, useImperativeHandle as Ot } from "react";
|
|
3
3
|
var $ = "top", S = "bottom", H = "right", T = "left", De = "auto", fe = [$, S, H, T], Z = "start", se = "end", Pt = "clippingParents", _e = "viewport", ne = "popper", Et = "reference", qe = /* @__PURE__ */ fe.reduce(function(e, t) {
|
|
4
4
|
return e.concat([t + "-" + Z, t + "-" + se]);
|
|
@@ -1729,16 +1729,16 @@ ${n}`;
|
|
|
1729
1729
|
return v;
|
|
1730
1730
|
}, Ld = typeof window < "u" ? Rn : Mn;
|
|
1731
1731
|
export {
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1732
|
+
Uf as A,
|
|
1733
|
+
xr as B,
|
|
1734
|
+
wd as C,
|
|
1735
|
+
Zf as D,
|
|
1736
|
+
_n as E,
|
|
1737
|
+
Kl as F,
|
|
1738
|
+
Ee as G,
|
|
1739
|
+
tr as H,
|
|
1740
|
+
bn as I,
|
|
1741
|
+
Wc as J,
|
|
1742
1742
|
Sn as K,
|
|
1743
1743
|
Pn as L,
|
|
1744
1744
|
Id as M,
|
|
@@ -1753,24 +1753,24 @@ export {
|
|
|
1753
1753
|
Rd as d,
|
|
1754
1754
|
md as e,
|
|
1755
1755
|
Ad as f,
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1756
|
+
_d as g,
|
|
1757
|
+
Dd as h,
|
|
1758
|
+
At as i,
|
|
1759
|
+
Fd as j,
|
|
1760
|
+
Mr as k,
|
|
1761
|
+
yr as l,
|
|
1762
|
+
dn as m,
|
|
1763
|
+
Tn as n,
|
|
1764
|
+
wf as o,
|
|
1765
|
+
H as p,
|
|
1766
|
+
pf as q,
|
|
1767
1767
|
jd as r,
|
|
1768
|
-
|
|
1769
|
-
|
|
1768
|
+
On as s,
|
|
1769
|
+
Cn as t,
|
|
1770
1770
|
Ld as u,
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1771
|
+
En as v,
|
|
1772
|
+
An as w,
|
|
1773
|
+
Lf as x,
|
|
1774
|
+
we as y,
|
|
1775
|
+
hl as z
|
|
1776
1776
|
};
|