* Chore(deps-dev): Bump the frontend-angular-dependencies group Bumps the frontend-angular-dependencies group in /src-ui with 5 updates: | Package | From | To | | --- | --- | --- | | [@angular-eslint/builder](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/builder) | `19.1.0` | `19.2.0` | | [@angular-eslint/eslint-plugin](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin) | `19.1.0` | `19.2.0` | | [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin-template) | `19.1.0` | `19.2.0` | | [@angular-eslint/schematics](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/schematics) | `19.1.0` | `19.2.0` | | [@angular-eslint/template-parser](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/template-parser) | `19.1.0` | `19.2.0` | Updates `@angular-eslint/builder` from 19.1.0 to 19.2.0 - [Release notes](https://github.com/angular-eslint/angular-eslint/releases) - [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/builder/CHANGELOG.md) - [Commits](https://github.com/angular-eslint/angular-eslint/commits/v19.2.0/packages/builder) Updates `@angular-eslint/eslint-plugin` from 19.1.0 to 19.2.0 - [Release notes](https://github.com/angular-eslint/angular-eslint/releases) - [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/angular-eslint/angular-eslint/commits/v19.2.0/packages/eslint-plugin) Updates `@angular-eslint/eslint-plugin-template` from 19.1.0 to 19.2.0 - [Release notes](https://github.com/angular-eslint/angular-eslint/releases) - [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/CHANGELOG.md) - [Commits](https://github.com/angular-eslint/angular-eslint/commits/v19.2.0/packages/eslint-plugin-template) Updates `@angular-eslint/schematics` from 19.1.0 to 19.2.0 - [Release notes](https://github.com/angular-eslint/angular-eslint/releases) - [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/schematics/CHANGELOG.md) - [Commits](https://github.com/angular-eslint/angular-eslint/commits/v19.2.0/packages/schematics) Updates `@angular-eslint/template-parser` from 19.1.0 to 19.2.0 - [Release notes](https://github.com/angular-eslint/angular-eslint/releases) - [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/template-parser/CHANGELOG.md) - [Commits](https://github.com/angular-eslint/angular-eslint/commits/v19.2.0/packages/template-parser) --- updated-dependencies: - dependency-name: "@angular-eslint/builder" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-angular-dependencies - dependency-name: "@angular-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-angular-dependencies - dependency-name: "@angular-eslint/eslint-plugin-template" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-angular-dependencies - dependency-name: "@angular-eslint/schematics" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-angular-dependencies - dependency-name: "@angular-eslint/template-parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-angular-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Fix lint error on toast close output name --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
57 lines
2.6 KiB
HTML
57 lines
2.6 KiB
HTML
<ngb-toast
|
|
[autohide]="autohide"
|
|
[delay]="toast.delay"
|
|
[class]="toast.classname"
|
|
[class.mb-2]="true"
|
|
(shown)="onShown(toast)"
|
|
(hidden)="hidden.emit(toast)">
|
|
@if (autohide) {
|
|
<ngb-progressbar class="position-absolute h-100 w-100 top-90 start-0 bottom-0 end-0 pe-none" type="dark" [max]="toast.delay" [value]="toast.delayRemaining"></ngb-progressbar>
|
|
<span class="visually-hidden">{{ toast.delayRemaining / 1000 | number: '1.0-0' }} seconds</span>
|
|
}
|
|
<div class="d-flex align-items-top">
|
|
@if (!toast.error) {
|
|
<i-bs width="0.9em" height="0.9em" name="info-circle"></i-bs>
|
|
}
|
|
@if (toast.error) {
|
|
<i-bs width="0.9em" height="0.9em" name="exclamation-triangle"></i-bs>
|
|
}
|
|
<div>
|
|
<p class="ms-2 mb-0">{{toast.content}}</p>
|
|
@if (toast.error) {
|
|
<details class="ms-2">
|
|
<div class="mt-2 ms-n4 me-n2 small">
|
|
@if (isDetailedError(toast.error)) {
|
|
<dl class="row mb-0">
|
|
<dt class="col-sm-3 fw-normal text-end">URL</dt>
|
|
<dd class="col-sm-9">{{ toast.error.url }}</dd>
|
|
<dt class="col-sm-3 fw-normal text-end" i18n>Status</dt>
|
|
<dd class="col-sm-9">{{ toast.error.status }} <em>{{ toast.error.statusText }}</em></dd>
|
|
<dt class="col-sm-3 fw-normal text-end" i18n>Error</dt>
|
|
<dd class="col-sm-9">{{ getErrorText(toast.error) }}</dd>
|
|
</dl>
|
|
}
|
|
<div class="row">
|
|
<div class="col offset-sm-3">
|
|
<button class="btn btn-sm btn-outline-secondary" (click)="copyError(toast.error)">
|
|
@if (!copied) {
|
|
<i-bs name="clipboard"></i-bs>
|
|
}
|
|
@if (copied) {
|
|
<i-bs name="clipboard-check"></i-bs>
|
|
}
|
|
<ng-container i18n>Copy Raw Error</ng-container>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</details>
|
|
}
|
|
@if (toast.action) {
|
|
<p class="mb-0 mt-2"><button class="btn btn-sm btn-outline-secondary" (click)="close.emit(toast); toast.action()">{{toast.actionName}}</button></p>
|
|
}
|
|
</div>
|
|
<button type="button" class="btn-close ms-auto flex-shrink-0" data-bs-dismiss="toast" aria-label="Close" (click)="closed.emit(toast);"></button>
|
|
</div>
|
|
</ngb-toast>
|