@plitzi/plitzi-builder 0.32.3 → 0.32.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/CHANGELOG.md +42 -0
- package/dist/index.html +11 -11
- 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 +23 -23
- package/dist/plitzi-builder.css +1 -1
- package/dist/plitzi-builder.css.gz +0 -0
- package/dist/plitzi-builder.js +1067 -1067
- package/dist/plitzi-builder.js.gz +0 -0
- package/package.json +37 -37
- 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.5",
|
|
4
4
|
"homepage": "./",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"files": [
|
|
@@ -26,34 +26,34 @@
|
|
|
26
26
|
"./plitzi-builder-dev-vendor.js.map": "./dist/plitzi-builder-dev-vendor.js.map"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@apollo/client": "^4.2.
|
|
30
|
-
"@fortawesome/fontawesome-free": "^7.
|
|
31
|
-
"@plitzi/nexus": "0.32.
|
|
32
|
-
"@plitzi/plitzi-sdk": "0.32.
|
|
29
|
+
"@apollo/client": "^4.2.6",
|
|
30
|
+
"@fortawesome/fontawesome-free": "^7.3.0",
|
|
31
|
+
"@plitzi/nexus": "0.32.5",
|
|
32
|
+
"@plitzi/plitzi-sdk": "0.32.5",
|
|
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.
|
|
46
|
-
"@tanstack/react-virtual": "^3.14.
|
|
47
|
-
"@xyflow/react": "^12.11.
|
|
34
|
+
"@plitzi/sdk-auth": "0.32.5",
|
|
35
|
+
"@plitzi/sdk-collections": "0.32.5",
|
|
36
|
+
"@plitzi/sdk-dev-tools": "0.32.5",
|
|
37
|
+
"@plitzi/sdk-elements": "0.32.5",
|
|
38
|
+
"@plitzi/sdk-event-bridge": "0.32.5",
|
|
39
|
+
"@plitzi/sdk-interactions": "0.32.5",
|
|
40
|
+
"@plitzi/sdk-navigation": "0.32.5",
|
|
41
|
+
"@plitzi/sdk-plugins": "0.32.5",
|
|
42
|
+
"@plitzi/sdk-schema": "0.32.5",
|
|
43
|
+
"@plitzi/sdk-shared": "0.32.5",
|
|
44
|
+
"@plitzi/sdk-style": "0.32.5",
|
|
45
|
+
"@plitzi/sdk-variables": "0.32.5",
|
|
46
|
+
"@tanstack/react-virtual": "^3.14.5",
|
|
47
|
+
"@xyflow/react": "^12.11.2",
|
|
48
48
|
"apollo-upload-client": "^19.0.0",
|
|
49
49
|
"clsx": "^2.1.1",
|
|
50
|
-
"graphql": "^17.0.
|
|
51
|
-
"graphql-ws": "^6.0
|
|
52
|
-
"immer": "^11.1.
|
|
50
|
+
"graphql": "^17.0.2",
|
|
51
|
+
"graphql-ws": "^6.1.0",
|
|
52
|
+
"immer": "^11.1.11",
|
|
53
53
|
"jszip": "^3.10.1",
|
|
54
|
-
"react-hook-form": "^7.
|
|
55
|
-
"react-router-dom": "^7.18.
|
|
56
|
-
"swr": "^2.4.
|
|
54
|
+
"react-hook-form": "^7.81.0",
|
|
55
|
+
"react-router-dom": "^7.18.1",
|
|
56
|
+
"swr": "^2.4.2",
|
|
57
57
|
"twig": "^3.0.0",
|
|
58
58
|
"uuid": "^14.0.1",
|
|
59
59
|
"zod": "^4.4.3"
|
|
@@ -66,23 +66,23 @@
|
|
|
66
66
|
"@babel/compat-data": "^8.0.0",
|
|
67
67
|
"@babel/core": "^8.0.1",
|
|
68
68
|
"@babel/helper-builder-react-jsx-experimental": "^7.12.11",
|
|
69
|
-
"@babel/helper-validator-identifier": "^8.0.
|
|
69
|
+
"@babel/helper-validator-identifier": "^8.0.4",
|
|
70
70
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
71
71
|
"@babel/plugin-transform-private-methods": "^8.0.1",
|
|
72
72
|
"@babel/plugin-transform-runtime": "^8.0.1",
|
|
73
73
|
"@babel/polyfill": "^7.12.1",
|
|
74
74
|
"@babel/preset-env": "^8.0.2",
|
|
75
75
|
"@babel/preset-react": "^8.0.1",
|
|
76
|
-
"@tailwindcss/postcss": "^4.3.
|
|
76
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
77
77
|
"css-loader": "^7.1.4",
|
|
78
|
-
"cypress": "15.
|
|
78
|
+
"cypress": "15.18.1",
|
|
79
79
|
"eslint": "^9.39.4",
|
|
80
80
|
"eslint-plugin-import": "^2.32.0",
|
|
81
|
-
"flow-bin": "^0.
|
|
82
|
-
"postcss": "^8.5.
|
|
81
|
+
"flow-bin": "^0.322.0",
|
|
82
|
+
"postcss": "^8.5.17",
|
|
83
83
|
"postcss-loader": "^8.2.1",
|
|
84
84
|
"postcss-scss": "^4.0.9",
|
|
85
|
-
"prettier": "^3.
|
|
85
|
+
"prettier": "^3.9.5",
|
|
86
86
|
"prop-types": "^15.8.1",
|
|
87
87
|
"react": "^19.2.7",
|
|
88
88
|
"react-dom": "^19.2.7",
|
|
@@ -91,17 +91,17 @@
|
|
|
91
91
|
"sass": "^1.101.0",
|
|
92
92
|
"sass-embedded": "^1.100.0",
|
|
93
93
|
"sass-loader": "^17.0.0",
|
|
94
|
-
"stylelint": "^17.
|
|
94
|
+
"stylelint": "^17.14.0",
|
|
95
95
|
"stylelint-order": "^8.1.1",
|
|
96
96
|
"stylelint-scss": "^7.2.0",
|
|
97
|
-
"terser": "^5.
|
|
97
|
+
"terser": "^5.49.0",
|
|
98
98
|
"typescript": "^6.0.3",
|
|
99
|
-
"vite": "^8.
|
|
100
|
-
"vite-plugin-dts": "^5.0.
|
|
101
|
-
"vite-plugin-ejs": "^
|
|
99
|
+
"vite": "^8.1.4",
|
|
100
|
+
"vite-plugin-dts": "^5.0.3",
|
|
101
|
+
"vite-plugin-ejs": "^2.0.0",
|
|
102
102
|
"vite-plugin-mkcert": "^2.1.0",
|
|
103
103
|
"vite-plugin-react": "^4.0.1",
|
|
104
|
-
"vitest": "^4.1.
|
|
104
|
+
"vitest": "^4.1.10"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"start": "vite dev --mode development",
|
|
@@ -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
|
-
};
|