@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,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//have issue with guidvalue can't auto cast to string if have more extension method here.
|
|
4
|
+
// declare global {
|
|
5
|
+
// interface String {
|
|
6
|
+
// equals?: {
|
|
7
|
+
// component<TElement = typeof omfx>(cb: (elements: TElement) => any): boolean;
|
|
8
|
+
// }
|
|
9
|
+
// }
|
|
10
|
+
// }
|
|
11
|
+
const _equalsObject = {};
|
|
12
|
+
// only add extension methods when running in browser, not in node.js
|
|
13
|
+
if (globalThis.omnia) {
|
|
14
|
+
Object.defineProperty(String.prototype, "equals", {
|
|
15
|
+
value: function () {
|
|
16
|
+
return _equalsObject;
|
|
17
|
+
},
|
|
18
|
+
writable: false,
|
|
19
|
+
configurable: false,
|
|
20
|
+
enumerable: false
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(Object.prototype, "equals", {
|
|
23
|
+
value: function () {
|
|
24
|
+
return _equalsObject;
|
|
25
|
+
},
|
|
26
|
+
writable: true,
|
|
27
|
+
configurable: false,
|
|
28
|
+
enumerable: false
|
|
29
|
+
});
|
|
30
|
+
// Object.defineProperty(String.prototype["equals"], "element", {
|
|
31
|
+
// value: function () {
|
|
32
|
+
// return function (cb: (elements) => any) {
|
|
33
|
+
// const elementName = cb(new Proxy({}, {
|
|
34
|
+
// get(target, key: string) {
|
|
35
|
+
// return key;
|
|
36
|
+
// }
|
|
37
|
+
// }) as any);
|
|
38
|
+
// return this.toString().replace(/-/g, "").toLowerCase().indexof(elementName.toLowerCase()) > -1;
|
|
39
|
+
// };
|
|
40
|
+
// },
|
|
41
|
+
// writable: false,
|
|
42
|
+
// configurable: false,
|
|
43
|
+
// enumerable: false
|
|
44
|
+
// });
|
|
45
|
+
}
|
|
@@ -14,7 +14,10 @@ export declare class Future<T> extends Promise<T> {
|
|
|
14
14
|
* @return {*} {Future<{ success?: T, error?: Error; }>}
|
|
15
15
|
* @memberof Future
|
|
16
16
|
*/
|
|
17
|
-
tryCatch(): Future<
|
|
17
|
+
tryCatch(): Future<{
|
|
18
|
+
success: T;
|
|
19
|
+
error: Error;
|
|
20
|
+
}>;
|
|
18
21
|
/**
|
|
19
22
|
* Aborts the request
|
|
20
23
|
*
|
|
@@ -5,16 +5,18 @@ class Future extends Promise {
|
|
|
5
5
|
constructor(executor) {
|
|
6
6
|
let resolveLocal;
|
|
7
7
|
let rejectLocal;
|
|
8
|
+
// Cant have function here since this is undefined in setTimeout
|
|
9
|
+
// eslint-disable-next-line func-style
|
|
8
10
|
const onAborted = (cb) => {
|
|
9
11
|
setTimeout(() => {
|
|
10
12
|
this.onAborted = cb;
|
|
11
13
|
});
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
function exec(resolve, reject) {
|
|
14
16
|
// assign to local to prevent error assignbefore call super;
|
|
15
17
|
resolveLocal = resolve;
|
|
16
18
|
rejectLocal = reject;
|
|
17
|
-
}
|
|
19
|
+
}
|
|
18
20
|
super(exec);
|
|
19
21
|
this.resolving = false;
|
|
20
22
|
this._resolved = false;
|
|
@@ -46,10 +48,10 @@ class Future extends Promise {
|
|
|
46
48
|
return new Future(async (resolve) => {
|
|
47
49
|
try {
|
|
48
50
|
const data = await this;
|
|
49
|
-
resolve(
|
|
51
|
+
resolve({ success: data, error: undefined });
|
|
50
52
|
}
|
|
51
|
-
catch (
|
|
52
|
-
resolve(
|
|
53
|
+
catch (error) {
|
|
54
|
+
resolve({ success: undefined, error });
|
|
53
55
|
}
|
|
54
56
|
});
|
|
55
57
|
}
|
|
@@ -90,13 +92,19 @@ class Future extends Promise {
|
|
|
90
92
|
}
|
|
91
93
|
get [Symbol.toStringTag]() {
|
|
92
94
|
// return Object value to make vue can build get/set reactive.
|
|
93
|
-
return "Object";
|
|
95
|
+
// return "Object";
|
|
96
|
+
//<<vue3>> back to normal because vue 3 use native proxy.
|
|
97
|
+
return "Future";
|
|
94
98
|
}
|
|
95
99
|
static new() {
|
|
96
100
|
return new Future(() => { });
|
|
97
101
|
}
|
|
98
102
|
}
|
|
99
103
|
exports.Future = Future;
|
|
104
|
+
// Future.prototype["promise_then"] = Promise.prototype.then;
|
|
105
|
+
// Future.prototype["then"] = function (resolve, reject) {
|
|
106
|
+
// return Future.prototype["promise_then"].apply(this, arguments);
|
|
107
|
+
// };
|
|
100
108
|
class ResponsePromise extends Promise {
|
|
101
109
|
constructor(executor) {
|
|
102
110
|
const onCancel = (cb) => {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import "./Equals";
|
|
2
|
+
import { IEquals } from "./Equals";
|
|
3
|
+
export interface GuidValue extends Partial<IEquals<{
|
|
4
|
+
guid(value: GuidValue): boolean;
|
|
5
|
+
}>> {
|
|
2
6
|
toString: () => string;
|
|
3
7
|
}
|
|
4
8
|
/**
|
|
@@ -6,10 +10,13 @@ export interface GuidValue {
|
|
|
6
10
|
*/
|
|
7
11
|
export declare class Guid implements GuidValue {
|
|
8
12
|
private static _empty;
|
|
13
|
+
private value;
|
|
14
|
+
equals: {
|
|
15
|
+
guid: (value: GuidValue) => boolean;
|
|
16
|
+
};
|
|
9
17
|
static newGuid(): GuidValue;
|
|
10
18
|
static get empty(): GuidValue;
|
|
11
19
|
static isValid(guid: string | GuidValue): boolean;
|
|
12
|
-
private value;
|
|
13
20
|
constructor(guid: string);
|
|
14
21
|
toString(): string;
|
|
15
22
|
toJSON: () => string;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Guid = void 0;
|
|
2
4
|
//export interface GuidValue {
|
|
3
5
|
// :string;
|
|
4
6
|
//}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
require("./Equals"); // ensure execute code in equals first
|
|
8
|
+
// export interface GuidValue {
|
|
9
|
+
// toString: () => string;
|
|
10
|
+
// }
|
|
7
11
|
/**
|
|
8
12
|
* Class to create a guid
|
|
9
13
|
*/
|
|
@@ -26,7 +30,12 @@ class Guid {
|
|
|
26
30
|
return validRegex.test(guid.toString());
|
|
27
31
|
}
|
|
28
32
|
constructor(guid) {
|
|
29
|
-
this.value =
|
|
33
|
+
this.value = "";
|
|
34
|
+
this.equals = {
|
|
35
|
+
guid: (value) => {
|
|
36
|
+
return this.toString() === value.toString();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
30
39
|
//We serialize as string value
|
|
31
40
|
this.toJSON = () => {
|
|
32
41
|
return this.value.toLowerCase();
|
|
@@ -47,5 +56,18 @@ class Guid {
|
|
|
47
56
|
return this.value.toLowerCase();
|
|
48
57
|
}
|
|
49
58
|
}
|
|
59
|
+
Guid._empty = new Guid("00000000-0000-0000-0000-000000000000");
|
|
50
60
|
exports.Guid = Guid;
|
|
51
|
-
|
|
61
|
+
// only add extension methods when running in browser, not in node.js
|
|
62
|
+
if (globalThis.omnia) {
|
|
63
|
+
Object.defineProperty(String.prototype["equals"], "guid", {
|
|
64
|
+
value: function () {
|
|
65
|
+
return function (value) {
|
|
66
|
+
return this.toString() === value.toString();
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
writable: false,
|
|
70
|
+
configurable: false,
|
|
71
|
+
enumerable: false
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type HttpMethods = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
|
|
2
|
+
export type HttpCacheOptions = "no-cache" | "reload" | "force-cache" | "only-if-cached";
|
|
3
|
+
export type HttpCredentials = "include" | "omit" | "same-origin";
|
|
4
|
+
export interface HttpInterceptOptions {
|
|
5
|
+
beforeRequest?: (request: HttpConfig) => HttpConfig;
|
|
6
|
+
afterRequest?: <T>(response: HttpResponse<T>, request: HttpConfig) => HttpResponse<T>;
|
|
7
|
+
}
|
|
8
|
+
export interface HttpConfig {
|
|
9
|
+
baseUrl?: string;
|
|
10
|
+
headers?: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
cache?: HttpCacheOptions;
|
|
14
|
+
interceptors?: HttpInterceptOptions;
|
|
15
|
+
abortable?: boolean;
|
|
16
|
+
credentials?: HttpCredentials;
|
|
17
|
+
executeOnWorker?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface HttpResponse<TData> {
|
|
20
|
+
data?: TData;
|
|
21
|
+
status: Number;
|
|
22
|
+
statusText: String;
|
|
23
|
+
ok: Boolean;
|
|
24
|
+
}
|
|
@@ -13,12 +13,19 @@ export interface OmniaSharedBootstrapData {
|
|
|
13
13
|
*/
|
|
14
14
|
tokenKey?: OmniaToken;
|
|
15
15
|
tokenRef: GuidValue;
|
|
16
|
+
identity: string;
|
|
16
17
|
licenses: Array<Guid>;
|
|
17
18
|
hubDev?: boolean;
|
|
18
19
|
realtimeDevPort?: string;
|
|
19
20
|
tenant: TenantIdentifier;
|
|
20
21
|
servingMode?: boolean;
|
|
21
22
|
serviceDnsMapping: OmniaServiceToDnsMapping;
|
|
23
|
+
authDisabled?: boolean;
|
|
24
|
+
analytics: OmniaAnalytics;
|
|
25
|
+
}
|
|
26
|
+
export interface OmniaAnalytics {
|
|
27
|
+
paq: any[];
|
|
28
|
+
enabled: boolean;
|
|
22
29
|
}
|
|
23
30
|
export interface OmniaServiceToDnsMapping {
|
|
24
31
|
[serviceId: string]: string;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { HttpResponse } from "./HttpCommon";
|
|
1
2
|
import { Guid } from "./Guid";
|
|
2
3
|
import { WorkerProxyFunction } from "./Workers";
|
|
3
4
|
export declare const WorkerProxyFuncs: {
|
|
4
5
|
ui: {
|
|
5
6
|
loadManifests: WorkerProxyFunction<Guid[], Guid[]>;
|
|
6
7
|
};
|
|
7
|
-
worker: {
|
|
8
|
+
worker: {
|
|
9
|
+
httpRequest: WorkerProxyFunction<{
|
|
10
|
+
url: string;
|
|
11
|
+
reqInit: Omit<RequestInit, "window" | "signal">;
|
|
12
|
+
}, Promise<HttpResponse<any>>>;
|
|
13
|
+
};
|
|
8
14
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ActivityRenderer, ActivityRendererReference, DynamicState, GuidValue, StronglyTypedId } from "../..";
|
|
2
|
+
import { ChannelId } from "./ActivityChannel";
|
|
3
|
+
import { ActivitySenderId } from "./ActivitySender";
|
|
4
|
+
export type ActivityId = StronglyTypedId<number, "ActivityId">;
|
|
5
|
+
export declare function ActivityId(id: number): ActivityId;
|
|
6
|
+
export type ActivityTypeId = StronglyTypedId<GuidValue, "ActivityTypeId">;
|
|
7
|
+
export declare function ActivityTypeId(id: GuidValue): ActivityTypeId;
|
|
8
|
+
export interface Activity<TRenderState = DynamicState> extends ActivityBase {
|
|
9
|
+
id: ActivityId;
|
|
10
|
+
state: TRenderState;
|
|
11
|
+
renderer: ActivityRenderer | ActivityRendererReference;
|
|
12
|
+
senderId: ActivitySenderId;
|
|
13
|
+
}
|
|
14
|
+
export interface ActivityWithJson extends ActivityBase {
|
|
15
|
+
id: ActivityId;
|
|
16
|
+
senderId: ActivitySenderId;
|
|
17
|
+
stateJson: string;
|
|
18
|
+
rendererJson: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ActivityBase {
|
|
21
|
+
channelId: ChannelId;
|
|
22
|
+
activityTypeId: ActivityTypeId;
|
|
23
|
+
targeting: Array<Array<HubIdentityProperty>>;
|
|
24
|
+
notificationTeaser: NotificationTeaser;
|
|
25
|
+
expires?: Date;
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
}
|
|
28
|
+
export interface ActivityRenderState<TActivityState = DynamicState, TIdentityState = DynamicState> {
|
|
29
|
+
activity: TActivityState;
|
|
30
|
+
identity: TIdentityState;
|
|
31
|
+
}
|
|
32
|
+
export interface HubIdentityProperty {
|
|
33
|
+
name: string;
|
|
34
|
+
values: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
export interface NotificationTeaser {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
url: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivityTypeId = exports.ActivityId = void 0;
|
|
4
|
+
function ActivityId(id) { return id; }
|
|
5
|
+
exports.ActivityId = ActivityId;
|
|
6
|
+
function ActivityTypeId(id) { return id; }
|
|
7
|
+
exports.ActivityTypeId = ActivityTypeId;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VelcronAppDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { GuidValue, StronglyTypedId } from "../..";
|
|
3
|
+
export type ActivityRendererId = StronglyTypedId<string, "ActivityRendererId">;
|
|
4
|
+
export declare function ActivityRendererId(id: GuidValue): ActivityRendererId;
|
|
5
|
+
export interface ActivityRendererReference {
|
|
6
|
+
id: ActivityRendererId;
|
|
7
|
+
version: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ActivityRendererWithJson extends ActivityRendererReference {
|
|
10
|
+
definition: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ActivityRenderer extends ActivityRendererReference {
|
|
13
|
+
definition: VelcronAppDefinition;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum ActivitySenderId {
|
|
2
|
+
}
|
|
3
|
+
export interface ActivitySender extends ActivitySenderBase {
|
|
4
|
+
id: ActivitySenderId;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ActivitySenderBase {
|
|
8
|
+
name: Record<string, string>;
|
|
9
|
+
description: Record<string, string>;
|
|
10
|
+
externalId: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Activity, ActivityId, ActivityWithJson } from "./Activity";
|
|
2
|
+
import { ActivityRenderer, ActivityRendererId, ActivityRendererWithJson } from "./ActivityRenderer";
|
|
3
|
+
import { IdentityActivity, IdentityActivityWithJson } from "./IdentityActivity";
|
|
4
|
+
export interface FeedResult {
|
|
5
|
+
renderers: {
|
|
6
|
+
[key: ActivityRendererId]: ActivityRenderer;
|
|
7
|
+
};
|
|
8
|
+
identityActivities: Array<IdentityActivity>;
|
|
9
|
+
activities: Array<Activity>;
|
|
10
|
+
nextStartingFromId: ActivityId;
|
|
11
|
+
}
|
|
12
|
+
export interface FeedResultWithJson {
|
|
13
|
+
renderers: {
|
|
14
|
+
[key: ActivityRendererId]: ActivityRendererWithJson;
|
|
15
|
+
};
|
|
16
|
+
identityActivities: Array<IdentityActivityWithJson>;
|
|
17
|
+
activities: Array<ActivityWithJson>;
|
|
18
|
+
nextStartingFromId: ActivityId;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DynamicState } from "../..";
|
|
2
|
+
import { Activity, ActivityId } from "./Activity";
|
|
3
|
+
export declare enum IdentityActivityStatus {
|
|
4
|
+
unRead = 0,
|
|
5
|
+
read = 1,
|
|
6
|
+
completed = 2
|
|
7
|
+
}
|
|
8
|
+
export interface IdentityActivityBase {
|
|
9
|
+
activityId: ActivityId;
|
|
10
|
+
status: IdentityActivityStatus;
|
|
11
|
+
}
|
|
12
|
+
export interface IdentityActivity<TRenderState extends DynamicState | undefined = undefined, TState extends DynamicState | undefined = undefined> extends IdentityActivityBase {
|
|
13
|
+
activity: Activity<TRenderState>;
|
|
14
|
+
state?: TState;
|
|
15
|
+
}
|
|
16
|
+
export interface IdentityActivityWithJson extends IdentityActivityBase {
|
|
17
|
+
stateJson: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdentityActivityStatus = void 0;
|
|
4
|
+
var IdentityActivityStatus;
|
|
5
|
+
(function (IdentityActivityStatus) {
|
|
6
|
+
IdentityActivityStatus[IdentityActivityStatus["unRead"] = 0] = "unRead";
|
|
7
|
+
IdentityActivityStatus[IdentityActivityStatus["read"] = 1] = "read";
|
|
8
|
+
IdentityActivityStatus[IdentityActivityStatus["completed"] = 2] = "completed";
|
|
9
|
+
})(IdentityActivityStatus = exports.IdentityActivityStatus || (exports.IdentityActivityStatus = {}));
|
|
10
|
+
// Usage
|
|
11
|
+
// const activity1: IdentityActivity<SomeRenderState> = {
|
|
12
|
+
// activity: {
|
|
13
|
+
// // Initialize your Activity here
|
|
14
|
+
// },
|
|
15
|
+
// state: {
|
|
16
|
+
// // Initialize your State here
|
|
17
|
+
// },
|
|
18
|
+
// };
|
|
19
|
+
// const activity2: IdentityActivity<SomeRenderState, SomeState> = {
|
|
20
|
+
// activity: {
|
|
21
|
+
// // Initialize your Activity here
|
|
22
|
+
// },
|
|
23
|
+
// state: {
|
|
24
|
+
// // Initialize your State here
|
|
25
|
+
// },
|
|
26
|
+
// };
|
|
27
|
+
// const activity3: IdentityActivityWithJson = {
|
|
28
|
+
// activityId: 22,
|
|
29
|
+
// status: IdentityActivityStatus.unRead,
|
|
30
|
+
// stateJson: "someJson",
|
|
31
|
+
// };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Activity"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./IdentityActivity"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ActivityRenderer"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ActivitySender"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ActivityChannel"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./FeedResult"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./activities";
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
export * from "./Equals";
|
|
1
2
|
export * from "./Guid";
|
|
2
3
|
export * from "./Broadcasting";
|
|
3
4
|
export * from "./Topic";
|
|
4
5
|
export * from "./Workers";
|
|
5
6
|
export * from "./SharedConstants";
|
|
6
7
|
export * from "./WorkerProxyFuncs";
|
|
7
|
-
export * from "./
|
|
8
|
+
export * from "./HttpCommon";
|
|
8
9
|
export * from "./Future";
|
|
9
10
|
export * from "./Tokens";
|
|
10
11
|
export * from "./Tenant";
|
|
11
12
|
export * from "./Realtime";
|
|
12
13
|
export * from "./OmniaSharedBootstrapData";
|
|
13
14
|
export * from "./StringExtensions";
|
|
15
|
+
export * from "./DynamicState";
|
|
16
|
+
export * from "./StronglyTypedId";
|
|
14
17
|
export * from "./theming";
|
|
18
|
+
export * from "./hub";
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
//! <omnia-transform-resource path="9a75501c-254b-46d1-9010-7b13681e06f4" />
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./Equals"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./Guid"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./Broadcasting"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./Topic"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./Workers"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./SharedConstants"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./WorkerProxyFuncs"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./
|
|
12
|
+
tslib_1.__exportStar(require("./HttpCommon"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./Future"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./Tokens"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./Tenant"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./Realtime"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./OmniaSharedBootstrapData"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./StringExtensions"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DynamicState"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./StronglyTypedId"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./theming"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./hub"), exports);
|
|
@@ -1,27 +1,63 @@
|
|
|
1
1
|
import { Guid } from "../Guid";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
left: number;
|
|
2
|
+
import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
|
|
3
|
+
import { ColorSchemaType, ColorSchemaTypes } from "./ThemeDefinitionV2";
|
|
4
|
+
import { TypographyDefinition } from "./TypographyDefinition";
|
|
5
|
+
export interface BoxDimensions extends SpacingSettings {
|
|
7
6
|
}
|
|
8
7
|
export interface BoxBorder extends BoxDimensions {
|
|
9
8
|
color: string;
|
|
10
9
|
}
|
|
11
|
-
export interface
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
export interface BluePrintDefinitions {
|
|
11
|
+
default: BlueprintDefinition;
|
|
12
|
+
variant1: BlueprintDefinition;
|
|
13
|
+
variant2: BlueprintDefinition;
|
|
14
|
+
variant3: BlueprintDefinition;
|
|
15
|
+
}
|
|
16
|
+
export type WebBlueprintDefintionType = "button" | "block" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
|
|
17
|
+
export declare enum WebBlueprintDefintionTypes {
|
|
18
|
+
button = "button",
|
|
19
|
+
block = "block",
|
|
20
|
+
typography = "typography",
|
|
21
|
+
searchbox = "searchbox",
|
|
22
|
+
layoutspacing = "layout-spacing",
|
|
23
|
+
innerspacing = "inner-spacing"
|
|
24
|
+
}
|
|
25
|
+
export type VelcronBlueprintDefintionType = "button" | "typography" | "inner-spacing";
|
|
26
|
+
export declare enum VelcronBlueprintDefintionTypes {
|
|
27
|
+
button = "button",
|
|
28
|
+
typography = "typography",
|
|
29
|
+
innerspacing = "inner-spacing"
|
|
30
|
+
}
|
|
31
|
+
export interface BlueprintItemDefinition {
|
|
32
|
+
type: VelcronBlueprintDefintionType | WebBlueprintDefintionType;
|
|
33
|
+
}
|
|
34
|
+
export interface BlockBlueprint extends BlueprintItemDefinition {
|
|
35
|
+
type: "block";
|
|
36
|
+
header?: {
|
|
37
|
+
definitionId: Guid;
|
|
19
38
|
};
|
|
20
|
-
|
|
21
|
-
|
|
39
|
+
colors?: {
|
|
40
|
+
colorSchemaType: ColorSchemaTypes | ColorSchemaType;
|
|
22
41
|
};
|
|
23
|
-
|
|
24
|
-
borderRadius
|
|
25
|
-
|
|
42
|
+
styles?: {
|
|
43
|
+
borderRadius: BoxDimensions;
|
|
44
|
+
border: BoxBorder;
|
|
26
45
|
};
|
|
27
46
|
}
|
|
47
|
+
export interface SpacingBlueprint {
|
|
48
|
+
type: "layout-spacing" | "inner-spacing";
|
|
49
|
+
definition: SpacingDefinition;
|
|
50
|
+
}
|
|
51
|
+
export interface TypographyBlueprint extends BlueprintItemDefinition {
|
|
52
|
+
type: "typography";
|
|
53
|
+
definition: TypographyDefinition;
|
|
54
|
+
}
|
|
55
|
+
export interface SearchBoxBlueprint extends BlueprintItemDefinition {
|
|
56
|
+
type: "searchbox";
|
|
57
|
+
borderRadius?: BoxDimensions;
|
|
58
|
+
variant?: "outlined" | "solo" | "regular" | "plain" | "underlined";
|
|
59
|
+
}
|
|
60
|
+
export interface BlueprintDefinition {
|
|
61
|
+
id: Guid;
|
|
62
|
+
definitions: Array<BlueprintItemDefinition>;
|
|
63
|
+
}
|
|
@@ -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 = {}));
|