@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
290 lines (289 loc) • 13.9 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Constants = void 0;
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
const ActionHandler_1 = require("./ActionHandler");
const Enums_1 = require("./Enums");
const filterengine_1 = require("./filterengine");
const sidepanel_1 = require("./sidepanel");
exports.Constants = {
licensing: {
builtInLicenseIds: {
digitalWorkplace: new models_1.Guid("a885e9dd-176c-4889-8748-67fd66cda78e"),
intranet: new models_1.Guid("a47dc22a-facd-4033-8508-3683e1c0e139"),
managementSystem: new models_1.Guid("f67220f1-f282-4c33-94f6-87bc548e3a9a"),
controlledDocuments: new models_1.Guid("5ac675c7-7f5a-4daf-a9ea-65de8b84c2ce"),
processManagement: new models_1.Guid("2bb4bdfc-e122-49bb-bf92-0e3145a75fc7"),
},
},
ux: {
actionHandlers: {
like: ActionHandler_1.ActionHandlerRegistrationId.create(new models_1.Guid("d838c061-1ef4-49cb-8d6d-cee8f67bd17f")),
},
components: {
filterEngine: {
getDefaultSettings: () => {
return {
showSearchBox: false,
searchBoxSettings: {
mode: filterengine_1.FilterEngineSearchBoxMode.Properties,
text: "",
properties: [],
},
enablePartialWordSearch: true,
properties: [],
saveFilterState: false,
showSelectedValuesArea: true,
selectedValuesAreaPosition: filterengine_1.FilterEngineDefaultPosition.Top,
selectedDialogPosition: sidepanel_1.SidePanelPosition.Right,
showPropertyLabel: false,
maxVisibleSelections: 1,
outlinedStyle: false,
roundedStyle: false,
filledStyle: true,
chipColors: filterengine_1.FilterEngineChipColorType.Default,
customChipTextColor: "",
customChipBackgroundColor: "",
filterWidth: null,
runQueryOnLoad: true,
fixedFilter: false,
breakLine: false
};
},
countNumber: {
minWidth: "46px"
},
defaultWidthDialog: "400px",
defaultFilterWidth: 300
},
mediaPicker: {
imageLimitSize: 200000,
imageRatioUniqueIds: {
custom: "f371bf43-cbac-4a39-98e5-a57de5583f1f",
landscape: "586c8cc4-018d-496d-aba0-c067e5722d8a",
landscape83: "b8c8e466-116d-4a47-a3e3-fdd9915cc1d5",
square: "01dfda5f-bbf7-433f-b79a-666ea36f7c7f",
portrait: "a072ab90-1e01-4b75-99d3-1b3fc53858d9",
wide: "1a763b02-f087-43d8-b42b-8239bb0ea5bb",
},
imageScalingUniqueIds: {
extraSmall: "26aed13f-6316-4603-b93a-026abd3ef7b1",
small: "759d01f3-3e53-4891-bd5b-65c4a2bd3ebe",
medium: "fefc0616-2992-4732-bffd-c4cc422c4ddf",
large: "ae6742a3-d0eb-447c-8950-40d9a64e3e16",
},
imageScalingSettingsKey: "omnia.mediapicker.imagescalingsettings",
providerIds: {
bing: new models_1.Guid("1851985d-2d64-4e86-8f92-ef2a74c698e7"),
pexel: new models_1.Guid("ee273361-c31f-441c-af4c-1efd6ccec36d"),
myComputer: new models_1.Guid("d4daf9fe-93ba-453e-9b80-dbde58c88ea1"),
youtube: new models_1.Guid("207fe7cf-415e-4615-8a4d-21e091de33ae"),
microsoftStream: new models_1.Guid("6b1abf7d-01f1-4168-8319-4f53043b5f16"),
dalle: new models_1.Guid("69805036-0D70-421B-8B81-217978BB47A4"),
mediaflow: new models_1.Guid("F3078399-C3B6-457D-8C2F-A4C8C39B5F27"),
unsplash: new models_1.Guid("be222505-c2c4-4ec8-8462-a7ad9df4d440"),
},
},
mediaGallery: {
className: "gallery-image-photothumb"
},
richTextEditor: {
settingsKey: "omnia.custom.rich.text.editor.settings",
RTEClass: "rtf-editor",
giphyKey: "7FX9iAve9ajTqzi8ipqlUN77syTHPwTF",
},
peoplePicker: {
currentUserId: "2faa499e-907b-4fd2-b78b-420090ec813e"
},
scrollElementSelector: {
adminChrome: "#uxAdminContentContainer .v-content__wrap",
editorChrome: "#uxEditorChromeContentContainer",
},
defaultScrollWrapper: {
class: "scroll-paging-wrapper",
selector: ".scroll-paging-wrapper",
},
textStyles: {
settingsKey: "omnia.textstyle.settings",
},
openai: {
dallESettingsKey: "omnia.openai.dalle.settings",
textCompletionSettingsKey: "omnia.openai.textcompletion.settings",
deploymentNameSettingKey: "omnia.openai.deploymentname.settings",
}
},
html: {
selectors: {
omniaApp: "omnia-app",
omniaHeader: "omnia-header",
omniaBody: "omnia-body",
omniaFooter: "omnia-footer",
omniaContentHeader: "omnia-content-header",
omniaContentNav: "omnia-content-nav",
omniaContentBody: "omnia-content-body",
omniaContentFooter: "omnia-content-footer",
omniaLeftSidePanel: "omnia-left-side-panel",
omniaRightSidePanel: "omnia-right-side-panel",
mainHeading: "main-heading",
sharepointFooter: "omf-footer",
},
},
themeTargetIds: {
admin: new models_1.Guid("8b7ab837-3b39-4c88-bb13-af17fe54cf47"),
editor: new models_1.Guid("edbcea7e-5e55-4ed5-9c89-0272aed71de9"),
layout: new models_1.Guid("714adeca-8728-4019-ae26-b015a054e84e"),
layoutDialog: new models_1.Guid("d3181669-3188-4ec5-9be0-4b6323f5fd48"),
block: new models_1.Guid("607594d1-b25a-4abe-b672-baa0e9ee11ed"),
editorDialog: new models_1.Guid("553d18a1-116c-4875-bc9c-d9054aa1a82b"),
},
colorTypeReplacements: {
primary: "{{PrimaryColor}}",
secondary: "{{SecondaryColor}}",
},
localizaton: {
namespaces: {
App: "Omnia.Ux.App",
User: "Omnia.Ux.User",
Identities: "Omnia.Ux.Identities",
},
},
apps: {
imageMaxDimension: 648,
provisioningRenderingMaxHeight: 150,
},
appManagement: {
route: "/_sys/app-management",
},
preSetupWizard: {
route: "/_sys/presetup",
},
},
mail: {
customMailSettingsKey: "omnia.custom.email.settings",
},
errorCodes: {
canNotRemoveAppTemplate: new models_1.Guid("fdbc1144-31b2-4afa-b9c3-9099cee5c003"),
},
enterprisepropertycategories: {
defaultCategoryId: new models_1.Guid("d7af0482-3a90-463e-bf4b-fdebcf0565be"),
},
propertyCategories: {
externalPropertyCategoryId: new models_1.Guid("7d7a8a30-e9a3-486b-ac09-878f71e687d4"),
defaultCategoryId: new models_1.Guid("d7af0482-3a90-463e-bf4b-fdebcf0565be"),
},
builtInQueryableProperties: {
title: new models_1.Guid("90546b93-9329-4f37-b04e-1092cec91859"),
modifiedAt: new models_1.Guid("2382fe93-d4c0-4779-b8df-a1d96032dbbd"),
modifiedBy: new models_1.Guid("7bca2f9f-0c2c-45d9-b77d-c94a7e911157"),
createdAt: new models_1.Guid("996218ae-2344-47df-a4a2-1db9da67988a"),
createdBy: new models_1.Guid("dc437039-0bf7-4e91-b868-72d39fec3851"),
language: new models_1.Guid("4afa7af6-d3a9-419c-a0a9-7de0abccc65b"),
tags: new models_1.Guid("00de9309-971a-404c-9730-387e91dd69a5"),
},
clipboards: {
layoutItems: new models_1.Guid("3d8da40f-360c-46c9-bcab-cfcbba607c7b"),
},
featureIds: {
spfxInfrastructure: new models_1.Guid("82dcb7d0-7316-4dd3-92f7-6a1b2fdfc68e"),
showTeamsPresence: new models_1.Guid("4bf03db2-4b5d-4370-9a7b-14954534b669"),
socialReactions: new models_1.Guid("7aa05c7f-c939-4224-9835-be6fe847ccf8"),
documentLinkHandler: new models_1.Guid("6d45ac49-385a-424c-8582-caf0c3463fde"),
sharepointIntegration: new models_1.Guid("6f235482-23c7-411a-8652-8ddef2bd2f38"),
sharepointUserProfile: new models_1.Guid("ce5fee19-3fd0-4c01-9240-5c7ce732ba12"),
microsoftGraphUserProfile: new models_1.Guid("06922a46-7ff9-4b8f-8631-5431c7d789fe"),
profileCompleteness: new models_1.Guid("e7bfde1a-119b-4f60-98e4-0c4f56e007e6"),
brokenLinkDetection: new models_1.Guid("d1b958e2-8023-4324-a538-157b8f2c57b3"),
legacyUserProfileCard: new models_1.Guid("01586ffc-5987-40d2-bf06-f97ab955a965"),
legacyAppPermissions: new models_1.Guid("36c6fe6a-d79e-4f87-9349-cff9d3e1ab71"),
appOnlyReadAccessToSharePointTermstore: new models_1.Guid("8095f802-38f0-426c-8d81-22cb22a2a019"),
provisionOmniaSearchUserData: new models_1.Guid("8fc1325d-4196-406e-8dca-ebb78824896f"),
aiEngine: new models_1.Guid("f976ad6f-987f-44e6-973a-097d81f73fc7"),
extraIDAdditionalUserProperties: new models_1.Guid("8a878ffd-f4d5-4048-9ab1-107bf7109dd9")
},
app: {
tableName: "AppInstances",
filterEngineContextUniqueId: "b3485f3c-4b7d-4b0f-9d26-15991f7e2b03"
},
office365GraphApi: {
baseUrl: "https://graph.microsoft.com/",
},
prefixTokens: {
appInstance: "AppInstance",
user: "User",
},
microsoftTeamsDeepLinkApi: {
chatBaseUrl: "https://teams.microsoft.com/l/chat/0/0?users=",
makeAudioCallBaseUrl: "https://teams.microsoft.com/l/call/0/0?users=",
},
properties: {
registrations: {
appPropertiesRegistrationId: new models_1.Guid("adcc7041-4995-437c-85b8-c625c375443a"),
userPropertiesRegistrationId: new models_1.Guid("95c40bcb-24ce-45e2-b66e-bd26a19cac61"),
userPropertiesByMicrosoftGraphRegistrationId: new models_1.Guid("4697ebf0-066f-4ff7-a6bd-e524c7660e1d"),
userPropertiesBySharePointRegistrationId: new models_1.Guid("baa37c5e-c2d8-41b3-9ae7-cbf3281350a5"),
identityPropertyBindingProviderId: new models_1.Guid("ed17d705-b3f7-4922-9695-7c714866274c"),
extendedEnterprisePropertiesPropertyBindingProviderId: new models_1.Guid("fd2defae-0b30-4e29-9bbe-2a6351fdf23b"),
businessProfilePropertyBindingProviderId: new models_1.Guid("25d3c760-1e69-4f9b-94d1-8c59770daefe"),
userPropertyBindingProviderId: new models_1.Guid("e2018c45-ed11-4d3d-809e-8df9601a5add"),
scopePropertyBindingProviderId: new models_1.Guid("d4136b15-81a2-402c-aac3-816ac0ff775b"),
},
},
security: {
userDefinedSupportedRoles: [
Enums_1.RoleDefinitions.InternalUsers,
Enums_1.RoleDefinitions.InternalUsersExceptRestricted,
Enums_1.RoleDefinitions.ExternalUsers,
],
},
layoutProviders: {
spfxWebpart: "spfxWebpart",
},
enterpriseProperties: {
enterprisePropertyExtendedDataTypeId: new models_1.Guid("e85eda7f-029e-4bb9-902d-fcd631ab564b"),
},
identities: {
builtInIdentityProviderIds: {
azureAd: new models_1.Guid("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c"),
omnia: new models_1.Guid("aa000000-0000-aaaa-0000-0000000000aa"),
ldap: new models_1.Guid("ab5c4983-1254-44d7-87e9-72021703dfc5")
},
builtInGroupTypeIds: {
unknown: new models_1.Guid("16486d7d-6e3f-459e-9924-ecb3574345f8"),
omnia: new models_1.Guid("2d4c8116-3cdf-42c0-9854-aba20aff6a5b"),
azureAdSecurity: new models_1.Guid("24dde5dc-e0ab-46c2-967f-8a5e04446c6c"),
m365: new models_1.Guid("945f9787-72a6-4668-8847-2b8b3a24d3dd"),
distributionGroup: new models_1.Guid("65bfe718-74d1-4195-84fe-9293bc14a684")
},
builtInDynamicGroupsIds: {
anonymousGroup: new models_1.Guid("7e30a8b1-c9c0-4d1d-a561-48c7adb4dbdf")
},
undefinedUserTypeId: new models_1.Guid("930fd165-96a9-4503-8d14-f7369694c75f")
},
identityQueryItemLimit: 10,
translatorProviderIds: {
defaultProvider: "995d7152-64be-4f1b-8dec-d14b646db2c5",
azureCognitiveProvider: "7f5ffb28-7d97-45a5-aac7-0cda07b24a89",
},
aiPrompt: {
type: {
textCompletion: "TextCompletion",
contentAnalysis: "ContentAnalysis",
},
token: "{Text}"
},
layoutTypeIds: {
authentication: new models_1.Guid("736b3eeb-6376-4e21-9ded-0ee6e4b63707"),
userTypePublic: new models_1.Guid("a6d64433-ec96-4006-9ea7-ba68222d1095"),
userTypePrivate: new models_1.Guid("8491ce70-2349-4a35-adb9-72ea520e6716"),
system: new models_1.Guid("2cf7033c-0f65-4a65-9ce7-489b00835361")
},
statusCodeLayout: {
settingKey: "omnia.httpstatuscode.layout",
},
systemLayout: {
settingKey: "omnia.system.layout"
},
aiEngine: {
semanticSearchEnterprisePropertyPrefix: "EnterpriseProperty_"
}
};