@omnia/fx 7.5.143-preview → 7.5.144-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/core/utils/EnterprisePropertyHandler.d.ts +9 -0
- package/internal-do-not-import-from-here/services/AzureOpenAIService.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/display/personfield/PersonFieldDisplay.d.ts +5 -7
- package/package.json +2 -2
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Identity } from "@omnia/fx-models";
|
|
2
|
+
export interface IdentityLookupValue {
|
|
3
|
+
value: Identity[] | string[];
|
|
4
|
+
type: "Identity" | "LoginName";
|
|
5
|
+
}
|
|
2
6
|
export declare class EnterprisePropertyHandler {
|
|
7
|
+
private static readonly IdentityRegex;
|
|
8
|
+
private static readonly EmailRegex;
|
|
9
|
+
private static readonly RefinementValueRegex;
|
|
3
10
|
static handlePersonProp(value: any): IPersonEnterprisePropertyValueHandler;
|
|
4
11
|
static ensureEnterprisePropertiesLabel(multilingualTitle: string, isRequired: boolean, showLabel: boolean, customLabel?: string): string;
|
|
12
|
+
static getIdentityLookupValue(value: unknown, isOnPrem?: boolean): IdentityLookupValue;
|
|
13
|
+
private static hasLoginNameInRefinementValue;
|
|
5
14
|
}
|
|
6
15
|
interface IPersonEnterprisePropertyValueHandler {
|
|
7
16
|
getValue(): Array<Identity>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextPromptRequest, TextPromptResult } from "../models/azure-openai";
|
|
2
|
-
import { GeneratedImage, TextToImageRequest,
|
|
2
|
+
import { GeneratedImage, TextToImageRequest, ImageDataResult, TextToImageResponse, ErrorResponse } from "@omnia/fx-models";
|
|
3
3
|
export declare class AzureOpenAIService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
private maxTokensOfModel;
|
|
@@ -14,6 +14,5 @@ export declare class AzureOpenAIService {
|
|
|
14
14
|
private getSummaryPrompt;
|
|
15
15
|
getImageFromResponse: (responseData: ImageDataResult) => GeneratedImage;
|
|
16
16
|
private wait;
|
|
17
|
-
getImage: (textToImageResponse: TextToImageResponse) => Promise<AiImageResponse | ErrorResponse>;
|
|
18
17
|
getTextTokensCount(input: string): Promise<number>;
|
|
19
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../../../../fx";
|
|
2
2
|
import { IPersonFieldDisplay } from "./IPersonFieldDisplay";
|
|
3
|
-
import { type EnterprisePropertiesPersonDisplaySettings, Identity
|
|
3
|
+
import { type EnterprisePropertiesPersonDisplaySettings, Identity } from "../../../../models";
|
|
4
4
|
import "./PersonFieldDisplay.css";
|
|
5
5
|
import { type EnterprisePropertyDefinition } from "../../../../models";
|
|
6
6
|
import { OmniaTheming, VueComponentBase } from "../../..";
|
|
@@ -11,17 +11,15 @@ export declare class PersonFieldDisplayComponent extends VueComponentBase implem
|
|
|
11
11
|
property: EnterprisePropertyDefinition;
|
|
12
12
|
wrapWithParentContent: (internalName: string, propertyContent: JSX.Element) => JSX.Element;
|
|
13
13
|
omniaTheming: OmniaTheming;
|
|
14
|
-
private
|
|
14
|
+
private omniaContext;
|
|
15
15
|
private identityStore;
|
|
16
|
+
private userIdentityStore;
|
|
16
17
|
private multilingualTextsStore;
|
|
17
18
|
identityLoc: IdentitiesLocalization.locInterface;
|
|
18
19
|
private personFieldDisplayClasses;
|
|
19
20
|
private isLoading;
|
|
20
|
-
|
|
21
|
-
resolvedIdentities
|
|
22
|
-
[uid: string]: IResolvedIdentity;
|
|
23
|
-
};
|
|
24
|
-
uids: string[];
|
|
21
|
+
private identifiers;
|
|
22
|
+
private resolvedIdentities;
|
|
25
23
|
onInputValueChanged(newValue: any, oldValue: any): void;
|
|
26
24
|
created(): void;
|
|
27
25
|
mounted(): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.5.
|
|
4
|
+
"version": "7.5.144-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.5.
|
|
23
|
+
"@omnia/fx-models": "7.5.144-preview",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|