@uipath/apollo-wind 2.94.1 → 2.95.1
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/components/ui/byo-model-dialog/byo-model-dialog.cjs +1297 -0
- package/dist/components/ui/byo-model-dialog/byo-model-dialog.d.ts +24 -0
- package/dist/components/ui/byo-model-dialog/byo-model-dialog.js +1263 -0
- package/dist/components/ui/byo-model-dialog/index.cjs +43 -0
- package/dist/components/ui/byo-model-dialog/index.d.ts +5 -0
- package/dist/components/ui/byo-model-dialog/index.js +3 -0
- package/dist/components/ui/byo-model-dialog/labels.cjs +114 -0
- package/dist/components/ui/byo-model-dialog/labels.d.ts +79 -0
- package/dist/components/ui/byo-model-dialog/labels.js +77 -0
- package/dist/components/ui/byo-model-dialog/types.cjs +18 -0
- package/dist/components/ui/byo-model-dialog/types.d.ts +187 -0
- package/dist/components/ui/byo-model-dialog/types.js +0 -0
- package/dist/components/ui/index.cjs +302 -289
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/index.cjs +19 -9
- package/dist/index.d.ts +7 -5
- package/dist/index.js +4 -3
- package/dist/styles.css +67 -0
- package/dist/tailwind.utilities.css +41 -0
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PortalContainerOverride } from '../portal-container';
|
|
2
|
+
import { type ByoModelDialogLabels } from './labels';
|
|
3
|
+
import type { ByoEditTarget, ByoModelDialogApi, ByoSavedModel } from './types';
|
|
4
|
+
export interface ByoModelDialogProps {
|
|
5
|
+
open: boolean;
|
|
6
|
+
onOpenChange: (open: boolean) => void;
|
|
7
|
+
api: ByoModelDialogApi;
|
|
8
|
+
/** Called once the model passed its test and was saved. The dialog closes itself afterwards. */
|
|
9
|
+
onSaved: (model: ByoSavedModel) => Promise<void> | void;
|
|
10
|
+
/** A saved model to edit. Without it the dialog adds a new model. */
|
|
11
|
+
editing?: ByoEditTarget;
|
|
12
|
+
labels?: Partial<ByoModelDialogLabels>;
|
|
13
|
+
/** Where the dialog portals to; defaults to the nearest `PortalContainerProvider`. */
|
|
14
|
+
container?: PortalContainerOverride;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* "Use your own model": pick a provider, reuse a saved connection or create
|
|
18
|
+
* one inline from the provider's credentials, pick a model, name it or pick the
|
|
19
|
+
* UiPath model it replaces, choose the API it is called through, then test and
|
|
20
|
+
* add it. A saved connection can be edited in place. With `editing`, the same
|
|
21
|
+
* steps start from a saved model and save the changes to it.
|
|
22
|
+
* Every call goes through `api`.
|
|
23
|
+
*/
|
|
24
|
+
export declare function ByoModelDialog({ open, onOpenChange, ...rest }: ByoModelDialogProps): import("react/jsx-runtime").JSX.Element;
|