@omnia/fx-models 8.0.18-vnext → 8.0.19-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 -46
- package/Constants.js +50 -60
- 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 +19 -3
- package/Exposes.js +19 -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 +37 -6
- 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 +9 -0
- package/Icon.js +58 -0
- package/Journey.d.ts +8 -2
- package/Layout.d.ts +22 -17
- package/ManifestIds.d.ts +97 -2
- package/ManifestIds.js +271 -3
- package/MediaScalingSettings.d.ts +6 -0
- package/Messaging.d.ts +1 -0
- package/PermissionInputSettings.d.ts +3 -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 +1 -0
- package/TokenDefinition.d.ts +1 -1
- package/admin/AdminModels.d.ts +42 -0
- package/apps/App.d.ts +6 -4
- package/apps/AppInstanceRollup.d.ts +4 -3
- 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 +6 -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 +3 -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/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 +3 -1
- 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 +12 -3
- package/identities/Identity.js +18 -2
- 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 +24 -16
- package/identities/UserIdentity.js +11 -0
- package/identities/UserIdentityQuery.d.ts +23 -0
- package/identities/UserIdentityQuery.js +26 -0
- package/identities/UserManagementQuery.d.ts +15 -0
- package/identities/UserManagementQuery.js +18 -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 +17 -1
- package/internal-do-not-import-from-here/shared/models/Future.js +26 -5
- 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 +27 -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 +58 -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/ActivityDefinition.d.ts +14 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.js +15 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.d.ts +21 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.js +2 -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 +12 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +22 -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 +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +10 -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 +61 -22
- 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 +26 -14
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +8 -5
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +31 -12
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.js +11 -6
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +7 -5
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +47 -38
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/theming/index.js +4 -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 +149 -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 +137 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +28 -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/MediaPickerProvider.d.ts +16 -0
- package/media-picker/MediaPickerProvider.js +2 -0
- package/media-picker/MediaPickerProviderContext.d.ts +3 -3
- package/media-picker/MediaPickerProviderContext.js +0 -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/Shared.d.ts +7 -1
- package/media-picker/index.d.ts +3 -4
- package/media-picker/index.js +3 -4
- 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 +172 -0
- package/oxide/OxideTypeDefinitions.js +120 -0
- package/oxide/SharedSettings.d.ts +8 -0
- package/oxide/SharedSettings.js +2 -0
- package/oxide/TreeView.d.ts +6 -6
- package/oxide/index.d.ts +2 -0
- package/oxide/index.js +2 -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 +9 -147
- package/properties/PropertyValue.js +19 -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 +13 -0
- package/properties/definitions/TagsPropertyDefinition.js +19 -0
- package/properties/definitions/TermSetPropertyDefinition.d.ts +30 -0
- package/properties/definitions/TermSetPropertyDefinition.js +41 -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 +7 -0
- package/properties/{builtins → values}/BirthdayPropertyValue.js +3 -4
- package/properties/values/BooleanPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/BooleanPropertyValue.js +2 -3
- package/properties/values/BusinessProfilePropertyValue.d.ts +6 -0
- package/properties/values/BusinessProfilePropertyValue.js +11 -0
- package/properties/values/DatePropertyValue.d.ts +10 -0
- package/properties/{builtins → values}/DatePropertyValue.js +5 -2
- package/properties/values/DateTimePropertyValue.d.ts +7 -0
- package/properties/values/DateTimePropertyValue.js +15 -0
- package/properties/values/EmailPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/EmailPropertyValue.js +2 -3
- package/properties/values/HtmlPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/HtmlPropertyValue.js +2 -3
- package/properties/values/IdentityPropertyValue.d.ts +7 -0
- package/properties/{builtins → values}/IdentityPropertyValue.js +3 -7
- package/properties/values/ImagePropertyValue.d.ts +8 -0
- package/properties/{builtins → values}/ImagePropertyValue.js +2 -4
- package/properties/values/IntegerPropertyValue.d.ts +6 -0
- package/properties/values/IntegerPropertyValue.js +14 -0
- package/properties/{builtins → values}/LanguagePropertyValue.d.ts +3 -3
- package/properties/{builtins → values}/LanguagePropertyValue.js +2 -3
- package/properties/values/LinkPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/LinkPropertyValue.js +2 -3
- 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 +7 -0
- package/properties/values/TagsPropertyValue.js +14 -0
- package/properties/values/TextPropertyValue.d.ts +6 -0
- package/properties/{builtins → values}/TextPropertyValue.js +2 -3
- 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/index.d.ts +1 -0
- package/richtext-editor-extensions/index.js +1 -0
- 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/AdminApi.d.ts +16 -2
- package/ux/EnterprisePropertyToPropertySettingMappingApi.d.ts +18 -0
- package/ux/EnterprisePropertyToPropertySettingMappingApi.js +2 -0
- package/ux/FeatureManagementApi.d.ts +1 -1
- package/ux/InternalAdminApi.d.ts +22 -3
- package/ux/LayoutEditorCanvas.d.ts +5 -3
- package/ux/MediaGalleryApi.d.ts +21 -0
- package/ux/MediaGalleryApi.js +2 -0
- package/ux/MediaPickerApi.d.ts +1 -1
- package/ux/SidePanelApi.d.ts +8 -0
- 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/media-picker/MediaPickerStorageProviderAppInstanceContext.d.ts +0 -14
- package/media-picker/MediaPickerStorageProviderAppInstanceContext.js +0 -21
- package/media-picker/MediaPickerStorageProviderAppInstancePostContext.d.ts +0 -8
- package/media-picker/MediaPickerStorageProviderAppInstancePostContext.js +0 -13
- package/media-picker/MediaPickerStorageProviderVersionedLayoutContext.d.ts +0 -8
- package/media-picker/MediaPickerStorageProviderVersionedLayoutContext.js +0 -13
- package/media-picker/Providers/BingProvider.d.ts +0 -17
- package/media-picker/Providers/BingProvider.js +0 -22
- package/media-picker/Providers/CentralImageLocationProvider.d.ts +0 -22
- package/media-picker/Providers/CentralImageLocationProvider.js +0 -31
- package/media-picker/Providers/MediaPickerProvider.d.ts +0 -21
- package/media-picker/Providers/MediaPickerProvider.js +0 -8
- package/media-picker/Providers/MicrosoftStreamProvider.d.ts +0 -17
- package/media-picker/Providers/MicrosoftStreamProvider.js +0 -36
- package/media-picker/Providers/MyComputerProvider.d.ts +0 -17
- package/media-picker/Providers/MyComputerProvider.js +0 -22
- package/media-picker/Providers/PexelProvider.d.ts +0 -17
- package/media-picker/Providers/PexelProvider.js +0 -26
- package/media-picker/Providers/YoutubeProvider.d.ts +0 -17
- package/media-picker/Providers/YoutubeProvider.js +0 -30
- package/media-picker/Providers/index.d.ts +0 -7
- package/media-picker/Providers/index.js +0 -10
- 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/DatePropertyValue.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
|
@@ -1,30 +1,69 @@
|
|
|
1
|
+
import { VelcronAppDefinition } from "@omnia/fx-models";
|
|
1
2
|
import { Guid } from "../Guid";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
left: number;
|
|
3
|
+
import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
|
|
4
|
+
import { ColorSchemaType, ColorSchemaTypes, ColorType } from "./ThemeDefinitionV2";
|
|
5
|
+
import { TypographyDefinition } from "./TypographyDefinition";
|
|
6
|
+
export interface BoxDimensions extends SpacingSettings {
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
9
|
-
|
|
8
|
+
export interface BluePrintDefinitions {
|
|
9
|
+
default: BlueprintDefinition;
|
|
10
|
+
variant1: BlueprintDefinition;
|
|
11
|
+
variant2: BlueprintDefinition;
|
|
12
|
+
variant3: BlueprintDefinition;
|
|
10
13
|
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
button
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
export type WebBlueprintDefintionType = "button" | "block" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
|
|
15
|
+
export declare enum WebBlueprintDefintionTypes {
|
|
16
|
+
button = "button",
|
|
17
|
+
block = "block",
|
|
18
|
+
typography = "typography",
|
|
19
|
+
searchbox = "searchbox",
|
|
20
|
+
layoutspacing = "layout-spacing",
|
|
21
|
+
innerspacing = "inner-spacing"
|
|
22
|
+
}
|
|
23
|
+
export type VelcronBlueprintDefintionType = "button" | "typography" | "inner-spacing";
|
|
24
|
+
export declare enum VelcronBlueprintDefintionTypes {
|
|
25
|
+
button = "button",
|
|
26
|
+
typography = "typography",
|
|
27
|
+
innerspacing = "inner-spacing"
|
|
28
|
+
}
|
|
29
|
+
export interface BlueprintItemDefinition {
|
|
30
|
+
type: VelcronBlueprintDefintionType | WebBlueprintDefintionType;
|
|
31
|
+
}
|
|
32
|
+
export interface BlockBlueprint extends BlueprintItemDefinition {
|
|
33
|
+
type: "block";
|
|
34
|
+
header: {
|
|
35
|
+
definitionId: Guid;
|
|
36
|
+
definition?: VelcronAppDefinition;
|
|
22
37
|
};
|
|
23
|
-
|
|
24
|
-
|
|
38
|
+
colors: {
|
|
39
|
+
colorSchemaType?: ColorSchemaTypes | ColorSchemaType;
|
|
25
40
|
};
|
|
26
|
-
|
|
41
|
+
styles: {
|
|
42
|
+
spacing?: SpacingSettings;
|
|
43
|
+
elevation?: number;
|
|
27
44
|
borderRadius?: BoxDimensions;
|
|
28
|
-
|
|
45
|
+
border?: BoxDimensions;
|
|
46
|
+
borderColor?: {
|
|
47
|
+
colorType: ColorType;
|
|
48
|
+
toned?: boolean;
|
|
49
|
+
};
|
|
29
50
|
};
|
|
30
51
|
}
|
|
52
|
+
export interface SpacingBlueprint {
|
|
53
|
+
type: "layout-spacing" | "inner-spacing";
|
|
54
|
+
definition: SpacingDefinition;
|
|
55
|
+
}
|
|
56
|
+
export interface TypographyBlueprint extends BlueprintItemDefinition {
|
|
57
|
+
type: "typography";
|
|
58
|
+
definition: TypographyDefinition;
|
|
59
|
+
}
|
|
60
|
+
export interface SearchBoxBlueprint extends BlueprintItemDefinition {
|
|
61
|
+
type: "searchbox";
|
|
62
|
+
borderRadius?: BoxDimensions;
|
|
63
|
+
variant?: "outlined" | "solo" | "regular" | "plain" | "underlined";
|
|
64
|
+
}
|
|
65
|
+
export interface BlueprintDefinition {
|
|
66
|
+
id: Guid;
|
|
67
|
+
name: string;
|
|
68
|
+
definitions: Array<BlueprintItemDefinition>;
|
|
69
|
+
}
|
|
@@ -1,2 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VelcronBlueprintDefintionTypes = exports.WebBlueprintDefintionTypes = void 0;
|
|
4
|
+
var WebBlueprintDefintionTypes;
|
|
5
|
+
(function (WebBlueprintDefintionTypes) {
|
|
6
|
+
WebBlueprintDefintionTypes["button"] = "button";
|
|
7
|
+
WebBlueprintDefintionTypes["block"] = "block";
|
|
8
|
+
WebBlueprintDefintionTypes["typography"] = "typography";
|
|
9
|
+
WebBlueprintDefintionTypes["searchbox"] = "searchbox";
|
|
10
|
+
WebBlueprintDefintionTypes["layoutspacing"] = "layout-spacing";
|
|
11
|
+
WebBlueprintDefintionTypes["innerspacing"] = "inner-spacing";
|
|
12
|
+
})(WebBlueprintDefintionTypes = exports.WebBlueprintDefintionTypes || (exports.WebBlueprintDefintionTypes = {}));
|
|
13
|
+
var VelcronBlueprintDefintionTypes;
|
|
14
|
+
(function (VelcronBlueprintDefintionTypes) {
|
|
15
|
+
VelcronBlueprintDefintionTypes["button"] = "button";
|
|
16
|
+
VelcronBlueprintDefintionTypes["typography"] = "typography";
|
|
17
|
+
VelcronBlueprintDefintionTypes["innerspacing"] = "inner-spacing";
|
|
18
|
+
})(VelcronBlueprintDefintionTypes = exports.VelcronBlueprintDefintionTypes || (exports.VelcronBlueprintDefintionTypes = {}));
|
|
@@ -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,6 +1,5 @@
|
|
|
1
1
|
import { Guid } from "../Guid";
|
|
2
|
-
import {
|
|
3
|
-
import { TypographyDefinition } from "./TypographyDefinition";
|
|
2
|
+
import { BluePrintDefinitions } from "./BlueprintDefinition";
|
|
4
3
|
export interface ColorTypeResult<resultType> {
|
|
5
4
|
base: resultType;
|
|
6
5
|
baseTone: resultType;
|
|
@@ -29,14 +28,7 @@ export interface ColorSchema {
|
|
|
29
28
|
container: ColorDefinition;
|
|
30
29
|
onContainer: ColorDefinition;
|
|
31
30
|
}
|
|
32
|
-
export interface
|
|
33
|
-
dark: ColorSchema;
|
|
34
|
-
light: ColorSchema;
|
|
35
|
-
}
|
|
36
|
-
export interface ThemeDefinitionV2 {
|
|
37
|
-
id: Guid;
|
|
38
|
-
name: string;
|
|
39
|
-
dark: boolean;
|
|
31
|
+
export interface ColorSchemas {
|
|
40
32
|
primary: ColorSchema;
|
|
41
33
|
secondary: ColorSchema;
|
|
42
34
|
accent1: ColorSchema;
|
|
@@ -46,10 +38,19 @@ export interface ThemeDefinitionV2 {
|
|
|
46
38
|
background: ColorSchema;
|
|
47
39
|
error: ColorSchema;
|
|
48
40
|
info: ColorSchema;
|
|
49
|
-
typography: TypographyDefinition;
|
|
50
|
-
blueprint: BlueprintDefinition;
|
|
51
41
|
}
|
|
52
|
-
export
|
|
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;
|
|
53
54
|
export declare enum ColorSchemaTypes {
|
|
54
55
|
primary = "primary",
|
|
55
56
|
secondary = "secondary",
|
|
@@ -61,10 +62,21 @@ export declare enum ColorSchemaTypes {
|
|
|
61
62
|
error = "error",
|
|
62
63
|
info = "info"
|
|
63
64
|
}
|
|
64
|
-
export type
|
|
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;
|
|
65
73
|
export declare enum ColorTypes {
|
|
66
74
|
base = "base",
|
|
67
75
|
onBase = "onBase",
|
|
68
76
|
container = "container",
|
|
69
77
|
onContainer = "onContainer"
|
|
70
78
|
}
|
|
79
|
+
export interface ColorGradient {
|
|
80
|
+
color: string;
|
|
81
|
+
stop?: number;
|
|
82
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ColorTypes = exports.ColorSchemaTypes = void 0;
|
|
3
|
+
exports.ColorTypes = exports.BlueprintTypes = exports.ColorSchemaTypes = void 0;
|
|
4
4
|
var ColorSchemaTypes;
|
|
5
5
|
(function (ColorSchemaTypes) {
|
|
6
6
|
ColorSchemaTypes["primary"] = "primary";
|
|
@@ -13,14 +13,17 @@ var ColorSchemaTypes;
|
|
|
13
13
|
ColorSchemaTypes["error"] = "error";
|
|
14
14
|
ColorSchemaTypes["info"] = "info";
|
|
15
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 = {}));
|
|
16
23
|
var ColorTypes;
|
|
17
24
|
(function (ColorTypes) {
|
|
18
25
|
ColorTypes["base"] = "base";
|
|
19
|
-
//baseTone = "baseTone",
|
|
20
26
|
ColorTypes["onBase"] = "onBase";
|
|
21
|
-
//onBaseTone = "onBaseTone",
|
|
22
27
|
ColorTypes["container"] = "container";
|
|
23
|
-
//containerTone = "containerTone",
|
|
24
28
|
ColorTypes["onContainer"] = "onContainer";
|
|
25
|
-
//onContainerTone = "onContainerTone",
|
|
26
29
|
})(ColorTypes = exports.ColorTypes || (exports.ColorTypes = {}));
|
|
@@ -1,12 +1,26 @@
|
|
|
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
25
|
export interface TypographyTypeDefinition {
|
|
12
26
|
decoration?: string;
|
|
@@ -19,12 +33,17 @@ export interface TypographyTypeBreakPoint {
|
|
|
19
33
|
size: number;
|
|
20
34
|
lineHeight: number;
|
|
21
35
|
}
|
|
22
|
-
export type TypographyType =
|
|
36
|
+
export type TypographyType = keyof typeof TypographyTypes;
|
|
23
37
|
export declare enum TypographyTypes {
|
|
24
|
-
|
|
25
|
-
h2 = "h2",
|
|
26
|
-
h3 = "h3",
|
|
38
|
+
title = "title",
|
|
27
39
|
text = "text",
|
|
28
|
-
|
|
29
|
-
|
|
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"
|
|
30
49
|
}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TypographyTypes = void 0;
|
|
3
|
+
exports.TypographySizes = exports.TypographyTypes = void 0;
|
|
4
4
|
var TypographyTypes;
|
|
5
5
|
(function (TypographyTypes) {
|
|
6
|
-
TypographyTypes["
|
|
7
|
-
TypographyTypes["h2"] = "h2";
|
|
8
|
-
TypographyTypes["h3"] = "h3";
|
|
6
|
+
TypographyTypes["title"] = "title";
|
|
9
7
|
TypographyTypes["text"] = "text";
|
|
10
|
-
TypographyTypes["
|
|
11
|
-
TypographyTypes["link"] = "link";
|
|
8
|
+
TypographyTypes["navigation"] = "navigation";
|
|
12
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 = {}));
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ColorDefinition, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes
|
|
2
|
-
import { TypographyType, TypographyTypeDefinition, TypographyTypes } from "./TypographyDefinition";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
8
|
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
|
7
9
|
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
|
|
8
10
|
complementaryColorType: (colorType: ColorTypes | ColorType) => ColorTypes;
|
|
@@ -1,58 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useThemeMethods = void 0;
|
|
4
|
+
//import { ThemeDefinitionInstance } from "@omnia/fx/ux";
|
|
4
5
|
const ThemeDefinitionV2_1 = require("./ThemeDefinitionV2");
|
|
5
6
|
const TypographyDefinition_1 = require("./TypographyDefinition");
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
// temp change ThemeDefinitionInstance to any because fx/shared can't reference higher level fx/ux
|
|
8
|
+
function useThemeMethods(getThemeDefinition) {
|
|
9
|
+
function colorSchema(colorSchemaType) {
|
|
8
10
|
if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.primary) {
|
|
9
|
-
return
|
|
11
|
+
return getThemeDefinition().colors.primary;
|
|
10
12
|
}
|
|
11
13
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.secondary) {
|
|
12
|
-
return
|
|
14
|
+
return getThemeDefinition().colors.secondary;
|
|
13
15
|
}
|
|
14
16
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent1) {
|
|
15
|
-
return
|
|
17
|
+
return getThemeDefinition().colors.accent1;
|
|
16
18
|
}
|
|
17
19
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent2) {
|
|
18
|
-
return
|
|
20
|
+
return getThemeDefinition().colors.accent2;
|
|
19
21
|
}
|
|
20
22
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.accent3) {
|
|
21
|
-
return
|
|
23
|
+
return getThemeDefinition().colors.accent3;
|
|
22
24
|
}
|
|
23
25
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.background) {
|
|
24
|
-
return
|
|
26
|
+
return getThemeDefinition().colors.background;
|
|
25
27
|
}
|
|
26
28
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.neutral) {
|
|
27
|
-
return
|
|
29
|
+
return getThemeDefinition().colors.neutral;
|
|
28
30
|
}
|
|
29
31
|
else if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.error) {
|
|
30
|
-
return
|
|
32
|
+
return getThemeDefinition().colors.error;
|
|
31
33
|
}
|
|
32
|
-
return
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
if (
|
|
36
|
-
return
|
|
34
|
+
return getThemeDefinition().colors.background;
|
|
35
|
+
}
|
|
36
|
+
function blueprint(blueprintType) {
|
|
37
|
+
if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.default) {
|
|
38
|
+
return getThemeDefinition().blueprints.default;
|
|
37
39
|
}
|
|
38
|
-
else if (
|
|
39
|
-
return
|
|
40
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant1) {
|
|
41
|
+
return getThemeDefinition().blueprints.variant1;
|
|
40
42
|
}
|
|
41
|
-
else if (
|
|
42
|
-
return
|
|
43
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant2) {
|
|
44
|
+
return getThemeDefinition().blueprints.variant2;
|
|
43
45
|
}
|
|
44
|
-
else if (
|
|
45
|
-
return
|
|
46
|
+
else if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.variant3) {
|
|
47
|
+
return getThemeDefinition().blueprints.variant3;
|
|
46
48
|
}
|
|
47
|
-
|
|
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];
|
|
49
55
|
}
|
|
50
|
-
else if (typographyType === TypographyDefinition_1.TypographyTypes.
|
|
51
|
-
return
|
|
56
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.title) {
|
|
57
|
+
return typographyBlueprint.definition.title[size];
|
|
52
58
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.navigation) {
|
|
60
|
+
return typographyBlueprint.definition[size];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function color(colorSchemaType, colorType) {
|
|
56
64
|
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
57
65
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
58
66
|
return mappedColorSchema.base.color;
|
|
@@ -67,8 +75,8 @@ const useThemeMethods = (themedefinition) => {
|
|
|
67
75
|
return mappedColorSchema.onContainer.color;
|
|
68
76
|
}
|
|
69
77
|
return colorType;
|
|
70
|
-
}
|
|
71
|
-
|
|
78
|
+
}
|
|
79
|
+
function colorDefinition(colorSchemaType, colorType) {
|
|
72
80
|
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
73
81
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
74
82
|
return mappedColorSchema.base;
|
|
@@ -83,8 +91,8 @@ const useThemeMethods = (themedefinition) => {
|
|
|
83
91
|
return mappedColorSchema.onContainer;
|
|
84
92
|
}
|
|
85
93
|
return mappedColorSchema.base;
|
|
86
|
-
}
|
|
87
|
-
|
|
94
|
+
}
|
|
95
|
+
function complementaryColorType(colorType) {
|
|
88
96
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
89
97
|
return ThemeDefinitionV2_1.ColorTypes.onBase;
|
|
90
98
|
}
|
|
@@ -98,17 +106,18 @@ const useThemeMethods = (themedefinition) => {
|
|
|
98
106
|
return ThemeDefinitionV2_1.ColorTypes.container;
|
|
99
107
|
}
|
|
100
108
|
return colorType;
|
|
101
|
-
}
|
|
102
|
-
|
|
109
|
+
}
|
|
110
|
+
function complementaryColor(colorSchemaType, colorType) {
|
|
103
111
|
const matchingColorType = complementaryColorType(colorType);
|
|
104
112
|
return color(colorSchemaType, matchingColorType);
|
|
105
|
-
}
|
|
106
|
-
|
|
113
|
+
}
|
|
114
|
+
function complementaryColorDefinition(colorSchemaType, colorType) {
|
|
107
115
|
const matchingColorType = complementaryColorType(colorType);
|
|
108
116
|
return colorDefinition(colorSchemaType, matchingColorType);
|
|
109
|
-
}
|
|
117
|
+
}
|
|
110
118
|
return {
|
|
111
119
|
colorSchema,
|
|
120
|
+
blueprint,
|
|
112
121
|
typography,
|
|
113
122
|
color,
|
|
114
123
|
colorDefinition,
|
|
@@ -116,5 +125,5 @@ const useThemeMethods = (themedefinition) => {
|
|
|
116
125
|
complementaryColor,
|
|
117
126
|
complementaryColorDefinition,
|
|
118
127
|
};
|
|
119
|
-
}
|
|
128
|
+
}
|
|
120
129
|
exports.useThemeMethods = useThemeMethods;
|
|
@@ -2,3 +2,7 @@ export * from "./ThemeDefinitionV2";
|
|
|
2
2
|
export * from "./TypographyDefinition";
|
|
3
3
|
export * from "./OmniaThemes";
|
|
4
4
|
export * from "./UseThemeMethods";
|
|
5
|
+
export * from "./BlueprintDefinition";
|
|
6
|
+
export * from "./SpacingSetting";
|
|
7
|
+
export * from "./SharedBlueprintMethods";
|
|
8
|
+
export * from "./SharedColorMethods";
|
|
@@ -5,3 +5,7 @@ tslib_1.__exportStar(require("./ThemeDefinitionV2"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./TypographyDefinition"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./OmniaThemes"), exports);
|
|
7
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
|
+
}
|