@hortiview/shared-components 0.0.4721 → 0.0.4723
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/BlockView.module-8kbPxxc4.js +15 -0
- package/dist/BlockView.module-ypKp14Lt.cjs +1 -0
- package/dist/HashTabView.module-B20c3S70.cjs +1 -0
- package/dist/HashTabView.module-BY0tbl3B.js +13 -0
- package/dist/HeaderFilter.module-DSCJz6-s.cjs +1 -0
- package/dist/HeaderFilter.module-DiBmulr5.js +7 -0
- package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
- package/dist/_getTag-DNUtgXkb.js +136 -0
- package/dist/_getTag-DSIzMwlx.cjs +1 -0
- package/dist/_stringToPath-B-GSTJ2e.cjs +1 -0
- package/dist/_stringToPath-BfzwTbL6.js +54 -0
- package/dist/assets/DeleteModal.css +1 -1
- package/dist/baseView.module--VUY4h_X.cjs +1 -0
- package/dist/baseView.module-DXWalo9p.js +7 -0
- package/dist/basicHeading.module-BbcVMp42.cjs +1 -0
- package/dist/basicHeading.module-ClcvD7x2.js +16 -0
- package/dist/component-DJvMx3oL.cjs +148 -0
- package/dist/{component-DCtofpGS.js → component-Rx4bNsGO.js} +1 -1
- package/dist/components/BaseView/BaseView.js +28 -30
- package/dist/components/BaseView/BaseView.test.js +1 -1
- package/dist/components/BasicHeading/BasicHeading.js +40 -51
- package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
- package/dist/components/BlockView/BlockView.js +41 -51
- package/dist/components/DeleteModal/DeleteModal.js +34 -36
- package/dist/components/Disclaimer/Disclaimer.js +11 -14
- package/dist/components/EmptyView/EmptyView.js +4 -4
- package/dist/components/HashTabView/HashTabView.js +60 -68
- package/dist/components/HeaderFilter/HeaderFilter.js +628 -629
- package/dist/components/Iconify/Iconify.js +1 -1
- package/dist/components/ListArea/ListArea.js +189 -233
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.js +56 -9
- package/dist/components/SearchBar/SearchBar.js +47 -48
- package/dist/components/VerticalDivider/VerticalDivider.js +4 -6
- package/dist/disclaimer.module-BZydt-Q_.js +8 -0
- package/dist/disclaimer.module-BfrBh-Rf.cjs +1 -0
- package/dist/hooks/useBreakpoint.js +2 -2
- package/dist/index.es-80RhGkCD.cjs +1 -0
- package/dist/index.es-Ba9oZK_n.js +769 -0
- package/dist/{index.es-CcfZlo4c.js → index.es-C1ojb4Lq.js} +1 -1
- package/dist/index.es-CEydmFbW.cjs +23 -0
- package/dist/index.es-CKdjg72r.cjs +64 -0
- package/dist/{index.es-hAl7Wxm5.js → index.es-CNBieliG.js} +1 -1
- package/dist/index.es-CPRODq-I.cjs +127 -0
- package/dist/{index.es-C3EKMb0J.js → index.es-CQ3ep412.js} +3 -3
- package/dist/index.es-CSD_u-fK.cjs +1 -0
- package/dist/{index.es-STyHqa-8.js → index.es-CVCp4d0C.js} +2 -2
- package/dist/{index.es-BahjEG5L.js → index.es-Cct4Uapb.js} +28 -28
- package/dist/index.es-Cj9DW-2T.js +430 -0
- package/dist/{index.es-z8RCxF8n.js → index.es-Cm4X20_S.js} +2 -2
- package/dist/index.es-Cqx46S1V.cjs +540 -0
- package/dist/index.es-DiO-sp-V.cjs +1 -0
- package/dist/index.es-DyXn5zZ8.cjs +1 -0
- package/dist/{index.es-3I3oam0G.js → index.es-InSNsV4f.js} +1 -1
- package/dist/index.es-J3ub0jmR.cjs +1 -0
- package/dist/{index.es-BcHAMD5J.js → index.es-L0ZCcbUf.js} +1676 -1805
- package/dist/index.es-gvcK6-6t.cjs +1 -0
- package/dist/listArea.module-B04TR5bj.js +14 -0
- package/dist/listArea.module-CMO-yRdf.cjs +1 -0
- package/dist/magic-string.es-EQkD18No.cjs +10 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +6 -6
- package/dist/react.esm-CMNZXU0t.cjs +93 -0
- package/dist/searchBar.module-9gKyrZRT.js +7 -0
- package/dist/searchBar.module-CFi8D8zn.cjs +1 -0
- package/dist/{tslib.es6-BOWp4lfV.js → tslib.es6-CIXEwqhg.js} +4 -4
- package/dist/tslib.es6-D1TYK0An.cjs +1 -0
- package/dist/{useBreakpoint-DROHPVxO.js → useBreakpoint-DyAmuka7.js} +2 -2
- package/dist/useBreakpoint-PUopk3AO.cjs +1 -0
- package/dist/verticalDivider.module-C3_GL-fH.js +7 -0
- package/dist/verticalDivider.module-Ciw9Fnt1.cjs +1 -0
- package/dist/vi.JYQecGiw-M1q0RI3O.cjs +512 -0
- package/package.json +1 -1
- package/dist/ListAreaService-BQCdQv7a.js +0 -68
- package/dist/index.es-DVNdCQvl.js +0 -1192
- /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/{ListAreaService.css → listArea.css} +0 -0
- /package/dist/assets/{SearchBar.css → searchBar.css} +0 -0
- /package/dist/assets/{VerticalDivider.css → verticalDivider.css} +0 -0
|
@@ -1,11 +1,58 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../Iconify/Iconify.js";
|
|
3
|
-
import {
|
|
4
|
-
import "../../enums/AvailableCustomIcons.js";
|
|
5
|
-
import "../../index.es-
|
|
6
|
-
import "../../index.es-
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { Iconify as k } from "../Iconify/Iconify.js";
|
|
3
|
+
import { s as u } from "../../listArea.module-B04TR5bj.js";
|
|
4
|
+
import { AvailableCustomIcons as C } from "../../enums/AvailableCustomIcons.js";
|
|
5
|
+
import { T as x, a as N, b as L } from "../../index.es-Cm4X20_S.js";
|
|
6
|
+
import { I as $ } from "../../index.es-InSNsV4f.js";
|
|
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;
|
|
7
54
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
55
|
+
P as getGroupedItems,
|
|
56
|
+
q as getListedItems,
|
|
57
|
+
y as mapListElement
|
|
11
58
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "../../assets/SearchBar.css";
|
|
2
1
|
import { jsx as De } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { s as mt } from "../../searchBar.module-9gKyrZRT.js";
|
|
3
|
+
import { P as r, _ as re, c as V, d as O, w as bt, m as ve, e as Ge } from "../../index.es-Cct4Uapb.js";
|
|
4
|
+
import c, { forwardRef as Ie, useRef as I, useImperativeHandle as We, useEffect as _, useState as B, useMemo as vt, useCallback as Se } from "react";
|
|
5
|
+
import { M as It, a as xt, N as Tt, F as He, T as yt } from "../../index.es-Ba9oZK_n.js";
|
|
6
|
+
import { _ as C, a as f } from "../../tslib.es6-CIXEwqhg.js";
|
|
7
|
+
import { a as z, b as Y, d as ie, M as we, m as Ct, f as Et } from "../../component-Rx4bNsGO.js";
|
|
8
|
+
import { c as Lt, I as ze } from "../../index.es-InSNsV4f.js";
|
|
9
|
+
import { I as Ot } from "../../index.es-Cj9DW-2T.js";
|
|
9
10
|
/**
|
|
10
11
|
* @license
|
|
11
12
|
* Copyright 2018 Google Inc.
|
|
@@ -54,7 +55,7 @@ var P = {
|
|
|
54
55
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
55
56
|
* THE SOFTWARE.
|
|
56
57
|
*/
|
|
57
|
-
var
|
|
58
|
+
var At = (
|
|
58
59
|
/** @class */
|
|
59
60
|
function(a) {
|
|
60
61
|
C(t, a);
|
|
@@ -167,7 +168,7 @@ var Ye = (
|
|
|
167
168
|
return e.unlisten(i, o);
|
|
168
169
|
}
|
|
169
170
|
};
|
|
170
|
-
return new
|
|
171
|
+
return new At(n);
|
|
171
172
|
}, t;
|
|
172
173
|
}(Y)
|
|
173
174
|
);
|
|
@@ -195,7 +196,7 @@ var Ye = (
|
|
|
195
196
|
*/
|
|
196
197
|
var Ke = {
|
|
197
198
|
ROOT: "mdc-text-field-character-counter"
|
|
198
|
-
},
|
|
199
|
+
}, Rt = {
|
|
199
200
|
ROOT_SELECTOR: "." + Ke.ROOT
|
|
200
201
|
};
|
|
201
202
|
/**
|
|
@@ -235,7 +236,7 @@ var Je = (
|
|
|
235
236
|
configurable: !0
|
|
236
237
|
}), Object.defineProperty(t, "strings", {
|
|
237
238
|
get: function() {
|
|
238
|
-
return
|
|
239
|
+
return Rt;
|
|
239
240
|
},
|
|
240
241
|
enumerable: !1,
|
|
241
242
|
configurable: !0
|
|
@@ -278,7 +279,7 @@ var Je = (
|
|
|
278
279
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
279
280
|
* THE SOFTWARE.
|
|
280
281
|
*/
|
|
281
|
-
var
|
|
282
|
+
var Nt = (
|
|
282
283
|
/** @class */
|
|
283
284
|
function(a) {
|
|
284
285
|
C(t, a);
|
|
@@ -351,7 +352,7 @@ var x = {
|
|
|
351
352
|
WITH_TRAILING_ICON: "mdc-text-field--with-trailing-icon"
|
|
352
353
|
}, Me = {
|
|
353
354
|
LABEL_SCALE: 0.75
|
|
354
|
-
},
|
|
355
|
+
}, Ft = [
|
|
355
356
|
"pattern",
|
|
356
357
|
"min",
|
|
357
358
|
"max",
|
|
@@ -359,7 +360,7 @@ var x = {
|
|
|
359
360
|
"step",
|
|
360
361
|
"minlength",
|
|
361
362
|
"maxlength"
|
|
362
|
-
],
|
|
363
|
+
], Pt = [
|
|
363
364
|
"color",
|
|
364
365
|
"date",
|
|
365
366
|
"datetime-local",
|
|
@@ -390,7 +391,7 @@ var x = {
|
|
|
390
391
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
391
392
|
* THE SOFTWARE.
|
|
392
393
|
*/
|
|
393
|
-
var je = ["mousedown", "touchstart"], Be = ["click", "keydown"],
|
|
394
|
+
var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Vt = (
|
|
394
395
|
/** @class */
|
|
395
396
|
function(a) {
|
|
396
397
|
C(t, a);
|
|
@@ -432,7 +433,7 @@ var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Pt = (
|
|
|
432
433
|
}), Object.defineProperty(t.prototype, "shouldAlwaysFloat_", {
|
|
433
434
|
get: function() {
|
|
434
435
|
var e = this.getNativeInput_().type;
|
|
435
|
-
return
|
|
436
|
+
return Pt.indexOf(e) >= 0;
|
|
436
437
|
},
|
|
437
438
|
enumerable: !1,
|
|
438
439
|
configurable: !0
|
|
@@ -535,7 +536,7 @@ var je = ["mousedown", "touchstart"], Be = ["click", "keydown"], Pt = (
|
|
|
535
536
|
}, t.prototype.handleValidationAttributeChange = function(e) {
|
|
536
537
|
var n = this;
|
|
537
538
|
e.some(function(i) {
|
|
538
|
-
return
|
|
539
|
+
return Ft.indexOf(i) > -1 ? (n.styleValidity_(!0), n.adapter.setLabelRequired(n.getNativeInput_().required), !0) : !1;
|
|
539
540
|
}), e.indexOf("maxlength") > -1 && this.setCharacterCounter_(this.getValue().length);
|
|
540
541
|
}, t.prototype.notchOutline = function(e) {
|
|
541
542
|
if (!(!this.adapter.hasOutline() || !this.adapter.hasLabel()))
|
|
@@ -852,7 +853,7 @@ var Ze = (
|
|
|
852
853
|
var ke = {
|
|
853
854
|
ICON_EVENT: "MDCTextField:icon",
|
|
854
855
|
ICON_ROLE: "button"
|
|
855
|
-
},
|
|
856
|
+
}, Dt = {
|
|
856
857
|
ROOT: "mdc-text-field__icon"
|
|
857
858
|
};
|
|
858
859
|
/**
|
|
@@ -895,7 +896,7 @@ var Ue = ["click", "keydown"], qe = (
|
|
|
895
896
|
configurable: !0
|
|
896
897
|
}), Object.defineProperty(t, "cssClasses", {
|
|
897
898
|
get: function() {
|
|
898
|
-
return
|
|
899
|
+
return Dt;
|
|
899
900
|
},
|
|
900
901
|
enumerable: !1,
|
|
901
902
|
configurable: !0
|
|
@@ -968,7 +969,7 @@ var Ue = ["click", "keydown"], qe = (
|
|
|
968
969
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
969
970
|
* THE SOFTWARE.
|
|
970
971
|
*/
|
|
971
|
-
var
|
|
972
|
+
var St = (
|
|
972
973
|
/** @class */
|
|
973
974
|
function(a) {
|
|
974
975
|
C(t, a);
|
|
@@ -1039,7 +1040,7 @@ var Dt = (
|
|
|
1039
1040
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1040
1041
|
* THE SOFTWARE.
|
|
1041
1042
|
*/
|
|
1042
|
-
var
|
|
1043
|
+
var Ht = (
|
|
1043
1044
|
/** @class */
|
|
1044
1045
|
function(a) {
|
|
1045
1046
|
C(t, a);
|
|
@@ -1056,13 +1057,13 @@ var St = (
|
|
|
1056
1057
|
}), i === void 0 && (i = function(u) {
|
|
1057
1058
|
return new Ze(u);
|
|
1058
1059
|
}), o === void 0 && (o = function(u) {
|
|
1059
|
-
return new
|
|
1060
|
+
return new Nt(u);
|
|
1060
1061
|
}), l === void 0 && (l = function(u) {
|
|
1061
|
-
return new
|
|
1062
|
+
return new St(u);
|
|
1062
1063
|
}), s === void 0 && (s = function(u) {
|
|
1063
|
-
return new vt(u);
|
|
1064
|
-
}), p === void 0 && (p = function(u) {
|
|
1065
1064
|
return new It(u);
|
|
1065
|
+
}), p === void 0 && (p = function(u) {
|
|
1066
|
+
return new xt(u);
|
|
1066
1067
|
}), this.input_ = this.root.querySelector(x.INPUT_SELECTOR);
|
|
1067
1068
|
var D = this.root.querySelector(x.LABEL_SELECTOR);
|
|
1068
1069
|
this.label_ = D ? s(D) : null;
|
|
@@ -1294,7 +1295,7 @@ var St = (
|
|
|
1294
1295
|
this.foundation.notchOutline(e);
|
|
1295
1296
|
}, t.prototype.getDefaultFoundation = function() {
|
|
1296
1297
|
var e = f(f(f(f(f({}, this.getRootAdapterMethods_()), this.getInputAdapterMethods_()), this.getLabelAdapterMethods_()), this.getLineRippleAdapterMethods_()), this.getOutlineAdapterMethods_());
|
|
1297
|
-
return new
|
|
1298
|
+
return new Vt(e, this.getFoundationMap_());
|
|
1298
1299
|
}, t.prototype.getRootAdapterMethods_ = function() {
|
|
1299
1300
|
var e = this;
|
|
1300
1301
|
return {
|
|
@@ -1418,7 +1419,7 @@ var St = (
|
|
|
1418
1419
|
}, t;
|
|
1419
1420
|
}(Y)
|
|
1420
1421
|
);
|
|
1421
|
-
const
|
|
1422
|
+
const wt = {
|
|
1422
1423
|
/**
|
|
1423
1424
|
*
|
|
1424
1425
|
*
|
|
@@ -1437,7 +1438,7 @@ const Ht = {
|
|
|
1437
1438
|
* Defaults to **null**.
|
|
1438
1439
|
*/
|
|
1439
1440
|
rippleCenter: r.string
|
|
1440
|
-
},
|
|
1441
|
+
}, Mt = {
|
|
1441
1442
|
activated: null,
|
|
1442
1443
|
className: void 0,
|
|
1443
1444
|
rippleCenter: null
|
|
@@ -1460,8 +1461,8 @@ const Ht = {
|
|
|
1460
1461
|
}, o));
|
|
1461
1462
|
});
|
|
1462
1463
|
oe.displayName = "LineRipple";
|
|
1463
|
-
oe.propTypes =
|
|
1464
|
-
oe.defaultProps =
|
|
1464
|
+
oe.propTypes = wt;
|
|
1465
|
+
oe.defaultProps = Mt;
|
|
1465
1466
|
const se = /* @__PURE__ */ Ie((a, t) => {
|
|
1466
1467
|
const {
|
|
1467
1468
|
wrap: e,
|
|
@@ -1481,7 +1482,7 @@ se.defaultProps = {
|
|
|
1481
1482
|
children: void 0,
|
|
1482
1483
|
wrap: !1
|
|
1483
1484
|
};
|
|
1484
|
-
const
|
|
1485
|
+
const jt = {
|
|
1485
1486
|
/**
|
|
1486
1487
|
* @deprecated _Use `fullWidth` instead._
|
|
1487
1488
|
*
|
|
@@ -1629,7 +1630,7 @@ const Mt = {
|
|
|
1629
1630
|
*
|
|
1630
1631
|
* Defaults to **null**.
|
|
1631
1632
|
*/
|
|
1632
|
-
maxlength:
|
|
1633
|
+
maxlength: bt(r.number, "Textfield", "counter"),
|
|
1633
1634
|
/**
|
|
1634
1635
|
* Prevents resizing when using `textarea`.
|
|
1635
1636
|
*
|
|
@@ -1752,7 +1753,7 @@ const Mt = {
|
|
|
1752
1753
|
* Defaults to **'filled'**.
|
|
1753
1754
|
*/
|
|
1754
1755
|
variant: r.oneOf(["filled", "outlined", "embedded"])
|
|
1755
|
-
},
|
|
1756
|
+
}, Bt = {
|
|
1756
1757
|
block: void 0,
|
|
1757
1758
|
className: void 0,
|
|
1758
1759
|
containerClass: void 0,
|
|
@@ -1794,7 +1795,7 @@ const Mt = {
|
|
|
1794
1795
|
variant: "filled"
|
|
1795
1796
|
}, Xe = (a, t) => a ? /* @__PURE__ */ c.createElement("div", {
|
|
1796
1797
|
className: "mdc-text-field-character-counter"
|
|
1797
|
-
}, "0 / ", t) : null,
|
|
1798
|
+
}, "0 / ", t) : null, kt = (a) => {
|
|
1798
1799
|
const {
|
|
1799
1800
|
type: t
|
|
1800
1801
|
} = {
|
|
@@ -1813,7 +1814,7 @@ const Mt = {
|
|
|
1813
1814
|
dense: e === "IconButton" ? !0 : void 0,
|
|
1814
1815
|
role: "button"
|
|
1815
1816
|
});
|
|
1816
|
-
},
|
|
1817
|
+
}, Ut = (a) => {
|
|
1817
1818
|
const {
|
|
1818
1819
|
type: t
|
|
1819
1820
|
} = {
|
|
@@ -1878,8 +1879,8 @@ const Mt = {
|
|
|
1878
1879
|
} = a, {
|
|
1879
1880
|
hoisted: st,
|
|
1880
1881
|
position: Ee = "bottom"
|
|
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 =
|
|
1882
|
-
_(() => (m.current =
|
|
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 = vt(() => 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;
|
|
1883
|
+
_(() => (m.current = Ht.attachTo(ge.current), () => {
|
|
1883
1884
|
m.current.destroy();
|
|
1884
1885
|
}), [_e]), We(t, () => ({
|
|
1885
1886
|
mdc: m.current,
|
|
@@ -1979,7 +1980,7 @@ const Mt = {
|
|
|
1979
1980
|
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])
|
|
1980
1981
|
}, ne && /* @__PURE__ */ c.createElement("span", {
|
|
1981
1982
|
className: "mdc-text-field__ripple"
|
|
1982
|
-
}), q && !g &&
|
|
1983
|
+
}), q && !g && kt(q), Te && !q && !g && /* @__PURE__ */ c.createElement("span", {
|
|
1983
1984
|
className: "mdc-text-field__affix mdc-text-field__affix--prefix"
|
|
1984
1985
|
}, Te), /* @__PURE__ */ c.createElement(se, {
|
|
1985
1986
|
wrap: !$ && g
|
|
@@ -1997,9 +1998,9 @@ const Mt = {
|
|
|
1997
1998
|
maxLength: N,
|
|
1998
1999
|
ref: Ae,
|
|
1999
2000
|
value: L
|
|
2000
|
-
}, ot)), !$ && Xe(_e, N)), X && !g &&
|
|
2001
|
+
}, ot)), !$ && Xe(_e, N)), X && !g && Ut(X), ye && !X && !g && /* @__PURE__ */ c.createElement("span", {
|
|
2001
2002
|
className: "mdc-text-field__affix mdc-text-field__affix--suffix"
|
|
2002
|
-
}, ye), me && /* @__PURE__ */ c.createElement(
|
|
2003
|
+
}, ye), me && /* @__PURE__ */ c.createElement(Tt, null, be && /* @__PURE__ */ c.createElement(He, {
|
|
2003
2004
|
id: he,
|
|
2004
2005
|
htmlFor: ee
|
|
2005
2006
|
}, u)), ne && be && /* @__PURE__ */ c.createElement(He, {
|
|
@@ -2012,7 +2013,7 @@ const Mt = {
|
|
|
2012
2013
|
id: pe,
|
|
2013
2014
|
"aria-hidden": E ? "false" : "true",
|
|
2014
2015
|
className: V(["mdc-text-field-helper-text", E && "mdc-text-field-helper-text--persistent", S && "mdc-text-field-helper-text--validation-msg"])
|
|
2015
|
-
}, h), $ && Xe(_e, N)), b && /* @__PURE__ */ c.createElement(
|
|
2016
|
+
}, h), $ && Xe(_e, N)), b && /* @__PURE__ */ c.createElement(yt, re({
|
|
2016
2017
|
role: "tooltip"
|
|
2017
2018
|
}, b, {
|
|
2018
2019
|
ref: te,
|
|
@@ -2020,11 +2021,9 @@ const Mt = {
|
|
|
2020
2021
|
})));
|
|
2021
2022
|
});
|
|
2022
2023
|
le.displayName = "Textfield";
|
|
2023
|
-
le.propTypes =
|
|
2024
|
-
le.defaultProps =
|
|
2025
|
-
const
|
|
2026
|
-
searchbar: Ut
|
|
2027
|
-
}, Zt = ({
|
|
2024
|
+
le.propTypes = jt;
|
|
2025
|
+
le.defaultProps = Bt;
|
|
2026
|
+
const Zt = ({
|
|
2028
2027
|
className: a = "",
|
|
2029
2028
|
dense: t = !1,
|
|
2030
2029
|
searchTerm: e,
|
|
@@ -2033,7 +2032,7 @@ const Ut = "_searchbar_gnvwc_1", qt = {
|
|
|
2033
2032
|
}) => /* @__PURE__ */ De(
|
|
2034
2033
|
le,
|
|
2035
2034
|
{
|
|
2036
|
-
className: `${a ?? ""} ${
|
|
2035
|
+
className: `${a ?? ""} ${mt.searchbar}`,
|
|
2037
2036
|
dense: t,
|
|
2038
2037
|
variant: "outlined",
|
|
2039
2038
|
placeholder: i,
|
|
@@ -2041,7 +2040,7 @@ const Ut = "_searchbar_gnvwc_1", qt = {
|
|
|
2041
2040
|
onChange: (o) => n(o.target.value),
|
|
2042
2041
|
fullWidth: !0,
|
|
2043
2042
|
trailingIcon: /* @__PURE__ */ De(
|
|
2044
|
-
|
|
2043
|
+
Ot,
|
|
2045
2044
|
{
|
|
2046
2045
|
icon: e ? "close" : "search",
|
|
2047
2046
|
onClick: () => e ? n("") : void 0
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
divider: d
|
|
5
|
-
}, v = ({ height: i = "2rem", className: r = "" }) => /* @__PURE__ */ e("div", { className: `${t.divider} ${r}`, style: { height: i } });
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { s as i } from "../../verticalDivider.module-C3_GL-fH.js";
|
|
3
|
+
const o = ({ height: r = "2rem", className: e = "" }) => /* @__PURE__ */ s("div", { className: `${i.divider} ${e}`, style: { height: r } });
|
|
6
4
|
export {
|
|
7
|
-
|
|
5
|
+
o as VerticalDivider
|
|
8
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=require("./assets/disclaimer.css");const s="_disclaimer_1k38t_1",i="_iconArea_1k38t_7",c={disclaimer:s,iconArea:i};exports.styles=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.es-CEydmFbW.cjs"),n=require("react"),b={children:e.PropTypes.node,customPadding:e.PropTypes.string,elevation:e.PropTypes.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),noWrap:e.PropTypes.bool,outlined:e.PropTypes.bool,padding:e.PropTypes.oneOf(["standard","dense","airy"]),rounded:e.PropTypes.bool,tag:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.elementType,e.PropTypes.instanceOf(n.Component)]),transition:e.PropTypes.bool},N={children:null,customPadding:null,elevation:0,noWrap:null,outlined:!1,padding:void 0,rounded:!1,tag:"div",transition:null},t=n.forwardRef((v,g)=>{const{children:s,className:a,customPadding:l,elevation:d,noWrap:T,padding:o,rounded:r,tag:i,outlined:p,style:c,transition:u,...m}=v,y=n.useRef();n.useImperativeHandle(g,()=>y.current,[]);const P=n.useMemo(()=>e.clsx("lmnt",`mdc-elevation--z${d}`,o==="standard"&&"lmnt-elevation--padding-standard",o==="dense"&&"lmnt-elevation--padding-dense",o==="airy"&&"lmnt-elevation--padding-airy",u&&"mdc-elevation-transition",r&&"lmnt-elevation--rounded",p&&"lmnt-elevation--outlined",a),[d,o,u,r,p,a]),f=n.useMemo(()=>({...c,padding:l}),[c,l]),E=n.useMemo(()=>i,[i]);return n.createElement(n.Fragment,null,T?e.addProps(s,{className:P,...m}):n.createElement(E,e._extends({ref:y,className:P,style:f},m),s))});t.displayName="Elevation";t.propTypes=b;t.defaultProps=N;var O=n.memo(t);exports.Elevation$1=O;
|