@omnia/wcm 6.7.0-dev → 6.7.100-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/core/loc/CoreLocalization.d.ts +10 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +5 -4
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -1
- package/internal-do-not-import-from-here/core/ux/FilterTaxonomyValueInput.d.ts +27 -0
- package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +2 -1
- package/internal-do-not-import-from-here/fx/models/channels/Channel.d.ts +2 -4
- package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +1 -29
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +2 -8
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +0 -1
- package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/channels/index.js +0 -1
- package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/MegaMenu.d.ts +19 -7
- package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +7 -4
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.js +6 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/NewPageActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +13 -11
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +1 -13
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +24 -25
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +0 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -142
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.d.ts +0 -8
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.js +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionMenu.d.ts +0 -11
|
@@ -174,6 +174,16 @@ export declare module WCMCoreLocalization {
|
|
|
174
174
|
Description: string;
|
|
175
175
|
Category: string;
|
|
176
176
|
};
|
|
177
|
+
YammerIntegration: {
|
|
178
|
+
Title: string;
|
|
179
|
+
Category: string;
|
|
180
|
+
Description: string;
|
|
181
|
+
};
|
|
182
|
+
FixArchivePermissions: {
|
|
183
|
+
Title: string;
|
|
184
|
+
Description: string;
|
|
185
|
+
Category: string;
|
|
186
|
+
};
|
|
177
187
|
};
|
|
178
188
|
ImageScalingBlockSettings: {
|
|
179
189
|
ForceDefaultScaling: string;
|
|
@@ -80,13 +80,11 @@ export declare module EditorLocalization {
|
|
|
80
80
|
Terminate: string;
|
|
81
81
|
TerminateConfirmationMessage: string;
|
|
82
82
|
RestoreConfirmationMessage: string;
|
|
83
|
+
NoPermissionOnParentPageMessage: string;
|
|
83
84
|
PageCollectionNotFoundMessage: string;
|
|
84
85
|
DefaultVariationPageNotFoundMessage: string;
|
|
85
86
|
ParentPageNotFoundMessage: string;
|
|
86
|
-
|
|
87
|
-
ParentPageTerminatedMessage: string;
|
|
88
|
-
DefaultVariationPageTerminatedMessage: string;
|
|
89
|
-
PageTypeTerminatedMessage: string;
|
|
87
|
+
PageTypeNotFoundMessage: string;
|
|
90
88
|
PageCollectionArchivedMessage: string;
|
|
91
89
|
ParentPageArchivedMessage: string;
|
|
92
90
|
DefaultVariationPageArchivedMessage: string;
|
|
@@ -434,6 +432,9 @@ export declare module EditorLocalization {
|
|
|
434
432
|
Channels: string;
|
|
435
433
|
NoItem: string;
|
|
436
434
|
};
|
|
435
|
+
PageCollectionPermission: {
|
|
436
|
+
Title: string;
|
|
437
|
+
};
|
|
437
438
|
};
|
|
438
439
|
Dialogs: {
|
|
439
440
|
MoveToTenant: {
|
|
@@ -239,7 +239,7 @@ export declare module PublishingAppLocalization {
|
|
|
239
239
|
Title: string;
|
|
240
240
|
AutomaticTerminateTooltip: string;
|
|
241
241
|
ArchiveDate: string;
|
|
242
|
-
|
|
242
|
+
EnableAutoTermination: string;
|
|
243
243
|
};
|
|
244
244
|
SharepointSync: {
|
|
245
245
|
SharepointSyncSettingsLabel: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TaxonomyPropertySettings } from "@omnia/fx/models";
|
|
2
|
+
import { VueComponentBase, VueComponentBaseProps } from "@omnia/fx/ux";
|
|
3
|
+
import { PageRollupEnums, PageRollupUiTaxonomyPropFilterValue } from "../../fx/models";
|
|
4
|
+
export interface IFilterTaxonomyValueInputProps extends VueComponentBaseProps {
|
|
5
|
+
valueObj: PageRollupUiTaxonomyPropFilterValue;
|
|
6
|
+
settings: TaxonomyPropertySettings;
|
|
7
|
+
filterSettingsClass: string;
|
|
8
|
+
alignSelfCenterClass: string;
|
|
9
|
+
filterTypes: Array<{
|
|
10
|
+
id: PageRollupEnums.FilterTypes;
|
|
11
|
+
title: string;
|
|
12
|
+
}>;
|
|
13
|
+
updateBlockData: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare class FilterTaxonomyValueInput extends VueComponentBase<IFilterTaxonomyValueInputProps> {
|
|
16
|
+
valueObj: PageRollupUiTaxonomyPropFilterValue;
|
|
17
|
+
settings: TaxonomyPropertySettings;
|
|
18
|
+
filterSettingsClass: string;
|
|
19
|
+
alignSelfCenterClass: string;
|
|
20
|
+
filterTypes: Array<{
|
|
21
|
+
id: PageRollupEnums.FilterTypes;
|
|
22
|
+
title: string;
|
|
23
|
+
}>;
|
|
24
|
+
updateBlockData: () => void;
|
|
25
|
+
private loc;
|
|
26
|
+
render(): JSX.Element[];
|
|
27
|
+
}
|
|
@@ -34,7 +34,8 @@ export var Constants = {
|
|
|
34
34
|
featureIds: {
|
|
35
35
|
community: "c6d779e8-58ef-4f5d-9fe4-dbdd311bf9c9",
|
|
36
36
|
infoScreen: "5899f95b-0b0e-43ef-bfc5-fb387467b914",
|
|
37
|
-
eventmanagement: "5d84674a-da6f-455f-90e7-ec7c90ca3a26"
|
|
37
|
+
eventmanagement: "5d84674a-da6f-455f-90e7-ec7c90ca3a26",
|
|
38
|
+
yammerIntegration: "560986c7-56dd-4aea-abec-008825a53dc8"
|
|
38
39
|
},
|
|
39
40
|
communityAppDefinitionInfo: {
|
|
40
41
|
id: new Guid("3b0e3cd4-911e-49cf-a401-b6c904526b85")
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Guid, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
|
|
2
2
|
export declare enum ChannelId {
|
|
3
3
|
}
|
|
4
|
-
export interface ChannelIdentityResolved extends Channel {
|
|
5
|
-
administrator: Array<Identity>;
|
|
6
|
-
publisher: Array<Identity>;
|
|
7
|
-
}
|
|
8
4
|
export interface Channel {
|
|
9
5
|
id: ChannelId;
|
|
10
6
|
securityResourceId: Guid;
|
|
@@ -13,6 +9,8 @@ export interface Channel {
|
|
|
13
9
|
publicUrl: string;
|
|
14
10
|
owner: Array<Identity>;
|
|
15
11
|
image: MediaPickerImage;
|
|
12
|
+
administrator: Array<Identity>;
|
|
13
|
+
publisher: Array<Identity>;
|
|
16
14
|
imageUrl?: string;
|
|
17
15
|
multilingualTitle?: string;
|
|
18
16
|
multilingualDescription?: string;
|
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
import { Guid
|
|
2
|
-
import { PublishingStatus } from "./ChannelPages";
|
|
3
|
-
import { ChannelId } from "./Channel";
|
|
4
|
-
export interface ChannelCreateRequest {
|
|
5
|
-
securityResourceId: Guid;
|
|
6
|
-
title: MultilingualString;
|
|
7
|
-
description: MultilingualString;
|
|
8
|
-
publicUrl: string;
|
|
9
|
-
owner: Array<Identity>;
|
|
10
|
-
image: MediaPickerImage;
|
|
11
|
-
administrator: Array<Identity>;
|
|
12
|
-
publisher: Array<Identity>;
|
|
13
|
-
}
|
|
14
|
-
export interface ChannelEditRequest extends ChannelCreateRequest {
|
|
15
|
-
id: ChannelId;
|
|
16
|
-
}
|
|
17
|
-
export interface PagesChannelGroup {
|
|
18
|
-
channelId: number;
|
|
19
|
-
pages: Array<number>;
|
|
20
|
-
}
|
|
21
|
-
export interface PagesChannelGroupResult {
|
|
22
|
-
groups: Array<PagesChannelGroup>;
|
|
23
|
-
groupStatus: PublishingStatus;
|
|
24
|
-
}
|
|
25
|
-
export interface PublishPagetoChannelsResult {
|
|
26
|
-
Published: Array<Identity>;
|
|
27
|
-
WaitingforApproval: Array<Identity>;
|
|
28
|
-
PendingPublishing: Array<Identity>;
|
|
29
|
-
}
|
|
1
|
+
import { Guid } from "@omnia/fx-models";
|
|
30
2
|
export interface UserAuthorizedChannelResources {
|
|
31
3
|
channelPublishableResourceId: Array<Guid>;
|
|
32
4
|
channelAdministratorResourceId: Array<Guid>;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { Identity } from "@omnia/fx/models";
|
|
2
1
|
import { PageId } from "../pages";
|
|
3
2
|
import { ChannelId } from "./Channel";
|
|
4
3
|
export declare enum PublishingStatus {
|
|
5
4
|
PendingPublishing = 0,
|
|
6
5
|
PendingApproval = 1,
|
|
7
|
-
Published = 2
|
|
8
|
-
Reject = 3
|
|
6
|
+
Published = 2
|
|
9
7
|
}
|
|
10
|
-
export interface
|
|
8
|
+
export interface ChannelPage {
|
|
11
9
|
pageId: PageId;
|
|
12
10
|
channelId: ChannelId;
|
|
13
11
|
status: PublishingStatus;
|
|
14
12
|
createdBy: string;
|
|
15
13
|
}
|
|
16
|
-
export interface ChannelPagesIdentityResolved extends ChannelPages {
|
|
17
|
-
administrator?: Array<Identity>;
|
|
18
|
-
publisher?: Array<Identity>;
|
|
19
|
-
}
|
|
@@ -3,5 +3,4 @@ export var PublishingStatus;
|
|
|
3
3
|
PublishingStatus[PublishingStatus["PendingPublishing"] = 0] = "PendingPublishing";
|
|
4
4
|
PublishingStatus[PublishingStatus["PendingApproval"] = 1] = "PendingApproval";
|
|
5
5
|
PublishingStatus[PublishingStatus["Published"] = 2] = "Published";
|
|
6
|
-
PublishingStatus[PublishingStatus["Reject"] = 3] = "Reject";
|
|
7
6
|
})(PublishingStatus || (PublishingStatus = {}));
|
|
@@ -53,6 +53,7 @@ export interface ActionButtonLinkHandlerSettings extends IActionHandlerSettings
|
|
|
53
53
|
target: ActionButtonLinkHandlerTargets;
|
|
54
54
|
dialogPosition?: DialogPositions;
|
|
55
55
|
closeWhenOutsideClick?: boolean;
|
|
56
|
+
anchorName?: string;
|
|
56
57
|
}
|
|
57
58
|
export interface ActionButtonCreatePageHandlerSettings extends IActionHandlerSettings {
|
|
58
59
|
pageCollectionId: SelectionItem<number> | SelectionToken;
|
|
@@ -15,8 +15,13 @@ export interface PageItemNode {
|
|
|
15
15
|
displayTitle?: string;
|
|
16
16
|
nodeId?: number;
|
|
17
17
|
}
|
|
18
|
-
export interface PageLinkItem extends LinkItem, PageItemNode {
|
|
18
|
+
export interface PageLinkItem extends LinkItem, PageItemNode, AnchorLinkItem {
|
|
19
|
+
}
|
|
20
|
+
export interface CustomLinkItem extends LinkItem, AnchorLinkItem {
|
|
19
21
|
}
|
|
20
22
|
export interface CustomLinkPropertyData extends LinkPickerPropertyData {
|
|
21
23
|
isValidateTitle?: boolean;
|
|
22
24
|
}
|
|
25
|
+
export interface AnchorLinkItem {
|
|
26
|
+
anchorName: string;
|
|
27
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITheming } from '@omnia/fx/ux';
|
|
2
2
|
import { types } from 'typestyle';
|
|
3
3
|
export declare const PagePickerNodeStyles: {
|
|
4
|
-
headerWrapper: (level: number, isRoutePath: boolean, theming: ITheming) => types.NestedCSSProperties;
|
|
4
|
+
headerWrapper: (level: number, isRoutePath: boolean, selectable: boolean, theming: ITheming) => types.NestedCSSProperties;
|
|
5
5
|
arrowBtnCollapsedDefault: types.NestedCSSProperties;
|
|
6
6
|
arrowBtnExpanded: types.NestedCSSProperties;
|
|
7
7
|
arrowWrapper: (show: boolean) => types.NestedCSSProperties;
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
1
|
+
import { GuidValue, SpacingSettings } from '@omnia/fx-models';
|
|
2
|
+
export interface MegaMenuNode {
|
|
3
|
+
depthLevel: number;
|
|
4
|
+
rootNavigationNodeId: number;
|
|
5
|
+
publishingAppId: GuidValue;
|
|
6
|
+
publishingAppPath: string;
|
|
7
|
+
excludeStartNode: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface MegaMenuLevelStyle {
|
|
10
|
+
fontSize: number;
|
|
11
|
+
fontWeight: number;
|
|
12
|
+
enableUppercase: boolean;
|
|
13
|
+
spacing: SpacingSettings;
|
|
14
|
+
}
|
|
2
15
|
export interface MegaMenuSettings {
|
|
16
|
+
startNodes: Array<MegaMenuNode>;
|
|
17
|
+
levelStyles: Array<MegaMenuLevelStyle>;
|
|
18
|
+
enableDropdownMenu: boolean;
|
|
19
|
+
staticLevels: number;
|
|
3
20
|
maxHeight: number;
|
|
4
21
|
maxWidth: number;
|
|
5
|
-
|
|
6
|
-
dynamicDisplayLevel: number;
|
|
22
|
+
minWidthOfColumn: number;
|
|
7
23
|
backgroundColor: string;
|
|
8
24
|
textColor: string;
|
|
9
25
|
selectedBorderColor: string;
|
|
10
|
-
rootNavigationNodeId: number;
|
|
11
|
-
publishingAppId: GuidValue;
|
|
12
|
-
publishingAppPath: string;
|
|
13
|
-
flat?: boolean;
|
|
14
26
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MegaMenuSettings } from '.';
|
|
1
|
+
import { MegaMenuLevelStyle, MegaMenuSettings } from '.';
|
|
2
2
|
import { types } from 'typestyle';
|
|
3
|
+
import { SpacingSettings } from '@omnia/fx/models';
|
|
3
4
|
export declare const MegaMenuStyles: {
|
|
4
5
|
layoutWrapperOmniaApp: (settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
5
6
|
layoutWrapperSP: (settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
@@ -12,11 +13,13 @@ export declare const MegaMenuStyles: {
|
|
|
12
13
|
menuDropDown: (settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
13
14
|
menuDropDownLink: (settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
14
15
|
menuDropDownLinkActived: (settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
15
|
-
menuDropDownLinkIndentation: (level: number) => types.NestedCSSProperties;
|
|
16
|
+
menuDropDownLinkIndentation: (level: number, spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
16
17
|
menuDropDownHeader: types.NestedCSSProperties;
|
|
17
|
-
menuFlatDropDownHeader: types.NestedCSSProperties;
|
|
18
|
-
menuDropDownColumn: (containerMaxWidth: number, containerMinLeft: number, maxWidth: number, btnLeft: number) => types.NestedCSSProperties;
|
|
19
18
|
menuDropDownColumnUL: types.NestedCSSProperties;
|
|
20
19
|
menuDropDownColumnSubTitle: types.NestedCSSProperties;
|
|
21
20
|
dynamicMenuScrollable: (containerMaxHeight: number, maxHeight: number, btnBottom: number) => types.NestedCSSProperties;
|
|
21
|
+
levelStyles: (levelStyle: MegaMenuLevelStyle, isStartNode?: boolean, isActive?: boolean) => types.NestedCSSProperties;
|
|
22
|
+
flatWrapper: (maxWidth: number, settings: MegaMenuSettings) => types.NestedCSSProperties;
|
|
23
|
+
flexChild: (minWidth: number) => types.NestedCSSProperties;
|
|
24
|
+
flexWrapper: types.NestedCSSProperties;
|
|
22
25
|
};
|
|
@@ -98,6 +98,9 @@ export interface PageRollupUiPersonPropFilterValue extends PageRollupUiFilterVal
|
|
|
98
98
|
export interface PageRollupUiTaxonomyPropFilterValue extends PageRollupUiFilterValue {
|
|
99
99
|
termIds: Array<GuidValue>;
|
|
100
100
|
fixedTermIds: Array<GuidValue>;
|
|
101
|
+
filterType: PageRollupEnums.FilterTypes;
|
|
102
|
+
includeChildTerms: boolean;
|
|
103
|
+
includeEmpty: boolean;
|
|
101
104
|
}
|
|
102
105
|
export interface PageRollupUiSearchboxFilterValue extends PageRollupUiTextPropFilterValue {
|
|
103
106
|
properties: Array<string>;
|
|
@@ -30,4 +30,9 @@ export interface NavigationNode<T extends NavigationData> extends AuditingInform
|
|
|
30
30
|
* */
|
|
31
31
|
publishedChildCount: number;
|
|
32
32
|
path?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The order value which is used to sort nodes when there are subset of nodes available in client side
|
|
35
|
+
* */
|
|
36
|
+
orderValue?: number;
|
|
37
|
+
anchorName?: string;
|
|
33
38
|
}
|
|
@@ -2,6 +2,7 @@ import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier } fro
|
|
|
2
2
|
import { PageId } from '.';
|
|
3
3
|
import { ChildStructureType } from '..';
|
|
4
4
|
import { QueryFilter } from '../query';
|
|
5
|
+
import { PagePermissionInfo } from './PagePermissionInfo';
|
|
5
6
|
import { PlainPageData } from './PlainPageData';
|
|
6
7
|
export interface PageCreationSettings {
|
|
7
8
|
creationDialogTitle: string;
|
|
@@ -59,6 +60,9 @@ export interface SchedulingSettings {
|
|
|
59
60
|
export interface PageCollectionLayoutRefData extends PageCollectionData {
|
|
60
61
|
layoutVersionedDataIdentifier: IVersionedDataIdentifier;
|
|
61
62
|
}
|
|
63
|
+
export interface PageCollectionPermissionData extends PageCollectionData {
|
|
64
|
+
permissions?: PagePermissionInfo;
|
|
65
|
+
}
|
|
62
66
|
export interface CreatePageCollectionLayoutRefData extends PageCollectionLayoutRefData {
|
|
63
67
|
urlSegment: string;
|
|
64
68
|
childStructureType: ChildStructureType;
|
package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Activity } from './Activity';
|
|
2
2
|
import { Achievement } from '../Achievement';
|
|
3
|
-
import {
|
|
3
|
+
import { Identity } from '@omnia/fx-models';
|
|
4
4
|
export interface BadgeAwardedActivity extends Activity {
|
|
5
5
|
readonly awardedAchievement: Achievement;
|
|
6
|
-
readonly awardedToUser:
|
|
6
|
+
readonly awardedToUser: Identity;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Activity } from './Activity';
|
|
2
2
|
import { PageId } from '../../pages/Page';
|
|
3
3
|
import { VersionId } from '../../pages/VersionedPageData';
|
|
4
|
-
import { GuidValue, Tag } from '@omnia/fx-models';
|
|
4
|
+
import { Identity, GuidValue, Tag } from '@omnia/fx-models';
|
|
5
5
|
export interface NewPageActivity extends Activity {
|
|
6
6
|
/**
|
|
7
7
|
* The id of the page
|
|
@@ -18,7 +18,7 @@ export interface NewPageActivity extends Activity {
|
|
|
18
18
|
/**
|
|
19
19
|
* The id of the user who created this version
|
|
20
20
|
* */
|
|
21
|
-
readonly createdBy:
|
|
21
|
+
readonly createdBy: Identity;
|
|
22
22
|
/**
|
|
23
23
|
* The title of the publishing app in which this page resided when the version was created
|
|
24
24
|
* */
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageId } from '../../pages/Page';
|
|
2
2
|
import { VersionId } from '../../pages/VersionedPageData';
|
|
3
3
|
import { Activity } from './Activity';
|
|
4
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
4
|
+
import { Identity, GuidValue } from '@omnia/fx-models';
|
|
5
5
|
export interface CommentContent {
|
|
6
6
|
readonly content: string;
|
|
7
7
|
readonly truncated: boolean;
|
|
@@ -10,7 +10,7 @@ export interface PageCommentActivity extends Activity {
|
|
|
10
10
|
/**
|
|
11
11
|
* The user id of the one who created the comment
|
|
12
12
|
* */
|
|
13
|
-
readonly createdBy:
|
|
13
|
+
readonly createdBy: Identity;
|
|
14
14
|
readonly pageId: PageId;
|
|
15
15
|
readonly versionId: VersionId;
|
|
16
16
|
readonly commentId: GuidValue;
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageCommentActivity } from './PageCommentActivity';
|
|
2
|
-
import {
|
|
2
|
+
import { Identity } from '@omnia/fx-models';
|
|
3
3
|
export interface PageCommentMentionActivity extends PageCommentActivity {
|
|
4
|
-
readonly mentionedUserId:
|
|
4
|
+
readonly mentionedUserId: Identity;
|
|
5
5
|
}
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageCommentActivity, CommentContent } from './PageCommentActivity';
|
|
2
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
2
|
+
import { Identity, GuidValue } from '@omnia/fx-models';
|
|
3
3
|
export interface PageCommentReplyActivity extends PageCommentActivity {
|
|
4
4
|
/**
|
|
5
5
|
* The id of the comment to which the commentId is a reply
|
|
@@ -8,7 +8,7 @@ export interface PageCommentReplyActivity extends PageCommentActivity {
|
|
|
8
8
|
/**
|
|
9
9
|
* The user id of the owner of the comment which got the reply (i.e. source comment)
|
|
10
10
|
* */
|
|
11
|
-
readonly repliedCommentCreatedBy:
|
|
11
|
+
readonly repliedCommentCreatedBy: Identity;
|
|
12
12
|
/**
|
|
13
13
|
* The content of the replied comment (i.e. source comment)
|
|
14
14
|
* */
|
|
@@ -19,6 +19,7 @@ export declare class WcmRouter {
|
|
|
19
19
|
private loadTreeForPath;
|
|
20
20
|
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): Promise<T>;
|
|
21
21
|
onDisposing(): void;
|
|
22
|
+
private executeScrollingIfNeeded;
|
|
22
23
|
private executeNewNavigationState;
|
|
23
24
|
private isSameNavigationState;
|
|
24
25
|
/**
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
2
|
+
import { Channel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, ChannelId } from '../models';
|
|
2
3
|
export declare class ChannelManagementService {
|
|
3
4
|
private httpClient;
|
|
4
5
|
constructor();
|
|
5
|
-
createChannel: (
|
|
6
|
-
updateChannel: (updateData:
|
|
7
|
-
publishtoChannels: (pageId: number, request: Array<PublishingChannelPageRequest>) => Promise<Array<ChannelPages>>;
|
|
6
|
+
createChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>) => Promise<Channel>;
|
|
7
|
+
updateChannel: (updateData: Channel) => Promise<Channel>;
|
|
8
8
|
getChannels: () => Promise<Array<Channel>>;
|
|
9
9
|
getSuggestedChannels: () => Promise<Channel[]>;
|
|
10
|
-
getChannelById: (channelId: number) => Promise<
|
|
11
|
-
getChannelPages: (pageId: PageId) => Promise<
|
|
10
|
+
getChannelById: (channelId: number) => Promise<Channel>;
|
|
11
|
+
getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
|
|
12
12
|
getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
|
|
13
13
|
[pageId: number]: Channel[];
|
|
14
14
|
}>;
|
|
15
|
-
deleteChannel: (channelId:
|
|
15
|
+
deleteChannel: (channelId: ChannelId) => Promise<Channel>;
|
|
16
16
|
getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
|
|
17
|
-
|
|
18
|
-
approveChannel: (channel: Channel, pageId: PageId) => Promise<
|
|
19
|
-
rejectChannel: (channel: Channel, pageId: PageId) => Promise<
|
|
20
|
-
|
|
17
|
+
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
18
|
+
approveChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPage>;
|
|
19
|
+
rejectChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPage>;
|
|
20
|
+
addPageToChannels: (pageId: number, channelToPublishTo: Array<ChannelId>) => Promise<Array<ChannelPage>>;
|
|
21
|
+
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
22
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<ChannelId>) => Promise<Array<ChannelPage>>;
|
|
21
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType } from "../models";
|
|
1
|
+
import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType, NavigationNodeQuery } from "../models";
|
|
2
2
|
import { HttpClient } from '@omnia/fx';
|
|
3
3
|
import { GuidValue } from '@omnia/fx-models';
|
|
4
4
|
export declare class NavigationService {
|
|
@@ -43,6 +43,7 @@ export declare class NavigationService {
|
|
|
43
43
|
getParentNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
44
44
|
getChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
45
45
|
getMegamenuChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
46
|
+
getMegamenusChildNodes: <T extends NavigationNode<NavigationData>>(nodesToGetParentsFor: NavigationNodeQuery<T>[], nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
46
47
|
getUnavailableDirectChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGet: T) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
47
48
|
getNodesByIds: (nodeIds: Array<NodeId>) => Promise<{
|
|
48
49
|
[nodeId: number]: NavigationNode<NavigationData>;
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { GuidValue, Comment } from '@omnia/fx-models';
|
|
2
|
-
import { ICommentLikeService } from '@omnia/fx/stores';
|
|
3
1
|
import { PageId } from '@omnia/wcm/models';
|
|
4
2
|
import { YammerGroup } from '../models/yammer/YammerGroup';
|
|
5
|
-
import { YammerMessage, YammerMessagePost } from '../models/yammer/YammerMessage';
|
|
6
3
|
import { YammerTracking } from '../models/yammer/YammerTracking';
|
|
7
|
-
export declare class YammerService
|
|
4
|
+
export declare class YammerService {
|
|
8
5
|
private httpClient;
|
|
9
6
|
private omniaContext;
|
|
10
7
|
readonly baseUrl = "api/yammer";
|
|
11
8
|
getGroups: () => Promise<Array<YammerGroup>>;
|
|
12
|
-
unlikeMessage: (businessProfileId: GuidValue, messageId: number) => Promise<unknown>;
|
|
13
|
-
removeMessage: (businessProfileId: GuidValue, messageId: number, like: boolean) => Promise<unknown>;
|
|
14
|
-
addMessage: (businessProfileId: GuidValue, messageBody: YammerMessagePost) => Promise<YammerMessage>;
|
|
15
|
-
toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>;
|
|
16
|
-
addComment: (comment: Comment) => Promise<Comment>;
|
|
17
|
-
getCommentLike: (topicId: string) => Promise<any>;
|
|
18
|
-
updateComment: (comment: Comment) => Promise<Comment>;
|
|
19
|
-
markBestReply: (topicId: string, commentId: string) => Promise<void>;
|
|
20
|
-
deleteComment: (comment: Comment) => Promise<void>;
|
|
21
9
|
ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
|
|
22
10
|
getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
|
|
23
11
|
disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IOmniaContext, ResolvedUser } from '@omnia/fx-models';
|
|
1
|
+
import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
|
|
2
2
|
import { MediaPickerService } from '@omnia/fx/services';
|
|
3
3
|
import { MultilingualStore, Store } from '@omnia/fx/stores';
|
|
4
|
-
import {
|
|
5
|
-
import { ChannelId,
|
|
4
|
+
import { Channel, PageId } from '../models';
|
|
5
|
+
import { ChannelId, ChannelPage } from '../models';
|
|
6
6
|
interface ChannelIdtoChannelMap {
|
|
7
|
-
[channelId: number]: Channel
|
|
7
|
+
[channelId: number]: Channel;
|
|
8
8
|
}
|
|
9
9
|
interface ChannelPageGroupMapping {
|
|
10
10
|
[channelId: number]: Array<number>;
|
|
@@ -17,10 +17,8 @@ export declare class ChannelManagementStore extends Store {
|
|
|
17
17
|
channels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
|
|
18
18
|
waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
|
|
19
19
|
resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
|
|
20
|
-
suggestedChannels
|
|
21
|
-
publishedChannelsPage
|
|
22
|
-
[key: string]: Channel[];
|
|
23
|
-
}>;
|
|
20
|
+
private suggestedChannels;
|
|
21
|
+
private publishedChannelsPage;
|
|
24
22
|
private publishedChannelsOfPageLoadPromise;
|
|
25
23
|
private channelPagePublishings;
|
|
26
24
|
private channelPagePublishingsLoadPromise;
|
|
@@ -31,14 +29,15 @@ export declare class ChannelManagementStore extends Store {
|
|
|
31
29
|
onActivated(): void;
|
|
32
30
|
onDisposing(): void;
|
|
33
31
|
getters: {
|
|
32
|
+
getSuggestedChannels: () => Channel[];
|
|
33
|
+
getPublishedChannelsPage: () => {
|
|
34
|
+
[key: string]: Channel[];
|
|
35
|
+
};
|
|
34
36
|
getChannels: () => Channel[];
|
|
35
|
-
getChannelbyId: (channelId: ChannelId) => Channel
|
|
37
|
+
getChannelbyId: (channelId: ChannelId) => Channel;
|
|
36
38
|
hasPublisherPermission: (channel: Channel, userIdentity: string) => boolean;
|
|
37
|
-
getChannelPages: (pageId: PageId) =>
|
|
39
|
+
getChannelPages: (pageId: PageId) => ChannelPage[];
|
|
38
40
|
isPublishingPageToChannels: (pageId: PageId) => boolean;
|
|
39
|
-
isPublishingPageToChannelsMutated: (pageId: PageId) => (fn: (obj: import("@omnia/fx-models").StateMutation<{
|
|
40
|
-
[key: string]: boolean;
|
|
41
|
-
}>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
42
41
|
getWaitingforApprovalPages: (channelId: ChannelId) => number[];
|
|
43
42
|
getAllChannels: () => Channel[];
|
|
44
43
|
};
|
|
@@ -48,9 +47,9 @@ export declare class ChannelManagementStore extends Store {
|
|
|
48
47
|
mutations: {
|
|
49
48
|
addOrUpdateChannel: import("@omnia/fx/stores").StoreMutation<(createdChannels: Array<Channel>) => void, (createdChannels: Channel[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
50
49
|
deleteChannel: import("@omnia/fx/stores").StoreMutation<(deleteChannel: Channel) => void, (deleteChannel: Channel) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
51
|
-
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<
|
|
50
|
+
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
52
51
|
updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
53
|
-
updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(
|
|
52
|
+
updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
54
53
|
};
|
|
55
54
|
/**
|
|
56
55
|
* Implementation of actions
|
|
@@ -62,19 +61,19 @@ export declare class ChannelManagementStore extends Store {
|
|
|
62
61
|
ensureChannelPages: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
|
|
63
62
|
ensurePublishedChannelsByPageId: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
|
|
64
63
|
ensurePublishedChannelsByPageIds: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: PageId[]) => void, (result: boolean, pageIds: PageId[]) => void, (failureReason: any, pageIds: PageId[]) => void, (pageIds: PageId[]) => Promise<boolean>>;
|
|
65
|
-
|
|
66
|
-
createChannel: import("@omnia/fx/stores").StoreAction<unknown, (
|
|
67
|
-
|
|
68
|
-
deleteChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId:
|
|
69
|
-
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result:
|
|
70
|
-
approveRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result:
|
|
71
|
-
rejectRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result:
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
ensureChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: Channel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<Channel>>;
|
|
65
|
+
createChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (result: Channel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>) => Promise<Channel>>;
|
|
66
|
+
updateChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: Channel) => void, (result: Channel, editRequest: Channel) => void, (failureReason: any, editRequest: Channel) => void, (editRequest: Channel) => Promise<Channel>>;
|
|
67
|
+
deleteChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: ChannelId) => void, (result: Channel, channelId: ChannelId) => void, (failureReason: any, channelId: ChannelId) => void, (channelId: ChannelId) => Promise<Channel>>;
|
|
68
|
+
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
|
|
69
|
+
approveRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPage, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPage>>;
|
|
70
|
+
rejectRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPage, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPage>>;
|
|
71
|
+
addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
72
|
+
publishPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
73
|
+
publishAddedPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
74
74
|
};
|
|
75
75
|
private updateChannelPagesStatus;
|
|
76
76
|
private mappingChannels;
|
|
77
|
-
private getPublishPageToChannelsRequest;
|
|
78
77
|
private addOrUpdateUserPermissions;
|
|
79
78
|
}
|
|
80
79
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare class NavigationStore extends Store {
|
|
|
28
28
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
29
29
|
getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
|
|
30
30
|
absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId) => string;
|
|
31
|
-
sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData
|
|
31
|
+
sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Implementation of mutations
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LinkItem } from '../models';
|
|
1
2
|
export declare class WcmUxCore {
|
|
2
3
|
private wcmRouter;
|
|
3
4
|
private navigationStore;
|
|
@@ -8,10 +9,15 @@ export declare class WcmUxCore {
|
|
|
8
9
|
private static _instance;
|
|
9
10
|
private microsoftTeamsApi;
|
|
10
11
|
constructor();
|
|
11
|
-
handleClickLink: (e: MouseEvent, url: string, title: string, onlyNavigateOnDisplayMode?: boolean) => void;
|
|
12
|
-
handleOpenLinkInNewWindow: (e: Event, url: string) => void;
|
|
12
|
+
handleClickLink: (e: MouseEvent, url: string, title: string, link?: LinkItem, onlyNavigateOnDisplayMode?: boolean) => void;
|
|
13
|
+
handleOpenLinkInNewWindow: (e: Event, url: string, link?: LinkItem) => void;
|
|
13
14
|
tryToExecuteMSTeamsDeepLinkOnClick(e: Event, url: string): boolean;
|
|
14
15
|
tryToExecuteMSTeamsDeepLinkFromUrl(url: string): boolean;
|
|
16
|
+
buildUrlFromLink(link: LinkItem): string;
|
|
17
|
+
combineRedirectUrlWithAnchorLink(url: string, link: LinkItem): string;
|
|
18
|
+
splitRedirectUrlWithAnchorLink(url: string): string[];
|
|
19
|
+
getAnchorNameFromLink(link: LinkItem): string | undefined;
|
|
20
|
+
private hasAnchorLinkSettings;
|
|
15
21
|
private tryToExecuteTeamsDeepLink;
|
|
16
22
|
private getPageNavigationNode;
|
|
17
23
|
private openLinkInNewWindow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarExtension } from '@omnia/fx/ux/richtexteditor';
|
|
2
|
-
import { LinkItem, RTFLinkPickerMessage, LinkPickerCommand, LinkPickerMenuCommand } from '../../../models';
|
|
2
|
+
import { LinkItem, RTFLinkPickerMessage, LinkPickerCommand, LinkPickerMenuCommand, AnchorLinkItem } from '../../../models';
|
|
3
3
|
import { TipTapEditor, IMessageBusSubscriptionHandler, GuidValue, ToolbarProperties, EditorBubbleMenuBar } from '@omnia/fx-models';
|
|
4
4
|
import { NavigationStore, VariationStore, WcmContext } from '../../../';
|
|
5
5
|
export default class LinkPickerMenu extends ToolbarExtension implements ToolbarProperties<LinkPickerCommand> {
|
|
@@ -12,8 +12,9 @@ export default class LinkPickerMenu extends ToolbarExtension implements ToolbarP
|
|
|
12
12
|
wcmContext: WcmContext;
|
|
13
13
|
variationStore: VariationStore;
|
|
14
14
|
navigationStore: NavigationStore;
|
|
15
|
+
private wcmUxCore;
|
|
15
16
|
showAddLink: boolean;
|
|
16
|
-
selectedLink: LinkItem;
|
|
17
|
+
selectedLink: LinkItem & AnchorLinkItem;
|
|
17
18
|
selectedNodeId: number;
|
|
18
19
|
mounted(): void;
|
|
19
20
|
beforeDestroy(): void;
|
|
@@ -10,6 +10,7 @@ export default class LinkPickerToolbar extends ToolbarExtension implements Toolb
|
|
|
10
10
|
wcmContext: WcmContext;
|
|
11
11
|
variationStore: VariationStore;
|
|
12
12
|
navigationStore: NavigationStore;
|
|
13
|
+
private wcmUxCore;
|
|
13
14
|
private loc;
|
|
14
15
|
showAddLink: boolean;
|
|
15
16
|
mounted(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelId","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelId","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class WCMPageResourceSettings extends
|
|
1
|
+
import { SignOffResource } from "@omnia/workplace/models";
|
|
2
|
+
export declare class WCMPageResourceSettings extends SignOffResource {
|
|
3
3
|
resourceId: any;
|
|
4
4
|
readonly providerId: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly providerManifestId: import("@omnia/fx-models").Guid;
|
|
6
6
|
constructor();
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { SignOffResource } from "@omnia/workplace/models";
|
|
3
3
|
import { WcmResourceManifests, Constants } from "../../fx/models";
|
|
4
4
|
var WCMPageResourceSettings = /** @class */ (function (_super) {
|
|
5
5
|
__extends(WCMPageResourceSettings, _super);
|
|
@@ -7,9 +7,9 @@ var WCMPageResourceSettings = /** @class */ (function (_super) {
|
|
|
7
7
|
var _this = _super.call(this) || this;
|
|
8
8
|
_this.resourceId = null;
|
|
9
9
|
_this.providerId = Constants.pageProvider.id;
|
|
10
|
-
_this.
|
|
10
|
+
_this.providerManifestId = WcmResourceManifests.SignOffRequestPageProvider;
|
|
11
11
|
return _this;
|
|
12
12
|
}
|
|
13
13
|
return WCMPageResourceSettings;
|
|
14
|
-
}(
|
|
14
|
+
}(SignOffResource));
|
|
15
15
|
export { WCMPageResourceSettings };
|
|
@@ -1,142 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"wcm-buttonlink-settings": [
|
|
3
|
-
"settingsKey"
|
|
4
|
-
],
|
|
5
|
-
"wcm-breadcrumb-settings": [
|
|
6
|
-
"settingsKey"
|
|
7
|
-
],
|
|
8
|
-
"owcm-calendar-rollup-settings": [
|
|
9
|
-
"settingsKey"
|
|
10
|
-
],
|
|
11
|
-
"owcm-calendar-rollup-dialog": [
|
|
12
|
-
"close"
|
|
13
|
-
],
|
|
14
|
-
"omx-em-colleague-dialog-content": [
|
|
15
|
-
"onSave",
|
|
16
|
-
"participant",
|
|
17
|
-
"onClose",
|
|
18
|
-
"onSelectStepPassed"
|
|
19
|
-
],
|
|
20
|
-
"wcm-content-block-settings-breakpoint": [
|
|
21
|
-
"settingsKey",
|
|
22
|
-
"breakPointId"
|
|
23
|
-
],
|
|
24
|
-
"wcm-content-block-translation-comparer": [
|
|
25
|
-
"settingsKey",
|
|
26
|
-
"onShowScrollChange",
|
|
27
|
-
"onUpdateText"
|
|
28
|
-
],
|
|
29
|
-
"omx-em-event-clone-dialog-content": [
|
|
30
|
-
"onSave",
|
|
31
|
-
"eventDetail",
|
|
32
|
-
"onClose"
|
|
33
|
-
],
|
|
34
|
-
"wcm-html-script-block-content-editor": [
|
|
35
|
-
"content",
|
|
36
|
-
"close"
|
|
37
|
-
],
|
|
38
|
-
"info-screen-button": [
|
|
39
|
-
"data"
|
|
40
|
-
],
|
|
41
|
-
"info-screen-renderer": [
|
|
42
|
-
"data"
|
|
43
|
-
],
|
|
44
|
-
"wcm-link-picker": [
|
|
45
|
-
"title",
|
|
46
|
-
"onClosed",
|
|
47
|
-
"onSaved",
|
|
48
|
-
"styles",
|
|
49
|
-
"providerFilter",
|
|
50
|
-
"selectedItem"
|
|
51
|
-
],
|
|
52
|
-
"owcm-page-rollup-settings-breakpoint": [
|
|
53
|
-
"breakPointId"
|
|
54
|
-
],
|
|
55
|
-
"owcm-channel-filter": [
|
|
56
|
-
"model"
|
|
57
|
-
],
|
|
58
|
-
"owcm-page-rollup-settings": [
|
|
59
|
-
"settingsKey"
|
|
60
|
-
],
|
|
61
|
-
"owcm-pagetype-filter": [
|
|
62
|
-
"model"
|
|
63
|
-
],
|
|
64
|
-
"owcm-picked-pages-dialog": [
|
|
65
|
-
"dialogModel",
|
|
66
|
-
"onSaved",
|
|
67
|
-
"close",
|
|
68
|
-
"allowToSelectPageCollectionNode"
|
|
69
|
-
],
|
|
70
|
-
"wcm-backgroundselector": [
|
|
71
|
-
"settings"
|
|
72
|
-
],
|
|
73
|
-
"wcm-invite-coauthors": [
|
|
74
|
-
"styles",
|
|
75
|
-
"close"
|
|
76
|
-
],
|
|
77
|
-
"wcm-mega-menu-default-navigation": [
|
|
78
|
-
"currentSettings"
|
|
79
|
-
],
|
|
80
|
-
"wcm-block-mega-menu-settings": [
|
|
81
|
-
"settingsKey"
|
|
82
|
-
],
|
|
83
|
-
"wcm-mega-menu-settings": [
|
|
84
|
-
"currentSettings",
|
|
85
|
-
"onUpdateSettings"
|
|
86
|
-
],
|
|
87
|
-
"wcm-move-node": [
|
|
88
|
-
"node",
|
|
89
|
-
"onClosed",
|
|
90
|
-
"onSaved",
|
|
91
|
-
"currentPageCollection"
|
|
92
|
-
],
|
|
93
|
-
"wcm-sp-sync-settings": [
|
|
94
|
-
"settings",
|
|
95
|
-
"onChange"
|
|
96
|
-
],
|
|
97
|
-
"wcm-sp-sync-error": [
|
|
98
|
-
"onClosed",
|
|
99
|
-
"content"
|
|
100
|
-
],
|
|
101
|
-
"wcm-sp-sync-warning": [
|
|
102
|
-
"onClosed"
|
|
103
|
-
],
|
|
104
|
-
"wcm-related-link-settings": [
|
|
105
|
-
"settingsKey"
|
|
106
|
-
],
|
|
107
|
-
"wcm-link-heading": [
|
|
108
|
-
"linkData"
|
|
109
|
-
],
|
|
110
|
-
"owcm-activity-feed": [
|
|
111
|
-
"styles"
|
|
112
|
-
],
|
|
113
|
-
"owcm-activity-feed-settings": [
|
|
114
|
-
"settingsKey"
|
|
115
|
-
],
|
|
116
|
-
"owcm-page-feedbacks": [
|
|
117
|
-
"feedbacks",
|
|
118
|
-
"columns"
|
|
119
|
-
],
|
|
120
|
-
"owcm-page-feedbacks-dialog": [
|
|
121
|
-
"pageId",
|
|
122
|
-
"closeCallback"
|
|
123
|
-
],
|
|
124
|
-
"wcm-page-feedback": [
|
|
125
|
-
"settingsKey"
|
|
126
|
-
],
|
|
127
|
-
"owcm-page-comment-like-settings": [
|
|
128
|
-
"settingsKey"
|
|
129
|
-
],
|
|
130
|
-
"owcm-page-comment-like-view": [
|
|
131
|
-
"settings",
|
|
132
|
-
"topicId"
|
|
133
|
-
],
|
|
134
|
-
"wcm-variation-input": [
|
|
135
|
-
"model",
|
|
136
|
-
"requiredWithValidator",
|
|
137
|
-
"onModelChange"
|
|
138
|
-
],
|
|
139
|
-
"wcm-variation-selector-settings": [
|
|
140
|
-
"settingsKey"
|
|
141
|
-
]
|
|
142
|
-
}
|
|
1
|
+
{"wcm-buttonlink-settings":["settingsKey"],"wcm-breadcrumb-settings":["settingsKey"],"owcm-calendar-rollup-settings":["settingsKey"],"owcm-calendar-rollup-dialog":["close"],"omx-em-colleague-dialog-content":["onSave","participant","onClose","onSelectStepPassed"],"wcm-content-block-settings-breakpoint":["settingsKey","breakPointId"],"wcm-content-block-translation-comparer":["settingsKey","onShowScrollChange","onUpdateText"],"omx-em-event-clone-dialog-content":["onSave","eventDetail","onClose"],"wcm-html-script-block-content-editor":["content","close"],"info-screen-button":["data"],"info-screen-renderer":["data"],"wcm-link-picker":["title","onClosed","onSaved","styles","providerFilter","selectedItem"],"owcm-page-rollup-settings-breakpoint":["breakPointId"],"owcm-channel-filter":["model"],"owcm-page-rollup-settings":["settingsKey"],"owcm-pagetype-filter":["model"],"owcm-picked-pages-dialog":["dialogModel","onSaved","close","allowToSelectPageCollectionNode"],"wcm-backgroundselector":["settings"],"wcm-invite-coauthors":["styles","close"],"wcm-mega-menu-default-navigation":["currentSettings"],"wcm-block-mega-menu-settings":["settingsKey"],"wcm-mega-menu-settings":["settingsKey","currentSettings","onUpdateSettings"],"wcm-move-node":["node","onClosed","onSaved","currentPageCollection"],"wcm-sp-sync-settings":["settings","onChange"],"wcm-sp-sync-error":["onClosed","content"],"wcm-sp-sync-warning":["onClosed"],"wcm-related-link-settings":["settingsKey"],"wcm-link-heading":["linkData"],"owcm-activity-feed":["styles"],"owcm-activity-feed-settings":["settingsKey"],"owcm-page-feedbacks":["feedbacks","columns"],"owcm-page-feedbacks-dialog":["pageId","closeCallback"],"wcm-page-feedback":["settingsKey"],"owcm-page-comment-like-settings":["settingsKey"],"owcm-page-comment-like-view":["settings","topicId"],"wcm-variation-input":["model","requiredWithValidator","onModelChange"],"wcm-variation-selector-settings":["settingsKey"]}
|
package/package.json
CHANGED
package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
-
import { ChannelId } from "./Channel";
|
|
3
|
-
import { PublishingStatus } from "./ChannelPages";
|
|
4
|
-
export interface PublishingChannelPageRequest {
|
|
5
|
-
channelId: ChannelId;
|
|
6
|
-
status: PublishingStatus;
|
|
7
|
-
securityResourceId: GuidValue;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VueComponentBase } from '@omnia/fx/ux';
|
|
2
|
-
import { IWebComponentInstance } from '@omnia/fx';
|
|
3
|
-
export default class SuggestionMenu extends VueComponentBase implements IWebComponentInstance {
|
|
4
|
-
private loc;
|
|
5
|
-
showMenu: boolean;
|
|
6
|
-
positionX: string;
|
|
7
|
-
positionY: string;
|
|
8
|
-
mounted(): void;
|
|
9
|
-
beforeDestroy(): void;
|
|
10
|
-
render(h: any): JSX.Element;
|
|
11
|
-
}
|