@selfdecode/sd-component-library 4.0.96 → 4.0.97
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/checkbox-v2.d.ts +2 -1
- package/lib/components/checkboxes/checkbox-v2/index.d.ts +1 -1
- package/lib/components/checkboxes/checkbox-v2/interfaces.d.ts +19 -1
- package/lib/sd-component-library.js +343 -342
- package/lib/sd-component-library100.js +3 -3
- package/lib/sd-component-library101.js +2 -2
- package/lib/sd-component-library102.js +3 -3
- package/lib/sd-component-library103.js +2 -2
- package/lib/sd-component-library105.js +4 -4
- package/lib/sd-component-library107.js +4 -4
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library119.js +2 -2
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- package/lib/sd-component-library128.js +2 -2
- package/lib/sd-component-library130.js +1 -1
- package/lib/sd-component-library134.js +3 -3
- package/lib/sd-component-library135.js +1 -1
- package/lib/sd-component-library137.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library168.js +1 -1
- package/lib/sd-component-library169.js +1 -1
- package/lib/sd-component-library172.js +1 -1
- package/lib/sd-component-library173.js +4 -4
- 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 +3 -25
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +56 -18
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +25 -5
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +19 -5
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +5 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +5 -57
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +18 -65
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library213.js +21 -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 +3 -13
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +40 -14
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +129 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +13 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +14 -3
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -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 +65 -3
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +3 -46
- 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 +51 -17
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +44 -19
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +17 -3
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +26 -3
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -26
- 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 +129 -3
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +43 -129
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +45 -41
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +7 -46
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +64 -8
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +41 -62
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +13 -43
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +21 -13
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +109 -21
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +44 -106
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +23 -46
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +52 -23
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +47 -52
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +73 -46
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +26 -60
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +27 -41
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +21 -27
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +19 -20
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +2 -20
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +325 -2
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +5 -325
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +29 -5
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +3 -29
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +24 -3
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +3 -24
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +25 -3
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +21 -24
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +26 -18
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +51 -30
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +117 -37
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +62 -117
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library268.js +107 -61
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +10 -30
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +46 -17
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +25 -120
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +16 -117
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +125 -10
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +8 -49
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +2 -9
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -2
- package/lib/sd-component-library277.js +51 -2
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +87 -48
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +54 -52
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +48 -91
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +5 -48
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library285.js +2 -2
- package/lib/sd-component-library286.js +2 -2
- package/lib/sd-component-library288.js +2 -6
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +36 -2
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +14 -36
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +2 -14
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +8 -2
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +327 -7
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +48 -325
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +3 -51
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -3
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +3 -3
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +2 -3
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +77 -2
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +82 -66
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +50 -90
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +8 -52
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +4 -8
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library304.js +52 -4
- package/lib/sd-component-library304.js.map +1 -1
- package/lib/sd-component-library305.js +2 -53
- package/lib/sd-component-library305.js.map +1 -1
- package/lib/sd-component-library306.js +2 -2
- package/lib/sd-component-library307.js +9 -2
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library308.js +4 -8
- package/lib/sd-component-library308.js.map +1 -1
- package/lib/sd-component-library309.js +4 -5
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +19 -4
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +3 -19
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +6 -3
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +57 -5
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +20 -52
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +87 -20
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +3 -3
- package/lib/sd-component-library317.js +33 -91
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library319.js +4 -34
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library32.js +78 -14
- package/lib/sd-component-library32.js.map +1 -1
- package/lib/sd-component-library320.js +4 -5
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library321.js +34 -4
- package/lib/sd-component-library321.js.map +1 -1
- package/lib/sd-component-library322.js +24 -29
- package/lib/sd-component-library322.js.map +1 -1
- package/lib/sd-component-library323.js +17 -25
- package/lib/sd-component-library323.js.map +1 -1
- package/lib/sd-component-library324.js +89 -20
- package/lib/sd-component-library324.js.map +1 -1
- package/lib/sd-component-library325.js +32 -90
- package/lib/sd-component-library325.js.map +1 -1
- package/lib/sd-component-library326.js +81 -31
- package/lib/sd-component-library326.js.map +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library33.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-library61.js +1 -1
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library66.js +1 -1
- package/lib/sd-component-library71.js +2 -2
- package/lib/sd-component-library73.js +3 -3
- package/lib/sd-component-library75.js +2 -2
- package/lib/sd-component-library76.js +3 -3
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +1 -1
- package/lib/sd-component-library86.js +1 -1
- package/lib/sd-component-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 +5 -5
- package/lib/sd-component-library91.js +1 -1
- package/lib/sd-component-library93.js +6 -6
- package/lib/sd-component-library94.js +1 -1
- package/lib/sd-component-library95.js +7 -7
- package/lib/sd-component-library96.js +1 -1
- package/lib/sd-component-library99.js +2 -2
- package/package.json +1 -1
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/checkbox-v2-container.d.ts +0 -3
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/index.d.ts +0 -2
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +0 -20
- package/lib/components/checkboxes/checkbox-v2/partials/index.d.ts +0 -1
- package/lib/sd-component-library327.js +0 -85
- package/lib/sd-component-library327.js.map +0 -1
|
@@ -1,56 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
if (i)
|
|
9
|
-
return f;
|
|
10
|
-
i = 1;
|
|
11
|
-
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
function O(n) {
|
|
13
|
-
if (n == null)
|
|
14
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
15
|
-
return Object(n);
|
|
16
|
-
}
|
|
17
|
-
function j() {
|
|
18
|
-
try {
|
|
19
|
-
if (!Object.assign)
|
|
20
|
-
return !1;
|
|
21
|
-
var n = new String("abc");
|
|
22
|
-
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
23
|
-
return !1;
|
|
24
|
-
for (var s = {}, r = 0; r < 10; r++)
|
|
25
|
-
s["_" + String.fromCharCode(r)] = r;
|
|
26
|
-
var a = Object.getOwnPropertyNames(s).map(function(e) {
|
|
27
|
-
return s[e];
|
|
28
|
-
});
|
|
29
|
-
if (a.join("") !== "0123456789")
|
|
30
|
-
return !1;
|
|
31
|
-
var t = {};
|
|
32
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
33
|
-
t[e] = e;
|
|
34
|
-
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
35
|
-
} catch {
|
|
36
|
-
return !1;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return f = j() ? Object.assign : function(n, s) {
|
|
40
|
-
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
41
|
-
r = Object(arguments[e]);
|
|
42
|
-
for (var c in r)
|
|
43
|
-
b.call(r, c) && (a[c] = r[c]);
|
|
44
|
-
if (u) {
|
|
45
|
-
t = u(r);
|
|
46
|
-
for (var o = 0; o < t.length; o++)
|
|
47
|
-
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return a;
|
|
51
|
-
}, f;
|
|
1
|
+
var e, r;
|
|
2
|
+
function _() {
|
|
3
|
+
if (r)
|
|
4
|
+
return e;
|
|
5
|
+
r = 1;
|
|
6
|
+
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
7
|
+
return e = t, e;
|
|
52
8
|
}
|
|
53
9
|
export {
|
|
54
|
-
|
|
10
|
+
_ as __require
|
|
55
11
|
};
|
|
56
12
|
//# sourceMappingURL=sd-component-library302.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library302.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"sd-component-library302.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.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\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1"],"mappings":";;;;;AASA,MAAIA,IAAuB;AAE3B,SAAAC,IAAiBD;;","x_google_ignoreList":[0]}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return e;
|
|
5
|
-
r = 1;
|
|
6
|
-
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
7
|
-
return e = t, e;
|
|
1
|
+
var r, e;
|
|
2
|
+
function a() {
|
|
3
|
+
return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
|
|
8
4
|
}
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
a as __require
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=sd-component-library303.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library303.js","sources":["../node_modules/prop-types/lib/
|
|
1
|
+
{"version":3,"file":"sd-component-library303.js","sources":["../node_modules/prop-types/lib/has.js"],"sourcesContent":["module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n"],"names":["has"],"mappings":";;sBAAAA,IAAiB,SAAS,KAAK,KAAK,OAAO,UAAU,cAAc;;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { __require as E } from "./sd-component-library302.js";
|
|
2
|
+
import { __require as _ } from "./sd-component-library303.js";
|
|
3
|
+
var f, v;
|
|
4
|
+
function P() {
|
|
5
|
+
if (v)
|
|
6
|
+
return f;
|
|
7
|
+
v = 1;
|
|
8
|
+
var o = function() {
|
|
9
|
+
};
|
|
10
|
+
if (process.env.NODE_ENV !== "production") {
|
|
11
|
+
var y = E(), t = {}, d = _();
|
|
12
|
+
o = function(n) {
|
|
13
|
+
var a = "Warning: " + n;
|
|
14
|
+
typeof console < "u" && console.error(a);
|
|
15
|
+
try {
|
|
16
|
+
throw new Error(a);
|
|
17
|
+
} catch {
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function u(n, a, i, s, c) {
|
|
22
|
+
if (process.env.NODE_ENV !== "production") {
|
|
23
|
+
for (var e in n)
|
|
24
|
+
if (d(n, e)) {
|
|
25
|
+
var r;
|
|
26
|
+
try {
|
|
27
|
+
if (typeof n[e] != "function") {
|
|
28
|
+
var h = Error(
|
|
29
|
+
(s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
30
|
+
);
|
|
31
|
+
throw h.name = "Invariant Violation", h;
|
|
32
|
+
}
|
|
33
|
+
r = n[e](a, e, s, i, null, y);
|
|
34
|
+
} catch (l) {
|
|
35
|
+
r = l;
|
|
36
|
+
}
|
|
37
|
+
if (r && !(r instanceof Error) && o(
|
|
38
|
+
(s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
39
|
+
), r instanceof Error && !(r.message in t)) {
|
|
40
|
+
t[r.message] = !0;
|
|
41
|
+
var p = c ? c() : "";
|
|
42
|
+
o(
|
|
43
|
+
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return u.resetWarningCache = function() {
|
|
50
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
51
|
+
}, f = u, f;
|
|
4
52
|
}
|
|
5
53
|
export {
|
|
6
|
-
|
|
54
|
+
P as __require
|
|
7
55
|
};
|
|
8
56
|
//# sourceMappingURL=sd-component-library304.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library304.js","sources":["../node_modules/prop-types/
|
|
1
|
+
{"version":3,"file":"sd-component-library304.js","sources":["../node_modules/prop-types/checkPropTypes.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\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n"],"names":["printWarning","ReactPropTypesSecret","require$$0","loggedTypeFailures","has","require$$1","text","message","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;;AASA,MAAIA,IAAe,WAAW;AAAA;AAE9B,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,KACvBC,IAAqB,CAAA,GACrBC,IAAMC;AAEV,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,UAAY,OACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MAC7B,QAAgB;AAAA,MAAQ;AAAA,IACxB;AAAA,EACC;AAaD,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIL,EAAIK,GAAWK,CAAY,GAAG;AAChC,cAAIC;AAIJ,cAAI;AAGF,gBAAI,OAAON,EAAUK,CAAY,KAAM,YAAY;AACjD,kBAAIE,IAAM;AAAA,iBACPJ,KAAiB,iBAAiB,OAAOD,IAAW,YAAYG,IAAe,+FACC,OAAOL,EAAUK,CAAY,IAAI;AAAA,cAEhI;AACY,oBAAAE,EAAI,OAAO,uBACLA;AAAA,YACP;AACD,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMV,CAAoB;AAAA,UAC1G,SAAQgB,GAAI;AACX,YAAAF,IAAQE;AAAA,UACT;AAWD,cAVIF,KAAS,EAAEA,aAAiB,UAC9Bf;AAAA,aACGY,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAIzF,GAEYA,aAAiB,SAAS,EAAEA,EAAM,WAAWZ,IAAqB;AAGpE,YAAAA,EAAmBY,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAb;AAAA,cACE,YAAYW,IAAW,YAAYI,EAAM,WAAWG,KAAwB;AAAA,YACxF;AAAA,UACS;AAAA,QACF;AAAA;AAAA,EAGN;AAOD,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BL,IAAqB,CAAA;AAAA,EAExB,GAEDgB,IAAiBX;;","x_google_ignoreList":[0]}
|
|
@@ -1,56 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as _ } from "./sd-component-library304.js";
|
|
3
|
-
var f, v;
|
|
4
|
-
function P() {
|
|
5
|
-
if (v)
|
|
6
|
-
return f;
|
|
7
|
-
v = 1;
|
|
8
|
-
var o = function() {
|
|
9
|
-
};
|
|
10
|
-
if (process.env.NODE_ENV !== "production") {
|
|
11
|
-
var y = E(), t = {}, d = _();
|
|
12
|
-
o = function(n) {
|
|
13
|
-
var a = "Warning: " + n;
|
|
14
|
-
typeof console < "u" && console.error(a);
|
|
15
|
-
try {
|
|
16
|
-
throw new Error(a);
|
|
17
|
-
} catch {
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function u(n, a, i, s, c) {
|
|
22
|
-
if (process.env.NODE_ENV !== "production") {
|
|
23
|
-
for (var e in n)
|
|
24
|
-
if (d(n, e)) {
|
|
25
|
-
var r;
|
|
26
|
-
try {
|
|
27
|
-
if (typeof n[e] != "function") {
|
|
28
|
-
var h = Error(
|
|
29
|
-
(s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
30
|
-
);
|
|
31
|
-
throw h.name = "Invariant Violation", h;
|
|
32
|
-
}
|
|
33
|
-
r = n[e](a, e, s, i, null, y);
|
|
34
|
-
} catch (l) {
|
|
35
|
-
r = l;
|
|
36
|
-
}
|
|
37
|
-
if (r && !(r instanceof Error) && o(
|
|
38
|
-
(s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
39
|
-
), r instanceof Error && !(r.message in t)) {
|
|
40
|
-
t[r.message] = !0;
|
|
41
|
-
var p = c ? c() : "";
|
|
42
|
-
o(
|
|
43
|
-
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return u.resetWarningCache = function() {
|
|
50
|
-
process.env.NODE_ENV !== "production" && (t = {});
|
|
51
|
-
}, f = u, f;
|
|
52
|
-
}
|
|
1
|
+
var r = {};
|
|
53
2
|
export {
|
|
54
|
-
|
|
3
|
+
r as __exports
|
|
55
4
|
};
|
|
56
5
|
//# sourceMappingURL=sd-component-library305.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library305.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library305.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
function a(r, o) {
|
|
2
|
+
if (r == null)
|
|
3
|
+
return {};
|
|
4
|
+
var n = {}, i = Object.keys(r), e, t;
|
|
5
|
+
for (t = 0; t < i.length; t++)
|
|
6
|
+
e = i[t], !(o.indexOf(e) >= 0) && (n[e] = r[e]);
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
2
9
|
export {
|
|
3
|
-
|
|
10
|
+
a as default
|
|
4
11
|
};
|
|
5
12
|
//# sourceMappingURL=sd-component-library307.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library307.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"sd-component-library307.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","key","i"],"mappings":"AAAe,SAASA,EAA8BC,GAAQC,GAAU;AACtE,MAAID,KAAU;AAAM,WAAO;AAC3B,MAAIE,IAAS,CAAA,GACTC,IAAa,OAAO,KAAKH,CAAM,GAC/BI,GAAKC;AACT,OAAKA,IAAI,GAAGA,IAAIF,EAAW,QAAQE;AAEjC,IADAD,IAAMD,EAAWE,CAAC,GACd,EAAAJ,EAAS,QAAQG,CAAG,KAAK,OAC7BF,EAAOE,CAAG,IAAIJ,EAAOI,CAAG;AAE1B,SAAOF;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var n = {}, i = Object.keys(r), e, t;
|
|
5
|
-
for (t = 0; t < i.length; t++)
|
|
6
|
-
e = i[t], !(o.indexOf(e) >= 0) && (n[e] = r[e]);
|
|
7
|
-
return n;
|
|
1
|
+
import e from "./sd-component-library312.js";
|
|
2
|
+
function p(t, o) {
|
|
3
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, e(t, o);
|
|
8
4
|
}
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
p as default
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=sd-component-library308.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library308.js","sources":["../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"sd-component-library308.js","sources":["../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}"],"names":["_inheritsLoose","subClass","superClass","setPrototypeOf"],"mappings":";AACe,SAASA,EAAeC,GAAUC,GAAY;AAC3D,EAAAD,EAAS,YAAY,OAAO,OAAOC,EAAW,SAAS,GACvDD,EAAS,UAAU,cAAcA,GACjCE,EAAeF,GAAUC,CAAU;AACrC;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
const a = {
|
|
2
|
+
disabled: !1
|
|
3
|
+
};
|
|
5
4
|
export {
|
|
6
|
-
|
|
5
|
+
a as default
|
|
7
6
|
};
|
|
8
7
|
//# sourceMappingURL=sd-component-library309.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library309.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"sd-component-library309.js","sources":["../node_modules/react-transition-group/esm/config.js"],"sourcesContent":["export default {\n disabled: false\n};"],"names":["config"],"mappings":"AAAA,MAAeA,IAAA;AAAA,EACb,UAAU;AACZ;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import e from "./sd-component-library290.js";
|
|
2
|
+
var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
|
|
3
|
+
enter: e.number,
|
|
4
|
+
exit: e.number,
|
|
5
|
+
appear: e.number
|
|
6
|
+
}).isRequired]) : null;
|
|
7
|
+
process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
8
|
+
enter: e.string,
|
|
9
|
+
exit: e.string,
|
|
10
|
+
active: e.string
|
|
11
|
+
}), e.shape({
|
|
12
|
+
enter: e.string,
|
|
13
|
+
enterDone: e.string,
|
|
14
|
+
enterActive: e.string,
|
|
15
|
+
exit: e.string,
|
|
16
|
+
exitDone: e.string,
|
|
17
|
+
exitActive: e.string
|
|
18
|
+
})]);
|
|
4
19
|
export {
|
|
5
|
-
|
|
20
|
+
n as timeoutsShape
|
|
6
21
|
};
|
|
7
22
|
//# sourceMappingURL=sd-component-library310.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library310.js","sources":["../node_modules/react-transition-group/esm/
|
|
1
|
+
{"version":3,"file":"sd-component-library310.js","sources":["../node_modules/react-transition-group/esm/utils/PropTypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;"],"names":["timeoutsShape","PropTypes"],"mappings":";AACU,IAACA,IAAgB,QAAQ,IAAI,aAAa,eAAeC,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EACxH,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,EAAE,UAAU,CAAC,IAAI;AACW,QAAQ,IAAI,aAAa,gBAAeA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EAC1H,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,GAAGA,EAAU,MAAM;AAAA,EAClB,OAAOA,EAAU;AAAA,EACjB,WAAWA,EAAU;AAAA,EACrB,aAAaA,EAAU;AAAA,EACvB,MAAMA,EAAU;AAAA,EAChB,UAAUA,EAAU;AAAA,EACpB,YAAYA,EAAU;AACxB,CAAC,CAAC,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
enter: e.number,
|
|
4
|
-
exit: e.number,
|
|
5
|
-
appear: e.number
|
|
6
|
-
}).isRequired]) : null;
|
|
7
|
-
process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
8
|
-
enter: e.string,
|
|
9
|
-
exit: e.string,
|
|
10
|
-
active: e.string
|
|
11
|
-
}), e.shape({
|
|
12
|
-
enter: e.string,
|
|
13
|
-
enterDone: e.string,
|
|
14
|
-
enterActive: e.string,
|
|
15
|
-
exit: e.string,
|
|
16
|
-
exitDone: e.string,
|
|
17
|
-
exitActive: e.string
|
|
18
|
-
})]);
|
|
1
|
+
import t from "react";
|
|
2
|
+
const o = t.createContext(null);
|
|
19
3
|
export {
|
|
20
|
-
|
|
4
|
+
o as default
|
|
21
5
|
};
|
|
22
6
|
//# sourceMappingURL=sd-component-library311.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library311.js","sources":["../node_modules/react-transition-group/esm/
|
|
1
|
+
{"version":3,"file":"sd-component-library311.js","sources":["../node_modules/react-transition-group/esm/TransitionGroupContext.js"],"sourcesContent":["import React from 'react';\nexport default React.createContext(null);"],"names":["TransitionGroupContext","React"],"mappings":";AACA,MAAAA,IAAeC,EAAM,cAAc,IAAI;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function e(o, r) {
|
|
2
|
+
return e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, f) {
|
|
3
|
+
return t.__proto__ = f, t;
|
|
4
|
+
}, e(o, r);
|
|
5
|
+
}
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
e as default
|
|
5
8
|
};
|
|
6
9
|
//# sourceMappingURL=sd-component-library312.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library312.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"sd-component-library312.js","sources":["../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"names":["_setPrototypeOf","p","o"],"mappings":"AAAe,SAASA,EAAgB,GAAGC,GAAG;AAC5C,SAAAD,IAAkB,OAAO,iBAAiB,OAAO,eAAe,KAAI,IAAK,SAAyBE,GAAGD,GAAG;AACtG,WAAAC,EAAE,YAAYD,GACPC;AAAA,EACX,GACSF,EAAgB,GAAGC,CAAC;AAC7B;","x_google_ignoreList":[0]}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { j as e } from "./sd-component-library197.js";
|
|
2
|
+
import { useMemo as h } from "react";
|
|
3
|
+
import { Flex as p, Box as j } from "rebass";
|
|
4
|
+
import { SixteenRegular as l } from "./sd-component-library152.js";
|
|
5
|
+
import { ThirteenRegular as i } from "./sd-component-library156.js";
|
|
6
|
+
function b(o) {
|
|
7
|
+
const { synonyms: t, value: r, onSelect: c } = o, n = h(() => t[0], [t]), x = h(() => t.slice(1), [t]), a = h(() => {
|
|
8
|
+
const s = n.toLowerCase().indexOf(r.toLowerCase());
|
|
9
|
+
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
10
|
+
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(0, s) }) }),
|
|
11
|
+
/* @__PURE__ */ e.jsx(l, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s, s + r.length) }) }),
|
|
12
|
+
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s + r.length) }) })
|
|
13
|
+
] });
|
|
14
|
+
}, [n, r]);
|
|
15
|
+
return /* @__PURE__ */ e.jsxs(
|
|
16
|
+
j,
|
|
17
|
+
{
|
|
18
|
+
sx: {
|
|
19
|
+
p: "10px 16px",
|
|
20
|
+
cursor: "pointer"
|
|
21
|
+
},
|
|
22
|
+
onClick: (s) => c(n),
|
|
23
|
+
"data-test": "result-box",
|
|
24
|
+
children: [
|
|
25
|
+
a,
|
|
26
|
+
/* @__PURE__ */ e.jsx(p, { flexWrap: "wrap", children: x.map((s, d, u) => /* @__PURE__ */ e.jsx(
|
|
27
|
+
m,
|
|
28
|
+
{
|
|
29
|
+
value: r,
|
|
30
|
+
synonym: s,
|
|
31
|
+
appendSlash: d !== u.length - 1
|
|
32
|
+
},
|
|
33
|
+
s
|
|
34
|
+
)) })
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
);
|
|
5
38
|
}
|
|
39
|
+
const m = (o) => {
|
|
40
|
+
const { value: t, synonym: r, appendSlash: c } = o, n = r.toLowerCase().indexOf(t.toLowerCase());
|
|
41
|
+
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
42
|
+
n !== -1 ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
43
|
+
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(0, n) }) }),
|
|
44
|
+
/* @__PURE__ */ e.jsx(i, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n, n + t.length) }) }),
|
|
45
|
+
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n + t.length) }) })
|
|
46
|
+
] }) : /* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r }) }),
|
|
47
|
+
c && /* @__PURE__ */ e.jsx(
|
|
48
|
+
i,
|
|
49
|
+
{
|
|
50
|
+
color: "cl_darkGrey",
|
|
51
|
+
width: ["12px"],
|
|
52
|
+
textAlign: "center",
|
|
53
|
+
children: "/"
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
] }, r);
|
|
57
|
+
};
|
|
6
58
|
export {
|
|
7
|
-
|
|
59
|
+
b as AutocompleteOptionBox
|
|
8
60
|
};
|
|
9
61
|
//# sourceMappingURL=sd-component-library313.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library313.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library313.js","sources":["../src/components/inputs/autocomplete-input/partials/autocomplete-option-box/autocomplete-option-box.tsx"],"sourcesContent":["import React, { PropsWithChildren, useMemo } from \"react\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { SixteenRegular } from \"../../../../texts/sixteen-regular\";\nimport { ThirteenRegular } from \"../../../../texts/thirteen-regular\";\nimport { AutocompleteOptionBox as Props } from \"./interfaces\";\n\nexport function AutocompleteOptionBox<T>(props: PropsWithChildren<Props<T>>) {\n const { synonyms, value, onSelect } = props;\n\n /* Synonym that first matches the query */\n const matchingSynonym = useMemo(() => synonyms[0], [synonyms]);\n /* List of synonyms to be displayed below the matching synonym */\n const otherSynonyms = useMemo(() => synonyms.slice(1), [synonyms]);\n\n const renderMatchingSynonym = useMemo(() => {\n const startIndex = matchingSynonym\n .toLowerCase()\n .indexOf(value.toLowerCase());\n\n return (\n <Flex>\n <SixteenRegular width={[\"\"]} cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {matchingSynonym.substring(0, startIndex)}\n </span>\n </SixteenRegular>\n <SixteenRegular width={[\"\"]} color=\"cl_purple\" cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {matchingSynonym.substring(startIndex, startIndex + value.length)}\n </span>\n </SixteenRegular>\n <SixteenRegular width={[\"\"]} cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {matchingSynonym.substring(startIndex + value.length)}\n </span>\n </SixteenRegular>\n </Flex>\n );\n }, [matchingSynonym, value]);\n\n return (\n <Box\n sx={{\n p: \"10px 16px\",\n cursor: \"pointer\",\n }}\n onClick={(x) => onSelect(matchingSynonym)}\n data-test=\"result-box\"\n >\n {renderMatchingSynonym}\n <Flex flexWrap=\"wrap\">\n {otherSynonyms.map((synonym, idx, arr) => (\n <OtherSynonym\n key={synonym}\n value={value}\n synonym={synonym}\n appendSlash={idx !== arr.length - 1}\n />\n ))}\n </Flex>\n </Box>\n );\n}\n\nconst OtherSynonym: React.FC<{\n value: string;\n synonym: string;\n appendSlash: boolean;\n}> = (props) => {\n const { value, synonym, appendSlash } = props;\n const matchIdx = synonym.toLowerCase().indexOf(value.toLowerCase());\n\n return (\n <Flex key={synonym}>\n {matchIdx !== -1 ? (\n <>\n <ThirteenRegular width={[\"\"]} cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {synonym.substring(0, matchIdx)}\n </span>\n </ThirteenRegular>\n <ThirteenRegular width={[\"\"]} color=\"cl_purple\" cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {synonym.substring(matchIdx, matchIdx + value.length)}\n </span>\n </ThirteenRegular>\n <ThirteenRegular width={[\"\"]} cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>\n {synonym.substring(matchIdx + value.length)}\n </span>\n </ThirteenRegular>\n </>\n ) : (\n <ThirteenRegular width={[\"\"]} cursor={\"inherit\"}>\n <span style={{ whiteSpace: \"pre\" }}>{synonym}</span>\n </ThirteenRegular>\n )}\n\n {appendSlash && (\n <ThirteenRegular\n color=\"cl_darkGrey\"\n width={[\"12px\"]}\n textAlign=\"center\"\n >\n /\n </ThirteenRegular>\n )}\n </Flex>\n );\n};\n"],"names":["AutocompleteOptionBox","props","synonyms","value","onSelect","matchingSynonym","useMemo","otherSynonyms","renderMatchingSynonym","startIndex","Flex","jsx","SixteenRegular","jsxs","Box","x","synonym","idx","arr","OtherSynonym","appendSlash","matchIdx","Fragment","ThirteenRegular"],"mappings":"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"}
|
|
@@ -1,61 +1,29 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const { synonyms: t, value: r, onSelect: c } = o, n = h(() => t[0], [t]), x = h(() => t.slice(1), [t]), a = h(() => {
|
|
8
|
-
const s = n.toLowerCase().indexOf(r.toLowerCase());
|
|
9
|
-
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
10
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(0, s) }) }),
|
|
11
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s, s + r.length) }) }),
|
|
12
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s + r.length) }) })
|
|
13
|
-
] });
|
|
14
|
-
}, [n, r]);
|
|
15
|
-
return /* @__PURE__ */ e.jsxs(
|
|
16
|
-
j,
|
|
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,
|
|
17
7
|
{
|
|
8
|
+
fontSizeWeight: [[16, "regular"]],
|
|
18
9
|
sx: {
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
}
|
|
21
20
|
},
|
|
22
|
-
onClick:
|
|
23
|
-
|
|
24
|
-
children: [
|
|
25
|
-
a,
|
|
26
|
-
/* @__PURE__ */ e.jsx(p, { flexWrap: "wrap", children: x.map((s, d, u) => /* @__PURE__ */ e.jsx(
|
|
27
|
-
m,
|
|
28
|
-
{
|
|
29
|
-
value: r,
|
|
30
|
-
synonym: s,
|
|
31
|
-
appendSlash: d !== u.length - 1
|
|
32
|
-
},
|
|
33
|
-
s
|
|
34
|
-
)) })
|
|
35
|
-
]
|
|
21
|
+
onClick: e,
|
|
22
|
+
children: o
|
|
36
23
|
}
|
|
37
24
|
);
|
|
38
|
-
}
|
|
39
|
-
const m = (o) => {
|
|
40
|
-
const { value: t, synonym: r, appendSlash: c } = o, n = r.toLowerCase().indexOf(t.toLowerCase());
|
|
41
|
-
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
42
|
-
n !== -1 ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
43
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(0, n) }) }),
|
|
44
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n, n + t.length) }) }),
|
|
45
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n + t.length) }) })
|
|
46
|
-
] }) : /* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r }) }),
|
|
47
|
-
c && /* @__PURE__ */ e.jsx(
|
|
48
|
-
i,
|
|
49
|
-
{
|
|
50
|
-
color: "cl_darkGrey",
|
|
51
|
-
width: ["12px"],
|
|
52
|
-
textAlign: "center",
|
|
53
|
-
children: "/"
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
] }, r);
|
|
57
25
|
};
|
|
58
26
|
export {
|
|
59
|
-
|
|
27
|
+
x as SearchAutocompleteRow
|
|
60
28
|
};
|
|
61
29
|
//# sourceMappingURL=sd-component-library314.js.map
|