Initial Commit ...
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
import { Observable } from 'rxjs';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { XQueryDto, XQueryResultDto } from 'x-framework-identity-sdk';
|
||||
import { FilesBaseProviderPage } from '../files-base/files-base.provider.page';
|
||||
|
||||
@Component({
|
||||
selector: 'files-explorer',
|
||||
styleUrls: ['./files-explorer.page.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
templateUrl: '../files-base/files-base.provider.page.html',
|
||||
})
|
||||
export class FilesExplorerPage extends FilesBaseProviderPage {
|
||||
//
|
||||
//#region Props ...
|
||||
//#endregion
|
||||
|
||||
//
|
||||
//#region LifeCycles ...
|
||||
onInit(): void {
|
||||
super.onInit();
|
||||
|
||||
//
|
||||
this.configureAsExplorerPage();
|
||||
}
|
||||
//#endregion
|
||||
|
||||
//
|
||||
//#region Abstractions ...
|
||||
getModelTask(identifier: string): Observable<any> {
|
||||
//
|
||||
return this.sharedService.mabsutAPIService.files.fileProviderService.get(
|
||||
identifier
|
||||
);
|
||||
}
|
||||
|
||||
queryModelTask(query: XQueryDto): Observable<XQueryResultDto<any>> {
|
||||
return this.sharedService.mabsutAPIService.files.fileProviderService.query(
|
||||
query
|
||||
);
|
||||
}
|
||||
//#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user