@selfdecode/sd-component-library 4.0.113 → 4.0.114
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-library100.js +2 -2
- package/lib/sd-component-library101.js +1 -1
- package/lib/sd-component-library102.js +2 -2
- package/lib/sd-component-library103.js +3 -3
- package/lib/sd-component-library104.js +2 -2
- package/lib/sd-component-library106.js +4 -4
- package/lib/sd-component-library108.js +4 -4
- package/lib/sd-component-library114.js +1 -1
- package/lib/sd-component-library119.js +1 -1
- package/lib/sd-component-library120.js +2 -2
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library123.js +1 -1
- package/lib/sd-component-library128.js +2 -2
- package/lib/sd-component-library129.js +2 -2
- package/lib/sd-component-library131.js +1 -1
- package/lib/sd-component-library135.js +3 -3
- package/lib/sd-component-library136.js +1 -1
- package/lib/sd-component-library138.js +2 -2
- package/lib/sd-component-library169.js +1 -1
- package/lib/sd-component-library174.js +4 -4
- package/lib/sd-component-library175.js +1 -1
- package/lib/sd-component-library198.js +3 -3
- package/lib/sd-component-library202.js +3 -2
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +2 -30
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +21 -590
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +599 -3
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library207.js +24 -17
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +15 -60
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +5 -23
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +5 -21
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +18 -3
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +21 -3
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +3 -40
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -129
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +64 -13
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +23 -14
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +40 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +129 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +13 -3
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +14 -52
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +3 -65
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +2 -2
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +64 -45
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +3 -17
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +3 -26
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +52 -3
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +46 -31
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +17 -19
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -20
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +31 -28
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +19 -33
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +20 -3
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +26 -127
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +31 -41
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +22 -43
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +3 -8
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +21 -64
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +107 -41
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +42 -12
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +47 -21
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +23 -108
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +49 -43
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +129 -24
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +43 -49
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +7 -47
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +46 -73
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +1 -1
- package/lib/sd-component-library249.js +72 -18
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +2 -2
- package/lib/sd-component-library250.js +20 -19
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +20 -2
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +2 -25
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +323 -17
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +5 -5
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +64 -5
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +39 -25
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +13 -3
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +18 -17
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +1 -1
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library26.js +1 -1
- package/lib/sd-component-library260.js +21 -24
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +3 -22
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +27 -323
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +24 -5
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +27 -27
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +43 -13
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +118 -112
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +57 -105
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +75 -9
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +30 -50
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +20 -29
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +118 -44
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +9 -130
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +41 -65
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +107 -61
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library276.js +51 -49
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +87 -48
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +54 -52
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +48 -91
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library282.js +2 -10
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +2 -2
- package/lib/sd-component-library284.js +70 -2
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +101 -69
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library286.js +95 -91
- package/lib/sd-component-library286.js.map +1 -1
- package/lib/sd-component-library287.js +10 -106
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library291.js +4 -4
- package/lib/sd-component-library292.js +2 -3
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +8 -3
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +328 -3
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +51 -2
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -8
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +3 -328
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +3 -51
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library314.js +52 -20
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +20 -52
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +47 -89
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +89 -47
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +34 -4
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library320.js +5 -4
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library321.js +4 -35
- package/lib/sd-component-library321.js.map +1 -1
- package/lib/sd-component-library323.js +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library51.js +1 -1
- package/lib/sd-component-library53.js +3 -3
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library55.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library62.js +1 -1
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +4 -4
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library66.js +2 -2
- package/lib/sd-component-library67.js +1 -1
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library72.js +2 -2
- package/lib/sd-component-library74.js +3 -3
- package/lib/sd-component-library76.js +2 -2
- package/lib/sd-component-library77.js +3 -3
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library81.js +1 -1
- package/lib/sd-component-library82.js +1 -1
- package/lib/sd-component-library83.js +28 -26
- package/lib/sd-component-library83.js.map +1 -1
- package/lib/sd-component-library87.js +1 -1
- package/lib/sd-component-library88.js +6 -6
- package/lib/sd-component-library89.js +2 -2
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library91.js +5 -5
- package/lib/sd-component-library92.js +1 -1
- package/lib/sd-component-library94.js +6 -6
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library96.js +7 -7
- package/lib/sd-component-library97.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library255.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library255.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/partials/discrete-range/discrete-range.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { BaseOutlineArc } from \"../../../outline-meter/partials/base-outline-arc\";\nimport { getCoordinateForArc } from \"../../../outline-meter/utils\";\nimport { defaultTextBottomMargin } from \"../../constants\";\nimport { getRangeProperties } from \"../../utils\";\nimport { DiscreteMeterLabelPointer } from \"../discrete-meter-label-pointer\";\nimport { DiscreteRangeProps as Props } from \"./interfaces\";\n\nexport function DiscreteRange<T>(props: PropsWithChildren<Props<T>>) {\n const {\n color,\n idx,\n gaugeWidth,\n diameter,\n arc,\n distanceBetweenRanges,\n totalRanges,\n showLabel,\n label,\n isMatchedRange,\n pointerWidth,\n pointerLength,\n horizontal,\n } = props;\n\n const radius = diameter / 2;\n\n const { rangeArcStart, rangeArcEnd } = getRangeProperties(\n arc,\n totalRanges,\n distanceBetweenRanges,\n idx\n );\n\n const { x: rangeStartX, y: rangeStartY } = getCoordinateForArc(\n radius,\n rangeArcStart\n );\n const { x: rangeEndX, y: rangeEndY } = getCoordinateForArc(\n radius,\n rangeArcEnd\n );\n\n const middleArcAlpha = (rangeArcStart + rangeArcEnd) / 2;\n\n return (\n <g>\n <BaseOutlineArc\n startX={rangeStartX}\n startY={rangeStartY}\n endX={rangeEndX}\n endY={rangeEndY}\n startAlpha={rangeArcStart}\n endAlpha={rangeArcEnd}\n color={color}\n radius={radius}\n width={gaugeWidth}\n />\n\n {showLabel && label && !isMatchedRange && (\n <DiscreteMeterLabelPointer\n alpha={middleArcAlpha}\n pointerLength={pointerLength}\n pointerWidth={pointerWidth}\n radius={radius}\n color={color}\n textBottomMargin={defaultTextBottomMargin}\n label={label}\n horizontal={horizontal}\n />\n )}\n </g>\n );\n}\n"],"names":["DiscreteRange","props","color","idx","gaugeWidth","diameter","arc","distanceBetweenRanges","totalRanges","showLabel","label","isMatchedRange","pointerWidth","pointerLength","horizontal","radius","rangeArcStart","rangeArcEnd","getRangeProperties","rangeStartX","rangeStartY","getCoordinateForArc","rangeEndX","rangeEndY","middleArcAlpha","jsx","BaseOutlineArc","DiscreteMeterLabelPointer","defaultTextBottomMargin"],"mappings":";;;;;;AASO,SAASA,EAAiBC,GAAoC;AAC7D,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,KAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,KAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,IACA,YAAAC;AAAA,EACE,IAAAb,GAEEc,IAASV,IAAW,GAEpB,EAAE,eAAAW,GAAe,aAAAC,EAAA,IAAgBC;AAAA,IACrCZ;AAAA,IACAE;AAAA,IACAD;AAAA,IACAJ;AAAA,EAAA,GAGI,EAAE,GAAGgB,GAAa,GAAGC,EAAgB,IAAAC;AAAA,IACzCN;AAAA,IACAC;AAAA,EAAA,GAEI,EAAE,GAAGM,GAAW,GAAGC,EAAc,IAAAF;AAAA,IACrCN;AAAA,IACAE;AAAA,EAAA,GAGIO,KAAkBR,IAAgBC,KAAe;AAEvD,gCACG,KACC,EAAA,UAAA;AAAA,IAAAQ,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,QAAQP;AAAA,QACR,QAAQC;AAAA,QACR,MAAME;AAAA,QACN,MAAMC;AAAA,QACN,YAAYP;AAAA,QACZ,UAAUC;AAAA,QACV,OAAAf;AAAA,QACA,QAAAa;AAAA,QACA,OAAOX;AAAA,MAAA;AAAA,IACT;AAAA,IAECK,KAAaC,KAAS,CAACC,KACtBc,gBAAAA,EAAA;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,OAAOH;AAAA,QACP,eAAAX;AAAA,QACA,cAAAD;AAAA,QACA,QAAAG;AAAA,QACA,OAAAb;AAAA,QACA,kBAAkB0B;AAAA,QAClB,OAAAlB;AAAA,QACA,YAAAI;AAAA,MAAA;AAAA,IACF;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
|
|
@@ -1,32 +1,46 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { j as M } from "./sd-component-library198.js";
|
|
2
|
+
import { getInnerX as T, getInnerY as W, degToRad as r, getCoordinateForArc as y } from "./sd-component-library93.js";
|
|
3
|
+
import { BaseNeedle as B } from "./sd-component-library318.js";
|
|
4
|
+
function E(p) {
|
|
4
5
|
const {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
needleColor: u,
|
|
7
|
+
options: n,
|
|
8
|
+
value: h,
|
|
9
|
+
needleWidth: e,
|
|
10
|
+
innerCircleRadius: m,
|
|
11
|
+
innerCircleStrokeWidth: x,
|
|
12
|
+
diameter: R,
|
|
13
|
+
arc: a,
|
|
14
|
+
distanceBetweenRanges: c,
|
|
15
|
+
distanceFromRange: s,
|
|
16
|
+
gaugeWidth: i
|
|
17
|
+
} = p, o = n.findIndex(
|
|
18
|
+
(F) => h === F.value
|
|
19
|
+
), d = R / 2, f = (360 - a) / 2, l = a - (n.length - 1) * c, g = o / n.length, v = (o + 1) / n.length, A = l * (v - g), t = f + c * o + l * g + A / 2, { x: C, y: I } = y(d, t), S = T(
|
|
20
|
+
C,
|
|
21
|
+
r(t),
|
|
22
|
+
s + i + e / 2
|
|
23
|
+
), X = W(
|
|
24
|
+
I,
|
|
25
|
+
r(t),
|
|
26
|
+
s + i + e / 2
|
|
27
|
+
), Y = e / 2 * Math.cos(r(t)), j = e / 2 * Math.sin(r(t));
|
|
28
|
+
return /* @__PURE__ */ M.jsx(
|
|
29
|
+
B,
|
|
15
30
|
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
children: r.children
|
|
31
|
+
dx: Y,
|
|
32
|
+
dy: j,
|
|
33
|
+
color: u,
|
|
34
|
+
radius: d,
|
|
35
|
+
tipX: S,
|
|
36
|
+
tipY: X,
|
|
37
|
+
innerCircleStrokeWidth: x,
|
|
38
|
+
innerCircleRadius: m,
|
|
39
|
+
needleWidth: e
|
|
26
40
|
}
|
|
27
41
|
);
|
|
28
|
-
}
|
|
42
|
+
}
|
|
29
43
|
export {
|
|
30
|
-
|
|
44
|
+
E as DiscreteMeterNeedle
|
|
31
45
|
};
|
|
32
46
|
//# sourceMappingURL=sd-component-library256.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library256.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library256.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-needle/discrete-meter-needle.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { BaseNeedle } from \"../../../outline-meter/partials/base-needle\";\nimport {\n degToRad,\n getCoordinateForArc,\n getInnerX,\n getInnerY,\n} from \"../../../outline-meter/utils\";\nimport { DiscreteMeterNeedleProps as Props } from \"./interfaces\";\n\nexport function DiscreteMeterNeedle<T>(props: PropsWithChildren<Props<T>>) {\n const {\n needleColor,\n options,\n value,\n needleWidth,\n innerCircleRadius,\n innerCircleStrokeWidth,\n diameter,\n arc,\n distanceBetweenRanges,\n distanceFromRange,\n gaugeWidth,\n } = props;\n\n const matchingRangeIndex = options.findIndex(\n (option) => value === option.value\n );\n\n const radius = diameter / 2;\n\n const arcStart = (360 - arc) / 2;\n const arcForRanges = arc - (options.length - 1) * distanceBetweenRanges;\n\n const start = matchingRangeIndex / options.length;\n const end = (matchingRangeIndex + 1) / options.length;\n\n const rangeArc = arcForRanges * (end - start);\n\n const rangeArcStart =\n arcStart +\n distanceBetweenRanges * matchingRangeIndex +\n arcForRanges * start;\n\n const valueAlpha = rangeArcStart + rangeArc / 2;\n const { x: valueX, y: valueY } = getCoordinateForArc(radius, valueAlpha);\n\n const needleTipX = getInnerX(\n valueX,\n degToRad(valueAlpha),\n distanceFromRange + gaugeWidth + needleWidth / 2\n );\n const needleTipY = getInnerY(\n valueY,\n degToRad(valueAlpha),\n distanceFromRange + gaugeWidth + needleWidth / 2\n );\n\n const dx = (needleWidth / 2) * Math.cos(degToRad(valueAlpha));\n const dy = (needleWidth / 2) * Math.sin(degToRad(valueAlpha));\n\n return (\n <BaseNeedle\n dx={dx}\n dy={dy}\n color={needleColor}\n radius={radius}\n tipX={needleTipX}\n tipY={needleTipY}\n innerCircleStrokeWidth={innerCircleStrokeWidth}\n innerCircleRadius={innerCircleRadius}\n needleWidth={needleWidth}\n />\n );\n}\n"],"names":["DiscreteMeterNeedle","props","needleColor","options","value","needleWidth","innerCircleRadius","innerCircleStrokeWidth","diameter","arc","distanceBetweenRanges","distanceFromRange","gaugeWidth","matchingRangeIndex","option","radius","arcStart","arcForRanges","start","end","rangeArc","valueAlpha","valueX","valueY","getCoordinateForArc","needleTipX","getInnerX","degToRad","needleTipY","getInnerY","dx","dy","jsx","BaseNeedle"],"mappings":";;;AAWO,SAASA,EAAuBC,GAAoC;AACnE,QAAA;AAAA,IACJ,aAAAC;AAAA,IACA,SAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,KAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,YAAAC;AAAA,EACE,IAAAX,GAEEY,IAAqBV,EAAQ;AAAA,IACjC,CAACW,MAAWV,MAAUU,EAAO;AAAA,EAAA,GAGzBC,IAASP,IAAW,GAEpBQ,KAAY,MAAMP,KAAO,GACzBQ,IAAeR,KAAON,EAAQ,SAAS,KAAKO,GAE5CQ,IAAQL,IAAqBV,EAAQ,QACrCgB,KAAON,IAAqB,KAAKV,EAAQ,QAEzCiB,IAAWH,KAAgBE,IAAMD,IAOjCG,IAJJL,IACAN,IAAwBG,IACxBI,IAAeC,IAEkBE,IAAW,GACxC,EAAE,GAAGE,GAAQ,GAAGC,MAAWC,EAAoBT,GAAQM,CAAU,GAEjEI,IAAaC;AAAA,IACjBJ;AAAA,IACAK,EAASN,CAAU;AAAA,IACnBV,IAAoBC,IAAaP,IAAc;AAAA,EAAA,GAE3CuB,IAAaC;AAAA,IACjBN;AAAA,IACAI,EAASN,CAAU;AAAA,IACnBV,IAAoBC,IAAaP,IAAc;AAAA,EAAA,GAG3CyB,IAAMzB,IAAc,IAAK,KAAK,IAAIsB,EAASN,CAAU,CAAC,GACtDU,IAAM1B,IAAc,IAAK,KAAK,IAAIsB,EAASN,CAAU,CAAC;AAG1D,SAAAW,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAAH;AAAA,MACA,IAAAC;AAAA,MACA,OAAO7B;AAAA,MACP,QAAAa;AAAA,MACA,MAAMU;AAAA,MACN,MAAMG;AAAA,MACN,wBAAArB;AAAA,MACA,mBAAAD;AAAA,MACA,aAAAD;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as g } from "./sd-component-library198.js";
|
|
2
|
+
import { getRangeProperties as d } from "./sd-component-library320.js";
|
|
3
|
+
import { MatchedRangeLabelBox as x } from "./sd-component-library317.js";
|
|
4
|
+
const h = (e) => {
|
|
5
|
+
const { idx: t, totalRanges: a, distanceBetweenRanges: r, arc: n } = e, { rangeArcStart: o, rangeArcEnd: s } = d(
|
|
6
|
+
n,
|
|
7
|
+
a,
|
|
8
|
+
r,
|
|
9
|
+
t
|
|
10
|
+
), c = Math.round((o + s) / 2);
|
|
11
|
+
return /* @__PURE__ */ g.jsx(x, { ...e, alpha: c, round: !0 });
|
|
12
|
+
};
|
|
3
13
|
export {
|
|
4
|
-
|
|
14
|
+
h as MatchedRangeLabelBox
|
|
5
15
|
};
|
|
6
16
|
//# sourceMappingURL=sd-component-library257.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library257.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library257.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/partials/matched-range-label-box/matched-range-label-box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { MatchedRangeLabelBox as LabelBox } from \"../../../common-outline-meter-partials\";\nimport { getRangeProperties } from \"../../utils\";\nimport { MatchedRangeLabelBoxProps as Props } from \"./interfaces\";\n\nexport const MatchedRangeLabelBox: React.FC<Props> = (props) => {\n const { idx, totalRanges, distanceBetweenRanges, arc } = props;\n\n const { rangeArcStart, rangeArcEnd } = getRangeProperties(\n arc,\n totalRanges,\n distanceBetweenRanges,\n idx\n );\n\n const alpha = Math.round((rangeArcStart + rangeArcEnd) / 2);\n\n return <LabelBox {...props} alpha={alpha} round />;\n};\n"],"names":["MatchedRangeLabelBox","props","idx","totalRanges","distanceBetweenRanges","arc","rangeArcStart","rangeArcEnd","getRangeProperties","alpha","LabelBox"],"mappings":";;;AAMa,MAAAA,IAAwC,CAACC,MAAU;AAC9D,QAAM,EAAE,KAAAC,GAAK,aAAAC,GAAa,uBAAAC,GAAuB,KAAAC,MAAQJ,GAEnD,EAAE,eAAAK,GAAe,aAAAC,EAAA,IAAgBC;AAAA,IACrCH;AAAA,IACAF;AAAA,IACAC;AAAA,IACAF;AAAA,EAAA,GAGIO,IAAQ,KAAK,OAAOH,IAAgBC,KAAe,CAAC;AAE1D,+BAAQG,GAAU,EAAA,GAAGT,GAAO,OAAAQ,GAAc,OAAK,GAAC,CAAA;AAClD;"}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { j as i } from "./sd-component-library198.js";
|
|
2
|
+
import { FlexCenter as l } from "./sd-component-library36.js";
|
|
3
|
+
const x = ({
|
|
4
|
+
children: t,
|
|
5
|
+
disabled: o,
|
|
6
|
+
onClick: e
|
|
7
|
+
}) => {
|
|
8
|
+
const r = o ? "cl_lightGrey" : "cl_blue";
|
|
9
|
+
return /* @__PURE__ */ i.jsx(
|
|
10
|
+
l,
|
|
7
11
|
{
|
|
8
|
-
|
|
12
|
+
height: "100%",
|
|
9
13
|
sx: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
justifyContent: "center",
|
|
13
|
-
borderColor: "cl_lightGrey",
|
|
14
|
-
borderWidth: 1,
|
|
14
|
+
borderWidth: "2px",
|
|
15
|
+
borderColor: r,
|
|
15
16
|
borderStyle: "solid",
|
|
16
|
-
borderRadius: "
|
|
17
|
-
|
|
18
|
-
minWidth: "30px"
|
|
17
|
+
borderRadius: "5px",
|
|
18
|
+
fill: r
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
onClick: o ? void 0 : e,
|
|
21
|
+
children: t
|
|
21
22
|
}
|
|
22
23
|
);
|
|
23
24
|
};
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
x as PaginationBarButton
|
|
26
27
|
};
|
|
27
28
|
//# sourceMappingURL=sd-component-library258.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library258.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library258.js","sources":["../src/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-button/pagination-bar-button.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { FlexCenter } from \"../../../../containers\";\nimport { PaginationBarButtonProps as Props } from \"./interfaces\";\n\nexport const PaginationBarButton: React.FC<PropsWithChildren<Props>> = ({\n children,\n disabled,\n onClick,\n}) => {\n const color = disabled ? \"cl_lightGrey\" : \"cl_blue\";\n return (\n <FlexCenter\n height=\"100%\"\n sx={{\n borderWidth: \"2px\",\n borderColor: color,\n borderStyle: \"solid\",\n borderRadius: \"5px\",\n fill: color,\n }}\n onClick={disabled ? undefined : onClick}\n >\n {children}\n </FlexCenter>\n );\n};\n"],"names":["PaginationBarButton","children","disabled","onClick","color","jsx","FlexCenter"],"mappings":";;AAKO,MAAMA,IAA0D,CAAC;AAAA,EACtE,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AACF,MAAM;AACE,QAAAC,IAAQF,IAAW,iBAAiB;AAExC,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAO;AAAA,MACP,IAAI;AAAA,QACF,aAAa;AAAA,QACb,aAAaF;AAAA,QACb,aAAa;AAAA,QACb,cAAc;AAAA,QACd,MAAMA;AAAA,MACR;AAAA,MACA,SAASF,IAAW,SAAYC;AAAA,MAE/B,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
|
-
const e = (t) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 7, height: 13, viewBox: "0 0 7 13", ...t }, /* @__PURE__ */ a.createElement("path", { id: "Forma_1_copy_3", "data-name": "Forma 1 copy 3", d: "
|
|
2
|
+
const e = (t) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 7, height: 13, viewBox: "0 0 7 13", ...t }, /* @__PURE__ */ a.createElement("path", { id: "Forma_1_copy_3", "data-name": "Forma 1 copy 3", d: "M8009.72,5251.88l-5.6-6.08a0.435,0.435,0,0,1,0-.6l5.6-6.08a0.354,0.354,0,0,1,.28-0.13,0.349,0.349,0,0,1,.27.13l0.61,0.65a0.435,0.435,0,0,1,0,.6l-4.73,5.13,4.73,5.13a0.423,0.423,0,0,1,.12.3,0.441,0.441,0,0,1-.12.3l-0.61.65a0.349,0.349,0,0,1-.27.13A0.354,0.354,0,0,1,8009.72,5251.88Z", transform: "translate(-8004 -5239)" }));
|
|
3
3
|
export {
|
|
4
4
|
e as ReactComponent
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library259.js","sources":["../src/components/page-selectors/page-selector/assets/
|
|
1
|
+
{"version":3,"file":"sd-component-library259.js","sources":["../src/components/page-selectors/page-selector/assets/previous.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjEzIiB2aWV3Qm94PSIwIDAgNyAxMyI+CiAgPHBhdGggaWQ9IkZvcm1hXzFfY29weV8zIiBkYXRhLW5hbWU9IkZvcm1hIDEgY29weSAzIiBkPSJNODAwOS43Miw1MjUxLjg4bC01LjYtNi4wOGEwLjQzNSwwLjQzNSwwLDAsMSwwLS42bDUuNi02LjA4YTAuMzU0LDAuMzU0LDAsMCwxLC4yOC0wLjEzLDAuMzQ5LDAuMzQ5LDAsMCwxLC4yNy4xM2wwLjYxLDAuNjVhMC40MzUsMC40MzUsMCwwLDEsMCwuNmwtNC43Myw1LjEzLDQuNzMsNS4xM2EwLjQyMywwLjQyMywwLDAsMSwuMTIuMywwLjQ0MSwwLjQ0MSwwLDAsMS0uMTIuM2wtMC42MS42NWEwLjM0OSwwLjM0OSwwLDAsMS0uMjcuMTNBMC4zNTQsMC4zNTQsMCwwLDEsODAwOS43Miw1MjUxLjg4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgwMDQgLTUyMzkpIi8+Cjwvc3ZnPgo=\""],"names":["SvgPrevious","props","React"],"mappings":";AACK,MAACA,IAAc,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,IAAI,SAAS,YAAY,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,kBAAkB,aAAa,kBAAkB,GAAG,6RAA6R,WAAW,yBAAwB,CAAE,CAAC;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library198.js";
|
|
2
2
|
import { Link as Q } from "react-router-dom";
|
|
3
3
|
import { Button as T, Flex as U } from "rebass";
|
|
4
|
-
import { LoadingSpinner as V } from "./sd-component-
|
|
4
|
+
import { LoadingSpinner as V } from "./sd-component-library207.js";
|
|
5
5
|
function X(o, t, e) {
|
|
6
6
|
return (n) => {
|
|
7
7
|
o == null || o(n), t && (`#${t}` !== window.location.hash && (e != null && e.replace(
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
children:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library198.js";
|
|
2
|
+
import { ResponsiveTextV2 as t } from "./sd-component-library152.js";
|
|
3
|
+
const n = ({
|
|
4
|
+
children: e
|
|
5
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
6
|
+
t,
|
|
7
|
+
{
|
|
8
|
+
fontSizeWeight: [18, "regular"],
|
|
9
|
+
sx: {
|
|
10
|
+
display: "flex",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
justifyContent: "center",
|
|
12
13
|
height: "100%",
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
children: t
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
};
|
|
14
|
+
borderRadius: "5px",
|
|
15
|
+
borderWidth: "1px",
|
|
16
|
+
borderColor: "cl_lightGrey",
|
|
17
|
+
borderStyle: "solid"
|
|
18
|
+
},
|
|
19
|
+
children: e
|
|
20
|
+
}
|
|
21
|
+
);
|
|
25
22
|
export {
|
|
26
|
-
|
|
23
|
+
n as PaginationBarCurrentPage
|
|
27
24
|
};
|
|
28
25
|
//# sourceMappingURL=sd-component-library260.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library260.js","sources":["../src/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-
|
|
1
|
+
{"version":3,"file":"sd-component-library260.js","sources":["../src/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-current-page/pagination-bar-current-page.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts\";\n\nexport const PaginationBarCurrentPage: React.FC<PropsWithChildren<{}>> = ({\n children,\n}) => {\n return (\n <ResponsiveTextV2\n fontSizeWeight={[18, \"regular\"]}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n height: \"100%\",\n borderRadius: \"5px\",\n borderWidth: \"1px\",\n borderColor: \"cl_lightGrey\",\n borderStyle: \"solid\",\n }}\n >\n {children}\n </ResponsiveTextV2>\n );\n};\n"],"names":["PaginationBarCurrentPage","children","jsx","ResponsiveTextV2"],"mappings":";;AAIO,MAAMA,IAA4D,CAAC;AAAA,EACxE,UAAAC;AACF,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,IAC9B,IAAI;AAAA,MACF,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,aAAa;AAAA,MACb,aAAa;AAAA,MACb,aAAa;AAAA,IACf;AAAA,IAEC,UAAAF;AAAA,EAAA;AAAA;"}
|
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const n = ({
|
|
4
|
-
children: e
|
|
5
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
6
|
-
t,
|
|
7
|
-
{
|
|
8
|
-
fontSizeWeight: [18, "regular"],
|
|
9
|
-
sx: {
|
|
10
|
-
display: "flex",
|
|
11
|
-
alignItems: "center",
|
|
12
|
-
justifyContent: "center",
|
|
13
|
-
height: "100%",
|
|
14
|
-
borderRadius: "5px",
|
|
15
|
-
borderWidth: "1px",
|
|
16
|
-
borderColor: "cl_lightGrey",
|
|
17
|
-
borderStyle: "solid"
|
|
18
|
-
},
|
|
19
|
-
children: e
|
|
20
|
-
}
|
|
21
|
-
);
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
const e = (t) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 7, height: 13, viewBox: "0 0 7 13", ...t }, /* @__PURE__ */ a.createElement("path", { id: "Forma_1_copy_3", "data-name": "Forma 1 copy 3", d: "M8105.27,5251.88l5.6-6.08a0.435,0.435,0,0,0,0-.6l-5.6-6.08a0.349,0.349,0,0,0-.27-0.13,0.354,0.354,0,0,0-.28.13l-0.6.65a0.435,0.435,0,0,0,0,.6l4.72,5.13-4.72,5.13a0.423,0.423,0,0,0-.12.3,0.441,0.441,0,0,0,.12.3l0.6,0.65a0.354,0.354,0,0,0,.28.13A0.349,0.349,0,0,0,8105.27,5251.88Z", transform: "translate(-8104 -5239)" }));
|
|
22
3
|
export {
|
|
23
|
-
|
|
4
|
+
e as ReactComponent
|
|
24
5
|
};
|
|
25
6
|
//# sourceMappingURL=sd-component-library261.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library261.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library261.js","sources":["../src/components/page-selectors/page-selector/assets/next.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjEzIiB2aWV3Qm94PSIwIDAgNyAxMyI+CiAgPHBhdGggaWQ9IkZvcm1hXzFfY29weV8zIiBkYXRhLW5hbWU9IkZvcm1hIDEgY29weSAzIiBkPSJNODEwNS4yNyw1MjUxLjg4bDUuNi02LjA4YTAuNDM1LDAuNDM1LDAsMCwwLDAtLjZsLTUuNi02LjA4YTAuMzQ5LDAuMzQ5LDAsMCwwLS4yNy0wLjEzLDAuMzU0LDAuMzU0LDAsMCwwLS4yOC4xM2wtMC42LjY1YTAuNDM1LDAuNDM1LDAsMCwwLDAsLjZsNC43Miw1LjEzLTQuNzIsNS4xM2EwLjQyMywwLjQyMywwLDAsMC0uMTIuMywwLjQ0MSwwLjQ0MSwwLDAsMCwuMTIuM2wwLjYsMC42NWEwLjM1NCwwLjM1NCwwLDAsMCwuMjguMTNBMC4zNDksMC4zNDksMCwwLDAsODEwNS4yNyw1MjUxLjg4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgxMDQgLTUyMzkpIi8+Cjwvc3ZnPgo=\""],"names":["SvgNext","props","React"],"mappings":";AACK,MAACA,IAAU,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,IAAI,SAAS,YAAY,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,kBAAkB,aAAa,kBAAkB,GAAG,0RAA0R,WAAW,yBAAwB,CAAE,CAAC;"}
|