@omnia/fx 7.1.0-dev → 7.1.1-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.
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/imagegrid/IImageGrid.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/imagegrid/ImageGrid.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/imagegrid/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/bingprovider/BingProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaproviderbase/GridViewMediaProviderComponent.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/pexelsprovider/PexelProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WebImage, MediaItem } from "../../models";
|
|
1
|
+
import { WebImage, MediaItem, MediaPickerEnums } from "../../models";
|
|
2
2
|
import { TsxAllowUnknowProperties } from "../";
|
|
3
3
|
export interface IImageGridComponentAttributes {
|
|
4
4
|
appendToGrid?: boolean;
|
|
@@ -8,6 +8,7 @@ export interface IImageGridComponent extends IImageGridComponentAttributes {
|
|
|
8
8
|
onImageSelected?: (image: WebImage) => void;
|
|
9
9
|
itemDetailSlot?: (h: any, item: MediaItem) => JSX.Element;
|
|
10
10
|
itemOverlaySlot?: (h: any, item: MediaItem) => JSX.Element;
|
|
11
|
+
searchStatus?: MediaPickerEnums.MediaSearchStatus;
|
|
11
12
|
}
|
|
12
13
|
declare global {
|
|
13
14
|
namespace VueTsxSupport.JSX {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../";
|
|
2
2
|
import { IImageGridComponent, VueComponentBase } from "..";
|
|
3
|
-
import { MediaItem } from "../../models";
|
|
3
|
+
import { MediaItem, MediaPickerEnums } from "../../models";
|
|
4
4
|
import "./ImageGrid.css";
|
|
5
5
|
import { ImageGridLocalization } from "./loc";
|
|
6
6
|
export declare class ImageGridComponent extends VueComponentBase implements IWebComponentInstance, IImageGridComponent {
|
|
@@ -9,6 +9,7 @@ export declare class ImageGridComponent extends VueComponentBase implements IWeb
|
|
|
9
9
|
appendToGrid: boolean;
|
|
10
10
|
itemDetailSlot?: (item: MediaItem) => JSX.Element;
|
|
11
11
|
itemOverlaySlot?: (item: MediaItem) => JSX.Element;
|
|
12
|
+
searchStatus?: MediaPickerEnums.MediaSearchStatus;
|
|
12
13
|
imageLoc: ImageGridLocalization.locInterface;
|
|
13
14
|
private resultStyles;
|
|
14
15
|
static MAX_REQUEST_LIMIT: number;
|
|
@@ -23,6 +24,6 @@ export declare class ImageGridComponent extends VueComponentBase implements IWeb
|
|
|
23
24
|
showImageToGrid(): void;
|
|
24
25
|
getImages(items: Array<MediaItem>, startIndex: any, endIndex: any): MediaItem[];
|
|
25
26
|
private CreateColumnArray;
|
|
26
|
-
|
|
27
|
+
renderMessage(message: any): VueTsxSupport.JSX.Element;
|
|
27
28
|
render(): VueTsxSupport.JSX.Element;
|
|
28
29
|
}
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/bingprovider/BingProvider.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class BingProviderComponent extends GridViewMediaProviderComponen
|
|
|
9
9
|
getMediaItems(searchKeyword: string): Promise<BingMediaItem[]>;
|
|
10
10
|
getMoreMediaItems(lastLoadedIndex: number): Promise<BingMediaItem[]>;
|
|
11
11
|
getMediaInfo(mediaItem: ImageItem | VideoItem): Promise<ImageInformation | VideoInformation>;
|
|
12
|
+
setEmptyResultHandler(): void;
|
|
12
13
|
bingImageService: BingImageService;
|
|
13
14
|
bingLoc: BingProviderLocalization.locInterface;
|
|
14
15
|
private scale;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../../";
|
|
2
|
-
import { MediaItem, ImageItem, VideoItem, ImageInformation, VideoInformation, MediaPickerImageTransformationResult, MediaPickerVideo } from "../../../models";
|
|
2
|
+
import { MediaItem, ImageItem, VideoItem, ImageInformation, MediaPickerEnums, VideoInformation, MediaPickerImageTransformationResult, MediaPickerVideo } from "../../../models";
|
|
3
3
|
import { MediaProviderComponentBase } from "./MediaProviderComponentBase";
|
|
4
4
|
import "./GridViewMediaProviderComponent.css";
|
|
5
5
|
export interface GridViewMediaProviderComponentProps {
|
|
@@ -37,6 +37,7 @@ export declare abstract class GridViewMediaProviderComponent extends MediaProvid
|
|
|
37
37
|
private mediaGridItems;
|
|
38
38
|
protected displayPageSize: number;
|
|
39
39
|
protected enableLoadMoreButton: boolean;
|
|
40
|
+
protected searchStatus: MediaPickerEnums.MediaSearchStatus;
|
|
40
41
|
private isShowRetryGetSelectedImageInfoDialog;
|
|
41
42
|
private gridComponentKey;
|
|
42
43
|
private imageItemToRetryDownload;
|
|
@@ -48,6 +49,8 @@ export declare abstract class GridViewMediaProviderComponent extends MediaProvid
|
|
|
48
49
|
constructor();
|
|
49
50
|
protected selectGridItem(mediaItem: ImageItem | VideoItem): void;
|
|
50
51
|
protected setAllItems(mediaItems: Array<ImageItem | VideoItem>): void;
|
|
52
|
+
protected setEmptyResultHandler(): void;
|
|
53
|
+
protected setSearchStatus(status: MediaPickerEnums.MediaSearchStatus): void;
|
|
51
54
|
private retryToGetSelectedImageInfo;
|
|
52
55
|
private handleSelectedMediaItem;
|
|
53
56
|
private getMediaItemChunks;
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/pexelsprovider/PexelProvider.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class PexelProviderComponent extends GridViewMediaProviderCompone
|
|
|
12
12
|
getMediaItems(searchKeyword: string): Promise<PexelImage[]>;
|
|
13
13
|
getMoreMediaItems(lastLoadedIndex: number): Promise<PexelImage[]>;
|
|
14
14
|
getMediaInfo(mediaItem: ImageItem | VideoItem): Promise<ImageInformation | VideoInformation>;
|
|
15
|
+
setEmptyResultHandler(): void;
|
|
15
16
|
pexelImageService: PexelImageService;
|
|
16
17
|
omniaTheming: OmniaTheming;
|
|
17
18
|
pexelLoc: PexelProviderLocalization.locInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-sp-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-appinstance-editing-journey":["appInstance","content","onCanceled","onSave","onCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-connected-tenant":["onValueChanged","scopedSlots"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles","loadLanguage"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-aboutuser":["user"],"omfx-profilecard":["user","scopedSlots","appendToBody"],"omfx-profilecard-dialog":["user"],"omfx-rich-text-editor":["onContentChange","onContentDataChange","onInstanceCreated"],"omfx-rich-text-editor-renderer":["editorContent"],"omfx-rollup-empty":["text","renderingMode"],"omfx-rollup-filter":["valueBind","onFilterChange","useRollupFilterRouter"],"omfx-security-trimer":["content","alternativeContent","roles"],"omfx-settings-pane":["valueBind","onCancel","onSave"],"omfx-comment-component":["topicId","comments","template","dynamicInput","richTextSettings","enableBestReply","canMarkBestReply","sortOrder","allowLikes","cardStyle","showMoreSize","additionalRoles"],"omfx-people-tagging-component":["content","disabled","richTextSettings","enableMention","contentChanged","mentionChanged","resetContetnRte"],"omfx-like-component":["topicId","commendId","commentLikeService","likes","likeListingTemplate","extendComponents"],"omfx-like-listing-template":["likes","socialReactionStylings","currentSocialReaction","close"],"omfx-spacing-picker":["valueBind","onValueChanged"],"omfx-status-message-overlay":["content"],"omfx-template-picker":["valueBind","templates","onValueChanged"],"omfx-text-translator":["onTranslateCompleted"],"omfx-themedefinition-editor":["hideBodySettings","hideChromeSettings","hideBorderSettings","valueBind","onValueChanged","attachedToParent"],"omfx-timezone-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-url-input":["valueBind","requiredWithValidator","onValueChanged","onBlur"],"omfx-field-validation":["useValidator","checkValue","rules","getCheckValue"],"omfx-wizard":["styles","onInstanceCreated","steps"]}
|
|
1
|
+
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-sp-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-appinstance-editing-journey":["appInstance","content","onCanceled","onSave","onCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-connected-tenant":["onValueChanged","scopedSlots"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected","searchStatus"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles","loadLanguage"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-aboutuser":["user"],"omfx-profilecard":["user","scopedSlots","appendToBody"],"omfx-profilecard-dialog":["user"],"omfx-rich-text-editor":["onContentChange","onContentDataChange","onInstanceCreated"],"omfx-rich-text-editor-renderer":["editorContent"],"omfx-rollup-empty":["text","renderingMode"],"omfx-rollup-filter":["valueBind","onFilterChange","useRollupFilterRouter"],"omfx-security-trimer":["content","alternativeContent","roles"],"omfx-settings-pane":["valueBind","onCancel","onSave"],"omfx-comment-component":["topicId","comments","template","dynamicInput","richTextSettings","enableBestReply","canMarkBestReply","sortOrder","allowLikes","cardStyle","showMoreSize","additionalRoles"],"omfx-people-tagging-component":["content","disabled","richTextSettings","enableMention","contentChanged","mentionChanged","resetContetnRte"],"omfx-like-component":["topicId","commendId","commentLikeService","likes","likeListingTemplate","extendComponents"],"omfx-like-listing-template":["likes","socialReactionStylings","currentSocialReaction","close"],"omfx-spacing-picker":["valueBind","onValueChanged"],"omfx-status-message-overlay":["content"],"omfx-template-picker":["valueBind","templates","onValueChanged"],"omfx-text-translator":["onTranslateCompleted"],"omfx-themedefinition-editor":["hideBodySettings","hideChromeSettings","hideBorderSettings","valueBind","onValueChanged","attachedToParent"],"omfx-timezone-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-url-input":["valueBind","requiredWithValidator","onValueChanged","onBlur"],"omfx-field-validation":["useValidator","checkValue","rules","getCheckValue"],"omfx-wizard":["styles","onInstanceCreated","steps"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.1-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.1.
|
|
23
|
+
"@omnia/fx-models": "7.1.1-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|