@omnia/fx 7.6.37-preview → 7.6.39-preview
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/internal-do-not-import-from-here/ux/mediapickerproviders/MicrosoftStream/MicrosoftStreamProvider.d.ts +10 -16
- package/internal-do-not-import-from-here/ux/mediapickerproviders/sharepointvideosettings/SharePointVideoSettings.d.ts +7 -2
- package/internal-do-not-import-from-here/ux/mediapickerproviders/sharepointvideosettings/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/sharepointvideo/SharepointVideo.d.ts +7 -4
- package/package.json +2 -2
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
1
|
import { IWebComponentInstance } from "../../../";
|
|
3
2
|
import { MicrosoftStreamService } from "../../../services";
|
|
4
|
-
import { MicrosoftStreamModel } from "../../../models";
|
|
5
3
|
import { MicrosoftStreamProviderLocalization } from "./loc/localize";
|
|
6
4
|
import { OmniaTheming } from "../..";
|
|
7
5
|
import { IMicrosoftStreamProviderComponent } from "./IMicrosoftStreamProvider";
|
|
@@ -12,19 +10,15 @@ export declare class MicrosoftStreamProviderComponent extends MultiSelectMediaPr
|
|
|
12
10
|
microsoftStreamService: MicrosoftStreamService;
|
|
13
11
|
omniaTheming: OmniaTheming;
|
|
14
12
|
sharepointContext: SharePointContext;
|
|
15
|
-
apiUrl
|
|
16
|
-
microsoftStreamVideoUrl
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
embedIframeSource: string;
|
|
25
|
-
iframeElement: VNode;
|
|
26
|
-
validateMessage: string;
|
|
27
|
-
omniaUrl: string;
|
|
13
|
+
private apiUrl;
|
|
14
|
+
private microsoftStreamVideoUrl;
|
|
15
|
+
private isIframeLoading;
|
|
16
|
+
private invalidVideoUrl;
|
|
17
|
+
private invalidStartTimeInput;
|
|
18
|
+
private microsoftStream;
|
|
19
|
+
private iframeElement;
|
|
20
|
+
private validateMessage;
|
|
21
|
+
private omniaUrl;
|
|
28
22
|
rules: {
|
|
29
23
|
required: string;
|
|
30
24
|
};
|
|
@@ -34,6 +28,7 @@ export declare class MicrosoftStreamProviderComponent extends MultiSelectMediaPr
|
|
|
34
28
|
private enableStartTime;
|
|
35
29
|
private videoProviderResult;
|
|
36
30
|
private inVideoUrlInputMode;
|
|
31
|
+
private isSharepointStream;
|
|
37
32
|
constructor();
|
|
38
33
|
created(): void;
|
|
39
34
|
mounted(): void;
|
|
@@ -53,7 +48,6 @@ export declare class MicrosoftStreamProviderComponent extends MultiSelectMediaPr
|
|
|
53
48
|
private validateStartTimeInput;
|
|
54
49
|
private getStartTimeAsSeconds;
|
|
55
50
|
private getStreamVideo;
|
|
56
|
-
private getSharepointStreamVideo;
|
|
57
51
|
private processResponsiveIframe;
|
|
58
52
|
private renderIframe;
|
|
59
53
|
private renderVideoIframe;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IWebComponentInstance } from "@omnia/fx";
|
|
1
|
+
import { IWebComponentInstance, OmniaContext } from "@omnia/fx";
|
|
2
2
|
import { MediaPickerSharePointVideo } from "@omnia/fx-models";
|
|
3
|
-
import { VueComponentBase } from "
|
|
3
|
+
import { VueComponentBase } from "@omnia/fx/ux";
|
|
4
4
|
import "./SharePointVideoSettings.css";
|
|
5
5
|
import { ISharePointVideoSettingsComponent } from "./ISharePointVideoSettings";
|
|
6
6
|
import { SharePointVideoSettingsLocalization } from "./loc/localize";
|
|
@@ -13,9 +13,12 @@ export declare class SharePointVideoSettingsComponent extends VueComponentBase i
|
|
|
13
13
|
selectedMedia: MediaPickerSharePointVideo;
|
|
14
14
|
onMediaChange: (mediaPickerVideo: MediaPickerSharePointVideo) => void;
|
|
15
15
|
enableMediaCaption?: boolean;
|
|
16
|
+
private spMediaService;
|
|
17
|
+
omniaContext: OmniaContext;
|
|
16
18
|
private internalMedia;
|
|
17
19
|
private omniaUrl;
|
|
18
20
|
private isLoadingIframe;
|
|
21
|
+
private isVideoReady;
|
|
19
22
|
private enableStartTime;
|
|
20
23
|
private invalidStartTimeInput;
|
|
21
24
|
private previewVideoCmpKey;
|
|
@@ -26,6 +29,8 @@ export declare class SharePointVideoSettingsComponent extends VueComponentBase i
|
|
|
26
29
|
};
|
|
27
30
|
created(): void;
|
|
28
31
|
mounted(): void;
|
|
32
|
+
private buildVideoUrl;
|
|
33
|
+
private trimSensitiveInfo;
|
|
29
34
|
private onEnableStartTimeChanged;
|
|
30
35
|
private setEmbedHtml;
|
|
31
36
|
private updateMediaState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IWebComponentInstance, OmniaContext } from "@omnia/fx";
|
|
2
|
-
import { SharepointMediaService } from "internal/fx/sp";
|
|
3
2
|
import { VueComponentBase } from "internal/fx/ux/VueComponentBase";
|
|
4
3
|
/**
|
|
5
4
|
* Render sharepoint video, based on media graph Drive ID and Item ID
|
|
@@ -15,13 +14,17 @@ export declare class SharepointVideoComponent extends VueComponentBase implement
|
|
|
15
14
|
showTitle: boolean;
|
|
16
15
|
onLoaded?: () => void;
|
|
17
16
|
omniaCtx: OmniaContext;
|
|
17
|
+
private spMediaService;
|
|
18
|
+
private omniaContext;
|
|
18
19
|
private sourceEmbedUrl;
|
|
19
|
-
spMediaService: SharepointMediaService;
|
|
20
20
|
created(): void;
|
|
21
21
|
mounted(): void;
|
|
22
|
-
private
|
|
22
|
+
private onIframeLoad;
|
|
23
|
+
private buildIframeUrl;
|
|
24
|
+
private buildTemporaryUrl;
|
|
25
|
+
private isAutoSignInSharePoint;
|
|
23
26
|
private trimSensitiveInfo;
|
|
24
|
-
private
|
|
27
|
+
private getParamOptions;
|
|
25
28
|
private getStartTimeAsSeconds;
|
|
26
29
|
render(): VueTsxSupport.JSX.Element;
|
|
27
30
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.6.
|
|
4
|
+
"version": "7.6.39-preview",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.6.
|
|
23
|
+
"@omnia/fx-models": "7.6.39-preview",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|