libmodulor
Version:
A TypeScript library to create platform-agnostic applications
8 lines (7 loc) • 685 B
TypeScript
import type { DataType } from '../../dt/index.js';
import type { WordingManager } from '../../i18n/index.js';
import type { UCOPIBase } from '../opi.js';
import type { UCInputField } from '../UCInputField.js';
import type { UCOutputField } from '../UCOutputField.js';
export declare function fmtInputVal<T extends DataType>(wordingManager: WordingManager, field: UCInputField<T>, ifNullOrUndefined?: string | undefined): [string, string | null, string];
export declare function fmtOPIVal<OPI extends UCOPIBase, T extends DataType>(wordingManager: WordingManager, field: UCOutputField<OPI, T>, item: OPI | null, ifNullOrUndefined?: string | undefined): [string, string | null, string];