@omnia/fx-models 8.0.43-vnext → 8.0.44-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/BlockTitleSettings.d.ts +4 -4
- package/BusinessProfile.d.ts +5 -1
- package/BusinessProfile.js +8 -1
- package/BusinessProfileDallEPromptDefault.d.ts +5 -0
- package/BusinessProfileDallEPromptDefault.js +11 -0
- package/ChromeLayoutDefinition.d.ts +4 -0
- package/ChromeLayoutDefinition.js +10 -0
- package/ClientManifests.d.ts +8 -4
- package/Constants.d.ts +29 -0
- package/Constants.js +35 -31
- package/Dictionary.d.ts +18 -19
- package/Dictionary.js +16 -24
- package/Enums.d.ts +22 -4
- package/Enums.js +22 -2
- package/Exposes.d.ts +17 -0
- package/Exposes.js +17 -0
- package/FileValidationResult.d.ts +4 -0
- package/FileValidationResult.js +8 -0
- package/FilterEngineStyles.d.ts +8 -0
- package/FilterpickerModel.d.ts +9 -0
- package/ISpecialUserConfiguration.d.ts +3 -0
- package/ISpecialUserConfiguration.js +2 -0
- package/Icon.d.ts +9 -0
- package/Icon.js +58 -0
- package/Journey.d.ts +3 -3
- package/Layout.d.ts +38 -13
- package/Layout.js +1 -0
- package/ManifestIds.d.ts +90 -4
- package/ManifestIds.js +251 -8
- package/NotNullish.d.ts +1 -0
- package/NotNullish.js +7 -0
- package/NullOf.d.ts +2 -0
- package/NullOf.js +7 -0
- package/PermissionInputSettings.d.ts +2 -0
- package/RollupMetricSettings.d.ts +14 -0
- package/RollupMetricSettings.js +2 -0
- package/RollupQuery.d.ts +7 -1
- package/RollupQuery.js +5 -0
- package/Secrets.d.ts +1 -0
- package/SignInLayout.d.ts +1 -0
- package/SignInLayout.js +4 -0
- package/SocialReaction.d.ts +4 -2
- package/admin/AdminModels.d.ts +42 -0
- package/apps/App.d.ts +2 -0
- package/apps/AppInstanceRollup.d.ts +2 -2
- 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/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/dalle/CreateImageResponse.d.ts +1 -1
- package/azure-openai/dalle/index.d.ts +1 -0
- package/azure-openai/dalle/index.js +1 -0
- package/azure-openai/textcompletion/TextCompletionRequest.d.ts +1 -1
- package/azure-openai/textcompletion/TextCompletionResult.d.ts +1 -1
- 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/enterprise-properties/EnterpriseProperty.d.ts +1 -0
- package/enterprise-properties/EnterprisePropertyItemSettings.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 +27 -2
- package/filterengine/Shared.js +21 -1
- package/identities/ArchiveIdentityManagementQuery.d.ts +13 -0
- package/identities/ArchiveIdentityManagementQuery.js +16 -0
- package/identities/DynamicGroupIdentity.d.ts +1 -0
- package/identities/ExtensionIdentity.d.ts +1 -0
- package/identities/GroupIdentity.d.ts +3 -0
- package/identities/GroupManagementQuery.d.ts +13 -0
- package/identities/GroupManagementQuery.js +16 -0
- package/identities/Identity.d.ts +10 -6
- package/identities/Identity.js +7 -6
- 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/IdentityQuery.d.ts +10 -5
- package/identities/IdentityQuery.js +9 -5
- package/identities/RoleIdentity.d.ts +1 -0
- package/identities/UserIdentity.d.ts +8 -0
- 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 +26 -0
- package/identities/UserTypeSettings.js +32 -0
- package/identities/index.d.ts +5 -0
- package/identities/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.js +2 -0
- package/internal-do-not-import-from-here/shared/models/Equals.js +31 -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 +1 -0
- package/internal-do-not-import-from-here/shared/models/Guid.js +3 -2
- 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/Realtime.d.ts +1 -13
- package/internal-do-not-import-from-here/shared/models/Realtime.js +1 -22
- 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/ExternalIdentityId.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/ExternalIdentityId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +20 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +63 -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 +32 -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 +15 -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 +38 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.js +39 -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/fileupload/FileOwnerId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.js +8 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +4 -1
- package/internal-do-not-import-from-here/shared/models/index.js +4 -1
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +31 -19
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +3 -1
- 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 +22 -4
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.js +9 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +7 -3
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +36 -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 -7
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +26 -34
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/index.js +2 -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 +12 -6
- package/internal-do-not-import-from-here/velcron/core/models/Enums.js +14 -7
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +147 -71
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.js +2 -2
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +344 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +127 -0
- package/internal-do-not-import-from-here/velcron/core/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/velcron/core/models/index.js +2 -0
- 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 -5
- package/media-picker/index.js +3 -5
- 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 +181 -88
- package/oxide/OxideTypeDefinitions.js +114 -61
- package/oxide/SharedSettings.d.ts +8 -0
- package/oxide/SharedSettings.js +2 -0
- package/oxide/index.d.ts +1 -0
- package/oxide/index.js +1 -0
- package/package.json +1 -1
- package/properties/IPropertyValueRenderer.d.ts +6 -4
- package/properties/PropertyBinding.d.ts +1 -0
- package/properties/PropertyDefinition.d.ts +6 -1
- package/properties/PropertyDefinition.js +4 -1
- package/properties/PropertyValue.d.ts +3 -0
- package/properties/PropertyValue.js +10 -0
- 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/DataSourceProperty.d.ts +1 -0
- package/properties/datasource/UserDataSourceProperty.d.ts +12 -0
- package/properties/datasource/UserDataSourceProperty.js +20 -0
- package/properties/datasource/index.d.ts +1 -0
- package/properties/datasource/index.js +1 -0
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +6 -7
- package/properties/definitions/BirthdayPropertyDefinition.js +7 -1
- package/properties/definitions/BooleanPropertyDefinition.d.ts +3 -3
- package/properties/definitions/BooleanPropertyDefinition.js +4 -1
- package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +14 -0
- package/properties/definitions/BusinessProfilePropertyDefinition.js +17 -0
- package/properties/definitions/DatePropertyDefinition.d.ts +21 -6
- package/properties/definitions/DatePropertyDefinition.js +33 -1
- package/properties/definitions/DateTimePropertyDefinition.d.ts +10 -6
- package/properties/definitions/DateTimePropertyDefinition.js +7 -1
- package/properties/definitions/EmailPropertyDefinition.d.ts +3 -4
- package/properties/definitions/EmailPropertyDefinition.js +4 -1
- package/properties/definitions/HtmlPropertyDefinition.d.ts +6 -7
- package/properties/definitions/HtmlPropertyDefinition.js +7 -1
- package/properties/definitions/IdentityPropertyDefinition.d.ts +8 -5
- package/properties/definitions/IdentityPropertyDefinition.js +6 -2
- package/properties/definitions/ImagePropertyDefinition.d.ts +7 -6
- package/properties/definitions/ImagePropertyDefinition.js +9 -2
- package/properties/definitions/IntegerPropertyDefinition.d.ts +3 -5
- package/properties/definitions/IntegerPropertyDefinition.js +4 -1
- package/properties/definitions/LanguagePropertyDefinition.d.ts +3 -6
- package/properties/definitions/LanguagePropertyDefinition.js +5 -2
- package/properties/definitions/LinkPropertyDefinition.d.ts +4 -6
- package/properties/definitions/LinkPropertyDefinition.js +4 -1
- package/properties/definitions/MediaPropertyDefinition.d.ts +3 -3
- package/properties/definitions/MediaPropertyDefinition.js +4 -1
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +3 -5
- package/properties/definitions/MultilineTextPropertyDefinition.js +4 -1
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +6 -7
- package/properties/definitions/MultilingualTextPropertyDefinition.js +8 -4
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +3 -5
- package/properties/definitions/PhoneNumberPropertyDefinition.js +4 -1
- package/properties/definitions/TagsPropertyDefinition.d.ts +12 -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 +4 -5
- package/properties/definitions/TextPropertyDefinition.js +6 -2
- package/properties/definitions/TimePropertyDefinition.d.ts +5 -6
- package/properties/definitions/TimePropertyDefinition.js +7 -1
- package/properties/definitions/UserTypePropertyDefinition.d.ts +15 -0
- package/properties/definitions/UserTypePropertyDefinition.js +17 -0
- package/properties/definitions/index.d.ts +4 -0
- package/properties/definitions/index.js +4 -0
- package/properties/index.d.ts +2 -1
- package/properties/index.js +2 -1
- package/properties/values/BirthdayPropertyValue.d.ts +1 -0
- package/properties/values/BirthdayPropertyValue.js +3 -0
- package/properties/values/BooleanPropertyValue.d.ts +1 -0
- package/properties/values/BooleanPropertyValue.js +3 -0
- package/properties/values/BusinessProfilePropertyValue.d.ts +6 -0
- package/properties/values/BusinessProfilePropertyValue.js +11 -0
- package/properties/values/DatePropertyValue.d.ts +5 -1
- package/properties/values/DatePropertyValue.js +4 -1
- package/properties/values/DateTimePropertyValue.d.ts +1 -0
- package/properties/values/DateTimePropertyValue.js +3 -0
- package/properties/values/EmailPropertyValue.d.ts +1 -0
- package/properties/values/EmailPropertyValue.js +3 -0
- package/properties/values/HtmlPropertyValue.d.ts +1 -0
- package/properties/values/HtmlPropertyValue.js +3 -0
- package/properties/values/IdentityPropertyValue.d.ts +1 -0
- package/properties/values/IdentityPropertyValue.js +3 -0
- package/properties/values/ImagePropertyValue.d.ts +1 -0
- package/properties/values/ImagePropertyValue.js +3 -1
- package/properties/values/IntegerPropertyValue.d.ts +1 -0
- package/properties/values/IntegerPropertyValue.js +3 -0
- package/properties/values/LanguagePropertyValue.d.ts +1 -0
- package/properties/values/LanguagePropertyValue.js +3 -0
- package/properties/values/LinkPropertyValue.d.ts +1 -0
- package/properties/values/LinkPropertyValue.js +3 -0
- package/properties/values/TagsPropertyValue.d.ts +7 -0
- package/properties/values/TagsPropertyValue.js +14 -0
- package/properties/values/TextPropertyValue.d.ts +1 -0
- package/properties/values/TextPropertyValue.js +3 -0
- package/properties/values/UserTypePropertyValue.d.ts +6 -0
- package/properties/values/UserTypePropertyValue.js +11 -0
- package/properties/values/index.d.ts +3 -0
- package/properties/values/index.js +3 -0
- package/richtext-editor-extensions/TextCompletionExtension.d.ts +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 +29 -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 +25 -2
- package/ux/LayoutCanvasApi.d.ts +39 -8
- 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/ThemingApi.d.ts +19 -0
- package/ux/ThemingApi.js +2 -0
- package/ux/VelcronDefinitionApi.d.ts +24 -0
- package/ux/VelcronDefinitionApi.js +2 -0
- package/ux/index.d.ts +5 -1
- package/ux/index.js +4 -0
- package/velcron/VelcronDefinitionRegistration.d.ts +5 -2
- package/versionedlayout/VersionedLayout.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +0 -23
- 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/MediaPickerUserIconsStorageProviderContext.d.ts +0 -7
- package/media-picker/MediaPickerUserIconsStorageProviderContext.js +0 -12
- 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/DallEProvider.d.ts +0 -17
- package/media-picker/Providers/DallEProvider.js +0 -22
- 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 -8
- package/media-picker/Providers/index.js +0 -11
- package/properties/lock/PropertySettingsLock.d.ts +0 -23
- package/properties/lock/PropertySettingsLock.js +0 -77
- /package/{internal-do-not-import-from-here/shared/models/Bring.js → FilterpickerModel.js} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./activities"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./social"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ExternalIdentityId"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./fileupload"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./TempSocialReactions"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExternalIdentityId } from "../ExternalIdentityId";
|
|
2
|
+
import { HubReaction } from "./HubReaction";
|
|
3
|
+
export interface HubComment {
|
|
4
|
+
createdBy: ExternalIdentityId;
|
|
5
|
+
id: number;
|
|
6
|
+
inReplyToId: number | null;
|
|
7
|
+
rendererJson: string;
|
|
8
|
+
mentions: ExternalIdentityId[];
|
|
9
|
+
reactions: HubReaction[];
|
|
10
|
+
}
|
|
@@ -5,11 +5,14 @@ export * from "./Topic";
|
|
|
5
5
|
export * from "./Workers";
|
|
6
6
|
export * from "./SharedConstants";
|
|
7
7
|
export * from "./WorkerProxyFuncs";
|
|
8
|
-
export * from "./
|
|
8
|
+
export * from "./HttpCommon";
|
|
9
9
|
export * from "./Future";
|
|
10
10
|
export * from "./Tokens";
|
|
11
11
|
export * from "./Tenant";
|
|
12
12
|
export * from "./Realtime";
|
|
13
13
|
export * from "./OmniaSharedBootstrapData";
|
|
14
14
|
export * from "./StringExtensions";
|
|
15
|
+
export * from "./DynamicState";
|
|
16
|
+
export * from "./StronglyTypedId";
|
|
15
17
|
export * from "./theming";
|
|
18
|
+
export * from "./hub";
|
|
@@ -9,11 +9,14 @@ tslib_1.__exportStar(require("./Topic"), exports);
|
|
|
9
9
|
tslib_1.__exportStar(require("./Workers"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./SharedConstants"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./WorkerProxyFuncs"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./
|
|
12
|
+
tslib_1.__exportStar(require("./HttpCommon"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./Future"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./Tokens"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./Tenant"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./Realtime"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./OmniaSharedBootstrapData"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./StringExtensions"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DynamicState"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./StronglyTypedId"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./theming"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./hub"), exports);
|
|
@@ -1,47 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { VelcronAppDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { Guid, GuidValue } from "../Guid";
|
|
3
|
+
import { SpacingDefinition, SpacingSettings } from "./SpacingSetting";
|
|
4
|
+
import { ColorSchemaType, ColorSchemaTypes, ColorType } from "./ThemeDefinitionV2";
|
|
4
5
|
import { TypographyDefinition } from "./TypographyDefinition";
|
|
5
6
|
export interface BoxDimensions extends SpacingSettings {
|
|
6
7
|
}
|
|
7
|
-
export interface BoxBorder extends BoxDimensions {
|
|
8
|
-
color: string;
|
|
9
|
-
}
|
|
10
8
|
export interface BluePrintDefinitions {
|
|
11
9
|
default: BlueprintDefinition;
|
|
12
10
|
variant1: BlueprintDefinition;
|
|
13
11
|
variant2: BlueprintDefinition;
|
|
14
12
|
variant3: BlueprintDefinition;
|
|
15
13
|
}
|
|
16
|
-
export type WebBlueprintDefintionType = "button" | "block" | "typography" | "searchbox";
|
|
14
|
+
export type WebBlueprintDefintionType = "button" | "block" | "typography" | "searchbox" | "layout-spacing" | "inner-spacing";
|
|
17
15
|
export declare enum WebBlueprintDefintionTypes {
|
|
18
16
|
button = "button",
|
|
19
17
|
block = "block",
|
|
20
18
|
typography = "typography",
|
|
21
|
-
searchbox = "searchbox"
|
|
19
|
+
searchbox = "searchbox",
|
|
20
|
+
layoutspacing = "layout-spacing",
|
|
21
|
+
innerspacing = "inner-spacing"
|
|
22
22
|
}
|
|
23
|
-
export type VelcronBlueprintDefintionType = "button" | "typography";
|
|
23
|
+
export type VelcronBlueprintDefintionType = "button" | "typography" | "inner-spacing";
|
|
24
24
|
export declare enum VelcronBlueprintDefintionTypes {
|
|
25
25
|
button = "button",
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
typography = "typography",
|
|
27
|
+
innerspacing = "inner-spacing"
|
|
28
28
|
}
|
|
29
29
|
export interface BlueprintItemDefinition {
|
|
30
|
-
type:
|
|
30
|
+
type: VelcronBlueprintDefintionType | WebBlueprintDefintionType;
|
|
31
31
|
}
|
|
32
32
|
export interface BlockBlueprint extends BlueprintItemDefinition {
|
|
33
33
|
type: "block";
|
|
34
|
-
header
|
|
35
|
-
definitionId:
|
|
34
|
+
header: {
|
|
35
|
+
definitionId: GuidValue;
|
|
36
|
+
definition?: VelcronAppDefinition;
|
|
36
37
|
};
|
|
37
|
-
colors
|
|
38
|
-
colorSchemaType
|
|
38
|
+
colors: {
|
|
39
|
+
colorSchemaType?: ColorSchemaTypes | ColorSchemaType;
|
|
39
40
|
};
|
|
40
|
-
styles
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
styles: {
|
|
42
|
+
spacing?: SpacingSettings;
|
|
43
|
+
elevation?: number;
|
|
44
|
+
borderRadius?: BoxDimensions;
|
|
45
|
+
border?: BoxDimensions;
|
|
46
|
+
borderColor?: {
|
|
47
|
+
colorType: ColorType;
|
|
48
|
+
toned?: boolean;
|
|
49
|
+
};
|
|
43
50
|
};
|
|
44
51
|
}
|
|
52
|
+
export interface SpacingBlueprint {
|
|
53
|
+
type: "layout-spacing" | "inner-spacing";
|
|
54
|
+
definition: SpacingDefinition;
|
|
55
|
+
}
|
|
45
56
|
export interface TypographyBlueprint extends BlueprintItemDefinition {
|
|
46
57
|
type: "typography";
|
|
47
58
|
definition: TypographyDefinition;
|
|
@@ -53,5 +64,6 @@ export interface SearchBoxBlueprint extends BlueprintItemDefinition {
|
|
|
53
64
|
}
|
|
54
65
|
export interface BlueprintDefinition {
|
|
55
66
|
id: Guid;
|
|
67
|
+
name: string;
|
|
56
68
|
definitions: Array<BlueprintItemDefinition>;
|
|
57
69
|
}
|
|
@@ -7,10 +7,12 @@ var WebBlueprintDefintionTypes;
|
|
|
7
7
|
WebBlueprintDefintionTypes["block"] = "block";
|
|
8
8
|
WebBlueprintDefintionTypes["typography"] = "typography";
|
|
9
9
|
WebBlueprintDefintionTypes["searchbox"] = "searchbox";
|
|
10
|
+
WebBlueprintDefintionTypes["layoutspacing"] = "layout-spacing";
|
|
11
|
+
WebBlueprintDefintionTypes["innerspacing"] = "inner-spacing";
|
|
10
12
|
})(WebBlueprintDefintionTypes = exports.WebBlueprintDefintionTypes || (exports.WebBlueprintDefintionTypes = {}));
|
|
11
13
|
var VelcronBlueprintDefintionTypes;
|
|
12
14
|
(function (VelcronBlueprintDefintionTypes) {
|
|
13
15
|
VelcronBlueprintDefintionTypes["button"] = "button";
|
|
14
|
-
VelcronBlueprintDefintionTypes["block"] = "block";
|
|
15
16
|
VelcronBlueprintDefintionTypes["typography"] = "typography";
|
|
17
|
+
VelcronBlueprintDefintionTypes["innerspacing"] = "inner-spacing";
|
|
16
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;
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
import { Guid } from "../Guid";
|
|
1
2
|
export interface SpacingSettings {
|
|
2
|
-
top: number;
|
|
3
|
-
right: number;
|
|
4
|
-
bottom: number;
|
|
5
|
-
left: number;
|
|
3
|
+
top: number | SpacingType;
|
|
4
|
+
right: number | SpacingType;
|
|
5
|
+
bottom: number | SpacingType;
|
|
6
|
+
left: number | SpacingType;
|
|
7
|
+
}
|
|
8
|
+
export interface SpacingDefinition {
|
|
9
|
+
name: string;
|
|
10
|
+
id: Guid;
|
|
11
|
+
xs: number;
|
|
12
|
+
s: number;
|
|
13
|
+
m: number;
|
|
14
|
+
l: number;
|
|
15
|
+
xl: number;
|
|
16
|
+
}
|
|
17
|
+
export type SpacingType = "xs" | "s" | "m" | "l" | "xl";
|
|
18
|
+
export declare enum SpacingTypes {
|
|
19
|
+
xs = "xs",
|
|
20
|
+
s = "s",
|
|
21
|
+
m = "m",
|
|
22
|
+
l = "l",
|
|
23
|
+
xl = "xl"
|
|
6
24
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
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 = {}));
|
|
@@ -50,7 +50,7 @@ export interface ThemeDefinitionV2 {
|
|
|
50
50
|
colors: ColorSchemas;
|
|
51
51
|
blueprints: BluePrintDefinitions;
|
|
52
52
|
}
|
|
53
|
-
export type ColorSchemaType =
|
|
53
|
+
export type ColorSchemaType = keyof typeof ColorSchemaTypes;
|
|
54
54
|
export declare enum ColorSchemaTypes {
|
|
55
55
|
primary = "primary",
|
|
56
56
|
secondary = "secondary",
|
|
@@ -62,17 +62,21 @@ export declare enum ColorSchemaTypes {
|
|
|
62
62
|
error = "error",
|
|
63
63
|
info = "info"
|
|
64
64
|
}
|
|
65
|
-
export type BlueprintType =
|
|
65
|
+
export type BlueprintType = keyof typeof BlueprintTypes;
|
|
66
66
|
export declare enum BlueprintTypes {
|
|
67
67
|
default = "default",
|
|
68
68
|
variant1 = "variant1",
|
|
69
69
|
variant2 = "variant2",
|
|
70
70
|
variant3 = "variant3"
|
|
71
71
|
}
|
|
72
|
-
export type ColorType =
|
|
72
|
+
export type ColorType = keyof typeof ColorTypes;
|
|
73
73
|
export declare enum ColorTypes {
|
|
74
74
|
base = "base",
|
|
75
75
|
onBase = "onBase",
|
|
76
76
|
container = "container",
|
|
77
77
|
onContainer = "onContainer"
|
|
78
78
|
}
|
|
79
|
+
export interface ColorGradient {
|
|
80
|
+
color: string;
|
|
81
|
+
stop?: number;
|
|
82
|
+
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
import { Guid } from "../Guid";
|
|
2
2
|
export interface TypographyDefinition {
|
|
3
3
|
id: Guid;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
name: string;
|
|
5
|
+
font?: {
|
|
6
|
+
family: string;
|
|
7
|
+
cdn?: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
xl: TypographyTypeDefinition;
|
|
11
|
+
l: TypographyTypeDefinition;
|
|
12
|
+
m: TypographyTypeDefinition;
|
|
13
|
+
s: TypographyTypeDefinition;
|
|
14
|
+
xs: TypographyTypeDefinition;
|
|
15
|
+
};
|
|
16
|
+
text: {
|
|
17
|
+
l: TypographyTypeDefinition;
|
|
18
|
+
m: TypographyTypeDefinition;
|
|
19
|
+
s: TypographyTypeDefinition;
|
|
20
|
+
xs: TypographyTypeDefinition;
|
|
21
|
+
};
|
|
22
|
+
navigation: {
|
|
23
|
+
l: TypographyTypeDefinition;
|
|
24
|
+
m: TypographyTypeDefinition;
|
|
25
|
+
};
|
|
26
|
+
link: {
|
|
27
|
+
m: TypographyTypeDefinition;
|
|
28
|
+
};
|
|
10
29
|
}
|
|
11
30
|
export interface TypographyTypeDefinition {
|
|
12
31
|
decoration?: string;
|
|
@@ -19,12 +38,17 @@ export interface TypographyTypeBreakPoint {
|
|
|
19
38
|
size: number;
|
|
20
39
|
lineHeight: number;
|
|
21
40
|
}
|
|
22
|
-
export type TypographyType =
|
|
41
|
+
export type TypographyType = keyof typeof TypographyTypes;
|
|
23
42
|
export declare enum TypographyTypes {
|
|
24
|
-
|
|
25
|
-
h2 = "h2",
|
|
26
|
-
h3 = "h3",
|
|
43
|
+
title = "title",
|
|
27
44
|
text = "text",
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
navigation = "navigation"
|
|
46
|
+
}
|
|
47
|
+
export type TypographySize = keyof typeof TypographySizes;
|
|
48
|
+
export declare enum TypographySizes {
|
|
49
|
+
xl = "xl",
|
|
50
|
+
l = "l",
|
|
51
|
+
m = "m",
|
|
52
|
+
s = "s",
|
|
53
|
+
xs = "xs"
|
|
30
54
|
}
|
|
@@ -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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare
|
|
5
|
-
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) =>
|
|
6
|
-
blueprint: (blueprintType: BlueprintTypes | BlueprintType) =>
|
|
7
|
-
typography: (blueprintType: BlueprintTypes | BlueprintType, typographyType: TypographyTypes | TypographyType) => TypographyTypeDefinition;
|
|
1
|
+
import { BlueprintType, BlueprintTypes, ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes } from "./ThemeDefinitionV2";
|
|
2
|
+
import { TypographySize, TypographySizes, TypographyType, TypographyTypeDefinition, TypographyTypes } from "./TypographyDefinition";
|
|
3
|
+
import { BlueprintDefinition } from "./BlueprintDefinition";
|
|
4
|
+
export declare function useThemeMethods(getThemeDefinition: () => any): {
|
|
5
|
+
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => ColorSchema;
|
|
6
|
+
blueprint: (blueprintType: BlueprintTypes | BlueprintType) => BlueprintDefinition;
|
|
7
|
+
typography: (blueprintType: BlueprintTypes | BlueprintType, typographyType: TypographyTypes | TypographyType, size: TypographySize | TypographySizes) => TypographyTypeDefinition;
|
|
8
8
|
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
|
9
9
|
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
|
|
10
10
|
complementaryColorType: (colorType: ColorTypes | ColorType) => ColorTypes;
|
|
@@ -1,10 +1,12 @@
|
|
|
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
11
|
return getThemeDefinition().colors.primary;
|
|
10
12
|
}
|
|
@@ -30,8 +32,8 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
30
32
|
return getThemeDefinition().colors.error;
|
|
31
33
|
}
|
|
32
34
|
return getThemeDefinition().colors.background;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
+
}
|
|
36
|
+
function blueprint(blueprintType) {
|
|
35
37
|
if (blueprintType === ThemeDefinitionV2_1.BlueprintTypes.default) {
|
|
36
38
|
return getThemeDefinition().blueprints.default;
|
|
37
39
|
}
|
|
@@ -45,30 +47,20 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
45
47
|
return getThemeDefinition().blueprints.variant3;
|
|
46
48
|
}
|
|
47
49
|
return getThemeDefinition().blueprints.default;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
+
}
|
|
51
|
+
function typography(blueprintType, typographyType, size) {
|
|
50
52
|
const typographyBlueprint = getThemeDefinition().blueprints[blueprintType].definitions.find(d => d.type === "typography");
|
|
51
|
-
if (typographyType === TypographyDefinition_1.TypographyTypes.
|
|
52
|
-
return typographyBlueprint.definition.
|
|
53
|
-
}
|
|
54
|
-
else if (typographyType === TypographyDefinition_1.TypographyTypes.h2) {
|
|
55
|
-
return typographyBlueprint.definition.h2;
|
|
53
|
+
if (typographyType === TypographyDefinition_1.TypographyTypes.text) {
|
|
54
|
+
return typographyBlueprint.definition.text[size];
|
|
56
55
|
}
|
|
57
|
-
else if (typographyType === TypographyDefinition_1.TypographyTypes.
|
|
58
|
-
return typographyBlueprint.definition.
|
|
56
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.title) {
|
|
57
|
+
return typographyBlueprint.definition.title[size];
|
|
59
58
|
}
|
|
60
|
-
else if (typographyType === TypographyDefinition_1.TypographyTypes.
|
|
61
|
-
return typographyBlueprint.definition
|
|
59
|
+
else if (typographyType === TypographyDefinition_1.TypographyTypes.navigation) {
|
|
60
|
+
return typographyBlueprint.definition[size];
|
|
62
61
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
else if (typographyType === TypographyDefinition_1.TypographyTypes.text) {
|
|
67
|
-
return typographyBlueprint.definition.text;
|
|
68
|
-
}
|
|
69
|
-
return typographyBlueprint.definition.text;
|
|
70
|
-
};
|
|
71
|
-
const color = (colorSchemaType, colorType) => {
|
|
62
|
+
}
|
|
63
|
+
function color(colorSchemaType, colorType) {
|
|
72
64
|
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
73
65
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
74
66
|
return mappedColorSchema.base.color;
|
|
@@ -83,8 +75,8 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
83
75
|
return mappedColorSchema.onContainer.color;
|
|
84
76
|
}
|
|
85
77
|
return colorType;
|
|
86
|
-
}
|
|
87
|
-
|
|
78
|
+
}
|
|
79
|
+
function colorDefinition(colorSchemaType, colorType) {
|
|
88
80
|
const mappedColorSchema = colorSchema(colorSchemaType);
|
|
89
81
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
90
82
|
return mappedColorSchema.base;
|
|
@@ -99,8 +91,8 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
99
91
|
return mappedColorSchema.onContainer;
|
|
100
92
|
}
|
|
101
93
|
return mappedColorSchema.base;
|
|
102
|
-
}
|
|
103
|
-
|
|
94
|
+
}
|
|
95
|
+
function complementaryColorType(colorType) {
|
|
104
96
|
if (colorType === ThemeDefinitionV2_1.ColorTypes.base) {
|
|
105
97
|
return ThemeDefinitionV2_1.ColorTypes.onBase;
|
|
106
98
|
}
|
|
@@ -114,15 +106,15 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
114
106
|
return ThemeDefinitionV2_1.ColorTypes.container;
|
|
115
107
|
}
|
|
116
108
|
return colorType;
|
|
117
|
-
}
|
|
118
|
-
|
|
109
|
+
}
|
|
110
|
+
function complementaryColor(colorSchemaType, colorType) {
|
|
119
111
|
const matchingColorType = complementaryColorType(colorType);
|
|
120
112
|
return color(colorSchemaType, matchingColorType);
|
|
121
|
-
}
|
|
122
|
-
|
|
113
|
+
}
|
|
114
|
+
function complementaryColorDefinition(colorSchemaType, colorType) {
|
|
123
115
|
const matchingColorType = complementaryColorType(colorType);
|
|
124
116
|
return colorDefinition(colorSchemaType, matchingColorType);
|
|
125
|
-
}
|
|
117
|
+
}
|
|
126
118
|
return {
|
|
127
119
|
colorSchema,
|
|
128
120
|
blueprint,
|
|
@@ -133,5 +125,5 @@ const useThemeMethods = (getThemeDefinition) => {
|
|
|
133
125
|
complementaryColor,
|
|
134
126
|
complementaryColorDefinition,
|
|
135
127
|
};
|
|
136
|
-
}
|
|
128
|
+
}
|
|
137
129
|
exports.useThemeMethods = useThemeMethods;
|
|
@@ -7,3 +7,5 @@ tslib_1.__exportStar(require("./OmniaThemes"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./UseThemeMethods"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./BlueprintDefinition"), exports);
|
|
9
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
|
+
}
|