Skip to content
Snippets Groups Projects
Commit 8bc5fbcb authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4461 OZG-4489 add icons

parent 4953b554
No related branches found
No related tags found
No related merge requests found
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_2_1608" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="18" height="19">
<rect y="0.000183105" width="18" height="18" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_2_1608)">
<path d="M7.16245 13.5002L2.88745 9.2252L3.9562 8.15645L7.16245 11.3627L14.0437 4.48145L15.1125 5.5502L7.16245 13.5002Z" fill="#2D65BA"/>
</g>
</svg>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_2_1599" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="25">
<rect y="0.000183105" width="24" height="24" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_2_1599)">
<path d="M8.6 22.5002L6.7 19.3002L3.1 18.5002L3.45 14.8002L1 12.0002L3.45 9.20018L3.1 5.50018L6.7 4.70018L8.6 1.50018L12 2.95018L15.4 1.50018L17.3 4.70018L20.9 5.50018L20.55 9.20018L23 12.0002L20.55 14.8002L20.9 18.5002L17.3 19.3002L15.4 22.5002L12 21.0502L8.6 22.5002ZM9.45 19.9502L12 18.8502L14.6 19.9502L16 17.5502L18.75 16.9002L18.5 14.1002L20.35 12.0002L18.5 9.85018L18.75 7.05018L16 6.45018L14.55 4.05018L12 5.15018L9.4 4.05018L8 6.45018L5.25 7.05018L5.5 9.85018L3.65 12.0002L5.5 14.1002L5.25 16.9502L8 17.5502L9.45 19.9502ZM10.95 15.5502L16.6 9.90018L15.2 8.45018L10.95 12.7002L8.8 10.6002L7.4 12.0002L10.95 15.5502Z" fill="#1C1B1F"/>
</g>
</svg>
...@@ -27,6 +27,7 @@ export enum Icons { ...@@ -27,6 +27,7 @@ export enum Icons {
AZ = 'az', AZ = 'az',
DELETE_FINALLY = 'delete_finally', DELETE_FINALLY = 'delete_finally',
DISCARD_DOCUMENT = 'discard_document', DISCARD_DOCUMENT = 'discard_document',
DONE = 'done',
EDIT = 'edit', EDIT = 'edit',
INCOMING = 'incoming', INCOMING = 'incoming',
LOESCHEN_ANFORDERN = 'request_deletion', LOESCHEN_ANFORDERN = 'request_deletion',
...@@ -39,5 +40,6 @@ export enum Icons { ...@@ -39,5 +40,6 @@ export enum Icons {
PDF_EXPORT = 'pdf_export', PDF_EXPORT = 'pdf_export',
RESUBMISSION_EXPIRED = 'resubmission_expired', RESUBMISSION_EXPIRED = 'resubmission_expired',
STAMP = 'stamp', STAMP = 'stamp',
VORGANG_VORPRUEFEN = 'vorgang_vorpruefen',
XDOMEA = 'xdomea_file', XDOMEA = 'xdomea_file',
} }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<goofy-client-menu-item *ngIf="vorgangWithEingang | hasLink: vorgangWithEingangLinkRel.EXECUTE_PROCESSOR" data-test-id="vorgang-execute-processor-button" <goofy-client-menu-item *ngIf="vorgangWithEingang | hasLink: vorgangWithEingangLinkRel.EXECUTE_PROCESSOR" data-test-id="vorgang-execute-processor-button"
headline="Vorgang automatisiert vorprüfen" headline="Vorgang automatisiert vorprüfen"
text="Eine Vorprüfung wird durchgeführt. Das Ergebnis wird als Kommentar hinzugefügt." text="Eine Vorprüfung wird durchgeführt. Das Ergebnis wird als Kommentar hinzugefügt."
icon="check_circle" icon="vorgang_vorpruefen"
[iconSizeBig]="true" [iconSizeBig]="true"
(click)="$event.stopPropagation()"> (click)="$event.stopPropagation()">
<goofy-client-vorgang-execute-processor-container [vorgangWithEingang]="vorgangWithEingang" (closeMenu)="closeMenu()"></goofy-client-vorgang-execute-processor-container> <goofy-client-vorgang-execute-processor-container [vorgangWithEingang]="vorgangWithEingang" (closeMenu)="closeMenu()"></goofy-client-vorgang-execute-processor-container>
......
...@@ -251,7 +251,7 @@ describe('VorgangDetailMoreMenuComponent', () => { ...@@ -251,7 +251,7 @@ describe('VorgangDetailMoreMenuComponent', () => {
const menuItem: MenuItemComponent = getMockComponent(fixture, MenuItemComponent); const menuItem: MenuItemComponent = getMockComponent(fixture, MenuItemComponent);
expect(menuItem.icon).toBe('check_circle'); expect(menuItem.icon).toBe('vorgang_vorpruefen');
}) })
it('should contains iconSizeBig', () => { it('should contains iconSizeBig', () => {
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
[stateResource]="commandStateResource$ | async" [stateResource]="commandStateResource$ | async"
(clickEmitter)="executeProccessor()" (clickEmitter)="executeProccessor()"
text="Vorgang vorprüfen" text="Vorgang vorprüfen"
icon="check_circle"> svgIcon="done">
</goofy-client-ozgcloud-button-with-spinner> </goofy-client-ozgcloud-button-with-spinner>
\ No newline at end of file
...@@ -85,13 +85,13 @@ describe('VorgangExecuteProcessorContainerComponent', () => { ...@@ -85,13 +85,13 @@ describe('VorgangExecuteProcessorContainerComponent', () => {
it('text', () => { it('text', () => {
const button: OzgcloudButtonWithSpinnerComponent = getMockComponent(fixture, OzgcloudButtonWithSpinnerComponent); const button: OzgcloudButtonWithSpinnerComponent = getMockComponent(fixture, OzgcloudButtonWithSpinnerComponent);
expect(button.text).toBe("Vorgang vorprüfen"); expect(button.text).toBe('Vorgang vorprüfen');
}) })
it('icon', () => { it('icon', () => {
const button: OzgcloudButtonWithSpinnerComponent = getMockComponent(fixture, OzgcloudButtonWithSpinnerComponent); const button: OzgcloudButtonWithSpinnerComponent = getMockComponent(fixture, OzgcloudButtonWithSpinnerComponent);
expect(button.icon).toBe("check_circle"); expect(button.svgIcon).toBe('done');
}) })
}) })
}) })
\ 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