mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
upgrade libraries (#910)
* upgrade libraries * fix breaking changes * fix divider * remove header workarounds
This commit is contained in:
873
package-lock.json
generated
873
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
42
package.json
42
package.json
@@ -32,45 +32,45 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@alfresco/adf-content-services": "3.0.0-7c66589b26e57061a07a8d38bfebc2ee05fb1b83",
|
||||
"@alfresco/adf-core": "3.0.0-7c66589b26e57061a07a8d38bfebc2ee05fb1b83",
|
||||
"@alfresco/adf-extensions": "3.0.0-7c66589b26e57061a07a8d38bfebc2ee05fb1b83",
|
||||
"@alfresco/js-api": "3.0.0-e9c8ed80decc71d2fc6833cef22851b64ce4b604",
|
||||
"@angular/animations": "7.2.2",
|
||||
"@alfresco/adf-content-services": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64",
|
||||
"@alfresco/adf-core": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64",
|
||||
"@alfresco/adf-extensions": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64",
|
||||
"@alfresco/js-api": "3.0.0-d7850f421268e21861e2cd219441b7343efd27ba",
|
||||
"@angular/animations": "7.2.3",
|
||||
"@angular/cdk": "^7.3.0",
|
||||
"@angular/common": "7.2.2",
|
||||
"@angular/compiler": "7.2.2",
|
||||
"@angular/core": "7.2.2",
|
||||
"@angular/flex-layout": "^7.0.0-beta.19",
|
||||
"@angular/forms": "7.2.2",
|
||||
"@angular/http": "7.2.2",
|
||||
"@angular/common": "7.2.3",
|
||||
"@angular/compiler": "7.2.3",
|
||||
"@angular/core": "7.2.3",
|
||||
"@angular/flex-layout": "^7.0.0-beta.23",
|
||||
"@angular/forms": "7.2.3",
|
||||
"@angular/http": "7.2.3",
|
||||
"@angular/material": "^7.3.0",
|
||||
"@angular/material-moment-adapter": "^7.3.0",
|
||||
"@angular/platform-browser": "7.2.2",
|
||||
"@angular/platform-browser-dynamic": "7.2.2",
|
||||
"@angular/router": "7.2.2",
|
||||
"@angular/platform-browser": "7.2.3",
|
||||
"@angular/platform-browser-dynamic": "7.2.3",
|
||||
"@angular/router": "7.2.3",
|
||||
"@mat-datetimepicker/core": "^3.0.0-beta.0",
|
||||
"@mat-datetimepicker/moment": "^3.0.0-beta.0",
|
||||
"@ngrx/effects": "^7.2.0",
|
||||
"@ngrx/router-store": "^7.2.0",
|
||||
"@ngrx/store": "^7.2.0",
|
||||
"@ngrx/store-devtools": "^7.2.0",
|
||||
"@ngx-translate/core": "^10.0.2",
|
||||
"@ngx-translate/core": "^11.0.1",
|
||||
"core-js": "^2.5.7",
|
||||
"hammerjs": "2.0.8",
|
||||
"minimatch-browser": "^1.0.0",
|
||||
"moment": "^2.24.0",
|
||||
"moment-es6": "1.0.0",
|
||||
"pdfjs-dist": "^2.0.489",
|
||||
"rxjs": "^6.3.3",
|
||||
"rxjs": "^6.4.0",
|
||||
"zone.js": "0.8.29"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.12.0",
|
||||
"@angular-devkit/build-ng-packagr": "~0.12.0",
|
||||
"@angular/cli": "^7.2.3",
|
||||
"@angular/compiler-cli": "7.2.2",
|
||||
"@angular/language-service": "7.2.2",
|
||||
"@angular-devkit/build-angular": "~0.13.0",
|
||||
"@angular-devkit/build-ng-packagr": "~0.13.0",
|
||||
"@angular/cli": "^7.3.0",
|
||||
"@angular/compiler-cli": "7.2.3",
|
||||
"@angular/language-service": "7.2.3",
|
||||
"@types/jasmine": "^2.5.53",
|
||||
"@types/jasminewd2": "^2.0.2",
|
||||
"@types/node": "9.3.0",
|
||||
|
@@ -31,8 +31,7 @@
|
||||
[imageResolver]="imageResolver"
|
||||
(name-click)="navigateTo($event.detail?.node)"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="library_books"
|
||||
[title]="
|
||||
@@ -41,8 +40,7 @@
|
||||
subtitle="APP.BROWSE.LIBRARIES.EMPTY_STATE.FAVORITE_LIBRARIES.TEXT"
|
||||
>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -23,16 +23,14 @@
|
||||
(node-dblclick)="onNodeDoubleClick($event.detail?.node)"
|
||||
(name-click)="onNodeDoubleClick($event.detail?.node)"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="star_rate"
|
||||
[title]="'APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE'"
|
||||
subtitle="APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT"
|
||||
>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
<aca-search-input></aca-search-input>
|
||||
|
||||
<div class="adf-toolbar-divider"></div>
|
||||
<adf-toolbar-divider></adf-toolbar-divider>
|
||||
|
||||
<aca-current-user></aca-current-user>
|
||||
|
||||
|
@@ -25,16 +25,14 @@
|
||||
(node-dblclick)="navigateTo($event.detail?.node)"
|
||||
(name-click)="navigateTo($event.detail?.node)"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="library_books"
|
||||
[title]="'APP.BROWSE.LIBRARIES.EMPTY_STATE.FILE_LIBRARIES.TITLE'"
|
||||
subtitle="APP.BROWSE.LIBRARIES.EMPTY_STATE.FILE_LIBRARIES.TEXT"
|
||||
>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -24,16 +24,14 @@
|
||||
(node-dblclick)="onNodeDoubleClick($event.detail?.node)"
|
||||
(name-click)="onNodeDoubleClick($event.detail?.node)"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="access_time"
|
||||
[title]="'APP.BROWSE.RECENT.EMPTY_STATE.TITLE'"
|
||||
subtitle="APP.BROWSE.RECENT.EMPTY_STATE.TEXT"
|
||||
>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -99,8 +99,7 @@
|
||||
</ng-container>
|
||||
</data-columns>
|
||||
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<ng-container *ngIf="data">
|
||||
<div class="empty-search__block">
|
||||
<p class="empty-search__text">
|
||||
@@ -108,8 +107,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
</adf-document-list>
|
||||
|
||||
<adf-pagination
|
||||
|
@@ -87,8 +87,7 @@
|
||||
</data-column>
|
||||
</data-columns>
|
||||
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<ng-container *ngIf="data">
|
||||
<div class="empty-search__block">
|
||||
<p class="empty-search__text">
|
||||
@@ -96,8 +95,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
</adf-document-list>
|
||||
|
||||
<adf-pagination
|
||||
|
@@ -22,16 +22,14 @@
|
||||
(node-dblclick)="showPreview($event.detail?.node)"
|
||||
(name-click)="showPreview($event.detail?.node)"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="people"
|
||||
[title]="'APP.BROWSE.SHARED.EMPTY_STATE.TITLE'"
|
||||
subtitle="APP.BROWSE.SHARED.EMPTY_STATE.TEXT"
|
||||
>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -22,8 +22,7 @@
|
||||
[imageResolver]="imageResolver"
|
||||
[sorting]="['archivedAt', 'desc']"
|
||||
>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-custom-empty-content-template>
|
||||
<adf-empty-content
|
||||
icon="delete"
|
||||
[title]="'APP.BROWSE.TRASHCAN.EMPTY_STATE.TITLE'"
|
||||
@@ -35,8 +34,7 @@
|
||||
{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.SECOND_TEXT' | translate }}
|
||||
</p>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-custom-empty-content-template>
|
||||
|
||||
<data-columns>
|
||||
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
||||
|
@@ -87,7 +87,7 @@ export class ContentApiService {
|
||||
};
|
||||
const queryOptions = Object.assign(defaults, options || {});
|
||||
|
||||
return from((<any>this.api.nodesApi).getNodeInfo(nodeId, queryOptions));
|
||||
return from(this.api.nodesApi.getNodeInfo(nodeId, queryOptions));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -25,7 +25,6 @@
|
||||
@import './overrides/adf-upload-drag-area.theme';
|
||||
@import './overrides/adf-search-sorting-picker.theme';
|
||||
@import './overrides/adf-content-node-selector.theme';
|
||||
@import './overrides/adf-layout-header.theme';
|
||||
@import './overrides/adf-version-manager.theme';
|
||||
|
||||
@import 'snackbar';
|
||||
@@ -81,7 +80,6 @@ $custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent);
|
||||
@include adf-upload-drag-area-theme($theme);
|
||||
@include adf-search-sorting-picker-theme($theme);
|
||||
@include adf-content-node-selector-theme($theme);
|
||||
@include adf-layout-header-theme($theme);
|
||||
@include adf-version-manager-theme($theme);
|
||||
|
||||
@include layout-theme($theme);
|
||||
|
@@ -1,36 +0,0 @@
|
||||
@mixin adf-layout-header-theme($theme) {
|
||||
$background: map-get($theme, background);
|
||||
|
||||
.adf-layout-header {
|
||||
.mat-toolbar-single-row {
|
||||
color: #ffffff !important;
|
||||
|
||||
.adf-app-logo {
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
margin-top: -3px;
|
||||
}
|
||||
.adf-app-title {
|
||||
letter-spacing: -0.3px;
|
||||
font-weight: 100;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mat-icon-button {
|
||||
margin-right: 0;
|
||||
|
||||
.mat-icon {
|
||||
font-size: 29px;
|
||||
padding: 0 5px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.adf-toolbar-divider {
|
||||
margin: 0 5px;
|
||||
|
||||
& > div {
|
||||
background-color: mat-color($background, card, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -16,7 +16,7 @@ $alfresco-app-color--default: #00bcd4;
|
||||
adf-upload-drag-area {
|
||||
@include flex-column;
|
||||
|
||||
.upload-border {
|
||||
.adf-upload-border {
|
||||
@include flex-column;
|
||||
|
||||
vertical-align: unset;
|
||||
@@ -27,18 +27,18 @@ $alfresco-app-color--default: #00bcd4;
|
||||
adf-upload-drag-area:first-child {
|
||||
& > div {
|
||||
adf-upload-drag-area {
|
||||
.file-draggable__input-focus {
|
||||
.adf-file-draggable__input-focus {
|
||||
@include file-draggable__input-focus($theme);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.upload-border {
|
||||
.adf-upload-border {
|
||||
vertical-align: inherit !important;
|
||||
text-align: inherit !important;
|
||||
}
|
||||
|
||||
.file-draggable__input-focus {
|
||||
.adf-file-draggable__input-focus {
|
||||
color: none !important;
|
||||
border: none !important;
|
||||
margin-left: 0 !important;
|
||||
@@ -52,7 +52,7 @@ $alfresco-app-color--default: #00bcd4;
|
||||
}
|
||||
|
||||
adf-upload-drag-area {
|
||||
.file-draggable__input-focus {
|
||||
.adf-file-draggable__input-focus {
|
||||
adf-document-list {
|
||||
background: #e0f7fa;
|
||||
|
||||
|
Reference in New Issue
Block a user