systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
26 lines (25 loc) • 1.15 kB
HTML
<div class="slab-searcher-container d-flex flex-nowrap" [ngClass]="{'disabled': isDisabled}" [ngStyle]="getInputHeight()">
<div class="input-group" style="width: 120px;">
<input
[(ngModel)]="code"
(blur)="doSearch()"
[ ]="tabindex"
[ ]="isDisabled"
[ ]="fontFamily"
[ ]="fontSize"
[ ]="fontWeight"
[ ]="getInputHeight()"
[ ]="fontStyle">
<div class="input-group-append">
@if (withButton) {
<button class="btn btn-sm py-0" type="button" [disabled]="isDisabled" [ngStyle]="getWidth()"
(click)="openSearchDialog()"><i class="icon-search"></i></button>
}
</div>
</div>
<p class="slab-flex-1 text-truncate mb-0 ml-1" style="width: 30px;" [ngStyle]="getLineHeight()"
[ ]="fontFamily"
[ ]="fontSize"
[ ]="fontWeight"
[ ]="fontStyle" systelabTooltip="{{searchingValue}}">{{searchingValue}}</p>
</div>