@genai-fi/base 4.0.4 → 4.0.5
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/components/Button/Button.d.ts +3 -0
- package/dist/components/Button/Button.js +9 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.js +61 -60
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare const Button: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
3
3
|
}, "disabled" | "className" | "style" | "classes" | "children" | "color" | "sx" | "tabIndex" | "href" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
4
|
+
export declare const VerticalButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "color" | "sx" | "tabIndex" | "href" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
4
7
|
export declare const LargeButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
8
|
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
6
9
|
}, "disabled" | "className" | "style" | "classes" | "children" | "color" | "sx" | "tabIndex" | "href" | "action" | "loading" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -3,6 +3,13 @@ import { B as o } from "../../Button-BeUmwrlS.js";
|
|
|
3
3
|
const e = t(o)({
|
|
4
4
|
textTransform: "none"
|
|
5
5
|
}), s = t(o)({
|
|
6
|
+
flexDirection: "column",
|
|
7
|
+
padding: "5px 8px",
|
|
8
|
+
"& .MuiButton-startIcon": {
|
|
9
|
+
margin: "0"
|
|
10
|
+
},
|
|
11
|
+
textTransform: "none"
|
|
12
|
+
}), a = t(o)({
|
|
6
13
|
textTransform: "none",
|
|
7
14
|
fontWeight: "bold",
|
|
8
15
|
fontSize: "1.2rem",
|
|
@@ -10,5 +17,6 @@ const e = t(o)({
|
|
|
10
17
|
});
|
|
11
18
|
export {
|
|
12
19
|
e as Button,
|
|
13
|
-
|
|
20
|
+
a as LargeButton,
|
|
21
|
+
s as VerticalButton
|
|
14
22
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as ConnectionStatus } from './components/ConnectionStatus/ConnectionStatus';
|
|
2
|
-
export { Button, LargeButton } from './components/Button/Button';
|
|
2
|
+
export { Button, LargeButton, VerticalButton } from './components/Button/Button';
|
|
3
3
|
export { default as usePeer } from './hooks/peer';
|
|
4
4
|
export type { SenderType, PeerEvent, PeerErrorType, PeerStatus, BuiltinEvent, Connection, PeerConnectionType, } from './services/peer2peer/types';
|
|
5
5
|
export { default as Peer2Peer } from './services/peer2peer/Peer2Peer';
|
package/dist/main.js
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
1
|
import { default as o } from "./components/ConnectionStatus/ConnectionStatus.js";
|
|
2
|
-
import { Button as t, LargeButton as f } from "./components/Button/Button.js";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { useID as
|
|
6
|
-
import { useOnlyOnce as
|
|
7
|
-
import { default as
|
|
8
|
-
import { theme as
|
|
9
|
-
import { default as
|
|
10
|
-
import { canvasFromDataTransfer as P, canvasFromFile as S, canvasFromImage as
|
|
11
|
-
import { createZipBlob as
|
|
12
|
-
import { useTabActive as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
2
|
+
import { Button as t, LargeButton as f, VerticalButton as m } from "./components/Button/Button.js";
|
|
3
|
+
import { default as p } from "./hooks/peer.js";
|
|
4
|
+
import { default as l } from "./services/peer2peer/Peer2Peer.js";
|
|
5
|
+
import { useID as x } from "./hooks/id.js";
|
|
6
|
+
import { useOnlyOnce as c } from "./hooks/onlyOnce.js";
|
|
7
|
+
import { default as F } from "./hooks/random.js";
|
|
8
|
+
import { theme as I } from "./style/theme.js";
|
|
9
|
+
import { default as B } from "./util/randomId.js";
|
|
10
|
+
import { canvasFromDataTransfer as P, canvasFromFile as S, canvasFromImage as y, canvasFromURL as T, canvasesFromFiles as b, cropTo as A, urlFromDataTransfer as C } from "./util/canvas.js";
|
|
11
|
+
import { createZipBlob as M, loadZipFile as R, saveZipFile as W } from "./util/zip.js";
|
|
12
|
+
import { useTabActive as O } from "./hooks/useTabActive.js";
|
|
13
|
+
import { default as k } from "./components/Spinner/Spinner.js";
|
|
14
|
+
import { default as E } from "./components/Privacy/Privacy.js";
|
|
15
|
+
import { default as Q } from "./components/BusyButton/BusyButton.js";
|
|
16
|
+
import { default as V } from "./components/AlertPara/AlertPara.js";
|
|
17
17
|
import { default as q } from "./components/QRCode/QRCode.js";
|
|
18
18
|
import { default as G } from "./components/Webcam/Webcam.js";
|
|
19
19
|
import { default as J } from "./components/ContentLoader/ContentLoader.js";
|
|
20
|
-
import { default as
|
|
21
|
-
import { extractNodesFromElements as
|
|
22
|
-
import { Widget as
|
|
23
|
-
import { S as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
20
|
+
import { default as X } from "./components/WorkflowLayout/Layout.js";
|
|
21
|
+
import { extractNodesFromElements as _, generateLines as $ } from "./components/WorkflowLayout/lines.js";
|
|
22
|
+
import { Widget as re } from "./components/WorkflowLayout/Widget.js";
|
|
23
|
+
import { S as ae } from "./SvgLayer-DQQ6Pb5G.js";
|
|
24
|
+
import { default as fe } from "./components/LangSelect/LangSelect.js";
|
|
25
|
+
import { default as se } from "./components/IconMenu/Spacer.js";
|
|
26
|
+
import { default as ue } from "./components/IconMenu/IconMenu.js";
|
|
27
|
+
import { default as ne } from "./components/IconMenu/IconMenuInline.js";
|
|
28
|
+
import { default as de } from "./components/IconMenu/Item.js";
|
|
29
|
+
import { default as ie } from "./components/PercentageBar/PercentageBar.js";
|
|
30
|
+
import { default as ve } from "./components/PieScore/PieScore.js";
|
|
31
|
+
import { default as ge } from "./components/Application/Application.js";
|
|
32
32
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
V as AlertPara,
|
|
34
|
+
ge as Application,
|
|
35
|
+
Q as BusyButton,
|
|
36
36
|
t as Button,
|
|
37
37
|
o as ConnectionStatus,
|
|
38
38
|
J as ContentLoader,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
ue as IconMenu,
|
|
40
|
+
ne as IconMenuInline,
|
|
41
|
+
de as IconMenuItem,
|
|
42
|
+
fe as LangSelect,
|
|
43
43
|
f as LargeButton,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
l as Peer2Peer,
|
|
45
|
+
ie as PercentageBar,
|
|
46
|
+
ve as PieScore,
|
|
47
|
+
E as Privacy,
|
|
48
48
|
q as QRCode,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
se as Spacer,
|
|
50
|
+
k as Spinner,
|
|
51
|
+
ae as SvgLayer,
|
|
52
|
+
m as VerticalButton,
|
|
52
53
|
G as Webcam,
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
re as Widget,
|
|
55
|
+
X as WorkflowLayout,
|
|
55
56
|
P as canvasFromDataTransfer,
|
|
56
57
|
S as canvasFromFile,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
58
|
+
y as canvasFromImage,
|
|
59
|
+
T as canvasFromURL,
|
|
60
|
+
b as canvasesFromFiles,
|
|
61
|
+
M as createZipBlob,
|
|
62
|
+
A as cropTo,
|
|
63
|
+
_ as extractNodesFromElements,
|
|
64
|
+
$ as generateLines,
|
|
65
|
+
R as loadZipFile,
|
|
66
|
+
B as randomId,
|
|
67
|
+
W as saveZipFile,
|
|
68
|
+
I as theme,
|
|
69
|
+
C as urlFromDataTransfer,
|
|
70
|
+
x as useID,
|
|
71
|
+
c as useOnlyOnce,
|
|
72
|
+
p as usePeer,
|
|
73
|
+
F as useRandom,
|
|
74
|
+
O as useTabActive
|
|
74
75
|
};
|