@omnia/fx-models 8.0.287-dev → 8.0.289-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/Tenant.d.ts +5 -1
- package/Tenant.js +7 -1
- package/apps/App.d.ts +6 -1
- package/apps/App.js +9 -1
- package/floweditor/FlowEditorActionRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +4 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +9 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +6 -1
- package/package.json +1 -1
package/BusinessProfile.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { guid, ThemingSetting } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { types } from "typestyle";
|
3
3
|
import { LanguageSettings, VersionedLayoutId } from ".";
|
4
4
|
import { ThemeType } from "./Enums";
|
@@ -46,6 +46,10 @@ export declare class BusinessProfileTheme extends BusinessProfileProperty implem
|
|
46
46
|
warning: string;
|
47
47
|
type: ThemeType;
|
48
48
|
}
|
49
|
+
export declare class BusinessProfileThemingManager extends BusinessProfileProperty {
|
50
|
+
constructor();
|
51
|
+
businessProfileTheming: ThemingSetting;
|
52
|
+
}
|
49
53
|
export interface CentralImageLocation {
|
50
54
|
webUrl?: string;
|
51
55
|
webTitle?: string;
|
package/BusinessProfile.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TenantRegionalStyles = exports.OmniaBusinessProfileRelativePathValue = exports.BusinessProfileRelativePathValue = exports.BusinessProfileChromeLayout = exports.BusinessProfileFaviconSettings = exports.BusinessProfileHomeUrlSettings = exports.BusinessProfileLanguageSettings = exports.BusinessProfileMediaPicker = exports.BusinessProfileTheme = exports.BusinessProfilePathProperty = exports.BusinessProfileProperty = void 0;
|
3
|
+
exports.TenantRegionalStyles = exports.OmniaBusinessProfileRelativePathValue = exports.BusinessProfileRelativePathValue = exports.BusinessProfileChromeLayout = exports.BusinessProfileFaviconSettings = exports.BusinessProfileHomeUrlSettings = exports.BusinessProfileLanguageSettings = exports.BusinessProfileMediaPicker = exports.BusinessProfileThemingManager = 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 {
|
@@ -15,6 +15,12 @@ class BusinessProfileTheme extends BusinessProfileProperty {
|
|
15
15
|
}
|
16
16
|
}
|
17
17
|
exports.BusinessProfileTheme = BusinessProfileTheme;
|
18
|
+
class BusinessProfileThemingManager extends BusinessProfileProperty {
|
19
|
+
constructor() {
|
20
|
+
super(ManifestIds_1.OmniaService.Id, "themingManager");
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.BusinessProfileThemingManager = BusinessProfileThemingManager;
|
18
24
|
class BusinessProfileMediaPicker extends BusinessProfileProperty {
|
19
25
|
constructor() {
|
20
26
|
super(ManifestIds_1.OmniaService.Id, "mediapicker");
|
package/Tenant.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OmniaNamedModel, IOmniaPropertyBag } from "./NamedProperty";
|
2
|
-
import { TenantIdentifier, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { TenantIdentifier, ThemingSetting, TypographyFontDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
import { TimeFormats } from "./Enums";
|
4
4
|
import { LanguageSettings } from "./Language";
|
5
5
|
import { MultilingualString } from "./MultilingualString";
|
@@ -22,6 +22,10 @@ export declare class TenantLanguageSettings extends TenantProperty {
|
|
22
22
|
excludeCountry?: boolean;
|
23
23
|
constructor();
|
24
24
|
}
|
25
|
+
export declare class TenantThemingManager extends TenantProperty {
|
26
|
+
constructor();
|
27
|
+
tenantTheming: ThemingSetting;
|
28
|
+
}
|
25
29
|
export declare class TenantCSOMClientContextFallbackUrl extends TenantProperty {
|
26
30
|
fallbackUrl: string;
|
27
31
|
constructor();
|
package/Tenant.js
CHANGED
@@ -1,6 +1,6 @@
|
|
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.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
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.TenantThemingManager = exports.TenantLanguageSettings = exports.TenantRegionalSettings = exports.TenantProperty = void 0;
|
4
4
|
const ManifestIds_1 = require("./ManifestIds");
|
5
5
|
const NamedProperty_1 = require("./NamedProperty");
|
6
6
|
class TenantProperty extends NamedProperty_1.OmniaNamedModel {
|
@@ -18,6 +18,12 @@ class TenantLanguageSettings extends TenantProperty {
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
exports.TenantLanguageSettings = TenantLanguageSettings;
|
21
|
+
class TenantThemingManager extends TenantProperty {
|
22
|
+
constructor() {
|
23
|
+
super(ManifestIds_1.OmniaService.Id, "themingManager");
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.TenantThemingManager = TenantThemingManager;
|
21
27
|
class TenantCSOMClientContextFallbackUrl extends TenantProperty {
|
22
28
|
constructor() {
|
23
29
|
super(ManifestIds_1.OmniaService.Id, "csomclientcontextfallbackurl");
|
package/apps/App.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { guid, ThemingSetting } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { TargetingFilterProperty } from "../../sp/models";
|
3
3
|
import { ProvisioningTemplateEnterpriseProperty } from "../enterprise-properties/EnterpriseProperty";
|
4
4
|
import { AppCategories, AppInstanceScopedQueryTypes, AppInstanceStatus, AppTemplatePermissionLevel } from "../Enums";
|
@@ -7,6 +7,7 @@ import { Identity } from "../identities";
|
|
7
7
|
import { MediaPickerImage } from "../media-picker";
|
8
8
|
import { MultilingualString } from "../MultilingualString";
|
9
9
|
import { RollupFilter } from "../RollupQuery";
|
10
|
+
import { AppRoutePropertyBagModel } from "../Routing";
|
10
11
|
import { ServiceParam } from "../ServiceParam";
|
11
12
|
import { AppProvisioningStepInfo } from "./AppProvisioning";
|
12
13
|
export interface AppInstanceIdentities {
|
@@ -267,3 +268,7 @@ export interface AppInstanceActionProgressResult {
|
|
267
268
|
message: string;
|
268
269
|
percentage: number;
|
269
270
|
}
|
271
|
+
export declare class AppThemingManager extends AppRoutePropertyBagModel {
|
272
|
+
constructor();
|
273
|
+
appTheming: ThemingSetting;
|
274
|
+
}
|
package/apps/App.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ShowInPublicListingsMode = exports.UserAppTemplateAvailabilityOptions = void 0;
|
3
|
+
exports.AppThemingManager = exports.ShowInPublicListingsMode = exports.UserAppTemplateAvailabilityOptions = void 0;
|
4
|
+
const ManifestIds_1 = require("../ManifestIds");
|
5
|
+
const Routing_1 = require("../Routing");
|
4
6
|
var UserAppTemplateAvailabilityOptions;
|
5
7
|
(function (UserAppTemplateAvailabilityOptions) {
|
6
8
|
UserAppTemplateAvailabilityOptions[UserAppTemplateAvailabilityOptions["All"] = 0] = "All";
|
@@ -13,3 +15,9 @@ var ShowInPublicListingsMode;
|
|
13
15
|
ShowInPublicListingsMode[ShowInPublicListingsMode["PublicToProfileViewer"] = 1] = "PublicToProfileViewer";
|
14
16
|
ShowInPublicListingsMode[ShowInPublicListingsMode["PublicToAppViewer"] = 2] = "PublicToAppViewer";
|
15
17
|
})(ShowInPublicListingsMode || (exports.ShowInPublicListingsMode = ShowInPublicListingsMode = {}));
|
18
|
+
class AppThemingManager extends Routing_1.AppRoutePropertyBagModel {
|
19
|
+
constructor() {
|
20
|
+
super(ManifestIds_1.OmniaService.Id, "themingManager");
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.AppThemingManager = AppThemingManager;
|
@@ -75,6 +75,10 @@ export interface ThemeDefinitionV2 extends ThemeDefinitionReference {
|
|
75
75
|
spacing: SpacingBlueprints;
|
76
76
|
components: ComponentBlueprints;
|
77
77
|
}
|
78
|
+
export interface ThemingSetting {
|
79
|
+
adminThemeId?: guid;
|
80
|
+
defaultThemeId?: guid;
|
81
|
+
}
|
78
82
|
export interface ITemplateRegistration<TTemplateType = any> {
|
79
83
|
id: guid;
|
80
84
|
template: TTemplateType;
|
@@ -175,6 +175,10 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
|
|
175
175
|
events?: VelcronOnPressEvent;
|
176
176
|
border?: VelcronBorder;
|
177
177
|
borderRadius?: VelcronDimensions;
|
178
|
+
width?: number | string;
|
179
|
+
minWidth?: number | string;
|
180
|
+
height?: number | string;
|
181
|
+
minHeight?: number | string;
|
178
182
|
}
|
179
183
|
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
180
184
|
type: "row";
|
@@ -311,6 +315,10 @@ export interface VelcronLottieDefinition extends VelcronDefinition {
|
|
311
315
|
direction?: VelcronBindableProp<"normal" | "reverse">;
|
312
316
|
hover?: VelcronBindableProp<boolean>;
|
313
317
|
}
|
318
|
+
export interface VelcronSlidePanelSlidesOptions {
|
319
|
+
foreach: string;
|
320
|
+
definition: VelcronDefinition;
|
321
|
+
}
|
314
322
|
export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
315
323
|
type: "slide-panel";
|
316
324
|
slidesPerView?: VelcronBindableProp<number>;
|
@@ -322,6 +330,7 @@ export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
|
322
330
|
loop?: VelcronBindableProp<boolean>;
|
323
331
|
style?: VelcronCardStyling;
|
324
332
|
events?: VelcronOnPressEvent;
|
333
|
+
slides?: VelcronSlidePanelSlidesOptions;
|
325
334
|
}
|
326
335
|
export interface VelcronEditorRendererDefinition extends VelcronDefinition {
|
327
336
|
type: "editor";
|
package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts
CHANGED
@@ -36,6 +36,11 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronReferencePropertyEditorSettings {
|
40
|
+
multiple: boolean;
|
41
|
+
min?: number;
|
42
|
+
max?: number;
|
43
|
+
}
|
39
44
|
export interface VelcronPropertyMapping {
|
40
45
|
state: string;
|
41
46
|
title: string;
|
@@ -90,7 +95,7 @@ export interface VelcronImagePropertyEditor extends VelcronEditor<any> {
|
|
90
95
|
export interface VelcronSpacingPropertyEditor extends VelcronEditor<VelcronSpacingEditorSettings> {
|
91
96
|
type: "spacing";
|
92
97
|
}
|
93
|
-
export interface VelcronReferencePropertyEditor extends VelcronEditor<
|
98
|
+
export interface VelcronReferencePropertyEditor extends VelcronEditor<VelcronReferencePropertyEditorSettings> {
|
94
99
|
type: "reference";
|
95
100
|
}
|
96
101
|
export interface VelcronBlueprintEditor extends VelcronEditor<VelcronBlueprintEditorSettings> {
|