@omnia/fx-models 8.0.146-dev → 8.0.148-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/ManifestIds.d.ts CHANGED
@@ -151,6 +151,8 @@ export declare class OmniaWebComponentManifests {
151
151
  static get VersionedLayoutCheckedOutByOtherMessage(): Guid;
152
152
  static get VersionedLayoutRenderer(): Guid;
153
153
  static get VersionedLayoutEditor(): Guid;
154
+ static get VersionHistory(): Guid;
155
+ static get VersionHistoryPanel(): Guid;
154
156
  static get UserTypeLayoutRenderer(): Guid;
155
157
  static get VersionedLayoutController(): Guid;
156
158
  static get VersionedLayoutEditorChrome(): Guid;
package/ManifestIds.js CHANGED
@@ -474,6 +474,12 @@ class OmniaWebComponentManifests {
474
474
  static get VersionedLayoutEditor() {
475
475
  return new models_1.Guid("73154f51-a929-44ac-be24-8779a3fa7ef5");
476
476
  }
477
+ static get VersionHistory() {
478
+ return new models_1.Guid("32a6ca30-7438-4eb4-bcef-68e9cd49a334");
479
+ }
480
+ static get VersionHistoryPanel() {
481
+ return new models_1.Guid("f0247960-6678-4669-a264-52b2da403b70");
482
+ }
477
483
  static get UserTypeLayoutRenderer() { return new models_1.Guid("30289e2b-58ff-48b0-aabb-3cb3732c3038"); }
478
484
  static get VersionedLayoutController() { return new models_1.Guid("c88e2566-b07a-4680-aef7-f575f5c5641b"); }
479
485
  static get VersionedLayoutEditorChrome() { return new models_1.Guid("177046bf-d171-495b-bce7-0d1cd9242fa1"); }
@@ -82,7 +82,8 @@ export interface VelcronRenderContextEventHandlersInstance extends VelcronRender
82
82
  export interface VelcronRenderContextHooks {
83
83
  dialogVisibilityChanged?: ((visible: boolean) => void);
84
84
  onItemSelected?: ((item: VelcronDefinition) => void);
85
- onItemRendered?: ((item: VelcronDefinition) => OnItemRenderedHookResult);
85
+ wrapperStyleExtensions?: ((item: VelcronDefinition) => string);
86
+ appStyleExtension?: (() => string);
86
87
  onItemCreatedProps?: ((item: VelcronDefinition) => object);
87
88
  }
88
89
  export interface VelcronContainerRenderer {
@@ -123,8 +124,6 @@ export interface VelcronColorStyling {
123
124
  color?: string;
124
125
  }
125
126
  export interface VelcronTextStyling {
126
- text: string;
127
- placeholder?: string;
128
127
  typography?: string;
129
128
  size?: string;
130
129
  }
@@ -180,6 +179,8 @@ export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorSt
180
179
  }
181
180
  export interface VelcronTextDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
182
181
  type: "text";
182
+ value: VelcronBindableProp<string>;
183
+ placeholder?: VelcronBindableProp<string>;
183
184
  editLabel?: VelcronBindableProp;
184
185
  lineClamp?: number;
185
186
  noWrap?: boolean;
@@ -245,6 +246,8 @@ export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorSt
245
246
  }
246
247
  export interface VelcronMarkdownDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
247
248
  type: "markdown";
249
+ value: VelcronBindableProp<string>;
250
+ placeholder: VelcronBindableProp<string>;
248
251
  events: VelcronOnUpdatedEvent;
249
252
  }
250
253
  export interface VelcronRiveDefinition extends VelcronDefinition {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.146-dev",
4
+ "version": "8.0.148-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,8 +1,8 @@
1
1
  import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
2
  import { ApiPath } from "../Extends";
3
3
  export interface IVelcronDefinitionRegistrationHandler {
4
- getAll(): any;
5
- register(definitions: VelcronDefinitionRegistration | VelcronDefinitionRegistration[]): any;
4
+ getAll: () => Array<VelcronDefinitionRegistration>;
5
+ register: (definitions: VelcronDefinitionRegistration | VelcronDefinitionRegistration[]) => void;
6
6
  }
7
7
  export interface IVelcronDefinitionRegistration {
8
8
  registration: Promise<IVelcronDefinitionRegistrationHandler>;