@omnia/fx-models 8.0.27-dev → 8.0.28-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/BusinessProfile.d.ts +5 -1
- package/BusinessProfile.js +7 -1
- package/Layout.d.ts +2 -1
- package/Layout.js +1 -0
- package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +1 -13
- package/internal-do-not-import-from-here/shared/models/Realtime.js +1 -22
- package/oxide/OxideTypeDefinitions.d.ts +2 -1
- package/oxide/OxideTypeDefinitions.js +1 -1
- package/package.json +1 -1
- package/velcron/VelcronDefinitionRegistration.d.ts +1 -1
package/BusinessProfile.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Theming } from "./Theming";
|
|
|
2
2
|
import { OmniaNamedModel, IOmniaPropertyBag } from "./NamedProperty";
|
|
3
3
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
4
4
|
import { ThemeType } from "./Enums";
|
|
5
|
-
import { LanguageSettings } from ".";
|
|
5
|
+
import { LanguageSettings, VersionedLayoutId } from ".";
|
|
6
6
|
import { MultilingualString } from "./MultilingualString";
|
|
7
7
|
export interface BusinessProfileIdentity {
|
|
8
8
|
id: GuidValue;
|
|
@@ -73,6 +73,10 @@ export declare class BusinessProfileFaviconSettings extends BusinessProfilePrope
|
|
|
73
73
|
links?: string[];
|
|
74
74
|
constructor();
|
|
75
75
|
}
|
|
76
|
+
export declare class BusinessProfileChromeLayout extends BusinessProfileProperty {
|
|
77
|
+
publishedVersionLayoutId: VersionedLayoutId;
|
|
78
|
+
constructor();
|
|
79
|
+
}
|
|
76
80
|
export declare abstract class BusinessProfileRelativePathValue {
|
|
77
81
|
protected relativePath: string;
|
|
78
82
|
abstract readonly prefixToken: string;
|
package/BusinessProfile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OmniaBusinessProfileRelativePathValue = exports.BusinessProfileRelativePathValue = exports.BusinessProfileFaviconSettings = exports.BusinessProfileHomeUrlSettings = exports.BusinessProfileLanguageSettings = exports.BusinessProfileMediaPicker = exports.BusinessProfileTheme = exports.BusinessProfilePathProperty = exports.BusinessProfileProperty = void 0;
|
|
3
|
+
exports.OmniaBusinessProfileRelativePathValue = exports.BusinessProfileRelativePathValue = exports.BusinessProfileChromeLayout = exports.BusinessProfileFaviconSettings = exports.BusinessProfileHomeUrlSettings = exports.BusinessProfileLanguageSettings = exports.BusinessProfileMediaPicker = exports.BusinessProfileTheme = exports.BusinessProfilePathProperty = exports.BusinessProfileProperty = void 0;
|
|
4
4
|
const ManifestIds_1 = require("./ManifestIds");
|
|
5
5
|
const NamedProperty_1 = require("./NamedProperty");
|
|
6
6
|
class BusinessProfileProperty extends NamedProperty_1.OmniaNamedModel {
|
|
@@ -45,6 +45,12 @@ class BusinessProfileFaviconSettings extends BusinessProfileProperty {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.BusinessProfileFaviconSettings = BusinessProfileFaviconSettings;
|
|
48
|
+
class BusinessProfileChromeLayout extends BusinessProfileProperty {
|
|
49
|
+
constructor() {
|
|
50
|
+
super(ManifestIds_1.OmniaService.Id, "chromelayout");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.BusinessProfileChromeLayout = BusinessProfileChromeLayout;
|
|
48
54
|
class BusinessProfileRelativePathValue {
|
|
49
55
|
constructor(relativePath) {
|
|
50
56
|
this.relativePath = relativePath;
|
package/Layout.d.ts
CHANGED
|
@@ -113,7 +113,8 @@ export declare enum SectionTypes {
|
|
|
113
113
|
Column = 1,
|
|
114
114
|
Tab = 2,
|
|
115
115
|
Accordion = 3,
|
|
116
|
-
Stepper = 4
|
|
116
|
+
Stepper = 4,
|
|
117
|
+
PlaceHolder = 5
|
|
117
118
|
}
|
|
118
119
|
export interface Section<T extends SectionSettings = SectionSettings> extends LayoutItem {
|
|
119
120
|
settings: T;
|
package/Layout.js
CHANGED
|
@@ -7,6 +7,7 @@ var SectionTypes;
|
|
|
7
7
|
SectionTypes[SectionTypes["Tab"] = 2] = "Tab";
|
|
8
8
|
SectionTypes[SectionTypes["Accordion"] = 3] = "Accordion";
|
|
9
9
|
SectionTypes[SectionTypes["Stepper"] = 4] = "Stepper";
|
|
10
|
+
SectionTypes[SectionTypes["PlaceHolder"] = 5] = "PlaceHolder";
|
|
10
11
|
})(SectionTypes = exports.SectionTypes || (exports.SectionTypes = {}));
|
|
11
12
|
var JsonNullValueHandling;
|
|
12
13
|
(function (JsonNullValueHandling) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GuidValue } 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
|
|
@@ -6,11 +6,6 @@ export declare abstract class RealtimeChannel {
|
|
|
6
6
|
*/
|
|
7
7
|
abstract getId(): string;
|
|
8
8
|
}
|
|
9
|
-
export declare class BusinuessProfileChannel extends RealtimeChannel {
|
|
10
|
-
private _profileId;
|
|
11
|
-
constructor(profileId: Guid);
|
|
12
|
-
getId(): string;
|
|
13
|
-
}
|
|
14
9
|
export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChannel, TRealtimeData> {
|
|
15
10
|
private _channel;
|
|
16
11
|
private _value;
|
|
@@ -19,13 +14,6 @@ export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChan
|
|
|
19
14
|
abstract getId(): GuidValue;
|
|
20
15
|
constructor(channel: TRealtimeChannel, value?: TRealtimeData);
|
|
21
16
|
}
|
|
22
|
-
export declare class PageChatRealtimeData extends RealtimeData<BusinuessProfileChannel, {
|
|
23
|
-
x: number;
|
|
24
|
-
y: number;
|
|
25
|
-
}> {
|
|
26
|
-
constructor(channel: BusinuessProfileChannel);
|
|
27
|
-
getId(): GuidValue;
|
|
28
|
-
}
|
|
29
17
|
export type RealtimeChannelUpdateTypes = "activate" | "deactivate";
|
|
30
18
|
export interface RealtimeChannelUpdateMessage extends RealtimChannelMessage {
|
|
31
19
|
threadId: GuidValue;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const Guid_1 = require("./Guid");
|
|
3
|
+
exports.RealtimeData = exports.RealtimeChannel = void 0;
|
|
5
4
|
class RealtimeChannel {
|
|
6
5
|
}
|
|
7
6
|
exports.RealtimeChannel = RealtimeChannel;
|
|
8
|
-
class BusinuessProfileChannel extends RealtimeChannel {
|
|
9
|
-
constructor(profileId) {
|
|
10
|
-
super();
|
|
11
|
-
this._profileId = profileId;
|
|
12
|
-
}
|
|
13
|
-
getId() {
|
|
14
|
-
return this._profileId.toString();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.BusinuessProfileChannel = BusinuessProfileChannel;
|
|
18
7
|
class RealtimeData {
|
|
19
8
|
get channel() {
|
|
20
9
|
return this._channel;
|
|
@@ -28,13 +17,3 @@ class RealtimeData {
|
|
|
28
17
|
}
|
|
29
18
|
}
|
|
30
19
|
exports.RealtimeData = RealtimeData;
|
|
31
|
-
//FIXME: This is a test implementation remove when tested
|
|
32
|
-
class PageChatRealtimeData extends RealtimeData {
|
|
33
|
-
constructor(channel) {
|
|
34
|
-
super(channel);
|
|
35
|
-
}
|
|
36
|
-
getId() {
|
|
37
|
-
return new Guid_1.Guid("0366c62b-da25-4ed1-b5dc-de7e9934249f");
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.PageChatRealtimeData = PageChatRealtimeData;
|
|
@@ -35,7 +35,7 @@ export declare const OAlertTypeDefinitions: readonly ["success", "info", "warnin
|
|
|
35
35
|
export type OAlertTypes = typeof OAlertTypeDefinitions[number];
|
|
36
36
|
export declare const OAlertTypesName = "AlertTypes";
|
|
37
37
|
/**Button */
|
|
38
|
-
export declare const OButtonPresetDefinitions: readonly ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
38
|
+
export declare const OButtonPresetDefinitions: readonly ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
39
39
|
export type OOxideButtonPresets = typeof OButtonPresetDefinitions[number];
|
|
40
40
|
export declare const OButtonPresetsName = "OxideButtonPresets";
|
|
41
41
|
export declare const OButtonVariantDefinitions: readonly ["default", "prominent", "toolbar", "opacity", "dial", "slim"];
|
|
@@ -171,6 +171,7 @@ export interface OSelectRenderingItem<TValue = any, TRaw = any> {
|
|
|
171
171
|
};
|
|
172
172
|
props: {
|
|
173
173
|
onClick: (item: TValue) => void;
|
|
174
|
+
[key: string]: any;
|
|
174
175
|
};
|
|
175
176
|
}
|
|
176
177
|
export {};
|
|
@@ -27,7 +27,7 @@ exports.OAppBarTypesName = "AppBarTypes";
|
|
|
27
27
|
exports.OAlertTypeDefinitions = ["success", "info", "warning", "error"];
|
|
28
28
|
exports.OAlertTypesName = "AlertTypes";
|
|
29
29
|
/**Button */
|
|
30
|
-
exports.OButtonPresetDefinitions = ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
30
|
+
exports.OButtonPresetDefinitions = ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-comment", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
31
31
|
exports.OButtonPresetsName = "OxideButtonPresets";
|
|
32
32
|
exports.OButtonVariantDefinitions = ["default", "prominent", "toolbar", "opacity", "dial", "slim"];
|
|
33
33
|
exports.OButtonVariantsName = "ButtonVariants";
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamicState, Guid, ThemeDefinitionV2, VelcronAppDefinition } from "..";
|
|
2
|
-
export type VelcronDefitinionRegistrationsTypes = "content" | "card" | "header" | "general" | "property" | "block-header";
|
|
2
|
+
export type VelcronDefitinionRegistrationsTypes = "content" | "card" | "header" | "general" | "property" | "block-header" | "social";
|
|
3
3
|
export interface VelcronDefinitionRegistration<TDefinitionState extends DynamicState = DynamicState> {
|
|
4
4
|
id: Guid;
|
|
5
5
|
definition: VelcronAppDefinition<TDefinitionState>;
|