eli-video-interview 1.2.41-alpha.38 → 1.2.41-alpha.39
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/esm/modules/ai-question/Root.js +2 -2
- package/esm/modules/ai-question/interface.d.ts +2 -0
- package/esm/modules/ai-question/useAiQuestion.d.ts +2 -0
- package/esm/store/ai-question/global-store.d.ts +6 -0
- package/lib/modules/ai-question/Root.js +2 -2
- package/lib/modules/ai-question/interface.d.ts +2 -0
- package/lib/modules/ai-question/useAiQuestion.d.ts +2 -0
- package/lib/store/ai-question/global-store.d.ts +6 -0
- package/package.json +1 -1
|
@@ -127,8 +127,8 @@ var AiQuestionRoot = forwardRef(function (props, ref) {
|
|
|
127
127
|
useEffect(function () {
|
|
128
128
|
updateState(props);
|
|
129
129
|
if (props === null || props === void 0 ? void 0 : props.mediaList) {
|
|
130
|
-
var _a = (props === null || props === void 0 ? void 0 : props.mediaList[0]) || {}, mediaUrl = _a.url, thumbUrl = _a.thumbUrl;
|
|
131
|
-
updateBootVideo({ mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
130
|
+
var _a = (props === null || props === void 0 ? void 0 : props.mediaList[0]) || {}, pcUrl = _a.pcUrl, pcThumbUrl = _a.pcThumbUrl, mediaUrl = _a.url, thumbUrl = _a.thumbUrl;
|
|
131
|
+
updateBootVideo({ pcUrl: pcUrl, pcThumbUrl: pcThumbUrl, mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
132
132
|
}
|
|
133
133
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
134
134
|
}, [props]);
|
|
@@ -13,6 +13,8 @@ export declare const useAiQuestion: (props: AiQuestionProps) => {
|
|
|
13
13
|
mediaList?: {
|
|
14
14
|
url: string;
|
|
15
15
|
thumbUrl: string;
|
|
16
|
+
pcUrl: string;
|
|
17
|
+
pcThumbUrl: string;
|
|
16
18
|
}[] | undefined;
|
|
17
19
|
onLoad?: ((steps?: import("./components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
18
20
|
onOpenTemplate?: ((steps?: import("./components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -9,6 +9,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
9
9
|
mediaList?: {
|
|
10
10
|
url: string;
|
|
11
11
|
thumbUrl: string;
|
|
12
|
+
pcUrl: string;
|
|
13
|
+
pcThumbUrl: string;
|
|
12
14
|
}[] | undefined;
|
|
13
15
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
14
16
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -22,6 +24,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
22
24
|
mediaList?: {
|
|
23
25
|
url: string;
|
|
24
26
|
thumbUrl: string;
|
|
27
|
+
pcUrl: string;
|
|
28
|
+
pcThumbUrl: string;
|
|
25
29
|
}[] | undefined;
|
|
26
30
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
27
31
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -35,6 +39,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
35
39
|
mediaList?: {
|
|
36
40
|
url: string;
|
|
37
41
|
thumbUrl: string;
|
|
42
|
+
pcUrl: string;
|
|
43
|
+
pcThumbUrl: string;
|
|
38
44
|
}[] | undefined;
|
|
39
45
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
40
46
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -132,8 +132,8 @@ var AiQuestionRoot = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
132
132
|
(0, react_1.useEffect)(function () {
|
|
133
133
|
updateState(props);
|
|
134
134
|
if (props === null || props === void 0 ? void 0 : props.mediaList) {
|
|
135
|
-
var _a = (props === null || props === void 0 ? void 0 : props.mediaList[0]) || {}, mediaUrl = _a.url, thumbUrl = _a.thumbUrl;
|
|
136
|
-
updateBootVideo({ mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
135
|
+
var _a = (props === null || props === void 0 ? void 0 : props.mediaList[0]) || {}, pcUrl = _a.pcUrl, pcThumbUrl = _a.pcThumbUrl, mediaUrl = _a.url, thumbUrl = _a.thumbUrl;
|
|
136
|
+
updateBootVideo({ pcUrl: pcUrl, pcThumbUrl: pcThumbUrl, mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
137
137
|
}
|
|
138
138
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
139
139
|
}, [props]);
|
|
@@ -13,6 +13,8 @@ export declare const useAiQuestion: (props: AiQuestionProps) => {
|
|
|
13
13
|
mediaList?: {
|
|
14
14
|
url: string;
|
|
15
15
|
thumbUrl: string;
|
|
16
|
+
pcUrl: string;
|
|
17
|
+
pcThumbUrl: string;
|
|
16
18
|
}[] | undefined;
|
|
17
19
|
onLoad?: ((steps?: import("./components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
18
20
|
onOpenTemplate?: ((steps?: import("./components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -9,6 +9,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
9
9
|
mediaList?: {
|
|
10
10
|
url: string;
|
|
11
11
|
thumbUrl: string;
|
|
12
|
+
pcUrl: string;
|
|
13
|
+
pcThumbUrl: string;
|
|
12
14
|
}[] | undefined;
|
|
13
15
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
14
16
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -22,6 +24,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
22
24
|
mediaList?: {
|
|
23
25
|
url: string;
|
|
24
26
|
thumbUrl: string;
|
|
27
|
+
pcUrl: string;
|
|
28
|
+
pcThumbUrl: string;
|
|
25
29
|
}[] | undefined;
|
|
26
30
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
27
31
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
@@ -35,6 +39,8 @@ export declare const useAiQuestionStore: (depsFn?: import("hox/es/types").DepsFn
|
|
|
35
39
|
mediaList?: {
|
|
36
40
|
url: string;
|
|
37
41
|
thumbUrl: string;
|
|
42
|
+
pcUrl: string;
|
|
43
|
+
pcThumbUrl: string;
|
|
38
44
|
}[] | undefined;
|
|
39
45
|
onLoad?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|
|
40
46
|
onOpenTemplate?: ((steps?: import("../../modules/ai-question/components/QuestionModel/interface").QuestionModelStep[] | undefined) => void) | undefined;
|