refactore: create feature modules (#387)
* add @angular/cli to the project * increase nodejs version -> 8.2.1 * add lerna * merge web and shared module * move electron module into packages as uhk-agent Electron agent functionality is not working * delete symlinker * convert private properties to public of component if used in html * revert uhk-message.component * fix component path * fix the correct name of the uhk-message.component.scss * building web and electron module * delete uhk-renderer package * handle device connect disconnect state * add privilege detection * fix set privilege functionality * turn back download keymap functionality * add bootstrap, select2 js and fix null pointer exception * turn back upload data to keyboard * fix send keymap * fix test-serializer * add missing package.json * merging * fix appveyor build * fix linting * turn back electron storage service * commit the missing electron-datastorage-repository * update node to 8.3.0 in .nvmrc and log node version in appveyor build * set exact version number in appveyor build * vertical align privilege and missing device components * set back node version to 8 in appveyor * move node-usb dependency from usb dir to root maybe it is fix the appveyor build * revert usb to root * fix electron builder script * fix electron builder script * turn off electron devtools * remove CTRL+U functionality * fix CTRL+o * fix lint error * turnoff store freeze * start process when got `Error: EPERM: operation not permitted` error * move files from root usb dir -> packages/usb
This commit is contained in:
committed by
László Monda
parent
97770f67c0
commit
0f558e4132
44
packages/uhk-web/src/app/models/angular-notifier-config.ts
Normal file
44
packages/uhk-web/src/app/models/angular-notifier-config.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
import { NotifierOptions } from 'angular-notifier';
|
||||
|
||||
export const angularNotifierConfig: NotifierOptions = {
|
||||
position: {
|
||||
|
||||
horizontal: {
|
||||
|
||||
/**
|
||||
* Defines the horizontal position on the screen
|
||||
* @type {'left' | 'middle' | 'right'}
|
||||
*/
|
||||
position: 'right',
|
||||
|
||||
/**
|
||||
* Defines the horizontal distance to the screen edge (in px)
|
||||
* @type {number}
|
||||
*/
|
||||
distance: 12
|
||||
|
||||
},
|
||||
|
||||
vertical: {
|
||||
|
||||
/**
|
||||
* Defines the vertical position on the screen
|
||||
* @type {'top' | 'bottom'}
|
||||
*/
|
||||
position: 'top',
|
||||
|
||||
/**
|
||||
* Defines the vertical distance to the screen edge (in px)
|
||||
* @type {number}
|
||||
*/
|
||||
distance: 12,
|
||||
|
||||
/**
|
||||
* Defines the vertical gap, existing between multiple notifications (in px)
|
||||
* @type {number}
|
||||
*/
|
||||
gap: 10
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
4
packages/uhk-web/src/app/models/auto-update-settings.ts
Normal file
4
packages/uhk-web/src/app/models/auto-update-settings.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface AutoUpdateSettings {
|
||||
checkForUpdateOnStartUp: boolean;
|
||||
usePreReleaseUpdate: boolean;
|
||||
}
|
||||
4
packages/uhk-web/src/app/models/undo-user-config-data.ts
Normal file
4
packages/uhk-web/src/app/models/undo-user-config-data.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface UndoUserConfigData {
|
||||
path: string;
|
||||
config: string;
|
||||
}
|
||||
Reference in New Issue
Block a user