@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
|
@@ -13,7 +13,7 @@ class MediaPickerMyComputerProvider {
|
|
|
13
13
|
this.id = Constants_1.Constants.ux.components.mediaPicker.providerIds.myComputer;
|
|
14
14
|
this.category = "image";
|
|
15
15
|
this.name = "Omnia.Ux.MyComputerProvider.Title";
|
|
16
|
-
this.icon = new Icon_1.FontAwesomeIcon("
|
|
16
|
+
this.icon = new Icon_1.FontAwesomeIcon("fa-duotone fa-desktop");
|
|
17
17
|
//this.providerElementName = "omfx-media-picker-mycomputer-provider";
|
|
18
18
|
this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxMyComputerProvider;
|
|
19
19
|
this.selectableMediaTypes = [Enums_1.MediaPickerEnums.OmniaMediaTypes.Image];
|
|
@@ -14,8 +14,8 @@ class MediaPickerPexelProvider {
|
|
|
14
14
|
this.category = "image";
|
|
15
15
|
this.name = "Pexels";
|
|
16
16
|
this.icon = new Icon_1.SvgIcon("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" viewBox=\"0 0 32 32\">" +
|
|
17
|
-
"<path d=\"M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z\" fill=\"#
|
|
18
|
-
"<path d=\"M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z\" fill=\"#
|
|
17
|
+
"<path d=\"M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z\" fill=\"#05705a\"></path>" +
|
|
18
|
+
"<path d=\"M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z\" fill=\"#fff\" ></path>" +
|
|
19
19
|
"</svg>");
|
|
20
20
|
//this.providerElementName = "omfx-media-picker-pexels-provider";
|
|
21
21
|
this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxPexelProvider;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MediaPickerProvider } from ".";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
3
|
+
import { MediaPickerEnums } from "../../Enums";
|
|
4
|
+
import { IIcon } from "../../Icon";
|
|
5
|
+
import { MediaPickerVideo } from "../MediaPickerMedia";
|
|
6
|
+
import { MediaPickerPersistedImage } from "../Shared";
|
|
7
|
+
export declare class MediaPickerUnsplashProvider implements MediaPickerProvider {
|
|
8
|
+
id: GuidValue;
|
|
9
|
+
category: string;
|
|
10
|
+
name: string;
|
|
11
|
+
icon: IIcon;
|
|
12
|
+
sortOrder?: number;
|
|
13
|
+
selectableMediaTypes: MediaPickerEnums.OmniaMediaTypes[];
|
|
14
|
+
providerComponentId: GuidValue;
|
|
15
|
+
supportGalleryFeature?: boolean;
|
|
16
|
+
constructor();
|
|
17
|
+
hasEditorForMedia: (media: MediaPickerVideo | MediaPickerPersistedImage) => boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaPickerUnsplashProvider = void 0;
|
|
4
|
+
const Constants_1 = require("../../Constants");
|
|
5
|
+
const Enums_1 = require("../../Enums");
|
|
6
|
+
const ManifestIds_1 = require("../../ManifestIds");
|
|
7
|
+
const Icon_1 = require("../../Icon");
|
|
8
|
+
class MediaPickerUnsplashProvider {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.hasEditorForMedia = (media) => {
|
|
11
|
+
return false;
|
|
12
|
+
};
|
|
13
|
+
this.id = Constants_1.Constants.ux.components.mediaPicker.providerIds.unsplash;
|
|
14
|
+
this.category = "image";
|
|
15
|
+
this.name = "Unsplash";
|
|
16
|
+
this.icon = new Icon_1.SvgIcon("<svg width='32' height='32' class='UP8CN' viewBox='0 0 32 32' version='1.' aria-labelledby='unsplash-home' aria-hidden='false'><path fill='#919191' d='M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z'></path></svg>");
|
|
17
|
+
this.providerComponentId = ManifestIds_1.OmniaWebComponentManifests.FxUxUnsplashProvider;
|
|
18
|
+
this.selectableMediaTypes = [Enums_1.MediaPickerEnums.OmniaMediaTypes.Image];
|
|
19
|
+
this.sortOrder = 41;
|
|
20
|
+
this.supportGalleryFeature = true;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.MediaPickerUnsplashProvider = MediaPickerUnsplashProvider;
|
|
@@ -10,3 +10,4 @@ tslib_1.__exportStar(require("./PexelProvider"), exports);
|
|
|
10
10
|
tslib_1.__exportStar(require("./YoutubeProvider"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./DallEProvider"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./MediaflowProvider"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./UnsplashProvider"), exports);
|
package/media-picker/Shared.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { MediaPickerEnums, MediaPickerRenditionData, MediaPickerTransformedBase64Image } from "..";
|
|
1
|
+
import { MediaPickerEnums, MediaPickerImageTransformationResult, MediaPickerRenditionData, MediaPickerTransformedBase64Image } from "..";
|
|
2
2
|
import { MediaPickerBase64Image } from "./MediaPickerBase64Image";
|
|
3
3
|
import { MediaPickerImageRatioDefinition, MediaPickerRollupImageRatio } from "./MediaPickerImageRatio";
|
|
4
4
|
import { MediaPickerImageScalingDefinition } from "./MediaPickerImageScaling";
|
|
5
5
|
import { MediaPickerPersistedImageInformation } from "./MediaPickerPersistedImageDetails";
|
|
6
|
+
export interface IMediaFileProcessor {
|
|
7
|
+
getMediaInfo(mediaItem: ImageItem | VideoItem): Promise<ImageInformation | VideoInformation>;
|
|
8
|
+
onResizeImage(image: ImageInformation, scalingSettings: MediaPickerImageScalingDefinition): Promise<ImageInformation>;
|
|
9
|
+
onTransformImage(image: ImageInformation): MediaPickerImageTransformationResult;
|
|
10
|
+
}
|
|
6
11
|
export interface MediaInformation {
|
|
7
12
|
mediaType: MediaPickerEnums.OmniaMediaTypes;
|
|
8
13
|
}
|
|
9
14
|
export interface ImageInformation extends MediaInformation, MediaPickerBase64Image {
|
|
10
15
|
sizeInBytes: number;
|
|
11
16
|
sourceUrl?: string;
|
|
17
|
+
thumbnailUrl?: string;
|
|
12
18
|
}
|
|
13
19
|
export interface VideoInformation extends MediaInformation {
|
|
14
20
|
videoUrl: string;
|
package/media-picker/index.d.ts
CHANGED
package/media-picker/index.js
CHANGED
|
@@ -18,3 +18,5 @@ tslib_1.__exportStar(require("./MediaPickerUserIconsStorageProviderContext"), ex
|
|
|
18
18
|
tslib_1.__exportStar(require("./Shared"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./Providers"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./SharePointVideoResult"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./MediaPickerSearchProvider"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./localize"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare module MediaProviderLocalization {
|
|
2
|
+
const namespace = "Omnia.Ux.MediaProvider";
|
|
3
|
+
interface locInterface {
|
|
4
|
+
NoResultText: string;
|
|
5
|
+
Searching: string;
|
|
6
|
+
TypeSomethingToSearch: string;
|
|
7
|
+
FileSizeWarningDialog: {
|
|
8
|
+
WarningBigSizeTitle: string;
|
|
9
|
+
WarningBigSizeMessage: string;
|
|
10
|
+
SmallOption: string;
|
|
11
|
+
MediumOption: string;
|
|
12
|
+
LargeOption: string;
|
|
13
|
+
KeepOriginalSizeOption: string;
|
|
14
|
+
KeepRatio: string;
|
|
15
|
+
RetryScalingImageMessage: string;
|
|
16
|
+
};
|
|
17
|
+
RetryDownloadDialog: {
|
|
18
|
+
RetryDownloadTitle: string;
|
|
19
|
+
RetryDownloadMessage: string;
|
|
20
|
+
RetryButton: string;
|
|
21
|
+
};
|
|
22
|
+
FileTypeIsNotSupportedDialog: {
|
|
23
|
+
FileTypeIsNotSupportedMessage: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaProviderLocalization = void 0;
|
|
4
|
+
var MediaProviderLocalization;
|
|
5
|
+
(function (MediaProviderLocalization) {
|
|
6
|
+
MediaProviderLocalization.namespace = "Omnia.Ux.MediaProvider";
|
|
7
|
+
})(MediaProviderLocalization = exports.MediaProviderLocalization || (exports.MediaProviderLocalization = {}));
|
package/mediaflow/Constants.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MediaflowSecretsForms = exports.MediaflowConstants = void 0;
|
|
4
4
|
class MediaflowConstants {
|
|
5
5
|
}
|
|
6
|
-
exports.MediaflowConstants = MediaflowConstants;
|
|
7
6
|
MediaflowConstants.mediaflowJsUrl = "https://mfstatic.com/js/fileselector.min.js";
|
|
8
7
|
MediaflowConstants.mediaflowJsFallback = "https://mfstatic.com/js/fileselector.js";
|
|
9
8
|
MediaflowConstants.mediaflowCssUrl = "https://mfstatic.com/css/fileselector.min.css";
|
|
@@ -12,10 +11,11 @@ MediaflowConstants.featureId = "32B53D6B-6177-40FD-A8D2-386128089CA5";
|
|
|
12
11
|
MediaflowConstants.mediaFlowSettingsKey = "omnia.mediaflow.settings";
|
|
13
12
|
MediaflowConstants.mediaFlowSecretKey = "omnia-mediaflow-integration-key";
|
|
14
13
|
MediaflowConstants.defaultSupportedMediaFormats = "flv,mxf,gxf,wmv,asf,mp4,m4v,ismv,mkv,mov,jpeg,jpg,png,bmp,gif,svg,ico";
|
|
14
|
+
exports.MediaflowConstants = MediaflowConstants;
|
|
15
15
|
class MediaflowSecretsForms {
|
|
16
16
|
}
|
|
17
|
-
exports.MediaflowSecretsForms = MediaflowSecretsForms;
|
|
18
17
|
MediaflowSecretsForms.clientid = "clientid";
|
|
19
18
|
MediaflowSecretsForms.clientsecret = "clientsecret";
|
|
20
19
|
MediaflowSecretsForms.refreshtoken = "refreshtoken";
|
|
21
20
|
MediaflowSecretsForms.integrationKey = "integrationKey";
|
|
21
|
+
exports.MediaflowSecretsForms = MediaflowSecretsForms;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
declare const block: readonly ["top", "bottom"];
|
|
2
|
+
declare const inline: readonly ["start", "end", "left", "right"];
|
|
3
|
+
type Tblock = typeof block[number];
|
|
4
|
+
type Tinline = typeof inline[number];
|
|
5
|
+
export type Position = Tblock | Tinline | "center" | "center center" | `${Tblock} ${Tinline | "center"}` | `${Tinline} ${Tblock | "center"}`;
|
|
6
|
+
export declare const SizeTypeDefinitions: readonly ["default", "x-small", "small", "large", "x-large"];
|
|
7
|
+
export type SizeTypes = typeof SizeTypeDefinitions[number];
|
|
8
|
+
export declare const SizeTypesName = "SizeTypes";
|
|
9
|
+
/**Slider */
|
|
10
|
+
export declare const DirectionDefinitions: readonly ["horizontal", "vertical"];
|
|
11
|
+
export type DirectionTypes = typeof DirectionDefinitions[number];
|
|
12
|
+
export declare const DirectionTypesName = "DirectionTypes";
|
|
13
|
+
export declare const SliderVariantDefinitions: readonly ["default", "prominent"];
|
|
14
|
+
export type SliderVariants = typeof SliderVariantDefinitions[number];
|
|
15
|
+
export declare const SliderVariantsName = "SliderVariants";
|
|
16
|
+
/**Progress */
|
|
17
|
+
export declare const ProgressTypeDefinitions: readonly ["linear", "circular"];
|
|
18
|
+
export type ProgressTypes = typeof ProgressTypeDefinitions[number];
|
|
19
|
+
export declare const ProgressTypesName = "ProgressTypes";
|
|
20
|
+
export declare const ProgressVariantDefinitions: readonly ["default", "loading"];
|
|
21
|
+
export type ProgressVariants = typeof ProgressVariantDefinitions[number];
|
|
22
|
+
export declare const ProgressVariantsName = "ProgressVariants";
|
|
23
|
+
export declare const ProgressSizeTypeDefinitions: readonly ["default", "large", "x-large"];
|
|
24
|
+
export type ProgressSizeTypes = typeof ProgressSizeTypeDefinitions[number];
|
|
25
|
+
export declare const ProgressSizeTypesName = "ProgressSizeTypes";
|
|
26
|
+
/**AppBar */
|
|
27
|
+
export declare const AppBarTypeDefinitions: readonly ["default", "app", "chrome"];
|
|
28
|
+
export type AppBarTypes = typeof AppBarTypeDefinitions[number];
|
|
29
|
+
export declare const AppBarTypesName = "AppBarTypes";
|
|
30
|
+
/**Button */
|
|
31
|
+
export declare const ButtonPresetDefinitions: readonly ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
32
|
+
export type OxideButtonPresets = typeof ButtonPresetDefinitions[number];
|
|
33
|
+
export declare const ButtonPresetsName = "OxideButtonPresets";
|
|
34
|
+
export declare const ButtonVariantDefinitions: readonly ["default", "prominent", "toolbar", "opacity", "dial", "slim"];
|
|
35
|
+
export type ButtonVariants = typeof ButtonVariantDefinitions[number];
|
|
36
|
+
export declare const ButtonVariantsName = "ButtonVariants";
|
|
37
|
+
/**Button Group */
|
|
38
|
+
export declare const ButtonGroupTypeDefinitions: readonly ["default", "dial", "settings"];
|
|
39
|
+
export type ButtonGroupTypes = typeof ButtonGroupTypeDefinitions[number];
|
|
40
|
+
export declare const ButtonGroupTypesName = "ButtonGroupTypes";
|
|
41
|
+
/** Column */
|
|
42
|
+
export declare const ColValueDefinitions: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
43
|
+
export type ColValues = typeof ColValueDefinitions[number];
|
|
44
|
+
export declare const ColValuesName = "ColValues";
|
|
45
|
+
export declare const AlignmentTypeDefinitions: readonly ["end", "center", "start", "baseline", "stretch", "auto"];
|
|
46
|
+
export type AlignmentTypes = typeof AlignmentTypeDefinitions[number];
|
|
47
|
+
export declare const AlignmentTypesName = "AlignmentTypes";
|
|
48
|
+
/** Dialog */
|
|
49
|
+
export declare const DialogTypeDefinitions: readonly ["save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
|
50
|
+
export type DialogTypes = typeof DialogTypeDefinitions[number];
|
|
51
|
+
export declare const DialogTypesName = "DialogTypes";
|
|
52
|
+
/** Divider */
|
|
53
|
+
export declare const PageDividerTypeDefinitions: readonly ["default", "prominent"];
|
|
54
|
+
export type PageDividerTypes = typeof DividerTypeDefinitions[number];
|
|
55
|
+
export declare const PageDividerTypesName = "PageDividerTypes";
|
|
56
|
+
/** Expansion Panel */
|
|
57
|
+
export declare const PanelTypeDefinitions: readonly ["default", "navigation", "section"];
|
|
58
|
+
export type PanelTypes = typeof PanelTypeDefinitions[number];
|
|
59
|
+
export declare const PanelTypesName = "PanelTypes";
|
|
60
|
+
/**Icon */
|
|
61
|
+
export declare const IconPresetDefinitions: readonly ["add", "delete", "edit", "drag-handle", "copy", "code", "expand", "remove", "info"];
|
|
62
|
+
export type IconPresets = typeof IconPresetDefinitions[number];
|
|
63
|
+
export declare const IconPresetsName = "IconPresets";
|
|
64
|
+
export declare const IconSizeDefinitions: readonly ["x-large", "large", "default", "x-small", "small"];
|
|
65
|
+
export type OIconSizes = typeof IconSizeDefinitions[number];
|
|
66
|
+
export declare const IconSizesName = "OIconSizes";
|
|
67
|
+
export declare const IconVariantDefinitions: readonly ["default", "background"];
|
|
68
|
+
export type IconVariants = typeof IconVariantDefinitions[number];
|
|
69
|
+
export declare const IconVariantsName = "IconVariants";
|
|
70
|
+
/** Image */
|
|
71
|
+
export declare const RatioTypeDefinitions: readonly ["default", "landscape"];
|
|
72
|
+
export type RatioTypes = typeof RatioTypeDefinitions[number];
|
|
73
|
+
export declare const RatioTypesName = "RatioTypes";
|
|
74
|
+
/** List */
|
|
75
|
+
export declare const ListItemVariantDefinitions: readonly ["default", "delete", "navigation"];
|
|
76
|
+
export type ListItemVariants = typeof ListItemVariantDefinitions[number];
|
|
77
|
+
export declare const ListItemVariantsName = "ListItemVariants";
|
|
78
|
+
export declare const ListTypeDefinitions: readonly ["default", "navigation", "options"];
|
|
79
|
+
export type ListTypes = typeof ListTypeDefinitions[number];
|
|
80
|
+
export declare const ListTypesName = "ListTypes";
|
|
81
|
+
export declare const ListLineTypeDefinitions: readonly [false, "one", "two", "three"];
|
|
82
|
+
export type ListLineTypes = typeof ListLineTypeDefinitions[number];
|
|
83
|
+
export declare const ListLineTypesName = "ListLineTypes";
|
|
84
|
+
/** Menu */
|
|
85
|
+
export declare const MenuLocationDefinitions: readonly ["top", "bottom", "start", "end", "left", "right", "center", "center center", "top center", "top start", "top end", "bottom start", "bottom end", "start top", "start bottom", "end top", "end bottom"];
|
|
86
|
+
export type MenuLocations = typeof MenuLocationDefinitions[number];
|
|
87
|
+
export declare const MenuLocationsName = "MenuLocations";
|
|
88
|
+
/**Navigation Drawer */
|
|
89
|
+
export declare const NavigationDrawerLocationDefinitions: readonly ["top", "left", "right", "bottom", "end", "start"];
|
|
90
|
+
export type NavigationDrawerLocations = typeof NavigationDrawerLocationDefinitions[number];
|
|
91
|
+
export declare const NavigationDrawerLocationsName = "NavigationDrawerLocations";
|
|
92
|
+
export declare const NavigationDrawerVariantDefinitions: readonly ["default", "app", "editor", "dialog"];
|
|
93
|
+
export type NavigationDrawerVariants = typeof NavigationDrawerVariantDefinitions[number];
|
|
94
|
+
export declare const NavigationDrawerVariantsName = "NavigationDrawerVariants";
|
|
95
|
+
/** Panel */
|
|
96
|
+
export declare const DividerTypeDefinitions: readonly ["top", "bottom", "left", "right"];
|
|
97
|
+
export type DividerTypes = typeof DividerTypeDefinitions[number];
|
|
98
|
+
export declare const DividerTypesName = "DividerTypes";
|
|
99
|
+
export type BorderCombination = `${DividerTypes}` | `${DividerTypes} ${DividerTypes}` | `${DividerTypes} ${DividerTypes} ${DividerTypes}` | `${DividerTypes} ${DividerTypes} ${DividerTypes} ${DividerTypes}`;
|
|
100
|
+
export declare const PaddingTypeDefinitions: readonly ["top", "bottom", "left", "right"];
|
|
101
|
+
export type PaddingTypes = typeof PaddingTypeDefinitions[number];
|
|
102
|
+
export declare const PaddingTypesName = "DividerTypes";
|
|
103
|
+
export type PaddingCombination = `${PaddingTypes}` | `${PaddingTypes} ${PaddingTypes}` | `${PaddingTypes} ${PaddingTypes} ${PaddingTypes}` | `${PaddingTypes} ${PaddingTypes} ${PaddingTypes} ${PaddingTypes}`;
|
|
104
|
+
export declare const PanelVariantDefinitions: readonly ["default", "dialog", "tab", "tab-vertical", "section", "toolbar", "settings", "navigation", "info-section", "content"];
|
|
105
|
+
export type PanelVariants = typeof PanelVariantDefinitions[number];
|
|
106
|
+
export declare const PanelVariantsName = "PanelVariants";
|
|
107
|
+
export declare const PanelDirectionDefinitions: readonly ["row", "column"];
|
|
108
|
+
export type PanelDirections = typeof PanelDirectionDefinitions[number];
|
|
109
|
+
export declare const PanelDirectionsName = "PanelDirections";
|
|
110
|
+
export declare const HorizontalAlignmentDefinitions: readonly ["left", "center", "right"];
|
|
111
|
+
export type OHorizontalAlignments = typeof HorizontalAlignmentDefinitions[number];
|
|
112
|
+
export declare const HorizontalAlignmentsName = "OHorizontalAlignments";
|
|
113
|
+
export declare const VerticalAlignmentDefinitions: readonly ["top", "center", "bottom"];
|
|
114
|
+
export type OVerticalAlignments = typeof VerticalAlignmentDefinitions[number];
|
|
115
|
+
export declare const VerticalAlignmentsName = "OVerticalAlignments";
|
|
116
|
+
/** Select */
|
|
117
|
+
export declare const SelectTypeDefinitions: readonly ["default", "add", "picker", "combobox"];
|
|
118
|
+
export type SelectTypes = typeof SelectTypeDefinitions[number];
|
|
119
|
+
export declare const SelectTypesName = "SelectTypes";
|
|
120
|
+
/**Skeleton loader */
|
|
121
|
+
export declare const SkeletonLoaderTypeDefinitions: readonly ["text", "image", "button", "chip", "actions", "avatar", "divider", "subtitle", "heading", "sentences", "paragraph", "article", "card", "card-avatar", "date-picker", "date-picker-options", "date-picker-days", "list-item", "list-item-avatar", "list-item-two-line", "list-item-avatar-two-line", "list-item-three-line", "list-item-avatar-three-line", "table", "table-heading", "table-thead", "table-tbody", "table-row-divider", "table-row", "table-tfoot"];
|
|
122
|
+
export type SkeletonLoaderTypes = typeof SkeletonLoaderTypeDefinitions[number];
|
|
123
|
+
export declare const SkeletonLoaderName = "SkeletonLoaderTypes";
|
|
124
|
+
export type SkeletonLoaderTypesCombination = `${SkeletonLoaderTypes}` | `${SkeletonLoaderTypes}, ${SkeletonLoaderTypes}` | `${SkeletonLoaderTypes}, ${SkeletonLoaderTypes}, ${SkeletonLoaderTypes}`;
|
|
125
|
+
/** Tabs */
|
|
126
|
+
export declare const ScrollOffsetTypeDefinitions: readonly ["dialog", "drawer"];
|
|
127
|
+
export type ScrollOffsetTypes = "dialog" | "drawer" | string;
|
|
128
|
+
export declare const ScrollOffsetTypesName = "ScrollOffsetTypes";
|
|
129
|
+
export declare const TabVariantDefinitions: readonly ["default", "navigation", "settings"];
|
|
130
|
+
export type TabVariants = typeof TabVariantDefinitions[number];
|
|
131
|
+
export declare const TabVariantsName = "TabVariants";
|
|
132
|
+
/** Text Box */
|
|
133
|
+
export declare const TextBoxVariantTypeDefinitions: readonly ["default", "search", "find-slim", "link", "media"];
|
|
134
|
+
export type TextBoxVariantTypes = typeof TextBoxVariantTypeDefinitions[number];
|
|
135
|
+
export declare const TextBoxVariantTypesName = "TextBoxVariantTypes";
|
|
136
|
+
export declare const TextBoxTypeDefinitions: readonly ["text", "password", "number"];
|
|
137
|
+
export type TextBoxTypes = typeof TextBoxTypeDefinitions[number];
|
|
138
|
+
export declare const TextBoxTypesName = "TextBoxTypes";
|
|
139
|
+
/** Toolbar */
|
|
140
|
+
export declare const ToolbarVariationDefinitions: readonly ["default", "blade", "menu", "drawer"];
|
|
141
|
+
export type ToolbarVariants = typeof ToolbarVariationDefinitions[number];
|
|
142
|
+
export declare const ToolbarVariantsName = "ToolbarVariants";
|
|
143
|
+
/** Draggable */
|
|
144
|
+
export declare const DraggableVariationDefinitions: readonly ["default", "list", "data-table"];
|
|
145
|
+
export type DraggableVariants = typeof DraggableVariationDefinitions[number];
|
|
146
|
+
export declare const DraggableVariantsName = "DraggableVariants";
|
|
147
|
+
export {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NavigationDrawerVariantsName = exports.NavigationDrawerVariantDefinitions = exports.NavigationDrawerLocationsName = exports.NavigationDrawerLocationDefinitions = exports.MenuLocationsName = exports.MenuLocationDefinitions = exports.ListLineTypesName = exports.ListLineTypeDefinitions = exports.ListTypesName = exports.ListTypeDefinitions = exports.ListItemVariantsName = exports.ListItemVariantDefinitions = exports.RatioTypesName = exports.RatioTypeDefinitions = exports.IconVariantsName = exports.IconVariantDefinitions = exports.IconSizesName = exports.IconSizeDefinitions = exports.IconPresetsName = exports.IconPresetDefinitions = exports.PanelTypesName = exports.PanelTypeDefinitions = exports.PageDividerTypesName = exports.PageDividerTypeDefinitions = exports.DialogTypesName = exports.DialogTypeDefinitions = exports.AlignmentTypesName = exports.AlignmentTypeDefinitions = exports.ColValuesName = exports.ColValueDefinitions = exports.ButtonGroupTypesName = exports.ButtonGroupTypeDefinitions = exports.ButtonVariantsName = exports.ButtonVariantDefinitions = exports.ButtonPresetsName = exports.ButtonPresetDefinitions = exports.AppBarTypesName = exports.AppBarTypeDefinitions = exports.ProgressSizeTypesName = exports.ProgressSizeTypeDefinitions = exports.ProgressVariantsName = exports.ProgressVariantDefinitions = exports.ProgressTypesName = exports.ProgressTypeDefinitions = exports.SliderVariantsName = exports.SliderVariantDefinitions = exports.DirectionTypesName = exports.DirectionDefinitions = exports.SizeTypesName = exports.SizeTypeDefinitions = void 0;
|
|
4
|
+
exports.DraggableVariantsName = exports.DraggableVariationDefinitions = exports.ToolbarVariantsName = exports.ToolbarVariationDefinitions = exports.TextBoxTypesName = exports.TextBoxTypeDefinitions = exports.TextBoxVariantTypesName = exports.TextBoxVariantTypeDefinitions = exports.TabVariantsName = exports.TabVariantDefinitions = exports.ScrollOffsetTypesName = exports.ScrollOffsetTypeDefinitions = exports.SkeletonLoaderName = exports.SkeletonLoaderTypeDefinitions = exports.SelectTypesName = exports.SelectTypeDefinitions = exports.VerticalAlignmentsName = exports.VerticalAlignmentDefinitions = exports.HorizontalAlignmentsName = exports.HorizontalAlignmentDefinitions = exports.PanelDirectionsName = exports.PanelDirectionDefinitions = exports.PanelVariantsName = exports.PanelVariantDefinitions = exports.PaddingTypesName = exports.PaddingTypeDefinitions = exports.DividerTypesName = exports.DividerTypeDefinitions = void 0;
|
|
5
|
+
const block = ["top", "bottom"];
|
|
6
|
+
const inline = ["start", "end", "left", "right"];
|
|
7
|
+
exports.SizeTypeDefinitions = ["default", "x-small", "small", "large", "x-large"];
|
|
8
|
+
exports.SizeTypesName = "SizeTypes";
|
|
9
|
+
/**Slider */
|
|
10
|
+
exports.DirectionDefinitions = ["horizontal", "vertical"];
|
|
11
|
+
exports.DirectionTypesName = "DirectionTypes";
|
|
12
|
+
exports.SliderVariantDefinitions = ["default", "prominent"];
|
|
13
|
+
exports.SliderVariantsName = "SliderVariants";
|
|
14
|
+
/**Progress */
|
|
15
|
+
exports.ProgressTypeDefinitions = ["linear", "circular"];
|
|
16
|
+
exports.ProgressTypesName = "ProgressTypes";
|
|
17
|
+
exports.ProgressVariantDefinitions = ["default", "loading"];
|
|
18
|
+
exports.ProgressVariantsName = "ProgressVariants";
|
|
19
|
+
exports.ProgressSizeTypeDefinitions = ["default", "large", "x-large"];
|
|
20
|
+
exports.ProgressSizeTypesName = "ProgressSizeTypes";
|
|
21
|
+
/**AppBar */
|
|
22
|
+
exports.AppBarTypeDefinitions = ["default", "app", "chrome"];
|
|
23
|
+
exports.AppBarTypesName = "AppBarTypes";
|
|
24
|
+
/**Button */
|
|
25
|
+
exports.ButtonPresetDefinitions = ["create", "remove", "delete", "ok", "cancel", "save", "close", "settings", "icon-add", "icon-delete", "icon-edit", "icon-drag-handle", "icon-copy", "icon-code", "icon-close", "icon-back", "icon-more", "icon-navigate", "icon-settings", "load-more", "retry", "remove", "approve", "copy-to-clipboard", "details", "next", "previous", "select", "view-more", "send-request"];
|
|
26
|
+
exports.ButtonPresetsName = "OxideButtonPresets";
|
|
27
|
+
exports.ButtonVariantDefinitions = ["default", "prominent", "toolbar", "opacity", "dial", "slim"];
|
|
28
|
+
exports.ButtonVariantsName = "ButtonVariants";
|
|
29
|
+
/**Button Group */
|
|
30
|
+
exports.ButtonGroupTypeDefinitions = ["default", "dial", "settings"];
|
|
31
|
+
exports.ButtonGroupTypesName = "ButtonGroupTypes";
|
|
32
|
+
/** Column */
|
|
33
|
+
exports.ColValueDefinitions = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
34
|
+
exports.ColValuesName = "ColValues";
|
|
35
|
+
exports.AlignmentTypeDefinitions = ["end", "center", "start", "baseline", "stretch", "auto"];
|
|
36
|
+
exports.AlignmentTypesName = "AlignmentTypes";
|
|
37
|
+
/** Dialog */
|
|
38
|
+
exports.DialogTypeDefinitions = ["save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
|
39
|
+
exports.DialogTypesName = "DialogTypes";
|
|
40
|
+
/** Divider */
|
|
41
|
+
exports.PageDividerTypeDefinitions = ["default", "prominent"];
|
|
42
|
+
exports.PageDividerTypesName = "PageDividerTypes";
|
|
43
|
+
/** Expansion Panel */
|
|
44
|
+
exports.PanelTypeDefinitions = ["default", "navigation", "section"];
|
|
45
|
+
exports.PanelTypesName = "PanelTypes";
|
|
46
|
+
/**Icon */
|
|
47
|
+
exports.IconPresetDefinitions = ["add", "delete", "edit", "drag-handle", "copy", "code", "expand", "remove", "info"];
|
|
48
|
+
exports.IconPresetsName = "IconPresets";
|
|
49
|
+
exports.IconSizeDefinitions = ["x-large", "large", "default", "x-small", "small"];
|
|
50
|
+
exports.IconSizesName = "OIconSizes";
|
|
51
|
+
// export const IconWeightDefinitions = ["default", "fat"] as const;
|
|
52
|
+
// export type OIconWeights = typeof IconWeightDefinitions[number];
|
|
53
|
+
// export const OIconWeightsName = "OIconWeights";
|
|
54
|
+
exports.IconVariantDefinitions = ["default", "background"];
|
|
55
|
+
exports.IconVariantsName = "IconVariants";
|
|
56
|
+
/** Image */
|
|
57
|
+
exports.RatioTypeDefinitions = ["default", "landscape"];
|
|
58
|
+
exports.RatioTypesName = "RatioTypes";
|
|
59
|
+
/** List */
|
|
60
|
+
exports.ListItemVariantDefinitions = ["default", "delete", "navigation"];
|
|
61
|
+
exports.ListItemVariantsName = "ListItemVariants";
|
|
62
|
+
exports.ListTypeDefinitions = ["default", "navigation", "options"];
|
|
63
|
+
exports.ListTypesName = "ListTypes";
|
|
64
|
+
exports.ListLineTypeDefinitions = [false, "one", "two", "three"];
|
|
65
|
+
exports.ListLineTypesName = "ListLineTypes";
|
|
66
|
+
/** Menu */
|
|
67
|
+
// type Tblock = "top" | "bottom";
|
|
68
|
+
// type Tinline = "start" | "end" | "left" | "right";
|
|
69
|
+
exports.MenuLocationDefinitions = ["top", "bottom", "start", "end", "left", "right", "center", "center center", "top center", "top start", "top end", "bottom start", "bottom end", "start top", "start bottom", "end top", "end bottom"];
|
|
70
|
+
exports.MenuLocationsName = "MenuLocations";
|
|
71
|
+
/**Navigation Drawer */
|
|
72
|
+
exports.NavigationDrawerLocationDefinitions = ["top", "left", "right", "bottom", "end", "start"];
|
|
73
|
+
exports.NavigationDrawerLocationsName = "NavigationDrawerLocations";
|
|
74
|
+
exports.NavigationDrawerVariantDefinitions = ["default", "app", "editor", "dialog"];
|
|
75
|
+
exports.NavigationDrawerVariantsName = "NavigationDrawerVariants";
|
|
76
|
+
/** Panel */
|
|
77
|
+
//export const DividerTypeDefinitions = ["top", "bottom", "top bottom","left","right", "left right","top bottom left right","top bottom left","top bottom right"] as const;
|
|
78
|
+
exports.DividerTypeDefinitions = ["top", "bottom", "left", "right"];
|
|
79
|
+
exports.DividerTypesName = "DividerTypes";
|
|
80
|
+
exports.PaddingTypeDefinitions = ["top", "bottom", "left", "right"];
|
|
81
|
+
exports.PaddingTypesName = "DividerTypes";
|
|
82
|
+
exports.PanelVariantDefinitions = ["default", "dialog", "tab", "tab-vertical", "section", "toolbar", "settings", "navigation", "info-section", "content"];
|
|
83
|
+
exports.PanelVariantsName = "PanelVariants";
|
|
84
|
+
exports.PanelDirectionDefinitions = ["row", "column"];
|
|
85
|
+
exports.PanelDirectionsName = "PanelDirections";
|
|
86
|
+
exports.HorizontalAlignmentDefinitions = ["left", "center", "right"];
|
|
87
|
+
exports.HorizontalAlignmentsName = "OHorizontalAlignments";
|
|
88
|
+
exports.VerticalAlignmentDefinitions = ["top", "center", "bottom"];
|
|
89
|
+
exports.VerticalAlignmentsName = "OVerticalAlignments";
|
|
90
|
+
/** Select */
|
|
91
|
+
exports.SelectTypeDefinitions = ["default", "add", "picker", "combobox"];
|
|
92
|
+
exports.SelectTypesName = "SelectTypes";
|
|
93
|
+
/**Skeleton loader */
|
|
94
|
+
exports.SkeletonLoaderTypeDefinitions = ["text", "image", "button", "chip", "actions", "avatar", "divider", "subtitle", "heading", "sentences", "paragraph", "article", "card", "card-avatar", "date-picker", "date-picker-options", "date-picker-days", "list-item", "list-item-avatar", "list-item-two-line", "list-item-avatar-two-line", "list-item-three-line", "list-item-avatar-three-line", "table", "table-heading", "table-thead", "table-tbody", "table-row-divider", "table-row", "table-tfoot"];
|
|
95
|
+
exports.SkeletonLoaderName = "SkeletonLoaderTypes";
|
|
96
|
+
/** Tabs */
|
|
97
|
+
exports.ScrollOffsetTypeDefinitions = ["dialog", "drawer"];
|
|
98
|
+
exports.ScrollOffsetTypesName = "ScrollOffsetTypes";
|
|
99
|
+
exports.TabVariantDefinitions = ["default", "navigation", "settings"];
|
|
100
|
+
exports.TabVariantsName = "TabVariants";
|
|
101
|
+
/** Text Box */
|
|
102
|
+
//export const TextBoxVariantTypeDefinitions = ["default", "filter-menu", "search", "find-slim", "numberselector", "numberselector-prepend", "link", "media"] as const;
|
|
103
|
+
exports.TextBoxVariantTypeDefinitions = ["default", "search", "find-slim", "link", "media"];
|
|
104
|
+
exports.TextBoxVariantTypesName = "TextBoxVariantTypes";
|
|
105
|
+
exports.TextBoxTypeDefinitions = ["text", "password", "number"];
|
|
106
|
+
exports.TextBoxTypesName = "TextBoxTypes";
|
|
107
|
+
/** Toolbar */
|
|
108
|
+
exports.ToolbarVariationDefinitions = ["default", "blade", "menu", "drawer"];
|
|
109
|
+
exports.ToolbarVariantsName = "ToolbarVariants";
|
|
110
|
+
/** Draggable */
|
|
111
|
+
exports.DraggableVariationDefinitions = ["default", "list", "data-table"];
|
|
112
|
+
exports.DraggableVariantsName = "DraggableVariants";
|
package/oxide/index.d.ts
ADDED
package/oxide/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./TreeView"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./OxideTypeDefinitions"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SharedSettings"), exports);
|
package/package.json
CHANGED
|
@@ -4,21 +4,20 @@ import { PropertyDefinition, PropertyDisplaySettingsType, PropertyEditorSettings
|
|
|
4
4
|
* Interface for webcomponent rendering a property value belonging to a property definition
|
|
5
5
|
* */
|
|
6
6
|
export interface IPropertyDisplayRenderer<TPropertyDef extends PropertyDefinition<any, any, any>> {
|
|
7
|
-
|
|
7
|
+
modelValue: PropertyValueType<TPropertyDef>;
|
|
8
8
|
displaySettings: PropertyDisplaySettingsType<TPropertyDef>;
|
|
9
9
|
setupSettings?: PropertySetupSettingsType<TPropertyDef>;
|
|
10
10
|
renderTextOnly?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export interface IPropertyEditorRenderer<TPropertyDef extends PropertyDefinition<any, any, any>> {
|
|
13
|
-
|
|
13
|
+
modelValue: PropertyValueType<TPropertyDef>;
|
|
14
14
|
editorSettings: PropertyEditorSettingsType<TPropertyDef>;
|
|
15
15
|
displaySettings: PropertyDisplaySettingsType<TPropertyDef>;
|
|
16
16
|
setupSettings?: PropertySetupSettingsType<TPropertyDef>;
|
|
17
|
-
onValueBindChanged(newValue: PropertyValueType<TPropertyDef>): void;
|
|
18
17
|
disabled?: boolean;
|
|
19
18
|
}
|
|
20
19
|
export interface IPropertyConfigurationRenderer<TPropertyDef extends PropertyDefinition<any, any, any>> {
|
|
21
|
-
|
|
20
|
+
modelValue: PropertyConfiguration<TPropertyDef>;
|
|
22
21
|
/**
|
|
23
22
|
* Call each time the configuration is considered valid, i.e. the values of the configuration is good
|
|
24
23
|
* Also called when no longer valid, but with value null
|
|
@@ -16,6 +16,10 @@ export declare abstract class PropertyDisplaySettingsBase {
|
|
|
16
16
|
showLabelText?: boolean;
|
|
17
17
|
showLabelIcon?: boolean;
|
|
18
18
|
}
|
|
19
|
+
export declare abstract class PropertyEditorSettingsBase {
|
|
20
|
+
required?: boolean;
|
|
21
|
+
description?: MultilingualString;
|
|
22
|
+
}
|
|
19
23
|
/**
|
|
20
24
|
* The base for PropertySetup
|
|
21
25
|
*/
|
|
@@ -24,7 +28,7 @@ export declare abstract class PropertySetupBase {
|
|
|
24
28
|
declare abstract class UndefinedMirrorOfPropertySetupBase extends PropertySetupBase {
|
|
25
29
|
private uniquePropertyNameOfUndefinedMirrorOfPropertySetupBase?;
|
|
26
30
|
}
|
|
27
|
-
export declare abstract class PropertyDefinition<TPropertyValue extends PropertyValue, TPropertyDisplaySettings extends PropertyDisplaySettingsBase, TPropertyEditorSettings, TPropertySetupSettings extends PropertySetupBase = PropertySetupBase> {
|
|
31
|
+
export declare abstract class PropertyDefinition<TPropertyValue extends PropertyValue, TPropertyDisplaySettings extends PropertyDisplaySettingsBase, TPropertyEditorSettings extends PropertyEditorSettingsBase, TPropertySetupSettings extends PropertySetupBase = PropertySetupBase> {
|
|
28
32
|
abstract readonly id: PropertyDefinitionId;
|
|
29
33
|
abstract readonly typeName: string;
|
|
30
34
|
/**
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PropertyDefinition = exports.PropertySetupBase = exports.PropertyDisplaySettingsBase = void 0;
|
|
3
|
+
exports.PropertyDefinition = exports.PropertySetupBase = exports.PropertyEditorSettingsBase = exports.PropertyDisplaySettingsBase = void 0;
|
|
4
4
|
class PropertyDisplaySettingsBase {
|
|
5
5
|
}
|
|
6
6
|
exports.PropertyDisplaySettingsBase = PropertyDisplaySettingsBase;
|
|
7
|
+
class PropertyEditorSettingsBase {
|
|
8
|
+
}
|
|
9
|
+
exports.PropertyEditorSettingsBase = PropertyEditorSettingsBase;
|
|
7
10
|
//// Begining: Making the typing work for PropertyDefinition without specifying TPropertySetupSettings gives type never, i.e compile error else the correct typing if set.
|
|
8
11
|
///This is kind of magic stuff getting ts to have the desired behaviour
|
|
9
12
|
/**
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { Guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
2
2
|
import { LockStatusExcludeChildren, PropertyLockStatusType } from "../../../ux";
|
|
3
|
-
import { PropertyDefinition, PropertyDisplaySettingsBase } from "../PropertyDefinition";
|
|
3
|
+
import { PropertyDefinition, PropertyDisplaySettingsBase, PropertyEditorSettingsBase } from "../PropertyDefinition";
|
|
4
4
|
import { BirthdayPropertyValue } from "../values";
|
|
5
|
-
export
|
|
5
|
+
export declare class BirthdayDisplaySettings extends PropertyDisplaySettingsBase {
|
|
6
6
|
locks?: PropertyLockStatusType<LockStatusExcludeChildren<Omit<BirthdayDisplaySettings, "locks">, "label">>;
|
|
7
7
|
fontSize?: number;
|
|
8
8
|
format?: string;
|
|
9
9
|
showIcon?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
};
|
|
10
|
+
}
|
|
11
|
+
export declare class BirthdayEditorSettings extends PropertyEditorSettingsBase {
|
|
12
|
+
}
|
|
14
13
|
export declare class BirthdayPropertyDefinition extends PropertyDefinition<BirthdayPropertyValue, BirthdayDisplaySettings, BirthdayEditorSettings> {
|
|
15
14
|
id: Guid;
|
|
16
15
|
typeName: string;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BirthdayPropertyDefinition = void 0;
|
|
3
|
+
exports.BirthdayPropertyDefinition = exports.BirthdayEditorSettings = exports.BirthdayDisplaySettings = void 0;
|
|
4
4
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
|
5
5
|
const PropertyDefinition_1 = require("../PropertyDefinition");
|
|
6
|
+
class BirthdayDisplaySettings extends PropertyDefinition_1.PropertyDisplaySettingsBase {
|
|
7
|
+
}
|
|
8
|
+
exports.BirthdayDisplaySettings = BirthdayDisplaySettings;
|
|
9
|
+
class BirthdayEditorSettings extends PropertyDefinition_1.PropertyEditorSettingsBase {
|
|
10
|
+
}
|
|
11
|
+
exports.BirthdayEditorSettings = BirthdayEditorSettings;
|
|
6
12
|
class BirthdayPropertyDefinition extends PropertyDefinition_1.PropertyDefinition {
|
|
7
13
|
constructor() {
|
|
8
14
|
super(...arguments);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
2
|
-
import { PropertyDefinition, PropertyDisplaySettingsBase } from "../PropertyDefinition";
|
|
2
|
+
import { PropertyDefinition, PropertyDisplaySettingsBase, PropertyEditorSettingsBase } from "../PropertyDefinition";
|
|
3
3
|
import { BooleanPropertyValue } from "../values";
|
|
4
4
|
export declare class BooleanDisplaySettings extends PropertyDisplaySettingsBase {
|
|
5
5
|
inline?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export declare class BooleanEditorSettings extends PropertyEditorSettingsBase {
|
|
8
|
+
}
|
|
8
9
|
export declare class BooleanPropertyDefinition extends PropertyDefinition<BooleanPropertyValue, BooleanDisplaySettings, BooleanEditorSettings> {
|
|
9
10
|
id: Guid;
|
|
10
11
|
typeName: string;
|