@robotical/webapp-types 3.14.45 → 3.14.47
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.
|
@@ -51,6 +51,8 @@ import modalState from "../../../state-observables/modal/ModalState";
|
|
|
51
51
|
import styles from "./styles.module.css";
|
|
52
52
|
import { HiOutlineLightBulb } from "react-icons/hi";
|
|
53
53
|
import { MdQrCode } from "react-icons/md";
|
|
54
|
+
import { ReactComponent as BluetoothSVG } from "../../../assets/configuration/bluetooth.svg";
|
|
55
|
+
import { MAIN_BLUE } from "../../../styles/colors";
|
|
54
56
|
//@ts-ignore
|
|
55
57
|
import { Scanner, centerText } from '@yudiel/react-qr-scanner';
|
|
56
58
|
import { ConnManager } from "@robotical/roboticaljs";
|
|
@@ -110,7 +112,7 @@ export default function LEDLightsOrQRVerificationModal() {
|
|
|
110
112
|
return [2 /*return*/];
|
|
111
113
|
});
|
|
112
114
|
}); };
|
|
113
|
-
return (_jsxs("div", __assign({ className: styles.container }, { children: [!isButtonToConnectVisible ? _jsx("div", __assign({ className: styles.cards }, { children: options.map(function (_a) {
|
|
115
|
+
return (_jsxs("div", __assign({ className: styles.container }, { children: [_jsxs("div", __assign({ className: styles.bluetoothNotice }, { children: [_jsx(BluetoothSVG, { className: styles.bluetoothIcon, fill: MAIN_BLUE, "aria-hidden": "true", focusable: "false" }), _jsx("span", __assign({ className: styles.bluetoothText }, { children: t("configuration_screen.bluetooth") }))] })), !isButtonToConnectVisible ? _jsx("div", __assign({ className: styles.cards }, { children: options.map(function (_a) {
|
|
114
116
|
var id = _a.id, title = _a.title, subtitle = _a.subtitle, icon = _a.icon;
|
|
115
117
|
return (_jsxs("div", __assign({ className: qrSelected && id === 'qr' ? [styles.card, styles.qrselected].join(" ") : styles.card, onClick: function () { return handleSelect(id); } }, { children: [_jsx("div", __assign({ className: styles.icon }, { children: icon })), _jsx("h3", __assign({ className: styles.title }, { children: title })), _jsx("p", __assign({ className: styles.subtitle }, { children: subtitle }))] }), id));
|
|
116
118
|
}) })) :
|
package/dist-types/src/i18n.js
CHANGED
|
@@ -272,7 +272,11 @@ var resources = {
|
|
|
272
272
|
"section_title": "Current contributors",
|
|
273
273
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
274
274
|
"language_arabic": "Arabic",
|
|
275
|
+
"language_bulgarian": "Bulgarian",
|
|
276
|
+
"language_dutch": "Dutch",
|
|
275
277
|
"arabic_note": "Arabic translations and localisation support.",
|
|
278
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
279
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
276
280
|
"footer_note": "More credits coming soon as we add languages.",
|
|
277
281
|
"close": "Back to help"
|
|
278
282
|
},
|
|
@@ -287,7 +291,7 @@ var resources = {
|
|
|
287
291
|
"activities": "Activities",
|
|
288
292
|
"games": "Games",
|
|
289
293
|
"home": "Home",
|
|
290
|
-
"not_connected_robot_msg_for_configuration_page": "Oops! It looks like you’re not connected to a robot. Connect to a robot to access the configuration page"
|
|
294
|
+
"not_connected_robot_msg_for_configuration_page": "Oops! It looks like you’re not connected to a robot. Connect to a robot via bluetooth to access the configuration page"
|
|
291
295
|
},
|
|
292
296
|
"report_issue": {
|
|
293
297
|
"app_issue_desc": "Report an application issue.",
|
|
@@ -636,7 +640,11 @@ var resources = {
|
|
|
636
640
|
"section_title": "Current contributors",
|
|
637
641
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
638
642
|
"language_arabic": "Arabic",
|
|
643
|
+
"language_bulgarian": "Bulgarian",
|
|
644
|
+
"language_dutch": "Dutch",
|
|
639
645
|
"arabic_note": "Arabic translations and localisation support.",
|
|
646
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
647
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
640
648
|
"footer_note": "More credits coming soon as we add languages.",
|
|
641
649
|
"close": "Back to help"
|
|
642
650
|
},
|
|
@@ -1000,7 +1008,11 @@ var resources = {
|
|
|
1000
1008
|
"section_title": "Current contributors",
|
|
1001
1009
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
1002
1010
|
"language_arabic": "Arabic",
|
|
1011
|
+
"language_bulgarian": "Bulgarian",
|
|
1012
|
+
"language_dutch": "Dutch",
|
|
1003
1013
|
"arabic_note": "Arabic translations and localisation support.",
|
|
1014
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
1015
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
1004
1016
|
"footer_note": "More credits coming soon as we add languages.",
|
|
1005
1017
|
"close": "Back to help"
|
|
1006
1018
|
},
|
|
@@ -1364,7 +1376,11 @@ var resources = {
|
|
|
1364
1376
|
"section_title": "Current contributors",
|
|
1365
1377
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
1366
1378
|
"language_arabic": "Arabic",
|
|
1379
|
+
"language_bulgarian": "Bulgarian",
|
|
1380
|
+
"language_dutch": "Dutch",
|
|
1367
1381
|
"arabic_note": "Arabic translations and localisation support.",
|
|
1382
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
1383
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
1368
1384
|
"footer_note": "More credits coming soon as we add languages.",
|
|
1369
1385
|
"close": "Back to help"
|
|
1370
1386
|
},
|
|
@@ -1728,7 +1744,11 @@ var resources = {
|
|
|
1728
1744
|
"section_title": "Current contributors",
|
|
1729
1745
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
1730
1746
|
"language_arabic": "Arabic",
|
|
1747
|
+
"language_bulgarian": "Bulgarian",
|
|
1748
|
+
"language_dutch": "Dutch",
|
|
1731
1749
|
"arabic_note": "Arabic translations and localisation support.",
|
|
1750
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
1751
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
1732
1752
|
"footer_note": "More credits coming soon as we add languages.",
|
|
1733
1753
|
"close": "Back to help"
|
|
1734
1754
|
},
|
|
@@ -2092,7 +2112,11 @@ var resources = {
|
|
|
2092
2112
|
"section_title": "Current contributors",
|
|
2093
2113
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
2094
2114
|
"language_arabic": "Arabic",
|
|
2115
|
+
"language_bulgarian": "Bulgarian",
|
|
2116
|
+
"language_dutch": "Dutch",
|
|
2095
2117
|
"arabic_note": "Arabic translations and localisation support.",
|
|
2118
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
2119
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
2096
2120
|
"footer_note": "More credits coming soon as we add languages.",
|
|
2097
2121
|
"close": "Back to help"
|
|
2098
2122
|
},
|
|
@@ -2456,7 +2480,11 @@ var resources = {
|
|
|
2456
2480
|
"section_title": "Current contributors",
|
|
2457
2481
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
2458
2482
|
"language_arabic": "Arabic",
|
|
2483
|
+
"language_bulgarian": "Bulgarian",
|
|
2484
|
+
"language_dutch": "Dutch",
|
|
2459
2485
|
"arabic_note": "Arabic translations and localisation support.",
|
|
2486
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
2487
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
2460
2488
|
"footer_note": "More credits coming soon as we add languages.",
|
|
2461
2489
|
"close": "Back to help"
|
|
2462
2490
|
},
|
|
@@ -2820,7 +2848,11 @@ var resources = {
|
|
|
2820
2848
|
"section_title": "Current contributors",
|
|
2821
2849
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
2822
2850
|
"language_arabic": "Arabic",
|
|
2851
|
+
"language_bulgarian": "Bulgarian",
|
|
2852
|
+
"language_dutch": "Dutch",
|
|
2823
2853
|
"arabic_note": "Arabic translations and localisation support.",
|
|
2854
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
2855
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
2824
2856
|
"footer_note": "More credits coming soon as we add languages.",
|
|
2825
2857
|
"close": "Back to help"
|
|
2826
2858
|
},
|
|
@@ -3184,7 +3216,11 @@ var resources = {
|
|
|
3184
3216
|
"section_title": "Current contributors",
|
|
3185
3217
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
3186
3218
|
"language_arabic": "Arabic",
|
|
3219
|
+
"language_bulgarian": "Bulgarian",
|
|
3220
|
+
"language_dutch": "Dutch",
|
|
3187
3221
|
"arabic_note": "Arabic translations and localisation support.",
|
|
3222
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
3223
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
3188
3224
|
"footer_note": "More credits coming soon as we add languages.",
|
|
3189
3225
|
"close": "Back to help"
|
|
3190
3226
|
},
|
|
@@ -3548,7 +3584,11 @@ var resources = {
|
|
|
3548
3584
|
"section_title": "Current contributors",
|
|
3549
3585
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
3550
3586
|
"language_arabic": "Arabic",
|
|
3587
|
+
"language_bulgarian": "Bulgarian",
|
|
3588
|
+
"language_dutch": "Dutch",
|
|
3551
3589
|
"arabic_note": "Arabic translations and localisation support.",
|
|
3590
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
3591
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
3552
3592
|
"footer_note": "More credits coming soon as we add languages.",
|
|
3553
3593
|
"close": "Back to help"
|
|
3554
3594
|
},
|
|
@@ -3912,7 +3952,11 @@ var resources = {
|
|
|
3912
3952
|
"section_title": "Current contributors",
|
|
3913
3953
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
3914
3954
|
"language_arabic": "Arabic",
|
|
3955
|
+
"language_bulgarian": "Bulgarian",
|
|
3956
|
+
"language_dutch": "Dutch",
|
|
3915
3957
|
"arabic_note": "Arabic translations and localisation support.",
|
|
3958
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
3959
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
3916
3960
|
"footer_note": "More credits coming soon as we add languages.",
|
|
3917
3961
|
"close": "Back to help"
|
|
3918
3962
|
},
|
|
@@ -4276,7 +4320,11 @@ var resources = {
|
|
|
4276
4320
|
"section_title": "Current contributors",
|
|
4277
4321
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
4278
4322
|
"language_arabic": "Arabic",
|
|
4323
|
+
"language_bulgarian": "Bulgarian",
|
|
4324
|
+
"language_dutch": "Dutch",
|
|
4279
4325
|
"arabic_note": "Arabic translations and localisation support.",
|
|
4326
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
4327
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
4280
4328
|
"footer_note": "More credits coming soon as we add languages.",
|
|
4281
4329
|
"close": "Back to help"
|
|
4282
4330
|
},
|
|
@@ -4640,7 +4688,11 @@ var resources = {
|
|
|
4640
4688
|
"section_title": "Current contributors",
|
|
4641
4689
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
4642
4690
|
"language_arabic": "Arabic",
|
|
4691
|
+
"language_bulgarian": "Bulgarian",
|
|
4692
|
+
"language_dutch": "Dutch",
|
|
4643
4693
|
"arabic_note": "Arabic translations and localisation support.",
|
|
4694
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
4695
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
4644
4696
|
"footer_note": "More credits coming soon as we add languages.",
|
|
4645
4697
|
"close": "Back to help"
|
|
4646
4698
|
},
|
|
@@ -5004,7 +5056,11 @@ var resources = {
|
|
|
5004
5056
|
"section_title": "Current contributors",
|
|
5005
5057
|
"section_hint": "If you've helped translate, let us know so we can add you here.",
|
|
5006
5058
|
"language_arabic": "Arabic",
|
|
5059
|
+
"language_bulgarian": "Bulgarian",
|
|
5060
|
+
"language_dutch": "Dutch",
|
|
5007
5061
|
"arabic_note": "Arabic translations and localisation support.",
|
|
5062
|
+
"bulgarian_note": "Bulgarian translations and localisation support.",
|
|
5063
|
+
"dutch_note": "Dutch translations and localisation support.",
|
|
5008
5064
|
"footer_note": "More credits coming soon as we add languages.",
|
|
5009
5065
|
"close": "Back to help"
|
|
5010
5066
|
},
|