@hortiview/default-components 1.4.4 → 1.5.0
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 +51 -0
- package/dist/{Iconify-aUog1Oez.js → Iconify-D3gVmKx3.js} +11 -10
- package/dist/{InfoCard-BxjAQiFE.js → InfoCard-Ba-VFnki.js} +4 -4
- package/dist/{LoadingSpinner-DBMjIfY1.js → LoadingSpinner-CmwCv7BO.js} +22 -21
- package/dist/{OfflineView-NUM9WE0F-BI9rnget.js → OfflineView-CIwV08EQ-BClnJRzV.js} +4 -4
- package/dist/assets/DefaultAllowedComponent.css +1 -0
- package/dist/assets/GenericTable.css +1 -1
- package/dist/component-Bz_dtX1r-DqCAj-DR.js +304 -0
- package/dist/{component-DsB0poTj-DgsYK0_R.js → component-DEJuY56h-CYiwt7Ga.js} +6 -5
- package/dist/components/DefaultAllowedComponent/DefaultAllowedComponent.d.ts +11 -0
- package/dist/components/DefaultAllowedComponent/DefaultAllowedComponent.js +51 -0
- package/dist/components/DefaultFormNumber/DefaultFormNumber.js +475 -457
- package/dist/components/DefaultFormSelect/DefaultFormSelect.js +29 -29
- package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +2 -2
- package/dist/components/GenericTable/GenericTable.js +2204 -2189
- package/dist/components/HealthChecks/DataBaseHealthCheck.js +2 -2
- package/dist/components/HealthChecks/DefaultHealthCheck.js +2 -2
- package/dist/components/HealthChecks/IotServiceHealthCheck.js +2 -2
- package/dist/components/HealthChecks/PlatformHealthCheck.js +2 -2
- package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +2 -2
- package/dist/components/OfflineView/OfflineView.js +2 -2
- package/dist/{correct-is-regexp-logic-BBlm4UpN-CvII841s.js → correct-is-regexp-logic-Y0ToWEjF-pByZFQLo.js} +49 -48
- package/dist/{index.es-DiONypF4-eT98Y3u_.js → index.es--C-VLspF-B3Cy1zrT.js} +36 -35
- package/dist/{index.es-CvHDFF6V-CjZvA03R.js → index.es-B74L_Dje-mYAvKwSb.js} +5 -4
- package/dist/{index.es-B0QNuIUR-Bte5aF5M.js → index.es-B8p8KCdj--cmqwwUJ.js} +5 -5
- package/dist/{index.es-DnEIFMjv-DuuORGfo.js → index.es-BPv5dCFQ-BmH1Hq7_.js} +61 -61
- package/dist/{index.es-CIsLNz4j-ZEEcPmTs.js → index.es-BanVdXEd-BYOBCuJj.js} +1 -1
- package/dist/{index.es-NEYPxnlS-C8xQv2De.js → index.es-SjZ_-d7U-HvaOH_Z0.js} +33 -33
- package/dist/{index.es-fV9oWpEf-BXuhoGtE.js → index.es-nwjKmW7--CUlbl1RR.js} +12 -11
- package/dist/{isTypedArray-Dw_IY7Zq-wj3MphCb.js → isTypedArray-DziahYkI-Cw9ssvDH.js} +18 -18
- package/dist/locales/en-US.js +16 -14
- package/dist/locales/en-US.json.d.ts +3 -0
- package/dist/locales/es-MX.js +16 -14
- package/dist/locales/es-MX.json.d.ts +3 -0
- package/dist/locales/tr-TR.js +17 -15
- package/dist/locales/tr-TR.json.d.ts +3 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +24 -22
- package/dist/{slicedToArray-h0Nnkd_P-C4SkVJMK.js → slicedToArray-ByMQIs5x-BsvSjTDl.js} +158 -158
- package/dist/{useHelperText-B7OMZXvE.js → useHelperText-Cqx6ggnc.js} +55 -54
- package/dist/useTranslation-BQQybhSd.js +5042 -0
- package/package.json +2 -31
- package/dist/useTranslation-B_lNCuLm.js +0 -5343
- /package/dist/assets/{OfflineView-NUM9WE0F.css → OfflineView-CIwV08EQ.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as _, e as h, h as k, t as a,
|
|
2
|
-
import { S as Se } from "./slicedToArray-
|
|
3
|
-
import m, { forwardRef as T, useRef as D, useImperativeHandle as
|
|
4
|
-
import { d as da } from "./index.es-
|
|
5
|
-
import { p as ca, q as sa, h as ma } from "./correct-is-regexp-logic-
|
|
6
|
-
import { O as ya } from "./index.es-
|
|
1
|
+
import { r as _, e as h, h as k, t as a, n as W, Z as M, c as ie, p as q, f as le, v as oe, s as z, X as de, a as $, b as ce, a4 as Le, o as ye, m as Je, q as Ke, I as Qe, C as we, a5 as ea, a2 as aa, y as Ee, a6 as ra, a7 as na, a8 as ta, a9 as ia } from "./useTranslation-BQQybhSd.js";
|
|
2
|
+
import { S as Se } from "./slicedToArray-ByMQIs5x-BsvSjTDl.js";
|
|
3
|
+
import m, { forwardRef as T, useRef as D, useImperativeHandle as j, useState as te, useEffect as Re, useMemo as G, createContext as la, useLayoutEffect as oa } from "react";
|
|
4
|
+
import { d as da } from "./index.es-B8p8KCdj--cmqwwUJ.js";
|
|
5
|
+
import { p as ca, q as sa, h as ma } from "./correct-is-regexp-logic-Y0ToWEjF-pByZFQLo.js";
|
|
6
|
+
import { O as ya } from "./index.es-SjZ_-d7U-HvaOH_Z0.js";
|
|
7
7
|
var ga = {
|
|
8
8
|
/**
|
|
9
9
|
* The css class name to be passed through to the component markup.
|
|
@@ -79,7 +79,7 @@ var ga = {
|
|
|
79
79
|
verticalMargin: "none"
|
|
80
80
|
}, ua = ["dividerColor", "dividerColorImportant", "dividerHeight", "dividerStyle", "themeColor", "themeColorImportant", "variant", "className", "verticalMargin"], U = pa, se = /* @__PURE__ */ T(function(e, l) {
|
|
81
81
|
var t = e.dividerColor, i = t === void 0 ? U.dividerColor : t, n = e.dividerColorImportant, r = n === void 0 ? U.dividerColorImportant : n, o = e.dividerHeight, c = o === void 0 ? U.dividerHeight : o, d = e.dividerStyle, s = d === void 0 ? U.dividerStyle : d, y = e.themeColor, u = y === void 0 ? U.themeColor : y, p = e.themeColorImportant, b = p === void 0 ? U.themeColorImportant : p, v = e.variant, g = v === void 0 ? U.variant : v, f = e.className, x = f === void 0 ? U.className : f, N = e.verticalMargin, O = N === void 0 ? U.verticalMargin : N, A = _(e, ua), S = r || b, B = c || g, R = i || u, I = D();
|
|
82
|
-
|
|
82
|
+
j(l, function() {
|
|
83
83
|
return I.current;
|
|
84
84
|
}, []);
|
|
85
85
|
var C = h("lmnt", "lmnt-divider", S && "lmnt-divider--color-important", B && "lmnt-divider--".concat(B), s && "lmnt-divider--".concat(s), R && "lmnt-divider--".concat(R), O && O !== "none" && "lmnt-divider--margin-".concat(O), x);
|
|
@@ -133,12 +133,12 @@ function Na() {
|
|
|
133
133
|
}
|
|
134
134
|
}), i("includes"), ge;
|
|
135
135
|
}
|
|
136
|
-
var
|
|
136
|
+
var Y, ue;
|
|
137
137
|
function Ca() {
|
|
138
|
-
if (ue) return
|
|
138
|
+
if (ue) return Y;
|
|
139
139
|
ue = 1, Na();
|
|
140
140
|
var e = /* @__PURE__ */ we();
|
|
141
|
-
return
|
|
141
|
+
return Y = e("Array", "includes"), Y;
|
|
142
142
|
}
|
|
143
143
|
var ve = {}, fe;
|
|
144
144
|
function _a() {
|
|
@@ -155,22 +155,22 @@ function _a() {
|
|
|
155
155
|
}
|
|
156
156
|
}), ve;
|
|
157
157
|
}
|
|
158
|
-
var
|
|
158
|
+
var J, he;
|
|
159
159
|
function ka() {
|
|
160
|
-
if (he) return
|
|
160
|
+
if (he) return J;
|
|
161
161
|
he = 1, _a();
|
|
162
162
|
var e = /* @__PURE__ */ we();
|
|
163
|
-
return
|
|
163
|
+
return J = e("String", "includes"), J;
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var K, be;
|
|
166
166
|
function Ta() {
|
|
167
|
-
if (be) return
|
|
167
|
+
if (be) return K;
|
|
168
168
|
be = 1;
|
|
169
169
|
var e = /* @__PURE__ */ Qe(), l = /* @__PURE__ */ Ca(), t = /* @__PURE__ */ ka(), i = Array.prototype, n = String.prototype;
|
|
170
|
-
return
|
|
170
|
+
return K = function(r) {
|
|
171
171
|
var o = r.includes;
|
|
172
172
|
return r === i || e(i, r) && o === i.includes ? l : typeof r == "string" || r === n || e(n, r) && o === n.includes ? t : o;
|
|
173
|
-
},
|
|
173
|
+
}, K;
|
|
174
174
|
}
|
|
175
175
|
var Q, Ne;
|
|
176
176
|
function Oa() {
|
|
@@ -184,7 +184,7 @@ function Ba() {
|
|
|
184
184
|
return _e || (_e = 1, Ce = /* @__PURE__ */ Oa()), Ce;
|
|
185
185
|
}
|
|
186
186
|
var xa = Ba();
|
|
187
|
-
const ke = /* @__PURE__ */
|
|
187
|
+
const ke = /* @__PURE__ */ Ke(xa);
|
|
188
188
|
var Aa = {
|
|
189
189
|
/**
|
|
190
190
|
* Alignment of the Card Body.
|
|
@@ -480,7 +480,7 @@ var Aa = {
|
|
|
480
480
|
children: a.node
|
|
481
481
|
}, qa = {
|
|
482
482
|
children: null
|
|
483
|
-
},
|
|
483
|
+
}, $a = {
|
|
484
484
|
/**
|
|
485
485
|
* Theme color for the Card Divider. Leave empty for gray.
|
|
486
486
|
*
|
|
@@ -493,10 +493,10 @@ var Aa = {
|
|
|
493
493
|
* Defaults to **'dense'**.
|
|
494
494
|
*/
|
|
495
495
|
dividerVariant: a.oneOf(["dense", "tall"])
|
|
496
|
-
},
|
|
496
|
+
}, ja = {
|
|
497
497
|
dividerThemeColor: "on-surface-stroke",
|
|
498
498
|
dividerVariant: "dense"
|
|
499
|
-
},
|
|
499
|
+
}, za = {
|
|
500
500
|
/**
|
|
501
501
|
* Content to be rendered inside the title block. Mostly commonly a Select, Textfield component, however any valid components or markup may be used.
|
|
502
502
|
*
|
|
@@ -608,7 +608,7 @@ var Aa = {
|
|
|
608
608
|
overlay: !1,
|
|
609
609
|
overlayThemeColor: "dark",
|
|
610
610
|
ratio: "square"
|
|
611
|
-
},
|
|
611
|
+
}, Ya = {
|
|
612
612
|
/**
|
|
613
613
|
* Content to be rendered inside the Card Overlay. Useful for angles or other non semantic elements displayed in the Card.
|
|
614
614
|
*
|
|
@@ -633,12 +633,12 @@ var Aa = {
|
|
|
633
633
|
* Defaults to **'full'**.
|
|
634
634
|
*/
|
|
635
635
|
position: a.oneOf(["full", "leading", "trailing"])
|
|
636
|
-
},
|
|
636
|
+
}, Ja = {
|
|
637
637
|
children: null,
|
|
638
638
|
className: void 0,
|
|
639
639
|
overlayThemeColor: "dark",
|
|
640
640
|
position: "full"
|
|
641
|
-
},
|
|
641
|
+
}, Ka = {
|
|
642
642
|
/**
|
|
643
643
|
* Content to be rendered as the primary action.
|
|
644
644
|
*
|
|
@@ -748,10 +748,10 @@ var Aa = {
|
|
|
748
748
|
}, rr = ["bodyAlignment", "children", "className", "direction", "height", "loadingCard", "outlined", "style", "themeColor", "variant"];
|
|
749
749
|
function Te(e, l) {
|
|
750
750
|
var t = de(e);
|
|
751
|
-
if (
|
|
752
|
-
var i =
|
|
751
|
+
if ($) {
|
|
752
|
+
var i = $(e);
|
|
753
753
|
l && (i = ce(i).call(i, function(n) {
|
|
754
|
-
return
|
|
754
|
+
return z(e, n).enumerable;
|
|
755
755
|
})), t.push.apply(t, i);
|
|
756
756
|
}
|
|
757
757
|
return t;
|
|
@@ -762,7 +762,7 @@ function Oe(e) {
|
|
|
762
762
|
l % 2 ? M(t = Te(Object(n), !0)).call(t, function(r) {
|
|
763
763
|
ie(e, r, n[r]);
|
|
764
764
|
}) : q ? le(e, q(n)) : M(i = Te(Object(n))).call(i, function(r) {
|
|
765
|
-
oe(e, r,
|
|
765
|
+
oe(e, r, z(n, r));
|
|
766
766
|
});
|
|
767
767
|
}
|
|
768
768
|
return e;
|
|
@@ -774,7 +774,7 @@ var P = Ia, He = /* @__PURE__ */ T(function(e, l) {
|
|
|
774
774
|
height: u,
|
|
775
775
|
direction: s
|
|
776
776
|
}, g)), B = Se(S, 2), R = B[0], I = B[1], C = D();
|
|
777
|
-
return
|
|
777
|
+
return j(l, function() {
|
|
778
778
|
return C.current;
|
|
779
779
|
}, []), Re(function() {
|
|
780
780
|
I(Oe({
|
|
@@ -815,8 +815,8 @@ var tr = ["active", "ariaLabel", "ariaLabelledBy", "children", "className", "dis
|
|
|
815
815
|
e.active;
|
|
816
816
|
var t = e.ariaLabel, i = t === void 0 ? L.ariaLabel : t;
|
|
817
817
|
e.ariaLabelledBy;
|
|
818
|
-
var n = e.children, r = n === void 0 ? L.children : n, o = e.className, c = o === void 0 ? L.className : o, d = e.disabled, s = d === void 0 ? L.disabled : d, y = e.onClick, u = y === void 0 ? L.onClick : y, p = e.toggleOff, b = p === void 0 ? L.toggleOff : p, v = e.toggleOffAriaLabel, g = v === void 0 ? L.toggleOffAriaLabel : v, f = e.toggleOffAriaLabelledBy, x = f === void 0 ? L.toggleOffAriaLabelledBy : f, N = e.toggleOn, O = N === void 0 ? L.toggleOn : N, A = e.toggleOnAriaLabel, S = A === void 0 ? L.toggleOnAriaLabel : A, B = e.toggleOnAriaLabelledBy, R = B === void 0 ? L.toggleOnAriaLabelledBy : B, I = e.variant, C = I === void 0 ? L.variant : I, Z = _(e, tr),
|
|
819
|
-
return typeof r == "string" ? /* @__PURE__ */ m.createElement(
|
|
818
|
+
var n = e.children, r = n === void 0 ? L.children : n, o = e.className, c = o === void 0 ? L.className : o, d = e.disabled, s = d === void 0 ? L.disabled : d, y = e.onClick, u = y === void 0 ? L.onClick : y, p = e.toggleOff, b = p === void 0 ? L.toggleOff : p, v = e.toggleOffAriaLabel, g = v === void 0 ? L.toggleOffAriaLabel : v, f = e.toggleOffAriaLabelledBy, x = f === void 0 ? L.toggleOffAriaLabelledBy : f, N = e.toggleOn, O = N === void 0 ? L.toggleOn : N, A = e.toggleOnAriaLabel, S = A === void 0 ? L.toggleOnAriaLabel : A, B = e.toggleOnAriaLabelledBy, R = B === void 0 ? L.toggleOnAriaLabelledBy : B, I = e.variant, C = I === void 0 ? L.variant : I, Z = _(e, tr), Ye = G(function() {
|
|
819
|
+
return typeof r == "string" ? /* @__PURE__ */ m.createElement(Je, {
|
|
820
820
|
icon: r
|
|
821
821
|
}) : r;
|
|
822
822
|
}, [r]);
|
|
@@ -833,11 +833,11 @@ var tr = ["active", "ariaLabel", "ariaLabelledBy", "children", "className", "dis
|
|
|
833
833
|
toggleOn: O,
|
|
834
834
|
toggleOff: b,
|
|
835
835
|
className: h("mdc-card__action mdc-card__action--icon", c)
|
|
836
|
-
}, Z),
|
|
836
|
+
}, Z), Ye);
|
|
837
837
|
});
|
|
838
838
|
qe.displayName = "CardActionIcon";
|
|
839
839
|
qe.propTypes = Ea;
|
|
840
|
-
var ir = ["alignment", "actionIcons", "actionButtons", "className"], V = Ua,
|
|
840
|
+
var ir = ["alignment", "actionIcons", "actionButtons", "className"], V = Ua, $e = /* @__PURE__ */ T(function(e, l) {
|
|
841
841
|
var t = e.alignment, i = t === void 0 ? V.alignment : t, n = e.actionIcons, r = n === void 0 ? V.actionIcons : n, o = e.actionButtons, c = o === void 0 ? V.actionButtons : o, d = e.className, s = d === void 0 ? V.className : d, y = _(e, ir);
|
|
842
842
|
return /* @__PURE__ */ m.createElement("div", k({
|
|
843
843
|
ref: l,
|
|
@@ -848,27 +848,27 @@ var ir = ["alignment", "actionIcons", "actionButtons", "className"], V = Ua, je
|
|
|
848
848
|
className: "mdc-card__action-icons"
|
|
849
849
|
}, r));
|
|
850
850
|
});
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
var lr = ["children", "typographyType", "themeColor", "className"], X = Ha,
|
|
851
|
+
$e.displayName = "CardActions";
|
|
852
|
+
$e.propTypes = Ra;
|
|
853
|
+
var lr = ["children", "typographyType", "themeColor", "className"], X = Ha, je = /* @__PURE__ */ T(function(e, l) {
|
|
854
854
|
var t = e.children, i = t === void 0 ? X.children : t, n = e.typographyType, r = n === void 0 ? X.typographyType : n, o = e.themeColor, c = o === void 0 ? X.themeColor : o, d = e.className, s = d === void 0 ? X.className : d, y = _(e, lr);
|
|
855
855
|
return /* @__PURE__ */ m.createElement("div", k({
|
|
856
856
|
ref: l,
|
|
857
857
|
className: h("lmnt-card-body", r === "body1" && " mdc-typography--body1", r === "body2" && " mdc-typography--body2", r === "button" && " mdc-typography--button", r === "caption" && " mdc-typography--caption", r === "headline1" && " mdc-typography--headline1", r === "headline2" && " mdc-typography--headline2", r === "headline3" && " mdc-typography--headline3", r === "headline4" && " mdc-typography--headline4", r === "headline5" && " mdc-typography--headline5", r === "headline6" && " mdc-typography--headline6", r === "display1" && " mdc-typography--headline1", r === "display2" && " mdc-typography--headline2", r === "display3" && " mdc-typography--headline3", r === "display4" && " mdc-typography--headline4", r === "display5" && " mdc-typography--headline5", r === "display6" && " mdc-typography--headline6", r === "overline" && " mdc-typography--overline", r === "subtitle1" && " mdc-typography--subtitle1", r === "subtitle2" && " mdc-typography--subtitle2", "lmnt-theme-".concat(c, "-bg"), s)
|
|
858
858
|
}, y), i);
|
|
859
859
|
});
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
var or = ["children", "className"], Be = qa,
|
|
860
|
+
je.displayName = "CardBody";
|
|
861
|
+
je.propTypes = Pa;
|
|
862
|
+
var or = ["children", "className"], Be = qa, ze = /* @__PURE__ */ T(function(e, l) {
|
|
863
863
|
var t = e.children, i = t === void 0 ? Be.children : t, n = e.className, r = n === void 0 ? Be.className : n, o = _(e, or);
|
|
864
864
|
return /* @__PURE__ */ m.createElement("div", k({
|
|
865
865
|
ref: l,
|
|
866
866
|
className: h(["lmnt", "mdc-card__content"], r)
|
|
867
867
|
}, o), i);
|
|
868
868
|
});
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
var dr = ["className", "dividerVariant", "dividerThemeColor"], ee =
|
|
869
|
+
ze.displayName = "CardContent";
|
|
870
|
+
ze.propTypes = Ma;
|
|
871
|
+
var dr = ["className", "dividerVariant", "dividerThemeColor"], ee = ja, De = /* @__PURE__ */ T(function(e, l) {
|
|
872
872
|
var t = e.className, i = t === void 0 ? ee.className : t, n = e.dividerVariant, r = n === void 0 ? ee.dividerVariant : n, o = e.dividerThemeColor, c = o === void 0 ? ee.dividerThemeColor : o, d = _(e, dr);
|
|
873
873
|
return /* @__PURE__ */ m.createElement(se, k({
|
|
874
874
|
ref: l,
|
|
@@ -878,7 +878,7 @@ var dr = ["className", "dividerVariant", "dividerThemeColor"], ee = za, De = /*
|
|
|
878
878
|
}, d));
|
|
879
879
|
});
|
|
880
880
|
De.displayName = "CardDivider";
|
|
881
|
-
De.propTypes =
|
|
881
|
+
De.propTypes = $a;
|
|
882
882
|
var cr = ["children", "className", "filterType"], ae = Da, We = /* @__PURE__ */ T(function(e, l) {
|
|
883
883
|
var t = e.children, i = t === void 0 ? ae.children : t, n = e.className, r = n === void 0 ? ae.className : n, o = e.filterType, c = o === void 0 ? ae.filterType : o, d = _(e, cr);
|
|
884
884
|
return /* @__PURE__ */ m.createElement("div", k({
|
|
@@ -887,14 +887,14 @@ var cr = ["children", "className", "filterType"], ae = Da, We = /* @__PURE__ */
|
|
|
887
887
|
}, d), i);
|
|
888
888
|
});
|
|
889
889
|
We.displayName = "CardFilter";
|
|
890
|
-
We.propTypes =
|
|
890
|
+
We.propTypes = za;
|
|
891
891
|
var sr = /* @__PURE__ */ la({
|
|
892
892
|
groupRect: {}
|
|
893
893
|
}), mr = ["children", "className", "rtl"], re = Va, Ve = /* @__PURE__ */ T(function(e, l) {
|
|
894
894
|
var t = e.children, i = t === void 0 ? re.children : t, n = e.className, r = n === void 0 ? re.className : n, o = e.rtl, c = o === void 0 ? re.rtl : o, d = _(e, mr), s = ba(), y = Se(s, 2), u = y[0], p = y[1], b = D(u);
|
|
895
|
-
return
|
|
895
|
+
return j(l, function() {
|
|
896
896
|
return b.current;
|
|
897
|
-
}, []),
|
|
897
|
+
}, []), j(u, function() {
|
|
898
898
|
return b.current;
|
|
899
899
|
}, []), // eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
900
900
|
/* @__PURE__ */ m.createElement(sr.Provider, {
|
|
@@ -911,9 +911,9 @@ var sr = /* @__PURE__ */ la({
|
|
|
911
911
|
});
|
|
912
912
|
Ve.propTypes = Wa;
|
|
913
913
|
Ve.displayName = "CardHorizontalGroup";
|
|
914
|
-
var yr = ["children", "className", "position", "overlayThemeColor"], F =
|
|
914
|
+
var yr = ["children", "className", "position", "overlayThemeColor"], F = Ja, me = /* @__PURE__ */ T(function(e, l) {
|
|
915
915
|
var t = e.children, i = t === void 0 ? F.children : t, n = e.className, r = n === void 0 ? F.className : n, o = e.position, c = o === void 0 ? F.position : o, d = e.overlayThemeColor, s = d === void 0 ? F.overlayThemeColor : d, y = _(e, yr), u = D();
|
|
916
|
-
|
|
916
|
+
j(l, function() {
|
|
917
917
|
return u.current;
|
|
918
918
|
}, []);
|
|
919
919
|
var p = G(function() {
|
|
@@ -924,14 +924,14 @@ var yr = ["children", "className", "position", "overlayThemeColor"], F = Ya, me
|
|
|
924
924
|
}, y), i && i);
|
|
925
925
|
});
|
|
926
926
|
me.displayName = "CardOverlay";
|
|
927
|
-
me.propTypes =
|
|
927
|
+
me.propTypes = Ya;
|
|
928
928
|
var gr = ["children", "className", "contentPlacement", "imageUrl", "overlay", "overlayThemeColor", "ratio", "style"];
|
|
929
929
|
function xe(e, l) {
|
|
930
930
|
var t = de(e);
|
|
931
|
-
if (
|
|
932
|
-
var i =
|
|
931
|
+
if ($) {
|
|
932
|
+
var i = $(e);
|
|
933
933
|
l && (i = ce(i).call(i, function(n) {
|
|
934
|
-
return
|
|
934
|
+
return z(e, n).enumerable;
|
|
935
935
|
})), t.push.apply(t, i);
|
|
936
936
|
}
|
|
937
937
|
return t;
|
|
@@ -942,7 +942,7 @@ function pr(e) {
|
|
|
942
942
|
l % 2 ? M(t = xe(Object(n), !0)).call(t, function(r) {
|
|
943
943
|
ie(e, r, n[r]);
|
|
944
944
|
}) : q ? le(e, q(n)) : M(i = xe(Object(n))).call(i, function(r) {
|
|
945
|
-
oe(e, r,
|
|
945
|
+
oe(e, r, z(n, r));
|
|
946
946
|
});
|
|
947
947
|
}
|
|
948
948
|
return e;
|
|
@@ -974,7 +974,7 @@ var ur = ["children", "className", "tag"], Ae = Qa, Fe = /* @__PURE__ */ T(funct
|
|
|
974
974
|
}, d), i);
|
|
975
975
|
});
|
|
976
976
|
Fe.displayName = "CardPrimaryAction";
|
|
977
|
-
Fe.propTypes =
|
|
977
|
+
Fe.propTypes = Ka;
|
|
978
978
|
var vr = ["className", "leadingBlock", "leadingBlockType", "overlineText", "placement", "primaryText", "secondaryText", "stackedSecondaryText", "stacked", "themeColor", "trailingBlock", "trailingBlockType"], w = ar, Ge = /* @__PURE__ */ T(function(e, l) {
|
|
979
979
|
var t = e.className, i = t === void 0 ? w.className : t, n = e.leadingBlock, r = n === void 0 ? w.leadingBlock : n, o = e.leadingBlockType, c = o === void 0 ? w.leadingBlockType : o, d = e.overlineText, s = d === void 0 ? w.overlineText : d, y = e.placement, u = y === void 0 ? w.placement : y, p = e.primaryText, b = p === void 0 ? w.primaryText : p, v = e.secondaryText, g = v === void 0 ? w.secondaryText : v, f = e.stackedSecondaryText, x = f === void 0 ? w.stackedSecondaryText : f, N = e.stacked, O = N === void 0 ? w.stacked : N, A = e.themeColor, S = A === void 0 ? w.themeColor : A, B = e.trailingBlock, R = B === void 0 ? w.trailingBlock : B, I = e.trailingBlockType, C = I === void 0 ? w.trailingBlockType : I, Z = _(e, vr);
|
|
980
980
|
return /* @__PURE__ */ m.createElement("div", k({
|
|
@@ -1001,10 +1001,10 @@ Ge.propTypes = er;
|
|
|
1001
1001
|
var fr = ["style", "mediaUrl", "width"];
|
|
1002
1002
|
function Ie(e, l) {
|
|
1003
1003
|
var t = de(e);
|
|
1004
|
-
if (
|
|
1005
|
-
var i =
|
|
1004
|
+
if ($) {
|
|
1005
|
+
var i = $(e);
|
|
1006
1006
|
l && (i = ce(i).call(i, function(n) {
|
|
1007
|
-
return
|
|
1007
|
+
return z(e, n).enumerable;
|
|
1008
1008
|
})), t.push.apply(t, i);
|
|
1009
1009
|
}
|
|
1010
1010
|
return t;
|
|
@@ -1015,14 +1015,14 @@ function hr(e) {
|
|
|
1015
1015
|
l % 2 ? M(t = Ie(Object(n), !0)).call(t, function(r) {
|
|
1016
1016
|
ie(e, r, n[r]);
|
|
1017
1017
|
}) : q ? le(e, q(n)) : M(i = Ie(Object(n))).call(i, function(r) {
|
|
1018
|
-
oe(e, r,
|
|
1018
|
+
oe(e, r, z(n, r));
|
|
1019
1019
|
});
|
|
1020
1020
|
}
|
|
1021
1021
|
return e;
|
|
1022
1022
|
}
|
|
1023
1023
|
var ne = Fa, Ze = /* @__PURE__ */ T(function(e, l) {
|
|
1024
1024
|
var t = e.style, i = t === void 0 ? ne.style : t, n = e.mediaUrl, r = n === void 0 ? ne.mediaUrl : n, o = e.width, c = o === void 0 ? ne.width : o, d = _(e, fr), s = D();
|
|
1025
|
-
return
|
|
1025
|
+
return j(l, function() {
|
|
1026
1026
|
return s.current;
|
|
1027
1027
|
}, []), /* @__PURE__ */ m.createElement("img", k({
|
|
1028
1028
|
src: r,
|
|
@@ -1036,9 +1036,9 @@ var ne = Fa, Ze = /* @__PURE__ */ T(function(e, l) {
|
|
|
1036
1036
|
Ze.propTypes = Xa;
|
|
1037
1037
|
Ze.displayName = "CardLeadingMedia";
|
|
1038
1038
|
export {
|
|
1039
|
-
|
|
1039
|
+
je as D,
|
|
1040
1040
|
Ge as F,
|
|
1041
|
-
|
|
1041
|
+
ze as M,
|
|
1042
1042
|
De as j,
|
|
1043
1043
|
He as w
|
|
1044
1044
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as Z, h as _, e as q, Z as g, c as w, p, f as x, v as z, s as N, X as A, a as f, b as B, t as d } from "./useTranslation-
|
|
1
|
+
import { r as Z, h as _, e as q, Z as g, c as w, p, f as x, v as z, s as N, X as A, a as f, b as B, t as d } from "./useTranslation-BQQybhSd.js";
|
|
2
2
|
import E, { forwardRef as H, useMemo as I, useRef as M, useImperativeHandle as $ } from "react";
|
|
3
3
|
var k = {
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as O, h as y, e as B, Z as
|
|
1
|
+
import { r as O, h as y, e as B, Z as V, c as de, p as Y, f as le, v as ce, s as ee, X as se, a as q, b as ge, t, n as he, l as te, a4 as T, ad as xe } from "./useTranslation-BQQybhSd.js";
|
|
2
2
|
import g, { forwardRef as k, useRef as P, useImperativeHandle as C, useEffect as ue } from "react";
|
|
3
3
|
var ye = {
|
|
4
4
|
/**
|
|
@@ -63,8 +63,8 @@ var ye = {
|
|
|
63
63
|
}, me = ["children", "className", "direction", "fullWidth", "gap", "padding", "primaryAlign", "secondaryAlign", "style"];
|
|
64
64
|
function M(e, r) {
|
|
65
65
|
var i = se(e);
|
|
66
|
-
if (
|
|
67
|
-
var n =
|
|
66
|
+
if (q) {
|
|
67
|
+
var n = q(e);
|
|
68
68
|
r && (n = ge(n).call(n, function(d) {
|
|
69
69
|
return ee(e, d).enumerable;
|
|
70
70
|
})), i.push.apply(i, n);
|
|
@@ -74,9 +74,9 @@ function M(e, r) {
|
|
|
74
74
|
function _(e) {
|
|
75
75
|
for (var r = 1; r < arguments.length; r++) {
|
|
76
76
|
var i, n, d = arguments[r] != null ? arguments[r] : {};
|
|
77
|
-
r % 2 ?
|
|
77
|
+
r % 2 ? V(i = M(Object(d), !0)).call(i, function(p) {
|
|
78
78
|
de(e, p, d[p]);
|
|
79
|
-
}) :
|
|
79
|
+
}) : Y ? le(e, Y(d)) : V(n = M(Object(d))).call(n, function(p) {
|
|
80
80
|
ce(e, p, ee(d, p));
|
|
81
81
|
});
|
|
82
82
|
}
|
|
@@ -148,11 +148,11 @@ var N = pe, fe = function(e) {
|
|
|
148
148
|
c && (R = _(_({}, R), {}, {
|
|
149
149
|
width: "100%"
|
|
150
150
|
})), R = _(_({}, R), z);
|
|
151
|
-
var
|
|
151
|
+
var U = P();
|
|
152
152
|
return C(r, function() {
|
|
153
|
-
return
|
|
153
|
+
return U.current;
|
|
154
154
|
}, []), /* @__PURE__ */ g.createElement("div", y({
|
|
155
|
-
ref:
|
|
155
|
+
ref: U,
|
|
156
156
|
className: B("lmnt", "lmnt-group", p),
|
|
157
157
|
style: R
|
|
158
158
|
}, ie), n);
|
|
@@ -569,8 +569,8 @@ var Be = {
|
|
|
569
569
|
level: 1,
|
|
570
570
|
tag: "span",
|
|
571
571
|
themeColor: void 0
|
|
572
|
-
},
|
|
573
|
-
var i = e.className, n = i === void 0 ? H.className : i, d = e.children, p = d === void 0 ? H.children : d, x = e.themeColor, o = x === void 0 ? H.themeColor : x, u = e.level, c = u === void 0 ? H.level : u, h = e.bold, l = h === void 0 ? H.bold : h, a = e.tag, s = a === void 0 ? H.tag : a, m = e.fixedPadding, f = m === void 0 ? H.fixedPadding : m, b = O(e,
|
|
572
|
+
}, Fe = ["className", "children", "themeColor", "level", "bold", "tag", "fixedPadding"], H = De, I = /* @__PURE__ */ k(function(e, r) {
|
|
573
|
+
var i = e.className, n = i === void 0 ? H.className : i, d = e.children, p = d === void 0 ? H.children : d, x = e.themeColor, o = x === void 0 ? H.themeColor : x, u = e.level, c = u === void 0 ? H.level : u, h = e.bold, l = h === void 0 ? H.bold : h, a = e.tag, s = a === void 0 ? H.tag : a, m = e.fixedPadding, f = m === void 0 ? H.fixedPadding : m, b = O(e, Fe), v = P();
|
|
574
574
|
C(r, function() {
|
|
575
575
|
return v.current;
|
|
576
576
|
}, []);
|
|
@@ -583,8 +583,8 @@ var Be = {
|
|
|
583
583
|
});
|
|
584
584
|
I.displayName = "TypoBody";
|
|
585
585
|
I.propTypes = Ee;
|
|
586
|
-
var
|
|
587
|
-
var i = e.className, n = i === void 0 ? Z.className : i, d = e.children, p = d === void 0 ? Z.children : d, x = e.themeColor, o = x === void 0 ? Z.themeColor : x, u = e.fixedPadding, c = u === void 0 ? Z.fixedPadding : u, h = e.tag, l = h === void 0 ? Z.tag : h, a = O(e,
|
|
586
|
+
var Je = ["className", "children", "themeColor", "fixedPadding", "tag"], Z = Se, J = /* @__PURE__ */ k(function(e, r) {
|
|
587
|
+
var i = e.className, n = i === void 0 ? Z.className : i, d = e.children, p = d === void 0 ? Z.children : d, x = e.themeColor, o = x === void 0 ? Z.themeColor : x, u = e.fixedPadding, c = u === void 0 ? Z.fixedPadding : u, h = e.tag, l = h === void 0 ? Z.tag : h, a = O(e, Je), s = B("mdc-typography", "lmnt mdc-typography--button", c && "typography--fixed-padding", o && "mdc-theme--".concat(E(o)), n), m = P();
|
|
588
588
|
C(r, function() {
|
|
589
589
|
return m.current;
|
|
590
590
|
}, []);
|
|
@@ -594,10 +594,10 @@ var Fe = ["className", "children", "themeColor", "fixedPadding", "tag"], Z = Se,
|
|
|
594
594
|
className: s
|
|
595
595
|
}, a), p);
|
|
596
596
|
});
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
var
|
|
600
|
-
var i = e.className, n = i === void 0 ? w.className : i, d = e.children, p = d === void 0 ? w.children : d, x = e.themeColor, o = x === void 0 ? w.themeColor : x, u = e.tag, c = u === void 0 ? w.tag : u, h = e.bold, l = h === void 0 ? w.bold : h, a = e.fixedPadding, s = a === void 0 ? w.fixedPadding : a, m = O(e,
|
|
597
|
+
J.displayName = "TypoButton";
|
|
598
|
+
J.propTypes = He;
|
|
599
|
+
var Ke = ["className", "children", "themeColor", "tag", "bold", "fixedPadding"], w = we, F = /* @__PURE__ */ k(function(e, r) {
|
|
600
|
+
var i = e.className, n = i === void 0 ? w.className : i, d = e.children, p = d === void 0 ? w.children : d, x = e.themeColor, o = x === void 0 ? w.themeColor : x, u = e.tag, c = u === void 0 ? w.tag : u, h = e.bold, l = h === void 0 ? w.bold : h, a = e.fixedPadding, s = a === void 0 ? w.fixedPadding : a, m = O(e, Ke), f = B("mdc-typography", "lmnt mdc-typography--caption", s && "typography--fixed-padding", l && "mdc-typography--caption-bold", o && "mdc-theme--".concat(E(o)), n), b = P();
|
|
601
601
|
C(r, function() {
|
|
602
602
|
return b.current;
|
|
603
603
|
}, []);
|
|
@@ -607,10 +607,10 @@ var Je = ["className", "children", "themeColor", "tag", "bold", "fixedPadding"],
|
|
|
607
607
|
className: f
|
|
608
608
|
}, m), p);
|
|
609
609
|
});
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
var
|
|
613
|
-
var i = e.className, n = i === void 0 ? A.className : i, d = e.children, p = d === void 0 ? A.children : d, x = e.themeColor, o = x === void 0 ? A.themeColor : x, u = e.level, c = u === void 0 ? A.level : u, h = e.tag, l = h === void 0 ? A.tag : h, a = e.fixedPadding, s = a === void 0 ? A.fixedPadding : a, m = O(e,
|
|
610
|
+
F.displayName = "TypoCaption";
|
|
611
|
+
F.propTypes = Ie;
|
|
612
|
+
var Ue = ["className", "children", "themeColor", "level", "tag", "fixedPadding"], A = $e, L = /* @__PURE__ */ k(function(e, r) {
|
|
613
|
+
var i = e.className, n = i === void 0 ? A.className : i, d = e.children, p = d === void 0 ? A.children : d, x = e.themeColor, o = x === void 0 ? A.themeColor : x, u = e.level, c = u === void 0 ? A.level : u, h = e.tag, l = h === void 0 ? A.tag : h, a = e.fixedPadding, s = a === void 0 ? A.fixedPadding : a, m = O(e, Ue), f = P();
|
|
614
614
|
C(r, function() {
|
|
615
615
|
return f.current;
|
|
616
616
|
}, []);
|
|
@@ -622,8 +622,8 @@ var Ke = ["className", "children", "themeColor", "level", "tag", "fixedPadding"]
|
|
|
622
622
|
});
|
|
623
623
|
L.displayName = "TypoDisplay";
|
|
624
624
|
L.propTypes = Ae;
|
|
625
|
-
var
|
|
626
|
-
var i = e.className, n = i === void 0 ? $.className : i, d = e.children, p = d === void 0 ? $.children : d, x = e.themeColor, o = x === void 0 ? $.themeColor : x, u = e.fixedPadding, c = u === void 0 ? $.fixedPadding : u, h = e.level, l = h === void 0 ? $.level : h, a = e.tag, s = a === void 0 ? $.tag : a, m = O(e,
|
|
625
|
+
var Ve = ["className", "children", "themeColor", "fixedPadding", "level", "tag"], $ = ze, oe = /* @__PURE__ */ k(function(e, r) {
|
|
626
|
+
var i = e.className, n = i === void 0 ? $.className : i, d = e.children, p = d === void 0 ? $.children : d, x = e.themeColor, o = x === void 0 ? $.themeColor : x, u = e.fixedPadding, c = u === void 0 ? $.fixedPadding : u, h = e.level, l = h === void 0 ? $.level : h, a = e.tag, s = a === void 0 ? $.tag : a, m = O(e, Ve);
|
|
627
627
|
ue(function() {
|
|
628
628
|
return xe("TypoHeadline", "This component is being replaced with TypoDisplay and will be removed in a future version. Please use TypoDisplay instead.");
|
|
629
629
|
}, []);
|
|
@@ -639,8 +639,8 @@ var Ue = ["className", "children", "themeColor", "fixedPadding", "level", "tag"]
|
|
|
639
639
|
});
|
|
640
640
|
oe.displayName = "TypoHeadline";
|
|
641
641
|
oe.propTypes = je;
|
|
642
|
-
var
|
|
643
|
-
var i = e.className, n = i === void 0 ? W.className : i, d = e.children, p = d === void 0 ? W.children : d, x = e.themeColor, o = x === void 0 ? W.themeColor : x, u = e.fixedPadding, c = u === void 0 ? W.fixedPadding : u, h = e.tag, l = h === void 0 ? W.tag : h, a = O(e,
|
|
642
|
+
var Ye = ["className", "children", "themeColor", "fixedPadding", "tag"], W = Ze, ae = /* @__PURE__ */ k(function(e, r) {
|
|
643
|
+
var i = e.className, n = i === void 0 ? W.className : i, d = e.children, p = d === void 0 ? W.children : d, x = e.themeColor, o = x === void 0 ? W.themeColor : x, u = e.fixedPadding, c = u === void 0 ? W.fixedPadding : u, h = e.tag, l = h === void 0 ? W.tag : h, a = O(e, Ye), s = B("mdc-typography lmnt-theme-link", c && "typography--fixed-padding", o && "mdc-theme--".concat(E(o)), n), m = P();
|
|
644
644
|
C(r, function() {
|
|
645
645
|
return m.current;
|
|
646
646
|
}, []);
|
|
@@ -652,8 +652,8 @@ var Ve = ["className", "children", "themeColor", "fixedPadding", "tag"], W = Ze,
|
|
|
652
652
|
});
|
|
653
653
|
ae.displayName = "TypoLink";
|
|
654
654
|
ae.propTypes = Re;
|
|
655
|
-
var
|
|
656
|
-
var i = e.className, n = i === void 0 ? X.className : i, d = e.children, p = d === void 0 ? X.children : d, x = e.themeColor, o = x === void 0 ? X.themeColor : x, u = e.fixedPadding, c = u === void 0 ? X.fixedPadding : u, h = e.tag, l = h === void 0 ? X.tag : h, a = O(e,
|
|
655
|
+
var qe = ["className", "children", "themeColor", "fixedPadding", "tag"], X = Xe, K = /* @__PURE__ */ k(function(e, r) {
|
|
656
|
+
var i = e.className, n = i === void 0 ? X.className : i, d = e.children, p = d === void 0 ? X.children : d, x = e.themeColor, o = x === void 0 ? X.themeColor : x, u = e.fixedPadding, c = u === void 0 ? X.fixedPadding : u, h = e.tag, l = h === void 0 ? X.tag : h, a = O(e, qe), s = B("mdc-typography", "lmnt mdc-typography--overline", c && "typography--fixed-padding", o && "mdc-theme--".concat(E(o)), n), m = P();
|
|
657
657
|
C(r, function() {
|
|
658
658
|
return m.current;
|
|
659
659
|
}, []);
|
|
@@ -663,8 +663,8 @@ var Ye = ["className", "children", "themeColor", "fixedPadding", "tag"], X = Xe,
|
|
|
663
663
|
className: s
|
|
664
664
|
}, a), p);
|
|
665
665
|
});
|
|
666
|
-
|
|
667
|
-
|
|
666
|
+
K.displayName = "TypoOverline";
|
|
667
|
+
K.propTypes = We;
|
|
668
668
|
var Me = ["className", "children", "themeColor", "fixedPadding", "level", "tag", "bold"], S = _e, j = /* @__PURE__ */ k(function(e, r) {
|
|
669
669
|
var i = e.className, n = i === void 0 ? S.className : i, d = e.children, p = d === void 0 ? S.children : d, x = e.themeColor, o = x === void 0 ? S.themeColor : x, u = e.fixedPadding, c = u === void 0 ? S.fixedPadding : u, h = e.level, l = h === void 0 ? S.level : h, a = e.tag, s = a === void 0 ? S.tag : a, m = e.bold, f = m === void 0 ? S.bold : m, b = O(e, Me), v = B("mdc-typography", "lmnt mdc-typography--subtitle".concat(l || ""), c && "typography--fixed-padding", f && "mdc-typography--subtitle".concat(l || "", "-bold"), o && "mdc-theme--".concat(E(o)), n), D = P();
|
|
670
670
|
C(r, function() {
|
|
@@ -718,21 +718,21 @@ var Qe = ["bold", "children", "type", "themeColor", "fixedPadding", "tag"], G =
|
|
|
718
718
|
themeColor: o
|
|
719
719
|
}, a), n);
|
|
720
720
|
case "button":
|
|
721
|
-
return /* @__PURE__ */ g.createElement(
|
|
721
|
+
return /* @__PURE__ */ g.createElement(J, y({
|
|
722
722
|
tag: l,
|
|
723
723
|
ref: s,
|
|
724
724
|
fixedPadding: c,
|
|
725
725
|
themeColor: o
|
|
726
726
|
}, a), n);
|
|
727
727
|
case "caption":
|
|
728
|
-
return /* @__PURE__ */ g.createElement(
|
|
728
|
+
return /* @__PURE__ */ g.createElement(F, y({
|
|
729
729
|
tag: l,
|
|
730
730
|
ref: s,
|
|
731
731
|
fixedPadding: c,
|
|
732
732
|
themeColor: o
|
|
733
733
|
}, a), n);
|
|
734
734
|
case "caption-bold":
|
|
735
|
-
return /* @__PURE__ */ g.createElement(
|
|
735
|
+
return /* @__PURE__ */ g.createElement(F, y({
|
|
736
736
|
bold: !0,
|
|
737
737
|
tag: l,
|
|
738
738
|
ref: s,
|
|
@@ -794,7 +794,7 @@ var Qe = ["bold", "children", "type", "themeColor", "fixedPadding", "tag"], G =
|
|
|
794
794
|
themeColor: o
|
|
795
795
|
}, a), n);
|
|
796
796
|
case "overline":
|
|
797
|
-
return /* @__PURE__ */ g.createElement(
|
|
797
|
+
return /* @__PURE__ */ g.createElement(K, y({
|
|
798
798
|
tag: l,
|
|
799
799
|
ref: s,
|
|
800
800
|
fixedPadding: c,
|
|
@@ -856,5 +856,5 @@ export {
|
|
|
856
856
|
re as K,
|
|
857
857
|
L as N,
|
|
858
858
|
ne as O,
|
|
859
|
-
|
|
859
|
+
F as z
|
|
860
860
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as ze from "react";
|
|
2
2
|
import C, { useState as he, useRef as Ne, useEffect as q, useContext as ri, createContext as ki, useLayoutEffect as pf, useCallback as Ie, useImperativeHandle as an, forwardRef as He, useMemo as Ye, Fragment as _i, memo as ns, Component as Sm, createElement as rs } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { B as Qr, G as ph, M as mh, K as hh, y as gh, v as Tc } from "./index.es-
|
|
5
|
-
import { L as vh, S as ot, Y as bh, c as Ih, i as yh, u as Ch, n as Ah } from "./slicedToArray-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { q as zn, I as Mi, C as co, H as Rm, y as ii, T as mf, R as is, J as Lm, al as Gm, a3 as Bm, am as km, G as hf, a0 as gf, r as dt, h as Ve, e as De, k as pn, l as Ft, t as u, g as Nr, n as Ai, aj as Mm, ak as Vm, an as yc, ah as vf, ao as Pn, d as pr, ap as Cc, aq as sa, ar as Pm, Z as at, as as An, c as L, p as Et, f as _n, v as Nn, s as Tt, i as tn, m as no, at as Dm, X as wn, a as xt, b as nn, ai as Zo, B as Qa, au as bf, a6 as If, av as Fm, aw as Hm, _ as Wm, ax as Xm, ay as Zm, a4 as jm, E as zm, F as Jm, $ as Ym, az as Ac, af as Ec, ae as Tr, L as $m, aA as xc, j as yf, ag as Um, z as Km, Q as Qm, w as Cf, aB as qm, aC as eh, a8 as th, a9 as nh, aD as rh, aE as ih, a7 as oh, a2 as ah, a1 as lh, S as sh, aF as ch, aG as uh, aH as dh, aI as fh } from "./useTranslation-BQQybhSd.js";
|
|
4
|
+
import { B as Qr, G as ph, M as mh, K as hh, y as gh, v as Tc } from "./index.es--C-VLspF-B3Cy1zrT.js";
|
|
5
|
+
import { L as vh, S as ot, Y as bh, c as Ih, i as yh, u as Ch, n as Ah } from "./slicedToArray-ByMQIs5x-BsvSjTDl.js";
|
|
6
|
+
import { f as Sr, a as Rr } from "./component-Bz_dtX1r-DqCAj-DR.js";
|
|
7
|
+
import { U as Ni, p as wi, O as os, _ as $r, b as Dl, M as Eh } from "./component-DEJuY56h-CYiwt7Ga.js";
|
|
8
|
+
import { c as xh, d as Oc } from "./index.es-B8p8KCdj--cmqwwUJ.js";
|
|
9
|
+
import { I as ca, z as Th, K as Oh } from "./index.es-SjZ_-d7U-HvaOH_Z0.js";
|
|
10
|
+
import { j as _h, p as Nh, q as wh, h as Sh } from "./correct-is-regexp-logic-Y0ToWEjF-pByZFQLo.js";
|
|
10
11
|
import { createPortal as Rh } from "react-dom";
|
|
11
12
|
const Si = Math.min, qr = Math.max, ua = Math.round, jo = Math.floor, er = (e) => ({
|
|
12
13
|
x: e,
|
|
@@ -1292,7 +1293,7 @@ const Cg = ({ forwardRef: e, id: n, className: t, classNameArrow: i, variant: r
|
|
|
1292
1293
|
}, activeAnchor: X, place: Se.place, isOpen: !!(Ce && !I && Oe && ht) })), Ce && !I && Oe ? C.createElement(m, { id: n, role: x, className: Xl("react-tooltip", mi.tooltip, el.tooltip, el[r], t, `react-tooltip__place-${Se.place}`, mi[ht ? "show" : "closing"], ht ? "react-tooltip__show" : "react-tooltip__closing", f === "fixed" && mi.fixed, O && mi.clickable), onTransitionEnd: (K) => {
|
|
1293
1294
|
Bn(oe), Y || K.propertyName !== "opacity" || (Pe(!1), de(null), M == null || M());
|
|
1294
1295
|
}, style: { ...k, ...Se.tooltipStyles, opacity: W !== void 0 && ht ? W : void 0 }, ref: R }, Oe, C.createElement(m, { className: Xl("react-tooltip-arrow", mi.arrow, el.arrow, i, T && mi.noArrow), style: { ...Se.tooltipArrowStyles, background: V ? `linear-gradient(to right bottom, transparent 50%, ${V} 50%)` : void 0 }, ref: re })) : null;
|
|
1295
|
-
}, Ag = ({ content: e }) => C.createElement("span", { dangerouslySetInnerHTML: { __html: e } }),
|
|
1296
|
+
}, Ag = ({ content: e }) => C.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), JE = C.forwardRef(({ id: e, anchorId: n, anchorSelect: t, content: i, html: r, render: o, className: a, classNameArrow: l, variant: s = "dark", place: c = "top", offset: d = 10, wrapper: f = "div", children: h = null, events: m = ["hover"], openOnClick: v = !1, positionStrategy: b = "absolute", middlewares: g, delayShow: I = 0, delayHide: T = 0, float: O = !1, hidden: N = !1, noArrow: _ = !1, clickable: w = !1, closeOnEsc: E = !1, closeOnScroll: F = !1, closeOnResize: S = !1, openEvents: Z, closeEvents: k, globalCloseEvents: ee, imperativeModeOnly: J = !1, style: M, position: P, isOpen: ne, defaultIsOpen: z = !1, disableStyleInjection: j = !1, border: ce, opacity: ye, arrowColor: X, setIsOpen: H, afterShow: D, afterHide: W, disableTooltip: V, role: x = "tooltip" }, ae) => {
|
|
1296
1297
|
const [R, re] = he(i), [pe, ge] = he(r), [oe, Se] = he(c), [nt, Y] = he(s), [Re, Ce] = he(d), [Pe, $] = he(I), [de, Qe] = he(T), [$e, Ke] = he(O), [le, ke] = he(N), [ft, ve] = he(f), [Ee, lt] = he(m), [tt, Je] = he(b), [Lt, Ot] = he(null), [Fe, Pt] = he(null), pt = Ne(j), { anchorRefs: U, activeAnchor: me } = Bf(e), Ae = (Ge) => Ge == null ? void 0 : Ge.getAttributeNames().reduce((vt, Q) => {
|
|
1297
1298
|
var te;
|
|
1298
1299
|
return Q.startsWith("data-tooltip-") && (vt[Q.replace(/^data-tooltip-/, "")] = (te = Ge == null ? void 0 : Ge.getAttribute(Q)) !== null && te !== void 0 ? te : null), vt;
|
|
@@ -6926,7 +6927,7 @@ function Db() {
|
|
|
6926
6927
|
return Il = t, Il;
|
|
6927
6928
|
}
|
|
6928
6929
|
var Fb = Db();
|
|
6929
|
-
const
|
|
6930
|
+
const YE = /* @__PURE__ */ zn(Fb);
|
|
6930
6931
|
var Ju = {}, Yu;
|
|
6931
6932
|
function Hb() {
|
|
6932
6933
|
if (Yu) return Ju;
|
|
@@ -14348,13 +14349,13 @@ export {
|
|
|
14348
14349
|
La as B,
|
|
14349
14350
|
hI as C,
|
|
14350
14351
|
yI as E,
|
|
14351
|
-
|
|
14352
|
+
YE as I,
|
|
14352
14353
|
hr as J,
|
|
14353
14354
|
Hp as K,
|
|
14354
14355
|
pa as P,
|
|
14355
14356
|
ni as Q,
|
|
14356
14357
|
ju as T,
|
|
14357
|
-
|
|
14358
|
+
JE as V,
|
|
14358
14359
|
io as X,
|
|
14359
14360
|
Be as Z,
|
|
14360
14361
|
vI as a,
|