@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.
@@ -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, Theme, ThemeSelection, VersionedLayoutId } from ".";
4
- import { ThemeType } from "./Enums";
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 Theme {
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: ThemeType;
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, Theme, IBusinessProfile, IMessageBusTopicSubscription, HttpHeaders, IOmniaPropertyBag, ITenant, OmniaServiceManifests, TenantWithProperties, UserWithProperties, RollupFilterComponentState, LoadableBundleManifest, UserWithPropertyBag, FilterEngineRouterState, ThemeBoot } from ".";
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: Theme;
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 ThemeType {
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.ThemeType = 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;
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 ThemeType;
414
- (function (ThemeType) {
415
- ThemeType["Light"] = "Light";
416
- ThemeType["LightWithColorContrast"] = "LightWithColorContrast";
417
- ThemeType["LightWithFullColorContrast"] = "LightWithFullColorContrast";
418
- ThemeType["ColorWithLightContrast"] = "ColorWithLightContrast";
419
- ThemeType["ColorWithContrast"] = "ColorWithContrast";
420
- ThemeType["ColorWithFullContrast"] = "ColorWithFullContrast";
421
- ThemeType["Dark"] = "Dark";
422
- ThemeType["DarkWithColorContrast"] = "DarkWithColorContrast";
423
- })(ThemeType || (exports.ThemeType = ThemeType = {}));
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
@@ -1,6 +1,6 @@
1
- import { ThemeType } from "./Enums";
2
- export interface Theme {
3
- type: ThemeType;
1
+ import { LegacyThemeType } from "./Enums";
2
+ export interface LegacyTheming {
3
+ type: LegacyThemeType;
4
4
  primary: string;
5
5
  secondary: string;
6
6
  corporatecolors: Array<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.298-dev",
4
+ "version": "8.0.299-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"