@beterdichtbij/component-library 0.71.0-alpha.1 → 0.71.0-alpha.10
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/dist/bd-component-lib.cjs.js +19 -19
- package/dist/bd-component-lib.es.js +1813 -1710
- package/dist/bd-component-lib.umd.js +42 -42
- package/dist/components/templates/BDVideoCallTemplate/BDVideoCallTemplate.vue.d.ts +8 -0
- package/dist/locales/en.json +37 -8
- package/dist/locales/nl.json +59 -30
- package/dist/scss/templates/_video-call-template.scss +18 -4
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
CallDeclined: typeof CallDeclined;
|
|
3
3
|
CallAnswered: typeof CallAnswered;
|
|
4
|
+
CallForDataReceived: typeof CallForDataReceived;
|
|
5
|
+
CallClosedWithStatusCode: typeof CallClosedWithStatusCode;
|
|
6
|
+
CallHeartbeatReceived: typeof CallHeartbeatReceived;
|
|
7
|
+
CallSignalHoldDetected: typeof CallSignalHoldDetected;
|
|
4
8
|
CallStartVideoCall: typeof CallStartVideoCall;
|
|
5
9
|
CallHangUp: typeof CallHangUp;
|
|
6
10
|
InitializeAcsConnection: typeof InitializeAcsConnection;
|
|
@@ -17,6 +21,10 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
17
21
|
export default _default;
|
|
18
22
|
declare function CallDeclined(): void;
|
|
19
23
|
declare function CallAnswered(): void;
|
|
24
|
+
declare function CallForDataReceived(): void;
|
|
25
|
+
declare function CallClosedWithStatusCode(statusCode: any): void;
|
|
26
|
+
declare function CallHeartbeatReceived(): void;
|
|
27
|
+
declare function CallSignalHoldDetected(): void;
|
|
20
28
|
declare function CallStartVideoCall(): void;
|
|
21
29
|
declare function CallHangUp(): Promise<void>;
|
|
22
30
|
declare function InitializeAcsConnection(videoCallAccessToken: any): Promise<void>;
|
package/dist/locales/en.json
CHANGED
|
@@ -23,14 +23,27 @@
|
|
|
23
23
|
"endCall": "End call",
|
|
24
24
|
"placeholderSettingsHelpTitle": "Connection issues?",
|
|
25
25
|
"placeholderSettingsHelpMessage": "End the call and try again.",
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
"statusTextMessage": {
|
|
27
|
+
"initializing": "Initializing...",
|
|
28
|
+
"dialing": "Calling...",
|
|
29
|
+
"ringing": "Phone is ringing",
|
|
30
|
+
"answered": "Call answered",
|
|
31
|
+
"connected": "Connected",
|
|
32
|
+
"videoCallDeclined": "The call could not be answered right now.",
|
|
33
|
+
"videoCallHangedUp": "Call has ended.",
|
|
34
|
+
"devicePermissionDenied": "A call cannot be started",
|
|
35
|
+
"callNotDelivered": "The video call does not arrive on the patient's mobile phone or tablet.",
|
|
36
|
+
"signalHold": "Video call connection with patient's phone/tablet could not be established",
|
|
37
|
+
"connectionIssues": "Connection issues"
|
|
38
|
+
},
|
|
39
|
+
"statusDetailMessage": {
|
|
40
|
+
"notAnsweredDetail": "Patient does not appear to answer.",
|
|
41
|
+
"noVideoHint": "No video? Run the video call test.",
|
|
42
|
+
"callNotDeliveredDetail": "Asking the patient to log in again in the BeterDichtbij app often resolves this.",
|
|
43
|
+
"connectionIssuesMedium": "The connection is unstable.",
|
|
44
|
+
"connectionIssuesStrong": "The connection seems lost. Check internet connection and try again.",
|
|
45
|
+
"signalHoldDetail": "Run the video call test."
|
|
46
|
+
},
|
|
34
47
|
"permissionDeniedForVideo": "No access to camera",
|
|
35
48
|
"permissionDeniedForAudio": "No access to microphone",
|
|
36
49
|
"closeWindow": "Close window",
|
|
@@ -38,6 +51,22 @@
|
|
|
38
51
|
"hasNoAvailableCamera": "No camera available.",
|
|
39
52
|
"hasOneAvailableCamera": "One camera is available.",
|
|
40
53
|
"hasMultipleAvailableCameras": "Multiple cameras are available.",
|
|
54
|
+
"callEndReasons": {
|
|
55
|
+
"0": "Patient ended the call.",
|
|
56
|
+
"4": "The app was closed.",
|
|
57
|
+
"5": "Patient ended the call.",
|
|
58
|
+
"6": "BeterDichtbij call screen was closed.",
|
|
59
|
+
"10": "Patient waited too long to answer.",
|
|
60
|
+
"12": "Network or camera issue on patient side. Check internet and camera permission.",
|
|
61
|
+
"20": "Patient pressed Back while the phone was ringing.",
|
|
62
|
+
"21": "Call was hung up.",
|
|
63
|
+
"22": "Patient pressed Home while the phone was ringing.",
|
|
64
|
+
"23": "Patient waited too long to answer.",
|
|
65
|
+
"24": "Patient clicked Yes in the popup.",
|
|
66
|
+
"25": "Patient ended the call.",
|
|
67
|
+
"26": "The app moved to background on phone/tablet.",
|
|
68
|
+
"33": "Outdated app version. Ask patient to update the BeterDichtbij app."
|
|
69
|
+
},
|
|
41
70
|
"unknown": "Unknown message"
|
|
42
71
|
}
|
|
43
72
|
}
|
package/dist/locales/nl.json
CHANGED
|
@@ -110,35 +110,64 @@
|
|
|
110
110
|
"helpMessage": "om te controleren of je camera en microfoon goed werken."
|
|
111
111
|
},
|
|
112
112
|
"videoCallTemplate": {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
"
|
|
113
|
+
"fullScreen": "Volledig scherm",
|
|
114
|
+
"miniPlayer": "Mini player",
|
|
115
|
+
"shareScreen": "Scherm delen",
|
|
116
|
+
"stopSharingScreen": "Stop scherm delen",
|
|
117
|
+
"signalStrength": {
|
|
118
|
+
"weak": "Zwak signaal",
|
|
119
|
+
"steady": "Matig signaal",
|
|
120
|
+
"strong": "Sterk signaal"
|
|
121
|
+
},
|
|
122
|
+
"serviceDesk": "Servicedesk",
|
|
123
|
+
"testCall": "Doe de beeldbeltest",
|
|
124
|
+
"endCall": "Gesprek beëindigen",
|
|
125
|
+
"placeholderSettingsHelpTitle": "Problemen met de verbinding?",
|
|
126
|
+
"placeholderSettingsHelpMessage": "Sluit het gesprek en probeer opnieuw te bellen.",
|
|
127
|
+
"statusTextMessage": {
|
|
128
|
+
"initializing": "Bezig met opstarten...",
|
|
129
|
+
"dialing": "Bellen...",
|
|
130
|
+
"ringing": "Telefoon gaat over",
|
|
131
|
+
"answered": "Er is opgenomen",
|
|
132
|
+
"connected": "Verbonden",
|
|
133
|
+
"videoCallDeclined": "Er kon op dit moment niet worden opgenomen.",
|
|
134
|
+
"videoCallHangedUp": "Er is opgehangen.",
|
|
135
|
+
"devicePermissionDenied": "Er kan geen gesprek worden gestart",
|
|
136
|
+
"callNotDelivered": "Beeldbelgesprek komt niet aan op de mobiele telefoon of tablet van de patiënt.",
|
|
137
|
+
"signalHold": "Beeldbel verbinding met patiënt zijn telefoon/tablet komt niet tot stand",
|
|
138
|
+
"connectionIssues": "Connectie problemen"
|
|
139
|
+
},
|
|
140
|
+
"statusDetailMessage": {
|
|
141
|
+
"notAnsweredDetail": "Patiënt lijkt niet op te nemen.",
|
|
142
|
+
"noVideoHint": "Geen beeld? Doe de beeldbel kwaliteit test.",
|
|
143
|
+
"callNotDeliveredDetail": "De patiënt opnieuw laten inloggen in de BeterDichtbij app lost het probleem vaak op.",
|
|
144
|
+
"connectionIssuesMedium": "De verbinding is instabiel.",
|
|
145
|
+
"connectionIssuesStrong": "De verbinding lijkt verbroken. Controleer internetverbinding en probeer opnieuw.",
|
|
146
|
+
"signalHoldDetail": "Doe de beeldbel kwaliteit test."
|
|
147
|
+
},
|
|
148
|
+
"permissionDeniedForVideo":"Geen toegang beschikbaar tot de camera",
|
|
149
|
+
"permissionDeniedForAudio":"Er is geen toegang beschikbaar tot uw microfoon",
|
|
150
|
+
"closeWindow": "Venster sluiten",
|
|
151
|
+
"switchCamera": "Wissel camera",
|
|
152
|
+
"hasNoAvailableCamera": "Er is geen camera beschikbaar.",
|
|
153
|
+
"hasOneAvailableCamera": "Er is één camera beschikbaar.",
|
|
154
|
+
"hasMultipleAvailableCameras": "Er zijn meerdere camera's beschikbaar.",
|
|
155
|
+
"callEndReasons": {
|
|
156
|
+
"0": "Patiënt heeft gesprek beëindigd.",
|
|
157
|
+
"4": "App is afgesloten.",
|
|
158
|
+
"5": "Patiënt heeft gesprek beëindigd.",
|
|
159
|
+
"6": "BeterDichtbij gespreksscherm is afgesloten.",
|
|
160
|
+
"10": "Patiënt heeft te lang gewacht met opnemen.",
|
|
161
|
+
"12": "Netwerk issue of camera issue bij de patiënt. Controleer internet en camera-toestemming bij de patiënt.",
|
|
162
|
+
"20": "Patiënt heeft de Terug-knop ingedrukt terwijl de telefoon overging.",
|
|
163
|
+
"21": "Gesprek opgehangen.",
|
|
164
|
+
"22": "Patiënt heeft Home ingedrukt terwijl de telefoon overging.",
|
|
165
|
+
"23": "Patiënt heeft te lang gewacht met opnemen.",
|
|
166
|
+
"24": "Patiënt heeft Ja geklikt in de pop-up.",
|
|
167
|
+
"25": "Patiënt heeft gesprek beëindigd.",
|
|
168
|
+
"26": "App is naar de achtergrond gegaan op telefoon/tablet.",
|
|
169
|
+
"33": "Verouderde versie van de app. Vraag de patiënt om de BeterDichtbij app te updaten."
|
|
170
|
+
},
|
|
171
|
+
"unknown": "Onbekende melding"
|
|
143
172
|
}
|
|
144
173
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.video-call-template {
|
|
2
|
-
$small-text:
|
|
2
|
+
$small-text: .8rem;
|
|
3
3
|
|
|
4
4
|
.bd-conversation-card {
|
|
5
5
|
margin-bottom: 20px;
|
|
@@ -126,10 +126,25 @@
|
|
|
126
126
|
|
|
127
127
|
p {
|
|
128
128
|
color: $color-gray-secondary;
|
|
129
|
+
|
|
130
|
+
&:last-of-type {
|
|
131
|
+
margin-bottom: 0;
|
|
132
|
+
}
|
|
129
133
|
}
|
|
130
134
|
|
|
131
135
|
&__status {
|
|
132
|
-
border-bottom:
|
|
136
|
+
border-bottom: 2px solid $color-border-light;
|
|
137
|
+
padding-bottom: 20px;
|
|
138
|
+
|
|
139
|
+
&-text {
|
|
140
|
+
margin-bottom: 8px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&-detail {
|
|
144
|
+
margin-bottom: 16px;
|
|
145
|
+
font-size: $small-text;
|
|
146
|
+
line-height: 21px;
|
|
147
|
+
}
|
|
133
148
|
}
|
|
134
149
|
|
|
135
150
|
&__signal {
|
|
@@ -137,7 +152,7 @@
|
|
|
137
152
|
align-items: center;
|
|
138
153
|
padding: 20px 0;
|
|
139
154
|
gap: 12px;
|
|
140
|
-
border-bottom:
|
|
155
|
+
border-bottom: 2px solid $color-border-light;
|
|
141
156
|
|
|
142
157
|
&.weak {
|
|
143
158
|
.indicator li:nth-child(1) {
|
|
@@ -193,7 +208,6 @@
|
|
|
193
208
|
|
|
194
209
|
&__help {
|
|
195
210
|
padding-top: 20px;
|
|
196
|
-
border-top: 1px solid $color-border-light;
|
|
197
211
|
|
|
198
212
|
p {
|
|
199
213
|
font-size: $small-text;
|
package/package.json
CHANGED