@omnia/wcm 7.9.5-preview → 7.9.6-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.
@@ -234,6 +234,7 @@ export declare module EditorLocalization {
234
234
  };
235
235
  ListView: string;
236
236
  };
237
+ MaximumCapacityMessage: string;
237
238
  };
238
239
  AppDocuments: {
239
240
  Documents: string;
@@ -876,6 +877,29 @@ export declare module EditorLocalization {
876
877
  Cancel: string;
877
878
  Approval: string;
878
879
  };
880
+ PageReviewWorkflow: {
881
+ Title: string;
882
+ RuleName: string;
883
+ DateProperty: string;
884
+ MessageBarEnabled: string;
885
+ MessageBarTitle: string;
886
+ MessageBarBody: string;
887
+ EmailEnabled: string;
888
+ EmailSubject: string;
889
+ EmailBody: string;
890
+ EmailRecipients: string;
891
+ SuspendEnabled: string;
892
+ ChangePageTypeEnabled: string;
893
+ PageType: string;
894
+ RemoveFromSearch: string;
895
+ Save: string;
896
+ Add: string;
897
+ Cancel: string;
898
+ };
899
+ RemovePageReviewWorkflowRuleSettings: {
900
+ Title: string;
901
+ ConfirmationMessage: string;
902
+ };
879
903
  };
880
904
  Tabs: {
881
905
  Gamification: 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;
@@ -107,6 +107,7 @@ export declare class WcmResourceManifests {
107
107
  static get WCMGlossaryType(): Guid;
108
108
  static get PageCreationCore(): Guid;
109
109
  static get PageTypeAnalyticsCore(): Guid;
110
+ static get PageBulkUpdateResources(): Guid;
110
111
  }
111
112
  export declare class WcmWebComponentManifests {
112
113
  static get LinkPickerExtension(): Guid;
@@ -197,6 +198,8 @@ export declare class WcmWebComponentManifests {
197
198
  static get WcmAdminSharepointSyncSearchBlade(): Guid;
198
199
  static get WcmAdminSharepointSyncCreateSearchPropertyBlade(): Guid;
199
200
  static get WcmAdminPageBulkUpdateBlade(): Guid;
201
+ static get WcmAdminPageBulkUpdateLogsBlade(): Guid;
202
+ static get WcmAdminPageBulkUpdateLogDetailBlade(): Guid;
200
203
  static get AdminLayoutsBlade(): Guid;
201
204
  static get AdminCreatePageCollectionBlade(): Guid;
202
205
  static get AdminPageCollectionSettingBlade(): Guid;
@@ -120,6 +120,7 @@ class WcmResourceManifests {
120
120
  static get WCMGlossaryType() { return new fx_models_1.Guid("47B70789-B295-4DA7-BB4C-95BD275A4606"); }
121
121
  static get PageCreationCore() { return new fx_models_1.Guid("4c4b8bcc-ecc9-403e-934d-49bb26a75f3a"); }
122
122
  static get PageTypeAnalyticsCore() { return new fx_models_1.Guid("663a621f-90a8-45c5-bb9c-cd6c7c35d7f6"); }
123
+ static get PageBulkUpdateResources() { return new fx_models_1.Guid("07f07d65-f0d3-4e63-8c8c-c949934606bd"); }
123
124
  }
124
125
  exports.WcmResourceManifests = WcmResourceManifests;
125
126
  class WcmWebComponentManifests {
@@ -213,6 +214,8 @@ class WcmWebComponentManifests {
213
214
  static get WcmAdminSharepointSyncSearchBlade() { return new fx_models_1.Guid("9CA57449-0689-4989-ADBF-EBBF55136552"); }
214
215
  static get WcmAdminSharepointSyncCreateSearchPropertyBlade() { return new fx_models_1.Guid("3548DF2B-3208-43E2-83B5-DC5C9A304328"); }
215
216
  static get WcmAdminPageBulkUpdateBlade() { return new fx_models_1.Guid("b1051d05-cba3-4f25-955f-9b56735de28b"); }
217
+ static get WcmAdminPageBulkUpdateLogsBlade() { return new fx_models_1.Guid("5c5b7c43-f926-48a5-b12c-eaabc5d36b5d"); }
218
+ static get WcmAdminPageBulkUpdateLogDetailBlade() { return new fx_models_1.Guid("72474961-e7fc-4848-9d6c-6e0f1d789aba"); }
216
219
  static get AdminLayoutsBlade() { return new fx_models_1.Guid("c09dee63-cfd3-4451-ae2d-3404c55b0e2c"); }
217
220
  static get AdminCreatePageCollectionBlade() { return new fx_models_1.Guid("57f2cd00-7103-478c-bb86-e469d4aab004"); }
218
221
  static get AdminPageCollectionSettingBlade() { return new fx_models_1.Guid("0e51c7bc-368e-4d75-8fc8-0345a395cd69"); }
@@ -1,7 +1,6 @@
1
1
  import { EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, Identity, MultilingualString, TimePeriodSettings, AnalyticsSettings } from "@omnia/fx-models";
2
2
  import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
3
3
  import { SharepointSyncPageSettings } from "../../../sp";
4
- import { PageId } from "./Page";
5
4
  import { PageData } from "./PageData";
6
5
  /**
7
6
  * We should update to use nheritance interfaces pattern
@@ -40,7 +39,7 @@ export interface PageTypeData extends PageData {
40
39
  sharepointSyncPageSettings?: SharepointSyncPageSettings;
41
40
  automaticArchiveSettings: AutomaticArchiveSettings;
42
41
  analyticsSettings?: AnalyticsSettings;
43
- pageReviewWorkflows?: PageReviewWorkflow[];
42
+ pageReviewWorkflowRules?: number[];
44
43
  }
45
44
  export interface PageTypeProperty extends EnterprisePropertyDefinition {
46
45
  info: PageTypePropertyInfo;
@@ -51,13 +50,6 @@ export interface ContentPropertyWithInfo extends EnterprisePropertyDefinition {
51
50
  export interface AutomaticArchiveSettings {
52
51
  property: string;
53
52
  }
54
- export interface PageReviewWorkflow {
55
- title: MultilingualString;
56
- dateProperty: string;
57
- messageBarSettings: MessageBarSettings;
58
- emailSettings: SendEmailSettings;
59
- suspendedSettings: SuspendedSettings;
60
- }
61
53
  export interface MessageBarSettings {
62
54
  enabled: boolean;
63
55
  title: MultilingualString;
@@ -71,10 +63,20 @@ export interface SendEmailSettings {
71
63
  }
72
64
  export interface ChangePageTypeSettings {
73
65
  enabled: boolean;
74
- pageTypeId: PageId;
66
+ pageTypeId: number;
75
67
  }
76
68
  export interface SuspendedSettings {
77
69
  enabled: boolean;
78
70
  changePageType: ChangePageTypeSettings;
79
71
  removeFromSearchEnabled: boolean;
80
72
  }
73
+ export interface PageReviewWorkflowRule {
74
+ id: number;
75
+ pageId: number;
76
+ originalPageVersionId: number;
77
+ title: MultilingualString;
78
+ dateProperty: string;
79
+ messageBarSettings: MessageBarSettings;
80
+ emailSettings: SendEmailSettings;
81
+ suspendedSettings: SuspendedSettings;
82
+ }
@@ -18,4 +18,5 @@ export declare class PageStatisticsService {
18
18
  exportScheduledReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
19
19
  getDailyStatisticsPerPage(pageId: number, includeSubPages: boolean): Promise<Array<DailyStatisticsPerPage>>;
20
20
  getPageUniqueUsersByUserProperty(pageId: number, propertyName: string, datePeriods: PageRollupEnums.DatePeriods): Promise<Array<UniqueUsersByUserProperty>>;
21
+ isMaximumCapacity(): Promise<boolean>;
21
22
  }
@@ -29,6 +29,7 @@ export declare class NavigationStore extends Store {
29
29
  hasChildrenLoadTriggered: (node: NavigationNode<NavigationData>) => boolean;
30
30
  getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
31
31
  absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId, excludeVariationUrl?: boolean) => string;
32
+ pageTitle: (node: NavigationNode<NavigationData>) => string;
32
33
  sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
33
34
  checkNodeIsDefaultPageCollectionNode: (navigationNode: PageCollectionNavigationNode<PageCollectionNavigationData>) => boolean;
34
35
  };
@@ -7,8 +7,10 @@ export declare class PageStatisticsStore extends Store {
7
7
  private omniaContext;
8
8
  private static _visitedPages;
9
9
  private pagePropertyMappingSettingsState;
10
+ private isMaximumCapacity;
10
11
  getters: {
11
12
  pagePropertyMappingSettings: () => PagePropertyMappingSetting;
13
+ isMaximumCapacity: () => boolean;
12
14
  };
13
15
  setters: {
14
16
  /**
@@ -30,6 +32,7 @@ export declare class PageStatisticsStore extends Store {
30
32
  exportScheduledReport: import("@omnia/fx/stores").StoreAction<unknown, (reportOptions: PageReportOption) => void, (result: PageStatisticExportStatus, reportOptions: PageReportOption) => void, (failureReason: any, reportOptions: PageReportOption) => void, (reportOptions: PageReportOption) => Promise<PageStatisticExportStatus>>;
31
33
  downloadReportFile: import("@omnia/fx/stores").StoreAction<unknown, (pageStatistic: PageStatisticExportStatus) => void, (result: void, pageStatistic: PageStatisticExportStatus) => void, (failureReason: any, pageStatistic: PageStatisticExportStatus) => void, (pageStatistic: PageStatisticExportStatus) => Promise<void>>;
32
34
  getDailyStatisticsPerPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, includeSubPages: boolean) => void, (result: DailyStatisticsPerPage[], pageId: number, includeSubPages: boolean) => void, (failureReason: any, pageId: number, includeSubPages: boolean) => void, (pageId: number, includeSubPages: boolean) => Promise<DailyStatisticsPerPage[]>>;
35
+ ensureIsMaximumCapacity: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
33
36
  };
34
37
  private submitPageViewed;
35
38
  private downloadReportResult;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.9.5-preview",
4
+ "version": "7.9.6-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"