@yomotech/view-toolkit 0.0.12 → 0.0.14

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yomotech/view-toolkit",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^21.1.2",
6
6
  "@angular/cdk": "^21.1.2",
@@ -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, couchdbService: Couchdb, requestService: RequestService);
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,28 @@ 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 isBinaryMediaFile;
383
+ private getMimeType;
384
+ private getImageMimeType;
385
+ private fromBase64;
386
+ private isJsonFile;
387
+ private getDocumentUrl;
388
+ private getDbUrl;
389
+ private getReadHeaders;
390
+ private buildTenantHeaders;
391
+ getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
392
+ static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
393
+ static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
394
+ }
395
+
403
396
  declare class ConfigService {
404
397
  private couchdbService;
405
398
  private utilityService;