move chevron button component to common-lib
This commit is contained in:
parent
638978872d
commit
9289d692ef
@ -25,10 +25,10 @@
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<redaction-chevron-button
|
||||
<iqser-chevron-button
|
||||
[label]="'file-attributes-csv-import.table-header.actions.type' | translate"
|
||||
[matMenuTriggerFor]="typeMenu"
|
||||
></redaction-chevron-button>
|
||||
></iqser-chevron-button>
|
||||
|
||||
<mat-menu #readOnlyMenu="matMenu" class="padding-bottom-8">
|
||||
<button
|
||||
|
||||
@ -14,7 +14,6 @@ export class IconsModule {
|
||||
'add',
|
||||
'analyse',
|
||||
'approved',
|
||||
'arrow-down',
|
||||
'arrow-down-o',
|
||||
'arrow-right',
|
||||
'arrow-up',
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<button [class.overlay]="showDot" mat-button>
|
||||
<redaction-initials-avatar [userId]="user.userId" [withName]="true" size="small"></redaction-initials-avatar>
|
||||
<mat-icon svgIcon="red:arrow-down"></mat-icon>
|
||||
<mat-icon svgIcon="iqser:arrow-down"></mat-icon>
|
||||
</button>
|
||||
<div *ngIf="showDot" class="dot"></div>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
{{ currentMatch + '/' + findMatches.length }}
|
||||
</div>
|
||||
<mat-icon (click)="previousSearchMatch()" class="pointer" svgIcon="red:arrow-up"></mat-icon>
|
||||
<mat-icon (click)="nextSearchMatch()" class="pointer" svgIcon="red:arrow-down"></mat-icon>
|
||||
<mat-icon (click)="nextSearchMatch()" class="pointer" svgIcon="iqser:arrow-down"></mat-icon>
|
||||
<mat-icon (click)="searchChanged(''); inputElement.focus()" class="pointer" svgIcon="red:close"></mat-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -6,12 +6,12 @@
|
||||
[showDot]="hasActiveFilters"
|
||||
></iqser-icon-button>
|
||||
|
||||
<redaction-chevron-button
|
||||
<iqser-chevron-button
|
||||
*ngIf="!icon"
|
||||
[label]="filterLabel || ('filter-menu.label' | translate)"
|
||||
[matMenuTriggerFor]="filterMenu"
|
||||
[showDot]="hasActiveFilters"
|
||||
></redaction-chevron-button>
|
||||
></iqser-chevron-button>
|
||||
|
||||
<mat-menu #filterMenu="matMenu" (closed)="applyFilters()" [class.padding-bottom-0]="secondaryFilters?.length > 0" xPosition="before">
|
||||
<ng-template matMenuContent>
|
||||
@ -66,7 +66,7 @@
|
||||
<ng-template #defaultFilterTemplate let-atLeastOneIsExpandable="atLeastOneIsExpandable" let-filter="filter">
|
||||
<div (click)="toggleFilterExpanded($event, filter)" class="mat-menu-item flex">
|
||||
<div *ngIf="isExpandable(filter)" class="arrow-wrapper">
|
||||
<mat-icon *ngIf="_(filter).expanded" color="accent" svgIcon="red:arrow-down"></mat-icon>
|
||||
<mat-icon *ngIf="_(filter).expanded" color="accent" svgIcon="iqser:arrow-down"></mat-icon>
|
||||
<mat-icon *ngIf="!_(filter).expanded" color="accent" svgIcon="red:arrow-right"></mat-icon>
|
||||
</div>
|
||||
<div *ngIf="atLeastOneIsExpandable && !isExpandable(filter)" class="arrow-wrapper spacer"> </div>
|
||||
|
||||
@ -6,7 +6,6 @@ import { InitialsAvatarComponent } from './components/initials-avatar/initials-a
|
||||
import { ScrollingModule } from '@angular/cdk/scrolling';
|
||||
import { TableColNameComponent } from './components/table-col-name/table-col-name.component';
|
||||
import { PaginationComponent } from './components/pagination/pagination.component';
|
||||
import { ChevronButtonComponent } from './components/buttons/chevron-button/chevron-button.component';
|
||||
import { CircleButtonComponent } from './components/buttons/circle-button/circle-button.component';
|
||||
import { FileDownloadBtnComponent } from './components/buttons/file-download-btn/file-download-btn.component';
|
||||
import { UserButtonComponent } from './components/buttons/user-button/user-button.component';
|
||||
@ -41,7 +40,7 @@ import { DatePipe } from '@shared/pipes/date.pipe';
|
||||
import { TableHeaderComponent } from './components/table-header/table-header.component';
|
||||
import { CommonUiModule } from '@iqser/common-ui';
|
||||
|
||||
const buttons = [ChevronButtonComponent, CircleButtonComponent, FileDownloadBtnComponent, UserButtonComponent];
|
||||
const buttons = [CircleButtonComponent, FileDownloadBtnComponent, UserButtonComponent];
|
||||
|
||||
const components = [
|
||||
FullPageLoadingIndicatorComponent,
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="14px" version="1.1" viewBox="0 0 14 14" width="14px"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="none" fill-rule="evenodd" id="Styleguide" stroke="none" stroke-width="1">
|
||||
<g id="Styleguide-Buttons" transform="translate(-469.000000, -757.000000)">
|
||||
<rect height="906" width="904" x="0" y="0"></rect>
|
||||
<rect height="34" id="Rectangle" rx="17" width="134" x="359" y="747"></rect>
|
||||
<g fill="currentColor" id="right" transform="translate(469.000000, 757.000000)">
|
||||
<polygon id="Fill-1" points="7 9 10 5 4 5"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 678 B |
@ -1 +1 @@
|
||||
Subproject commit 29995f481c2d353df4ab648a4132f45dea012df1
|
||||
Subproject commit e8de4ccdf9a4d97e8fd6a6a08eb3be06b7e2c11e
|
||||
Loading…
x
Reference in New Issue
Block a user