@alfresco/adf-content-services 9.1.0-16879045101 → 9.1.0-16936569382
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/fesm2022/adf-content-services.mjs +11 -20
- package/fesm2022/adf-content-services.mjs.map +1 -1
- package/lib/common/services/rendition.service.d.ts +3 -3
- package/lib/content-node-selector/site-dropdown/sites-dropdown.component.d.ts +1 -0
- package/lib/document-list/components/document-list.component.d.ts +2 -2
- package/lib/document-list/models/content-action.model.d.ts +0 -6
- package/package.json +3 -3
|
@@ -2358,7 +2358,7 @@ class RenditionService {
|
|
|
2358
2358
|
try {
|
|
2359
2359
|
return versionId ? await this.waitNodeRendition(nodeId, renditionId, versionId) : await this.waitNodeRendition(nodeId, renditionId);
|
|
2360
2360
|
}
|
|
2361
|
-
catch
|
|
2361
|
+
catch {
|
|
2362
2362
|
return null;
|
|
2363
2363
|
}
|
|
2364
2364
|
}
|
|
@@ -3376,18 +3376,6 @@ var ContentActionTarget;
|
|
|
3376
3376
|
ContentActionTarget["Folder"] = "folder";
|
|
3377
3377
|
ContentActionTarget["All"] = "all";
|
|
3378
3378
|
})(ContentActionTarget || (ContentActionTarget = {}));
|
|
3379
|
-
class DocumentActionModel extends ContentActionModel {
|
|
3380
|
-
constructor(json) {
|
|
3381
|
-
super(json);
|
|
3382
|
-
this.target = 'document';
|
|
3383
|
-
}
|
|
3384
|
-
}
|
|
3385
|
-
class FolderActionModel extends ContentActionModel {
|
|
3386
|
-
constructor(json) {
|
|
3387
|
-
super(json);
|
|
3388
|
-
this.target = 'folder';
|
|
3389
|
-
}
|
|
3390
|
-
}
|
|
3391
3379
|
|
|
3392
3380
|
/*!
|
|
3393
3381
|
* @license
|
|
@@ -8912,7 +8900,7 @@ class DocumentListComponent extends DataTableSchema {
|
|
|
8912
8900
|
this.noPermission = true;
|
|
8913
8901
|
}
|
|
8914
8902
|
}
|
|
8915
|
-
catch
|
|
8903
|
+
catch {
|
|
8916
8904
|
/* empty */
|
|
8917
8905
|
}
|
|
8918
8906
|
}
|
|
@@ -10457,6 +10445,9 @@ var Relations;
|
|
|
10457
10445
|
Relations["Containers"] = "containers";
|
|
10458
10446
|
})(Relations || (Relations = {}));
|
|
10459
10447
|
class DropdownSitesComponent {
|
|
10448
|
+
get isLoading() {
|
|
10449
|
+
return this.loading;
|
|
10450
|
+
}
|
|
10460
10451
|
constructor(authService, sitesService, liveAnnouncer, translateService) {
|
|
10461
10452
|
this.authService = authService;
|
|
10462
10453
|
this.sitesService = sitesService;
|
|
@@ -18596,7 +18587,7 @@ class FolderDialogComponent {
|
|
|
18596
18587
|
errorMessage = 'CORE.MESSAGES.ERRORS.EXISTENT_FOLDER';
|
|
18597
18588
|
}
|
|
18598
18589
|
}
|
|
18599
|
-
catch
|
|
18590
|
+
catch {
|
|
18600
18591
|
/* Do nothing, keep the original message */
|
|
18601
18592
|
}
|
|
18602
18593
|
this.error.emit(this.translation.instant(errorMessage));
|
|
@@ -25795,7 +25786,7 @@ class AlfrescoViewerComponent {
|
|
|
25795
25786
|
const sharedLinkEntry = await this.sharedLinksApi.getSharedLink(this.sharedLinkId);
|
|
25796
25787
|
await this.setUpSharedLinkFile(sharedLinkEntry);
|
|
25797
25788
|
}
|
|
25798
|
-
catch
|
|
25789
|
+
catch {
|
|
25799
25790
|
this.invalidSharedLink.next(undefined);
|
|
25800
25791
|
this.mimeType = 'invalid-link';
|
|
25801
25792
|
this.urlFileContent = 'invalid-file';
|
|
@@ -25813,7 +25804,7 @@ class AlfrescoViewerComponent {
|
|
|
25813
25804
|
this.cdr.detectChanges();
|
|
25814
25805
|
}
|
|
25815
25806
|
}
|
|
25816
|
-
catch
|
|
25807
|
+
catch {
|
|
25817
25808
|
this.urlFileContent = 'invalid-node';
|
|
25818
25809
|
}
|
|
25819
25810
|
}
|
|
@@ -25881,7 +25872,7 @@ class AlfrescoViewerComponent {
|
|
|
25881
25872
|
return { url: urlFileContent, mimeType: 'application/pdf' };
|
|
25882
25873
|
}
|
|
25883
25874
|
}
|
|
25884
|
-
catch
|
|
25875
|
+
catch {
|
|
25885
25876
|
try {
|
|
25886
25877
|
const rendition = await this.sharedLinksApi.getSharedLinkRendition(sharedId, 'imgpreview');
|
|
25887
25878
|
if (rendition.entry.status.toString() === 'CREATED') {
|
|
@@ -25889,7 +25880,7 @@ class AlfrescoViewerComponent {
|
|
|
25889
25880
|
return { url: urlFileContent, mimeType: 'image/png' };
|
|
25890
25881
|
}
|
|
25891
25882
|
}
|
|
25892
|
-
catch
|
|
25883
|
+
catch {
|
|
25893
25884
|
return null;
|
|
25894
25885
|
}
|
|
25895
25886
|
}
|
|
@@ -29443,5 +29434,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
29443
29434
|
* Generated bundle index. Do not edit.
|
|
29444
29435
|
*/
|
|
29445
29436
|
|
|
29446
|
-
export { ADF_SEARCH_CONFIGURATION, ALFRESCO_API_FACTORY, ASPECT_LIST_DIRECTIVES, AddPermissionComponent, AddPermissionDialogComponent, AddPermissionPanelComponent, AgentService, AlfrescoApiLoaderService, AlfrescoApiNoAuthService, AlfrescoApiService, AlfrescoApiServiceMock, AlfrescoIconComponent, AlfrescoViewerComponent, AlfrescoViewerModule, AllowableOperationsEnum, AspectListComponent, AspectListDialogComponent, AspectListModule, AspectListService, AspectOrientedConfigService, AutoFocusDirective, AutocompleteField, BREADCRUMB_DIRECTIVES, BaseQueryBuilderService, BasicPropertiesService, BreadcrumbComponent, BreadcrumbModule, CONTENT_DIALOG_DIRECTIVES, CONTENT_DIRECTIVES, CONTENT_METADATA_DIRECTIVES, CONTENT_NODE_SELECTOR_DIRECTIVES, CONTENT_NODE_SHARE_DIRECTIVES, CONTENT_PERMISSION_MANAGER_DIRECTIVES, CONTENT_PIPES, CONTENT_SEARCH_DIRECTIVES, CONTENT_TAG_DIRECTIVES, CONTENT_UPLOAD_DIRECTIVES, CONTENT_VERSION_DIRECTIVES, CardViewContentUpdateService, CategoriesManagementComponent, CategoriesManagementMode, CategoriesModule, CategorySelectorDialogComponent, CategoryService, CategoryTreeDatasourceService, CheckAllowableOperationDirective, ContentActionComponent, ContentActionListComponent, ContentActionModel, ContentActionTarget, ContentDirectiveModule, ContentMetadataCardComponent, ContentMetadataComponent, ContentMetadataConfigFactory, ContentMetadataHeaderComponent, ContentMetadataModule, ContentMetadataService, ContentModule, ContentNodeDialogService, ContentNodeSelectorComponent, ContentNodeSelectorModule, ContentNodeSelectorPanelComponent, ContentNodeSelectorPanelService, ContentNodeShareModule, ContentPipeModule, ContentService, ContentTestingModule, ContentTypeDialogComponent, ContentTypePropertiesService, ContentTypeService, ContentVersionService, CustomAspectsWhere, CustomResourcesService, DEFAULT_DATETIME_FORMAT, DOCUMENT_LIST_DIRECTIVES, DROP_EFFECT, DateRangeType, DialogAspectListService, DialogModule, DiscoveryApiService,
|
|
29437
|
+
export { ADF_SEARCH_CONFIGURATION, ALFRESCO_API_FACTORY, ASPECT_LIST_DIRECTIVES, AddPermissionComponent, AddPermissionDialogComponent, AddPermissionPanelComponent, AgentService, AlfrescoApiLoaderService, AlfrescoApiNoAuthService, AlfrescoApiService, AlfrescoApiServiceMock, AlfrescoIconComponent, AlfrescoViewerComponent, AlfrescoViewerModule, AllowableOperationsEnum, AspectListComponent, AspectListDialogComponent, AspectListModule, AspectListService, AspectOrientedConfigService, AutoFocusDirective, AutocompleteField, BREADCRUMB_DIRECTIVES, BaseQueryBuilderService, BasicPropertiesService, BreadcrumbComponent, BreadcrumbModule, CONTENT_DIALOG_DIRECTIVES, CONTENT_DIRECTIVES, CONTENT_METADATA_DIRECTIVES, CONTENT_NODE_SELECTOR_DIRECTIVES, CONTENT_NODE_SHARE_DIRECTIVES, CONTENT_PERMISSION_MANAGER_DIRECTIVES, CONTENT_PIPES, CONTENT_SEARCH_DIRECTIVES, CONTENT_TAG_DIRECTIVES, CONTENT_UPLOAD_DIRECTIVES, CONTENT_VERSION_DIRECTIVES, CardViewContentUpdateService, CategoriesManagementComponent, CategoriesManagementMode, CategoriesModule, CategorySelectorDialogComponent, CategoryService, CategoryTreeDatasourceService, CheckAllowableOperationDirective, ContentActionComponent, ContentActionListComponent, ContentActionModel, ContentActionTarget, ContentDirectiveModule, ContentMetadataCardComponent, ContentMetadataComponent, ContentMetadataConfigFactory, ContentMetadataHeaderComponent, ContentMetadataModule, ContentMetadataService, ContentModule, ContentNodeDialogService, ContentNodeSelectorComponent, ContentNodeSelectorModule, ContentNodeSelectorPanelComponent, ContentNodeSelectorPanelService, ContentNodeShareModule, ContentPipeModule, ContentService, ContentTestingModule, ContentTypeDialogComponent, ContentTypePropertiesService, ContentTypeService, ContentVersionService, CustomAspectsWhere, CustomResourcesService, DEFAULT_DATETIME_FORMAT, DOCUMENT_LIST_DIRECTIVES, DROP_EFFECT, DateRangeType, DialogAspectListService, DialogModule, DiscoveryApiService, DocumentActionsService, DocumentListComponent, DocumentListModule, DocumentListService, DownloadZipDialogComponent, DownloadZipDialogModule, DropdownBreadcrumbComponent, DropdownSitesComponent, ERR_COL_NOT_FOUND, ERR_OBJECT_NOT_FOUND, ERR_ROW_NOT_FOUND, EcmCompanyModel, EcmUserModel, EmptySearchResultComponent, FacetBucketSortBy, FacetBucketSortDirection, FavoritesApiService, FileAutoDownloadComponent, FileDraggableDirective, FileModel, FileSizeOperator, FileSizeUnit, FileUploadCompleteEvent, FileUploadDeleteEvent, FileUploadErrorEvent, FileUploadErrorPipe, FileUploadEvent, FileUploadOptions, FileUploadStatus, FileUploadingDialogComponent, FileUploadingListComponent, FileUploadingListRowComponent, FilterHeaderComponent, FolderActionsService, FolderDialogComponent, GroupService, INPUT_FOCUS_CSS_CLASS, InLastDateType, IndifferentConfigService, InfiniteScrollDatasource, InheritPermissionDirective, LayoutOrientedConfigService, LegalHoldService, LibraryDialogComponent, LibraryFavoriteDirective, LibraryMembershipDirective, LibraryNameColumnComponent, LibraryRoleColumnComponent, LibraryStatusColumnComponent, LiveErrorStateMatcher, LockService, LogicalSearchFields, MaterialModule, MemberModel, NameColumnComponent, NameLocationCellComponent, NewVersionUploaderDataAction, NewVersionUploaderDialogComponent, NewVersionUploaderModule, NewVersionUploaderService, NodeAction, NodeActionsService, NodeAspectService, NodeCommentsComponent, NodeCommentsModule, NodeCommentsService, NodeCounterComponent, NodeCounterDirective, NodeDeleteDirective, NodeDownloadDirective, NodeEntityEvent, NodeEntryEvent, NodeFavoriteDirective, NodeLockDialogComponent, NodeLockDirective, NodeMetadata, NodeNameTooltipPipe, NodePathColumnComponent, NodePermissionDialogService, NodePermissionService, NodeRestoreDirective, NodeSharedDirective, NodesApiService, PeopleContentService, PermissionContainerComponent, PermissionDisplayModel, PermissionListComponent, PermissionManagerModule, PermissionModel, PermissionStyleModel, PermissionsEnum, PopOverDirective, PredictionService, PropertyDescriptorsService, PropertyGroupTranslatorService, RECOGNISED_ECM_TYPES, Relations, RenditionService, ResetSearchDirective, ResponseFacetQueryList, RestoreMessageModel, SAVED_SEARCHES_SERVICE_PREFERENCES, SEARCH_QUERY_TOKEN, SavedSearchesService, SearchAiService, SearchCheckListComponent, SearchChipAutocompleteInputComponent, SearchChipListComponent, SearchComponent, SearchConfigurationService, SearchControlComponent, SearchDateRangeComponent, SearchDateRangeTabbedComponent, SearchDatetimeRangeComponent, SearchFacetChipComponent, SearchFacetChipTabbedComponent, SearchFacetFieldComponent, SearchFacetFiltersService, SearchFacetTabbedContentComponent, SearchFilterAutocompleteChipsComponent, SearchFilterCardComponent, SearchFilterChipsComponent, SearchFilterComponent, SearchFilterContainerComponent, SearchFilterList, SearchFilterMenuCardComponent, SearchFilterService, SearchFilterTabDirective, SearchFilterTabbedComponent, SearchFormComponent, SearchHeaderQueryBuilderService, SearchInputComponent, SearchLogicalFilterComponent, SearchModule, SearchNumberRangeComponent, SearchPanelComponent, SearchPermissionConfigurationService, SearchPropertiesComponent, SearchQueryBuilderService, SearchRadioComponent, SearchService, SearchSliderComponent, SearchSortingPickerComponent, SearchTermValidator, SearchTextComponent, SearchWidgetChipComponent, SearchWidgetContainerComponent, SecurityControlsService, ShareDataRow, ShareDataTableAdapter, ShareDialogComponent, SharedLinksApiService, SitesService, StandardAspectsWhere, TagActionsComponent, TagListComponent, TagModule, TagNodeListComponent, TagService, TagsCreatorComponent, TagsCreatorMode, ToggleIconDirective, TrashcanNameColumnComponent, TreeBaseNode, TreeComponent, TreeModule, TreeNodeType, TreeService, TreeViewComponent, TreeViewDataSource, TreeViewModule, TreeViewService, UploadBase, UploadButtonComponent, UploadDragAreaComponent, UploadFilesEvent, UploadModule, UploadService, UploadVersionButtonComponent, UserIconColumnComponent, UserNameColumnComponent, UserRoleColumnComponent, VersionComparisonComponent, VersionCompatibilityDirective, VersionCompatibilityModule, VersionCompatibilityService, VersionListComponent, VersionListDataSource, VersionManagerComponent, VersionManagerModule, VersionUploadComponent, createAlfrescoApiInstance, defaultValidation, fakeEcmUser, fakeSearch$1 as fakeSearch, forbidEndingDot, forbidOnlySpaces, forbidSpecialCharacters, mockError$1 as mockError, searchMockApi$1 as searchMockApi };
|
|
29447
29438
|
//# sourceMappingURL=adf-content-services.mjs.map
|