@omnia/fx-models 8.0.190-dev → 8.0.191-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/shared/models/Guid.d.ts +31 -3
- package/internal-do-not-import-from-here/shared/models/Guid.js +36 -7
- package/internal-do-not-import-from-here/shared/models/Id.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +5 -5
- package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +4 -4
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +1 -1
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +6 -6
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySubscription.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/actors/Actor.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/actors/ExternalActorId.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js +2 -1
- package/internal-do-not-import-from-here/shared/models/index.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/index.js +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +2 -1
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +2 -2
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +2 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronState.d.ts +14 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronState.js +7 -0
- package/package.json +1 -1
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +0 -3
- /package/internal-do-not-import-from-here/shared/models/{StronglyTypedId.js → Id.js} +0 -0
@@ -1,10 +1,37 @@
|
|
1
1
|
import "./Equals";
|
2
2
|
import { IEquals } from "./Equals";
|
3
|
+
import { Id } from "./Id";
|
3
4
|
export interface GuidValue extends Partial<IEquals<{
|
4
|
-
|
5
|
+
GUID(value: GuidValue): boolean;
|
5
6
|
}>> {
|
6
7
|
toString: () => string;
|
7
8
|
}
|
9
|
+
declare const guidSymbol: unique symbol;
|
10
|
+
/**
|
11
|
+
* Type alias for GUIDs, represented as a string but with nominal typing
|
12
|
+
* to distinguish them from regular strings.
|
13
|
+
*/
|
14
|
+
export type guid = Id<string, [typeof guidSymbol]>;
|
15
|
+
/**
|
16
|
+
* Generates a globally unique identifier (GUID) or converts a provided string into a GUID.
|
17
|
+
*
|
18
|
+
* This function creates a new GUID if no argument is provided. If a string id is provided,
|
19
|
+
* it is cast to a GUID. The new GUID is generated according to the version 4 UUID standard,
|
20
|
+
* which uses random numbers. The format of a version 4 UUID is 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx',
|
21
|
+
* where 'x' is any hexadecimal digit and 'y' is one of 8, 9, A, or B.
|
22
|
+
*
|
23
|
+
* @param {string} [id] - Optional. A predefined string to be cast as a guid.
|
24
|
+
* @returns {guid} A new GUID if no id is provided, or the provided id cast as a guid.
|
25
|
+
*
|
26
|
+
* @example
|
27
|
+
* // Returns a new GUID, e.g., "f47ac10b-58cc-4372-a567-0e02b2c3d479"
|
28
|
+
* const newGuid = guid();
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* // Casts a given string to a GUID
|
32
|
+
* const specificGuid = guid("123e4567-e89b-12d3-a456-426614174000");
|
33
|
+
*/
|
34
|
+
export declare function guid(id?: string): guid;
|
8
35
|
/**
|
9
36
|
* Class to create a guid
|
10
37
|
*/
|
@@ -12,7 +39,7 @@ export declare class Guid implements GuidValue {
|
|
12
39
|
private static _empty;
|
13
40
|
private value;
|
14
41
|
equals: {
|
15
|
-
|
42
|
+
GUID: (value: GuidValue) => boolean;
|
16
43
|
};
|
17
44
|
static newGuid(): GuidValue;
|
18
45
|
static get empty(): GuidValue;
|
@@ -22,4 +49,5 @@ export declare class Guid implements GuidValue {
|
|
22
49
|
toJSON: () => string;
|
23
50
|
valueOf(): string;
|
24
51
|
}
|
25
|
-
export declare function
|
52
|
+
export declare function GUID(value: string): GuidValue;
|
53
|
+
export {};
|
@@ -1,13 +1,42 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.GUID = exports.Guid = exports.guid = void 0;
|
4
4
|
//export interface GuidValue {
|
5
5
|
// :string;
|
6
6
|
//}
|
7
7
|
require("./Equals"); // ensure execute code in equals first
|
8
|
-
//
|
9
|
-
|
10
|
-
|
8
|
+
//This is the new modern implementation of guid not requiring a class
|
9
|
+
const guidSymbol = Symbol("guid");
|
10
|
+
/**
|
11
|
+
* Generates a globally unique identifier (GUID) or converts a provided string into a GUID.
|
12
|
+
*
|
13
|
+
* This function creates a new GUID if no argument is provided. If a string id is provided,
|
14
|
+
* it is cast to a GUID. The new GUID is generated according to the version 4 UUID standard,
|
15
|
+
* which uses random numbers. The format of a version 4 UUID is 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx',
|
16
|
+
* where 'x' is any hexadecimal digit and 'y' is one of 8, 9, A, or B.
|
17
|
+
*
|
18
|
+
* @param {string} [id] - Optional. A predefined string to be cast as a guid.
|
19
|
+
* @returns {guid} A new GUID if no id is provided, or the provided id cast as a guid.
|
20
|
+
*
|
21
|
+
* @example
|
22
|
+
* // Returns a new GUID, e.g., "f47ac10b-58cc-4372-a567-0e02b2c3d479"
|
23
|
+
* const newGuid = guid();
|
24
|
+
*
|
25
|
+
* @example
|
26
|
+
* // Casts a given string to a GUID
|
27
|
+
* const specificGuid = guid("123e4567-e89b-12d3-a456-426614174000");
|
28
|
+
*/
|
29
|
+
function guid(id) {
|
30
|
+
if (!id) {
|
31
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
|
32
|
+
const r = Math.random() * 16 | 0;
|
33
|
+
const v = c === "x" ? r : (r & 0x3 | 0x8);
|
34
|
+
return v.toString(16);
|
35
|
+
});
|
36
|
+
}
|
37
|
+
return id;
|
38
|
+
}
|
39
|
+
exports.guid = guid;
|
11
40
|
/**
|
12
41
|
* Class to create a guid
|
13
42
|
*/
|
@@ -33,7 +62,7 @@ class Guid {
|
|
33
62
|
constructor(guid) {
|
34
63
|
this.value = "";
|
35
64
|
this.equals = {
|
36
|
-
|
65
|
+
GUID: (value) => {
|
37
66
|
return this.toString() === value.toString();
|
38
67
|
}
|
39
68
|
};
|
@@ -71,10 +100,10 @@ if (globalThis.omnia) {
|
|
71
100
|
}
|
72
101
|
// will make Guid class to static class to prevent new Guid instance later on
|
73
102
|
// now expose new function to create guid
|
74
|
-
function
|
103
|
+
function GUID(value) {
|
75
104
|
if (!Guid.isValid(value)) {
|
76
105
|
throw `The string '${value}' is not a valid Guid`;
|
77
106
|
}
|
78
107
|
return value;
|
79
108
|
}
|
80
|
-
exports.
|
109
|
+
exports.GUID = GUID;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { OmniaToken } from "./Tokens";
|
2
|
-
import {
|
2
|
+
import { guid } from "./Guid";
|
3
3
|
import { TenantIdentifier } from "./Tenant";
|
4
4
|
import { ActorId } from "./hub";
|
5
5
|
export interface OmniaSharedBootstrapData {
|
6
|
-
uiThreadId:
|
7
|
-
workerThreadId:
|
6
|
+
uiThreadId: guid;
|
7
|
+
workerThreadId: guid;
|
8
8
|
customDomain?: string;
|
9
9
|
defaultDomain: string;
|
10
10
|
routePrefixes: string[];
|
@@ -13,10 +13,10 @@ export interface OmniaSharedBootstrapData {
|
|
13
13
|
* The tokenKey is only avilable if we are running ITP or Dev intent
|
14
14
|
*/
|
15
15
|
tokenKey?: OmniaToken;
|
16
|
-
tokenRef:
|
16
|
+
tokenRef: guid;
|
17
17
|
identity: string;
|
18
18
|
hubActorId?: ActorId;
|
19
|
-
licenses: Array<
|
19
|
+
licenses: Array<guid>;
|
20
20
|
hubDev?: boolean;
|
21
21
|
realtimeDevPort?: string;
|
22
22
|
tenant: TenantIdentifier;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "./Guid";
|
2
2
|
export declare abstract class RealtimeChannel {
|
3
3
|
/**
|
4
4
|
* Construct a unique channel id that can be targeted to users who are set to be in that channel on the client
|
@@ -11,16 +11,16 @@ export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChan
|
|
11
11
|
private _value;
|
12
12
|
get channel(): TRealtimeChannel;
|
13
13
|
get value(): TRealtimeData;
|
14
|
-
abstract getId():
|
14
|
+
abstract getId(): guid;
|
15
15
|
constructor(channel: TRealtimeChannel, value?: TRealtimeData);
|
16
16
|
}
|
17
17
|
export type RealtimeChannelUpdateTypes = "activate" | "deactivate";
|
18
18
|
export interface RealtimeChannelUpdateMessage extends RealtimChannelMessage {
|
19
|
-
threadId:
|
19
|
+
threadId: guid;
|
20
20
|
type: RealtimeChannelUpdateTypes;
|
21
21
|
}
|
22
22
|
export interface RealtimeSendMessage extends RealtimChannelMessage {
|
23
|
-
dataId:
|
23
|
+
dataId: guid;
|
24
24
|
data: any;
|
25
25
|
}
|
26
26
|
export interface RealtimChannelMessage {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "../Guid";
|
2
2
|
import { RealtimeChannel, RealtimeData } from "../Realtime";
|
3
3
|
export declare class SocialRealtimeChannel extends RealtimeChannel {
|
4
4
|
getId(): string;
|
@@ -9,5 +9,5 @@ export interface SocialRealtimeMessage {
|
|
9
9
|
}
|
10
10
|
export declare class SocialRealtimeData extends RealtimeData<SocialRealtimeChannel, SocialRealtimeMessage> {
|
11
11
|
constructor(channel: SocialRealtimeChannel);
|
12
|
-
getId():
|
12
|
+
getId(): guid;
|
13
13
|
}
|
@@ -14,7 +14,7 @@ class SocialRealtimeData extends Realtime_1.RealtimeData {
|
|
14
14
|
super(channel);
|
15
15
|
}
|
16
16
|
getId() {
|
17
|
-
return
|
17
|
+
return (0, Guid_1.guid)("445350a8-4565-4a94-ba01-a05dd2cccca6");
|
18
18
|
}
|
19
19
|
}
|
20
20
|
exports.SocialRealtimeData = SocialRealtimeData;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { ChannelId } from "./ActivityChannel";
|
2
2
|
import { ActivityRenderer, ActivityRendererReference } from "./ActivityRenderer";
|
3
|
-
import {
|
4
|
-
import { GuidValue } from "../../Guid";
|
3
|
+
import { Id } from "../../Id";
|
5
4
|
import { DynamicState } from "../../DynamicState";
|
6
5
|
import { ActorActivityCategory } from "./ActorActivity";
|
7
6
|
import { TemporaryFileId } from "../fileupload";
|
8
7
|
import { ActorId } from "../actors";
|
9
|
-
|
8
|
+
import { guid } from "../../Guid";
|
9
|
+
export type ActivityId = Id<number, "ActivityId">;
|
10
10
|
export declare function ActivityId(id: number): ActivityId;
|
11
|
-
export type ActivityTypeId =
|
12
|
-
export declare function ActivityTypeId(id:
|
11
|
+
export type ActivityTypeId = Id<guid, "ActivityTypeId">;
|
12
|
+
export declare function ActivityTypeId(id: guid): ActivityTypeId;
|
13
13
|
export interface Activity<TRenderState = DynamicState> extends ActivityBase {
|
14
14
|
id: ActivityId;
|
15
15
|
state: TRenderState;
|
@@ -37,7 +37,7 @@ export interface ActivityRenderState<TActivityState = DynamicState, TIdentitySta
|
|
37
37
|
identity: TIdentityState;
|
38
38
|
}
|
39
39
|
export interface SourceRelatedHubProperty extends HubProperty {
|
40
|
-
propertySourceId:
|
40
|
+
propertySourceId: guid;
|
41
41
|
}
|
42
42
|
export interface HubProperty {
|
43
43
|
name: string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
export type ChannelId =
|
1
|
+
import { Id } from "../../Id";
|
2
|
+
export type ChannelId = Id<number, "ChannelId">;
|
3
3
|
export declare function ChannelId(id: number): ChannelId;
|
4
4
|
export interface ActivityChannel {
|
5
5
|
id: ChannelId;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { GuidValue } from "../../Guid";
|
2
|
-
import {
|
2
|
+
import { Id } from "../../Id";
|
3
3
|
import { VelcronAppDefinition } from "../../velcron";
|
4
|
-
export type ActivityRendererId =
|
4
|
+
export type ActivityRendererId = Id<string, "ActivityRendererId">;
|
5
5
|
export declare function ActivityRendererId(id: GuidValue): ActivityRendererId;
|
6
6
|
export interface ActivityRendererReference {
|
7
7
|
id: ActivityRendererId;
|
package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySubscription.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { Id } from "../../Id";
|
2
2
|
import { ActorId } from "../actors";
|
3
|
-
export type SubscriptionId =
|
3
|
+
export type SubscriptionId = Id<string, "SubscriptionId">;
|
4
4
|
export declare function SubscriptionId(id: string): SubscriptionId;
|
5
5
|
export interface SubscriptionInformation extends ActorSubscription {
|
6
6
|
title: Record<string, string>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { Id } from "../../Id";
|
2
2
|
import { ExternalActorId } from "./ExternalActorId";
|
3
|
-
export type ActorId =
|
3
|
+
export type ActorId = Id<number, "ActorId">;
|
4
4
|
export declare function ActorId(id: number): ActorId;
|
5
5
|
export interface ActorWithBag<TBag> extends Actor {
|
6
6
|
bag: TBag;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export type ExternalActorId =
|
1
|
+
import { Id } from "../../Id";
|
2
|
+
export type ExternalActorId = Id<string, "ExternalActorId">;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
export type FileOwnerId =
|
1
|
+
import { Id } from "../../Id";
|
2
|
+
export type FileOwnerId = Id<string, "FileOwnerId">;
|
3
3
|
export declare function FileOwnerId(id: string): FileOwnerId;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { GuidValue } from "../../Guid";
|
2
|
-
import {
|
3
|
-
export type TemporaryFileId =
|
2
|
+
import { Id } from "../../Id";
|
3
|
+
export type TemporaryFileId = Id<GuidValue, "TemporaryFileId">;
|
4
4
|
export declare function TemporaryFileId(id: GuidValue): TemporaryFileId;
|
package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "../../Guid";
|
2
2
|
import { ExternalActorId } from "../actors/ExternalActorId";
|
3
3
|
import { SourceRelatedHubProperty } from "../activities";
|
4
4
|
export declare class HubExternalIdentityProperty implements SourceRelatedHubProperty {
|
5
5
|
private externalIdentityId;
|
6
6
|
constructor(externalIdentityId: ExternalActorId);
|
7
|
-
get propertySourceId():
|
7
|
+
get propertySourceId(): guid;
|
8
8
|
get name(): string;
|
9
9
|
get values(): string[];
|
10
10
|
}
|
package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.HubExternalIdentityProperty = void 0;
|
4
|
+
const Guid_1 = require("../../Guid");
|
4
5
|
const HubSource_1 = require("./HubSource");
|
5
6
|
class HubExternalIdentityProperty {
|
6
7
|
constructor(externalIdentityId) {
|
7
8
|
this.externalIdentityId = externalIdentityId;
|
8
9
|
}
|
9
10
|
get propertySourceId() {
|
10
|
-
return HubSource_1.HubSource.Id;
|
11
|
+
return (0, Guid_1.guid)(HubSource_1.HubSource.Id);
|
11
12
|
}
|
12
13
|
get name() {
|
13
14
|
return "identity";
|
@@ -13,7 +13,7 @@ export * from "./Realtime";
|
|
13
13
|
export * from "./OmniaSharedBootstrapData";
|
14
14
|
export * from "./StringExtensions";
|
15
15
|
export * from "./DynamicState";
|
16
|
-
export * from "./
|
16
|
+
export * from "./Id";
|
17
17
|
export * from "./theming";
|
18
18
|
export * from "./hub";
|
19
19
|
export * from "./velcron";
|
@@ -17,7 +17,7 @@ tslib_1.__exportStar(require("./Realtime"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./OmniaSharedBootstrapData"), exports);
|
18
18
|
tslib_1.__exportStar(require("./StringExtensions"), exports);
|
19
19
|
tslib_1.__exportStar(require("./DynamicState"), exports);
|
20
|
-
tslib_1.__exportStar(require("./
|
20
|
+
tslib_1.__exportStar(require("./Id"), exports);
|
21
21
|
tslib_1.__exportStar(require("./theming"), exports);
|
22
22
|
tslib_1.__exportStar(require("./hub"), exports);
|
23
23
|
tslib_1.__exportStar(require("./velcron"), exports);
|
@@ -4,7 +4,7 @@ import { TypographyValue } from "./Typography";
|
|
4
4
|
export interface BoxDimensions extends Spacing {
|
5
5
|
}
|
6
6
|
import { TypographyBlueprint } from "./Typography";
|
7
|
-
import { GuidValue, VelcronAppDefinition } from "@omnia/fx-models";
|
7
|
+
import { GuidValue, VelcronAppDefinition, VelcronRendererReference } from "@omnia/fx-models";
|
8
8
|
export interface Blueprints {
|
9
9
|
name?: string;
|
10
10
|
}
|
@@ -90,6 +90,7 @@ export interface ButtonBlueprint extends Blueprint {
|
|
90
90
|
alterCase?: boolean;
|
91
91
|
text?: TextBlueprint;
|
92
92
|
icon?: IconBlueprint;
|
93
|
+
definition?: VelcronAppDefinition | VelcronRendererReference;
|
93
94
|
}
|
94
95
|
export interface ButtonBlueprints extends Blueprints {
|
95
96
|
text: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { GuidValue } from "../Guid";
|
2
|
-
import {
|
2
|
+
import { Id } from "../Id";
|
3
3
|
import { VelcronAppDefinition } from "./VelcronDefinition";
|
4
|
-
export type VelcronRendererId =
|
4
|
+
export type VelcronRendererId = Id<string, "VelcronRendererId">;
|
5
5
|
export declare function VelcronRendererId(id: GuidValue): VelcronRendererId;
|
6
6
|
export interface VelcronRendererResolverReference {
|
7
7
|
id: VelcronRendererId;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerBlueprint, BackgroundDefinition, ContainerVariant } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerBlueprint, BackgroundDefinition, ContainerVariant, IconBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
|
@@ -274,6 +274,7 @@ export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorSt
|
|
274
274
|
icon: string;
|
275
275
|
size?: VelcronBindableProp<number>;
|
276
276
|
events?: VelcronOnPressEvent;
|
277
|
+
blueprint?: VelcronBindableProp<IconBlueprint>;
|
277
278
|
}
|
278
279
|
export interface VelcronMarkdownDefinition extends VelcronDefinition, VelcronColorStyling, VelcronTextStyling {
|
279
280
|
type: "markdown";
|
@@ -1,6 +1,13 @@
|
|
1
1
|
import { BackgroundDefinition, ContainerBlueprint, ContainerVariant, TextBlueprint, TypographySize, TypographyType, VelcronSpacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
3
|
export interface VelcronState {
|
4
|
+
states?: {
|
5
|
+
active?: boolean;
|
6
|
+
};
|
7
|
+
component?: {
|
8
|
+
title: string;
|
9
|
+
icon: string;
|
10
|
+
};
|
4
11
|
images?: VelcronImagesState;
|
5
12
|
container?: {
|
6
13
|
maxWidth?: number;
|
@@ -94,6 +101,13 @@ export declare const VelcronStateMapping: {
|
|
94
101
|
};
|
95
102
|
};
|
96
103
|
export declare const VelcronStateBinding: {
|
104
|
+
states: {
|
105
|
+
active: string;
|
106
|
+
};
|
107
|
+
component: {
|
108
|
+
title: string;
|
109
|
+
icon: string;
|
110
|
+
};
|
97
111
|
container: {
|
98
112
|
maxWidth: string;
|
99
113
|
minHeight: string;
|
@@ -56,6 +56,13 @@ exports.VelcronStateMapping = {
|
|
56
56
|
},
|
57
57
|
};
|
58
58
|
exports.VelcronStateBinding = {
|
59
|
+
states: {
|
60
|
+
active: "states.active",
|
61
|
+
},
|
62
|
+
component: {
|
63
|
+
title: (0, models_1.velcronBind)("$state.component.title"),
|
64
|
+
icon: (0, models_1.velcronBind)("$state.component.icon"),
|
65
|
+
},
|
59
66
|
container: {
|
60
67
|
maxWidth: (0, models_1.velcronBind)("$state.container.maxWidth"),
|
61
68
|
minHeight: (0, models_1.velcronBind)("$state.container.minHeight"),
|
package/package.json
CHANGED
File without changes
|