@omnia/fx-models 8.0.190-dev → 8.0.192-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.
Files changed (32) hide show
  1. package/AppTemplatePropertySetSetting.d.ts +2 -0
  2. package/ManifestIds.d.ts +1 -0
  3. package/ManifestIds.js +3 -0
  4. package/internal-do-not-import-from-here/shared/models/Guid.d.ts +31 -3
  5. package/internal-do-not-import-from-here/shared/models/Guid.js +36 -7
  6. package/internal-do-not-import-from-here/shared/models/Id.d.ts +3 -0
  7. package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +5 -5
  8. package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +4 -4
  9. package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +2 -2
  10. package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +1 -1
  11. package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +6 -6
  12. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +2 -2
  13. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +2 -2
  14. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySubscription.d.ts +2 -2
  15. package/internal-do-not-import-from-here/shared/models/hub/actors/Actor.d.ts +2 -2
  16. package/internal-do-not-import-from-here/shared/models/hub/actors/ExternalActorId.d.ts +2 -2
  17. package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.d.ts +2 -2
  18. package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +2 -2
  19. package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.d.ts +2 -2
  20. package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js +2 -1
  21. package/internal-do-not-import-from-here/shared/models/index.d.ts +1 -1
  22. package/internal-do-not-import-from-here/shared/models/index.js +1 -1
  23. package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +2 -1
  24. package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +2 -2
  25. package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +2 -1
  26. package/internal-do-not-import-from-here/velcron/core/models/VelcronState.d.ts +14 -0
  27. package/internal-do-not-import-from-here/velcron/core/models/VelcronState.js +7 -0
  28. package/oxide/OxideTypeDefinitions.d.ts +4 -0
  29. package/oxide/OxideTypeDefinitions.js +4 -1
  30. package/package.json +1 -1
  31. package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +0 -3
  32. /package/internal-do-not-import-from-here/shared/models/{StronglyTypedId.js → Id.js} +0 -0
@@ -1,3 +1,4 @@
1
+ import { IIcon } from "@omnia/fx-models";
1
2
  export interface DateTimeValue {
2
3
  increment?: number;
3
4
  timeUnit?: TimeUnit;
@@ -5,6 +6,7 @@ export interface DateTimeValue {
5
6
  export interface PropertyOption {
6
7
  title: string;
7
8
  value: number;
9
+ icon?: IIcon;
8
10
  }
9
11
  export declare enum OptionValue {
10
12
  None = 0,
package/ManifestIds.d.ts CHANGED
@@ -461,6 +461,7 @@ export declare class OmniaWebComponentManifests {
461
461
  static get FxUxDashboardBarChartIndicator(): Guid;
462
462
  static get FeaturesJourney(): Guid;
463
463
  static get FeaturesJourneyTenant(): Guid;
464
+ static get FeaturesJourneyProperties(): Guid;
464
465
  static get FeaturesJourneyAppInstance(): Guid;
465
466
  static get FeaturesJourneyApp(): Guid;
466
467
  static get MentionComponent(): Guid;
package/ManifestIds.js CHANGED
@@ -1401,6 +1401,9 @@ class OmniaWebComponentManifests {
1401
1401
  static get FeaturesJourneyTenant() {
1402
1402
  return new models_1.Guid("629ff3fc-45f8-4df3-82dd-b6282d968547");
1403
1403
  }
1404
+ static get FeaturesJourneyProperties() {
1405
+ return new models_1.Guid("041c5cb1-e6fc-487f-9866-9ee2fb4edee0");
1406
+ }
1404
1407
  static get FeaturesJourneyAppInstance() {
1405
1408
  return new models_1.Guid("47f40c10-8c6d-4821-97c5-f462acf292d2");
1406
1409
  }
@@ -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
- guid(value: GuidValue): boolean;
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
- guid: (value: GuidValue) => boolean;
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 guid(value: string): GuidValue;
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.guid = exports.Guid = void 0;
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
- // export interface GuidValue {
9
- // toString: () => string;
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
- guid: (value) => {
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 guid(value) {
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.guid = guid;
109
+ exports.GUID = GUID;
@@ -0,0 +1,3 @@
1
+ export type Id<T, Name> = T & {
2
+ readonly __type: Name;
3
+ };
@@ -1,10 +1,10 @@
1
1
  import { OmniaToken } from "./Tokens";
2
- import { Guid, GuidValue } from "./Guid";
2
+ import { guid } from "./Guid";
3
3
  import { TenantIdentifier } from "./Tenant";
4
4
  import { ActorId } from "./hub";
5
5
  export interface OmniaSharedBootstrapData {
6
- uiThreadId: GuidValue;
7
- workerThreadId: GuidValue;
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: GuidValue;
16
+ tokenRef: guid;
17
17
  identity: string;
18
18
  hubActorId?: ActorId;
19
- licenses: Array<Guid>;
19
+ licenses: Array<guid>;
20
20
  hubDev?: boolean;
21
21
  realtimeDevPort?: string;
22
22
  tenant: TenantIdentifier;
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "./Guid";
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(): GuidValue;
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: GuidValue;
19
+ threadId: guid;
20
20
  type: RealtimeChannelUpdateTypes;
21
21
  }
22
22
  export interface RealtimeSendMessage extends RealtimChannelMessage {
23
- dataId: GuidValue;
23
+ dataId: guid;
24
24
  data: any;
25
25
  }
26
26
  export interface RealtimChannelMessage {
@@ -1,4 +1,4 @@
1
- import { Guid } from "../Guid";
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(): Guid;
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 new Guid_1.Guid("445350a8-4565-4a94-ba01-a05dd2cccca6");
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 { StronglyTypedId } from "../../StronglyTypedId";
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
- export type ActivityId = StronglyTypedId<number, "ActivityId">;
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 = StronglyTypedId<GuidValue, "ActivityTypeId">;
12
- export declare function ActivityTypeId(id: GuidValue): ActivityTypeId;
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: GuidValue;
40
+ propertySourceId: guid;
41
41
  }
42
42
  export interface HubProperty {
43
43
  name: string;
@@ -1,5 +1,5 @@
1
- import { StronglyTypedId } from "../../StronglyTypedId";
2
- export type ChannelId = StronglyTypedId<number, "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 { StronglyTypedId } from "../../StronglyTypedId";
2
+ import { Id } from "../../Id";
3
3
  import { VelcronAppDefinition } from "../../velcron";
4
- export type ActivityRendererId = StronglyTypedId<string, "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;
@@ -1,6 +1,6 @@
1
- import { StronglyTypedId } from "../../StronglyTypedId";
1
+ import { Id } from "../../Id";
2
2
  import { ActorId } from "../actors";
3
- export type SubscriptionId = StronglyTypedId<string, "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 { StronglyTypedId } from "../../StronglyTypedId";
1
+ import { Id } from "../../Id";
2
2
  import { ExternalActorId } from "./ExternalActorId";
3
- export type ActorId = StronglyTypedId<number, "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 { StronglyTypedId } from "../../StronglyTypedId";
2
- export type ExternalActorId = StronglyTypedId<string, "ExternalActorId">;
1
+ import { Id } from "../../Id";
2
+ export type ExternalActorId = Id<string, "ExternalActorId">;
@@ -1,3 +1,3 @@
1
- import { StronglyTypedId } from "../../StronglyTypedId";
2
- export type FileOwnerId = StronglyTypedId<string, "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 { StronglyTypedId } from "../../StronglyTypedId";
3
- export type TemporaryFileId = StronglyTypedId<GuidValue, "TemporaryFileId">;
2
+ import { Id } from "../../Id";
3
+ export type TemporaryFileId = Id<GuidValue, "TemporaryFileId">;
4
4
  export declare function TemporaryFileId(id: GuidValue): TemporaryFileId;
@@ -1,10 +1,10 @@
1
- import { GuidValue } from "../../Guid";
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(): GuidValue;
7
+ get propertySourceId(): guid;
8
8
  get name(): string;
9
9
  get values(): string[];
10
10
  }
@@ -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 "./StronglyTypedId";
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("./StronglyTypedId"), exports);
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 { StronglyTypedId } from "../StronglyTypedId";
2
+ import { Id } from "../Id";
3
3
  import { VelcronAppDefinition } from "./VelcronDefinition";
4
- export type VelcronRendererId = StronglyTypedId<string, "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"),
@@ -223,4 +223,8 @@ export declare const OSplitpanesVariationTypesName = "OSplitpanesVariation";
223
223
  export declare const OMultiTextInputModesDefinitions: readonly ["textfield", "textarea"];
224
224
  export type OMultiTextInputModes = typeof OMultiTextInputModesDefinitions[number];
225
225
  export declare const OMultiTextInputModesName = "OMultiTextInputModes";
226
+ /** Stepper */
227
+ export declare const OStepperTypeDefinitions: readonly ["default", "editable"];
228
+ export type OStepperTypes = typeof OStepperTypeDefinitions[number];
229
+ export declare const OStepperTypesName = "OStepperTypes";
226
230
  export {};
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.OIconSizesName = exports.OIconSizeDefinitions = exports.OIconPresetsName = exports.OIconPresetDefinitions = exports.OPanelTypesName = exports.OPanelTypeDefinitions = exports.OPageDividerTypesName = exports.OPageDividerTypeDefinitions = exports.ODialogSizeDefinitions = exports.ODialogTypesName = exports.ODialogTypeDefinitions = exports.OChartVariantsName = exports.OChartVariationDefinitions = exports.OColumnVariantsName = exports.OColumnVariantDefinitions = exports.OAlignmentTypesName = exports.OAlignmentTypeDefinitions = exports.OColValuesName = exports.OColValueDefinitions = exports.OButtonGroupTypesName = exports.OButtonGroupTypeDefinitions = exports.OButtonVariantsName = exports.OButtonVariantDefinitions = exports.OButtonPresetsName = exports.OButtonPresetDefinitions = exports.OAlertTypesName = exports.OAlertTypeDefinitions = exports.OAppBarTypesName = exports.OAppBarTypeDefinitions = exports.OProgressSizeTypesName = exports.OProgressSizeTypeDefinitions = exports.OProgressVariantsName = exports.OProgressVariantDefinitions = exports.OProgressTypesName = exports.OProgressTypeDefinitions = exports.OSliderVariantsName = exports.OSliderVariantDefinitions = exports.ODirectionTypesName = exports.ODirectionDefinitions = exports.ONotificationSizeTypeDefinitions = exports.OContentHeightDefinitions = exports.OSizeTypesName = exports.OSizeTypeDefinitions = void 0;
4
4
  exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OLazyVariationDefinitions = exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.OTabVariantsName = exports.OTabVariantDefinitions = exports.OScrollOffsetTypesName = exports.OScrollOffsetTypeDefinitions = exports.OSkeletonLoaderName = exports.OSkeletonLoaderTypeDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = exports.OListTypeDefinitions = exports.OListItemVariantsName = void 0;
5
- exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = void 0;
5
+ exports.OStepperTypesName = exports.OStepperTypeDefinitions = exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = void 0;
6
6
  /**Shared */
7
7
  const block = ["top", "bottom"];
8
8
  const inline = ["start", "end", "left", "right"];
@@ -150,3 +150,6 @@ exports.OSplitpanesVariationDefinitions = ["horizontal", "vertical"];
150
150
  exports.OSplitpanesVariationTypesName = "OSplitpanesVariation";
151
151
  exports.OMultiTextInputModesDefinitions = ["textfield", "textarea"];
152
152
  exports.OMultiTextInputModesName = "OMultiTextInputModes";
153
+ /** Stepper */
154
+ exports.OStepperTypeDefinitions = ["default", "editable"];
155
+ exports.OStepperTypesName = "OStepperTypes";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.190-dev",
4
+ "version": "8.0.192-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,3 +0,0 @@
1
- export type StronglyTypedId<T, Name extends string> = T & {
2
- __type: Name;
3
- };