parent
ca8d2d9d5a
commit
566613be9f
|
@ -1,5 +1,10 @@
|
|||
import { uuid } from '@primeuix/utils/uuid';
|
||||
|
||||
/**
|
||||
* @deprecated since v4.3.0. Use `uuid` from @primeuix/utils instead.
|
||||
* @param {string} prefix
|
||||
* @return {string}
|
||||
*/
|
||||
export default function (prefix = 'pv_id_') {
|
||||
return uuid(prefix);
|
||||
}
|
||||
|
|
|
@ -16,4 +16,9 @@ export declare class HelperSet {
|
|||
get(parentInstance?: any, slots?: any): any[] | null | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since v4.3.0. Use `uuid` from @primeuix/utils instead.
|
||||
* @param {string} prefix
|
||||
* @return {string}
|
||||
*/
|
||||
export declare function UniqueComponentId(prefix?: string): string;
|
||||
|
|
Loading…
Reference in New Issue