barsa-sap-ui 1.0.347 → 1.0.349
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-pishnamayesh-payam/barsa-pishnamayesh-payam.component.mjs +2 -2
- package/esm2020/lib/barsa-tinyemce/barsa-tinyemce.component.mjs +42 -9
- package/esm2020/lib/layout-control/layout-control.component.mjs +3 -1
- package/fesm2015/barsa-sap-ui.mjs +42 -13
- package/fesm2015/barsa-sap-ui.mjs.map +1 -1
- package/fesm2020/barsa-sap-ui.mjs +45 -13
- package/fesm2020/barsa-sap-ui.mjs.map +1 -1
- package/lib/barsa-tinyemce/barsa-tinyemce.component.d.ts +8 -2
- package/package.json +1 -1
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FileUploaderComponent } from '@fundamental-ngx/core';
|
|
3
|
+
import { BaseComponent, UploadService } from 'barsa-novin-ray-core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BarsaTinyemceComponent extends BaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
6
|
+
protected _uploadService: UploadService;
|
|
5
7
|
protected _el: ElementRef;
|
|
8
|
+
_uploader: FileUploaderComponent;
|
|
6
9
|
Setting: any;
|
|
7
10
|
isReadonly: boolean;
|
|
8
11
|
value: any;
|
|
@@ -20,11 +23,12 @@ export declare class BarsaTinyemceComponent extends BaseComponent implements Aft
|
|
|
20
23
|
editorValue: string;
|
|
21
24
|
iframBodyInnerHtml: string;
|
|
22
25
|
height: number;
|
|
23
|
-
constructor(_el: ElementRef);
|
|
26
|
+
constructor(_uploadService: UploadService, _el: ElementRef);
|
|
24
27
|
ngOnChanges(simpleChanges: SimpleChanges): void;
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
ngAfterViewInit(): void;
|
|
27
30
|
ngOnDestroy(): void;
|
|
31
|
+
onFileSelection(files: File[]): void;
|
|
28
32
|
loadTinyMce(): void;
|
|
29
33
|
initilize(): void;
|
|
30
34
|
ShowUploadWindow(): void;
|
|
@@ -38,6 +42,8 @@ export declare class BarsaTinyemceComponent extends BaseComponent implements Aft
|
|
|
38
42
|
setDisable(): void;
|
|
39
43
|
setReadOnly(readOnly: any): void;
|
|
40
44
|
destroyTinymce(): void;
|
|
45
|
+
private uploadFile;
|
|
46
|
+
private _addImages;
|
|
41
47
|
private prepare;
|
|
42
48
|
private _onLoadIframe;
|
|
43
49
|
private _removeOverflow;
|