@brainfish-ai/components 0.16.6-rc.2 → 0.16.6
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.aiZX0rXE.js → ChatSearch.WhL-weaN.js} +9 -6
- package/dist/esm/chunks/ChatSearch.WhL-weaN.js.map +1 -0
- package/dist/esm/components/chat-search.js +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/esm/chunks/ChatSearch.aiZX0rXE.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { motion, AnimatePresence } from 'framer-motion';
|
|
|
3
3
|
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from '../components/ui/tooltip.js';
|
|
4
4
|
import { Button } from '../components/ui/button.js';
|
|
5
5
|
import { XCircle, Check, Copy, CaretDown, ArrowSquareOut, CaretRight, ArrowsVertical, ArrowDown, Globe, LockSimple, MagnifyingGlass, X, Image, ArrowRight, ArrowLeft, ArrowsInSimple, ArrowsOutSimple } from '@phosphor-icons/react';
|
|
6
|
-
import { F as FormattedMessage, c as addPopupWidgetUtm
|
|
6
|
+
import { F as FormattedMessage, c as addPopupWidgetUtm } from './FormattedMessage.DdZqirSo.js';
|
|
7
7
|
import { appendErrors, useForm, Controller } from 'react-hook-form';
|
|
8
8
|
import { validateFieldsNatively, toNestErrors } from '@hookform/resolvers';
|
|
9
9
|
import require$$0 from 'ajv';
|
|
@@ -5626,7 +5626,8 @@ const ChatSearchComponent = forwardRef(
|
|
|
5626
5626
|
body: {
|
|
5627
5627
|
type: "generate-for-query",
|
|
5628
5628
|
conversationId,
|
|
5629
|
-
searchQueryId
|
|
5629
|
+
searchQueryId,
|
|
5630
|
+
profileId: userData?.userId
|
|
5630
5631
|
}
|
|
5631
5632
|
});
|
|
5632
5633
|
const reader = response.body?.getReader();
|
|
@@ -5675,7 +5676,8 @@ const ChatSearchComponent = forwardRef(
|
|
|
5675
5676
|
searchQueryId,
|
|
5676
5677
|
searchIntentId,
|
|
5677
5678
|
actionId,
|
|
5678
|
-
parameters
|
|
5679
|
+
parameters,
|
|
5680
|
+
profileId: userData?.userId
|
|
5679
5681
|
}
|
|
5680
5682
|
});
|
|
5681
5683
|
const reader = response.body?.getReader();
|
|
@@ -5710,7 +5712,8 @@ const ChatSearchComponent = forwardRef(
|
|
|
5710
5712
|
searchQueryId,
|
|
5711
5713
|
searchIntentId,
|
|
5712
5714
|
actionId,
|
|
5713
|
-
results
|
|
5715
|
+
results,
|
|
5716
|
+
profileId: userData?.userId
|
|
5714
5717
|
}
|
|
5715
5718
|
});
|
|
5716
5719
|
const reader = response.body?.getReader();
|
|
@@ -6135,7 +6138,7 @@ const ChatSearchComponent = forwardRef(
|
|
|
6135
6138
|
},
|
|
6136
6139
|
offset
|
|
6137
6140
|
}
|
|
6138
|
-
)), disclaimer && isWidgetMode && !(showResults && showFollowUp) && /* @__PURE__ */ React__default.createElement("div", {
|
|
6141
|
+
)), disclaimer && isWidgetMode && !(showResults && showFollowUp) && /* @__PURE__ */ React__default.createElement("div", { className: "mt-2 px-3 @3xl:px-0 text-xs text-dark-500 flex items-center gap-1 absolute bottom-12 justify-center text-center w-full" }, /* @__PURE__ */ React__default.createElement(MemoizedIcon, { iconName: "Info", className: "size-4" }), disclaimer), /* @__PURE__ */ React__default.createElement("div", { ref: bottomRef })),
|
|
6139
6142
|
showResults && showFollowUp && /* @__PURE__ */ React__default.createElement(
|
|
6140
6143
|
FollowUpSearchBar,
|
|
6141
6144
|
{
|
|
@@ -6156,4 +6159,4 @@ const ChatSearch = forwardRef(({ featureFlags, ...props }, ref) => /* @__PURE__
|
|
|
6156
6159
|
ChatSearch.displayName = "ChatSearch";
|
|
6157
6160
|
|
|
6158
6161
|
export { ChatSearch as C, ChatSearchProvider as a, useIsChatSearchDirty as b, useChatSearch as u };
|
|
6159
|
-
//# sourceMappingURL=ChatSearch.
|
|
6162
|
+
//# sourceMappingURL=ChatSearch.WhL-weaN.js.map
|