@yomotech/view-toolkit 0.0.12 → 0.0.13
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/package.json
CHANGED
|
@@ -31,33 +31,11 @@ declare class RequestService {
|
|
|
31
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<RequestService>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
declare class Couchdb {
|
|
35
|
-
private utilityService;
|
|
36
|
-
private readonly couchDbBaseUrl;
|
|
37
|
-
constructor(utilityService: UtilityService);
|
|
38
|
-
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
39
|
-
private parseJsonOrText;
|
|
40
|
-
private stringifyErrorDetails;
|
|
41
|
-
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
42
|
-
private isImageFile;
|
|
43
|
-
private getImageMimeType;
|
|
44
|
-
private fromBase64;
|
|
45
|
-
private isJsonFile;
|
|
46
|
-
private getDocumentUrl;
|
|
47
|
-
private getDbUrl;
|
|
48
|
-
private getReadHeaders;
|
|
49
|
-
private buildTenantHeaders;
|
|
50
|
-
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
52
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
34
|
declare class UtilityService {
|
|
56
35
|
private platform;
|
|
57
|
-
private couchdbService;
|
|
58
36
|
private requestService;
|
|
59
37
|
stripe: any;
|
|
60
|
-
constructor(platform: Platform,
|
|
38
|
+
constructor(platform: Platform, requestService: RequestService);
|
|
61
39
|
getScope(scope: any): string;
|
|
62
40
|
getProperty(scope: any, itemInfo?: any): {
|
|
63
41
|
key: any;
|
|
@@ -99,13 +77,6 @@ declare class UtilityService {
|
|
|
99
77
|
};
|
|
100
78
|
setupStripePaymentForm(environment: any, form: any, onCardChange: (message: string) => void): Promise<void>;
|
|
101
79
|
formData(form: any, environment: any, cartInfo: any): Promise<void>;
|
|
102
|
-
processData(data: any, options: {
|
|
103
|
-
dataKey?: string;
|
|
104
|
-
setImageUrl?: boolean;
|
|
105
|
-
showTable?: boolean;
|
|
106
|
-
projectSelected: string;
|
|
107
|
-
}, tenantName: any): Promise<any[]>;
|
|
108
|
-
setTableDataImages(records: any, tenantName: any, projectSelected: any): Promise<any[]>;
|
|
109
80
|
normalizeDatesForStorage(obj: any): any;
|
|
110
81
|
isDateLike(value: any): boolean;
|
|
111
82
|
toLocalISOString(date: Date): string;
|
|
@@ -400,6 +371,27 @@ declare class PaginationComponent {
|
|
|
400
371
|
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "vl-pagination", never, { "itemInfo": { "alias": "itemInfo"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "onGoToPage": "onGoToPage"; }, never, never, true, never>;
|
|
401
372
|
}
|
|
402
373
|
|
|
374
|
+
declare class Couchdb {
|
|
375
|
+
private utilityService;
|
|
376
|
+
private readonly couchDbBaseUrl;
|
|
377
|
+
constructor(utilityService: UtilityService);
|
|
378
|
+
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
379
|
+
private parseJsonOrText;
|
|
380
|
+
private stringifyErrorDetails;
|
|
381
|
+
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
382
|
+
private isImageFile;
|
|
383
|
+
private getImageMimeType;
|
|
384
|
+
private fromBase64;
|
|
385
|
+
private isJsonFile;
|
|
386
|
+
private getDocumentUrl;
|
|
387
|
+
private getDbUrl;
|
|
388
|
+
private getReadHeaders;
|
|
389
|
+
private buildTenantHeaders;
|
|
390
|
+
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
392
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
393
|
+
}
|
|
394
|
+
|
|
403
395
|
declare class ConfigService {
|
|
404
396
|
private couchdbService;
|
|
405
397
|
private utilityService;
|