bizydraft 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl
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.
Potentially problematic release.
This version of bizydraft might be problematic. Click here for more details.
- bizydraft/static/js/postEvent.js +28 -1
- {bizydraft-0.1.13.dist-info → bizydraft-0.1.14.dist-info}/METADATA +1 -1
- {bizydraft-0.1.13.dist-info → bizydraft-0.1.14.dist-info}/RECORD +5 -5
- {bizydraft-0.1.13.dist-info → bizydraft-0.1.14.dist-info}/WHEEL +0 -0
- {bizydraft-0.1.13.dist-info → bizydraft-0.1.14.dist-info}/top_level.txt +0 -0
bizydraft/static/js/postEvent.js
CHANGED
|
@@ -673,9 +673,36 @@ app.registerExtension({
|
|
|
673
673
|
result: graph.workflow
|
|
674
674
|
}, '*');
|
|
675
675
|
return graph.workflow;
|
|
676
|
-
|
|
677
676
|
},
|
|
678
677
|
|
|
678
|
+
graphToPrompt: async function () {
|
|
679
|
+
const graph = await app.graphToPrompt();
|
|
680
|
+
window.parent.postMessage({
|
|
681
|
+
type: 'functionResult',
|
|
682
|
+
method: 'graphToPrompt',
|
|
683
|
+
result: {
|
|
684
|
+
workflow: graph.workflow,
|
|
685
|
+
output: graph.output
|
|
686
|
+
}
|
|
687
|
+
}, '*');
|
|
688
|
+
return {
|
|
689
|
+
workflow: graph.workflow,
|
|
690
|
+
output: graph.output
|
|
691
|
+
};
|
|
692
|
+
},
|
|
693
|
+
loadGraphData: function (params) {
|
|
694
|
+
const { json, clear = true, center = false, workflow_name = "" } = params;
|
|
695
|
+
if (clear) {
|
|
696
|
+
app.graph.clear();
|
|
697
|
+
}
|
|
698
|
+
app.loadGraphData(json, clear, center, workflow_name);
|
|
699
|
+
window.parent.postMessage({
|
|
700
|
+
type: 'functionResult',
|
|
701
|
+
method: 'loadGraphData',
|
|
702
|
+
result: true
|
|
703
|
+
}, '*');
|
|
704
|
+
return true;
|
|
705
|
+
},
|
|
679
706
|
};
|
|
680
707
|
|
|
681
708
|
window.addEventListener('message', function (event) {
|
|
@@ -6,11 +6,11 @@ bizydraft/server.py,sha256=ES1fBYr_Ufv_YWsynLck1ln9bXTGjK3KXas1CK9WBqM,1358
|
|
|
6
6
|
bizydraft/static/js/handleStyle.js,sha256=vIR_W3GLKn-saIPhKfLeuJ7QbeNI4PhjAkjGjJpxVcA,1461
|
|
7
7
|
bizydraft/static/js/hookLoadImage.js,sha256=9ksy4ecRKT2OY90_klXAt2qipk121ZUmBwo5pB0NZeE,5413
|
|
8
8
|
bizydraft/static/js/main.js,sha256=cZ-7wR9T8aNLzIrTjc-g9xVZf7z6TXWl1zhP_wXSSVo,150
|
|
9
|
-
bizydraft/static/js/postEvent.js,sha256=
|
|
9
|
+
bizydraft/static/js/postEvent.js,sha256=B879Dl5hTUqddll58stY5TFYxpFtQbI1KtMqfgrWg3E,27980
|
|
10
10
|
bizydraft/static/js/socket.js,sha256=q_SWsySJdVV7ZTH-3Pdr09pkWGQj08C9xVAQES7eJaU,2440
|
|
11
11
|
bizydraft/static/js/tool.js,sha256=IlDVjddodT9DtfdIGiIzSIKdxbUMztDLQ4jI0uFJCwk,206
|
|
12
12
|
bizydraft/static/js/uploadFile.js,sha256=Ae0VdYRE3c1bx1GBQGUpJ-NOXXB984u3T_grhLXOvgQ,4973
|
|
13
|
-
bizydraft-0.1.
|
|
14
|
-
bizydraft-0.1.
|
|
15
|
-
bizydraft-0.1.
|
|
16
|
-
bizydraft-0.1.
|
|
13
|
+
bizydraft-0.1.14.dist-info/METADATA,sha256=12cxto1Nv8SzBIddIHRrwUUKnc3l4TW9cfGpk_rxMPM,73
|
|
14
|
+
bizydraft-0.1.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
bizydraft-0.1.14.dist-info/top_level.txt,sha256=XtoBq6hjZhXIM7aas4GtPDtAiKo8FdLzMABXW8qqQ8M,10
|
|
16
|
+
bizydraft-0.1.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|