@omnia/fx-models 8.0.533-dev → 8.0.536-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/Exposes.d.ts +0 -1
- package/Exposes.js +0 -1
- package/LinkHandler/DocumentsLinkHandlerSettings.d.ts +1 -1
- package/LinkHandler/DocumentsLinkHandlerSettings.js +1 -1
- package/editor-chrome/EditorChromeRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/aurora/styles/Stylex.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/theme/Typography.d.ts +10 -0
- package/package.json +1 -1
- package/{Tenant.d.ts → shared-mobile/Tenant.d.ts} +13 -6
- package/{Tenant.js → shared-mobile/Tenant.js} +16 -4
- package/shared-mobile/identities/UserIdentity.d.ts +4 -0
- package/shared-mobile/identities/UserIdentity.js +8 -1
- package/shared-mobile/index.d.ts +1 -0
- package/shared-mobile/index.js +1 -0
package/Exposes.d.ts
CHANGED
|
@@ -81,7 +81,6 @@ export * from "./Store";
|
|
|
81
81
|
export * from "./Tags";
|
|
82
82
|
export * from "./TargetingProperty";
|
|
83
83
|
export * from "./TargetingPropertyArchive";
|
|
84
|
-
export * from "./Tenant";
|
|
85
84
|
export * from "./TenantContact";
|
|
86
85
|
export * from "./Theme";
|
|
87
86
|
export * from "./ThemingMenuNode";
|
package/Exposes.js
CHANGED
|
@@ -87,7 +87,6 @@ tslib_1.__exportStar(require("./Store"), exports);
|
|
|
87
87
|
tslib_1.__exportStar(require("./Tags"), exports);
|
|
88
88
|
tslib_1.__exportStar(require("./TargetingProperty"), exports);
|
|
89
89
|
tslib_1.__exportStar(require("./TargetingPropertyArchive"), exports);
|
|
90
|
-
tslib_1.__exportStar(require("./Tenant"), exports);
|
|
91
90
|
tslib_1.__exportStar(require("./TenantContact"), exports);
|
|
92
91
|
tslib_1.__exportStar(require("./Theme"), exports);
|
|
93
92
|
tslib_1.__exportStar(require("./ThemingMenuNode"), exports);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocumentsLinkHandlerSettings = void 0;
|
|
4
4
|
const ManifestIds_1 = require("../shared-mobile/ManifestIds");
|
|
5
|
-
const Tenant_1 = require("../Tenant");
|
|
5
|
+
const Tenant_1 = require("../shared-mobile/Tenant");
|
|
6
6
|
class DocumentsLinkHandlerSettings extends Tenant_1.TenantProperty {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(ManifestIds_1.OmniaService.Id, "ofe-linkhandlerdocuments");
|
|
@@ -28,13 +28,13 @@ export interface EditorChromeConfiguration {
|
|
|
28
28
|
title?: string;
|
|
29
29
|
hidden?: boolean | (() => boolean);
|
|
30
30
|
icon?: IIcon;
|
|
31
|
-
journey?: boolean;
|
|
32
31
|
onActivated?: () => void;
|
|
33
32
|
focused?: boolean;
|
|
34
33
|
settings?: {
|
|
35
34
|
displayResizable?: boolean;
|
|
36
35
|
zoomable?: boolean;
|
|
37
36
|
backNavigation?: boolean;
|
|
37
|
+
renderingMode?: "default" | "journey" | "center-panel";
|
|
38
38
|
};
|
|
39
39
|
active?: boolean;
|
|
40
40
|
rightDrawer?: {
|
|
@@ -110,6 +110,7 @@ export interface ICssRules {
|
|
|
110
110
|
boxShadow(boxShadow: string): StylexValue;
|
|
111
111
|
textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
|
|
112
112
|
textFillColor(textFillColor: string): StylexValue;
|
|
113
|
+
borderColor(borderColor: string): StylexValue;
|
|
113
114
|
};
|
|
114
115
|
nest: {
|
|
115
116
|
iframe: {
|
|
@@ -2,6 +2,7 @@ import { guid } from "../Guid";
|
|
|
2
2
|
import { FillDefinition } from "./ThemeDefinition";
|
|
3
3
|
import { ThemeBase } from "./ThemeBase";
|
|
4
4
|
import { VariantBlueprints } from "./Blueprints";
|
|
5
|
+
import { MultilingualString } from "../MultilingualString";
|
|
5
6
|
export interface TypographyFontDefinition extends ThemeBase {
|
|
6
7
|
family: string;
|
|
7
8
|
cdn?: string;
|
|
@@ -120,6 +121,15 @@ export interface ThemedTextStyleValue {
|
|
|
120
121
|
italic?: boolean;
|
|
121
122
|
bold?: boolean;
|
|
122
123
|
}
|
|
124
|
+
export interface TextStyleConfiguration {
|
|
125
|
+
id: guid;
|
|
126
|
+
title: MultilingualString;
|
|
127
|
+
builtin?: boolean;
|
|
128
|
+
isDefault?: boolean;
|
|
129
|
+
role?: "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
130
|
+
textStyle: TextStyleValue;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
}
|
|
123
133
|
export type TextStyleValue = TextStyleDefinition | ThemedTextStyleValue;
|
|
124
134
|
export type TextStyleBreakpointType = "lg" | "md" | "sm";
|
|
125
135
|
export type TextStyleSize = keyof typeof TextStyleSizes;
|
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { TenantIdentifier, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { IOmniaPropertyBag, OmniaNamedModel } from "./shared-mobile";
|
|
6
|
-
import { MultilingualString } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
1
|
+
import { TenantIdentifier, TypographyFontDefinition, ThemeSelection, MultilingualString } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
2
|
+
import { FirstDayOfWeeks, TimeFormats } from "../Enums";
|
|
3
|
+
import { LanguageSettings } from "../Language";
|
|
4
|
+
import { IOmniaPropertyBag, OmniaNamedModel } from "./NamedProperty";
|
|
7
5
|
export interface ITenant extends TenantIdentifier {
|
|
8
6
|
readonly propertyBag: IOmniaPropertyBag<TenantProperty>;
|
|
9
7
|
readonly properties: Array<TenantProperty>;
|
|
@@ -24,6 +22,11 @@ export declare class TenantLanguageSettings extends TenantProperty {
|
|
|
24
22
|
excludeCountry?: boolean;
|
|
25
23
|
constructor();
|
|
26
24
|
}
|
|
25
|
+
export declare class TenantLegacyChrome extends TenantProperty {
|
|
26
|
+
versionLayoutId: number;
|
|
27
|
+
publishedVersionId: number;
|
|
28
|
+
constructor();
|
|
29
|
+
}
|
|
27
30
|
export declare class TenantThemeManager extends TenantProperty {
|
|
28
31
|
constructor();
|
|
29
32
|
selected: ThemeSelection;
|
|
@@ -88,3 +91,7 @@ export declare class TenantPreSetup extends TenantProperty {
|
|
|
88
91
|
tenantAdminAdded?: boolean;
|
|
89
92
|
constructor();
|
|
90
93
|
}
|
|
94
|
+
export declare class ActivityFeedChannelIdProperty extends TenantProperty {
|
|
95
|
+
channelId?: number;
|
|
96
|
+
constructor();
|
|
97
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantPreSetup = exports.TenantFaviconSettings = exports.TenantEnterpriseGlossary = exports.AllEnterprisePropertyDataTypesContentHashSettings = exports.AllEnterprisePropertiesContentHashSettings = exports.TenantApiSettings = exports.TenantPeopleInformation = exports.TenantTypographyFonts = exports.TenantAuthenticationSettings = exports.TenantInfoSettings = exports.TenantErrorInformation = exports.TenantCSOMClientContextFallbackUrl = exports.TenantThemeManager = exports.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
|
4
|
-
const ManifestIds_1 = require("./
|
|
5
|
-
const
|
|
6
|
-
class TenantProperty extends
|
|
3
|
+
exports.ActivityFeedChannelIdProperty = exports.TenantPreSetup = exports.TenantFaviconSettings = exports.TenantEnterpriseGlossary = exports.AllEnterprisePropertyDataTypesContentHashSettings = exports.AllEnterprisePropertiesContentHashSettings = exports.TenantApiSettings = exports.TenantPeopleInformation = exports.TenantTypographyFonts = exports.TenantAuthenticationSettings = exports.TenantInfoSettings = exports.TenantErrorInformation = exports.TenantCSOMClientContextFallbackUrl = exports.TenantThemeManager = exports.TenantLegacyChrome = exports.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
|
4
|
+
const ManifestIds_1 = require("./ManifestIds");
|
|
5
|
+
const NamedProperty_1 = require("./NamedProperty");
|
|
6
|
+
class TenantProperty extends NamedProperty_1.OmniaNamedModel {
|
|
7
7
|
}
|
|
8
8
|
exports.TenantProperty = TenantProperty;
|
|
9
9
|
class TenantRegionalSettings extends TenantProperty {
|
|
@@ -18,6 +18,12 @@ class TenantLanguageSettings extends TenantProperty {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.TenantLanguageSettings = TenantLanguageSettings;
|
|
21
|
+
class TenantLegacyChrome extends TenantProperty {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(ManifestIds_1.OmniaService.Id, "legacyChrome");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.TenantLegacyChrome = TenantLegacyChrome;
|
|
21
27
|
class TenantThemeManager extends TenantProperty {
|
|
22
28
|
constructor() {
|
|
23
29
|
super(ManifestIds_1.OmniaService.Id, "themingManager");
|
|
@@ -112,3 +118,9 @@ class TenantPreSetup extends TenantProperty {
|
|
|
112
118
|
}
|
|
113
119
|
}
|
|
114
120
|
exports.TenantPreSetup = TenantPreSetup;
|
|
121
|
+
class ActivityFeedChannelIdProperty extends TenantProperty {
|
|
122
|
+
constructor() {
|
|
123
|
+
super(ManifestIds_1.OmniaService.Id, "activityFeedChannelId");
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ActivityFeedChannelIdProperty = ActivityFeedChannelIdProperty;
|
|
@@ -103,4 +103,8 @@ export declare class UserThemeManager extends UserPropertyBagModel {
|
|
|
103
103
|
constructor();
|
|
104
104
|
selectedAdminThemeId: guid;
|
|
105
105
|
}
|
|
106
|
+
export declare class HubActorIdBagProperty extends UserPropertyBagModel {
|
|
107
|
+
actorId?: number;
|
|
108
|
+
constructor();
|
|
109
|
+
}
|
|
106
110
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserThemeManager = exports.UserSortColumn = exports.DocumentDirectionSettings = exports.UserAccessibilitySettings = exports.UserPropertyBagModel = exports.ResolvedUserIdentity = exports.UserIdentity = void 0;
|
|
3
|
+
exports.HubActorIdBagProperty = exports.UserThemeManager = exports.UserSortColumn = exports.DocumentDirectionSettings = exports.UserAccessibilitySettings = exports.UserPropertyBagModel = exports.ResolvedUserIdentity = exports.UserIdentity = void 0;
|
|
4
4
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
|
5
5
|
const Identity_1 = require("./Identity");
|
|
6
6
|
const IdentityTypes_1 = require("./IdentityTypes");
|
|
@@ -100,3 +100,10 @@ class UserThemeManager extends UserPropertyBagModel {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
exports.UserThemeManager = UserThemeManager;
|
|
103
|
+
class HubActorIdBagProperty extends UserPropertyBagModel {
|
|
104
|
+
constructor() {
|
|
105
|
+
super(OmniaServiceId, "hubactorid");
|
|
106
|
+
this.actorId = null;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.HubActorIdBagProperty = HubActorIdBagProperty;
|
package/shared-mobile/index.d.ts
CHANGED
package/shared-mobile/index.js
CHANGED
|
@@ -10,3 +10,4 @@ tslib_1.__exportStar(require("./NamedProperty"), exports);
|
|
|
10
10
|
tslib_1.__exportStar(require("./media-picker"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./Icon"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./ManifestIds"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./Tenant"), exports);
|