@alfresco/aca-shared 4.0.0-A.3.3069 → 4.0.0-A.3.3074
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/esm2020/lib/components/document-base-page/document-base-page.component.mjs +8 -6
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +2 -2
- package/esm2020/lib/routing/shared.guard.mjs +1 -1
- package/esm2020/lib/services/app.extension.service.mjs +7 -15
- package/esm2020/lib/services/app.service.mjs +18 -21
- package/esm2020/lib/services/content-api.service.mjs +1 -1
- package/esm2020/lib/utils/node.utils.mjs +15 -6
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/alfresco-aca-shared.mjs +49 -86
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared.mjs +45 -86
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
- package/lib/routing/shared.guard.d.ts +2 -2
- package/lib/services/app.service.d.ts +2 -29
- package/lib/services/content-api.service.d.ts +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2020/lib/testing/translation.service.mjs +0 -45
- package/lib/testing/translation.service.d.ts +0 -10
|
@@ -6,8 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class AppSharedRuleGuard implements CanActivate {
|
|
7
7
|
isQuickShareEnabled$: Observable<boolean>;
|
|
8
8
|
constructor(store: Store<AppStore>);
|
|
9
|
-
canActivate(_: ActivatedRouteSnapshot): Observable<boolean
|
|
10
|
-
canActivateChild(route: ActivatedRouteSnapshot): Observable<boolean
|
|
9
|
+
canActivate(_: ActivatedRouteSnapshot): Observable<boolean>;
|
|
10
|
+
canActivateChild(route: ActivatedRouteSnapshot): Observable<boolean>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppSharedRuleGuard, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<AppSharedRuleGuard>;
|
|
13
13
|
}
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
import { OnDestroy } from '@angular/core';
|
|
26
1
|
import { AuthenticationService, AppConfigService, AlfrescoApiService, PageTitleService, UserPreferencesService } from '@alfresco/adf-core';
|
|
27
|
-
import { Observable
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
28
3
|
import { GroupService, SearchQueryBuilderService, SharedLinksApiService, UploadService, FileUploadErrorEvent } from '@alfresco/adf-content-services';
|
|
29
4
|
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
30
5
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
@@ -34,7 +9,7 @@ import { RouterExtensionService } from './router.extension.service';
|
|
|
34
9
|
import { Store } from '@ngrx/store';
|
|
35
10
|
import { AcaMobileAppSwitcherService } from './aca-mobile-app-switcher.service';
|
|
36
11
|
import * as i0 from "@angular/core";
|
|
37
|
-
export declare class AppService
|
|
12
|
+
export declare class AppService {
|
|
38
13
|
preferencesService: UserPreferencesService;
|
|
39
14
|
private authenticationService;
|
|
40
15
|
private store;
|
|
@@ -56,14 +31,12 @@ export declare class AppService implements OnDestroy {
|
|
|
56
31
|
pageHeading$: Observable<string>;
|
|
57
32
|
hideSidenavConditions: string[];
|
|
58
33
|
minimizeSidenavConditions: string[];
|
|
59
|
-
onDestroy$: Subject<boolean>;
|
|
60
34
|
/**
|
|
61
35
|
* Whether `withCredentials` mode is enabled.
|
|
62
36
|
* Usually means that `Kerberos` mode is used.
|
|
63
37
|
*/
|
|
64
38
|
get withCredentials(): boolean;
|
|
65
39
|
constructor(preferencesService: UserPreferencesService, authenticationService: AuthenticationService, store: Store<AppStore>, router: Router, activatedRoute: ActivatedRoute, config: AppConfigService, pageTitle: PageTitleService, alfrescoApiService: AlfrescoApiService, uploadService: UploadService, routerExtensionService: RouterExtensionService, contentApi: ContentApiService, sharedLinksApiService: SharedLinksApiService, groupService: GroupService, overlayContainer: OverlayContainer, initialAppState: AppState, searchQueryBuilderService: SearchQueryBuilderService, acaMobileAppSwitcherService: AcaMobileAppSwitcherService);
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
40
|
init(): void;
|
|
68
41
|
private loadRepositoryStatus;
|
|
69
42
|
private loadUserProfile;
|
|
@@ -5,25 +5,25 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class ContentApiService {
|
|
6
6
|
private api;
|
|
7
7
|
private preferences;
|
|
8
|
-
_nodesApi
|
|
8
|
+
private _nodesApi;
|
|
9
9
|
get nodesApi(): NodesApi;
|
|
10
|
-
_trashcanApi
|
|
10
|
+
private _trashcanApi;
|
|
11
11
|
get trashcanApi(): TrashcanApi;
|
|
12
|
-
_sharedLinksApi
|
|
12
|
+
private _sharedLinksApi;
|
|
13
13
|
get sharedLinksApi(): SharedlinksApi;
|
|
14
|
-
_discoveryApi
|
|
14
|
+
private _discoveryApi;
|
|
15
15
|
get discoveryApi(): DiscoveryApi;
|
|
16
|
-
_favoritesApi
|
|
16
|
+
private _favoritesApi;
|
|
17
17
|
get favoritesApi(): FavoritesApi;
|
|
18
|
-
_contentApi
|
|
18
|
+
private _contentApi;
|
|
19
19
|
get contentApi(): ContentApi;
|
|
20
|
-
_sitesApi
|
|
20
|
+
private _sitesApi;
|
|
21
21
|
get sitesApi(): SitesApi;
|
|
22
|
-
_searchApi
|
|
22
|
+
private _searchApi;
|
|
23
23
|
get searchApi(): SearchApi;
|
|
24
|
-
_peopleApi
|
|
24
|
+
private _peopleApi;
|
|
25
25
|
get peopleApi(): PeopleApi;
|
|
26
|
-
_versionsApi
|
|
26
|
+
private _versionsApi;
|
|
27
27
|
get versionsApi(): VersionsApi;
|
|
28
28
|
constructor(api: AlfrescoApiService, preferences: UserPreferencesService);
|
|
29
29
|
/**
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
import { Injectable } from '@angular/core';
|
|
26
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
27
|
-
import { of } from 'rxjs';
|
|
28
|
-
import * as i0 from "@angular/core";
|
|
29
|
-
export class TranslateServiceMock extends TranslateService {
|
|
30
|
-
constructor() {
|
|
31
|
-
super(null, null, null, null, null, null, true, null, null);
|
|
32
|
-
}
|
|
33
|
-
get(key) {
|
|
34
|
-
return of(key);
|
|
35
|
-
}
|
|
36
|
-
instant(key) {
|
|
37
|
-
return key;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
TranslateServiceMock.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TranslateServiceMock, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
-
TranslateServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TranslateServiceMock });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TranslateServiceMock, decorators: [{
|
|
43
|
-
type: Injectable
|
|
44
|
-
}], ctorParameters: function () { return []; } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1zaGFyZWQvc3JjL2xpYi90ZXN0aW5nL3RyYW5zbGF0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Oz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RoIEFsZnJlc2NvLiBJZiBub3QsIHNlZSA8aHR0cDovL3d3dy5nbnUub3JnL2xpY2Vuc2VzLz4uXG4gKi9cblxuaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgVHJhbnNsYXRlU2VydmljZSB9IGZyb20gJ0BuZ3gtdHJhbnNsYXRlL2NvcmUnO1xuaW1wb3J0IHsgT2JzZXJ2YWJsZSwgb2YgfSBmcm9tICdyeGpzJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIFRyYW5zbGF0ZVNlcnZpY2VNb2NrIGV4dGVuZHMgVHJhbnNsYXRlU2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKG51bGwsIG51bGwsIG51bGwsIG51bGwsIG51bGwsIG51bGwsIHRydWUsIG51bGwsIG51bGwpO1xuICB9XG5cbiAgZ2V0KGtleTogc3RyaW5nIHwgQXJyYXk8c3RyaW5nPik6IE9ic2VydmFibGU8c3RyaW5nIHwgYW55PiB7XG4gICAgcmV0dXJuIG9mKGtleSk7XG4gIH1cblxuICBpbnN0YW50KGtleTogc3RyaW5nIHwgQXJyYXk8c3RyaW5nPik6IHN0cmluZyB8IGFueSB7XG4gICAgcmV0dXJuIGtleTtcbiAgfVxufVxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TranslateServiceMock extends TranslateService {
|
|
5
|
-
constructor();
|
|
6
|
-
get(key: string | Array<string>): Observable<string | any>;
|
|
7
|
-
instant(key: string | Array<string>): string | any;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateServiceMock, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateServiceMock>;
|
|
10
|
-
}
|