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.
45 lines (44 loc) • 1.6 kB
HTML
<div class="d-flex">
@if (showCalendar || withIntegratedTime) {
<systelab-datepicker
[(currentDate)]="currentDate"
(currentDateChange)="currentDateChange.emit($event)"
[ ]="disabled"
[ ]="error"
[ ]="markPreviousAfterDate"
[ ]="required"
[ ]="inputExpandHeight"
[ ]="inputFontSize"
[ ]="showTodayButton"
[ ]="tabindex"
[ ]="maxDate"
[ ]="minDate"
[ ]="warnDaysAfter"
[ ]="warnDaysBefore"
[ ]="autofocus"
[ ]="!showCalendar"
[ ]="withIntegratedTime"
[ ]="inline"
[ ]="showOtherMonths"
[ ]="selectOtherMonths"></systelab-datepicker>
}
@if (!withIntegratedTime) {
<systelab-spinner class="d-flex h-100" id="hours"
[ ]="touchSpinHourValues"
[ ]="true"
[(value)]="touchSpinHourValues.value"
[ ]="disabled"
[ ]="error"
[ ]="tabindex"
(valueChange)="currentHoursChanged($event)"></systelab-spinner>
<label class="mx-1 my-0" [class.text-danger]="error">:</label>
<systelab-spinner class="d-flex h-100" id="minutes"
[ ]="touchSpinMinutesValues"
[ ]="true"
[ ]="tabindex"
[(value)]="touchSpinMinutesValues.value"
[ ]="disabled"
[ ]="error"
(valueChange)="currentMinutesChanged($event)"></systelab-spinner>
}
</div>