@omnia/wcm 7.11.11 → 7.11.12
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/fx/services/DurableLinkService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerDocumentMetadata.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,5 +6,6 @@ export declare class DurableLinkService {
|
|
|
6
6
|
omniaCtx: OmniaContext;
|
|
7
7
|
isDurableLinkEnabled(): boolean;
|
|
8
8
|
processDurableLink(selectedItem: LinkItem): Promise<void>;
|
|
9
|
+
private buildOpenInWebUrl;
|
|
9
10
|
getDurableInfo(fileUrl: string, docId?: string, siteId?: string): Promise<DurableInfo>;
|
|
10
11
|
}
|
|
@@ -223,7 +223,7 @@ export declare class BatchQueryRegistration {
|
|
|
223
223
|
getNextPagingData(): Promise<number>;
|
|
224
224
|
private noNextPaging;
|
|
225
225
|
private loadCurrentPageData;
|
|
226
|
-
generateBatchQuery(): Promise<BatchQueryPages>;
|
|
226
|
+
generateBatchQuery(includeAZPagingFilter?: boolean): Promise<BatchQueryPages>;
|
|
227
227
|
getBlockPageRollupInstance(): BlockPageRollupInstanceExtends;
|
|
228
228
|
get orderBy(): QueryOrder[];
|
|
229
229
|
get pagingNumber(): number;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LinkItem, DocumentLinkItem } from "../../../models";
|
|
2
|
+
export type SerializedDocumentLinkData = Pick<DocumentLinkItem, "linkType" | "fileUrl" | "siteUrl" | "openDocumentOption" | "documentCategoryType" | "isLocalUploaded" | "durableInfo">;
|
|
3
|
+
export declare function serializeDocumentLinkData(link: LinkItem): string;
|
|
4
|
+
export declare function buildLinkClickHandler(link: LinkItem, documentData?: string | null): string;
|
|
@@ -32,13 +32,24 @@ export default class LinkPickerMenu extends ToolbarExtension implements ToolbarP
|
|
|
32
32
|
created(): void;
|
|
33
33
|
beforeDestroy(): void;
|
|
34
34
|
onLinkEditingTriggered(option: RTFLinkPickerMessage): void;
|
|
35
|
+
private isControlledDocument;
|
|
35
36
|
private onLinkPickerSave;
|
|
36
37
|
private isLocalDocumentLink;
|
|
38
|
+
private tryParseOnclickLinkMetadata;
|
|
39
|
+
private tryReconstructDocumentLinkData;
|
|
40
|
+
private tryReconstructOfficeClientDocumentLinkData;
|
|
41
|
+
private tryReconstructSharePointDocumentLinkData;
|
|
42
|
+
private decodeDocumentFileUrl;
|
|
43
|
+
private tryResolveSiteUrlFromFileUrl;
|
|
44
|
+
private createFallbackDocumentLinkData;
|
|
45
|
+
private tryResolveFileUrlFromDocumentUrl;
|
|
46
|
+
private tryResolveSiteUrlFromDocumentUrl;
|
|
37
47
|
private resolvePageData;
|
|
38
48
|
private dispatchHandler;
|
|
39
49
|
private onCloseLinkPicker;
|
|
40
50
|
private getEditorState;
|
|
41
51
|
private getSelectionText;
|
|
52
|
+
private getCurrentLinkAttrs;
|
|
42
53
|
private onAddLinkClicked;
|
|
43
54
|
private onRemoveLink;
|
|
44
55
|
private onConfigureProviders;
|
|
@@ -24,6 +24,7 @@ export default class LinkPickerToolbar extends ToolbarExtension implements Toolb
|
|
|
24
24
|
private documentUploadHandler;
|
|
25
25
|
mounted(): void;
|
|
26
26
|
created(): void;
|
|
27
|
+
private isControlledDocument;
|
|
27
28
|
private onLinkPickerSave;
|
|
28
29
|
private isLocalDocumentLink;
|
|
29
30
|
private resolvePageData;
|
package/package.json
CHANGED