@alfresco/adf-core 8.1.0-15005290313 → 8.1.0-15019962244
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/pl.json +1 -1
- package/esm2022/lib/form/components/form-field/form-field.component.mjs +5 -2
- package/esm2022/lib/form/components/form-renderer.component.mjs +3 -3
- package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +5 -9
- package/fesm2022/adf-core.mjs +10 -11
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/form/components/form-field/form-field.component.d.ts +3 -2
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +1 -4
- package/package.json +3 -3
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
17
|
+
import { ComponentRef, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
18
18
|
import { FormFieldModel } from '../widgets/core/form-field.model';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class FormFieldComponent implements OnInit, OnDestroy {
|
|
20
|
+
export declare class FormFieldComponent implements OnInit, OnDestroy, OnChanges {
|
|
21
21
|
container: ViewContainerRef;
|
|
22
22
|
/**
|
|
23
23
|
* Contains all the necessary data needed to determine what UI Widget
|
|
@@ -33,6 +33,7 @@ export declare class FormFieldComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
private readonly destroyRef;
|
|
34
34
|
private readonly compiler;
|
|
35
35
|
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
37
|
private updateReactiveFormControlOnFormRulesEvent;
|
|
37
38
|
private triggerFormFieldChanged;
|
|
38
39
|
ngOnDestroy(): void;
|
|
@@ -20,7 +20,6 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
20
20
|
import { Track } from '../../models/viewer.model';
|
|
21
21
|
import { ViewUtilService } from '../../services/view-util.service';
|
|
22
22
|
import * as i0 from "@angular/core";
|
|
23
|
-
type ViewerType = 'media' | 'image' | 'pdf' | 'unknown';
|
|
24
23
|
export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
25
24
|
private viewUtilService;
|
|
26
25
|
private extensionService;
|
|
@@ -78,7 +77,7 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
78
77
|
extensionsSupportedByTemplates: string[];
|
|
79
78
|
extension: string;
|
|
80
79
|
internalFileName: string;
|
|
81
|
-
viewerType:
|
|
80
|
+
viewerType: string;
|
|
82
81
|
isContentReady: boolean;
|
|
83
82
|
/**
|
|
84
83
|
* Returns a list of the active Viewer content extensions.
|
|
@@ -98,7 +97,6 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
98
97
|
constructor(viewUtilService: ViewUtilService, extensionService: AppExtensionService, dialog: MatDialog, injector: Injector);
|
|
99
98
|
ngOnInit(): void;
|
|
100
99
|
ngOnChanges(): void;
|
|
101
|
-
private updateLoadingState;
|
|
102
100
|
private setUpBlobData;
|
|
103
101
|
private setUpUrlFile;
|
|
104
102
|
scrollTop(): void;
|
|
@@ -109,4 +107,3 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
109
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerRenderComponent, never>;
|
|
110
108
|
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; }; "isLoading": { "alias": "isLoading"; "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>;
|
|
111
109
|
}
|
|
112
|
-
export {};
|
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-15019962244",
|
|
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-15019962244",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-15019962244",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|