@yomotech/view-toolkit 0.0.41 → 0.0.42
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
|
@@ -91,6 +91,7 @@ declare class UtilityService {
|
|
|
91
91
|
private endOfDay;
|
|
92
92
|
private isSameDay;
|
|
93
93
|
private toLocalISO;
|
|
94
|
+
getMediaSrc(file: any): string;
|
|
94
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilityService, never>;
|
|
95
96
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
|
|
96
97
|
}
|
|
@@ -270,21 +271,46 @@ declare class GridComponent implements AfterViewInit {
|
|
|
270
271
|
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "vl-grid", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "selectedLanguageInfo": { "alias": "selectedLanguageInfo"; "required": false; }; "tableitemInfo": { "alias": "tableitemInfo"; "required": false; }; "form": { "alias": "form"; "required": false; }; "isTableDataLoad": { "alias": "isTableDataLoad"; "required": false; }; "currenTableOptions": { "alias": "currenTableOptions"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; }, { "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; "onGridScroll": "onGridScroll"; "showGridLink": "showGridLink"; "gridButtonClick": "gridButtonClick"; "gridIncreamentClick": "gridIncreamentClick"; "gridDecreamentClick": "gridDecreamentClick"; "gridImgClick": "gridImgClick"; }, never, never, true, never>;
|
|
271
272
|
}
|
|
272
273
|
|
|
274
|
+
declare class Couchdb {
|
|
275
|
+
private utilityService;
|
|
276
|
+
private readonly couchDbBaseUrl;
|
|
277
|
+
constructor(utilityService: UtilityService);
|
|
278
|
+
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
279
|
+
private parseJsonOrText;
|
|
280
|
+
private stringifyErrorDetails;
|
|
281
|
+
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
282
|
+
private isBinaryMediaFile;
|
|
283
|
+
private getMimeType;
|
|
284
|
+
private getImageMimeType;
|
|
285
|
+
private fromBase64;
|
|
286
|
+
private isJsonFile;
|
|
287
|
+
private getDocumentUrl;
|
|
288
|
+
private getDbUrl;
|
|
289
|
+
private getReadHeaders;
|
|
290
|
+
private buildTenantHeaders;
|
|
291
|
+
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
292
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
293
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
294
|
+
}
|
|
295
|
+
|
|
273
296
|
declare class HeaderMenuComponent implements AfterViewInit {
|
|
274
297
|
private oktaAuthService;
|
|
275
298
|
private requestService;
|
|
276
299
|
private utilityService;
|
|
300
|
+
private couchdbService;
|
|
277
301
|
private platform;
|
|
278
302
|
isLogined: boolean;
|
|
279
303
|
headerItems: any[];
|
|
280
304
|
headerLayout: any;
|
|
281
305
|
environment: any;
|
|
306
|
+
tenantName: any;
|
|
282
307
|
projectSeleted: any;
|
|
283
308
|
cartInfo: any;
|
|
284
309
|
buttonClick: EventEmitter<any>;
|
|
285
310
|
showTableContent: EventEmitter<any>;
|
|
286
311
|
searchItems: EventEmitter<any>;
|
|
287
|
-
constructor(oktaAuthService: OktaAuthStateService, requestService: RequestService, utilityService: UtilityService, platform: Platform);
|
|
312
|
+
constructor(oktaAuthService: OktaAuthStateService, requestService: RequestService, utilityService: UtilityService, couchdbService: Couchdb, platform: Platform);
|
|
313
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
288
314
|
ngAfterViewInit(): void;
|
|
289
315
|
getStyle(styleObject: any): Record<string, any>;
|
|
290
316
|
isVisible(header: any): boolean;
|
|
@@ -292,8 +318,9 @@ declare class HeaderMenuComponent implements AfterViewInit {
|
|
|
292
318
|
invokeSearchedItems(option: any, search: any): void;
|
|
293
319
|
invokeHeaderButtonClick(option: any): void;
|
|
294
320
|
invokeShowtableContent(option: any): void;
|
|
321
|
+
setHeaderItems(items: any[]): Promise<any[]>;
|
|
295
322
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMenuComponent, never>;
|
|
296
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "vl-header-menu", never, { "headerItems": { "alias": "headerItems"; "required": false; }; "headerLayout": { "alias": "headerLayout"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "cartInfo": { "alias": "cartInfo"; "required": false; }; }, { "buttonClick": "buttonClick"; "showTableContent": "showTableContent"; "searchItems": "searchItems"; }, never, never, true, never>;
|
|
323
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "vl-header-menu", never, { "headerItems": { "alias": "headerItems"; "required": false; }; "headerLayout": { "alias": "headerLayout"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "tenantName": { "alias": "tenantName"; "required": false; }; "projectSeleted": { "alias": "projectSeleted"; "required": false; }; "cartInfo": { "alias": "cartInfo"; "required": false; }; }, { "buttonClick": "buttonClick"; "showTableContent": "showTableContent"; "searchItems": "searchItems"; }, never, never, true, never>;
|
|
297
324
|
}
|
|
298
325
|
|
|
299
326
|
declare class NetworkLogService {
|
|
@@ -404,28 +431,6 @@ declare class PaginationComponent {
|
|
|
404
431
|
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>;
|
|
405
432
|
}
|
|
406
433
|
|
|
407
|
-
declare class Couchdb {
|
|
408
|
-
private utilityService;
|
|
409
|
-
private readonly couchDbBaseUrl;
|
|
410
|
-
constructor(utilityService: UtilityService);
|
|
411
|
-
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
412
|
-
private parseJsonOrText;
|
|
413
|
-
private stringifyErrorDetails;
|
|
414
|
-
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
415
|
-
private isBinaryMediaFile;
|
|
416
|
-
private getMimeType;
|
|
417
|
-
private getImageMimeType;
|
|
418
|
-
private fromBase64;
|
|
419
|
-
private isJsonFile;
|
|
420
|
-
private getDocumentUrl;
|
|
421
|
-
private getDbUrl;
|
|
422
|
-
private getReadHeaders;
|
|
423
|
-
private buildTenantHeaders;
|
|
424
|
-
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
425
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
426
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
434
|
declare class ConfigService {
|
|
430
435
|
private couchdbService;
|
|
431
436
|
private utilityService;
|