UNPKG

@asoftwareworld/form-builder-pro

Version:

ASW Form Builder Pro helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same b

36 lines (35 loc) 1.23 kB
/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ export declare class ObjectUtils { static keyPressNumbersWithDecimal(event: any): boolean; static resetForm(formContainer: any[]): any[]; private static resetChildControls; static generateUUID(control: any): any; static validateForm(formContainer: any[]): any; private static validateFormChilds; static calculateValue(operations: any[]): number; static missingOrEmpty<T>(value?: T[] | string | null): boolean; static exists(value: any, allowEmptyString?: boolean): boolean; static stringToUtf8Arr(sDOMStr: string): Uint8Array; /** * Converst string to ArrayBuffer */ static stringToArrayBuffer(dataString: string): ArrayBuffer; /** * Converts Uint8Array to a string */ static utf8ArrToString(aBytes: Uint8Array): string; /** * Returns stringified jwk. */ static getSortedObjectString(obj: object): string; static findDeviceSize(containerWidth: number): number; static UUID(): string; private static pad4; private static random4; }