@genai-fi/base 4.2.3 → 4.3.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.
- package/dist/{Button-BeUmwrlS.js → Button-BgSe1MyE.js} +4 -4
- package/dist/{Close-BGAFHd7i.js → Close-Cv_QwhIN.js} +1 -1
- package/dist/DialogQR-DoM8ZHBM.js +87 -0
- package/dist/Feedback.module-C2gI6YmB.js +21 -0
- package/dist/{FlashWifi-DkGhdWqj.js → FlashWifi-slUpI7sB.js} +1 -1
- package/dist/{Portal-CcDjyHU0.js → Portal-MiwrHMB_.js} +5 -5
- package/dist/assets/Feedback.css +1 -0
- package/dist/assets/Help.css +1 -0
- package/dist/assets/InfoPop.css +1 -0
- package/dist/{DialogQR-BIfoHwVy.js → browser-HW-wgeM2.js} +418 -501
- package/dist/components/AlertPara/AlertPara.js +1 -1
- package/dist/components/Application/Application.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/ConnectionStatus/ConnectionStatus.js +3 -3
- package/dist/components/ConnectionStatus/FlashWifi.js +1 -1
- package/dist/components/Feedback/Experience.d.ts +6 -0
- package/dist/components/Feedback/Experience.js +23 -0
- package/dist/components/Feedback/Feedback.d.ts +10 -0
- package/dist/components/Feedback/Feedback.js +63 -0
- package/dist/components/Feedback/FeedbackForm.d.ts +9 -0
- package/dist/components/Feedback/FeedbackForm.js +95 -0
- package/dist/components/Feedback/Rating.d.ts +6 -0
- package/dist/components/Feedback/Rating.js +31 -0
- package/dist/components/Feedback/Recommend.d.ts +6 -0
- package/dist/components/Feedback/Recommend.js +31 -0
- package/dist/components/Help/Help.d.ts +12 -0
- package/dist/components/Help/Help.js +75 -0
- package/dist/components/InfoPop/InfoPop.d.ts +10 -0
- package/dist/components/InfoPop/InfoPop.js +48 -0
- package/dist/components/LangSelect/LangSelect.js +1 -1
- package/dist/components/Motd/Motd.js +1 -1
- package/dist/components/PieScore/PieScore.js +3 -3
- package/dist/components/QRCode/DialogQR.js +3 -2
- package/dist/components/QRCode/QRCode.js +7 -6
- package/dist/components/SidePanel/SidePanel.js +1 -1
- package/dist/components/Webcam/Webcam.js +9 -9
- package/dist/components/WorkflowLayout/Widget.js +3 -3
- package/dist/{createSvgIcon-DQhMxTx4.js → createSvgIcon-BM4dw4Lw.js} +4 -4
- package/dist/hooks/peer.js +1 -1
- package/dist/main.d.ts +3 -0
- package/dist/main.js +25 -19
- package/dist/{react-D_xU5dL6.js → react-B9NW8BS7.js} +6 -6
- package/dist/util/Observer.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as N, jsxs as ue } from "react/jsx-runtime";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import ot, { useRef as Rt, useCallback as rt, useEffect as St } from "react";
|
|
4
|
-
import { c as gn } from "../../createSvgIcon-
|
|
4
|
+
import { c as gn } from "../../createSvgIcon-BM4dw4Lw.js";
|
|
5
5
|
import { useTranslation as Qn } from "react-i18next";
|
|
6
6
|
import { useLinesUpdate as eo } from "./svgContext.js";
|
|
7
|
-
import { c as te, g as se,
|
|
7
|
+
import { c as te, g as se, u as ce, s as z, m as pe, a as ne, b as Ne, e as to } from "../../DefaultPropsProvider-BurgXZzw.js";
|
|
8
8
|
import { P as e, g as ae, a as me, f as yn, e as At, r as $t, h as Xt, j as Yt } from "../../createTheme-DV959X3d.js";
|
|
9
|
-
import { o as Se, g as no, r as oo, m as ro, a as io, b as we, u as zt, c as mt, e as so, d as ao, P as lo, H as lt, f as co, h as uo, I as po } from "../../Portal-
|
|
9
|
+
import { o as Se, g as no, r as oo, m as ro, a as io, b as we, u as zt, c as mt, e as so, d as ao, P as lo, H as lt, f as co, h as uo, I as po } from "../../Portal-MiwrHMB_.js";
|
|
10
10
|
import { _ as fo, e as mo, T as vn, b as Ce, f as Mt, d as ct, r as Ie, g as En, c as bt, a as ht, h as bo, u as Tn } from "../../CircularProgress-DgKnRiq7.js";
|
|
11
11
|
import it from "react-dom";
|
|
12
12
|
import '../../assets/Widget.css';function Jt(...t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as h from "react";
|
|
2
2
|
import { jsxs as b, jsx as I } from "react/jsx-runtime";
|
|
3
3
|
import { g as w, a as z, P as e } from "./createTheme-DV959X3d.js";
|
|
4
|
-
import { g as N, u as C,
|
|
4
|
+
import { g as N, u as C, c as O, a as T, s as R, m as E } from "./DefaultPropsProvider-BurgXZzw.js";
|
|
5
5
|
function j(o) {
|
|
6
6
|
return w("MuiSvgIcon", o);
|
|
7
7
|
}
|
|
@@ -14,8 +14,8 @@ const V = (o) => {
|
|
|
14
14
|
} = o, t = {
|
|
15
15
|
root: ["root", r !== "inherit" && `color${z(r)}`, `fontSize${z(n)}`]
|
|
16
16
|
};
|
|
17
|
-
return
|
|
18
|
-
}, $ =
|
|
17
|
+
return T(t, j, s);
|
|
18
|
+
}, $ = R("svg", {
|
|
19
19
|
name: "MuiSvgIcon",
|
|
20
20
|
slot: "Root",
|
|
21
21
|
overridesResolver: (o, r) => {
|
|
@@ -145,7 +145,7 @@ const V = (o) => {
|
|
|
145
145
|
const v = V(i);
|
|
146
146
|
return /* @__PURE__ */ b($, {
|
|
147
147
|
as: a,
|
|
148
|
-
className:
|
|
148
|
+
className: O(v.root, l),
|
|
149
149
|
focusable: "false",
|
|
150
150
|
color: p,
|
|
151
151
|
"aria-hidden": c ? void 0 : !0,
|
package/dist/hooks/peer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as B } from "react/jsx-runtime";
|
|
|
2
2
|
import { createContext as F, useState as y, useRef as p, useEffect as c, useContext as i } from "react";
|
|
3
3
|
import { iceConfig as E, webrtcActive as O } from "../state/webrtcState.js";
|
|
4
4
|
import R from "../services/peer2peer/Peer2Peer.js";
|
|
5
|
-
import { a as T, u as V } from "../react-
|
|
5
|
+
import { a as T, u as V } from "../react-B9NW8BS7.js";
|
|
6
6
|
const f = F(null), G = f.Provider;
|
|
7
7
|
function Q({
|
|
8
8
|
children: e,
|
package/dist/main.d.ts
CHANGED
|
@@ -26,3 +26,6 @@ export { IconMenu, IconMenuInline, IconMenuItem, Spacer } from './components/Ico
|
|
|
26
26
|
export { default as PercentageBar } from './components/PercentageBar/PercentageBar';
|
|
27
27
|
export { default as PieScore } from './components/PieScore/PieScore';
|
|
28
28
|
export { default as Application } from './components/Application/Application';
|
|
29
|
+
export { default as Feedback } from './components/Feedback/Feedback';
|
|
30
|
+
export { default as Help } from './components/Help/Help';
|
|
31
|
+
export { default as InfoPop } from './components/InfoPop/InfoPop';
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as r } from "./components/ConnectionStatus/ConnectionStatus.js";
|
|
2
2
|
import { Button as t, LargeButton as f, VerticalButton as m } from "./components/Button/Button.js";
|
|
3
3
|
import { default as p } from "./hooks/peer.js";
|
|
4
4
|
import { default as u } from "./services/peer2peer/Peer2Peer.js";
|
|
@@ -7,19 +7,19 @@ import { useOnlyOnce as c } from "./hooks/onlyOnce.js";
|
|
|
7
7
|
import { default as F } from "./hooks/random.js";
|
|
8
8
|
import { theme as I } from "./style/theme.js";
|
|
9
9
|
import { default as S } from "./util/randomId.js";
|
|
10
|
-
import { canvasFromDataTransfer as B, canvasFromFile as L, canvasFromImage as y, canvasFromURL as
|
|
10
|
+
import { canvasFromDataTransfer as B, canvasFromFile as L, canvasFromImage as y, canvasFromURL as b, canvasesFromFiles as T, cropTo as A, urlFromDataTransfer as C } from "./util/canvas.js";
|
|
11
11
|
import { createZipBlob as M, loadZipFile as R, saveZipFile as W } from "./util/zip.js";
|
|
12
|
-
import { useTabActive as
|
|
13
|
-
import { default as
|
|
12
|
+
import { useTabActive as k } from "./hooks/useTabActive.js";
|
|
13
|
+
import { default as h } from "./components/Spinner/Spinner.js";
|
|
14
14
|
import { default as E } from "./components/Privacy/Privacy.js";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
15
|
+
import { default as N } from "./components/BusyButton/BusyButton.js";
|
|
16
|
+
import { default as U } from "./components/AlertPara/AlertPara.js";
|
|
17
|
+
import { default as j } from "./components/QRCode/QRCode.js";
|
|
18
|
+
import { default as z } from "./components/Webcam/Webcam.js";
|
|
19
19
|
import { default as J } from "./components/SidePanel/SidePanel.js";
|
|
20
20
|
import { default as X } from "./components/ContentLoader/ContentLoader.js";
|
|
21
21
|
import { default as _ } from "./components/WorkflowLayout/Layout.js";
|
|
22
|
-
import { extractNodesFromElements as ee, generateLines as
|
|
22
|
+
import { extractNodesFromElements as ee, generateLines as oe } from "./components/WorkflowLayout/lines.js";
|
|
23
23
|
import { Widget as ae } from "./components/WorkflowLayout/Widget.js";
|
|
24
24
|
import { S as fe } from "./SvgLayer-DHFiKVQ9.js";
|
|
25
25
|
import { default as se } from "./components/LangSelect/LangSelect.js";
|
|
@@ -30,40 +30,46 @@ import { default as ie } from "./components/IconMenu/Item.js";
|
|
|
30
30
|
import { default as ve } from "./components/PercentageBar/PercentageBar.js";
|
|
31
31
|
import { default as Pe } from "./components/PieScore/PieScore.js";
|
|
32
32
|
import { default as ge } from "./components/Application/Application.js";
|
|
33
|
+
import { default as Le } from "./components/Feedback/Feedback.js";
|
|
34
|
+
import { default as be } from "./components/Help/Help.js";
|
|
35
|
+
import { default as Ae } from "./components/InfoPop/InfoPop.js";
|
|
33
36
|
export {
|
|
34
|
-
|
|
37
|
+
U as AlertPara,
|
|
35
38
|
ge as Application,
|
|
36
|
-
|
|
39
|
+
N as BusyButton,
|
|
37
40
|
t as Button,
|
|
38
|
-
|
|
41
|
+
r as ConnectionStatus,
|
|
39
42
|
X as ContentLoader,
|
|
43
|
+
Le as Feedback,
|
|
44
|
+
be as Help,
|
|
40
45
|
ne as IconMenu,
|
|
41
46
|
de as IconMenuInline,
|
|
42
47
|
ie as IconMenuItem,
|
|
48
|
+
Ae as InfoPop,
|
|
43
49
|
se as LangSelect,
|
|
44
50
|
f as LargeButton,
|
|
45
51
|
u as Peer2Peer,
|
|
46
52
|
ve as PercentageBar,
|
|
47
53
|
Pe as PieScore,
|
|
48
54
|
E as Privacy,
|
|
49
|
-
|
|
55
|
+
j as QRCode,
|
|
50
56
|
J as SidePanel,
|
|
51
57
|
le as Spacer,
|
|
52
|
-
|
|
58
|
+
h as Spinner,
|
|
53
59
|
fe as SvgLayer,
|
|
54
60
|
m as VerticalButton,
|
|
55
|
-
|
|
61
|
+
z as Webcam,
|
|
56
62
|
ae as Widget,
|
|
57
63
|
_ as WorkflowLayout,
|
|
58
64
|
B as canvasFromDataTransfer,
|
|
59
65
|
L as canvasFromFile,
|
|
60
66
|
y as canvasFromImage,
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
b as canvasFromURL,
|
|
68
|
+
T as canvasesFromFiles,
|
|
63
69
|
M as createZipBlob,
|
|
64
70
|
A as cropTo,
|
|
65
71
|
ee as extractNodesFromElements,
|
|
66
|
-
|
|
72
|
+
oe as generateLines,
|
|
67
73
|
R as loadZipFile,
|
|
68
74
|
S as randomId,
|
|
69
75
|
W as saveZipFile,
|
|
@@ -73,5 +79,5 @@ export {
|
|
|
73
79
|
c as useOnlyOnce,
|
|
74
80
|
p as usePeer,
|
|
75
81
|
F as useRandom,
|
|
76
|
-
|
|
82
|
+
k as useTabActive
|
|
77
83
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _, {
|
|
1
|
+
import _, { useRef as R, createElement as A, useReducer as S, useEffect as x, useDebugValue as y, createContext as C, useCallback as E, useContext as F } from "react";
|
|
2
2
|
import { c as V, g as j, I as h } from "./vanilla-BJxibF1U.js";
|
|
3
3
|
const k = {}, w = C(
|
|
4
4
|
void 0
|
|
@@ -10,8 +10,8 @@ function T({
|
|
|
10
10
|
children: t,
|
|
11
11
|
store: s
|
|
12
12
|
}) {
|
|
13
|
-
const u =
|
|
14
|
-
return !s && !u.current && (u.current = V()),
|
|
13
|
+
const u = R(void 0);
|
|
14
|
+
return !s && !u.current && (u.current = V()), A(
|
|
15
15
|
w.Provider,
|
|
16
16
|
{
|
|
17
17
|
value: s || u.current
|
|
@@ -55,7 +55,7 @@ const b = (t) => typeof (t == null ? void 0 : t.then) == "function", g = (t) =>
|
|
|
55
55
|
}), d.set(t, u)), u;
|
|
56
56
|
};
|
|
57
57
|
function I(t, s) {
|
|
58
|
-
const { delay: u, unstable_promiseStatus: o = !_.use } = {}, n = P(), [[a, l, f], c] =
|
|
58
|
+
const { delay: u, unstable_promiseStatus: o = !_.use } = {}, n = P(), [[a, l, f], c] = S(
|
|
59
59
|
(r) => {
|
|
60
60
|
const i = n.get(t);
|
|
61
61
|
return Object.is(r[0], i) && r[1] === n && r[2] === t ? r : [i, n, t];
|
|
@@ -64,7 +64,7 @@ function I(t, s) {
|
|
|
64
64
|
() => [n.get(t), n, t]
|
|
65
65
|
);
|
|
66
66
|
let e = a;
|
|
67
|
-
if ((l !== n || f !== t) && (c(), e = n.get(t)),
|
|
67
|
+
if ((l !== n || f !== t) && (c(), e = n.get(t)), x(() => {
|
|
68
68
|
const r = n.sub(t, () => {
|
|
69
69
|
if (o)
|
|
70
70
|
try {
|
|
@@ -81,7 +81,7 @@ function I(t, s) {
|
|
|
81
81
|
c();
|
|
82
82
|
});
|
|
83
83
|
return c(), r;
|
|
84
|
-
}, [n, t, u, o]),
|
|
84
|
+
}, [n, t, u, o]), y(e), b(e)) {
|
|
85
85
|
const r = v(e, () => n.get(t));
|
|
86
86
|
return o && g(r), D(r);
|
|
87
87
|
}
|
package/dist/util/Observer.js
CHANGED