Skip to content
Snippets Groups Projects
Commit 458ea1d4 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4190 OZG-4560 Rename alfa to ozgcloud in libs/ui/src

```
ack \'alfa- libs/ui/src | fgrep selector | cut -f4 -d:

for selector in ozgcloud-svgicon ozgcloud-svgicon-big spinner-transparency fixed-dialog ozgcloud-icon connection-timeout-retry-dialog connection-timeout-retry-fail-dialog validation-error ozgcloud-routing-button download-button internal-server-error-dialog accordion back-button ozgcloud-menu progress-bar slide-toggle spinner basic-dialog subnavigation button-toggle icon-button-with-spinner file-upload ozgcloud-button-with-spinner ozgcloud-button-content ozgcloud-stroked-button-with-spinner menu-item expansion-panel button-toggle-group open-url-button file-upload-editor date-editor text-editor enum-editor textarea-editor autocomplete-editor snackbar-info snackbar-close-button snackbar-error app-icon postfach-icon;
  perl -i -p -e"s/alfa-$selector/ozgcloud-$selector/g" (ack -l $selector);
end

perl -i -p -e"s/ozgcloud-ozgcloud-/ozgcloud-/g" (ack -l ozgcloud-ozgcloud-)
```
parent b26c6aee
Branches
Tags
No related merge requests found
Showing
with 42 additions and 42 deletions
......@@ -24,7 +24,7 @@
-->
<ng-container *ngIf="apiRoot$ | async as apiRoot">
<alfa-spinner [stateResource]="apiRoot">
<ozgcloud-spinner [stateResource]="apiRoot">
<alfa-header-container [apiRootStateResource]="apiRoot"></alfa-header-container>
<div class="container">
......@@ -34,5 +34,5 @@
<alfa-build-info *ngIf="apiRoot.resource" [apiRoot]="apiRoot.resource" data-test-id="build-info"></alfa-build-info>
</section>
</div>
</alfa-spinner>
</ozgcloud-spinner>
</ng-container>
......@@ -5,8 +5,8 @@
$color-config: mat.get-color-config($theme);
$primary: map.get($color-config, 'primary');
alfa-ozgcloud-button-with-spinner,
alfa-ozgcloud-stroked-button-with-spinner {
ozgcloud-button-with-spinner,
ozgcloud-stroked-button-with-spinner {
.mat-primary svg path {
fill: mat.get-color-from-palette($primary);
}
......
......@@ -16,7 +16,7 @@
padding-top: 16px !important;
}
alfa-fixed-dialog .mat-mdc-dialog-title {
ozgcloud-fixed-dialog .mat-mdc-dialog-title {
margin-bottom: 0 !important;
padding-top: 0 !important;
}
......
......@@ -29,11 +29,11 @@
$color-config: mat.get-color-config($theme);
$primary-palette: map.get($color-config, 'primary');
alfa-expansion-panel h3 {
ozgcloud-expansion-panel h3 {
color: mat.get-color-from-palette($primary-palette);
}
body.mat-typography alfa-expansion-panel {
body.mat-typography ozgcloud-expansion-panel {
.mat-expansion-panel-header {
padding: 0 !important;
height: 44px !important;
......@@ -50,7 +50,7 @@
padding: 0 0 16px 56px;
}
alfa-expansion-panel {
ozgcloud-expansion-panel {
.mat-expansion-panel-header {
height: 40px !important;
}
......@@ -73,7 +73,7 @@
}
}
body.mat-typography alfa-expansion-panel-with-user {
body.mat-typography ozgcloud-expansion-panel-with-user {
.mat-expansion-panel-body {
padding: 0 0 0 32px;
}
......
......@@ -13,7 +13,7 @@ alfa-vorgang-search {
}
}
alfa-fixed-dialog {
ozgcloud-fixed-dialog {
.mat-mdc-form-field-focus-overlay,
.mdc-text-field--filled:not(.mdc-text-field--disabled) {
background-color: transparent !important;
......
.mat-mdc-snack-bar-container {
alfa-snackbar-info > button {
ozgcloud-snackbar-info > button {
color: #2196f3 !important;
height: 24px !important;
}
......
<alfa-icon-button-with-spinner data-test-id="create-bescheid-icon-button"
<ozgcloud-icon-button-with-spinner data-test-id="create-bescheid-icon-button"
icon="description"
toolTip="Bescheid erstellen"
[stateResource]="createBescheidCommand"
(clickEmitter)="createBescheid.emit()">
</alfa-icon-button-with-spinner>
\ No newline at end of file
</ozgcloud-icon-button-with-spinner>
\ No newline at end of file
......@@ -30,9 +30,9 @@
</alfa-binary-file-container>
</div>
<alfa-file-upload-editor *ngIf="uploadStateResource.resource | hasLink: linkRelUploadAttachment" data-test-id="binary-file-upload"
<ozgcloud-file-upload-editor *ngIf="uploadStateResource.resource | hasLink: linkRelUploadAttachment" data-test-id="binary-file-upload"
[parentFormArrayName]="formArrayName"
[fileLinkList]="getFileUriList()"
[uploadInProgress]="uploadInProgress$ | async"
(newFile)="uploadFile($event)">
</alfa-file-upload-editor>
</ozgcloud-file-upload-editor>
......@@ -37,10 +37,10 @@
<span class="name">{{ file.name }}</span>
<span class="size" [innerHTML]="file.size | fileSize"></span>
<alfa-spinner [diameter]="22" padding="0" [stateResource]="getStateResource()" class="spinner"></alfa-spinner>
<ozgcloud-spinner [diameter]="22" padding="0" [stateResource]="getStateResource()" class="spinner"></ozgcloud-spinner>
</button>
</div>
<alfa-icon-button-with-spinner *ngIf="deletable" icon="close" (clickEmitter)="deleteFile()" data-test-class="delete-file-button"></alfa-icon-button-with-spinner>
<ozgcloud-icon-button-with-spinner *ngIf="deletable" icon="close" (clickEmitter)="deleteFile()" data-test-class="delete-file-button"></ozgcloud-icon-button-with-spinner>
</div>
......@@ -117,7 +117,7 @@
align-items: center;
}
alfa-icon-button-with-spinner {
ozgcloud-icon-button-with-spinner {
display: block;
margin: -12px 0;
}
......
......@@ -23,7 +23,7 @@
unter der Lizenz sind dem Lizenztext zu entnehmen.
-->
<alfa-spinner [stateResource]="fileListResource">
<ozgcloud-spinner [stateResource]="fileListResource">
<div class="horizontal" data-test-id="file-list">
<alfa-binary-file-container
......@@ -33,4 +33,4 @@
</alfa-binary-file-container>
</div>
</alfa-spinner>
\ No newline at end of file
</ozgcloud-spinner>
\ No newline at end of file
......@@ -23,7 +23,7 @@
unter der Lizenz sind dem Lizenztext zu entnehmen.
-->
<alfa-spinner [stateResource]="fileListResource">
<ozgcloud-spinner [stateResource]="fileListResource">
<div class="vertical" data-test-id="file-list">
<alfa-binary-file-container
*ngFor="let binaryFileResource of fileListResource.resource | toEmbeddedResources: fileListRel.FILE_LIST"
......@@ -31,4 +31,4 @@
[downloadFileNamePrefix]="downloadFileNamePrefix">
</alfa-binary-file-container>
</div>
</alfa-spinner>
</ozgcloud-spinner>
......@@ -25,25 +25,25 @@
-->
<form class="form" [formGroup]="form" (submit)="submit.emit()">
<alfa-text-editor
<ozgcloud-text-editor
label="zuständige Stelle"
[formControlName]="formServiceClass.FIELD_EMAIL"
autocomplete="email"
placeholder="E-Mail Adresse">
</alfa-text-editor>
</ozgcloud-text-editor>
<alfa-text-editor
<ozgcloud-text-editor
label="Passwort"
[formControlName]="formServiceClass.FIELD_PASSWORD"
placeholder="Passwort für die Verschlüsselung">
</alfa-text-editor>
</ozgcloud-text-editor>
<alfa-ozgcloud-stroked-button-with-spinner dataTestId="forward-button"
<ozgcloud-stroked-button-with-spinner dataTestId="forward-button"
toolTip="Vorgang weiterleiten"
icon="forward"
type="submit"
text="Weiterleiten"
[stateResource]="forwardStateResource">
</alfa-ozgcloud-stroked-button-with-spinner>
</ozgcloud-stroked-button-with-spinner>
</form>
......@@ -23,12 +23,12 @@
unter der Lizenz sind dem Lizenztext zu entnehmen.
-->
<alfa-spinner data-test-id="forwarding-spinner"
<ozgcloud-spinner data-test-id="forwarding-spinner"
[diameter]="24"
[show]="pendingForwardCommand.resource | hasLink: commandLinkRel.UPDATE"
padding="0"
text="Vorgang wird weitergeleitet">
</alfa-spinner>
</ozgcloud-spinner>
<alfa-vorgang-forward-form *ngIf="vorgang | hasLink: vorgangLinkRel.FORWARD" data-test-id="forward-form"
[vorgang]="vorgang"
......
......@@ -25,11 +25,11 @@
-->
<ng-container *ngIf="(vorgang | hasLink: vorgangLinkRel.FORWARD) || (vorgang | hasLink: vorgangLinkRel.FORWARDING)">
<alfa-expansion-panel headline="Vorgang weiterleiten" data-test-id="forwarding" *ngIf="forwardingStateResources$ |async as forwardingStateResources">
<ozgcloud-expansion-panel headline="Vorgang weiterleiten" data-test-id="forwarding" *ngIf="forwardingStateResources$ |async as forwardingStateResources">
<alfa-spinner [stateResource]="forwardingStateResources">
<ozgcloud-spinner [stateResource]="forwardingStateResources">
<alfa-vorgang-forwarding-info-list [forwardingList]="forwardingStateResources"></alfa-vorgang-forwarding-info-list>
</alfa-spinner>
</ozgcloud-spinner>
<alfa-vorgang-forward-formular data-test-id="forward-formular"
......@@ -38,6 +38,6 @@
(doSubmit)="submit()">
</alfa-vorgang-forward-formular>
</alfa-expansion-panel>
</ozgcloud-expansion-panel>
</ng-container>
\ No newline at end of file
......@@ -36,19 +36,19 @@
</div>
<div class="buttons">
<alfa-ozgcloud-stroked-button-with-spinner *ngIf="forwarding | hasLink: linkRel.MARK_AS_SUCCESS"
<ozgcloud-stroked-button-with-spinner *ngIf="forwarding | hasLink: linkRel.MARK_AS_SUCCESS"
data-test-id="mark-as-success-button"
text="Bestätigen"
icon="check_circle_outline"
[stateResource]="markAsSuccessCommandStateResource$ | async"
(clickEmitter)="markAsSuccess()">
</alfa-ozgcloud-stroked-button-with-spinner>
</ozgcloud-stroked-button-with-spinner>
<alfa-ozgcloud-stroked-button-with-spinner *ngIf="forwarding | hasLink: linkRel.MARK_AS_FAIL"
<ozgcloud-stroked-button-with-spinner *ngIf="forwarding | hasLink: linkRel.MARK_AS_FAIL"
data-test-id="mark-as-fail-button"
text="Widerrufen"
icon="info_outline"
[stateResource]="markAsFailCommandStateResource$ | async"
(clickEmitter)="markAsFail()">
</alfa-ozgcloud-stroked-button-with-spinner>
</ozgcloud-stroked-button-with-spinner>
</div>
......@@ -31,7 +31,7 @@
margin: 16px -8px;
display: flex;
alfa-ozgcloud-stroked-button-with-spinner {
ozgcloud-stroked-button-with-spinner {
margin: 0 8px;
}
}
......
......@@ -25,7 +25,7 @@ import { Component, Input } from '@angular/core';
import { CommandResource } from '@alfa-client/command-shared';
@Component({
selector: 'alfa-expansion-panel-with-user',
selector: 'ozgcloud-expansion-panel-with-user',
templateUrl: './expansion-panel-with-user.component.html',
styleUrls: ['./expansion-panel-with-user.component.scss'],
})
......
......@@ -24,4 +24,4 @@
-->
<alfa-user-profile-in-historie-container *ngIf="resource | hasLink: commandLinkRel.CREATED_BY; else nonUserCommand" [command]="resource" data-test-class="user-profile-in-historie-item-header"></alfa-user-profile-in-historie-container>
<ng-template #nonUserCommand><alfa-app-icon></alfa-app-icon><span data-test-class="system-user-in-historie-item-header">Die Anwendung</span></ng-template><p class="headline" data-test-class="historie-item-header">hat am {{(resource.createdAt | formatDateWithTimePipe: false)}} {{headline}}</p>
\ No newline at end of file
<ng-template #nonUserCommand><ozgcloud-app-icon></ozgcloud-app-icon><span data-test-class="system-user-in-historie-item-header">Die Anwendung</span></ng-template><p class="headline" data-test-class="historie-item-header">hat am {{(resource.createdAt | formatDateWithTimePipe: false)}} {{headline}}</p>
\ No newline at end of file
......@@ -33,6 +33,6 @@
margin: 0 0 0 0.5rem;
}
alfa-app-icon {
ozgcloud-app-icon {
margin: 0 6px 0 2px;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment