@myinterview/widget-react 1.0.38-beta → 1.0.39-experimental
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/esm/index.js +548 -119
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Main.d.ts +1 -0
- package/dist/esm/types/components/PracticeModeInfo.d.ts +1 -7
- package/dist/esm/types/i18n/config.d.ts +318 -0
- package/dist/esm/types/utils/languages.utils.d.ts +1 -0
- package/package.json +2 -1
|
@@ -1,5 +1,164 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
2
|
export declare const resources: {
|
|
3
|
+
readonly ar: {
|
|
4
|
+
readonly translation: {
|
|
5
|
+
welcome: {
|
|
6
|
+
welcome: string;
|
|
7
|
+
startInterview: string;
|
|
8
|
+
resumeInterview: string;
|
|
9
|
+
see_more: string;
|
|
10
|
+
see_less: string;
|
|
11
|
+
click: string;
|
|
12
|
+
terms: string;
|
|
13
|
+
and: string;
|
|
14
|
+
privacy: string;
|
|
15
|
+
};
|
|
16
|
+
top_tips: {
|
|
17
|
+
top_tips: string;
|
|
18
|
+
title: string;
|
|
19
|
+
tip_1: string;
|
|
20
|
+
tip_2: string;
|
|
21
|
+
tip_3: string;
|
|
22
|
+
tip_4: string;
|
|
23
|
+
tip_5: string;
|
|
24
|
+
tip_6: string;
|
|
25
|
+
tip_7: string;
|
|
26
|
+
};
|
|
27
|
+
setup: {
|
|
28
|
+
title: string;
|
|
29
|
+
rotate: string;
|
|
30
|
+
permission_denied: string;
|
|
31
|
+
camera: {
|
|
32
|
+
name: string;
|
|
33
|
+
WAITING: string;
|
|
34
|
+
ERROR: string;
|
|
35
|
+
READY: string;
|
|
36
|
+
};
|
|
37
|
+
microphone: {
|
|
38
|
+
name: string;
|
|
39
|
+
WAITING: string;
|
|
40
|
+
ERROR: string;
|
|
41
|
+
READY: string;
|
|
42
|
+
};
|
|
43
|
+
internet: {
|
|
44
|
+
name: string;
|
|
45
|
+
TESTING: string;
|
|
46
|
+
SLOW: string;
|
|
47
|
+
CONNECTED: string;
|
|
48
|
+
NO_CONNECTED: string;
|
|
49
|
+
};
|
|
50
|
+
unsupported_device: {
|
|
51
|
+
IOS: string;
|
|
52
|
+
BROWSER: string;
|
|
53
|
+
INCOGNITO: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
time: {
|
|
57
|
+
minuteLeft_one: string;
|
|
58
|
+
minuteLeft_other: string;
|
|
59
|
+
minute_one: string;
|
|
60
|
+
minute_other: string;
|
|
61
|
+
second_one: string;
|
|
62
|
+
second_other: string;
|
|
63
|
+
};
|
|
64
|
+
practice: {
|
|
65
|
+
title: string;
|
|
66
|
+
subtitle: string;
|
|
67
|
+
label: string;
|
|
68
|
+
};
|
|
69
|
+
preview: {
|
|
70
|
+
title: string;
|
|
71
|
+
singleTake: string;
|
|
72
|
+
take: string;
|
|
73
|
+
};
|
|
74
|
+
upload: {
|
|
75
|
+
title: string;
|
|
76
|
+
subtitle: string;
|
|
77
|
+
errorInfo: string;
|
|
78
|
+
};
|
|
79
|
+
questionList: {
|
|
80
|
+
name: string;
|
|
81
|
+
};
|
|
82
|
+
recorder: {
|
|
83
|
+
explanation: {
|
|
84
|
+
take_one: string;
|
|
85
|
+
take_other: string;
|
|
86
|
+
remaining_take_one: string;
|
|
87
|
+
remaining_take_other: string;
|
|
88
|
+
question: {
|
|
89
|
+
name: string;
|
|
90
|
+
title: string;
|
|
91
|
+
questionThinkingTime: string;
|
|
92
|
+
videoQuestionThinkingTime: string;
|
|
93
|
+
videoQuestionNoThinkingTime: string;
|
|
94
|
+
showQuestion_btn: string;
|
|
95
|
+
watchQuestion_btn: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
errors: {
|
|
99
|
+
MEDIA_PERMISSION: {
|
|
100
|
+
TITLE: string;
|
|
101
|
+
DETAILS: string;
|
|
102
|
+
CTA: string;
|
|
103
|
+
};
|
|
104
|
+
NO_SOUND: {
|
|
105
|
+
TITLE: string;
|
|
106
|
+
DETAILS: string;
|
|
107
|
+
DETAILS_MOBILE: string;
|
|
108
|
+
CTA: string;
|
|
109
|
+
};
|
|
110
|
+
CONNECTION: {
|
|
111
|
+
TITLE: string;
|
|
112
|
+
DETAILS: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
permissions: {
|
|
116
|
+
title: string;
|
|
117
|
+
subtitle: string;
|
|
118
|
+
permission: string;
|
|
119
|
+
PERMISSION_STEPS: {
|
|
120
|
+
IOS: {
|
|
121
|
+
CHROME: string[];
|
|
122
|
+
SAFARI: string[];
|
|
123
|
+
};
|
|
124
|
+
ANDROID: {
|
|
125
|
+
CHROME: string[];
|
|
126
|
+
SAMSUNG: string[];
|
|
127
|
+
};
|
|
128
|
+
MACBOOK: {
|
|
129
|
+
CHROME: string[];
|
|
130
|
+
SAFARI: string[];
|
|
131
|
+
FIREFOX: string[];
|
|
132
|
+
};
|
|
133
|
+
WINDOWS: {
|
|
134
|
+
CHROME: string[];
|
|
135
|
+
FIREFOX: string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
buttons: {
|
|
141
|
+
btn_watch_question: string;
|
|
142
|
+
btn_show_question: string;
|
|
143
|
+
btn_start_recording: string;
|
|
144
|
+
btn_stop_recording: string;
|
|
145
|
+
btn_try_again: string;
|
|
146
|
+
btn_internet_test_again: string;
|
|
147
|
+
btn_practice: string;
|
|
148
|
+
btn_start: string;
|
|
149
|
+
btn_retry: string;
|
|
150
|
+
btn_start_now: string;
|
|
151
|
+
RETAKE: string;
|
|
152
|
+
NEXT: string;
|
|
153
|
+
SUBMIT: string;
|
|
154
|
+
READY: string;
|
|
155
|
+
};
|
|
156
|
+
layout: {
|
|
157
|
+
footer: string;
|
|
158
|
+
at: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
3
162
|
readonly cn: {
|
|
4
163
|
readonly translation: {
|
|
5
164
|
welcome: {
|
|
@@ -819,6 +978,165 @@ export declare const resources: {
|
|
|
819
978
|
};
|
|
820
979
|
};
|
|
821
980
|
};
|
|
981
|
+
readonly he: {
|
|
982
|
+
readonly translation: {
|
|
983
|
+
welcome: {
|
|
984
|
+
welcome: string;
|
|
985
|
+
startInterview: string;
|
|
986
|
+
resumeInterview: string;
|
|
987
|
+
see_more: string;
|
|
988
|
+
see_less: string;
|
|
989
|
+
click: string;
|
|
990
|
+
terms: string;
|
|
991
|
+
and: string;
|
|
992
|
+
privacy: string;
|
|
993
|
+
};
|
|
994
|
+
top_tips: {
|
|
995
|
+
top_tips: string;
|
|
996
|
+
title: string;
|
|
997
|
+
tip_1: string;
|
|
998
|
+
tip_2: string;
|
|
999
|
+
tip_3: string;
|
|
1000
|
+
tip_4: string;
|
|
1001
|
+
tip_5: string;
|
|
1002
|
+
tip_6: string;
|
|
1003
|
+
tip_7: string;
|
|
1004
|
+
};
|
|
1005
|
+
setup: {
|
|
1006
|
+
title: string;
|
|
1007
|
+
rotate: string;
|
|
1008
|
+
permission_denied: string;
|
|
1009
|
+
camera: {
|
|
1010
|
+
name: string;
|
|
1011
|
+
WAITING: string;
|
|
1012
|
+
ERROR: string;
|
|
1013
|
+
READY: string;
|
|
1014
|
+
};
|
|
1015
|
+
microphone: {
|
|
1016
|
+
name: string;
|
|
1017
|
+
WAITING: string;
|
|
1018
|
+
ERROR: string;
|
|
1019
|
+
READY: string;
|
|
1020
|
+
};
|
|
1021
|
+
internet: {
|
|
1022
|
+
name: string;
|
|
1023
|
+
TESTING: string;
|
|
1024
|
+
SLOW: string;
|
|
1025
|
+
CONNECTED: string;
|
|
1026
|
+
NO_CONNECTED: string;
|
|
1027
|
+
};
|
|
1028
|
+
unsupported_device: {
|
|
1029
|
+
IOS: string;
|
|
1030
|
+
BROWSER: string;
|
|
1031
|
+
INCOGNITO: string;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
time: {
|
|
1035
|
+
minuteLeft_one: string;
|
|
1036
|
+
minuteLeft_other: string;
|
|
1037
|
+
minute_one: string;
|
|
1038
|
+
minute_other: string;
|
|
1039
|
+
second_one: string;
|
|
1040
|
+
second_other: string;
|
|
1041
|
+
};
|
|
1042
|
+
practice: {
|
|
1043
|
+
title: string;
|
|
1044
|
+
subtitle: string;
|
|
1045
|
+
label: string;
|
|
1046
|
+
};
|
|
1047
|
+
preview: {
|
|
1048
|
+
title: string;
|
|
1049
|
+
singleTake: string;
|
|
1050
|
+
take: string;
|
|
1051
|
+
};
|
|
1052
|
+
upload: {
|
|
1053
|
+
title: string;
|
|
1054
|
+
subtitle: string;
|
|
1055
|
+
errorInfo: string;
|
|
1056
|
+
};
|
|
1057
|
+
questionList: {
|
|
1058
|
+
name: string;
|
|
1059
|
+
};
|
|
1060
|
+
recorder: {
|
|
1061
|
+
explanation: {
|
|
1062
|
+
take_one: string;
|
|
1063
|
+
take_other: string;
|
|
1064
|
+
remaining_take_one: string;
|
|
1065
|
+
remaining_take_other: string;
|
|
1066
|
+
question: {
|
|
1067
|
+
name: string;
|
|
1068
|
+
title: string;
|
|
1069
|
+
questionThinkingTime: string;
|
|
1070
|
+
videoQuestionThinkingTime: string;
|
|
1071
|
+
videoQuestionNoThinkingTime: string;
|
|
1072
|
+
showQuestion_btn: string;
|
|
1073
|
+
watchQuestion_btn: string;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
errors: {
|
|
1077
|
+
MEDIA_PERMISSION: {
|
|
1078
|
+
TITLE: string;
|
|
1079
|
+
DETAILS: string;
|
|
1080
|
+
CTA: string;
|
|
1081
|
+
};
|
|
1082
|
+
NO_SOUND: {
|
|
1083
|
+
TITLE: string;
|
|
1084
|
+
DETAILS: string;
|
|
1085
|
+
DETAILS_MOBILE: string;
|
|
1086
|
+
CTA: string;
|
|
1087
|
+
};
|
|
1088
|
+
CONNECTION: {
|
|
1089
|
+
TITLE: string;
|
|
1090
|
+
DETAILS: string;
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
permissions: {
|
|
1094
|
+
title: string;
|
|
1095
|
+
subtitle: string;
|
|
1096
|
+
permission: string;
|
|
1097
|
+
PERMISSION_STEPS: {
|
|
1098
|
+
IOS: {
|
|
1099
|
+
CHROME: string[];
|
|
1100
|
+
SAFARI: string[];
|
|
1101
|
+
};
|
|
1102
|
+
ANDROID: {
|
|
1103
|
+
CHROME: string[];
|
|
1104
|
+
SAMSUNG: string[];
|
|
1105
|
+
};
|
|
1106
|
+
MACBOOK: {
|
|
1107
|
+
CHROME: string[];
|
|
1108
|
+
SAFARI: string[];
|
|
1109
|
+
FIREFOX: string[];
|
|
1110
|
+
};
|
|
1111
|
+
WINDOWS: {
|
|
1112
|
+
CHROME: string[];
|
|
1113
|
+
FIREFOX: string[];
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
buttons: {
|
|
1119
|
+
btn_watch_question: string;
|
|
1120
|
+
btn_show_question: string;
|
|
1121
|
+
btn_start_recording: string;
|
|
1122
|
+
btn_stop_recording: string;
|
|
1123
|
+
btn_try_again: string;
|
|
1124
|
+
btn_internet_test_again: string;
|
|
1125
|
+
btn_practice: string;
|
|
1126
|
+
btn_start: string;
|
|
1127
|
+
btn_retry: string;
|
|
1128
|
+
btn_start_now: string;
|
|
1129
|
+
RETAKE: string;
|
|
1130
|
+
NEXT: string;
|
|
1131
|
+
SUBMIT: string;
|
|
1132
|
+
READY: string;
|
|
1133
|
+
};
|
|
1134
|
+
layout: {
|
|
1135
|
+
footer: string;
|
|
1136
|
+
at: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
822
1140
|
readonly ko: {
|
|
823
1141
|
readonly translation: {
|
|
824
1142
|
welcome: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isRtl: (language?: string) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myinterview/widget-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39-experimental",
|
|
4
4
|
"description": "myInterview widget v3",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"files": [
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"build": "node scripts/build.js",
|
|
82
82
|
"publish-prod": "REACT_APP_ENV=prod rollup -c && npm publish",
|
|
83
83
|
"publish-staging": "REACT_APP_ENV=staging rollup -c && npm publish --tag beta",
|
|
84
|
+
"publish-experimental": "REACT_APP_ENV=staging rollup -c && npm publish --tag experimental",
|
|
84
85
|
"test": "node scripts/test.js"
|
|
85
86
|
},
|
|
86
87
|
"eslintConfig": {
|