ngx-rs-ant 1.4.1 → 1.4.4
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/data-grid/data-grid.service.d.ts +1 -1
- package/data-grid/file-cell-template/file-cell-template.component.d.ts +1 -0
- package/esm2020/data-grid/data-grid.service.mjs +5 -7
- package/esm2020/data-grid/file-cell-template/file-cell-template.component.mjs +35 -6
- package/esm2020/pdf-viewer/pdf-viewer.component.mjs +35 -0
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/util/utils.mjs +16 -1
- package/fesm2015/ngx-rs-ant.mjs +84 -11
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +84 -11
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/package.json +1 -1
- package/pdf-viewer/pdf-viewer.component.d.ts +14 -0
- package/public-api.d.ts +1 -0
- package/util/utils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PdfJsViewerComponent } from "ng2-pdfjs-viewer";
|
|
3
|
+
import { HttpClient } from "@angular/common/http";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PdfViewerComponent {
|
|
6
|
+
private http;
|
|
7
|
+
src: any;
|
|
8
|
+
loaded: EventEmitter<void>;
|
|
9
|
+
viewer: PdfJsViewerComponent;
|
|
10
|
+
constructor(http: HttpClient);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerComponent, "rs-pdf-viewer", never, { "src": "src"; }, { "loaded": "loaded"; }, never, never, true, never>;
|
|
14
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './icon-selector/icon-selector.module';
|
|
|
30
30
|
export * from './modal/modal.component';
|
|
31
31
|
export * from './modal/modal.module';
|
|
32
32
|
export * from './modal/modal.service';
|
|
33
|
+
export * from './pdf-viewer/pdf-viewer.component';
|
|
33
34
|
export * from './util/change-filter';
|
|
34
35
|
export * from './util/utils';
|
|
35
36
|
export * from './websocket/websocket.module';
|
package/util/utils.d.ts
CHANGED
|
@@ -6,5 +6,6 @@ export declare function format_date(date: Date, locale: string): string;
|
|
|
6
6
|
export declare function format_datetime(date: Date, locale: string): string;
|
|
7
7
|
export declare function file_type_icon(name: string): "image" | "text" | "unknown" | "word" | "pdf" | "excel" | "ppt" | "zip";
|
|
8
8
|
export declare function format_file_size(size: number): string;
|
|
9
|
+
export declare function download_file(blob: Blob, filename: string, callback?: Function): void;
|
|
9
10
|
export declare function validate(validator: DxValidatorComponent): Promise<boolean>;
|
|
10
11
|
export declare function validate_group(validationGroup: DxValidationGroupComponent): Promise<boolean>;
|