@selfdecode/sd-component-library 4.0.94 → 4.0.95
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/forms-v2/form-v2-input/interfaces.d.ts +1 -0
- package/lib/sd-component-library100.js +3 -3
- package/lib/sd-component-library101.js +2 -2
- package/lib/sd-component-library102.js +3 -3
- package/lib/sd-component-library103.js +2 -2
- package/lib/sd-component-library105.js +4 -4
- package/lib/sd-component-library107.js +4 -4
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library119.js +2 -2
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library127.js +2 -2
- package/lib/sd-component-library128.js +2 -2
- package/lib/sd-component-library130.js +1 -1
- package/lib/sd-component-library133.js +3 -3
- package/lib/sd-component-library134.js +1 -1
- package/lib/sd-component-library136.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library167.js +1 -1
- package/lib/sd-component-library168.js +1 -1
- package/lib/sd-component-library171.js +1 -1
- package/lib/sd-component-library172.js +4 -4
- package/lib/sd-component-library196.js +3 -3
- package/lib/sd-component-library197.js +75 -3
- package/lib/sd-component-library197.js.map +1 -1
- package/lib/sd-component-library198.js +3 -75
- package/lib/sd-component-library198.js.map +1 -1
- package/lib/sd-component-library2.js +1 -1
- package/lib/sd-component-library200.js +25 -3
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +2 -57
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +30 -25
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +598 -18
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +19 -5
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +5 -18
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library207.js +57 -2
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +65 -30
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +18 -599
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +19 -62
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +3 -23
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +3 -65
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +62 -19
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +23 -3
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +40 -3
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +127 -38
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +13 -129
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +14 -13
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +3 -14
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +2 -2
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +2 -2
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +52 -3
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +54 -41
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +3 -65
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +46 -3
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +17 -46
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +26 -17
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +3 -26
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library23.js +2 -2
- package/lib/sd-component-library233.js +1 -1
- package/lib/sd-component-library235.js +21 -3
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +95 -115
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library238.js +39 -39
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +23 -7
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +1 -1
- package/lib/sd-component-library240.js +51 -62
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +62 -41
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +43 -13
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +13 -21
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +115 -95
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +39 -39
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +7 -23
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +47 -52
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +39 -46
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +26 -74
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +18 -38
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +18 -25
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +323 -19
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +5 -20
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +3 -2
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +2 -29
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +75 -3
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +25 -20
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +1 -1
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +17 -18
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +3 -22
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +18 -44
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +18 -26
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +37 -117
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +30 -74
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +117 -62
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +57 -105
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +75 -29
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +29 -20
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +17 -121
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +125 -10
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +111 -39
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +10 -9
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +48 -323
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +9 -51
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +48 -87
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +52 -54
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +92 -5
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library316.js +51 -25
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +34 -50
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +23 -33
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library32.js +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library51.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library57.js +26 -23
- package/lib/sd-component-library57.js.map +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library61.js +1 -1
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library66.js +1 -1
- package/lib/sd-component-library71.js +2 -2
- package/lib/sd-component-library73.js +3 -3
- package/lib/sd-component-library75.js +2 -2
- package/lib/sd-component-library76.js +3 -3
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +1 -1
- package/lib/sd-component-library86.js +1 -1
- package/lib/sd-component-library89.js +1 -1
- package/lib/sd-component-library90.js +3 -3
- package/lib/sd-component-library93.js +3 -3
- package/lib/sd-component-library95.js +5 -5
- package/lib/sd-component-library99.js +2 -2
- package/package.json +1 -1
|
@@ -1,54 +1,38 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library196.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
ref: r
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
!l && !g && /* @__PURE__ */ t.jsx(
|
|
39
|
-
b,
|
|
40
|
-
{
|
|
41
|
-
...e,
|
|
42
|
-
radius: R,
|
|
43
|
-
color: u.colors.cl_lightGrey,
|
|
44
|
-
alpha: h,
|
|
45
|
-
horizontal: j(e)
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
] });
|
|
49
|
-
}
|
|
50
|
-
);
|
|
2
|
+
const h = (n) => {
|
|
3
|
+
const {
|
|
4
|
+
color: s,
|
|
5
|
+
innerCircleRadius: $,
|
|
6
|
+
innerCircleStrokeWidth: d,
|
|
7
|
+
dx: i,
|
|
8
|
+
dy: r,
|
|
9
|
+
radius: e,
|
|
10
|
+
tipX: l,
|
|
11
|
+
tipY: o,
|
|
12
|
+
needleWidth: c
|
|
13
|
+
} = n;
|
|
14
|
+
return /* @__PURE__ */ t.jsxs("g", { children: [
|
|
15
|
+
/* @__PURE__ */ t.jsx(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
d: `M${l - i},${o - r} A${c / 2},${c / 2} 0 0,0 ${l + i},${o + r} L${e + i},${e + r} L${e - i},${e - r} Z`,
|
|
19
|
+
fill: s
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ t.jsx(
|
|
23
|
+
"circle",
|
|
24
|
+
{
|
|
25
|
+
cx: e,
|
|
26
|
+
cy: e,
|
|
27
|
+
r: $ + d,
|
|
28
|
+
strokeWidth: d,
|
|
29
|
+
stroke: s,
|
|
30
|
+
fill: "white"
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
] });
|
|
34
|
+
};
|
|
51
35
|
export {
|
|
52
|
-
|
|
36
|
+
h as BaseNeedle
|
|
53
37
|
};
|
|
54
38
|
//# sourceMappingURL=sd-component-library317.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library317.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library317.js","sources":["../src/components/meters/outline-meter/partials/base-needle/base-needle.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { BaseNeedleProps as Props } from \"./interfaces\";\n\nexport const BaseNeedle: React.FC<Props> = (props) => {\n const {\n color,\n innerCircleRadius,\n innerCircleStrokeWidth,\n dx,\n dy,\n radius,\n tipX,\n tipY,\n needleWidth,\n } = props;\n\n return (\n <g>\n <path\n d={`M${tipX - dx},${tipY - dy} A${needleWidth / 2},${\n needleWidth / 2\n } 0 0,0 ${tipX + dx},${tipY + dy} L${radius + dx},${radius + dy} L${\n radius - dx\n },${radius - dy} Z`}\n fill={color}\n />\n <circle\n cx={radius}\n cy={radius}\n r={innerCircleRadius + innerCircleStrokeWidth}\n strokeWidth={innerCircleStrokeWidth}\n stroke={color}\n fill=\"white\"\n />\n </g>\n );\n};\n"],"names":["BaseNeedle","props","color","innerCircleRadius","innerCircleStrokeWidth","dx","dy","radius","tipX","tipY","needleWidth","jsx"],"mappings":";AAIa,MAAAA,IAA8B,CAACC,MAAU;AAC9C,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,aAAAC;AAAA,EACE,IAAAT;AAEJ,gCACG,KACC,EAAA,UAAA;AAAA,IAAAU,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAG,IAAIH,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKI,IAAc,CAAC,IAC/CA,IAAc,CAChB,UAAUF,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKC,IAASF,CAAE,IAAIE,IAASD,CAAE,KAC7DC,IAASF,CACX,IAAIE,IAASD,CAAE;AAAA,QACf,MAAMJ;AAAA,MAAA;AAAA,IACR;AAAA,IACAS,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAIJ;AAAA,QACJ,IAAIA;AAAA,QACJ,GAAGJ,IAAoBC;AAAA,QACvB,aAAaA;AAAA,QACb,QAAQF;AAAA,QACR,MAAK;AAAA,MAAA;AAAA,IACP;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|
|
@@ -1,38 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
|
|
1
|
+
import { j as x } from "./sd-component-library196.js";
|
|
2
|
+
import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library92.js";
|
|
3
|
+
const j = (p) => {
|
|
3
4
|
const {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"circle",
|
|
24
|
-
{
|
|
25
|
-
cx: e,
|
|
26
|
-
cy: e,
|
|
27
|
-
r: $ + d,
|
|
28
|
-
strokeWidth: d,
|
|
29
|
-
stroke: s,
|
|
30
|
-
fill: "white"
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
] });
|
|
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
|
+
);
|
|
34
24
|
};
|
|
35
25
|
export {
|
|
36
|
-
|
|
26
|
+
j as BaseOutlineArc
|
|
37
27
|
};
|
|
38
28
|
//# sourceMappingURL=sd-component-library318.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library318.js","sources":["../src/components/meters/outline-meter/partials/base-
|
|
1
|
+
{"version":3,"file":"sd-component-library318.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;"}
|
|
@@ -2,7 +2,7 @@ import { j as e } from "./sd-component-library196.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-library254.js";
|
|
6
6
|
const Z = (p) => {
|
|
7
7
|
const {
|
|
8
8
|
width: x = ["100%"],
|
|
@@ -4,7 +4,7 @@ import { Box as e } from "rebass";
|
|
|
4
4
|
import { Button as l } from "./sd-component-library25.js";
|
|
5
5
|
import { MaxMaxContainer as p } from "./sd-component-library41.js";
|
|
6
6
|
import { TenSb as x } from "./sd-component-library153.js";
|
|
7
|
-
import { ReactComponent as d } from "./sd-component-
|
|
7
|
+
import { ReactComponent as d } from "./sd-component-library198.js";
|
|
8
8
|
const j = function(r) {
|
|
9
9
|
const { desktopContent: n, mobileContent: i } = r, [o, s] = a(!1);
|
|
10
10
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library196.js";
|
|
2
|
-
import { BaseBooleanFeedback as m } from "./sd-component-
|
|
2
|
+
import { BaseBooleanFeedback as m } from "./sd-component-library210.js";
|
|
3
3
|
import { IconButton as n } from "./sd-component-library22.js";
|
|
4
|
-
import { ReactComponent as c } from "./sd-component-
|
|
5
|
-
import { ReactComponent as u } from "./sd-component-
|
|
4
|
+
import { ReactComponent as c } from "./sd-component-library211.js";
|
|
5
|
+
import { ReactComponent as u } from "./sd-component-library212.js";
|
|
6
6
|
const f = (i) => {
|
|
7
7
|
const { title: s, onPositiveFeedback: r, onNegativeFeedback: d, optionSelected: e } = i, a = (o) => /* @__PURE__ */ t.jsx(n, { onClick: o, "data-testid": "thumbs-up-button", children: /* @__PURE__ */ t.jsx(
|
|
8
8
|
c,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library196.js";
|
|
2
2
|
import { useHover as x } from "./sd-component-library3.js";
|
|
3
|
-
import { BaseFeedbackContainer as f } from "./sd-component-
|
|
3
|
+
import { BaseFeedbackContainer as f } from "./sd-component-library213.js";
|
|
4
4
|
import { BaseGridContainer as j } from "./sd-component-library36.js";
|
|
5
|
-
import { BaseFeedbackButton as k } from "./sd-component-
|
|
5
|
+
import { BaseFeedbackButton as k } from "./sd-component-library214.js";
|
|
6
6
|
const C = ({
|
|
7
7
|
questionText: t,
|
|
8
8
|
options: a,
|
|
@@ -2,9 +2,9 @@ import { j as o } from "./sd-component-library196.js";
|
|
|
2
2
|
import { Box as l } from "rebass";
|
|
3
3
|
import { useHover as k, useBreakPoints as g } from "./sd-component-library3.js";
|
|
4
4
|
import { isTouchScreen as C } from "./sd-component-library4.js";
|
|
5
|
-
import { BaseFeedbackContainer as S } from "./sd-component-
|
|
5
|
+
import { BaseFeedbackContainer as S } from "./sd-component-library213.js";
|
|
6
6
|
import { GridContainerV2 as y } from "./sd-component-library39.js";
|
|
7
|
-
import { BaseFeedbackButton as a } from "./sd-component-
|
|
7
|
+
import { BaseFeedbackButton as a } from "./sd-component-library214.js";
|
|
8
8
|
import { FrMaxContainer as x } from "./sd-component-library38.js";
|
|
9
9
|
import { ReactComponent as B } from "./sd-component-library176.js";
|
|
10
10
|
const D = ({
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { j as p } from "./sd-component-library196.js";
|
|
2
|
+
import { isInteger as N } from "lodash-es";
|
|
3
|
+
import { FormV2Input as a, FormV2InputWithContainer as c } from "./sd-component-library56.js";
|
|
4
|
+
import { InvalidInputError as u } from "./sd-component-library69.js";
|
|
5
|
+
const d = (r, n, s, t) => (i) => {
|
|
6
|
+
const e = N(t) && t >= 1 ? t : void 0;
|
|
5
7
|
if (!new RegExp(
|
|
6
|
-
`^${r && r < 0 ? "-?" : ""}(\\d*${
|
|
8
|
+
`^${r && r < 0 ? "-?" : ""}(\\d*${s ? "" : `(\\.\\d${e ? `{0,${e}}` : "*"})?`})$`,
|
|
7
9
|
"g"
|
|
8
|
-
).exec(
|
|
9
|
-
throw new
|
|
10
|
-
const
|
|
11
|
-
if (Number.isNaN(
|
|
10
|
+
).exec(i))
|
|
11
|
+
throw new u();
|
|
12
|
+
const o = +i;
|
|
13
|
+
if (Number.isNaN(o))
|
|
12
14
|
return !0;
|
|
13
|
-
if (r &&
|
|
14
|
-
throw new
|
|
15
|
+
if (r && o < r || n && o > n)
|
|
16
|
+
throw new u();
|
|
15
17
|
return !0;
|
|
16
|
-
},
|
|
18
|
+
}, f = ({
|
|
17
19
|
value: r,
|
|
18
20
|
onChange: n,
|
|
19
|
-
min:
|
|
20
|
-
max:
|
|
21
|
-
onlyInteger:
|
|
22
|
-
inputMode:
|
|
23
|
-
|
|
21
|
+
min: s = 0,
|
|
22
|
+
max: t = 1 / 0,
|
|
23
|
+
onlyInteger: i = !1,
|
|
24
|
+
inputMode: e = "numeric",
|
|
25
|
+
maxDecimalPlaces: o,
|
|
26
|
+
...I
|
|
24
27
|
}) => ({
|
|
25
28
|
value: `${r !== 0 ? r ?? "" : 1 / r === -1 / 0 ? "-0" : "0"}`,
|
|
26
|
-
onChange: (
|
|
27
|
-
validateValue:
|
|
28
|
-
inputMode:
|
|
29
|
-
...
|
|
30
|
-
}),
|
|
29
|
+
onChange: (m) => n(!m.trim() || Number.isNaN(+m) ? void 0 : +m),
|
|
30
|
+
validateValue: d(s, t, i, o),
|
|
31
|
+
inputMode: e,
|
|
32
|
+
...I
|
|
33
|
+
}), h = (r) => /* @__PURE__ */ p.jsx(a, { ...f(r) }), x = (r) => /* @__PURE__ */ p.jsx(c, { ...f(r) });
|
|
31
34
|
export {
|
|
32
|
-
|
|
35
|
+
h as FormV2NumberInput,
|
|
33
36
|
x as FormV2NumberInputWithContainer
|
|
34
37
|
};
|
|
35
38
|
//# sourceMappingURL=sd-component-library57.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library57.js","sources":["../src/components/forms-v2/form-v2-input/form-v2-number-input.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { InvalidInputError } from \"../../inputs\";\nimport { InputContainerProps } from \"../input-container\";\nimport { FormV2Input, FormV2InputWithContainer } from \"./form-v2-input\";\nimport {\n FormV2InputProps,\n FormV2NumberInputProps as Props,\n} from \"./interfaces\";\n\nconst getValidatorFunction =\n (min: Props[\"min\"]
|
|
1
|
+
{"version":3,"file":"sd-component-library57.js","sources":["../src/components/forms-v2/form-v2-input/form-v2-number-input.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { isInteger } from \"lodash-es\";\n\nimport { InvalidInputError } from \"../../inputs\";\nimport { InputContainerProps } from \"../input-container\";\nimport { FormV2Input, FormV2InputWithContainer } from \"./form-v2-input\";\nimport {\n FormV2InputProps,\n FormV2NumberInputProps as Props,\n} from \"./interfaces\";\n\nconst getValidatorFunction =\n (\n min: Props[\"min\"],\n max: Props[\"max\"],\n onlyInteger?: Props[\"onlyInteger\"],\n maxDecimalPlaces?: Props[\"maxDecimalPlaces\"]\n ) =>\n (value: string): boolean => {\n const maxDecimalPlacesLimit =\n isInteger(maxDecimalPlaces) && maxDecimalPlaces! >= 1\n ? maxDecimalPlaces\n : undefined;\n\n if (\n !new RegExp(\n `^${min && min < 0 ? \"-?\" : \"\"}(\\\\d*${\n onlyInteger\n ? \"\"\n : `(\\\\.\\\\d${\n maxDecimalPlacesLimit ? `\\{0,${maxDecimalPlacesLimit}\\}` : \"*\"\n })?`\n })$`,\n \"g\"\n ).exec(value)\n )\n throw new InvalidInputError();\n\n const newValue = +value;\n\n // user hasn't finished negative number or fraction\n if (Number.isNaN(newValue)) return true;\n\n if ((min && newValue < min) || (max && newValue > max))\n throw new InvalidInputError();\n\n return true;\n };\n\nconst transformProps = ({\n value,\n onChange,\n min = 0,\n max = Infinity,\n onlyInteger = false,\n inputMode = \"numeric\",\n maxDecimalPlaces,\n ...props\n}: Props): FormV2InputProps => ({\n value: `${value !== 0 ? value ?? \"\" : 1 / value === -Infinity ? \"-0\" : \"0\"}`,\n onChange: (value: string) =>\n onChange(!value.trim() || Number.isNaN(+value) ? undefined : +value),\n validateValue: getValidatorFunction(min, max, onlyInteger, maxDecimalPlaces),\n inputMode,\n ...props,\n});\n\nexport const FormV2NumberInput: React.FC<Props> = (props) => (\n <FormV2Input {...transformProps(props)} />\n);\n\nexport const FormV2NumberInputWithContainer: React.FC<\n Props & InputContainerProps\n> = (props) => <FormV2InputWithContainer {...transformProps(props)} />;\n"],"names":["getValidatorFunction","min","max","onlyInteger","maxDecimalPlaces","value","maxDecimalPlacesLimit","isInteger","InvalidInputError","newValue","transformProps","onChange","inputMode","props","FormV2NumberInput","jsx","FormV2Input","FormV2NumberInputWithContainer","FormV2InputWithContainer"],"mappings":";;;;AAYA,MAAMA,IACJ,CACEC,GACAC,GACAC,GACAC,MAEF,CAACC,MAA2B;AAC1B,QAAMC,IACJC,EAAUH,CAAgB,KAAKA,KAAqB,IAChDA,IACA;AAEN,MACE,CAAC,IAAI;AAAA,IACH,IAAIH,KAAOA,IAAM,IAAI,OAAO,EAAE,QAC5BE,IACI,KACA,UACEG,IAAwB,MAAOA,CAAqB,MAAO,GAC7D,IACN;AAAA,IACA;AAAA,EAAA,EACA,KAAKD,CAAK;AAEZ,UAAM,IAAIG,EAAkB;AAE9B,QAAMC,IAAW,CAACJ;AAGd,MAAA,OAAO,MAAMI,CAAQ;AAAU,WAAA;AAEnC,MAAKR,KAAOQ,IAAWR,KAASC,KAAOO,IAAWP;AAChD,UAAM,IAAIM,EAAkB;AAEvB,SAAA;AACT,GAEIE,IAAiB,CAAC;AAAA,EACtB,OAAAL;AAAA,EACA,UAAAM;AAAA,EACA,KAAAV,IAAM;AAAA,EACN,KAAAC,IAAM;AAAA,EACN,aAAAC,IAAc;AAAA,EACd,WAAAS,IAAY;AAAA,EACZ,kBAAAR;AAAA,EACA,GAAGS;AACL,OAAgC;AAAA,EAC9B,OAAO,GAAGR,MAAU,IAAIA,KAAS,KAAK,IAAIA,MAAU,SAAY,OAAO,GAAG;AAAA,EAC1E,UAAU,CAACA,MACTM,EAAS,CAACN,EAAM,KAAU,KAAA,OAAO,MAAM,CAACA,CAAK,IAAI,SAAY,CAACA,CAAK;AAAA,EACrE,eAAeL,EAAqBC,GAAKC,GAAKC,GAAaC,CAAgB;AAAA,EAC3E,WAAAQ;AAAA,EACA,GAAGC;AACL,IAEaC,IAAqC,CAACD,MACjDE,gBAAAA,MAACC,KAAa,GAAGN,EAAeG,CAAK,GAAG,GAG7BI,IAET,CAACJ,MAAUE,gBAAAA,EAAA,IAACG,KAA0B,GAAGR,EAAeG,CAAK,EAAG,CAAA;"}
|
|
@@ -4,7 +4,7 @@ import { Box as i, Flex as b } from "rebass";
|
|
|
4
4
|
import { isPDFFlow as v } from "./sd-component-library4.js";
|
|
5
5
|
import { SecondaryBadge as C } from "./sd-component-library9.js";
|
|
6
6
|
import { MaxFrContainer as E } from "./sd-component-library40.js";
|
|
7
|
-
import { ReactComponent as S } from "./sd-component-
|
|
7
|
+
import { ReactComponent as S } from "./sd-component-library254.js";
|
|
8
8
|
const $ = (d) => {
|
|
9
9
|
const {
|
|
10
10
|
header: s,
|
|
@@ -3,7 +3,7 @@ import { useState as d, useRef as N, useCallback as S, useMemo as w } from "reac
|
|
|
3
3
|
import { Box as L } from "rebass";
|
|
4
4
|
import { useOnClickOutside as V } from "./sd-component-library3.js";
|
|
5
5
|
import { SecondaryTextInput as _ } from "./sd-component-library78.js";
|
|
6
|
-
import { ResultsBox as $ } from "./sd-component-
|
|
6
|
+
import { ResultsBox as $ } from "./sd-component-library215.js";
|
|
7
7
|
function A(i, a, l) {
|
|
8
8
|
const o = (c) => {
|
|
9
9
|
const t = c.toLowerCase().indexOf(l.toLowerCase());
|
|
@@ -3,7 +3,7 @@ import { useState as I, useCallback as M, useMemo as v } from "react";
|
|
|
3
3
|
import { Box as F, Flex as O } from "rebass";
|
|
4
4
|
import { useBreakPoints as W } from "./sd-component-library3.js";
|
|
5
5
|
import { ReactComponent as z } from "./sd-component-library286.js";
|
|
6
|
-
import { BaseLabel as E } from "./sd-component-
|
|
6
|
+
import { BaseLabel as E } from "./sd-component-library226.js";
|
|
7
7
|
import { OutsideClickBox as J } from "./sd-component-library11.js";
|
|
8
8
|
import { BaseDateRangeInput as L } from "./sd-component-library63.js";
|
|
9
9
|
import { IconButton as X } from "./sd-component-library22.js";
|
|
@@ -4,7 +4,7 @@ import { format as R } from "date-fns";
|
|
|
4
4
|
import { random as k } from "lodash-es";
|
|
5
5
|
import { Box as r } from "rebass";
|
|
6
6
|
import { BaseDateInput as G } from "./sd-component-library62.js";
|
|
7
|
-
import { BaseLabel as I } from "./sd-component-
|
|
7
|
+
import { BaseLabel as I } from "./sd-component-library226.js";
|
|
8
8
|
import { ReactComponent as M } from "./sd-component-library187.js";
|
|
9
9
|
import { FrMaxContainer as A } from "./sd-component-library38.js";
|
|
10
10
|
import { ResponsiveText as L } from "./sd-component-library148.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library196.js";
|
|
2
2
|
import { useState as z } from "react";
|
|
3
|
-
import D from "./sd-component-
|
|
3
|
+
import D from "./sd-component-library216.js";
|
|
4
4
|
import u from "./sd-component-library195.js";
|
|
5
|
-
import { escapeWrapper as F, unescapeWrapper as d } from "./sd-component-
|
|
5
|
+
import { escapeWrapper as F, unescapeWrapper as d } from "./sd-component-library217.js";
|
|
6
6
|
import { GridContainerV2 as G } from "./sd-component-library39.js";
|
|
7
7
|
import { BaseTextV2 as T } from "./sd-component-library138.js";
|
|
8
8
|
import { HorizontalDivider as B } from "./sd-component-library49.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library196.js";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { Flex as R } from "rebass";
|
|
4
|
-
import { CircleButton as a } from "./sd-component-
|
|
5
|
-
import { ReactComponent as _ } from "./sd-component-
|
|
4
|
+
import { CircleButton as a } from "./sd-component-library218.js";
|
|
5
|
+
import { ReactComponent as _ } from "./sd-component-library219.js";
|
|
6
6
|
import { NumberInput as I } from "./sd-component-library72.js";
|
|
7
|
-
import { ReactComponent as M } from "./sd-component-
|
|
7
|
+
import { ReactComponent as M } from "./sd-component-library220.js";
|
|
8
8
|
function m(d, t) {
|
|
9
9
|
return (r, o) => {
|
|
10
10
|
t == null || t(r, o), d(r);
|
|
@@ -2,8 +2,8 @@ import { j as t } from "./sd-component-library196.js";
|
|
|
2
2
|
import { useState as d } from "react";
|
|
3
3
|
import { OutsideClickBox as g } from "./sd-component-library11.js";
|
|
4
4
|
import { SecondaryTextInput as j } from "./sd-component-library78.js";
|
|
5
|
-
import { ReactComponent as v } from "./sd-component-
|
|
6
|
-
import { SearchAutocompleteResultsBox as C } from "./sd-component-
|
|
5
|
+
import { ReactComponent as v } from "./sd-component-library221.js";
|
|
6
|
+
import { SearchAutocompleteResultsBox as C } from "./sd-component-library222.js";
|
|
7
7
|
const F = (s) => {
|
|
8
8
|
const {
|
|
9
9
|
searchValue: r,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as s } from "./sd-component-library196.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-library223.js";
|
|
5
5
|
import { OutsideClickBox as G } from "./sd-component-library11.js";
|
|
6
6
|
import { PrimaryTextInput as H } from "./sd-component-library74.js";
|
|
7
|
-
import { ReactComponent as J } from "./sd-component-
|
|
8
|
-
import { ReactComponent as M } from "./sd-component-
|
|
7
|
+
import { ReactComponent as J } from "./sd-component-library221.js";
|
|
8
|
+
import { ReactComponent as M } from "./sd-component-library224.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-library196.js";
|
|
2
2
|
import { Box as I } from "rebass";
|
|
3
|
-
import { SecondaryInputLabels as B } from "./sd-component-
|
|
3
|
+
import { SecondaryInputLabels as B } from "./sd-component-library225.js";
|
|
4
4
|
import { NumberInput as A } from "./sd-component-library72.js";
|
|
5
5
|
const k = (n) => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library196.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-library225.js";
|
|
4
4
|
import { PrimaryTextInput as f } from "./sd-component-library74.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,7 +1,7 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library196.js";
|
|
2
2
|
import { Box as p } from "rebass";
|
|
3
3
|
import { PrimaryTextInput as x } from "./sd-component-library74.js";
|
|
4
|
-
import { ReactComponent as m } from "./sd-component-
|
|
4
|
+
import { ReactComponent as m } from "./sd-component-library221.js";
|
|
5
5
|
const j = ({
|
|
6
6
|
placeholder: s = "Enter your Search",
|
|
7
7
|
searchStyle: a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library196.js";
|
|
2
2
|
import { Box as c } from "rebass";
|
|
3
|
-
import { BaseLabel as e } from "./sd-component-
|
|
3
|
+
import { BaseLabel as e } from "./sd-component-library226.js";
|
|
4
4
|
import { TextInput as m } from "./sd-component-library79.js";
|
|
5
5
|
import { BaseTextV2 as s } from "./sd-component-library138.js";
|
|
6
6
|
const _ = ({
|
|
@@ -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-library11.js";
|
|
7
7
|
import { ReactComponent as $ } from "./sd-component-library187.js";
|
|
8
|
-
import { ActionBox as A } from "./sd-component-
|
|
8
|
+
import { ActionBox as A } from "./sd-component-library227.js";
|
|
9
9
|
import { FlexCenter as M } from "./sd-component-library35.js";
|
|
10
10
|
import { HorizontalDivider as a } from "./sd-component-library49.js";
|
|
11
11
|
const G = (d) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as l } from "./sd-component-library196.js";
|
|
2
2
|
import { Box as f } from "rebass";
|
|
3
|
-
import { ReactComponent as d } from "./sd-component-
|
|
3
|
+
import { ReactComponent as d } from "./sd-component-library228.js";
|
|
4
4
|
import { BaseGridContainer as h } from "./sd-component-library36.js";
|
|
5
5
|
const F = [
|
|
6
6
|
"#5CA13A",
|
|
@@ -2,10 +2,10 @@ import { j as r } from "./sd-component-library196.js";
|
|
|
2
2
|
import { Box as H } from "rebass";
|
|
3
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-library230.js";
|
|
4
4
|
import { isCorrectOutlineMeterConfig as ae } from "./sd-component-library92.js";
|
|
5
|
-
import { OutlineMeterRange as re } from "./sd-component-
|
|
5
|
+
import { OutlineMeterRange as re } from "./sd-component-library244.js";
|
|
6
6
|
import { OutlineMeterScale as ie } from "./sd-component-library237.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-library245.js";
|
|
8
|
+
import { OutlineMeterLabelBox as oe } from "./sd-component-library246.js";
|
|
9
9
|
const ge = (R) => {
|
|
10
10
|
const {
|
|
11
11
|
marginTop: x = "50px",
|
|
@@ -2,10 +2,10 @@ import { j as o } from "./sd-component-library196.js";
|
|
|
2
2
|
import { Box as y } from "rebass";
|
|
3
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-library230.js";
|
|
4
4
|
import { defaultPointerWidth as ae } from "./sd-component-library229.js";
|
|
5
|
-
import { DiscreteRange as oe } from "./sd-component-
|
|
5
|
+
import { DiscreteRange as oe } from "./sd-component-library241.js";
|
|
6
6
|
import { OutlineMeterScale as le } from "./sd-component-library237.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-library242.js";
|
|
8
|
+
import { MatchedRangeLabelBox as ne } from "./sd-component-library243.js";
|
|
9
9
|
function fe(x) {
|
|
10
10
|
const {
|
|
11
11
|
marginTop: b = "50px",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library196.js";
|
|
2
2
|
import { Box as H } from "rebass";
|
|
3
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-library230.js";
|
|
4
|
-
import { mapAdjacent as ie, isLabelActive as x, flipPosition as R } from "./sd-component-
|
|
5
|
-
import { GradientMeterRange as ne } from "./sd-component-
|
|
4
|
+
import { mapAdjacent as ie, isLabelActive as x, flipPosition as R } from "./sd-component-library235.js";
|
|
5
|
+
import { GradientMeterRange as ne } from "./sd-component-library236.js";
|
|
6
6
|
import { OutlineMeterScale as se } from "./sd-component-library237.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-library238.js";
|
|
8
|
+
import { OutlineMeterLabelPointer as le } from "./sd-component-library239.js";
|
|
9
|
+
import { BaseMeterLabelBox as ue } from "./sd-component-library240.js";
|
|
10
10
|
const je = (b) => {
|
|
11
11
|
const {
|
|
12
12
|
width: o = V,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library196.js";
|
|
2
2
|
import { Box as j } from "rebass";
|
|
3
3
|
import { isPDFFlow as g } from "./sd-component-library4.js";
|
|
4
|
-
import { areSegmentsValid as v } from "./sd-component-
|
|
5
|
-
import { Segment as w } from "./sd-component-
|
|
4
|
+
import { areSegmentsValid as v } from "./sd-component-library247.js";
|
|
5
|
+
import { Segment as w } from "./sd-component-library256.js";
|
|
6
6
|
const E = ({
|
|
7
7
|
segments: x,
|
|
8
8
|
outlineWidth: e = 2,
|