@versini/sassysaint 5.4.2 → 5.4.3

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as v, Fragment as A } from "react/jsx-runtime";
2
- import { g as z, E as $, CARDS as w, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as At, DEFAULT_AI_ENGINE as ae, numberFormatter as Mt, durationFormatter as Xe, NA as Pt, ROLE_ASSISTANT as Lt, extractAverage as $t, GPT4_MAX_TOKENS as Bt, un as X, STATS as Ze, b as ie, j as L, R as G, HistoryContext as Je, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as zt, O as W, ACTION_RESET as Qe, ACTION_RESTORE as Ot, truncate as Dt, ACTION_SORT as Te, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Ft, HISTORY_TITLE as Ht, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as we, ENGINE_ANTHROPIC as fe, APP_NAME as Gt, ACTION_ENGINE as tt, getCurrentGeoLocation as Ut, TagsContext as jt, TAGS_DESCRIPTION as Kt, ACTION_SET_TAGS as Wt, LOCAL_STORAGE_CHAT_DETAILS as Yt, M as qt, v as Oe, PROFILE_TITLE as Xt, LOG_OUT as De } from "./index.CyxsXeHs.js";
3
- import { serviceCall as V, SERVICE_TYPES as F, E as he, f as D, ge as Zt, he as Jt, ue as Ne, pe as Qt, de as H, me as eo, be as to, we as Ve, n as Fe } from "./index.XSSbqo_5.js";
2
+ import { g as z, E as $, CARDS as w, renderDataAsList as se, pluralize as be, AppContext as ue, ABOUT_TITLE as At, DEFAULT_AI_ENGINE as ae, numberFormatter as Mt, durationFormatter as Xe, NA as Pt, ROLE_ASSISTANT as Lt, extractAverage as $t, GPT4_MAX_TOKENS as Bt, un as X, STATS as Ze, b as ie, j as L, R as G, HistoryContext as Je, LOCAL_STORAGE_PREFIX as me, LOCAL_STORAGE_SORT as zt, O as W, ACTION_RESET as Qe, ACTION_RESTORE as Ot, truncate as Dt, ACTION_SORT as Te, LOCAL_STORAGE_SEARCH as Vt, me as xe, ACTION_SEARCH as Ft, HISTORY_TITLE as Ht, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as we, ENGINE_ANTHROPIC as fe, APP_NAME as Gt, ACTION_ENGINE as tt, getCurrentGeoLocation as Ut, TagsContext as jt, TAGS_DESCRIPTION as Kt, ACTION_SET_TAGS as Wt, LOCAL_STORAGE_CHAT_DETAILS as Yt, M as qt, v as Oe, PROFILE_TITLE as Xt, LOG_OUT as De } from "./index.C2RuFHK-.js";
3
+ import { serviceCall as V, SERVICE_TYPES as F, E as he, f as D, ge as Zt, he as Jt, ue as Ne, pe as Qt, de as H, me as eo, be as to, we as Ve, n as Fe } from "./index.CnlfkUg1.js";
4
4
  import * as b from "react";
5
5
  import x, { useId as oo, forwardRef as ot, useState as S, useRef as le, useContext as B, useEffect as q, Suspense as ro, lazy as ao, useMemo as no } from "react";
6
6
  import C from "clsx";
@@ -1661,8 +1661,8 @@ const re = "panel", pe = "messagebox", zr = ({
1661
1661
  header: w.ABOUT.TITLE_CLIENT,
1662
1662
  className: "prose-dark dark:prose-lighter",
1663
1663
  children: se(n, {
1664
- [w.ABOUT.VERSION]: "5.7.1",
1665
- [w.ABOUT.BUILD_TIMESTAMP]: "12/21/2024 02:38 PM EST"
1664
+ [w.ABOUT.VERSION]: "5.8.0",
1665
+ [w.ABOUT.BUILD_TIMESTAMP]: "12/21/2024 06:50 PM EST"
1666
1666
  })
1667
1667
  }
1668
1668
  ) }),
@@ -1,5 +1,5 @@
1
1
  import { jsx as bs } from "react/jsx-runtime";
2
- import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.1QKtMcJd.js";
2
+ import { convert as vs, getDefaultExportFromCjs as ys, visit as ws, find as Es, parse as xn, parse$1 as _n, normalize as Sn, svg as xs, html as _s, visitParents as Ss, SKIP as Ns, longestStreak as ks, factorySpace as Er, markdownLineEnding as Ht, Markdown as Ts, remarkGfm as Ms } from "./LazyMessageAssistant.D5CSB7UV.js";
3
3
  const Nn = (
4
4
  // Note: overloads like this are needed to support optional generics.
5
5
  /**
@@ -1,9 +1,9 @@
1
1
  import { jsxs as He, jsx as re, Fragment as Zt } from "react/jsx-runtime";
2
- import { le as at } from "./LazyApp.CyJDRVTr.js";
3
- import { E as hi } from "./index.XSSbqo_5.js";
2
+ import { le as at } from "./LazyApp.BuqWs8m7.js";
3
+ import { E as hi } from "./index.CnlfkUg1.js";
4
4
  import sn from "clsx";
5
5
  import { lazy as mi, useContext as gi, Suspense as di } from "react";
6
- import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.CyxsXeHs.js";
6
+ import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.C2RuFHK-.js";
7
7
  /*!
8
8
  @versini/ui-spinner v1.1.1
9
9
  © 2024 gizmette.com
@@ -8661,7 +8661,7 @@ function $c(e) {
8661
8661
  const qc = mi(
8662
8662
  () => import(
8663
8663
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8664
- "./LazyMarkdownWithExtra.Bs7cqF8Z.js"
8664
+ "./LazyMarkdownWithExtra.DTnPCsyx.js"
8665
8665
  )
8666
8666
  ), Tn = {
8667
8667
  MODEL: "Model",
@@ -3527,14 +3527,14 @@ try {
3527
3527
  });
3528
3528
  } catch {
3529
3529
  }
3530
- const Jn = "ASK! ME! ANYTHING!", sr = "LeeLou", Vn = "gizmette.com", Yn = "Log in", Fn = "Sign in with a Passkey", Zo = "Log out", zn = "Password", jn = "Powered by ", es = "Send", ts = "Profile", rs = "Statistics", as = "Chat history", ns = "About", os = "Type your question here", ss = {
3530
+ const Jn = "ASK! ME! ANYTHING!", sr = "LeeLou", Vn = "gizmette.com", Yn = "Log in", Fn = "Sign in with a Passkey", Zo = "Log out", zn = "Password", jn = "Powered by ", es = "Send", ts = "Profile", rs = "Statistics", as = "Chat history", ns = "About", os = "Type your question here", ss = "<clipboard>", is = {
3531
3531
  ACTION_WHILE_STREAMING: {
3532
3532
  content: "Cancel chat"
3533
3533
  },
3534
3534
  ACTION_WHILE_NOT_STREAMING: {
3535
3535
  content: "New chat"
3536
3536
  }
3537
- }, is = "N/A", cs = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed.", ls = {
3537
+ }, cs = "N/A", ls = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", ds = {
3538
3538
  PREFERENCES: {
3539
3539
  TITLE: "User settings",
3540
3540
  NAME: "Name",
@@ -3631,11 +3631,11 @@ const qn = "av-footer", Xn = (e) => {
3631
3631
  engine: Ve,
3632
3632
  engines: []
3633
3633
  }
3634
- }), ds = P.createContext({
3634
+ }), us = P.createContext({
3635
3635
  state: { searchString: "", sortedCell: "", sortDirection: "" },
3636
3636
  dispatch: () => {
3637
3637
  }
3638
- }), us = P.createContext({
3638
+ }), ms = P.createContext({
3639
3639
  state: { tag: "" },
3640
3640
  dispatch: () => {
3641
3641
  }
@@ -3650,7 +3650,7 @@ const qn = "av-footer", Xn = (e) => {
3650
3650
  row1: /* @__PURE__ */ I("div", { children: [
3651
3651
  sr,
3652
3652
  " v",
3653
- "5.7.1",
3653
+ "5.8.0",
3654
3654
  " - ",
3655
3655
  jn,
3656
3656
  t && t.engine,
@@ -3667,7 +3667,7 @@ const qn = "av-footer", Xn = (e) => {
3667
3667
  }, to = vt(
3668
3668
  () => import(
3669
3669
  /* webpackChunkName: "LazyHeader" */
3670
- "./LazyHeader.AXOCM40c.js"
3670
+ "./LazyHeader.D57r_E9S.js"
3671
3671
  )
3672
3672
  ), ro = () => {
3673
3673
  const { isAuthenticated: e } = et();
@@ -3779,7 +3779,7 @@ const qn = "av-footer", Xn = (e) => {
3779
3779
  }, no = new URL(document.location.href).searchParams, oo = !!no.get("debug") || !1, so = vt(
3780
3780
  () => import(
3781
3781
  /* webpackChunkName: "LazyApp" */
3782
- "./LazyApp.CyJDRVTr.js"
3782
+ "./LazyApp.BuqWs8m7.js"
3783
3783
  ).then((e) => e.LazyApp)
3784
3784
  ), io = ({ isComponent: e }) => {
3785
3785
  const { isAuthenticated: t } = et();
@@ -3787,7 +3787,7 @@ const qn = "av-footer", Xn = (e) => {
3787
3787
  }, co = ({
3788
3788
  isComponent: e = !1,
3789
3789
  domain: t = ja
3790
- }) => /* @__PURE__ */ l(ye, { children: /* @__PURE__ */ l(Ka, { clientId: Ha, domain: t, debug: oo, children: /* @__PURE__ */ l(io, { isComponent: e }) }) }), ms = ({ domain: e }) => /* @__PURE__ */ l(co, { isComponent: !0, domain: e });
3790
+ }) => /* @__PURE__ */ l(ye, { children: /* @__PURE__ */ l(Ka, { clientId: Ha, domain: t, debug: oo, children: /* @__PURE__ */ l(io, { isComponent: e }) }) }), hs = ({ domain: e }) => /* @__PURE__ */ l(co, { isComponent: !0, domain: e });
3791
3791
  export {
3792
3792
  ns as ABOUT_TITLE,
3793
3793
  Po as ACTION_ENGINE,
@@ -3804,7 +3804,8 @@ export {
3804
3804
  sr as APP_NAME,
3805
3805
  Zn as AppContext,
3806
3806
  eo as AppFooter,
3807
- ls as CARDS,
3807
+ ds as CARDS,
3808
+ ss as CLIPBOARD_TAG,
3808
3809
  Ve as DEFAULT_AI_ENGINE,
3809
3810
  mn as E,
3810
3811
  ko as ENGINE_ANTHROPIC,
@@ -3812,7 +3813,7 @@ export {
3812
3813
  So as ERROR_MESSAGE,
3813
3814
  Ao as GPT4_MAX_TOKENS,
3814
3815
  as as HISTORY_TITLE,
3815
- ds as HistoryContext,
3816
+ us as HistoryContext,
3816
3817
  $o as LOCAL_STORAGE_CHAT_DETAILS,
3817
3818
  Go as LOCAL_STORAGE_ENGINE_TOGGLE,
3818
3819
  Ho as LOCAL_STORAGE_PREFIX,
@@ -3821,7 +3822,7 @@ export {
3821
3822
  Zo as LOG_OUT,
3822
3823
  ue as M,
3823
3824
  ro as MessagesContainerHeader,
3824
- is as NA,
3825
+ cs as NA,
3825
3826
  qe as O,
3826
3827
  ts as PROFILE_TITLE,
3827
3828
  Zt as R,
@@ -3833,11 +3834,11 @@ export {
3833
3834
  es as SEND,
3834
3835
  rs as STATS,
3835
3836
  Jo as STATS_SEPARATOR,
3836
- ms as SassySaint,
3837
- cs as TAGS_DESCRIPTION,
3838
- ss as TOOLBOX,
3837
+ hs as SassySaint,
3838
+ ls as TAGS_DESCRIPTION,
3839
+ is as TOOLBOX,
3839
3840
  os as TYPE_QUESTION,
3840
- us as TagsContext,
3841
+ ms as TagsContext,
3841
3842
  wt as b,
3842
3843
  wn as d,
3843
3844
  Xo as durationFormatter,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as x, jsx as c, Fragment as Ne } from "react/jsx-runtime";
2
- import { g as Se } from "./index.CyxsXeHs.js";
2
+ import { g as Se } from "./index.C2RuFHK-.js";
3
3
  import z, { useSyncExternalStore as Ce, useCallback as O, useEffect as I, useContext as R, useRef as f, useState as A, useLayoutEffect as M, useMemo as le, useId as $e, useReducer as Ae } from "react";
4
4
  import i from "clsx";
5
5
  const At = ({
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.CyxsXeHs.js";
2
+ import { SassySaint as a } from "../../chunks/index.C2RuFHK-.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.CyxsXeHs.js";
1
+ import { SassySaint as r } from "./chunks/index.C2RuFHK-.js";
2
2
  /*!
3
- @sassysaint/client v5.7.1
3
+ @sassysaint/client v5.8.0
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "5.7.1",
9
- buildTime: "12/21/2024 02:38 PM EST",
8
+ version: "5.8.0",
9
+ buildTime: "12/21/2024 06:50 PM EST",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "5.4.2",
3
+ "version": "5.4.3",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "5.7.1",
33
+ "@sassysaint/client": "5.8.0",
34
34
  "@versini/ui-styles": "1.12.0"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "67aa61b65c5da6fa5936b8cd6c3609bb22a3e696"
44
+ "gitHead": "b687ed32fe9f47b29479044ecb854129994a052f"
45
45
  }