RED-5399 - Toggle in preview: Make redactions (un)readable
This commit is contained in:
parent
9889ff4512
commit
2202eb273a
@ -13,8 +13,8 @@ import Annotation = Core.Annotations.Annotation;
|
||||
@Injectable()
|
||||
export class ReadableRedactionsService {
|
||||
readonly active$: Observable<boolean>;
|
||||
readonly #enableIcon = this._convertPath('/assets/icons/general/pdftron-action-disable-tooltips.svg');
|
||||
readonly #disableIcon = this._convertPath('/assets/icons/general/pdftron-action-enable-tooltips.svg');
|
||||
readonly #enableIcon = this._convertPath('/assets/icons/general/redaction-preview.svg');
|
||||
readonly #disableIcon = this._convertPath('/assets/icons/general/redaction-final.svg');
|
||||
readonly #active$ = new BehaviorSubject<boolean>(true);
|
||||
|
||||
constructor(
|
||||
|
||||
10
apps/red-ui/src/assets/icons/general/redaction-final.svg
Normal file
10
apps/red-ui/src/assets/icons/general/redaction-final.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 25.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#283241;}
|
||||
</style>
|
||||
<path class="st0" d="M100,77.4V22.6H75.1V10h15V0h-15c-2,0-3.5,0.5-5,1.5c-1.5-1-3-1.5-5-1.5h-15v10h15v12.6H0v54.8h65.1V90h-15v10
|
||||
h15c2,0,3.5-0.5,5-1.5c1.5,1,3,1.5,5,1.5h15V90h-15V77.4H100z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 638 B |
10
apps/red-ui/src/assets/icons/general/redaction-preview.svg
Normal file
10
apps/red-ui/src/assets/icons/general/redaction-preview.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 25.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#283241;}
|
||||
</style>
|
||||
<path class="st0" d="M100,77.4V22.6H75.1V10h15V0h-15c-2,0-3.5,0.5-5,1.5c-1.5-1-3-1.5-5-1.5h-15v10h15v12.6H0v54.8h65.1V90h-15v10
|
||||
h15c2,0,3.5-0.5,5-1.5c1.5,1,3,1.5,5,1.5h15V90h-15V77.4H100z M90.4,32.2v35.6H75.1V32.2H90.4z M9.6,67.8V32.2h55.5v35.6H9.6z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 700 B |
Loading…
x
Reference in New Issue
Block a user