@alfresco/adf-core 8.1.0-15538616820 → 8.1.0-15578727966
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/viewer/components/txt-viewer/txt-viewer.component.mjs +12 -4
- package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +11 -12
- package/fesm2022/adf-core.mjs +20 -13
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -2
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +0 -2
- package/package.json +3 -3
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { HttpClient } from '@angular/common/http';
|
|
18
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
18
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
19
19
|
import { AppConfigService } from '../../../app-config';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export declare class TxtViewerComponent implements OnChanges {
|
|
@@ -23,11 +23,12 @@ export declare class TxtViewerComponent implements OnChanges {
|
|
|
23
23
|
private appConfigService;
|
|
24
24
|
urlFile: any;
|
|
25
25
|
blobFile: Blob;
|
|
26
|
+
contentLoaded: EventEmitter<void>;
|
|
26
27
|
content: string | ArrayBuffer;
|
|
27
28
|
constructor(http: HttpClient, appConfigService: AppConfigService);
|
|
28
29
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
29
30
|
private getUrlContent;
|
|
30
31
|
private readBlob;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxtViewerComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TxtViewerComponent, "adf-txt-viewer", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxtViewerComponent, "adf-txt-viewer", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; }, { "contentLoaded": "contentLoaded"; }, never, never, true, never>;
|
|
33
34
|
}
|
|
@@ -103,8 +103,6 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
103
103
|
onSubmitFile(newImageBlob: Blob): void;
|
|
104
104
|
onUnsupportedFile(): void;
|
|
105
105
|
onClose(): void;
|
|
106
|
-
private canBePreviewed;
|
|
107
|
-
private setDefaultLoadingState;
|
|
108
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerRenderComponent, never>;
|
|
109
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<ViewerRenderComponent, "adf-viewer-render", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; }; "allowThumbnails": { "alias": "allowThumbnails"; "required": false; }; "thumbnailsTemplate": { "alias": "thumbnailsTemplate"; "required": false; }; "mimeType": { "alias": "mimeType"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "tracks": { "alias": "tracks"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "viewerTemplateExtensions": { "alias": "viewerTemplateExtensions"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; }, { "extensionChange": "extensionChange"; "submitFile": "submitFile"; "close": "close"; "isSaving": "isSaving"; }, never, never, true, never>;
|
|
110
108
|
}
|
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-15578727966",
|
|
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": ">=14.0.0",
|
|
78
|
-
"@alfresco/js-api": ">=9.1.0-
|
|
79
|
-
"@alfresco/adf-extensions": ">=8.1.0-
|
|
78
|
+
"@alfresco/js-api": ">=9.1.0-15578727966",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-15578727966",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|