Merge branch web-remote:master into master

This commit is contained in:
Chris Witterholt 2024-09-21 07:25:09 +00:00
commit d472b6a7de
4 changed files with 434 additions and 405 deletions

View File

@ -25,17 +25,17 @@
"tx": "node scripts/tx.js" "tx": "node scripts/tx.js"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^18.2.3", "@angular/animations": "^18.2.4",
"@angular/cdk": "^18.2.3", "@angular/cdk": "^18.2.4",
"@angular/common": "^18.2.3", "@angular/common": "^18.2.4",
"@angular/compiler": "^18.2.3", "@angular/compiler": "^18.2.4",
"@angular/core": "^18.2.3", "@angular/core": "^18.2.4",
"@angular/forms": "^18.2.3", "@angular/forms": "^18.2.4",
"@angular/material": "^18.2.3", "@angular/material": "^18.2.4",
"@angular/platform-browser": "^18.2.3", "@angular/platform-browser": "^18.2.4",
"@angular/platform-browser-dynamic": "^18.2.3", "@angular/platform-browser-dynamic": "^18.2.4",
"@angular/router": "^18.2.3", "@angular/router": "^18.2.4",
"@fontsource/roboto": "^5.0.14", "@fontsource/roboto": "^5.1.0",
"@ngx-translate/core": "^15.0.0", "@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0", "@ngx-translate/http-loader": "^8.0.0",
"core-js": "^3.38.1", "core-js": "^3.38.1",
@ -44,34 +44,34 @@
"zone.js": "^0.14.10" "zone.js": "^0.14.10"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^18.2.3", "@angular-devkit/build-angular": "^18.2.4",
"@angular-devkit/core": "^18.2.3", "@angular-devkit/core": "^18.2.4",
"@angular-devkit/schematics": "^18.2.3", "@angular-devkit/schematics": "^18.2.4",
"@angular-eslint/builder": "^18.3.0", "@angular-eslint/builder": "^18.3.1",
"@angular-eslint/eslint-plugin": "^18.3.0", "@angular-eslint/eslint-plugin": "^18.3.1",
"@angular-eslint/eslint-plugin-template": "^18.3.0", "@angular-eslint/eslint-plugin-template": "^18.3.1",
"@angular-eslint/schematics": "^18.3.0", "@angular-eslint/schematics": "^18.3.1",
"@angular-eslint/template-parser": "^18.3.0", "@angular-eslint/template-parser": "^18.3.1",
"@angular/cli": "~18.2.3", "@angular/cli": "~18.2.4",
"@angular/compiler-cli": "^18.2.3", "@angular/compiler-cli": "^18.2.4",
"@angular/language-service": "^18.2.3", "@angular/language-service": "^18.2.4",
"@chiragrupani/karma-chromium-edge-launcher": "^2.4.1", "@chiragrupani/karma-chromium-edge-launcher": "^2.4.1",
"@transifex/api": "^7.1.3", "@transifex/api": "^7.1.3",
"@types/jasmine": "~5.1.4", "@types/jasmine": "~5.1.4",
"@types/jasminewd2": "~2.0.13", "@types/jasminewd2": "~2.0.13",
"@types/jest": "^29.5.12", "@types/jest": "^29.5.13",
"@types/node": "~22.5.4", "@types/node": "~22.5.5",
"@typescript-eslint/eslint-plugin": "8.4.0", "@typescript-eslint/eslint-plugin": "8.5.0",
"@typescript-eslint/parser": "8.4.0", "@typescript-eslint/parser": "8.5.0",
"@typescript-eslint/utils": "8.4.0", "@typescript-eslint/utils": "8.5.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"browserslist": "^4.23.3", "browserslist": "^4.23.3",
"browserslist-useragent-regexp": "^4.1.3", "browserslist-useragent-regexp": "^4.1.3",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-import": "~2.30.0", "eslint-plugin-import": "~2.30.0",
"eslint-plugin-jsdoc": "~50.2.2", "eslint-plugin-jsdoc": "~50.2.3",
"eslint-plugin-prefer-arrow": "~1.2.3", "eslint-plugin-prefer-arrow": "~1.2.3",
"jasmine-core": "~5.2.0", "jasmine-core": "~5.3.0",
"jasmine-spec-reporter": "~7.0.0", "jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.4", "karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0", "karma-chrome-launcher": "~3.2.0",

View File

@ -1,17 +1,21 @@
<mat-card <mat-card
class="service-item no-select" class="service-item no-select"
[class.selected]="selected"> [class.selected]="selected">
<mat-card-content (click)="onItemSelected(item)"> <mat-card-content
<mat-icon class="service-item-icon">{{ getIcon(item) }}</mat-icon> {{ item.title }} class="card-content"
(click)="onItemSelected(item)">
<mat-icon class="service-item-icon">{{ getIcon(item) }}</mat-icon>&nbsp;{{ item.title }}
</mat-card-content> </mat-card-content>
@if (useDeleteServiceItemFromOpenlp) { @if (useDeleteServiceItemFromOpenlp) {
<button <mat-card-actions>
mat-icon-button <button
class="delete-service-item-button no-select" mat-icon-button
[class.selected]="selected" class="delete-service-item-button no-select"
matTooltip="{{ 'DELETE_FROM_SERVICE' | translate | titlecase }}" [class.selected]="selected"
(click)="deleteFromService(item)"> matTooltip="{{ 'DELETE_FROM_SERVICE' | translate | titlecase }}"
<mat-icon>delete_outline</mat-icon> (click)="deleteFromService(item)">
</button> <mat-icon>delete_outline</mat-icon>
</button>
</mat-card-actions>
} }
</mat-card> </mat-card>

View File

@ -1,10 +1,20 @@
.service-item {
display: flex;
flex-direction: row;
}
/* Align icons with text */ /* Align icons with text */
.service-item-icon { .service-item-icon {
line-height: inherit; line-height: inherit;
} }
.card-content {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.delete-service-item-button { .delete-service-item-button {
position: absolute; position: absolute;
top: 5px; right: 5px;
right: 20px;
} }

743
yarn.lock

File diff suppressed because it is too large Load Diff