@doku-dev/doku-fragment
Version:
A new Angular UI library that moving away from Bootstrap and built from scratch.
19 lines (18 loc) • 693 B
TypeScript
import { DokuSelectOptionItemRecord } from '../select.interface';
export declare class ValueUtil {
/**
* Convert plain value into full details from the items.
*/
static convertValueToFullDetails(value: string | string[], items: DokuSelectOptionItemRecord[], options: {
multiple?: boolean;
bindValue: string;
prevValueDetails?: DokuSelectOptionItemRecord[];
}): DokuSelectOptionItemRecord[];
/**
* Normalize input value to the result.
*/
static normalizeValue(prevValue: string | string[], value: string | string[], options: {
multiple: boolean;
}): string | string[];
private static convertSingleValueToString;
}