@omnia/fx 7.8.9-preview → 7.8.11-preview
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/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/SemanticSearchService.d.ts +10 -0
- package/internal-do-not-import-from-here/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/spfx/models/ClientManifests.d.ts +7 -2
- package/internal-do-not-import-from-here/spfx/tooling/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.d.ts +17 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/models/UnsplashImage.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/services/UnsplashImageService.d.ts +6 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LinkReferencesStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardHandlerStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","defineStore","defineStore2"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LinkReferencesStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardHandlerStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","defineStore","defineStore2"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","RealtimeService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SemanticSearchService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus"]}}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GuidValue, SemanticSearchGetRequest, SemanticSearchJobResult, SemanticSearchJobResultWithData, SemanticSearchResult } from "../models";
|
|
2
|
+
export declare class SemanticSearchService {
|
|
3
|
+
private httpClient;
|
|
4
|
+
constructor();
|
|
5
|
+
private baseUrl;
|
|
6
|
+
createSemanticSearchQueriesJob: (searchRequest: SemanticSearchGetRequest) => Promise<SemanticSearchJobResult>;
|
|
7
|
+
createSemanticSearchQuestionsJob: (searchRequest: SemanticSearchGetRequest) => Promise<SemanticSearchJobResult>;
|
|
8
|
+
getSemanticSearchQuestionsResult: (questionJobId: GuidValue) => Promise<SemanticSearchJobResultWithData<SemanticSearchResult>>;
|
|
9
|
+
getSemanticSearchQueriesResult: (queryJobId: GuidValue) => Promise<SemanticSearchJobResultWithData<SemanticSearchResult>>;
|
|
10
|
+
}
|
|
@@ -4,6 +4,11 @@ export interface SPFXWebComponentDefinition extends WebComponentDefinition {
|
|
|
4
4
|
category: string;
|
|
5
5
|
}
|
|
6
6
|
export interface SPFXStandaloneWebComponentDefinition extends WebComponentDefinition {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
showInSpfxWebpartGallery?: boolean;
|
|
8
|
+
spfxWebpartGallery?: SpfxWebpartGalleryInfo;
|
|
9
|
+
}
|
|
10
|
+
export interface SpfxWebpartGalleryInfo {
|
|
11
|
+
documentationUrl?: string;
|
|
12
|
+
imageRelativeUrl?: string;
|
|
13
|
+
downloadFileName?: string;
|
|
9
14
|
}
|
|
@@ -3,6 +3,8 @@ export interface OmniaBlock {
|
|
|
3
3
|
}
|
|
4
4
|
export interface SpfxWebpartGalleryOptions {
|
|
5
5
|
documentationUrl?: string;
|
|
6
|
+
imageRelativeUrl?: string;
|
|
7
|
+
downloadFileName?: string;
|
|
6
8
|
}
|
|
7
9
|
declare module "../../../tooling/composers/ComponentComposer" {
|
|
8
10
|
interface IWebComponentComposer {
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.d.ts
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../../";
|
|
2
2
|
import { IUnsplashProviderComponent } from "./IUnsplashProvider";
|
|
3
3
|
import { GridViewMediaProviderComponent } from "../mediaproviderbase/GridViewMediaProviderComponent";
|
|
4
|
-
import { ImageItem, VideoItem, ImageInformation, VideoInformation, MediaPickerImageTransformationResult, MediaPickerVideo } from "
|
|
4
|
+
import { ImageItem, VideoItem, ImageInformation, VideoInformation, MediaPickerImageTransformationResult, MediaPickerVideo } from "../../../models";
|
|
5
|
+
import { OmniaTheming } from "../../OmniaTheming";
|
|
6
|
+
import { UnsplashProviderLocalization } from "./Ioc/localize";
|
|
7
|
+
import { UnsplashImageService } from "./services/UnsplashImageService";
|
|
5
8
|
export declare class UnsplashProviderComponent extends GridViewMediaProviderComponent implements IWebComponentInstance, IUnsplashProviderComponent {
|
|
6
9
|
getMediaItems(searchKeyword: string): Promise<Array<ImageItem | VideoItem>>;
|
|
7
10
|
getMoreMediaItems(lastLoadedIndex: number): Promise<Array<ImageItem | VideoItem>>;
|
|
8
11
|
getMediaInfo(mediaItem: ImageItem | VideoItem): Promise<ImageInformation | VideoInformation>;
|
|
9
12
|
beforeSaved(resultToBeSaved: MediaPickerImageTransformationResult | VideoInformation): Promise<MediaPickerImageTransformationResult | MediaPickerVideo>;
|
|
13
|
+
setEmptyResultHandler(): void;
|
|
14
|
+
unsplashImageService: UnsplashImageService;
|
|
15
|
+
omniaTheming: OmniaTheming;
|
|
16
|
+
unsplashLoc: UnsplashProviderLocalization.locInterface;
|
|
17
|
+
private unsplashProviderStyles;
|
|
18
|
+
private searchKeyword;
|
|
19
|
+
private hasSearchResult;
|
|
20
|
+
constructor();
|
|
21
|
+
created(): void;
|
|
22
|
+
mounted(): void;
|
|
23
|
+
private renderUnsplashLink;
|
|
24
|
+
private renderImageDetail;
|
|
25
|
+
render(): VueTsxSupport.JSX.Element;
|
|
10
26
|
}
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/models/UnsplashImage.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ImageItem } from "../../../../models";
|
|
2
|
+
interface UnsplashImageSource {
|
|
3
|
+
original: string;
|
|
4
|
+
large2x: string;
|
|
5
|
+
large: string;
|
|
6
|
+
medium: string;
|
|
7
|
+
small: string;
|
|
8
|
+
portrait: string;
|
|
9
|
+
landscape: string;
|
|
10
|
+
tiny: string;
|
|
11
|
+
}
|
|
12
|
+
export interface UnsplashServerImage {
|
|
13
|
+
id: number;
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
url: string;
|
|
17
|
+
photographer: string;
|
|
18
|
+
photographer_url: string;
|
|
19
|
+
photographer_id: number;
|
|
20
|
+
avg_color: string;
|
|
21
|
+
src: UnsplashImageSource;
|
|
22
|
+
liked: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface UnsplashImage extends ImageItem {
|
|
25
|
+
serverImage: UnsplashServerImage;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.8.
|
|
4
|
+
"version": "7.8.11-preview",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.8.
|
|
23
|
+
"@omnia/fx-models": "7.8.11-preview",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|