@selfdecode/sd-component-library 4.0.115 → 4.0.116
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/form-v2-input.d.ts +1 -0
- package/lib/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library102.js +2 -2
- package/lib/sd-component-library103.js +3 -3
- 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-library174.js +3 -3
- package/lib/sd-component-library175.js +1 -1
- package/lib/sd-component-library204.js +1 -1
- package/lib/sd-component-library205.js +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 -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-library230.js +3 -3
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +3 -31
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +31 -19
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +19 -20
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +20 -28
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +27 -32
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +32 -128
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +129 -43
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +41 -45
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +46 -7
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library240.js +8 -64
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +21 -43
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +107 -11
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +47 -3
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +22 -46
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +51 -73
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +64 -21
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +41 -107
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +12 -46
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +46 -22
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +73 -51
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +41 -2
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +27 -21
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +20 -19
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +20 -41
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +2 -27
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library265.js +1 -1
- package/lib/sd-component-library268.js +1 -1
- package/lib/sd-component-library269.js +30 -122
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +20 -9
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +116 -41
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +122 -30
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +9 -20
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +41 -116
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library276.js +2 -51
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +2 -90
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +48 -89
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +89 -48
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +92 -2
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +49 -2
- package/lib/sd-component-library281.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 +10 -2
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library316.js +88 -20
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +2 -2
- package/lib/sd-component-library318.js +33 -91
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library319.js +23 -33
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library320.js +4 -33
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library321.js +4 -5
- package/lib/sd-component-library321.js.map +1 -1
- package/lib/sd-component-library322.js +34 -4
- package/lib/sd-component-library322.js.map +1 -1
- package/lib/sd-component-library325.js +90 -32
- package/lib/sd-component-library325.js.map +1 -1
- package/lib/sd-component-library326.js +32 -90
- package/lib/sd-component-library326.js.map +1 -1
- package/lib/sd-component-library57.js +21 -20
- package/lib/sd-component-library57.js.map +1 -1
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +1 -1
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library66.js +1 -1
- package/lib/sd-component-library77.js +2 -2
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library79.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,8 +1,8 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library198.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-library249.js";
|
|
5
|
+
import { Segment as w } from "./sd-component-library250.js";
|
|
6
6
|
const E = ({
|
|
7
7
|
segments: x,
|
|
8
8
|
outlineWidth: e = 2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library198.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-library249.js";
|
|
3
|
+
import { CompactDonutGaugeSegment as x } from "./sd-component-library251.js";
|
|
4
|
+
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-library252.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-library198.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-library253.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library254.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library43.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library40.js";
|
|
6
6
|
function $(l) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library198.js";
|
|
2
|
-
import { isMatchingRange as u } from "./sd-component-
|
|
2
|
+
import { isMatchingRange as u } from "./sd-component-library255.js";
|
|
3
3
|
import { GridCenter as c } from "./sd-component-library43.js";
|
|
4
4
|
import { GridContainerV2 as f } from "./sd-component-library40.js";
|
|
5
|
-
import { LinearGaugeSegment as d } from "./sd-component-
|
|
6
|
-
import { LinearGaugeLabel as j } from "./sd-component-
|
|
5
|
+
import { LinearGaugeSegment as d } from "./sd-component-library253.js";
|
|
6
|
+
import { LinearGaugeLabel as j } from "./sd-component-library254.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
gap: i = 3,
|
|
9
9
|
segmentHeight: l = 8,
|
|
@@ -2,9 +2,9 @@ import { j as t } from "./sd-component-library198.js";
|
|
|
2
2
|
import { useState as y } from "react";
|
|
3
3
|
import { Flex as m } from "rebass";
|
|
4
4
|
import { useBoundingClientRect as x } from "./sd-component-library3.js";
|
|
5
|
-
import { ArrowButton as l } from "./sd-component-
|
|
6
|
-
import { Mask as p } from "./sd-component-
|
|
7
|
-
import { Tab as A } from "./sd-component-
|
|
5
|
+
import { ArrowButton as l } from "./sd-component-library269.js";
|
|
6
|
+
import { Mask as p } from "./sd-component-library270.js";
|
|
7
|
+
import { Tab as A } from "./sd-component-library271.js";
|
|
8
8
|
import { HorizontalDivider as E } from "./sd-component-library50.js";
|
|
9
9
|
const s = 30, e = `${s}px`, w = "30px";
|
|
10
10
|
function Q({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library198.js";
|
|
2
2
|
import { Box as w, Flex as s } from "rebass";
|
|
3
|
-
import { TabV2 as T } from "./sd-component-
|
|
3
|
+
import { TabV2 as T } from "./sd-component-library272.js";
|
|
4
4
|
import { GridContainerV2 as G } from "./sd-component-library40.js";
|
|
5
5
|
const h = 25, b = ({
|
|
6
6
|
tabs: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library198.js";
|
|
2
2
|
import { useRef as v, useState as w, useEffect as m } from "react";
|
|
3
3
|
import { Box as S } from "rebass";
|
|
4
|
-
import { ScrollableTabWrapper as C } from "./sd-component-
|
|
5
|
-
import { Tab as j } from "./sd-component-
|
|
4
|
+
import { ScrollableTabWrapper as C } from "./sd-component-library273.js";
|
|
5
|
+
import { Tab as j } from "./sd-component-library274.js";
|
|
6
6
|
import { VerticalDivider as E } from "./sd-component-library51.js";
|
|
7
7
|
import { BaseGridContainer as y } from "./sd-component-library37.js";
|
|
8
8
|
import { MaxMaxContainer as L } from "./sd-component-library42.js";
|
|
@@ -3,9 +3,9 @@ import { useState as y, useRef as a } from "react";
|
|
|
3
3
|
import { Box as z } from "rebass";
|
|
4
4
|
import { useBreakPoints as B, useBodyScrollLock as C } from "./sd-component-library3.js";
|
|
5
5
|
import E from "./sd-component-library256.js";
|
|
6
|
-
import { TooltipWithPointerMobile as M } from "./sd-component-
|
|
7
|
-
import { TooltipWithPointerHorizontal as V } from "./sd-component-
|
|
8
|
-
import { TooltipWithPointerVertical as D } from "./sd-component-
|
|
6
|
+
import { TooltipWithPointerMobile as M } from "./sd-component-library278.js";
|
|
7
|
+
import { TooltipWithPointerHorizontal as V } from "./sd-component-library279.js";
|
|
8
|
+
import { TooltipWithPointerVertical as D } from "./sd-component-library280.js";
|
|
9
9
|
const f = 200, J = (u) => {
|
|
10
10
|
const {
|
|
11
11
|
children: x,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as E } from "./sd-component-library198.js";
|
|
2
2
|
import { useRef as b, useCallback as j, useEffect as l } from "react";
|
|
3
3
|
import { Box as H } from "rebass";
|
|
4
|
-
import { refsManager as h } from "./sd-component-
|
|
4
|
+
import { refsManager as h } from "./sd-component-library281.js";
|
|
5
5
|
const Y = (m) => {
|
|
6
6
|
const e = b(), {
|
|
7
7
|
id: n,
|
|
@@ -1,49 +1,68 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
import { j as o } from "./sd-component-library198.js";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { Link as m } from "react-router-dom";
|
|
4
|
+
import { Box as n, Flex as f } from "rebass";
|
|
5
|
+
import { RegularText as h } from "./sd-component-library165.js";
|
|
6
|
+
import { PrimaryBadge as s } from "./sd-component-library9.js";
|
|
7
|
+
import { HorizontalDivider as c } from "./sd-component-library50.js";
|
|
8
|
+
const S = ({
|
|
9
|
+
searchResults: t,
|
|
10
|
+
useRouterLinks: i,
|
|
11
|
+
onResultClick: r
|
|
12
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
13
|
+
n,
|
|
14
|
+
{
|
|
15
|
+
sx: {
|
|
16
|
+
position: "absolute",
|
|
17
|
+
top: "100%",
|
|
18
|
+
bg: "white",
|
|
19
|
+
width: "100%",
|
|
20
|
+
borderRadius: ["0", "0px 0px 3px 3px"],
|
|
21
|
+
borderWidth: "1px",
|
|
22
|
+
borderStyle: "solid",
|
|
23
|
+
borderTopStyle: "none",
|
|
24
|
+
borderColor: "#C8CCE5",
|
|
25
|
+
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)"
|
|
26
|
+
},
|
|
27
|
+
children: t.map((e, p) => /* @__PURE__ */ o.jsxs(d.Fragment, { children: [
|
|
28
|
+
i ? /* @__PURE__ */ o.jsx(m, { to: e.url, style: { textDecoration: "none" }, children: /* @__PURE__ */ o.jsx(x, { ...e, onResultClick: r }) }) : /* @__PURE__ */ o.jsx(
|
|
29
|
+
x,
|
|
30
|
+
{
|
|
31
|
+
...e,
|
|
32
|
+
onResultClick: r,
|
|
33
|
+
onClick: () => window.location.href = `https://www.selfdecode.com${e.url}`
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
p + 1 !== t.length && /* @__PURE__ */ o.jsx(c, { color: "cl_lightGrey" })
|
|
37
|
+
] }, `${p}-${e.url}`))
|
|
38
|
+
}
|
|
39
|
+
), x = ({
|
|
40
|
+
onResultClick: t,
|
|
41
|
+
onClick: i,
|
|
42
|
+
...r
|
|
43
|
+
}) => {
|
|
44
|
+
const e = () => {
|
|
45
|
+
t == null || t(r), i == null || i();
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ o.jsxs(
|
|
48
|
+
f,
|
|
49
|
+
{
|
|
50
|
+
flexDirection: ["column-reverse", "row"],
|
|
51
|
+
justifyContent: "space-between",
|
|
52
|
+
sx: {
|
|
53
|
+
p: "10px 16px",
|
|
54
|
+
cursor: "pointer",
|
|
55
|
+
":hover": { bg: "#eff4ff" }
|
|
56
|
+
},
|
|
57
|
+
onClick: e,
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ o.jsx(h, { fontSize: 16, children: r.text }),
|
|
60
|
+
!!r.type && /* @__PURE__ */ o.jsx(n, { width: "max-content", mb: ["8px", "0"], children: /* @__PURE__ */ o.jsx(s, { children: r.type }) })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
);
|
|
45
64
|
};
|
|
46
65
|
export {
|
|
47
|
-
|
|
66
|
+
S as SearchBox
|
|
48
67
|
};
|
|
49
68
|
//# sourceMappingURL=sd-component-library223.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library223.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library223.js","sources":["../src/components/inputs/search-input/search-box.tsx"],"sourcesContent":["import React from \"react\";\nimport { Link } from \"react-router-dom\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { PrimaryBadge } from \"../../badges\";\nimport { HorizontalDivider } from \"../../dividers\";\nimport { RegularText } from \"../../texts\";\nimport { SearchInputProps, SearchResult } from \"./index\";\n\ntype Props = Required<Pick<SearchInputProps, \"searchResults\">> &\n Pick<SearchInputProps, \"useRouterLinks\" | \"onResultClick\">;\n\nexport const SearchBox: React.FC<Props> = ({\n searchResults,\n useRouterLinks,\n onResultClick,\n}) => (\n <Box\n sx={{\n position: \"absolute\",\n top: \"100%\",\n bg: \"white\",\n width: \"100%\",\n borderRadius: [\"0\", \"0px 0px 3px 3px\"],\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderTopStyle: \"none\",\n borderColor: \"#C8CCE5\",\n boxShadow: \"2px 3px 10px rgba(211,223,255,0.25)\",\n }}\n >\n {searchResults.map((result, index) => (\n <React.Fragment key={`${index}-${result.url}`}>\n {useRouterLinks ? (\n <Link to={result.url} style={{ textDecoration: \"none\" }}>\n <ResultContent {...result} onResultClick={onResultClick} />\n </Link>\n ) : (\n <ResultContent\n {...result}\n onResultClick={onResultClick}\n onClick={() =>\n (window.location.href = `https://www.selfdecode.com${result.url}`)\n }\n />\n )}\n {index + 1 !== searchResults.length && (\n <HorizontalDivider color=\"cl_lightGrey\" />\n )}\n </React.Fragment>\n ))}\n </Box>\n);\n\ntype ContentProps = SearchResult & { onClick?: () => void } & Pick<\n Props,\n \"onResultClick\"\n >;\nconst ResultContent: React.FC<ContentProps> = ({\n onResultClick,\n onClick: onClickExternal,\n ...result\n}) => {\n const onClick = () => {\n onResultClick?.(result);\n onClickExternal?.();\n };\n\n return (\n <Flex\n flexDirection={[\"column-reverse\", \"row\"]}\n justifyContent={\"space-between\"}\n sx={{\n p: \"10px 16px\",\n cursor: \"pointer\",\n \":hover\": { bg: \"#eff4ff\" },\n }}\n onClick={onClick}\n >\n <RegularText fontSize={16}>{result.text}</RegularText>\n\n {!!result.type && (\n <Box width={\"max-content\"} mb={[\"8px\", \"0\"]}>\n <PrimaryBadge>{result.type}</PrimaryBadge>\n </Box>\n )}\n </Flex>\n );\n};\n"],"names":["SearchBox","searchResults","useRouterLinks","onResultClick","jsx","Box","result","index","jsxs","React","Link","ResultContent","HorizontalDivider","onClickExternal","onClick","Flex","RegularText","PrimaryBadge"],"mappings":";;;;;;;AAaO,MAAMA,IAA6B,CAAC;AAAA,EACzC,eAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,eAAAC;AACF,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,IAAI;AAAA,MACF,UAAU;AAAA,MACV,KAAK;AAAA,MACL,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,cAAc,CAAC,KAAK,iBAAiB;AAAA,MACrC,aAAa;AAAA,MACb,aAAa;AAAA,MACb,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,WAAW;AAAA,IACb;AAAA,IAEC,UAAAJ,EAAc,IAAI,CAACK,GAAQC,MACzBC,gBAAAA,EAAAA,KAAAC,EAAM,UAAN,EACE,UAAA;AAAA,MAAAP,0BACEQ,GAAK,EAAA,IAAIJ,EAAO,KAAK,OAAO,EAAE,gBAAgB,OAAO,GACpD,gCAACK,GAAe,EAAA,GAAGL,GAAQ,eAAAH,EAAA,CAA8B,EAC3D,CAAA,IAEAC,gBAAAA,EAAA;AAAA,QAACO;AAAA,QAAA;AAAA,UACE,GAAGL;AAAA,UACJ,eAAAH;AAAA,UACA,SAAS,MACN,OAAO,SAAS,OAAO,6BAA6BG,EAAO,GAAG;AAAA,QAAA;AAAA,MAEnE;AAAA,MAEDC,IAAQ,MAAMN,EAAc,UAC1BG,gBAAAA,EAAA,IAAAQ,GAAA,EAAkB,OAAM,gBAAe;AAAA,IAAA,EAAA,GAfvB,GAAGL,CAAK,IAAID,EAAO,GAAG,EAiB3C,CACD;AAAA,EAAA;AACH,GAOIK,IAAwC,CAAC;AAAA,EAC7C,eAAAR;AAAA,EACA,SAASU;AAAA,EACT,GAAGP;AACL,MAAM;AACJ,QAAMQ,IAAU,MAAM;AACpB,IAAAX,KAAA,QAAAA,EAAgBG,IACEO,KAAA,QAAAA;AAAA,EAAA;AAIlB,SAAAL,gBAAAA,EAAA;AAAA,IAACO;AAAA,IAAA;AAAA,MACC,eAAe,CAAC,kBAAkB,KAAK;AAAA,MACvC,gBAAgB;AAAA,MAChB,IAAI;AAAA,QACF,GAAG;AAAA,QACH,QAAQ;AAAA,QACR,UAAU,EAAE,IAAI,UAAU;AAAA,MAC5B;AAAA,MACA,SAAAD;AAAA,MAEA,UAAA;AAAA,QAAAV,gBAAAA,EAAA,IAACY,GAAY,EAAA,UAAU,IAAK,UAAAV,EAAO,MAAK;AAAA,QAEvC,CAAC,CAACA,EAAO,QACRF,gBAAAA,EAAA,IAACC,KAAI,OAAO,eAAe,IAAI,CAAC,OAAO,GAAG,GACxC,gCAACY,GAAc,EAAA,UAAAX,EAAO,KAAK,CAAA,GAC7B;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;"}
|
|
@@ -1,68 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { Link as m } from "react-router-dom";
|
|
4
|
-
import { Box as n, Flex as f } from "rebass";
|
|
5
|
-
import { RegularText as h } from "./sd-component-library165.js";
|
|
6
|
-
import { PrimaryBadge as s } from "./sd-component-library9.js";
|
|
7
|
-
import { HorizontalDivider as c } from "./sd-component-library50.js";
|
|
8
|
-
const S = ({
|
|
9
|
-
searchResults: t,
|
|
10
|
-
useRouterLinks: i,
|
|
11
|
-
onResultClick: r
|
|
12
|
-
}) => /* @__PURE__ */ o.jsx(
|
|
13
|
-
n,
|
|
14
|
-
{
|
|
15
|
-
sx: {
|
|
16
|
-
position: "absolute",
|
|
17
|
-
top: "100%",
|
|
18
|
-
bg: "white",
|
|
19
|
-
width: "100%",
|
|
20
|
-
borderRadius: ["0", "0px 0px 3px 3px"],
|
|
21
|
-
borderWidth: "1px",
|
|
22
|
-
borderStyle: "solid",
|
|
23
|
-
borderTopStyle: "none",
|
|
24
|
-
borderColor: "#C8CCE5",
|
|
25
|
-
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)"
|
|
26
|
-
},
|
|
27
|
-
children: t.map((e, p) => /* @__PURE__ */ o.jsxs(d.Fragment, { children: [
|
|
28
|
-
i ? /* @__PURE__ */ o.jsx(m, { to: e.url, style: { textDecoration: "none" }, children: /* @__PURE__ */ o.jsx(x, { ...e, onResultClick: r }) }) : /* @__PURE__ */ o.jsx(
|
|
29
|
-
x,
|
|
30
|
-
{
|
|
31
|
-
...e,
|
|
32
|
-
onResultClick: r,
|
|
33
|
-
onClick: () => window.location.href = `https://www.selfdecode.com${e.url}`
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
p + 1 !== t.length && /* @__PURE__ */ o.jsx(c, { color: "cl_lightGrey" })
|
|
37
|
-
] }, `${p}-${e.url}`))
|
|
38
|
-
}
|
|
39
|
-
), x = ({
|
|
40
|
-
onResultClick: t,
|
|
41
|
-
onClick: i,
|
|
42
|
-
...r
|
|
43
|
-
}) => {
|
|
44
|
-
const e = () => {
|
|
45
|
-
t == null || t(r), i == null || i();
|
|
46
|
-
};
|
|
47
|
-
return /* @__PURE__ */ o.jsxs(
|
|
48
|
-
f,
|
|
49
|
-
{
|
|
50
|
-
flexDirection: ["column-reverse", "row"],
|
|
51
|
-
justifyContent: "space-between",
|
|
52
|
-
sx: {
|
|
53
|
-
p: "10px 16px",
|
|
54
|
-
cursor: "pointer",
|
|
55
|
-
":hover": { bg: "#eff4ff" }
|
|
56
|
-
},
|
|
57
|
-
onClick: e,
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ o.jsx(h, { fontSize: 16, children: r.text }),
|
|
60
|
-
!!r.type && /* @__PURE__ */ o.jsx(n, { width: "max-content", mb: ["8px", "0"], children: /* @__PURE__ */ o.jsx(s, { children: r.type }) })
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const a = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 10 10", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M10037.5,1055.48l-1,1.02-4-3.97-4,3.97-1-1.02,4-3.98-4-3.98,1-1.02,4,3.97,4-3.97,1,1.02-4,3.98Z", transform: "translate(-10027.5 -1046.5)" }));
|
|
65
3
|
export {
|
|
66
|
-
|
|
4
|
+
a as ReactComponent
|
|
67
5
|
};
|
|
68
6
|
//# sourceMappingURL=sd-component-library224.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library224.js","sources":["../src/components/inputs/search-input/
|
|
1
|
+
{"version":3,"file":"sd-component-library224.js","sources":["../src/components/inputs/search-input/assets/x.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAxMCI+CiAgPHBhdGggZD0iTTEwMDM3LjUsMTA1NS40OGwtMSwxLjAyLTQtMy45Ny00LDMuOTctMS0xLjAyLDQtMy45OC00LTMuOTgsMS0xLjAyLDQsMy45Nyw0LTMuOTcsMSwxLjAyLTQsMy45OFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDAyNy41IC0xMDQ2LjUpIi8+Cjwvc3ZnPgo=\""],"names":["SvgX","props","React"],"mappings":";AACK,MAACA,IAAO,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,aAAa,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,mGAAmG,WAAW,+BAA+B,CAAC;"}
|
|
@@ -1,6 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library198.js";
|
|
2
|
+
import { Flex as c } from "rebass";
|
|
3
|
+
import { BaseTextV2 as m } from "./sd-component-library140.js";
|
|
4
|
+
import { ResponsiveTextV2 as p } from "./sd-component-library152.js";
|
|
5
|
+
const u = (t) => {
|
|
6
|
+
const {
|
|
7
|
+
label: o,
|
|
8
|
+
errorMessage: l,
|
|
9
|
+
labelMargin: s,
|
|
10
|
+
secondLabel: e,
|
|
11
|
+
secondLabelTextTransform: n,
|
|
12
|
+
labelSx: a,
|
|
13
|
+
labelColor: i = "cl_darkGrey",
|
|
14
|
+
...x
|
|
15
|
+
} = t;
|
|
16
|
+
return o ? /* @__PURE__ */ r.jsxs(c, { sx: { cursor: "default" }, ...x, children: [
|
|
17
|
+
/* @__PURE__ */ r.jsx(
|
|
18
|
+
m,
|
|
19
|
+
{
|
|
20
|
+
color: l ? "cl_red" : i,
|
|
21
|
+
sx: {
|
|
22
|
+
fontSize: 12,
|
|
23
|
+
fontWeight: 600,
|
|
24
|
+
m: s,
|
|
25
|
+
letterSpacing: "1px",
|
|
26
|
+
textTransform: "uppercase",
|
|
27
|
+
...a
|
|
28
|
+
},
|
|
29
|
+
children: o
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
e && /* @__PURE__ */ r.jsx(
|
|
33
|
+
p,
|
|
34
|
+
{
|
|
35
|
+
letterSpacing: "1px",
|
|
36
|
+
ml: e.ml || "3px",
|
|
37
|
+
color: e.color || "cl_grey",
|
|
38
|
+
fontSizeWeight: e.fontSizeWeight || [[10, "semi-bold"]],
|
|
39
|
+
textTransform: n,
|
|
40
|
+
...e,
|
|
41
|
+
children: e.text
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }) : null;
|
|
45
|
+
};
|
|
3
46
|
export {
|
|
4
|
-
|
|
47
|
+
u as SecondaryInputLabels
|
|
5
48
|
};
|
|
6
49
|
//# sourceMappingURL=sd-component-library225.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library225.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library225.js","sources":["../src/components/inputs/secondary-text-input/partials/secondary-input-labels/secondary-input-labels.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Flex } from \"rebass\";\n\nimport { BaseTextV2, ResponsiveTextV2 } from \"../../../../texts\";\nimport { SecondaryInputLabelsProps as Props } from \"./interfaces\";\n\nexport const SecondaryInputLabels: React.FC<Props> = (props) => {\n const {\n label,\n errorMessage,\n labelMargin,\n secondLabel,\n secondLabelTextTransform,\n labelSx,\n labelColor = \"cl_darkGrey\",\n ...restOfProps\n } = props;\n\n if (!label) return null;\n\n return (\n <Flex sx={{ cursor: \"default\" }} {...restOfProps}>\n <BaseTextV2\n color={errorMessage ? \"cl_red\" : labelColor}\n sx={{\n fontSize: 12,\n fontWeight: 600,\n m: labelMargin,\n letterSpacing: \"1px\",\n textTransform: \"uppercase\",\n ...labelSx,\n }}\n >\n {label}\n </BaseTextV2>\n\n {secondLabel && (\n <ResponsiveTextV2\n letterSpacing=\"1px\"\n ml={secondLabel.ml || \"3px\"}\n color={secondLabel.color || \"cl_grey\"}\n fontSizeWeight={secondLabel.fontSizeWeight || [[10, \"semi-bold\"]]}\n textTransform={secondLabelTextTransform}\n {...secondLabel}\n >\n {secondLabel.text}\n </ResponsiveTextV2>\n )}\n </Flex>\n );\n};\n"],"names":["SecondaryInputLabels","props","label","errorMessage","labelMargin","secondLabel","secondLabelTextTransform","labelSx","labelColor","restOfProps","jsxs","Flex","jsx","BaseTextV2","ResponsiveTextV2"],"mappings":";;;;AAOa,MAAAA,IAAwC,CAACC,MAAU;AACxD,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,SAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,GAAGC;AAAA,EACD,IAAAR;AAEJ,SAAKC,IAGHQ,gBAAAA,EAAA,KAACC,KAAK,IAAI,EAAE,QAAQ,UAAU,GAAI,GAAGF,GACnC,UAAA;AAAA,IAAAG,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAOV,IAAe,WAAWK;AAAA,QACjC,IAAI;AAAA,UACF,UAAU;AAAA,UACV,YAAY;AAAA,UACZ,GAAGJ;AAAA,UACH,eAAe;AAAA,UACf,eAAe;AAAA,UACf,GAAGG;AAAA,QACL;AAAA,QAEC,UAAAL;AAAA,MAAA;AAAA,IACH;AAAA,IAECG,KACCO,gBAAAA,EAAA;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,eAAc;AAAA,QACd,IAAIT,EAAY,MAAM;AAAA,QACtB,OAAOA,EAAY,SAAS;AAAA,QAC5B,gBAAgBA,EAAY,kBAAkB,CAAC,CAAC,IAAI,WAAW,CAAC;AAAA,QAChE,eAAeC;AAAA,QACd,GAAGD;AAAA,QAEH,UAAYA,EAAA;AAAA,MAAA;AAAA,IACf;AAAA,EAEJ,EAAA,CAAA,IA9BiB;AAgCrB;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const t = (a) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16.04 33.79", ...a }, /* @__PURE__ */ e.createElement("g", null, /* @__PURE__ */ e.createElement("g", null, /* @__PURE__ */ e.createElement("path", { className: "first-half", d: "M8,0V6.37H8A3.19,3.19,0,0,1,8,0ZM1,8.24a4,4,0,0,0-1,2.7V19.5a1.64,1.64,0,0,0,.45,1.28v0a1.49,1.49,0,0,0,2.12,0A1.64,1.64,0,0,0,3,19.5V12.11h.7L3.67,31.64c0,.07,0,.14,0,.21a1.92,1.92,0,0,0,1.91,1.93h.12a2,2,0,0,0,1.88-2.12V21.75H8V7H3.72A3.57,3.57,0,0,0,1,8.24Z" }), /* @__PURE__ */ e.createElement("path", { className: "second-half", d: "M8,6.38H8V0H8A3.19,3.19,0,0,1,8,6.38Zm7.07,1.86A3.59,3.59,0,0,0,12.32,7H8V21.75h.41v9.93a1.36,1.36,0,0,0,0,.35,1.95,1.95,0,1,0,3.88-.39V12.1h.63v7.4a1.68,1.68,0,0,0,.46,1.29,1.58,1.58,0,0,0,2.18,0A1.69,1.69,0,0,0,16,19.5V10.94A4.09,4.09,0,0,0,15.07,8.24Z" }))));
|
|
2
3
|
export {
|
|
3
|
-
t as
|
|
4
|
-
o as defaultTextBottomMargin
|
|
4
|
+
t as ReactComponent
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=sd-component-library230.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library230.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library230.js","sources":["../src/components/meters/people-meter/assets/person.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNi4wNCAzMy43OSI+CiAgICA8Zz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggY2xhc3M9ImZpcnN0LWhhbGYiCiAgICAgICAgICAgICAgICBkPSJNOCwwVjYuMzdIOEEzLjE5LDMuMTksMCwwLDEsOCwwWk0xLDguMjRhNCw0LDAsMCwwLTEsMi43VjE5LjVhMS42NCwxLjY0LDAsMCwwLC40NSwxLjI4djBhMS40OSwxLjQ5LDAsMCwwLDIuMTIsMEExLjY0LDEuNjQsMCwwLDAsMywxOS41VjEyLjExaC43TDMuNjcsMzEuNjRjMCwuMDcsMCwuMTQsMCwuMjFhMS45MiwxLjkyLDAsMCwwLDEuOTEsMS45M2guMTJhMiwyLDAsMCwwLDEuODgtMi4xMlYyMS43NUg4VjdIMy43MkEzLjU3LDMuNTcsMCwwLDAsMSw4LjI0WiIgLz4KICAgICAgICAgICAgPHBhdGggY2xhc3M9InNlY29uZC1oYWxmIgogICAgICAgICAgICAgICAgZD0iTTgsNi4zOEg4VjBIOEEzLjE5LDMuMTksMCwwLDEsOCw2LjM4Wm03LjA3LDEuODZBMy41OSwzLjU5LDAsMCwwLDEyLjMyLDdIOFYyMS43NWguNDF2OS45M2ExLjM2LDEuMzYsMCwwLDAsMCwuMzUsMS45NSwxLjk1LDAsMSwwLDMuODgtLjM5VjEyLjFoLjYzdjcuNGExLjY4LDEuNjgsMCwwLDAsLjQ2LDEuMjksMS41OCwxLjU4LDAsMCwwLDIuMTgsMEExLjY5LDEuNjksMCwwLDAsMTYsMTkuNVYxMC45NEE0LjA5LDQuMDksMCwwLDAsMTUuMDcsOC4yNFoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K\""],"names":["SvgPerson","props","React"],"mappings":";AACK,MAACA,IAAY,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,mBAAmB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,KAAK,MAAsB,gBAAAA,EAAM,cAAc,KAAK,MAAsB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,WAAW,cAAc,GAAG,uQAAwQ,CAAA,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,WAAW,eAAe,GAAG,iQAAkQ,CAAA,CAAC,CAAC,CAAC;"}
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = 1, o = 13;
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
h as defaultDashWidth,
|
|
6
|
-
n as defaultDistanceBetweenRanges,
|
|
7
|
-
M as defaultDistanceFromLabelToRanges,
|
|
8
|
-
d as defaultDistanceFromRangesToNeedle,
|
|
9
|
-
m as defaultDistanceFromRangesToScale,
|
|
10
|
-
a as defaultGaugeWidth,
|
|
11
|
-
t as defaultHeight,
|
|
12
|
-
i as defaultInnerCircleRadius,
|
|
13
|
-
c as defaultInnerCircleStrokeWidth,
|
|
14
|
-
o as defaultInnerPointRadius,
|
|
15
|
-
W as defaultMaskBorderRadius,
|
|
16
|
-
r as defaultNeedleWidth,
|
|
17
|
-
u as defaultNumberOfDashes,
|
|
18
|
-
l as defaultPointStrokeWidth,
|
|
19
|
-
e as defaultWidth,
|
|
20
|
-
R as labelPaddingX,
|
|
21
|
-
g as labelWidth,
|
|
22
|
-
B as smallMeterDistanceBetweenRanges,
|
|
23
|
-
C as smallMeterDistanceFromRangesToNeedle,
|
|
24
|
-
P as smallMeterGaugeWidth,
|
|
25
|
-
k as smallMeterHeight,
|
|
26
|
-
S as smallMeterInnerCircleRadius,
|
|
27
|
-
b as smallMeterInnerCircleStrokeWidth,
|
|
28
|
-
T as smallMeterMaskBorderRadius,
|
|
29
|
-
F as smallMeterNeedleWidth,
|
|
30
|
-
N as smallMeterPointRadius,
|
|
31
|
-
I as smallMeterPointStrokeWidth,
|
|
32
|
-
D as smallMeterWidth
|
|
3
|
+
t as defaultPointerWidth,
|
|
4
|
+
o as defaultTextBottomMargin
|
|
33
5
|
};
|
|
34
6
|
//# sourceMappingURL=sd-component-library231.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library231.js","sources":["../src/components/meters/outline-meter/
|
|
1
|
+
{"version":3,"file":"sd-component-library231.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/constants.ts"],"sourcesContent":["export const defaultPointerWidth = 1;\nexport const defaultTextBottomMargin = 13;\n"],"names":["defaultPointerWidth","defaultTextBottomMargin"],"mappings":"AAAO,MAAMA,IAAsB,GACtBC,IAA0B;"}
|
|
@@ -1,22 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
import { SmileyGaugeColor as e } from "./sd-component-library233.js";
|
|
3
|
-
import { ReactComponent as o } from "./sd-component-library296.js";
|
|
4
|
-
import { ReactComponent as m } from "./sd-component-library297.js";
|
|
5
|
-
import { ReactComponent as i } from "./sd-component-library298.js";
|
|
6
|
-
const S = 10, c = 80, p = 100, y = 87, R = 30, d = 3, f = 2, g = 4, u = /* @__PURE__ */ new Map([
|
|
7
|
-
[e.GREEN, /* @__PURE__ */ t.jsx(o, {})],
|
|
8
|
-
[e.ORANGE, /* @__PURE__ */ t.jsx(m, {})],
|
|
9
|
-
[e.RED, /* @__PURE__ */ t.jsx(i, {})]
|
|
10
|
-
]);
|
|
1
|
+
const e = 250, t = 220, s = 270, n = 10, a = 6, l = 4.5, o = 1.5, d = 18, c = 4, i = 6.5, r = 8, u = 40, f = 6, h = 1.5, m = 32, M = 20, g = 100, R = 14, W = 100, D = 100, k = 87, I = 3, N = 1.5, P = 4, S = 6, b = 3, B = 10, C = 18, F = 7, T = 100;
|
|
11
2
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
d as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
s as defaultArc,
|
|
4
|
+
f as defaultDashHeight,
|
|
5
|
+
h as defaultDashWidth,
|
|
6
|
+
n as defaultDistanceBetweenRanges,
|
|
7
|
+
M as defaultDistanceFromLabelToRanges,
|
|
8
|
+
d as defaultDistanceFromRangesToNeedle,
|
|
9
|
+
m as defaultDistanceFromRangesToScale,
|
|
10
|
+
a as defaultGaugeWidth,
|
|
11
|
+
t as defaultHeight,
|
|
12
|
+
i as defaultInnerCircleRadius,
|
|
13
|
+
c as defaultInnerCircleStrokeWidth,
|
|
14
|
+
o as defaultInnerPointRadius,
|
|
15
|
+
W as defaultMaskBorderRadius,
|
|
16
|
+
r as defaultNeedleWidth,
|
|
17
|
+
u as defaultNumberOfDashes,
|
|
18
|
+
l as defaultPointStrokeWidth,
|
|
19
|
+
e as defaultWidth,
|
|
20
|
+
R as labelPaddingX,
|
|
21
|
+
g as labelWidth,
|
|
22
|
+
B as smallMeterDistanceBetweenRanges,
|
|
23
|
+
C as smallMeterDistanceFromRangesToNeedle,
|
|
24
|
+
P as smallMeterGaugeWidth,
|
|
25
|
+
k as smallMeterHeight,
|
|
26
|
+
S as smallMeterInnerCircleRadius,
|
|
27
|
+
b as smallMeterInnerCircleStrokeWidth,
|
|
28
|
+
T as smallMeterMaskBorderRadius,
|
|
29
|
+
F as smallMeterNeedleWidth,
|
|
30
|
+
N as smallMeterPointRadius,
|
|
31
|
+
I as smallMeterPointStrokeWidth,
|
|
32
|
+
D as smallMeterWidth
|
|
21
33
|
};
|
|
22
34
|
//# sourceMappingURL=sd-component-library232.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library232.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library232.js","sources":["../src/components/meters/outline-meter/contants.ts"],"sourcesContent":["/**\n * Default values for outline meters\n */\nexport const defaultWidth = 250;\nexport const defaultHeight = 220;\nexport const defaultArc = 270;\nexport const defaultDistanceBetweenRanges = 10;\nexport const defaultGaugeWidth = 6;\nexport const defaultPointStrokeWidth = 4.5;\nexport const defaultInnerPointRadius = 1.5;\nexport const defaultDistanceFromRangesToNeedle = 18;\nexport const defaultInnerCircleStrokeWidth = 4;\nexport const defaultInnerCircleRadius = 6.5;\nexport const defaultNeedleWidth = 8;\nexport const defaultNumberOfDashes = 40;\nexport const defaultDashHeight = 6;\nexport const defaultDashWidth = 1.5;\nexport const defaultDistanceFromRangesToScale = 32;\nexport const defaultDistanceFromLabelToRanges = 20;\nexport const labelWidth = 100;\nexport const labelPaddingX = 14;\nexport const defaultMaskBorderRadius = 100;\n\n/**\n * Small Outline meter default values\n */\nexport const smallMeterWidth = 100;\nexport const smallMeterHeight = 87;\nexport const smallMeterPointStrokeWidth = 3;\nexport const smallMeterPointRadius = 1.5;\nexport const smallMeterGaugeWidth = 4;\nexport const smallMeterInnerCircleRadius = 6;\nexport const smallMeterInnerCircleStrokeWidth = 3;\nexport const smallMeterDistanceBetweenRanges = 10;\nexport const smallMeterDistanceFromRangesToNeedle = 18;\nexport const smallMeterNeedleWidth = 7;\nexport const smallMeterMaskBorderRadius = 100;\n"],"names":["defaultWidth","defaultHeight","defaultArc","defaultDistanceBetweenRanges","defaultGaugeWidth","defaultPointStrokeWidth","defaultInnerPointRadius","defaultDistanceFromRangesToNeedle","defaultInnerCircleStrokeWidth","defaultInnerCircleRadius","defaultNeedleWidth","defaultNumberOfDashes","defaultDashHeight","defaultDashWidth","defaultDistanceFromRangesToScale","defaultDistanceFromLabelToRanges","labelWidth","labelPaddingX","defaultMaskBorderRadius","smallMeterWidth","smallMeterHeight","smallMeterPointStrokeWidth","smallMeterPointRadius","smallMeterGaugeWidth","smallMeterInnerCircleRadius","smallMeterInnerCircleStrokeWidth","smallMeterDistanceBetweenRanges","smallMeterDistanceFromRangesToNeedle","smallMeterNeedleWidth","smallMeterMaskBorderRadius"],"mappings":"AAGO,MAAMA,IAAe,KACfC,IAAgB,KAChBC,IAAa,KACbC,IAA+B,IAC/BC,IAAoB,GACpBC,IAA0B,KAC1BC,IAA0B,KAC1BC,IAAoC,IACpCC,IAAgC,GAChCC,IAA2B,KAC3BC,IAAqB,GACrBC,IAAwB,IACxBC,IAAoB,GACpBC,IAAmB,KACnBC,IAAmC,IACnCC,IAAmC,IACnCC,IAAa,KACbC,IAAgB,IAChBC,IAA0B,KAK1BC,IAAkB,KAClBC,IAAmB,IACnBC,IAA6B,GAC7BC,IAAwB,KACxBC,IAAuB,GACvBC,IAA8B,GAC9BC,IAAmC,GACnCC,IAAkC,IAClCC,IAAuC,IACvCC,IAAwB,GACxBC,IAA6B;"}
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
}, R = (r) => {
|
|
13
|
-
const { start: t, end: n } = r;
|
|
14
|
-
return t === 0 ? n < 0.6 : n === 1 ? t > 0.4 : !1;
|
|
15
|
-
};
|
|
1
|
+
import { j as t } from "./sd-component-library198.js";
|
|
2
|
+
import { SmileyGaugeColor as e } from "./sd-component-library234.js";
|
|
3
|
+
import { ReactComponent as o } from "./sd-component-library296.js";
|
|
4
|
+
import { ReactComponent as m } from "./sd-component-library297.js";
|
|
5
|
+
import { ReactComponent as i } from "./sd-component-library298.js";
|
|
6
|
+
const S = 10, c = 80, p = 100, y = 87, R = 30, d = 3, f = 2, g = 4, u = /* @__PURE__ */ new Map([
|
|
7
|
+
[e.GREEN, /* @__PURE__ */ t.jsx(o, {})],
|
|
8
|
+
[e.ORANGE, /* @__PURE__ */ t.jsx(m, {})],
|
|
9
|
+
[e.RED, /* @__PURE__ */ t.jsx(i, {})]
|
|
10
|
+
]);
|
|
16
11
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
f as
|
|
12
|
+
u as COLOR_TO_ICON_MAP,
|
|
13
|
+
S as defaultDistanceBetweenRanges,
|
|
14
|
+
c as defaultSmileyWidth,
|
|
15
|
+
g as smallSmileyGaugeWidth,
|
|
16
|
+
f as smallSmileyInnerPointRadius,
|
|
17
|
+
d as smallSmileyInnerPointStrokeWidth,
|
|
18
|
+
y as smallSmileyMeterHeight,
|
|
19
|
+
p as smallSmileyMeterWidth,
|
|
20
|
+
R as smallSmileyWidth
|
|
22
21
|
};
|
|
23
22
|
//# sourceMappingURL=sd-component-library233.js.map
|