Skip to content

@labmin/fusion-angular-ui ​

LIMS-styled Angular component library (^0.6.2) built on Tailwind 4 + daisyUI (labmin theme) using PrimeNG-compatible APIs (directives renamed p* → fusion*).

css
/* Included once in admin/app.css */
@import "@labmin/fusion-angular-ui/styles.css";
Component / DirectiveUsageKey features
Breadcrumb<fusion-breadcrumb [home]="home" [model]="items" />White LIMS breadcrumb bar with MenuItems (label, icon, url, fusionLink, command).
Tabs<fusion-tabs [tabs]="tabs()" [active]="key" surface="grey|white|none">Dark #343A40 link tab bar (Tab: key, title, href, hidden, disabled, disabledReason) using FusionLink.
Panel<fusion-panel header="..." toggleable [(collapsed)]="closed">Square LIMS panel (base-200 heading, base-300 border) with #header, #icons, #footer templates.
Fieldset<fusion-fieldset legend="..." toggleable>Native <fieldset>/<legend> with optional animated collapse.
Accordion<fusion-accordion [(value)]="open"> + <fusion-accordion-panel>, <fusion-accordion-header>, <fusion-accordion-content>Multi/single accordion with full keyboard support.
Divider<fusion-divider align="left" type="dashed">Horizontal or vertical separator (solid, dashed, dotted).

Data Tables & Filtering ​

Component / ModuleUsageKey features
TableModule<fusion-table #dt [value]="rows" dataKey="id" sortField="name" paginator [rows]="25" stripedRows size="small">LIMS ledger table: #header, #body, #emptymessage templates; fusionSortableColumn + <fusion-sortIcon>; paginator (rowsPerPageOptions); row selection (fusionSelectableRow, fusion-tableCheckbox); fusionFrozenColumn; exportCSV(); lazy loading (onLazyLoad); inline editing (fusionEditableColumn/fusionEditableRow).
FilterBar<fusion-filterbar [for]="dt" [fields]="fields" [(filters)]="filters" />Chip-based filter bar (+ Filter top-layer popover). Field kinds: options (checkbox list with counts & search), text (contains/does not contain), date (on/before/after/between), plus isSet/isNotSet. Connects directly to <fusion-table #dt> via [for]="dt", or read bar.filteredValue().
Paginator<fusion-paginator [(first)]="first" [(rows)]="rows" [totalRecords]="total" />Standalone LIMS paginator with page links, rows-per-page dropdown, and jump-to-page controls.

Dialogs, Overlays & Feedback ​

ExportUsageKey features
Dialog<fusion-dialog [(visible)]="open" header="..." [style]="{ width: '480px' }">Native top-layer <dialog>: modal, closable, closeOnEscape, dismissableMask, draggable, resizable, maximizable, position, header/footer templates.
DialogServicedialogService.open(MyComponent, { header, width, data })Dynamic dialogs returning DynamicDialogRef (close(result), onClose).
ConfirmDialog + ConfirmationService<fusion-confirmdialog /> + confirmation.confirm({ header, message, accept, defaultFocus: "reject", ... })Modal yes/no prompts with button severities and icons. Always pass defaultFocus: "reject" on destructive prompts.
ConfirmPopup<fusion-confirmpopup /> + confirmation.confirm({ target, message, accept })Anchored top-layer confirmation popover beside a trigger button.
Popover<fusion-popover #op> with (click)="op.toggle($event)"Arbitrary content anchored beside its target in the top layer.
Toast + toastStore<fusion-toast /> (mounted in app.component.ts); toastStore.success(...) / error / warning / infoSquare tinted notifications with countdown timer bar.
Message<fusion-message severity="info|warn|error|success|secondary">Inline LIMS alert banner (closable, icon, variant).
Tooltip<button fusionTooltip="Details" tooltipPosition="top">Top-layer text-only tooltip (hover/focus/both, delays, aria-describedby).
Tag, Badge, OverlayBadge, Chip, Avatar<fusion-tag severity="success" value="Approved" />, <fusion-badge value="3" />, <fusion-chip removable />Status labels, corner count badges, removable chips, and avatars.
ProgressBar, ProgressSpinner, Skeleton<fusion-progressbar [value]="62" />, <fusion-progressspinner />, <fusion-skeleton />Progress indicators and loading placeholders.
ExportUsageKey features
Button<button fusionButton class="btn-success font-normal">Works on <button> and <a>; respects <fusion-fluid>.
SplitButton<fusion-splitbutton label="Save" [model]="items" (onClick)="save()" />Primary button joined to a popup TieredMenu of secondary actions.
Menu, TieredMenu, ContextMenu, Menubar<fusion-menu popup #m [model]="items" />, <fusion-contextmenu [target]="el" [model]="items" />Top-layer menus supporting Lucide icons, fusionLink, groups, submenus, and keyboard navigation.

Form Inputs ​

All form controls support [(ngModel)] (FormsModule), Reactive Forms, or two-way signal binding ([(value)]/[(modelValue)]), plus size, fluid, invalid, disabled, and variant="filled".

ExportSelector / UsagePurpose
InputText<input fusionInputText />Native input styled with daisyUI input (fusion-filled state for FloatLabel).
Textarea<textarea fusionTextarea autoResize></textarea>Auto-resizing textarea.
Select<fusion-select [options]="labs" optionLabel="name" optionValue="id" [(ngModel)]="labId" />Searchable dropdown select (filter, showClear, fluid).
AutoComplete<fusion-autocomplete [suggestions]="found" (completeMethod)="search($event.query)" />Async suggestions and multi-value chips.
Listbox, CascadeSelect, TreeSelect<fusion-listbox>, <fusion-cascadeselect>, <fusion-treeselect>Always-open lists, cascading trees, and hierarchical selects.
DatePicker<fusion-datepicker [(ngModel)]="date" dateFormat="dd/mm/yy" showIcon />Single, multiple, range, and time picker with Intl locales.
InputNumber, InputMask, InputOtp, Password, KeyFilter<fusion-inputnumber>, <fusion-inputmask>, <fusion-inputotp>, <fusion-password>, fusionKeyFilterFormatted numbers, masked strings, OTP inputs, password strength meter, and keystroke filters.
Checkbox, RadioButton, ToggleSwitch, ToggleButton, SelectButton, Slider, Knob, Rating, ColorPicker<fusion-checkbox binary>, <fusion-toggleswitch>, <fusion-selectbutton>, etc.Boolean toggles, segmented button groups, range sliders, ratings, and colour pickers.
Editor<fusion-editor [(ngModel)]="html" />Shadow-root-safe Quill 2 rich text editor.
FileUpload<fusion-fileupload name="files[]" [url]="..." [headers]="{ 'X-App-Request': 'true' }" />Drag-and-drop or basic file uploader with validation & progress.
FloatLabel, IftaLabel, IconField, InputGroup, Fluid<fusion-floatlabel>, <fusion-inputgroup>, <fusion-fluid>Field layout decorators and full-width form containers.
CodeBlock<fusion-codeblock [code]="snippet" language="ts" />Syntax-highlighted code box with Copy button.

Labmin LIMS Module Developer Documentation