[ADF-] update library to use new js-api 3.0.0 (#4097)

This commit is contained in:
Eugenio Romano
2019-01-06 23:57:01 +01:00
committed by Eugenio Romano
parent 2acd1b4e26
commit 3ef7d3b7ea
430 changed files with 1966 additions and 2149 deletions

View File

@@ -17,7 +17,7 @@
import { Directive, Input, HostListener, OnChanges, NgZone } from '@angular/core';
import { MatDialog } from '@angular/material';
import { MinimalNodeEntity } from 'alfresco-js-api';
import { NodeEntry } from '@alfresco/js-api';
import { ShareDialogComponent } from './content-node-share.dialog';
@@ -33,7 +33,7 @@ export class NodeSharedDirective implements OnChanges {
/** Node to share. */
// tslint:disable-next-line:no-input-rename
@Input('adf-share')
node: MinimalNodeEntity;
node: NodeEntry;
/** Prefix to add to the generated link. */
@Input()
@@ -48,7 +48,7 @@ export class NodeSharedDirective implements OnChanges {
constructor(private dialog: MatDialog, private zone: NgZone) {}
shareNode(node: MinimalNodeEntity) {
shareNode(node: NodeEntry) {
if (node && node.entry && node.entry.isFile) {
this.dialog.open(ShareDialogComponent, {
width: '600px',