@omnia/wcm 7.10.0-preview.1 → 7.10.0-preview.11

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Omnia Web Content Management
2
2
 
3
- Omnia Web Content Management is a product from Precio Fishbone. In order to use Omnia Web Content Management you need a product license for one of the following products:
3
+ Omnia Web Content Management is a product from Omnia Digital Workplace AB. In order to use Omnia Web Content Management you need a product license for one of the following products:
4
4
 
5
5
  * Omnia Foundation (stand-alone)
6
6
  * Omnia Intranet
@@ -110,7 +110,7 @@ export declare module WCMCoreLocalization {
110
110
  };
111
111
  Iframe: {
112
112
  Title: string;
113
- Summary: string;
113
+ BlockSummary: string;
114
114
  };
115
115
  ChannelRollup: {
116
116
  Title: string;
@@ -131,6 +131,7 @@ export declare module EditorLocalization {
131
131
  ArchivedAt: string;
132
132
  Comment: string;
133
133
  CreateCopy: string;
134
+ CreateCopyTooltip: string;
134
135
  Terminate: string;
135
136
  TerminateConfirmationMessage: string;
136
137
  RestoreConfirmationMessage: string;
@@ -878,7 +879,7 @@ export declare module EditorLocalization {
878
879
  Cancel: string;
879
880
  Approval: string;
880
881
  };
881
- PageReviewWorkflow: {
882
+ PageReviewRule: {
882
883
  Title: string;
883
884
  RuleName: string;
884
885
  DateProperty: string;
@@ -898,15 +899,26 @@ export declare module EditorLocalization {
898
899
  Save: string;
899
900
  Add: string;
900
901
  Cancel: string;
901
- SendEmailDialog: {
902
+ TestEmailDialog: {
902
903
  Title: string;
903
- Message: string;
904
+ Instruction: string;
905
+ InfoText: string;
904
906
  Buttons: {
905
907
  SendEmail: string;
906
908
  };
909
+ NoPagesFoundMessage: string;
910
+ };
911
+ EditRuleBtn: string;
912
+ DeleteRuleBtn: string;
913
+ TestEmailBtn: string;
914
+ Placeholders: {
915
+ Title: string;
916
+ PlaceholdersDescription: string;
917
+ Property: string;
907
918
  };
919
+ EmailTemplate: string;
908
920
  };
909
- RemovePageReviewWorkflowRuleSettings: {
921
+ RemovePageReviewRuleSettings: {
910
922
  Title: string;
911
923
  ConfirmationMessage: string;
912
924
  };
@@ -392,5 +392,8 @@ export declare module PageRollupLocalization {
392
392
  CheckedOutBy: string;
393
393
  };
394
394
  };
395
+ ExportResult: {
396
+ LoginName: string;
397
+ };
395
398
  }
396
399
  }
@@ -315,6 +315,14 @@ export declare module PublishingAppLocalization {
315
315
  Message: string;
316
316
  };
317
317
  EnableEditNotifications: string;
318
+ NotifyForEdit: {
319
+ SectionLabel: string;
320
+ NoteTitle: string;
321
+ Note: string;
322
+ VariationAuthor: string;
323
+ PagePropertyUsers: string;
324
+ UserPropertyPickerLabel: string;
325
+ };
318
326
  };
319
327
  StatisticProvider: {
320
328
  SiteScript: string;
@@ -1,5 +1,5 @@
1
1
  import { MessageBusTopicMediator } from "@omnia/fx";
2
- import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage, ShowPageReviewValidateFailedDialogMessage } 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";
@@ -20,5 +20,4 @@ export declare class PublishingAppTopics {
20
20
  static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
21
21
  static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
22
22
  static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
23
- static get showPageReviewValidateFailedDialogTopic(): MessageBusTopicMediator<ShowPageReviewValidateFailedDialogMessage>;
24
23
  }
@@ -10,6 +10,7 @@ export interface PageRollupViewSettings {
10
10
  selectProperties: Array<string>;
11
11
  showContentAsDialog: boolean;
12
12
  enableRichText: boolean;
13
+ disableViewButtonOnDialog: boolean;
13
14
  enableMention?: boolean;
14
15
  enableBestReply: boolean;
15
16
  enableSubscription: boolean;
@@ -1,6 +1,7 @@
1
- import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator } from "@omnia/fx-models";
1
+ import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator, UserIdentity } from "@omnia/fx-models";
2
2
  import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
3
3
  import { SharepointSyncPageSettings } from "../../../sp";
4
+ import { PageId } from "./Page";
4
5
  import { PageData } from "./PageData";
5
6
  /**
6
7
  * We should update to use nheritance interfaces pattern
@@ -40,7 +41,7 @@ export interface PageTypeData extends PageData {
40
41
  sharepointSyncPageSettings?: SharepointSyncPageSettings;
41
42
  automaticArchiveSettings: AutomaticArchiveSettings;
42
43
  analyticsSettings?: AnalyticsSettings;
43
- pageReviewWorkflowRules?: number[];
44
+ pageReviewRules?: number[];
44
45
  }
45
46
  export interface PageTypeProperty extends EnterprisePropertyDefinition {
46
47
  info: PageTypePropertyInfo;
@@ -52,7 +53,6 @@ export interface AutomaticArchiveSettings {
52
53
  property: string;
53
54
  }
54
55
  export interface MessageBarSettings {
55
- enabled: boolean;
56
56
  title: MultilingualString;
57
57
  body: MultilingualString;
58
58
  icon: IconPickerModel;
@@ -60,7 +60,6 @@ export interface MessageBarSettings {
60
60
  textColor: string;
61
61
  }
62
62
  export interface SendEmailSettings {
63
- enabled: boolean;
64
63
  subject: MultilingualString;
65
64
  body: MultilingualString;
66
65
  recipientProperties: string[];
@@ -70,29 +69,32 @@ export interface ChangePageTypeSettings {
70
69
  pageTypeId: number;
71
70
  }
72
71
  export interface SuspendedSettings {
73
- enabled: boolean;
74
72
  changePageType: ChangePageTypeSettings;
75
73
  removeFromSearchEnabled: boolean;
76
74
  }
77
- export interface PageReviewWorkflowRule {
75
+ export interface PageReviewRule {
78
76
  id: number;
79
77
  pageId: number;
80
78
  originalPageVersionId: number;
81
79
  title: MultilingualString;
82
80
  dateProperty: string;
81
+ messageBarEnabled: boolean;
83
82
  messageBarSettings: MessageBarSettings;
83
+ emailEnabled: boolean;
84
84
  emailSettings: SendEmailSettings;
85
+ suspendEnabled: boolean;
85
86
  suspendedSettings: SuspendedSettings;
86
87
  }
87
88
  export interface PageReviewRuleEvaluationResult {
88
- pageReviewRule: PageReviewWorkflowRule;
89
+ pageReviewRule: PageReviewRule;
89
90
  reviewDate: Date;
90
91
  showMessageBar: boolean;
91
92
  isSuspended: boolean;
92
93
  sendEmail: boolean;
93
94
  }
94
- export interface PageReviewRuleSendEmailRequest {
95
+ export interface PageReviewRuleTestMailTemplateRequest {
95
96
  ruleId: number;
96
97
  pageTypeId: number;
97
- reviewDate: Date;
98
+ identities: UserIdentity[];
99
+ pageIds: PageId[];
98
100
  }
@@ -22,6 +22,10 @@ export interface Variation {
22
22
  automaticMachineTranslation?: boolean;
23
23
  allowEditMachineTranslation?: boolean;
24
24
  activeRightToLeft?: boolean;
25
- editNotificationEnabled?: boolean;
25
+ editNotificationSettings?: VariationEditNotificationSettings;
26
+ }
27
+ export interface VariationEditNotificationSettings {
28
+ notifyVariationAuthorOnEdit?: boolean;
29
+ notifyPagePropertyUsersOnEdit?: boolean;
26
30
  editNotificationsUserPropertyId?: GuidValue;
27
31
  }
@@ -1,5 +1,6 @@
1
- import { MultilingualString, IIcon, Identity, GuidValue } from "@omnia/fx-models";
1
+ import { MultilingualString, IIcon, Identity } from "@omnia/fx-models";
2
2
  import { TargetingFilterProperty } from "@omnia/fx-sp";
3
+ import { VariationEditNotificationSettings } from "./Variation";
3
4
  export interface VariationCreationRequest {
4
5
  displayNames: MultilingualString;
5
6
  targetingFilterData: TargetingFilterProperty;
@@ -10,6 +11,5 @@ export interface VariationCreationRequest {
10
11
  * */
11
12
  author?: Identity;
12
13
  authors?: Array<Identity>;
13
- editNotificationEnabled?: boolean;
14
- editNotificationsUserPropertyId?: GuidValue;
14
+ editNotificationSettings: VariationEditNotificationSettings;
15
15
  }
@@ -22,7 +22,7 @@ export declare class WcmRouter {
22
22
  private loadTreeForPath;
23
23
  navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, forceToNewNavigationState?: boolean): Promise<T>;
24
24
  navigateWithVariationTargeting<T extends NavigationNode<NavigationData>>(to: T): Promise<T>;
25
- navigateFromExternalApp<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): void;
25
+ navigateFromExternalApp<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, openEditor?: boolean): void;
26
26
  private buildRelativePath;
27
27
  private getTargetingVariation;
28
28
  onDisposing(): void;
@@ -17,6 +17,3 @@ export interface PageScheduleMessage {
17
17
  export interface ShowApprovalDialogMessage {
18
18
  dialogAction: DialogAction;
19
19
  }
20
- export interface ShowPageReviewValidateFailedDialogMessage {
21
- failedProperties: Array<string>;
22
- }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.1",
4
+ "version": "7.10.0-preview.11",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"