backend.ai-ui 25.18.1 → 25.18.3
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/__generated__/BAIAdminResourceGroupSelectPaginationQuery.graphql.d.ts +39 -0
- package/dist/__generated__/BAIAdminResourceGroupSelectStoriesQuery.graphql.d.ts +11 -0
- package/dist/__generated__/BAIAdminResourceGroupSelect_scalingGroupsV2Fragment.graphql.d.ts +19 -0
- package/dist/__generated__/BAIImportArtifactModalImportArtifactsMutation.graphql.d.ts +1 -1
- package/dist/backend.ai-ui.js +5934 -5580
- package/dist/backend.ai-ui.js.map +1 -1
- package/dist/components/BAISelect.d.ts +2 -1
- package/dist/components/fragments/BAIAdminResourceGroupSelect.d.ts +7 -0
- package/dist/components/fragments/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -12,7 +12,8 @@ export interface BAISelectProps<ValueType = any, OptionType extends BaseOptionTy
|
|
|
12
12
|
bottomLoading?: boolean;
|
|
13
13
|
footer?: React.ReactNode;
|
|
14
14
|
endReached?: () => void;
|
|
15
|
+
searchAction?: (value: string) => Promise<void>;
|
|
15
16
|
}
|
|
16
17
|
declare function BAISelect<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ ref, autoSelectOption, ghost, tooltip, atBottomThreshold, atBottomStateChange, footer, endReached, // Destructure the new prop
|
|
17
|
-
...selectProps }: BAISelectProps<ValueType, OptionType>): React.ReactElement;
|
|
18
|
+
searchAction, ...selectProps }: BAISelectProps<ValueType, OptionType>): React.ReactElement;
|
|
18
19
|
export default BAISelect;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BAIAdminResourceGroupSelect_scalingGroupsV2Fragment$key } from '../../__generated__/BAIAdminResourceGroupSelect_scalingGroupsV2Fragment.graphql';
|
|
2
|
+
import { BAISelectProps } from '../BAISelect';
|
|
3
|
+
export interface BAIAdminResourceGroupSelectProps extends Omit<BAISelectProps, 'options' | 'labelInValue'> {
|
|
4
|
+
queryRef: BAIAdminResourceGroupSelect_scalingGroupsV2Fragment$key;
|
|
5
|
+
}
|
|
6
|
+
declare const BAIAdminResourceGroupSelect: ({ queryRef, loading, ...selectPropsWithoutLoading }: BAIAdminResourceGroupSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default BAIAdminResourceGroupSelect;
|
|
@@ -31,3 +31,5 @@ export type { BAIDeactivateArtifactsModalProps, BAIDeactivateArtifactsModalArtif
|
|
|
31
31
|
export { default as BAIActivateArtifactsModal } from './BAIActivateArtifactsModal';
|
|
32
32
|
export type { BAIActivateArtifactsModalProps, BAIActivateArtifactsModalArtifactsFragmentKey, } from './BAIActivateArtifactsModal';
|
|
33
33
|
export { default as BAIVFolderDeleteButton } from './BAIVFolderDeleteButton';
|
|
34
|
+
export { default as BAIAdminResourceGroupSelect } from './BAIAdminResourceGroupSelect';
|
|
35
|
+
export type { BAIAdminResourceGroupSelectProps } from './BAIAdminResourceGroupSelect';
|