@alfresco/adf-content-services 8.1.0-16877609768 → 8.2.0-17208777081
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/bundles/assets/adf-content-services/i18n/pl.json +2 -2
- package/fesm2022/adf-content-services.mjs +32 -32
- 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/lib/node-comments/services/node-comments.service.d.ts +12 -6
- package/package.json +3 -3
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
"DUPLICATED_CATEGORY": "Kategoria została już dodana",
|
|
185
185
|
"CREATE_CATEGORIES": "Błąd podczas tworzenia kategorii",
|
|
186
186
|
"EXISTING_CATEGORIES": "Niektóre kategorie już istnieją",
|
|
187
|
-
"SPECIAL_CHARACTERS": "
|
|
188
|
-
"ENDS_WITH_DOT": "
|
|
187
|
+
"SPECIAL_CHARACTERS": "Nazwa kategorii nie może zawierać niedozwolonych znaków",
|
|
188
|
+
"ENDS_WITH_DOT": "Nazwa kategorii nie może kończyć się kropką"
|
|
189
189
|
},
|
|
190
190
|
"CATEGORIES_SEARCH_PLACEHOLDER": "Kategorie wyszukiwania"
|
|
191
191
|
},
|
|
@@ -350,7 +350,7 @@ class ContentService {
|
|
|
350
350
|
*/
|
|
351
351
|
hasPermissions(node, permission, userId) {
|
|
352
352
|
let hasPermissions = false;
|
|
353
|
-
userId = userId ?? this.authService.
|
|
353
|
+
userId = userId ?? this.authService.getUsername();
|
|
354
354
|
const permissions = [...(node.permissions?.locallySet || []), ...(node.permissions?.inherited || [])].filter((currentPermission) => currentPermission.authorityId === userId);
|
|
355
355
|
if (permissions.length) {
|
|
356
356
|
if (permission?.startsWith('!')) {
|
|
@@ -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
|
|
@@ -3673,7 +3661,7 @@ class LockService {
|
|
|
3673
3661
|
isLocked = !this.isLockExpired(node);
|
|
3674
3662
|
}
|
|
3675
3663
|
else if (this.isLockOwnerAllowed(node)) {
|
|
3676
|
-
isLocked = this.authService.
|
|
3664
|
+
isLocked = this.authService.getUsername() !== node.properties['cm:lockOwner'].id;
|
|
3677
3665
|
if (this.isLockExpired(node)) {
|
|
3678
3666
|
isLocked = false;
|
|
3679
3667
|
}
|
|
@@ -5502,11 +5490,11 @@ class SearchCheckListComponent {
|
|
|
5502
5490
|
}
|
|
5503
5491
|
}
|
|
5504
5492
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SearchCheckListComponent, deps: [{ token: i1.TranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5505
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: SearchCheckListComponent, isStandalone: true, selector: "adf-search-check-list", host: { classAttribute: "adf-search-check-list" }, ngImport: i0, template: "<div class=\"checklist\">\n <mat-checkbox\n *ngFor=\"let option of options\"\n [checked]=\"option.checked\"\n
|
|
5493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: SearchCheckListComponent, isStandalone: true, selector: "adf-search-check-list", host: { classAttribute: "adf-search-check-list" }, ngImport: i0, template: "<div class=\"checklist\">\n <mat-checkbox\n *ngFor=\"let option of options\"\n [checked]=\"option.checked\"\n (keydown.enter)=\"option.checked = !option.checked\"\n [attr.data-automation-id]=\"'checkbox-' + (option.name)\"\n [attr.aria-label]=\"option.name | translate\"\n (change)=\"changeHandler($event, option)\"\n class=\"adf-facet-filter\">\n <div title=\"{{ option.name | translate }}\" class=\"adf-search-check-list-label\">\n {{ option.name | translate }}\n </div>\n\n </mat-checkbox>\n</div>\n\n<div class=\"adf-facet-buttons\" *ngIf=\"options.fitsPage && !settings?.hideDefaultAction\">\n <button mat-button color=\"primary\" (click)=\"clear()\">\n {{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}\n </button>\n</div>\n\n<div class=\"adf-facet-buttons\" *ngIf=\"!options.fitsPage\">\n <button mat-icon-button\n title=\"{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}\"\n (click)=\"clear()\">\n <mat-icon>clear</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"options.canShowLessItems\"\n title=\"{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}\"\n (click)=\"options.showLessItems()\">\n <mat-icon>keyboard_arrow_up</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"options.canShowMoreItems\"\n title=\"{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}\"\n (click)=\"options.showMoreItems()\">\n <mat-icon>keyboard_arrow_down</mat-icon>\n </button>\n</div>\n", styles: [".adf-search-check-list>div{display:flex;flex-direction:column}.adf-search-check-list>div .adf-facet-filter{display:block}.adf-search-check-list>div .adf-facet-filter .adf-search-check-list-label{text-overflow:ellipsis;overflow:hidden;width:100%;-webkit-font-smoothing:subpixel-antialiased;margin-top:1px}.adf-search-check-list>div .adf-facet-filter .adf-facet-name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.adf-search-check-list>div .adf-facet-filter .mdc-checkbox{margin-left:4px;margin-top:5px;margin-bottom:4px}.adf-search-check-list>div .adf-facet-filter label{padding-left:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i7$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
5506
5494
|
}
|
|
5507
5495
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SearchCheckListComponent, decorators: [{
|
|
5508
5496
|
type: Component,
|
|
5509
|
-
args: [{ selector: 'adf-search-check-list', imports: [CommonModule, MatCheckboxModule, TranslatePipe, MatButtonModule, MatIconModule], encapsulation: ViewEncapsulation.None, host: { class: 'adf-search-check-list' }, template: "<div class=\"checklist\">\n <mat-checkbox\n *ngFor=\"let option of options\"\n [checked]=\"option.checked\"\n
|
|
5497
|
+
args: [{ selector: 'adf-search-check-list', imports: [CommonModule, MatCheckboxModule, TranslatePipe, MatButtonModule, MatIconModule], encapsulation: ViewEncapsulation.None, host: { class: 'adf-search-check-list' }, template: "<div class=\"checklist\">\n <mat-checkbox\n *ngFor=\"let option of options\"\n [checked]=\"option.checked\"\n (keydown.enter)=\"option.checked = !option.checked\"\n [attr.data-automation-id]=\"'checkbox-' + (option.name)\"\n [attr.aria-label]=\"option.name | translate\"\n (change)=\"changeHandler($event, option)\"\n class=\"adf-facet-filter\">\n <div title=\"{{ option.name | translate }}\" class=\"adf-search-check-list-label\">\n {{ option.name | translate }}\n </div>\n\n </mat-checkbox>\n</div>\n\n<div class=\"adf-facet-buttons\" *ngIf=\"options.fitsPage && !settings?.hideDefaultAction\">\n <button mat-button color=\"primary\" (click)=\"clear()\">\n {{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}\n </button>\n</div>\n\n<div class=\"adf-facet-buttons\" *ngIf=\"!options.fitsPage\">\n <button mat-icon-button\n title=\"{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}\"\n (click)=\"clear()\">\n <mat-icon>clear</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"options.canShowLessItems\"\n title=\"{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}\"\n (click)=\"options.showLessItems()\">\n <mat-icon>keyboard_arrow_up</mat-icon>\n </button>\n <button mat-icon-button\n *ngIf=\"options.canShowMoreItems\"\n title=\"{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}\"\n (click)=\"options.showMoreItems()\">\n <mat-icon>keyboard_arrow_down</mat-icon>\n </button>\n</div>\n", styles: [".adf-search-check-list>div{display:flex;flex-direction:column}.adf-search-check-list>div .adf-facet-filter{display:block}.adf-search-check-list>div .adf-facet-filter .adf-search-check-list-label{text-overflow:ellipsis;overflow:hidden;width:100%;-webkit-font-smoothing:subpixel-antialiased;margin-top:1px}.adf-search-check-list>div .adf-facet-filter .adf-facet-name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.adf-search-check-list>div .adf-facet-filter .mdc-checkbox{margin-left:4px;margin-top:5px;margin-bottom:4px}.adf-search-check-list>div .adf-facet-filter label{padding-left:0}\n"] }]
|
|
5510
5498
|
}], ctorParameters: () => [{ type: i1.TranslationService }] });
|
|
5511
5499
|
|
|
5512
5500
|
/*!
|
|
@@ -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;
|
|
@@ -10553,7 +10544,7 @@ class DropdownSitesComponent {
|
|
|
10553
10544
|
return this.siteList?.list.pagination?.hasMoreItems;
|
|
10554
10545
|
}
|
|
10555
10546
|
filteredResultsByMember(sites) {
|
|
10556
|
-
const loggedUserName = this.authService.
|
|
10547
|
+
const loggedUserName = this.authService.getUsername();
|
|
10557
10548
|
sites.list.entries = sites.list.entries.filter((site) => this.isCurrentUserMember(site, loggedUserName));
|
|
10558
10549
|
return sites;
|
|
10559
10550
|
}
|
|
@@ -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));
|
|
@@ -25016,9 +25007,12 @@ class NodeCommentsService {
|
|
|
25016
25007
|
this._commentsApi = this._commentsApi ?? new CommentsApi(this.apiService.getInstance());
|
|
25017
25008
|
return this._commentsApi;
|
|
25018
25009
|
}
|
|
25019
|
-
|
|
25010
|
+
get peopleApi() {
|
|
25011
|
+
this._peopleApi = this._peopleApi ?? new PeopleApi(this.apiService.getInstance());
|
|
25012
|
+
return this._peopleApi;
|
|
25013
|
+
}
|
|
25014
|
+
constructor(apiService) {
|
|
25020
25015
|
this.apiService = apiService;
|
|
25021
|
-
this.contentService = contentService;
|
|
25022
25016
|
}
|
|
25023
25017
|
/**
|
|
25024
25018
|
* Gets all comments that have been added to a task.
|
|
@@ -25057,10 +25051,16 @@ class NodeCommentsService {
|
|
|
25057
25051
|
createdBy: new User(comment.createdBy)
|
|
25058
25052
|
});
|
|
25059
25053
|
}
|
|
25060
|
-
|
|
25061
|
-
|
|
25054
|
+
/**
|
|
25055
|
+
* Gets the avatar image URL for a given user ID.
|
|
25056
|
+
*
|
|
25057
|
+
* @param userId ID of the user
|
|
25058
|
+
* @returns The URL of the user's avatar image
|
|
25059
|
+
*/
|
|
25060
|
+
getUserImage(userId) {
|
|
25061
|
+
return this.peopleApi.getAvatarImageUrl(userId);
|
|
25062
25062
|
}
|
|
25063
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NodeCommentsService, deps: [{ token: AlfrescoApiService }
|
|
25063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NodeCommentsService, deps: [{ token: AlfrescoApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
25064
25064
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NodeCommentsService, providedIn: 'root' }); }
|
|
25065
25065
|
}
|
|
25066
25066
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NodeCommentsService, decorators: [{
|
|
@@ -25068,7 +25068,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
25068
25068
|
args: [{
|
|
25069
25069
|
providedIn: 'root'
|
|
25070
25070
|
}]
|
|
25071
|
-
}], ctorParameters: () => [{ type: AlfrescoApiService }
|
|
25071
|
+
}], ctorParameters: () => [{ type: AlfrescoApiService }] });
|
|
25072
25072
|
|
|
25073
25073
|
/*!
|
|
25074
25074
|
* @license
|
|
@@ -25786,7 +25786,7 @@ class AlfrescoViewerComponent {
|
|
|
25786
25786
|
const sharedLinkEntry = await this.sharedLinksApi.getSharedLink(this.sharedLinkId);
|
|
25787
25787
|
await this.setUpSharedLinkFile(sharedLinkEntry);
|
|
25788
25788
|
}
|
|
25789
|
-
catch
|
|
25789
|
+
catch {
|
|
25790
25790
|
this.invalidSharedLink.next(undefined);
|
|
25791
25791
|
this.mimeType = 'invalid-link';
|
|
25792
25792
|
this.urlFileContent = 'invalid-file';
|
|
@@ -25804,7 +25804,7 @@ class AlfrescoViewerComponent {
|
|
|
25804
25804
|
this.cdr.detectChanges();
|
|
25805
25805
|
}
|
|
25806
25806
|
}
|
|
25807
|
-
catch
|
|
25807
|
+
catch {
|
|
25808
25808
|
this.urlFileContent = 'invalid-node';
|
|
25809
25809
|
}
|
|
25810
25810
|
}
|
|
@@ -25872,7 +25872,7 @@ class AlfrescoViewerComponent {
|
|
|
25872
25872
|
return { url: urlFileContent, mimeType: 'application/pdf' };
|
|
25873
25873
|
}
|
|
25874
25874
|
}
|
|
25875
|
-
catch
|
|
25875
|
+
catch {
|
|
25876
25876
|
try {
|
|
25877
25877
|
const rendition = await this.sharedLinksApi.getSharedLinkRendition(sharedId, 'imgpreview');
|
|
25878
25878
|
if (rendition.entry.status.toString() === 'CREATED') {
|
|
@@ -25880,7 +25880,7 @@ class AlfrescoViewerComponent {
|
|
|
25880
25880
|
return { url: urlFileContent, mimeType: 'image/png' };
|
|
25881
25881
|
}
|
|
25882
25882
|
}
|
|
25883
|
-
catch
|
|
25883
|
+
catch {
|
|
25884
25884
|
return null;
|
|
25885
25885
|
}
|
|
25886
25886
|
}
|
|
@@ -25941,7 +25941,7 @@ class AlfrescoViewerComponent {
|
|
|
25941
25941
|
this.nodeActionsService.downloadNode(this.nodeEntry);
|
|
25942
25942
|
}
|
|
25943
25943
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AlfrescoViewerComponent, deps: [{ token: AlfrescoApiService }, { token: NodesApiService }, { token: RenditionService }, { token: i1.ViewUtilService }, { token: ContentService }, { token: UploadService }, { token: i1$1.MatDialog }, { token: i0.ChangeDetectorRef }, { token: NodeActionsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25944
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: AlfrescoViewerComponent, isStandalone: true, selector: "adf-alfresco-viewer", inputs: { nodeId: "nodeId", versionId: "versionId", sharedLinkId: "sharedLinkId", showViewer: "showViewer", maxRetries: "maxRetries", allowGoBack: "allowGoBack", showToolbar: "showToolbar", overlayMode: "overlayMode", allowNavigate: "allowNavigate", canNavigateBefore: "canNavigateBefore", canNavigateNext: "canNavigateNext", allowLeftSidebar: "allowLeftSidebar", allowRightSidebar: "allowRightSidebar", showRightSidebar: "showRightSidebar", showLeftSidebar: "showLeftSidebar", allowDownload: "allowDownload", allowPrint: "allowPrint", allowFullScreen: "allowFullScreen", hideInfoButton: "hideInfoButton", closeButtonPosition: "closeButtonPosition", sidebarRightTemplate: "sidebarRightTemplate", sidebarLeftTemplate: "sidebarLeftTemplate", readOnly: "readOnly", showToolbarDividers: "showToolbarDividers" }, outputs: { invalidSharedLink: "invalidSharedLink", navigateBefore: "navigateBefore", navigateNext: "navigateNext", showViewerChange: "showViewerChange" }, host: { classAttribute: "adf-alfresco-viewer" }, providers: [ViewUtilService], queries: [{ propertyName: "toolbar", first: true, predicate: ViewerToolbarComponent, descendants: true }, { propertyName: "sidebar", first: true, predicate: ViewerSidebarComponent, descendants: true }, { propertyName: "toolbarActions", first: true, predicate: ViewerToolbarActionsComponent, descendants: true }, { propertyName: "moreActions", first: true, predicate: ViewerMoreActionsComponent, descendants: true }, { propertyName: "openWith", first: true, predicate: ViewerOpenWithComponent, descendants: true }, { propertyName: "viewerExtensions", first: true, predicate: ["viewerExtensions"], descendants: true }], viewQueries: [{ propertyName: "adfViewer", first: true, predicate: ["adfViewer"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<adf-viewer\n #adfViewer\n [(showViewer)]=\"showViewer\"\n [allowGoBack]=\"allowGoBack\"\n [showToolbar]=\"showToolbar\"\n [overlayMode]=\"overlayMode\"\n [allowNavigate]=\"allowNavigate\"\n [canNavigateBefore]=\"canNavigateBefore\"\n [canNavigateNext]=\"canNavigateNext\"\n [allowLeftSidebar]=\"allowLeftSidebar\"\n [allowRightSidebar]=\"allowRightSidebar\"\n [showRightSidebar]=\"showRightSidebar\"\n [showLeftSidebar]=\"showLeftSidebar\"\n [allowFullScreen]=\"allowFullScreen\"\n [sidebarRightTemplate]=\"sidebarRightTemplate\"\n [sidebarLeftTemplate]=\"sidebarLeftTemplate\"\n [sidebarRightTemplateContext]=\"sidebarRightTemplateContext\"\n [sidebarLeftTemplateContext]=\"sidebarLeftTemplateContext\"\n [closeButtonPosition]=\"closeButtonPosition\"\n [hideInfoButton]=\"hideInfoButton\"\n [fileName]=\"fileName\"\n [mimeType]=\"mimeType\"\n [nodeMimeType]=\"nodeMimeType\"\n [urlFile]=\"urlFileContent\"\n [tracks]=\"tracks\"\n [readOnly]=\"readOnly || !canEditNode\"\n [showToolbarDividers]=\"showToolbarDividers\"\n [allowedEditActions]=\"allowedEditActions\"\n [viewerExtensions]=\"viewerExtensions\"\n [nodeId]=\"nodeId\"\n (downloadFile)=\"onDownloadFile()\"\n (navigateBefore)=\"onNavigateBeforeClick($event)\"\n (navigateNext)=\"onNavigateNextClick($event)\"\n (showViewerChange)=\"onClose()\"\n (submitFile)=\"onSubmitFile($event)\">\n\n <adf-viewer-toolbar *ngIf=\"toolbar\">\n <ng-content select=\"adf-viewer-toolbar\" />\n </adf-viewer-toolbar>\n\n <adf-viewer-toolbar-actions *ngIf=\"toolbarActions\">\n <ng-content select=\"adf-viewer-toolbar-actions\" />\n </adf-viewer-toolbar-actions>\n\n <adf-viewer-more-actions *ngIf=\"moreActions\">\n <ng-content select=\"adf-viewer-more-actions\" />\n </adf-viewer-more-actions>\n\n <adf-viewer-open-with *ngIf=\"openWith\">\n <ng-content select=\"adf-viewer-open-with\" />\n </adf-viewer-open-with>\n\n <adf-viewer-sidebar *ngIf=\"sidebar\">\n <ng-content select=\"adf-viewer-sidebar\" />\n </adf-viewer-sidebar>\n\n <adf-viewer-toolbar-custom-actions *ngIf=\"allowDownload || allowPrint\">\n <button id=\"adf-alfresco-viewer-download\"\n *ngIf=\"allowDownload\"\n mat-icon-button\n [attr.aria-label]=\"'ADF_VIEWER.ACTIONS.DOWNLOAD' | translate\"\n title=\"{{ 'ADF_VIEWER.ACTIONS.DOWNLOAD' | translate }}\"\n data-automation-id=\"adf-toolbar-download\"\n [adfNodeDownload]=\"nodeEntry\"\n [version]=\"versionEntry\">\n <mat-icon>file_download</mat-icon>\n </button>\n\n <button id=\"adf-alfresco-viewer-print\"\n *ngIf=\"allowPrint\"\n mat-icon-button\n [attr.aria-label]=\"'ADF_VIEWER.ACTIONS.PRINT' | translate\"\n title=\"{{ 'ADF_VIEWER.ACTIONS.PRINT' | translate }}\"\n data-automation-id=\"adf-toolbar-print\"\n (click)=\"onPrintContent($event)\">\n <mat-icon>print</mat-icon>\n </button>\n </adf-viewer-toolbar-custom-actions>\n</adf-viewer>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i1.ViewerToolbarComponent, selector: "adf-viewer-toolbar" }, { kind: "component", type: i1.ViewerSidebarComponent, selector: "adf-viewer-sidebar" }, { kind: "component", type: i1.ViewerOpenWithComponent, selector: "adf-viewer-open-with" }, { kind: "component", type: i1.ViewerMoreActionsComponent, selector: "adf-viewer-more-actions" }, { kind: "component", type: i1.ViewerToolbarActionsComponent, selector: "adf-viewer-toolbar-actions" }, { kind: "component", type: i1.ViewerComponent, selector: "adf-viewer", inputs: ["urlFile", "blobFile", "showViewer", "allowGoBack", "allowFullScreen", "showToolbar", "overlayMode", "allowNavigate", "canNavigateBefore", "canNavigateNext", "allowLeftSidebar", "allowRightSidebar", "showRightSidebar", "showLeftSidebar", "sidebarRightTemplate", "sidebarLeftTemplate", "readOnly", "allowedEditActions", "tracks", "mimeType", "sidebarRightTemplateContext", "sidebarLeftTemplateContext", "closeButtonPosition", "hideInfoButton", "viewerExtensions", "nodeId", "nodeMimeType", "customError", "showToolbarDividers", "fileName"], outputs: ["downloadFile", "navigateBefore", "navigateNext", "showViewerChange", "submitFile"] }, { kind: "component", type: i1.ViewerToolbarCustomActionsComponent, selector: "adf-viewer-toolbar-custom-actions" }, { kind: "directive", type: NodeDownloadDirective, selector: "[adfNodeDownload]", inputs: ["adfNodeDownload", "version"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
25944
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: AlfrescoViewerComponent, isStandalone: true, selector: "adf-alfresco-viewer", inputs: { nodeId: "nodeId", versionId: "versionId", sharedLinkId: "sharedLinkId", showViewer: "showViewer", maxRetries: "maxRetries", allowGoBack: "allowGoBack", showToolbar: "showToolbar", overlayMode: "overlayMode", allowNavigate: "allowNavigate", canNavigateBefore: "canNavigateBefore", canNavigateNext: "canNavigateNext", allowLeftSidebar: "allowLeftSidebar", allowRightSidebar: "allowRightSidebar", showRightSidebar: "showRightSidebar", showLeftSidebar: "showLeftSidebar", allowDownload: "allowDownload", allowPrint: "allowPrint", allowFullScreen: "allowFullScreen", hideInfoButton: "hideInfoButton", closeButtonPosition: "closeButtonPosition", sidebarRightTemplate: "sidebarRightTemplate", sidebarLeftTemplate: "sidebarLeftTemplate", readOnly: "readOnly", showToolbarDividers: "showToolbarDividers" }, outputs: { invalidSharedLink: "invalidSharedLink", navigateBefore: "navigateBefore", navigateNext: "navigateNext", showViewerChange: "showViewerChange" }, host: { classAttribute: "adf-alfresco-viewer" }, providers: [ViewUtilService], queries: [{ propertyName: "toolbar", first: true, predicate: ViewerToolbarComponent, descendants: true }, { propertyName: "sidebar", first: true, predicate: ViewerSidebarComponent, descendants: true }, { propertyName: "toolbarActions", first: true, predicate: ViewerToolbarActionsComponent, descendants: true }, { propertyName: "moreActions", first: true, predicate: ViewerMoreActionsComponent, descendants: true }, { propertyName: "openWith", first: true, predicate: ViewerOpenWithComponent, descendants: true }, { propertyName: "viewerExtensions", first: true, predicate: ["viewerExtensions"], descendants: true }], viewQueries: [{ propertyName: "adfViewer", first: true, predicate: ["adfViewer"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<adf-viewer\n #adfViewer\n [(showViewer)]=\"showViewer\"\n [allowGoBack]=\"allowGoBack\"\n [showToolbar]=\"showToolbar\"\n [overlayMode]=\"overlayMode\"\n [allowNavigate]=\"allowNavigate\"\n [canNavigateBefore]=\"canNavigateBefore\"\n [canNavigateNext]=\"canNavigateNext\"\n [allowLeftSidebar]=\"allowLeftSidebar\"\n [allowRightSidebar]=\"allowRightSidebar\"\n [showRightSidebar]=\"showRightSidebar\"\n [showLeftSidebar]=\"showLeftSidebar\"\n [allowFullScreen]=\"allowFullScreen\"\n [sidebarRightTemplate]=\"sidebarRightTemplate\"\n [sidebarLeftTemplate]=\"sidebarLeftTemplate\"\n [sidebarRightTemplateContext]=\"sidebarRightTemplateContext\"\n [sidebarLeftTemplateContext]=\"sidebarLeftTemplateContext\"\n [closeButtonPosition]=\"closeButtonPosition\"\n [hideInfoButton]=\"hideInfoButton\"\n [fileName]=\"fileName\"\n [mimeType]=\"mimeType\"\n [nodeMimeType]=\"nodeMimeType\"\n [urlFile]=\"urlFileContent\"\n [tracks]=\"tracks\"\n [readOnly]=\"readOnly || !canEditNode\"\n [showToolbarDividers]=\"showToolbarDividers\"\n [allowedEditActions]=\"allowedEditActions\"\n [viewerExtensions]=\"viewerExtensions\"\n [nodeId]=\"nodeId\"\n (downloadFile)=\"onDownloadFile()\"\n (navigateBefore)=\"onNavigateBeforeClick($event)\"\n (navigateNext)=\"onNavigateNextClick($event)\"\n (showViewerChange)=\"onClose()\"\n (submitFile)=\"onSubmitFile($event)\">\n\n <adf-viewer-toolbar *ngIf=\"toolbar\">\n <ng-content select=\"adf-viewer-toolbar\" />\n </adf-viewer-toolbar>\n\n <adf-viewer-toolbar-actions *ngIf=\"toolbarActions\">\n <ng-content select=\"adf-viewer-toolbar-actions\" />\n </adf-viewer-toolbar-actions>\n\n <adf-viewer-more-actions *ngIf=\"moreActions\">\n <ng-content select=\"adf-viewer-more-actions\" />\n </adf-viewer-more-actions>\n\n <adf-viewer-open-with *ngIf=\"openWith\">\n <ng-content select=\"adf-viewer-open-with\" />\n </adf-viewer-open-with>\n\n <adf-viewer-sidebar *ngIf=\"sidebar\">\n <ng-content select=\"adf-viewer-sidebar\" />\n </adf-viewer-sidebar>\n\n <adf-viewer-toolbar-custom-actions *ngIf=\"allowDownload || allowPrint\">\n <button id=\"adf-alfresco-viewer-download\"\n *ngIf=\"allowDownload\"\n mat-icon-button\n [attr.aria-label]=\"'ADF_VIEWER.ACTIONS.DOWNLOAD' | translate\"\n title=\"{{ 'ADF_VIEWER.ACTIONS.DOWNLOAD' | translate }}\"\n data-automation-id=\"adf-toolbar-download\"\n [adfNodeDownload]=\"nodeEntry\"\n [version]=\"versionEntry\">\n <mat-icon>file_download</mat-icon>\n </button>\n\n <button id=\"adf-alfresco-viewer-print\"\n *ngIf=\"allowPrint\"\n mat-icon-button\n [attr.aria-label]=\"'ADF_VIEWER.ACTIONS.PRINT' | translate\"\n title=\"{{ 'ADF_VIEWER.ACTIONS.PRINT' | translate }}\"\n data-automation-id=\"adf-toolbar-print\"\n (click)=\"onPrintContent($event)\">\n <mat-icon>print</mat-icon>\n </button>\n </adf-viewer-toolbar-custom-actions>\n</adf-viewer>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i1.ViewerToolbarComponent, selector: "adf-viewer-toolbar" }, { kind: "component", type: i1.ViewerSidebarComponent, selector: "adf-viewer-sidebar" }, { kind: "component", type: i1.ViewerOpenWithComponent, selector: "adf-viewer-open-with" }, { kind: "component", type: i1.ViewerMoreActionsComponent, selector: "adf-viewer-more-actions" }, { kind: "component", type: i1.ViewerToolbarActionsComponent, selector: "adf-viewer-toolbar-actions" }, { kind: "component", type: i1.ViewerComponent, selector: "adf-viewer", inputs: ["urlFile", "blobFile", "showViewer", "allowGoBack", "allowFullScreen", "showToolbar", "overlayMode", "allowNavigate", "canNavigateBefore", "canNavigateNext", "allowLeftSidebar", "allowRightSidebar", "showRightSidebar", "showLeftSidebar", "sidebarRightTemplate", "sidebarLeftTemplate", "readOnly", "allowedEditActions", "tracks", "mimeType", "sidebarRightTemplateContext", "sidebarLeftTemplateContext", "closeButtonPosition", "hideInfoButton", "viewerExtensions", "nodeId", "nodeMimeType", "customError", "showToolbarDividers", "title", "fileName"], outputs: ["downloadFile", "navigateBefore", "navigateNext", "showViewerChange", "submitFile"] }, { kind: "component", type: i1.ViewerToolbarCustomActionsComponent, selector: "adf-viewer-toolbar-custom-actions" }, { kind: "directive", type: NodeDownloadDirective, selector: "[adfNodeDownload]", inputs: ["adfNodeDownload", "version"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
25945
25945
|
}
|
|
25946
25946
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AlfrescoViewerComponent, decorators: [{
|
|
25947
25947
|
type: Component,
|
|
@@ -29434,5 +29434,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
29434
29434
|
* Generated bundle index. Do not edit.
|
|
29435
29435
|
*/
|
|
29436
29436
|
|
|
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,
|
|
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 };
|
|
29438
29438
|
//# sourceMappingURL=adf-content-services.mjs.map
|