@vis3/kit 1.1.12-alpha.1 → 1.1.12-alpha.2
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.
|
@@ -17,6 +17,8 @@ export interface BucketBlockProps<BucketType extends BaseBucketType> {
|
|
|
17
17
|
showPagination?: boolean;
|
|
18
18
|
showOpenInNewTab?: boolean;
|
|
19
19
|
showDownload?: boolean;
|
|
20
|
+
showSegmentSwitch?: boolean;
|
|
21
|
+
showFileInfo?: boolean;
|
|
20
22
|
closeable?: boolean;
|
|
21
23
|
onChange?: (params: Partial<BucketParams>) => void;
|
|
22
24
|
renderBucketItem?: (item: BucketType) => React.ReactNode;
|
|
@@ -26,4 +28,4 @@ export interface BucketBlockProps<BucketType extends BaseBucketType> {
|
|
|
26
28
|
onKeyClick?: (path: string, value: string) => void;
|
|
27
29
|
renderMarkdown?: (value: string) => React.ReactNode;
|
|
28
30
|
}
|
|
29
|
-
export declare function BucketBlock<T extends BaseBucketType>({ id, path, onClose, dataSource, style, className, loading, onDownload, pageSize, pageNo, onPathCorrection, showGoParent, showPagination, onChange, closeable, showOpenInNewTab, onOpenInNewTab, renderBucketItem, previewUrl, showDownload, onLinkClick, onKeyClick, }: BucketBlockProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function BucketBlock<T extends BaseBucketType>({ id, path, onClose, dataSource, style, className, loading, onDownload, pageSize, pageNo, onPathCorrection, showGoParent, showPagination, onChange, closeable, showOpenInNewTab, onOpenInNewTab, renderBucketItem, previewUrl, showDownload, showFileInfo, showSegmentSwitch, onLinkClick, onKeyClick, }: BucketBlockProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,6 +14,7 @@ export interface RenderBlockContextType<BucketType extends BaseBucketType> {
|
|
|
14
14
|
dataSource?: BucketType | BucketType[];
|
|
15
15
|
onDownload?: (path: string) => void;
|
|
16
16
|
renderBucketItem?: (item: BucketType) => React.ReactNode;
|
|
17
|
+
showSegmentSwitch?: boolean;
|
|
17
18
|
previewUrl?: string;
|
|
18
19
|
onLinkClick?: (path: string) => void;
|
|
19
20
|
onKeyClick?: (path: string, value: string) => void;
|