@yomotech/view-toolkit 0.0.44 → 0.0.46
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
|
@@ -96,10 +96,62 @@ declare class UtilityService {
|
|
|
96
96
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
declare class Couchdb {
|
|
100
|
+
private utilityService;
|
|
101
|
+
private readonly couchDbBaseUrl;
|
|
102
|
+
constructor(utilityService: UtilityService);
|
|
103
|
+
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
104
|
+
private parseJsonOrText;
|
|
105
|
+
private stringifyErrorDetails;
|
|
106
|
+
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
107
|
+
private isBinaryMediaFile;
|
|
108
|
+
private getMimeType;
|
|
109
|
+
private getImageMimeType;
|
|
110
|
+
private fromBase64;
|
|
111
|
+
private isJsonFile;
|
|
112
|
+
private getDocumentUrl;
|
|
113
|
+
private getDbUrl;
|
|
114
|
+
private getReadHeaders;
|
|
115
|
+
private buildTenantHeaders;
|
|
116
|
+
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
118
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class ConfigService {
|
|
122
|
+
private couchdbService;
|
|
123
|
+
private utilityService;
|
|
124
|
+
private platform;
|
|
125
|
+
private config;
|
|
126
|
+
private skipOkta;
|
|
127
|
+
private keycloakConfig;
|
|
128
|
+
constructor(couchdbService: Couchdb, utilityService: UtilityService, platform: Platform);
|
|
129
|
+
loadOktaConfig(projectName: string): Promise<void>;
|
|
130
|
+
setConfiguration(config: any): void;
|
|
131
|
+
skipOktaConfig(): void;
|
|
132
|
+
get oktaConfig(): any;
|
|
133
|
+
loadKeycloakConfig(projectName: string): Promise<void>;
|
|
134
|
+
getKeycloakConfig(): any;
|
|
135
|
+
getKeycloakMobileConfig(): {
|
|
136
|
+
issuer: any;
|
|
137
|
+
clientId: any;
|
|
138
|
+
redirectUri: any;
|
|
139
|
+
logoutRedirectUri: any;
|
|
140
|
+
scope: any;
|
|
141
|
+
responseType: any;
|
|
142
|
+
} | null;
|
|
143
|
+
private updateLoaderValue;
|
|
144
|
+
currentLoader$: rxjs.Observable<any>;
|
|
145
|
+
updateLoader(value: any): void;
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
147
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
148
|
+
}
|
|
149
|
+
|
|
99
150
|
declare class CardComponent {
|
|
100
151
|
private utilityService;
|
|
101
152
|
private platform;
|
|
102
153
|
private http;
|
|
154
|
+
private configService;
|
|
103
155
|
private cdr;
|
|
104
156
|
private zone;
|
|
105
157
|
private modalService;
|
|
@@ -123,7 +175,7 @@ declare class CardComponent {
|
|
|
123
175
|
layoutSchemaCopy: any;
|
|
124
176
|
headerSchemaCopy: any;
|
|
125
177
|
footerSchemaCopy: any;
|
|
126
|
-
constructor(utilityService: UtilityService, platform: Platform, http: HttpClient, cdr: ChangeDetectorRef, zone: NgZone, modalService: NzModalService, oauthService: OAuthService, requestService: RequestService);
|
|
178
|
+
constructor(utilityService: UtilityService, platform: Platform, http: HttpClient, configService: ConfigService, cdr: ChangeDetectorRef, zone: NgZone, modalService: NzModalService, oauthService: OAuthService, requestService: RequestService);
|
|
127
179
|
ngOnInit(): void;
|
|
128
180
|
ngOnChanges(changes: SimpleChanges): void;
|
|
129
181
|
onWindowResize(): void;
|
|
@@ -271,28 +323,6 @@ declare class GridComponent implements AfterViewInit {
|
|
|
271
323
|
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>;
|
|
272
324
|
}
|
|
273
325
|
|
|
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
|
-
|
|
296
326
|
declare class HeaderMenuComponent implements AfterViewInit {
|
|
297
327
|
private oktaAuthService;
|
|
298
328
|
private requestService;
|
|
@@ -432,32 +462,6 @@ declare class PaginationComponent {
|
|
|
432
462
|
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>;
|
|
433
463
|
}
|
|
434
464
|
|
|
435
|
-
declare class ConfigService {
|
|
436
|
-
private couchdbService;
|
|
437
|
-
private utilityService;
|
|
438
|
-
private platform;
|
|
439
|
-
private config;
|
|
440
|
-
private skipOkta;
|
|
441
|
-
private keycloakConfig;
|
|
442
|
-
constructor(couchdbService: Couchdb, utilityService: UtilityService, platform: Platform);
|
|
443
|
-
loadOktaConfig(projectName: string): Promise<void>;
|
|
444
|
-
setConfiguration(config: any): void;
|
|
445
|
-
skipOktaConfig(): void;
|
|
446
|
-
get oktaConfig(): any;
|
|
447
|
-
loadKeycloakConfig(projectName: string): Promise<void>;
|
|
448
|
-
getKeycloakConfig(): any;
|
|
449
|
-
getKeycloakMobileConfig(): {
|
|
450
|
-
issuer: any;
|
|
451
|
-
clientId: any;
|
|
452
|
-
redirectUri: any;
|
|
453
|
-
logoutRedirectUri: any;
|
|
454
|
-
scope: any;
|
|
455
|
-
responseType: any;
|
|
456
|
-
} | null;
|
|
457
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
458
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
465
|
interface MobileAuthTokens {
|
|
462
466
|
access_token: string;
|
|
463
467
|
refresh_token?: string;
|