@omnia/wcm 7.10.0-preview.36 → 7.10.0-preview.38
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/EditorLocalization.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.js +8 -1
- package/internal-do-not-import-from-here/fx/models/document/DocumentDurableInfo.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/document/DocumentDurableInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/document/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/document/index.js +4 -0
- package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.js +1 -0
- package/internal-do-not-import-from-here/fx/services/DocumentService.d.ts +2 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,12 @@ export declare enum OpenDocumentOptions {
|
|
|
5
5
|
OpenInApp = "OpenInApp",
|
|
6
6
|
Download = "Download"
|
|
7
7
|
}
|
|
8
|
+
export declare enum CategoryType {
|
|
9
|
+
SharePointLibrary = 0,
|
|
10
|
+
SearchProvider = 1,
|
|
11
|
+
ControlledDocument = 2,
|
|
12
|
+
FileUploader = 3
|
|
13
|
+
}
|
|
8
14
|
export interface LinkPickerPropertyData {
|
|
9
15
|
multilingualTitleEnabled?: boolean;
|
|
10
16
|
}
|
|
@@ -34,6 +40,17 @@ export interface DocumentLinkItem extends LinkItem {
|
|
|
34
40
|
documentCategoryType?: number;
|
|
35
41
|
isLocalUploaded?: boolean;
|
|
36
42
|
openDocumentOption?: OpenDocumentOptions;
|
|
43
|
+
durableInfo?: DurableInfo;
|
|
44
|
+
}
|
|
45
|
+
export interface DurableInfo {
|
|
46
|
+
/**
|
|
47
|
+
* Graph document ID.
|
|
48
|
+
*/
|
|
49
|
+
docId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Graph site ID.
|
|
52
|
+
*/
|
|
53
|
+
siteId?: string;
|
|
37
54
|
}
|
|
38
55
|
export interface CustomLinkPropertyData extends LinkPickerPropertyData {
|
|
39
56
|
isValidateTitle?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OpenDocumentOptions = void 0;
|
|
3
|
+
exports.CategoryType = exports.OpenDocumentOptions = void 0;
|
|
4
4
|
var OpenDocumentOptions;
|
|
5
5
|
(function (OpenDocumentOptions) {
|
|
6
6
|
OpenDocumentOptions["OpenInWeb"] = "OpenInWeb";
|
|
@@ -8,3 +8,10 @@ var OpenDocumentOptions;
|
|
|
8
8
|
OpenDocumentOptions["OpenInApp"] = "OpenInApp";
|
|
9
9
|
OpenDocumentOptions["Download"] = "Download";
|
|
10
10
|
})(OpenDocumentOptions = exports.OpenDocumentOptions || (exports.OpenDocumentOptions = {}));
|
|
11
|
+
var CategoryType;
|
|
12
|
+
(function (CategoryType) {
|
|
13
|
+
CategoryType[CategoryType["SharePointLibrary"] = 0] = "SharePointLibrary";
|
|
14
|
+
CategoryType[CategoryType["SearchProvider"] = 1] = "SearchProvider";
|
|
15
|
+
CategoryType[CategoryType["ControlledDocument"] = 2] = "ControlledDocument";
|
|
16
|
+
CategoryType[CategoryType["FileUploader"] = 3] = "FileUploader";
|
|
17
|
+
})(CategoryType = exports.CategoryType || (exports.CategoryType = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DocumentDurableInfo";
|
|
@@ -50,3 +50,4 @@ tslib_1.__exportStar(require("./mediarollup"), exports);
|
|
|
50
50
|
tslib_1.__exportStar(require("./analytics"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./welcomeblock"), exports);
|
|
52
52
|
tslib_1.__exportStar(require("./searchresultsource"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./document"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DocumentQuery, DocumentQueryResult, UploadDocumentInfo, Document } from "../models";
|
|
1
|
+
import { DocumentQuery, DocumentQueryResult, UploadDocumentInfo, Document, DocumentDurableInfo } from "../models";
|
|
2
2
|
export declare class DocumentService {
|
|
3
3
|
private httpClient;
|
|
4
4
|
constructor();
|
|
5
5
|
getDocuments: (query: DocumentQuery) => Promise<DocumentQueryResult>;
|
|
6
6
|
upload: (fileInfo: UploadDocumentInfo) => Promise<Document>;
|
|
7
7
|
exists: (fileInfo: UploadDocumentInfo) => Promise<boolean>;
|
|
8
|
-
getSharePointDocumentDeepLink(spDocUrl
|
|
8
|
+
getSharePointDocumentDeepLink(spDocUrl?: string, docId?: string, siteId?: string): Promise<void | DocumentDurableInfo>;
|
|
9
9
|
}
|
|
@@ -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"},"expo.js":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","AiContentReportPageStatus","AiContentReportStatus","AnalyticsReportColumnConstants","AnyoneApprovalData","AnyoneApprovalStep","ApplySettingsChangedStatus","ApprovalData","ApprovalMetaData","ApprovalRequestType","ApprovalRuleResolver","ApprovalStep","ApprovalType","AutomaticPageCreationStatusType","AvatarPosition","AvatarSize","BannerBlockStyles","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelRollupBlockAdministrationViewStyles","ChannelRollupBlockSettingsFilterTabStyles","ChannelRollupBlockSettingsGeneralTabStyles","ChannelRollupBlockStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DatePeriods","DeletedPageDialogStyles","DeletionApprovalRuleResolver","DigitalSignageConstants","DigitalSignageManifests","DigitalSignageQuerySettingsType","DigitalSigningScreenType","Directions","DistributionChannelType","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FileUploaderWCMPageContext","FilterKey","GetRoleDefinitions","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LimitedUserApprovalData","LimitedUserApprovalStep","LinkPickerStyle","ListView","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MediaRollupConstants","MediaRollupStyles","MediaRollupThumbnailSize","MediaRollupType","MegaMenuStyles","MessageType","MicrosoftSearch","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","MoveNavigationNodeType","MovePageCollectionDialogStyles","MovePageStatus","MsSearchFieldsConstants","MultiApprovalData","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OmniaSearchConstants","OpenDocumentOptions","Operator","OutlookCalendarType","PageBuiltInColumnConstants","PageCalendarViewMode","PageCollectionDisplaySettings","PageCollectionPropertyDefinition","PageCollectionPropertyDefinitionId","PageCollectionPropertyValue","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PageMoveTypes","PageNavigationDirection","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCalendarViewSettingsStyles","PageRollupBlockCalendarViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupFilterEngineContextPropertyTypes","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageRollupUniqueUsersDetailsStyles","PageTopic","PageTypeDisplaySettings","PageTypePropertyDefinition","PageTypePropertyDefinitionId","PageTypePropertyValue","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PersonPropertyApprovalData","PersonPropertyApprovalStep","PhotowallView","PublishApprovalRuleResolver","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppDisplaySettings","PublishingAppLayoutDefinition","PublishingAppPropertyDefinition","PublishingAppPropertyDefinitionId","PublishingAppPropertyValue","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","QrCodeStyles","QueryScope","QueryValueOptions","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","ReportTypesEnum","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharePointLibrary","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","SortByProperties","SpsSearch","StatisticsPerPageDataSourcesEnum","TableView","TagTopic","TaxonomyFilterType","TaxonomyNavigationStyles","TaxonomyTopic","TermDrivenApprovalData","TermDrivenApprovalStep","TimePeriod","TopicInformationType","TopicType","UserTopic","ValidationArchivePageResult","VariationId","VariationInputStyles","VariationsRouteProperty","VersionComparisonType","VersionId","VersionMetaData","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMGlossary","WCMGlossaryType","WCMGlossaryVariation","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmAppDefaultResourceUrl","WcmEditorDynamicNavigationRouteProperty","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WebBrowserDigitalSigningScreenStepType","WebsiteQueryType","WeekOfMonthEnums","WelcomeBlockStyles","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"},"expo.js":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","AiContentReportPageStatus","AiContentReportStatus","AnalyticsReportColumnConstants","AnyoneApprovalData","AnyoneApprovalStep","ApplySettingsChangedStatus","ApprovalData","ApprovalMetaData","ApprovalRequestType","ApprovalRuleResolver","ApprovalStep","ApprovalType","AutomaticPageCreationStatusType","AvatarPosition","AvatarSize","BannerBlockStyles","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","CategoryType","ChannelCardViewStyles","ChannelRollupBlockAdministrationViewStyles","ChannelRollupBlockSettingsFilterTabStyles","ChannelRollupBlockSettingsGeneralTabStyles","ChannelRollupBlockStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DatePeriods","DeletedPageDialogStyles","DeletionApprovalRuleResolver","DigitalSignageConstants","DigitalSignageManifests","DigitalSignageQuerySettingsType","DigitalSigningScreenType","Directions","DistributionChannelType","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FileUploaderWCMPageContext","FilterKey","GetRoleDefinitions","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LimitedUserApprovalData","LimitedUserApprovalStep","LinkPickerStyle","ListView","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MediaRollupConstants","MediaRollupStyles","MediaRollupThumbnailSize","MediaRollupType","MegaMenuStyles","MessageType","MicrosoftSearch","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","MoveNavigationNodeType","MovePageCollectionDialogStyles","MovePageStatus","MsSearchFieldsConstants","MultiApprovalData","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OmniaSearchConstants","OpenDocumentOptions","Operator","OutlookCalendarType","PageBuiltInColumnConstants","PageCalendarViewMode","PageCollectionDisplaySettings","PageCollectionPropertyDefinition","PageCollectionPropertyDefinitionId","PageCollectionPropertyValue","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PageMoveTypes","PageNavigationDirection","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCalendarViewSettingsStyles","PageRollupBlockCalendarViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupFilterEngineContextPropertyTypes","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageRollupUniqueUsersDetailsStyles","PageTopic","PageTypeDisplaySettings","PageTypePropertyDefinition","PageTypePropertyDefinitionId","PageTypePropertyValue","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PersonPropertyApprovalData","PersonPropertyApprovalStep","PhotowallView","PublishApprovalRuleResolver","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppDisplaySettings","PublishingAppLayoutDefinition","PublishingAppPropertyDefinition","PublishingAppPropertyDefinitionId","PublishingAppPropertyValue","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","QrCodeStyles","QueryScope","QueryValueOptions","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","ReportTypesEnum","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharePointLibrary","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","SortByProperties","SpsSearch","StatisticsPerPageDataSourcesEnum","TableView","TagTopic","TaxonomyFilterType","TaxonomyNavigationStyles","TaxonomyTopic","TermDrivenApprovalData","TermDrivenApprovalStep","TimePeriod","TopicInformationType","TopicType","UserTopic","ValidationArchivePageResult","VariationId","VariationInputStyles","VariationsRouteProperty","VersionComparisonType","VersionId","VersionMetaData","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMGlossary","WCMGlossaryType","WCMGlossaryVariation","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmAppDefaultResourceUrl","WcmEditorDynamicNavigationRouteProperty","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WebBrowserDigitalSigningScreenStepType","WebsiteQueryType","WeekOfMonthEnums","WelcomeBlockStyles","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|