apply flexCopy directive

This commit is contained in:
Kyle Spearrin 2019-01-23 16:27:12 -05:00
parent 73c217afcf
commit 4f222e7962
5 changed files with 7 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit 5c7a911b2e84f89d4509b2fd786d47c4fb5c3719 Subproject commit 09df62db4cb29832313bf612fa8b77c63a11f026

View File

@ -49,6 +49,7 @@ import { AutofocusDirective } from 'jslib/angular/directives/autofocus.directive
import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive'; import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive';
import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive'; import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive';
import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive'; import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive';
import { FlexCopyDirective } from 'jslib/angular/directives/flex-copy.directive';
import { InputVerbatimDirective } from 'jslib/angular/directives/input-verbatim.directive'; import { InputVerbatimDirective } from 'jslib/angular/directives/input-verbatim.directive';
import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive'; import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive';
import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive'; import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive';
@ -166,6 +167,7 @@ registerLocaleData(localeZhTw, 'zh-TW');
EnvironmentComponent, EnvironmentComponent,
ExportComponent, ExportComponent,
FallbackSrcDirective, FallbackSrcDirective,
FlexCopyDirective,
FolderAddEditComponent, FolderAddEditComponent,
FoldersComponent, FoldersComponent,
GroupingsComponent, GroupingsComponent,

View File

@ -20,7 +20,7 @@
<div class="box-content-row box-content-row-flex" *ngFor="let h of history"> <div class="box-content-row box-content-row-flex" *ngFor="let h of history">
<div class="row-main"> <div class="row-main">
<div class="row-main-content"> <div class="row-main-content">
<div class="text monospaced password-wrapper no-ellipsis" <div class="text monospaced password-wrapper no-ellipsis" appFlexCopy
[innerHTML]="h.password | colorPassword"></div> [innerHTML]="h.password | colorPassword"></div>
<span class="detail">{{h.date | date:'medium'}}</span> <span class="detail">{{h.date | date:'medium'}}</span>
</div> </div>

View File

@ -11,7 +11,7 @@
</div> </div>
</header> </header>
<content> <content>
<div class="password-block password-wrapper" [innerHTML]="password | colorPassword"></div> <div class="password-block password-wrapper" [innerHTML]="password | colorPassword" appFlexCopy></div>
<div class="box list"> <div class="box list">
<div class="box-content single-line"> <div class="box-content single-line">
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick <a class="box-content-row text-primary" href="#" appStopClick appBlurClick

View File

@ -36,9 +36,9 @@
<div class="box-content-row box-content-row-flex" *ngIf="cipher.login.password"> <div class="box-content-row box-content-row-flex" *ngIf="cipher.login.password">
<div class="row-main"> <div class="row-main">
<span class="row-label">{{'password' | i18n}}</span> <span class="row-label">{{'password' | i18n}}</span>
<div [hidden]="showPassword" class="monospaced password-wrapper"> <div [hidden]="showPassword" class="monospaced password-wrapper" appFlexCopy>
{{cipher.login.maskedPassword}}</div> {{cipher.login.maskedPassword}}</div>
<div [hidden]="!showPassword" class="monospaced password-wrapper" <div [hidden]="!showPassword" class="monospaced password-wrapper" appFlexCopy
[innerHTML]="cipher.login.password | colorPassword"></div> [innerHTML]="cipher.login.password | colorPassword"></div>
</div> </div>
<div class="action-buttons"> <div class="action-buttons">