@selfdecode/sd-component-library 4.0.141 → 4.0.142
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/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library104.js +2 -2
- package/lib/sd-component-library106.js +2 -2
- package/lib/sd-component-library112.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- package/lib/sd-component-library129.js +1 -1
- package/lib/sd-component-library133.js +3 -3
- package/lib/sd-component-library134.js +1 -1
- package/lib/sd-component-library136.js +2 -2
- package/lib/sd-component-library16.js +1 -1
- package/lib/sd-component-library167.js +1 -1
- package/lib/sd-component-library197.js +3 -3
- package/lib/sd-component-library201.js +3 -2
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +57 -30
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +2 -599
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +30 -26
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +599 -18
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +19 -57
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +18 -23
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +62 -19
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +23 -3
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +21 -3
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +3 -40
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +3 -129
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +26 -13
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -14
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +31 -3
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +19 -3
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +20 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +28 -52
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +29 -61
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -3
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +129 -46
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +43 -17
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +43 -22
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +7 -56
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +64 -3
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +43 -3
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +13 -3
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +21 -31
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +108 -18
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +46 -19
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +24 -28
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +49 -29
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +47 -128
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +72 -40
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +39 -45
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +27 -8
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +20 -63
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +20 -43
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +2 -13
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +1 -1
- package/lib/sd-component-library240.js +40 -21
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +128 -108
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +13 -47
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +14 -24
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +3 -53
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +3 -48
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +3 -41
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +52 -27
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +62 -72
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +3 -21
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +46 -20
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +17 -2
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +6 -6
- package/lib/sd-component-library254.js +21 -25
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library256.js +22 -24
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library258.js +25 -21
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +24 -22
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library262.js +1 -1
- package/lib/sd-component-library265.js +30 -122
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +20 -9
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +116 -41
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +122 -30
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +9 -20
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +41 -116
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library278.js +3 -2
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +3 -2
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +3 -70
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +2 -102
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +2 -106
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +70 -10
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +102 -2
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +104 -34
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library286.js +10 -14
- package/lib/sd-component-library286.js.map +1 -1
- package/lib/sd-component-library287.js +2 -2
- package/lib/sd-component-library288.js +36 -8
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +14 -328
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +2 -51
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +8 -2
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +324 -73
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +48 -90
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +2 -53
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +76 -8
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +92 -4
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +48 -48
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +9 -3
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +5 -3
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +53 -3
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +9 -2
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +5 -2
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +3 -8
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library304.js +19 -5
- package/lib/sd-component-library304.js.map +1 -1
- package/lib/sd-component-library305.js +3 -4
- package/lib/sd-component-library305.js.map +1 -1
- package/lib/sd-component-library306.js +2 -19
- package/lib/sd-component-library306.js.map +1 -1
- package/lib/sd-component-library307.js +2 -3
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library309.js +21 -54
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +50 -25
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +33 -91
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +5 -51
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +91 -33
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +4 -25
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +57 -4
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +26 -4
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library318.js +89 -28
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library319.js +25 -17
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library320.js +20 -89
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library48.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library51.js +3 -3
- package/lib/sd-component-library52.js +2 -2
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library61.js +2 -2
- package/lib/sd-component-library62.js +5 -5
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +2 -2
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library70.js +2 -2
- package/lib/sd-component-library72.js +3 -3
- package/lib/sd-component-library74.js +2 -2
- package/lib/sd-component-library75.js +3 -3
- package/lib/sd-component-library76.js +1 -1
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library86.js +6 -6
- package/lib/sd-component-library87.js +2 -2
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +5 -5
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library92.js +6 -6
- package/lib/sd-component-library93.js +1 -1
- package/lib/sd-component-library94.js +7 -7
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library98.js +2 -2
- package/lib/sd-component-library99.js +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library297.js","sources":["../node_modules/
|
|
1
|
+
{"version":3,"file":"sd-component-library297.js","sources":["../node_modules/object-assign/index.js"],"sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"],"names":["getOwnPropertySymbols","hasOwnProperty","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","i","order2","n","test3","letter","objectAssign","target","source","from","to","symbols","s","key"],"mappings":";;;;;;;;;;AAQA,MAAIA,IAAwB,OAAO,uBAC/BC,IAAiB,OAAO,UAAU,gBAClCC,IAAmB,OAAO,UAAU;AAExC,WAASC,EAASC,GAAK;AACtB,QAAIA,KAAQ;AACX,YAAM,IAAI,UAAU,uDAAuD;AAG5E,WAAO,OAAOA,CAAG;AAAA,EACjB;AAED,WAASC,IAAkB;AAC1B,QAAI;AACH,UAAI,CAAC,OAAO;AACX,eAAO;AAMR,UAAIC,IAAQ,IAAI,OAAO,KAAK;AAE5B,UADAA,EAAM,CAAC,IAAI,MACP,OAAO,oBAAoBA,CAAK,EAAE,CAAC,MAAM;AAC5C,eAAO;AAKR,eADIC,IAAQ,CAAA,GACHC,IAAI,GAAGA,IAAI,IAAIA;AACvB,QAAAD,EAAM,MAAM,OAAO,aAAaC,CAAC,CAAC,IAAIA;AAEvC,UAAIC,IAAS,OAAO,oBAAoBF,CAAK,EAAE,IAAI,SAAUG,GAAG;AAC/D,eAAOH,EAAMG,CAAC;AAAA,MACjB,CAAG;AACD,UAAID,EAAO,KAAK,EAAE,MAAM;AACvB,eAAO;AAIR,UAAIE,IAAQ,CAAA;AAIZ,aAHA,uBAAuB,MAAM,EAAE,EAAE,QAAQ,SAAUC,GAAQ;AAC1D,QAAAD,EAAMC,CAAM,IAAIA;AAAA,MACnB,CAAG,GACG,OAAO,KAAK,OAAO,OAAO,CAAE,GAAED,CAAK,CAAC,EAAE,KAAK,EAAE,MAC/C;AAAA,IAKF,QAAa;AAEb,aAAO;AAAA,IACP;AAAA,EACD;AAED,SAAAE,IAAiBR,EAAe,IAAK,OAAO,SAAS,SAAUS,GAAQC,GAAQ;AAK9E,aAJIC,GACAC,IAAKd,EAASW,CAAM,GACpBI,GAEKC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,MAAAH,IAAO,OAAO,UAAUG,CAAC,CAAC;AAE1B,eAASC,KAAOJ;AACf,QAAIf,EAAe,KAAKe,GAAMI,CAAG,MAChCH,EAAGG,CAAG,IAAIJ,EAAKI,CAAG;AAIpB,UAAIpB,GAAuB;AAC1B,QAAAkB,IAAUlB,EAAsBgB,CAAI;AACpC,iBAASR,IAAI,GAAGA,IAAIU,EAAQ,QAAQV;AACnC,UAAIN,EAAiB,KAAKc,GAAME,EAAQV,CAAC,CAAC,MACzCS,EAAGC,EAAQV,CAAC,CAAC,IAAIQ,EAAKE,EAAQV,CAAC,CAAC;AAAA,MAGlC;AAAA,IACD;AAED,WAAOS;AAAA;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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;
|
|
8
|
+
}
|
|
3
9
|
export {
|
|
4
|
-
|
|
10
|
+
_ as __require
|
|
5
11
|
};
|
|
6
12
|
//# sourceMappingURL=sd-component-library298.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library298.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library298.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,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var r, e;
|
|
2
|
+
function a() {
|
|
3
|
+
return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
|
|
4
|
+
}
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
a as __require
|
|
5
7
|
};
|
|
6
8
|
//# sourceMappingURL=sd-component-library299.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library299.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library299.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,6 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { __require as E } from "./sd-component-library298.js";
|
|
2
|
+
import { __require as _ } from "./sd-component-library299.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
|
+
}
|
|
3
53
|
export {
|
|
4
|
-
|
|
54
|
+
P as __require
|
|
5
55
|
};
|
|
6
56
|
//# sourceMappingURL=sd-component-library300.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library300.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library300.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,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-library301.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library301.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"sd-component-library301.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,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import e from "./sd-component-library308.js";
|
|
2
|
+
function p(t, o) {
|
|
3
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, e(t, o);
|
|
4
|
+
}
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
p as default
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=sd-component-library302.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library302.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"sd-component-library302.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,11 +1,6 @@
|
|
|
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;
|
|
8
|
-
}
|
|
1
|
+
const a = {
|
|
2
|
+
disabled: !1
|
|
3
|
+
};
|
|
9
4
|
export {
|
|
10
5
|
a as default
|
|
11
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library303.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"sd-component-library303.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,8 +1,22 @@
|
|
|
1
|
-
import e from "./sd-component-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./sd-component-library289.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
|
+
})]);
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
n as timeoutsShape
|
|
7
21
|
};
|
|
8
22
|
//# sourceMappingURL=sd-component-library304.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library304.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"sd-component-library304.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library305.js","sources":["../node_modules/react-transition-group/esm/
|
|
1
|
+
{"version":3,"file":"sd-component-library305.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,22 +1,5 @@
|
|
|
1
|
-
|
|
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
|
-
})]);
|
|
1
|
+
var r = {};
|
|
19
2
|
export {
|
|
20
|
-
|
|
3
|
+
r as __exports
|
|
21
4
|
};
|
|
22
5
|
//# sourceMappingURL=sd-component-library306.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library306.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library306.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library307.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library307.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,61 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { j as x } from "./sd-component-library197.js";
|
|
2
|
+
import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library91.js";
|
|
3
|
+
const j = (p) => {
|
|
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",
|
|
17
19
|
{
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
]
|
|
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
|
|
36
22
|
}
|
|
37
23
|
);
|
|
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
24
|
};
|
|
58
25
|
export {
|
|
59
|
-
|
|
26
|
+
j as BaseOutlineArc
|
|
60
27
|
};
|
|
61
28
|
//# sourceMappingURL=sd-component-library309.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library309.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library309.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,54 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { j as t } from "./sd-component-library197.js";
|
|
2
|
+
import x from "react";
|
|
3
|
+
import u from "./sd-component-library196.js";
|
|
4
|
+
import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-library217.js";
|
|
5
|
+
import { OutlineMeterRange as M } from "./sd-component-library221.js";
|
|
6
|
+
import { LabelPointer as b } from "./sd-component-library322.js";
|
|
7
|
+
const A = x.forwardRef(
|
|
8
|
+
(e, r) => {
|
|
9
|
+
const {
|
|
10
|
+
segmented: o,
|
|
11
|
+
diameter: n,
|
|
12
|
+
arc: a,
|
|
13
|
+
totalRanges: i,
|
|
14
|
+
distanceBetweenRanges: s,
|
|
15
|
+
start: m,
|
|
16
|
+
end: c,
|
|
17
|
+
idx: d,
|
|
18
|
+
hideLabels: l,
|
|
19
|
+
isMatchedRange: g
|
|
20
|
+
} = e, f = !o, R = n / 2, { rangeArcMiddle: h } = p(
|
|
21
|
+
a,
|
|
22
|
+
i,
|
|
23
|
+
s,
|
|
24
|
+
d,
|
|
25
|
+
m,
|
|
26
|
+
c
|
|
27
|
+
);
|
|
28
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
29
|
+
/* @__PURE__ */ t.jsx(
|
|
30
|
+
M,
|
|
31
|
+
{
|
|
32
|
+
...e,
|
|
33
|
+
hideLabels: !0,
|
|
34
|
+
connected: f,
|
|
35
|
+
ref: r
|
|
19
36
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
37
|
+
),
|
|
38
|
+
!l && !g && /* @__PURE__ */ t.jsx(
|
|
39
|
+
b,
|
|
40
|
+
{
|
|
41
|
+
...e,
|
|
42
|
+
radius: R,
|
|
43
|
+
color: u.colors.cl_lightGrey,
|
|
44
|
+
alpha: h,
|
|
45
|
+
horizontal: j(e)
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
50
|
+
);
|
|
26
51
|
export {
|
|
27
|
-
|
|
52
|
+
A as SmileyMeterRange
|
|
28
53
|
};
|
|
29
54
|
//# sourceMappingURL=sd-component-library310.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library310.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library310.js","sources":["../src/components/meters/smiley-meter-v2/partials/smiley-meter-range/smiley-meter-range.tsx"],"sourcesContent":["import React from \"react\";\n\nimport theme from \"../../../../../core/theme\";\nimport { LabelPointer } from \"../../../common-outline-meter-partials\";\nimport { OutlineMeterRange } from \"../../../outline-meter/partials/outline-meter-range\";\nimport { getIsHorizontal, getRangeProperties } from \"../../utils\";\nimport { SmileyMeterRangeProps as Props } from \"./interfaces\";\n\nexport const SmileyMeterRange = React.forwardRef<SVGCircleElement, Props>(\n (props, pointRef) => {\n const {\n segmented,\n diameter,\n arc,\n totalRanges,\n distanceBetweenRanges,\n start,\n end,\n idx,\n hideLabels,\n isMatchedRange,\n } = props;\n\n const needConnection = !segmented;\n\n const radius = diameter / 2;\n\n const { rangeArcMiddle: alpha } = getRangeProperties(\n arc,\n totalRanges,\n distanceBetweenRanges,\n idx,\n start,\n end\n );\n\n return (\n <>\n <OutlineMeterRange\n {...props}\n hideLabels\n connected={needConnection}\n ref={pointRef}\n />\n\n {!hideLabels && !isMatchedRange && (\n <LabelPointer\n {...props}\n radius={radius}\n color={theme.colors.cl_lightGrey}\n alpha={alpha}\n horizontal={getIsHorizontal(props)}\n />\n )}\n </>\n );\n }\n);\n"],"names":["SmileyMeterRange","React","props","pointRef","segmented","diameter","arc","totalRanges","distanceBetweenRanges","start","end","idx","hideLabels","isMatchedRange","needConnection","radius","alpha","getRangeProperties","jsxs","Fragment","jsx","OutlineMeterRange","LabelPointer","theme","getIsHorizontal"],"mappings":";;;;;;AAQO,MAAMA,IAAmBC,EAAM;AAAA,EACpC,CAACC,GAAOC,MAAa;AACb,UAAA;AAAA,MACJ,WAAAC;AAAA,MACA,UAAAC;AAAA,MACA,KAAAC;AAAA,MACA,aAAAC;AAAA,MACA,uBAAAC;AAAA,MACA,OAAAC;AAAA,MACA,KAAAC;AAAA,MACA,KAAAC;AAAA,MACA,YAAAC;AAAA,MACA,gBAAAC;AAAA,IACE,IAAAX,GAEEY,IAAiB,CAACV,GAElBW,IAASV,IAAW,GAEpB,EAAE,gBAAgBW,EAAA,IAAUC;AAAA,MAChCX;AAAA,MACAC;AAAA,MACAC;AAAA,MACAG;AAAA,MACAF;AAAA,MACAC;AAAA,IAAA;AAGF,WAEIQ,gBAAAA,EAAA,KAAAC,YAAA,EAAA,UAAA;AAAA,MAAAC,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACE,GAAGnB;AAAA,UACJ,YAAU;AAAA,UACV,WAAWY;AAAA,UACX,KAAKX;AAAA,QAAA;AAAA,MACP;AAAA,MAEC,CAACS,KAAc,CAACC,KACfO,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACE,GAAGpB;AAAA,UACJ,QAAAa;AAAA,UACA,OAAOQ,EAAM,OAAO;AAAA,UACpB,OAAAP;AAAA,UACA,YAAYQ,EAAgBtB,CAAK;AAAA,QAAA;AAAA,MACnC;AAAA,IAEJ,EAAA,CAAA;AAAA,EAEJ;AACF;"}
|