@nuralogix.ai/web-measurement-embedded-app 0.1.0-alpha.9 → 0.1.0-beta.2
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/README.md +140 -86
- package/dist/app.css +66 -52
- package/dist/app.mjs +99 -89
- package/dist/assets/extraction/extraction_wasm_0.1.0-beta.1.json +1 -0
- package/dist/assets/extraction_worker_0.1.0-beta.1_js.json +1 -0
- package/dist/assets/facetracker_worker_0.1.0-beta.1_js.json +1 -0
- package/dist/assets/models/detectorModel_bin.json +1 -0
- package/dist/assets/models/detectorModel_json.json +1 -0
- package/dist/assets/models/landmarkModel_bin.json +1 -0
- package/dist/assets/models/landmarkModel_json.json +1 -0
- package/dist/language/strings.de.json +9 -12
- package/dist/language/strings.en.json +14 -27
- package/dist/language/strings.es.json +9 -12
- package/dist/language/strings.fr.json +7 -24
- package/dist/language/strings.it.json +11 -14
- package/dist/language/strings.ja.json +10 -13
- package/dist/language/strings.pt-BR.json +25 -0
- package/dist/language/strings.pt.json +9 -12
- package/dist/language/strings.zh.json +25 -0
- package/dist/stylex.css +30 -18
- package/lib/index.d.ts +52 -6
- package/lib/index.mjs +739 -1
- package/package.json +4 -2
- package/dist/assets/extraction/extraction_wasm_0.1.0-alpha.25.json +0 -1
- package/dist/assets/extraction_worker_0.1.0-alpha.25_js.json +0 -1
- package/dist/assets/facetracker_worker_0.1.0-alpha.25_js.json +0 -1
- package/dist/assets/taskVision/model/face_landmarker.task +0 -0
- package/dist/assets/taskVision/wasm/vision_wasm_internal_js.json +0 -1
- package/dist/assets/taskVision/wasm/vision_wasm_internal_wasm.json +0 -1
- package/dist/assets/taskVision/wasm/vision_wasm_nosimd_internal_js.json +0 -1
- package/dist/assets/taskVision/wasm/vision_wasm_nosimd_internal_wasm.json +0 -1
- package/dist/language/strings.br.json +0 -28
- package/dist/language/strings.cn.json +0 -28
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileName":"landmarkModel_json.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x4S/G4LWOVq/UxQvs8mEllBgtxBUnhg/JY0SMxZhL6wvJ/fPhENmwCVP8vYkkpGs3/70hSHlZjpzsuhpjjtnZ9fhaJgjBC+3UiGiFgHUQCACDfA3h7UOZrkUbQhx9xwAcOgCnjEIizdOW2u/9HB5MvWwzt+ZwBj4sUg9t9275s8mGRMOv3oYxGuBPUSL44oIDbXHaZ4F//931BgcUa5rg7AHwIIA61Rt33LMQFxADiAKIBUYBIQAQK+yB//KSs5+fbDZndkygMRwyA9eo0bCbprAAEwBS3AM44Dc7kWABgIgoHAoAcpgEZ3ZYxuBlU5jwQFgaEKXOYRDAwYCCYsg1TDAYKBg4cYEv49CP7Vw4IDgQODA4GHAQcLOC00CVu+9/d/6PDzz/638zsqs9lLMgFtjILfPrUbunptrJC/uDyWJ97xMM3y0i2qiCvnGEScAWYwhQ4GCIekfF5UETcgmnDIx6GOxPMAdwgmIzz53gbliaCEeMWdvLIeIsdghIDZgH3APPwGPDcKAHr9d6vXvHyLeI8YsA6oABiAiiBWAAqIDaAGogHOAcBJhFQEogLnEWIEcB9mqJwIgSy8jyvTMHkqbiCTOVCf44+LTYjXuBc4JUkAarc5+MaIFICcQG0ADzFIpgDwCh7FhTYKwE="}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "Die Kamera kann nicht gestartet werden. Stellen Sie sicher, dass die Kamera angeschlossen ist und nicht von einer anderen Anwendung verwendet wird.",
|
|
3
2
|
"CENTER_YOUR_FACE": "Zentrieren Sie Ihr Gesicht",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "Für Messungen ist ein Kamerazugriff erforderlich. Bitte erteilen Sie die Kameraerlaubnis und versuchen Sie es erneut.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "Vor dem Starten einer Messung sind Profilinformationen erforderlich. Bitte vervollständigen Sie Ihre Profileinrichtung.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Während der Messungsverarbeitung ist ein technischer Fehler aufgetreten. Bitte versuchen Sie es erneut oder wenden Sie sich an den Support, wenn das Problem weiterhin besteht.",
|
|
4
6
|
"FACE_NOT_DETECTED": "Gesicht nicht erkannt",
|
|
5
|
-
"
|
|
6
|
-
"HELP_CAMERA": "Richten Sie Ihr Gesicht zur Kamera aus und positionieren Sie es während der gesamten Messung innerhalb des Kreises.",
|
|
7
|
-
"HELP_STAY": "Bleiben Sie während der Messung für 30 Sekunden still, bis die Messung abgeschlossen ist.",
|
|
8
|
-
"HELP_TITLE": "Hilfe",
|
|
7
|
+
"HOLD_STILL": "Halten Sie still",
|
|
9
8
|
"LOOK_DOWN": "Schauen Sie nach unten",
|
|
10
9
|
"LOOK_UP": "Schauen Sie nach oben",
|
|
11
|
-
"MEASURE_INSTRUCTION1": "Bitte halten Sie still",
|
|
12
|
-
"MEASURE_INSTRUCTION2": "Bereit zur Messung",
|
|
13
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Bitte zentrieren Sie Ihr Gesicht im Kreis",
|
|
14
10
|
"MOVE_BACK": "Gehen Sie zurück",
|
|
15
11
|
"MOVE_CLOSER": "Gehen Sie näher heran",
|
|
12
|
+
"NO_DEVICES_FOUND": "Keine Kamera-Geräte gefunden",
|
|
16
13
|
"PLEASE_WAIT": "Bitte warten, die Messung beginnt in Kürze…",
|
|
17
14
|
"SELECT_CAMERA": "Wählen Sie eine Kamera, um zu beginnen",
|
|
15
|
+
"STARTING": "Wird gestartet...",
|
|
18
16
|
"START_CAMERA": "Kamera starten",
|
|
19
17
|
"START_MEASUREMENT": "Messung starten",
|
|
18
|
+
"STOP_CAMERA": "Kamera stoppen",
|
|
19
|
+
"STOP_MEASUREMENT": "Messung stoppen",
|
|
20
20
|
"TILT_YOUR_FACE_LEFT": "Neigen Sie Ihr Gesicht nach links",
|
|
21
21
|
"TILT_YOUR_FACE_RIGHT": "Neigen Sie Ihr Gesicht nach rechts",
|
|
22
22
|
"TURN_LEFT": "Drehen Sie den Kopf nach links",
|
|
23
23
|
"TURN_RIGHT": "Drehen Sie den Kopf nach rechts",
|
|
24
|
-
"WAITING_FOR_RESULTS": "Warten auf Ergebnisse"
|
|
25
|
-
"WARNING_CONSTRAINT_DISTANCE": "Das Gesicht ist zu weit entfernt\nBitte bewegen Sie sich näher zur Kamera",
|
|
26
|
-
"WARNING_CONSTRAINT_GAZE": "Bitte schauen Sie direkt in die Kamera",
|
|
27
|
-
"WARNING_FACE_NOT_DETECTED": "Gesicht nicht erkannt. Zentrieren Sie Ihr Gesicht im Rahmen, bevor Sie beginnen."
|
|
24
|
+
"WAITING_FOR_RESULTS": "Warten auf Ergebnisse"
|
|
28
25
|
}
|
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "Can not start the camera, please make sure that the camera is connected and it is not being used by another application.",
|
|
3
|
-
"CANCEL": "Cancel",
|
|
4
2
|
"CENTER_YOUR_FACE": "Center your face",
|
|
5
|
-
"ERROR_TAB_SWITCHED_OR_WINDOW_MINIMIZED": "Measurement failed because the tab was switched or the browser window was minimized. Please ensure the tab remains open and active.",
|
|
6
3
|
"ERR_CAMERA_PERMISSION_DENIED": "Camera access is required to take measurements. Please grant camera permission and try again.",
|
|
7
|
-
"ERR_FACE_NONE": "Please keep your face centred within the outline throughout the measurement",
|
|
8
|
-
"ERR_LOADING_CONFIGURATIONS": "You cannot access this service due to a configuration loading error. Please contact your system administrator for assistance.",
|
|
9
|
-
"ERR_MSG_SNR": "The blood flow measurement was not reliable.\nPlease try to allow the light to fall evenly across your face while holding still",
|
|
10
4
|
"ERR_PROFILE_INFO_NOT_SET": "Profile information is required before starting a measurement. Please complete your profile setup.",
|
|
11
|
-
"ERR_TAB_SWITCHED_OR_WINDOW_MINIMIZED": "Measurement failed because the tab was switched or the browser window was minimized. Please ensure the tab remains open and active.",
|
|
12
5
|
"ERR_WORKER_ERROR": "A technical error occurred during measurement processing. Please try again or contact support if the issue persists.",
|
|
13
|
-
"FACE_NOT_DETECTED": "Face
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Please center your face in the shape and wait while detecting faces",
|
|
21
|
-
"MOVE_BACK": "Move Back",
|
|
22
|
-
"MOVE_CLOSER": "Move Closer",
|
|
23
|
-
"PLEASE_HOLD_STILL": "Please hold still",
|
|
6
|
+
"FACE_NOT_DETECTED": "Face not detected",
|
|
7
|
+
"HOLD_STILL": "Hold still",
|
|
8
|
+
"LOOK_DOWN": "Look down",
|
|
9
|
+
"LOOK_UP": "Look up",
|
|
10
|
+
"MOVE_BACK": "Move back",
|
|
11
|
+
"MOVE_CLOSER": "Move closer",
|
|
12
|
+
"NO_DEVICES_FOUND": "No camera devices found",
|
|
24
13
|
"PLEASE_WAIT": "Please wait, measurement will start soon…",
|
|
25
|
-
"READY_TO_MEASURE": "Ready to measure",
|
|
26
14
|
"SELECT_CAMERA": "Select a camera to begin",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
15
|
+
"STARTING": "Starting...",
|
|
16
|
+
"START_CAMERA": "Start camera",
|
|
17
|
+
"START_MEASUREMENT": "Start measurement",
|
|
29
18
|
"STOP_CAMERA": "Stop camera",
|
|
19
|
+
"STOP_MEASUREMENT": "Stop measurement",
|
|
30
20
|
"TILT_YOUR_FACE_LEFT": "Tilt your face left",
|
|
31
21
|
"TILT_YOUR_FACE_RIGHT": "Tilt your face right",
|
|
32
|
-
"TURN_LEFT": "Turn
|
|
33
|
-
"TURN_RIGHT": "Turn
|
|
34
|
-
"WAITING_FOR_RESULTS": "Waiting for results"
|
|
35
|
-
"WARNING_CONSTRAINT_DISTANCE": "The face is too far. Please try to move closer to the camera",
|
|
36
|
-
"WARNING_CONSTRAINT_GAZE": "Please look directly into the camera",
|
|
37
|
-
"WARNING_FACE_NOT_DETECTED": "Face not detected. Center your face in the frame before starting."
|
|
22
|
+
"TURN_LEFT": "Turn left",
|
|
23
|
+
"TURN_RIGHT": "Turn right",
|
|
24
|
+
"WAITING_FOR_RESULTS": "Waiting for results"
|
|
38
25
|
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "No se puede iniciar la cámara, asegúrese de que la cámara esté conectada y de que no la esté usando otra aplicación.",
|
|
3
2
|
"CENTER_YOUR_FACE": "Centre su rostro",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "Se requiere acceso a la cámara para tomar medidas. Por favor, conceda permiso de cámara e inténtelo de nuevo.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "Se requiere información de perfil antes de iniciar una medición. Por favor, complete la configuración de su perfil.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Se produjo un error técnico durante el procesamiento de la medición. Inténtelo de nuevo o contacte con soporte si el problema persiste.",
|
|
4
6
|
"FACE_NOT_DETECTED": "Cara no detectada",
|
|
5
|
-
"
|
|
6
|
-
"HELP_CAMERA": "Mire a la cámara y sitúe su cara dentro del círculo durante toda la medición.",
|
|
7
|
-
"HELP_STAY": "Una vez comenzada la medición, permanezca quieto/a durante 30 segundos hasta que se haya completado la medición.",
|
|
8
|
-
"HELP_TITLE": "Ayuda",
|
|
7
|
+
"HOLD_STILL": "Permanezca quieto",
|
|
9
8
|
"LOOK_DOWN": "Mire hacia abajo",
|
|
10
9
|
"LOOK_UP": "Mire hacia arriba",
|
|
11
|
-
"MEASURE_INSTRUCTION1": "No se mueva.",
|
|
12
|
-
"MEASURE_INSTRUCTION2": "Todo está listo para comenzar\nla medición.",
|
|
13
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Ubique su rostro en el centro del círculo.",
|
|
14
10
|
"MOVE_BACK": "Aléjese",
|
|
15
11
|
"MOVE_CLOSER": "Acérquese",
|
|
12
|
+
"NO_DEVICES_FOUND": "No se encontraron cámaras",
|
|
16
13
|
"PLEASE_WAIT": "Por favor, espere, la medición comenzará pronto…",
|
|
17
14
|
"SELECT_CAMERA": "Para comenzar, seleccione una cámara",
|
|
15
|
+
"STARTING": "Iniciando...",
|
|
18
16
|
"START_CAMERA": "Iniciar la cámara",
|
|
19
17
|
"START_MEASUREMENT": "Comenzar medición",
|
|
18
|
+
"STOP_CAMERA": "Detener cámara",
|
|
19
|
+
"STOP_MEASUREMENT": "Detener medición",
|
|
20
20
|
"TILT_YOUR_FACE_LEFT": "Incline el rostro hacia la izquierda",
|
|
21
21
|
"TILT_YOUR_FACE_RIGHT": "Incline el rostro hacia la derecha",
|
|
22
22
|
"TURN_LEFT": "Gire a la izquierda",
|
|
23
23
|
"TURN_RIGHT": "Gire a la derecha",
|
|
24
|
-
"WAITING_FOR_RESULTS": "Esperando resultados."
|
|
25
|
-
"WARNING_CONSTRAINT_DISTANCE": "Su cara está demasiado lejos\nAcérquese más a la cámara",
|
|
26
|
-
"WARNING_CONSTRAINT_GAZE": "Por favor, mire directamente a la cámara",
|
|
27
|
-
"WARNING_FACE_NOT_DETECTED": "Cara no detectada. Centre su cara en el marco antes de comenzar."
|
|
24
|
+
"WAITING_FOR_RESULTS": "Esperando resultados."
|
|
28
25
|
}
|
|
@@ -1,42 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "Impossible de démarrer la caméra. Veuillez vous assurer que la caméra est connectée et qu’elle n’est pas utilisée par une autre application.",
|
|
3
|
-
"CANCEL": "Annuler",
|
|
4
2
|
"CENTER_YOUR_FACE": "Centrez votre visage",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"ERR_MSG_SNR": "Le mesure du flux sanguin n'est pas fiable.\nVeuillez rester immobile et ajuster l'éclairage afin que la lumière soit uniformément répartie sur votre visage",
|
|
9
|
-
"ERR_TAB_SWITCHED_OR_WINDOW_MINIMIZED": "La mesure a échoué car l’onglet a été changé ou la fenêtre du navigateur a été minimisée. Veuillez vous assurer que l’onglet reste ouvert et actif.",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "L'accès à la caméra est requis pour effectuer des mesures. Veuillez accorder l'autorisation de la caméra et réessayer.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "Les informations de profil sont requises avant de commencer une mesure. Veuillez compléter la configuration de votre profil.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Une erreur technique s'est produite pendant le traitement de la mesure. Veuillez réessayer ou contacter le support si le problème persiste.",
|
|
10
6
|
"FACE_NOT_DETECTED": "Visage non détecté",
|
|
11
|
-
"
|
|
12
|
-
"HELP_CAMERA": "Veuillez faire face à l'appareil photo et positionner votre visage dans le cercle pendant toute la durée de la mesure.",
|
|
13
|
-
"HELP_STAY": "Lorsque la mesure a commencé, gardez la même position pendant 30 secondes, jusqu'à la fin de l'opération.",
|
|
14
|
-
"HELP_TITLE": "Aide",
|
|
7
|
+
"HOLD_STILL": "Ne bougez pas",
|
|
15
8
|
"LOOK_DOWN": "Baissez les yeux",
|
|
16
9
|
"LOOK_UP": "Levez les yeux",
|
|
17
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Veuillez centrer votre visage dans le cercle",
|
|
18
10
|
"MOVE_BACK": "Reculez",
|
|
19
11
|
"MOVE_CLOSER": "Rapprochez-vous",
|
|
20
12
|
"NO_DEVICES_FOUND": "Aucun appareil détecté",
|
|
21
|
-
"PLEASE_HOLD_STILL": "Veuillez rester immobile",
|
|
22
13
|
"PLEASE_WAIT": "Veuillez patienter, la mesure va bientôt commencer…",
|
|
23
|
-
"READY_TO_MEASURE": "Prêt à mesurer",
|
|
24
14
|
"SELECT_CAMERA": "Sélectionner une caméra pour commencer",
|
|
15
|
+
"STARTING": "Démarrage...",
|
|
25
16
|
"START_CAMERA": "Démarrer la caméra",
|
|
26
17
|
"START_MEASUREMENT": "Démarrer la mesure",
|
|
27
18
|
"STOP_CAMERA": "Arrêter la caméra",
|
|
19
|
+
"STOP_MEASUREMENT": "Arrêter la mesure",
|
|
28
20
|
"TILT_YOUR_FACE_LEFT": "Inclinez votre visage vers la gauche",
|
|
29
21
|
"TILT_YOUR_FACE_RIGHT": "Inclinez votre visage vers la droite",
|
|
30
22
|
"TURN_LEFT": "Tournez la tête à gauche",
|
|
31
23
|
"TURN_RIGHT": "Tournez la tête à droite",
|
|
32
|
-
"WAITING_FOR_RESULTS": "Dans l
|
|
33
|
-
"WARNING_CONSTRAINT_DISTANCE": "Votre visage est trop éloigné. Essayez de vous rapprocher de la caméra",
|
|
34
|
-
"WARNING_CONSTRAINT_GAZE": "Veuillez regarder directement l'appareil photo",
|
|
35
|
-
"WARNING_FACE_NOT_DETECTED": "Visage non détecté. Centrez votre visage dans le cadre avant de commencer.",
|
|
36
|
-
"WEB_BTN_SELECT_CAMERA": "Sélectionner une caméra pour commencer",
|
|
37
|
-
"WEB_BTN_START_CAMERA": "Démarrer la caméra",
|
|
38
|
-
"WEB_CAMERA_PERMISSION_REQUIRED_TITLE": "Autorisation requise pour utiliser la caméra",
|
|
39
|
-
"WEB_CAMERA_START_ERROR": "Impossible de démarrer la caméra. Veuillez vous assurer que la caméra est connectée et qu’elle n’est pas utilisée par une autre application.",
|
|
40
|
-
"WEB_MEASURE_INSTRUCTIONS_NO_FACE": "Veuillez centrer votre visage dans le cercle",
|
|
41
|
-
"WEB_PLEASE_WAIT": "Veuillez patienter, la mesure va bientôt commencer…"
|
|
24
|
+
"WAITING_FOR_RESULTS": "Dans l'attente des résultats"
|
|
42
25
|
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "Impossibile avviare la fotocamera, assicurati che sia correttamente collegata e che non la stia utilizzando nessun'altra applicazione.",
|
|
3
2
|
"CENTER_YOUR_FACE": "Centra il viso",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "È richiesto l'accesso alla fotocamera per effettuare le misurazioni. Si prega di concedere l'autorizzazione della fotocamera e riprovare.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "Le informazioni del profilo sono necessarie prima di iniziare una misurazione. Si prega di completare la configurazione del profilo.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Si è verificato un errore tecnico durante l'elaborazione della misurazione. Si prega di riprovare o contattare l'assistenza se il problema persiste.",
|
|
4
6
|
"FACE_NOT_DETECTED": "Volto non rilevato",
|
|
5
|
-
"
|
|
6
|
-
"HELP_CAMERA": "Posizionarsi davanti alla fotocamera con il viso all'interno del cerchio per tutta la durata della misurazione.",
|
|
7
|
-
"HELP_STAY": "Iniziata la misurazione, rimanere in posizione per 30 secondi fino al completamento della misurazione.",
|
|
8
|
-
"HELP_TITLE": "Guida",
|
|
7
|
+
"HOLD_STILL": "Resta fermo",
|
|
9
8
|
"LOOK_DOWN": "Guarda in basso",
|
|
10
9
|
"LOOK_UP": "Guarda in alto",
|
|
11
|
-
"MEASURE_INSTRUCTION1": "Sei pregato di rimanere immobile",
|
|
12
|
-
"MEASURE_INSTRUCTION2": "Pronto per iniziare la misurazione",
|
|
13
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Centra il tuo volto nel cerchio",
|
|
14
10
|
"MOVE_BACK": "Fai un passo indietro",
|
|
15
11
|
"MOVE_CLOSER": "Avvicinati",
|
|
12
|
+
"NO_DEVICES_FOUND": "Nessuna fotocamera trovata",
|
|
16
13
|
"PLEASE_WAIT": "Per favore, aspetta, la misurazione inizierà presto…",
|
|
17
14
|
"SELECT_CAMERA": "Selezionare una fotocamera per iniziare",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
15
|
+
"STARTING": "Avvio in corso...",
|
|
16
|
+
"START_CAMERA": "Avviare fotocamera",
|
|
17
|
+
"START_MEASUREMENT": "Inizia misurazione",
|
|
18
|
+
"STOP_CAMERA": "Ferma fotocamera",
|
|
19
|
+
"STOP_MEASUREMENT": "Interrompi misurazione",
|
|
20
20
|
"TILT_YOUR_FACE_LEFT": "Inclina il viso a sinistra",
|
|
21
21
|
"TILT_YOUR_FACE_RIGHT": "Inclina il viso a destra",
|
|
22
22
|
"TURN_LEFT": "Gira a sinistra",
|
|
23
23
|
"TURN_RIGHT": "Gira a destra",
|
|
24
|
-
"WAITING_FOR_RESULTS": "In attesa dei risultati"
|
|
25
|
-
"WARNING_CONSTRAINT_DISTANCE": "Il tuo volto è troppo lontano\nPer favore avvicinati alla fotocamera",
|
|
26
|
-
"WARNING_CONSTRAINT_GAZE": "Per favore guarda direttamente in camera",
|
|
27
|
-
"WARNING_FACE_NOT_DETECTED": "Volto non rilevato. Centra il tuo volto nell'inquadratura prima di iniziare."
|
|
24
|
+
"WAITING_FOR_RESULTS": "In attesa dei risultati"
|
|
28
25
|
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "カメラを起動できません。カメラが接続されており、別のアプリケーションによって使用中でないことを確認してください。",
|
|
3
2
|
"CENTER_YOUR_FACE": "顔を中央に合わせてください",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "測定を行うにはカメラへのアクセスが必要です。カメラの許可を与えて、もう一度お試しください。",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "測定を開始する前にプロフィール情報が必要です。プロフィール設定を完了してください。",
|
|
5
|
+
"ERR_WORKER_ERROR": "測定処理中に技術的なエラーが発生しました。もう一度お試しいただくか、問題が解決しない場合はサポートにお問い合わせください。",
|
|
4
6
|
"FACE_NOT_DETECTED": "顔が検出されません",
|
|
5
|
-
"
|
|
6
|
-
"HELP_CAMERA": "カメラに顔を向け、測定中は顔が円の中に収まるように位置を合わせてください。",
|
|
7
|
-
"HELP_STAY": "測定が開始したら、測定が完了するまで30秒間は動かないでください。",
|
|
8
|
-
"HELP_TITLE": "ヘルプ",
|
|
7
|
+
"HOLD_STILL": "動かないでください",
|
|
9
8
|
"LOOK_DOWN": "下を見てください",
|
|
10
9
|
"LOOK_UP": "上を見てください",
|
|
11
|
-
"MEASURE_INSTRUCTION1": "身体を動かさないでください",
|
|
12
|
-
"MEASURE_INSTRUCTION2": "測定準備完了",
|
|
13
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "顔の位置を円の中心に合わせてください",
|
|
14
10
|
"MOVE_BACK": "後ろに下がってください",
|
|
15
11
|
"MOVE_CLOSER": "もう少し近づいてください",
|
|
12
|
+
"NO_DEVICES_FOUND": "利用可能なカメラデバイスが見つかりません",
|
|
16
13
|
"PLEASE_WAIT": "お待ちください、測定がまもなく開始されます…",
|
|
17
14
|
"SELECT_CAMERA": "カメラを選択して開始",
|
|
15
|
+
"STARTING": "開始中...",
|
|
18
16
|
"START_CAMERA": "カメラを起動",
|
|
19
|
-
"START_MEASUREMENT": "
|
|
17
|
+
"START_MEASUREMENT": "測定を開始",
|
|
18
|
+
"STOP_CAMERA": "カメラを停止",
|
|
19
|
+
"STOP_MEASUREMENT": "測定を停止",
|
|
20
20
|
"TILT_YOUR_FACE_LEFT": "顔を左に傾けてください",
|
|
21
21
|
"TILT_YOUR_FACE_RIGHT": "顔を右に傾けてください",
|
|
22
22
|
"TURN_LEFT": "左を向いてください",
|
|
23
23
|
"TURN_RIGHT": "右を向いてください",
|
|
24
|
-
"WAITING_FOR_RESULTS": "結果が出るまで待機しています"
|
|
25
|
-
"WARNING_CONSTRAINT_DISTANCE": "顔が離れすぎています\nカメラにもっと近付いてみてください",
|
|
26
|
-
"WARNING_CONSTRAINT_GAZE": "カメラの方を真っ直ぐ見てください",
|
|
27
|
-
"WARNING_FACE_NOT_DETECTED": "顔が検出されません。開始前にフレーム内で顔を中央に配置してください。"
|
|
24
|
+
"WAITING_FOR_RESULTS": "結果が出るまで待機しています"
|
|
28
25
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CENTER_YOUR_FACE": "Centralize seu rosto",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "É necessário acesso à câmera para realizar medições. Por favor, conceda permissão de câmera e tente novamente.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "Informações de perfil são necessárias antes de iniciar uma medição. Por favor, complete a configuração do seu perfil.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Ocorreu um erro técnico durante o processamento da medição. Por favor, tente novamente ou entre em contato com o suporte se o problema persistir.",
|
|
6
|
+
"FACE_NOT_DETECTED": "Rosto não detectado",
|
|
7
|
+
"HOLD_STILL": "Fique parado",
|
|
8
|
+
"LOOK_DOWN": "Olhe para baixo",
|
|
9
|
+
"LOOK_UP": "Olhe para cima",
|
|
10
|
+
"MOVE_BACK": "Afaste-se",
|
|
11
|
+
"MOVE_CLOSER": "Aproxime-se",
|
|
12
|
+
"NO_DEVICES_FOUND": "Nenhum dispositivo de câmera encontrado",
|
|
13
|
+
"PLEASE_WAIT": "Por favor, aguarde, a medição começará em breve…",
|
|
14
|
+
"SELECT_CAMERA": "Selecione uma câmera para começar",
|
|
15
|
+
"STARTING": "Iniciando...",
|
|
16
|
+
"START_CAMERA": "Iniciar a câmera",
|
|
17
|
+
"START_MEASUREMENT": "Começar medição",
|
|
18
|
+
"STOP_CAMERA": "Parar câmera",
|
|
19
|
+
"STOP_MEASUREMENT": "Parar medição",
|
|
20
|
+
"TILT_YOUR_FACE_LEFT": "Incline o rosto para a esquerda",
|
|
21
|
+
"TILT_YOUR_FACE_RIGHT": "Incline o rosto para a direita",
|
|
22
|
+
"TURN_LEFT": "Vire à esquerda",
|
|
23
|
+
"TURN_RIGHT": "Vire à direita",
|
|
24
|
+
"WAITING_FOR_RESULTS": "Aguardando resultados"
|
|
25
|
+
}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CAMERA_START_ERROR": "Não é possível iniciar a câmara, certifique-se de que a câmara está ligada e não está a ser utilizada por outra aplicação.",
|
|
3
2
|
"CENTER_YOUR_FACE": "Centre o seu rosto",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "É necessário acesso à câmara para realizar medições. Por favor, conceda permissão de câmara e tente novamente.",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "São necessárias informações de perfil antes de iniciar uma medição. Por favor, complete a configuração do seu perfil.",
|
|
5
|
+
"ERR_WORKER_ERROR": "Ocorreu um erro técnico durante o processamento da medição. Por favor, tente novamente ou contacte o suporte se o problema persistir.",
|
|
4
6
|
"FACE_NOT_DETECTED": "Rosto não detectado",
|
|
5
|
-
"
|
|
6
|
-
"HELP_CAMERA": "Olhe para a câmara e posicione o seu rosto dentro do círculo durante a medição.",
|
|
7
|
-
"HELP_STAY": "Assim que a medição começar, mantenha a sua posição durante 30 segundos até que a medição seja concluída.",
|
|
8
|
-
"HELP_TITLE": "Ajuda",
|
|
7
|
+
"HOLD_STILL": "Fique parado",
|
|
9
8
|
"LOOK_DOWN": "Olhe para baixo",
|
|
10
9
|
"LOOK_UP": "Olhe para cima",
|
|
11
|
-
"MEASURE_INSTRUCTION1": "Não se mexa",
|
|
12
|
-
"MEASURE_INSTRUCTION2": "Pronto para realizar a medição",
|
|
13
|
-
"MEASURE_INSTRUCTIONS_NO_FACE": "Centre a sua cara no círculo",
|
|
14
10
|
"MOVE_BACK": "Afaste-se",
|
|
15
11
|
"MOVE_CLOSER": "Aproxime-se",
|
|
12
|
+
"NO_DEVICES_FOUND": "Nenhum dispositivo de câmara encontrado",
|
|
16
13
|
"PLEASE_WAIT": "Por favor, espere, a medição começará em breve…",
|
|
17
14
|
"SELECT_CAMERA": "Selecionar câmara para começar",
|
|
15
|
+
"STARTING": "Iniciando...",
|
|
18
16
|
"START_CAMERA": "Iniciar câmara",
|
|
19
17
|
"START_MEASUREMENT": "Iniciar medição",
|
|
18
|
+
"STOP_CAMERA": "Parar câmera",
|
|
19
|
+
"STOP_MEASUREMENT": "Parar medição",
|
|
20
20
|
"TILT_YOUR_FACE_LEFT": "Incline o rosto para a esquerda",
|
|
21
21
|
"TILT_YOUR_FACE_RIGHT": "Incline o rosto para a direita",
|
|
22
22
|
"TURN_LEFT": "Vire à esquerda",
|
|
23
23
|
"TURN_RIGHT": "Vire à direita",
|
|
24
|
-
"WAITING_FOR_RESULTS": "À espera de resultados"
|
|
25
|
-
"WARNING_CONSTRAINT_DISTANCE": "O seu rosto está demasiado longe\nTente aproximar-se da câmara",
|
|
26
|
-
"WARNING_CONSTRAINT_GAZE": "Olhe diretamente para a câmara",
|
|
27
|
-
"WARNING_FACE_NOT_DETECTED": "Rosto não detectado. Centre o seu rosto na moldura antes de começar."
|
|
24
|
+
"WAITING_FOR_RESULTS": "À espera de resultados"
|
|
28
25
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CENTER_YOUR_FACE": "请将脸部置于中央",
|
|
3
|
+
"ERR_CAMERA_PERMISSION_DENIED": "需要摄像头访问权限才能进行测量。请授予摄像头权限并重试。",
|
|
4
|
+
"ERR_PROFILE_INFO_NOT_SET": "开始测量前需要个人资料信息。请完成您的个人资料设置。",
|
|
5
|
+
"ERR_WORKER_ERROR": "测量处理过程中发生技术错误。请重试,如果问题仍然存在,请联系支持人员。",
|
|
6
|
+
"FACE_NOT_DETECTED": "未检测到面部",
|
|
7
|
+
"HOLD_STILL": "请保持静止",
|
|
8
|
+
"LOOK_DOWN": "向下看",
|
|
9
|
+
"LOOK_UP": "向上看",
|
|
10
|
+
"MOVE_BACK": "请后退",
|
|
11
|
+
"MOVE_CLOSER": "请靠近一些",
|
|
12
|
+
"NO_DEVICES_FOUND": "未找到可用的摄像头设备",
|
|
13
|
+
"PLEASE_WAIT": "请稍候,测量将很快开始。。。",
|
|
14
|
+
"SELECT_CAMERA": "选择摄像头",
|
|
15
|
+
"STARTING": "正在开始...",
|
|
16
|
+
"START_CAMERA": "开启摄像头",
|
|
17
|
+
"START_MEASUREMENT": "开始测量",
|
|
18
|
+
"STOP_CAMERA": "停止摄像头",
|
|
19
|
+
"STOP_MEASUREMENT": "停止测量",
|
|
20
|
+
"TILT_YOUR_FACE_LEFT": "请将脸部向左倾斜",
|
|
21
|
+
"TILT_YOUR_FACE_RIGHT": "请将脸部向右倾斜",
|
|
22
|
+
"TURN_LEFT": "向左转头",
|
|
23
|
+
"TURN_RIGHT": "向右转头",
|
|
24
|
+
"WAITING_FOR_RESULTS": "等待结果"
|
|
25
|
+
}
|
package/dist/stylex.css
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
@layer priority1 {
|
|
2
|
+
.background-xb6wlsq {
|
|
3
|
+
background: #ffffffbf;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.background-xlu028j {
|
|
7
|
+
background: #ffffffe6;
|
|
8
|
+
}
|
|
9
|
+
|
|
2
10
|
.border-x7vd2ds {
|
|
3
11
|
border: 1px solid #dee2e6;
|
|
4
12
|
}
|
|
@@ -7,8 +15,8 @@
|
|
|
7
15
|
border: none;
|
|
8
16
|
}
|
|
9
17
|
|
|
10
|
-
.
|
|
11
|
-
|
|
18
|
+
.inset-x10a8y8t {
|
|
19
|
+
inset: 0;
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
.margin-x19bbpc0 {
|
|
@@ -23,8 +31,8 @@
|
|
|
23
31
|
margin: auto;
|
|
24
32
|
}
|
|
25
33
|
|
|
26
|
-
.padding-
|
|
27
|
-
padding: .
|
|
34
|
+
.padding-x1dvq9d0 {
|
|
35
|
+
padding: .75rem 0 1.25rem;
|
|
28
36
|
}
|
|
29
37
|
|
|
30
38
|
.padding-xc7ga6q {
|
|
@@ -35,6 +43,10 @@
|
|
|
35
43
|
padding: 20px;
|
|
36
44
|
}
|
|
37
45
|
|
|
46
|
+
.padding-xtsht4i {
|
|
47
|
+
padding: 2rem 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
38
50
|
.padding-x1ff1495 {
|
|
39
51
|
padding: 8px 16px;
|
|
40
52
|
}
|
|
@@ -49,8 +61,8 @@
|
|
|
49
61
|
gap: .5rem;
|
|
50
62
|
}
|
|
51
63
|
|
|
52
|
-
.
|
|
53
|
-
|
|
64
|
+
.gap-x1uma3xh {
|
|
65
|
+
gap: .6rem;
|
|
54
66
|
}
|
|
55
67
|
|
|
56
68
|
.overflow-xysyzu8 {
|
|
@@ -131,10 +143,6 @@
|
|
|
131
143
|
justify-content: center;
|
|
132
144
|
}
|
|
133
145
|
|
|
134
|
-
.justifyContent-x1nhvcw1 {
|
|
135
|
-
justify-content: flex-start;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
146
|
.position-x10l6tqk {
|
|
139
147
|
position: absolute;
|
|
140
148
|
}
|
|
@@ -151,13 +159,17 @@
|
|
|
151
159
|
text-align: left;
|
|
152
160
|
}
|
|
153
161
|
|
|
154
|
-
.transform-xuuh30 {
|
|
155
|
-
transform: translateX(-50%);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
162
|
.visibility-xlshs6z {
|
|
159
163
|
visibility: hidden;
|
|
160
164
|
}
|
|
165
|
+
|
|
166
|
+
.zIndex-x1n327nk {
|
|
167
|
+
z-index: 10;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.zIndex-x1355qak {
|
|
171
|
+
z-index: 20;
|
|
172
|
+
}
|
|
161
173
|
}
|
|
162
174
|
|
|
163
175
|
@layer priority4 {
|
|
@@ -165,10 +177,6 @@
|
|
|
165
177
|
height: 100%;
|
|
166
178
|
}
|
|
167
179
|
|
|
168
|
-
.left-x1nrll8i {
|
|
169
|
-
left: 50%;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
180
|
.marginBottom-x1yztbdb {
|
|
173
181
|
margin-bottom: 16px;
|
|
174
182
|
}
|
|
@@ -185,6 +193,10 @@
|
|
|
185
193
|
margin-top: .5rem;
|
|
186
194
|
}
|
|
187
195
|
|
|
196
|
+
.marginTop-xv0uc0e {
|
|
197
|
+
margin-top: .6rem;
|
|
198
|
+
}
|
|
199
|
+
|
|
188
200
|
.marginTop-xqui205 {
|
|
189
201
|
margin-top: 24px;
|
|
190
202
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -926,25 +926,43 @@ interface AppSettings {
|
|
|
926
926
|
refreshToken: string;
|
|
927
927
|
studyId: string;
|
|
928
928
|
}
|
|
929
|
-
type SupportedLanguage = 'en' | 'ja' | '
|
|
929
|
+
type SupportedLanguage = 'en' | 'ja' | 'zh' | 'es' | 'pt' | 'pt-BR' | 'it' | 'fr' | 'de';
|
|
930
930
|
interface Config {
|
|
931
|
+
/** Enables all distance, direction, and movement validations */
|
|
931
932
|
checkConstraints?: boolean;
|
|
933
|
+
/** Camera facing mode: 'user' for front camera, 'environment' for back camera */
|
|
932
934
|
cameraFacingMode?: 'user' | 'environment';
|
|
935
|
+
/** If true, camera starts automatically without user interaction */
|
|
933
936
|
cameraAutoStart?: boolean;
|
|
937
|
+
/** If true, measurement begins automatically after camera starts */
|
|
934
938
|
measurementAutoStart?: boolean;
|
|
939
|
+
/** If true, measurement will be canceled when low SNR is detected */
|
|
940
|
+
cancelWhenLowSNR?: boolean;
|
|
935
941
|
}
|
|
936
942
|
interface Profile extends Demographics {
|
|
943
|
+
/** When set to true you are explicitly indicating that you do not want to
|
|
944
|
+
* provide any demographic information (age, sex, height, weight, smoking,
|
|
945
|
+
* diabetes, blood pressure medication).
|
|
946
|
+
* In this mode WMEA will skip validation of those attributes and proceed
|
|
947
|
+
* with a "profile-less" measurement. */
|
|
937
948
|
bypassProfile: boolean;
|
|
938
949
|
}
|
|
939
950
|
interface MeasurementEmbeddedAppOptions {
|
|
951
|
+
/** The HTML container element where the app will be mounted */
|
|
940
952
|
container: HTMLDivElement;
|
|
941
|
-
|
|
953
|
+
/** Path to WMEA static assets */
|
|
942
954
|
appPath: string;
|
|
955
|
+
/** Application settings including token, refreshToken, and studyId */
|
|
943
956
|
settings: AppSettings;
|
|
957
|
+
/** User profile information */
|
|
944
958
|
profile: Profile;
|
|
959
|
+
/** Selected language for the app */
|
|
945
960
|
language?: SupportedLanguage;
|
|
961
|
+
/** Configuration options for the app */
|
|
946
962
|
config?: Config;
|
|
963
|
+
/** API URL for region-specific data processing */
|
|
947
964
|
apiUrl?: string;
|
|
965
|
+
/** Callback function to handle load errors */
|
|
948
966
|
loadError?: (error: string) => void;
|
|
949
967
|
}
|
|
950
968
|
declare enum logCategory {
|
|
@@ -962,7 +980,12 @@ interface Log {
|
|
|
962
980
|
interface MeasurementEmbedded {
|
|
963
981
|
init(options: MeasurementEmbeddedAppOptions): void;
|
|
964
982
|
destroy(): void;
|
|
965
|
-
|
|
983
|
+
/**
|
|
984
|
+
* Cancel the measurement
|
|
985
|
+
* @param {boolean} reset - whether to reset the Web SDK or just close the camera and hide the mask
|
|
986
|
+
* @returns {Promise<boolean>} - whether the cancellation was successful
|
|
987
|
+
*/
|
|
988
|
+
cancel(reset: boolean): Promise<boolean>;
|
|
966
989
|
getLogs: () => Promise<Log[]>;
|
|
967
990
|
setTheme(theme: 'light' | 'dark'): void;
|
|
968
991
|
setLanguage(language: SupportedLanguage): void;
|
|
@@ -995,15 +1018,24 @@ declare const appEventSeverity: {
|
|
|
995
1018
|
};
|
|
996
1019
|
declare const appEvent: {
|
|
997
1020
|
readonly CAMERA_STARTED: "CAMERA_STARTED";
|
|
1021
|
+
/** WMEA component has been loaded */
|
|
998
1022
|
readonly APP_LOADED: "APP_LOADED";
|
|
1023
|
+
/** Measurement has started */
|
|
999
1024
|
readonly MEASUREMENT_STARTED: "MEASUREMENT_STARTED";
|
|
1025
|
+
/** Measurement has completed */
|
|
1000
1026
|
readonly MEASUREMENT_COMPLETED: "MEASUREMENT_COMPLETED";
|
|
1001
1027
|
readonly CAMERA_PERMISSION_GRANTED: "CAMERA_PERMISSION_GRANTED";
|
|
1028
|
+
/** Intermediate measurement data received */
|
|
1002
1029
|
readonly INTERMEDIATE_RESULTS: "INTERMEDIATE_RESULTS";
|
|
1030
|
+
/** Final measurement results received */
|
|
1003
1031
|
readonly RESULTS_RECEIVED: "RESULTS_RECEIVED";
|
|
1032
|
+
/** User cancelled the measurement */
|
|
1004
1033
|
readonly MEASUREMENT_CANCELED: "MEASUREMENT_CANCELED";
|
|
1034
|
+
/** Constraint violated */
|
|
1005
1035
|
readonly CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION";
|
|
1036
|
+
/** Page was unloaded */
|
|
1006
1037
|
readonly PAGE_UNLOADED: "PAGE_UNLOADED";
|
|
1038
|
+
/** Browser tab focus changed */
|
|
1007
1039
|
readonly PAGE_VISIBILITY_CHANGE: "PAGE_VISIBILITY_CHANGE";
|
|
1008
1040
|
};
|
|
1009
1041
|
declare const appEvents: {
|
|
@@ -1057,20 +1089,33 @@ interface AppEvent {
|
|
|
1057
1089
|
level: keyof typeof appEventSeverity;
|
|
1058
1090
|
}
|
|
1059
1091
|
declare enum ErrorCodes {
|
|
1092
|
+
/** Camera access was denied */
|
|
1060
1093
|
CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED",
|
|
1094
|
+
/** DeepAffex Cloud processing error */
|
|
1061
1095
|
WORKER_ERROR = "WORKER_ERROR",
|
|
1096
|
+
/** User profile information is not set */
|
|
1062
1097
|
PROFILE_INFO_NOT_SET = "PROFILE_INFO_NOT_SET",
|
|
1098
|
+
/** No camera devices found */
|
|
1063
1099
|
NO_DEVICES_FOUND = "NO_DEVICES_FOUND",
|
|
1100
|
+
/** Page is not visible */
|
|
1064
1101
|
PAGE_NOT_VISIBLE = "PAGE_NOT_VISIBLE",
|
|
1102
|
+
/** Camera failed to start */
|
|
1065
1103
|
CAMERA_START_FAILED = "CAMERA_START_FAILED",
|
|
1104
|
+
/** Measurement failed due to low signal-to-noise ratio */
|
|
1066
1105
|
MEASUREMENT_LOW_SNR = "MEASUREMENT_LOW_SNR",
|
|
1106
|
+
/** Extraction library error */
|
|
1067
1107
|
COLLECTOR = "COLLECTOR",
|
|
1108
|
+
/** WebSocket disconnected */
|
|
1068
1109
|
WEBSOCKET_DISCONNECTED = "WEBSOCKET_DISCONNECTED"
|
|
1069
1110
|
}
|
|
1070
1111
|
type MeasurementErrorCodes = ErrorCodes.WORKER_ERROR | ErrorCodes.PROFILE_INFO_NOT_SET;
|
|
1071
1112
|
|
|
1072
1113
|
declare class MeasurementEmbeddedApp implements MeasurementEmbedded {
|
|
1073
1114
|
#private;
|
|
1115
|
+
static VERSION: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* The `on` object holds the event handlers
|
|
1118
|
+
*/
|
|
1074
1119
|
readonly on: {
|
|
1075
1120
|
/**
|
|
1076
1121
|
* when measurement results are received
|
|
@@ -1088,14 +1133,15 @@ declare class MeasurementEmbeddedApp implements MeasurementEmbedded {
|
|
|
1088
1133
|
*/
|
|
1089
1134
|
event: ((appEvent: AppEvent) => void) | null;
|
|
1090
1135
|
};
|
|
1136
|
+
/** @hideconstructor */
|
|
1091
1137
|
constructor();
|
|
1092
1138
|
init(options: MeasurementEmbeddedAppOptions): void;
|
|
1093
1139
|
destroy(): void;
|
|
1094
1140
|
setTheme(theme: 'light' | 'dark'): void;
|
|
1095
1141
|
setLanguage(language: SupportedLanguage): void;
|
|
1096
|
-
cancel(): Promise<boolean>;
|
|
1142
|
+
cancel(reset: boolean): Promise<boolean>;
|
|
1097
1143
|
getLogs(): Promise<Log[]>;
|
|
1098
1144
|
}
|
|
1099
1145
|
|
|
1100
|
-
export { ErrorCodes, appEvents, MeasurementEmbeddedApp as default, faceAttributeValue, measurementEmbeddedAppEvents };
|
|
1101
|
-
export type { AppSettings, DfxPointId, MeasurementEmbeddedAppError, MeasurementEmbeddedAppOptions, MeasurementErrorCodes, Point, Profile, Results };
|
|
1146
|
+
export { ErrorCodes, appEvents, MeasurementEmbeddedApp as default, faceAttributeValue, logCategory, measurementEmbeddedAppEvents };
|
|
1147
|
+
export type { AppSettings, Config, DfxPointId, DialSection, IMeta, Log, MeasurementEmbeddedAppError, MeasurementEmbeddedAppOptions, MeasurementErrorCodes, Point, PointGroupType, Profile, Results, SupportedLanguage };
|