@alfresco/adf-core 8.1.0-16877609768 → 8.1.1
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-core/i18n/de.json +13 -1
- package/bundles/assets/adf-core/i18n/en.json +13 -1
- package/bundles/assets/adf-core/i18n/es.json +13 -1
- package/bundles/assets/adf-core/i18n/fr.json +13 -1
- package/bundles/assets/adf-core/i18n/it.json +13 -1
- package/bundles/assets/adf-core/i18n/pl.json +14 -2
- package/bundles/assets/adf-core/i18n/pt.json +13 -1
- package/feature-flags/lib/components/flags/flags.component.d.ts +2 -2
- package/fesm2022/adf-core.mjs +666 -1926
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/app-config/public-api.d.ts +0 -2
- package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +13 -0
- package/lib/auth/interfaces/authentication-service.interface.d.ts +9 -4
- package/lib/auth/oidc/auth.module.d.ts +10 -13
- package/lib/{mock/form/form-definition-visibility.mock.d.ts → auth/oidc/auth.routes.d.ts} +2 -2
- package/lib/auth/oidc/oidc-authentication.service.d.ts +15 -5
- package/lib/auth/oidc/public-api.d.ts +0 -1
- package/lib/auth/services/authentication.service.d.ts +12 -2
- package/lib/auth/services/base-authentication.service.d.ts +5 -1
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +4 -0
- package/lib/core.module.d.ts +11 -0
- package/lib/datatable/components/datatable/datatable.component.scss +2 -1
- package/lib/form/components/form-base.component.d.ts +19 -7
- package/lib/form/components/form-renderer.component.scss +27 -9
- package/lib/form/components/form-section/form-section.component.scss +23 -1
- package/lib/form/components/widgets/amount/amount.widget.scss +1 -10
- package/lib/form/components/widgets/core/form-outcome.model.d.ts +3 -3
- package/lib/form/components/widgets/core/form.model.d.ts +4 -4
- package/lib/form/components/widgets/date-time/date-time.widget.scss +1 -2
- package/lib/form/components/widgets/display-text/display-text.widget.scss +2 -0
- package/lib/form/components/widgets/text/text-mask.component.d.ts +1 -0
- package/lib/{mock/form/form.component.mock.d.ts → landing-page/index.d.ts} +1 -1
- package/lib/landing-page/provider.d.ts +24 -0
- package/lib/{mock/form/form-definition-readonly.mock.d.ts → landing-page/public-api.d.ts} +1 -1
- package/lib/mock/data-column.mock.d.ts +0 -2
- package/lib/mock/form/widget-visibility.service.mock.d.ts +0 -5
- package/lib/mock/public-api.d.ts +0 -4
- package/lib/{mock/form/form-definition.mock.d.ts → testing/app-config-testing.d.ts} +8 -3
- package/lib/testing/index.d.ts +1 -1
- package/lib/testing/noop-auth.module.d.ts +31 -4
- package/lib/testing/unit-testing-utils.d.ts +1 -10
- package/lib/translation/provide-i18n.d.ts +1 -1
- package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +2 -2
- package/lib/viewer/components/viewer.component.d.ts +6 -3
- package/lib/viewer/components/viewer.component.scss +12 -0
- package/lib/viewer/services/rendering-queue.services.d.ts +2 -2
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
- package/lib/app-config/app-config.module.d.ts +0 -8
- package/lib/app-config/debug-app-config.service.d.ts +0 -10
- package/lib/auth/oidc/auth-routing.module.d.ts +0 -6
- package/lib/testing/core.testing.module.d.ts +0 -11
|
@@ -94,7 +94,7 @@ export declare class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges
|
|
|
94
94
|
viewerExtensions: TemplateRef<any>;
|
|
95
95
|
/** Identifier of a node that is opened by the viewer. */
|
|
96
96
|
nodeId: string;
|
|
97
|
-
/** Original node mime type, should be provided when
|
|
97
|
+
/** Original node mime type, should be provided when renditions mime type is different. */
|
|
98
98
|
nodeMimeType: string;
|
|
99
99
|
/** Custom error message to be displayed in the viewer. */
|
|
100
100
|
customError: string;
|
|
@@ -135,10 +135,13 @@ 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;
|
|
143
|
+
/** Override Content title. */
|
|
144
|
+
set title(title: string);
|
|
142
145
|
/** Override Content filename. */
|
|
143
146
|
set fileName(fileName: string);
|
|
144
147
|
get fileName(): 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; }; "title": { "alias": "title"; "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>;
|
|
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;
|
|
@@ -15,10 +15,10 @@ export declare class RenderingQueueServices {
|
|
|
15
15
|
pdfViewer: any;
|
|
16
16
|
pdfThumbnailViewer: any;
|
|
17
17
|
onIdle: any;
|
|
18
|
-
highestPriorityPage:
|
|
18
|
+
highestPriorityPage: string | null;
|
|
19
19
|
idleTimeout: any;
|
|
20
20
|
printing: any;
|
|
21
|
-
isThumbnailViewEnabled:
|
|
21
|
+
isThumbnailViewEnabled: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Set the instance of the PDF Viewer
|
|
24
24
|
*
|
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.
|
|
4
|
+
"version": "8.1.1",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@angular/router": ">=16.0.0",
|
|
64
64
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
65
65
|
"@ngx-translate/core": ">=16.0.0",
|
|
66
|
-
"@alfresco/js-api": ">=9.1.
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.1.
|
|
66
|
+
"@alfresco/js-api": ">=9.1.1",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.1.1",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122",
|
|
70
70
|
"ts-morph": ">=20.0.0"
|
package/public-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './lib/toolbar/index';
|
|
|
23
23
|
export * from './lib/header/index';
|
|
24
24
|
export * from './lib/pagination/index';
|
|
25
25
|
export * from './lib/login/index';
|
|
26
|
+
export * from './lib/landing-page/index';
|
|
26
27
|
export * from './lib/language-menu/index';
|
|
27
28
|
export * from './lib/info-drawer/index';
|
|
28
29
|
export * from './lib/identity-user-info/index';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./app-config.pipe";
|
|
3
|
-
/** @deprecated This module is deprecated, consider importing AppConfigPipe directly */
|
|
4
|
-
export declare class AppConfigModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppConfigModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppConfigModule, never, [typeof i1.AppConfigPipe], [typeof i1.AppConfigPipe]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppConfigModule>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { StorageService } from '../common/services/storage.service';
|
|
2
|
-
import { AppConfigService } from './app-config.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DebugAppConfigService extends AppConfigService {
|
|
5
|
-
private storage;
|
|
6
|
-
constructor(storage: StorageService);
|
|
7
|
-
get<T>(key: string, defaultValue?: T): T;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugAppConfigService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebugAppConfigService>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AuthRoutingModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthRoutingModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthRoutingModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AuthRoutingModule>;
|
|
6
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/platform-browser/animations";
|
|
3
|
-
import * as i2 from "../core.module";
|
|
4
|
-
import * as i3 from "./noop-translate.module";
|
|
5
|
-
import * as i4 from "./noop-auth.module";
|
|
6
|
-
/** @deprecated this module is deprecated and will be removed in the future */
|
|
7
|
-
export declare class CoreTestingModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CoreTestingModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreTestingModule, never, [typeof i1.NoopAnimationsModule, typeof i2.CoreModule, typeof i3.NoopTranslateModule, typeof i4.NoopAuthModule], never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CoreTestingModule>;
|
|
11
|
-
}
|