@selfdecode/sd-component-library 4.0.98 → 4.0.99
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/checkboxes/checkbox-v2/interfaces.d.ts +1 -0
- package/lib/sd-component-library130.js +1 -1
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library173.js +3 -3
- package/lib/sd-component-library174.js +1 -1
- package/lib/sd-component-library202.js +1 -1
- package/lib/sd-component-library203.js +1 -1
- package/lib/sd-component-library204.js +57 -3
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +3 -57
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +17 -24
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +20 -18
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +3 -5
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +3 -5
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +24 -17
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +18 -20
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +5 -3
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +5 -3
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library217.js +4 -4
- package/lib/sd-component-library222.js +3 -65
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +52 -3
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +65 -3
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +3 -52
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library229.js +3 -3
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library23.js +2 -2
- package/lib/sd-component-library230.js +31 -3
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +19 -31
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +20 -19
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +28 -20
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +32 -27
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +3 -33
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +1 -1
- package/lib/sd-component-library238.js +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +3 -3
- package/lib/sd-component-library241.js +1 -1
- package/lib/sd-component-library242.js +1 -1
- package/lib/sd-component-library244.js +1 -1
- package/lib/sd-component-library245.js +1 -1
- package/lib/sd-component-library247.js +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library255.js +1 -1
- package/lib/sd-component-library275.js +49 -2
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +51 -2
- 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 +2 -92
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +2 -49
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +10 -6
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library287.js +6 -2
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library288.js +2 -36
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +36 -14
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +14 -10
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library310.js +1 -1
- package/lib/sd-component-library314.js +1 -1
- package/lib/sd-component-library315.js +25 -4
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +23 -33
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +34 -25
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +1 -1
- package/lib/sd-component-library319.js +4 -24
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library32.js +24 -23
- package/lib/sd-component-library32.js.map +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-library52.js +3 -3
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library64.js +1 -1
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library75.js +2 -2
- package/lib/sd-component-library76.js +3 -3
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library87.js +6 -6
- package/lib/sd-component-library88.js +2 -2
- package/lib/sd-component-library89.js +1 -1
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library91.js +1 -1
- package/lib/sd-component-library93.js +2 -2
- package/lib/sd-component-library94.js +1 -1
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library96.js +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
var c = function u(r, t) {
|
|
2
|
+
if (r === t)
|
|
3
|
+
return !0;
|
|
4
|
+
if (r && t && typeof r == "object" && typeof t == "object") {
|
|
5
|
+
if (r.constructor !== t.constructor)
|
|
6
|
+
return !1;
|
|
7
|
+
var f, e, o;
|
|
8
|
+
if (Array.isArray(r)) {
|
|
9
|
+
if (f = r.length, f != t.length)
|
|
10
|
+
return !1;
|
|
11
|
+
for (e = f; e-- !== 0; )
|
|
12
|
+
if (!u(r[e], t[e]))
|
|
13
|
+
return !1;
|
|
14
|
+
return !0;
|
|
15
|
+
}
|
|
16
|
+
if (r.constructor === RegExp)
|
|
17
|
+
return r.source === t.source && r.flags === t.flags;
|
|
18
|
+
if (r.valueOf !== Object.prototype.valueOf)
|
|
19
|
+
return r.valueOf() === t.valueOf();
|
|
20
|
+
if (r.toString !== Object.prototype.toString)
|
|
21
|
+
return r.toString() === t.toString();
|
|
22
|
+
if (o = Object.keys(r), f = o.length, f !== Object.keys(t).length)
|
|
23
|
+
return !1;
|
|
24
|
+
for (e = f; e-- !== 0; )
|
|
25
|
+
if (!Object.prototype.hasOwnProperty.call(t, o[e]))
|
|
26
|
+
return !1;
|
|
27
|
+
for (e = f; e-- !== 0; ) {
|
|
28
|
+
var n = o[e];
|
|
29
|
+
if (!u(r[n], t[n]))
|
|
30
|
+
return !1;
|
|
31
|
+
}
|
|
32
|
+
return !0;
|
|
33
|
+
}
|
|
34
|
+
return r !== r && t !== t;
|
|
35
|
+
};
|
|
13
36
|
export {
|
|
14
|
-
|
|
15
|
-
a as p
|
|
37
|
+
c as f
|
|
16
38
|
};
|
|
17
39
|
//# sourceMappingURL=sd-component-library289.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library289.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"sd-component-library289.js","sources":["../node_modules/fast-deep-equal/index.js"],"sourcesContent":["'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n"],"names":["fastDeepEqual","equal","a","b","length","i","keys","key"],"mappings":"AAMA,IAAAA,IAAiB,SAASC,EAAMC,GAAGC,GAAG;AACpC,MAAID,MAAMC;AAAG,WAAO;AAEpB,MAAID,KAAKC,KAAK,OAAOD,KAAK,YAAY,OAAOC,KAAK,UAAU;AAC1D,QAAID,EAAE,gBAAgBC,EAAE;AAAa,aAAO;AAE5C,QAAIC,GAAQC,GAAGC;AACf,QAAI,MAAM,QAAQJ,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,QACPE,KAAUD,EAAE;AAAQ,eAAO;AAC/B,WAAKE,IAAID,GAAQC,QAAQ;AACvB,YAAI,CAACJ,EAAMC,EAAEG,CAAC,GAAGF,EAAEE,CAAC,CAAC;AAAG,iBAAO;AACjC,aAAO;AAAA,IACR;AAID,QAAIH,EAAE,gBAAgB;AAAQ,aAAOA,EAAE,WAAWC,EAAE,UAAUD,EAAE,UAAUC,EAAE;AAC5E,QAAID,EAAE,YAAY,OAAO,UAAU;AAAS,aAAOA,EAAE,QAAO,MAAOC,EAAE,QAAO;AAC5E,QAAID,EAAE,aAAa,OAAO,UAAU;AAAU,aAAOA,EAAE,SAAQ,MAAOC,EAAE,SAAQ;AAIhF,QAFAG,IAAO,OAAO,KAAKJ,CAAC,GACpBE,IAASE,EAAK,QACVF,MAAW,OAAO,KAAKD,CAAC,EAAE;AAAQ,aAAO;AAE7C,SAAKE,IAAID,GAAQC,QAAQ;AACvB,UAAI,CAAC,OAAO,UAAU,eAAe,KAAKF,GAAGG,EAAKD,CAAC,CAAC;AAAG,eAAO;AAEhE,SAAKA,IAAID,GAAQC,QAAQ,KAAI;AAC3B,UAAIE,IAAMD,EAAKD,CAAC;AAEhB,UAAI,CAACJ,EAAMC,EAAEK,CAAG,GAAGJ,EAAEI,CAAG,CAAC;AAAG,eAAO;AAAA,IACpC;AAED,WAAO;AAAA,EACR;AAGD,SAAOL,MAAIA,KAAKC,MAAIA;AACtB;","x_google_ignoreList":[0]}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./sd-component-library287.js";
|
|
2
|
+
import { __module as r } from "./sd-component-library291.js";
|
|
3
|
+
import { __require as o } from "./sd-component-library292.js";
|
|
4
|
+
import { __require as p } from "./sd-component-library293.js";
|
|
5
|
+
import { __require as t } from "./sd-component-library294.js";
|
|
6
|
+
if (process.env.NODE_ENV !== "production") {
|
|
7
|
+
var s = o(), i = !0;
|
|
8
|
+
r.exports = p()(s.isElement, i);
|
|
9
|
+
} else
|
|
10
|
+
r.exports = t()();
|
|
11
|
+
var a = r.exports;
|
|
12
|
+
const q = /* @__PURE__ */ e(a);
|
|
10
13
|
export {
|
|
11
|
-
|
|
14
|
+
q as default,
|
|
15
|
+
a as p
|
|
12
16
|
};
|
|
13
17
|
//# sourceMappingURL=sd-component-library290.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library290.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library290.js","sources":["../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactIs","require$$0","throwOnDirectAccess","propTypesModule","require$$1","require$$2"],"mappings":";;;;;AAOA,IAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,MAAIA,IAAUC,KAIVC,IAAsB;AAC1BC,EAAAA,EAAA,UAAiBC,EAAA,EAAqCJ,EAAQ,WAAWE,CAAmB;AAC9F;AAGEC,EAAAA,EAAc,UAAGE,EAAqC;;;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as a } from "./sd-component-library197.js";
|
|
2
2
|
import { useState as S, useCallback as B } from "react";
|
|
3
3
|
import { Box as Y } from "rebass";
|
|
4
|
-
import { labelPaddingX as c, labelWidth as W } from "./sd-component-
|
|
4
|
+
import { labelPaddingX as c, labelWidth as W } from "./sd-component-library230.js";
|
|
5
5
|
import { getCoordinateForArc as $ } from "./sd-component-library92.js";
|
|
6
6
|
import { ResponsiveTextV2 as z } from "./sd-component-library151.js";
|
|
7
7
|
const D = (j) => {
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library197.js";
|
|
2
|
+
import { ResponsiveTextV2 as s } from "./sd-component-library151.js";
|
|
3
|
+
const x = (t) => {
|
|
4
|
+
const { onClick: e, title: o, height: i } = t;
|
|
5
|
+
return /* @__PURE__ */ r.jsx(
|
|
6
|
+
s,
|
|
7
|
+
{
|
|
8
|
+
fontSizeWeight: [[16, "regular"]],
|
|
9
|
+
sx: {
|
|
10
|
+
position: "relative",
|
|
11
|
+
height: `${i}px`,
|
|
12
|
+
px: "15px",
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "flex-start",
|
|
15
|
+
alignItems: "center",
|
|
16
|
+
opacity: 0.8,
|
|
17
|
+
":hover": {
|
|
18
|
+
opacity: 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
onClick: e,
|
|
22
|
+
children: o
|
|
23
|
+
}
|
|
24
|
+
);
|
|
4
25
|
};
|
|
5
26
|
export {
|
|
6
|
-
|
|
27
|
+
x as SearchAutocompleteRow
|
|
7
28
|
};
|
|
8
29
|
//# sourceMappingURL=sd-component-library315.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library315.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library315.js","sources":["../src/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts/responsive-text-v2\";\nimport { SearchAutocompleteRowProps as Props } from \"./interfaces\";\n\nexport const SearchAutocompleteRow = <\n T extends { id: string } = { id: string }\n>(\n props: Props<T>\n) => {\n const { onClick, title, height } = props;\n\n return (\n <ResponsiveTextV2\n fontSizeWeight={[[16, \"regular\"]]}\n sx={{\n position: \"relative\",\n height: `${height}px`,\n px: \"15px\",\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n opacity: 0.8,\n \":hover\": {\n opacity: 1,\n },\n }}\n onClick={onClick}\n >\n {title}\n </ResponsiveTextV2>\n );\n};\n"],"names":["SearchAutocompleteRow","props","onClick","title","height","jsx","ResponsiveTextV2"],"mappings":";;AAKa,MAAAA,IAAwB,CAGnCC,MACG;AACH,QAAM,EAAE,SAAAC,GAAS,OAAAC,GAAO,QAAAC,EAAA,IAAWH;AAGjC,SAAAI,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,gBAAgB,CAAC,CAAC,IAAI,SAAS,CAAC;AAAA,MAChC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,QAAQ,GAAGF,CAAM;AAAA,QACjB,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,UAAU;AAAA,UACR,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,SAAAF;AAAA,MAEC,UAAAC;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,38 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
|
|
1
|
+
import { j as x } from "./sd-component-library197.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-library316.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library316.js","sources":["../src/components/meters/outline-meter/partials/base-
|
|
1
|
+
{"version":3,"file":"sd-component-library316.js","sources":["../src/components/meters/outline-meter/partials/base-outline-arc/base-outline-arc.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { degToRad, getInnerX, getInnerY } from \"../../utils\";\nimport { BaseOutlineArcProps as Props } from \"./interfaces\";\n\nexport const BaseOutlineArc: React.FC<Props> = (props) => {\n const {\n startX,\n startY,\n endX,\n endY,\n radius,\n color,\n width,\n roundStart = true,\n roundEnd = true,\n startAlpha,\n endAlpha,\n } = props;\n\n const arc = endAlpha - startAlpha;\n\n const startInnerX = getInnerX(startX, degToRad(startAlpha), width);\n const startInnerY = getInnerY(startY, degToRad(startAlpha), width);\n\n const endInnerX = getInnerX(endX, degToRad(endAlpha), width);\n const endInnerY = getInnerY(endY, degToRad(endAlpha), width);\n\n return (\n <path\n d={`M${startX},${startY} A${radius},${radius} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },1 ${endX},${endY} ${\n roundEnd ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${endInnerX},${endInnerY} A${radius - width},${radius - width} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },0 ${startInnerX},${startInnerY} ${\n roundStart ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${startX},${startY}`}\n fill={color}\n />\n );\n};\n"],"names":["BaseOutlineArc","props","startX","startY","endX","endY","radius","color","width","roundStart","roundEnd","startAlpha","endAlpha","arc","startInnerX","getInnerX","degToRad","startInnerY","getInnerY","endInnerX","endInnerY","jsx"],"mappings":";;AAKa,MAAAA,IAAkC,CAACC,MAAU;AAClD,QAAA;AAAA,IACJ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,UAAAC,IAAW;AAAA,IACX,YAAAC;AAAA,IACA,UAAAC;AAAA,EACE,IAAAX,GAEEY,IAAMD,IAAWD,GAEjBG,IAAcC,EAAUb,GAAQc,EAASL,CAAU,GAAGH,CAAK,GAC3DS,IAAcC,EAAUf,GAAQa,EAASL,CAAU,GAAGH,CAAK,GAE3DW,IAAYJ,EAAUX,GAAMY,EAASJ,CAAQ,GAAGJ,CAAK,GACrDY,IAAYF,EAAUb,GAAMW,EAASJ,CAAQ,GAAGJ,CAAK;AAGzD,SAAAa,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAG,IAAInB,CAAM,IAAIC,CAAM,KAAKG,CAAM,IAAIA,CAAM,MAC1CO,IAAM,MAAM,MAAM,GACpB,MAAMT,CAAI,IAAIC,CAAI,IAChBK,IAAW,IAAIF,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACnD,GAAGW,CAAS,IAAIC,CAAS,KAAKd,IAASE,CAAK,IAAIF,IAASE,CAAK,MAC5DK,IAAM,MAAM,MAAM,GACpB,MAAMC,CAAW,IAAIG,CAAW,IAC9BR,IAAa,IAAID,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACrD,GAAGN,CAAM,IAAIC,CAAM;AAAA,MACnB,MAAMI;AAAA,IAAA;AAAA,EAAA;AAGZ;"}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { j as t } from "./sd-component-library197.js";
|
|
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
|
+
] });
|
|
25
34
|
};
|
|
26
35
|
export {
|
|
27
|
-
|
|
36
|
+
h as BaseNeedle
|
|
28
37
|
};
|
|
29
38
|
//# sourceMappingURL=sd-component-library317.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library317.js","sources":["../src/components/
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library197.js";
|
|
2
2
|
import x from "react";
|
|
3
3
|
import u from "./sd-component-library196.js";
|
|
4
|
-
import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-
|
|
4
|
+
import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-library232.js";
|
|
5
5
|
import { OutlineMeterRange as M } from "./sd-component-library236.js";
|
|
6
6
|
import { LabelPointer as b } from "./sd-component-library326.js";
|
|
7
7
|
const A = x.forwardRef(
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const {
|
|
5
|
-
startX: $,
|
|
6
|
-
startY: e,
|
|
7
|
-
endX: a,
|
|
8
|
-
endY: d,
|
|
9
|
-
radius: n,
|
|
10
|
-
color: A,
|
|
11
|
-
width: t,
|
|
12
|
-
roundStart: l = !0,
|
|
13
|
-
roundEnd: I = !0,
|
|
14
|
-
startAlpha: o,
|
|
15
|
-
endAlpha: s
|
|
16
|
-
} = p, c = s - o, m = u($, r(o), t), X = i(e, r(o), t), Y = u(a, r(s), t), h = i(d, r(s), t);
|
|
17
|
-
return /* @__PURE__ */ x.jsx(
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: `M${$},${e} A${n},${n} 0 ${c > 180 ? "1" : "0"},1 ${a},${d} ${I ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${Y},${h} A${n - t},${n - t} 0 ${c > 180 ? "1" : "0"},0 ${m},${X} ${l ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${$},${e}`,
|
|
21
|
-
fill: A
|
|
22
|
-
}
|
|
23
|
-
);
|
|
1
|
+
const p = (c, r, n, t) => {
|
|
2
|
+
const o = c - (r - 1) * n, s = t / r, e = (t + 1) / r, a = (360 - c) / 2 + n * t + o * s, S = a + o * (e - s);
|
|
3
|
+
return { rangeArcStart: a, rangeArcEnd: S };
|
|
24
4
|
};
|
|
25
5
|
export {
|
|
26
|
-
|
|
6
|
+
p as getRangeProperties
|
|
27
7
|
};
|
|
28
8
|
//# sourceMappingURL=sd-component-library319.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library319.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library319.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/utils.ts"],"sourcesContent":["export const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n\n const start = idx / totalRanges;\n const end = (idx + 1) / totalRanges;\n\n const arcStart = (360 - arc) / 2; // deg\n\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n return { rangeArcStart, rangeArcEnd };\n};\n"],"names":["getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","arcForRanges","start","end","rangeArcStart","rangeArcEnd"],"mappings":"AAAO,MAAMA,IAAqB,CAChCC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeJ,KAAOC,IAAc,KAAKC,GAEzCG,IAAQF,IAAMF,GACdK,KAAOH,IAAM,KAAKF,GAIlBM,KAFY,MAAMP,KAAO,IAGlBE,IAAwBC,IAAMC,IAAeC,GAEpDG,IAAcD,IAAgBH,KAAgBE,IAAMD;AAEnD,SAAA,EAAE,eAAAE,GAAe,aAAAC;AAC1B;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library197.js";
|
|
2
|
-
import { Box as
|
|
2
|
+
import { Box as d } from "rebass";
|
|
3
3
|
import { useHover as j } from "./sd-component-library3.js";
|
|
4
4
|
import { isTouchScreen as S } from "./sd-component-library4.js";
|
|
5
5
|
import { FlexItemsCenter as g, FlexCenter as w } from "./sd-component-library35.js";
|
|
@@ -7,21 +7,22 @@ const R = ({
|
|
|
7
7
|
onChange: o,
|
|
8
8
|
value: r,
|
|
9
9
|
isHoverCheckbox: n,
|
|
10
|
-
|
|
10
|
+
stopPropagation: s = !1,
|
|
11
|
+
...t
|
|
11
12
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
},
|
|
13
|
+
const i = (c) => {
|
|
14
|
+
s && c.stopPropagation(), o(!r);
|
|
15
|
+
}, x = n && !r;
|
|
15
16
|
return /* @__PURE__ */ e.jsx(
|
|
16
17
|
v,
|
|
17
18
|
{
|
|
18
19
|
showInnerBox: r,
|
|
19
|
-
onClick:
|
|
20
|
-
showHoverCheckbox:
|
|
21
|
-
...
|
|
20
|
+
onClick: i,
|
|
21
|
+
showHoverCheckbox: x,
|
|
22
|
+
...t
|
|
22
23
|
}
|
|
23
24
|
);
|
|
24
|
-
}, z = "10px",
|
|
25
|
+
}, z = "10px", l = "20px", B = "5px", v = ({
|
|
25
26
|
disabled: o,
|
|
26
27
|
containerSx: r,
|
|
27
28
|
showHoverCheckbox: n,
|
|
@@ -29,14 +30,14 @@ const R = ({
|
|
|
29
30
|
showBGColorWhenIdle: t,
|
|
30
31
|
disabledColor: i = "cl_grey",
|
|
31
32
|
color: x = "cl_blue",
|
|
32
|
-
children:
|
|
33
|
+
children: c,
|
|
33
34
|
showInnerBox: C,
|
|
34
35
|
onClick: m,
|
|
35
|
-
borderRadius:
|
|
36
|
-
borderWidth:
|
|
36
|
+
borderRadius: a = "3px",
|
|
37
|
+
borderWidth: k = "2px",
|
|
37
38
|
innerBoxSx: b
|
|
38
39
|
}) => {
|
|
39
|
-
const { isHover:
|
|
40
|
+
const { isHover: f, hoverCallbacks: u } = j(), h = f || !n || S(), p = o ? i : x;
|
|
40
41
|
return /* @__PURE__ */ e.jsxs(
|
|
41
42
|
g,
|
|
42
43
|
{
|
|
@@ -46,28 +47,28 @@ const R = ({
|
|
|
46
47
|
gap: "10px",
|
|
47
48
|
...r
|
|
48
49
|
},
|
|
49
|
-
...
|
|
50
|
+
...u,
|
|
50
51
|
children: [
|
|
51
|
-
/* @__PURE__ */ e.jsx(
|
|
52
|
+
/* @__PURE__ */ e.jsx(d, { size: l, sx: { flexShrink: 0 }, children: /* @__PURE__ */ e.jsx(
|
|
52
53
|
w,
|
|
53
54
|
{
|
|
54
|
-
width: h ?
|
|
55
|
-
height:
|
|
55
|
+
width: h ? l : B,
|
|
56
|
+
height: l,
|
|
56
57
|
bg: t && h ? "" : s,
|
|
57
58
|
sx: {
|
|
58
59
|
flexShrink: 0,
|
|
59
|
-
borderRadius:
|
|
60
|
-
borderWidth:
|
|
61
|
-
borderColor:
|
|
60
|
+
borderRadius: a,
|
|
61
|
+
borderWidth: k,
|
|
62
|
+
borderColor: p,
|
|
62
63
|
borderStyle: "solid",
|
|
63
64
|
transition: "width 0.1s ease-in"
|
|
64
65
|
},
|
|
65
66
|
children: C && /* @__PURE__ */ e.jsx(
|
|
66
|
-
|
|
67
|
+
d,
|
|
67
68
|
{
|
|
68
69
|
sx: {
|
|
69
70
|
border: `calc(${z} / 2) solid`,
|
|
70
|
-
borderColor:
|
|
71
|
+
borderColor: p,
|
|
71
72
|
borderRadius: "2px",
|
|
72
73
|
...b
|
|
73
74
|
}
|
|
@@ -75,7 +76,7 @@ const R = ({
|
|
|
75
76
|
)
|
|
76
77
|
}
|
|
77
78
|
) }),
|
|
78
|
-
|
|
79
|
+
c
|
|
79
80
|
]
|
|
80
81
|
}
|
|
81
82
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library32.js","sources":["../src/components/checkboxes/checkbox-v2/checkbox-v2.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { useHover } from \"../../../core/custom-hooks\";\nimport { isTouchScreen } from \"../../../core/functions\";\nimport { FlexCenter, FlexItemsCenter } from \"../../containers\";\nimport {\n CheckboxV2ContainerProps as ContainerProps,\n CheckboxV2Props as Props,\n} from \"./interfaces\";\n\nexport const CheckboxV2: React.FC<Props> = ({\n onChange,\n value,\n isHoverCheckbox,\n ...containerProps\n}) => {\n const onClick: ContainerProps[\"onClick\"] = (event) => {\n event.stopPropagation();\n onChange(!value);\n };\n\n const showHoverCheckbox = isHoverCheckbox && !value;\n\n return (\n <CheckboxV2Container\n showInnerBox={value}\n onClick={onClick}\n showHoverCheckbox={showHoverCheckbox}\n {...containerProps}\n />\n );\n};\n\nconst innerBoxSize = \"10px\";\nconst outerBoxSize = \"20px\";\n\nconst shrankSize = \"5px\";\n\nexport const CheckboxV2Container: React.FC<ContainerProps> = ({\n disabled,\n containerSx,\n showHoverCheckbox,\n bg,\n showBGColorWhenIdle,\n disabledColor = \"cl_grey\",\n color = \"cl_blue\",\n children,\n showInnerBox,\n onClick,\n borderRadius = \"3px\",\n borderWidth = \"2px\",\n innerBoxSx,\n}) => {\n const { isHover, hoverCallbacks } = useHover();\n const isCheckboxExtended = isHover || !showHoverCheckbox || isTouchScreen();\n const currentColor = disabled ? disabledColor : color;\n\n return (\n <FlexItemsCenter\n onClick={disabled ? undefined : onClick}\n sx={{\n cursor: disabled ? \"default\" : \"pointer\",\n gap: \"10px\",\n ...containerSx,\n }}\n {...hoverCallbacks}\n >\n <Box size={outerBoxSize} sx={{ flexShrink: 0 }}>\n <FlexCenter\n width={isCheckboxExtended ? outerBoxSize : shrankSize}\n height={outerBoxSize}\n bg={showBGColorWhenIdle ? (isCheckboxExtended ? \"\" : bg) : bg}\n sx={{\n flexShrink: 0,\n borderRadius,\n borderWidth,\n borderColor: currentColor,\n borderStyle: \"solid\",\n transition: \"width 0.1s ease-in\",\n }}\n >\n {showInnerBox && (\n <Box\n sx={{\n border: `calc(${innerBoxSize} / 2) solid`,\n borderColor: currentColor,\n borderRadius: \"2px\",\n ...innerBoxSx,\n }}\n />\n )}\n </FlexCenter>\n </Box>\n\n {children}\n </FlexItemsCenter>\n );\n};\n"],"names":["CheckboxV2","onChange","value","isHoverCheckbox","containerProps","onClick","event","showHoverCheckbox","jsx","CheckboxV2Container","innerBoxSize","outerBoxSize","shrankSize","disabled","containerSx","bg","showBGColorWhenIdle","disabledColor","color","children","showInnerBox","borderRadius","borderWidth","innerBoxSx","isHover","hoverCallbacks","useHover","isCheckboxExtended","isTouchScreen","currentColor","jsxs","FlexItemsCenter","Box","FlexCenter"],"mappings":";;;;;AAYO,MAAMA,IAA8B,CAAC;AAAA,EAC1C,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,GAAGC;AACL,MAAM;AACE,QAAAC,IAAqC,CAACC,MAAU;AACpD,
|
|
1
|
+
{"version":3,"file":"sd-component-library32.js","sources":["../src/components/checkboxes/checkbox-v2/checkbox-v2.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { useHover } from \"../../../core/custom-hooks\";\nimport { isTouchScreen } from \"../../../core/functions\";\nimport { FlexCenter, FlexItemsCenter } from \"../../containers\";\nimport {\n CheckboxV2ContainerProps as ContainerProps,\n CheckboxV2Props as Props,\n} from \"./interfaces\";\n\nexport const CheckboxV2: React.FC<Props> = ({\n onChange,\n value,\n isHoverCheckbox,\n stopPropagation = false,\n ...containerProps\n}) => {\n const onClick: ContainerProps[\"onClick\"] = (event) => {\n stopPropagation && event.stopPropagation();\n onChange(!value);\n };\n\n const showHoverCheckbox = isHoverCheckbox && !value;\n\n return (\n <CheckboxV2Container\n showInnerBox={value}\n onClick={onClick}\n showHoverCheckbox={showHoverCheckbox}\n {...containerProps}\n />\n );\n};\n\nconst innerBoxSize = \"10px\";\nconst outerBoxSize = \"20px\";\n\nconst shrankSize = \"5px\";\n\nexport const CheckboxV2Container: React.FC<ContainerProps> = ({\n disabled,\n containerSx,\n showHoverCheckbox,\n bg,\n showBGColorWhenIdle,\n disabledColor = \"cl_grey\",\n color = \"cl_blue\",\n children,\n showInnerBox,\n onClick,\n borderRadius = \"3px\",\n borderWidth = \"2px\",\n innerBoxSx,\n}) => {\n const { isHover, hoverCallbacks } = useHover();\n const isCheckboxExtended = isHover || !showHoverCheckbox || isTouchScreen();\n const currentColor = disabled ? disabledColor : color;\n\n return (\n <FlexItemsCenter\n onClick={disabled ? undefined : onClick}\n sx={{\n cursor: disabled ? \"default\" : \"pointer\",\n gap: \"10px\",\n ...containerSx,\n }}\n {...hoverCallbacks}\n >\n <Box size={outerBoxSize} sx={{ flexShrink: 0 }}>\n <FlexCenter\n width={isCheckboxExtended ? outerBoxSize : shrankSize}\n height={outerBoxSize}\n bg={showBGColorWhenIdle ? (isCheckboxExtended ? \"\" : bg) : bg}\n sx={{\n flexShrink: 0,\n borderRadius,\n borderWidth,\n borderColor: currentColor,\n borderStyle: \"solid\",\n transition: \"width 0.1s ease-in\",\n }}\n >\n {showInnerBox && (\n <Box\n sx={{\n border: `calc(${innerBoxSize} / 2) solid`,\n borderColor: currentColor,\n borderRadius: \"2px\",\n ...innerBoxSx,\n }}\n />\n )}\n </FlexCenter>\n </Box>\n\n {children}\n </FlexItemsCenter>\n );\n};\n"],"names":["CheckboxV2","onChange","value","isHoverCheckbox","stopPropagation","containerProps","onClick","event","showHoverCheckbox","jsx","CheckboxV2Container","innerBoxSize","outerBoxSize","shrankSize","disabled","containerSx","bg","showBGColorWhenIdle","disabledColor","color","children","showInnerBox","borderRadius","borderWidth","innerBoxSx","isHover","hoverCallbacks","useHover","isCheckboxExtended","isTouchScreen","currentColor","jsxs","FlexItemsCenter","Box","FlexCenter"],"mappings":";;;;;AAYO,MAAMA,IAA8B,CAAC;AAAA,EAC1C,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,GAAGC;AACL,MAAM;AACE,QAAAC,IAAqC,CAACC,MAAU;AACpD,IAAAH,KAAmBG,EAAM,mBACzBN,EAAS,CAACC,CAAK;AAAA,EAAA,GAGXM,IAAoBL,KAAmB,CAACD;AAG5C,SAAAO,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,cAAcR;AAAA,MACd,SAAAI;AAAA,MACA,mBAAAE;AAAA,MACC,GAAGH;AAAA,IAAA;AAAA,EAAA;AAGV,GAEMM,IAAe,QACfC,IAAe,QAEfC,IAAa,OAENH,IAAgD,CAAC;AAAA,EAC5D,UAAAI;AAAA,EACA,aAAAC;AAAA,EACA,mBAAAP;AAAA,EACA,IAAAQ;AAAA,EACA,qBAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAf;AAAA,EACA,cAAAgB,IAAe;AAAA,EACf,aAAAC,IAAc;AAAA,EACd,YAAAC;AACF,MAAM;AACJ,QAAM,EAAE,SAAAC,GAAS,gBAAAC,EAAe,IAAIC,EAAS,GACvCC,IAAqBH,KAAW,CAACjB,KAAqBqB,EAAc,GACpEC,IAAehB,IAAWI,IAAgBC;AAG9C,SAAAY,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAASlB,IAAW,SAAYR;AAAA,MAChC,IAAI;AAAA,QACF,QAAQQ,IAAW,YAAY;AAAA,QAC/B,KAAK;AAAA,QACL,GAAGC;AAAA,MACL;AAAA,MACC,GAAGW;AAAA,MAEJ,UAAA;AAAA,QAAAjB,gBAAAA,MAACwB,KAAI,MAAMrB,GAAc,IAAI,EAAE,YAAY,KACzC,UAAAH,gBAAAA,EAAA;AAAA,UAACyB;AAAA,UAAA;AAAA,YACC,OAAON,IAAqBhB,IAAeC;AAAA,YAC3C,QAAQD;AAAA,YACR,IAAIK,KAAuBW,IAAqB,KAAWZ;AAAA,YAC3D,IAAI;AAAA,cACF,YAAY;AAAA,cACZ,cAAAM;AAAA,cACA,aAAAC;AAAA,cACA,aAAaO;AAAA,cACb,aAAa;AAAA,cACb,YAAY;AAAA,YACd;AAAA,YAEC,UACCT,KAAAZ,gBAAAA,EAAA;AAAA,cAACwB;AAAA,cAAA;AAAA,gBACC,IAAI;AAAA,kBACF,QAAQ,QAAQtB,CAAY;AAAA,kBAC5B,aAAamB;AAAA,kBACb,cAAc;AAAA,kBACd,GAAGN;AAAA,gBACL;AAAA,cAAA;AAAA,YACF;AAAA,UAAA;AAAA,QAAA,GAGN;AAAA,QAECJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -2,7 +2,7 @@ import { j as e } from "./sd-component-library197.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-library205.js";
|
|
6
6
|
const Z = (p) => {
|
|
7
7
|
const {
|
|
8
8
|
width: x = ["100%"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library197.js";
|
|
2
|
-
import { BaseBooleanFeedback as m } from "./sd-component-
|
|
2
|
+
import { BaseBooleanFeedback as m } from "./sd-component-library207.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-library208.js";
|
|
5
|
+
import { ReactComponent as u } from "./sd-component-library209.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,
|
|
@@ -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-library205.js";
|
|
8
8
|
const $ = (d) => {
|
|
9
9
|
const {
|
|
10
10
|
header: s,
|
|
@@ -2,7 +2,7 @@ import { j as t } from "./sd-component-library197.js";
|
|
|
2
2
|
import { useState as u } from "react";
|
|
3
3
|
import { Flex as g } from "rebass";
|
|
4
4
|
import { BaseDateInput as C } from "./sd-component-library62.js";
|
|
5
|
-
import { ReactComponent as S } from "./sd-component-
|
|
5
|
+
import { ReactComponent as S } from "./sd-component-library281.js";
|
|
6
6
|
import { Button as D } from "./sd-component-library25.js";
|
|
7
7
|
import { FrMaxContainer as b } from "./sd-component-library38.js";
|
|
8
8
|
const k = (r) => {
|
|
@@ -2,7 +2,7 @@ import { j as e } from "./sd-component-library197.js";
|
|
|
2
2
|
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
|
-
import { ReactComponent as z } from "./sd-component-
|
|
5
|
+
import { ReactComponent as z } from "./sd-component-library281.js";
|
|
6
6
|
import { BaseLabel as E } from "./sd-component-library227.js";
|
|
7
7
|
import { OutsideClickBox as J } from "./sd-component-library11.js";
|
|
8
8
|
import { BaseDateRangeInput as L } from "./sd-component-library63.js";
|