@omnia/fx-models 8.0.298-dev → 8.0.299-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 +4 -4
- package/Contexts.d.ts +2 -2
- package/Enums.d.ts +1 -1
- package/Enums.js +12 -12
- package/Theme.d.ts +3 -3
- package/package.json +1 -1
package/BusinessProfile.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { guid, ThemeTargetMapping } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { types } from "typestyle";
|
3
|
-
import { LanguageSettings,
|
4
|
-
import {
|
3
|
+
import { LanguageSettings, LegacyTheming, ThemeSelection, VersionedLayoutId } from ".";
|
4
|
+
import { LegacyThemeType } from "./Enums";
|
5
5
|
import { MultilingualString } from "./MultilingualString";
|
6
6
|
import { IOmniaPropertyBag, OmniaNamedModel } from "./NamedProperty";
|
7
7
|
export interface BusinessProfileIdentity {
|
@@ -33,7 +33,7 @@ export declare abstract class BusinessProfileProperty extends OmniaNamedModel {
|
|
33
33
|
}
|
34
34
|
export declare abstract class BusinessProfilePathProperty extends OmniaNamedModel {
|
35
35
|
}
|
36
|
-
export declare class BusinessProfileTheme extends BusinessProfileProperty implements
|
36
|
+
export declare class BusinessProfileTheme extends BusinessProfileProperty implements LegacyTheming {
|
37
37
|
constructor();
|
38
38
|
primary: string;
|
39
39
|
secondary: string;
|
@@ -43,7 +43,7 @@ export declare class BusinessProfileTheme extends BusinessProfileProperty implem
|
|
43
43
|
info: string;
|
44
44
|
success: string;
|
45
45
|
warning: string;
|
46
|
-
type:
|
46
|
+
type: LegacyThemeType;
|
47
47
|
}
|
48
48
|
export declare class BusinessProfileThemeManager extends BusinessProfileProperty {
|
49
49
|
constructor();
|
package/Contexts.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { guid, OmniaSharedBootstrapData, OmniaToken, IUrlHash, IUrlQuerystring, IUrlPath, AppRoute,
|
1
|
+
import { guid, OmniaSharedBootstrapData, OmniaToken, IUrlHash, IUrlQuerystring, IUrlPath, AppRoute, LegacyTheming, IBusinessProfile, IMessageBusTopicSubscription, HttpHeaders, IOmniaPropertyBag, ITenant, OmniaServiceManifests, TenantWithProperties, UserWithProperties, RollupFilterComponentState, LoadableBundleManifest, UserWithPropertyBag, FilterEngineRouterState, ThemeBoot } from ".";
|
2
2
|
import { AxiosResponse } from "axios";
|
3
3
|
import { BusinessProfileWithProperties } from "./BusinessProfile";
|
4
4
|
import { AppRoutePropertyBagModel, AppRouteWithProperties, ITokenBasedUrlPath, IAppRoute } from "./Routing";
|
@@ -111,7 +111,7 @@ export interface IOmniaContext extends IMutableContext<IOmniaContext> {
|
|
111
111
|
businessProfile: IBusinessProfile;
|
112
112
|
appRoute: IAppRoute;
|
113
113
|
tenant: ITenant;
|
114
|
-
theming:
|
114
|
+
theming: LegacyTheming;
|
115
115
|
user: Promise<UserWithPropertyBag>;
|
116
116
|
tokens: OmniaTokenContext;
|
117
117
|
activatedFeatures: guid[];
|
package/Enums.d.ts
CHANGED
@@ -372,7 +372,7 @@ export declare enum FeatureInstanceStatus {
|
|
372
372
|
AdminConsentUpgrading = 6,
|
373
373
|
AdminConsentWaitingActivation = 7
|
374
374
|
}
|
375
|
-
export declare enum
|
375
|
+
export declare enum LegacyThemeType {
|
376
376
|
Light = "Light",
|
377
377
|
LightWithColorContrast = "LightWithColorContrast",
|
378
378
|
LightWithFullColorContrast = "LightWithFullColorContrast",
|
package/Enums.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RichTextModes = exports.TimePeriodTypes = exports.TargetUser = exports.RedirectRuleType = exports.MultilingualScopes = exports.OmniaRoleTypes = exports.TargetResolverTypes = exports.PermissionRoles = exports.TimeFormats = exports.CompareBusinessProfilePathType = exports.StatusMessageOverlayType = exports.HttpStatusCode = exports.QueueMessageStatus = exports.StaticEndpoint = exports.
|
3
|
+
exports.RichTextModes = exports.TimePeriodTypes = exports.TargetUser = exports.RedirectRuleType = exports.MultilingualScopes = exports.OmniaRoleTypes = exports.TargetResolverTypes = exports.PermissionRoles = exports.TimeFormats = exports.CompareBusinessProfilePathType = exports.StatusMessageOverlayType = exports.HttpStatusCode = exports.QueueMessageStatus = exports.StaticEndpoint = exports.LegacyThemeType = exports.FeatureInstanceStatus = exports.RoleDefinitions = exports.Parameters = exports.ParamTypes = exports.PropertyIndexedType = exports.UserPickingType = exports.BoolFilter = exports.PrincipalTypes = exports.AppInstanceScopedQueryTypes = exports.AppInstanceStatus = exports.VideoRatio = exports.AdminNavigationBuiltInCategory = exports.AdminVisibility = exports.AuthenticationValidationStatuses = exports.IconSources = exports.IconTypes = exports.LanguageTags = exports.LocalizationTargetTypes = exports.BundleTargetTypes = exports.ServerManifestTypes = exports.ClientManifestTypes = exports.RuleLogicalOperator = exports.ResourceEvaluators = exports.ConsoleStateStorageMessageTypes = exports.ConsoleMessageTypes = exports.LogLevels = exports.ManifestLoadStatus = exports.LogSources = exports.AppTemplatePermissionLevel = exports.SecurityAccessType = exports.SecurityIdentities = exports.SecurityRoleScopes = exports.SecurityProviderTypes = exports.BuiltInAppInstanceInternalNames = exports.BuiltInEnterprisePropertyInternalNames = void 0;
|
4
4
|
exports.LayoutActionOpenType = exports.ReCaptChaSecretFormNames = exports.reCaptchaSecretKey = exports.WPServiceDefinition = exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpoints = exports.DisplayBreakpointCodes = exports.IdentityUserIdTypeMatch = exports.OmniaClientRuntimes = exports.OmniaBackendRuntimes = exports.PropertyEditModeElementNameType = exports.DirectionRules = exports.MediaPickerEnums = exports.PropertyArchiveType = exports.ImageSources = exports.IconSizes = exports.BlockRenderingModes = exports.LayoutCanvasModes = exports.ChromeTypes = exports.LayoutItemActions = exports.LayoutEditorModes = exports.TabbedDisplayModes = exports.TabbedIconPositions = exports.Positions = exports.BorderPositions = exports.IconPositions = exports.TextAlignment = exports.LayoutItemTypes = exports.LayoutDrawerTabs = exports.VerticalAlignments = exports.HorizontalAlignments = exports.BladeSizes = exports.ImageResolution = exports.ServiceLocatorUrlType = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = exports.ButtonIconPosition = exports.ButtonTooltipPosition = void 0;
|
5
5
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
6
6
|
var BuiltInEnterprisePropertyInternalNames;
|
@@ -410,17 +410,17 @@ var FeatureInstanceStatus;
|
|
410
410
|
FeatureInstanceStatus[FeatureInstanceStatus["AdminConsentUpgrading"] = 6] = "AdminConsentUpgrading";
|
411
411
|
FeatureInstanceStatus[FeatureInstanceStatus["AdminConsentWaitingActivation"] = 7] = "AdminConsentWaitingActivation";
|
412
412
|
})(FeatureInstanceStatus || (exports.FeatureInstanceStatus = FeatureInstanceStatus = {}));
|
413
|
-
var
|
414
|
-
(function (
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
})(
|
413
|
+
var LegacyThemeType;
|
414
|
+
(function (LegacyThemeType) {
|
415
|
+
LegacyThemeType["Light"] = "Light";
|
416
|
+
LegacyThemeType["LightWithColorContrast"] = "LightWithColorContrast";
|
417
|
+
LegacyThemeType["LightWithFullColorContrast"] = "LightWithFullColorContrast";
|
418
|
+
LegacyThemeType["ColorWithLightContrast"] = "ColorWithLightContrast";
|
419
|
+
LegacyThemeType["ColorWithContrast"] = "ColorWithContrast";
|
420
|
+
LegacyThemeType["ColorWithFullContrast"] = "ColorWithFullContrast";
|
421
|
+
LegacyThemeType["Dark"] = "Dark";
|
422
|
+
LegacyThemeType["DarkWithColorContrast"] = "DarkWithColorContrast";
|
423
|
+
})(LegacyThemeType || (exports.LegacyThemeType = LegacyThemeType = {}));
|
424
424
|
/**
|
425
425
|
* The endpoints can be used directly in href without any context value
|
426
426
|
* */
|
package/Theme.d.ts
CHANGED