backend.ai-ui 25.16.0-canary-53cfb5654-20251110 → 25.16.0-canary-d6e3e35be-20251112
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.
- package/dist/backend.ai-ui.js +1019 -1016
- package/dist/backend.ai-ui.js.map +1 -1
- package/dist/helper/index.d.ts +3 -1
- package/dist/icons/BAIFileBrowserIcon.d.ts +5 -0
- package/dist/icons/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/helper/index.d.ts
CHANGED
|
@@ -113,7 +113,8 @@ export declare function addNumberWithUnits(size1: string, size2: string, targetU
|
|
|
113
113
|
export declare function subNumberWithUnits(size1: string, size2: string, targetUnit?: InputSizeUnit): string | undefined;
|
|
114
114
|
export declare function divideNumberWithUnits(size1: string, size2: string, targetUnit?: InputSizeUnit): string | undefined;
|
|
115
115
|
export declare const localeCompare: (a?: string | null, b?: string | null) => number;
|
|
116
|
-
|
|
116
|
+
type KnownGlobalIdType = 'VirtualFolderNode' | 'ComputeSessionNode' | 'UserNode';
|
|
117
|
+
export declare const toGlobalId: (type: KnownGlobalIdType, id: string) => string;
|
|
117
118
|
export declare const toLocalId: (globalId: string) => string;
|
|
118
119
|
/**
|
|
119
120
|
* Filters out empty values from an array. An item is considered "empty" if it is:
|
|
@@ -170,3 +171,4 @@ export declare const omitNullAndUndefinedFields: <T extends Record<string, any>>
|
|
|
170
171
|
* - Characters 26-51 map to lowercase letters a-z
|
|
171
172
|
*/
|
|
172
173
|
export declare const generateRandomString: (n?: number) => string;
|
|
174
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
|
|
2
|
+
interface BAIFileBrowserIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
|
|
3
|
+
}
|
|
4
|
+
declare const BAIFileBrowserIcon: React.FC<BAIFileBrowserIconProps>;
|
|
5
|
+
export default BAIFileBrowserIcon;
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -41,3 +41,4 @@ export { default as BAIUserUnionIcon } from './BAIUserUnionIcon';
|
|
|
41
41
|
export { default as BAIHuggingFaceIcon } from './BAIHuggingFaceIcon';
|
|
42
42
|
export { default as BAISftpIcon } from './BAISftpIcon';
|
|
43
43
|
export { default as BAIJupyterIcon } from './BAIJupyterIcon';
|
|
44
|
+
export { default as BAIFileBrowserIcon } from './BAIFileBrowserIcon';
|