@omnia/fx 7.5.68-dev → 7.5.70-dev

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.
@@ -1,7 +1,13 @@
1
- import { IPagedSearchResult, IndexedDocument, PagedBatchSearchRequest } from "../models";
1
+ import { IPagedResult, IPagedSearchResult, IPagedSearchResultToken, ISearchResult, IndexedDocument, NextPagedSearchRequest, PagedBatchSearchRequest, PagedSearchRequest, SearchRequest } from "../models";
2
2
  export declare class OmniaSearchService {
3
3
  private httpClientOmniaSearch;
4
4
  private baseUrl;
5
5
  constructor();
6
6
  multipleSearch: <TIndexedDocument extends IndexedDocument>(searchQueryRequest: PagedBatchSearchRequest, cancelRequest?: (cancelToken: any) => void) => Promise<IPagedSearchResult<TIndexedDocument>[]>;
7
+ search: <TIndexedDocument extends IndexedDocument>(searchRequest: SearchRequest) => Promise<ISearchResult<TIndexedDocument>>;
8
+ searchPaged: <TIndexedDocument extends IndexedDocument>(searchRequest: PagedSearchRequest) => Promise<IPagedResult<IPagedSearchResult<TIndexedDocument>, IPagedSearchResultToken>>;
9
+ searchPagedNext: <TIndexedDocument extends IndexedDocument>(nextRequest: NextPagedSearchRequest) => Promise<IPagedResult<IPagedSearchResult<TIndexedDocument>, IPagedSearchResultToken>>;
10
+ private mappingSearchResult;
11
+ private mappingSearchPagedResult;
12
+ private mappingSearchPagedNextResult;
7
13
  }
@@ -23,6 +23,7 @@ export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 ex
23
23
  protected protectedClearRoute(): void;
24
24
  protected combinePathParts(...parts: string[]): string;
25
25
  private resolveContext;
26
+ static getRouterUrl(): string;
26
27
  private static buildPath;
27
28
  private static resolveTokenBasedContext;
28
29
  private static ensureNoSlashAtTheBeginningAndTheEnd;
@@ -21,6 +21,7 @@ export declare class FilterEngineHandler extends Store {
21
21
  private propertyMultilingualTitleHash;
22
22
  private typedHandlers;
23
23
  private pageNumber;
24
+ private url;
24
25
  private allDataReadyPromise;
25
26
  private contextPropertiesApi;
26
27
  private contextPropertyDefinitionApi;
@@ -39,6 +40,7 @@ export declare class FilterEngineHandler extends Store {
39
40
  getters: {
40
41
  keywordsSearching: () => string;
41
42
  pageNumber: () => number;
43
+ pageUrl: () => string;
42
44
  hasSmallContainer: () => boolean;
43
45
  hasSmallViewport: () => boolean;
44
46
  canRenderSideSections: () => boolean;
@@ -32,6 +32,10 @@ export interface IdentitiesLocalization {
32
32
  Description: string;
33
33
  Image: string;
34
34
  ExternalIdentityMappings: string;
35
+ IsRemoved: {
36
+ DeletedUser: string;
37
+ DeletedGroup: string;
38
+ };
35
39
  };
36
40
  IdentityExternalMappings: {
37
41
  SharePointAllInternalExceptExternal: string;
@@ -1,6 +1,6 @@
1
1
  export declare const DelimiterCss: {
2
- inActiveDelimiter: (index: number) => string;
3
- activeDelimiter: (index: number) => string;
2
+ inActiveDelimiter: (index: number, bgColor: string) => string;
3
+ activeDelimiter: (index: number, bgColor: string) => string;
4
4
  container: string;
5
5
  delimiter: (index: number) => string;
6
6
  videoMask: string;
@@ -5,6 +5,7 @@ export declare const SliderCss: {
5
5
  imgStyle: (sliderFooterWidth: string) => string;
6
6
  imgStyleMobile: () => string;
7
7
  carouselDialog: string;
8
+ carouselImg: (sliderFooterWidth: string) => string;
8
9
  sliderGalleryDialog: string;
9
10
  carouselItem: (sliderFooterWidth: string) => string;
10
11
  mediaCaption: string;
@@ -2,5 +2,6 @@ export declare module PhotoWallLocalization {
2
2
  const namespace = "Omnia.Fx.Media.Gallery.PhotoWall";
3
3
  interface locInterface {
4
4
  Title: string;
5
+ DisplayPhotoWall: string;
5
6
  }
6
7
  }
@@ -17,6 +17,8 @@ export interface MediaPickerProviderComponentProps {
17
17
  /** Set the search keyword value and execute the onSearch method */
18
18
  setSearchKeyword: (value: string) => void;
19
19
  onChanged: (state: any) => void;
20
+ /**Enable caption for media */
21
+ enableMediaCaption?: boolean;
20
22
  }
21
23
  export interface MediaPickerImageTransformerProps {
22
24
  sourceImage: MediaPickerBase64Image | MediaPickerTransformedBase64Image;
@@ -15,6 +15,7 @@ export declare module MicrosoftStreamProviderLocalization {
15
15
  Responsive: string;
16
16
  ShowInfo: string;
17
17
  VideoInformation: string;
18
+ VideoCaption: string;
18
19
  };
19
20
  Message: {
20
21
  InvalidInputStartTime: string;
@@ -18,6 +18,7 @@ export declare module YouTubeProviderLocalization {
18
18
  Responsive: string;
19
19
  ShowInfo: string;
20
20
  VideoInformation: string;
21
+ VideoCaption: string;
21
22
  };
22
23
  Message: {
23
24
  InvalidInputStartTime: string;
@@ -19,6 +19,7 @@ export declare abstract class MediaProviderComponentBase extends VueComponentBas
19
19
  selectableMediaTypes?: Array<MediaPickerEnums.OmniaMediaTypes>;
20
20
  setSearchKeyword: (value: string) => void;
21
21
  onChanged: (state: any) => void;
22
+ enableMediaCaption?: boolean;
22
23
  uxLoc: OmniaUxLocalization;
23
24
  mediaProviderBaseLoc: MediaProviderBaseLocalization.locInterface;
24
25
  /** Define method to get data based on search keyword. Null is to hide the search box in media picker. */
@@ -3,6 +3,7 @@ import { TsxAllowUnknowProperties } from "../../";
3
3
  export interface ISharePointVideoSettingsComponent {
4
4
  selectedMedia: MediaPickerSharePointVideo;
5
5
  onMediaChange: (mediaPickerVideo: MediaPickerSharePointVideo) => void;
6
+ enableMediaCaption?: boolean;
6
7
  }
7
8
  declare global {
8
9
  namespace JSX {
@@ -12,6 +12,7 @@ export declare class SharePointVideoSettingsComponent extends VueComponentBase i
12
12
  loc: SharePointVideoSettingsLocalization.locInterface;
13
13
  selectedMedia: MediaPickerSharePointVideo;
14
14
  onMediaChange: (mediaPickerVideo: MediaPickerSharePointVideo) => void;
15
+ enableMediaCaption?: boolean;
15
16
  private internalMedia;
16
17
  private omniaUrl;
17
18
  private isLoadingIframe;
@@ -27,6 +28,7 @@ export declare class SharePointVideoSettingsComponent extends VueComponentBase i
27
28
  mounted(): void;
28
29
  private onEnableStartTimeChanged;
29
30
  private setEmbedHtml;
31
+ private updateMediaState;
30
32
  private setHTMLResult;
31
33
  private validateStartTimeInput;
32
34
  private renderVideo;
@@ -4,5 +4,9 @@ export declare module SharePointVideoSettingsLocalization {
4
4
  StartAt: string;
5
5
  ShowTitle: string;
6
6
  InvalidInputStartTime: any;
7
+ Labels: {
8
+ VideoInformation: string;
9
+ VideoCaption: string;
10
+ };
7
11
  }
8
12
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.5.68-dev",
4
+ "version": "7.5.70-dev",
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.5.68-dev",
23
+ "@omnia/fx-models": "7.5.70-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",