@versini/sassysaint 0.0.0 → 1.0.0

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 { jsxs as S, jsx as a, Fragment as me } from "react/jsx-runtime";
2
- import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, ur as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.C5AWMLF4.js";
3
- import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.DX6TGv84.js";
2
+ import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, ur as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.D4BnyjVs.js";
3
+ import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.C20Z4rxP.js";
4
4
  import pr, { useState as R, useEffect as N, useRef as x, useLayoutEffect as D, useContext as Z, lazy as mr, Suspense as ce, useReducer as ie, useCallback as gr } from "react";
5
5
  import y from "clsx";
6
6
  const yr = ({
@@ -475,7 +475,7 @@ const Vr = () => {
475
475
  children: r != null && r.streaming ? je : We
476
476
  }
477
477
  ) }) : null;
478
- }, ue = mr(() => import("./LazyMessageAssistant.BarQNBL-.js").then((e) => e.LazyMessageAssistant)), Br = () => {
478
+ }, ue = mr(() => import("./LazyMessageAssistant.C2Zv7LVy.js").then((e) => e.LazyMessageAssistant)), Br = () => {
479
479
  const { state: e } = Z(U);
480
480
  return /* @__PURE__ */ S(me, { children: [
481
481
  e && e.messages.length > 0 && e.messages.map((r, o) => {
@@ -1,8 +1,8 @@
1
1
  import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
2
- import { E as X, S as Oe, O, i$1 as _e, N as Be, p as ze, o as Ve, g as A, CARDS as C, renderDataAsList as V, pluralize as q, ABOUT_TITLE as Pe, MODEL_GPT4 as Fe, numberFormatter as $e, durationFormatter as ge, NA as Ge, ROLE_ASSISTANT as Ue, extractAverage as je, GPT4_MAX_TOKENS as Ke, ur as G, STATS as Ce, b as oe, j as D, x as ce, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT as Ye, ACTION_RESET as We, ACTION_RESTORE as Xe, truncate as Je, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as qe, G as Qe, ACTION_SEARCH as Ze, HISTORY_TITLE as et, LOCAL_STORAGE_CHAT_DETAILS as tt, LOCAL_STORAGE_LOCATION as rt, ACTION_LOCATION as de, getCurrentGeoLocation as at, convertLatitudeToDMS as st, convertLongitudeToDMS as nt, PROFILE_TITLE as ot, LOG_OUT as me } from "./index.C5AWMLF4.js";
2
+ import { E as X, S as Oe, O, i$1 as _e, N as Be, p as ze, o as Ve, g as A, CARDS as C, renderDataAsList as V, pluralize as q, ABOUT_TITLE as Pe, MODEL_GPT4 as Fe, numberFormatter as $e, durationFormatter as ge, NA as Ge, ROLE_ASSISTANT as Ue, extractAverage as je, GPT4_MAX_TOKENS as Ke, ur as G, STATS as Ce, b as oe, j as D, x as ce, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT as Ye, ACTION_RESET as We, ACTION_RESTORE as Xe, truncate as Je, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as qe, G as Qe, ACTION_SEARCH as Ze, HISTORY_TITLE as et, LOCAL_STORAGE_CHAT_DETAILS as tt, LOCAL_STORAGE_LOCATION as rt, ACTION_LOCATION as de, getCurrentGeoLocation as at, convertLatitudeToDMS as st, convertLongitudeToDMS as nt, PROFILE_TITLE as ot, LOG_OUT as me } from "./index.D4BnyjVs.js";
3
3
  import * as le from "react";
4
4
  import ct, { useId as be, forwardRef as Ne, useState as y, useRef as P, useContext as M, useEffect as R, Suspense as lt, lazy as it } from "react";
5
- import { g as dt, AppContext as U, serviceCall as ee, SERVICE_TYPES as te, HistoryContext as ye, E as Z, k as v, et as mt, at as ut, lt as se, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.DX6TGv84.js";
5
+ import { g as dt, AppContext as U, serviceCall as ee, SERVICE_TYPES as te, HistoryContext as ye, E as Z, k as v, et as mt, at as ut, lt as se, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.C20Z4rxP.js";
6
6
  import S from "clsx";
7
7
  import { useFloatingTree as Te, useFloatingNodeId as gt, useListItem as ke, useFloating as Ct, offset as bt, flip as Nt, shift as yt, autoUpdate as Tt, useClick as kt, useRole as St, useDismiss as wt, useListNavigation as xt, useTypeahead as Et, useInteractions as vt, useMergeRefs as Se, FloatingNode as At, FloatingList as It, FloatingPortal as Ht, FloatingFocusManager as Mt, FloatingTree as Rt } from "@floating-ui/react";
8
8
  function Lt(e) {
@@ -299,7 +299,7 @@ const _t = ({ className: e, ...r }) => {
299
299
  header: "p-4 mb-0",
300
300
  close: "p-4"
301
301
  }), j = (e) => it(
302
- () => import("./index.DruzEDnN.BqlYMlVQ.js").then((r) => ({
302
+ () => import("./index.DruzEDnN.rXHUB6uV.js").then((r) => ({
303
303
  default: r[e]
304
304
  }))
305
305
  ), Vt = j("Modal"), Pt = j("ModalClose"), Ft = j("ModalContent"), $t = j("ModalDescription"), Gt = j("ModalHeading"), K = ({
@@ -703,8 +703,8 @@ const cr = ({ stats: e }) => {
703
703
  header: C.ABOUT.TITLE_CLIENT,
704
704
  className: "prose-dark dark:prose-lighter",
705
705
  children: V(o, {
706
- [C.ABOUT.VERSION]: "3.0.2",
707
- [C.ABOUT.BUILD_TIMESTAMP]: "07/06/2024 03:19 PM EDT"
706
+ [C.ABOUT.VERSION]: "3.1.0",
707
+ [C.ABOUT.BUILD_TIMESTAMP]: "07/06/2024 03:24 PM EDT"
708
708
  })
709
709
  }
710
710
  ) }),
@@ -1,5 +1,5 @@
1
1
  import { jsx as _i } from "react/jsx-runtime";
2
- import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.BarQNBL-.js";
2
+ import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.C2Zv7LVy.js";
3
3
  const U0 = (
4
4
  // Note: overloads like this are needed to support optional generics.
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
2
- import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.C5AWMLF4.js";
3
- import { AppContext as Ei, E as Ai } from "./useLocalStorage.DX6TGv84.js";
2
+ import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.D4BnyjVs.js";
3
+ import { AppContext as Ei, E as Ai } from "./useLocalStorage.C20Z4rxP.js";
4
4
  import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
5
- import { T as ut } from "./App.BvO5AYgu.js";
5
+ import { T as ut } from "./App.BDNqHRx0.js";
6
6
  import cn from "clsx";
7
7
  const Li = ({
8
8
  spinnerRef: e,
@@ -8641,7 +8641,7 @@ function sf(e) {
8641
8641
  i.push(af(n)), o.push(Tc()), l.push(Pc(n));
8642
8642
  }
8643
8643
  const cf = Ii(
8644
- () => import("./LazyMarkdownWithExtra.CQOOOxpt.js")
8644
+ () => import("./LazyMarkdownWithExtra.BXu8ynUN.js")
8645
8645
  ), In = {
8646
8646
  MODEL: "Model",
8647
8647
  PLUGIN: "Plugin",
@@ -2560,7 +2560,7 @@ const qn = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2560
2560
  row1: /* @__PURE__ */ S("div", { children: [
2561
2561
  Tt,
2562
2562
  " v",
2563
- "3.0.2",
2563
+ "3.1.0",
2564
2564
  " - ",
2565
2565
  Na,
2566
2566
  At && e && e.models.length > 0 && e.models[0] === "development" ? " - Development Mode" : ""
@@ -2572,7 +2572,7 @@ const qn = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2572
2572
  _a
2573
2573
  ] })
2574
2574
  }
2575
- ), Ba = Ze(() => import("./LazyHeader.DicV3qjN.js")), Wa = () => {
2575
+ ), Ba = Ze(() => import("./LazyHeader.Dq9Jaelp.js")), Wa = () => {
2576
2576
  const { isAuthenticated: e } = xe();
2577
2577
  return /* @__PURE__ */ S(q, { children: [
2578
2578
  e && /* @__PURE__ */ c(et, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Ba, {}) }),
@@ -2666,7 +2666,7 @@ const qn = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2666
2666
  ] }),
2667
2667
  /* @__PURE__ */ c(Ka, {})
2668
2668
  ] });
2669
- }, Ga = Ze(() => import("./App.BvO5AYgu.js").then((e) => e.App)), Va = ({ isComponent: e }) => {
2669
+ }, Ga = Ze(() => import("./App.BDNqHRx0.js").then((e) => e.App)), Va = ({ isComponent: e }) => {
2670
2670
  const { isAuthenticated: t } = xe();
2671
2671
  return t ? /* @__PURE__ */ c(et, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Ga, { isComponent: e }) }) : /* @__PURE__ */ c(ja, {});
2672
2672
  }, Ja = ({
@@ -3,7 +3,7 @@ import A from "clsx";
3
3
  import * as c from "react";
4
4
  import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
5
5
  import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
6
- import { S as j } from "./index.C5AWMLF4.js";
6
+ import { S as j } from "./index.D4BnyjVs.js";
7
7
  const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
8
8
  alert: null,
9
9
  alertdialog: null,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
2
2
  import m from "clsx";
3
3
  import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
4
- import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.C5AWMLF4.js";
4
+ import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.D4BnyjVs.js";
5
5
  const Q = (e) => {
6
6
  let a = "";
7
7
  if (typeof e == "number" || typeof e == "string")
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.C5AWMLF4.js";
2
+ import { SassySaint as a } from "../../chunks/index.D4BnyjVs.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.C5AWMLF4.js";
1
+ import { SassySaint as r } from "./chunks/index.D4BnyjVs.js";
2
2
  /*!
3
- @sassysaint/client v3.0.2
3
+ @sassysaint/client v3.1.0
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "3.0.2",
9
- buildTime: "07/06/2024 03:19 PM EDT",
8
+ version: "3.1.0",
9
+ buildTime: "07/06/2024 03:24 PM EDT",
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": "0.0.0",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -40,5 +40,5 @@
40
40
  "sideEffects": [
41
41
  "**/*.css"
42
42
  ],
43
- "gitHead": "e0637c3dedbc5a8eefcd851cb61a3ada26f59db8"
43
+ "gitHead": "3116255781323eca4c2d78eba66103bde152f036"
44
44
  }