40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import { Component } from '@angular/core';
|
|
import { XResourceIDs, XColorWithBrightness } from 'x-framework-core';
|
|
import { VPageComponent } from 'src/app/views/v-page/v-page.component';
|
|
import { AppResourceIDs } from 'src/app/config/app.localization.config';
|
|
|
|
@Component({
|
|
selector: 'app-services-user-device',
|
|
templateUrl: './user-device.page.html',
|
|
styleUrls: ['./user-device.page.scss'],
|
|
})
|
|
// tslint:disable-next-line:component-class-suffix
|
|
export class UserDevicePage extends VPageComponent {
|
|
//
|
|
//#region Props ...
|
|
//
|
|
//#region Page Props ...
|
|
titleRes = AppResourceIDs.user_device;
|
|
toolbarTitle = this.resourceProvider(this.titleRes);
|
|
toolbarSubTitle = this.resourceProvider(
|
|
AppResourceIDs.user_device_description
|
|
);
|
|
toolbarShowSubTitle = true;
|
|
//#endregion
|
|
|
|
//
|
|
// Prepare All Resource IDs ...
|
|
readonly ResourceIDs = Object.assign(
|
|
Object.assign({}, XResourceIDs),
|
|
AppResourceIDs
|
|
) as any;
|
|
|
|
//
|
|
// Color Names ...
|
|
readonly ColorNames = Object.assign({}, XColorWithBrightness);
|
|
//#endregion
|
|
|
|
//
|
|
device = this.managerService.settingsService.device;
|
|
}
|