@omnia/fx-models 7.5.74-dev → 8.0.0-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/BlockTitleSettings.d.ts +5 -5
- package/ClientManifests.d.ts +23 -8
- package/ClientManifests.js +8 -0
- package/Constants.d.ts +1 -0
- package/Constants.js +1 -0
- package/Enums.d.ts +14 -1
- package/Enums.js +17 -2
- package/Exposes.d.ts +7 -1
- package/Exposes.js +7 -1
- package/Extends.d.ts +2 -2
- package/FilterEngineStyles.d.ts +1 -1
- package/FilterpickerModel.d.ts +9 -0
- package/Func.d.ts +28 -0
- package/IPropertiesApi.d.ts +1 -1
- package/Icon.d.ts +17 -0
- package/Icon.js +66 -1
- package/Journey.d.ts +8 -2
- package/Layout.d.ts +15 -17
- package/LayoutDefinition.d.ts +5 -1
- package/LinkHandler/linktype/DefaultLinkType.js +1 -1
- package/LinkHandler/linktype/DocumentLinkType.js +1 -1
- package/ManifestIds.d.ts +60 -4
- package/ManifestIds.js +172 -9
- package/MediaScalingSettings.d.ts +6 -0
- package/Messaging.d.ts +1 -0
- package/Secrets.d.ts +1 -0
- package/TargetingProperty.js +1 -1
- package/TokenDefinition.d.ts +1 -1
- package/apps/AppInstanceRollup.d.ts +1 -1
- package/apps/AppInstanceRollup.js +1 -1
- package/azure-openai/dalle/ErrorResponse.js +1 -1
- package/azure-openai/dalle/StatusRequest.js +1 -1
- package/componentproptypes/ThemeableComponents.d.ts +7 -0
- package/componentproptypes/ThemeableComponents.js +2 -0
- package/componentproptypes/index.d.ts +1 -0
- package/componentproptypes/index.js +4 -0
- package/docs/Api.d.ts +37 -0
- package/docs/Api.js +2 -0
- package/docs/index.d.ts +1 -0
- package/docs/index.js +4 -0
- package/editor-chrome/IActionButton.d.ts +1 -2
- package/editor-chrome/IEditorItemPanelsRenderer.d.ts +1 -1
- package/enterprise-glossary/EnterpriseGlossaryApis.d.ts +1 -1
- package/identities/Identity.d.ts +11 -3
- package/identities/Identity.js +17 -0
- package/identities/IdentityCreationRequest.js +1 -1
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.js +2 -0
- package/internal-do-not-import-from-here/shared/models/Equals.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/Equals.js +45 -0
- package/internal-do-not-import-from-here/shared/models/Future.d.ts +4 -1
- package/internal-do-not-import-from-here/shared/models/Future.js +14 -6
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +9 -2
- package/internal-do-not-import-from-here/shared/models/Guid.js +26 -4
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +7 -1
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +5 -1
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +35 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.js +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.js +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +18 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.js +31 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +9 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.js +4 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/index.js +4 -0
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +54 -18
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +16 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +37 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedColorMethods.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedColorMethods.js +45 -0
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.d.ts +23 -0
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.js +11 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +55 -34
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +27 -22
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +35 -15
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.js +15 -9
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/theming/{ThemeMethods.js → UseThemeMethods.js} +56 -70
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +5 -1
- package/internal-do-not-import-from-here/shared/models/theming/index.js +5 -1
- package/internal-do-not-import-from-here/velcron/core/models/Enums.d.ts +7 -16
- package/internal-do-not-import-from-here/velcron/core/models/Enums.js +14 -24
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +131 -83
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.js +2 -2
- package/internal-do-not-import-from-here/velcron/core/models/VelcronEvents.d.ts +5 -2
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +120 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +16 -0
- package/internal-do-not-import-from-here/velcron/core/models/index.d.ts +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/index.js +1 -1
- package/media-picker/MediaPickerImageRendition.d.ts +4 -4
- package/media-picker/MediaPickerSearchProvider.d.ts +5 -0
- package/media-picker/MediaPickerSearchProvider.js +2 -0
- package/media-picker/MediaPickerTransformations.d.ts +5 -4
- package/media-picker/Providers/CentralImageLocationProvider.js +1 -1
- package/media-picker/Providers/DallEProvider.js +1 -1
- package/media-picker/Providers/MyComputerProvider.js +1 -1
- package/media-picker/Providers/PexelProvider.js +2 -2
- package/media-picker/Providers/UnsplashProvider.d.ts +18 -0
- package/media-picker/Providers/UnsplashProvider.js +23 -0
- package/media-picker/Providers/index.d.ts +1 -0
- package/media-picker/Providers/index.js +1 -0
- package/media-picker/Shared.d.ts +7 -1
- package/media-picker/index.d.ts +2 -0
- package/media-picker/index.js +2 -0
- package/media-picker/localize.d.ts +26 -0
- package/media-picker/localize.js +7 -0
- package/mediaflow/Constants.js +2 -2
- package/oxide/OxideTypeDefinitions.d.ts +147 -0
- package/oxide/OxideTypeDefinitions.js +112 -0
- package/oxide/SharedSettings.d.ts +8 -0
- package/oxide/SharedSettings.js +2 -0
- package/oxide/TreeView.d.ts +10 -0
- package/oxide/TreeView.js +2 -0
- package/oxide/index.d.ts +3 -0
- package/oxide/index.js +6 -0
- package/package.json +1 -1
- package/properties/IPropertyValueRenderer.d.ts +3 -4
- package/properties/PropertyDefinition.d.ts +5 -1
- package/properties/PropertyDefinition.js +4 -1
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +5 -6
- package/properties/definitions/BirthdayPropertyDefinition.js +7 -1
- package/properties/definitions/BooleanPropertyDefinition.d.ts +3 -2
- package/properties/definitions/BooleanPropertyDefinition.js +4 -1
- package/properties/definitions/DatePropertyDefinition.d.ts +5 -5
- package/properties/definitions/DatePropertyDefinition.js +7 -1
- package/properties/definitions/DateTimePropertyDefinition.d.ts +5 -5
- package/properties/definitions/DateTimePropertyDefinition.js +7 -1
- package/properties/definitions/EmailPropertyDefinition.d.ts +3 -3
- package/properties/definitions/EmailPropertyDefinition.js +4 -1
- package/properties/definitions/HtmlPropertyDefinition.d.ts +5 -6
- package/properties/definitions/HtmlPropertyDefinition.js +7 -1
- package/properties/definitions/IdentityPropertyDefinition.d.ts +3 -4
- package/properties/definitions/IdentityPropertyDefinition.js +4 -1
- package/properties/definitions/ImagePropertyDefinition.d.ts +5 -5
- package/properties/definitions/ImagePropertyDefinition.js +7 -1
- package/properties/definitions/IntegerPropertyDefinition.d.ts +3 -4
- package/properties/definitions/IntegerPropertyDefinition.js +4 -1
- package/properties/definitions/LanguagePropertyDefinition.d.ts +3 -5
- package/properties/definitions/LanguagePropertyDefinition.js +4 -1
- package/properties/definitions/LinkPropertyDefinition.d.ts +3 -4
- package/properties/definitions/LinkPropertyDefinition.js +4 -1
- package/properties/definitions/MediaPropertyDefinition.d.ts +3 -3
- package/properties/definitions/MediaPropertyDefinition.js +4 -1
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +3 -4
- package/properties/definitions/MultilineTextPropertyDefinition.js +4 -1
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +5 -6
- package/properties/definitions/MultilingualTextPropertyDefinition.js +6 -3
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +3 -4
- package/properties/definitions/PhoneNumberPropertyDefinition.js +4 -1
- package/properties/definitions/TagsPropertyDefinition.d.ts +3 -2
- package/properties/definitions/TagsPropertyDefinition.js +4 -1
- package/properties/definitions/TextPropertyDefinition.d.ts +3 -4
- package/properties/definitions/TextPropertyDefinition.js +4 -1
- package/properties/definitions/TimePropertyDefinition.d.ts +5 -6
- package/properties/definitions/TimePropertyDefinition.js +7 -1
- package/properties/values/DatePropertyValue.d.ts +1 -1
- package/properties/values/DatePropertyValue.js +1 -1
- package/richtext-editor-extensions/BoldExtension.d.ts +1 -1
- package/richtext-editor-extensions/TipTapEditor.d.ts +9 -10
- package/ux/LayoutEditorCanvas.d.ts +2 -1
- package/ux/ThemingApi.d.ts +19 -0
- package/ux/ThemingApi.js +2 -0
- package/ux/UxApi.d.ts +1 -1
- package/ux/VelcronDefinitionApi.d.ts +24 -0
- package/ux/VelcronDefinitionApi.js +2 -0
- package/ux/index.d.ts +2 -0
- package/ux/index.js +2 -0
- package/velcron/VelcronDefinitionRegistration.d.ts +9 -0
- package/velcron/VelcronDefinitionRegistration.js +2 -0
- package/velcron/index.d.ts +1 -0
- package/velcron/index.js +4 -0
- package/SpacingSetting.d.ts +0 -6
- package/VueInject.d.ts +0 -5
- package/internal-do-not-import-from-here/shared/models/theming/ThemeMethods.d.ts +0 -11
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDescriptors.d.ts +0 -35
- /package/{SpacingSetting.js → FilterpickerModel.js} +0 -0
- /package/{VueInject.js → Func.js} +0 -0
- /package/{internal-do-not-import-from-here/velcron/core/models/VelcronDescriptors.js → MediaScalingSettings.js} +0 -0
package/BlockTitleSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextAlignment, BorderPositions, IconPositions, IconSizes } from "./Enums";
|
|
2
2
|
import { IIcon } from "./Icon";
|
|
3
|
-
import { SpacingSettings } from "
|
|
3
|
+
import { SpacingSettings } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
4
4
|
import { BusinessProfileProperty } from "./BusinessProfile";
|
|
5
5
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
|
6
6
|
export declare class BusinessProfileBlockTitleSettings extends BusinessProfileProperty implements BlockTitleSettings {
|
|
@@ -36,10 +36,10 @@ export interface BlockTitleSettings {
|
|
|
36
36
|
bgColor: string;
|
|
37
37
|
textColor: string;
|
|
38
38
|
textAlign: TextAlignment;
|
|
39
|
-
paddingRight: number;
|
|
40
|
-
paddingLeft: number;
|
|
41
|
-
paddingTop: number;
|
|
42
|
-
paddingBottom: number;
|
|
39
|
+
paddingRight: number | any;
|
|
40
|
+
paddingLeft: number | any;
|
|
41
|
+
paddingTop: number | any;
|
|
42
|
+
paddingBottom: number | any;
|
|
43
43
|
fontSize: number;
|
|
44
44
|
separatorSize: number;
|
|
45
45
|
separatorColor: string;
|
package/ClientManifests.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ClientManifestTypes, BundleTargetTypes, RuleLogicalOperator, ManifestLoadStatus, OmniaClientRuntimes, OmniaBackendRuntimes } from "./Enums";
|
|
2
|
-
import { WebComponentDefinition } from "./ComponentComposer";
|
|
2
|
+
import { WebComponentDefinition as ComponentDefinition } from "./ComponentComposer";
|
|
3
3
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
4
4
|
import { OmniaNamedModel } from ".";
|
|
5
5
|
export interface OmniaManifests {
|
|
6
|
-
|
|
6
|
+
target: ClientManifestTargetTypes;
|
|
7
|
+
omniaServiceId: GuidValue;
|
|
8
|
+
webcomponent: Array<ComponentBundleManifest>;
|
|
7
9
|
resource: Array<ResourcesBundleManifest>;
|
|
8
10
|
groupedResouresAndComponents: Array<GroupedBundleManifest>;
|
|
9
11
|
blockedManifest: Array<BlockedBundleManifest>;
|
|
@@ -12,8 +14,15 @@ export interface OmniaManifests {
|
|
|
12
14
|
export interface OmniaServiceManifests {
|
|
13
15
|
[omniaServiceId: string]: OmniaManifests;
|
|
14
16
|
}
|
|
17
|
+
export declare enum ClientManifestTargetTypes {
|
|
18
|
+
Public = 1,
|
|
19
|
+
Admin = 2,
|
|
20
|
+
Editor = 4,
|
|
21
|
+
Docs = 8
|
|
22
|
+
}
|
|
15
23
|
export interface ClientManifest {
|
|
16
24
|
manifestType: ClientManifestTypes;
|
|
25
|
+
target?: ClientManifestTargetTypes;
|
|
17
26
|
}
|
|
18
27
|
export interface RegiterApiConfiguration {
|
|
19
28
|
disableAutoLoadingManifests?: boolean;
|
|
@@ -22,11 +31,11 @@ export interface BundleIdentity {
|
|
|
22
31
|
/**
|
|
23
32
|
The unique id of the manifest, this will be the id of the resources added.
|
|
24
33
|
*/
|
|
25
|
-
resourceId:
|
|
34
|
+
resourceId: GuidValue;
|
|
26
35
|
/**
|
|
27
36
|
The unique id of the omnia service to which the resource id belong.
|
|
28
37
|
*/
|
|
29
|
-
omniaServiceId
|
|
38
|
+
omniaServiceId?: GuidValue;
|
|
30
39
|
}
|
|
31
40
|
export interface BundleManifest extends ClientManifest, BundleIdentity {
|
|
32
41
|
/**
|
|
@@ -41,6 +50,12 @@ export interface BundleManifest extends ClientManifest, BundleIdentity {
|
|
|
41
50
|
export interface ClientManifestByTypeCollection {
|
|
42
51
|
[manifestType: string]: Array<ClientManifest>;
|
|
43
52
|
}
|
|
53
|
+
export type ClientManifestByTargetCollection = {
|
|
54
|
+
[target in ClientManifestTargetTypes]: {
|
|
55
|
+
target: ClientManifestTargetTypes;
|
|
56
|
+
omniaServiceId: GuidValue;
|
|
57
|
+
} | ClientManifestByTypeCollection;
|
|
58
|
+
};
|
|
44
59
|
export interface ManifestLoadResult {
|
|
45
60
|
manifest: LoadableBundleManifest;
|
|
46
61
|
status: ManifestLoadStatus;
|
|
@@ -49,7 +64,7 @@ export interface LoadableBundleManifest extends BundleManifest, ManifestSupporti
|
|
|
49
64
|
version: {
|
|
50
65
|
[bundleType: string]: string;
|
|
51
66
|
};
|
|
52
|
-
dependingOnManifests
|
|
67
|
+
dependingOnManifests?: Array<BundleIdentity>;
|
|
53
68
|
availableBundleTargetTypes: Array<BundleTargetTypes>;
|
|
54
69
|
}
|
|
55
70
|
export interface ApiBundleManifest {
|
|
@@ -71,12 +86,12 @@ export interface SecurityBundleManifest {
|
|
|
71
86
|
}
|
|
72
87
|
export interface ResourcesBundleManifest extends LoadableBundleManifest, ApiBundleManifest, SecurityBundleManifest {
|
|
73
88
|
}
|
|
74
|
-
export interface
|
|
89
|
+
export interface ComponentBundleManifest extends LoadableBundleManifest, ApiBundleManifest, SecurityBundleManifest {
|
|
75
90
|
/** The name for this component, this should be a none conflicting name
|
|
76
91
|
e.g. use project as prefix myuniqueprojectname-componentName.
|
|
77
92
|
i.e. <myuniqueprojectname-componentName></myuniqueprojectname-componentName> */
|
|
78
93
|
elementName: string;
|
|
79
|
-
definition
|
|
94
|
+
definition?: ComponentDefinition;
|
|
80
95
|
}
|
|
81
96
|
export interface GroupedBundleManifest extends LoadableBundleManifest, SecurityBundleManifest {
|
|
82
97
|
/** The manifest id's in this group */
|
|
@@ -122,7 +137,7 @@ export interface ClientResolvableLoadRule {
|
|
|
122
137
|
resolver?: () => Promise<boolean>;
|
|
123
138
|
}
|
|
124
139
|
export interface ManifestSupportingCombinedLoadRules {
|
|
125
|
-
combinedLoadRules
|
|
140
|
+
combinedLoadRules?: Array<ClientResolvableLoadRule>;
|
|
126
141
|
}
|
|
127
142
|
/**
|
|
128
143
|
Rules applied clientside
|
package/ClientManifests.js
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientManifestTargetTypes = void 0;
|
|
4
|
+
var ClientManifestTargetTypes;
|
|
5
|
+
(function (ClientManifestTargetTypes) {
|
|
6
|
+
ClientManifestTargetTypes[ClientManifestTargetTypes["Public"] = 1] = "Public";
|
|
7
|
+
ClientManifestTargetTypes[ClientManifestTargetTypes["Admin"] = 2] = "Admin";
|
|
8
|
+
ClientManifestTargetTypes[ClientManifestTargetTypes["Editor"] = 4] = "Editor";
|
|
9
|
+
ClientManifestTargetTypes[ClientManifestTargetTypes["Docs"] = 8] = "Docs";
|
|
10
|
+
})(ClientManifestTargetTypes = exports.ClientManifestTargetTypes || (exports.ClientManifestTargetTypes = {}));
|
package/Constants.d.ts
CHANGED
package/Constants.js
CHANGED
|
@@ -81,6 +81,7 @@ exports.Constants = {
|
|
|
81
81
|
microsoftStream: new models_1.Guid("6b1abf7d-01f1-4168-8319-4f53043b5f16"),
|
|
82
82
|
dalle: new models_1.Guid("69805036-0D70-421B-8B81-217978BB47A4"),
|
|
83
83
|
mediaflow: new models_1.Guid("F3078399-C3B6-457D-8C2F-A4C8C39B5F27"),
|
|
84
|
+
unsplash: new models_1.Guid("db11bef7-768d-4281-ad13-c938a4cdb6de"),
|
|
84
85
|
},
|
|
85
86
|
},
|
|
86
87
|
mediaGallery: {
|
package/Enums.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ export declare enum BundleTargetTypes {
|
|
|
81
81
|
Javascript = "js",
|
|
82
82
|
Stylesheet = "css"
|
|
83
83
|
}
|
|
84
|
+
export declare enum LocalizationTargetTypes {
|
|
85
|
+
public = 1,
|
|
86
|
+
admin = 2,
|
|
87
|
+
editor = 4,
|
|
88
|
+
backend = 8
|
|
89
|
+
}
|
|
84
90
|
export declare enum LanguageTags {
|
|
85
91
|
ArSa = "ar-sa",
|
|
86
92
|
BgBg = "bg-bg",
|
|
@@ -376,6 +382,7 @@ export declare enum IconTypes {
|
|
|
376
382
|
FontAwesome = "IFontAwesomeIcon",
|
|
377
383
|
Fabric = "IFabricIcon",
|
|
378
384
|
Flag = "IFlagIcon",
|
|
385
|
+
Material = "IMaterialIcon",
|
|
379
386
|
Custom = "ICustomIcon",
|
|
380
387
|
SVG = "ISVG"
|
|
381
388
|
}
|
|
@@ -636,6 +643,11 @@ export declare enum HorizontalAlignments {
|
|
|
636
643
|
center = 1,
|
|
637
644
|
right = 2
|
|
638
645
|
}
|
|
646
|
+
export declare enum VerticalAlignments {
|
|
647
|
+
top = 0,
|
|
648
|
+
center = 1,
|
|
649
|
+
bottom = 2
|
|
650
|
+
}
|
|
639
651
|
export declare enum LayoutDrawerTabs {
|
|
640
652
|
settings = 0,
|
|
641
653
|
structure = 1,
|
|
@@ -1378,7 +1390,8 @@ export declare enum LocalServingMessageType {
|
|
|
1378
1390
|
FullReload = "full-reload",
|
|
1379
1391
|
Update = "update",
|
|
1380
1392
|
Custom = "custom",
|
|
1381
|
-
Error = "error"
|
|
1393
|
+
Error = "error",
|
|
1394
|
+
LocalizeChanged = "localize-changed"
|
|
1382
1395
|
}
|
|
1383
1396
|
export declare enum CookieKeys {
|
|
1384
1397
|
LoginType = "LoginType",
|
package/Enums.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpointCodes = exports.OmniaMimeType = 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.RadialGradientShapes = exports.LayoutDrawerTabs = exports.HorizontalAlignments = exports.BladeSizes = exports.ImageResolution = exports.ServiceLocatorUrlType = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = exports.ButtonIconPosition = exports.ButtonTooltipPosition = void 0;
|
|
3
|
+
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.LocaleNames = 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
|
+
exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpointCodes = exports.OmniaMimeType = 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.RadialGradientShapes = 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 = exports.RichTextModes = void 0;
|
|
5
5
|
var BuiltInEnterprisePropertyInternalNames;
|
|
6
6
|
(function (BuiltInEnterprisePropertyInternalNames) {
|
|
7
7
|
BuiltInEnterprisePropertyInternalNames["Title"] = "title";
|
|
@@ -105,6 +105,13 @@ var BundleTargetTypes;
|
|
|
105
105
|
BundleTargetTypes["Javascript"] = "js";
|
|
106
106
|
BundleTargetTypes["Stylesheet"] = "css";
|
|
107
107
|
})(BundleTargetTypes = exports.BundleTargetTypes || (exports.BundleTargetTypes = {}));
|
|
108
|
+
var LocalizationTargetTypes;
|
|
109
|
+
(function (LocalizationTargetTypes) {
|
|
110
|
+
LocalizationTargetTypes[LocalizationTargetTypes["public"] = 1] = "public";
|
|
111
|
+
LocalizationTargetTypes[LocalizationTargetTypes["admin"] = 2] = "admin";
|
|
112
|
+
LocalizationTargetTypes[LocalizationTargetTypes["editor"] = 4] = "editor";
|
|
113
|
+
LocalizationTargetTypes[LocalizationTargetTypes["backend"] = 8] = "backend";
|
|
114
|
+
})(LocalizationTargetTypes = exports.LocalizationTargetTypes || (exports.LocalizationTargetTypes = {}));
|
|
108
115
|
var LanguageTags;
|
|
109
116
|
(function (LanguageTags) {
|
|
110
117
|
LanguageTags["ArSa"] = "ar-sa";
|
|
@@ -269,6 +276,7 @@ var IconTypes;
|
|
|
269
276
|
IconTypes["FontAwesome"] = "IFontAwesomeIcon";
|
|
270
277
|
IconTypes["Fabric"] = "IFabricIcon";
|
|
271
278
|
IconTypes["Flag"] = "IFlagIcon";
|
|
279
|
+
IconTypes["Material"] = "IMaterialIcon";
|
|
272
280
|
IconTypes["Custom"] = "ICustomIcon";
|
|
273
281
|
IconTypes["SVG"] = "ISVG";
|
|
274
282
|
})(IconTypes = exports.IconTypes || (exports.IconTypes = {}));
|
|
@@ -570,6 +578,12 @@ var HorizontalAlignments;
|
|
|
570
578
|
HorizontalAlignments[HorizontalAlignments["center"] = 1] = "center";
|
|
571
579
|
HorizontalAlignments[HorizontalAlignments["right"] = 2] = "right";
|
|
572
580
|
})(HorizontalAlignments = exports.HorizontalAlignments || (exports.HorizontalAlignments = {}));
|
|
581
|
+
var VerticalAlignments;
|
|
582
|
+
(function (VerticalAlignments) {
|
|
583
|
+
VerticalAlignments[VerticalAlignments["top"] = 0] = "top";
|
|
584
|
+
VerticalAlignments[VerticalAlignments["center"] = 1] = "center";
|
|
585
|
+
VerticalAlignments[VerticalAlignments["bottom"] = 2] = "bottom";
|
|
586
|
+
})(VerticalAlignments = exports.VerticalAlignments || (exports.VerticalAlignments = {}));
|
|
573
587
|
var LayoutDrawerTabs;
|
|
574
588
|
(function (LayoutDrawerTabs) {
|
|
575
589
|
LayoutDrawerTabs[LayoutDrawerTabs["settings"] = 0] = "settings";
|
|
@@ -1356,6 +1370,7 @@ var LocalServingMessageType;
|
|
|
1356
1370
|
LocalServingMessageType["Update"] = "update";
|
|
1357
1371
|
LocalServingMessageType["Custom"] = "custom";
|
|
1358
1372
|
LocalServingMessageType["Error"] = "error";
|
|
1373
|
+
LocalServingMessageType["LocalizeChanged"] = "localize-changed";
|
|
1359
1374
|
})(LocalServingMessageType = exports.LocalServingMessageType || (exports.LocalServingMessageType = {}));
|
|
1360
1375
|
var CookieKeys;
|
|
1361
1376
|
(function (CookieKeys) {
|
package/Exposes.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ export * from "./Store";
|
|
|
35
35
|
export * from "./SiteLogo";
|
|
36
36
|
export * from "./PermissionInputSettings";
|
|
37
37
|
export * from "./Security";
|
|
38
|
-
export * from "./SpacingSetting";
|
|
39
38
|
export * from "./SecurityContextParamRegistrationHandler";
|
|
40
39
|
export * from "./TargetingProperty";
|
|
41
40
|
export * from "./TimeZone";
|
|
@@ -97,6 +96,8 @@ export * from "./AiSettings";
|
|
|
97
96
|
export * from "./BusinessProfileDallEPromptDefault";
|
|
98
97
|
export * from "./ISpecialUserConfiguration";
|
|
99
98
|
export * from "./FileValidationResult";
|
|
99
|
+
export * from "./Func";
|
|
100
|
+
export * from "./FilterpickerModel";
|
|
100
101
|
export * from "./RollupMetricSettings";
|
|
101
102
|
export * from "./ux";
|
|
102
103
|
export * from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
@@ -116,6 +117,10 @@ export * from "./filterengine";
|
|
|
116
117
|
export * from "@omnia/fx-models/internal-do-not-import-from-here/velcron/core/models";
|
|
117
118
|
export * from "./auth";
|
|
118
119
|
export * from "./sidepanel";
|
|
120
|
+
export * from "./componentproptypes";
|
|
121
|
+
export * from "./oxide";
|
|
122
|
+
export * from "./docs";
|
|
123
|
+
export * from "./velcron";
|
|
119
124
|
export * from "./azure-openai";
|
|
120
125
|
export * from "./mediaflow";
|
|
121
126
|
export * from "./media-gallery";
|
|
@@ -131,3 +136,4 @@ export * from "./UserAgent";
|
|
|
131
136
|
export * from "./PromotedTagOptions";
|
|
132
137
|
export * from "./SharepointVideo";
|
|
133
138
|
export * from "./connected-tenants";
|
|
139
|
+
export * from "./MediaScalingSettings";
|
package/Exposes.js
CHANGED
|
@@ -41,7 +41,6 @@ tslib_1.__exportStar(require("./Store"), exports);
|
|
|
41
41
|
tslib_1.__exportStar(require("./SiteLogo"), exports);
|
|
42
42
|
tslib_1.__exportStar(require("./PermissionInputSettings"), exports);
|
|
43
43
|
tslib_1.__exportStar(require("./Security"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./SpacingSetting"), exports);
|
|
45
44
|
tslib_1.__exportStar(require("./SecurityContextParamRegistrationHandler"), exports);
|
|
46
45
|
tslib_1.__exportStar(require("./TargetingProperty"), exports);
|
|
47
46
|
tslib_1.__exportStar(require("./TimeZone"), exports);
|
|
@@ -103,6 +102,8 @@ tslib_1.__exportStar(require("./AiSettings"), exports);
|
|
|
103
102
|
tslib_1.__exportStar(require("./BusinessProfileDallEPromptDefault"), exports);
|
|
104
103
|
tslib_1.__exportStar(require("./ISpecialUserConfiguration"), exports);
|
|
105
104
|
tslib_1.__exportStar(require("./FileValidationResult"), exports);
|
|
105
|
+
tslib_1.__exportStar(require("./Func"), exports);
|
|
106
|
+
tslib_1.__exportStar(require("./FilterpickerModel"), exports);
|
|
106
107
|
tslib_1.__exportStar(require("./RollupMetricSettings"), exports);
|
|
107
108
|
//************************************************************************************ */
|
|
108
109
|
// End of file exports
|
|
@@ -128,6 +129,10 @@ tslib_1.__exportStar(require("./filterengine"), exports);
|
|
|
128
129
|
tslib_1.__exportStar(require("@omnia/fx-models/internal-do-not-import-from-here/velcron/core/models"), exports);
|
|
129
130
|
tslib_1.__exportStar(require("./auth"), exports);
|
|
130
131
|
tslib_1.__exportStar(require("./sidepanel"), exports);
|
|
132
|
+
tslib_1.__exportStar(require("./componentproptypes"), exports);
|
|
133
|
+
tslib_1.__exportStar(require("./oxide"), exports);
|
|
134
|
+
tslib_1.__exportStar(require("./docs"), exports);
|
|
135
|
+
tslib_1.__exportStar(require("./velcron"), exports);
|
|
131
136
|
tslib_1.__exportStar(require("./azure-openai"), exports);
|
|
132
137
|
tslib_1.__exportStar(require("./mediaflow"), exports);
|
|
133
138
|
tslib_1.__exportStar(require("./media-gallery"), exports);
|
|
@@ -146,3 +151,4 @@ tslib_1.__exportStar(require("./UserAgent"), exports);
|
|
|
146
151
|
tslib_1.__exportStar(require("./PromotedTagOptions"), exports);
|
|
147
152
|
tslib_1.__exportStar(require("./SharepointVideo"), exports);
|
|
148
153
|
tslib_1.__exportStar(require("./connected-tenants"), exports);
|
|
154
|
+
tslib_1.__exportStar(require("./MediaScalingSettings"), exports);
|
package/Extends.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export interface IOmniaFxApi {
|
|
|
3
3
|
export interface IExtend {
|
|
4
4
|
fx: IOmniaFxApi;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface IOmniaFxExtendApiManifest {
|
|
7
7
|
}
|
|
8
8
|
export interface IExtendApiManifest {
|
|
9
|
-
fx:
|
|
9
|
+
fx: IOmniaFxExtendApiManifest;
|
|
10
10
|
}
|
|
11
11
|
export interface ApiPath {
|
|
12
12
|
path?: string;
|
package/FilterEngineStyles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
2
|
import { ITheming } from "../ux";
|
|
3
|
-
import { SpacingSettings } from "./SpacingSetting";
|
|
4
3
|
import { NestedCSSPropertiesExtends } from "./ux";
|
|
4
|
+
import { SpacingSettings } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
5
5
|
export declare const FilterEngineStyles: {
|
|
6
6
|
filterPropertyValueWrapper: types.NestedCSSProperties;
|
|
7
7
|
filterPropertyActionWrapper: types.NestedCSSProperties;
|
package/Func.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a function type with a variable number of arguments and a void return type.
|
|
3
|
+
*
|
|
4
|
+
* @typeParam T - Tuple type for the arguments. Defaults to an empty tuple (no arguments).
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* // Function with no arguments
|
|
8
|
+
* const noArgFunc: Func = () => {
|
|
9
|
+
* console.log("No arguments");
|
|
10
|
+
* };
|
|
11
|
+
*
|
|
12
|
+
* // Function with a single argument
|
|
13
|
+
* const singleArgFunc: Func<[string]> = (name: string) => {
|
|
14
|
+
* console.log(`Hello, ${name}`);
|
|
15
|
+
* };
|
|
16
|
+
*
|
|
17
|
+
* // Function with two arguments
|
|
18
|
+
* const twoArgsFunc: Func<[number, boolean]> = (num: number, flag: boolean) => {
|
|
19
|
+
* console.log(`Number: ${num}, Flag: ${flag}`);
|
|
20
|
+
* };
|
|
21
|
+
*
|
|
22
|
+
* // Function with a return type
|
|
23
|
+
* import { VNodeChild } from 'vue';
|
|
24
|
+
* interface SomeComponentProps {
|
|
25
|
+
* fixedContent?: Func<[(title: string) => VNodeChild]>;
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
export type Func<T extends any[] = []> = (...args: T) => void;
|
package/IPropertiesApi.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare module "./Extends" {
|
|
|
35
35
|
implementation: Promise<IEnterprisePropertiesImplementationRegistration>;
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
interface
|
|
38
|
+
interface IOmniaFxExtendApiManifest {
|
|
39
39
|
properties: {
|
|
40
40
|
registration: ApiPath;
|
|
41
41
|
implementation: IExtendApiManifestWithConfiguration<GuidValue>;
|
package/Icon.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export interface IIcon {
|
|
|
7
7
|
export interface IFontAwesomeIcon extends IIcon {
|
|
8
8
|
faClass: string;
|
|
9
9
|
}
|
|
10
|
+
export interface IMaterialIcon extends IIcon {
|
|
11
|
+
maClass: string;
|
|
12
|
+
}
|
|
10
13
|
export interface IFabricIcon extends IIcon {
|
|
11
14
|
fabClass: string;
|
|
12
15
|
}
|
|
@@ -26,26 +29,40 @@ export declare class FontAwesomeIcon implements IFontAwesomeIcon {
|
|
|
26
29
|
faClass: string;
|
|
27
30
|
iconType: IconTypes;
|
|
28
31
|
constructor(faClass: string);
|
|
32
|
+
toString(): string;
|
|
33
|
+
setStyle(style: "solid" | "regular" | "light" | "duotone" | "thin", force?: boolean): this;
|
|
34
|
+
private setDefaultIconStyle;
|
|
35
|
+
private setIconStyle;
|
|
36
|
+
}
|
|
37
|
+
export declare class MaterialIcon implements IMaterialIcon {
|
|
38
|
+
maClass: string;
|
|
39
|
+
iconType: IconTypes;
|
|
40
|
+
constructor(maClass: string);
|
|
41
|
+
toString(): string;
|
|
29
42
|
}
|
|
30
43
|
export declare class FabricIcon implements IFabricIcon {
|
|
31
44
|
fabClass: string;
|
|
32
45
|
iconType: IconTypes;
|
|
33
46
|
constructor(fabClass: string);
|
|
47
|
+
toString(): string;
|
|
34
48
|
}
|
|
35
49
|
export declare class CustomIcon implements ICustomIcon {
|
|
36
50
|
customValue: string | MediaPickerImage;
|
|
37
51
|
iconType: IconTypes;
|
|
38
52
|
constructor(customValue: string | MediaPickerImage);
|
|
53
|
+
toString(): string;
|
|
39
54
|
}
|
|
40
55
|
export declare class SvgIcon implements ISvgIcon {
|
|
41
56
|
svg: string;
|
|
42
57
|
iconType: IconTypes;
|
|
43
58
|
constructor(svg: string);
|
|
59
|
+
toString(): string;
|
|
44
60
|
}
|
|
45
61
|
export declare class FlagIcon implements IFlagIcon {
|
|
46
62
|
flagClass: string;
|
|
47
63
|
iconType: IconTypes;
|
|
48
64
|
constructor(flagClass: string);
|
|
65
|
+
toString(): string;
|
|
49
66
|
}
|
|
50
67
|
export interface IconPickerModel extends IIcon {
|
|
51
68
|
iconSource?: IconSources;
|
package/Icon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FlagIcon = exports.SvgIcon = exports.CustomIcon = exports.FabricIcon = exports.FontAwesomeIcon = void 0;
|
|
3
|
+
exports.FlagIcon = exports.SvgIcon = exports.CustomIcon = exports.FabricIcon = exports.MaterialIcon = exports.FontAwesomeIcon = void 0;
|
|
4
4
|
const Enums_1 = require("./Enums");
|
|
5
5
|
/**
|
|
6
6
|
* Class to create a guid
|
|
@@ -9,13 +9,66 @@ class FontAwesomeIcon {
|
|
|
9
9
|
constructor(faClass) {
|
|
10
10
|
this.faClass = faClass;
|
|
11
11
|
this.iconType = Enums_1.IconTypes.FontAwesome;
|
|
12
|
+
this.setDefaultIconStyle();
|
|
13
|
+
}
|
|
14
|
+
toString() {
|
|
15
|
+
return this.faClass;
|
|
16
|
+
}
|
|
17
|
+
//
|
|
18
|
+
setStyle(style, force) {
|
|
19
|
+
if (!force && this.faClass.indexOf(" ") === -1) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
if (style === "solid") {
|
|
23
|
+
this.setIconStyle("fas");
|
|
24
|
+
}
|
|
25
|
+
else if (style === "regular") {
|
|
26
|
+
this.setIconStyle("fa");
|
|
27
|
+
}
|
|
28
|
+
else if (style === "light") {
|
|
29
|
+
this.setIconStyle("fal");
|
|
30
|
+
}
|
|
31
|
+
else if (style === "duotone") {
|
|
32
|
+
this.setIconStyle("fa-duotone");
|
|
33
|
+
}
|
|
34
|
+
else if (style === "thin") {
|
|
35
|
+
this.setIconStyle("fat");
|
|
36
|
+
}
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
setDefaultIconStyle() {
|
|
40
|
+
const split = this.faClass.split(" ");
|
|
41
|
+
if (this.faClass.split(" ").length === 1) {
|
|
42
|
+
this.setIconStyle("fa-duotone");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
setIconStyle(style) {
|
|
46
|
+
const split = this.faClass.split(" ");
|
|
47
|
+
const end = split[split.length - 1];
|
|
48
|
+
this.faClass = style + " " + end;
|
|
12
49
|
}
|
|
13
50
|
}
|
|
14
51
|
exports.FontAwesomeIcon = FontAwesomeIcon;
|
|
52
|
+
class MaterialIcon {
|
|
53
|
+
constructor(maClass) {
|
|
54
|
+
this.maClass = maClass;
|
|
55
|
+
this.iconType = Enums_1.IconTypes.Material;
|
|
56
|
+
}
|
|
57
|
+
toString() {
|
|
58
|
+
return this.maClass;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.MaterialIcon = MaterialIcon;
|
|
15
62
|
class FabricIcon {
|
|
16
63
|
constructor(fabClass) {
|
|
17
64
|
this.fabClass = fabClass;
|
|
18
65
|
this.iconType = Enums_1.IconTypes.Fabric;
|
|
66
|
+
if (this.fabClass.indexOf("ms-Icon ") === -1) {
|
|
67
|
+
this.fabClass = "ms-Icon " + this.fabClass;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
toString() {
|
|
71
|
+
return this.fabClass;
|
|
19
72
|
}
|
|
20
73
|
}
|
|
21
74
|
exports.FabricIcon = FabricIcon;
|
|
@@ -24,6 +77,9 @@ class CustomIcon {
|
|
|
24
77
|
this.customValue = customValue;
|
|
25
78
|
this.iconType = Enums_1.IconTypes.Custom;
|
|
26
79
|
}
|
|
80
|
+
toString() {
|
|
81
|
+
return this.customValue.toString();
|
|
82
|
+
}
|
|
27
83
|
}
|
|
28
84
|
exports.CustomIcon = CustomIcon;
|
|
29
85
|
class SvgIcon {
|
|
@@ -31,12 +87,21 @@ class SvgIcon {
|
|
|
31
87
|
this.svg = svg;
|
|
32
88
|
this.iconType = Enums_1.IconTypes.SVG;
|
|
33
89
|
}
|
|
90
|
+
toString() {
|
|
91
|
+
return this.svg;
|
|
92
|
+
}
|
|
34
93
|
}
|
|
35
94
|
exports.SvgIcon = SvgIcon;
|
|
36
95
|
class FlagIcon {
|
|
37
96
|
constructor(flagClass) {
|
|
38
97
|
this.flagClass = flagClass;
|
|
39
98
|
this.iconType = Enums_1.IconTypes.Flag;
|
|
99
|
+
if (this.flagClass.indexOf("omux-flag ") === -1) {
|
|
100
|
+
this.flagClass = "omux-flag " + this.flagClass;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
toString() {
|
|
104
|
+
return this.flagClass;
|
|
40
105
|
}
|
|
41
106
|
}
|
|
42
107
|
exports.FlagIcon = FlagIcon;
|
package/Journey.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VNode, VNodeTypes } from "vue";
|
|
2
|
+
import { BladeSizes, GuidValue, IIcon } from ".";
|
|
3
|
+
export interface JourneyMenuItem {
|
|
4
|
+
icon: IIcon;
|
|
5
|
+
element: VNodeTypes | GuidValue;
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
2
8
|
export interface Blade {
|
|
3
9
|
id: string;
|
|
4
|
-
content: () =>
|
|
10
|
+
content: () => VNode;
|
|
5
11
|
size?: BladeSizes;
|
|
6
12
|
disabled?: boolean;
|
|
7
13
|
isSubJourney?: boolean;
|
package/Layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultilingualString, ThemeDefinition, IIcon, SpacingSettings, IconPickerModel, WebComponentDefinition, OmniaBlock, GuidValue, RadialGradientShapes,
|
|
1
|
+
import { MultilingualString, ThemeDefinition, IIcon, SpacingSettings, IconPickerModel, WebComponentDefinition, OmniaBlock, GuidValue, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, ColorSchemaTypes, BlueprintTypes, HorizontalAlignments, SpacingType } from ".";
|
|
2
2
|
import { MessageBusTopicMediator } from "../";
|
|
3
3
|
import { TargetingFilterProperty } from "../sp";
|
|
4
4
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
|
@@ -66,6 +66,8 @@ export interface LayoutItemSettings {
|
|
|
66
66
|
hidden?: boolean;
|
|
67
67
|
css: string;
|
|
68
68
|
customCssClasses: string;
|
|
69
|
+
colorSchemaType?: ColorSchemaTypes;
|
|
70
|
+
blueprintType?: BlueprintTypes;
|
|
69
71
|
}
|
|
70
72
|
export interface LinearGradientBackground extends BackgroundSettings {
|
|
71
73
|
degrees: number;
|
|
@@ -121,13 +123,13 @@ export interface SectionSettings extends LayoutItemSettings {
|
|
|
121
123
|
alignment: HorizontalAlignments;
|
|
122
124
|
width: string;
|
|
123
125
|
minHeight: string;
|
|
124
|
-
spacingBlock: number;
|
|
125
|
-
spacingColumn: number;
|
|
126
|
+
spacingBlock: number | SpacingType;
|
|
127
|
+
spacingColumn: number | SpacingType;
|
|
126
128
|
minWidthBlock: string;
|
|
127
|
-
marginSectionLeft: number;
|
|
128
|
-
marginSectionRight: number;
|
|
129
|
-
marginSectionTop: number;
|
|
130
|
-
marginSectionBottom: number;
|
|
129
|
+
marginSectionLeft: number | SpacingType;
|
|
130
|
+
marginSectionRight: number | SpacingType;
|
|
131
|
+
marginSectionTop: number | SpacingType;
|
|
132
|
+
marginSectionBottom: number | SpacingType;
|
|
131
133
|
targetingFilterProperties: TargetingFilterProperty;
|
|
132
134
|
titleSettings: BlockTitleSettings;
|
|
133
135
|
sectionTitle: string | MultilingualString;
|
|
@@ -240,10 +242,10 @@ export interface HeaderItemSettings {
|
|
|
240
242
|
scrollIntoViewDisabled: boolean;
|
|
241
243
|
}
|
|
242
244
|
export interface SpacingItemSettings {
|
|
243
|
-
paddingRight: number;
|
|
244
|
-
paddingLeft: number;
|
|
245
|
-
paddingTop: number;
|
|
246
|
-
paddingBottom: number;
|
|
245
|
+
paddingRight: number | SpacingType;
|
|
246
|
+
paddingLeft: number | SpacingType;
|
|
247
|
+
paddingTop: number | SpacingType;
|
|
248
|
+
paddingBottom: number | SpacingType;
|
|
247
249
|
minHeight: string;
|
|
248
250
|
}
|
|
249
251
|
export interface StyleItemSettings {
|
|
@@ -490,21 +492,16 @@ export interface LayoutRendererCanvasApi {
|
|
|
490
492
|
}
|
|
491
493
|
export interface Breakpoint {
|
|
492
494
|
xs: boolean;
|
|
493
|
-
xsOnly: boolean;
|
|
494
495
|
sm: boolean;
|
|
495
|
-
smOnly: boolean;
|
|
496
496
|
smAndDown: boolean;
|
|
497
497
|
smAndUp: boolean;
|
|
498
498
|
md: boolean;
|
|
499
|
-
mdOnly: boolean;
|
|
500
499
|
mdAndDown: boolean;
|
|
501
500
|
mdAndUp: boolean;
|
|
502
501
|
lg: boolean;
|
|
503
|
-
lgOnly: boolean;
|
|
504
502
|
lgAndDown: boolean;
|
|
505
503
|
lgAndUp: boolean;
|
|
506
504
|
xl: boolean;
|
|
507
|
-
xlOnly: boolean;
|
|
508
505
|
name: ("xs" | "sm" | "md" | "lg" | "xl");
|
|
509
506
|
width: number;
|
|
510
507
|
height: number;
|
|
@@ -513,8 +510,9 @@ export interface Breakpoint {
|
|
|
513
510
|
sm: number;
|
|
514
511
|
md: number;
|
|
515
512
|
lg: number;
|
|
513
|
+
xl: number;
|
|
514
|
+
xxl: number;
|
|
516
515
|
};
|
|
517
|
-
scrollbarWidth: number;
|
|
518
516
|
}
|
|
519
517
|
/**
|
|
520
518
|
* Define different context extending this so that Layout can different multiple media provider per context
|