@nocobase/client 2.1.0-beta.25 → 2.1.0-beta.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,6 +12,7 @@ interface PageProps {
|
|
|
12
12
|
currentTabUid: string;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
+
export declare const useKeepAliveLocationSearch: () => string;
|
|
15
16
|
export declare const Page: React.MemoExoticComponent<(props: PageProps) => React.JSX.Element>;
|
|
16
17
|
export declare const PageTabs: () => React.JSX.Element;
|
|
17
18
|
export declare function navigateToTab({ activeKey, navigate, basename, pathname, }: {
|
|
@@ -33,6 +33,10 @@ export interface AttachmentFileType {
|
|
|
33
33
|
}>;
|
|
34
34
|
Previewer?: React.ComponentType<PreviewerProps>;
|
|
35
35
|
}
|
|
36
|
+
export declare const getNameFromUrl: (url?: string) => string;
|
|
37
|
+
export declare const getExtname: (value?: string) => string;
|
|
38
|
+
export declare const getTitleFromName: (value?: string) => string;
|
|
39
|
+
export declare const getFileDownloadName: (file: Partial<FileModel> & Record<string, any>) => string;
|
|
36
40
|
export declare class AttachmentFileTypes {
|
|
37
41
|
types: AttachmentFileType[];
|
|
38
42
|
add(type: AttachmentFileType): void;
|