@tplc/business
Version:
16 lines (15 loc) • 694 B
TypeScript
export declare const transformValueUnit: (value?: number | string, uni?: string) => string
/** 获取json字符串第一个url */
export declare const getJsonStrFirstUrl: (jsonStr?: string) => any
export declare const getJsonFromStr: (jsonStr?: string) => any
/** 获取json字符串列表 */
export declare const getJsonStrList: (jsonStr?: string) => any
/** 删除其他外部字段 */
export declare const cleanOutSizeKeys: (obj: Record<string, any>, keys?: string[]) => {}
export declare const getSliderTitle: (
translate: (v: string) => string,
value?: number[],
max?: number,
min?: number,
) => string
export declare const getFlexStyle: (align?: string) => Record<string, string>