@plitzi/plitzi-builder 0.32.2 → 0.32.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.
- package/CHANGELOG.md +42 -0
- package/dist/index.html +9 -8
- package/dist/modules/DataSource/models/BindingForm/BindingForm.d.ts +3 -2
- package/dist/modules/DataSource/models/BindingForm/steps/StepTransformers/StepTransformers.d.ts +3 -2
- package/dist/package.json.d.ts +1 -1
- package/dist/plitzi-builder.css +1 -1
- package/dist/plitzi-builder.css.gz +0 -0
- package/dist/plitzi-builder.js +1062 -1062
- package/dist/plitzi-builder.js.gz +0 -0
- package/package.json +15 -15
- package/dist/modules/OpenAI_Deprecated/OpenAIChat.d.ts +0 -2
- package/dist/modules/OpenAI_Deprecated/components/Chat/Chat.d.ts +0 -8
- package/dist/modules/OpenAI_Deprecated/components/Chat/ChatMessage.d.ts +0 -8
- package/dist/modules/OpenAI_Deprecated/components/Chat/Message/Message.d.ts +0 -9
- package/dist/modules/OpenAI_Deprecated/components/Chat/Message/index.d.ts +0 -3
- package/dist/modules/OpenAI_Deprecated/components/Chat/Message/modes/MessageHtml.d.ts +0 -5
- package/dist/modules/OpenAI_Deprecated/components/Chat/Message/modes/MessageText.d.ts +0 -7
- package/dist/modules/OpenAI_Deprecated/components/Chat/index.d.ts +0 -3
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/VoiceVisualizer.d.ts +0 -18
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/drawByBlob.d.ts +0 -11
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/drawByLiveStream.d.ts +0 -20
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/getBarsData.d.ts +0 -9
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/index.d.ts +0 -7
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/initialCanvasSetup.d.ts +0 -9
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/paintLine.d.ts +0 -9
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/paintLineFromCenterToRight.d.ts +0 -8
- package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/index.d.ts +0 -3
- package/dist/modules/OpenAI_Deprecated/hooks/useMediaRecorder.d.ts +0 -18
- package/dist/modules/OpenAI_Deprecated/hooks/useWebWorker.d.ts +0 -10
- package/dist/modules/OpenAI_Deprecated/index.d.ts +0 -1
- package/dist/modules/OpenAI_Deprecated/types/openAI.d.ts +0 -20
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/plitzi-builder",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
4
4
|
"homepage": "./",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"files": [
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@apollo/client": "^4.2.3",
|
|
30
30
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
31
|
-
"@plitzi/nexus": "0.32.
|
|
32
|
-
"@plitzi/plitzi-sdk": "0.32.
|
|
31
|
+
"@plitzi/nexus": "0.32.4",
|
|
32
|
+
"@plitzi/plitzi-sdk": "0.32.4",
|
|
33
33
|
"@plitzi/plitzi-ui": "^1.6.13",
|
|
34
|
-
"@plitzi/sdk-auth": "0.32.
|
|
35
|
-
"@plitzi/sdk-collections": "0.32.
|
|
36
|
-
"@plitzi/sdk-dev-tools": "0.32.
|
|
37
|
-
"@plitzi/sdk-elements": "0.32.
|
|
38
|
-
"@plitzi/sdk-event-bridge": "0.32.
|
|
39
|
-
"@plitzi/sdk-interactions": "0.32.
|
|
40
|
-
"@plitzi/sdk-navigation": "0.32.
|
|
41
|
-
"@plitzi/sdk-plugins": "0.32.
|
|
42
|
-
"@plitzi/sdk-schema": "0.32.
|
|
43
|
-
"@plitzi/sdk-shared": "0.32.
|
|
44
|
-
"@plitzi/sdk-style": "0.32.
|
|
45
|
-
"@plitzi/sdk-variables": "0.32.
|
|
34
|
+
"@plitzi/sdk-auth": "0.32.4",
|
|
35
|
+
"@plitzi/sdk-collections": "0.32.4",
|
|
36
|
+
"@plitzi/sdk-dev-tools": "0.32.4",
|
|
37
|
+
"@plitzi/sdk-elements": "0.32.4",
|
|
38
|
+
"@plitzi/sdk-event-bridge": "0.32.4",
|
|
39
|
+
"@plitzi/sdk-interactions": "0.32.4",
|
|
40
|
+
"@plitzi/sdk-navigation": "0.32.4",
|
|
41
|
+
"@plitzi/sdk-plugins": "0.32.4",
|
|
42
|
+
"@plitzi/sdk-schema": "0.32.4",
|
|
43
|
+
"@plitzi/sdk-shared": "0.32.4",
|
|
44
|
+
"@plitzi/sdk-style": "0.32.4",
|
|
45
|
+
"@plitzi/sdk-variables": "0.32.4",
|
|
46
46
|
"@tanstack/react-virtual": "^3.14.3",
|
|
47
47
|
"@xyflow/react": "^12.11.0",
|
|
48
48
|
"apollo-upload-client": "^19.0.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OpenAIMessage } from '../../types/openAI';
|
|
2
|
-
import { RefObject } from 'react';
|
|
3
|
-
export type ChatProps = {
|
|
4
|
-
ref?: RefObject<HTMLDivElement | null>;
|
|
5
|
-
messages?: OpenAIMessage[];
|
|
6
|
-
};
|
|
7
|
-
declare const Chat: ({ ref, messages }: ChatProps) => import("react").JSX.Element;
|
|
8
|
-
export default Chat;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OpenAIMessage, OpenAIRole } from '../../types/openAI';
|
|
2
|
-
export type ChatMessageProps = {
|
|
3
|
-
id: string;
|
|
4
|
-
role: OpenAIRole;
|
|
5
|
-
content: OpenAIMessage['content'];
|
|
6
|
-
};
|
|
7
|
-
declare const ChatMessage: ({ id, role, content }: ChatMessageProps) => import("react").JSX.Element;
|
|
8
|
-
export default ChatMessage;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OpenAIContentType } from '../../../types/openAI';
|
|
2
|
-
export type MessageProps = {
|
|
3
|
-
message: {
|
|
4
|
-
type: OpenAIContentType;
|
|
5
|
-
content: string;
|
|
6
|
-
}[];
|
|
7
|
-
};
|
|
8
|
-
declare const Message: ({ message }: MessageProps) => import("react").JSX.Element;
|
|
9
|
-
export default Message;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export type VoiceVisualizerProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
audioData?: Uint8Array<ArrayBuffer>;
|
|
5
|
-
recordingPaused?: boolean;
|
|
6
|
-
isRecording?: boolean;
|
|
7
|
-
speed?: number;
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
mainBarColor?: string;
|
|
10
|
-
barWidth?: number;
|
|
11
|
-
gap?: number;
|
|
12
|
-
rounded?: number;
|
|
13
|
-
animateCurrentPick?: boolean;
|
|
14
|
-
fullscreen?: boolean;
|
|
15
|
-
ref?: RefObject<HTMLCanvasElement | null>;
|
|
16
|
-
};
|
|
17
|
-
declare const VoiceVisualizer: ({ ref, className, audioData, recordingPaused, isRecording, speed, backgroundColor, mainBarColor, barWidth, gap, rounded, animateCurrentPick, fullscreen }: VoiceVisualizerProps) => import("react").JSX.Element;
|
|
18
|
-
export default VoiceVisualizer;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const drawByBlob: ({ barsData, canvas, barWidth, gap, backgroundColor, mainBarColor, rounded }: {
|
|
2
|
-
barsData: {
|
|
3
|
-
max: number;
|
|
4
|
-
}[];
|
|
5
|
-
canvas: HTMLCanvasElement;
|
|
6
|
-
barWidth: number;
|
|
7
|
-
gap: number;
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
mainBarColor: string;
|
|
10
|
-
rounded: number;
|
|
11
|
-
}) => void;
|
package/dist/modules/OpenAI_Deprecated/components/VoiceVisualizer/helpers/drawByLiveStream.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export declare const drawByLiveStream: ({ audioData, unit, index, index2, canvas, isRecording, isPausedRecording, picks, backgroundColor, barWidth, mainBarColor, rounded, animateCurrentPick, fullscreen }: {
|
|
3
|
-
audioData?: Uint8Array<ArrayBuffer>;
|
|
4
|
-
unit: number;
|
|
5
|
-
index: RefObject<number>;
|
|
6
|
-
index2: RefObject<number>;
|
|
7
|
-
canvas: HTMLCanvasElement;
|
|
8
|
-
isRecording: boolean;
|
|
9
|
-
isPausedRecording: boolean;
|
|
10
|
-
picks: ({
|
|
11
|
-
startY: number;
|
|
12
|
-
barHeight: number;
|
|
13
|
-
} | null)[];
|
|
14
|
-
backgroundColor: string;
|
|
15
|
-
barWidth: number;
|
|
16
|
-
mainBarColor: string;
|
|
17
|
-
rounded: number;
|
|
18
|
-
animateCurrentPick: boolean;
|
|
19
|
-
fullscreen: boolean;
|
|
20
|
-
}) => void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { drawByBlob } from './drawByBlob';
|
|
2
|
-
import { drawByLiveStream } from './drawByLiveStream';
|
|
3
|
-
import { getBarsData } from './getBarsData';
|
|
4
|
-
import { initialCanvasSetup } from './initialCanvasSetup';
|
|
5
|
-
import { paintLine } from './paintLine';
|
|
6
|
-
import { paintLineFromCenterToRight } from './paintLineFromCenterToRight';
|
|
7
|
-
export { paintLine, drawByBlob, initialCanvasSetup, drawByLiveStream, paintLineFromCenterToRight, getBarsData };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type UseMediaRecorderProps = {
|
|
2
|
-
mimeType?: string;
|
|
3
|
-
onPausedRecording?: () => void;
|
|
4
|
-
onResumedRecording?: () => void;
|
|
5
|
-
onUpdate?: (chunks: Blob[], chunk: Blob) => void;
|
|
6
|
-
onFinish?: (audioUrl: string, audioBlob: Blob) => void | Promise<void>;
|
|
7
|
-
};
|
|
8
|
-
declare const useMediaRecorder: ({ mimeType, onPausedRecording, onResumedRecording, onUpdate, onFinish }: UseMediaRecorderProps) => {
|
|
9
|
-
start: () => Promise<void>;
|
|
10
|
-
resume: () => void;
|
|
11
|
-
pause: () => void;
|
|
12
|
-
stop: () => void;
|
|
13
|
-
recording: boolean;
|
|
14
|
-
error: string | undefined;
|
|
15
|
-
audioData: Uint8Array<ArrayBuffer>;
|
|
16
|
-
paused: boolean;
|
|
17
|
-
};
|
|
18
|
-
export default useMediaRecorder;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type UseWebWorkerProps = {
|
|
2
|
-
fn?: (data: unknown) => unknown;
|
|
3
|
-
initialValue?: unknown;
|
|
4
|
-
onMessageReceived?: () => void;
|
|
5
|
-
};
|
|
6
|
-
export declare function useWebWorker({ fn, initialValue, onMessageReceived }: UseWebWorkerProps): {
|
|
7
|
-
result: unknown;
|
|
8
|
-
setResult: import('react').Dispatch<unknown>;
|
|
9
|
-
run: (value: unknown) => void;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type OpenAIRole = 'user' | 'assistant';
|
|
2
|
-
export type OpenAIContentType = 'text' | 'html';
|
|
3
|
-
export type OpenAIMessage = {
|
|
4
|
-
assistant_id?: string | null;
|
|
5
|
-
attachments: unknown[];
|
|
6
|
-
content: {
|
|
7
|
-
text: {
|
|
8
|
-
value: string;
|
|
9
|
-
annotations?: unknown[];
|
|
10
|
-
};
|
|
11
|
-
type: OpenAIContentType;
|
|
12
|
-
}[];
|
|
13
|
-
created_at: number;
|
|
14
|
-
id: string;
|
|
15
|
-
metadata: object;
|
|
16
|
-
object: string;
|
|
17
|
-
role: OpenAIRole;
|
|
18
|
-
run_id?: string | null;
|
|
19
|
-
thread_id?: string | null;
|
|
20
|
-
};
|