@alfresco/adf-core 8.1.0-16342534841 → 8.1.0-16344390102
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/esm2022/lib/app-config/app-config.module.mjs +1 -1
- package/esm2022/lib/app-config/public-api.mjs +1 -2
- package/esm2022/lib/core.module.mjs +164 -146
- package/esm2022/lib/form/components/form-renderer.component.mjs +3 -3
- package/esm2022/lib/form/components/widgets/base-viewer/base-viewer.widget.mjs +2 -2
- package/esm2022/lib/form/form-base.module.mjs +18 -3
- package/esm2022/lib/testing/core.testing.module.mjs +1 -2
- package/esm2022/lib/testing/noop-translate.module.mjs +8 -22
- package/esm2022/lib/translation/translate-loader.service.mjs +2 -7
- package/esm2022/lib/viewer/components/viewer.component.mjs +16 -10
- package/esm2022/shell/index.mjs +1 -2
- package/esm2022/shell/lib/shell.module.mjs +12 -8
- package/esm2022/shell/lib/shell.routes.mjs +1 -26
- package/fesm2022/adf-core.mjs +133 -161
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs +11 -32
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/app-config/app-config.module.d.ts +0 -1
- package/lib/app-config/public-api.d.ts +0 -1
- package/lib/core.module.d.ts +128 -124
- package/lib/form/components/form-renderer.component.scss +5 -4
- package/lib/form/form-base.module.d.ts +0 -1
- package/lib/testing/core.testing.module.d.ts +0 -1
- package/lib/testing/noop-translate.module.d.ts +2 -1
- package/lib/viewer/components/viewer.component.d.ts +5 -2
- package/lib/viewer/components/viewer.component.scss +12 -0
- package/package.json +3 -3
- package/shell/README.md +6 -10
- package/shell/index.d.ts +0 -1
- package/shell/lib/shell.module.d.ts +7 -4
- package/shell/lib/shell.routes.d.ts +1 -13
- package/esm2022/lib/app-config/provide-app-config.mjs +0 -44
- package/lib/app-config/provide-app-config.d.ts +0 -23
|
@@ -3,7 +3,6 @@ import * as i1 from "@angular/platform-browser/animations";
|
|
|
3
3
|
import * as i2 from "../core.module";
|
|
4
4
|
import * as i3 from "./noop-translate.module";
|
|
5
5
|
import * as i4 from "./noop-auth.module";
|
|
6
|
-
/** @deprecated this module is deprecated and will be removed in the future */
|
|
7
6
|
export declare class CoreTestingModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreTestingModule, never>;
|
|
9
8
|
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreTestingModule, never, [typeof i1.NoopAnimationsModule, typeof i2.CoreModule, typeof i3.NoopTranslateModule, typeof i4.NoopAuthModule], never>;
|
|
@@ -2,6 +2,7 @@ import { TranslationService } from '../translation/translation.service';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common/http/testing";
|
|
5
|
+
import * as i2 from "@ngx-translate/core";
|
|
5
6
|
export declare class NoopTranslationService implements TranslationService {
|
|
6
7
|
defaultLang: string;
|
|
7
8
|
userLang: string;
|
|
@@ -18,6 +19,6 @@ export declare class NoopTranslationService implements TranslationService {
|
|
|
18
19
|
}
|
|
19
20
|
export declare class NoopTranslateModule {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoopTranslateModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NoopTranslateModule, never, [typeof i1.HttpClientTestingModule],
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NoopTranslateModule, never, [typeof i1.HttpClientTestingModule, typeof i2.TranslateModule], [typeof i2.TranslateModule]>;
|
|
22
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<NoopTranslateModule>;
|
|
23
24
|
}
|
|
@@ -135,12 +135,15 @@ export declare class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges
|
|
|
135
135
|
private _fileNameWithoutExtension;
|
|
136
136
|
private _fileExtension;
|
|
137
137
|
displayName: string;
|
|
138
|
+
displayTitle: string;
|
|
138
139
|
downloadPromptTimer: number;
|
|
139
140
|
downloadPromptReminderTimer: number;
|
|
140
141
|
mimeTypeIconUrl: string;
|
|
141
142
|
private readonly destroyRef;
|
|
142
143
|
/** Override Content filename. */
|
|
143
144
|
set fileName(fileName: string);
|
|
145
|
+
/** Override Content title. */
|
|
146
|
+
set title(title: string);
|
|
144
147
|
get fileName(): string;
|
|
145
148
|
get fileExtension(): string;
|
|
146
149
|
get fileNameWithoutExtension(): string;
|
|
@@ -163,7 +166,7 @@ export declare class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges
|
|
|
163
166
|
enterFullScreen(): void;
|
|
164
167
|
onSubmitFile(newImageBlob: Blob): void;
|
|
165
168
|
ngOnDestroy(): void;
|
|
166
|
-
|
|
169
|
+
getDisplayTruncatedValue(value: string): string;
|
|
167
170
|
private configureAndInitDownloadPrompt;
|
|
168
171
|
private configureDownloadPromptProperties;
|
|
169
172
|
private initDownloadPrompt;
|
|
@@ -172,5 +175,5 @@ export declare class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges
|
|
|
172
175
|
private showDownloadPrompt;
|
|
173
176
|
private resetLoadingSpinner;
|
|
174
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerComponent<any>, never>;
|
|
175
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewerComponent<any>, "adf-viewer", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "showViewer": { "alias": "showViewer"; "required": false; }; "allowGoBack": { "alias": "allowGoBack"; "required": false; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "overlayMode": { "alias": "overlayMode"; "required": false; }; "allowNavigate": { "alias": "allowNavigate"; "required": false; }; "canNavigateBefore": { "alias": "canNavigateBefore"; "required": false; }; "canNavigateNext": { "alias": "canNavigateNext"; "required": false; }; "allowLeftSidebar": { "alias": "allowLeftSidebar"; "required": false; }; "allowRightSidebar": { "alias": "allowRightSidebar"; "required": false; }; "showRightSidebar": { "alias": "showRightSidebar"; "required": false; }; "showLeftSidebar": { "alias": "showLeftSidebar"; "required": false; }; "sidebarRightTemplate": { "alias": "sidebarRightTemplate"; "required": false; }; "sidebarLeftTemplate": { "alias": "sidebarLeftTemplate"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "tracks": { "alias": "tracks"; "required": false; }; "mimeType": { "alias": "mimeType"; "required": false; }; "sidebarRightTemplateContext": { "alias": "sidebarRightTemplateContext"; "required": false; }; "sidebarLeftTemplateContext": { "alias": "sidebarLeftTemplateContext"; "required": false; }; "closeButtonPosition": { "alias": "closeButtonPosition"; "required": false; }; "hideInfoButton": { "alias": "hideInfoButton"; "required": false; }; "viewerExtensions": { "alias": "viewerExtensions"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "nodeMimeType": { "alias": "nodeMimeType"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; "showToolbarDividers": { "alias": "showToolbarDividers"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; }, { "downloadFile": "downloadFile"; "navigateBefore": "navigateBefore"; "navigateNext": "navigateNext"; "showViewerChange": "showViewerChange"; "submitFile": "submitFile"; }, ["toolbar", "sidebar", "mnuOpenWith", "mnuMoreActions", "viewerTemplateExtensions"], ["adf-viewer-toolbar", "adf-viewer-toolbar-actions", "adf-viewer-open-with", "adf-viewer-toolbar-custom-actions", "adf-viewer-more-actions", "adf-viewer-sidebar", "adf-viewer-sidebar"], true, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewerComponent<any>, "adf-viewer", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "showViewer": { "alias": "showViewer"; "required": false; }; "allowGoBack": { "alias": "allowGoBack"; "required": false; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "overlayMode": { "alias": "overlayMode"; "required": false; }; "allowNavigate": { "alias": "allowNavigate"; "required": false; }; "canNavigateBefore": { "alias": "canNavigateBefore"; "required": false; }; "canNavigateNext": { "alias": "canNavigateNext"; "required": false; }; "allowLeftSidebar": { "alias": "allowLeftSidebar"; "required": false; }; "allowRightSidebar": { "alias": "allowRightSidebar"; "required": false; }; "showRightSidebar": { "alias": "showRightSidebar"; "required": false; }; "showLeftSidebar": { "alias": "showLeftSidebar"; "required": false; }; "sidebarRightTemplate": { "alias": "sidebarRightTemplate"; "required": false; }; "sidebarLeftTemplate": { "alias": "sidebarLeftTemplate"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "tracks": { "alias": "tracks"; "required": false; }; "mimeType": { "alias": "mimeType"; "required": false; }; "sidebarRightTemplateContext": { "alias": "sidebarRightTemplateContext"; "required": false; }; "sidebarLeftTemplateContext": { "alias": "sidebarLeftTemplateContext"; "required": false; }; "closeButtonPosition": { "alias": "closeButtonPosition"; "required": false; }; "hideInfoButton": { "alias": "hideInfoButton"; "required": false; }; "viewerExtensions": { "alias": "viewerExtensions"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "nodeMimeType": { "alias": "nodeMimeType"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; "showToolbarDividers": { "alias": "showToolbarDividers"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "downloadFile": "downloadFile"; "navigateBefore": "navigateBefore"; "navigateNext": "navigateNext"; "showViewerChange": "showViewerChange"; "submitFile": "submitFile"; }, ["toolbar", "sidebar", "mnuOpenWith", "mnuMoreActions", "viewerTemplateExtensions"], ["adf-viewer-toolbar", "adf-viewer-toolbar-actions", "adf-viewer-open-with", "adf-viewer-toolbar-custom-actions", "adf-viewer-more-actions", "adf-viewer-sidebar", "adf-viewer-sidebar"], true, never>;
|
|
176
179
|
}
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
&__title-display-name-container,
|
|
56
57
|
&__display-name {
|
|
57
58
|
font-size: var(--theme-subheading-2-font-size);
|
|
58
59
|
line-height: 1.5;
|
|
@@ -61,6 +62,17 @@
|
|
|
61
62
|
white-space: nowrap;
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
&__display-name-value,
|
|
66
|
+
&__title-value {
|
|
67
|
+
margin-top: 0;
|
|
68
|
+
margin-bottom: 0;
|
|
69
|
+
text-align: left;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__display-name-value {
|
|
73
|
+
font-size: var(--theme-body-1-font-size);
|
|
74
|
+
}
|
|
75
|
+
|
|
64
76
|
&-container {
|
|
65
77
|
.adf-viewer-layout-content {
|
|
66
78
|
@extend .adf-full-screen;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "8.1.0-
|
|
4
|
+
"version": "8.1.0-16344390102",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@angular/router": ">=16.0.0",
|
|
76
76
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
77
77
|
"@ngx-translate/core": ">=16.0.0",
|
|
78
|
-
"@alfresco/js-api": ">=9.1.0-
|
|
79
|
-
"@alfresco/adf-extensions": ">=8.1.0-
|
|
78
|
+
"@alfresco/js-api": ">=9.1.0-16344390102",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-16344390102",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|
package/shell/README.md
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
# @alfresco/adf-core/shell
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
This module provides the main layout for the application, allowing you to define routes and guards for your application shell.
|
|
3
|
+
Secondary entry point of `@alfresco/adf-core`. It can be used by importing from `@alfresco/adf-core/shell`.
|
|
6
4
|
|
|
7
5
|
# Shell
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
[ShellModule](./src/lib/shell.module.ts) is designated as a main layout for the application.
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
import { provideShellRoutes } from '@alfresco/adf-core/shell';
|
|
9
|
+
I order to attach routes to appShell, `withRoutes(routes: Routes | AppShellRoutesConfig)` method should be used.
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
```
|
|
11
|
+
Passed routes are going to be attached to [shell main route](./src/lib/shell.routes.ts)
|
|
16
12
|
|
|
17
|
-
If you would like to provide custom app guard, you can provide your own using
|
|
13
|
+
If you would like to provide custom app guard, you can provide your own using [SHELL_AUTH_TOKEN](./src/lib/shell.routes.ts)
|
|
18
14
|
|
|
19
15
|
## Shell Service
|
|
20
16
|
|
|
21
|
-
In order to use `shell`, you need to provide
|
|
17
|
+
In order to use `shell`, you need to provide [SHELL_APP_SERVICE](./src/lib/services/shell-app.service.ts) which provides necessary options for shell component to work.
|
package/shell/index.d.ts
CHANGED
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { ModuleWithProviders } from '@angular/core';
|
|
18
|
-
import { Routes } from '@angular/router';
|
|
19
|
-
import { AppShellRoutesConfig } from './shell.routes';
|
|
18
|
+
import { Routes, Route } from '@angular/router';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
|
-
|
|
20
|
+
import * as i1 from "./components/shell/shell.component";
|
|
21
|
+
export interface AppShellRoutesConfig {
|
|
22
|
+
shellParentRoute?: Route;
|
|
23
|
+
shellChildren: Routes;
|
|
24
|
+
}
|
|
22
25
|
export declare class ShellModule {
|
|
23
26
|
static withRoutes(routes: Routes | AppShellRoutesConfig): ModuleWithProviders<ShellModule>;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ShellModule, never,
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShellModule, never, [typeof i1.ShellLayoutComponent], [typeof i1.ShellLayoutComponent]>;
|
|
26
29
|
static ɵinj: i0.ɵɵInjectorDeclaration<ShellModule>;
|
|
27
30
|
}
|
|
@@ -14,17 +14,5 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Route
|
|
18
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
17
|
+
import { Route } from '@angular/router';
|
|
19
18
|
export declare const SHELL_LAYOUT_ROUTE: Route;
|
|
20
|
-
export interface AppShellRoutesConfig {
|
|
21
|
-
shellParentRoute?: Route;
|
|
22
|
-
shellChildren: Routes;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Provides shell routes for the application.
|
|
26
|
-
*
|
|
27
|
-
* @param routes The routes configuration for the shell.
|
|
28
|
-
* @returns An array of providers for the shell routes.
|
|
29
|
-
*/
|
|
30
|
-
export declare function provideShellRoutes(routes: Routes | AppShellRoutesConfig): EnvironmentProviders[];
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { inject, APP_INITIALIZER } from '@angular/core';
|
|
18
|
-
import { StoragePrefixFactory } from './app-config-storage-prefix.factory';
|
|
19
|
-
import { loadAppConfig } from './app-config.loader';
|
|
20
|
-
import { AppConfigService } from './app-config.service';
|
|
21
|
-
import { StorageService } from '../common';
|
|
22
|
-
import { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
23
|
-
/**
|
|
24
|
-
* Provides the application configuration for the application.
|
|
25
|
-
*
|
|
26
|
-
* @returns An array of providers to initialize the application configuration.
|
|
27
|
-
*/
|
|
28
|
-
export function provideAppConfig() {
|
|
29
|
-
return [
|
|
30
|
-
StoragePrefixFactory,
|
|
31
|
-
{
|
|
32
|
-
provide: APP_INITIALIZER,
|
|
33
|
-
useFactory: () => {
|
|
34
|
-
const appConfigService = inject(AppConfigService);
|
|
35
|
-
const storageService = inject(StorageService);
|
|
36
|
-
const httpClient = inject(AdfHttpClient);
|
|
37
|
-
const prefixFactory = inject(StoragePrefixFactory);
|
|
38
|
-
return () => loadAppConfig(appConfigService, storageService, httpClient, prefixFactory)();
|
|
39
|
-
},
|
|
40
|
-
multi: true
|
|
41
|
-
}
|
|
42
|
-
];
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZS1hcHAtY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGliL2NvcmUvc3JjL2xpYi9hcHAtY29uZmlnL3Byb3ZpZGUtYXBwLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFFSCxPQ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HJldHVybiAoKSA9PiBsb2FkQXBwQ29uZmlnKGFwcENvbmZpZ1NlcnZpY2UsIHN0b3JhZ2VTZXJ2aWNlLCBodHRwQ2xpZW50LCBwcmVmaXhGYWN0b3J5KSgpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIG11bHRpOiB0cnVlXG4gICAgICAgIH1cbiAgICBdO1xufVxuIl19
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { Provider } from '@angular/core';
|
|
18
|
-
/**
|
|
19
|
-
* Provides the application configuration for the application.
|
|
20
|
-
*
|
|
21
|
-
* @returns An array of providers to initialize the application configuration.
|
|
22
|
-
*/
|
|
23
|
-
export declare function provideAppConfig(): Provider[];
|