@omnia/wcm 7.8.36-preview → 7.8.37-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.
@@ -8,6 +8,7 @@ export declare module Utils {
8
8
  * @return boolean
9
9
  */
10
10
  function isModernMedia(mediaValue: any): boolean;
11
+ function isIdentityValue(value: string): boolean;
11
12
  function getOfficeIconByFileExtension(extension: string): string;
12
13
  function getFileExtension(url: string): string;
13
14
  function getFileNameWithoutExtension(fileName: string): string;
@@ -399,6 +399,7 @@ export declare class WcmWebComponentManifests {
399
399
  static get WelcomeBlockPicker(): Guid;
400
400
  static get WelcomeBlock(): Guid;
401
401
  static get WelcomeBlockSettings(): Guid;
402
+ static get PageSearchResultSource(): Guid;
402
403
  }
403
404
  export declare class InfoScreenManifests {
404
405
  static get AdminRegistration(): Guid;
@@ -413,6 +413,7 @@ class WcmWebComponentManifests {
413
413
  static get WelcomeBlockPicker() { return new fx_models_1.Guid("1cccfc13-daa0-4a13-96f1-4fd385b9f4ad"); }
414
414
  static get WelcomeBlock() { return new fx_models_1.Guid("1a517930-e257-49f0-aec8-a1617d79d21e"); }
415
415
  static get WelcomeBlockSettings() { return new fx_models_1.Guid("0045e808-79aa-46a1-b133-3f9df9276142"); }
416
+ static get PageSearchResultSource() { return new fx_models_1.Guid("d5f5159c-8c78-4a44-9069-093bcc8cbac7"); }
416
417
  }
417
418
  exports.WcmWebComponentManifests = WcmWebComponentManifests;
418
419
  WcmWebComponentManifests.Blocks = class {
@@ -45,3 +45,4 @@ export * from "./pagecreation";
45
45
  export * from "./mediarollup";
46
46
  export * from "./analytics";
47
47
  export * from "./welcomeblock";
48
+ export * from "./searchresultsource";
@@ -49,3 +49,4 @@ tslib_1.__exportStar(require("./pagecreation"), exports);
49
49
  tslib_1.__exportStar(require("./mediarollup"), exports);
50
50
  tslib_1.__exportStar(require("./analytics"), exports);
51
51
  tslib_1.__exportStar(require("./welcomeblock"), exports);
52
+ tslib_1.__exportStar(require("./searchresultsource"), exports);
@@ -0,0 +1,16 @@
1
+ import { OmniaSearchPropertyFilterValue } from "@omnia/fx-models";
2
+ import { PublishingChannelId } from "../channels";
3
+ import { PageId } from "../pages";
4
+ export interface OmniaSearchVariationPropertyFilterValue extends OmniaSearchPropertyFilterValue {
5
+ value: string;
6
+ }
7
+ export interface OmniaSearchPageTypePropertyFilterValue extends OmniaSearchPropertyFilterValue {
8
+ value: Array<PageId>;
9
+ }
10
+ export interface OmniaSearchChannelFilterValue extends OmniaSearchPropertyFilterValue {
11
+ value: Array<PublishingChannelId>;
12
+ currentUserSubscription: boolean;
13
+ }
14
+ export interface OmniaSearchUiTextPropFilterValue extends OmniaSearchPropertyFilterValue {
15
+ text: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { GuidValue, OmniaSearchPropertyFilter, OmniaSearchScopes } from "@omnia/fx-models";
2
+ import { OmniaSearchCategory, ProviderSettings } from "@omnia/workplace/models";
3
+ export interface PageOmniaSearchQueryCategory extends OmniaSearchCategory {
4
+ providerSettings: PageOmniaSearchSettings;
5
+ }
6
+ export interface PageOmniaSearchSettings extends ProviderSettings {
7
+ scope: OmniaSearchScopes;
8
+ excludeVariations: boolean;
9
+ resources: Array<{
10
+ id: string;
11
+ typeId?: GuidValue;
12
+ filters?: Array<OmniaSearchPropertyFilter>;
13
+ }>;
14
+ currentUserSubscription?: boolean;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./SearchResultSource";
2
+ export * from "./SearchPropertyFilter";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SearchResultSource"), exports);
5
+ tslib_1.__exportStar(require("./SearchPropertyFilter"), exports);
@@ -0,0 +1,49 @@
1
+ import { EnterprisePropertyStore, TargetingPropertyStore } from "@omnia/fx/stores";
2
+ import { CategorySearchResult, SearchCategoryOption } from "@omnia/workplace/models";
3
+ import { AppInfoStore, ChannelManagementStore, CurrentNavigationStore, PageRollupStore } from "../stores";
4
+ import { OmniaSearchService } from "@omnia/fx/services";
5
+ export declare class OmniaSearchCategoryQueryHelper {
6
+ enterprisePropertyStore: EnterprisePropertyStore;
7
+ appInfoStore: AppInfoStore;
8
+ pageRollupStore: PageRollupStore;
9
+ currentNavigationStore: CurrentNavigationStore;
10
+ channelManagementStore: ChannelManagementStore;
11
+ targetingPropertyStore: TargetingPropertyStore;
12
+ private variationStore;
13
+ private omniaContext;
14
+ private targetingStore;
15
+ private pagesStore;
16
+ omniaSearchService: OmniaSearchService;
17
+ private enterpriseProperties;
18
+ private querableProperties;
19
+ private appInfos;
20
+ private pageBuiltInProperties;
21
+ private excludeCountry;
22
+ private currentUserLanguage;
23
+ private pageCollections;
24
+ getCategorySearchResult(options: SearchCategoryOption[], keyword?: string): Promise<Array<CategorySearchResult>>;
25
+ private getFilters;
26
+ private getDictionaryPropertiesMapping;
27
+ private mappingSearchResutItems;
28
+ private generateScopeFilterBuilders;
29
+ private generateChannelScopeFilterBuilder;
30
+ private generatePublishingAppScopeFilterBuilder;
31
+ private generatePageCollectionScopeFilterBuilder;
32
+ private generateBusinessProfileScopeFilterBuilder;
33
+ private generateChannelFilterBuilder;
34
+ private generateOmniaSearchVariationPropertyFilterBuilder;
35
+ private generateOmniaSearchLanguageFilterBuilder;
36
+ private generateOmniaSearchDatePropertyFilterBuilder;
37
+ private generateOmniaSearchTextPropertyFilterBuilder;
38
+ private generateOmniaSearchBooleanPropertyFilterBuilder;
39
+ private generateOmniaSearchTaxonomyPropertyFilterBuilder;
40
+ private generateOmniaSearchPropertyFilterBuilder;
41
+ private createFilterLogicalOperatorBuilderWithArrayValues;
42
+ private createFilterComponentBuilder;
43
+ private joinInnerFilterLogicalOperatorBuilder;
44
+ private ensureLanguageSettings;
45
+ private getResourceId;
46
+ private getAppIdsNeedToGetVariations;
47
+ private ensureLoadInfoForSearchCategories;
48
+ ensurePageComputedColumnName(propertyName: string, isDisplay?: boolean): string;
49
+ }
@@ -13,7 +13,6 @@ export declare class OmniaSearchQueryHelper {
13
13
  searchQueryRequest: PagedBatchSearchRequest;
14
14
  batchQueryPagesError: BatchQueryPages[];
15
15
  }>;
16
- static camelize(str: string): string;
17
16
  private hasBusinessProfileScopeQuery;
18
17
  private ensureLoadInfoBeforeGenerateQuery;
19
18
  private getSearchBoxKeywords;
@@ -23,13 +22,9 @@ export declare class OmniaSearchQueryHelper {
23
22
  private getFiltersExpressionString;
24
23
  private getFieldValuesString;
25
24
  private getOperatorString;
26
- private getPropertyName;
27
- private getPropertyValue;
28
25
  private getLogicalOperatorString;
29
26
  private removeConditionExpressionFilter;
30
27
  private getRetrieveProperties;
31
- private isDateTimeStampProperty;
32
28
  private getSortList;
33
- private getKeywordValue;
34
29
  private parseBatchQueryPagesToOmniaSearch;
35
30
  }
@@ -0,0 +1,8 @@
1
+ import { EnterprisePropertyDefinition } from "@omnia/fx-models";
2
+ export declare class OmniaSearchQueryUtils {
3
+ static camelize(str: string): string;
4
+ static getKeywordValue(objectValue: any): any;
5
+ static getPropertyName(propertyName: string, isDisplay: boolean, enterpriseProperties: Array<EnterprisePropertyDefinition>, querableProperties: Array<EnterprisePropertyDefinition>): string;
6
+ static getPropertyValue(objectValue: any, propertyName: string, enterpriseProperties: Array<EnterprisePropertyDefinition>): any;
7
+ private static isDateTimeStampProperty;
8
+ }
@@ -1,3 +1,5 @@
1
1
  export * from "./PageRollupStoreHelper";
2
+ export * from "./OmniaSearchQueryUtils";
2
3
  export * from "./PageSearchHelper";
3
4
  export * from "./OmniaSearchQueryHelper";
5
+ export * from "./OmniaSearchCategoryQueryHelper";
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchQueryHelper","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelCategoriesStore","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","MediaRollupService","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OmniaWCMPageBody","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
1
+ {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchCategoryQueryHelper","OmniaSearchQueryHelper","OmniaSearchQueryUtils","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelCategoriesStore","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","MediaRollupService","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OmniaWCMPageBody","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.8.36-preview",
4
+ "version": "7.8.37-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"