barsa-sap-ui 1.0.437 → 1.0.438
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/barsa-simple-form/barsa-simple-form.component.mjs +3 -3
- package/esm2020/lib/ui-linear-list-container-with-button/ui-linear-list-container-with-button.component.mjs +3 -3
- package/esm2020/lib/ui-mo-info-ulv-combo/ui-mo-info-ulv-combo.component.mjs +3 -3
- package/esm2020/lib/ui-pdf-viewer/ui-pdf-viewer.component.mjs +41 -10
- package/esm2020/lib/ui-picture-file/ui-picture-file.component.mjs +3 -3
- package/esm2020/lib/ulv-form-multi-select/ulv-form-multi-select.component.mjs +2 -2
- package/fesm2015/barsa-sap-ui.mjs +52 -25
- package/fesm2015/barsa-sap-ui.mjs.map +1 -1
- package/fesm2020/barsa-sap-ui.mjs +51 -25
- package/fesm2020/barsa-sap-ui.mjs.map +1 -1
- package/lib/ui-pdf-viewer/ui-pdf-viewer.component.d.ts +16 -3
- package/package.json +1 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ContentDensity } from '@fundamental-ngx/core';
|
|
5
|
-
import { FilesValidationHelper, IUploadingState } from 'barsa-novin-ray-core';
|
|
4
|
+
import { ContentDensity, DialogService } from '@fundamental-ngx/core';
|
|
5
|
+
import { FilesValidationHelper, IUploadingState, MetaobjectDataModel } from 'barsa-novin-ray-core';
|
|
6
6
|
import { DeviceInfoFieldBaseComponent } from '../device-info-field-base';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent implements OnInit, OnChanges {
|
|
9
9
|
_pdfViewerOnDemand: any;
|
|
10
|
+
_dialogTpl: TemplateRef<any>;
|
|
11
|
+
_minheight: string | null;
|
|
10
12
|
fileName: string;
|
|
11
13
|
fallbackLink: any;
|
|
12
14
|
canNotRenderPdf: boolean;
|
|
@@ -40,6 +42,8 @@ export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent i
|
|
|
40
42
|
singleFileThumbnailUrl: string;
|
|
41
43
|
parentHeight: number;
|
|
42
44
|
blobUrl: string;
|
|
45
|
+
parameteres: UiPdfViewerSetting;
|
|
46
|
+
_dialogService: DialogService;
|
|
43
47
|
ngOnInit(): void;
|
|
44
48
|
ngOnChanges(changes: SimpleChanges): void;
|
|
45
49
|
onEdit(): void;
|
|
@@ -51,6 +55,8 @@ export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent i
|
|
|
51
55
|
onOfficeOnline(event: MouseEvent): void;
|
|
52
56
|
onRefresh(): void;
|
|
53
57
|
DownloadFileId(fileId: any, viewInBrowser: any, convertTo: any, forOcx: any, isOfficeOnline: any): void;
|
|
58
|
+
onOpenPreviewInDialog(): void;
|
|
59
|
+
onDialogClose(): void;
|
|
54
60
|
protected _downloadFileIdCompleted(response: any): void;
|
|
55
61
|
protected _uploadToServer(files: File[]): void;
|
|
56
62
|
protected _refreshButtons(): void;
|
|
@@ -64,3 +70,10 @@ export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent i
|
|
|
64
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiPdfViewerComponent, never>;
|
|
65
71
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiPdfViewerComponent, "bsu-ui-pdf-viewer", never, {}, {}, never, never, false>;
|
|
66
72
|
}
|
|
73
|
+
interface UiPdfViewerSetting extends MetaobjectDataModel {
|
|
74
|
+
ShowMode: string;
|
|
75
|
+
HideDelete: boolean;
|
|
76
|
+
HideAttach: boolean;
|
|
77
|
+
HideRefresh: boolean;
|
|
78
|
+
}
|
|
79
|
+
export {};
|