@myinterview/widget-react 1.0.28 → 1.0.29-beta-8979eac

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.
@@ -4,6 +4,7 @@ import { IWidgetMachineProps } from '../interfaces/widgetInterface';
4
4
  interface IProps extends IWidgetMachineProps {
5
5
  recorderRef: ActorRef<DoneInvokeEvent<any>, any>;
6
6
  isSliderModalOpen: boolean;
7
+ isWidgetMinimized: boolean;
7
8
  onOpenSliderModal: () => void;
8
9
  onCloseSliderModal: () => void;
9
10
  onRecorderRetry: () => void;
@@ -3,6 +3,7 @@ import { IWidgetConfig } from '../interfaces/configInterface';
3
3
  interface IProps {
4
4
  widgetConfig: IWidgetConfig;
5
5
  setShouldShowWaterMark: React.Dispatch<React.SetStateAction<boolean>>;
6
+ isWidgetMinimized: boolean;
6
7
  }
7
8
  export declare const Main: React.FC<IProps>;
8
9
  export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TopTips: React.FC;
@@ -1,11 +1,15 @@
1
1
  import React from 'react';
2
2
  interface IProps {
3
3
  introVideo: string;
4
- introVideoTitle: string;
4
+ welcomeTitle?: string;
5
+ welcomeText?: string;
5
6
  onContinue: () => void;
6
7
  logo: string;
7
8
  company: string;
8
9
  title: string;
10
+ termsUrl?: string;
11
+ privacyUrl?: string;
12
+ isResumed: boolean;
9
13
  }
10
14
  export declare const WelcomePage: React.FC<IProps>;
11
15
  export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onClick: () => void;
4
+ }
5
+ export declare const MinimizeButton: React.FC<IProps>;
6
+ export {};
@@ -2,6 +2,28 @@ import i18n from 'i18next';
2
2
  export declare const resources: {
3
3
  readonly cn: {
4
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
+ };
5
27
  setup: {
6
28
  title: string;
7
29
  rotate: string;
@@ -139,6 +161,28 @@ export declare const resources: {
139
161
  };
140
162
  readonly de: {
141
163
  readonly translation: {
164
+ welcome: {
165
+ welcome: string;
166
+ startInterview: string;
167
+ resumeInterview: string;
168
+ see_more: string;
169
+ see_less: string;
170
+ click: string;
171
+ terms: string;
172
+ and: string;
173
+ privacy: string;
174
+ };
175
+ top_tips: {
176
+ top_tips: string;
177
+ title: string;
178
+ tip_1: string;
179
+ tip_2: string;
180
+ tip_3: string;
181
+ tip_4: string;
182
+ tip_5: string;
183
+ tip_6: string;
184
+ tip_7: string;
185
+ };
142
186
  setup: {
143
187
  title: string;
144
188
  rotate: string;
@@ -276,6 +320,28 @@ export declare const resources: {
276
320
  };
277
321
  readonly en: {
278
322
  readonly translation: {
323
+ welcome: {
324
+ title: string;
325
+ startInterview: string;
326
+ resumeInterview: string;
327
+ see_more: string;
328
+ see_less: string;
329
+ click: string;
330
+ terms: string;
331
+ and: string;
332
+ privacy: string;
333
+ };
334
+ top_tips: {
335
+ top_tips: string;
336
+ title: string;
337
+ tip_1: string;
338
+ tip_2: string;
339
+ tip_3: string;
340
+ tip_4: string;
341
+ tip_5: string;
342
+ tip_6: string;
343
+ tip_7: string;
344
+ };
279
345
  setup: {
280
346
  title: string;
281
347
  rotate: string;
@@ -429,6 +495,28 @@ export declare const resources: {
429
495
  };
430
496
  readonly es: {
431
497
  readonly translation: {
498
+ welcome: {
499
+ welcome: string;
500
+ startInterview: string;
501
+ resumeInterview: string;
502
+ see_more: string;
503
+ see_less: string;
504
+ click: string;
505
+ terms: string;
506
+ and: string;
507
+ privacy: string;
508
+ };
509
+ top_tips: {
510
+ top_tips: string;
511
+ title: string;
512
+ tip_1: string;
513
+ tip_2: string;
514
+ tip_3: string;
515
+ tip_4: string;
516
+ tip_5: string;
517
+ tip_6: string;
518
+ tip_7: string;
519
+ };
432
520
  setup: {
433
521
  title: string;
434
522
  rotate: string;
@@ -566,6 +654,28 @@ export declare const resources: {
566
654
  };
567
655
  readonly fr: {
568
656
  readonly translation: {
657
+ welcome: {
658
+ welcome: string;
659
+ startInterview: string;
660
+ resumeInterview: string;
661
+ see_more: string;
662
+ see_less: string;
663
+ click: string;
664
+ terms: string;
665
+ and: string;
666
+ privacy: string;
667
+ };
668
+ top_tips: {
669
+ top_tips: string;
670
+ title: string;
671
+ tip_1: string;
672
+ tip_2: string;
673
+ tip_3: string;
674
+ tip_4: string;
675
+ tip_5: string;
676
+ tip_6: string;
677
+ tip_7: string;
678
+ };
569
679
  setup: {
570
680
  title: string;
571
681
  rotate: string;
@@ -711,6 +821,28 @@ export declare const resources: {
711
821
  };
712
822
  readonly ko: {
713
823
  readonly translation: {
824
+ welcome: {
825
+ welcome: string;
826
+ startInterview: string;
827
+ resumeInterview: string;
828
+ see_more: string;
829
+ see_less: string;
830
+ click: string;
831
+ terms: string;
832
+ and: string;
833
+ privacy: string;
834
+ };
835
+ top_tips: {
836
+ top_tips: string;
837
+ title: string;
838
+ tip_1: string;
839
+ tip_2: string;
840
+ tip_3: string;
841
+ tip_4: string;
842
+ tip_5: string;
843
+ tip_6: string;
844
+ tip_7: string;
845
+ };
714
846
  setup: {
715
847
  title: string;
716
848
  rotate: string;
@@ -848,6 +980,28 @@ export declare const resources: {
848
980
  };
849
981
  readonly pt: {
850
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
+ };
851
1005
  setup: {
852
1006
  title: string;
853
1007
  rotate: string;
@@ -22,8 +22,10 @@ interface IConfig {
22
22
  practiceQuestions?: IQuestion[];
23
23
  overlay?: string;
24
24
  introVideo?: string;
25
- introVideoTitle?: string;
25
+ welcomeTitle?: string;
26
+ welcomeText?: string;
26
27
  env?: IEnv;
28
+ minimizable?: boolean;
27
29
  hideHeader?: boolean;
28
30
  }
29
31
  export declare type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
@@ -21,6 +21,8 @@ export interface IJob {
21
21
  logo?: string;
22
22
  questions?: IQuestion[];
23
23
  old_jobID?: string;
24
+ termsUrl?: string;
25
+ privacyUrl?: string;
24
26
  apiKey?: string;
25
27
  company_id?: string;
26
28
  jobID?: string;
package/dist/index.d.ts CHANGED
@@ -43,6 +43,8 @@ interface IJob {
43
43
  logo?: string;
44
44
  questions?: IQuestion[];
45
45
  old_jobID?: string;
46
+ termsUrl?: string;
47
+ privacyUrl?: string;
46
48
  apiKey?: string;
47
49
  company_id?: string;
48
50
  jobID?: string;
@@ -121,8 +123,10 @@ interface IConfig {
121
123
  practiceQuestions?: IQuestion[];
122
124
  overlay?: string;
123
125
  introVideo?: string;
124
- introVideoTitle?: string;
126
+ welcomeTitle?: string;
127
+ welcomeText?: string;
125
128
  env?: IEnv;
129
+ minimizable?: boolean;
126
130
  hideHeader?: boolean;
127
131
  }
128
132
  declare type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.0.28",
3
+ "version": "1.0.29-beta-8979eac",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "files": [