openchad-react 1.0.0 → 1.0.12

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { TableRow, TableCell, Checkbox, Switch, Tooltip, TooltipTrigger, TooltipContent, Spinner, Button, Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, Input, Card, CardContent, Avatar, Dialog, DialogContent, DialogHeader, DialogTitle, ResizablePanelGroup, ResizablePanel, ResizableHandle, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, Command, CommandInput, DropdownMenuSeparator, ScrollArea, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuPortal, DropdownMenuSubContent, CommandItem, DropdownMenuItem, DropdownMenuShortcut, Popover, PopoverTrigger, PopoverContent, CommandList as CommandList$1, CommandEmpty as CommandEmpty$1, cn, Table, TableHeader, TableHead, TableBody } from './chunk-VZ7VQBAB.mjs';
1
+ import { TableRow, TableCell, Checkbox, Switch, Tooltip, TooltipTrigger, TooltipContent, Spinner, Button, Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, Input, Card, CardContent, Avatar, Dialog, DialogContent, DialogHeader, DialogTitle, ResizablePanelGroup, ResizablePanel, ResizableHandle, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, Command, CommandInput, DropdownMenuSeparator, ScrollArea, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuPortal, DropdownMenuSubContent, CommandItem, DropdownMenuItem, DropdownMenuShortcut, Popover, PopoverTrigger, PopoverContent, CommandList as CommandList$1, CommandEmpty as CommandEmpty$1, cn, Table, TableHeader, TableHead, TableBody } from './chunk-545ZTT4L.mjs';
2
2
  import * as React from 'react';
3
3
  import React__default, { memo, useCallback, useState, useRef, createContext, useEffect, useLayoutEffect, Suspense, Fragment as Fragment$1, useMemo, useContext } from 'react';
4
4
  import clsx8 from 'clsx';
@@ -4703,6 +4703,8 @@ function SearchDialogBody({ workspace, isOpen, setOpen }) {
4703
4703
  ] });
4704
4704
  }
4705
4705
  function Sidebar({
4706
+ projectName,
4707
+ ProjectIcon,
4706
4708
  showMcpDialog,
4707
4709
  setShowMcpDialog,
4708
4710
  workspace,
@@ -4994,23 +4996,10 @@ function Sidebar({
4994
4996
  "relative left-1 h-8 w-8 rounded-md flex items-center justify-center text-zinc-800 dark:text-zinc-100 font-bold pointer-events-auto",
4995
4997
  isCollapsedSidebar && "group-hover:opacity-0"
4996
4998
  ),
4997
- children: /* @__PURE__ */ jsxs(
4998
- "svg",
4999
- {
5000
- className: "w-5 h-5 stroke-[15px] stroke-accent",
5001
- xmlns: "http://www.w3.org/2000/svg",
5002
- viewBox: "0 0 657 657",
5003
- children: [
5004
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M173 84h6a167 167 0 0 1 80 34l3 2a428 428 0 0 0 21 15l4 4 2 1a462 462 0 0 0 17 14c8 8 17 15 24 24l14 15 6 6 2 2c3 3 3 3 3 6l-8 7-3 3-2 1-8 6-4 1c-4-1-5-3-8-6a2267 2267 0 0 0-4-5l-9-9-10-11-21-21c-3-1-5-4-7-6-17-14-17-14-36-26-3 0-5 2-7 4l-2 2-2 2-2 2a968 968 0 0 0-17 19l-2 2a4081 4081 0 0 0-25 34l8 6 3 2a257 257 0 0 1 27 22 208 208 0 0 1 31 31 296 296 0 0 1 32 39 359 359 0 0 1 26 40 393 393 0 0 1 64 185c3 31-3 67-23 92a71 71 0 0 1-51 24 153 153 0 0 1-50-8l-6-2-1-3a1041 1041 0 0 1 9 1l8 1a65 65 0 0 0 51-13l4-1 1-2c1-4 3-6 6-9 5-6 8-13 10-21l2-5c20-49-4-118-23-164a332 332 0 0 0-16-32c-5-11-12-22-18-32l-2-2a356 356 0 0 0-50-67l-2 2-7 7c-12 11-12 11-22 23l-8 10-18 21 6 8 11 13 2 3a1365 1365 0 0 1 7 10c35 49 64 114 55 175-2 16-9 31-22 40l-5 3-2 2c-14 7-31 4-45 0a156 156 0 0 1-54-33 215 215 0 0 1-30-29 291 291 0 0 1-51-79c-14-29-25-61-26-93v-4c-1-22 2-44 17-60 10-10 21-14 35-14 29 0 54 16 75 34l5 4 7 6a82 82 0 0 0 14-18l2-2c10-15 21-29 33-41l4-8-24-20-2-2-19-13-3-2-19-10-2-1c-24-11-49-16-74-8-16 6-27 18-34 34l-8 24-2-1a121 121 0 0 1 26-69c4-6 8-10 15-13l2-2c7-4 13-6 20-7l3-1a105 105 0 0 1 67 13l3 1h7l3-4 2-3 2-2 3-3 10-14c10-14 21-26 33-38-11-11-36-16-52-18l-2-1c-9-1-18-1-27 1h-4c-13 2-22 8-33 15l-6 2 7-11 3-4 2-1 3-4a78 78 0 0 1 72-22ZM31 339c-8 11-12 23-12 37v3c-1 51 23 100 52 139l2 3c15 20 33 37 53 51l3 2c15 10 34 16 53 13 10-2 17-7 23-16 6-10 9-20 9-32v-3c1-58-29-114-66-156l-2-3-28-26-2-2c-22-17-62-36-85-10Z" }),
5005
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "m344 57 7 5a199 199 0 0 1 35 27l12 10a134 134 0 0 1 24 22l6 7 18 20 13-5c14-7 28-13 43-17l3-2 16-2 4 5a2136 2136 0 0 0 38 54l8 14a267 267 0 0 1 22 42c21 43 35 90 37 138v20a124 124 0 0 1-9 43c-3 12-9 23-15 34l-2-1 4-13a116 116 0 0 0 7-37 373 373 0 0 0-59-212l-2-3a476970923 476970923 0 0 0-12-21l-24-33c-8 2-15 5-22 9l-3 1-26 13 10 14 17 25 11 19a362 362 0 0 1 29 55l1 2c25 54 44 114 42 174v4c-1 18-3 34-9 51v3c-3 9-7 17-14 24l-6 9c-7 9-17 16-27 22 0-4 0-5 3-8l2-3 2-2c18-24 23-50 24-79v-24c-1-22-5-43-10-65v-3l-15-45-1 1a378 378 0 0 1-58 34l-3 2-5 3 2 4c11 30 19 63 22 95v2c3 36 3 83-21 113l-5 5-4 6c-4 5-9 9-15 12l-2 1c-12 8-25 12-39 12v-3l5-3c12-7 22-14 30-26l2-4c5-7 8-14 10-21l1-2c3-10 5-19 6-30l1-7a356 356 0 0 0-54-210 248 248 0 0 0-27-45l-3-5-2-4-2-2-1-7 4-3 2-1 3-2 5-3 3-2 8-5c4 2 5 4 8 8l2 3a236496 236496 0 0 1 16 27l1 2 4 7a136 136 0 0 1 12 22l1 4a1318 1318 0 0 0 11 21l2 4 1 3 1 4a8549 8549 0 0 0 60-35l2-2 2-1 4-1a272 272 0 0 0-15-33l-1-3a404 404 0 0 0-31-53c-7-12-15-24-24-35l-9-13a335 335 0 0 0-43-49 242 242 0 0 0-37-34c-6-5-12-11-19-15l-2-1a981 981 0 0 0-53-30h-2c-9-4-18-7-28-8l-9-2c-16-3-31 0-46 3l-1-3c12-7 24-12 37-14l3-1c37-6 77 9 108 29ZM88 421c23 16 39 41 45 68 2 10 3 21-2 31-3 5-7 7-13 8-12 1-21-4-30-12l-2-2c-19-15-33-41-36-65-1-9-1-17 4-25l2-3c9-8 22-5 32 0Z" }),
5006
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "m459 47 10 4 2 1 5 4 2 1a703 703 0 0 1 58 40l19 19 4 5c8 8 15 17 21 26l2 2c20 29 36 61 46 95l1 3c9 31 9 64 11 95h-3v-3a344 344 0 0 0-54-161l-2-3a2024 2024 0 0 0-7-12l-21-29-5-5a210 210 0 0 0-25-29 146 146 0 0 0-24-23c-9-8-18-14-28-20l-12-8v-2Z" }),
5007
- /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M329 16a182 182 0 0 1 119 38c6 3 11 8 16 13l11 9 12 10-1 3c-15 5-15 5-21 2-4-2-7-6-10-9l-9-8-8-7c-9-8-20-14-30-20l-6-4c-7-5-15-8-23-12h-2c-14-6-28-9-43-11l-6-1 1-3Z" })
5008
- ]
5009
- }
5010
- )
4999
+ children: /* @__PURE__ */ jsx(ProjectIcon, {})
5011
5000
  }
5012
5001
  ),
5013
- /* @__PURE__ */ jsx(Aspan, { isCollapsed: isCollapsedSidebar, className: "text-lg opacity-0 text-zinc-900 dark:text-gray-200 font-funnel", children: "OpenChad" }),
5002
+ /* @__PURE__ */ jsx(Aspan, { isCollapsed: isCollapsedSidebar, className: "text-lg opacity-0 text-zinc-900 dark:text-gray-200 font-funnel", children: projectName }),
5014
5003
  /* @__PURE__ */ jsx("div", { className: "ml-auto pointer-events-none", children: /* @__PURE__ */ jsx(
5015
5004
  "button",
5016
5005
  {
@@ -9008,6 +8997,7 @@ function useKeyEffect(callback, keys) {
9008
8997
  }
9009
8998
  }, [KEYS, callback, keys]);
9010
8999
  }
9000
+ var isTauri6 = typeof window !== "undefined" && !!window.__TAURI__;
9011
9001
  var WorkspaceLogo = ({ className }) => /* @__PURE__ */ jsxs(
9012
9002
  "svg",
9013
9003
  {
@@ -9061,11 +9051,14 @@ function SelectWorkspace({ workspaces, setWorkspace }) {
9061
9051
  /* @__PURE__ */ jsx(EmptyTitle, { className: clsx8(isSmallHeight && "text-base"), children: "No Workspaces Yet" }),
9062
9052
  !isSmallHeight && /* @__PURE__ */ jsx(EmptyDescription, { children: "You haven't created any workspaces yet. Get started by creating your first workspace." })
9063
9053
  ] }),
9064
- /* @__PURE__ */ jsx(EmptyContent, { children: /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
9065
- /* @__PURE__ */ jsx(Button, { onClick: () => setIsCreating(true), size: isSmallHeight ? "sm" : "default", children: "Create Workspace" }),
9066
- /* @__PURE__ */ jsx(Button, { variant: "outline", size: isSmallHeight ? "sm" : "default", children: "Import Workspace" })
9067
- ] }) }),
9068
- /* @__PURE__ */ jsx(Button, { variant: "link", asChild: true, className: "text-muted-foreground", size: "sm", children: /* @__PURE__ */ jsxs("a", { href: "#", children: [
9054
+ /* @__PURE__ */ jsx(Button, { variant: "link", asChild: true, className: "text-muted-foreground", size: "sm", children: /* @__PURE__ */ jsxs("a", { onClick: (e) => {
9055
+ e.preventDefault();
9056
+ if (isTauri6) {
9057
+ openUrl("https://openchad.github.io/docs/customization/custom-app.html");
9058
+ } else {
9059
+ window.open("https://openchad.github.io/docs/customization/custom-app.html", "_blank");
9060
+ }
9061
+ }, href: "#", children: [
9069
9062
  "Learn More ",
9070
9063
  /* @__PURE__ */ jsx(ArrowUpRightIcon, { className: "w-4 h-4 ml-1" })
9071
9064
  ] }) })
@@ -9274,7 +9267,7 @@ function AppLoading({ status }) {
9274
9267
  } }) })
9275
9268
  ] });
9276
9269
  }
9277
- var isTauri6 = typeof window !== "undefined" && !!window.__TAURI__;
9270
+ var isTauri7 = typeof window !== "undefined" && !!window.__TAURI__;
9278
9271
  var folders = proxy({});
9279
9272
  function useFolderImplBase(path, options = {}) {
9280
9273
  const { baseDir = "." } = options;
@@ -9376,7 +9369,7 @@ function useFolderImplBase(path, options = {}) {
9376
9369
  }
9377
9370
  };
9378
9371
  const addListener = async (evtName) => {
9379
- if (isTauri6) {
9372
+ if (isTauri7) {
9380
9373
  const { listen } = await import('@tauri-apps/api/event');
9381
9374
  tauriUnlisten = await listen(
9382
9375
  sanitizeTauriEvent(evtName),
@@ -9418,7 +9411,7 @@ function useFolderImplBase(path, options = {}) {
9418
9411
  }
9419
9412
  return () => {
9420
9413
  if (isStreamReady) {
9421
- if (isTauri6) {
9414
+ if (isTauri7) {
9422
9415
  tauriUnlisten?.();
9423
9416
  } else if (eventName) {
9424
9417
  window.removeEventListener(eventName, handleFolderChangeWS);
@@ -9459,7 +9452,7 @@ function useGlobal2(tb, options) {
9459
9452
  return typeof options?.initialValue === "undefined" ? useGlobal(tb) : useGlobal(tb, options.initialValue);
9460
9453
  }
9461
9454
 
9462
- // ../node_modules/.pnpm/vite-plugin-splash-screen@0.2.2/node_modules/vite-plugin-splash-screen/dist/runtime/runtime.mjs
9455
+ // ../node_modules/vite-plugin-splash-screen/dist/runtime/runtime.mjs
9463
9456
  var vpss = window.__VPSS__ || {};
9464
9457
  async function hideSplashScreen() {
9465
9458
  if (vpss.hidden)
@@ -9474,7 +9467,7 @@ async function hideSplashScreen() {
9474
9467
  }
9475
9468
  await vpss.hide?.();
9476
9469
  }
9477
- var isTauri7 = typeof window !== "undefined" && !!window.__TAURI__;
9470
+ var isTauri8 = typeof window !== "undefined" && !!window.__TAURI__;
9478
9471
  if (typeof window !== "undefined") {
9479
9472
  window.React = React__default;
9480
9473
  window.ReactDOM = ReactDOM;
@@ -10019,7 +10012,7 @@ function Container({ Apps: Apps2 }) {
10019
10012
  );
10020
10013
  }
10021
10014
  return /* @__PURE__ */ jsxs("div", { children: [
10022
- isTauri7 && /* @__PURE__ */ jsx("div", { "data-tauri-drag-region": true, className: "absolute top-0 w-full h-[2.5vh] left-0 bg-transparent", style: { zIndex: 10 } }),
10015
+ isTauri8 && /* @__PURE__ */ jsx("div", { "data-tauri-drag-region": true, className: "absolute top-0 w-full h-[2.5vh] left-0 bg-transparent", style: { zIndex: 10 } }),
10023
10016
  /* @__PURE__ */ jsx(
10024
10017
  "div",
10025
10018
  {
@@ -10083,6 +10076,8 @@ function Container({ Apps: Apps2 }) {
10083
10076
  /* @__PURE__ */ jsx("aside", { className: "items-start x hidden md:flex bg-[hsl(var(--bg))] relative z-10", children: /* @__PURE__ */ jsx(
10084
10077
  Sidebar,
10085
10078
  {
10079
+ projectName: Apps2.projectName,
10080
+ ProjectIcon: Apps2.projectIcon,
10086
10081
  workspace,
10087
10082
  setIsSwitchWorkspace,
10088
10083
  showSearchDialog,
@@ -10112,7 +10107,7 @@ function Container({ Apps: Apps2 }) {
10112
10107
  children: [
10113
10108
  /* @__PURE__ */ jsx("div", { className: clsx8(
10114
10109
  "w-full overflow-hidden",
10115
- isTauri7 && "pt-1.5",
10110
+ isTauri8 && "pt-1.5",
10116
10111
  "h-[calc(100%-50px)] md:h-full"
10117
10112
  ), children: /* @__PURE__ */ jsxs(
10118
10113
  "div",
@@ -10134,7 +10129,7 @@ function Container({ Apps: Apps2 }) {
10134
10129
  "relative overflow-hidden",
10135
10130
  "flex-1"
10136
10131
  ), children: Object.keys(snaptabs).length > 0 && /* @__PURE__ */ jsx(MultiView, { actives, className: "relative top-0 left-0 bg-neutral-300 dark:bg-[hsl(var(--float))]", layout, children: Object.keys(tabs).map((key, index) => /* @__PURE__ */ jsx(TabItem, { isOpened: actives.includes(index), children: tabs[key] }, key)) }) }),
10137
- isTauri7 && /* @__PURE__ */ jsx("div", { className: clsx8("absolute z-10 top-[-0.2px]", currentLayout === "rightToLeft" ? "left-0" : "right-0"), children: /* @__PURE__ */ jsx(Topbar, { reverse: currentLayout === "rightToLeft", Elements: [
10132
+ isTauri8 && /* @__PURE__ */ jsx("div", { className: clsx8("absolute z-10 top-[-0.2px]", currentLayout === "rightToLeft" ? "left-0" : "right-0"), children: /* @__PURE__ */ jsx(Topbar, { reverse: currentLayout === "rightToLeft", Elements: [
10138
10133
  currentLayout === "rightToLeft" ? /* @__PURE__ */ jsx(
10139
10134
  "button",
10140
10135
  {
@@ -10367,7 +10362,7 @@ function Container({ Apps: Apps2 }) {
10367
10362
  children: null,
10368
10363
  separator: false,
10369
10364
  trigger: () => {
10370
- if (isTauri7) {
10365
+ if (isTauri8) {
10371
10366
  openUrl("https://github.com/openchad/openchad");
10372
10367
  } else {
10373
10368
  window.open("https://github.com/openchad/openchad", "_blank");
@@ -10391,7 +10386,7 @@ function Container({ Apps: Apps2 }) {
10391
10386
  children: null,
10392
10387
  separator: false,
10393
10388
  trigger: () => {
10394
- if (isTauri7) {
10389
+ if (isTauri8) {
10395
10390
  openUrl("https://discord.gg/JWeqhecqBD");
10396
10391
  } else {
10397
10392
  window.open("https://discord.gg/JWeqhecqBD", "_blank");
@@ -10500,6 +10495,24 @@ function Container({ Apps: Apps2 }) {
10500
10495
  ] })
10501
10496
  ] });
10502
10497
  }
10498
+ var OpenChadIcon = () => {
10499
+ return /* @__PURE__ */ jsxs(
10500
+ "svg",
10501
+ {
10502
+ className: "w-5 h-5 stroke-[15px] stroke-accent",
10503
+ xmlns: "http://www.w3.org/2000/svg",
10504
+ viewBox: "0 0 657 657",
10505
+ children: [
10506
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M173 84h6a167 167 0 0 1 80 34l3 2a428 428 0 0 0 21 15l4 4 2 1a462 462 0 0 0 17 14c8 8 17 15 24 24l14 15 6 6 2 2c3 3 3 3 3 6l-8 7-3 3-2 1-8 6-4 1c-4-1-5-3-8-6a2267 2267 0 0 0-4-5l-9-9-10-11-21-21c-3-1-5-4-7-6-17-14-17-14-36-26-3 0-5 2-7 4l-2 2-2 2-2 2a968 968 0 0 0-17 19l-2 2a4081 4081 0 0 0-25 34l8 6 3 2a257 257 0 0 1 27 22 208 208 0 0 1 31 31 296 296 0 0 1 32 39 359 359 0 0 1 26 40 393 393 0 0 1 64 185c3 31-3 67-23 92a71 71 0 0 1-51 24 153 153 0 0 1-50-8l-6-2-1-3a1041 1041 0 0 1 9 1l8 1a65 65 0 0 0 51-13l4-1 1-2c1-4 3-6 6-9 5-6 8-13 10-21l2-5c20-49-4-118-23-164a332 332 0 0 0-16-32c-5-11-12-22-18-32l-2-2a356 356 0 0 0-50-67l-2 2-7 7c-12 11-12 11-22 23l-8 10-18 21 6 8 11 13 2 3a1365 1365 0 0 1 7 10c35 49 64 114 55 175-2 16-9 31-22 40l-5 3-2 2c-14 7-31 4-45 0a156 156 0 0 1-54-33 215 215 0 0 1-30-29 291 291 0 0 1-51-79c-14-29-25-61-26-93v-4c-1-22 2-44 17-60 10-10 21-14 35-14 29 0 54 16 75 34l5 4 7 6a82 82 0 0 0 14-18l2-2c10-15 21-29 33-41l4-8-24-20-2-2-19-13-3-2-19-10-2-1c-24-11-49-16-74-8-16 6-27 18-34 34l-8 24-2-1a121 121 0 0 1 26-69c4-6 8-10 15-13l2-2c7-4 13-6 20-7l3-1a105 105 0 0 1 67 13l3 1h7l3-4 2-3 2-2 3-3 10-14c10-14 21-26 33-38-11-11-36-16-52-18l-2-1c-9-1-18-1-27 1h-4c-13 2-22 8-33 15l-6 2 7-11 3-4 2-1 3-4a78 78 0 0 1 72-22ZM31 339c-8 11-12 23-12 37v3c-1 51 23 100 52 139l2 3c15 20 33 37 53 51l3 2c15 10 34 16 53 13 10-2 17-7 23-16 6-10 9-20 9-32v-3c1-58-29-114-66-156l-2-3-28-26-2-2c-22-17-62-36-85-10Z" }),
10507
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "m344 57 7 5a199 199 0 0 1 35 27l12 10a134 134 0 0 1 24 22l6 7 18 20 13-5c14-7 28-13 43-17l3-2 16-2 4 5a2136 2136 0 0 0 38 54l8 14a267 267 0 0 1 22 42c21 43 35 90 37 138v20a124 124 0 0 1-9 43c-3 12-9 23-15 34l-2-1 4-13a116 116 0 0 0 7-37 373 373 0 0 0-59-212l-2-3a476970923 476970923 0 0 0-12-21l-24-33c-8 2-15 5-22 9l-3 1-26 13 10 14 17 25 11 19a362 362 0 0 1 29 55l1 2c25 54 44 114 42 174v4c-1 18-3 34-9 51v3c-3 9-7 17-14 24l-6 9c-7 9-17 16-27 22 0-4 0-5 3-8l2-3 2-2c18-24 23-50 24-79v-24c-1-22-5-43-10-65v-3l-15-45-1 1a378 378 0 0 1-58 34l-3 2-5 3 2 4c11 30 19 63 22 95v2c3 36 3 83-21 113l-5 5-4 6c-4 5-9 9-15 12l-2 1c-12 8-25 12-39 12v-3l5-3c12-7 22-14 30-26l2-4c5-7 8-14 10-21l1-2c3-10 5-19 6-30l1-7a356 356 0 0 0-54-210 248 248 0 0 0-27-45l-3-5-2-4-2-2-1-7 4-3 2-1 3-2 5-3 3-2 8-5c4 2 5 4 8 8l2 3a236496 236496 0 0 1 16 27l1 2 4 7a136 136 0 0 1 12 22l1 4a1318 1318 0 0 0 11 21l2 4 1 3 1 4a8549 8549 0 0 0 60-35l2-2 2-1 4-1a272 272 0 0 0-15-33l-1-3a404 404 0 0 0-31-53c-7-12-15-24-24-35l-9-13a335 335 0 0 0-43-49 242 242 0 0 0-37-34c-6-5-12-11-19-15l-2-1a981 981 0 0 0-53-30h-2c-9-4-18-7-28-8l-9-2c-16-3-31 0-46 3l-1-3c12-7 24-12 37-14l3-1c37-6 77 9 108 29ZM88 421c23 16 39 41 45 68 2 10 3 21-2 31-3 5-7 7-13 8-12 1-21-4-30-12l-2-2c-19-15-33-41-36-65-1-9-1-17 4-25l2-3c9-8 22-5 32 0Z" }),
10508
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "m459 47 10 4 2 1 5 4 2 1a703 703 0 0 1 58 40l19 19 4 5c8 8 15 17 21 26l2 2c20 29 36 61 46 95l1 3c9 31 9 64 11 95h-3v-3a344 344 0 0 0-54-161l-2-3a2024 2024 0 0 0-7-12l-21-29-5-5a210 210 0 0 0-25-29 146 146 0 0 0-24-23c-9-8-18-14-28-20l-12-8v-2Z" }),
10509
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M329 16a182 182 0 0 1 119 38c6 3 11 8 16 13l11 9 12 10-1 3c-15 5-15 5-21 2-4-2-7-6-10-9l-9-8-8-7c-9-8-20-14-30-20l-6-4c-7-5-15-8-23-12h-2c-14-6-28-9-43-11l-6-1 1-3Z" })
10510
+ ]
10511
+ }
10512
+ );
10513
+ };
10514
+
10515
+ // index.ts
10503
10516
  function generateIdFromString(input) {
10504
10517
  return "tb_" + sha256(input).slice(0, 32);
10505
10518
  }
@@ -10525,6 +10538,6 @@ var useGlobal3 = (tb, options) => {
10525
10538
  return useGlobal2(tb, options);
10526
10539
  };
10527
10540
 
10528
- export { Container, generateIdFromString, useDatabase, useElementSize, useFile, useFolder, useGlobal3 as useGlobal, usePython, useTool };
10541
+ export { Container, OpenChadIcon, generateIdFromString, useDatabase, useElementSize, useFile, useFolder, useGlobal3 as useGlobal, usePython, useTool };
10529
10542
  //# sourceMappingURL=index.mjs.map
10530
10543
  //# sourceMappingURL=index.mjs.map