@assistant-ui/react
Version:
Typescript/React library for AI Chat
86 lines (85 loc) • 4.24 kB
JavaScript
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/primitives/index.ts
var primitives_exports = {};
__export(primitives_exports, {
ActionBarPrimitive: () => ActionBarPrimitive,
AssistantModalPrimitive: () => AssistantModalPrimitive,
AttachmentPrimitive: () => AttachmentPrimitive,
BranchPickerPrimitive: () => BranchPickerPrimitive,
ComposerPrimitive: () => ComposerPrimitive,
ContentPartPrimitive: () => ContentPartPrimitive,
MessagePrimitive: () => MessagePrimitive,
ThreadListItemPrimitive: () => ThreadListItemPrimitive,
ThreadListPrimitive: () => ThreadListPrimitive,
ThreadPrimitive: () => ThreadPrimitive,
useContentPartFile: () => import_useContentPartFile.useContentPartFile,
useContentPartImage: () => import_useContentPartImage.useContentPartImage,
useContentPartReasoning: () => import_useContentPartReasoning.useContentPartReasoning,
useContentPartSource: () => import_useContentPartSource.useContentPartSource,
useContentPartText: () => import_useContentPartText.useContentPartText,
useThreadViewportAutoScroll: () => import_useThreadViewportAutoScroll.useThreadViewportAutoScroll
});
module.exports = __toCommonJS(primitives_exports);
var ActionBarPrimitive = __toESM(require("./actionBar/index.js"));
var AssistantModalPrimitive = __toESM(require("./assistantModal/index.js"));
var AttachmentPrimitive = __toESM(require("./attachment/index.js"));
var BranchPickerPrimitive = __toESM(require("./branchPicker/index.js"));
var ComposerPrimitive = __toESM(require("./composer/index.js"));
var ContentPartPrimitive = __toESM(require("./contentPart/index.js"));
var MessagePrimitive = __toESM(require("./message/index.js"));
var ThreadPrimitive = __toESM(require("./thread/index.js"));
var ThreadListPrimitive = __toESM(require("./threadList/index.js"));
var ThreadListItemPrimitive = __toESM(require("./threadListItem/index.js"));
var import_useContentPartText = require("./contentPart/useContentPartText.js");
var import_useContentPartReasoning = require("./contentPart/useContentPartReasoning.js");
var import_useContentPartSource = require("./contentPart/useContentPartSource.js");
var import_useContentPartFile = require("./contentPart/useContentPartFile.js");
var import_useContentPartImage = require("./contentPart/useContentPartImage.js");
var import_useThreadViewportAutoScroll = require("./thread/useThreadViewportAutoScroll.js");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
ActionBarPrimitive,
AssistantModalPrimitive,
AttachmentPrimitive,
BranchPickerPrimitive,
ComposerPrimitive,
ContentPartPrimitive,
MessagePrimitive,
ThreadListItemPrimitive,
ThreadListPrimitive,
ThreadPrimitive,
useContentPartFile,
useContentPartImage,
useContentPartReasoning,
useContentPartSource,
useContentPartText,
useThreadViewportAutoScroll
});
//# sourceMappingURL=index.js.map
;