@omnia/fx-models 8.0.462-dev → 8.0.463-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/ClientManifests.d.ts +3 -3
- package/ComponentComposer.d.ts +1 -3
- package/Contexts.d.ts +2 -10
- package/Enums.d.ts +0 -14
- package/Enums.js +1 -18
- package/Layout.d.ts +7 -4
- package/internal-do-not-import-from-here/shared/aurora/stores/ColorSchemaStore.d.ts +2 -1
- package/internal-do-not-import-from-here/shared/models/Enums.d.ts +20 -0
- package/internal-do-not-import-from-here/shared/models/Enums.js +25 -1
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +9 -0
- package/internal-do-not-import-from-here/shared/models/theme/Blueprints.d.ts +30 -6
- package/package.json +1 -1
package/ClientManifests.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ClientManifestTypes, BundleTargetTypes, RuleLogicalOperator, ManifestLoadStatus
|
1
|
+
import { ClientManifestTypes, BundleTargetTypes, RuleLogicalOperator, ManifestLoadStatus } from "./Enums";
|
2
2
|
import { WebComponentDefinition as ComponentDefinition } from "./ComponentComposer";
|
3
|
-
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
4
|
-
import { OmniaNamedModel
|
3
|
+
import { guid, OmniaBackendRuntimes, OmniaClientRuntimes } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
4
|
+
import { OmniaNamedModel } from "@omnia/fx-models/internal-do-not-import-from-here/shared-mobile/models";
|
5
5
|
export interface OmniaManifests {
|
6
6
|
target: ClientManifestTargetTypes;
|
7
7
|
omniaServiceId: guid;
|
package/ComponentComposer.d.ts
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
import { guid, IIcon } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
import { OmniaClientRuntimes } from "./Enums";
|
3
|
-
import { OmniaBackendRuntimes } from "@omnia/fx-models/internal-do-not-import-from-here/shared-mobile/models";
|
1
|
+
import { guid, IIcon, OmniaBackendRuntimes, OmniaClientRuntimes } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
4
2
|
export interface WebComponentOptions {
|
5
3
|
/** The name for this component, this should be a none conflicting name
|
6
4
|
e.g. use project as prefix myuniqueprojectname-componentName.
|
package/Contexts.d.ts
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
import { guid, OmniaSharedBootstrapData, OmniaToken, IUrlHash, IUrlQuerystring, IUrlPath, AppRoute, LegacyTheming, IBusinessProfile, IMessageBusTopicSubscription, HttpHeaders, IOmniaPropertyBag, ITenant, OmniaServiceManifests, TenantWithProperties, UserWithProperties, RollupFilterComponentState, LoadableBundleManifest, UserWithPropertyBag, FilterEngineRouterState, ThemeBoot,
|
1
|
+
import { guid, OmniaSharedBootstrapData, OmniaToken, IUrlHash, IUrlQuerystring, IUrlPath, AppRoute, LegacyTheming, IBusinessProfile, IMessageBusTopicSubscription, HttpHeaders, IOmniaPropertyBag, ITenant, OmniaServiceManifests, TenantWithProperties, UserWithProperties, RollupFilterComponentState, LoadableBundleManifest, UserWithPropertyBag, FilterEngineRouterState, ThemeBoot, OmniaEnvironmentContext } from ".";
|
2
2
|
import { AxiosResponse } from "axios";
|
3
3
|
import { BusinessProfileWithProperties } from "./BusinessProfile";
|
4
4
|
import { AppRoutePropertyBagModel, AppRouteWithProperties, ITokenBasedUrlPath, IAppRoute } from "./Routing";
|
5
|
-
import { BundleTargetTypes
|
5
|
+
import { BundleTargetTypes } from "./Enums";
|
6
6
|
export interface OmniaBootstrapData extends OmniaSharedBootstrapData {
|
7
7
|
manifests: OmniaServiceManifests;
|
8
|
-
enviroment: OmniaEnvironmentContext;
|
9
8
|
user: UserWithProperties;
|
10
9
|
theming: ThemeBoot;
|
11
10
|
businessProfile: BusinessProfileWithProperties;
|
@@ -40,13 +39,6 @@ declare global {
|
|
40
39
|
declare global {
|
41
40
|
var omnia: OmniaSharedBootstrapData;
|
42
41
|
}
|
43
|
-
export interface OmniaEnvironmentContext {
|
44
|
-
readonly isOmniaApp: boolean;
|
45
|
-
clientRuntime: OmniaClientRuntimes;
|
46
|
-
backendRuntime: OmniaBackendRuntimes;
|
47
|
-
isBackendSharePointServer: boolean;
|
48
|
-
isBackendM365: boolean;
|
49
|
-
}
|
50
42
|
export interface OmniaTenantContext {
|
51
43
|
tenantId: string;
|
52
44
|
profileId: string;
|
package/Enums.d.ts
CHANGED
@@ -365,16 +365,6 @@ export declare enum BladeSizes {
|
|
365
365
|
fillBesidesSmall = 25,
|
366
366
|
fullScreen = 30
|
367
367
|
}
|
368
|
-
export declare enum HorizontalAlignments {
|
369
|
-
left = 0,
|
370
|
-
center = 1,
|
371
|
-
right = 2
|
372
|
-
}
|
373
|
-
export declare enum VerticalAlignments {
|
374
|
-
top = 0,
|
375
|
-
center = 1,
|
376
|
-
bottom = 2
|
377
|
-
}
|
378
368
|
export declare enum LayoutDrawerTabs {
|
379
369
|
settings = 0,
|
380
370
|
structure = 1,
|
@@ -474,10 +464,6 @@ export declare enum PropertyEditModeElementNameType {
|
|
474
464
|
Tags = "omfx-enterpriseproperties-tags-edit",
|
475
465
|
Process = "oms-enterpriseproperties-process-edit"
|
476
466
|
}
|
477
|
-
export declare enum OmniaClientRuntimes {
|
478
|
-
Spfx = "spfx",
|
479
|
-
OmniaApp = "omniaapp"
|
480
|
-
}
|
481
467
|
export declare enum IdentityUserIdTypeMatch {
|
482
468
|
SPOnpremAdGroup = "c:0+",
|
483
469
|
SPOnpremAdUser = "\\",
|
package/Enums.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ButtonIconPosition = exports.TooltipPosition = exports.RichTextModes = exports.DateOperator = exports.TimePeriodTypes = exports.TargetUser = exports.RedirectRuleType = exports.MultilingualScopes = exports.OmniaRoleTypes = exports.TargetResolverTypes = exports.PermissionRoles = exports.FirstDayOfWeeks = 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.PrincipalTypes = exports.AppInstanceScopedQueryTypes = exports.AppInstanceStatus = exports.VideoRatio = exports.AdminNavigationBuiltInCategory = exports.AdminVisibility = exports.AuthenticationValidationStatuses = exports.IconSources = 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.SecurityRoleScopes = exports.SecurityProviderTypes = exports.BuiltInAppInstanceInternalNames = exports.BuiltInEnterprisePropertyInternalNames = void 0;
|
4
|
-
exports.CompletionImpactType = exports.LayoutActionOpenType = exports.ReCaptChaSecretFormNames = exports.reCaptchaSecretKey = exports.WPServiceDefinition = exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpointCodes = exports.IdentityUserIdTypeMatch = exports.
|
4
|
+
exports.CompletionImpactType = exports.LayoutActionOpenType = exports.ReCaptChaSecretFormNames = exports.reCaptchaSecretKey = exports.WPServiceDefinition = exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpointCodes = exports.IdentityUserIdTypeMatch = exports.PropertyEditModeElementNameType = exports.DirectionRules = 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.LayoutItemTypes = exports.LayoutDrawerTabs = exports.BladeSizes = exports.ImageResolution = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = void 0;
|
5
5
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
6
6
|
var BuiltInEnterprisePropertyInternalNames;
|
7
7
|
(function (BuiltInEnterprisePropertyInternalNames) {
|
@@ -427,18 +427,6 @@ var BladeSizes;
|
|
427
427
|
BladeSizes[BladeSizes["fillBesidesSmall"] = 25] = "fillBesidesSmall";
|
428
428
|
BladeSizes[BladeSizes["fullScreen"] = 30] = "fullScreen";
|
429
429
|
})(BladeSizes || (exports.BladeSizes = BladeSizes = {}));
|
430
|
-
var HorizontalAlignments;
|
431
|
-
(function (HorizontalAlignments) {
|
432
|
-
HorizontalAlignments[HorizontalAlignments["left"] = 0] = "left";
|
433
|
-
HorizontalAlignments[HorizontalAlignments["center"] = 1] = "center";
|
434
|
-
HorizontalAlignments[HorizontalAlignments["right"] = 2] = "right";
|
435
|
-
})(HorizontalAlignments || (exports.HorizontalAlignments = HorizontalAlignments = {}));
|
436
|
-
var VerticalAlignments;
|
437
|
-
(function (VerticalAlignments) {
|
438
|
-
VerticalAlignments[VerticalAlignments["top"] = 0] = "top";
|
439
|
-
VerticalAlignments[VerticalAlignments["center"] = 1] = "center";
|
440
|
-
VerticalAlignments[VerticalAlignments["bottom"] = 2] = "bottom";
|
441
|
-
})(VerticalAlignments || (exports.VerticalAlignments = VerticalAlignments = {}));
|
442
430
|
var LayoutDrawerTabs;
|
443
431
|
(function (LayoutDrawerTabs) {
|
444
432
|
LayoutDrawerTabs[LayoutDrawerTabs["settings"] = 0] = "settings";
|
@@ -556,11 +544,6 @@ var PropertyEditModeElementNameType;
|
|
556
544
|
PropertyEditModeElementNameType["Tags"] = "omfx-enterpriseproperties-tags-edit";
|
557
545
|
PropertyEditModeElementNameType["Process"] = "oms-enterpriseproperties-process-edit";
|
558
546
|
})(PropertyEditModeElementNameType || (exports.PropertyEditModeElementNameType = PropertyEditModeElementNameType = {}));
|
559
|
-
var OmniaClientRuntimes;
|
560
|
-
(function (OmniaClientRuntimes) {
|
561
|
-
OmniaClientRuntimes["Spfx"] = "spfx";
|
562
|
-
OmniaClientRuntimes["OmniaApp"] = "omniaapp";
|
563
|
-
})(OmniaClientRuntimes || (exports.OmniaClientRuntimes = OmniaClientRuntimes = {}));
|
564
547
|
//Should place regex or pattern that we intend to match
|
565
548
|
var IdentityUserIdTypeMatch;
|
566
549
|
(function (IdentityUserIdTypeMatch) {
|
package/Layout.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MultilingualString, LegacyThemeDefinition, IIcon, Spacing, LegacyIconPickerModel, WebComponentDefinition, OmniaBlock, guid, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, HorizontalAlignments, SpacingValue, ColorValue, VerticalAlignments, BlueprintVariant, ContainerFillBlueprint, ColorSchemaTypes, ColorSchema, TabsBlueprint, HeaderBlueprint } from ".";
|
1
|
+
import { MultilingualString, LegacyThemeDefinition, IIcon, Spacing, LegacyIconPickerModel, WebComponentDefinition, OmniaBlock, guid, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, HorizontalAlignments, SpacingValue, ColorValue, VerticalAlignments, BlueprintVariant, ContainerFillBlueprint, ColorSchemaTypes, ColorSchema, TabsBlueprint, HeaderBlueprint, HeaderSettings } from ".";
|
2
2
|
import { MessageBusTopicMediator } from "../";
|
3
3
|
import { TargetingFilterProperty } from "../sp";
|
4
4
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
@@ -151,12 +151,15 @@ export interface SectionSettings extends LayoutItemSettings {
|
|
151
151
|
marginSectionTop?: SpacingValue;
|
152
152
|
marginSectionBottom?: SpacingValue;
|
153
153
|
targetingFilterProperties: TargetingFilterProperty;
|
154
|
-
|
154
|
+
/**Old title settings */
|
155
155
|
titleSettings?: BlockTitleSettings;
|
156
|
-
titleRenderer?: HeaderBlueprint;
|
157
156
|
sectionTitle?: string | MultilingualString;
|
158
|
-
|
157
|
+
anchorName?: string;
|
159
158
|
icon: IIcon;
|
159
|
+
/**This section replaces the old title settings */
|
160
|
+
titleRenderer?: HeaderSettings;
|
161
|
+
/** End This section replaces the old title settings */
|
162
|
+
useFullSpace: boolean;
|
160
163
|
useCustomTheme: boolean;
|
161
164
|
themeDefinition: LegacyThemeDefinition;
|
162
165
|
hidden?: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type StoreEvents, type StoreReturnDefineAction } from "internal/fx/shared";
|
2
|
-
import { ColorDefinition, ColorGradientValue, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorTypes, ColorValue, guid } from "internal/fx/shared/models";
|
2
|
+
import { ColorDefinition, ColorGradientValue, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorTypes, ColorValue, DynamicColorSettings, guid } from "internal/fx/shared/models";
|
3
3
|
import { useThemeStore } from "./ThemeStore";
|
4
4
|
export type ColorSchemaStoreType = {
|
5
5
|
state: {
|
@@ -29,6 +29,7 @@ export type ColorSchemaStoreType = {
|
|
29
29
|
theme: "dark" | "light";
|
30
30
|
base: ColorDefinition;
|
31
31
|
onBase: ColorDefinition;
|
32
|
+
dynamicColorType(colorSettings: DynamicColorSettings, contextColor: ColorSchemaType): any;
|
32
33
|
};
|
33
34
|
dispose(force?: boolean): void;
|
34
35
|
};
|
@@ -7,3 +7,23 @@ export declare enum TextAlignment {
|
|
7
7
|
center = "center",
|
8
8
|
right = "right"
|
9
9
|
}
|
10
|
+
export declare enum HorizontalAlignments {
|
11
|
+
left = 0,
|
12
|
+
center = 1,
|
13
|
+
right = 2
|
14
|
+
}
|
15
|
+
export declare enum VerticalAlignments {
|
16
|
+
top = 0,
|
17
|
+
center = 1,
|
18
|
+
bottom = 2
|
19
|
+
}
|
20
|
+
export declare enum OmniaBackendRuntimes {
|
21
|
+
/**Omnia server for Sharepoint Online */
|
22
|
+
M365 = "sponline",
|
23
|
+
/**Omnia server for Sharepoint OnPrem */
|
24
|
+
SharePointServer = "sponprem"
|
25
|
+
}
|
26
|
+
export declare enum OmniaClientRuntimes {
|
27
|
+
Spfx = "spfx",
|
28
|
+
OmniaApp = "omniaapp"
|
29
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TextAlignment = exports.ServiceLocatorUrlType = void 0;
|
3
|
+
exports.OmniaClientRuntimes = exports.OmniaBackendRuntimes = exports.VerticalAlignments = exports.HorizontalAlignments = exports.TextAlignment = exports.ServiceLocatorUrlType = void 0;
|
4
4
|
var ServiceLocatorUrlType;
|
5
5
|
(function (ServiceLocatorUrlType) {
|
6
6
|
ServiceLocatorUrlType[ServiceLocatorUrlType["Api"] = 0] = "Api";
|
@@ -12,3 +12,27 @@ var TextAlignment;
|
|
12
12
|
TextAlignment["center"] = "center";
|
13
13
|
TextAlignment["right"] = "right";
|
14
14
|
})(TextAlignment || (exports.TextAlignment = TextAlignment = {}));
|
15
|
+
var HorizontalAlignments;
|
16
|
+
(function (HorizontalAlignments) {
|
17
|
+
HorizontalAlignments[HorizontalAlignments["left"] = 0] = "left";
|
18
|
+
HorizontalAlignments[HorizontalAlignments["center"] = 1] = "center";
|
19
|
+
HorizontalAlignments[HorizontalAlignments["right"] = 2] = "right";
|
20
|
+
})(HorizontalAlignments || (exports.HorizontalAlignments = HorizontalAlignments = {}));
|
21
|
+
var VerticalAlignments;
|
22
|
+
(function (VerticalAlignments) {
|
23
|
+
VerticalAlignments[VerticalAlignments["top"] = 0] = "top";
|
24
|
+
VerticalAlignments[VerticalAlignments["center"] = 1] = "center";
|
25
|
+
VerticalAlignments[VerticalAlignments["bottom"] = 2] = "bottom";
|
26
|
+
})(VerticalAlignments || (exports.VerticalAlignments = VerticalAlignments = {}));
|
27
|
+
var OmniaBackendRuntimes;
|
28
|
+
(function (OmniaBackendRuntimes) {
|
29
|
+
/**Omnia server for Sharepoint Online */
|
30
|
+
OmniaBackendRuntimes["M365"] = "sponline";
|
31
|
+
/**Omnia server for Sharepoint OnPrem */
|
32
|
+
OmniaBackendRuntimes["SharePointServer"] = "sponprem";
|
33
|
+
})(OmniaBackendRuntimes || (exports.OmniaBackendRuntimes = OmniaBackendRuntimes = {}));
|
34
|
+
var OmniaClientRuntimes;
|
35
|
+
(function (OmniaClientRuntimes) {
|
36
|
+
OmniaClientRuntimes["Spfx"] = "spfx";
|
37
|
+
OmniaClientRuntimes["OmniaApp"] = "omniaapp";
|
38
|
+
})(OmniaClientRuntimes || (exports.OmniaClientRuntimes = OmniaClientRuntimes = {}));
|
@@ -2,6 +2,7 @@ import { OmniaToken } from "./Tokens";
|
|
2
2
|
import { guid } from "./Guid";
|
3
3
|
import { TenantIdentifier } from "./Tenant";
|
4
4
|
import { ActorId } from "./OmniaHub";
|
5
|
+
import { OmniaBackendRuntimes, OmniaClientRuntimes } from "./Enums";
|
5
6
|
export interface OmniaSharedBootstrapData {
|
6
7
|
uiThreadId: guid;
|
7
8
|
workerThreadId: guid;
|
@@ -26,6 +27,7 @@ export interface OmniaSharedBootstrapData {
|
|
26
27
|
serviceDnsMapping: OmniaServiceToDnsMapping;
|
27
28
|
authDisabled?: boolean;
|
28
29
|
analytics: OmniaAnalytics;
|
30
|
+
enviroment: OmniaEnvironmentContext;
|
29
31
|
/**
|
30
32
|
* Don't use it, only for test perf
|
31
33
|
*/
|
@@ -38,3 +40,10 @@ export interface OmniaAnalytics {
|
|
38
40
|
export interface OmniaServiceToDnsMapping {
|
39
41
|
[serviceId: guid]: string;
|
40
42
|
}
|
43
|
+
export interface OmniaEnvironmentContext {
|
44
|
+
readonly isOmniaApp: boolean;
|
45
|
+
clientRuntime: OmniaClientRuntimes;
|
46
|
+
backendRuntime: OmniaBackendRuntimes;
|
47
|
+
isBackendSharePointServer: boolean;
|
48
|
+
isBackendM365: boolean;
|
49
|
+
}
|
@@ -3,8 +3,9 @@ import { SpacingDefinition, Spacing, SpacingValue } from "./Spacing";
|
|
3
3
|
import { TypographyFontDefinition, TextStyleValue } from "./Typography";
|
4
4
|
import { ThemeBase } from "./ThemeBase";
|
5
5
|
import { VelcronRendererResolverReference } from "../velcron";
|
6
|
-
import { TextAlignment } from "../Enums";
|
7
|
-
import {
|
6
|
+
import { HorizontalAlignments, TextAlignment, VerticalAlignments } from "../Enums";
|
7
|
+
import { MultilingualString } from "../MultilingualString";
|
8
|
+
import { IIcon } from "../Icon";
|
8
9
|
export interface BlueprintStrategy {
|
9
10
|
buttons: {
|
10
11
|
primary: ButtonBlueprint;
|
@@ -32,6 +33,18 @@ export interface VariantBlueprints<T> extends Blueprints {
|
|
32
33
|
variant7?: T;
|
33
34
|
variant8?: T;
|
34
35
|
}
|
36
|
+
export interface DynamicColorSettings {
|
37
|
+
colorSchemaType?: ColorSchemaType;
|
38
|
+
dynamicColorSchema?: boolean;
|
39
|
+
}
|
40
|
+
export interface HeaderSettings {
|
41
|
+
text?: string | MultilingualString;
|
42
|
+
icon?: IIcon;
|
43
|
+
anchorName?: string;
|
44
|
+
colorSchemaType?: ColorSchemaType;
|
45
|
+
state?: any;
|
46
|
+
blueprint?: HeaderBlueprint | BlueprintVariant;
|
47
|
+
}
|
35
48
|
export interface HeaderIconBlueprint {
|
36
49
|
blueprint?: IconBlueprint;
|
37
50
|
background?: BackgroundDefinition;
|
@@ -40,13 +53,15 @@ export interface HeaderIconBlueprint {
|
|
40
53
|
backgroundHeight?: number;
|
41
54
|
margin?: Spacing;
|
42
55
|
}
|
43
|
-
export interface HeaderBlueprint extends Blueprint {
|
56
|
+
export interface HeaderBlueprint extends Blueprint, DynamicColorSettings {
|
44
57
|
/**velcron */
|
45
58
|
renderer?: VelcronRendererResolverReference;
|
46
59
|
iconMargin?: SpacingValue;
|
47
60
|
noIcon?: boolean;
|
48
61
|
state?: any;
|
49
62
|
/**Settings */
|
63
|
+
colorSchemaType?: ColorSchemaType;
|
64
|
+
dynamicColorSchema?: boolean;
|
50
65
|
background?: BackgroundDefinition;
|
51
66
|
textAlign?: TextAlignment;
|
52
67
|
upperCase?: boolean;
|
@@ -67,9 +82,10 @@ export interface TextFillBlueprint extends Blueprints, BlueprintsReference {
|
|
67
82
|
export interface ContainerFillBlueprints extends VariantBlueprints<ContainerFillBlueprint>, Blueprints, BlueprintsReference {
|
68
83
|
}
|
69
84
|
export type ContainerFillValue = BlueprintVariant | ContainerFillBlueprint;
|
70
|
-
export interface ContainerFillBlueprint extends Blueprints, BlueprintsReference {
|
85
|
+
export interface ContainerFillBlueprint extends Blueprints, BlueprintsReference, DynamicColorSettings {
|
71
86
|
name?: string;
|
72
87
|
colorSchemaType: ColorSchemaType;
|
88
|
+
dynamicColorSchema?: boolean;
|
73
89
|
background?: BackgroundDefinition;
|
74
90
|
}
|
75
91
|
export interface IFontBlueprints extends Blueprints, BlueprintsReference {
|
@@ -120,7 +136,7 @@ export interface ButtonBlueprintVariant {
|
|
120
136
|
type: ButtonVariant;
|
121
137
|
category: ButtonBlueprintType;
|
122
138
|
}
|
123
|
-
export interface ButtonBlueprint extends Blueprint {
|
139
|
+
export interface ButtonBlueprint extends Blueprint, DynamicColorSettings {
|
124
140
|
padding?: Spacing;
|
125
141
|
iconMargin?: SpacingValue;
|
126
142
|
height?: number;
|
@@ -132,6 +148,8 @@ export interface ButtonBlueprint extends Blueprint {
|
|
132
148
|
iconBackground?: BackgroundDefinition;
|
133
149
|
iconBackgroundHeight?: number;
|
134
150
|
viewTemplate?: VelcronRendererResolverReference;
|
151
|
+
colorSchemaType?: ColorSchemaType;
|
152
|
+
dynamicColorSchema?: boolean;
|
135
153
|
}
|
136
154
|
export interface ButtonBlueprints extends Blueprints {
|
137
155
|
text?: {
|
@@ -164,13 +182,15 @@ export interface InputBlueprint extends Blueprint {
|
|
164
182
|
export interface TabsBlueprints extends Blueprints, VariantBlueprints<TabsBlueprint> {
|
165
183
|
primary?: TabsBlueprint;
|
166
184
|
}
|
167
|
-
export interface TabsBlueprint extends Blueprint {
|
185
|
+
export interface TabsBlueprint extends Blueprint, DynamicColorSettings {
|
168
186
|
background?: BackgroundDefinition;
|
169
187
|
padding?: Spacing;
|
170
188
|
iconPadding?: SpacingValue;
|
171
189
|
margin?: Spacing;
|
172
190
|
vertical?: boolean;
|
173
191
|
hideSlider?: boolean;
|
192
|
+
colorSchemaType?: ColorSchemaType;
|
193
|
+
dynamicColorSchema?: boolean;
|
174
194
|
iconPosition?: "left" | "right" | "top";
|
175
195
|
grow?: boolean;
|
176
196
|
minHeight?: number;
|
@@ -179,6 +199,8 @@ export interface TabsBlueprint extends Blueprint {
|
|
179
199
|
sliderColor?: ColorValue;
|
180
200
|
text?: TextBlueprint;
|
181
201
|
icon?: IconBlueprint;
|
202
|
+
iconBackground?: BackgroundDefinition;
|
203
|
+
iconBackgroundHeight?: number;
|
182
204
|
active?: {
|
183
205
|
renderer?: VelcronRendererResolverReference;
|
184
206
|
padding?: Spacing;
|
@@ -186,6 +208,8 @@ export interface TabsBlueprint extends Blueprint {
|
|
186
208
|
background?: BackgroundDefinition;
|
187
209
|
text?: TextBlueprint;
|
188
210
|
icon?: IconBlueprint;
|
211
|
+
iconBackground?: BackgroundDefinition;
|
212
|
+
iconBackgroundHeight?: number;
|
189
213
|
};
|
190
214
|
inactive?: {
|
191
215
|
background?: BackgroundDefinition;
|