@omnia/fx 7.9.2-preview → 7.9.4-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/services/SemanticSearchService.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/app/appinstance/view/listing/ListView.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/dialog/IDialog.d.ts +8 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/mediafield/IMediaFieldDisplay.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/mediafield/MediaFieldDisplay.d.ts +18 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/mediafield/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/mediafield/IMediaFieldEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/mediafield/MediaFieldEdit.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/mediafield/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsdesigner/StepperSectionDesigner.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/models/UnsplashImage.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/services/UnsplashImageService.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/profilecard/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/profilecard/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +6 -1
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { GuidValue, SemanticSearchJobResult, SemanticSearchGetRequest, SemanticSearchResult, SemanticSearchJobResultWithData, SemanticSearchQueryableProperty } from "../models";
|
1
|
+
import { GuidValue, SemanticSearchJobResult, SemanticSearchGetRequest, SemanticSearchResult, SemanticSearchJobResultWithData, SemanticSearchQueryableProperty, SemanticSearchQueryablePropertyCreation } from "../models";
|
2
2
|
export declare class SemanticSearchService {
|
3
3
|
private httpClient;
|
4
4
|
constructor();
|
@@ -8,5 +8,5 @@ export declare class SemanticSearchService {
|
|
8
8
|
getSemanticSearchQuestionsResult: (questionJobId: GuidValue) => Promise<SemanticSearchJobResultWithData<SemanticSearchResult>>;
|
9
9
|
getSemanticSearchQueriesResult: (queryJobId: GuidValue) => Promise<SemanticSearchJobResultWithData<SemanticSearchResult>>;
|
10
10
|
getSemanticSearchQueryableProperties: () => Promise<SemanticSearchQueryableProperty[]>;
|
11
|
-
updateSemanticSearchQueryableProperties: (semanticSearchQueryableProperties:
|
11
|
+
updateSemanticSearchQueryableProperties: (semanticSearchQueryableProperties: SemanticSearchQueryablePropertyCreation[]) => Promise<void>;
|
12
12
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { IWebComponentInstance } from "@omnia/fx";
|
2
|
-
import { AppInstanceRollupViewPropertySettings, EnterprisePropertyDefinition } from "@omnia/fx-models";
|
3
2
|
import { MediaPickerService } from "../../../../../services";
|
4
3
|
import { DirectionRuleStore } from "../../../../../stores";
|
5
4
|
import { AppInstanceRollupViewBase } from "../BaseView";
|
@@ -12,11 +11,8 @@ export declare class AppInstanceRollupListViewComponent extends AppInstanceRollu
|
|
12
11
|
private skipPaddingRowCells;
|
13
12
|
private paddingForCell;
|
14
13
|
private isRightToLeft;
|
15
|
-
private specialPropertyNames;
|
16
14
|
created(): void;
|
17
15
|
mounted(): void;
|
18
|
-
get columns(): Array<AppInstanceRollupViewPropertySettings>;
|
19
|
-
isValidColumn(col: AppInstanceRollupViewPropertySettings): EnterprisePropertyDefinition;
|
20
16
|
private init;
|
21
17
|
private registerStickyHeader;
|
22
18
|
private initSpacingAndPadding;
|
@@ -22,8 +22,9 @@ declare const dialogComponent: (import("vue").VueConstructor<import("vue-tsx-sup
|
|
22
22
|
valueBind: DialogModel;
|
23
23
|
position: DialogPositions;
|
24
24
|
onClickOutside: (closeDialog: (prompt: boolean, title?: string) => void, event?: Event) => void;
|
25
|
-
unreadableReader: boolean;
|
26
25
|
noClickAnimation: boolean;
|
26
|
+
ariaLabelTitle: string;
|
27
|
+
ariaHiddenContent: boolean;
|
27
28
|
renderBody: () => JSX.Element;
|
28
29
|
eager: boolean;
|
29
30
|
}, never>, any, any, any>> & {
|
@@ -50,8 +51,9 @@ declare const dialogComponent: (import("vue").VueConstructor<import("vue-tsx-sup
|
|
50
51
|
valueBind: DialogModel;
|
51
52
|
position: DialogPositions;
|
52
53
|
onClickOutside: (closeDialog: (prompt: boolean, title?: string) => void, event?: Event) => void;
|
53
|
-
unreadableReader: boolean;
|
54
54
|
noClickAnimation: boolean;
|
55
|
+
ariaLabelTitle: string;
|
56
|
+
ariaHiddenContent: boolean;
|
55
57
|
renderBody: () => JSX.Element;
|
56
58
|
eager: boolean;
|
57
59
|
}, never>;
|
@@ -78,8 +80,9 @@ declare const dialogComponent: (import("vue").VueConstructor<import("vue-tsx-sup
|
|
78
80
|
valueBind: DialogModel;
|
79
81
|
position: DialogPositions;
|
80
82
|
onClickOutside: (closeDialog: (prompt: boolean, title?: string) => void, event?: Event) => void;
|
81
|
-
unreadableReader: boolean;
|
82
83
|
noClickAnimation: boolean;
|
84
|
+
ariaLabelTitle: string;
|
85
|
+
ariaHiddenContent: boolean;
|
83
86
|
renderBody: () => JSX.Element;
|
84
87
|
eager: boolean;
|
85
88
|
}, never>, any, any, any>> & {
|
@@ -106,8 +109,9 @@ declare const dialogComponent: (import("vue").VueConstructor<import("vue-tsx-sup
|
|
106
109
|
valueBind: DialogModel;
|
107
110
|
position: DialogPositions;
|
108
111
|
onClickOutside: (closeDialog: (prompt: boolean, title?: string) => void, event?: Event) => void;
|
109
|
-
unreadableReader: boolean;
|
110
112
|
noClickAnimation: boolean;
|
113
|
+
ariaLabelTitle: string;
|
114
|
+
ariaHiddenContent: boolean;
|
111
115
|
renderBody: () => JSX.Element;
|
112
116
|
eager: boolean;
|
113
117
|
}, never>;
|
@@ -23,12 +23,19 @@ export interface IDialogProperties {
|
|
23
23
|
light?: boolean;
|
24
24
|
dark?: boolean;
|
25
25
|
hideCloseButton?: boolean;
|
26
|
-
unreadableReader?: boolean;
|
27
26
|
noClickAnimation?: boolean;
|
28
27
|
/**
|
29
28
|
* Force the dialog to render on mounted (e.g rendered but not shown)
|
30
29
|
*/
|
31
30
|
eager?: boolean;
|
31
|
+
/**
|
32
|
+
* Add aria-labelledby for dialog
|
33
|
+
*/
|
34
|
+
ariaLabelTitle?: string;
|
35
|
+
/**
|
36
|
+
* Add aria-hidden for dialog content
|
37
|
+
*/
|
38
|
+
ariaHiddenContent?: boolean;
|
32
39
|
}
|
33
40
|
export interface IDialogSlots {
|
34
41
|
default: () => void;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { EnterprisePropertyDisplayProps } from "../../EnterprisePropertyComponentProps";
|
2
|
+
import { TsxAllowUnknowProperties } from "../../..";
|
3
|
+
export interface IMediaFieldDisplay extends EnterprisePropertyDisplayProps {
|
4
|
+
}
|
5
|
+
declare global {
|
6
|
+
namespace VueTsxSupport.JSX {
|
7
|
+
interface Element {
|
8
|
+
}
|
9
|
+
interface ElementClass {
|
10
|
+
}
|
11
|
+
interface IntrinsicElements {
|
12
|
+
"omfx-enterpriseproperties-mediafield-display": TsxAllowUnknowProperties<IMediaFieldDisplay>;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import Vue from "vue";
|
2
|
+
import { IWebComponentInstance } from "../../../..";
|
3
|
+
import { EnterprisePropertyDefinition, MediaPickerMedia } from "../../../../models";
|
4
|
+
import { IMediaFieldDisplay } from "./IMediaFieldDisplay";
|
5
|
+
export declare class MediaFieldDisplayComponent extends Vue implements IWebComponentInstance, IMediaFieldDisplay {
|
6
|
+
valueBind: MediaPickerMedia;
|
7
|
+
property: EnterprisePropertyDefinition;
|
8
|
+
wrapWithParentContent: (internalName: string, propertyContent: JSX.Element) => JSX.Element;
|
9
|
+
private mediaType;
|
10
|
+
private preSelectedMedia;
|
11
|
+
mounted(): void;
|
12
|
+
created(): void;
|
13
|
+
private initContent;
|
14
|
+
private renderMedia;
|
15
|
+
private renderImage;
|
16
|
+
private renderVideo;
|
17
|
+
render(): VueTsxSupport.JSX.Element;
|
18
|
+
}
|
package/internal-do-not-import-from-here/ux/enterpriseproperties/display/mediafield/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./IMediaFieldDisplay";
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { EnterprisePropertyMediaItemSettings, MediaPickerStorageProviderContext } from "../../../../models";
|
2
|
+
import { EnterprisePropertyEditProps } from "../../EnterprisePropertyComponentProps";
|
3
|
+
export interface IMediaFieldEdit extends EnterprisePropertyEditProps<EnterprisePropertyMediaItemSettings> {
|
4
|
+
mediaPickerStorageProviderContext: MediaPickerStorageProviderContext;
|
5
|
+
}
|
6
|
+
declare global {
|
7
|
+
namespace VueTsxSupport.JSX {
|
8
|
+
interface Element {
|
9
|
+
}
|
10
|
+
interface ElementClass {
|
11
|
+
}
|
12
|
+
interface IntrinsicElements {
|
13
|
+
"omfx-enterpriseproperties-mediafield-edit": IMediaFieldEdit;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/mediafield/MediaFieldEdit.d.ts
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
import { IWebComponentInstance } from "../../../..";
|
2
|
+
import { IMediaFieldEdit } from "./IMediaFieldEdit";
|
3
|
+
import { EnterprisePropertyDefinition, MediaPickerMedia, MediaPickerStorageProviderContext } from "../../../../models";
|
4
|
+
import { VueComponentBase } from "../../../VueComponentBase";
|
5
|
+
import { MediaPickerStore } from "../../../../stores";
|
6
|
+
export declare class MediaFieldEdit extends VueComponentBase implements IWebComponentInstance, IMediaFieldEdit {
|
7
|
+
valueBind: {
|
8
|
+
[propertyInternalName: string]: MediaPickerMedia;
|
9
|
+
};
|
10
|
+
onValueChanged: (value: MediaPickerMedia) => void;
|
11
|
+
disabled: boolean;
|
12
|
+
property: EnterprisePropertyDefinition;
|
13
|
+
mediaPickerStore: MediaPickerStore;
|
14
|
+
mediaPickerStorageProviderContext: MediaPickerStorageProviderContext;
|
15
|
+
private mediaType;
|
16
|
+
private preSelectedMedia;
|
17
|
+
private imageSettings;
|
18
|
+
private showAddMedia;
|
19
|
+
mounted(): void;
|
20
|
+
initImageSettings(): void;
|
21
|
+
created(): void;
|
22
|
+
private initContent;
|
23
|
+
saveSelectedMedia(result: MediaPickerMedia): void;
|
24
|
+
closed(): void;
|
25
|
+
removeMedia(): void;
|
26
|
+
renderTooltip(): VueTsxSupport.JSX.Element;
|
27
|
+
renderEditButtons(): VueTsxSupport.JSX.Element;
|
28
|
+
renderMedia(): VueTsxSupport.JSX.Element;
|
29
|
+
renderImage(): JSX.Element;
|
30
|
+
renderVideo(): VueTsxSupport.JSX.Element;
|
31
|
+
render(): VueTsxSupport.JSX.Element;
|
32
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./IMediaFieldEdit";
|
@@ -34,6 +34,7 @@ export declare class StepperSectionDesigner extends VueComponentBase<StepperSect
|
|
34
34
|
private getCustomAnchorName;
|
35
35
|
private silentNavigateIfNeeded;
|
36
36
|
private renderStepLabel;
|
37
|
+
private getSpfxPath;
|
37
38
|
private getAnchorName;
|
38
39
|
get items(): SectionItem<SteppedSectionItemSettings>[];
|
39
40
|
private get inLayoutDesignMode();
|
@@ -1,6 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UnsplashAuthenticationInfo } from "../../../../models";
|
2
|
+
import { UnsplashResponse } from "../models/UnsplashImage";
|
2
3
|
export declare class UnsplashImageService {
|
3
4
|
private commonHttpClient;
|
4
|
-
|
5
|
+
private omniaHttpClient;
|
6
|
+
search: (searchText: string, offset: number, limit: number, clientId: any, page: any) => Promise<UnsplashResponse>;
|
5
7
|
private getImages;
|
8
|
+
getAuthenticationInfo: () => Promise<UnsplashAuthenticationInfo>;
|
6
9
|
}
|
@@ -56,6 +56,10 @@ export declare class CommentComponent extends VueComponentBase implements IWebCo
|
|
56
56
|
currentShowMoreSize: {
|
57
57
|
[id: string]: number;
|
58
58
|
};
|
59
|
+
currentReplyCommentKey: {
|
60
|
+
[parentId: string]: string;
|
61
|
+
};
|
62
|
+
currentMainCommentKey: string;
|
59
63
|
private commentClasses;
|
60
64
|
private minIndexToShow;
|
61
65
|
private topComments;
|
@@ -75,7 +79,8 @@ export declare class CommentComponent extends VueComponentBase implements IWebCo
|
|
75
79
|
isElementInViewport(el: any): boolean;
|
76
80
|
getCommentsCountLabel(commentsCount: number): string;
|
77
81
|
renderTopicComments(): VueTsxSupport.JSX.Element;
|
78
|
-
|
82
|
+
setFocusWhenViewPrevOrMoreComment(parentCommentId: string, commentKey: string): void;
|
83
|
+
renderTopCommentShowMoreOption(id: string, replyComment?: boolean): VueTsxSupport.JSX.Element;
|
79
84
|
renderShowAllOption(id: string): VueTsxSupport.JSX.Element;
|
80
85
|
renderMainCommentComponent(comment: Comment, slimSpacing: boolean): VueTsxSupport.JSX.Element;
|
81
86
|
renderCommentsWithChildren(parentComment: Comment): VueTsxSupport.JSX.Element;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "7.9.
|
4
|
+
"version": "7.9.4-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": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "7.9.
|
23
|
+
"@omnia/fx-models": "7.9.4-preview",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|