backend.ai-ui 25.16.0-canary-44fbffb95-20251105 → 25.16.0-canary-53cfb5654-20251110
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 +2628 -2585
- package/dist/backend.ai-ui.js.map +1 -1
- package/dist/helper/index.d.ts +18 -0
- package/dist/icons/BAIJupyterIcon.d.ts +5 -0
- package/dist/icons/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/helper/index.d.ts
CHANGED
|
@@ -152,3 +152,21 @@ export declare function filterOutNullAndUndefined<T extends {
|
|
|
152
152
|
* @returns A new object with the same properties as `input`, except those with `null` or `undefined` values.
|
|
153
153
|
*/
|
|
154
154
|
export declare const omitNullAndUndefinedFields: <T extends Record<string, any>>(input: T) => Partial<T>;
|
|
155
|
+
/**
|
|
156
|
+
* Generates a random string of alphabetic characters.
|
|
157
|
+
*
|
|
158
|
+
* @param n - The length of the random string to generate. Defaults to 3.
|
|
159
|
+
* @returns A random string containing uppercase and lowercase letters of the specified length.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```typescript
|
|
163
|
+
* generateRandomString(); // Returns a 3-character string like "AbC"
|
|
164
|
+
* generateRandomString(5); // Returns a 5-character string like "XyZaB"
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @remarks
|
|
168
|
+
* The function uses a base-52 number system where:
|
|
169
|
+
* - Characters 0-25 map to uppercase letters A-Z
|
|
170
|
+
* - Characters 26-51 map to lowercase letters a-z
|
|
171
|
+
*/
|
|
172
|
+
export declare const generateRandomString: (n?: number) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
|
|
2
|
+
interface BAIHuggingFaceIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
|
|
3
|
+
}
|
|
4
|
+
declare const BAIJupyterIcon: React.FC<BAIHuggingFaceIconProps>;
|
|
5
|
+
export default BAIJupyterIcon;
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -40,3 +40,4 @@ export { default as BAIUserOutlinedIcon } from './BAIUserOutlinedIcon';
|
|
|
40
40
|
export { default as BAIUserUnionIcon } from './BAIUserUnionIcon';
|
|
41
41
|
export { default as BAIHuggingFaceIcon } from './BAIHuggingFaceIcon';
|
|
42
42
|
export { default as BAISftpIcon } from './BAISftpIcon';
|
|
43
|
+
export { default as BAIJupyterIcon } from './BAIJupyterIcon';
|