@genai-fi/base 4.0.2 → 4.0.4

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,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as n } from "react";
3
3
  import { Button as a } from "../Button/Button.js";
4
- import { C as e } from "../../CircularProgress-C6sMwjDC.js";
4
+ import { C as e } from "../../CircularProgress-DgKnRiq7.js";
5
5
  const f = n(function({ busy: r, ...t }, i) {
6
6
  return /* @__PURE__ */ o(
7
7
  a,
@@ -1,5 +1,5 @@
1
- import { s as t } from "../../DefaultPropsProvider-D2IJ8Qbs.js";
2
- import { B as o } from "../../Button-CGKw9sMz.js";
1
+ import { s as t } from "../../DefaultPropsProvider-BurgXZzw.js";
2
+ import { B as o } from "../../Button-BeUmwrlS.js";
3
3
  const e = t(o)({
4
4
  textTransform: "none"
5
5
  }), s = t(o)({
@@ -2,9 +2,9 @@ import { jsx as r, Fragment as I, jsxs as L } from "react/jsx-runtime";
2
2
  import { iceConfig as W, webrtcActive as q } from "../../state/webrtcState.js";
3
3
  import { useRef as F, useState as g, useEffect as o } from "react";
4
4
  import { getRTConfig as P } from "./ice.js";
5
- import { W as R, F as z } from "../../FlashWifi-CYp0UP0B.js";
5
+ import { W as R, F as z } from "../../FlashWifi-DkGhdWqj.js";
6
6
  import { useTranslation as E } from "react-i18next";
7
- import { c as b } from "../../createSvgIcon-DmrVEdN7.js";
7
+ import { c as b } from "../../createSvgIcon-DQhMxTx4.js";
8
8
  import { checkP2P as j } from "./check.js";
9
9
  import { usePeerObject as x } from "../../hooks/peer.js";
10
10
  import { a as T } from "../../react-D_xU5dL6.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { F as p } from "../../FlashWifi-CYp0UP0B.js";
3
+ import { F as p } from "../../FlashWifi-DkGhdWqj.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { NativeSelect as s } from "@mui/material";
3
3
  import { useTranslation as m } from "react-i18next";
4
4
  import { useCallback as g } from "react";
5
- import { c as i } from "../../createSvgIcon-DmrVEdN7.js";
5
+ import { c as i } from "../../createSvgIcon-DQhMxTx4.js";
6
6
  import '../../assets/LangSelect.css';const r = "_lang_1mspu_3", u = {
7
7
  lang: r
8
8
  }, h = i(/* @__PURE__ */ e("path", {
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
2
  import { useState as l, useEffect as d, useMemo as m } from "react";
3
- import { c as _ } from "../../createSvgIcon-DmrVEdN7.js";
3
+ import { c as _ } from "../../createSvgIcon-DQhMxTx4.js";
4
4
  import { IconButton as a } from "@mui/material";
5
5
  import '../../assets/Motd.css';const g = "#e04f66", h = "#fd9d32", b = "#e8f0fe", j = "_motd_1rn2j_3", v = "_info_1rn2j_15 _motd_1rn2j_3", w = "_warn_1rn2j_21 _motd_1rn2j_3", C = "_error_1rn2j_26 _motd_1rn2j_3", M = {
6
6
  bgColourful3: g,
@@ -1,12 +1,12 @@
1
1
  import { jsx as D, jsxs as re } from "react/jsx-runtime";
2
- import { d as Re, i as E, e as ee, u as ou, f as Be, b as Nn, c as iu, r as Hs, a as su, j as au } from "../../CircularProgress-C6sMwjDC.js";
2
+ import { d as Re, i as E, e as ee, u as ou, f as Be, b as Nn, c as iu, r as Hs, a as su, j as au } from "../../CircularProgress-DgKnRiq7.js";
3
3
  import * as N from "react";
4
4
  import rr from "react";
5
- import { P as d, g as Ge, a as no } from "../../createTheme-a85zdZWm.js";
5
+ import { P as d, g as Ge, a as no } from "../../createTheme-DV959X3d.js";
6
6
  import { g as lu } from "../../_commonjsHelpers-DaMA6jEr.js";
7
- import { r as wo, d as uu, T as qs, g as Ye, u as Ws, s as ce, c as Pe, a as Xe, m as cu, f as fu } from "../../DefaultPropsProvider-D2IJ8Qbs.js";
8
- import { i as du, j as hu, o as pu, k as gu, u as Ao, b as bi, P as mu, h as Bs, H as It, f as yu, e as bu, I as vu } from "../../Portal-BqkDy0Wc.js";
9
- import { B as xu } from "../../Button-CGKw9sMz.js";
7
+ import { r as wo, d as uu, T as qs, g as Ye, u as Ws, s as ce, c as Pe, a as Xe, m as cu, f as fu } from "../../DefaultPropsProvider-BurgXZzw.js";
8
+ import { i as du, j as hu, o as pu, k as gu, u as Ao, b as bi, P as mu, h as Bs, H as It, f as yu, e as bu, I as vu } from "../../Portal-CcDjyHU0.js";
9
+ import { B as xu } from "../../Button-BeUmwrlS.js";
10
10
  import '../../assets/PieScore.css';function Gs(e) {
11
11
  const {
12
12
  theme: t,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { D as h } from "../../DialogQR-wJru73YO.js";
3
+ import { D as h } from "../../DialogQR-C2SNQ9Uf.js";
4
4
  import "@mui/material";
5
5
  import "react-i18next";
6
6
  import "../../state/webrtcState.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as h, useState as m, useEffect as u, Suspense as v } from "react";
3
- import { q as p, s as o, D as b } from "../../DialogQR-wJru73YO.js";
3
+ import { q as p, s as o, D as b } from "../../DialogQR-C2SNQ9Uf.js";
4
4
  function q({ url: a, size: r, code: c, label: l, dialog: d }) {
5
5
  const t = h(null), [f, n] = m(!1);
6
6
  return u(() => {
@@ -1,15 +1,17 @@
1
- interface Props {
2
- interval?: number;
3
- capture?: boolean;
4
- disable?: boolean;
1
+ interface Callbacks {
5
2
  onCapture?: (image: HTMLCanvasElement) => void | Promise<void>;
6
3
  onPreprocess?: (image: HTMLCanvasElement) => void | Promise<void>;
7
4
  onPostprocess?: (image: HTMLCanvasElement) => void | Promise<void>;
8
5
  onActivated?: (available: boolean) => void;
9
6
  onFatal?: () => void;
7
+ }
8
+ interface Props extends Callbacks {
9
+ interval?: number;
10
+ capture?: boolean;
11
+ disable?: boolean;
10
12
  direct?: boolean;
11
13
  hidden?: boolean;
12
14
  size: number;
13
15
  }
14
- export default function Webcam({ interval, capture, onCapture, disable, direct, hidden, onPreprocess, onPostprocess, onActivated, onFatal, size, }: Props): import("react/jsx-runtime").JSX.Element;
16
+ export default function Webcam({ interval, capture, disable, direct, hidden, size, ...props }: Props): import("react/jsx-runtime").JSX.Element;
15
17
  export {};