@brainfish-ai/components 0.8.2-alpha.0 → 0.8.2
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/esm/chunks/{ChatSearch.Baru4deb.js → ChatSearch.SKfNDI-w.js} +5 -5
- package/dist/esm/chunks/ChatSearch.SKfNDI-w.js.map +1 -0
- package/dist/esm/chunks/{FormattedMessage.CyP9HgTe.js → FormattedMessage.DPRps9mh.js} +30 -30
- package/dist/esm/chunks/{FormattedMessage.CyP9HgTe.js.map → FormattedMessage.DPRps9mh.js.map} +1 -1
- package/dist/esm/chunks/{simpleSelect.BbTlGnz2.js → simpleSelect.BiVUOs29.js} +2 -3
- package/dist/esm/chunks/{simpleSelect.BbTlGnz2.js.map → simpleSelect.BiVUOs29.js.map} +1 -1
- package/dist/esm/components/chat-search.js +1 -1
- package/dist/esm/components/markdown.js +1 -1
- package/dist/esm/components/select.js +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/markdown.d.ts +2 -1
- package/dist/select.d.ts +2 -2
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/esm/chunks/ChatSearch.Baru4deb.js.map +0 -1
- package/stats.html +0 -4949
|
@@ -6,11 +6,11 @@ import { XCircle, Check, Copy, CaretDown, ArrowSquareOut, CaretRight, ArrowsVert
|
|
|
6
6
|
import { appendErrors, useForm, Controller } from 'react-hook-form';
|
|
7
7
|
import { validateFieldsNatively, toNestErrors } from '@hookform/resolvers';
|
|
8
8
|
import require$$0 from 'ajv';
|
|
9
|
-
import { g as getDefaultExportFromCjs, F as FormattedMessage } from './FormattedMessage.
|
|
9
|
+
import { g as getDefaultExportFromCjs, F as FormattedMessage } from './FormattedMessage.DPRps9mh.js';
|
|
10
10
|
import { Input } from '../components/ui/input.js';
|
|
11
11
|
import { Label } from '../components/ui/label.js';
|
|
12
12
|
import { Textarea } from '../components/ui/textarea.js';
|
|
13
|
-
import { S as SimpleSelect } from './simpleSelect.
|
|
13
|
+
import { S as SimpleSelect } from './simpleSelect.BiVUOs29.js';
|
|
14
14
|
import { c as cn, i as isAnswerUncertain } from './utils.DmKr1Ojo.js';
|
|
15
15
|
import { D as DatePicker } from './date-picker.Ca8jXimG.js';
|
|
16
16
|
import { createId } from '@paralleldrive/cuid2';
|
|
@@ -5149,7 +5149,7 @@ const defaultTextConfig = {
|
|
|
5149
5149
|
const clientExecutionEventType = "CLIENT_EXECUTION";
|
|
5150
5150
|
const clientExecutionResultEventType = "CLIENT_EXECUTION_RESULT";
|
|
5151
5151
|
const executeClientAction = (key, inputs) => {
|
|
5152
|
-
return new Promise((resolve
|
|
5152
|
+
return new Promise((resolve) => {
|
|
5153
5153
|
const messageId = crypto.randomUUID();
|
|
5154
5154
|
const handleResponse = (event) => {
|
|
5155
5155
|
if (event.data.messageId === messageId && event.data.type === clientExecutionResultEventType) {
|
|
@@ -5169,7 +5169,7 @@ const executeClientAction = (key, inputs) => {
|
|
|
5169
5169
|
);
|
|
5170
5170
|
setTimeout(() => {
|
|
5171
5171
|
window.removeEventListener("message", handleResponse);
|
|
5172
|
-
|
|
5172
|
+
resolve({
|
|
5173
5173
|
success: false,
|
|
5174
5174
|
reason: `Client Action handler with key ${key} timed out`
|
|
5175
5175
|
});
|
|
@@ -5949,4 +5949,4 @@ const ChatSearch = forwardRef(({ featureFlags, ...props }, ref) => /* @__PURE__
|
|
|
5949
5949
|
ChatSearch.displayName = "ChatSearch";
|
|
5950
5950
|
|
|
5951
5951
|
export { ChatSearch as C, ChatSearchProvider as a, useIsChatSearchDirty as b, useChatSearch as u };
|
|
5952
|
-
//# sourceMappingURL=ChatSearch.
|
|
5952
|
+
//# sourceMappingURL=ChatSearch.SKfNDI-w.js.map
|