@omnia/fx-models 8.0.5-vnext → 8.0.6-dev-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/ActionHandler.d.ts +1 -1
- package/AiSettings.d.ts +28 -0
- package/AiSettings.js +42 -0
- package/AzureAdAppPermissions.d.ts +4 -1
- package/BlockTitleSettings.d.ts +5 -5
- package/BusinessProfileDallEPromptDefault.d.ts +5 -0
- package/BusinessProfileDallEPromptDefault.js +11 -0
- package/ClientManifests.d.ts +35 -10
- package/ClientManifests.js +8 -0
- package/Constants.d.ts +37 -48
- package/Constants.js +50 -62
- package/DateTimeZone.d.ts +2 -2
- package/DependencyInjection.d.ts +1 -1
- package/DependencyInjection.js +1 -1
- package/Enums.d.ts +40 -4
- package/Enums.js +43 -2
- package/Exposes.d.ts +21 -3
- package/Exposes.js +21 -3
- package/Extends.d.ts +2 -2
- package/Feature.d.ts +1 -0
- package/FileValidationResult.d.ts +4 -0
- package/FileValidationResult.js +8 -0
- package/FilterEngineStyles.d.ts +39 -7
- package/FilterpickerModel.d.ts +9 -0
- package/Func.d.ts +28 -0
- package/IPropertiesApi.d.ts +1 -1
- package/ISpecialUserConfiguration.d.ts +3 -0
- package/Icon.d.ts +17 -0
- package/Icon.js +66 -1
- package/Journey.d.ts +8 -2
- package/Layout.d.ts +22 -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 +98 -5
- package/ManifestIds.js +272 -10
- package/MediaScalingSettings.d.ts +6 -0
- package/Messaging.d.ts +1 -0
- package/PermissionInputSettings.d.ts +5 -1
- package/RollupMetricSettings.d.ts +14 -0
- package/RollupQuery.d.ts +9 -2
- package/RollupQuery.js +5 -0
- package/Secrets.d.ts +1 -0
- package/SignInLayout.d.ts +1 -0
- package/SignInLayout.js +4 -0
- package/TargetingProperty.d.ts +4 -0
- package/TargetingProperty.js +2 -1
- package/TokenDefinition.d.ts +1 -1
- package/apps/App.d.ts +6 -4
- package/apps/AppInstanceRollup.d.ts +4 -3
- package/apps/AppInstanceRollup.js +1 -1
- package/auth/AnonymousAccessType.d.ts +5 -0
- package/auth/AnonymousAccessType.js +9 -0
- package/auth/LoginProvider.d.ts +9 -0
- package/auth/LoginProvider.js +9 -0
- package/auth/OTPAuthOption.d.ts +1 -0
- package/auth/common/AuthenticationResult.d.ts +1 -0
- package/auth/common/AuthenticationSessionResult.d.ts +1 -0
- package/auth/common/AuthenticationSettings.d.ts +5 -0
- package/auth/index.d.ts +2 -0
- package/auth/index.js +2 -0
- package/azure-openai/common/ApiResultBase.d.ts +5 -0
- package/azure-openai/common/ApiResultBase.js +2 -0
- package/azure-openai/common/Choice.d.ts +7 -0
- package/azure-openai/common/Choice.js +2 -0
- package/azure-openai/common/Logprobs.d.ts +8 -0
- package/azure-openai/common/Logprobs.js +2 -0
- package/azure-openai/common/Usage.d.ts +4 -0
- package/azure-openai/common/Usage.js +2 -0
- package/azure-openai/common/index.d.ts +4 -0
- package/azure-openai/common/index.js +7 -0
- package/azure-openai/dalle/BaseResponse.d.ts +4 -0
- package/azure-openai/dalle/BaseResponse.js +2 -0
- package/azure-openai/dalle/CreateImageResponse.d.ts +14 -0
- package/azure-openai/dalle/CreateImageResponse.js +2 -0
- package/azure-openai/dalle/ErrorResponse.d.ts +11 -0
- package/azure-openai/dalle/ErrorResponse.js +8 -0
- package/azure-openai/dalle/StatusRequest.d.ts +5 -0
- package/azure-openai/dalle/StatusRequest.js +9 -0
- package/azure-openai/dalle/TextToImageRequest.d.ts +4 -0
- package/azure-openai/dalle/TextToImageRequest.js +2 -0
- package/azure-openai/dalle/TextToImageResponse.d.ts +7 -0
- package/azure-openai/dalle/TextToImageResponse.js +2 -0
- package/azure-openai/dalle/index.d.ts +6 -0
- package/azure-openai/dalle/index.js +9 -0
- package/azure-openai/index.d.ts +3 -0
- package/azure-openai/index.js +6 -0
- package/azure-openai/settings/OpenAISettings.d.ts +11 -0
- package/azure-openai/settings/OpenAISettings.js +5 -0
- package/azure-openai/settings/index.d.ts +1 -0
- package/azure-openai/settings/index.js +4 -0
- package/azure-openai/textcompletion/TextCompletionRequest.d.ts +4 -0
- package/azure-openai/textcompletion/TextCompletionRequest.js +2 -0
- package/azure-openai/textcompletion/TextCompletionResult.d.ts +9 -0
- package/azure-openai/textcompletion/TextCompletionResult.js +2 -0
- package/azure-openai/textcompletion/index.d.ts +2 -0
- package/azure-openai/textcompletion/index.js +5 -0
- package/bulkimportusers/BulkImportFileValidation.d.ts +8 -0
- package/bulkimportusers/BulkImportFileValidation.js +4 -0
- package/bulkimportusers/BulkImportUsersScenarios.d.ts +5 -0
- package/bulkimportusers/BulkImportUsersScenarios.js +9 -0
- package/bulkimportusers/BulkImportUsersTasks.d.ts +15 -0
- package/bulkimportusers/BulkImportUsersTasks.js +8 -0
- package/bulkimportusers/TemplateFileData.d.ts +5 -0
- package/bulkimportusers/TemplateFileData.js +2 -0
- package/bulkimportusers/TemplateFileMetaData.d.ts +6 -0
- package/bulkimportusers/TemplateFileMetaData.js +2 -0
- package/bulkimportusers/TemplateFileSettings.d.ts +7 -0
- package/bulkimportusers/TemplateFileSettings.js +2 -0
- package/bulkimportusers/index.d.ts +6 -0
- package/bulkimportusers/index.js +9 -0
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.d.ts +14 -0
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.js +11 -0
- package/businessprofilesettings/index.d.ts +1 -0
- package/businessprofilesettings/index.js +4 -0
- 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/IEditorItemPanelsRenderer.d.ts +1 -1
- package/enterprise-glossary/EnterpriseGlossary.d.ts +4 -3
- package/enterprise-glossary/EnterpriseGlossary.js +7 -5
- package/enterprise-glossary/EnterpriseGlossaryApis.d.ts +1 -1
- package/enterprise-glossary/EnterpriseGlossaryProvider.d.ts +3 -2
- package/enterprise-properties/EnterpriseProperty.d.ts +6 -2
- package/enterprise-properties/EnterprisePropertyItemSettings.d.ts +1 -0
- package/enterprise-properties/EnterprisePropertySettings.d.ts +2 -1
- package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.d.ts +13 -0
- package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.js +18 -0
- package/enterprise-properties/index.d.ts +1 -0
- package/enterprise-properties/index.js +1 -0
- package/filterengine/ITypedFilterEngineHandler.d.ts +3 -2
- package/filterengine/Shared.d.ts +72 -8
- package/filterengine/Shared.js +46 -3
- package/identities/ArchiveIdentityManagementQuery.d.ts +13 -0
- package/identities/ArchiveIdentityManagementQuery.js +16 -0
- package/identities/DynamicGroupIdentity.d.ts +6 -6
- package/identities/ExtensionIdentity.d.ts +5 -4
- package/identities/GroupIdentity.d.ts +12 -7
- package/identities/GroupManagementQuery.d.ts +13 -0
- package/identities/GroupManagementQuery.js +16 -0
- package/identities/Identity.d.ts +20 -3
- package/identities/Identity.js +27 -1
- package/identities/IdentityApi.d.ts +3 -3
- package/identities/IdentityCreationRequest.d.ts +76 -0
- package/identities/IdentityCreationRequest.js +44 -0
- package/identities/IdentityPropertyConfiguration.d.ts +10 -0
- package/identities/IdentityPropertyConfiguration.js +6 -0
- package/identities/IdentityProviderRunStatus.d.ts +2 -1
- package/identities/IdentityProviderRunStatus.js +1 -0
- package/identities/IdentityProviderSettings.d.ts +1 -0
- package/identities/IdentityQuery.d.ts +10 -4
- package/identities/IdentityQuery.js +11 -5
- package/identities/RoleIdentity.d.ts +5 -4
- package/identities/UserIdentity.d.ts +22 -16
- package/identities/UserIdentity.js +12 -0
- package/identities/UserIdentityQuery.d.ts +23 -0
- package/identities/UserIdentityQuery.js +26 -0
- package/identities/UserManagementQuery.d.ts +13 -0
- package/identities/UserManagementQuery.js +16 -0
- package/identities/UserTypeSettings.d.ts +25 -0
- package/identities/UserTypeSettings.js +29 -0
- package/identities/index.d.ts +5 -1
- package/identities/index.js +5 -1
- 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/HttpCommon.d.ts +24 -0
- package/internal-do-not-import-from-here/shared/models/HttpCommon.js +2 -0
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +7 -0
- 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/Tokens.d.ts +2 -1
- 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 +40 -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 +14 -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 +19 -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 +5 -1
- package/internal-do-not-import-from-here/shared/models/index.js +5 -1
- 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 -36
- 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 -16
- 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/UseThemeMethods.js +129 -0
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/theming/index.js +5 -0
- package/internal-do-not-import-from-here/velcron/core/models/ActionHooks.d.ts +12 -0
- package/internal-do-not-import-from-here/velcron/core/models/ActionHooks.js +2 -0
- 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 +140 -95
- 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 +2 -1
- package/internal-do-not-import-from-here/velcron/core/models/index.js +2 -1
- package/linkstatus/LinkStatus.d.ts +32 -0
- package/linkstatus/LinkStatus.js +2 -0
- package/linkstatus/index.d.ts +1 -0
- package/linkstatus/index.js +4 -0
- package/media-gallery/index.d.ts +2 -0
- package/media-gallery/index.js +5 -0
- package/media-gallery/providers/MediaDialogProviderComponentProps.d.ts +8 -0
- package/media-gallery/providers/MediaDialogProviderComponentProps.js +2 -0
- package/media-gallery/providers/MediaDisplayProviderComponentProps.d.ts +11 -0
- package/media-gallery/providers/MediaDisplayProviderComponentProps.js +2 -0
- package/media-gallery/providers/MediaGalleryDialogProvider.d.ts +5 -0
- package/media-gallery/providers/MediaGalleryDialogProvider.js +6 -0
- package/media-gallery/providers/MediaGalleryDisplayProvider.d.ts +5 -0
- package/media-gallery/providers/MediaGalleryDisplayProvider.js +6 -0
- package/media-gallery/providers/PhotoLayoutMap.d.ts +4 -0
- package/media-gallery/providers/PhotoLayoutMap.js +2 -0
- package/media-gallery/providers/PhotoWall.d.ts +10 -0
- package/media-gallery/providers/PhotoWall.js +14 -0
- package/media-gallery/providers/PhotoWallDirection.d.ts +5 -0
- package/media-gallery/providers/PhotoWallDirection.js +2 -0
- package/media-gallery/providers/PhotoWallGridLayout.d.ts +9 -0
- package/media-gallery/providers/PhotoWallGridLayout.js +14 -0
- package/media-gallery/providers/PhotoWallMedia.d.ts +8 -0
- package/media-gallery/providers/PhotoWallMedia.js +2 -0
- package/media-gallery/providers/SliderDialogProvider.d.ts +10 -0
- package/media-gallery/providers/SliderDialogProvider.js +15 -0
- package/media-gallery/providers/index.d.ts +12 -0
- package/media-gallery/providers/index.js +15 -0
- package/media-gallery/styles/IRowPhotos.css.d.ts +4 -0
- package/media-gallery/styles/IRowPhotos.css.js +4 -0
- package/media-gallery/styles/index.d.ts +1 -0
- package/media-gallery/styles/index.js +4 -0
- package/media-picker/MediaPickerImageRendition.d.ts +4 -4
- package/media-picker/MediaPickerMedia.d.ts +8 -2
- package/media-picker/MediaPickerPersistedImageDetails.d.ts +1 -0
- 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/BingProvider.d.ts +1 -0
- package/media-picker/Providers/BingProvider.js +1 -0
- package/media-picker/Providers/CentralImageLocationProvider.d.ts +1 -0
- package/media-picker/Providers/CentralImageLocationProvider.js +2 -1
- package/media-picker/Providers/DallEProvider.d.ts +18 -0
- package/media-picker/Providers/DallEProvider.js +23 -0
- package/media-picker/Providers/MediaPickerProvider.d.ts +1 -0
- package/media-picker/Providers/MediaflowProvider.d.ts +18 -0
- package/media-picker/Providers/MediaflowProvider.js +35 -0
- package/media-picker/Providers/MicrosoftStreamProvider.d.ts +1 -0
- package/media-picker/Providers/MicrosoftStreamProvider.js +1 -0
- package/media-picker/Providers/MyComputerProvider.d.ts +1 -0
- package/media-picker/Providers/MyComputerProvider.js +2 -1
- package/media-picker/Providers/PexelProvider.d.ts +1 -0
- package/media-picker/Providers/PexelProvider.js +3 -2
- package/media-picker/Providers/UnsplashProvider.d.ts +18 -0
- package/media-picker/Providers/UnsplashProvider.js +23 -0
- package/media-picker/Providers/YoutubeProvider.d.ts +1 -0
- package/media-picker/Providers/YoutubeProvider.js +1 -0
- package/media-picker/Providers/index.d.ts +3 -0
- package/media-picker/Providers/index.js +3 -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.d.ts +16 -0
- package/mediaflow/Constants.js +21 -0
- package/mediaflow/MediaflowAuthenticationInfo.d.ts +5 -0
- package/mediaflow/MediaflowAuthenticationInfo.js +2 -0
- package/mediaflow/MediaflowSettings.d.ts +6 -0
- package/mediaflow/MediaflowSettings.js +2 -0
- package/mediaflow/index.d.ts +3 -0
- package/mediaflow/index.js +6 -0
- package/omniasearch/IPagedResult.d.ts +4 -0
- package/omniasearch/IPagedResult.js +2 -0
- package/omniasearch/IPagedSearchResult.d.ts +8 -0
- package/omniasearch/IPagedSearchResult.js +2 -0
- package/omniasearch/ISearchResult.d.ts +7 -0
- package/omniasearch/ISearchResult.js +2 -0
- package/omniasearch/IndexSearchRequest.d.ts +42 -0
- package/omniasearch/IndexSearchRequest.js +2 -0
- package/omniasearch/IndexSettings.d.ts +6 -0
- package/omniasearch/IndexSettings.js +2 -0
- package/omniasearch/IndexedDocument.d.ts +7 -0
- package/omniasearch/IndexedDocument.js +2 -0
- package/omniasearch/SearchIndex.d.ts +4 -0
- package/omniasearch/SearchIndex.js +6 -0
- package/omniasearch/SearchQuery.d.ts +7 -0
- package/omniasearch/SearchQuery.js +2 -0
- package/omniasearch/SearchQueryPaging.d.ts +6 -0
- package/omniasearch/SearchQueryPaging.js +2 -0
- package/omniasearch/SearchTask.d.ts +13 -0
- package/omniasearch/SearchTask.js +11 -0
- package/omniasearch/index.d.ts +10 -0
- package/omniasearch/index.js +13 -0
- 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 +16 -6
- package/properties/PropertyBinding.d.ts +5 -5
- package/properties/PropertyBinding.js +4 -9
- package/properties/PropertyConfiguration.d.ts +3 -9
- package/properties/PropertyConfiguration.js +0 -13
- package/properties/PropertyDefinition.d.ts +42 -9
- package/properties/PropertyDefinition.js +15 -1
- package/properties/PropertyValue.d.ts +8 -147
- package/properties/PropertyValue.js +16 -25
- package/properties/PropertyValuePrimitiveConverter.d.ts +4 -0
- package/properties/PropertyValuePrimitiveConverter.js +6 -0
- package/properties/bindingprovider/IPropertyBindingProvider.d.ts +12 -0
- package/properties/bindingprovider/IPropertyBindingProvider.js +2 -0
- package/properties/bindingprovider/index.d.ts +1 -0
- package/properties/bindingprovider/index.js +4 -0
- package/properties/datasource/DataSourceId.d.ts +2 -0
- package/properties/datasource/DataSourceId.js +2 -0
- package/properties/datasource/DataSourceProperty.d.ts +6 -0
- package/properties/datasource/DataSourceProperty.js +9 -0
- package/properties/datasource/DataSourcePropertyDisplayInformation.d.ts +14 -0
- package/properties/datasource/DataSourcePropertyDisplayInformation.js +19 -0
- package/properties/datasource/UserDataSourceProperty.d.ts +12 -0
- package/properties/datasource/UserDataSourceProperty.js +20 -0
- package/properties/datasource/index.d.ts +4 -0
- package/properties/datasource/index.js +7 -0
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +16 -0
- package/properties/definitions/BirthdayPropertyDefinition.js +19 -0
- package/properties/definitions/BooleanPropertyDefinition.d.ts +12 -0
- package/properties/definitions/BooleanPropertyDefinition.js +19 -0
- package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +15 -0
- package/properties/definitions/BusinessProfilePropertyDefinition.js +17 -0
- package/properties/definitions/DatePropertyDefinition.d.ts +28 -0
- package/properties/definitions/DatePropertyDefinition.js +45 -0
- package/properties/definitions/DateTimePropertyDefinition.d.ts +17 -0
- package/properties/definitions/DateTimePropertyDefinition.js +19 -0
- package/properties/definitions/EmailPropertyDefinition.d.ts +14 -0
- package/properties/definitions/EmailPropertyDefinition.js +19 -0
- package/properties/definitions/HtmlPropertyDefinition.d.ts +22 -0
- package/properties/definitions/HtmlPropertyDefinition.js +25 -0
- package/properties/definitions/IdentityPropertyDefinition.d.ts +19 -0
- package/properties/definitions/IdentityPropertyDefinition.js +20 -0
- package/properties/definitions/ImagePropertyDefinition.d.ts +25 -0
- package/properties/definitions/ImagePropertyDefinition.js +20 -0
- package/properties/definitions/IntegerPropertyDefinition.d.ts +14 -0
- package/properties/definitions/IntegerPropertyDefinition.js +19 -0
- package/properties/definitions/LanguagePropertyDefinition.d.ts +15 -0
- package/properties/definitions/LanguagePropertyDefinition.js +19 -0
- package/properties/definitions/LinkPropertyDefinition.d.ts +15 -0
- package/properties/definitions/LinkPropertyDefinition.js +19 -0
- package/properties/definitions/MediaPropertyDefinition.d.ts +19 -0
- package/properties/definitions/MediaPropertyDefinition.js +30 -0
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +12 -0
- package/properties/definitions/MultilineTextPropertyDefinition.js +19 -0
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +16 -0
- package/properties/definitions/MultilingualTextPropertyDefinition.js +20 -0
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +12 -0
- package/properties/definitions/PhoneNumberPropertyDefinition.js +19 -0
- package/properties/definitions/TagsPropertyDefinition.d.ts +12 -0
- package/properties/definitions/TagsPropertyDefinition.js +19 -0
- package/properties/definitions/TermSetPropertyDefinition.d.ts +27 -0
- package/properties/definitions/TermSetPropertyDefinition.js +38 -0
- package/properties/definitions/TextPropertyDefinition.d.ts +17 -0
- package/properties/definitions/TextPropertyDefinition.js +20 -0
- package/properties/definitions/TimePropertyDefinition.d.ts +12 -0
- package/properties/definitions/TimePropertyDefinition.js +19 -0
- package/properties/definitions/UserTypePropertyDefinition.d.ts +16 -0
- package/properties/definitions/UserTypePropertyDefinition.js +17 -0
- package/properties/definitions/index.d.ts +21 -0
- package/properties/definitions/index.js +24 -0
- package/properties/index.d.ts +5 -6
- package/properties/index.js +5 -6
- package/properties/values/BirthdayPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/BirthdayPropertyValue.js +1 -5
- package/properties/values/BooleanPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/BooleanPropertyValue.js +0 -4
- package/properties/values/BusinessProfilePropertyValue.d.ts +6 -0
- package/properties/values/BusinessProfilePropertyValue.js +11 -0
- package/properties/{builtins → values}/DatePropertyValue.d.ts +2 -2
- package/properties/{builtins → values}/DatePropertyValue.js +2 -2
- package/properties/values/DateTimePropertyValue.d.ts +6 -0
- package/properties/values/DateTimePropertyValue.js +12 -0
- package/properties/values/EmailPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/EmailPropertyValue.js +0 -4
- package/properties/values/HtmlPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/HtmlPropertyValue.js +0 -4
- package/properties/values/IdentityPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/IdentityPropertyValue.js +0 -7
- package/properties/values/ImagePropertyValue.d.ts +7 -0
- package/properties/{builtins → values}/ImagePropertyValue.js +0 -5
- package/properties/values/IntegerPropertyValue.d.ts +5 -0
- package/properties/values/IntegerPropertyValue.js +11 -0
- package/properties/{builtins → values}/LanguagePropertyValue.d.ts +2 -3
- package/properties/{builtins → values}/LanguagePropertyValue.js +0 -4
- package/properties/values/LinkPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/LinkPropertyValue.js +0 -4
- package/properties/values/MediaPropertyValue.d.ts +6 -0
- package/properties/values/MediaPropertyValue.js +11 -0
- package/properties/values/MultilineTextPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/MultilineTextPropertyValue.js +0 -5
- package/properties/{builtins → values}/MultilingualTextPropertyValue.d.ts +2 -3
- package/properties/{builtins → values}/MultilingualTextPropertyValue.js +0 -4
- package/properties/values/PhoneNumberPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/PhoneNumberPropertyValue.js +0 -4
- package/properties/values/TagsPropertyValue.d.ts +6 -0
- package/properties/values/TagsPropertyValue.js +11 -0
- package/properties/values/TextPropertyValue.d.ts +5 -0
- package/properties/{builtins → values}/TextPropertyValue.js +0 -4
- package/properties/values/TimePropertyValue.d.ts +5 -0
- package/properties/values/TimePropertyValue.js +7 -0
- package/properties/values/UserTypePropertyValue.d.ts +6 -0
- package/properties/values/UserTypePropertyValue.js +11 -0
- package/properties/{builtins → values}/index.d.ts +7 -1
- package/properties/{builtins → values}/index.js +7 -1
- package/richtext-editor-extensions/BoldExtension.d.ts +1 -1
- package/richtext-editor-extensions/TextCompletionExtension.d.ts +13 -0
- package/richtext-editor-extensions/TextCompletionExtension.js +2 -0
- package/richtext-editor-extensions/TipTapEditor.d.ts +9 -10
- package/richtext-editor-extensions/index.d.ts +1 -0
- package/richtext-editor-extensions/index.js +1 -0
- package/sidepanel/Shared.d.ts +5 -0
- package/sidepanel/Shared.js +6 -1
- package/signin/SignIn.d.ts +4 -0
- package/signin/SignIn.js +10 -0
- package/signin/index.d.ts +1 -0
- package/signin/index.js +4 -0
- package/statuscodelayout/StatusCodeLayoutProvider.d.ts +8 -0
- package/statuscodelayout/StatusCodeLayoutProvider.js +6 -0
- package/statuscodelayout/StatusCodeLayoutSettings.d.ts +17 -0
- package/statuscodelayout/StatusCodeLayoutSettings.js +407 -0
- package/statuscodelayout/index.d.ts +2 -0
- package/statuscodelayout/index.js +5 -0
- package/ux/EnterprisePropertyToPropertySettingMappingApi.d.ts +18 -0
- package/ux/EnterprisePropertyToPropertySettingMappingApi.js +2 -0
- package/ux/FeatureManagementApi.d.ts +1 -1
- package/ux/LayoutEditorCanvas.d.ts +5 -2
- package/ux/MediaGalleryApi.d.ts +21 -0
- package/ux/MediaGalleryApi.js +2 -0
- package/ux/SidePanelApi.d.ts +10 -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 +4 -0
- package/ux/index.js +4 -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/versionedlayout/VersionedLayout.d.ts +1 -0
- package/Identity.d.ts +0 -1
- package/Identity.js +0 -109
- package/SpacingSetting.d.ts +0 -6
- package/UserProperty.d.ts +0 -5
- package/identities/IdentityPropertyBinding.d.ts +0 -8
- package/identities/IdentityPropertyBinding.js +0 -11
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +0 -23
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDescriptors.d.ts +0 -35
- package/properties/DataSourcePropertyBinding.d.ts +0 -11
- package/properties/DataSourcePropertyBinding.js +0 -14
- package/properties/IPropertyProviderValueRenderer.d.ts +0 -9
- package/properties/PropertiesProvider.d.ts +0 -8
- package/properties/PropertiesProvider.js +0 -6
- package/properties/PropertyCategory.d.ts +0 -8
- package/properties/PropertyCategory.js +0 -12
- package/properties/PropertyRegistration.d.ts +0 -8
- package/properties/PropertyRegistration.js +0 -11
- package/properties/builtins/BirthdayPropertyValue.d.ts +0 -7
- package/properties/builtins/BooleanPropertyValue.d.ts +0 -6
- package/properties/builtins/EmailPropertyValue.d.ts +0 -6
- package/properties/builtins/HtmlPropertyValue.d.ts +0 -6
- package/properties/builtins/IdentityPropertyValue.d.ts +0 -7
- package/properties/builtins/ImagePropertyValue.d.ts +0 -8
- package/properties/builtins/LinkPropertyValue.d.ts +0 -6
- package/properties/builtins/MultilineTextPropertyValue.d.ts +0 -6
- package/properties/builtins/PhoneNumberPropertyValue.d.ts +0 -6
- package/properties/builtins/PropertySettings.d.ts +0 -24
- package/properties/builtins/PropertySettings.js +0 -7
- package/properties/builtins/TextPropertyValue.d.ts +0 -6
- /package/{SpacingSetting.js → FilterpickerModel.js} +0 -0
- /package/{UserProperty.js → Func.js} +0 -0
- /package/{internal-do-not-import-from-here/shared/models/Bring.js → ISpecialUserConfiguration.js} +0 -0
- /package/{internal-do-not-import-from-here/velcron/core/models/VelcronDescriptors.js → MediaScalingSettings.js} +0 -0
- /package/{properties/IPropertyProviderValueRenderer.js → RollupMetricSettings.js} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSpacingValueFromBlueprint = void 0;
|
|
4
|
+
const SpacingSetting_1 = require("./SpacingSetting");
|
|
5
|
+
function getSpacingValueFromBlueprint(spacingValue, blueprint) {
|
|
6
|
+
if (!spacingValue) {
|
|
7
|
+
return 0;
|
|
8
|
+
}
|
|
9
|
+
let negative = false;
|
|
10
|
+
let result = spacingValue;
|
|
11
|
+
if (isNaN(spacingValue) && blueprint?.definition) {
|
|
12
|
+
if (spacingValue.startsWith("-")) {
|
|
13
|
+
negative = true;
|
|
14
|
+
}
|
|
15
|
+
spacingValue = spacingValue.replace("-", "");
|
|
16
|
+
if (spacingValue === SpacingSetting_1.SpacingTypes.xs) {
|
|
17
|
+
result = blueprint.definition.xs;
|
|
18
|
+
}
|
|
19
|
+
else if (spacingValue === SpacingSetting_1.SpacingTypes.s) {
|
|
20
|
+
result = blueprint.definition.s;
|
|
21
|
+
}
|
|
22
|
+
else if (spacingValue === SpacingSetting_1.SpacingTypes.m) {
|
|
23
|
+
result = blueprint.definition.m;
|
|
24
|
+
}
|
|
25
|
+
else if (spacingValue === SpacingSetting_1.SpacingTypes.l) {
|
|
26
|
+
result = blueprint.definition.l;
|
|
27
|
+
}
|
|
28
|
+
else if (spacingValue === SpacingSetting_1.SpacingTypes.xl) {
|
|
29
|
+
result = blueprint.definition.xl;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
result = 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return negative ? -result : result;
|
|
36
|
+
}
|
|
37
|
+
exports.getSpacingValueFromBlueprint = getSpacingValueFromBlueprint;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setColorOpacity(color: any, opacity: any): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setColorOpacity = void 0;
|
|
4
|
+
function setColorOpacity(color, opacity) {
|
|
5
|
+
function getRGBValues(color) {
|
|
6
|
+
const tmpColor = color.replace("rgba", "rgb");
|
|
7
|
+
return tmpColor.substring(4, tmpColor.length - 1)
|
|
8
|
+
.replace(/ /g, "")
|
|
9
|
+
.split(",");
|
|
10
|
+
}
|
|
11
|
+
function getRGBValuesFromHex(color) {
|
|
12
|
+
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
|
|
13
|
+
if (result) {
|
|
14
|
+
return [
|
|
15
|
+
parseInt(result[1], 16),
|
|
16
|
+
parseInt(result[2], 16),
|
|
17
|
+
parseInt(result[3], 16)
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function isRGBColor(color) {
|
|
22
|
+
if (!color) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
if (color.indexOf("rgb") > -1) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
if (color.indexOf("rgba") > -1) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
let rgb = null;
|
|
34
|
+
if (!isRGBColor(color)) {
|
|
35
|
+
rgb = getRGBValuesFromHex(color);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
rgb = getRGBValues(color);
|
|
39
|
+
}
|
|
40
|
+
if (rgb) {
|
|
41
|
+
return `rgba(${rgb[0]},${rgb[1]},${rgb[2]},${opacity})`;
|
|
42
|
+
}
|
|
43
|
+
return color;
|
|
44
|
+
}
|
|
45
|
+
exports.setColorOpacity = setColorOpacity;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Guid } from "../Guid";
|
|
2
|
+
export interface SpacingSettings {
|
|
3
|
+
top: number | SpacingType;
|
|
4
|
+
right: number | SpacingType;
|
|
5
|
+
bottom: number | SpacingType;
|
|
6
|
+
left: number | SpacingType;
|
|
7
|
+
}
|
|
8
|
+
export interface SpacingDefinition {
|
|
9
|
+
id: Guid;
|
|
10
|
+
xs: number;
|
|
11
|
+
s: number;
|
|
12
|
+
m: number;
|
|
13
|
+
l: number;
|
|
14
|
+
xl: number;
|
|
15
|
+
}
|
|
16
|
+
export type SpacingType = "xs" | "s" | "m" | "l" | "xl";
|
|
17
|
+
export declare enum SpacingTypes {
|
|
18
|
+
xs = "xs",
|
|
19
|
+
s = "s",
|
|
20
|
+
m = "m",
|
|
21
|
+
l = "l",
|
|
22
|
+
xl = "xl"
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpacingTypes = void 0;
|
|
4
|
+
var SpacingTypes;
|
|
5
|
+
(function (SpacingTypes) {
|
|
6
|
+
SpacingTypes["xs"] = "xs";
|
|
7
|
+
SpacingTypes["s"] = "s";
|
|
8
|
+
SpacingTypes["m"] = "m";
|
|
9
|
+
SpacingTypes["l"] = "l";
|
|
10
|
+
SpacingTypes["xl"] = "xl";
|
|
11
|
+
})(SpacingTypes = exports.SpacingTypes || (exports.SpacingTypes = {}));
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { Guid } from "../Guid";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { BluePrintDefinitions } from "./BlueprintDefinition";
|
|
3
|
+
export interface ColorTypeResult<resultType> {
|
|
4
|
+
base: resultType;
|
|
5
|
+
baseTone: resultType;
|
|
6
|
+
onBase: resultType;
|
|
7
|
+
onBaseTone: resultType;
|
|
8
|
+
container: resultType;
|
|
9
|
+
containerTone: resultType;
|
|
10
|
+
onContainer: resultType;
|
|
11
|
+
onContainerTone: resultType;
|
|
12
|
+
colorType: (colorType: string) => resultType;
|
|
13
|
+
}
|
|
4
14
|
export interface ColorDefinition {
|
|
5
15
|
dark: boolean;
|
|
6
16
|
color: string;
|
|
7
17
|
colorToned: string;
|
|
8
|
-
colorStyles: ColorStyles;
|
|
9
|
-
colorTonedStyles: ColorStyles;
|
|
10
18
|
}
|
|
11
19
|
export interface ColorStyles {
|
|
12
20
|
background: object | string;
|
|
@@ -20,14 +28,7 @@ export interface ColorSchema {
|
|
|
20
28
|
container: ColorDefinition;
|
|
21
29
|
onContainer: ColorDefinition;
|
|
22
30
|
}
|
|
23
|
-
export interface
|
|
24
|
-
dark: ColorSchema;
|
|
25
|
-
light: ColorSchema;
|
|
26
|
-
}
|
|
27
|
-
export interface ThemeDefinitionV2 {
|
|
28
|
-
id: Guid;
|
|
29
|
-
name: string;
|
|
30
|
-
dark: boolean;
|
|
31
|
+
export interface ColorSchemas {
|
|
31
32
|
primary: ColorSchema;
|
|
32
33
|
secondary: ColorSchema;
|
|
33
34
|
accent1: ColorSchema;
|
|
@@ -37,27 +38,45 @@ export interface ThemeDefinitionV2 {
|
|
|
37
38
|
background: ColorSchema;
|
|
38
39
|
error: ColorSchema;
|
|
39
40
|
info: ColorSchema;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
41
|
+
}
|
|
42
|
+
export interface ColorGroup {
|
|
43
|
+
dark: ColorSchema;
|
|
44
|
+
light: ColorSchema;
|
|
45
|
+
}
|
|
46
|
+
export interface ThemeDefinitionV2 {
|
|
47
|
+
id: Guid;
|
|
48
|
+
name: string;
|
|
49
|
+
dark: boolean;
|
|
50
|
+
colors: ColorSchemas;
|
|
51
|
+
blueprints: BluePrintDefinitions;
|
|
52
|
+
}
|
|
53
|
+
export type ColorSchemaType = keyof typeof ColorSchemaTypes;
|
|
54
|
+
export declare enum ColorSchemaTypes {
|
|
55
|
+
primary = "primary",
|
|
56
|
+
secondary = "secondary",
|
|
57
|
+
accent1 = "accent1",
|
|
58
|
+
accent2 = "accent2",
|
|
59
|
+
accent3 = "accent3",
|
|
60
|
+
neutral = "neutral",
|
|
61
|
+
background = "background",
|
|
62
|
+
error = "error",
|
|
63
|
+
info = "info"
|
|
64
|
+
}
|
|
65
|
+
export type BlueprintType = keyof typeof BlueprintTypes;
|
|
66
|
+
export declare enum BlueprintTypes {
|
|
67
|
+
default = "default",
|
|
68
|
+
variant1 = "variant1",
|
|
69
|
+
variant2 = "variant2",
|
|
70
|
+
variant3 = "variant3"
|
|
71
|
+
}
|
|
72
|
+
export type ColorType = keyof typeof ColorTypes;
|
|
73
|
+
export declare enum ColorTypes {
|
|
74
|
+
base = "base",
|
|
75
|
+
onBase = "onBase",
|
|
76
|
+
container = "container",
|
|
77
|
+
onContainer = "onContainer"
|
|
78
|
+
}
|
|
79
|
+
export interface ColorGradient {
|
|
80
|
+
color: string;
|
|
81
|
+
stop?: number;
|
|
82
|
+
}
|
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ColorTypes = exports.ColorSchemaTypes = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
exports.ColorTypes = exports.BlueprintTypes = exports.ColorSchemaTypes = void 0;
|
|
4
|
+
var ColorSchemaTypes;
|
|
5
|
+
(function (ColorSchemaTypes) {
|
|
6
|
+
ColorSchemaTypes["primary"] = "primary";
|
|
7
|
+
ColorSchemaTypes["secondary"] = "secondary";
|
|
8
|
+
ColorSchemaTypes["accent1"] = "accent1";
|
|
9
|
+
ColorSchemaTypes["accent2"] = "accent2";
|
|
10
|
+
ColorSchemaTypes["accent3"] = "accent3";
|
|
11
|
+
ColorSchemaTypes["neutral"] = "neutral";
|
|
12
|
+
ColorSchemaTypes["background"] = "background";
|
|
13
|
+
ColorSchemaTypes["error"] = "error";
|
|
14
|
+
ColorSchemaTypes["info"] = "info";
|
|
15
|
+
})(ColorSchemaTypes = exports.ColorSchemaTypes || (exports.ColorSchemaTypes = {}));
|
|
16
|
+
var BlueprintTypes;
|
|
17
|
+
(function (BlueprintTypes) {
|
|
18
|
+
BlueprintTypes["default"] = "default";
|
|
19
|
+
BlueprintTypes["variant1"] = "variant1";
|
|
20
|
+
BlueprintTypes["variant2"] = "variant2";
|
|
21
|
+
BlueprintTypes["variant3"] = "variant3";
|
|
22
|
+
})(BlueprintTypes = exports.BlueprintTypes || (exports.BlueprintTypes = {}));
|
|
23
|
+
var ColorTypes;
|
|
24
|
+
(function (ColorTypes) {
|
|
25
|
+
ColorTypes["base"] = "base";
|
|
26
|
+
ColorTypes["onBase"] = "onBase";
|
|
27
|
+
ColorTypes["container"] = "container";
|
|
28
|
+
ColorTypes["onContainer"] = "onContainer";
|
|
29
|
+
})(ColorTypes = exports.ColorTypes || (exports.ColorTypes = {}));
|
|
@@ -1,30 +1,49 @@
|
|
|
1
1
|
import { Guid } from "../Guid";
|
|
2
2
|
export interface TypographyDefinition {
|
|
3
3
|
id: Guid;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
title: {
|
|
5
|
+
xl: TypographyTypeDefinition;
|
|
6
|
+
l: TypographyTypeDefinition;
|
|
7
|
+
m: TypographyTypeDefinition;
|
|
8
|
+
s: TypographyTypeDefinition;
|
|
9
|
+
xs: TypographyTypeDefinition;
|
|
10
|
+
};
|
|
11
|
+
text: {
|
|
12
|
+
l: TypographyTypeDefinition;
|
|
13
|
+
m: TypographyTypeDefinition;
|
|
14
|
+
s: TypographyTypeDefinition;
|
|
15
|
+
xs: TypographyTypeDefinition;
|
|
16
|
+
};
|
|
17
|
+
navigation: {
|
|
18
|
+
l: TypographyTypeDefinition;
|
|
19
|
+
m: TypographyTypeDefinition;
|
|
20
|
+
};
|
|
21
|
+
link: {
|
|
22
|
+
m: TypographyTypeDefinition;
|
|
23
|
+
};
|
|
10
24
|
}
|
|
11
|
-
export interface
|
|
25
|
+
export interface TypographyTypeDefinition {
|
|
12
26
|
decoration?: string;
|
|
13
27
|
large: TypographyTypeBreakPoint;
|
|
14
28
|
medium?: TypographyTypeBreakPoint;
|
|
15
29
|
small?: TypographyTypeBreakPoint;
|
|
16
|
-
style: object | string;
|
|
17
30
|
}
|
|
18
31
|
export interface TypographyTypeBreakPoint {
|
|
19
32
|
weight: number;
|
|
20
33
|
size: number;
|
|
21
34
|
lineHeight: number;
|
|
22
35
|
}
|
|
23
|
-
export
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
export type TypographyType = keyof typeof TypographyTypes;
|
|
37
|
+
export declare enum TypographyTypes {
|
|
38
|
+
title = "title",
|
|
39
|
+
text = "text",
|
|
40
|
+
navigation = "navigation"
|
|
41
|
+
}
|
|
42
|
+
export type TypographySize = keyof typeof TypographySizes;
|
|
43
|
+
export declare enum TypographySizes {
|
|
44
|
+
xl = "xl",
|
|
45
|
+
l = "l",
|
|
46
|
+
m = "m",
|
|
47
|
+
s = "s",
|
|
48
|
+
xs = "xs"
|
|
49
|
+
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TypographyTypes = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
exports.TypographySizes = exports.TypographyTypes = void 0;
|
|
4
|
+
var TypographyTypes;
|
|
5
|
+
(function (TypographyTypes) {
|
|
6
|
+
TypographyTypes["title"] = "title";
|
|
7
|
+
TypographyTypes["text"] = "text";
|
|
8
|
+
TypographyTypes["navigation"] = "navigation";
|
|
9
|
+
})(TypographyTypes = exports.TypographyTypes || (exports.TypographyTypes = {}));
|
|
10
|
+
var TypographySizes;
|
|
11
|
+
(function (TypographySizes) {
|
|
12
|
+
TypographySizes["xl"] = "xl";
|
|
13
|
+
TypographySizes["l"] = "l";
|
|
14
|
+
TypographySizes["m"] = "m";
|
|
15
|
+
TypographySizes["s"] = "s";
|
|
16
|
+
TypographySizes["xs"] = "xs";
|
|
17
|
+
})(TypographySizes = exports.TypographySizes || (exports.TypographySizes = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BlueprintType, BlueprintTypes, ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes } from "./ThemeDefinitionV2";
|
|
2
|
+
import { TypographySize, TypographySizes, TypographyType, TypographyTypeDefinition, TypographyTypes } from "./TypographyDefinition";
|
|
3
|
+
import { BlueprintDefinition } from "./BlueprintDefinition";
|
|
4
|
+
export declare function useThemeMethods(getThemeDefinition: () => any): {
|
|
5
|
+
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => ColorSchema;
|
|
6
|
+
blueprint: (blueprintType: BlueprintTypes | BlueprintType) => BlueprintDefinition;
|
|
7
|
+
typography: (blueprintType: BlueprintTypes | BlueprintType, typographyType: TypographyTypes | TypographyType, size: TypographySize | TypographySizes) => TypographyTypeDefinition;
|
|
8
|
+
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
|
9
|
+
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
|
|
10
|
+
complementaryColorType: (colorType: ColorTypes | ColorType) => ColorTypes;
|
|
11
|
+
complementaryColor: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
|
12
|
+
complementaryColorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
|
|
13
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useThemeMethods = void 0;
|
|
4
|
+
//import { ThemeDefinitionInstance } from "@omnia/fx/ux";
|
|
5
|
+
const ThemeDefinitionV2_1 = require("./ThemeDefinitionV2");
|
|
6
|
+
const TypographyDefinition_1 = require("./TypographyDefinition");
|
|
7
|
+
// temp change ThemeDefinitionInstance to any because fx/shared can't reference higher level fx/ux
|
|
8
|
+
function useThemeMethods(getThemeDefinition) {
|
|
9
|
+
function colorSchema(colorSchemaType) {
|
|
10
|
+
if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.primary) {
|
|
11
|
+
return getThemeDefinition().colors.primary;
|
|
12
|
+
}
|
|
13
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.secondary) {
|
|
14
|
+
return getThemeDefinition().colors.secondary;
|
|
15
|
+
}
|
|
16
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent1) {
|
|
17
|
+
return getThemeDefinition().colors.accent1;
|
|
18
|
+
}
|
|
19
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent2) {
|
|
20
|
+
return getThemeDefinition().colors.accent2;
|
|
21
|
+
}
|
|
22
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent3) {
|
|
23
|
+
return getThemeDefinition().colors.accent3;
|
|
24
|
+
}
|
|
25
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.background) {
|
|
26
|
+
return getThemeDefinition().colors.background;
|
|
27
|
+
}
|
|
28
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.neutral) {
|
|
29
|
+
return getThemeDefinition().colors.neutral;
|
|
30
|
+
}
|
|
31
|
+
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.error) {
|
|
32
|
+
return getThemeDefinition().colors.error;
|
|
33
|
+
}
|
|
34
|
+
return getThemeDefinition().colors.background;
|
|
35
|
+
}
|
|
36
|
+
function blueprint(blueprintType) {
|
|
37
|
+
if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.default) {
|
|
38
|
+
return getThemeDefinition().blueprints.default;
|
|
39
|
+
}
|
|
40
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant1) {
|
|
41
|
+
return getThemeDefinition().blueprints.variant1;
|
|
42
|
+
}
|
|
43
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant2) {
|
|
44
|
+
return getThemeDefinition().blueprints.variant2;
|
|
45
|
+
}
|
|
46
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant3) {
|
|
47
|
+
return getThemeDefinition().blueprints.variant3;
|
|
48
|
+
}
|
|
49
|
+
return getThemeDefinition().blueprints.default;
|
|
50
|
+
}
|
|
51
|
+
function typography(blueprintType, typographyType, size) {
|
|
52
|
+
const typographyBlueprint = getThemeDefinition().blueprints[blueprintType].definitions.find(d => d.type === "typography");
|
|
53
|
+
if (typographyType === TypographyDefinition_1.TypographyTypes.text) {
|
|
54
|
+
return typographyBlueprint.definition.text[size];
|
|
55
|
+
}
|
|
56
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.title) {
|
|
57
|
+
return typographyBlueprint.definition.title[size];
|
|
58
|
+
}
|
|
59
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.navigation) {
|
|
60
|
+
return typographyBlueprint.definition[size];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function color(colorSchemaType, colorType) {
|
|
64
|
+
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
65
|
+
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
66
|
+
return mappedColorSchema.base.color;
|
|
67
|
+
}
|
|
68
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onBase) {
|
|
69
|
+
return mappedColorSchema.onBase.color;
|
|
70
|
+
}
|
|
71
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.container) {
|
|
72
|
+
return mappedColorSchema.container.color;
|
|
73
|
+
}
|
|
74
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onContainer) {
|
|
75
|
+
return mappedColorSchema.onContainer.color;
|
|
76
|
+
}
|
|
77
|
+
return colorType;
|
|
78
|
+
}
|
|
79
|
+
function colorDefinition(colorSchemaType, colorType) {
|
|
80
|
+
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
81
|
+
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
82
|
+
return mappedColorSchema.base;
|
|
83
|
+
}
|
|
84
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onBase) {
|
|
85
|
+
return mappedColorSchema.onBase;
|
|
86
|
+
}
|
|
87
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.container) {
|
|
88
|
+
return mappedColorSchema.container;
|
|
89
|
+
}
|
|
90
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onContainer) {
|
|
91
|
+
return mappedColorSchema.onContainer;
|
|
92
|
+
}
|
|
93
|
+
return mappedColorSchema.base;
|
|
94
|
+
}
|
|
95
|
+
function complementaryColorType(colorType) {
|
|
96
|
+
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
97
|
+
return ThemeDefinitionV2_1.ColorTypes.onBase;
|
|
98
|
+
}
|
|
99
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onBase) {
|
|
100
|
+
return ThemeDefinitionV2_1.ColorTypes.base;
|
|
101
|
+
}
|
|
102
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.container) {
|
|
103
|
+
return ThemeDefinitionV2_1.ColorTypes.onContainer;
|
|
104
|
+
}
|
|
105
|
+
else if (colorType === ThemeDefinitionV2_1.ColorTypes.onContainer) {
|
|
106
|
+
return ThemeDefinitionV2_1.ColorTypes.container;
|
|
107
|
+
}
|
|
108
|
+
return colorType;
|
|
109
|
+
}
|
|
110
|
+
function complementaryColor(colorSchemaType, colorType) {
|
|
111
|
+
const matchingColorType = complementaryColorType(colorType);
|
|
112
|
+
return color(colorSchemaType, matchingColorType);
|
|
113
|
+
}
|
|
114
|
+
function complementaryColorDefinition(colorSchemaType, colorType) {
|
|
115
|
+
const matchingColorType = complementaryColorType(colorType);
|
|
116
|
+
return colorDefinition(colorSchemaType, matchingColorType);
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
colorSchema,
|
|
120
|
+
blueprint,
|
|
121
|
+
typography,
|
|
122
|
+
color,
|
|
123
|
+
colorDefinition,
|
|
124
|
+
complementaryColorType,
|
|
125
|
+
complementaryColor,
|
|
126
|
+
complementaryColorDefinition,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
exports.useThemeMethods = useThemeMethods;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export * from "./ThemeDefinitionV2";
|
|
2
2
|
export * from "./TypographyDefinition";
|
|
3
3
|
export * from "./OmniaThemes";
|
|
4
|
+
export * from "./UseThemeMethods";
|
|
5
|
+
export * from "./BlueprintDefinition";
|
|
6
|
+
export * from "./SpacingSetting";
|
|
7
|
+
export * from "./SharedBlueprintMethods";
|
|
8
|
+
export * from "./SharedColorMethods";
|
|
@@ -4,3 +4,8 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./ThemeDefinitionV2"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./TypographyDefinition"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./OmniaThemes"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./UseThemeMethods"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./BlueprintDefinition"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./SpacingSetting"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./SharedBlueprintMethods"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./SharedColorMethods"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface VelcronActionHooks<TBefore = any, TAfter = any> {
|
|
2
|
+
beforeHandler?: (args: TBefore) => TBefore;
|
|
3
|
+
afterHandler?: (args: TBefore) => TAfter;
|
|
4
|
+
}
|
|
5
|
+
export interface HttpGetBeforeActionHookArgs {
|
|
6
|
+
url: string;
|
|
7
|
+
requestInit: RequestInit;
|
|
8
|
+
}
|
|
9
|
+
export interface HttpGetAfterActionHookArgs {
|
|
10
|
+
json: string;
|
|
11
|
+
response: Response;
|
|
12
|
+
}
|
|
@@ -16,31 +16,22 @@ export declare enum VelcronActionTypes {
|
|
|
16
16
|
export declare enum VelcronIconTypes {
|
|
17
17
|
fontAwesome = "fa"
|
|
18
18
|
}
|
|
19
|
+
export declare enum VelcronViewDirections {
|
|
20
|
+
row = "row",
|
|
21
|
+
column = "column",
|
|
22
|
+
rowReverse = "row-reverse",
|
|
23
|
+
columnRevers = "column-reverse"
|
|
24
|
+
}
|
|
19
25
|
export declare enum VelcronHorizontalAlignments {
|
|
20
26
|
left = "left",
|
|
21
27
|
center = "center",
|
|
22
28
|
right = "right"
|
|
23
29
|
}
|
|
24
|
-
export declare enum
|
|
30
|
+
export declare enum VelcronVerticalAlignments {
|
|
25
31
|
top = "top",
|
|
26
32
|
center = "center",
|
|
27
33
|
bottom = "bottom"
|
|
28
34
|
}
|
|
29
|
-
export declare enum VelcronDescriptorTypes {
|
|
30
|
-
component = 0,
|
|
31
|
-
subComponent = 1,
|
|
32
|
-
appData = 2,
|
|
33
|
-
dataMember = 3
|
|
34
|
-
}
|
|
35
|
-
export declare enum VelcronComponentPropertyEditors {
|
|
36
|
-
text = 0,
|
|
37
|
-
colorSchemaPicker = 1,
|
|
38
|
-
slider = 2,
|
|
39
|
-
colorPicker = 3,
|
|
40
|
-
typographyPicker = 4,
|
|
41
|
-
ratioPicker = 5,
|
|
42
|
-
booleanPicker = 6
|
|
43
|
-
}
|
|
44
35
|
export declare enum VelcronDataTypes {
|
|
45
36
|
unknown = "unknown",
|
|
46
37
|
object = "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VelcronDataTypes = exports.
|
|
3
|
+
exports.VelcronDataTypes = exports.VelcronVerticalAlignments = exports.VelcronHorizontalAlignments = exports.VelcronViewDirections = exports.VelcronIconTypes = exports.VelcronActionTypes = exports.AssignOperators = void 0;
|
|
4
4
|
var AssignOperators;
|
|
5
5
|
(function (AssignOperators) {
|
|
6
6
|
AssignOperators["equals"] = "=";
|
|
@@ -22,35 +22,25 @@ var VelcronIconTypes;
|
|
|
22
22
|
(function (VelcronIconTypes) {
|
|
23
23
|
VelcronIconTypes["fontAwesome"] = "fa";
|
|
24
24
|
})(VelcronIconTypes = exports.VelcronIconTypes || (exports.VelcronIconTypes = {}));
|
|
25
|
+
var VelcronViewDirections;
|
|
26
|
+
(function (VelcronViewDirections) {
|
|
27
|
+
VelcronViewDirections["row"] = "row";
|
|
28
|
+
VelcronViewDirections["column"] = "column";
|
|
29
|
+
VelcronViewDirections["rowReverse"] = "row-reverse";
|
|
30
|
+
VelcronViewDirections["columnRevers"] = "column-reverse";
|
|
31
|
+
})(VelcronViewDirections = exports.VelcronViewDirections || (exports.VelcronViewDirections = {}));
|
|
25
32
|
var VelcronHorizontalAlignments;
|
|
26
33
|
(function (VelcronHorizontalAlignments) {
|
|
27
34
|
VelcronHorizontalAlignments["left"] = "left";
|
|
28
35
|
VelcronHorizontalAlignments["center"] = "center";
|
|
29
36
|
VelcronHorizontalAlignments["right"] = "right";
|
|
30
37
|
})(VelcronHorizontalAlignments = exports.VelcronHorizontalAlignments || (exports.VelcronHorizontalAlignments = {}));
|
|
31
|
-
var
|
|
32
|
-
(function (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})(
|
|
37
|
-
var VelcronDescriptorTypes;
|
|
38
|
-
(function (VelcronDescriptorTypes) {
|
|
39
|
-
VelcronDescriptorTypes[VelcronDescriptorTypes["component"] = 0] = "component";
|
|
40
|
-
VelcronDescriptorTypes[VelcronDescriptorTypes["subComponent"] = 1] = "subComponent";
|
|
41
|
-
VelcronDescriptorTypes[VelcronDescriptorTypes["appData"] = 2] = "appData";
|
|
42
|
-
VelcronDescriptorTypes[VelcronDescriptorTypes["dataMember"] = 3] = "dataMember";
|
|
43
|
-
})(VelcronDescriptorTypes = exports.VelcronDescriptorTypes || (exports.VelcronDescriptorTypes = {}));
|
|
44
|
-
var VelcronComponentPropertyEditors;
|
|
45
|
-
(function (VelcronComponentPropertyEditors) {
|
|
46
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["text"] = 0] = "text";
|
|
47
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["colorSchemaPicker"] = 1] = "colorSchemaPicker";
|
|
48
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["slider"] = 2] = "slider";
|
|
49
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["colorPicker"] = 3] = "colorPicker";
|
|
50
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["typographyPicker"] = 4] = "typographyPicker";
|
|
51
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["ratioPicker"] = 5] = "ratioPicker";
|
|
52
|
-
VelcronComponentPropertyEditors[VelcronComponentPropertyEditors["booleanPicker"] = 6] = "booleanPicker";
|
|
53
|
-
})(VelcronComponentPropertyEditors = exports.VelcronComponentPropertyEditors || (exports.VelcronComponentPropertyEditors = {}));
|
|
38
|
+
var VelcronVerticalAlignments;
|
|
39
|
+
(function (VelcronVerticalAlignments) {
|
|
40
|
+
VelcronVerticalAlignments["top"] = "top";
|
|
41
|
+
VelcronVerticalAlignments["center"] = "center";
|
|
42
|
+
VelcronVerticalAlignments["bottom"] = "bottom";
|
|
43
|
+
})(VelcronVerticalAlignments = exports.VelcronVerticalAlignments || (exports.VelcronVerticalAlignments = {}));
|
|
54
44
|
var VelcronDataTypes;
|
|
55
45
|
(function (VelcronDataTypes) {
|
|
56
46
|
//Unknown = null
|