@omnia/wcm 7.8.7-preview → 7.8.7

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.
Files changed (94) hide show
  1. package/internal-do-not-import-from-here/core/Constants.d.ts +9 -0
  2. package/internal-do-not-import-from-here/core/Utils.d.ts +13 -3
  3. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +18 -0
  4. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +21 -1
  5. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +4 -0
  6. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +4 -3
  7. package/internal-do-not-import-from-here/core/loc/TokensLocalization.d.ts +2 -0
  8. package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +2 -2
  9. package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsEventConstants.d.ts +15 -0
  10. package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsHelper.d.ts +27 -0
  11. package/internal-do-not-import-from-here/core/pagetypeanalytics/index.d.ts +2 -0
  12. package/internal-do-not-import-from-here/core/pagetypeanalytics/pagetypeanalytics.manifest.d.ts +1 -0
  13. package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +20 -19
  14. package/internal-do-not-import-from-here/fx/internal/models/OmniaSearch.d.ts +4 -0
  15. package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +2 -2
  16. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
  17. package/internal-do-not-import-from-here/fx/models/Constants.js +2 -1
  18. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +3 -0
  19. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +3 -0
  20. package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.d.ts +6 -3
  21. package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.js +2 -1
  22. package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReportView.d.ts +10 -2
  23. package/internal-do-not-import-from-here/fx/models/analytics/QuerySegmentType.d.ts +3 -4
  24. package/internal-do-not-import-from-here/fx/models/analytics/QuerySegmentType.js +6 -7
  25. package/internal-do-not-import-from-here/fx/models/analytics/SegmentSettings.d.ts +5 -10
  26. package/internal-do-not-import-from-here/fx/models/analytics/views/CardView.js +1 -1
  27. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +2 -0
  28. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
  29. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +1 -0
  30. package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +2 -2
  31. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +1 -0
  32. package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +3 -2
  33. package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js +2 -1
  34. package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
  35. package/internal-do-not-import-from-here/fx/models/index.js +1 -0
  36. package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.d.ts +5 -0
  37. package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.d.ts +1 -0
  38. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +2 -1
  39. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -1
  40. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +1 -0
  41. package/internal-do-not-import-from-here/fx/models/pages/MovePageTracking.d.ts +40 -0
  42. package/internal-do-not-import-from-here/fx/models/pages/MovePageTracking.js +15 -0
  43. package/internal-do-not-import-from-here/fx/models/pages/MovePagesResult.d.ts +3 -1
  44. package/internal-do-not-import-from-here/fx/models/pages/Page.d.ts +1 -0
  45. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +1 -0
  46. package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +3 -1
  47. package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +2 -1
  48. package/internal-do-not-import-from-here/fx/models/pages/VersionInformation.d.ts +6 -0
  49. package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +1 -0
  50. package/internal-do-not-import-from-here/fx/models/pages/index.js +1 -0
  51. package/internal-do-not-import-from-here/fx/models/query/ItemQuery.d.ts +3 -3
  52. package/internal-do-not-import-from-here/fx/models/query/index.d.ts +0 -1
  53. package/internal-do-not-import-from-here/fx/models/query/index.js +0 -1
  54. package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchPropertyFilter.d.ts +16 -0
  55. package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchPropertyFilter.js +2 -0
  56. package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchResultSource.d.ts +15 -0
  57. package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchResultSource.js +2 -0
  58. package/internal-do-not-import-from-here/fx/models/searchresultsource/index.d.ts +2 -0
  59. package/internal-do-not-import-from-here/fx/models/searchresultsource/index.js +5 -0
  60. package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockSettings.d.ts +7 -4
  61. package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.d.ts +7 -1
  62. package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.js +8 -1
  63. package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.d.ts +16 -0
  64. package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.js +9 -1
  65. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +6 -3
  66. package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +2 -2
  67. package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +0 -2
  68. package/internal-do-not-import-from-here/fx/services/PageService.d.ts +4 -2
  69. package/internal-do-not-import-from-here/fx/services/PageSocialService.d.ts +6 -0
  70. package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +6 -4
  71. package/internal-do-not-import-from-here/fx/services/SocialService.d.ts +31 -0
  72. package/internal-do-not-import-from-here/fx/services/index.d.ts +2 -0
  73. package/internal-do-not-import-from-here/fx/shared/OmniaSearchCategoryQueryHelper.d.ts +52 -0
  74. package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +0 -5
  75. package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryUtils.d.ts +8 -0
  76. package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +11 -6
  77. package/internal-do-not-import-from-here/fx/shared/PickedPageHelper.d.ts +10 -0
  78. package/internal-do-not-import-from-here/fx/shared/index.d.ts +3 -0
  79. package/internal-do-not-import-from-here/fx/stores/CreatePageFormStore.d.ts +2 -0
  80. package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +8 -1
  81. package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +10 -2
  82. package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +8 -6
  83. package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +5 -2
  84. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  85. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
  86. package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +1 -0
  87. package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.d.ts +5 -0
  88. package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.js +9 -0
  89. package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +4 -0
  90. package/internal-do-not-import-from-here/models/publishingapp/editor/index.d.ts +1 -0
  91. package/internal-do-not-import-from-here/models/publishingapp/editor/index.js +1 -0
  92. package/package.json +1 -1
  93. package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +0 -18
  94. package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +0 -24
@@ -1,3 +1,4 @@
1
+ import { Guid } from "@omnia/fx-models";
1
2
  import { ActiveUserDashboardSettings, UnderusedSettings } from "../fx/models";
2
3
  import { WCMTentantSettings } from "../models";
3
4
  export declare class WcmCoreConstants {
@@ -22,4 +23,12 @@ export declare class WcmCoreConstants {
22
23
  static get Newsletter(): {
23
24
  SuffixDoneElement: string;
24
25
  };
26
+ static get SemanticSearchReferenceType(): {
27
+ providerId: Guid;
28
+ page: Guid;
29
+ builtinProperty: {
30
+ pageType: string;
31
+ publishingApp: string;
32
+ };
33
+ };
25
34
  }
@@ -1,6 +1,6 @@
1
- import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation } from "@omnia/wcm/models";
1
+ import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation, PageId, PageDetailQueryResult, PageNavigationData, PageNavigationNode } from "@omnia/wcm/models";
2
2
  import { LayoutItem } from "@omnia/fx-models";
3
- export declare module Utils {
3
+ export declare namespace Utils {
4
4
  function isSupportedByOfficeWebApp(documentUrl: string): boolean;
5
5
  /**
6
6
  * if media value of page properties is a modern media and not legacy svg media
@@ -8,6 +8,13 @@ export declare module Utils {
8
8
  * @return boolean
9
9
  */
10
10
  function isModernMedia(mediaValue: any): boolean;
11
+ /**
12
+ * get pageId from page topic combine by TopicPrefixConstants
13
+ * @param topic
14
+ * @returns
15
+ */
16
+ function getPageIdFromTopic(topic: string): PageId;
17
+ function isIdentityValue(value: string): boolean;
11
18
  function getOfficeIconByFileExtension(extension: string): string;
12
19
  function getFileExtension(url: string): string;
13
20
  function getFileNameWithoutExtension(fileName: string): string;
@@ -40,9 +47,11 @@ export declare module MultilingualUtils {
40
47
  export declare module NavigationUtils {
41
48
  function sortNodesByCreated<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
42
49
  function sortNodesByTitle<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
50
+ function findPageInNode(node: PageNavigationNode<PageNavigationData>, pageId: PageId): any;
43
51
  }
44
- export declare module VariationUtils {
52
+ export declare namespace VariationUtils {
45
53
  function getValueByVariationId(variationString: VariationString, id: VariationId, defaultVariation?: Variation): string;
54
+ function isVariationString(value: any): value is VariationString;
46
55
  }
47
56
  export declare class SortUtils {
48
57
  static sortBy: <T>(items: T[], attr: string, isRevert?: boolean, isDeep?: boolean, handleData?: (data: any) => any) => T[];
@@ -62,6 +71,7 @@ export declare module WCMMigrationUtils {
62
71
  }
63
72
  export declare module PageUtils {
64
73
  function filterUnavailablePages(pages: Page[]): Page[];
74
+ function ensureVariationIdInPageDetail(pages: PageDetailQueryResult[]): PageDetailQueryResult[];
65
75
  }
66
76
  export declare module WCMGovernanceUtils {
67
77
  function getMonthName(language: string, date: Date): string;
@@ -252,6 +252,11 @@ export declare module WCMCoreLocalization {
252
252
  Title: string;
253
253
  Description: string;
254
254
  };
255
+ SemanticSearchWebContentManagement: {
256
+ Title: string;
257
+ Category: string;
258
+ Description: string;
259
+ };
255
260
  };
256
261
  ImageScalingBlockSettings: {
257
262
  ForceDefaultScaling: string;
@@ -265,5 +270,18 @@ export declare module WCMCoreLocalization {
265
270
  DataTypeProvider: {
266
271
  Document: string;
267
272
  };
273
+ SemanticSearch: {
274
+ WebContentManagment: string;
275
+ BuiltinProperty: {
276
+ PublishingApp: {
277
+ Title: string;
278
+ Type: string;
279
+ };
280
+ PageType: {
281
+ Title: string;
282
+ Type: string;
283
+ };
284
+ };
285
+ };
268
286
  }
269
287
  }
@@ -76,6 +76,10 @@ export declare module EditorLocalization {
76
76
  Prompt: string;
77
77
  Outcome: string;
78
78
  Property: string;
79
+ DeleteConfirmation: {
80
+ Title: string;
81
+ Message: string;
82
+ };
79
83
  Result: {
80
84
  BladeTitle: string;
81
85
  ConfigurationError: string;
@@ -230,6 +234,7 @@ export declare module EditorLocalization {
230
234
  };
231
235
  ListView: string;
232
236
  };
237
+ MaximumCapacityMessage: string;
233
238
  };
234
239
  AppDocuments: {
235
240
  Documents: string;
@@ -553,6 +558,15 @@ export declare module EditorLocalization {
553
558
  EnableOpenAI: string;
554
559
  ImageRatio: string;
555
560
  };
561
+ SemanticSearch: {
562
+ Title: string;
563
+ EnableSemanticSearch: string;
564
+ SemanticSearchEnableConfirmation: {
565
+ Title: string;
566
+ Message: string;
567
+ };
568
+ ReindexMessage: string;
569
+ };
556
570
  };
557
571
  Dialogs: {
558
572
  MoveToTenant: {
@@ -636,9 +650,10 @@ export declare module EditorLocalization {
636
650
  Title: string;
637
651
  EditPage: string;
638
652
  FixPage: string;
653
+ Cancel: string;
639
654
  Passed: string;
640
655
  Failed: string;
641
- ContinutePublishing: string;
656
+ ContinuePublishing: string;
642
657
  FixedPageSuccessMessage: string;
643
658
  ErrorMessage: string;
644
659
  };
@@ -722,6 +737,7 @@ export declare module EditorLocalization {
722
737
  DuplicateWarningMessage: string;
723
738
  MoveAsChild: string;
724
739
  MoveAsSibling: string;
740
+ DuplicateWarningMessageWhenMovingAsSibling: string;
725
741
  };
726
742
  SendAppprovalRequest: {
727
743
  Title: string;
@@ -932,6 +948,10 @@ export declare module EditorLocalization {
932
948
  Title: string;
933
949
  Message: string;
934
950
  };
951
+ MovePage: {
952
+ PageInReadModeMessage: string;
953
+ };
954
+ PageNotLoadedMessage: string;
935
955
  };
936
956
  }
937
957
  }
@@ -164,6 +164,7 @@ export declare module PageRollupLocalization {
164
164
  ShowLabel: string;
165
165
  CustomLabel: string;
166
166
  TargetNoOfUsers: string;
167
+ TotalNoOfUsers: string;
167
168
  ShowDetails: string;
168
169
  UniqueUsers: {
169
170
  UniqueUsers: string;
@@ -247,6 +248,8 @@ export declare module PageRollupLocalization {
247
248
  };
248
249
  Roller: {
249
250
  Overlay: string;
251
+ Comments: string;
252
+ Likes: string;
250
253
  };
251
254
  ListingWithImage: {};
252
255
  NavigationView: {
@@ -323,6 +326,7 @@ export declare module PageRollupLocalization {
323
326
  ScheduledForPublishing: string;
324
327
  UnpublishedChanges: string;
325
328
  Default: string;
329
+ ScheduledForArchiving: string;
326
330
  };
327
331
  CalendarView: {
328
332
  General: string;
@@ -269,15 +269,15 @@ export declare module PublishingAppLocalization {
269
269
  Body: string;
270
270
  };
271
271
  PublishingChannel: {
272
- Request: {
272
+ RequestEmail: {
273
273
  Subject: string;
274
274
  Body: string;
275
275
  };
276
- Approval: {
276
+ ApprovalEmail: {
277
277
  Subject: string;
278
278
  Body: string;
279
279
  };
280
- Reject: {
280
+ RejectEmail: {
281
281
  Subject: string;
282
282
  Body: string;
283
283
  Comment: string;
@@ -391,6 +391,7 @@ export declare module PublishingAppLocalization {
391
391
  InvalidSiteUrlErrorMessage: string;
392
392
  ExistedSiteUrlErrorMessage: string;
393
393
  NoMatchingSPSiteTemplate: string;
394
+ MissingPermissionErrorMessage: string;
394
395
  };
395
396
  Actions: {
396
397
  CreateNew: string;
@@ -2,5 +2,7 @@ export declare module WCMTokensLocalization {
2
2
  const namespace = "WCM.Tokens";
3
3
  interface locInterface {
4
4
  PublishingAppPageCollections: string;
5
+ PageTitle: string;
6
+ PageId: string;
5
7
  }
6
8
  }
@@ -1,5 +1,5 @@
1
1
  import { MessageBusTopicMediator } from "@omnia/fx";
2
- import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage } from "../../models";
2
+ import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage } from "../../models";
3
3
  import { NavigationData, NavigationNode, LinkItem, PageTypeProperty, LinkPickerRegistration } from "@omnia/wcm/models";
4
4
  import { LinkItemTemplateMsg } from "../../models/relatedlinks";
5
5
  export declare const WcmBlockNamespace = "omnia.wcm.block";
@@ -17,7 +17,7 @@ export declare class PublishingAppTopics {
17
17
  static get refreshNavigationContentUI(): MessageBusTopicMediator<void>;
18
18
  static get showPageScheduleDialogTopic(): MessageBusTopicMediator<PageScheduleMessage>;
19
19
  static get showPagePublishDialogTopic(): MessageBusTopicMediator<void>;
20
- static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<void>;
20
+ static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
21
21
  static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
22
22
  static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
23
23
  }
@@ -0,0 +1,15 @@
1
+ import { EventAction } from "@omnia/fx-models";
2
+ export declare class AnalyticsEventConstants {
3
+ static DefaultEventCategory: string;
4
+ static get PageTypeEventActions(): Array<EventAction>;
5
+ static get AddComment(): EventAction;
6
+ static get AddReaction(): EventAction;
7
+ static get AddCommentReply(): EventAction;
8
+ static get AddCommentReaction(): EventAction;
9
+ static get Share(): EventAction;
10
+ static get Rate(): EventAction;
11
+ static get BestReply(): EventAction;
12
+ static get FirstRead(): EventAction;
13
+ static get PagePublished(): EventAction;
14
+ static get PageScheduled(): EventAction;
15
+ }
@@ -0,0 +1,27 @@
1
+ import { EventAction } from "@omnia/fx-models";
2
+ import { PageId } from "@omnia/wcm/models";
3
+ export declare class AnalyticsHelper {
4
+ private replaceToken;
5
+ private currentPageStore;
6
+ private pageStore;
7
+ private analyticsService;
8
+ private navigationStore;
9
+ private analyticsSettings;
10
+ private getAnalyticsSettingsFromPageTypes;
11
+ /**
12
+ * Get page type data, if page id = null -> use current page
13
+ * @param pageId
14
+ * @returns
15
+ */
16
+ private getPageTypeData;
17
+ private getCurrentParentLayout;
18
+ replaceEventToken(source: string, fallBackDefault?: string): Promise<string>;
19
+ private findAndReplaceUnresolveToken;
20
+ /**
21
+ * Register analysis action
22
+ * @param action
23
+ * @param actionValue
24
+ * @param pageId Id of page. Use current page if this param is empty
25
+ */
26
+ registerAction(action: EventAction, actionValue?: number, pageId?: PageId): Promise<void>;
27
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./AnalyticsEventConstants";
2
+ export * from "./AnalyticsHelper";
@@ -1,32 +1,33 @@
1
- import { EnterprisePropertyDefinition, GuidValue, Tag, Identity } from "@omnia/fx-models";
2
- import { ItemQueryEnums, QueryFilter, PageId, VariationId } from "../models";
1
+ import { FilterLogicalOperator, EnterprisePropertyDefinition, GuidValue, Tag, Identity } from "@omnia/fx-models";
2
+ import { QueryFilter, PageId, VariationId } from "../models";
3
3
  export declare module ItemQueryHelper {
4
4
  const PageId = "PId";
5
5
  const ConditionExpressionFilter = "ConditionExpressionFilter";
6
6
  const VariationId = "VariationId";
7
- function generateExcludePageId(logicalOperator: ItemQueryEnums.FilterLogicalOperator, pageId: PageId, filters?: Array<QueryFilter>): QueryFilter;
8
- function generateFalseFilter(logicalOperator: ItemQueryEnums.FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
9
- function generateTrueFilter(logicalOperator: ItemQueryEnums.FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
10
- function generateTextEqualFilter(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
11
- function generateTextFilter(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
12
- function generateProcessFilterValue(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
13
- function generateProcessFilter(property: string, processIdsArray: Array<string>, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
14
- function generateEmptyArrayFilter(property: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
15
- function generatePersonFilter(property: string, values: Array<Identity>, includeEmpty: boolean, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
7
+ const VariationOfPageId = "VariationOfPageId";
8
+ function generateExcludePageId(logicalOperator: FilterLogicalOperator, pageId: PageId, filters?: Array<QueryFilter>): QueryFilter;
9
+ function generateFalseFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
10
+ function generateTrueFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
11
+ function generateTextEqualFilter(property: string, text: string, logicalOperator: FilterLogicalOperator): QueryFilter;
12
+ function generateTextFilter(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
13
+ function generateProcessFilterValue(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
14
+ function generateProcessFilter(property: string, processIdsArray: Array<string>, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
15
+ function generateEmptyArrayFilter(property: string, logicalOperator: FilterLogicalOperator): QueryFilter;
16
+ function generatePersonFilter(property: string, values: Array<Identity>, includeEmpty: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
16
17
  function generateQueryablePropertyName(internalName: string): {
17
18
  internalName: string;
18
19
  isComputedColumn: boolean;
19
20
  };
20
- function generateTaxonomyFilter(property: string, termIds: Array<GuidValue>, includeEmpty: boolean, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
21
- function generateTagFilter(property: string, value: Array<Tag>, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
22
- function generateVariationPropertyFilter(values: Array<VariationId>, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
21
+ function generateTaxonomyFilter(property: string, termIds: Array<GuidValue>, includeEmpty: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
22
+ function generateTagFilter(property: string, value: Array<Tag>, logicalOperator: FilterLogicalOperator): QueryFilter;
23
+ function generateVariationPropertyFilter(values: Array<VariationId>, logicalOperator: FilterLogicalOperator): QueryFilter;
23
24
  function generatePageComputedColumnName(internalName: string): string;
24
25
  function generatePagePropertyInternalName(property: EnterprisePropertyDefinition): string;
25
26
  function getContentPropertyInternalName(pagePropertyInternalName: string): string;
26
27
  function mapToPageProperty(property: EnterprisePropertyDefinition): EnterprisePropertyDefinition;
27
- function generateNumberFilter(property: string, value: number, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
28
- function generateBooleanFilter(property: string, value: boolean, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
29
- function generateDateFilter(property: string, from: Date, to: Date, logicalOperator: ItemQueryEnums.FilterLogicalOperator, keepTime?: boolean): QueryFilter;
30
- function generateBitwiseFilter(property: string, value: number, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
31
- function generateIsNullFilter(property: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
28
+ function generateNumberFilter(property: string, value: number, logicalOperator: FilterLogicalOperator): QueryFilter;
29
+ function generateBooleanFilter(property: string, value: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
30
+ function generateDateFilter(property: string, from: Date, to: Date, logicalOperator: FilterLogicalOperator, keepTime?: boolean): QueryFilter;
31
+ function generateBitwiseFilter(property: string, value: number, logicalOperator: FilterLogicalOperator): QueryFilter;
32
+ function generateIsNullFilter(property: string, logicalOperator: FilterLogicalOperator): QueryFilter;
32
33
  }
@@ -33,3 +33,7 @@ export declare class OmniaPageSearch extends TenantProperty {
33
33
  enabled?: boolean;
34
34
  constructor();
35
35
  }
36
+ export declare enum SyncOmniaSearchType {
37
+ FullSync = 1,
38
+ ResumeSync = 2
39
+ }
@@ -1,5 +1,5 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
- import { ReindexContentOmniaSearch } from "../models";
2
+ import { ReindexContentOmniaSearch, SyncOmniaSearchType } from "../models";
3
3
  export declare class OmniaSearchPageStore extends Store {
4
4
  private omniaSearchPageService;
5
5
  onActivated(): void;
@@ -14,7 +14,7 @@ export declare class OmniaSearchPageStore extends Store {
14
14
  */
15
15
  actions: {
16
16
  triggerReindexContentOmniaSearchPublishingApp: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
17
- triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
17
+ triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, (syncType: SyncOmniaSearchType) => void, (result: string, syncType: SyncOmniaSearchType) => void, (failureReason: any, syncType: SyncOmniaSearchType) => void, (syncType: SyncOmniaSearchType) => Promise<string>>;
18
18
  pollingReindexContentOmniaSearchStatus: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string) => void, (result: ReindexContentOmniaSearch, resourceId: string) => void, (failureReason: any, resourceId: string) => void, (resourceId: string) => Promise<ReindexContentOmniaSearch>>;
19
19
  getReindexContentLogs: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string, pageNr?: number, pageSize?: number, sortColumn?: string, sortDesc?: boolean) => void, (result: {
20
20
  total: number;
@@ -96,6 +96,7 @@ export declare const Constants: {
96
96
  };
97
97
  prefixTokens: {
98
98
  publishingApp: string;
99
+ page: string;
99
100
  };
100
101
  reindexContent: {
101
102
  tenantResourceId: string;
@@ -181,7 +181,8 @@ exports.Constants = {
181
181
  WCMPageGlossaryProviderId: new fx_models_1.Guid("342160b2-25c0-48a0-9f55-a4dae353ca7b")
182
182
  },
183
183
  prefixTokens: {
184
- publishingApp: "PublishingApp"
184
+ publishingApp: "PublishingApp",
185
+ page: "Page"
185
186
  },
186
187
  reindexContent: {
187
188
  tenantResourceId: "tenant"
@@ -89,6 +89,7 @@ export declare class WcmResourceManifests {
89
89
  static get SignOffRequestPageProvider(): Guid;
90
90
  static get SignOffRequestBanner(): Guid;
91
91
  static get PublishingAppToken(): Guid;
92
+ static get PageToken(): Guid;
92
93
  static get PagePropertiesProvider(): Guid;
93
94
  static get PagePropertiesProviderCore(): Guid;
94
95
  static get PagePropertyBindingProvider(): Guid;
@@ -105,6 +106,7 @@ export declare class WcmResourceManifests {
105
106
  static get PageRollupRendererResources(): Guid;
106
107
  static get WCMGlossaryType(): Guid;
107
108
  static get PageCreationCore(): Guid;
109
+ static get PageTypeAnalyticsCore(): Guid;
108
110
  }
109
111
  export declare class WcmWebComponentManifests {
110
112
  static get LinkPickerExtension(): Guid;
@@ -397,6 +399,7 @@ export declare class WcmWebComponentManifests {
397
399
  static get WelcomeBlockPicker(): Guid;
398
400
  static get WelcomeBlock(): Guid;
399
401
  static get WelcomeBlockSettings(): Guid;
402
+ static get PageSearchResultSource(): Guid;
400
403
  }
401
404
  export declare class InfoScreenManifests {
402
405
  static get AdminRegistration(): Guid;
@@ -102,6 +102,7 @@ class WcmResourceManifests {
102
102
  static get SignOffRequestPageProvider() { return new fx_models_1.Guid("4852704d-f6cc-4465-94f2-35ce664b6b18"); }
103
103
  static get SignOffRequestBanner() { return new fx_models_1.Guid("aea1569f-94dc-498c-a0fc-3a525c851352"); }
104
104
  static get PublishingAppToken() { return new fx_models_1.Guid("3d0b5714-6e71-4ad6-a0f9-3a5a232cba6e"); }
105
+ static get PageToken() { return new fx_models_1.Guid("6e3d102c-aca3-42eb-86bc-2e2d523b8f2a"); }
105
106
  static get PagePropertiesProvider() { return new fx_models_1.Guid("75e97f74-b5f6-4a17-9ed8-8dc2cff4e9b0"); }
106
107
  static get PagePropertiesProviderCore() { return new fx_models_1.Guid("35ddf13a-319d-4245-a9d8-d321c8604447"); }
107
108
  static get PagePropertyBindingProvider() { return new fx_models_1.Guid("84dc7fa4-a70c-470d-90b5-3df966391626"); }
@@ -118,6 +119,7 @@ class WcmResourceManifests {
118
119
  static get PageRollupRendererResources() { return new fx_models_1.Guid("74EA3346-4A90-46AA-996B-FD195002F28C"); }
119
120
  static get WCMGlossaryType() { return new fx_models_1.Guid("47B70789-B295-4DA7-BB4C-95BD275A4606"); }
120
121
  static get PageCreationCore() { return new fx_models_1.Guid("4c4b8bcc-ecc9-403e-934d-49bb26a75f3a"); }
122
+ static get PageTypeAnalyticsCore() { return new fx_models_1.Guid("663a621f-90a8-45c5-bb9c-cd6c7c35d7f6"); }
121
123
  }
122
124
  exports.WcmResourceManifests = WcmResourceManifests;
123
125
  class WcmWebComponentManifests {
@@ -411,6 +413,7 @@ class WcmWebComponentManifests {
411
413
  static get WelcomeBlockPicker() { return new fx_models_1.Guid("1cccfc13-daa0-4a13-96f1-4fd385b9f4ad"); }
412
414
  static get WelcomeBlock() { return new fx_models_1.Guid("1a517930-e257-49f0-aec8-a1617d79d21e"); }
413
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"); }
414
417
  }
415
418
  exports.WcmWebComponentManifests = WcmWebComponentManifests;
416
419
  WcmWebComponentManifests.Blocks = class {
@@ -1,7 +1,8 @@
1
1
  import { GuidValue, MultilingualString, SpacingSettings } from "@omnia/fx-models";
2
- import { WidgetCategoryInfo, WidgetInfo, MatomoSite, AnalyticsPropertyFilter } from "@omnia/workplace/models";
2
+ import { AnalyticsPropertyFilter, MatomoSite, WidgetCategoryInfo, WidgetInfo } from "@omnia/workplace/models";
3
3
  import { IAnalyticsReportViewSettings } from "./AnalyticsReportView";
4
- import { SegmentSettings } from "./SegmentSettings";
4
+ import { WebsiteQueryType } from "./QuerySegmentType";
5
+ import { QuerySegmentSettings } from "./SegmentSettings";
5
6
  export interface AnalyticsReportItem extends Record<string, any> {
6
7
  }
7
8
  export interface AnalyticsReportCommonBlockSettings {
@@ -24,7 +25,8 @@ export interface AnalyticsReportCommonBlockSettings {
24
25
  };
25
26
  propertyFilters: AnalyticsPropertyFilter[];
26
27
  isExpandRows?: boolean;
27
- segmentSettings?: SegmentSettings;
28
+ websiteQueryType?: WebsiteQueryType;
29
+ segmentSettings?: QuerySegmentSettings;
28
30
  }
29
31
  export interface AnalyticsReportColumn {
30
32
  internalName: string;
@@ -40,4 +42,5 @@ export declare const AnalyticsReportColumnConstants: {
40
42
  readonly titleLink: string;
41
43
  readonly icon: string;
42
44
  readonly openNewWindow: string;
45
+ readonly visitorFrequency: string;
43
46
  };
@@ -4,5 +4,6 @@ exports.AnalyticsReportColumnConstants = void 0;
4
4
  exports.AnalyticsReportColumnConstants = {
5
5
  get titleLink() { return "_internal_titleLink"; },
6
6
  get icon() { return "_internal_icon"; },
7
- get openNewWindow() { return "_internal_openNewWindow"; }
7
+ get openNewWindow() { return "_internal_openNewWindow"; },
8
+ get visitorFrequency() { return "_internal_visitorFrequency"; }
8
9
  };
@@ -1,5 +1,6 @@
1
1
  import { GuidValue } from "@omnia/fx/models";
2
2
  import { AnalyticsColumn } from "@omnia/workplace/models";
3
+ import { AnalyticsReportExportsRequest } from "../../../analytics/shared";
3
4
  import { AnalyticsReportCommonBlockSettings, AnalyticsReportItem } from "./AnalyticsReport";
4
5
  export interface AnalyticsReportView {
5
6
  id: GuidValue;
@@ -17,11 +18,18 @@ export interface IAnalyticsReportViewSettingsProperties {
17
18
  export interface IAnalyticsReportViewDisplayProperties {
18
19
  settings: AnalyticsReportCommonBlockSettings;
19
20
  items: AnalyticsReportItem[];
20
- offset?: number;
21
+ offset?: {
22
+ value: number;
23
+ };
21
24
  allColumns: AnalyticsColumn[];
22
- isLoadingData: boolean;
25
+ isLoadingData: {
26
+ value: boolean;
27
+ };
23
28
  sortByChanged?: (sortKey: string, descending: boolean) => void;
24
29
  offsetChanged: (offset: number) => void;
30
+ exportRequest?: AnalyticsReportExportsRequest;
31
+ selectedSortColumn?: SortSelection;
32
+ selectedSortOrder?: SortSelection;
25
33
  }
26
34
  export interface IAnalyticsReportViewSettings {
27
35
  selectedSortColumn: SortSelection;
@@ -1,5 +1,4 @@
1
- export declare enum QuerySegmentType {
2
- NoFilter = 0,
3
- Segment = 1,
4
- Custom = 2
1
+ export declare enum WebsiteQueryType {
2
+ Reports = 0,
3
+ Events = 1
5
4
  }
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuerySegmentType = void 0;
4
- var QuerySegmentType;
5
- (function (QuerySegmentType) {
6
- QuerySegmentType[QuerySegmentType["NoFilter"] = 0] = "NoFilter";
7
- QuerySegmentType[QuerySegmentType["Segment"] = 1] = "Segment";
8
- QuerySegmentType[QuerySegmentType["Custom"] = 2] = "Custom";
9
- })(QuerySegmentType = exports.QuerySegmentType || (exports.QuerySegmentType = {}));
3
+ exports.WebsiteQueryType = void 0;
4
+ var WebsiteQueryType;
5
+ (function (WebsiteQueryType) {
6
+ WebsiteQueryType[WebsiteQueryType["Reports"] = 0] = "Reports";
7
+ WebsiteQueryType[WebsiteQueryType["Events"] = 1] = "Events";
8
+ })(WebsiteQueryType = exports.WebsiteQueryType || (exports.WebsiteQueryType = {}));
@@ -1,13 +1,8 @@
1
- import { SegmentInfo } from "@omnia/workplace/models";
2
- import { QuerySegmentType } from "./QuerySegmentType";
3
- export interface SegmentSettings {
4
- type: QuerySegmentType;
5
- segment?: SegmentInfo;
6
- customSegment?: FilterCustomSegment[];
7
- }
8
- export interface FilterCustomSegment {
9
- key: FilterKey;
10
- value: string;
1
+ export interface QuerySegmentSettings {
2
+ firstDimension?: FilterKey;
3
+ firstFilterValue?: string;
4
+ secondDimension?: FilterKey;
5
+ secondFilterValue?: string;
11
6
  }
12
7
  export declare enum FilterKey {
13
8
  eventCategory = "eventCategory",
@@ -7,7 +7,7 @@ class CardView {
7
7
  */
8
8
  constructor() {
9
9
  this.id = "8f7325a6-6efc-4a06-b78d-1a299ce3d07d";
10
- this.name = "$Localize:WCM.AnalyticsReport.Views.CardView.Title;";
10
+ this.name = "$Localize:WCM.AnalyticsReport.Views.CardView.MetricViewTitle;";
11
11
  this.settingsElement = "wcm-analyticsreport-views-card-settings";
12
12
  this.viewElement = "wcm-analyticsreport-views-card-display";
13
13
  this.supportClassicPaging = true;
@@ -64,6 +64,8 @@ export interface ActionButtonLinkHandlerSettings extends IActionHandlerSettings
64
64
  dialogPosition?: DialogPositions;
65
65
  closeWhenOutsideClick?: boolean;
66
66
  anchorName?: string;
67
+ selectedTextColor?: string;
68
+ selectedBackgroundColor?: string;
67
69
  }
68
70
  export interface ActionButtonCreatePageHandlerSettings extends IActionHandlerSettings, PageCreationActionSetting {
69
71
  }
@@ -17,6 +17,7 @@ export declare const CalendarRollupBlockListViewSettingsStyles: {
17
17
  darkenOverlay: types.NestedCSSProperties;
18
18
  dateContent: types.NestedCSSProperties;
19
19
  setGroupItemBorder: (color: string) => types.NestedCSSProperties;
20
+ textColor?: types.NestedCSSProperties;
20
21
  };
21
22
  export declare const CalendarRollupBlockSettingsStyles: {
22
23
  calenderRemoveButtonPositioner: types.NestedCSSProperties;
@@ -20,6 +20,7 @@ export interface PageItemNode {
20
20
  publishingAppId: string;
21
21
  displayTitle?: string;
22
22
  nodeId?: number;
23
+ selectedVariationId?: number;
23
24
  }
24
25
  export interface PageLinkItem extends LinkItem, PageItemNode, AnchorLinkItem {
25
26
  }
@@ -3,8 +3,8 @@ import { SpacingSettings } from "@omnia/fx-models";
3
3
  import { ITheming } from "@omnia/fx/ux";
4
4
  import { PagePropertiesBlockSettings } from ".";
5
5
  export declare const PagePropertiesBlockAdvancedStyles: {
6
- propertyWrapper?: types.NestedCSSProperties;
7
- propertyContentWrapper?: (settings: PagePropertiesBlockSettings) => types.NestedCSSProperties;
6
+ propertyWrapper?: (isFlexBox: boolean) => types.NestedCSSProperties;
7
+ propertyContentWrapper?: (settings: PagePropertiesBlockSettings, isFlexBox: boolean) => types.NestedCSSProperties;
8
8
  icon?: types.NestedCSSProperties;
9
9
  propertyLabelWrapper?: (fullWidth: boolean, textColor: string) => types.NestedCSSProperties;
10
10
  propertyLabel?: (fullWidth: boolean) => types.NestedCSSProperties;
@@ -30,6 +30,7 @@ export declare const PageRollupBlockListViewViewStyles: {
30
30
  titleHeader?: types.NestedCSSProperties;
31
31
  hideHeaders?: types.NestedCSSProperties;
32
32
  customOmfxPeoplePicker?: types.NestedCSSProperties;
33
+ titleDefault?: types.NestedCSSProperties;
33
34
  titleLink?: types.NestedCSSProperties;
34
35
  clickableLink?: types.NestedCSSProperties;
35
36
  getPaddingStyle?: (spacing: SpacingSettings, skip?: {
@@ -1,9 +1,10 @@
1
1
  import { FilePickerStorageProviderContext, GuidValue } from "@omnia/fx-models";
2
- import { VersionId } from "../pages";
2
+ import { PageId, VersionId } from "../pages";
3
3
  export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
4
4
  readonly omniaServiceId: GuidValue;
5
5
  readonly metadataTypeId: GuidValue;
6
6
  fileName: string;
7
7
  readonly versionId: VersionId;
8
- constructor(versionId: VersionId);
8
+ readonly pageId: PageId;
9
+ constructor(versionId: VersionId, pageId: PageId);
9
10
  }