@akad/design-system 1.1.8 → 1.1.9
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/css/core.css +1 -1
- package/package.json +1 -1
- package/react/react-lib.js +540 -532
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Card/Card.config.d.ts +14 -0
- package/react/src/components/atoms/Card/Card.d.ts +2 -1
- package/react/src/components/atoms/Card/Card.stories.d.ts +15 -0
- package/scss/core/components/atoms/card.scss +24 -1
package/react/react-lib.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c, jsxs as O, Fragment as yt } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
function
|
|
2
|
+
import De, { useMemo as ue, useState as U, useEffect as Z, useRef as Ye, useCallback as Ce, useLayoutEffect as Bn, useId as us, forwardRef as $n } from "react";
|
|
3
|
+
const Mn = "pushClickEvent: missing required field(s). Required: eventLabel";
|
|
4
|
+
function Vn(t) {
|
|
5
5
|
return !!(t.eventLabel && typeof t.eventLabel == "string" && t.eventLabel.trim());
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Ln(t) {
|
|
8
8
|
var n;
|
|
9
|
-
if (!
|
|
10
|
-
throw new Error(
|
|
9
|
+
if (!Vn(t))
|
|
10
|
+
throw new Error(Mn);
|
|
11
11
|
if (!((n = globalThis.window) != null && n.dataLayer)) return;
|
|
12
12
|
const e = {};
|
|
13
13
|
Object.keys(t).forEach((a) => {
|
|
@@ -20,7 +20,7 @@ function Vn(t) {
|
|
|
20
20
|
};
|
|
21
21
|
globalThis.window.dataLayer.push(s);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function jn(t) {
|
|
24
24
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
25
25
|
}
|
|
26
26
|
var Bt = { exports: {} }, ot = { exports: {} }, Y = {};
|
|
@@ -33,7 +33,7 @@ var Bt = { exports: {} }, ot = { exports: {} }, Y = {};
|
|
|
33
33
|
* LICENSE file in the root directory of this source tree.
|
|
34
34
|
*/
|
|
35
35
|
var Yt;
|
|
36
|
-
function
|
|
36
|
+
function Pn() {
|
|
37
37
|
if (Yt) return Y;
|
|
38
38
|
Yt = 1;
|
|
39
39
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, r = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, y = t ? Symbol.for("react.suspense_list") : 60120, _ = t ? Symbol.for("react.memo") : 60115, S = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, w = t ? Symbol.for("react.responder") : 60118, F = t ? Symbol.for("react.scope") : 60119;
|
|
@@ -98,7 +98,7 @@ function jn() {
|
|
|
98
98
|
return typeof p == "string" || typeof p == "function" || p === n || p === d || p === r || p === a || p === f || p === y || typeof p == "object" && p !== null && (p.$$typeof === S || p.$$typeof === _ || p.$$typeof === i || p.$$typeof === o || p.$$typeof === h || p.$$typeof === g || p.$$typeof === w || p.$$typeof === F || p.$$typeof === v);
|
|
99
99
|
}, Y.typeOf = x, Y;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var X = {};
|
|
102
102
|
/** @license React v16.13.1
|
|
103
103
|
* react-is.development.js
|
|
104
104
|
*
|
|
@@ -107,9 +107,9 @@ var K = {};
|
|
|
107
107
|
* This source code is licensed under the MIT license found in the
|
|
108
108
|
* LICENSE file in the root directory of this source tree.
|
|
109
109
|
*/
|
|
110
|
-
var
|
|
111
|
-
function
|
|
112
|
-
return
|
|
110
|
+
var Xt;
|
|
111
|
+
function qn() {
|
|
112
|
+
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
113
113
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, r = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, y = t ? Symbol.for("react.suspense_list") : 60120, _ = t ? Symbol.for("react.memo") : 60115, S = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, w = t ? Symbol.for("react.responder") : 60118, F = t ? Symbol.for("react.scope") : 60119;
|
|
114
114
|
function x(k) {
|
|
115
115
|
return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -147,9 +147,9 @@ function Pn() {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
var p = u, C = d, N = o, H = i, q = e, ae = h, $ = n, W = S, se = _, ne = s, he = r, re = a, le = f,
|
|
150
|
+
var p = u, C = d, N = o, H = i, q = e, ae = h, $ = n, W = S, se = _, ne = s, he = r, re = a, le = f, we = !1;
|
|
151
151
|
function ye(k) {
|
|
152
|
-
return
|
|
152
|
+
return we || (we = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(k) || A(k) === u;
|
|
153
153
|
}
|
|
154
154
|
function m(k) {
|
|
155
155
|
return A(k) === d;
|
|
@@ -187,12 +187,12 @@ function Pn() {
|
|
|
187
187
|
function Q(k) {
|
|
188
188
|
return A(k) === f;
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
}()),
|
|
190
|
+
X.AsyncMode = p, X.ConcurrentMode = C, X.ContextConsumer = N, X.ContextProvider = H, X.Element = q, X.ForwardRef = ae, X.Fragment = $, X.Lazy = W, X.Memo = se, X.Portal = ne, X.Profiler = he, X.StrictMode = re, X.Suspense = le, X.isAsyncMode = ye, X.isConcurrentMode = m, X.isContextConsumer = E, X.isContextProvider = L, X.isElement = M, X.isForwardRef = B, X.isFragment = D, X.isLazy = V, X.isMemo = j, X.isPortal = z, X.isProfiler = b, X.isStrictMode = I, X.isSuspense = Q, X.isValidElementType = x, X.typeOf = A;
|
|
191
|
+
}()), X;
|
|
192
192
|
}
|
|
193
|
-
var
|
|
193
|
+
var Kt;
|
|
194
194
|
function cs() {
|
|
195
|
-
return
|
|
195
|
+
return Kt || (Kt = 1, process.env.NODE_ENV === "production" ? ot.exports = Pn() : ot.exports = qn()), ot.exports;
|
|
196
196
|
}
|
|
197
197
|
/*
|
|
198
198
|
object-assign
|
|
@@ -200,7 +200,7 @@ object-assign
|
|
|
200
200
|
@license MIT
|
|
201
201
|
*/
|
|
202
202
|
var Et, Gt;
|
|
203
|
-
function
|
|
203
|
+
function Un() {
|
|
204
204
|
if (Gt) return Et;
|
|
205
205
|
Gt = 1;
|
|
206
206
|
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
|
|
@@ -257,7 +257,7 @@ function ds() {
|
|
|
257
257
|
return Qt || (Qt = 1, At = Function.call.bind(Object.prototype.hasOwnProperty)), At;
|
|
258
258
|
}
|
|
259
259
|
var xt, Jt;
|
|
260
|
-
function
|
|
260
|
+
function zn() {
|
|
261
261
|
if (Jt) return xt;
|
|
262
262
|
Jt = 1;
|
|
263
263
|
var t = function() {
|
|
@@ -306,10 +306,10 @@ function Un() {
|
|
|
306
306
|
}, xt = a, xt;
|
|
307
307
|
}
|
|
308
308
|
var Ct, es;
|
|
309
|
-
function
|
|
309
|
+
function Hn() {
|
|
310
310
|
if (es) return Ct;
|
|
311
311
|
es = 1;
|
|
312
|
-
var t = cs(), e =
|
|
312
|
+
var t = cs(), e = Un(), s = Pt(), n = ds(), a = zn(), r = function() {
|
|
313
313
|
};
|
|
314
314
|
process.env.NODE_ENV !== "production" && (r = function(o) {
|
|
315
315
|
var u = "Warning: " + o;
|
|
@@ -488,7 +488,7 @@ function zn() {
|
|
|
488
488
|
var L = m[E];
|
|
489
489
|
if (typeof L != "function")
|
|
490
490
|
return r(
|
|
491
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
491
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(L) + " at index " + E + "."
|
|
492
492
|
), i;
|
|
493
493
|
}
|
|
494
494
|
function M(B, D, V, j, z) {
|
|
@@ -606,7 +606,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
606
606
|
}
|
|
607
607
|
return E;
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function we(m) {
|
|
610
610
|
var E = le(m);
|
|
611
611
|
switch (E) {
|
|
612
612
|
case "array":
|
|
@@ -627,7 +627,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
627
627
|
}, Ct;
|
|
628
628
|
}
|
|
629
629
|
var Dt, ts;
|
|
630
|
-
function
|
|
630
|
+
function Wn() {
|
|
631
631
|
if (ts) return Dt;
|
|
632
632
|
ts = 1;
|
|
633
633
|
var t = Pt();
|
|
@@ -675,13 +675,13 @@ function Hn() {
|
|
|
675
675
|
}, Dt;
|
|
676
676
|
}
|
|
677
677
|
if (process.env.NODE_ENV !== "production") {
|
|
678
|
-
var
|
|
679
|
-
Bt.exports =
|
|
678
|
+
var Yn = cs(), Xn = !0;
|
|
679
|
+
Bt.exports = Hn()(Yn.isElement, Xn);
|
|
680
680
|
} else
|
|
681
|
-
Bt.exports =
|
|
681
|
+
Bt.exports = Wn()();
|
|
682
682
|
var Kn = Bt.exports;
|
|
683
|
-
const l = /* @__PURE__ */
|
|
684
|
-
var ps = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(ps || {}), hs = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Outline = "outline", t.Text = "text", t))(hs || {}), fs = /* @__PURE__ */ ((t) => (t.Large = "lg", t.Medium = "md", t.Small = "sm", t))(fs || {}), gs = /* @__PURE__ */ ((t) => (t.Right = "right", t.Left = "left", t))(gs || {}),
|
|
683
|
+
const l = /* @__PURE__ */ jn(Kn);
|
|
684
|
+
var ps = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(ps || {}), hs = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Outline = "outline", t.Text = "text", t))(hs || {}), fs = /* @__PURE__ */ ((t) => (t.Large = "lg", t.Medium = "md", t.Small = "sm", t))(fs || {}), gs = /* @__PURE__ */ ((t) => (t.Right = "right", t.Left = "left", t))(gs || {}), Gn = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(Gn || {});
|
|
685
685
|
const G = {
|
|
686
686
|
name: "Button",
|
|
687
687
|
class: "ds-button",
|
|
@@ -795,7 +795,7 @@ const be = {
|
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
797
|
var nt = /* @__PURE__ */ ((t) => (t["primary-darker"] = "primary--darker", t["primary-dark"] = "primary--dark", t["primary-light"] = "primary--light", t["primary-lighter"] = "primary--lighter", t["primary-lightest"] = "primary--lightest", t["secondary-darker"] = "secondary--darker", t["secondary-dark"] = "secondary--dark", t["secondary-light"] = "secondary--light", t["secondary-lighter"] = "secondary--lighter", t["secondary-lightest"] = "secondary--lightest", t["success-dark"] = "success--dark", t["success-light"] = "success--light", t["success-lighter"] = "success--lighter", t["warning-dark"] = "warning--dark", t["warning-light"] = "warning--light", t["warning-lighter"] = "warning--lighter", t["danger-dark"] = "danger--dark", t["danger-light"] = "danger--light", t["danger-lighter"] = "danger--lighter", t["info-dark"] = "info--dark", t["info-light"] = "info--light", t["info-lighter"] = "info--lighter", t))(nt || {});
|
|
798
|
-
const
|
|
798
|
+
const Zn = {
|
|
799
799
|
bold: 700,
|
|
800
800
|
semibold: 600,
|
|
801
801
|
medium: 500,
|
|
@@ -813,7 +813,7 @@ const Gn = {
|
|
|
813
813
|
onClick: o = be.props.onClick.default
|
|
814
814
|
}) => {
|
|
815
815
|
const u = "material-symbols-rounded", d = e && be.props.color.options.find((f) => f === e) && `color__${nt[e] ?? e}`, h = ue(() => ({
|
|
816
|
-
fontVariationSettings: `'FILL' ${a ? 1 : 0}, 'GRAD' 0,'wght' ${
|
|
816
|
+
fontVariationSettings: `'FILL' ${a ? 1 : 0}, 'GRAD' 0,'wght' ${Zn[r]}, 'opsz' 48`
|
|
817
817
|
}), [r, a]);
|
|
818
818
|
return /* @__PURE__ */ c(
|
|
819
819
|
"i",
|
|
@@ -861,7 +861,7 @@ const ft = ({
|
|
|
861
861
|
trackingData: S
|
|
862
862
|
}) => {
|
|
863
863
|
const v = n && G.props.size.options.find((H) => H === n) ? `${G.class}--${n}` : `${G.class}__${G.props.size.default}`, g = a && `${G.class}--disabled`, w = `${G.class}__${h}--${d}`, F = u && `${G.class}--elevation-${u}`, x = r && `${G.class}--with-icon`, A = _ ? `${G.class}--full-size` : "", p = y === "right" ? `${G.class}__icon` : `${G.class}__icon--left`, C = y === "right" ? `${G.class}__text` : `${G.class}__text--reversed`, N = (H) => {
|
|
864
|
-
S &&
|
|
864
|
+
S && Ln(S), s && s(H);
|
|
865
865
|
};
|
|
866
866
|
return /* @__PURE__ */ c(
|
|
867
867
|
"button",
|
|
@@ -909,7 +909,7 @@ ft.propTypes = {
|
|
|
909
909
|
trackingData: l.object
|
|
910
910
|
};
|
|
911
911
|
ft.displayName = "DsButton";
|
|
912
|
-
const
|
|
912
|
+
const Qn = {
|
|
913
913
|
name: "Caption",
|
|
914
914
|
class: "ds-caption"
|
|
915
915
|
}, ks = ({
|
|
@@ -919,7 +919,7 @@ const Zn = {
|
|
|
919
919
|
}) => /* @__PURE__ */ c(
|
|
920
920
|
"p",
|
|
921
921
|
{
|
|
922
|
-
className: [
|
|
922
|
+
className: [Qn.class, e].filter((n) => n).join(" "),
|
|
923
923
|
"data-testid": s,
|
|
924
924
|
children: t
|
|
925
925
|
}
|
|
@@ -930,8 +930,8 @@ ks.propTypes = {
|
|
|
930
930
|
testId: l.string
|
|
931
931
|
};
|
|
932
932
|
ks.displayName = "DsCaption";
|
|
933
|
-
var $t = /* @__PURE__ */ ((t) => (t.None = "", t.PrimaryDarker = "primary-darker", t.PrimaryDark = "primary-dark", t.Primary = "primary", t.PrimaryLight = "primary-light", t.PrimaryLighter = "primary-lighter", t.PrimaryLightest = "primary-lightest", t.SecondaryDarker = "secondary-darker", t.SecondaryDark = "secondary-dark", t.Secondary = "secondary", t.SecondaryLight = "secondary-light", t.SecondaryLighter = "secondary-lighter", t.SecondaryLightest = "secondary-lightest", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.SuccessDark = "success-dark", t.Success = "success", t.SuccessLight = "success-light", t.SuccessLighter = "success-lighter", t.WarningDark = "warning-dark", t.Warning = "warning", t.WarningLight = "warning-light", t.WarningLighter = "warning-lighter", t.DangerDark = "danger-dark", t.Danger = "danger", t.DangerLight = "danger-light", t.DangerLighter = "danger-lighter", t.InfoDark = "info-dark", t.Info = "info", t.InfoLight = "info-light", t.InfoLighter = "info-lighter", t))($t || {}),
|
|
934
|
-
const
|
|
933
|
+
var $t = /* @__PURE__ */ ((t) => (t.None = "", t.PrimaryDarker = "primary-darker", t.PrimaryDark = "primary-dark", t.Primary = "primary", t.PrimaryLight = "primary-light", t.PrimaryLighter = "primary-lighter", t.PrimaryLightest = "primary-lightest", t.SecondaryDarker = "secondary-darker", t.SecondaryDark = "secondary-dark", t.Secondary = "secondary", t.SecondaryLight = "secondary-light", t.SecondaryLighter = "secondary-lighter", t.SecondaryLightest = "secondary-lightest", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.SuccessDark = "success-dark", t.Success = "success", t.SuccessLight = "success-light", t.SuccessLighter = "success-lighter", t.WarningDark = "warning-dark", t.Warning = "warning", t.WarningLight = "warning-light", t.WarningLighter = "warning-lighter", t.DangerDark = "danger-dark", t.Danger = "danger", t.DangerLight = "danger-light", t.DangerLighter = "danger-lighter", t.InfoDark = "info-dark", t.Info = "info", t.InfoLight = "info-light", t.InfoLighter = "info-lighter", t))($t || {}), bs = /* @__PURE__ */ ((t) => (t.None = "none", t.Quark = "quark", t.Nano = "nano", t.XXXS = "xxxs", t.XXS = "xxs", t.XS = "xs", t))(bs || {}), Jn = /* @__PURE__ */ ((t) => (t[t.Elevation = 0] = "Elevation", t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(Jn || {});
|
|
934
|
+
const Se = {
|
|
935
935
|
name: "Card",
|
|
936
936
|
class: "ds-card",
|
|
937
937
|
props: {
|
|
@@ -957,6 +957,11 @@ const Le = {
|
|
|
957
957
|
/* Elevation4 */
|
|
958
958
|
]
|
|
959
959
|
},
|
|
960
|
+
size: {
|
|
961
|
+
type: String,
|
|
962
|
+
default: "xxxs",
|
|
963
|
+
options: Object.values(bs)
|
|
964
|
+
},
|
|
960
965
|
id: {
|
|
961
966
|
type: String,
|
|
962
967
|
default: ""
|
|
@@ -966,40 +971,42 @@ const Le = {
|
|
|
966
971
|
default: "ds-card"
|
|
967
972
|
}
|
|
968
973
|
}
|
|
969
|
-
},
|
|
974
|
+
}, Ss = ({
|
|
970
975
|
id: t,
|
|
971
|
-
testId: e =
|
|
976
|
+
testId: e = Se.props.testId.default,
|
|
972
977
|
children: s,
|
|
973
978
|
className: n,
|
|
974
|
-
elevation: a =
|
|
975
|
-
backgroundColor: r =
|
|
976
|
-
borderColor: i =
|
|
979
|
+
elevation: a = Se.props.elevation.default,
|
|
980
|
+
backgroundColor: r = Se.props.backgroundColor.default,
|
|
981
|
+
borderColor: i = Se.props.borderColor.default,
|
|
982
|
+
size: o = Se.props.size.default
|
|
977
983
|
}) => {
|
|
978
|
-
const
|
|
984
|
+
const u = a && `elevation-${a}`, d = i && `border-color__${nt[i] ?? i}`, h = r && `bg-color__${nt[r] ?? r}`, f = o && Se.props.size.options.find((y) => y === o) ? `${Se.class}--${o}` : `${Se.class}--${Se.props.size.default}`;
|
|
979
985
|
return /* @__PURE__ */ c(
|
|
980
986
|
"div",
|
|
981
987
|
{
|
|
982
988
|
className: [
|
|
983
|
-
|
|
989
|
+
Se.class,
|
|
984
990
|
n,
|
|
985
|
-
o,
|
|
986
991
|
u,
|
|
987
|
-
d
|
|
988
|
-
|
|
992
|
+
d,
|
|
993
|
+
h,
|
|
994
|
+
f
|
|
995
|
+
].filter((y) => y).join(" "),
|
|
989
996
|
"data-testid": e,
|
|
990
997
|
id: t,
|
|
991
998
|
children: s
|
|
992
999
|
}
|
|
993
1000
|
);
|
|
994
1001
|
};
|
|
995
|
-
|
|
1002
|
+
Ss.propTypes = {
|
|
996
1003
|
id: l.string,
|
|
997
1004
|
testId: l.string,
|
|
998
|
-
backgroundColor: l.oneOf(
|
|
999
|
-
borderColor: l.oneOf(
|
|
1000
|
-
elevation: l.oneOf(
|
|
1005
|
+
backgroundColor: l.oneOf(Se.props.backgroundColor.options),
|
|
1006
|
+
borderColor: l.oneOf(Se.props.borderColor.options),
|
|
1007
|
+
elevation: l.oneOf(Se.props.elevation.options)
|
|
1001
1008
|
};
|
|
1002
|
-
|
|
1009
|
+
Ss.displayName = "DsCard";
|
|
1003
1010
|
const ge = {
|
|
1004
1011
|
name: "Checkbox",
|
|
1005
1012
|
class: "ds-checkbox",
|
|
@@ -1037,7 +1044,7 @@ const ge = {
|
|
|
1037
1044
|
default: () => ({})
|
|
1038
1045
|
}
|
|
1039
1046
|
}
|
|
1040
|
-
},
|
|
1047
|
+
}, Es = De.forwardRef(
|
|
1041
1048
|
({
|
|
1042
1049
|
id: t,
|
|
1043
1050
|
className: e,
|
|
@@ -1113,7 +1120,7 @@ const ge = {
|
|
|
1113
1120
|
);
|
|
1114
1121
|
}
|
|
1115
1122
|
);
|
|
1116
|
-
|
|
1123
|
+
Es.propTypes = {
|
|
1117
1124
|
label: l.oneOfType([l.string, l.element]),
|
|
1118
1125
|
name: l.string,
|
|
1119
1126
|
className: l.string,
|
|
@@ -1122,21 +1129,21 @@ Ss.propTypes = {
|
|
|
1122
1129
|
checked: l.bool,
|
|
1123
1130
|
disabled: l.bool
|
|
1124
1131
|
};
|
|
1125
|
-
|
|
1126
|
-
var
|
|
1127
|
-
const
|
|
1132
|
+
Es.displayName = "DsCheckbox";
|
|
1133
|
+
var ws = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(ws || {}), As = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Light = "light", t))(As || {}), gt = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t))(gt || {});
|
|
1134
|
+
const Be = {
|
|
1128
1135
|
name: "DsChip",
|
|
1129
1136
|
class: "ds-chip",
|
|
1130
1137
|
props: {
|
|
1131
1138
|
color: {
|
|
1132
1139
|
type: String,
|
|
1133
1140
|
default: "primary",
|
|
1134
|
-
options: Object.values(
|
|
1141
|
+
options: Object.values(ws)
|
|
1135
1142
|
},
|
|
1136
1143
|
variant: {
|
|
1137
1144
|
type: String,
|
|
1138
1145
|
default: "solid",
|
|
1139
|
-
options: Object.values(
|
|
1146
|
+
options: Object.values(As)
|
|
1140
1147
|
},
|
|
1141
1148
|
iconPosition: {
|
|
1142
1149
|
type: String,
|
|
@@ -1144,37 +1151,37 @@ const Re = {
|
|
|
1144
1151
|
options: Object.values(gt)
|
|
1145
1152
|
}
|
|
1146
1153
|
}
|
|
1147
|
-
},
|
|
1154
|
+
}, Ba = ({
|
|
1148
1155
|
label: t,
|
|
1149
|
-
color: e =
|
|
1150
|
-
variant: s =
|
|
1156
|
+
color: e = Be.props.color.default,
|
|
1157
|
+
variant: s = Be.props.variant.default,
|
|
1151
1158
|
icon: n,
|
|
1152
|
-
iconPosition: a =
|
|
1159
|
+
iconPosition: a = Be.props.iconPosition.default,
|
|
1153
1160
|
className: r,
|
|
1154
1161
|
title: i,
|
|
1155
1162
|
testId: o = "ds-chip"
|
|
1156
1163
|
}) => {
|
|
1157
1164
|
const u = [
|
|
1158
|
-
|
|
1159
|
-
`${
|
|
1160
|
-
n && `${
|
|
1161
|
-
n && `${
|
|
1165
|
+
Be.class,
|
|
1166
|
+
`${Be.class}__${e}--${s}`,
|
|
1167
|
+
n && `${Be.class}--with-icon`,
|
|
1168
|
+
n && `${Be.class}--icon-${a}`,
|
|
1162
1169
|
r
|
|
1163
1170
|
].filter(Boolean).join(" "), d = n ? /* @__PURE__ */ c(
|
|
1164
1171
|
"span",
|
|
1165
1172
|
{
|
|
1166
|
-
className: `${
|
|
1173
|
+
className: `${Be.class}__icon`,
|
|
1167
1174
|
"data-testid": `${o}-icon`,
|
|
1168
1175
|
children: n
|
|
1169
1176
|
}
|
|
1170
1177
|
) : null;
|
|
1171
1178
|
return /* @__PURE__ */ O("span", { className: u, "data-testid": o, title: i, children: [
|
|
1172
1179
|
a === gt.Left && d,
|
|
1173
|
-
/* @__PURE__ */ c("span", { className: `${
|
|
1180
|
+
/* @__PURE__ */ c("span", { className: `${Be.class}__label`, children: t }),
|
|
1174
1181
|
a === gt.Right && d
|
|
1175
1182
|
] });
|
|
1176
1183
|
};
|
|
1177
|
-
var
|
|
1184
|
+
var xs = /* @__PURE__ */ ((t) => (t.Heading1 = "heading-1", t.Heading2 = "heading-2", t.Heading3 = "heading-3", t.Heading4 = "heading-4", t.Heading5 = "heading-5", t.Heading6 = "heading-6", t))(xs || {});
|
|
1178
1185
|
const et = {
|
|
1179
1186
|
name: "Heading",
|
|
1180
1187
|
class: "ds-heading",
|
|
@@ -1182,7 +1189,7 @@ const et = {
|
|
|
1182
1189
|
type: {
|
|
1183
1190
|
type: String,
|
|
1184
1191
|
default: "heading-1",
|
|
1185
|
-
options: Object.values(
|
|
1192
|
+
options: Object.values(xs)
|
|
1186
1193
|
}
|
|
1187
1194
|
}
|
|
1188
1195
|
}, qt = ({
|
|
@@ -1214,7 +1221,7 @@ qt.propTypes = {
|
|
|
1214
1221
|
type: l.oneOf(et.props.type.options)
|
|
1215
1222
|
};
|
|
1216
1223
|
qt.displayName = "DsHeading";
|
|
1217
|
-
var
|
|
1224
|
+
var Cs = /* @__PURE__ */ ((t) => (t.None = "", t.Dashed = "dashed", t.Dotted = "dotted", t))(Cs || {}), Ds = /* @__PURE__ */ ((t) => (t.None = "", t.Small = "small", t.Large = "large", t))(Ds || {});
|
|
1218
1225
|
const He = {
|
|
1219
1226
|
name: "HR",
|
|
1220
1227
|
class: "ds-hr",
|
|
@@ -1222,12 +1229,12 @@ const He = {
|
|
|
1222
1229
|
borderStyle: {
|
|
1223
1230
|
type: String,
|
|
1224
1231
|
default: "",
|
|
1225
|
-
options: Object.values(
|
|
1232
|
+
options: Object.values(Cs)
|
|
1226
1233
|
},
|
|
1227
1234
|
size: {
|
|
1228
1235
|
type: String,
|
|
1229
1236
|
default: "",
|
|
1230
|
-
options: Object.values(
|
|
1237
|
+
options: Object.values(Ds)
|
|
1231
1238
|
}
|
|
1232
1239
|
}
|
|
1233
1240
|
};
|
|
@@ -1235,7 +1242,7 @@ function ss(t, e, s) {
|
|
|
1235
1242
|
const n = s.props[t];
|
|
1236
1243
|
return n.options && n.options.some((a) => a === e) ? `${s.class}--${e}` : "";
|
|
1237
1244
|
}
|
|
1238
|
-
const
|
|
1245
|
+
const Ts = ({
|
|
1239
1246
|
size: t = He.props.size.default,
|
|
1240
1247
|
borderStyle: e = He.props.borderStyle.default
|
|
1241
1248
|
}) => {
|
|
@@ -1247,11 +1254,11 @@ const Ds = ({
|
|
|
1247
1254
|
}
|
|
1248
1255
|
);
|
|
1249
1256
|
};
|
|
1250
|
-
|
|
1257
|
+
Ts.propTypes = {
|
|
1251
1258
|
size: l.oneOf(He.props.size.options),
|
|
1252
1259
|
borderStyle: l.oneOf(He.props.borderStyle.options)
|
|
1253
1260
|
};
|
|
1254
|
-
|
|
1261
|
+
Ts.displayName = "DsHR";
|
|
1255
1262
|
function je(t) {
|
|
1256
1263
|
return typeof t == "string" || t instanceof String;
|
|
1257
1264
|
}
|
|
@@ -1259,8 +1266,8 @@ function ns(t) {
|
|
|
1259
1266
|
var e;
|
|
1260
1267
|
return typeof t == "object" && t != null && (t == null || (e = t.constructor) == null ? void 0 : e.name) === "Object";
|
|
1261
1268
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return Array.isArray(e) ?
|
|
1269
|
+
function Fs(t, e) {
|
|
1270
|
+
return Array.isArray(e) ? Fs(t, (s, n) => e.includes(n)) : Object.entries(t).reduce((s, n) => {
|
|
1264
1271
|
let [a, r] = n;
|
|
1265
1272
|
return e(r, a) && (s[a] = r), s;
|
|
1266
1273
|
}, {});
|
|
@@ -1272,7 +1279,7 @@ const T = {
|
|
|
1272
1279
|
RIGHT: "RIGHT",
|
|
1273
1280
|
FORCE_RIGHT: "FORCE_RIGHT"
|
|
1274
1281
|
};
|
|
1275
|
-
function
|
|
1282
|
+
function ea(t) {
|
|
1276
1283
|
switch (t) {
|
|
1277
1284
|
case T.LEFT:
|
|
1278
1285
|
return T.FORCE_LEFT;
|
|
@@ -1310,7 +1317,7 @@ function mt(t, e) {
|
|
|
1310
1317
|
return e.toString() === t.toString();
|
|
1311
1318
|
return !1;
|
|
1312
1319
|
}
|
|
1313
|
-
class
|
|
1320
|
+
class ta {
|
|
1314
1321
|
/** Current input value */
|
|
1315
1322
|
/** Current cursor position */
|
|
1316
1323
|
/** Old input value */
|
|
@@ -1360,7 +1367,7 @@ class ea {
|
|
|
1360
1367
|
function R(t, e) {
|
|
1361
1368
|
return new R.InputMask(t, e);
|
|
1362
1369
|
}
|
|
1363
|
-
function
|
|
1370
|
+
function Os(t) {
|
|
1364
1371
|
if (t == null) throw new Error("mask property should be defined");
|
|
1365
1372
|
return t instanceof RegExp ? R.MaskedRegExp : je(t) ? R.MaskedPattern : t === Date ? R.MaskedDate : t === Number ? R.MaskedNumber : Array.isArray(t) || t === Array ? R.MaskedDynamic : R.Masked && t.prototype instanceof R.Masked ? t : R.Masked && t instanceof R.Masked ? t.constructor : t instanceof Function ? R.MaskedFunction : (console.warn("Mask not found for mask", t), R.Masked);
|
|
1366
1373
|
}
|
|
@@ -1379,7 +1386,7 @@ function at(t) {
|
|
|
1379
1386
|
if (e) {
|
|
1380
1387
|
const n = e.mask;
|
|
1381
1388
|
return {
|
|
1382
|
-
...
|
|
1389
|
+
...Fs(e, (a, r) => !r.startsWith("_")),
|
|
1383
1390
|
mask: e.constructor,
|
|
1384
1391
|
_mask: n,
|
|
1385
1392
|
...s
|
|
@@ -1392,13 +1399,13 @@ function at(t) {
|
|
|
1392
1399
|
mask: t
|
|
1393
1400
|
};
|
|
1394
1401
|
}
|
|
1395
|
-
function
|
|
1402
|
+
function Ve(t) {
|
|
1396
1403
|
if (R.Masked && t instanceof R.Masked) return t;
|
|
1397
|
-
const e = at(t), s =
|
|
1404
|
+
const e = at(t), s = Os(e.mask);
|
|
1398
1405
|
if (!s) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
|
|
1399
1406
|
return e.mask === s && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new s(e);
|
|
1400
1407
|
}
|
|
1401
|
-
R.createMask =
|
|
1408
|
+
R.createMask = Ve;
|
|
1402
1409
|
class Ut {
|
|
1403
1410
|
/** */
|
|
1404
1411
|
/** */
|
|
@@ -1438,7 +1445,7 @@ class Ut {
|
|
|
1438
1445
|
/** */
|
|
1439
1446
|
}
|
|
1440
1447
|
R.MaskElement = Ut;
|
|
1441
|
-
const as = 90,
|
|
1448
|
+
const as = 90, sa = 89;
|
|
1442
1449
|
class _t extends Ut {
|
|
1443
1450
|
/** HTMLElement to use mask on */
|
|
1444
1451
|
constructor(e) {
|
|
@@ -1457,7 +1464,7 @@ class _t extends Ut {
|
|
|
1457
1464
|
this.input.addEventListener("keydown", this._onKeydown), this.input.addEventListener("input", this._onInput), this.input.addEventListener("beforeinput", this._onBeforeinput), this.input.addEventListener("compositionend", this._onCompositionEnd), this.input.addEventListener("drop", e.drop), this.input.addEventListener("click", e.click), this.input.addEventListener("focus", e.focus), this.input.addEventListener("blur", e.commit), this._handlers = e;
|
|
1458
1465
|
}
|
|
1459
1466
|
_onKeydown(e) {
|
|
1460
|
-
if (this._handlers.redo && (e.keyCode === as && e.shiftKey && (e.metaKey || e.ctrlKey) || e.keyCode ===
|
|
1467
|
+
if (this._handlers.redo && (e.keyCode === as && e.shiftKey && (e.metaKey || e.ctrlKey) || e.keyCode === sa && e.ctrlKey))
|
|
1461
1468
|
return e.preventDefault(), this._handlers.redo(e);
|
|
1462
1469
|
if (this._handlers.undo && e.keyCode === as && (e.metaKey || e.ctrlKey))
|
|
1463
1470
|
return e.preventDefault(), this._handlers.undo(e);
|
|
@@ -1481,7 +1488,7 @@ class _t extends Ut {
|
|
|
1481
1488
|
}
|
|
1482
1489
|
}
|
|
1483
1490
|
R.HTMLMaskElement = _t;
|
|
1484
|
-
class
|
|
1491
|
+
class na extends _t {
|
|
1485
1492
|
/** InputElement to use mask on */
|
|
1486
1493
|
constructor(e) {
|
|
1487
1494
|
super(e), this.input = e;
|
|
@@ -1506,7 +1513,7 @@ class sa extends _t {
|
|
|
1506
1513
|
}
|
|
1507
1514
|
}
|
|
1508
1515
|
R.HTMLMaskElement = _t;
|
|
1509
|
-
class
|
|
1516
|
+
class Is extends _t {
|
|
1510
1517
|
/** Returns HTMLElement selection start */
|
|
1511
1518
|
get _unsafeSelectionStart() {
|
|
1512
1519
|
const e = this.rootElement, s = e.getSelection && e.getSelection(), n = s && s.anchorOffset, a = s && s.focusOffset;
|
|
@@ -1533,7 +1540,7 @@ class Os extends _t {
|
|
|
1533
1540
|
this.input.textContent = e;
|
|
1534
1541
|
}
|
|
1535
1542
|
}
|
|
1536
|
-
R.HTMLContenteditableMaskElement =
|
|
1543
|
+
R.HTMLContenteditableMaskElement = Is;
|
|
1537
1544
|
class kt {
|
|
1538
1545
|
constructor() {
|
|
1539
1546
|
this.states = [], this.currentIndex = 0;
|
|
@@ -1561,13 +1568,13 @@ class kt {
|
|
|
1561
1568
|
}
|
|
1562
1569
|
}
|
|
1563
1570
|
kt.MAX_LENGTH = 100;
|
|
1564
|
-
class
|
|
1571
|
+
class aa {
|
|
1565
1572
|
/**
|
|
1566
1573
|
View element
|
|
1567
1574
|
*/
|
|
1568
1575
|
/** Internal {@link Masked} model */
|
|
1569
1576
|
constructor(e, s) {
|
|
1570
|
-
this.el = e instanceof Ut ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new
|
|
1577
|
+
this.el = e instanceof Ut ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new Is(e) : new na(e), this.masked = Ve(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new kt(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
|
|
1571
1578
|
}
|
|
1572
1579
|
maskEquals(e) {
|
|
1573
1580
|
var s;
|
|
@@ -1579,13 +1586,13 @@ class na {
|
|
|
1579
1586
|
}
|
|
1580
1587
|
set mask(e) {
|
|
1581
1588
|
if (this.maskEquals(e)) return;
|
|
1582
|
-
if (!(e instanceof R.Masked) && this.masked.constructor ===
|
|
1589
|
+
if (!(e instanceof R.Masked) && this.masked.constructor === Os(e)) {
|
|
1583
1590
|
this.masked.updateOptions({
|
|
1584
1591
|
mask: e
|
|
1585
1592
|
});
|
|
1586
1593
|
return;
|
|
1587
1594
|
}
|
|
1588
|
-
const s = e instanceof R.Masked ? e :
|
|
1595
|
+
const s = e instanceof R.Masked ? e : Ve({
|
|
1589
1596
|
mask: e
|
|
1590
1597
|
});
|
|
1591
1598
|
s.unmaskedValue = this.masked.unmaskedValue, this.masked = s;
|
|
@@ -1726,7 +1733,7 @@ class na {
|
|
|
1726
1733
|
/** Handles view input event */
|
|
1727
1734
|
_onInput(e) {
|
|
1728
1735
|
this._inputEvent = e, this._abortUpdateCursor();
|
|
1729
|
-
const s = new
|
|
1736
|
+
const s = new ta({
|
|
1730
1737
|
// new state
|
|
1731
1738
|
value: this.el.value,
|
|
1732
1739
|
cursorPos: this.cursorPos,
|
|
@@ -1770,7 +1777,7 @@ class na {
|
|
|
1770
1777
|
this._unbindEvents(), this._listeners.length = 0, delete this.el;
|
|
1771
1778
|
}
|
|
1772
1779
|
}
|
|
1773
|
-
R.InputMask =
|
|
1780
|
+
R.InputMask = aa;
|
|
1774
1781
|
class P {
|
|
1775
1782
|
/** Inserted symbols */
|
|
1776
1783
|
/** Additional offset if any changes occurred before tail */
|
|
@@ -1803,7 +1810,7 @@ class P {
|
|
|
1803
1810
|
}
|
|
1804
1811
|
}
|
|
1805
1812
|
R.ChangeDetails = P;
|
|
1806
|
-
class
|
|
1813
|
+
class Re {
|
|
1807
1814
|
/** Tail value as string */
|
|
1808
1815
|
/** Tail start position */
|
|
1809
1816
|
/** Start position */
|
|
@@ -1943,11 +1950,11 @@ class de {
|
|
|
1943
1950
|
}
|
|
1944
1951
|
/** Extracts tail in range */
|
|
1945
1952
|
extractTail(e, s) {
|
|
1946
|
-
return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new
|
|
1953
|
+
return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new Re(this.extractInput(e, s), e);
|
|
1947
1954
|
}
|
|
1948
1955
|
/** Appends tail */
|
|
1949
1956
|
appendTail(e) {
|
|
1950
|
-
return je(e) && (e = new
|
|
1957
|
+
return je(e) && (e = new Re(String(e))), e.appendTo(this);
|
|
1951
1958
|
}
|
|
1952
1959
|
/** Appends char */
|
|
1953
1960
|
_appendCharRaw(e, s) {
|
|
@@ -2001,7 +2008,7 @@ class de {
|
|
|
2001
2008
|
/** Appends symbols considering flags */
|
|
2002
2009
|
append(e, s, n) {
|
|
2003
2010
|
if (!je(e)) throw new Error("value should be string");
|
|
2004
|
-
const a = je(n) ? new
|
|
2011
|
+
const a = je(n) ? new Re(String(n)) : n;
|
|
2005
2012
|
s != null && s.tail && (s._beforeTailState = this.state);
|
|
2006
2013
|
let r;
|
|
2007
2014
|
[e, r] = this.doPrepare(e, s);
|
|
@@ -2053,7 +2060,7 @@ class de {
|
|
|
2053
2060
|
});
|
|
2054
2061
|
const i = e + s, o = this.extractTail(i), u = this.eager === !0 || this.eager === "remove";
|
|
2055
2062
|
let d;
|
|
2056
|
-
u && (a =
|
|
2063
|
+
u && (a = ea(a), d = this.extractInput(0, i, {
|
|
2057
2064
|
raw: !0
|
|
2058
2065
|
}));
|
|
2059
2066
|
let h = e;
|
|
@@ -2097,11 +2104,11 @@ class We {
|
|
|
2097
2104
|
}
|
|
2098
2105
|
extend(e) {
|
|
2099
2106
|
if (!String(e)) return;
|
|
2100
|
-
e = je(e) ? new
|
|
2107
|
+
e = je(e) ? new Re(String(e)) : e;
|
|
2101
2108
|
const s = this.chunks[this.chunks.length - 1], n = s && // if stops are same or tail has no stop
|
|
2102
2109
|
(s.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
|
|
2103
2110
|
e.from === s.from + s.toString().length;
|
|
2104
|
-
if (e instanceof
|
|
2111
|
+
if (e instanceof Re)
|
|
2105
2112
|
n ? s.extend(e.toString()) : this.chunks.push(e);
|
|
2106
2113
|
else if (e instanceof We) {
|
|
2107
2114
|
if (e.stop == null) {
|
|
@@ -2114,7 +2121,7 @@ class We {
|
|
|
2114
2121
|
}
|
|
2115
2122
|
appendTo(e) {
|
|
2116
2123
|
if (!(e instanceof R.MaskedPattern))
|
|
2117
|
-
return new
|
|
2124
|
+
return new Re(this.toString()).appendTo(e);
|
|
2118
2125
|
const s = new P();
|
|
2119
2126
|
for (let n = 0; n < this.chunks.length; ++n) {
|
|
2120
2127
|
const a = this.chunks[n], r = e._mapPosToBlock(e.displayValue.length), i = a.stop;
|
|
@@ -2149,7 +2156,7 @@ class We {
|
|
|
2149
2156
|
...n
|
|
2150
2157
|
} = e;
|
|
2151
2158
|
Object.assign(this, n), this.chunks = s.map((a) => {
|
|
2152
|
-
const r = "chunks" in a ? new We() : new
|
|
2159
|
+
const r = "chunks" in a ? new We() : new Re();
|
|
2153
2160
|
return r.state = a, r;
|
|
2154
2161
|
});
|
|
2155
2162
|
}
|
|
@@ -2183,7 +2190,7 @@ class We {
|
|
|
2183
2190
|
return "";
|
|
2184
2191
|
}
|
|
2185
2192
|
}
|
|
2186
|
-
class
|
|
2193
|
+
class ra {
|
|
2187
2194
|
constructor(e, s) {
|
|
2188
2195
|
this.masked = e, this._log = [];
|
|
2189
2196
|
const {
|
|
@@ -2279,7 +2286,7 @@ class aa {
|
|
|
2279
2286
|
});
|
|
2280
2287
|
}
|
|
2281
2288
|
}
|
|
2282
|
-
class
|
|
2289
|
+
class Ns {
|
|
2283
2290
|
/** */
|
|
2284
2291
|
/** */
|
|
2285
2292
|
/** */
|
|
@@ -2351,10 +2358,10 @@ class Is {
|
|
|
2351
2358
|
return this.isFilled || (this._value = e.inserted = this.char), e;
|
|
2352
2359
|
}
|
|
2353
2360
|
extractTail() {
|
|
2354
|
-
return new
|
|
2361
|
+
return new Re("");
|
|
2355
2362
|
}
|
|
2356
2363
|
appendTail(e) {
|
|
2357
|
-
return je(e) && (e = new
|
|
2364
|
+
return je(e) && (e = new Re(String(e))), e.appendTo(this);
|
|
2358
2365
|
}
|
|
2359
2366
|
append(e, s, n) {
|
|
2360
2367
|
const a = this._appendChar(e[0], s);
|
|
@@ -2394,7 +2401,7 @@ class vt {
|
|
|
2394
2401
|
eager: o,
|
|
2395
2402
|
...u
|
|
2396
2403
|
} = e;
|
|
2397
|
-
this.masked =
|
|
2404
|
+
this.masked = Ve(u), Object.assign(this, {
|
|
2398
2405
|
parent: s,
|
|
2399
2406
|
isOptional: n,
|
|
2400
2407
|
placeholderChar: a,
|
|
@@ -2502,7 +2509,7 @@ vt.DEFAULT_DEFINITIONS = {
|
|
|
2502
2509
|
// http://stackoverflow.com/a/22075070
|
|
2503
2510
|
"*": /./
|
|
2504
2511
|
};
|
|
2505
|
-
class
|
|
2512
|
+
class ia extends de {
|
|
2506
2513
|
/** */
|
|
2507
2514
|
/** Enable characters overwriting */
|
|
2508
2515
|
/** */
|
|
@@ -2516,7 +2523,7 @@ class ra extends de {
|
|
|
2516
2523
|
s && (e.validate = (n) => n.search(s) >= 0), super._update(e);
|
|
2517
2524
|
}
|
|
2518
2525
|
}
|
|
2519
|
-
R.MaskedRegExp =
|
|
2526
|
+
R.MaskedRegExp = ia;
|
|
2520
2527
|
class pe extends de {
|
|
2521
2528
|
/** */
|
|
2522
2529
|
/** */
|
|
@@ -2569,7 +2576,7 @@ class pe extends de {
|
|
|
2569
2576
|
}, g = _ != null ? new R.RepeatBlock(
|
|
2570
2577
|
v
|
|
2571
2578
|
/* TODO */
|
|
2572
|
-
) :
|
|
2579
|
+
) : Ve(v);
|
|
2573
2580
|
g && (this._blocks.push(g), y && (this.exposeBlock = g), this._maskedBlocks[f] || (this._maskedBlocks[f] = []), this._maskedBlocks[f].push(this._blocks.length - 1)), r += f.length - 1;
|
|
2574
2581
|
continue;
|
|
2575
2582
|
}
|
|
@@ -2599,7 +2606,7 @@ class pe extends de {
|
|
|
2599
2606
|
displayChar: this.displayChar,
|
|
2600
2607
|
...at(e[i]),
|
|
2601
2608
|
parent: this
|
|
2602
|
-
}) : new
|
|
2609
|
+
}) : new Ns({
|
|
2603
2610
|
char: i,
|
|
2604
2611
|
eager: this.eager,
|
|
2605
2612
|
isUnmasking: n
|
|
@@ -2779,7 +2786,7 @@ class pe extends de {
|
|
|
2779
2786
|
}
|
|
2780
2787
|
nearestInputPos(e, s) {
|
|
2781
2788
|
if (s === void 0 && (s = T.NONE), !this._blocks.length) return 0;
|
|
2782
|
-
const n = new
|
|
2789
|
+
const n = new ra(this, e);
|
|
2783
2790
|
if (s === T.NONE)
|
|
2784
2791
|
return n.pushRightBeforeInput() || (n.popState(), n.pushLeftBeforeInput()) ? n.pos : this.displayValue.length;
|
|
2785
2792
|
if (s === T.LEFT || s === T.FORCE_LEFT) {
|
|
@@ -2824,7 +2831,7 @@ pe.DEFAULTS = {
|
|
|
2824
2831
|
pe.STOP_CHAR = "`";
|
|
2825
2832
|
pe.ESCAPE_CHAR = "\\";
|
|
2826
2833
|
pe.InputDefinition = vt;
|
|
2827
|
-
pe.FixedDefinition =
|
|
2834
|
+
pe.FixedDefinition = Ns;
|
|
2828
2835
|
R.MaskedPattern = pe;
|
|
2829
2836
|
class pt extends pe {
|
|
2830
2837
|
/**
|
|
@@ -2894,8 +2901,8 @@ class pt extends pe {
|
|
|
2894
2901
|
}
|
|
2895
2902
|
}
|
|
2896
2903
|
R.MaskedRange = pt;
|
|
2897
|
-
const
|
|
2898
|
-
class
|
|
2904
|
+
const la = "d{.}`m{.}`Y";
|
|
2905
|
+
class Me extends pe {
|
|
2899
2906
|
static extractPatternOptions(e) {
|
|
2900
2907
|
const {
|
|
2901
2908
|
mask: s,
|
|
@@ -2913,8 +2920,8 @@ class $e extends pe {
|
|
|
2913
2920
|
/** Format typed value to string */
|
|
2914
2921
|
/** Parse string to get typed value */
|
|
2915
2922
|
constructor(e) {
|
|
2916
|
-
super(
|
|
2917
|
-
|
|
2923
|
+
super(Me.extractPatternOptions({
|
|
2924
|
+
...Me.DEFAULTS,
|
|
2918
2925
|
...e
|
|
2919
2926
|
}));
|
|
2920
2927
|
}
|
|
@@ -2928,9 +2935,9 @@ class $e extends pe {
|
|
|
2928
2935
|
blocks: a,
|
|
2929
2936
|
...r
|
|
2930
2937
|
} = {
|
|
2931
|
-
|
|
2938
|
+
...Me.DEFAULTS,
|
|
2932
2939
|
...e
|
|
2933
|
-
}, i = Object.assign({},
|
|
2940
|
+
}, i = Object.assign({}, Me.GET_DEFAULT_BLOCKS());
|
|
2934
2941
|
e.min && (i.Y.from = e.min.getFullYear()), e.max && (i.Y.to = e.max.getFullYear()), e.min && e.max && i.Y.from === i.Y.to && (i.m.from = e.min.getMonth() + 1, i.m.to = e.max.getMonth() + 1, i.m.from === i.m.to && (i.d.from = e.min.getDate(), i.d.to = e.max.getDate())), Object.assign(i, this.blocks, a), super._update({
|
|
2935
2942
|
...r,
|
|
2936
2943
|
mask: je(s) ? s : n,
|
|
@@ -2962,10 +2969,10 @@ class $e extends pe {
|
|
|
2962
2969
|
return e === Date || super.maskEquals(e);
|
|
2963
2970
|
}
|
|
2964
2971
|
optionsIsChanged(e) {
|
|
2965
|
-
return super.optionsIsChanged(
|
|
2972
|
+
return super.optionsIsChanged(Me.extractPatternOptions(e));
|
|
2966
2973
|
}
|
|
2967
2974
|
}
|
|
2968
|
-
|
|
2975
|
+
Me.GET_DEFAULT_BLOCKS = () => ({
|
|
2969
2976
|
d: {
|
|
2970
2977
|
mask: pt,
|
|
2971
2978
|
from: 1,
|
|
@@ -2984,10 +2991,10 @@ $e.GET_DEFAULT_BLOCKS = () => ({
|
|
|
2984
2991
|
to: 9999
|
|
2985
2992
|
}
|
|
2986
2993
|
});
|
|
2987
|
-
|
|
2994
|
+
Me.DEFAULTS = {
|
|
2988
2995
|
...pe.DEFAULTS,
|
|
2989
2996
|
mask: Date,
|
|
2990
|
-
pattern:
|
|
2997
|
+
pattern: la,
|
|
2991
2998
|
format: (t, e) => {
|
|
2992
2999
|
if (!t) return "";
|
|
2993
3000
|
const s = String(t.getDate()).padStart(2, "0"), n = String(t.getMonth() + 1).padStart(2, "0"), a = t.getFullYear();
|
|
@@ -2998,7 +3005,7 @@ $e.DEFAULTS = {
|
|
|
2998
3005
|
return new Date(a, n - 1, s);
|
|
2999
3006
|
}
|
|
3000
3007
|
};
|
|
3001
|
-
R.MaskedDate =
|
|
3008
|
+
R.MaskedDate = Me;
|
|
3002
3009
|
class bt extends de {
|
|
3003
3010
|
constructor(e) {
|
|
3004
3011
|
super({
|
|
@@ -3014,7 +3021,7 @@ class bt extends de {
|
|
|
3014
3021
|
const {
|
|
3015
3022
|
expose: n,
|
|
3016
3023
|
...a
|
|
3017
|
-
} = at(s), r =
|
|
3024
|
+
} = at(s), r = Ve({
|
|
3018
3025
|
overwrite: this._overwrite,
|
|
3019
3026
|
eager: this._eager,
|
|
3020
3027
|
skipInvalid: this._skipInvalid,
|
|
@@ -3250,7 +3257,7 @@ class St extends pe {
|
|
|
3250
3257
|
});
|
|
3251
3258
|
}
|
|
3252
3259
|
extractTail(e, s) {
|
|
3253
|
-
return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new
|
|
3260
|
+
return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new Re("", e);
|
|
3254
3261
|
}
|
|
3255
3262
|
remove(e, s) {
|
|
3256
3263
|
if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s) return new P();
|
|
@@ -3270,7 +3277,7 @@ St.DEFAULTS = {
|
|
|
3270
3277
|
matchValue: (t, e, s) => t.indexOf(e, s) === s
|
|
3271
3278
|
};
|
|
3272
3279
|
R.MaskedEnum = St;
|
|
3273
|
-
class
|
|
3280
|
+
class oa extends de {
|
|
3274
3281
|
/** */
|
|
3275
3282
|
/** Enable characters overwriting */
|
|
3276
3283
|
/** */
|
|
@@ -3286,9 +3293,9 @@ class la extends de {
|
|
|
3286
3293
|
});
|
|
3287
3294
|
}
|
|
3288
3295
|
}
|
|
3289
|
-
R.MaskedFunction =
|
|
3290
|
-
var
|
|
3291
|
-
class
|
|
3296
|
+
R.MaskedFunction = oa;
|
|
3297
|
+
var Rs;
|
|
3298
|
+
class Ee extends de {
|
|
3292
3299
|
/** Single char */
|
|
3293
3300
|
/** Single char */
|
|
3294
3301
|
/** Array of single chars */
|
|
@@ -3305,7 +3312,7 @@ class Se extends de {
|
|
|
3305
3312
|
/** Parse string to get typed value */
|
|
3306
3313
|
constructor(e) {
|
|
3307
3314
|
super({
|
|
3308
|
-
...
|
|
3315
|
+
...Ee.DEFAULTS,
|
|
3309
3316
|
...e
|
|
3310
3317
|
});
|
|
3311
3318
|
}
|
|
@@ -3362,7 +3369,7 @@ class Se extends de {
|
|
|
3362
3369
|
let o = !isNaN(i), u = !1;
|
|
3363
3370
|
if (o) {
|
|
3364
3371
|
let y;
|
|
3365
|
-
this.min != null && this.min < 0 && this.number < this.min && (y = this.min), this.max != null && this.max > 0 && this.number > this.max && (y = this.max), y != null && (this.autofix ? (this._value = this.format(y, this).replace(
|
|
3372
|
+
this.min != null && this.min < 0 && this.number < this.min && (y = this.min), this.max != null && this.max > 0 && this.number > this.max && (y = this.max), y != null && (this.autofix ? (this._value = this.format(y, this).replace(Ee.UNMASKED_RADIX, this.radix), u || (u = r === this._value && !s.tail)) : o = !1), o && (o = !!this._value.match(this._numberRegExp));
|
|
3366
3373
|
}
|
|
3367
3374
|
let d;
|
|
3368
3375
|
o ? d = new P({
|
|
@@ -3439,11 +3446,11 @@ class Se extends de {
|
|
|
3439
3446
|
}
|
|
3440
3447
|
doSkipInvalid(e, s, n) {
|
|
3441
3448
|
s === void 0 && (s = {});
|
|
3442
|
-
const a = this.scale === 0 && e !== this.thousandsSeparator && (e === this.radix || e ===
|
|
3449
|
+
const a = this.scale === 0 && e !== this.thousandsSeparator && (e === this.radix || e === Ee.UNMASKED_RADIX || this.mapToRadix.includes(e));
|
|
3443
3450
|
return super.doSkipInvalid(e, s, n) && !a;
|
|
3444
3451
|
}
|
|
3445
3452
|
get unmaskedValue() {
|
|
3446
|
-
return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,
|
|
3453
|
+
return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, Ee.UNMASKED_RADIX);
|
|
3447
3454
|
}
|
|
3448
3455
|
set unmaskedValue(e) {
|
|
3449
3456
|
super.unmaskedValue = e;
|
|
@@ -3452,7 +3459,7 @@ class Se extends de {
|
|
|
3452
3459
|
return this.parse(this.unmaskedValue, this);
|
|
3453
3460
|
}
|
|
3454
3461
|
set typedValue(e) {
|
|
3455
|
-
this.rawInputValue = this.format(e, this).replace(
|
|
3462
|
+
this.rawInputValue = this.format(e, this).replace(Ee.UNMASKED_RADIX, this.radix);
|
|
3456
3463
|
}
|
|
3457
3464
|
/** Parsed Number */
|
|
3458
3465
|
get number() {
|
|
@@ -3468,18 +3475,18 @@ class Se extends de {
|
|
|
3468
3475
|
return this.min != null && this.min > 0 || this.max != null && this.max > 0;
|
|
3469
3476
|
}
|
|
3470
3477
|
typedValueEquals(e) {
|
|
3471
|
-
return (super.typedValueEquals(e) ||
|
|
3478
|
+
return (super.typedValueEquals(e) || Ee.EMPTY_VALUES.includes(e) && Ee.EMPTY_VALUES.includes(this.typedValue)) && !(e === 0 && this.value === "");
|
|
3472
3479
|
}
|
|
3473
3480
|
}
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3481
|
+
Rs = Ee;
|
|
3482
|
+
Ee.UNMASKED_RADIX = ".";
|
|
3483
|
+
Ee.EMPTY_VALUES = [...de.EMPTY_VALUES, 0];
|
|
3484
|
+
Ee.DEFAULTS = {
|
|
3478
3485
|
...de.DEFAULTS,
|
|
3479
3486
|
mask: Number,
|
|
3480
3487
|
radix: ",",
|
|
3481
3488
|
thousandsSeparator: "",
|
|
3482
|
-
mapToRadix: [
|
|
3489
|
+
mapToRadix: [Rs.UNMASKED_RADIX],
|
|
3483
3490
|
min: Number.MIN_SAFE_INTEGER,
|
|
3484
3491
|
max: Number.MAX_SAFE_INTEGER,
|
|
3485
3492
|
scale: 2,
|
|
@@ -3491,24 +3498,24 @@ Se.DEFAULTS = {
|
|
|
3491
3498
|
maximumFractionDigits: 20
|
|
3492
3499
|
})
|
|
3493
3500
|
};
|
|
3494
|
-
R.MaskedNumber =
|
|
3501
|
+
R.MaskedNumber = Ee;
|
|
3495
3502
|
const Mt = {
|
|
3496
3503
|
MASKED: "value",
|
|
3497
3504
|
UNMASKED: "unmaskedValue",
|
|
3498
3505
|
TYPED: "typedValue"
|
|
3499
3506
|
};
|
|
3500
|
-
function
|
|
3507
|
+
function Bs(t, e, s) {
|
|
3501
3508
|
e === void 0 && (e = Mt.MASKED), s === void 0 && (s = Mt.MASKED);
|
|
3502
|
-
const n =
|
|
3509
|
+
const n = Ve(t);
|
|
3503
3510
|
return (a) => n.runIsolated((r) => (r[e] = a, r[s]));
|
|
3504
3511
|
}
|
|
3505
|
-
function
|
|
3506
|
-
return
|
|
3512
|
+
function ua(t, e, s, n) {
|
|
3513
|
+
return Bs(e, s, n)(t);
|
|
3507
3514
|
}
|
|
3508
3515
|
R.PIPE_TYPE = Mt;
|
|
3509
|
-
R.createPipe =
|
|
3510
|
-
R.pipe =
|
|
3511
|
-
class
|
|
3516
|
+
R.createPipe = Bs;
|
|
3517
|
+
R.pipe = ua;
|
|
3518
|
+
class ca extends pe {
|
|
3512
3519
|
get repeatFrom() {
|
|
3513
3520
|
var e;
|
|
3514
3521
|
return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
|
|
@@ -3530,7 +3537,7 @@ class ua extends pe {
|
|
|
3530
3537
|
...i
|
|
3531
3538
|
} = at(e);
|
|
3532
3539
|
this._blockOpts = Object.assign({}, this._blockOpts, i);
|
|
3533
|
-
const o =
|
|
3540
|
+
const o = Ve(this._blockOpts);
|
|
3534
3541
|
this.repeat = (s = (n = r ?? o.repeat) != null ? n : this.repeat) != null ? s : 1 / 0, super._update({
|
|
3535
3542
|
mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((a = this._blocks) == null ? void 0 : a.length) || 0, this.repeatFrom)),
|
|
3536
3543
|
blocks: {
|
|
@@ -3547,7 +3554,7 @@ class ua extends pe {
|
|
|
3547
3554
|
_allocateBlock(e) {
|
|
3548
3555
|
if (e < this._blocks.length) return this._blocks[e];
|
|
3549
3556
|
if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
|
|
3550
|
-
return this._blocks.push(
|
|
3557
|
+
return this._blocks.push(Ve(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
|
|
3551
3558
|
}
|
|
3552
3559
|
_appendCharRaw(e, s) {
|
|
3553
3560
|
s === void 0 && (s = {});
|
|
@@ -3601,12 +3608,12 @@ class ua extends pe {
|
|
|
3601
3608
|
this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
|
|
3602
3609
|
}
|
|
3603
3610
|
}
|
|
3604
|
-
R.RepeatBlock =
|
|
3611
|
+
R.RepeatBlock = ca;
|
|
3605
3612
|
try {
|
|
3606
3613
|
globalThis.IMask = R;
|
|
3607
3614
|
} catch {
|
|
3608
3615
|
}
|
|
3609
|
-
const
|
|
3616
|
+
const $s = {
|
|
3610
3617
|
// common
|
|
3611
3618
|
mask: l.oneOfType([l.array, l.func, l.string, l.instanceOf(RegExp), l.oneOf([Date, Number, R.Masked]), l.instanceOf(R.Masked)]),
|
|
3612
3619
|
value: l.any,
|
|
@@ -3653,10 +3660,10 @@ const Bs = {
|
|
|
3653
3660
|
inputRef: l.oneOfType([l.func, l.shape({
|
|
3654
3661
|
current: l.object
|
|
3655
3662
|
})])
|
|
3656
|
-
},
|
|
3657
|
-
function
|
|
3663
|
+
}, Ms = Object.keys($s).filter((t) => t !== "value"), da = ["value", "unmask", "onAccept", "onComplete", "inputRef"], pa = Ms.filter((t) => da.indexOf(t) < 0);
|
|
3664
|
+
function ha(t) {
|
|
3658
3665
|
var e;
|
|
3659
|
-
const s = (e = class extends
|
|
3666
|
+
const s = (e = class extends De.Component {
|
|
3660
3667
|
constructor(r) {
|
|
3661
3668
|
super(r), this._inputRef = this._inputRef.bind(this);
|
|
3662
3669
|
}
|
|
@@ -3688,7 +3695,7 @@ function pa(t) {
|
|
|
3688
3695
|
const {
|
|
3689
3696
|
...i
|
|
3690
3697
|
} = r;
|
|
3691
|
-
return Object.keys(i).filter((o) =>
|
|
3698
|
+
return Object.keys(i).filter((o) => pa.indexOf(o) < 0).forEach((o) => {
|
|
3692
3699
|
delete i[o];
|
|
3693
3700
|
}), i;
|
|
3694
3701
|
}
|
|
@@ -3696,7 +3703,7 @@ function pa(t) {
|
|
|
3696
3703
|
const {
|
|
3697
3704
|
...i
|
|
3698
3705
|
} = r;
|
|
3699
|
-
return
|
|
3706
|
+
return Ms.forEach((o) => {
|
|
3700
3707
|
o !== "maxLength" && delete i[o];
|
|
3701
3708
|
}), "defaultValue" in i || (i.defaultValue = r.mask ? "" : i.value), delete i.value, i;
|
|
3702
3709
|
}
|
|
@@ -3713,32 +3720,32 @@ function pa(t) {
|
|
|
3713
3720
|
this.props.onComplete && this.maskRef && this.props.onComplete(this.maskValue, this.maskRef, r);
|
|
3714
3721
|
}
|
|
3715
3722
|
render() {
|
|
3716
|
-
return
|
|
3723
|
+
return De.createElement(t, {
|
|
3717
3724
|
...this._extractNonMaskProps(this.props),
|
|
3718
3725
|
inputRef: this._inputRef
|
|
3719
3726
|
});
|
|
3720
3727
|
}
|
|
3721
3728
|
}, e.displayName = void 0, e.propTypes = void 0, e), n = t.displayName || t.name || "Component";
|
|
3722
|
-
return s.displayName = "IMask(" + n + ")", s.propTypes =
|
|
3729
|
+
return s.displayName = "IMask(" + n + ")", s.propTypes = $s, De.forwardRef((a, r) => De.createElement(s, {
|
|
3723
3730
|
...a,
|
|
3724
3731
|
ref: r
|
|
3725
3732
|
}));
|
|
3726
3733
|
}
|
|
3727
|
-
const
|
|
3734
|
+
const fa = ha((t) => {
|
|
3728
3735
|
let {
|
|
3729
3736
|
inputRef: e,
|
|
3730
3737
|
...s
|
|
3731
3738
|
} = t;
|
|
3732
|
-
return
|
|
3739
|
+
return De.createElement("input", {
|
|
3733
3740
|
...s,
|
|
3734
3741
|
ref: e
|
|
3735
3742
|
});
|
|
3736
|
-
}),
|
|
3743
|
+
}), ga = (t, e) => De.createElement(fa, {
|
|
3737
3744
|
...t,
|
|
3738
3745
|
ref: e
|
|
3739
3746
|
});
|
|
3740
|
-
|
|
3741
|
-
function
|
|
3747
|
+
De.forwardRef(ga);
|
|
3748
|
+
function ma(t, e) {
|
|
3742
3749
|
let {
|
|
3743
3750
|
onAccept: s,
|
|
3744
3751
|
onComplete: n,
|
|
@@ -3747,20 +3754,20 @@ function ga(t, e) {
|
|
|
3747
3754
|
defaultUnmaskedValue: i,
|
|
3748
3755
|
defaultTypedValue: o
|
|
3749
3756
|
} = e === void 0 ? {} : e;
|
|
3750
|
-
const u = Ye(null), [d, h] = U({}), [f, y] = U(""), [_, S] = U(""), [v, g] = U(), w =
|
|
3757
|
+
const u = Ye(null), [d, h] = U({}), [f, y] = U(""), [_, S] = U(""), [v, g] = U(), w = Ce(() => {
|
|
3751
3758
|
var p;
|
|
3752
3759
|
(p = u.current) == null || p.destroy(), u.current = null;
|
|
3753
|
-
}, []), F =
|
|
3760
|
+
}, []), F = Ce(() => {
|
|
3754
3761
|
const p = u.current;
|
|
3755
3762
|
p && (h({
|
|
3756
3763
|
value: p.value,
|
|
3757
3764
|
unmaskedValue: p.unmaskedValue,
|
|
3758
3765
|
typedValue: p.typedValue
|
|
3759
3766
|
}), g(p.typedValue), S(p.unmaskedValue), y(p.value));
|
|
3760
|
-
}, []), x =
|
|
3767
|
+
}, []), x = Ce((p) => {
|
|
3761
3768
|
const C = u.current;
|
|
3762
3769
|
C && (F(), s == null || s(C.value, C, p));
|
|
3763
|
-
}, [s]), A =
|
|
3770
|
+
}, [s]), A = Ce((p) => u.current && (n == null ? void 0 : n(u.current.value, u.current, p)), [n]);
|
|
3764
3771
|
return Z(() => {
|
|
3765
3772
|
const {
|
|
3766
3773
|
value: p,
|
|
@@ -3801,7 +3808,7 @@ function ga(t, e) {
|
|
|
3801
3808
|
setTypedValue: g
|
|
3802
3809
|
};
|
|
3803
3810
|
}
|
|
3804
|
-
var
|
|
3811
|
+
var Vs = /* @__PURE__ */ ((t) => (t.Text = "text", t.Password = "password", t.Email = "email", t.Date = "date", t.Number = "number", t))(Vs || {}), Ls = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Ls || {}), js = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Success = "success", t))(js || {}), Ps = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(Ps || {}), qs = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(qs || {});
|
|
3805
3812
|
const J = {
|
|
3806
3813
|
name: "Input",
|
|
3807
3814
|
class: "ds-input",
|
|
@@ -3817,7 +3824,7 @@ const J = {
|
|
|
3817
3824
|
type: {
|
|
3818
3825
|
type: String,
|
|
3819
3826
|
default: "text",
|
|
3820
|
-
options: Object.values(
|
|
3827
|
+
options: Object.values(Vs)
|
|
3821
3828
|
},
|
|
3822
3829
|
animated: {
|
|
3823
3830
|
type: Boolean,
|
|
@@ -3830,7 +3837,7 @@ const J = {
|
|
|
3830
3837
|
size: {
|
|
3831
3838
|
type: String,
|
|
3832
3839
|
default: "medium",
|
|
3833
|
-
options: Object.values(
|
|
3840
|
+
options: Object.values(Ls)
|
|
3834
3841
|
},
|
|
3835
3842
|
label: {
|
|
3836
3843
|
type: String,
|
|
@@ -3855,7 +3862,7 @@ const J = {
|
|
|
3855
3862
|
status: {
|
|
3856
3863
|
type: String,
|
|
3857
3864
|
default: "",
|
|
3858
|
-
options: Object.values(
|
|
3865
|
+
options: Object.values(js)
|
|
3859
3866
|
},
|
|
3860
3867
|
feedback: {
|
|
3861
3868
|
type: String,
|
|
@@ -3880,12 +3887,12 @@ const J = {
|
|
|
3880
3887
|
tooltipPlacement: {
|
|
3881
3888
|
type: String,
|
|
3882
3889
|
default: "center",
|
|
3883
|
-
options: Object.values(
|
|
3890
|
+
options: Object.values(Ps)
|
|
3884
3891
|
},
|
|
3885
3892
|
tooltipPosition: {
|
|
3886
3893
|
type: String,
|
|
3887
3894
|
default: "top",
|
|
3888
|
-
options: Object.values(
|
|
3895
|
+
options: Object.values(qs)
|
|
3889
3896
|
},
|
|
3890
3897
|
mask: {
|
|
3891
3898
|
type: String,
|
|
@@ -3942,20 +3949,20 @@ const J = {
|
|
|
3942
3949
|
dispatch: (t, e) => (e.value + t).replace(/\D/g, "").length <= 10 ? e.compiledMasks[0] : e.compiledMasks[1]
|
|
3943
3950
|
}
|
|
3944
3951
|
};
|
|
3945
|
-
var
|
|
3946
|
-
const
|
|
3952
|
+
var Us = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(Us || {}), zs = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(zs || {});
|
|
3953
|
+
const Ie = {
|
|
3947
3954
|
name: "Tooltip",
|
|
3948
3955
|
class: "ds-tooltip",
|
|
3949
3956
|
props: {
|
|
3950
3957
|
position: {
|
|
3951
3958
|
type: String,
|
|
3952
3959
|
default: "top",
|
|
3953
|
-
options: Object.values(
|
|
3960
|
+
options: Object.values(Us)
|
|
3954
3961
|
},
|
|
3955
3962
|
placement: {
|
|
3956
3963
|
type: String,
|
|
3957
3964
|
default: "center",
|
|
3958
|
-
options: Object.values(
|
|
3965
|
+
options: Object.values(zs)
|
|
3959
3966
|
},
|
|
3960
3967
|
text: {
|
|
3961
3968
|
type: String,
|
|
@@ -3968,19 +3975,19 @@ const Oe = {
|
|
|
3968
3975
|
}
|
|
3969
3976
|
}, Ge = ({
|
|
3970
3977
|
children: t,
|
|
3971
|
-
position: e =
|
|
3972
|
-
placement: s =
|
|
3973
|
-
text: n =
|
|
3974
|
-
testId: a =
|
|
3978
|
+
position: e = Ie.props.position.default,
|
|
3979
|
+
placement: s = Ie.props.placement.default,
|
|
3980
|
+
text: n = Ie.props.text.default,
|
|
3981
|
+
testId: a = Ie.props.testId.default,
|
|
3975
3982
|
className: r
|
|
3976
3983
|
}) => {
|
|
3977
|
-
const i = Ye(null), [o, u] = U(0), [d, h] = U(0), [f, y] = U(!1), _ = e &&
|
|
3984
|
+
const i = Ye(null), [o, u] = U(0), [d, h] = U(0), [f, y] = U(!1), _ = e && Ie.props.position.options.find(
|
|
3978
3985
|
(w) => w === e
|
|
3979
|
-
) && `${
|
|
3986
|
+
) && `${Ie.class}--${e}`, S = s && Ie.props.placement.options.find(
|
|
3980
3987
|
(w) => w === s
|
|
3981
|
-
) && `${
|
|
3988
|
+
) && `${Ie.class}--${s}`;
|
|
3982
3989
|
let v;
|
|
3983
|
-
|
|
3990
|
+
Bn(() => {
|
|
3984
3991
|
var w, F;
|
|
3985
3992
|
i.current && (u((w = i == null ? void 0 : i.current) == null ? void 0 : w.offsetHeight), h((F = i == null ? void 0 : i.current) == null ? void 0 : F.offsetWidth));
|
|
3986
3993
|
}, []);
|
|
@@ -4042,7 +4049,7 @@ const Oe = {
|
|
|
4042
4049
|
return /* @__PURE__ */ O(
|
|
4043
4050
|
"div",
|
|
4044
4051
|
{
|
|
4045
|
-
className: [
|
|
4052
|
+
className: [Ie.class, r].join(" "),
|
|
4046
4053
|
"data-testid": a,
|
|
4047
4054
|
onMouseEnter: () => y(!0),
|
|
4048
4055
|
onMouseLeave: () => y(!1),
|
|
@@ -4057,7 +4064,7 @@ const Oe = {
|
|
|
4057
4064
|
children: /* @__PURE__ */ c(
|
|
4058
4065
|
"span",
|
|
4059
4066
|
{
|
|
4060
|
-
className: `${
|
|
4067
|
+
className: `${Ie.class}__wrapper`,
|
|
4061
4068
|
"data-testid": "ds-tooltip-wrapper",
|
|
4062
4069
|
style: v,
|
|
4063
4070
|
children: n
|
|
@@ -4076,7 +4083,7 @@ Ge.propTypes = {
|
|
|
4076
4083
|
testId: l.string
|
|
4077
4084
|
};
|
|
4078
4085
|
Ge.displayName = "DsTooltip";
|
|
4079
|
-
const rt =
|
|
4086
|
+
const rt = De.forwardRef(
|
|
4080
4087
|
({
|
|
4081
4088
|
name: t,
|
|
4082
4089
|
testId: e = J.props.testId.default,
|
|
@@ -4123,7 +4130,7 @@ const rt = Ce.forwardRef(
|
|
|
4123
4130
|
min: u,
|
|
4124
4131
|
max: d,
|
|
4125
4132
|
lazy: !0
|
|
4126
|
-
} : { mask: A ?? "", min: u, max: d, lazy: !0 }, [A]), { ref: le, setUnmaskedValue:
|
|
4133
|
+
} : { mask: A ?? "", min: u, max: d, lazy: !0 }, [A]), { ref: le, setUnmaskedValue: we } = ma(
|
|
4127
4134
|
re,
|
|
4128
4135
|
{
|
|
4129
4136
|
onAccept: he
|
|
@@ -4146,8 +4153,8 @@ const rt = Ce.forwardRef(
|
|
|
4146
4153
|
return (ae || o) && b.push(`${J.class}__label--active`), b.join(" ");
|
|
4147
4154
|
}, [o, ae]), j = () => !n && i ? i : "", z = () => S && S === "error" ? "info" : "check_circle";
|
|
4148
4155
|
return Z(() => {
|
|
4149
|
-
A &&
|
|
4150
|
-
}, [o, A,
|
|
4156
|
+
A && we(o ?? "");
|
|
4157
|
+
}, [o, A, we]), /* @__PURE__ */ O("div", { className: D(), ref: q, children: [
|
|
4151
4158
|
g && /* @__PURE__ */ c("div", { className: "ds-input__feedback", children: v && /* @__PURE__ */ O(yt, { children: [
|
|
4152
4159
|
/* @__PURE__ */ c(ee, { image: z() }),
|
|
4153
4160
|
v
|
|
@@ -4224,7 +4231,7 @@ rt.propTypes = {
|
|
|
4224
4231
|
onFocusHandler: l.func
|
|
4225
4232
|
};
|
|
4226
4233
|
rt.displayName = "DsInput";
|
|
4227
|
-
var
|
|
4234
|
+
var Hs = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Hs || {}), Ws = /* @__PURE__ */ ((t) => (t.None = "", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t))(Ws || {});
|
|
4228
4235
|
const ke = {
|
|
4229
4236
|
name: "Loading",
|
|
4230
4237
|
class: "ds-loading",
|
|
@@ -4232,7 +4239,7 @@ const ke = {
|
|
|
4232
4239
|
size: {
|
|
4233
4240
|
type: String,
|
|
4234
4241
|
default: "medium",
|
|
4235
|
-
options: Object.values(
|
|
4242
|
+
options: Object.values(Hs)
|
|
4236
4243
|
},
|
|
4237
4244
|
opacity: {
|
|
4238
4245
|
type: Boolean,
|
|
@@ -4245,7 +4252,7 @@ const ke = {
|
|
|
4245
4252
|
backgroundColor: {
|
|
4246
4253
|
type: String,
|
|
4247
4254
|
default: "neutral-10",
|
|
4248
|
-
options: Object.values(
|
|
4255
|
+
options: Object.values(Ws)
|
|
4249
4256
|
},
|
|
4250
4257
|
id: {
|
|
4251
4258
|
type: String,
|
|
@@ -4305,7 +4312,7 @@ zt.propTypes = {
|
|
|
4305
4312
|
backgroundColor: l.string
|
|
4306
4313
|
};
|
|
4307
4314
|
zt.displayName = "DsLoading";
|
|
4308
|
-
const
|
|
4315
|
+
const $e = {
|
|
4309
4316
|
name: "Option",
|
|
4310
4317
|
class: "ds-option",
|
|
4311
4318
|
props: {
|
|
@@ -4346,21 +4353,21 @@ const Be = {
|
|
|
4346
4353
|
default: () => ({})
|
|
4347
4354
|
}
|
|
4348
4355
|
}
|
|
4349
|
-
},
|
|
4356
|
+
}, Ys = ({
|
|
4350
4357
|
id: t,
|
|
4351
4358
|
label: e,
|
|
4352
4359
|
detail: s,
|
|
4353
4360
|
name: n,
|
|
4354
4361
|
testId: a = n ?? "ds-option-test",
|
|
4355
|
-
disabled: r =
|
|
4362
|
+
disabled: r = $e.props.disabled.default,
|
|
4356
4363
|
value: i,
|
|
4357
|
-
checked: o =
|
|
4358
|
-
onChangeHandler: u =
|
|
4364
|
+
checked: o = $e.props.checked.default,
|
|
4365
|
+
onChangeHandler: u = $e.props.onChangeHandler.default
|
|
4359
4366
|
}) => {
|
|
4360
4367
|
const [d] = U(crypto.randomUUID());
|
|
4361
4368
|
return /* @__PURE__ */ O("div", { className: (() => {
|
|
4362
|
-
const f = [
|
|
4363
|
-
return r && f.push(`${
|
|
4369
|
+
const f = [$e.class];
|
|
4370
|
+
return r && f.push(`${$e.class}--disabled`), f.join(" ");
|
|
4364
4371
|
})(), children: [
|
|
4365
4372
|
/* @__PURE__ */ c(
|
|
4366
4373
|
"input",
|
|
@@ -4378,16 +4385,16 @@ const Be = {
|
|
|
4378
4385
|
/* @__PURE__ */ c(
|
|
4379
4386
|
ee,
|
|
4380
4387
|
{
|
|
4381
|
-
className: `${
|
|
4388
|
+
className: `${$e.class}__icon`,
|
|
4382
4389
|
image: o ? "radio_button_checked" : "radio_button_unchecked",
|
|
4383
4390
|
size: "xxl"
|
|
4384
4391
|
}
|
|
4385
4392
|
),
|
|
4386
|
-
/* @__PURE__ */ O("div", { className: `${
|
|
4393
|
+
/* @__PURE__ */ O("div", { className: `${$e.class}__text-container`, children: [
|
|
4387
4394
|
e && /* @__PURE__ */ c(
|
|
4388
4395
|
"label",
|
|
4389
4396
|
{
|
|
4390
|
-
className: `${
|
|
4397
|
+
className: `${$e.class}__label`,
|
|
4391
4398
|
htmlFor: t ?? String(d),
|
|
4392
4399
|
children: e
|
|
4393
4400
|
}
|
|
@@ -4395,7 +4402,7 @@ const Be = {
|
|
|
4395
4402
|
s && /* @__PURE__ */ c(
|
|
4396
4403
|
"label",
|
|
4397
4404
|
{
|
|
4398
|
-
className: `${
|
|
4405
|
+
className: `${$e.class}__detail`,
|
|
4399
4406
|
htmlFor: t ?? String(d),
|
|
4400
4407
|
children: s
|
|
4401
4408
|
}
|
|
@@ -4403,7 +4410,7 @@ const Be = {
|
|
|
4403
4410
|
] })
|
|
4404
4411
|
] });
|
|
4405
4412
|
};
|
|
4406
|
-
|
|
4413
|
+
Ys.propTypes = {
|
|
4407
4414
|
id: l.string,
|
|
4408
4415
|
name: l.string,
|
|
4409
4416
|
testId: l.string,
|
|
@@ -4414,8 +4421,8 @@ Ws.propTypes = {
|
|
|
4414
4421
|
checked: l.bool,
|
|
4415
4422
|
onChangeHandler: l.func
|
|
4416
4423
|
};
|
|
4417
|
-
|
|
4418
|
-
var
|
|
4424
|
+
Ys.displayName = "DsOption";
|
|
4425
|
+
var Xs = /* @__PURE__ */ ((t) => (t.Default = "", t.Large = "large", t.Small = "small", t))(Xs || {});
|
|
4419
4426
|
const ht = {
|
|
4420
4427
|
name: "Paragraph",
|
|
4421
4428
|
class: "ds-paragraph",
|
|
@@ -4423,10 +4430,10 @@ const ht = {
|
|
|
4423
4430
|
type: {
|
|
4424
4431
|
type: String,
|
|
4425
4432
|
default: "",
|
|
4426
|
-
options: Object.values(
|
|
4433
|
+
options: Object.values(Xs)
|
|
4427
4434
|
}
|
|
4428
4435
|
}
|
|
4429
|
-
},
|
|
4436
|
+
}, Le = ({
|
|
4430
4437
|
children: t,
|
|
4431
4438
|
className: e,
|
|
4432
4439
|
testId: s = "ds-paragraph-test",
|
|
@@ -4442,12 +4449,12 @@ const ht = {
|
|
|
4442
4449
|
}
|
|
4443
4450
|
);
|
|
4444
4451
|
};
|
|
4445
|
-
|
|
4452
|
+
Le.propTypes = {
|
|
4446
4453
|
className: l.string,
|
|
4447
4454
|
testId: l.string,
|
|
4448
4455
|
type: l.oneOf(ht.props.type.options)
|
|
4449
4456
|
};
|
|
4450
|
-
|
|
4457
|
+
Le.displayName = "DsParagraph";
|
|
4451
4458
|
var Ks = /* @__PURE__ */ ((t) => (t.PrimaryDarker = "primary-darker", t.PrimaryDark = "primary-dark", t.Primary = "primary", t.PrimaryLight = "primary-light", t.PrimaryLighter = "primary-lighter", t.PrimaryLightest = "primary-lightest", t.SecondaryDarker = "secondary-darker", t.SecondaryDark = "secondary-dark", t.Secondary = "secondary", t.SecondaryLight = "secondary-light", t.SecondaryLighter = "secondary-lighter", t.SecondaryLightest = "secondary-lightest", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.SuccessDark = "success-dark", t.Success = "success", t.SuccessLight = "success-light", t.SuccessLighter = "success-lighter", t.WarningDark = "warning-dark", t.Warning = "warning", t.WarningLight = "warning-light", t.WarningLighter = "warning-lighter", t.DangerDark = "danger-dark", t.Danger = "danger", t.DangerLight = "danger-light", t.DangerLighter = "danger-lighter", t.InfoDark = "info-dark", t.Info = "info", t.InfoLight = "info-light", t.InfoLighter = "info-lighter", t))(Ks || {});
|
|
4452
4459
|
const Vt = {
|
|
4453
4460
|
name: "Progress",
|
|
@@ -4468,7 +4475,7 @@ const Vt = {
|
|
|
4468
4475
|
}
|
|
4469
4476
|
}
|
|
4470
4477
|
};
|
|
4471
|
-
var
|
|
4478
|
+
var Gs = /* @__PURE__ */ ((t) => (t.Stretch = "stretch", t.FlexStart = "flex-start", t.FlexEnd = "flex-end", t.Center = "center", t.SpaceAround = "space-around", t.SpaceBetween = "space-between", t))(Gs || {}), Zs = /* @__PURE__ */ ((t) => (t.Stretch = "stretch", t.FlexStart = "flex-start", t.FlexEnd = "flex-end", t.Center = "center", t))(Zs || {}), Qs = /* @__PURE__ */ ((t) => (t.Row = "row", t.Column = "column", t.RowReverse = "row-reverse", t.ColumnReverse = "column-reverse", t))(Qs || {}), Js = /* @__PURE__ */ ((t) => (t.NoWrap = "nowrap", t.Wrap = "wrap", t.WrapReverse = "wrap-reverse", t))(Js || {}), en = /* @__PURE__ */ ((t) => (t.Quark = "quark", t.Nano = "nano", t.XXXS = "xxxs", t.XXS = "xxs", t.XS = "xs", t.SM = "sm", t.MD = "md", t.LG = "lg", t.XL = "xl", t.XXL = "xxl", t.XXXL = "xxxl", t))(en || {});
|
|
4472
4479
|
const Ue = {
|
|
4473
4480
|
name: "Flex-Layout",
|
|
4474
4481
|
class: "ds-flex-layout",
|
|
@@ -4477,25 +4484,25 @@ const Ue = {
|
|
|
4477
4484
|
type: String,
|
|
4478
4485
|
default: "stretch",
|
|
4479
4486
|
required: !0,
|
|
4480
|
-
options: Object.values(
|
|
4487
|
+
options: Object.values(Gs)
|
|
4481
4488
|
},
|
|
4482
4489
|
alignItems: {
|
|
4483
4490
|
type: String,
|
|
4484
4491
|
default: "stretch",
|
|
4485
4492
|
required: !0,
|
|
4486
|
-
options: Object.values(
|
|
4493
|
+
options: Object.values(Zs)
|
|
4487
4494
|
},
|
|
4488
4495
|
flexDirection: {
|
|
4489
4496
|
type: String,
|
|
4490
4497
|
default: "row",
|
|
4491
4498
|
required: !0,
|
|
4492
|
-
options: Object.values(
|
|
4499
|
+
options: Object.values(Qs)
|
|
4493
4500
|
},
|
|
4494
4501
|
flexWrap: {
|
|
4495
4502
|
type: String,
|
|
4496
4503
|
default: "wrap",
|
|
4497
4504
|
required: !1,
|
|
4498
|
-
options: Object.values(
|
|
4505
|
+
options: Object.values(Js)
|
|
4499
4506
|
},
|
|
4500
4507
|
className: {
|
|
4501
4508
|
type: String,
|
|
@@ -4512,7 +4519,7 @@ const Ue = {
|
|
|
4512
4519
|
gap: {
|
|
4513
4520
|
type: String,
|
|
4514
4521
|
default: "",
|
|
4515
|
-
options: Object.values(
|
|
4522
|
+
options: Object.values(en)
|
|
4516
4523
|
}
|
|
4517
4524
|
}
|
|
4518
4525
|
}, Pe = ({
|
|
@@ -4598,7 +4605,7 @@ const tt = {
|
|
|
4598
4605
|
options: Object.values(Lt)
|
|
4599
4606
|
}
|
|
4600
4607
|
}
|
|
4601
|
-
},
|
|
4608
|
+
}, Te = ({
|
|
4602
4609
|
vertical: t = tt.props.vertical.default,
|
|
4603
4610
|
horizontal: e = tt.props.horizontal.default
|
|
4604
4611
|
}) => {
|
|
@@ -4611,12 +4618,12 @@ const tt = {
|
|
|
4611
4618
|
}
|
|
4612
4619
|
);
|
|
4613
4620
|
};
|
|
4614
|
-
|
|
4621
|
+
Te.propTypes = {
|
|
4615
4622
|
vertical: l.oneOf(tt.props.vertical.options),
|
|
4616
4623
|
horizontal: l.oneOf(tt.props.horizontal.options)
|
|
4617
4624
|
};
|
|
4618
|
-
|
|
4619
|
-
const
|
|
4625
|
+
Te.displayName = "DsSpacer";
|
|
4626
|
+
const tn = ({
|
|
4620
4627
|
label: t,
|
|
4621
4628
|
progress: e = Vt.props.progress.default,
|
|
4622
4629
|
color: s = Vt.props.color.default
|
|
@@ -4657,37 +4664,37 @@ const en = ({
|
|
|
4657
4664
|
flexDirection: "column",
|
|
4658
4665
|
justifyContent: "center",
|
|
4659
4666
|
children: [
|
|
4660
|
-
/* @__PURE__ */ c(
|
|
4661
|
-
/* @__PURE__ */ c(yt, { children: t && /* @__PURE__ */ c(
|
|
4667
|
+
/* @__PURE__ */ c(Te, { vertical: "quark" }),
|
|
4668
|
+
/* @__PURE__ */ c(yt, { children: t && /* @__PURE__ */ c(Le, { className: i, children: t }) })
|
|
4662
4669
|
]
|
|
4663
4670
|
}
|
|
4664
4671
|
) })
|
|
4665
4672
|
] }) });
|
|
4666
4673
|
};
|
|
4667
|
-
|
|
4674
|
+
tn.propTypes = {
|
|
4668
4675
|
label: l.string,
|
|
4669
4676
|
progress: l.number,
|
|
4670
4677
|
color: l.oneOf(Vt.props.color.options)
|
|
4671
4678
|
};
|
|
4672
|
-
var
|
|
4673
|
-
const
|
|
4679
|
+
var sn = /* @__PURE__ */ ((t) => (t.Default = "default", t.Card = "card", t))(sn || {});
|
|
4680
|
+
const Ae = {
|
|
4674
4681
|
name: "DsRadio",
|
|
4675
4682
|
class: "ds-radio",
|
|
4676
4683
|
props: {
|
|
4677
4684
|
variant: {
|
|
4678
4685
|
type: String,
|
|
4679
4686
|
default: "default",
|
|
4680
|
-
options: Object.values(
|
|
4687
|
+
options: Object.values(sn)
|
|
4681
4688
|
},
|
|
4682
4689
|
fullWidth: {
|
|
4683
4690
|
type: Boolean,
|
|
4684
4691
|
default: !1
|
|
4685
4692
|
}
|
|
4686
4693
|
}
|
|
4687
|
-
},
|
|
4694
|
+
}, va = De.forwardRef(
|
|
4688
4695
|
({
|
|
4689
|
-
variant: t =
|
|
4690
|
-
fullWidth: e =
|
|
4696
|
+
variant: t = Ae.props.variant.default,
|
|
4697
|
+
fullWidth: e = Ae.props.fullWidth.default,
|
|
4691
4698
|
label: s,
|
|
4692
4699
|
description: n,
|
|
4693
4700
|
className: a,
|
|
@@ -4696,11 +4703,11 @@ const we = {
|
|
|
4696
4703
|
disabled: o,
|
|
4697
4704
|
...u
|
|
4698
4705
|
}, d) => {
|
|
4699
|
-
const h = us(), f = r ?? `${
|
|
4700
|
-
|
|
4701
|
-
`${
|
|
4702
|
-
e && `${
|
|
4703
|
-
o && `${
|
|
4706
|
+
const h = us(), f = r ?? `${Ae.class}-${h.replace(/:/g, "")}`, y = [
|
|
4707
|
+
Ae.class,
|
|
4708
|
+
`${Ae.class}--${t}`,
|
|
4709
|
+
e && `${Ae.class}--full-width`,
|
|
4710
|
+
o && `${Ae.class}--disabled`,
|
|
4704
4711
|
a
|
|
4705
4712
|
].filter(Boolean).join(" ");
|
|
4706
4713
|
return /* @__PURE__ */ O(
|
|
@@ -4714,7 +4721,7 @@ const we = {
|
|
|
4714
4721
|
"input",
|
|
4715
4722
|
{
|
|
4716
4723
|
...u,
|
|
4717
|
-
className: `${
|
|
4724
|
+
className: `${Ae.class}__input`,
|
|
4718
4725
|
"data-testid": i,
|
|
4719
4726
|
disabled: o,
|
|
4720
4727
|
id: f,
|
|
@@ -4722,18 +4729,18 @@ const we = {
|
|
|
4722
4729
|
type: "radio"
|
|
4723
4730
|
}
|
|
4724
4731
|
),
|
|
4725
|
-
/* @__PURE__ */ c("span", { "aria-hidden": "true", className: `${
|
|
4726
|
-
(s || n) && /* @__PURE__ */ O("span", { className: `${
|
|
4727
|
-
s && /* @__PURE__ */ c("span", { className: `${
|
|
4728
|
-
n && /* @__PURE__ */ c("span", { className: `${
|
|
4732
|
+
/* @__PURE__ */ c("span", { "aria-hidden": "true", className: `${Ae.class}__control` }),
|
|
4733
|
+
(s || n) && /* @__PURE__ */ O("span", { className: `${Ae.class}__text`, children: [
|
|
4734
|
+
s && /* @__PURE__ */ c("span", { className: `${Ae.class}__label`, children: s }),
|
|
4735
|
+
n && /* @__PURE__ */ c("span", { className: `${Ae.class}__description`, children: n })
|
|
4729
4736
|
] })
|
|
4730
4737
|
]
|
|
4731
4738
|
}
|
|
4732
4739
|
);
|
|
4733
4740
|
}
|
|
4734
4741
|
);
|
|
4735
|
-
|
|
4736
|
-
var
|
|
4742
|
+
va.displayName = "DsRadio";
|
|
4743
|
+
var nn = /* @__PURE__ */ ((t) => (t.Small = "sm", t.Medium = "md", t))(nn || {});
|
|
4737
4744
|
const _e = {
|
|
4738
4745
|
name: "DsSegmentControl",
|
|
4739
4746
|
class: "ds-segment-control",
|
|
@@ -4753,7 +4760,7 @@ const _e = {
|
|
|
4753
4760
|
size: {
|
|
4754
4761
|
type: String,
|
|
4755
4762
|
default: "sm",
|
|
4756
|
-
options: Object.values(
|
|
4763
|
+
options: Object.values(nn)
|
|
4757
4764
|
},
|
|
4758
4765
|
fullWidth: {
|
|
4759
4766
|
type: Boolean,
|
|
@@ -4777,7 +4784,7 @@ const _e = {
|
|
|
4777
4784
|
}
|
|
4778
4785
|
}
|
|
4779
4786
|
}
|
|
4780
|
-
},
|
|
4787
|
+
}, ya = $n(
|
|
4781
4788
|
({
|
|
4782
4789
|
items: t,
|
|
4783
4790
|
value: e,
|
|
@@ -4804,7 +4811,7 @@ const _e = {
|
|
|
4804
4811
|
const C = ue(
|
|
4805
4812
|
() => t.findIndex(($) => $.value === A),
|
|
4806
4813
|
[A, t]
|
|
4807
|
-
), N =
|
|
4814
|
+
), N = Ce(
|
|
4808
4815
|
($) => {
|
|
4809
4816
|
const W = t.length;
|
|
4810
4817
|
let se = ($ % W + W) % W, ne = 0;
|
|
@@ -4813,7 +4820,7 @@ const _e = {
|
|
|
4813
4820
|
p.current[se].focus();
|
|
4814
4821
|
},
|
|
4815
4822
|
[t]
|
|
4816
|
-
), H =
|
|
4823
|
+
), H = Ce(
|
|
4817
4824
|
($, W) => {
|
|
4818
4825
|
i || $.disabled || $.value !== A && (v || x($.value), d == null || d($.value, W));
|
|
4819
4826
|
},
|
|
@@ -4887,8 +4894,8 @@ const _e = {
|
|
|
4887
4894
|
);
|
|
4888
4895
|
}
|
|
4889
4896
|
);
|
|
4890
|
-
|
|
4891
|
-
var
|
|
4897
|
+
ya.displayName = "DsSegmentControl";
|
|
4898
|
+
var an = /* @__PURE__ */ ((t) => (t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(an || {}), rn = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Success = "success", t))(rn || {}), ln = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(ln || {}), on = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(on || {});
|
|
4892
4899
|
const te = {
|
|
4893
4900
|
name: "Select",
|
|
4894
4901
|
class: "ds-select",
|
|
@@ -4934,14 +4941,14 @@ const te = {
|
|
|
4934
4941
|
},
|
|
4935
4942
|
size: {
|
|
4936
4943
|
type: String,
|
|
4937
|
-
options: Object.values(
|
|
4944
|
+
options: Object.values(an),
|
|
4938
4945
|
default: "md"
|
|
4939
4946
|
/* Medium */
|
|
4940
4947
|
},
|
|
4941
4948
|
status: {
|
|
4942
4949
|
type: String,
|
|
4943
4950
|
default: "",
|
|
4944
|
-
options: Object.values(
|
|
4951
|
+
options: Object.values(rn)
|
|
4945
4952
|
},
|
|
4946
4953
|
tooltip: {
|
|
4947
4954
|
type: String,
|
|
@@ -4950,12 +4957,12 @@ const te = {
|
|
|
4950
4957
|
tooltipPlacement: {
|
|
4951
4958
|
type: String,
|
|
4952
4959
|
default: "initial",
|
|
4953
|
-
options: Object.values(
|
|
4960
|
+
options: Object.values(ln)
|
|
4954
4961
|
},
|
|
4955
4962
|
tooltipPosition: {
|
|
4956
4963
|
type: String,
|
|
4957
4964
|
default: "top",
|
|
4958
|
-
options: Object.values(
|
|
4965
|
+
options: Object.values(on)
|
|
4959
4966
|
},
|
|
4960
4967
|
feedback: {
|
|
4961
4968
|
type: String,
|
|
@@ -4963,7 +4970,7 @@ const te = {
|
|
|
4963
4970
|
},
|
|
4964
4971
|
options: []
|
|
4965
4972
|
}
|
|
4966
|
-
},
|
|
4973
|
+
}, un = De.forwardRef(
|
|
4967
4974
|
({
|
|
4968
4975
|
label: t,
|
|
4969
4976
|
className: e,
|
|
@@ -5074,7 +5081,7 @@ const te = {
|
|
|
5074
5081
|
] });
|
|
5075
5082
|
}
|
|
5076
5083
|
);
|
|
5077
|
-
|
|
5084
|
+
un.propTypes = {
|
|
5078
5085
|
label: l.string.isRequired,
|
|
5079
5086
|
className: l.string,
|
|
5080
5087
|
disabled: l.bool,
|
|
@@ -5094,8 +5101,8 @@ on.propTypes = {
|
|
|
5094
5101
|
tooltipPlacement: l.string,
|
|
5095
5102
|
feedback: l.string
|
|
5096
5103
|
};
|
|
5097
|
-
|
|
5098
|
-
var
|
|
5104
|
+
un.displayName = "DsSelect";
|
|
5105
|
+
var cn = /* @__PURE__ */ ((t) => (t.Large = "large", t.Small = "small", t))(cn || {});
|
|
5099
5106
|
const Ot = {
|
|
5100
5107
|
name: "Subtitle",
|
|
5101
5108
|
class: "ds-subtitle",
|
|
@@ -5103,10 +5110,10 @@ const Ot = {
|
|
|
5103
5110
|
type: {
|
|
5104
5111
|
type: String,
|
|
5105
5112
|
default: "large",
|
|
5106
|
-
options: Object.values(
|
|
5113
|
+
options: Object.values(cn)
|
|
5107
5114
|
}
|
|
5108
5115
|
}
|
|
5109
|
-
},
|
|
5116
|
+
}, _a = ({
|
|
5110
5117
|
children: t,
|
|
5111
5118
|
className: e,
|
|
5112
5119
|
testId: s = "ds-subtitle-test",
|
|
@@ -5122,8 +5129,8 @@ const Ot = {
|
|
|
5122
5129
|
}
|
|
5123
5130
|
);
|
|
5124
5131
|
};
|
|
5125
|
-
|
|
5126
|
-
var
|
|
5132
|
+
_a.displayName = "DsSubtitle";
|
|
5133
|
+
var dn = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(dn || {}), pn = /* @__PURE__ */ ((t) => (t.Text = "text", t))(pn || {}), hn = /* @__PURE__ */ ((t) => (t.None = "", t.Error = "error", t.Success = "success", t))(hn || {}), fn = /* @__PURE__ */ ((t) => (t.None = "none", t.Both = "both", t.Horizontal = "horizontal", t.Vertical = "vertical", t.Block = "block", t.Inline = "inline", t))(fn || {});
|
|
5127
5134
|
const oe = {
|
|
5128
5135
|
name: "TextArea",
|
|
5129
5136
|
class: "ds-textarea",
|
|
@@ -5139,7 +5146,7 @@ const oe = {
|
|
|
5139
5146
|
type: {
|
|
5140
5147
|
type: String,
|
|
5141
5148
|
default: "text",
|
|
5142
|
-
options: Object.values(
|
|
5149
|
+
options: Object.values(pn)
|
|
5143
5150
|
},
|
|
5144
5151
|
animated: {
|
|
5145
5152
|
type: Boolean,
|
|
@@ -5152,7 +5159,7 @@ const oe = {
|
|
|
5152
5159
|
size: {
|
|
5153
5160
|
type: String,
|
|
5154
5161
|
default: "medium",
|
|
5155
|
-
options: Object.values(
|
|
5162
|
+
options: Object.values(dn)
|
|
5156
5163
|
},
|
|
5157
5164
|
label: {
|
|
5158
5165
|
type: String,
|
|
@@ -5181,7 +5188,7 @@ const oe = {
|
|
|
5181
5188
|
status: {
|
|
5182
5189
|
type: String,
|
|
5183
5190
|
default: "",
|
|
5184
|
-
options: Object.values(
|
|
5191
|
+
options: Object.values(hn)
|
|
5185
5192
|
},
|
|
5186
5193
|
feedback: {
|
|
5187
5194
|
type: String,
|
|
@@ -5202,7 +5209,7 @@ const oe = {
|
|
|
5202
5209
|
resize: {
|
|
5203
5210
|
type: String,
|
|
5204
5211
|
default: "none",
|
|
5205
|
-
options: Object.values(
|
|
5212
|
+
options: Object.values(fn)
|
|
5206
5213
|
},
|
|
5207
5214
|
onChangeHandler: {
|
|
5208
5215
|
type: Function,
|
|
@@ -5210,7 +5217,7 @@ const oe = {
|
|
|
5210
5217
|
}
|
|
5211
5218
|
}
|
|
5212
5219
|
}
|
|
5213
|
-
},
|
|
5220
|
+
}, gn = De.forwardRef(
|
|
5214
5221
|
({
|
|
5215
5222
|
name: t,
|
|
5216
5223
|
testId: e = oe.props.testId.default,
|
|
@@ -5246,7 +5253,7 @@ const oe = {
|
|
|
5246
5253
|
se(D.target.value.length), w && w(D);
|
|
5247
5254
|
}, le = (D) => {
|
|
5248
5255
|
x && x(D);
|
|
5249
|
-
},
|
|
5256
|
+
}, we = (D) => {
|
|
5250
5257
|
$(!1), F && F(D);
|
|
5251
5258
|
}, ye = (D) => {
|
|
5252
5259
|
$(!0), A && A(D);
|
|
@@ -5278,7 +5285,7 @@ const oe = {
|
|
|
5278
5285
|
maxLength: u,
|
|
5279
5286
|
minLength: o,
|
|
5280
5287
|
name: t,
|
|
5281
|
-
onBlur:
|
|
5288
|
+
onBlur: we,
|
|
5282
5289
|
onChange: re,
|
|
5283
5290
|
onFocus: ye,
|
|
5284
5291
|
onKeyDown: le,
|
|
@@ -5307,7 +5314,7 @@ const oe = {
|
|
|
5307
5314
|
] }, ne);
|
|
5308
5315
|
}
|
|
5309
5316
|
);
|
|
5310
|
-
|
|
5317
|
+
gn.propTypes = {
|
|
5311
5318
|
name: l.string,
|
|
5312
5319
|
testId: l.string,
|
|
5313
5320
|
animated: l.bool,
|
|
@@ -5333,7 +5340,7 @@ fn.propTypes = {
|
|
|
5333
5340
|
description: l.string,
|
|
5334
5341
|
style: l.object
|
|
5335
5342
|
};
|
|
5336
|
-
|
|
5343
|
+
gn.displayName = "DsTextArea";
|
|
5337
5344
|
const ut = {
|
|
5338
5345
|
name: "Container",
|
|
5339
5346
|
class: "ds-container",
|
|
@@ -5373,7 +5380,7 @@ Ht.propTypes = {
|
|
|
5373
5380
|
testId: l.string
|
|
5374
5381
|
};
|
|
5375
5382
|
Ht.displayName = "DsContainer";
|
|
5376
|
-
var
|
|
5383
|
+
var mn = /* @__PURE__ */ ((t) => (t.Quark = "quark", t.Nano = "nano", t.ExtraSmall = "xs", t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(mn || {}), jt = /* @__PURE__ */ ((t) => (t.Start = "start", t.End = "end", t.Center = "center", t.Stretch = "stretch", t.SpaceAround = "space-around", t.SpaceBetween = "space-between", t.SpaceEvenly = "space-evenly", t))(jt || {});
|
|
5377
5384
|
const ie = {
|
|
5378
5385
|
name: "Grid-Layout",
|
|
5379
5386
|
class: "ds-grid-layout",
|
|
@@ -5386,7 +5393,7 @@ const ie = {
|
|
|
5386
5393
|
gap: {
|
|
5387
5394
|
type: String,
|
|
5388
5395
|
default: "sm",
|
|
5389
|
-
options: Object.values(
|
|
5396
|
+
options: Object.values(mn)
|
|
5390
5397
|
},
|
|
5391
5398
|
vGap: {
|
|
5392
5399
|
type: Boolean,
|
|
@@ -5423,7 +5430,7 @@ function is() {
|
|
|
5423
5430
|
height: e
|
|
5424
5431
|
};
|
|
5425
5432
|
}
|
|
5426
|
-
function
|
|
5433
|
+
function ka() {
|
|
5427
5434
|
const [t, e] = U(
|
|
5428
5435
|
is()
|
|
5429
5436
|
);
|
|
@@ -5434,7 +5441,7 @@ function _a() {
|
|
|
5434
5441
|
return window.addEventListener("resize", s), () => window.removeEventListener("resize", s);
|
|
5435
5442
|
}, []), t;
|
|
5436
5443
|
}
|
|
5437
|
-
const
|
|
5444
|
+
const vn = ({
|
|
5438
5445
|
children: t,
|
|
5439
5446
|
rows: e = ie.props.rows.default,
|
|
5440
5447
|
gap: s = ie.props.gap.default,
|
|
@@ -5449,7 +5456,7 @@ const mn = ({
|
|
|
5449
5456
|
(x) => x === r
|
|
5450
5457
|
) ? `${ie.class}--h-${r}` : null, y = i && ie.props.verticalAlign.options.find(
|
|
5451
5458
|
(x) => x === i
|
|
5452
|
-
) ? `${ie.class}--v-${i}` : null, { width: _ } =
|
|
5459
|
+
) ? `${ie.class}--v-${i}` : null, { width: _ } = ka(), [S, v] = U("auto");
|
|
5453
5460
|
Z(() => {
|
|
5454
5461
|
_ <= 768 ? v("6") : v("12");
|
|
5455
5462
|
}, [_]);
|
|
@@ -5474,7 +5481,7 @@ const mn = ({
|
|
|
5474
5481
|
}
|
|
5475
5482
|
);
|
|
5476
5483
|
};
|
|
5477
|
-
|
|
5484
|
+
vn.propTypes = {
|
|
5478
5485
|
children: l.oneOfType([
|
|
5479
5486
|
l.arrayOf(l.node),
|
|
5480
5487
|
l.node,
|
|
@@ -5491,8 +5498,8 @@ mn.propTypes = {
|
|
|
5491
5498
|
),
|
|
5492
5499
|
verticalAlign: l.oneOf(ie.props.verticalAlign.options)
|
|
5493
5500
|
};
|
|
5494
|
-
|
|
5495
|
-
const ls = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0,
|
|
5501
|
+
vn.displayName = "DsGridLayout";
|
|
5502
|
+
const ls = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, ba = ({ children: t, grid: e }) => {
|
|
5496
5503
|
const { row: s, col: n, mobileRow: a, mobileCol: r } = e, [i, o] = U(ls());
|
|
5497
5504
|
Z(() => {
|
|
5498
5505
|
const d = () => {
|
|
@@ -5510,8 +5517,8 @@ const ls = () => typeof window < "u" && window.innerWidth ? window.innerWidth :
|
|
|
5510
5517
|
}, [i, s, n, a, r]);
|
|
5511
5518
|
return /* @__PURE__ */ c("div", { style: u, children: t });
|
|
5512
5519
|
};
|
|
5513
|
-
|
|
5514
|
-
const
|
|
5520
|
+
ba.displayName = "DsGridElement";
|
|
5521
|
+
const Ma = {
|
|
5515
5522
|
name: "Grid-Element",
|
|
5516
5523
|
class: "ds-grid-element",
|
|
5517
5524
|
props: {
|
|
@@ -5524,51 +5531,51 @@ const $a = {
|
|
|
5524
5531
|
}
|
|
5525
5532
|
}
|
|
5526
5533
|
};
|
|
5527
|
-
var
|
|
5528
|
-
const
|
|
5534
|
+
var Ke = /* @__PURE__ */ ((t) => (t.None = "none", t.Quark = "quark", t.Nano = "nano", t.ExtraSmall = "xs", t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(Ke || {});
|
|
5535
|
+
const Fe = {
|
|
5529
5536
|
name: "Wrapper",
|
|
5530
5537
|
class: "ds-wrapper",
|
|
5531
5538
|
props: {
|
|
5532
5539
|
space: {
|
|
5533
5540
|
type: String,
|
|
5534
5541
|
default: "xs",
|
|
5535
|
-
options: Object.values(
|
|
5542
|
+
options: Object.values(Ke)
|
|
5536
5543
|
},
|
|
5537
5544
|
top: {
|
|
5538
5545
|
type: String,
|
|
5539
5546
|
default: "none",
|
|
5540
|
-
options: Object.values(
|
|
5547
|
+
options: Object.values(Ke)
|
|
5541
5548
|
},
|
|
5542
5549
|
right: {
|
|
5543
5550
|
type: String,
|
|
5544
5551
|
default: "none",
|
|
5545
|
-
options: Object.values(
|
|
5552
|
+
options: Object.values(Ke)
|
|
5546
5553
|
},
|
|
5547
5554
|
bottom: {
|
|
5548
5555
|
type: String,
|
|
5549
5556
|
default: "none",
|
|
5550
|
-
options: Object.values(
|
|
5557
|
+
options: Object.values(Ke)
|
|
5551
5558
|
},
|
|
5552
5559
|
left: {
|
|
5553
5560
|
type: String,
|
|
5554
5561
|
default: "none",
|
|
5555
|
-
options: Object.values(
|
|
5562
|
+
options: Object.values(Ke)
|
|
5556
5563
|
}
|
|
5557
5564
|
}
|
|
5558
5565
|
}, st = ({
|
|
5559
5566
|
children: t,
|
|
5560
|
-
space: e =
|
|
5561
|
-
top: s =
|
|
5562
|
-
right: n =
|
|
5563
|
-
bottom: a =
|
|
5564
|
-
left: r =
|
|
5567
|
+
space: e = Fe.props.space.default,
|
|
5568
|
+
top: s = Fe.props.top.default,
|
|
5569
|
+
right: n = Fe.props.right.default,
|
|
5570
|
+
bottom: a = Fe.props.bottom.default,
|
|
5571
|
+
left: r = Fe.props.left.default
|
|
5565
5572
|
}) => {
|
|
5566
|
-
const i = s && `${
|
|
5573
|
+
const i = s && `${Fe.class}__top--${s}`, o = n && `${Fe.class}__right--${n}`, u = a && `${Fe.class}__bottom--${a}`, d = r && `${Fe.class}__left--${r}`, h = e && `${Fe.class}--${e}`;
|
|
5567
5574
|
return /* @__PURE__ */ c(
|
|
5568
5575
|
"div",
|
|
5569
5576
|
{
|
|
5570
5577
|
className: [
|
|
5571
|
-
|
|
5578
|
+
Fe.class,
|
|
5572
5579
|
i,
|
|
5573
5580
|
o,
|
|
5574
5581
|
u,
|
|
@@ -5597,7 +5604,7 @@ const It = {
|
|
|
5597
5604
|
default: 0
|
|
5598
5605
|
}
|
|
5599
5606
|
}
|
|
5600
|
-
},
|
|
5607
|
+
}, Xe = {
|
|
5601
5608
|
name: "AccordionItem",
|
|
5602
5609
|
class: "ds-accordion-item",
|
|
5603
5610
|
props: {
|
|
@@ -5622,19 +5629,19 @@ const It = {
|
|
|
5622
5629
|
title: t,
|
|
5623
5630
|
content: e,
|
|
5624
5631
|
onToggle: s,
|
|
5625
|
-
active: n =
|
|
5626
|
-
disabled: a =
|
|
5632
|
+
active: n = Xe.props.active.default,
|
|
5633
|
+
disabled: a = Xe.props.disabled.default
|
|
5627
5634
|
}) => {
|
|
5628
|
-
const r = n && `${
|
|
5635
|
+
const r = n && `${Xe.class}--active`;
|
|
5629
5636
|
return /* @__PURE__ */ O(
|
|
5630
5637
|
"li",
|
|
5631
5638
|
{
|
|
5632
|
-
className: [
|
|
5639
|
+
className: [Xe.class, r].filter((i) => i).join(" "),
|
|
5633
5640
|
children: [
|
|
5634
5641
|
/* @__PURE__ */ O(
|
|
5635
5642
|
"button",
|
|
5636
5643
|
{
|
|
5637
|
-
className: `${
|
|
5644
|
+
className: `${Xe.class}__button`,
|
|
5638
5645
|
disabled: a,
|
|
5639
5646
|
onClick: s,
|
|
5640
5647
|
children: [
|
|
@@ -5642,7 +5649,7 @@ const It = {
|
|
|
5642
5649
|
/* @__PURE__ */ c(
|
|
5643
5650
|
ee,
|
|
5644
5651
|
{
|
|
5645
|
-
className: `${
|
|
5652
|
+
className: `${Xe.class}__icon`,
|
|
5646
5653
|
color: "neutral-90",
|
|
5647
5654
|
image: "expand_more",
|
|
5648
5655
|
size: "xl"
|
|
@@ -5663,7 +5670,7 @@ Wt.propTypes = {
|
|
|
5663
5670
|
disabled: l.bool
|
|
5664
5671
|
};
|
|
5665
5672
|
Wt.displayName = "DsAccordionItem";
|
|
5666
|
-
const
|
|
5673
|
+
const yn = ({
|
|
5667
5674
|
items: t = It.props.items.default,
|
|
5668
5675
|
activeItem: e = It.props.activeItem.default,
|
|
5669
5676
|
onClick: s
|
|
@@ -5695,17 +5702,17 @@ const vn = ({
|
|
|
5695
5702
|
o
|
|
5696
5703
|
)) });
|
|
5697
5704
|
};
|
|
5698
|
-
|
|
5705
|
+
yn.propTypes = {
|
|
5699
5706
|
items: l.array,
|
|
5700
5707
|
activeItem: l.number
|
|
5701
5708
|
};
|
|
5702
|
-
|
|
5703
|
-
const
|
|
5709
|
+
yn.displayName = "DsAccordion";
|
|
5710
|
+
const Sa = ({
|
|
5704
5711
|
title: t,
|
|
5705
5712
|
activeTags: e,
|
|
5706
5713
|
handleTagClose: s
|
|
5707
5714
|
}) => /* @__PURE__ */ c("div", { className: "active-tags", children: e.length > 0 && /* @__PURE__ */ O(yt, { children: [
|
|
5708
|
-
/* @__PURE__ */ c(
|
|
5715
|
+
/* @__PURE__ */ c(Le, { className: "active-tags__title", children: t }),
|
|
5709
5716
|
/* @__PURE__ */ c("div", { className: "active-tags__list", "data-testid": "ds-list", children: e.map((n, a) => /* @__PURE__ */ c(
|
|
5710
5717
|
Ge,
|
|
5711
5718
|
{
|
|
@@ -5727,7 +5734,7 @@ const ba = ({
|
|
|
5727
5734
|
testId: `icon-${a}`
|
|
5728
5735
|
}
|
|
5729
5736
|
) }),
|
|
5730
|
-
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(
|
|
5737
|
+
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(Le, { type: "small", children: n.text }) })
|
|
5731
5738
|
] }),
|
|
5732
5739
|
!n.hiddenClose && /* @__PURE__ */ c(
|
|
5733
5740
|
ee,
|
|
@@ -5745,8 +5752,8 @@ const ba = ({
|
|
|
5745
5752
|
`ds-tooltip-key-${n.id}-${n.text}`
|
|
5746
5753
|
)) })
|
|
5747
5754
|
] }) });
|
|
5748
|
-
|
|
5749
|
-
const
|
|
5755
|
+
Sa.displayName = "DsActiveTags";
|
|
5756
|
+
const Va = {
|
|
5750
5757
|
name: "ActiveTags",
|
|
5751
5758
|
class: "ds-active-tags",
|
|
5752
5759
|
props: {
|
|
@@ -5768,7 +5775,7 @@ const Ma = {
|
|
|
5768
5775
|
name: "Carousel",
|
|
5769
5776
|
class: "ds-carousel",
|
|
5770
5777
|
props: {}
|
|
5771
|
-
},
|
|
5778
|
+
}, Ea = ({
|
|
5772
5779
|
slides: t,
|
|
5773
5780
|
interval: e = 3e3,
|
|
5774
5781
|
imageHeight: s = 100,
|
|
@@ -5818,10 +5825,10 @@ const Ma = {
|
|
|
5818
5825
|
))
|
|
5819
5826
|
}
|
|
5820
5827
|
),
|
|
5821
|
-
/* @__PURE__ */ c(
|
|
5828
|
+
/* @__PURE__ */ c(Te, { vertical: "xxs" }),
|
|
5822
5829
|
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(qt, { className: "color__primary", type: "heading-4", children: t[i].title }) }),
|
|
5823
|
-
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
|
|
5824
|
-
/* @__PURE__ */ c(
|
|
5830
|
+
/* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Le, { type: "large", children: t[i].description }) }),
|
|
5831
|
+
/* @__PURE__ */ c(Te, { vertical: "xxs" }),
|
|
5825
5832
|
/* @__PURE__ */ c("div", { className: `${Ze.class}__dots`, children: /* @__PURE__ */ c("div", { className: `${Ze.class}__dots-wrapper`, children: t.map((_, S) => /* @__PURE__ */ c(
|
|
5826
5833
|
"button",
|
|
5827
5834
|
{
|
|
@@ -5835,7 +5842,7 @@ const Ma = {
|
|
|
5835
5842
|
}
|
|
5836
5843
|
);
|
|
5837
5844
|
};
|
|
5838
|
-
|
|
5845
|
+
Ea.propTypes = {
|
|
5839
5846
|
slides: l.arrayOf(
|
|
5840
5847
|
l.shape({
|
|
5841
5848
|
title: l.string.isRequired,
|
|
@@ -5850,8 +5857,8 @@ Sa.propTypes = {
|
|
|
5850
5857
|
imageMaxHeight: l.oneOfType([l.number, l.string]),
|
|
5851
5858
|
imageMaxWidth: l.oneOfType([l.number, l.string])
|
|
5852
5859
|
};
|
|
5853
|
-
var
|
|
5854
|
-
const
|
|
5860
|
+
var _n = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(_n || {});
|
|
5861
|
+
const K = {
|
|
5855
5862
|
name: "EditableSelect",
|
|
5856
5863
|
class: "ds-editable-select",
|
|
5857
5864
|
props: {
|
|
@@ -5886,7 +5893,7 @@ const X = {
|
|
|
5886
5893
|
size: {
|
|
5887
5894
|
type: String,
|
|
5888
5895
|
default: "medium",
|
|
5889
|
-
options: Object.values(
|
|
5896
|
+
options: Object.values(_n)
|
|
5890
5897
|
},
|
|
5891
5898
|
status: {
|
|
5892
5899
|
type: String,
|
|
@@ -5933,28 +5940,28 @@ const X = {
|
|
|
5933
5940
|
}
|
|
5934
5941
|
}
|
|
5935
5942
|
}
|
|
5936
|
-
},
|
|
5943
|
+
}, wa = (t, e) => {
|
|
5937
5944
|
if (!e) return t;
|
|
5938
5945
|
const s = e.toLowerCase();
|
|
5939
5946
|
return t.filter((n) => n.label.toLowerCase().includes(s));
|
|
5940
|
-
}, os = (t) => t,
|
|
5941
|
-
label: t =
|
|
5942
|
-
name: e =
|
|
5943
|
-
testId: s =
|
|
5944
|
-
value: n =
|
|
5945
|
-
options: a =
|
|
5946
|
-
size: r =
|
|
5947
|
-
onChangeHandler: i =
|
|
5948
|
-
onSelectHandler: o =
|
|
5949
|
-
onClearHandler: u =
|
|
5950
|
-
icon: d =
|
|
5951
|
-
noOptionsMessage: h =
|
|
5952
|
-
disabled: f =
|
|
5953
|
-
status: y =
|
|
5954
|
-
onBlurHandler: _ =
|
|
5955
|
-
onFocusHandler: S =
|
|
5956
|
-
animated: v =
|
|
5957
|
-
placeholder: g =
|
|
5947
|
+
}, os = (t) => t, Aa = ({
|
|
5948
|
+
label: t = K.props.label.default,
|
|
5949
|
+
name: e = K.props.name.default,
|
|
5950
|
+
testId: s = K.props.testId.default,
|
|
5951
|
+
value: n = K.props.value.default,
|
|
5952
|
+
options: a = K.props.options.default,
|
|
5953
|
+
size: r = K.props.size.default,
|
|
5954
|
+
onChangeHandler: i = K.props.onChangeHandler.default,
|
|
5955
|
+
onSelectHandler: o = K.props.onSelectHandler.default,
|
|
5956
|
+
onClearHandler: u = K.props.onClearHandler.default,
|
|
5957
|
+
icon: d = K.props.icon.default,
|
|
5958
|
+
noOptionsMessage: h = K.props.noOptionsMessage.default,
|
|
5959
|
+
disabled: f = K.props.disabled.default,
|
|
5960
|
+
status: y = K.props.status.default,
|
|
5961
|
+
onBlurHandler: _ = K.props.onBlurHandler.default,
|
|
5962
|
+
onFocusHandler: S = K.props.onFocusHandler.default,
|
|
5963
|
+
animated: v = K.props.animated.default,
|
|
5964
|
+
placeholder: g = K.props.placeholder.default,
|
|
5958
5965
|
loading: w,
|
|
5959
5966
|
showOptionsOnFocus: F = !1,
|
|
5960
5967
|
inputType: x,
|
|
@@ -5969,10 +5976,10 @@ const X = {
|
|
|
5969
5976
|
inputMask: W,
|
|
5970
5977
|
inputOnKeyDownHandler: se
|
|
5971
5978
|
}) => {
|
|
5972
|
-
const [ne, he] = U(!1), [re, le] = U(n), [
|
|
5979
|
+
const [ne, he] = U(!1), [re, le] = U(n), [we, ye] = U(!0), m = Ye(null), E = (b) => {
|
|
5973
5980
|
if (F) {
|
|
5974
|
-
const k = n.trim().toLowerCase(), fe = b.currentTarget.value.trim().toLowerCase(), qe = a.map((
|
|
5975
|
-
lt && !
|
|
5981
|
+
const k = n.trim().toLowerCase(), fe = b.currentTarget.value.trim().toLowerCase(), qe = a.map((Rn) => Rn.label.trim().toLowerCase()), lt = !!k && qe.includes(k), Nn = !!fe && qe.includes(fe);
|
|
5982
|
+
lt && !Nn && u();
|
|
5976
5983
|
}
|
|
5977
5984
|
i(b), ye(!1);
|
|
5978
5985
|
const I = b.currentTarget.value.length;
|
|
@@ -6010,12 +6017,12 @@ const X = {
|
|
|
6010
6017
|
};
|
|
6011
6018
|
return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
|
|
6012
6019
|
}, [F]);
|
|
6013
|
-
const j = ue(() => F ?
|
|
6014
|
-
const k = b.label === n ? ` ${
|
|
6020
|
+
const j = ue(() => F ? we ? os(a) : wa(a, n) : os(a), [a, n, F, we]), z = () => j.length > 0 ? j.map((b, I) => {
|
|
6021
|
+
const k = b.label === n ? ` ${K.class}__option--selected` : "";
|
|
6015
6022
|
return /* @__PURE__ */ c(
|
|
6016
6023
|
"button",
|
|
6017
6024
|
{
|
|
6018
|
-
className: `${
|
|
6025
|
+
className: `${K.class}__option ${K.class}__option--${r}${k}`,
|
|
6019
6026
|
"data-testid": `ds-option-${b.id ?? b.label}`,
|
|
6020
6027
|
onClick: () => V(b),
|
|
6021
6028
|
onMouseDown: (fe) => fe.preventDefault(),
|
|
@@ -6027,7 +6034,7 @@ const X = {
|
|
|
6027
6034
|
}) : /* @__PURE__ */ c(
|
|
6028
6035
|
"div",
|
|
6029
6036
|
{
|
|
6030
|
-
className: `${
|
|
6037
|
+
className: `${K.class}__option ${K.class}__option--not-found--${r}`,
|
|
6031
6038
|
children: h
|
|
6032
6039
|
},
|
|
6033
6040
|
"no_option"
|
|
@@ -6035,14 +6042,14 @@ const X = {
|
|
|
6035
6042
|
return /* @__PURE__ */ O(
|
|
6036
6043
|
"div",
|
|
6037
6044
|
{
|
|
6038
|
-
className: `${
|
|
6045
|
+
className: `${K.class}__container`,
|
|
6039
6046
|
ref: m,
|
|
6040
6047
|
children: [
|
|
6041
6048
|
/* @__PURE__ */ c(
|
|
6042
6049
|
rt,
|
|
6043
6050
|
{
|
|
6044
6051
|
animated: v,
|
|
6045
|
-
className: `${
|
|
6052
|
+
className: `${K.class}__input`,
|
|
6046
6053
|
disabled: f,
|
|
6047
6054
|
feedback: q,
|
|
6048
6055
|
hasFeedback: ae,
|
|
@@ -6071,21 +6078,21 @@ const X = {
|
|
|
6071
6078
|
(d || w) && (w ? /* @__PURE__ */ c(
|
|
6072
6079
|
"div",
|
|
6073
6080
|
{
|
|
6074
|
-
className: `${
|
|
6081
|
+
className: `${K.class}__loading ${K.class}__loading--${r}`,
|
|
6075
6082
|
style: { width: "18px" },
|
|
6076
6083
|
children: /* @__PURE__ */ c(zt, { fullscreen: !1 })
|
|
6077
6084
|
}
|
|
6078
6085
|
) : d && /* @__PURE__ */ c(
|
|
6079
6086
|
ee,
|
|
6080
6087
|
{
|
|
6081
|
-
className: `${
|
|
6088
|
+
className: `${K.class}__icon ${K.class}__icon--${r}`,
|
|
6082
6089
|
image: d
|
|
6083
6090
|
}
|
|
6084
6091
|
)),
|
|
6085
6092
|
ne && /* @__PURE__ */ c(
|
|
6086
6093
|
"div",
|
|
6087
6094
|
{
|
|
6088
|
-
className: `${
|
|
6095
|
+
className: `${K.class}__list ${K.class}__list--${r}`,
|
|
6089
6096
|
"data-testid": "ds-list",
|
|
6090
6097
|
children: z()
|
|
6091
6098
|
}
|
|
@@ -6094,7 +6101,7 @@ const X = {
|
|
|
6094
6101
|
}
|
|
6095
6102
|
);
|
|
6096
6103
|
};
|
|
6097
|
-
|
|
6104
|
+
Aa.displayName = "DsEditableSelect";
|
|
6098
6105
|
const Qe = {
|
|
6099
6106
|
name: "DsIndicator",
|
|
6100
6107
|
class: "ds-indicator",
|
|
@@ -6108,7 +6115,7 @@ const Qe = {
|
|
|
6108
6115
|
required: !0
|
|
6109
6116
|
}
|
|
6110
6117
|
}
|
|
6111
|
-
},
|
|
6118
|
+
}, La = ({
|
|
6112
6119
|
length: t,
|
|
6113
6120
|
current: e = Qe.props.current.default
|
|
6114
6121
|
}) => {
|
|
@@ -6129,7 +6136,7 @@ const Qe = {
|
|
|
6129
6136
|
)
|
|
6130
6137
|
);
|
|
6131
6138
|
return /* @__PURE__ */ c("div", { className: Qe.class, children: r });
|
|
6132
|
-
},
|
|
6139
|
+
}, xa = {
|
|
6133
6140
|
name: "DsInlineEditable",
|
|
6134
6141
|
class: "ds-inline-editable",
|
|
6135
6142
|
props: {
|
|
@@ -6163,7 +6170,7 @@ const Qe = {
|
|
|
6163
6170
|
}
|
|
6164
6171
|
}
|
|
6165
6172
|
}
|
|
6166
|
-
},
|
|
6173
|
+
}, kn = ({
|
|
6167
6174
|
name: t,
|
|
6168
6175
|
value: e,
|
|
6169
6176
|
prefix: s,
|
|
@@ -6188,7 +6195,7 @@ const Qe = {
|
|
|
6188
6195
|
var g;
|
|
6189
6196
|
await d(!0), (g = o.current) == null || g.focus();
|
|
6190
6197
|
};
|
|
6191
|
-
return /* @__PURE__ */ c("div", { className:
|
|
6198
|
+
return /* @__PURE__ */ c("div", { className: xa.class, children: u ? /* @__PURE__ */ c(
|
|
6192
6199
|
"input",
|
|
6193
6200
|
{
|
|
6194
6201
|
className: "ds-input__input",
|
|
@@ -6209,7 +6216,7 @@ const Qe = {
|
|
|
6209
6216
|
"data-testid": "ds-inline-editible-div-click",
|
|
6210
6217
|
onClick: v,
|
|
6211
6218
|
children: /* @__PURE__ */ O(Pe, { alignItems: "center", gap: "nano", children: [
|
|
6212
|
-
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(
|
|
6219
|
+
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(Le, { children: /* @__PURE__ */ O("b", { children: [
|
|
6213
6220
|
s,
|
|
6214
6221
|
e,
|
|
6215
6222
|
n
|
|
@@ -6219,12 +6226,12 @@ const Qe = {
|
|
|
6219
6226
|
}
|
|
6220
6227
|
) });
|
|
6221
6228
|
};
|
|
6222
|
-
|
|
6229
|
+
kn.propTypes = {
|
|
6223
6230
|
value: l.string
|
|
6224
6231
|
};
|
|
6225
|
-
|
|
6226
|
-
var
|
|
6227
|
-
const
|
|
6232
|
+
kn.displayName = "DsInlineEditable";
|
|
6233
|
+
var Ca = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(Ca || {}), bn = /* @__PURE__ */ ((t) => (t.Squared = "squared", t.Rounded = "rounded", t))(bn || {});
|
|
6234
|
+
const xe = {
|
|
6228
6235
|
name: "Modal",
|
|
6229
6236
|
class: "ds-modal",
|
|
6230
6237
|
props: {
|
|
@@ -6241,7 +6248,7 @@ const Ae = {
|
|
|
6241
6248
|
variant: {
|
|
6242
6249
|
type: String,
|
|
6243
6250
|
default: "rounded",
|
|
6244
|
-
options: Object.values(
|
|
6251
|
+
options: Object.values(bn)
|
|
6245
6252
|
},
|
|
6246
6253
|
cancelBtnText: {
|
|
6247
6254
|
type: String,
|
|
@@ -6256,21 +6263,21 @@ const Ae = {
|
|
|
6256
6263
|
default: !1
|
|
6257
6264
|
}
|
|
6258
6265
|
}
|
|
6259
|
-
},
|
|
6266
|
+
}, Sn = ({
|
|
6260
6267
|
className: t,
|
|
6261
6268
|
title: e,
|
|
6262
6269
|
content: s,
|
|
6263
|
-
cancelBtnText: n =
|
|
6264
|
-
confirmBtnText: a =
|
|
6265
|
-
variant: r =
|
|
6270
|
+
cancelBtnText: n = xe.props.cancelBtnText.default,
|
|
6271
|
+
confirmBtnText: a = xe.props.confirmBtnText.default,
|
|
6272
|
+
variant: r = xe.props.variant.default,
|
|
6266
6273
|
elevation: i,
|
|
6267
|
-
isModalOpen: o =
|
|
6274
|
+
isModalOpen: o = xe.props.isModalOpen.default,
|
|
6268
6275
|
onClose: u,
|
|
6269
6276
|
onCancel: d,
|
|
6270
6277
|
onConfirm: h,
|
|
6271
6278
|
...f
|
|
6272
6279
|
}) => {
|
|
6273
|
-
const y = r &&
|
|
6280
|
+
const y = r && xe.props.variant.options.find((g) => g === r) ? `${xe.class}--${r}` : `${xe.class}--${xe.props.variant.default}`, _ = i && `${xe.class}--elevation-${i}`, S = h || d, v = Ce(
|
|
6274
6281
|
(g) => {
|
|
6275
6282
|
g.keyCode === 27 && u();
|
|
6276
6283
|
},
|
|
@@ -6292,7 +6299,7 @@ const Ae = {
|
|
|
6292
6299
|
/* @__PURE__ */ O(
|
|
6293
6300
|
"div",
|
|
6294
6301
|
{
|
|
6295
|
-
className: [
|
|
6302
|
+
className: [xe.class, y, _, t].filter((g) => g).join(" "),
|
|
6296
6303
|
"data-testid": "ds-modal",
|
|
6297
6304
|
children: [
|
|
6298
6305
|
!S && /* @__PURE__ */ c(
|
|
@@ -6306,11 +6313,11 @@ const Ae = {
|
|
|
6306
6313
|
),
|
|
6307
6314
|
/* @__PURE__ */ O("div", { className: "ds-modal__content", children: [
|
|
6308
6315
|
/* @__PURE__ */ c("div", { className: "ds-modal__content__title", children: e }),
|
|
6309
|
-
e && /* @__PURE__ */ c(
|
|
6316
|
+
e && /* @__PURE__ */ c(Te, { vertical: "xxxs" }),
|
|
6310
6317
|
/* @__PURE__ */ c("div", { className: "ds-modal__content__content", children: s })
|
|
6311
6318
|
] }),
|
|
6312
|
-
S && /* @__PURE__ */ c(
|
|
6313
|
-
!S && /* @__PURE__ */ c(
|
|
6319
|
+
S && /* @__PURE__ */ c(Te, { vertical: "sm" }),
|
|
6320
|
+
!S && /* @__PURE__ */ c(Te, { vertical: "xxs" }),
|
|
6314
6321
|
/* @__PURE__ */ O("div", { className: "ds-modal__cta", children: [
|
|
6315
6322
|
d && /* @__PURE__ */ c(
|
|
6316
6323
|
ft,
|
|
@@ -6336,18 +6343,18 @@ const Ae = {
|
|
|
6336
6343
|
)
|
|
6337
6344
|
] }) : null;
|
|
6338
6345
|
};
|
|
6339
|
-
|
|
6346
|
+
Sn.propTypes = {
|
|
6340
6347
|
firstButtonText: l.string,
|
|
6341
6348
|
confirmBtnText: l.string,
|
|
6342
6349
|
cancelBtnText: l.string,
|
|
6343
|
-
variant: l.oneOf(
|
|
6344
|
-
elevation: l.oneOf(
|
|
6350
|
+
variant: l.oneOf(xe.props.variant.options),
|
|
6351
|
+
elevation: l.oneOf(xe.props.elevation.options),
|
|
6345
6352
|
isModalOpen: l.bool,
|
|
6346
6353
|
title: l.node,
|
|
6347
6354
|
content: l.node
|
|
6348
6355
|
};
|
|
6349
|
-
|
|
6350
|
-
var
|
|
6356
|
+
Sn.displayName = "DsModal";
|
|
6357
|
+
var En = /* @__PURE__ */ ((t) => (t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Info = "info", t))(En || {}), wn = /* @__PURE__ */ ((t) => (t.Rounded = "rounded", t.Squared = "squared", t))(wn || {});
|
|
6351
6358
|
const ve = {
|
|
6352
6359
|
name: "DsNotification",
|
|
6353
6360
|
class: "ds-notification",
|
|
@@ -6355,7 +6362,7 @@ const ve = {
|
|
|
6355
6362
|
type: {
|
|
6356
6363
|
type: String,
|
|
6357
6364
|
default: "info",
|
|
6358
|
-
options: Object.values(
|
|
6365
|
+
options: Object.values(En)
|
|
6359
6366
|
},
|
|
6360
6367
|
id: {
|
|
6361
6368
|
type: String
|
|
@@ -6379,7 +6386,7 @@ const ve = {
|
|
|
6379
6386
|
variant: {
|
|
6380
6387
|
type: String,
|
|
6381
6388
|
default: "rounded",
|
|
6382
|
-
options: Object.values(
|
|
6389
|
+
options: Object.values(wn)
|
|
6383
6390
|
},
|
|
6384
6391
|
progressBar: {
|
|
6385
6392
|
type: Boolean,
|
|
@@ -6391,8 +6398,8 @@ const ve = {
|
|
|
6391
6398
|
}
|
|
6392
6399
|
}
|
|
6393
6400
|
};
|
|
6394
|
-
var
|
|
6395
|
-
const
|
|
6401
|
+
var An = /* @__PURE__ */ ((t) => (t.success = "check", t.danger = "error", t.warning = "warning", t.info = "info", t))(An || {});
|
|
6402
|
+
const xn = ({
|
|
6396
6403
|
className: t,
|
|
6397
6404
|
type: e = ve.props.type.default,
|
|
6398
6405
|
variant: s = ve.props.variant.default,
|
|
@@ -6443,7 +6450,7 @@ const An = ({
|
|
|
6443
6450
|
{
|
|
6444
6451
|
color: e,
|
|
6445
6452
|
fill: !0,
|
|
6446
|
-
image:
|
|
6453
|
+
image: An[e]
|
|
6447
6454
|
}
|
|
6448
6455
|
) }),
|
|
6449
6456
|
/* @__PURE__ */ c(ce, { flex: "1", children: /* @__PURE__ */ c(st, { left: "none", right: "none", space: "nano", children: a ?? r }) }),
|
|
@@ -6455,7 +6462,7 @@ const An = ({
|
|
|
6455
6462
|
onClick: (H) => N(H),
|
|
6456
6463
|
children: /* @__PURE__ */ c(st, { children: /* @__PURE__ */ c(ee, { image: "close" }) })
|
|
6457
6464
|
}
|
|
6458
|
-
) : /* @__PURE__ */ c(
|
|
6465
|
+
) : /* @__PURE__ */ c(Te, { horizontal: "quark" }) })
|
|
6459
6466
|
] }) }),
|
|
6460
6467
|
h && i && /* @__PURE__ */ c(
|
|
6461
6468
|
"div",
|
|
@@ -6471,7 +6478,7 @@ const An = ({
|
|
|
6471
6478
|
}
|
|
6472
6479
|
) : null;
|
|
6473
6480
|
};
|
|
6474
|
-
|
|
6481
|
+
xn.displayName = "DsNotification";
|
|
6475
6482
|
const Nt = {
|
|
6476
6483
|
name: "DsPasswordConfirmation",
|
|
6477
6484
|
class: "ds-password-confirmation",
|
|
@@ -6516,7 +6523,7 @@ const Nt = {
|
|
|
6516
6523
|
good: "Boa",
|
|
6517
6524
|
medium: "Médio",
|
|
6518
6525
|
weak: "Fraco"
|
|
6519
|
-
},
|
|
6526
|
+
}, Cn = ({
|
|
6520
6527
|
onChange: t,
|
|
6521
6528
|
validationList: e = Nt.props.validationList.default,
|
|
6522
6529
|
instructionLabel: s = Nt.props.instructionLabel.default,
|
|
@@ -6526,7 +6533,7 @@ const Nt = {
|
|
|
6526
6533
|
score: 0,
|
|
6527
6534
|
color: "danger",
|
|
6528
6535
|
label: "Fraco"
|
|
6529
|
-
}), [y, _] = U(!1), S =
|
|
6536
|
+
}), [y, _] = U(!1), S = Ce(
|
|
6530
6537
|
(p) => {
|
|
6531
6538
|
const C = e.map(
|
|
6532
6539
|
(N) => N == null ? void 0 : N.rule(p)
|
|
@@ -6534,7 +6541,7 @@ const Nt = {
|
|
|
6534
6541
|
return d(C), C;
|
|
6535
6542
|
},
|
|
6536
6543
|
[e]
|
|
6537
|
-
), v =
|
|
6544
|
+
), v = Ce(
|
|
6538
6545
|
(p) => {
|
|
6539
6546
|
r(p.currentTarget.value);
|
|
6540
6547
|
const C = S(p.currentTarget.value), N = x(C);
|
|
@@ -6546,7 +6553,7 @@ const Nt = {
|
|
|
6546
6553
|
});
|
|
6547
6554
|
},
|
|
6548
6555
|
[i, t, S]
|
|
6549
|
-
), g =
|
|
6556
|
+
), g = Ce(
|
|
6550
6557
|
(p) => {
|
|
6551
6558
|
o(p.currentTarget.value);
|
|
6552
6559
|
const C = S(a), N = x(C);
|
|
@@ -6558,7 +6565,7 @@ const Nt = {
|
|
|
6558
6565
|
});
|
|
6559
6566
|
},
|
|
6560
6567
|
[a, t, S]
|
|
6561
|
-
), w = ue(() => a !== i && y ? { status: "error", feedback: "As senhas são diferentes" } : { status: "", feedback: "" }, [a, i, y]), F =
|
|
6568
|
+
), w = ue(() => a !== i && y ? { status: "error", feedback: "As senhas são diferentes" } : { status: "", feedback: "" }, [a, i, y]), F = Ce(
|
|
6562
6569
|
(p) => {
|
|
6563
6570
|
const C = {
|
|
6564
6571
|
score: p,
|
|
@@ -6568,7 +6575,7 @@ const Nt = {
|
|
|
6568
6575
|
return p > 30 && p < 75 ? (C.color = "warning", C.label = ct.medium) : p >= 75 && p < 100 ? (C.color = "success", C.label = ct.good) : p === 100 && (C.color = "success-dark", C.label = ct.strong), C;
|
|
6569
6576
|
},
|
|
6570
6577
|
[]
|
|
6571
|
-
), x =
|
|
6578
|
+
), x = Ce(
|
|
6572
6579
|
(p) => {
|
|
6573
6580
|
const C = p.reduce(
|
|
6574
6581
|
(H, q) => {
|
|
@@ -6593,8 +6600,8 @@ const Nt = {
|
|
|
6593
6600
|
testId: "ds-check-icon"
|
|
6594
6601
|
}
|
|
6595
6602
|
) : null,
|
|
6596
|
-
/* @__PURE__ */ c(
|
|
6597
|
-
/* @__PURE__ */ c(
|
|
6603
|
+
/* @__PURE__ */ c(Te, { horizontal: "quark" }),
|
|
6604
|
+
/* @__PURE__ */ c(Le, { children: p.title })
|
|
6598
6605
|
] }, C + p.title);
|
|
6599
6606
|
}) });
|
|
6600
6607
|
return /* @__PURE__ */ O(Pe, { className: "ds-password-confirmation", flexDirection: "column", children: [
|
|
@@ -6610,16 +6617,16 @@ const Nt = {
|
|
|
6610
6617
|
}
|
|
6611
6618
|
) }),
|
|
6612
6619
|
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(
|
|
6613
|
-
|
|
6620
|
+
tn,
|
|
6614
6621
|
{
|
|
6615
6622
|
color: h == null ? void 0 : h.color,
|
|
6616
6623
|
label: h == null ? void 0 : h.label,
|
|
6617
6624
|
progress: h == null ? void 0 : h.score
|
|
6618
6625
|
}
|
|
6619
6626
|
) }),
|
|
6620
|
-
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(
|
|
6627
|
+
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(Le, { children: s }) }),
|
|
6621
6628
|
/* @__PURE__ */ c(ce, { children: A() }),
|
|
6622
|
-
/* @__PURE__ */ c(
|
|
6629
|
+
/* @__PURE__ */ c(Te, { vertical: "xxs" }),
|
|
6623
6630
|
/* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(
|
|
6624
6631
|
rt,
|
|
6625
6632
|
{
|
|
@@ -6637,14 +6644,14 @@ const Nt = {
|
|
|
6637
6644
|
) })
|
|
6638
6645
|
] });
|
|
6639
6646
|
};
|
|
6640
|
-
|
|
6647
|
+
Cn.propTypes = {
|
|
6641
6648
|
onChange: l.func,
|
|
6642
6649
|
validationList: l.array,
|
|
6643
6650
|
instructionLabel: l.string,
|
|
6644
6651
|
testId: l.string
|
|
6645
6652
|
};
|
|
6646
|
-
|
|
6647
|
-
const
|
|
6653
|
+
Cn.displayName = "DsPasswordConfirmation";
|
|
6654
|
+
const Oe = {
|
|
6648
6655
|
name: "DsStepper",
|
|
6649
6656
|
class: "ds-stepper",
|
|
6650
6657
|
props: {
|
|
@@ -6657,30 +6664,30 @@ const Fe = {
|
|
|
6657
6664
|
default: 0
|
|
6658
6665
|
}
|
|
6659
6666
|
}
|
|
6660
|
-
},
|
|
6667
|
+
}, Da = ({
|
|
6661
6668
|
steps: t,
|
|
6662
|
-
selectedStep: e =
|
|
6669
|
+
selectedStep: e = Oe.props.selectedStep.default,
|
|
6663
6670
|
onChange: s
|
|
6664
6671
|
}) => {
|
|
6665
6672
|
const [n, a] = U(e), r = (i, o) => {
|
|
6666
|
-
const u = [`${
|
|
6667
|
-
return o !== i && u.push(`${
|
|
6673
|
+
const u = [`${Oe.class}__button`];
|
|
6674
|
+
return o !== i && u.push(`${Oe.class}__button--round`), t[i] && t[i].disabled && u.push(`${Oe.class}__button--disabled`), u.join(" ");
|
|
6668
6675
|
};
|
|
6669
6676
|
return Z(() => {
|
|
6670
6677
|
a(e);
|
|
6671
6678
|
}, [e]), Z(() => {
|
|
6672
6679
|
s(n);
|
|
6673
|
-
}, [n]), /* @__PURE__ */ O("div", { className:
|
|
6674
|
-
/* @__PURE__ */ O("span", { className: `${
|
|
6680
|
+
}, [n]), /* @__PURE__ */ O("div", { className: Oe.class, children: [
|
|
6681
|
+
/* @__PURE__ */ O("span", { className: `${Oe.class}__step-counter`, children: [
|
|
6675
6682
|
"Etapa ",
|
|
6676
6683
|
n + 1,
|
|
6677
6684
|
" de ",
|
|
6678
6685
|
t == null ? void 0 : t.length
|
|
6679
6686
|
] }),
|
|
6680
|
-
/* @__PURE__ */ c("div", { className: `${
|
|
6687
|
+
/* @__PURE__ */ c("div", { className: `${Oe.class}__step`, children: t.map((i, o) => /* @__PURE__ */ c(
|
|
6681
6688
|
"div",
|
|
6682
6689
|
{
|
|
6683
|
-
className: `${
|
|
6690
|
+
className: `${Oe.class}__content`,
|
|
6684
6691
|
children: /* @__PURE__ */ c(
|
|
6685
6692
|
"button",
|
|
6686
6693
|
{
|
|
@@ -6688,11 +6695,11 @@ const Fe = {
|
|
|
6688
6695
|
"data-testid": `ds-button-${o}`,
|
|
6689
6696
|
disabled: i.disabled,
|
|
6690
6697
|
onClick: () => a(o),
|
|
6691
|
-
children: /* @__PURE__ */ O("span", { className: `${
|
|
6698
|
+
children: /* @__PURE__ */ O("span", { className: `${Oe.class}__text`, children: [
|
|
6692
6699
|
n === o ? /* @__PURE__ */ c(st, { bottom: "none", left: "nano", right: "nano", top: "none", children: /* @__PURE__ */ c(
|
|
6693
6700
|
ee,
|
|
6694
6701
|
{
|
|
6695
|
-
className: `${
|
|
6702
|
+
className: `${Oe.class}__icon`,
|
|
6696
6703
|
fill: !0,
|
|
6697
6704
|
image: i.icon,
|
|
6698
6705
|
testId: `ds-icon-${o}`
|
|
@@ -6700,7 +6707,7 @@ const Fe = {
|
|
|
6700
6707
|
) }) : /* @__PURE__ */ c(
|
|
6701
6708
|
ee,
|
|
6702
6709
|
{
|
|
6703
|
-
className: `${
|
|
6710
|
+
className: `${Oe.class}__icon`,
|
|
6704
6711
|
fill: !0,
|
|
6705
6712
|
image: i.icon,
|
|
6706
6713
|
testId: `ds-icon-${o}`
|
|
@@ -6715,8 +6722,8 @@ const Fe = {
|
|
|
6715
6722
|
)) })
|
|
6716
6723
|
] });
|
|
6717
6724
|
};
|
|
6718
|
-
|
|
6719
|
-
const
|
|
6725
|
+
Da.displayName = "DsStepper";
|
|
6726
|
+
const Ne = {
|
|
6720
6727
|
name: "Table",
|
|
6721
6728
|
class: "ds-table",
|
|
6722
6729
|
props: {
|
|
@@ -6733,13 +6740,13 @@ const Ie = {
|
|
|
6733
6740
|
default: []
|
|
6734
6741
|
}
|
|
6735
6742
|
}
|
|
6736
|
-
},
|
|
6737
|
-
const a = s.align && `${
|
|
6743
|
+
}, Dn = ({ item: t, columns: e }) => /* @__PURE__ */ c("tr", { className: `${Ne.class}__row`, children: e.map((s, n) => {
|
|
6744
|
+
const a = s.align && `${Ne.class}__cell--align-${s.align}`;
|
|
6738
6745
|
return /* @__PURE__ */ c("td", { children: /* @__PURE__ */ c(
|
|
6739
6746
|
"div",
|
|
6740
6747
|
{
|
|
6741
6748
|
className: [
|
|
6742
|
-
`${
|
|
6749
|
+
`${Ne.class}__cell`,
|
|
6743
6750
|
a,
|
|
6744
6751
|
s.className
|
|
6745
6752
|
].filter((r) => r).join(" "),
|
|
@@ -6747,28 +6754,28 @@ const Ie = {
|
|
|
6747
6754
|
}
|
|
6748
6755
|
) }, n);
|
|
6749
6756
|
}) });
|
|
6750
|
-
|
|
6751
|
-
const
|
|
6757
|
+
Dn.displayName = "DsTableRow";
|
|
6758
|
+
const Ta = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", { className: `${Ne.class}__wrapper`, children: /* @__PURE__ */ O(
|
|
6752
6759
|
"table",
|
|
6753
6760
|
{
|
|
6754
|
-
className: [`${
|
|
6761
|
+
className: [`${Ne.class}`, s].filter((n) => n).join(" "),
|
|
6755
6762
|
children: [
|
|
6756
|
-
/* @__PURE__ */ c("thead", { className: `${
|
|
6763
|
+
/* @__PURE__ */ c("thead", { className: `${Ne.class}__head`, children: /* @__PURE__ */ c("tr", { className: `${Ne.class}__row`, children: t == null ? void 0 : t.map((n, a) => /* @__PURE__ */ c("th", { style: { width: n.size }, children: /* @__PURE__ */ c(
|
|
6757
6764
|
"div",
|
|
6758
6765
|
{
|
|
6759
6766
|
className: [
|
|
6760
|
-
`${
|
|
6761
|
-
n.align && `${
|
|
6767
|
+
`${Ne.class}__cell`,
|
|
6768
|
+
n.align && `${Ne.class}__cell--align-${n.align}`
|
|
6762
6769
|
].filter((r) => r).join(" "),
|
|
6763
6770
|
children: n.label
|
|
6764
6771
|
}
|
|
6765
6772
|
) }, a)) }) }),
|
|
6766
|
-
/* @__PURE__ */ c("tbody", { className: `${
|
|
6773
|
+
/* @__PURE__ */ c("tbody", { className: `${Ne.class}__body`, children: e && e.map((n, a) => /* @__PURE__ */ c(Dn, { columns: t, item: n }, a)) })
|
|
6767
6774
|
]
|
|
6768
6775
|
}
|
|
6769
6776
|
) });
|
|
6770
|
-
|
|
6771
|
-
var
|
|
6777
|
+
Ta.displayName = "DsTable";
|
|
6778
|
+
var Tn = /* @__PURE__ */ ((t) => (t.None = "", t.Primary = "primary", t.Secondary = "secondary", t.Neutral = "neutral", t.Success = "success", t.Warning = "warning", t.Danger = "danger", t.Info = "info", t))(Tn || {}), it = /* @__PURE__ */ ((t) => (t.Segmented = "segmented", t.Navigation = "navigation", t))(it || {});
|
|
6772
6779
|
const me = {
|
|
6773
6780
|
name: "DsTabs",
|
|
6774
6781
|
class: "ds-tabs",
|
|
@@ -6784,7 +6791,7 @@ const me = {
|
|
|
6784
6791
|
color: {
|
|
6785
6792
|
type: String,
|
|
6786
6793
|
default: "primary",
|
|
6787
|
-
options: Object.values(
|
|
6794
|
+
options: Object.values(Tn)
|
|
6788
6795
|
},
|
|
6789
6796
|
variant: {
|
|
6790
6797
|
type: String,
|
|
@@ -6801,7 +6808,7 @@ const me = {
|
|
|
6801
6808
|
}
|
|
6802
6809
|
}
|
|
6803
6810
|
}
|
|
6804
|
-
},
|
|
6811
|
+
}, Fa = ({
|
|
6805
6812
|
active: t,
|
|
6806
6813
|
className: e,
|
|
6807
6814
|
color: s,
|
|
@@ -6864,7 +6871,7 @@ function Rt(t, e) {
|
|
|
6864
6871
|
const n = t.findIndex((a) => !a.hidden);
|
|
6865
6872
|
return n >= 0 ? n : 0;
|
|
6866
6873
|
}
|
|
6867
|
-
const
|
|
6874
|
+
const ja = ({
|
|
6868
6875
|
tabs: t,
|
|
6869
6876
|
color: e,
|
|
6870
6877
|
selectedTab: s = me.props.selectedTab.default,
|
|
@@ -6911,7 +6918,7 @@ const La = ({
|
|
|
6911
6918
|
children: f.map(({ tab: g, index: w }) => {
|
|
6912
6919
|
const F = `${me.class}-tab-${g.name ?? w}`, x = `${me.class}-panel-${g.name ?? w}`, A = g.content !== void 0;
|
|
6913
6920
|
return /* @__PURE__ */ c(
|
|
6914
|
-
|
|
6921
|
+
Fa,
|
|
6915
6922
|
{
|
|
6916
6923
|
...g,
|
|
6917
6924
|
active: d === w,
|
|
@@ -6950,15 +6957,15 @@ const La = ({
|
|
|
6950
6957
|
}
|
|
6951
6958
|
);
|
|
6952
6959
|
};
|
|
6953
|
-
function
|
|
6960
|
+
function Oa({ library: t, children: e, theme: s }) {
|
|
6954
6961
|
return /* @__PURE__ */ c("div", { "data-library": t, "data-theme": s, children: /* @__PURE__ */ c("div", { className: "ds-theme", children: e }) });
|
|
6955
6962
|
}
|
|
6956
|
-
|
|
6963
|
+
Oa.propTypes = {
|
|
6957
6964
|
library: l.string,
|
|
6958
6965
|
children: l.node.isRequired,
|
|
6959
6966
|
theme: l.string
|
|
6960
6967
|
};
|
|
6961
|
-
var
|
|
6968
|
+
var Fn = /* @__PURE__ */ ((t) => (t.TopLeft = "top-left", t.TopCenter = "top-center", t.TopRight = "top-right", t.BottomLeft = "bottom-left", t.BottomCenter = "bottom-center", t.BottomRight = "bottom-right", t))(Fn || {});
|
|
6962
6969
|
const ze = {
|
|
6963
6970
|
name: "DsNotificationList",
|
|
6964
6971
|
class: "ds-notification-list",
|
|
@@ -6966,7 +6973,7 @@ const ze = {
|
|
|
6966
6973
|
position: {
|
|
6967
6974
|
type: String,
|
|
6968
6975
|
default: "top-right",
|
|
6969
|
-
options: Object.values(
|
|
6976
|
+
options: Object.values(Fn)
|
|
6970
6977
|
},
|
|
6971
6978
|
fluid: {
|
|
6972
6979
|
type: Boolean,
|
|
@@ -6977,7 +6984,7 @@ const ze = {
|
|
|
6977
6984
|
default: ""
|
|
6978
6985
|
}
|
|
6979
6986
|
}
|
|
6980
|
-
},
|
|
6987
|
+
}, On = ({
|
|
6981
6988
|
className: t = ze.props.className.default,
|
|
6982
6989
|
position: e = ze.props.position.default,
|
|
6983
6990
|
fluid: s = ze.props.fluid.default,
|
|
@@ -6995,7 +7002,7 @@ const ze = {
|
|
|
6995
7002
|
return /* @__PURE__ */ c("div", { className: r, "data-testid": "ds-notification-list", children: n.map((o) => {
|
|
6996
7003
|
const u = o.autoClose ?? !0, d = o.autoCloseTimer ?? 4e3, h = o.dismissible ?? !0, f = o.elevation ?? 2, y = o.progressBar ?? !0;
|
|
6997
7004
|
return /* @__PURE__ */ c(
|
|
6998
|
-
|
|
7005
|
+
xn,
|
|
6999
7006
|
{
|
|
7000
7007
|
autoClose: u,
|
|
7001
7008
|
autoCloseTimer: d,
|
|
@@ -7011,16 +7018,16 @@ const ze = {
|
|
|
7011
7018
|
);
|
|
7012
7019
|
}) });
|
|
7013
7020
|
};
|
|
7014
|
-
|
|
7021
|
+
On.propTypes = {
|
|
7015
7022
|
position: l.oneOf(ze.props.position.options),
|
|
7016
7023
|
fluid: l.bool,
|
|
7017
7024
|
notifications: l.array,
|
|
7018
7025
|
removeNotification: l.func
|
|
7019
7026
|
};
|
|
7020
|
-
|
|
7027
|
+
On.displayName = "DsNotificationList";
|
|
7021
7028
|
const Je = {
|
|
7022
7029
|
class: "ds-split-layout"
|
|
7023
|
-
},
|
|
7030
|
+
}, Ia = ({
|
|
7024
7031
|
leftContent: t,
|
|
7025
7032
|
rightContent: e,
|
|
7026
7033
|
leftBackgroundColor: s,
|
|
@@ -7033,12 +7040,12 @@ const Je = {
|
|
|
7033
7040
|
/* @__PURE__ */ c("div", { className: h, children: e })
|
|
7034
7041
|
] });
|
|
7035
7042
|
};
|
|
7036
|
-
|
|
7043
|
+
Ia.displayName = "DsSplitLayout";
|
|
7037
7044
|
const dt = {
|
|
7038
7045
|
name: "TwoColumns",
|
|
7039
7046
|
class: "ds-two-columns",
|
|
7040
7047
|
props: {}
|
|
7041
|
-
},
|
|
7048
|
+
}, In = ({
|
|
7042
7049
|
header: t,
|
|
7043
7050
|
main: e,
|
|
7044
7051
|
sidebar: s,
|
|
@@ -7060,154 +7067,155 @@ const dt = {
|
|
|
7060
7067
|
)
|
|
7061
7068
|
] })
|
|
7062
7069
|
] }),
|
|
7063
|
-
/* @__PURE__ */ c(
|
|
7070
|
+
/* @__PURE__ */ c(Te, { vertical: "sm" })
|
|
7064
7071
|
] });
|
|
7065
|
-
|
|
7072
|
+
In.propTypes = {
|
|
7066
7073
|
breadcrumb: l.node,
|
|
7067
7074
|
header: l.node,
|
|
7068
7075
|
main: l.node,
|
|
7069
7076
|
sidebar: l.node
|
|
7070
7077
|
};
|
|
7071
|
-
|
|
7078
|
+
In.displayName = "DsTwoColumns";
|
|
7072
7079
|
export {
|
|
7073
7080
|
ps as ButtonColor,
|
|
7074
|
-
|
|
7081
|
+
Gn as ButtonElevation,
|
|
7075
7082
|
gs as ButtonIconPosition,
|
|
7076
7083
|
fs as ButtonSize,
|
|
7077
7084
|
hs as ButtonVariant,
|
|
7078
7085
|
$t as CardColor,
|
|
7079
|
-
|
|
7080
|
-
|
|
7086
|
+
Jn as CardElevation,
|
|
7087
|
+
bs as CardSize,
|
|
7088
|
+
ws as ChipColor,
|
|
7081
7089
|
gt as ChipIconPosition,
|
|
7082
|
-
|
|
7083
|
-
|
|
7090
|
+
As as ChipVariant,
|
|
7091
|
+
yn as DsAccordion,
|
|
7084
7092
|
Wt as DsAccordionItem,
|
|
7085
|
-
|
|
7093
|
+
Sa as DsActiveTags,
|
|
7086
7094
|
ft as DsButton,
|
|
7087
7095
|
ks as DsCaption,
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7096
|
+
Ss as DsCard,
|
|
7097
|
+
Ea as DsCarousel,
|
|
7098
|
+
Es as DsCheckbox,
|
|
7099
|
+
Ba as DsChip,
|
|
7092
7100
|
Ht as DsContainer,
|
|
7093
|
-
|
|
7101
|
+
Aa as DsEditableSelect,
|
|
7094
7102
|
ce as DsFlexElement,
|
|
7095
7103
|
Pe as DsFlexLayout,
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7104
|
+
ba as DsGridElement,
|
|
7105
|
+
vn as DsGridLayout,
|
|
7106
|
+
Ts as DsHR,
|
|
7099
7107
|
qt as DsHeading,
|
|
7100
7108
|
ee as DsIcon,
|
|
7101
|
-
|
|
7102
|
-
|
|
7109
|
+
La as DsIndicator,
|
|
7110
|
+
kn as DsInlineEditable,
|
|
7103
7111
|
rt as DsInput,
|
|
7104
7112
|
zt as DsLoading,
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7113
|
+
Sn as DsModal,
|
|
7114
|
+
xn as DsNotification,
|
|
7115
|
+
On as DsNotificationList,
|
|
7116
|
+
Ys as DsOption,
|
|
7117
|
+
Le as DsParagraph,
|
|
7118
|
+
Cn as DsPasswordConfirmation,
|
|
7119
|
+
tn as DsProgress,
|
|
7120
|
+
va as DsRadio,
|
|
7121
|
+
ya as DsSegmentControl,
|
|
7122
|
+
un as DsSelect,
|
|
7123
|
+
Te as DsSpacer,
|
|
7124
|
+
Ia as DsSplitLayout,
|
|
7125
|
+
Da as DsStepper,
|
|
7126
|
+
_a as DsSubtitle,
|
|
7127
|
+
Ta as DsTable,
|
|
7128
|
+
ja as DsTabs,
|
|
7129
|
+
gn as DsTextArea,
|
|
7122
7130
|
Ge as DsTooltip,
|
|
7123
|
-
|
|
7131
|
+
In as DsTwoColumns,
|
|
7124
7132
|
st as DsWrapper,
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7133
|
+
_n as EditableSelectSize,
|
|
7134
|
+
Zs as FlexLayoutAlignItems,
|
|
7135
|
+
Qs as FlexLayoutDirection,
|
|
7136
|
+
en as FlexLayoutGap,
|
|
7137
|
+
Gs as FlexLayoutJustifyContent,
|
|
7138
|
+
Js as FlexLayoutWrap,
|
|
7131
7139
|
jt as GridLayoutAlign,
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7140
|
+
mn as GridLayoutGap,
|
|
7141
|
+
Cs as HRBorderStyle,
|
|
7142
|
+
Ds as HRSize,
|
|
7143
|
+
xs as HeadingType,
|
|
7136
7144
|
ms as IconColor,
|
|
7137
7145
|
ys as IconSize,
|
|
7138
7146
|
vs as IconVariation,
|
|
7139
7147
|
_s as IconWeight,
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7148
|
+
Ls as InputSize,
|
|
7149
|
+
js as InputStatus,
|
|
7150
|
+
Ps as InputTooltipPlacement,
|
|
7151
|
+
qs as InputTooltipPosition,
|
|
7152
|
+
Vs as InputType,
|
|
7153
|
+
Ws as LoadingBackgroundColor,
|
|
7154
|
+
Hs as LoadingSize,
|
|
7155
|
+
Ca as ModalElevation,
|
|
7156
|
+
bn as ModalVariant,
|
|
7157
|
+
Fn as NotificationListPosition,
|
|
7158
|
+
En as NotificationType,
|
|
7159
|
+
wn as NotificationVariant,
|
|
7160
|
+
Xs as ParagraphType,
|
|
7153
7161
|
Ks as ProgressColor,
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7162
|
+
sn as RadioVariant,
|
|
7163
|
+
nn as SegmentControlSize,
|
|
7164
|
+
an as SelectSize,
|
|
7165
|
+
rn as SelectStatus,
|
|
7166
|
+
ln as SelectTooltipPlacement,
|
|
7167
|
+
on as SelectTooltipPosition,
|
|
7160
7168
|
Lt as SpacerSize,
|
|
7161
|
-
|
|
7162
|
-
|
|
7169
|
+
cn as SubtitleType,
|
|
7170
|
+
Tn as TabsColor,
|
|
7163
7171
|
it as TabsVariant,
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
+
fn as TextAreaResize,
|
|
7173
|
+
dn as TextAreaSize,
|
|
7174
|
+
hn as TextAreaStatus,
|
|
7175
|
+
pn as TextAreaType,
|
|
7176
|
+
Oa as ThemeProvider,
|
|
7177
|
+
zs as TooltipPlacement,
|
|
7178
|
+
Us as TooltipPosition,
|
|
7179
|
+
Ke as WrapperSpace,
|
|
7172
7180
|
It as accordionConfig,
|
|
7173
|
-
|
|
7174
|
-
|
|
7181
|
+
Xe as accordionItemConfig,
|
|
7182
|
+
Va as activeTagsConfig,
|
|
7175
7183
|
G as buttonConfig,
|
|
7176
|
-
|
|
7177
|
-
|
|
7184
|
+
Qn as captionConfig,
|
|
7185
|
+
Se as cardConfig,
|
|
7178
7186
|
Ze as carouselConfig,
|
|
7179
7187
|
ge as checkboxConfig,
|
|
7180
|
-
|
|
7188
|
+
Be as chipConfig,
|
|
7181
7189
|
ut as containerConfig,
|
|
7182
|
-
|
|
7190
|
+
K as editableSelectConfig,
|
|
7183
7191
|
Ft as flexElementConfig,
|
|
7184
7192
|
Ue as flexLayoutConfig,
|
|
7185
|
-
|
|
7193
|
+
Ma as gridElementConfig,
|
|
7186
7194
|
ie as gridLayoutConfig,
|
|
7187
7195
|
et as headingConfig,
|
|
7188
7196
|
He as horizontalRuleConfig,
|
|
7189
7197
|
be as iconConfig,
|
|
7190
7198
|
Qe as indicatorConfig,
|
|
7191
|
-
|
|
7199
|
+
xa as inlineEditableConfig,
|
|
7192
7200
|
J as inputConfig,
|
|
7193
7201
|
ke as loadingConfig,
|
|
7194
|
-
|
|
7202
|
+
xe as modalConfig,
|
|
7195
7203
|
ve as notificationConfig,
|
|
7196
7204
|
ze as notificationListConfig,
|
|
7197
|
-
|
|
7205
|
+
$e as optionConfig,
|
|
7198
7206
|
ht as paragraphConfig,
|
|
7199
7207
|
Nt as passwordConfirmationConfig,
|
|
7200
7208
|
Vt as progressConfig,
|
|
7201
|
-
|
|
7209
|
+
Ae as radioConfig,
|
|
7202
7210
|
_e as segmentControlConfig,
|
|
7203
7211
|
te as selectConfig,
|
|
7204
7212
|
tt as spacerConfig,
|
|
7205
|
-
|
|
7213
|
+
Oe as stepperConfig,
|
|
7206
7214
|
Ot as subtitleConfig,
|
|
7207
|
-
|
|
7215
|
+
Ne as tableConfig,
|
|
7208
7216
|
me as tabsConfig,
|
|
7209
7217
|
oe as textAreaConfig,
|
|
7210
|
-
|
|
7218
|
+
Ie as tooltipConfig,
|
|
7211
7219
|
dt as twoColumnsConfig,
|
|
7212
|
-
|
|
7220
|
+
Fe as wrapperConfig
|
|
7213
7221
|
};
|