@selfdecode/sd-component-library 4.0.149 → 4.0.151
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/lib/components/links/link/interfaces.d.ts +2 -0
- package/lib/sd-component-library104.js +1 -1
- package/lib/sd-component-library110.js +1 -1
- package/lib/sd-component-library111.js +1 -1
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library114.js +1 -1
- package/lib/sd-component-library119.js +1 -1
- package/lib/sd-component-library120.js +1 -1
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library125.js +3 -3
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library13.js +1 -1
- package/lib/sd-component-library140.js +1 -1
- package/lib/sd-component-library141.js +1 -1
- package/lib/sd-component-library144.js +1 -1
- package/lib/sd-component-library145.js +3 -3
- package/lib/sd-component-library169.js +3 -3
- package/lib/sd-component-library172.js +60 -2
- package/lib/sd-component-library172.js.map +1 -1
- package/lib/sd-component-library173.js +2 -30
- package/lib/sd-component-library173.js.map +1 -1
- package/lib/sd-component-library174.js +21 -590
- package/lib/sd-component-library174.js.map +1 -1
- package/lib/sd-component-library175.js +595 -56
- package/lib/sd-component-library175.js.map +1 -1
- package/lib/sd-component-library176.js +57 -3
- package/lib/sd-component-library176.js.map +1 -1
- package/lib/sd-component-library177.js +3 -57
- package/lib/sd-component-library177.js.map +1 -1
- package/lib/sd-component-library190.js +77 -45
- package/lib/sd-component-library190.js.map +1 -1
- package/lib/sd-component-library191.js +3 -78
- package/lib/sd-component-library191.js.map +1 -1
- package/lib/sd-component-library192.js +46 -3
- package/lib/sd-component-library192.js.map +1 -1
- package/lib/sd-component-library194.js +3 -26
- package/lib/sd-component-library194.js.map +1 -1
- package/lib/sd-component-library195.js +31 -3
- package/lib/sd-component-library195.js.map +1 -1
- package/lib/sd-component-library196.js +19 -31
- package/lib/sd-component-library196.js.map +1 -1
- package/lib/sd-component-library197.js +20 -19
- package/lib/sd-component-library197.js.map +1 -1
- package/lib/sd-component-library198.js +28 -20
- package/lib/sd-component-library198.js.map +1 -1
- package/lib/sd-component-library199.js +32 -27
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +22 -29
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library202.js +64 -129
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library204.js +36 -40
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +12 -7
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +21 -64
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +107 -41
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +46 -12
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +24 -21
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +47 -103
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +128 -46
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +45 -22
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +7 -52
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +46 -19
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +75 -20
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +39 -46
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +27 -41
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +21 -27
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +20 -75
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library229.js +30 -2
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +51 -2
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +134 -30
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +62 -39
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +62 -120
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +30 -74
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +15 -70
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +112 -109
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +122 -30
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +9 -21
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +44 -118
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library240.js +89 -8
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +89 -48
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +2 -90
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +2 -92
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library246.js +70 -10
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +101 -69
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +96 -92
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +10 -106
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library263.js +1 -1
- package/lib/sd-component-library264.js +2 -2
- package/lib/sd-component-library266.js +4 -24
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +24 -4
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library282.js +1 -1
- package/lib/sd-component-library53.js +39 -39
- package/lib/sd-component-library53.js.map +1 -1
- package/lib/sd-component-library57.js +3 -3
- package/lib/sd-component-library58.js +1 -1
- package/lib/sd-component-library59.js +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library70.js +2 -2
- package/lib/sd-component-library71.js +1 -1
- package/lib/sd-component-library72.js +1 -1
- package/lib/sd-component-library76.js +9 -8
- package/lib/sd-component-library76.js.map +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +6 -6
- package/lib/sd-component-library82.js +2 -2
- package/lib/sd-component-library84.js +4 -4
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library87.js +5 -5
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +6 -6
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library93.js +2 -2
- package/lib/sd-component-library94.js +3 -3
- package/lib/sd-component-library95.js +2 -2
- package/lib/sd-component-library96.js +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library169.js";
|
|
2
2
|
import x from "react";
|
|
3
3
|
import u from "./sd-component-library168.js";
|
|
4
|
-
import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-
|
|
5
|
-
import { OutlineMeterRange as M } from "./sd-component-
|
|
4
|
+
import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-library197.js";
|
|
5
|
+
import { OutlineMeterRange as M } from "./sd-component-library211.js";
|
|
6
6
|
import { LabelPointer as b } from "./sd-component-library289.js";
|
|
7
7
|
const A = x.forwardRef(
|
|
8
8
|
(e, r) => {
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const {
|
|
5
|
-
startX: $,
|
|
6
|
-
startY: e,
|
|
7
|
-
endX: a,
|
|
8
|
-
endY: d,
|
|
9
|
-
radius: n,
|
|
10
|
-
color: A,
|
|
11
|
-
width: t,
|
|
12
|
-
roundStart: l = !0,
|
|
13
|
-
roundEnd: I = !0,
|
|
14
|
-
startAlpha: o,
|
|
15
|
-
endAlpha: s
|
|
16
|
-
} = p, c = s - o, m = u($, r(o), t), X = i(e, r(o), t), Y = u(a, r(s), t), h = i(d, r(s), t);
|
|
17
|
-
return /* @__PURE__ */ x.jsx(
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: `M${$},${e} A${n},${n} 0 ${c > 180 ? "1" : "0"},1 ${a},${d} ${I ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${Y},${h} A${n - t},${n - t} 0 ${c > 180 ? "1" : "0"},0 ${m},${X} ${l ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${$},${e}`,
|
|
21
|
-
fill: A
|
|
22
|
-
}
|
|
23
|
-
);
|
|
1
|
+
const p = (c, r, n, t) => {
|
|
2
|
+
const o = c - (r - 1) * n, s = t / r, e = (t + 1) / r, a = (360 - c) / 2 + n * t + o * s, S = a + o * (e - s);
|
|
3
|
+
return { rangeArcStart: a, rangeArcEnd: S };
|
|
24
4
|
};
|
|
25
5
|
export {
|
|
26
|
-
|
|
6
|
+
p as getRangeProperties
|
|
27
7
|
};
|
|
28
8
|
//# sourceMappingURL=sd-component-library266.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library266.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library266.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/utils.ts"],"sourcesContent":["export const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n\n const start = idx / totalRanges;\n const end = (idx + 1) / totalRanges;\n\n const arcStart = (360 - arc) / 2; // deg\n\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n return { rangeArcStart, rangeArcEnd };\n};\n"],"names":["getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","arcForRanges","start","end","rangeArcStart","rangeArcEnd"],"mappings":"AAAO,MAAMA,IAAqB,CAChCC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeJ,KAAOC,IAAc,KAAKC,GAEzCG,IAAQF,IAAMF,GACdK,KAAOH,IAAM,KAAKF,GAIlBM,KAFY,MAAMP,KAAO,IAGlBE,IAAwBC,IAAMC,IAAeC,GAEpDG,IAAcD,IAAgBH,KAAgBE,IAAMD;AAEnD,SAAA,EAAE,eAAAE,GAAe,aAAAC;AAC1B;"}
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { j as x } from "./sd-component-library169.js";
|
|
2
|
+
import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library86.js";
|
|
3
|
+
const j = (p) => {
|
|
4
|
+
const {
|
|
5
|
+
startX: $,
|
|
6
|
+
startY: e,
|
|
7
|
+
endX: a,
|
|
8
|
+
endY: d,
|
|
9
|
+
radius: n,
|
|
10
|
+
color: A,
|
|
11
|
+
width: t,
|
|
12
|
+
roundStart: l = !0,
|
|
13
|
+
roundEnd: I = !0,
|
|
14
|
+
startAlpha: o,
|
|
15
|
+
endAlpha: s
|
|
16
|
+
} = p, c = s - o, m = u($, r(o), t), X = i(e, r(o), t), Y = u(a, r(s), t), h = i(d, r(s), t);
|
|
17
|
+
return /* @__PURE__ */ x.jsx(
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d: `M${$},${e} A${n},${n} 0 ${c > 180 ? "1" : "0"},1 ${a},${d} ${I ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${Y},${h} A${n - t},${n - t} 0 ${c > 180 ? "1" : "0"},0 ${m},${X} ${l ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${$},${e}`,
|
|
21
|
+
fill: A
|
|
22
|
+
}
|
|
23
|
+
);
|
|
4
24
|
};
|
|
5
25
|
export {
|
|
6
|
-
|
|
26
|
+
j as BaseOutlineArc
|
|
7
27
|
};
|
|
8
28
|
//# sourceMappingURL=sd-component-library267.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library267.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library267.js","sources":["../src/components/meters/outline-meter/partials/base-outline-arc/base-outline-arc.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { degToRad, getInnerX, getInnerY } from \"../../utils\";\nimport { BaseOutlineArcProps as Props } from \"./interfaces\";\n\nexport const BaseOutlineArc: React.FC<Props> = (props) => {\n const {\n startX,\n startY,\n endX,\n endY,\n radius,\n color,\n width,\n roundStart = true,\n roundEnd = true,\n startAlpha,\n endAlpha,\n } = props;\n\n const arc = endAlpha - startAlpha;\n\n const startInnerX = getInnerX(startX, degToRad(startAlpha), width);\n const startInnerY = getInnerY(startY, degToRad(startAlpha), width);\n\n const endInnerX = getInnerX(endX, degToRad(endAlpha), width);\n const endInnerY = getInnerY(endY, degToRad(endAlpha), width);\n\n return (\n <path\n d={`M${startX},${startY} A${radius},${radius} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },1 ${endX},${endY} ${\n roundEnd ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${endInnerX},${endInnerY} A${radius - width},${radius - width} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },0 ${startInnerX},${startInnerY} ${\n roundStart ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${startX},${startY}`}\n fill={color}\n />\n );\n};\n"],"names":["BaseOutlineArc","props","startX","startY","endX","endY","radius","color","width","roundStart","roundEnd","startAlpha","endAlpha","arc","startInnerX","getInnerX","degToRad","startInnerY","getInnerY","endInnerX","endInnerY","jsx"],"mappings":";;AAKa,MAAAA,IAAkC,CAACC,MAAU;AAClD,QAAA;AAAA,IACJ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,UAAAC,IAAW;AAAA,IACX,YAAAC;AAAA,IACA,UAAAC;AAAA,EACE,IAAAX,GAEEY,IAAMD,IAAWD,GAEjBG,IAAcC,EAAUb,GAAQc,EAASL,CAAU,GAAGH,CAAK,GAC3DS,IAAcC,EAAUf,GAAQa,EAASL,CAAU,GAAGH,CAAK,GAE3DW,IAAYJ,EAAUX,GAAMY,EAASJ,CAAQ,GAAGJ,CAAK,GACrDY,IAAYF,EAAUb,GAAMW,EAASJ,CAAQ,GAAGJ,CAAK;AAGzD,SAAAa,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAG,IAAInB,CAAM,IAAIC,CAAM,KAAKG,CAAM,IAAIA,CAAM,MAC1CO,IAAM,MAAM,MAAM,GACpB,MAAMT,CAAI,IAAIC,CAAI,IAChBK,IAAW,IAAIF,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACnD,GAAGW,CAAS,IAAIC,CAAS,KAAKd,IAASE,CAAK,IAAIF,IAASE,CAAK,MAC5DK,IAAM,MAAM,MAAM,GACpB,MAAMC,CAAW,IAAIG,CAAW,IAC9BR,IAAa,IAAID,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACrD,GAAGN,CAAM,IAAIC,CAAM;AAAA,MACnB,MAAMI;AAAA,IAAA;AAAA,EAAA;AAGZ;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library169.js";
|
|
2
|
-
import { getSelectedRangeText as l } from "./sd-component-
|
|
2
|
+
import { getSelectedRangeText as l } from "./sd-component-library246.js";
|
|
3
3
|
import { BaseGridContainer as i } from "./sd-component-library31.js";
|
|
4
4
|
import { RegularText as n, SemiBoldText as p } from "./sd-component-library136.js";
|
|
5
5
|
const m = (o) => {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { j as l } from "./sd-component-library169.js";
|
|
2
2
|
import { generateTestLocator as x } from "./sd-component-library4.js";
|
|
3
|
-
import
|
|
4
|
-
import { InputLabel as
|
|
5
|
-
import { GridContainerV2 as
|
|
3
|
+
import c from "./sd-component-library168.js";
|
|
4
|
+
import { InputLabel as $ } from "./sd-component-library54.js";
|
|
5
|
+
import { GridContainerV2 as z } from "./sd-component-library34.js";
|
|
6
6
|
import { BaseTextV2 as e } from "./sd-component-library129.js";
|
|
7
7
|
const V = ({
|
|
8
|
-
gap:
|
|
9
|
-
cursor:
|
|
10
|
-
sx:
|
|
8
|
+
gap: f = "0px",
|
|
9
|
+
cursor: d = "pointer",
|
|
10
|
+
sx: h,
|
|
11
11
|
required: m = !1,
|
|
12
|
-
textAlign:
|
|
13
|
-
width:
|
|
12
|
+
textAlign: u = "left",
|
|
13
|
+
width: a = "240px",
|
|
14
14
|
label: p,
|
|
15
15
|
labelProps: o,
|
|
16
|
-
secondaryLabel:
|
|
17
|
-
secondaryLabelProps:
|
|
18
|
-
showErrorMessageText:
|
|
19
|
-
errorMessage:
|
|
16
|
+
secondaryLabel: r = m ? "*" : void 0,
|
|
17
|
+
secondaryLabelProps: _ = m ? { color: "cl_purple", fontSize: 16, lineHeight: "12px" } : void 0,
|
|
18
|
+
showErrorMessageText: j = !0,
|
|
19
|
+
errorMessage: i,
|
|
20
20
|
errorMessageProps: n,
|
|
21
|
-
baseBgColor:
|
|
22
|
-
bg:
|
|
23
|
-
id:
|
|
24
|
-
children:
|
|
25
|
-
testLocatorId:
|
|
26
|
-
...
|
|
21
|
+
baseBgColor: S = "white",
|
|
22
|
+
bg: v = i ? "rgba(255, 0, 0, 0.05)" : S,
|
|
23
|
+
id: y,
|
|
24
|
+
children: C,
|
|
25
|
+
testLocatorId: t,
|
|
26
|
+
...T
|
|
27
27
|
}) => /* @__PURE__ */ l.jsxs(
|
|
28
|
-
|
|
28
|
+
z,
|
|
29
29
|
{
|
|
30
|
-
width:
|
|
31
|
-
gap:
|
|
32
|
-
bg:
|
|
33
|
-
textAlign:
|
|
34
|
-
...
|
|
30
|
+
width: a,
|
|
31
|
+
gap: f,
|
|
32
|
+
bg: v,
|
|
33
|
+
textAlign: u,
|
|
34
|
+
...T,
|
|
35
35
|
sx: {
|
|
36
36
|
position: "relative",
|
|
37
|
-
cursor:
|
|
37
|
+
cursor: d,
|
|
38
38
|
flexGrow: 1,
|
|
39
39
|
"> * ": {
|
|
40
|
-
borderBottomColor:
|
|
40
|
+
borderBottomColor: i ? `${c.colors.cl_red} !important` : c.forms._inputs.v2.borderBottomColor
|
|
41
41
|
},
|
|
42
|
-
...
|
|
42
|
+
...h
|
|
43
43
|
},
|
|
44
44
|
children: [
|
|
45
45
|
p && /* @__PURE__ */ l.jsxs(
|
|
46
|
-
|
|
46
|
+
$,
|
|
47
47
|
{
|
|
48
|
-
htmlFor:
|
|
48
|
+
htmlFor: y,
|
|
49
49
|
maxWidth: "100%",
|
|
50
|
-
color:
|
|
50
|
+
color: i ? "cl_red" : "cl_darkGrey",
|
|
51
51
|
fontSize: 10,
|
|
52
52
|
fontWeight: "600",
|
|
53
|
-
...
|
|
53
|
+
...t ? x(`${t}-primary-label`) : {},
|
|
54
54
|
...o,
|
|
55
55
|
sx: {
|
|
56
56
|
letterSpacing: "1px",
|
|
@@ -60,7 +60,7 @@ const V = ({
|
|
|
60
60
|
},
|
|
61
61
|
children: [
|
|
62
62
|
p,
|
|
63
|
-
|
|
63
|
+
r && /* @__PURE__ */ l.jsx(
|
|
64
64
|
e,
|
|
65
65
|
{
|
|
66
66
|
display: "inline-block",
|
|
@@ -68,16 +68,16 @@ const V = ({
|
|
|
68
68
|
letterSpacing: "1px",
|
|
69
69
|
color: "cl_grey",
|
|
70
70
|
ml: "3px",
|
|
71
|
-
...
|
|
72
|
-
...
|
|
73
|
-
children:
|
|
71
|
+
...t ? x(`${t}-secondary-label`) : {},
|
|
72
|
+
..._,
|
|
73
|
+
children: r
|
|
74
74
|
}
|
|
75
75
|
)
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
),
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
C,
|
|
80
|
+
j && !!i && /* @__PURE__ */ l.jsx(
|
|
81
81
|
e,
|
|
82
82
|
{
|
|
83
83
|
fontSize: "12px",
|
|
@@ -85,7 +85,7 @@ const V = ({
|
|
|
85
85
|
color: "cl_red",
|
|
86
86
|
maxWidth: "100%",
|
|
87
87
|
...n,
|
|
88
|
-
...
|
|
88
|
+
...t ? x(`${t}-error-message`) : {},
|
|
89
89
|
sx: {
|
|
90
90
|
position: "absolute",
|
|
91
91
|
top: "calc(100% + 5px)",
|
|
@@ -93,7 +93,7 @@ const V = ({
|
|
|
93
93
|
cursor: "default",
|
|
94
94
|
...n == null ? void 0 : n.sx
|
|
95
95
|
},
|
|
96
|
-
children:
|
|
96
|
+
children: i
|
|
97
97
|
}
|
|
98
98
|
)
|
|
99
99
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library53.js","sources":["../src/components/forms-v2/input-container/input-container.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { generateTestLocator } from \"../../../core/functions\";\nimport theme from \"../../../core/theme\";\nimport { Grid } from \"../../containers\";\nimport { BaseTextV2 } from \"../../texts\";\nimport { InputLabel } from \"../input-label\";\nimport { InputContainerProps as Props } from \"./interfaces\";\n\nexport const InputContainer: React.FC<Props> = ({\n gap = \"0px\",\n cursor = \"pointer\",\n sx,\n required = false,\n textAlign = \"left\",\n width = \"240px\",\n label,\n labelProps,\n secondaryLabel = required ? \"*\" : undefined,\n secondaryLabelProps = required\n ? { color: \"cl_purple\", fontSize: 16, lineHeight: \"12px\" }\n : undefined,\n showErrorMessageText = true,\n errorMessage,\n errorMessageProps,\n baseBgColor = \"white\",\n bg = errorMessage ? \"rgba(255, 0, 0, 0.05)\" : baseBgColor,\n id,\n children,\n testLocatorId,\n ...props\n}) => (\n <Grid\n {...{ width, gap, bg, textAlign }}\n {...props}\n sx={{\n position: \"relative\",\n cursor,\n flexGrow: 1,\n \"> * \": {\n borderBottomColor: !!errorMessage\n ?
|
|
1
|
+
{"version":3,"file":"sd-component-library53.js","sources":["../src/components/forms-v2/input-container/input-container.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { generateTestLocator } from \"../../../core/functions\";\nimport theme from \"../../../core/theme\";\nimport { Grid } from \"../../containers\";\nimport { BaseTextV2 } from \"../../texts\";\nimport { InputLabel } from \"../input-label\";\nimport { InputContainerProps as Props } from \"./interfaces\";\n\nexport const InputContainer: React.FC<Props> = ({\n gap = \"0px\",\n cursor = \"pointer\",\n sx,\n required = false,\n textAlign = \"left\",\n width = \"240px\",\n label,\n labelProps,\n secondaryLabel = required ? \"*\" : undefined,\n secondaryLabelProps = required\n ? { color: \"cl_purple\", fontSize: 16, lineHeight: \"12px\" }\n : undefined,\n showErrorMessageText = true,\n errorMessage,\n errorMessageProps,\n baseBgColor = \"white\",\n bg = errorMessage ? \"rgba(255, 0, 0, 0.05)\" : baseBgColor,\n id,\n children,\n testLocatorId,\n ...props\n}) => (\n <Grid\n {...{ width, gap, bg, textAlign }}\n {...props}\n sx={{\n position: \"relative\",\n cursor,\n flexGrow: 1,\n \"> * \": {\n borderBottomColor: !!errorMessage\n ? `${theme.colors.cl_red} !important`\n : theme.forms._inputs.v2.borderBottomColor,\n },\n ...sx,\n }}\n >\n {label && (\n <InputLabel\n htmlFor={id}\n maxWidth=\"100%\"\n color={!!errorMessage ? \"cl_red\" : \"cl_darkGrey\"}\n fontSize={10}\n fontWeight=\"600\"\n {...(testLocatorId\n ? generateTestLocator(`${testLocatorId}-primary-label`)\n : {})}\n {...labelProps}\n sx={{\n letterSpacing: \"1px\",\n textTransform: \"uppercase\",\n cursor: \"default\",\n ...labelProps?.sx,\n }}\n >\n {label}\n\n {secondaryLabel && (\n <BaseTextV2\n display=\"inline-block\"\n textTransform=\"uppercase\"\n letterSpacing=\"1px\"\n color=\"cl_grey\"\n ml=\"3px\"\n {...(testLocatorId\n ? generateTestLocator(`${testLocatorId}-secondary-label`)\n : {})}\n {...secondaryLabelProps}\n >\n {secondaryLabel}\n </BaseTextV2>\n )}\n </InputLabel>\n )}\n\n {children}\n\n {showErrorMessageText && !!errorMessage && (\n <BaseTextV2\n fontSize=\"12px\"\n lineHeight=\"12px\"\n color=\"cl_red\"\n maxWidth=\"100%\"\n {...errorMessageProps}\n {...(testLocatorId\n ? generateTestLocator(`${testLocatorId}-error-message`)\n : {})}\n sx={{\n position: \"absolute\",\n top: \"calc(100% + 5px)\",\n left: 0,\n cursor: \"default\",\n ...errorMessageProps?.sx,\n }}\n >\n {errorMessage}\n </BaseTextV2>\n )}\n </Grid>\n);\n"],"names":["InputContainer","gap","cursor","sx","required","textAlign","width","label","labelProps","secondaryLabel","secondaryLabelProps","showErrorMessageText","errorMessage","errorMessageProps","baseBgColor","bg","id","children","testLocatorId","props","jsxs","Grid","theme","InputLabel","generateTestLocator","jsx","BaseTextV2"],"mappings":";;;;;;AASO,MAAMA,IAAkC,CAAC;AAAA,EAC9C,KAAAC,IAAM;AAAA,EACN,QAAAC,IAAS;AAAA,EACT,IAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,WAAAC,IAAY;AAAA,EACZ,OAAAC,IAAQ;AAAA,EACR,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,gBAAAC,IAAiBL,IAAW,MAAM;AAAA,EAClC,qBAAAM,IAAsBN,IAClB,EAAE,OAAO,aAAa,UAAU,IAAI,YAAY,OAChD,IAAA;AAAA,EACJ,sBAAAO,IAAuB;AAAA,EACvB,cAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,IAAAC,IAAKH,IAAe,0BAA0BE;AAAA,EAC9C,IAAAE;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC;AAAA,EACA,GAAGC;AACL,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAAA,EAAA;AAAA,IACO,OAAAf;AAAA,IAAO,KAAAL;AAAA,IAAK,IAAAc;AAAA,IAAI,WAAAV;AAAA,IACrB,GAAGc;AAAA,IACJ,IAAI;AAAA,MACF,UAAU;AAAA,MACV,QAAAjB;AAAA,MACA,UAAU;AAAA,MACV,QAAQ;AAAA,QACN,mBAAqBU,IACjB,GAAGU,EAAM,OAAO,MAAM,gBACtBA,EAAM,MAAM,QAAQ,GAAG;AAAA,MAC7B;AAAA,MACA,GAAGnB;AAAA,IACL;AAAA,IAEC,UAAA;AAAA,MACCI,KAAAa,gBAAAA,EAAA;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,SAASP;AAAA,UACT,UAAS;AAAA,UACT,OAASJ,IAAe,WAAW;AAAA,UACnC,UAAU;AAAA,UACV,YAAW;AAAA,UACV,GAAIM,IACDM,EAAoB,GAAGN,CAAa,gBAAgB,IACpD,CAAC;AAAA,UACJ,GAAGV;AAAA,UACJ,IAAI;AAAA,YACF,eAAe;AAAA,YACf,eAAe;AAAA,YACf,QAAQ;AAAA,YACR,GAAGA,KAAA,gBAAAA,EAAY;AAAA,UACjB;AAAA,UAEC,UAAA;AAAA,YAAAD;AAAA,YAEAE,KACCgB,gBAAAA,EAAA;AAAA,cAACC;AAAA,cAAA;AAAA,gBACC,SAAQ;AAAA,gBACR,eAAc;AAAA,gBACd,eAAc;AAAA,gBACd,OAAM;AAAA,gBACN,IAAG;AAAA,gBACF,GAAIR,IACDM,EAAoB,GAAGN,CAAa,kBAAkB,IACtD,CAAC;AAAA,gBACJ,GAAGR;AAAA,gBAEH,UAAAD;AAAA,cAAA;AAAA,YACH;AAAA,UAAA;AAAA,QAAA;AAAA,MAEJ;AAAA,MAGDQ;AAAA,MAEAN,KAAwB,CAAC,CAACC,KACzBa,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,YAAW;AAAA,UACX,OAAM;AAAA,UACN,UAAS;AAAA,UACR,GAAGb;AAAA,UACH,GAAIK,IACDM,EAAoB,GAAGN,CAAa,gBAAgB,IACpD,CAAC;AAAA,UACL,IAAI;AAAA,YACF,UAAU;AAAA,YACV,KAAK;AAAA,YACL,MAAM;AAAA,YACN,QAAQ;AAAA,YACR,GAAGL,KAAA,gBAAAA,EAAmB;AAAA,UACxB;AAAA,UAEC,UAAAD;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAAA;AAEJ;"}
|
|
@@ -4,9 +4,9 @@ import "./sd-component-library244.js";
|
|
|
4
4
|
import "./sd-component-library245.js";
|
|
5
5
|
import { Box as s } from "rebass";
|
|
6
6
|
import { useBreakPoints as M, useDependantState as y } from "./sd-component-library3.js";
|
|
7
|
-
import { getStaticRanges as E } from "./sd-component-
|
|
8
|
-
import { BaseDateRangeInputMobile as O } from "./sd-component-
|
|
9
|
-
import { BaseDateRangeInputDesktop as P } from "./sd-component-
|
|
7
|
+
import { getStaticRanges as E } from "./sd-component-library246.js";
|
|
8
|
+
import { BaseDateRangeInputMobile as O } from "./sd-component-library247.js";
|
|
9
|
+
import { BaseDateRangeInputDesktop as P } from "./sd-component-library248.js";
|
|
10
10
|
const J = (n) => {
|
|
11
11
|
const {
|
|
12
12
|
color: d = "#9E1CB5",
|
|
@@ -2,7 +2,7 @@ import { j as t } from "./sd-component-library169.js";
|
|
|
2
2
|
import { useState as u } from "react";
|
|
3
3
|
import { Flex as g } from "rebass";
|
|
4
4
|
import { BaseDateInput as C } from "./sd-component-library56.js";
|
|
5
|
-
import { ReactComponent as S } from "./sd-component-
|
|
5
|
+
import { ReactComponent as S } from "./sd-component-library249.js";
|
|
6
6
|
import { Button as D } from "./sd-component-library21.js";
|
|
7
7
|
import { FrMaxContainer as b } from "./sd-component-library33.js";
|
|
8
8
|
const k = (r) => {
|
|
@@ -2,7 +2,7 @@ import { j as e } from "./sd-component-library169.js";
|
|
|
2
2
|
import { useState as I, useCallback as M, useMemo as v } from "react";
|
|
3
3
|
import { Box as z, Flex as F } from "rebass";
|
|
4
4
|
import { useBreakPoints as O } from "./sd-component-library3.js";
|
|
5
|
-
import { ReactComponent as W } from "./sd-component-
|
|
5
|
+
import { ReactComponent as W } from "./sd-component-library249.js";
|
|
6
6
|
import { BaseLabel as E } from "./sd-component-library193.js";
|
|
7
7
|
import { OutsideClickBox as J } from "./sd-component-library9.js";
|
|
8
8
|
import { BaseDateRangeInput as L } from "./sd-component-library57.js";
|
|
@@ -2,7 +2,7 @@ import { j as e } from "./sd-component-library169.js";
|
|
|
2
2
|
import { useRef as T, useState as q, useCallback as J } from "react";
|
|
3
3
|
import { Box as o } from "rebass";
|
|
4
4
|
import { useResize as K } from "./sd-component-library3.js";
|
|
5
|
-
import { ReactComponent as L } from "./sd-component-
|
|
5
|
+
import { ReactComponent as L } from "./sd-component-library177.js";
|
|
6
6
|
const Z = (p) => {
|
|
7
7
|
const {
|
|
8
8
|
width: x = ["100%"],
|
|
@@ -3,7 +3,7 @@ import { useState as u, useCallback as g, useEffect as j } from "react";
|
|
|
3
3
|
import { Box as r, Flex as w } from "rebass";
|
|
4
4
|
import { SemiBoldText as b } from "./sd-component-library136.js";
|
|
5
5
|
import { MaxFrContainer as C } from "./sd-component-library35.js";
|
|
6
|
-
import { ReactComponent as S } from "./sd-component-
|
|
6
|
+
import { ReactComponent as S } from "./sd-component-library177.js";
|
|
7
7
|
const A = (a) => {
|
|
8
8
|
const {
|
|
9
9
|
header: s,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as s } from "./sd-component-library169.js";
|
|
2
2
|
import { useState as V } from "react";
|
|
3
3
|
import { useDependantState as q } from "./sd-component-library3.js";
|
|
4
|
-
import { SearchBox as z } from "./sd-component-
|
|
4
|
+
import { SearchBox as z } from "./sd-component-library190.js";
|
|
5
5
|
import { OutsideClickBox as G } from "./sd-component-library9.js";
|
|
6
6
|
import { PrimaryTextInput as H } from "./sd-component-library68.js";
|
|
7
7
|
import { ReactComponent as J } from "./sd-component-library188.js";
|
|
8
|
-
import { ReactComponent as M } from "./sd-component-
|
|
8
|
+
import { ReactComponent as M } from "./sd-component-library191.js";
|
|
9
9
|
function f(i, o, e, t) {
|
|
10
10
|
t == null || t(i, o), e(i);
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as B } from "rebass";
|
|
3
|
-
import { SecondaryInputLabels as N } from "./sd-component-
|
|
3
|
+
import { SecondaryInputLabels as N } from "./sd-component-library192.js";
|
|
4
4
|
import { NumberInput as A } from "./sd-component-library66.js";
|
|
5
5
|
const w = (e) => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as c } from "rebass";
|
|
3
|
-
import { SecondaryInputLabels as u } from "./sd-component-
|
|
3
|
+
import { SecondaryInputLabels as u } from "./sd-component-library192.js";
|
|
4
4
|
import { PrimaryTextInput as f } from "./sd-component-library68.js";
|
|
5
5
|
const T = (e) => {
|
|
6
6
|
const { m: r, mb: s, ml: n, mr: o, mt: a, width: m, padding: p, sx: x, inputSx: d, ...i } = e;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library169.js";
|
|
2
|
-
import { Link as
|
|
2
|
+
import { Link as f } from "react-router-dom";
|
|
3
3
|
import { Link as m } from "rebass";
|
|
4
|
-
import { getTranslationsSensibleProps as
|
|
5
|
-
const
|
|
4
|
+
import { getTranslationsSensibleProps as T, generateTestLocator as k } from "./sd-component-library4.js";
|
|
5
|
+
const _ = ({
|
|
6
6
|
width: s,
|
|
7
7
|
href: t = "",
|
|
8
8
|
title: d,
|
|
@@ -13,17 +13,18 @@ const N = ({
|
|
|
13
13
|
onClick: i,
|
|
14
14
|
testLocatorId: o,
|
|
15
15
|
externalLinkAs: j = "a",
|
|
16
|
+
internalLinkStyle: L,
|
|
16
17
|
...e
|
|
17
18
|
}) => {
|
|
18
|
-
const { children: r, addNoTranslateClass:
|
|
19
|
+
const { children: r, addNoTranslateClass: $ } = T(
|
|
19
20
|
d,
|
|
20
21
|
x
|
|
21
|
-
), l =
|
|
22
|
+
), l = $ ? "no-translate" : void 0;
|
|
22
23
|
return p ? /* @__PURE__ */ n.jsx(
|
|
23
|
-
|
|
24
|
+
f,
|
|
24
25
|
{
|
|
25
26
|
to: t,
|
|
26
|
-
style: { width: s, textDecoration: "none" },
|
|
27
|
+
style: { width: s, textDecoration: "none", ...L },
|
|
27
28
|
"data-testid": "link",
|
|
28
29
|
onClick: i,
|
|
29
30
|
children: /* @__PURE__ */ n.jsx(
|
|
@@ -55,6 +56,6 @@ const N = ({
|
|
|
55
56
|
);
|
|
56
57
|
};
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
_ as Link
|
|
59
60
|
};
|
|
60
61
|
//# sourceMappingURL=sd-component-library76.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library76.js","sources":["../src/components/links/link/link.tsx"],"sourcesContent":["import React from \"react\";\nimport { Link as RouterLink } from \"react-router-dom\";\n\nimport { Link as RebassLink } from \"rebass\";\n\nimport {\n generateTestLocator,\n getTranslationsSensibleProps,\n} from \"../../../core/functions\";\nimport { LinkProps } from \"./interfaces\";\n\n/**\n * The base link.\n */\nexport const Link: React.FC<LinkProps> = ({\n width,\n href = \"\",\n title,\n variant,\n internal = false,\n dontTranslate,\n as = \"span\",\n onClick,\n testLocatorId,\n externalLinkAs = \"a\",\n ...restOfProps\n}) => {\n const { children, addNoTranslateClass } = getTranslationsSensibleProps(\n title,\n dontTranslate\n );\n\n const className = addNoTranslateClass ? \"no-translate\" : undefined;\n\n return internal ? (\n <RouterLink\n to={href}\n style={{ width: width!, textDecoration: \"none\" }}\n data-testid=\"link\"\n onClick={onClick}\n >\n <RebassLink\n as={as}\n variant={`_links.${variant}`}\n className={className}\n {...generateTestLocator(testLocatorId)}\n {...restOfProps}\n >\n {children}\n </RebassLink>\n </RouterLink>\n ) : (\n <RebassLink\n width={width}\n data-testid=\"link\"\n onClick={onClick}\n {...restOfProps}\n variant={`_links.${variant}`}\n href={href}\n className={className}\n as={externalLinkAs}\n {...generateTestLocator(testLocatorId)}\n >\n {children}\n </RebassLink>\n );\n};\n"],"names":["Link","width","href","title","variant","internal","dontTranslate","as","onClick","testLocatorId","externalLinkAs","restOfProps","children","addNoTranslateClass","getTranslationsSensibleProps","className","jsx","RouterLink","RebassLink","generateTestLocator"],"mappings":";;;;AAcO,MAAMA,IAA4B,CAAC;AAAA,EACxC,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,eAAAC;AAAA,EACA,IAAAC,IAAK;AAAA,EACL,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,gBAAAC,IAAiB;AAAA,EACjB,GAAGC;AACL,MAAM;AACE,QAAA,EAAE,UAAAC,GAAU,qBAAAC,EAAA,IAAwBC;AAAA,
|
|
1
|
+
{"version":3,"file":"sd-component-library76.js","sources":["../src/components/links/link/link.tsx"],"sourcesContent":["import React from \"react\";\nimport { Link as RouterLink } from \"react-router-dom\";\n\nimport { Link as RebassLink } from \"rebass\";\n\nimport {\n generateTestLocator,\n getTranslationsSensibleProps,\n} from \"../../../core/functions\";\nimport { LinkProps } from \"./interfaces\";\n\n/**\n * The base link.\n */\nexport const Link: React.FC<LinkProps> = ({\n width,\n href = \"\",\n title,\n variant,\n internal = false,\n dontTranslate,\n as = \"span\",\n onClick,\n testLocatorId,\n externalLinkAs = \"a\",\n internalLinkStyle,\n ...restOfProps\n}) => {\n const { children, addNoTranslateClass } = getTranslationsSensibleProps(\n title,\n dontTranslate\n );\n\n const className = addNoTranslateClass ? \"no-translate\" : undefined;\n\n return internal ? (\n <RouterLink\n to={href}\n style={{ width: width!, textDecoration: \"none\", ...internalLinkStyle }}\n data-testid=\"link\"\n onClick={onClick}\n >\n <RebassLink\n as={as}\n variant={`_links.${variant}`}\n className={className}\n {...generateTestLocator(testLocatorId)}\n {...restOfProps}\n >\n {children}\n </RebassLink>\n </RouterLink>\n ) : (\n <RebassLink\n width={width}\n data-testid=\"link\"\n onClick={onClick}\n {...restOfProps}\n variant={`_links.${variant}`}\n href={href}\n className={className}\n as={externalLinkAs}\n {...generateTestLocator(testLocatorId)}\n >\n {children}\n </RebassLink>\n );\n};\n"],"names":["Link","width","href","title","variant","internal","dontTranslate","as","onClick","testLocatorId","externalLinkAs","internalLinkStyle","restOfProps","children","addNoTranslateClass","getTranslationsSensibleProps","className","jsx","RouterLink","RebassLink","generateTestLocator"],"mappings":";;;;AAcO,MAAMA,IAA4B,CAAC;AAAA,EACxC,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,eAAAC;AAAA,EACA,IAAAC,IAAK;AAAA,EACL,SAAAC;AAAA,EACA,eAAAC;AAAA,EACA,gBAAAC,IAAiB;AAAA,EACjB,mBAAAC;AAAA,EACA,GAAGC;AACL,MAAM;AACE,QAAA,EAAE,UAAAC,GAAU,qBAAAC,EAAA,IAAwBC;AAAA,IACxCZ;AAAA,IACAG;AAAA,EAAA,GAGIU,IAAYF,IAAsB,iBAAiB;AAEzD,SAAOT,IACLY,gBAAAA,EAAA;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,IAAIhB;AAAA,MACJ,OAAO,EAAE,OAAAD,GAAe,gBAAgB,QAAQ,GAAGU,EAAkB;AAAA,MACrE,eAAY;AAAA,MACZ,SAAAH;AAAA,MAEA,UAAAS,gBAAAA,EAAA;AAAA,QAACE;AAAAA,QAAA;AAAA,UACC,IAAAZ;AAAA,UACA,SAAS,UAAUH,CAAO;AAAA,UAC1B,WAAAY;AAAA,UACC,GAAGI,EAAoBX,CAAa;AAAA,UACpC,GAAGG;AAAA,UAEH,UAAAC;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAAA,IAGFI,gBAAAA,EAAA;AAAA,IAACE;AAAAA,IAAA;AAAA,MACC,OAAAlB;AAAA,MACA,eAAY;AAAA,MACZ,SAAAO;AAAA,MACC,GAAGI;AAAA,MACJ,SAAS,UAAUR,CAAO;AAAA,MAC1B,MAAAF;AAAA,MACA,WAAAc;AAAA,MACA,IAAIN;AAAA,MACH,GAAGU,EAAoBX,CAAa;AAAA,MAEpC,UAAAI;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -5,7 +5,7 @@ import { useHover as R } from "./sd-component-library3.js";
|
|
|
5
5
|
import { getResponsiveClick as H } from "./sd-component-library4.js";
|
|
6
6
|
import { OutsideClickBox as W } from "./sd-component-library9.js";
|
|
7
7
|
import { ReactComponent as $ } from "./sd-component-library160.js";
|
|
8
|
-
import { ActionBox as A } from "./sd-component-
|
|
8
|
+
import { ActionBox as A } from "./sd-component-library200.js";
|
|
9
9
|
import { FlexCenter as M } from "./sd-component-library30.js";
|
|
10
10
|
import { HorizontalDivider as a } from "./sd-component-library44.js";
|
|
11
11
|
const G = (d) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as R } from "rebass";
|
|
3
3
|
import { useElementCoordinates as _ } from "./sd-component-library3.js";
|
|
4
|
-
import { defaultPointerWidth as z, defaultTextBottomMargin as X } from "./sd-component-
|
|
5
|
-
import { labelWidth as Y, defaultDistanceFromLabelToRanges as W, labelPaddingX as A, defaultWidth as D, defaultHeight as E, defaultArc as G, defaultPointStrokeWidth as H, defaultInnerPointRadius as V, defaultGaugeWidth as q, defaultMaskBorderRadius as N } from "./sd-component-
|
|
4
|
+
import { defaultPointerWidth as z, defaultTextBottomMargin as X } from "./sd-component-library194.js";
|
|
5
|
+
import { labelWidth as Y, defaultDistanceFromLabelToRanges as W, labelPaddingX as A, defaultWidth as D, defaultHeight as E, defaultArc as G, defaultPointStrokeWidth as H, defaultInnerPointRadius as V, defaultGaugeWidth as q, defaultMaskBorderRadius as N } from "./sd-component-library195.js";
|
|
6
6
|
import { isValueInRange as J } from "./sd-component-library86.js";
|
|
7
|
-
import { COLOR_TO_ICON_MAP as K, defaultSmileyWidth as Q, defaultDistanceBetweenRanges as U } from "./sd-component-
|
|
8
|
-
import { isCorrectSmileyMeterConfig as Z, getIsHorizontal as ee } from "./sd-component-
|
|
9
|
-
import { SmileyMeterRanges as te } from "./sd-component-
|
|
10
|
-
import { MatchedRangeLabelBox as ie } from "./sd-component-
|
|
7
|
+
import { COLOR_TO_ICON_MAP as K, defaultSmileyWidth as Q, defaultDistanceBetweenRanges as U } from "./sd-component-library196.js";
|
|
8
|
+
import { isCorrectSmileyMeterConfig as Z, getIsHorizontal as ee } from "./sd-component-library197.js";
|
|
9
|
+
import { SmileyMeterRanges as te } from "./sd-component-library198.js";
|
|
10
|
+
import { MatchedRangeLabelBox as ie } from "./sd-component-library199.js";
|
|
11
11
|
import { FlexCenter as oe } from "./sd-component-library30.js";
|
|
12
12
|
const xe = ($) => {
|
|
13
13
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as s } from "./sd-component-library169.js";
|
|
2
|
-
import { smallMeterMaskBorderRadius as n } from "./sd-component-
|
|
3
|
-
import { smallSmileyMeterWidth as d, smallSmileyMeterHeight as h, smallSmileyGaugeWidth as S, smallSmileyWidth as u, smallSmileyInnerPointRadius as y, smallSmileyInnerPointStrokeWidth as g } from "./sd-component-
|
|
2
|
+
import { smallMeterMaskBorderRadius as n } from "./sd-component-library195.js";
|
|
3
|
+
import { smallSmileyMeterWidth as d, smallSmileyMeterHeight as h, smallSmileyGaugeWidth as S, smallSmileyWidth as u, smallSmileyInnerPointRadius as y, smallSmileyInnerPointStrokeWidth as g } from "./sd-component-library196.js";
|
|
4
4
|
import { SmileyMeterV2 as W } from "./sd-component-library81.js";
|
|
5
5
|
const k = (e) => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as H } from "rebass";
|
|
3
|
-
import { labelWidth as I, defaultDistanceFromLabelToRanges as p, labelPaddingX as X, defaultArc as A, defaultWidth as E, defaultHeight as G, defaultDistanceBetweenRanges as Y, defaultGaugeWidth as q, defaultPointStrokeWidth as y, defaultInnerPointRadius as z, defaultDistanceFromRangesToNeedle as J, defaultInnerCircleStrokeWidth as K, defaultInnerCircleRadius as Q, defaultNeedleWidth as U, defaultNumberOfDashes as V, defaultDashHeight as Z, defaultDashWidth as _, defaultDistanceFromRangesToScale as ee, defaultMaskBorderRadius as te } from "./sd-component-
|
|
3
|
+
import { labelWidth as I, defaultDistanceFromLabelToRanges as p, labelPaddingX as X, defaultArc as A, defaultWidth as E, defaultHeight as G, defaultDistanceBetweenRanges as Y, defaultGaugeWidth as q, defaultPointStrokeWidth as y, defaultInnerPointRadius as z, defaultDistanceFromRangesToNeedle as J, defaultInnerCircleStrokeWidth as K, defaultInnerCircleRadius as Q, defaultNeedleWidth as U, defaultNumberOfDashes as V, defaultDashHeight as Z, defaultDashWidth as _, defaultDistanceFromRangesToScale as ee, defaultMaskBorderRadius as te } from "./sd-component-library195.js";
|
|
4
4
|
import { isCorrectOutlineMeterConfig as ae } from "./sd-component-library86.js";
|
|
5
|
-
import { OutlineMeterRange as re } from "./sd-component-
|
|
5
|
+
import { OutlineMeterRange as re } from "./sd-component-library211.js";
|
|
6
6
|
import { OutlineMeterScale as ie } from "./sd-component-library203.js";
|
|
7
|
-
import { OutlineMeterNeedle as se } from "./sd-component-
|
|
8
|
-
import { OutlineMeterLabelBox as oe } from "./sd-component-
|
|
7
|
+
import { OutlineMeterNeedle as se } from "./sd-component-library212.js";
|
|
8
|
+
import { OutlineMeterLabelBox as oe } from "./sd-component-library213.js";
|
|
9
9
|
const ge = (R) => {
|
|
10
10
|
const {
|
|
11
11
|
marginTop: x = "50px",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as u } from "./sd-component-library169.js";
|
|
2
|
-
import { smallMeterWidth as g, smallMeterHeight as c, smallMeterPointStrokeWidth as R, smallMeterPointRadius as W, smallMeterInnerCircleStrokeWidth as k, smallMeterInnerCircleRadius as S, smallMeterGaugeWidth as p, smallMeterDistanceBetweenRanges as f, smallMeterDistanceFromRangesToNeedle as w, smallMeterNeedleWidth as x, smallMeterMaskBorderRadius as B } from "./sd-component-
|
|
2
|
+
import { smallMeterWidth as g, smallMeterHeight as c, smallMeterPointStrokeWidth as R, smallMeterPointRadius as W, smallMeterInnerCircleStrokeWidth as k, smallMeterInnerCircleRadius as S, smallMeterGaugeWidth as p, smallMeterDistanceBetweenRanges as f, smallMeterDistanceFromRangesToNeedle as w, smallMeterNeedleWidth as x, smallMeterMaskBorderRadius as B } from "./sd-component-library195.js";
|
|
3
3
|
import { OutlineMeter as C } from "./sd-component-library84.js";
|
|
4
4
|
const T = (e) => {
|
|
5
5
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as y } from "rebass";
|
|
3
|
-
import { labelWidth as E, defaultDistanceFromLabelToRanges as R, labelPaddingX as G, defaultArc as P, defaultWidth as X, defaultHeight as Y, defaultDistanceBetweenRanges as A, defaultGaugeWidth as V, defaultDistanceFromRangesToNeedle as _, defaultInnerCircleStrokeWidth as q, defaultInnerCircleRadius as J, defaultNeedleWidth as K, defaultNumberOfDashes as Q, defaultDashHeight as U, defaultDashWidth as Z, defaultDistanceFromRangesToScale as ee, defaultMaskBorderRadius as te } from "./sd-component-
|
|
4
|
-
import { defaultPointerWidth as ae } from "./sd-component-
|
|
5
|
-
import { DiscreteRange as oe } from "./sd-component-
|
|
3
|
+
import { labelWidth as E, defaultDistanceFromLabelToRanges as R, labelPaddingX as G, defaultArc as P, defaultWidth as X, defaultHeight as Y, defaultDistanceBetweenRanges as A, defaultGaugeWidth as V, defaultDistanceFromRangesToNeedle as _, defaultInnerCircleStrokeWidth as q, defaultInnerCircleRadius as J, defaultNeedleWidth as K, defaultNumberOfDashes as Q, defaultDashHeight as U, defaultDashWidth as Z, defaultDistanceFromRangesToScale as ee, defaultMaskBorderRadius as te } from "./sd-component-library195.js";
|
|
4
|
+
import { defaultPointerWidth as ae } from "./sd-component-library194.js";
|
|
5
|
+
import { DiscreteRange as oe } from "./sd-component-library202.js";
|
|
6
6
|
import { OutlineMeterScale as le } from "./sd-component-library203.js";
|
|
7
|
-
import { DiscreteMeterNeedle as re } from "./sd-component-
|
|
8
|
-
import { MatchedRangeLabelBox as ne } from "./sd-component-
|
|
7
|
+
import { DiscreteMeterNeedle as re } from "./sd-component-library204.js";
|
|
8
|
+
import { MatchedRangeLabelBox as ne } from "./sd-component-library205.js";
|
|
9
9
|
function fe(x) {
|
|
10
10
|
const {
|
|
11
11
|
marginTop: b = "50px",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library169.js";
|
|
2
|
-
import { smallMeterWidth as u, smallMeterHeight as M, smallMeterInnerCircleStrokeWidth as c, smallMeterInnerCircleRadius as h, smallMeterGaugeWidth as g, smallMeterDistanceBetweenRanges as R, smallMeterDistanceFromRangesToNeedle as W, smallMeterNeedleWidth as p, smallMeterMaskBorderRadius as f } from "./sd-component-
|
|
2
|
+
import { smallMeterWidth as u, smallMeterHeight as M, smallMeterInnerCircleStrokeWidth as c, smallMeterInnerCircleRadius as h, smallMeterGaugeWidth as g, smallMeterDistanceBetweenRanges as R, smallMeterDistanceFromRangesToNeedle as W, smallMeterNeedleWidth as p, smallMeterMaskBorderRadius as f } from "./sd-component-library195.js";
|
|
3
3
|
import { MultiOptionDiscreteOutlineMeter as k } from "./sd-component-library87.js";
|
|
4
4
|
function C(e) {
|
|
5
5
|
const {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as H } from "rebass";
|
|
3
|
-
import { defaultWidth as V, defaultHeight as X, labelWidth as Y, defaultDistanceFromLabelToRanges as p, labelPaddingX as z, defaultGaugeWidth as E, defaultInnerPointRadius as _, defaultPointStrokeWidth as q, defaultArc as J, defaultDistanceFromRangesToScale as K, defaultDashHeight as Q, defaultDashWidth as U, defaultNumberOfDashes as Z, defaultNeedleWidth as ee, defaultInnerCircleRadius as te, defaultInnerCircleStrokeWidth as re, defaultDistanceFromRangesToNeedle as ae, defaultMaskBorderRadius as oe } from "./sd-component-
|
|
4
|
-
import { mapAdjacent as ie, isLabelActive as x, flipPosition as R } from "./sd-component-
|
|
5
|
-
import { GradientMeterRange as ne } from "./sd-component-
|
|
3
|
+
import { defaultWidth as V, defaultHeight as X, labelWidth as Y, defaultDistanceFromLabelToRanges as p, labelPaddingX as z, defaultGaugeWidth as E, defaultInnerPointRadius as _, defaultPointStrokeWidth as q, defaultArc as J, defaultDistanceFromRangesToScale as K, defaultDashHeight as Q, defaultDashWidth as U, defaultNumberOfDashes as Z, defaultNeedleWidth as ee, defaultInnerCircleRadius as te, defaultInnerCircleStrokeWidth as re, defaultDistanceFromRangesToNeedle as ae, defaultMaskBorderRadius as oe } from "./sd-component-library195.js";
|
|
4
|
+
import { mapAdjacent as ie, isLabelActive as x, flipPosition as R } from "./sd-component-library206.js";
|
|
5
|
+
import { GradientMeterRange as ne } from "./sd-component-library207.js";
|
|
6
6
|
import { OutlineMeterScale as se } from "./sd-component-library203.js";
|
|
7
|
-
import { GradientMeterNeedle as de } from "./sd-component-
|
|
8
|
-
import { OutlineMeterLabelPointer as le } from "./sd-component-
|
|
9
|
-
import { BaseMeterLabelBox as ue } from "./sd-component-
|
|
7
|
+
import { GradientMeterNeedle as de } from "./sd-component-library208.js";
|
|
8
|
+
import { OutlineMeterLabelPointer as le } from "./sd-component-library209.js";
|
|
9
|
+
import { BaseMeterLabelBox as ue } from "./sd-component-library210.js";
|
|
10
10
|
const je = (b) => {
|
|
11
11
|
const {
|
|
12
12
|
width: o = V,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as m } from "./sd-component-library169.js";
|
|
2
|
-
import { smallMeterWidth as h, smallMeterHeight as u, smallMeterGaugeWidth as M, smallMeterDistanceFromRangesToNeedle as c, smallMeterInnerCircleStrokeWidth as g, smallMeterInnerCircleRadius as W, smallMeterPointStrokeWidth as R, smallMeterPointRadius as S, smallMeterNeedleWidth as p } from "./sd-component-
|
|
2
|
+
import { smallMeterWidth as h, smallMeterHeight as u, smallMeterGaugeWidth as M, smallMeterDistanceFromRangesToNeedle as c, smallMeterInnerCircleStrokeWidth as g, smallMeterInnerCircleRadius as W, smallMeterPointStrokeWidth as R, smallMeterPointRadius as S, smallMeterNeedleWidth as p } from "./sd-component-library195.js";
|
|
3
3
|
import { GradientOutlineMeter as f } from "./sd-component-library89.js";
|
|
4
4
|
const j = (e) => {
|
|
5
5
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library169.js";
|
|
2
2
|
import { Box as j } from "rebass";
|
|
3
|
-
import { areSegmentsValid as c } from "./sd-component-
|
|
4
|
-
import { Segment as g } from "./sd-component-
|
|
3
|
+
import { areSegmentsValid as c } from "./sd-component-library214.js";
|
|
4
|
+
import { Segment as g } from "./sd-component-library215.js";
|
|
5
5
|
const B = ({
|
|
6
6
|
segments: x,
|
|
7
7
|
outlineWidth: i = 2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library169.js";
|
|
2
|
-
import { areSegmentsValid as h } from "./sd-component-
|
|
3
|
-
import { CompactDonutGaugeSegment as x } from "./sd-component-
|
|
4
|
-
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-
|
|
2
|
+
import { areSegmentsValid as h } from "./sd-component-library214.js";
|
|
3
|
+
import { CompactDonutGaugeSegment as x } from "./sd-component-library216.js";
|
|
4
|
+
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-library217.js";
|
|
5
5
|
const C = ({
|
|
6
6
|
segments: e,
|
|
7
7
|
size: r = 70,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library169.js";
|
|
2
|
-
import { LinearGaugeSegment as c } from "./sd-component-
|
|
3
|
-
import { LinearGaugeLabel as d } from "./sd-component-
|
|
2
|
+
import { LinearGaugeSegment as c } from "./sd-component-library218.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library219.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library37.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library34.js";
|
|
6
6
|
function $(l) {
|