@omnia/fx 7.0.519-dev → 7.0.521-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/services/identities/IdentityService.d.ts +3 -0
- package/internal-do-not-import-from-here/stores/UserIdentityStore.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/AppRollupFilterEngineContext.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/confirmdialog/IConfirmDialog.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRegistrationApi.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/filterengine/models/IRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +4 -0
- package/package.json +2 -2
|
@@ -9,6 +9,9 @@ export declare class IdentityService {
|
|
|
9
9
|
resolveUserIdentities(usernames: string[]): Future<{
|
|
10
10
|
[username: string]: ResolvedUserIdentity;
|
|
11
11
|
}>;
|
|
12
|
+
resolveUserIdentitiesByEmails(emails: string[]): Future<{
|
|
13
|
+
[email: string]: ResolvedUserIdentity;
|
|
14
|
+
}>;
|
|
12
15
|
checkUserMemberOfGroups(user: UserIdentity, groups: GroupIdentity[]): Future<{
|
|
13
16
|
[groupUid: string]: boolean;
|
|
14
17
|
}>;
|
|
@@ -12,6 +12,8 @@ export declare class UserIdentityStore extends Store {
|
|
|
12
12
|
private usersPresenceState;
|
|
13
13
|
private userProperties;
|
|
14
14
|
private needToResolveUsernames;
|
|
15
|
+
private resolveEmailPromises;
|
|
16
|
+
private needToResolveEmails;
|
|
15
17
|
getters: {
|
|
16
18
|
getUserProperties: () => IdentityProperty[];
|
|
17
19
|
getUserPresence: (user: UserIdentity) => UserPresenceStatus;
|
|
@@ -32,6 +34,11 @@ export declare class UserIdentityStore extends Store {
|
|
|
32
34
|
}, usernames: string[]) => void, (failureReason: any, usernames: string[]) => void, (usernames: string[]) => Promise<{
|
|
33
35
|
[username: string]: ResolvedUserIdentity;
|
|
34
36
|
}>>;
|
|
37
|
+
resolveUserIdentitiesByEmail: import("./Store").StoreAction<unknown, (emails: string[]) => void, (result: {
|
|
38
|
+
[email: string]: ResolvedUserIdentity;
|
|
39
|
+
}, emails: string[]) => void, (failureReason: any, emails: string[]) => void, (emails: string[]) => Promise<{
|
|
40
|
+
[email: string]: ResolvedUserIdentity;
|
|
41
|
+
}>>;
|
|
35
42
|
resolveUsersPresence: import("./Store").StoreAction<unknown, (users: ResolvedUserIdentity[]) => void, (result: {
|
|
36
43
|
[uid: string]: UserPresenceStatus;
|
|
37
44
|
}, users: ResolvedUserIdentity[]) => void, (failureReason: any, users: ResolvedUserIdentity[]) => void, (users: ResolvedUserIdentity[]) => Promise<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DbQueryFilterEngineContext } from "@omnia/fx-models";
|
|
2
2
|
export declare class AppRollupFilterEngineContext extends DbQueryFilterEngineContext {
|
|
3
3
|
componentId: string;
|
|
4
|
+
uniqueId: string;
|
|
4
5
|
constructor(componentId: string);
|
|
5
6
|
getAvailableProperties(): import("@omnia/fx-models").EnterprisePropertyDefinition[];
|
|
6
7
|
}
|
|
@@ -3,6 +3,7 @@ import { IConfirmDialog, ConfirmDialogDisplay } from "./IConfirmDialog";
|
|
|
3
3
|
import { ConfirmDialogOptions, ConfirmDialogResponse } from "./IVueConfirmDialog";
|
|
4
4
|
import { ConfirmDialogStyles } from "../models/ConfirmDialogStyles";
|
|
5
5
|
import "./ConfirmDialog.css";
|
|
6
|
+
import { ButtonTooltipOptions } from "../../models";
|
|
6
7
|
export declare class ConfirmDialogComponent extends VueComponentBase implements IConfirmDialog {
|
|
7
8
|
icon?: string;
|
|
8
9
|
type?: ConfirmDialogDisplay;
|
|
@@ -11,6 +12,7 @@ export declare class ConfirmDialogComponent extends VueComponentBase implements
|
|
|
11
12
|
onClose?: (respond: ConfirmDialogResponse) => void;
|
|
12
13
|
styles?: typeof ConfirmDialogStyles;
|
|
13
14
|
text?: string;
|
|
15
|
+
tooltip?: ButtonTooltipOptions;
|
|
14
16
|
private omniaUxLoc;
|
|
15
17
|
private disable;
|
|
16
18
|
private confirmDialogClasses;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
|
|
2
2
|
import { ConfirmDialogOptions, ConfirmDialogResponse } from "./IVueConfirmDialog";
|
|
3
3
|
import { ConfirmDialogStyles } from "../models/ConfirmDialogStyles";
|
|
4
|
+
import { ButtonTooltipOptions } from "@omnia/fx-models";
|
|
4
5
|
export interface IConfirmDialogAttributes {
|
|
5
6
|
type?: ConfirmDialogDisplay;
|
|
6
7
|
flat?: boolean;
|
|
@@ -15,6 +16,7 @@ export interface IConfirmDialog extends IConfirmDialogAttributes {
|
|
|
15
16
|
onClose?: (respond: ConfirmDialogResponse) => void;
|
|
16
17
|
styles?: typeof ConfirmDialogStyles;
|
|
17
18
|
icon?: string;
|
|
19
|
+
tooltip?: ButtonTooltipOptions;
|
|
18
20
|
}
|
|
19
21
|
declare global {
|
|
20
22
|
namespace VueTsxSupport.JSX {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseFilterEnginePropertyType, FilterEngineContextProperty, FilterEngineContextPropertyDefinition, GuidValue, IExtendApiManifestWithConfiguration } from "@omnia/fx/models";
|
|
2
2
|
export interface IFilterEngineContextPropertyDefinitionRegistrationApi {
|
|
3
3
|
register: (type: BaseFilterEnginePropertyType, definition: FilterEngineContextPropertyDefinition) => void;
|
|
4
4
|
}
|
|
5
5
|
export interface IFilterEngineContextPropertiesRegistrationApi {
|
|
6
|
-
register: (
|
|
7
|
-
new (componentId: string): FilterEngineContext;
|
|
8
|
-
}, properties: Array<FilterEngineContextProperty>) => void;
|
|
6
|
+
register: (contextUniqueId: string, properties: Array<FilterEngineContextProperty>) => void;
|
|
9
7
|
}
|
|
10
8
|
export interface IFilterEngineRegistrationApi {
|
|
11
9
|
contextProperties: Promise<IFilterEngineContextPropertiesRegistrationApi>;
|
|
@@ -17,7 +15,7 @@ declare module "@omnia/fx-models/ux/UxApi" {
|
|
|
17
15
|
}
|
|
18
16
|
interface IOmniaUxExtendApiManifest {
|
|
19
17
|
filterEngine: {
|
|
20
|
-
contextProperties:
|
|
18
|
+
contextProperties: IExtendApiManifestWithConfiguration<GuidValue>;
|
|
21
19
|
contextPropertyDefintion: IExtendApiManifestWithConfiguration<BaseFilterEnginePropertyType>;
|
|
22
20
|
};
|
|
23
21
|
}
|
|
@@ -4,5 +4,5 @@ export interface IFilterEngineContextPropertyDefinitionInternalApi extends IFilt
|
|
|
4
4
|
getPropertyDefintionByType: (type: BaseFilterEnginePropertyType) => Future<FilterEngineContextPropertyDefinition>;
|
|
5
5
|
}
|
|
6
6
|
export interface IFilterEngineContextPropertiesInternalApi extends IFilterEngineContextPropertiesRegistrationApi {
|
|
7
|
-
getSupportedContextProperties: (context: FilterEngineContext) => Array<FilterEngineContextProperty
|
|
7
|
+
getSupportedContextProperties: (context: FilterEngineContext) => Future<Array<FilterEngineContextProperty>>;
|
|
8
8
|
}
|
|
@@ -163,6 +163,8 @@ export interface VelcronTextDefinition extends VelcronDefinition {
|
|
|
163
163
|
type: "Text";
|
|
164
164
|
text: string;
|
|
165
165
|
color?: string;
|
|
166
|
+
lineClamp: number;
|
|
167
|
+
noWrap: boolean;
|
|
166
168
|
typography?: string;
|
|
167
169
|
events?: VelcronOnPressEvent;
|
|
168
170
|
}
|
|
@@ -174,6 +176,7 @@ export interface VelcronImageDefinition extends VelcronDefinition {
|
|
|
174
176
|
type: "Image";
|
|
175
177
|
source: string;
|
|
176
178
|
ratio: VelcronImageRatios;
|
|
179
|
+
borderRadius?: VelcronDimensions;
|
|
177
180
|
events?: VelcronOnPressEvent;
|
|
178
181
|
}
|
|
179
182
|
export interface VelcronButtonDefinition extends VelcronDefinition {
|
|
@@ -222,6 +225,7 @@ export interface VelcronFlexViewDefinition extends VelcronDefinition, VelcronCus
|
|
|
222
225
|
grow?: number;
|
|
223
226
|
border?: VelcronBorder;
|
|
224
227
|
borderRadius?: VelcronDimensions;
|
|
228
|
+
opacity: number;
|
|
225
229
|
width: string;
|
|
226
230
|
}
|
|
227
231
|
export interface VelcronDimensions {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.521-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.0.
|
|
23
|
+
"@omnia/fx-models": "7.0.521-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|