@omnia/fx-models 8.0.41-dev → 8.0.42-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
@@ -130,6 +130,7 @@ export declare class OmniaResourceManifests {
130
130
  static get ExtendedEnterprisePropertyBindingProvider(): Guid;
131
131
  static get BusinessProfilePropertyBindingProvider(): Guid;
132
132
  static get UserPropertyBindingProvider(): Guid;
133
+ static get MagicLinkCore(): Guid;
133
134
  }
134
135
  export declare class OmniaWebComponentManifests {
135
136
  static get AuthSetup(): Guid;
@@ -138,6 +139,7 @@ export declare class OmniaWebComponentManifests {
138
139
  static get SignInOmniaRenderer(): Guid;
139
140
  static get SignInIdentityCreationRequestRenderer(): Guid;
140
141
  static get SignOut(): Guid;
142
+ static get MagicLinkSignIn(): Guid;
141
143
  static get MagicLinkSuccess(): Guid;
142
144
  static get MagicLinkFailure(): Guid;
143
145
  static get LayoutRendererCanvas(): Guid;
package/ManifestIds.js CHANGED
@@ -414,6 +414,9 @@ class OmniaResourceManifests {
414
414
  static get UserPropertyBindingProvider() {
415
415
  return new models_1.Guid("90deab93-d8f9-45bf-8e01-1c478743ff4b");
416
416
  }
417
+ static get MagicLinkCore() {
418
+ return new models_1.Guid("801bcf8f-94fd-4619-843f-7f1fc0c57b3c");
419
+ }
417
420
  }
418
421
  exports.OmniaResourceManifests = OmniaResourceManifests;
419
422
  class OmniaWebComponentManifests {
@@ -435,6 +438,9 @@ class OmniaWebComponentManifests {
435
438
  static get SignOut() {
436
439
  return new models_1.Guid("f297290b-5ea4-409a-9738-ca880f1ea612");
437
440
  }
441
+ static get MagicLinkSignIn() {
442
+ return new models_1.Guid("106dba3f-206e-4ad7-bbb2-8e574e3da49e");
443
+ }
438
444
  static get MagicLinkSuccess() {
439
445
  return new models_1.Guid("168b37eb-8cbc-4e46-944c-bf9a6a5e9063");
440
446
  }
@@ -1,4 +1,4 @@
1
- import { DynamicState, GuidValue, StronglyTypedId, TemporaryFileId } from "../..";
1
+ import { DynamicState, GuidValue, IdentityActivityCategory, StronglyTypedId, TemporaryFileId } from "../..";
2
2
  import { ChannelId } from "./ActivityChannel";
3
3
  import { ActivitySenderId } from "./ActivitySender";
4
4
  import { ActivityRenderer, ActivityRendererReference } from "./ActivityRenderer";
@@ -48,10 +48,12 @@ export interface CreateActivityRequest {
48
48
  senderId: ActivitySenderId;
49
49
  stateJson: string;
50
50
  rendererJson: string;
51
- activityIdPlaceHolder?: TemporaryFileId;
52
- expires?: Date;
53
51
  notificationTeaser: NotificationTeaser;
54
52
  targeting: Array<Array<SourceRelatedHubProperty>>;
53
+ category: IdentityActivityCategory;
54
+ activityIdPlaceHolder?: TemporaryFileId;
55
+ expires?: Date;
56
+ createdAt?: Date;
55
57
  }
56
58
  export interface CreateActivityResult {
57
59
  id: ActivityId;
@@ -9,7 +9,8 @@ export declare enum IdentityActivityCategory {
9
9
  none = 0,
10
10
  focused = 1,
11
11
  followUp = 2,
12
- later = 3
12
+ later = 3,
13
+ favorite = 4
13
14
  }
14
15
  export interface IdentityActivityBase {
15
16
  activityId: ActivityId;
@@ -13,6 +13,7 @@ var IdentityActivityCategory;
13
13
  IdentityActivityCategory[IdentityActivityCategory["focused"] = 1] = "focused";
14
14
  IdentityActivityCategory[IdentityActivityCategory["followUp"] = 2] = "followUp";
15
15
  IdentityActivityCategory[IdentityActivityCategory["later"] = 3] = "later";
16
+ IdentityActivityCategory[IdentityActivityCategory["favorite"] = 4] = "favorite";
16
17
  })(IdentityActivityCategory = exports.IdentityActivityCategory || (exports.IdentityActivityCategory = {}));
17
18
  // Usage
18
19
  // const activity1: IdentityActivity<SomeRenderState> = {
@@ -30,6 +30,7 @@ export interface BuiltInComponentRenderers {
30
30
  "property": unknown;
31
31
  "checkbox": unknown;
32
32
  "reference": unknown;
33
+ "radio": unknown;
33
34
  }
34
35
  export interface ColorSchemaReference {
35
36
  name: string;
@@ -207,14 +208,16 @@ export interface VelcronViewDefinition extends VelcronDefinition, VelcronColorSt
207
208
  columnStyle?: object;
208
209
  hAlign?: VelcronHorizontalAlignments;
209
210
  vAlign?: VelcronVerticalAlignments;
210
- grow?: number;
211
+ grow?: number | "default";
211
212
  absolute?: VelcronSpacing;
212
213
  border?: VelcronBorder;
213
214
  borderRadius?: VelcronDimensions;
214
215
  width?: number | string;
216
+ maxWidth?: number | string;
215
217
  minWidth?: number | string;
216
218
  height?: number | string;
217
219
  minHeight?: number | string;
220
+ maxHeight?: number | string;
218
221
  }
219
222
  export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorStyling {
220
223
  type: "card";
@@ -238,6 +241,8 @@ export interface VelcronImageDefinition extends VelcronDefinition {
238
241
  url?: VelcronBindableProp<string>;
239
242
  bind?: VelcronBindableProp<string>;
240
243
  ratio?: VelcronImageRatios | string;
244
+ width?: number | string;
245
+ height?: number | string;
241
246
  cover?: VelcronBindableProp<boolean>;
242
247
  borderRadius?: VelcronDimensions;
243
248
  events?: VelcronOnPressEvent;
@@ -256,6 +261,7 @@ export interface VelcronButtonDefinition extends VelcronDefinition {
256
261
  icon?: VelcronIcon;
257
262
  disabled?: boolean;
258
263
  events?: VelcronOnPressEvent;
264
+ size?: string;
259
265
  }
260
266
  export interface VelcronTextInputDefinition extends VelcronDefinition {
261
267
  type: "text-input";
@@ -326,6 +332,14 @@ export interface VelcronCheckboxDefinition extends VelcronDefinition {
326
332
  disabled: VelcronBindableProp<boolean>;
327
333
  events: VelcronOnUpdatedEvent;
328
334
  }
335
+ export interface VelcronRadioDefinition extends VelcronDefinition {
336
+ type: "radio";
337
+ label: VelcronBindableProp<string>;
338
+ value: string;
339
+ bind: VelcronBindableProp<string>;
340
+ disabled: VelcronBindableProp<boolean>;
341
+ events: VelcronOnUpdatedEvent;
342
+ }
329
343
  export interface VelcronPropertyDefinitionValue {
330
344
  definitionId: GuidValue;
331
345
  value: PropertyValue;
@@ -22,9 +22,10 @@ export interface BuiltInPropertyEditors {
22
22
  icon: unknown;
23
23
  image: unknown;
24
24
  typography: unknown;
25
+ spacing: unknown;
25
26
  "color-schema-type": unknown;
26
27
  }
27
- export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "color-schema-type";
28
+ export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "color-schema-type" | "spacing";
28
29
  export declare enum BuiltInPropertyEditorTypes {
29
30
  text = "text",
30
31
  slider = "slider",
@@ -35,6 +36,7 @@ export declare enum BuiltInPropertyEditorTypes {
35
36
  icon = "icon",
36
37
  image = "image",
37
38
  typography = "typography",
39
+ spacing = "spacing",
38
40
  "color-schema-type" = "color-schema-type"
39
41
  }
40
42
  export interface VelcronSliderPropertyEditorSettings {
@@ -45,10 +47,20 @@ export interface VelcronSliderPropertyEditorSettings {
45
47
  export interface VelcronTypographyEditorSettings {
46
48
  type: "title" | "text";
47
49
  }
50
+ export interface VelcronMarkdownEditorSettings {
51
+ placeholder: string;
52
+ }
53
+ export interface VelcronSpacingEditorSettings {
54
+ individualSelection: boolean;
55
+ }
56
+ export interface VelcronTextEditorSettings {
57
+ type: TypographyType;
58
+ placeholder: string;
59
+ }
48
60
  export interface VelcronSliderPropertyEditor extends VelcronPropertyEditor<VelcronSliderPropertyEditorSettings> {
49
61
  type: "slider";
50
62
  }
51
- export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<any> {
63
+ export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<VelcronTextEditorSettings> {
52
64
  type: "text";
53
65
  }
54
66
  export interface VelcronEnterprisePropertyEditor extends VelcronPropertyEditor<any> {
@@ -72,12 +84,15 @@ export interface VelcronColorSchemaPropertyEditor extends VelcronPropertyEditor<
72
84
  export interface VelcronIconPropertyEditor extends VelcronPropertyEditor<any> {
73
85
  type: "icon";
74
86
  }
75
- export interface VelcronMarkdownPropertyEditor extends VelcronPropertyEditor<any> {
87
+ export interface VelcronMarkdownPropertyEditor extends VelcronPropertyEditor<VelcronMarkdownEditorSettings> {
76
88
  type: "markdown";
77
89
  }
78
90
  export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
79
91
  type: "image";
80
92
  }
93
+ export interface VelcronSpacingPropertyEditor extends VelcronPropertyEditor<VelcronSpacingEditorSettings> {
94
+ type: "spacing";
95
+ }
81
96
  export interface VelcronState {
82
97
  images?: VelcronImagesState;
83
98
  styling?: VelcronStylingState;
@@ -116,11 +131,15 @@ export interface VelcronPropertiesState {
116
131
  }
117
132
  export interface VelcronImagesState {
118
133
  main?: VelcronImageState;
134
+ alt1?: VelcronImageState;
135
+ alt2?: VelcronImageState;
119
136
  }
120
137
  export interface VelcronImageState {
121
138
  url?: string;
122
139
  ratio?: VelcronImageRatios;
123
140
  caption?: VelcronTextState;
141
+ width?: number;
142
+ height?: number;
124
143
  }
125
144
  export interface VelcronStylingState {
126
145
  }
@@ -137,6 +156,24 @@ export declare const VelcronImagesStateBinding: {
137
156
  url: string;
138
157
  ratio: string;
139
158
  caption: string;
159
+ width: string;
160
+ height: string;
161
+ };
162
+ alt1: {
163
+ editor: string;
164
+ url: string;
165
+ ratio: string;
166
+ caption: string;
167
+ width: string;
168
+ height: string;
169
+ };
170
+ alt2: {
171
+ editor: string;
172
+ url: string;
173
+ ratio: string;
174
+ caption: string;
175
+ width: string;
176
+ height: string;
140
177
  };
141
178
  };
142
179
  export declare const VelcronHeaderStateBinding: {
@@ -221,6 +258,24 @@ export declare const VelcronStateBinding: {
221
258
  url: string;
222
259
  ratio: string;
223
260
  caption: string;
261
+ width: string;
262
+ height: string;
263
+ };
264
+ alt1: {
265
+ editor: string;
266
+ url: string;
267
+ ratio: string;
268
+ caption: string;
269
+ width: string;
270
+ height: string;
271
+ };
272
+ alt2: {
273
+ editor: string;
274
+ url: string;
275
+ ratio: string;
276
+ caption: string;
277
+ width: string;
278
+ height: string;
224
279
  };
225
280
  };
226
281
  content: {
@@ -12,6 +12,7 @@ var BuiltInPropertyEditorTypes;
12
12
  BuiltInPropertyEditorTypes["icon"] = "icon";
13
13
  BuiltInPropertyEditorTypes["image"] = "image";
14
14
  BuiltInPropertyEditorTypes["typography"] = "typography";
15
+ BuiltInPropertyEditorTypes["spacing"] = "spacing";
15
16
  BuiltInPropertyEditorTypes["color-schema-type"] = "color-schema-type";
16
17
  })(BuiltInPropertyEditorTypes = exports.BuiltInPropertyEditorTypes || (exports.BuiltInPropertyEditorTypes = {}));
17
18
  exports.VelcronImagesStateBinding = {
@@ -19,7 +20,25 @@ exports.VelcronImagesStateBinding = {
19
20
  editor: "{{images.main.url}}",
20
21
  url: "{{images.main.url}}",
21
22
  ratio: "{{images.main.ratio}}",
22
- caption: "{{images.main.caption}}"
23
+ caption: "{{images.main.caption}}",
24
+ width: "{{images.main.width}}",
25
+ height: "{{images.main.height}}",
26
+ },
27
+ alt1: {
28
+ editor: "{{images.alt1.url}}",
29
+ url: "{{images.alt1.url}}",
30
+ ratio: "{{images.alt1.ratio}}",
31
+ caption: "{{images.alt1.caption}}",
32
+ width: "{{images.alt1.width}}",
33
+ height: "{{images.alt1.height}}",
34
+ },
35
+ alt2: {
36
+ editor: "{{images.alt2.url}}",
37
+ url: "{{images.alt2.url}}",
38
+ ratio: "{{images.alt2.ratio}}",
39
+ caption: "{{images.alt2.caption}}",
40
+ width: "{{images.alt2.width}}",
41
+ height: "{{images.alt2.height}}",
23
42
  },
24
43
  };
25
44
  exports.VelcronHeaderStateBinding = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.41-dev",
4
+ "version": "8.0.42-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"