@uipath/apollo-wind 2.95.2 → 2.96.0
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/forms/aria-ids.cjs +24 -2
- package/dist/components/forms/aria-ids.d.ts +15 -0
- package/dist/components/forms/aria-ids.js +14 -1
- package/dist/components/forms/field-control.cjs +18 -16
- package/dist/components/forms/field-control.d.ts +6 -5
- package/dist/components/forms/field-control.js +19 -17
- package/dist/components/forms/field-renderer.cjs +14 -10
- package/dist/components/forms/field-renderer.js +15 -11
- package/dist/components/forms/form-schema.d.ts +6 -1
- package/dist/components/forms/metadata-form.cjs +8 -3
- package/dist/components/forms/metadata-form.js +9 -4
- package/dist/components/forms/mode-aware-field.cjs +11 -9
- package/dist/components/forms/mode-aware-field.js +12 -10
- package/dist/components/forms/string-list-field.cjs +10 -6
- package/dist/components/forms/string-list-field.d.ts +1 -1
- package/dist/components/forms/string-list-field.js +10 -6
- package/dist/components/ui/byo-model-dialog/byo-model-dialog.cjs +340 -212
- package/dist/components/ui/byo-model-dialog/byo-model-dialog.js +342 -214
- package/dist/components/ui/byo-model-dialog/index.d.ts +1 -1
- package/dist/components/ui/byo-model-dialog/labels.cjs +22 -10
- package/dist/components/ui/byo-model-dialog/labels.d.ts +19 -5
- package/dist/components/ui/byo-model-dialog/labels.js +22 -10
- package/dist/components/ui/byo-model-dialog/model-alias-picker.cjs +293 -0
- package/dist/components/ui/byo-model-dialog/model-alias-picker.d.ts +24 -0
- package/dist/components/ui/byo-model-dialog/model-alias-picker.js +259 -0
- package/dist/components/ui/byo-model-dialog/types.d.ts +19 -0
- package/dist/components/ui/index.cjs +22 -22
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Check, ChevronDown, Pencil, Plus } from "lucide-react";
|
|
3
|
+
import { useEffect, useRef, useState } from "react";
|
|
4
|
+
import { Button } from "../button.js";
|
|
5
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "../command.js";
|
|
6
|
+
import { Input } from "../input.js";
|
|
7
|
+
import { Popover, PopoverContent, PopoverTrigger } from "../popover.js";
|
|
8
|
+
import { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger } from "../tooltip.js";
|
|
9
|
+
import { cn } from "../../../lib/index.js";
|
|
10
|
+
function ModelAliasPicker({ replaceable, allowsCustom, value, onChange, disabled, invalid, container, labels }) {
|
|
11
|
+
const [open, setOpen] = useState(false);
|
|
12
|
+
const [query, setQuery] = useState('');
|
|
13
|
+
const [adding, setAdding] = useState(false);
|
|
14
|
+
const [draft, setDraft] = useState('');
|
|
15
|
+
const searchRef = useRef(null);
|
|
16
|
+
const custom = value?.kind === 'custom' ? value.name : null;
|
|
17
|
+
const q = query.trim().toLowerCase();
|
|
18
|
+
const shown = replaceable.filter((m)=>m.name.toLowerCase().includes(q));
|
|
19
|
+
const customShown = custom?.toLowerCase().includes(q) ?? false;
|
|
20
|
+
const close = ()=>{
|
|
21
|
+
setOpen(false);
|
|
22
|
+
setQuery('');
|
|
23
|
+
setAdding(false);
|
|
24
|
+
setDraft('');
|
|
25
|
+
};
|
|
26
|
+
const choose = (alias)=>{
|
|
27
|
+
onChange(alias);
|
|
28
|
+
close();
|
|
29
|
+
};
|
|
30
|
+
const startAdding = ()=>{
|
|
31
|
+
setDraft(custom ?? query.trim());
|
|
32
|
+
setAdding(true);
|
|
33
|
+
};
|
|
34
|
+
const [returning, setReturning] = useState(false);
|
|
35
|
+
const stopAdding = ()=>{
|
|
36
|
+
setAdding(false);
|
|
37
|
+
setReturning(true);
|
|
38
|
+
};
|
|
39
|
+
useEffect(()=>{
|
|
40
|
+
if (!returning) return;
|
|
41
|
+
setReturning(false);
|
|
42
|
+
searchRef.current?.focus();
|
|
43
|
+
}, [
|
|
44
|
+
returning
|
|
45
|
+
]);
|
|
46
|
+
const confirmCustom = ()=>{
|
|
47
|
+
const name = draft.trim();
|
|
48
|
+
if (name) choose({
|
|
49
|
+
kind: 'custom',
|
|
50
|
+
name
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const placeholder = replaceable.length ? labels.replacementPlaceholder : labels.addCustomAlias;
|
|
54
|
+
const customGroup = allowsCustom && (null === custom || customShown) && /*#__PURE__*/ jsx(CommandGroup, {
|
|
55
|
+
heading: labels.useOwnName,
|
|
56
|
+
children: null !== custom ? /*#__PURE__*/ jsxs(CommandItem, {
|
|
57
|
+
value: `custom:${custom}`,
|
|
58
|
+
onSelect: ()=>choose({
|
|
59
|
+
kind: 'custom',
|
|
60
|
+
name: custom
|
|
61
|
+
}),
|
|
62
|
+
className: "gap-2 py-1",
|
|
63
|
+
children: [
|
|
64
|
+
/*#__PURE__*/ jsx(Selected, {
|
|
65
|
+
on: true
|
|
66
|
+
}),
|
|
67
|
+
/*#__PURE__*/ jsx("span", {
|
|
68
|
+
className: "min-w-0 truncate font-mono text-xs text-foreground",
|
|
69
|
+
children: custom
|
|
70
|
+
}),
|
|
71
|
+
/*#__PURE__*/ jsx(TooltipProvider, {
|
|
72
|
+
delayDuration: 300,
|
|
73
|
+
children: /*#__PURE__*/ jsxs(Tooltip, {
|
|
74
|
+
children: [
|
|
75
|
+
/*#__PURE__*/ jsx(TooltipTrigger, {
|
|
76
|
+
asChild: true,
|
|
77
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
78
|
+
variant: "ghost",
|
|
79
|
+
size: "3xs",
|
|
80
|
+
icon: true,
|
|
81
|
+
className: "ml-auto",
|
|
82
|
+
"aria-label": labels.editCustomAlias,
|
|
83
|
+
onPointerDown: (e)=>e.stopPropagation(),
|
|
84
|
+
onKeyDown: (e)=>{
|
|
85
|
+
if ('Enter' === e.key || ' ' === e.key) e.stopPropagation();
|
|
86
|
+
},
|
|
87
|
+
onClick: (e)=>{
|
|
88
|
+
e.preventDefault();
|
|
89
|
+
e.stopPropagation();
|
|
90
|
+
startAdding();
|
|
91
|
+
},
|
|
92
|
+
children: /*#__PURE__*/ jsx(Pencil, {})
|
|
93
|
+
})
|
|
94
|
+
}),
|
|
95
|
+
/*#__PURE__*/ jsx(TooltipPortal, {
|
|
96
|
+
container: container,
|
|
97
|
+
children: /*#__PURE__*/ jsx(TooltipContent, {
|
|
98
|
+
children: labels.editCustomAlias
|
|
99
|
+
})
|
|
100
|
+
})
|
|
101
|
+
]
|
|
102
|
+
})
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
}) : /*#__PURE__*/ jsxs(CommandItem, {
|
|
106
|
+
value: "custom:add",
|
|
107
|
+
onSelect: startAdding,
|
|
108
|
+
className: "gap-2 py-1.5 text-foreground-accent",
|
|
109
|
+
children: [
|
|
110
|
+
/*#__PURE__*/ jsx(Plus, {
|
|
111
|
+
size: 14
|
|
112
|
+
}),
|
|
113
|
+
labels.addCustomAlias
|
|
114
|
+
]
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
const customLast = Boolean(q) && null === custom && shown.length > 0;
|
|
118
|
+
return /*#__PURE__*/ jsxs(Popover, {
|
|
119
|
+
open: open,
|
|
120
|
+
onOpenChange: (next)=>next ? setOpen(true) : close(),
|
|
121
|
+
modal: true,
|
|
122
|
+
children: [
|
|
123
|
+
/*#__PURE__*/ jsx(PopoverTrigger, {
|
|
124
|
+
asChild: true,
|
|
125
|
+
children: /*#__PURE__*/ jsxs(Button, {
|
|
126
|
+
variant: "outline",
|
|
127
|
+
role: "combobox",
|
|
128
|
+
"aria-expanded": open,
|
|
129
|
+
"aria-label": labels.nameStep,
|
|
130
|
+
"aria-invalid": invalid || void 0,
|
|
131
|
+
disabled: disabled,
|
|
132
|
+
className: "w-full justify-between font-normal",
|
|
133
|
+
children: [
|
|
134
|
+
value ? /*#__PURE__*/ jsxs("span", {
|
|
135
|
+
className: "flex min-w-0 items-center gap-2",
|
|
136
|
+
children: [
|
|
137
|
+
/*#__PURE__*/ jsx("span", {
|
|
138
|
+
className: "truncate font-mono text-xs",
|
|
139
|
+
children: value.name
|
|
140
|
+
}),
|
|
141
|
+
'custom' === value.kind && /*#__PURE__*/ jsx("span", {
|
|
142
|
+
className: "shrink-0 text-xs text-foreground-muted",
|
|
143
|
+
children: labels.useOwnName
|
|
144
|
+
})
|
|
145
|
+
]
|
|
146
|
+
}) : /*#__PURE__*/ jsx("span", {
|
|
147
|
+
className: "truncate text-foreground-muted",
|
|
148
|
+
children: placeholder
|
|
149
|
+
}),
|
|
150
|
+
/*#__PURE__*/ jsx(ChevronDown, {
|
|
151
|
+
className: "shrink-0 opacity-50"
|
|
152
|
+
})
|
|
153
|
+
]
|
|
154
|
+
})
|
|
155
|
+
}),
|
|
156
|
+
/*#__PURE__*/ jsx(PopoverContent, {
|
|
157
|
+
container: container,
|
|
158
|
+
align: "start",
|
|
159
|
+
className: "w-[var(--radix-popover-trigger-width)] overflow-hidden p-0",
|
|
160
|
+
onOpenAutoFocus: (e)=>{
|
|
161
|
+
e.preventDefault();
|
|
162
|
+
searchRef.current?.focus();
|
|
163
|
+
},
|
|
164
|
+
onEscapeKeyDown: (e)=>{
|
|
165
|
+
if (!adding) return;
|
|
166
|
+
e.preventDefault();
|
|
167
|
+
stopAdding();
|
|
168
|
+
},
|
|
169
|
+
children: adding ? /*#__PURE__*/ jsxs("div", {
|
|
170
|
+
className: "flex flex-col gap-2 p-2",
|
|
171
|
+
children: [
|
|
172
|
+
/*#__PURE__*/ jsx(Input, {
|
|
173
|
+
autoFocus: true,
|
|
174
|
+
"aria-label": labels.customAliasPlaceholder,
|
|
175
|
+
placeholder: labels.customAliasPlaceholder,
|
|
176
|
+
value: draft,
|
|
177
|
+
onChange: (e)=>setDraft(e.target.value),
|
|
178
|
+
onKeyDown: (e)=>{
|
|
179
|
+
if ('Enter' === e.key) {
|
|
180
|
+
e.preventDefault();
|
|
181
|
+
confirmCustom();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}),
|
|
185
|
+
/*#__PURE__*/ jsxs("div", {
|
|
186
|
+
className: "flex gap-2",
|
|
187
|
+
children: [
|
|
188
|
+
/*#__PURE__*/ jsx(Button, {
|
|
189
|
+
size: "2xs",
|
|
190
|
+
disabled: !draft.trim(),
|
|
191
|
+
onClick: confirmCustom,
|
|
192
|
+
children: null === custom ? labels.addAlias : labels.saveAlias
|
|
193
|
+
}),
|
|
194
|
+
/*#__PURE__*/ jsx(Button, {
|
|
195
|
+
size: "2xs",
|
|
196
|
+
variant: "ghost",
|
|
197
|
+
onClick: stopAdding,
|
|
198
|
+
children: labels.cancel
|
|
199
|
+
})
|
|
200
|
+
]
|
|
201
|
+
})
|
|
202
|
+
]
|
|
203
|
+
}) : /*#__PURE__*/ jsxs(Command, {
|
|
204
|
+
shouldFilter: false,
|
|
205
|
+
children: [
|
|
206
|
+
/*#__PURE__*/ jsx(CommandInput, {
|
|
207
|
+
ref: searchRef,
|
|
208
|
+
"aria-label": labels.nameStep,
|
|
209
|
+
placeholder: labels.aliasSearch,
|
|
210
|
+
value: query,
|
|
211
|
+
onValueChange: setQuery
|
|
212
|
+
}),
|
|
213
|
+
/*#__PURE__*/ jsxs(CommandList, {
|
|
214
|
+
className: "max-h-[280px]",
|
|
215
|
+
children: [
|
|
216
|
+
/*#__PURE__*/ jsx(CommandEmpty, {
|
|
217
|
+
children: labels.aliasNoMatch(query)
|
|
218
|
+
}),
|
|
219
|
+
!customLast && customGroup,
|
|
220
|
+
shown.length > 0 && /*#__PURE__*/ jsx(CommandGroup, {
|
|
221
|
+
heading: labels.useReplacement,
|
|
222
|
+
children: shown.map((m)=>/*#__PURE__*/ jsxs(CommandItem, {
|
|
223
|
+
value: `replacement:${m.name}`,
|
|
224
|
+
onSelect: ()=>choose({
|
|
225
|
+
kind: 'replacement',
|
|
226
|
+
name: m.name
|
|
227
|
+
}),
|
|
228
|
+
className: "gap-2 py-1.5",
|
|
229
|
+
children: [
|
|
230
|
+
/*#__PURE__*/ jsx(Selected, {
|
|
231
|
+
on: value?.kind === 'replacement' && value.name === m.name
|
|
232
|
+
}),
|
|
233
|
+
/*#__PURE__*/ jsx("span", {
|
|
234
|
+
className: "min-w-0 truncate font-mono text-xs text-foreground",
|
|
235
|
+
children: m.name
|
|
236
|
+
}),
|
|
237
|
+
m.retiresOn && /*#__PURE__*/ jsx("span", {
|
|
238
|
+
className: "ml-auto shrink-0 pl-2 text-xs text-foreground-muted",
|
|
239
|
+
children: labels.deprecated
|
|
240
|
+
})
|
|
241
|
+
]
|
|
242
|
+
}, m.name))
|
|
243
|
+
}),
|
|
244
|
+
customLast && customGroup
|
|
245
|
+
]
|
|
246
|
+
})
|
|
247
|
+
]
|
|
248
|
+
})
|
|
249
|
+
})
|
|
250
|
+
]
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
function Selected({ on }) {
|
|
254
|
+
return /*#__PURE__*/ jsx(Check, {
|
|
255
|
+
size: 14,
|
|
256
|
+
className: cn('shrink-0', on ? 'text-foreground-accent' : 'opacity-0')
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
export { ModelAliasPicker };
|
|
@@ -54,6 +54,16 @@ export interface ByoConnection {
|
|
|
54
54
|
name: string;
|
|
55
55
|
folderId: string;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* What using a saved connection here changes in it, which the user agrees to first.
|
|
59
|
+
* The host words it: the dialog shows it under the connection.
|
|
60
|
+
*/
|
|
61
|
+
export interface ByoConnectionChange {
|
|
62
|
+
title: string;
|
|
63
|
+
message: string;
|
|
64
|
+
/** The checkbox the user ticks to agree to the change. */
|
|
65
|
+
agreement: string;
|
|
66
|
+
}
|
|
57
67
|
export interface ByoProviderModel {
|
|
58
68
|
id: string;
|
|
59
69
|
/** Short trailing text on the row, e.g. the inference profile in use. */
|
|
@@ -77,6 +87,8 @@ export interface ByoFailure {
|
|
|
77
87
|
title: string;
|
|
78
88
|
message?: string;
|
|
79
89
|
detail?: string;
|
|
90
|
+
/** Asking again gives the same answer, so the dialog offers no Try again. */
|
|
91
|
+
final?: boolean;
|
|
80
92
|
}
|
|
81
93
|
export type ByoResult<T> = {
|
|
82
94
|
ok: true;
|
|
@@ -173,6 +185,13 @@ export interface ByoModelDialogApi {
|
|
|
173
185
|
/** Creates a connection, or updates `existing` when one is given. */
|
|
174
186
|
connect: (request: ByoConnectRequest) => Promise<ByoResult<ByoConnection>>;
|
|
175
187
|
listModels: (providerId: string, connection: ByoConnection) => Promise<ByoResult<ByoProviderModels>>;
|
|
188
|
+
/**
|
|
189
|
+
* What using `connection` here would change in it, or `null` when it can be used as it is.
|
|
190
|
+
* Asked before its models are listed; a host that never changes a connection leaves it out.
|
|
191
|
+
*/
|
|
192
|
+
checkConnection?: (providerId: string, connection: ByoConnection) => Promise<ByoResult<ByoConnectionChange | null>>;
|
|
193
|
+
/** Makes the change `checkConnection` described, once the user has agreed to it. */
|
|
194
|
+
applyConnectionChange?: (providerId: string, connection: ByoConnection) => Promise<ByoResult<ByoConnection>>;
|
|
176
195
|
/**
|
|
177
196
|
* The API types the provider can call the model through, most suitable first: replacing the
|
|
178
197
|
* UiPath model `replaces`, or under a name of the user's own when it is `null`. Answers from
|
|
@@ -60,10 +60,10 @@ var __webpack_modules__ = {
|
|
|
60
60
|
"./citation" (module) {
|
|
61
61
|
module.exports = require("./citation.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"@/components/ui/code-block" (module) {
|
|
64
64
|
module.exports = require("./code-block.cjs");
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"./collapsible" (module) {
|
|
67
67
|
module.exports = require("./collapsible.cjs");
|
|
68
68
|
},
|
|
69
69
|
"./combobox" (module) {
|
|
@@ -78,7 +78,7 @@ var __webpack_modules__ = {
|
|
|
78
78
|
"./connection-picker" (module) {
|
|
79
79
|
module.exports = require("./connection-picker/index.cjs");
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"./context-menu" (module) {
|
|
82
82
|
module.exports = require("./context-menu.cjs");
|
|
83
83
|
},
|
|
84
84
|
"./data-table" (module) {
|
|
@@ -90,7 +90,7 @@ var __webpack_modules__ = {
|
|
|
90
90
|
"./datetime-picker" (module) {
|
|
91
91
|
module.exports = require("./datetime-picker.cjs");
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"./dialog" (module) {
|
|
94
94
|
module.exports = require("./dialog.cjs");
|
|
95
95
|
},
|
|
96
96
|
"./disclosure-tree" (module) {
|
|
@@ -99,13 +99,13 @@ var __webpack_modules__ = {
|
|
|
99
99
|
"./drawer" (module) {
|
|
100
100
|
module.exports = require("./drawer.cjs");
|
|
101
101
|
},
|
|
102
|
-
"
|
|
102
|
+
"./dropdown-menu" (module) {
|
|
103
103
|
module.exports = require("./dropdown-menu.cjs");
|
|
104
104
|
},
|
|
105
105
|
"./dropzone-overlay" (module) {
|
|
106
106
|
module.exports = require("./dropzone-overlay.cjs");
|
|
107
107
|
},
|
|
108
|
-
"
|
|
108
|
+
"./editable-cell" (module) {
|
|
109
109
|
module.exports = require("./editable-cell.cjs");
|
|
110
110
|
},
|
|
111
111
|
"./editable-text" (module) {
|
|
@@ -129,7 +129,7 @@ var __webpack_modules__ = {
|
|
|
129
129
|
"./form-field" (module) {
|
|
130
130
|
module.exports = require("./form-field.cjs");
|
|
131
131
|
},
|
|
132
|
-
"
|
|
132
|
+
"./hover-card" (module) {
|
|
133
133
|
module.exports = require("./hover-card.cjs");
|
|
134
134
|
},
|
|
135
135
|
"@/components/ui/info-tooltip" (module) {
|
|
@@ -252,7 +252,7 @@ var __webpack_modules__ = {
|
|
|
252
252
|
"./sidebar" (module) {
|
|
253
253
|
module.exports = require("./sidebar/index.cjs");
|
|
254
254
|
},
|
|
255
|
-
"
|
|
255
|
+
"./skeleton" (module) {
|
|
256
256
|
module.exports = require("./skeleton.cjs");
|
|
257
257
|
},
|
|
258
258
|
"./slider" (module) {
|
|
@@ -264,7 +264,7 @@ var __webpack_modules__ = {
|
|
|
264
264
|
"./sources" (module) {
|
|
265
265
|
module.exports = require("./sources.cjs");
|
|
266
266
|
},
|
|
267
|
-
"
|
|
267
|
+
"@/components/ui/spinner" (module) {
|
|
268
268
|
module.exports = require("./spinner.cjs");
|
|
269
269
|
},
|
|
270
270
|
"./stats-card" (module) {
|
|
@@ -276,13 +276,13 @@ var __webpack_modules__ = {
|
|
|
276
276
|
"./switch" (module) {
|
|
277
277
|
module.exports = require("./switch.cjs");
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"./table" (module) {
|
|
280
280
|
module.exports = require("./table.cjs");
|
|
281
281
|
},
|
|
282
282
|
"./tabs" (module) {
|
|
283
283
|
module.exports = require("./tabs.cjs");
|
|
284
284
|
},
|
|
285
|
-
"
|
|
285
|
+
"@/components/ui/textarea" (module) {
|
|
286
286
|
module.exports = require("./textarea.cjs");
|
|
287
287
|
},
|
|
288
288
|
"./thinking-indicator" (module) {
|
|
@@ -559,7 +559,7 @@ var __webpack_exports__ = {};
|
|
|
559
559
|
"ReferenceChip"
|
|
560
560
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_citation__rspack_import_19[__rspack_import_key];
|
|
561
561
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
562
|
-
var _code_block__rspack_import_20 = __webpack_require__("
|
|
562
|
+
var _code_block__rspack_import_20 = __webpack_require__("@/components/ui/code-block");
|
|
563
563
|
var __rspack_reexport = {};
|
|
564
564
|
for(const __rspack_import_key in _code_block__rspack_import_20)if ([
|
|
565
565
|
"getReferenceChipColors",
|
|
@@ -569,7 +569,7 @@ var __webpack_exports__ = {};
|
|
|
569
569
|
"ReferenceChip"
|
|
570
570
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_code_block__rspack_import_20[__rspack_import_key];
|
|
571
571
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
572
|
-
var _collapsible__rspack_import_21 = __webpack_require__("
|
|
572
|
+
var _collapsible__rspack_import_21 = __webpack_require__("./collapsible");
|
|
573
573
|
var __rspack_reexport = {};
|
|
574
574
|
for(const __rspack_import_key in _collapsible__rspack_import_21)if ([
|
|
575
575
|
"getReferenceChipColors",
|
|
@@ -619,7 +619,7 @@ var __webpack_exports__ = {};
|
|
|
619
619
|
"ReferenceChip"
|
|
620
620
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_connection_picker__rspack_import_25[__rspack_import_key];
|
|
621
621
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
622
|
-
var _context_menu__rspack_import_26 = __webpack_require__("
|
|
622
|
+
var _context_menu__rspack_import_26 = __webpack_require__("./context-menu");
|
|
623
623
|
var __rspack_reexport = {};
|
|
624
624
|
for(const __rspack_import_key in _context_menu__rspack_import_26)if ([
|
|
625
625
|
"getReferenceChipColors",
|
|
@@ -659,7 +659,7 @@ var __webpack_exports__ = {};
|
|
|
659
659
|
"ReferenceChip"
|
|
660
660
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_29[__rspack_import_key];
|
|
661
661
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
662
|
-
var _dialog__rspack_import_30 = __webpack_require__("
|
|
662
|
+
var _dialog__rspack_import_30 = __webpack_require__("./dialog");
|
|
663
663
|
var __rspack_reexport = {};
|
|
664
664
|
for(const __rspack_import_key in _dialog__rspack_import_30)if ([
|
|
665
665
|
"getReferenceChipColors",
|
|
@@ -689,7 +689,7 @@ var __webpack_exports__ = {};
|
|
|
689
689
|
"ReferenceChip"
|
|
690
690
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_drawer__rspack_import_32[__rspack_import_key];
|
|
691
691
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
692
|
-
var _dropdown_menu__rspack_import_33 = __webpack_require__("
|
|
692
|
+
var _dropdown_menu__rspack_import_33 = __webpack_require__("./dropdown-menu");
|
|
693
693
|
var __rspack_reexport = {};
|
|
694
694
|
for(const __rspack_import_key in _dropdown_menu__rspack_import_33)if ([
|
|
695
695
|
"getReferenceChipColors",
|
|
@@ -709,7 +709,7 @@ var __webpack_exports__ = {};
|
|
|
709
709
|
"ReferenceChip"
|
|
710
710
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropzone_overlay__rspack_import_34[__rspack_import_key];
|
|
711
711
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
712
|
-
var _editable_cell__rspack_import_35 = __webpack_require__("
|
|
712
|
+
var _editable_cell__rspack_import_35 = __webpack_require__("./editable-cell");
|
|
713
713
|
var __rspack_reexport = {};
|
|
714
714
|
for(const __rspack_import_key in _editable_cell__rspack_import_35)if ([
|
|
715
715
|
"getReferenceChipColors",
|
|
@@ -789,7 +789,7 @@ var __webpack_exports__ = {};
|
|
|
789
789
|
"ReferenceChip"
|
|
790
790
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_42[__rspack_import_key];
|
|
791
791
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
792
|
-
var _hover_card__rspack_import_43 = __webpack_require__("
|
|
792
|
+
var _hover_card__rspack_import_43 = __webpack_require__("./hover-card");
|
|
793
793
|
var __rspack_reexport = {};
|
|
794
794
|
for(const __rspack_import_key in _hover_card__rspack_import_43)if ([
|
|
795
795
|
"getReferenceChipColors",
|
|
@@ -1181,7 +1181,7 @@ var __webpack_exports__ = {};
|
|
|
1181
1181
|
"ReferenceChip"
|
|
1182
1182
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_sidebar__rspack_import_83[__rspack_import_key];
|
|
1183
1183
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1184
|
-
var _skeleton__rspack_import_84 = __webpack_require__("
|
|
1184
|
+
var _skeleton__rspack_import_84 = __webpack_require__("./skeleton");
|
|
1185
1185
|
var __rspack_reexport = {};
|
|
1186
1186
|
for(const __rspack_import_key in _skeleton__rspack_import_84)if ([
|
|
1187
1187
|
"getReferenceChipColors",
|
|
@@ -1221,7 +1221,7 @@ var __webpack_exports__ = {};
|
|
|
1221
1221
|
"ReferenceChip"
|
|
1222
1222
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_sources__rspack_import_87[__rspack_import_key];
|
|
1223
1223
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1224
|
-
var _spinner__rspack_import_88 = __webpack_require__("
|
|
1224
|
+
var _spinner__rspack_import_88 = __webpack_require__("@/components/ui/spinner");
|
|
1225
1225
|
var __rspack_reexport = {};
|
|
1226
1226
|
for(const __rspack_import_key in _spinner__rspack_import_88)if ([
|
|
1227
1227
|
"getReferenceChipColors",
|
|
@@ -1261,7 +1261,7 @@ var __webpack_exports__ = {};
|
|
|
1261
1261
|
"ReferenceChip"
|
|
1262
1262
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_91[__rspack_import_key];
|
|
1263
1263
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1264
|
-
var _table__rspack_import_92 = __webpack_require__("
|
|
1264
|
+
var _table__rspack_import_92 = __webpack_require__("./table");
|
|
1265
1265
|
var __rspack_reexport = {};
|
|
1266
1266
|
for(const __rspack_import_key in _table__rspack_import_92)if ([
|
|
1267
1267
|
"getReferenceChipColors",
|
|
@@ -1281,7 +1281,7 @@ var __webpack_exports__ = {};
|
|
|
1281
1281
|
"ReferenceChip"
|
|
1282
1282
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_93[__rspack_import_key];
|
|
1283
1283
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
1284
|
-
var _textarea__rspack_import_94 = __webpack_require__("
|
|
1284
|
+
var _textarea__rspack_import_94 = __webpack_require__("@/components/ui/textarea");
|
|
1285
1285
|
var __rspack_reexport = {};
|
|
1286
1286
|
for(const __rspack_import_key in _textarea__rspack_import_94)if ([
|
|
1287
1287
|
"getReferenceChipColors",
|
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export { Bubble, BubbleContent, BubbleGroup, BubbleReactions, bubbleVariants, }
|
|
|
47
47
|
export type { ButtonProps } from './components/ui/button';
|
|
48
48
|
export { Button, buttonVariants } from './components/ui/button';
|
|
49
49
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, } from './components/ui/button-group';
|
|
50
|
-
export type { ByoApiType, ByoAuthType, ByoConnection, ByoConnectionForm, ByoConnectionValues, ByoConnectRequest, ByoDialogContext, ByoEditTarget, ByoFailure, ByoFieldOption, ByoFolder, ByoFormField, ByoModelDialogApi, ByoModelDialogLabels, ByoModelDialogProps, ByoModelToEdit, ByoProvider, ByoProviderModel, ByoProviderModels, ByoReplaceableModel, ByoResult, ByoSavedModel, ByoSaveRequest, } from './components/ui/byo-model-dialog';
|
|
50
|
+
export type { ByoApiType, ByoAuthType, ByoConnection, ByoConnectionChange, ByoConnectionForm, ByoConnectionValues, ByoConnectRequest, ByoDialogContext, ByoEditTarget, ByoFailure, ByoFieldOption, ByoFolder, ByoFormField, ByoModelDialogApi, ByoModelDialogLabels, ByoModelDialogProps, ByoModelToEdit, ByoProvider, ByoProviderModel, ByoProviderModels, ByoReplaceableModel, ByoResult, ByoSavedModel, ByoSaveRequest, } from './components/ui/byo-model-dialog';
|
|
51
51
|
export { ByoModelDialog, DEFAULT_BYO_MODEL_DIALOG_LABELS, resolveByoModelDialogLabels, } from './components/ui/byo-model-dialog';
|
|
52
52
|
export { Calendar } from './components/ui/calendar';
|
|
53
53
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from './components/ui/card';
|