@rangertechnologies/ngnxt 2.1.263 → 2.1.265
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/fesm2022/rangertechnologies-ngnxt.mjs +70 -57
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/pages/builder/properties/properties.component.d.ts +3 -1
- package/lib/pages/pdfDesigner/pdf-properties/pdf-properties.component.d.ts +3 -1
- package/lib/services/data/data.service.d.ts +1 -0
- package/lib/services/template/template.service.d.ts +3 -1
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.265.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.263.tgz +0 -0
|
@@ -4,6 +4,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
4
4
|
import { FormBuilderService } from '../../../services/form-builder/form-builder.service';
|
|
5
5
|
import { TemplateService } from '../../../services/template/template.service';
|
|
6
6
|
import { TranslationService } from '../../../services/translation/translation.service';
|
|
7
|
+
import { DataService } from '../../../services/data/data.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class GetValueByPathPipe implements PipeTransform {
|
|
9
10
|
transform(obj: any, path: string, defaultValue?: any): any;
|
|
@@ -15,6 +16,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
15
16
|
private templateService;
|
|
16
17
|
private translationService;
|
|
17
18
|
private cdr;
|
|
19
|
+
private dataService;
|
|
18
20
|
templateSelected: boolean;
|
|
19
21
|
set selectedElementType(value: string);
|
|
20
22
|
formButtonHandler: EventEmitter<any>;
|
|
@@ -379,7 +381,7 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
379
381
|
}>;
|
|
380
382
|
formBuilderLanguageCode: any;
|
|
381
383
|
copied: boolean;
|
|
382
|
-
constructor(formBuilderService: FormBuilderService, templateService: TemplateService, translationService: TranslationService, cdr: ChangeDetectorRef);
|
|
384
|
+
constructor(formBuilderService: FormBuilderService, templateService: TemplateService, translationService: TranslationService, cdr: ChangeDetectorRef, dataService: DataService);
|
|
383
385
|
ngOnInit(): void;
|
|
384
386
|
private createElementProperties;
|
|
385
387
|
createElementConfig(config?: {
|
|
@@ -3,8 +3,10 @@ import { ElementRef, EventEmitter } from '@angular/core';
|
|
|
3
3
|
import { CropperPosition, Dimensions, ImageTransform } from '../../../components/image-cropper/interfaces';
|
|
4
4
|
import { PdfDesignerService } from '../../../services/pdf-designer/pdf-designer.service';
|
|
5
5
|
import { TemplateService } from '../../../services/template/template.service';
|
|
6
|
+
import { DataService } from '../../../services/data/data.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class PdfPropertiesComponent {
|
|
9
|
+
private dataService;
|
|
8
10
|
private http;
|
|
9
11
|
private pdfDesignerService;
|
|
10
12
|
private templateService;
|
|
@@ -729,7 +731,7 @@ export declare class PdfPropertiesComponent {
|
|
|
729
731
|
};
|
|
730
732
|
};
|
|
731
733
|
errorMessage: string;
|
|
732
|
-
constructor(http: HttpClient, pdfDesignerService: PdfDesignerService, templateService: TemplateService);
|
|
734
|
+
constructor(dataService: DataService, http: HttpClient, pdfDesignerService: PdfDesignerService, templateService: TemplateService);
|
|
733
735
|
handleTemplateSelection(event: any): void;
|
|
734
736
|
ngOnInit(): void;
|
|
735
737
|
updateTitle(event: any): void;
|
|
@@ -12,6 +12,7 @@ export declare class DataService {
|
|
|
12
12
|
apiResponse(endpoint: string): Observable<any>;
|
|
13
13
|
formatToHijriString(date: any, type?: 'year' | 'month' | 'date' | 'time' | any): any;
|
|
14
14
|
formatToGregorianString(date: any, type?: any): string;
|
|
15
|
+
nxtId(): string;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, [{ optional: true; }]>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
17
18
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { DataService } from '../data/data.service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TemplateService {
|
|
4
|
+
private dataService;
|
|
3
5
|
templates: any[];
|
|
4
6
|
unique_id: any;
|
|
5
7
|
book: any;
|
|
6
8
|
formElements: any[];
|
|
7
|
-
constructor();
|
|
9
|
+
constructor(dataService: DataService);
|
|
8
10
|
getTemplates(): any[];
|
|
9
11
|
initializeElementFromTemplate(templateElement: any, index: number): any;
|
|
10
12
|
private initializeOptions;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|