cpee 2.1.136 → 2.1.140
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.
- checksums.yaml +4 -4
- data/cockpit/compliance-view.html +0 -7
- data/cockpit/compliance.html +0 -7
- data/cockpit/css/ui.css +1 -1
- data/cockpit/edit.html +0 -7
- data/cockpit/graph.html +0 -5
- data/cockpit/index.html +0 -7
- data/cockpit/js/instance.js +27 -4
- data/cockpit/js/llm.js +79 -21
- data/cockpit/js/wfadaptor.js +10 -4
- data/cockpit/llm.html +0 -7
- data/cockpit/llmmodel.html +0 -7
- data/cockpit/model.html +0 -7
- data/cockpit/only_llm.html +0 -7
- data/cockpit/themes/THEMES.MD +4 -0
- data/cockpit/themes/presetlr/symbols/loop_end_pre.svg +1 -1
- data/cockpit/track.html +0 -5
- data/cpee.gemspec +2 -2
- data/lib/cpee/implementation.rb +5 -0
- data/lib/cpee/implementation_callbacks.rb +2 -2
- data/lib/cpee/implementation_notifications.rb +4 -1
- data/lib/cpee/implementation_properties.rb +63 -19
- data/lib/cpee/json_pointer.rb +110 -0
- data/lib/cpee/message.rb +22 -2
- data/lib/cpee/persistence.rb +4 -0
- data/lib/cpee/redis.rb +8 -0
- data/lib/properties/t_dslx.rng +11 -1
- data/lib/properties.xml +4 -7
- data/server/executionhandlers/eval/connection.rb +12 -3
- data/server/executionhandlers/ruby/connection.rb +12 -3
- data/server/executionhandlers/ruby/controller.rb +17 -2
- data/server/routing/end.pid +1 -1
- data/server/routing/forward-events-00.pid +1 -1
- data/server/routing/forward-events.rb +30 -19
- data/server/routing/forward-votes.pid +1 -1
- data/server/routing/forward-votes.rb +56 -43
- data/server/routing/persist.pid +1 -1
- data/server/routing/persist.rb +49 -28
- metadata +8 -2
- data/cockpit/js/build-bpmn2.js +0 -302
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12f61d71a9f8b618adb4b1f83a5cd0b136269d605bae0b26245bcf41e20b08b9
|
|
4
|
+
data.tar.gz: 5df999ab06315b3dca1d63563a4ca6790acc5f74374f07b91340771d00a03a69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b766be12bd69af5048054bd243ab388f0d26a3040de4d6e838504f6d9904c33f6c564d9c4a438cff29d7445e73987a2563a1d0ef239f2954490172d13d48eb5
|
|
7
|
+
data.tar.gz: 460d38b25b3fe7848aa480554faca26eeca1d07741b4096c999a519e5f981f380734b8ccb234e96d8737edbf94d8b58554d6f95f25aca0b6b9dba474c066faf3
|
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/compliance.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/css/ui.css
CHANGED
|
@@ -104,7 +104,7 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
|
104
104
|
#areainstance div.section:nth-child(1) div { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
|
|
105
105
|
#areainstance div.section:nth-child(1) button { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
|
|
106
106
|
#areainstance div.section:nth-child(1) button[name=loadtestset] { white-space: normal; width: 7em; height: 3.5em; }
|
|
107
|
-
#areainstance div.section:nth-child(1) button[name=save] { white-space: normal; width:
|
|
107
|
+
#areainstance div.section:nth-child(1) button[name=save] { white-space: normal; width: 8.5em; height: 3.5em; margin-left: 0.2em; }
|
|
108
108
|
#areainstance div.section:nth-child(1) button[name=loadtestsetfile] { white-space: normal; width: 7em; height: 3.5em; margin-left: 0.2em; }
|
|
109
109
|
#areainstance div.section:nth-child(1) button[name=loadmodelfile] { white-space: normal; width: 7em; height: 2em; margin-top: 0.2em; }
|
|
110
110
|
|
data/cockpit/edit.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/graph.html
CHANGED
|
@@ -23,16 +23,11 @@
|
|
|
23
23
|
|
|
24
24
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
25
25
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
26
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
30
26
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
35
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
36
31
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
37
32
|
|
|
38
33
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
data/cockpit/index.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/js/instance.js
CHANGED
|
@@ -39,6 +39,8 @@ function global_init() {
|
|
|
39
39
|
save['states']= {};
|
|
40
40
|
save['state']= undefined;
|
|
41
41
|
save['dsl'] = undefined;
|
|
42
|
+
save['change_uuid'] = undefined; // of the last description/change
|
|
43
|
+
save['description'] = undefined; // description that belongs to change_uuid, undefined means get it from the server
|
|
42
44
|
save['activity_red_states'] = {}
|
|
43
45
|
save['graph'] = undefined;
|
|
44
46
|
save['graph_theme'] = undefined;
|
|
@@ -64,7 +66,7 @@ var sub_more = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
|
64
66
|
'topic' + '=' + 'activity' + '&' +
|
|
65
67
|
'votes' + '=' + 'syncing_after' + '&' +
|
|
66
68
|
'topic' + '=' + 'description' + '&' +
|
|
67
|
-
'events' + '=' + 'change,error' + '&' +
|
|
69
|
+
'events' + '=' + 'change,error,sync' + '&' +
|
|
68
70
|
'topic' + '=' + 'position' + '&' +
|
|
69
71
|
'events' + '=' + 'change' + '&' +
|
|
70
72
|
'topic' + '=' + 'state' + '&' +
|
|
@@ -90,7 +92,7 @@ var sub_less = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
|
90
92
|
'topic' + '=' + 'position' + '&' +
|
|
91
93
|
'events' + '=' + 'change' + '&' +
|
|
92
94
|
'topic' + '=' + 'description' + '&' +
|
|
93
|
-
'events' + '=' + 'change,error' + '&' +
|
|
95
|
+
'events' + '=' + 'change,error,sync' + '&' +
|
|
94
96
|
'topic' + '=' + 'state' + '&' +
|
|
95
97
|
'events' + '=' + 'change' + '&' +
|
|
96
98
|
'topic' + '=' + 'dataelements' + '&' +
|
|
@@ -391,10 +393,31 @@ async function sse() { //{{{
|
|
|
391
393
|
monitor_instance_values("documents",data.content.values);
|
|
392
394
|
break;
|
|
393
395
|
case 'description':
|
|
396
|
+
if (data['name'] == 'sync') {
|
|
397
|
+
if (data.content.change_uuid == save['change_uuid']) {
|
|
398
|
+
save['description'] = data.content.description;
|
|
399
|
+
$("button[name=savemodelfile]").prop('disabled',false);
|
|
400
|
+
}
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
403
|
+
if (data['name'] == 'change') {
|
|
404
|
+
save['change_uuid'] = data.content.change_uuid;
|
|
405
|
+
save['description'] = data.content.change_pending ? undefined : data.content.description;
|
|
406
|
+
$("button[name=savemodelfile]").prop('disabled',data.content.change_pending == true);
|
|
407
|
+
} else if (data['name'] == 'error' && data.content.change_uuid && data.content.change_uuid == save['change_uuid']) {
|
|
408
|
+
$("button[name=savemodelfile]").prop('disabled',false);
|
|
409
|
+
}
|
|
394
410
|
monitor_instance_dsl();
|
|
395
411
|
monitor_graph_change(false);
|
|
396
412
|
document.dispatchEvent(graph_changed);
|
|
397
413
|
break;
|
|
414
|
+
case 'transformation':
|
|
415
|
+
if (data.content.change_pending) { // the description for the new model type follows with description/sync
|
|
416
|
+
save['change_uuid'] = data.content.change_uuid;
|
|
417
|
+
save['description'] = undefined;
|
|
418
|
+
$("button[name=savemodelfile]").prop('disabled',true);
|
|
419
|
+
}
|
|
420
|
+
break;
|
|
398
421
|
case 'endpoints':
|
|
399
422
|
monitor_instance_values("endpoints");
|
|
400
423
|
break;
|
|
@@ -1111,7 +1134,7 @@ function save_modelfile() {// {{{
|
|
|
1111
1134
|
|
|
1112
1135
|
let extensions = { 'Signavio': 'bpmn', 'ChatGPT_Mermaid': 'mmd', 'ChatGPT_Graphviz': 'dot' };
|
|
1113
1136
|
Promise.all([
|
|
1114
|
-
$.ajax({ type: "GET", url: url + "/properties/description/", dataType: 'text' }),
|
|
1137
|
+
save['description'] !== undefined ? save['description'] : $.ajax({ type: "GET", url: url + "/properties/description/", dataType: 'text' }), // from the events, persist.rb might not have stored it yet
|
|
1115
1138
|
$.ajax({ type: "GET", url: url + "/properties/attributes/info/" }),
|
|
1116
1139
|
$.ajax({ type: "GET", url: url + "/properties/attributes/modeltype/" }).catch(() => 'CPEE') // instances without modeltype
|
|
1117
1140
|
]).then(function([desc,info,modeltype]){
|
|
@@ -1582,7 +1605,7 @@ function append_to_log(what,type,message) {//{{{
|
|
|
1582
1605
|
message = message.replace(/>/g, '>');
|
|
1583
1606
|
message = message.replace(/"/g, '"');
|
|
1584
1607
|
message = message.replace(/'/g, ''');
|
|
1585
|
-
if (type == 'description/change') {
|
|
1608
|
+
if (type == 'description/change' || type == 'description/sync') {
|
|
1586
1609
|
$("#dat_log").prepend("<tr><td class='fixed'><a title=\"" + d.strftime("[%d/%b/%Y %H:%M:%S]") + "\">D</a></td><td class='fixed'> - </td><td class='fixed'><a title=\"" + what + "\">T</a></td><td class='fixed'> - </td><td class='fixed'>" + type + "</td><td class='fixed'> - </td><td class='long'>... check in persistent log ...</td></tr>");
|
|
1587
1610
|
} else {
|
|
1588
1611
|
$("#dat_log").prepend("<tr><td class='fixed'><a title=\"" + d.strftime("[%d/%b/%Y %H:%M:%S]") + "\">D</a></td><td class='fixed'> - </td><td class='fixed'><a title=\"" + what + "\">T</a></td><td class='fixed'> - </td><td class='fixed'>" + type + "</td><td class='fixed'> - </td><td class='long'>" + message + "</td></tr>");
|
data/cockpit/js/llm.js
CHANGED
|
@@ -41,6 +41,7 @@ function call_llm_service_intent(input, llm, llms, dslx, messages, documents, de
|
|
|
41
41
|
if (intent === null) {
|
|
42
42
|
// no intent matched at all
|
|
43
43
|
ui.success(llms,"Your request seems to be not about process modelling (or anything covered by the installed plugins).");
|
|
44
|
+
send_expositions([[{ 'type': 'Intent Handling', 'lifecycle': 'denied', 'artefact': 'Message', 'llm': llm }, "Request denied. Only process modelling allowed."]]);
|
|
44
45
|
def.resolve(null);
|
|
45
46
|
return;
|
|
46
47
|
}
|
|
@@ -78,6 +79,7 @@ function call_llm_service_intent(input, llm, llms, dslx, messages, documents, de
|
|
|
78
79
|
} catch (xhr) {
|
|
79
80
|
let trimmed_url = intent.url.replace(/\/+$/, '');
|
|
80
81
|
ui.error(llms,"The intent plugin \'" + trimmed_url.substr(trimmed_url.lastIndexOf('/') + 1) + "\' is not working properly.");
|
|
82
|
+
send_expositions([[{ 'type': 'Intent Handling', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': llm }, "The intent plugin \'" + trimmed_url.substr(trimmed_url.lastIndexOf('/') + 1) + "\' is not working properly."]]);
|
|
81
83
|
def.resolve(null);
|
|
82
84
|
return;
|
|
83
85
|
}
|
|
@@ -98,8 +100,10 @@ function call_llm_service_intent(input, llm, llms, dslx, messages, documents, de
|
|
|
98
100
|
|
|
99
101
|
if (intent.output == 'chat') {
|
|
100
102
|
ui.success(llms,filled_output);
|
|
103
|
+
send_expositions([[{ 'type': 'Intent Handling', 'lifecycle': 'result', 'artefact': 'LLM Text', 'llm': llm }, filled_output]]);
|
|
101
104
|
def.resolve(null);
|
|
102
105
|
} else if (intent.output == 'reintent' && filled_output !== input && depth < 3) {
|
|
106
|
+
send_expositions([[{ 'type': 'Intent Handling', 'lifecycle': 'intermediate', 'artefact': 'LLM Text', 'llm': llm }, filled_output]]);
|
|
103
107
|
// repeat the process of looking for a plugin/intent, using the filled output as the new input
|
|
104
108
|
// (at most 3 times, to avoid endless plugin loops)
|
|
105
109
|
call_llm_service_intent(filled_output,llm,llms,dslx,messages,documents,depth + 1).done((result) => {
|
|
@@ -152,12 +156,14 @@ function call_llm_service_model(dslx,input,llm,prompt_type) { //{{{
|
|
|
152
156
|
|
|
153
157
|
return def.promise();
|
|
154
158
|
} //}}}
|
|
155
|
-
function call_llm_service_dataflow(model,llm) { //{{{
|
|
159
|
+
function call_llm_service_dataflow(model,input,llm) { //{{{
|
|
156
160
|
const formData = new FormData();
|
|
157
161
|
const blob1 = new Blob([model], { type: "text/xml" });
|
|
158
162
|
formData.append("rpst_xml", blob1);
|
|
159
|
-
const blob2 = new Blob([
|
|
160
|
-
formData.append("
|
|
163
|
+
const blob2 = new Blob([input], { type: "text/plain" });
|
|
164
|
+
formData.append("user_input", blob2);
|
|
165
|
+
const blob3 = new Blob([llm], { type: "text/plain" });
|
|
166
|
+
formData.append("llm", blob3);
|
|
161
167
|
|
|
162
168
|
let def = new $.Deferred();
|
|
163
169
|
|
|
@@ -234,9 +240,11 @@ function call_llm_text_service(prompt,llms,action) { //{{{
|
|
|
234
240
|
link.click();
|
|
235
241
|
};
|
|
236
242
|
ui.success(llms,data.status);
|
|
243
|
+
send_expositions([[{ 'type': 'LLM Text', 'lifecycle': 'result', 'artefact': 'Message', 'llm': myllm }, data.status]]);
|
|
237
244
|
},
|
|
238
245
|
error: function(xhr, stat, data) {
|
|
239
246
|
ui.error(llms,xhr_error(xhr));
|
|
247
|
+
send_expositions([[{ 'type': 'LLM Text', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': myllm }, xhr_error(xhr)]]);
|
|
240
248
|
}
|
|
241
249
|
});
|
|
242
250
|
} //}}}
|
|
@@ -476,22 +484,18 @@ function diff_summary(model_old, model_new) { //{{{
|
|
|
476
484
|
}
|
|
477
485
|
} //}}}
|
|
478
486
|
|
|
479
|
-
function set_cpee_model(cpee_xml
|
|
487
|
+
function set_cpee_model(cpee_xml) { //{{{
|
|
480
488
|
let root = $X(cpee_xml).get(0);
|
|
481
489
|
if (root.childElementCount === 0) {
|
|
482
490
|
root.textContent = '';
|
|
483
|
-
cpee_xml = new XMLSerializer().serializeToString(root);
|
|
484
491
|
}
|
|
492
|
+
root.setAttribute('dir', save['graph_adaptor'] && save['graph_adaptor'].illustrator.lr ? 'lr' : 'td'); // layout direction of the theme
|
|
493
|
+
cpee_xml = new XMLSerializer().serializeToString(root);
|
|
485
494
|
|
|
486
495
|
const form_data = new FormData();
|
|
487
496
|
const blob = new Blob([cpee_xml], { type: "text/xml" });
|
|
488
497
|
form_data.append("dslx", blob);
|
|
489
498
|
|
|
490
|
-
for (const x of expositions) {
|
|
491
|
-
const blobi = new Blob([x], { type: "text/plain" });
|
|
492
|
-
form_data.append("exposition", blobi);
|
|
493
|
-
}
|
|
494
|
-
|
|
495
499
|
return $.ajax({
|
|
496
500
|
type: "PUT",
|
|
497
501
|
url: url + "/properties/dslx/",
|
|
@@ -502,9 +506,28 @@ function set_cpee_model(cpee_xml,expositions=[]) { //{{{
|
|
|
502
506
|
});
|
|
503
507
|
} //}}}
|
|
504
508
|
|
|
509
|
+
function send_expositions(expositions) { // [[info,body],...], info is an object, e.g. { 'type': 'Dataflow' } {{{
|
|
510
|
+
if (expositions.length == 0) { return; }
|
|
511
|
+
const form_data = new FormData();
|
|
512
|
+
// 18510501 dont change status
|
|
513
|
+
form_data.append("status", new Blob(['<status xmlns="http://cpee.org/ns/properties/2.0"><id>18510501</id><message></message></status>'], { type: "text/xml" }));
|
|
514
|
+
for (const [info,body] of expositions) {
|
|
515
|
+
form_data.append("exposition_info", new Blob([JSON.stringify(info)], { type: "application/json" }));
|
|
516
|
+
form_data.append("exposition_body", new Blob([body === undefined || body === null ? '' : String(body)], { type: "text/plain" }));
|
|
517
|
+
}
|
|
518
|
+
return $.ajax({
|
|
519
|
+
type: "PUT",
|
|
520
|
+
url: url + "/properties/status/",
|
|
521
|
+
contentType: false,
|
|
522
|
+
processData: false,
|
|
523
|
+
data: form_data
|
|
524
|
+
});
|
|
525
|
+
} //}}}
|
|
526
|
+
|
|
505
527
|
function empty_model(){ //{{{
|
|
506
528
|
details_leave(false);
|
|
507
|
-
|
|
529
|
+
send_expositions([[{ 'type': 'Reset', 'lifecycle': 'result', 'artefact': 'Message' },'Everything empty.']]);
|
|
530
|
+
set_cpee_model('<description xmlns="http://cpee.org/ns/description/1.0" xmlns:a="http://cpee.org/ns/annotation/1.0"/>');
|
|
508
531
|
$('#dat_details').empty();
|
|
509
532
|
} //}}}
|
|
510
533
|
|
|
@@ -552,6 +575,10 @@ function create(prompt,llms,generation,mode) {
|
|
|
552
575
|
if (gen == 'dataflow') { prompt_type = 'adapt_endpoints'; }
|
|
553
576
|
}
|
|
554
577
|
|
|
578
|
+
send_expositions([
|
|
579
|
+
[{ 'type': 'Intent Handling', 'lifecycle': 'start', 'artefact': 'Message', 'llm': myllm }, 'User intent analysis'],
|
|
580
|
+
[{ 'type': 'Intent Handling', 'lifecycle': 'start', 'artefact': 'User Input' }, input]
|
|
581
|
+
]);
|
|
555
582
|
ui.querying(llms,'analyses user intent');
|
|
556
583
|
|
|
557
584
|
let documents = save['documents'] ? save['documents'].save_object() : {};
|
|
@@ -562,15 +589,22 @@ function create(prompt,llms,generation,mode) {
|
|
|
562
589
|
history_promise.then(function(history){
|
|
563
590
|
let messages = JSON.stringify(history);
|
|
564
591
|
call_llm_service_intent(input,myllm,llms,save['dslx'],messages,documents).done((piped) => {
|
|
565
|
-
console.log(piped);
|
|
566
592
|
if (piped !== null) {
|
|
567
593
|
ui.querying(llms,'creates model');
|
|
594
|
+
send_expositions([[{ 'type': 'Model Generation', 'lifecycle': 'start', 'artefact': 'Message', 'llm': myllm }, (prompt_type.startsWith('generate_') ? 'Create' : 'Adapt') + ' model']]);
|
|
568
595
|
call_llm_service_model(save['dslx'],piped,myllm,prompt_type).done((data) => {
|
|
569
|
-
|
|
596
|
+
send_expositions([
|
|
597
|
+
[{ 'type': 'Model Generation', 'lifecycle': 'start', 'artefact': 'CPEE Tree' }, data.input_cpee],
|
|
598
|
+
[{ 'type': 'Model Generation', 'lifecycle': 'start', 'artefact': 'User Input' }, data.user_input],
|
|
599
|
+
[{ 'type': 'Model Generation', 'lifecycle': 'start', 'artefact': 'Mermaid' }, data.input_intermediate],
|
|
600
|
+
[{ 'type': 'Model Generation', 'lifecycle': 'result', 'artefact': 'Mermaid', 'llm': data.used_llm }, data.output_intermediate],
|
|
601
|
+
[{ 'type': 'Model Generation', 'lifecycle': 'result', 'artefact': 'CPEE Tree', 'llm': data.used_llm }, prompt_type == 'adapt_endpoints' ? $('> dslx > description',$X(data.output_cpee)).serializePrettyXML() : data.output_cpee] // adapt_endpoints: the endpoints are a separate exposition
|
|
602
|
+
]);
|
|
570
603
|
if (prompt_type == 'adapt_endpoints') {
|
|
571
604
|
let testset = $X(data.output_cpee); //{{{
|
|
572
605
|
let model = $('> dslx > description',testset);
|
|
573
606
|
let endpoints = $('> endpoints',testset);
|
|
607
|
+
send_expositions([[{ 'type': 'Model Generation', 'lifecycle': 'result', 'artefact': 'Endpoints', 'llm': data.used_llm }, endpoints.serializePrettyXML()]]);
|
|
574
608
|
$.ajax({
|
|
575
609
|
type: "PATCH",
|
|
576
610
|
url: url + "/properties/endpoints/",
|
|
@@ -583,13 +617,15 @@ function create(prompt,llms,generation,mode) {
|
|
|
583
617
|
});
|
|
584
618
|
|
|
585
619
|
last_model_before_generation = save['dslx'];
|
|
586
|
-
set_cpee_model(model.serializePrettyXML()
|
|
620
|
+
set_cpee_model(model.serializePrettyXML());
|
|
587
621
|
|
|
588
|
-
|
|
622
|
+
let summary = diff_summary(last_model_before_generation,model);
|
|
623
|
+
ui.success(llms,summary);
|
|
589
624
|
} else {
|
|
590
625
|
if (gen == "dataflow") {
|
|
591
626
|
ui.querying(llms,'selects endpoints and calculates dataflow'); //{{{
|
|
592
|
-
|
|
627
|
+
send_expositions([[{ 'type': 'Dataflow', 'lifecycle': 'start', 'artefact': 'Message', 'llm': myllm }, 'Select endpoints and calculate dataflow']]);
|
|
628
|
+
call_llm_service_dataflow($X(data.output_cpee).serializePrettyXML(),input,myllm).done((data) => {
|
|
593
629
|
let url = $('body').attr('current-instance');
|
|
594
630
|
$.ajax({
|
|
595
631
|
type: "PATCH",
|
|
@@ -603,36 +639,53 @@ function create(prompt,llms,generation,mode) {
|
|
|
603
639
|
});
|
|
604
640
|
|
|
605
641
|
ui.querying(llms,'validates dataflow');
|
|
606
|
-
|
|
642
|
+
send_expositions([
|
|
643
|
+
[{ 'type': 'Dataflow', 'lifecycle': 'result', 'artefact': 'LLM Text', 'llm': data.used_llm }, data.dataflow],
|
|
644
|
+
[{ 'type': 'Dataflow', 'lifecycle': 'result', 'artefact': 'Endpoints', 'llm': data.used_llm }, data.endpoints],
|
|
645
|
+
[{ 'type': 'Dataflow', 'lifecycle': 'intermediate', 'artefact': 'CPEE Tree', 'llm': data.used_llm }, $X(data.output_cpee).serializePrettyXML()],
|
|
646
|
+
[{ 'type': 'Validation', 'lifecycle': 'start', 'artefact': 'Message', 'llm': myllm }, 'Validate dataflow']
|
|
647
|
+
]);
|
|
607
648
|
call_llm_service_validation($X(data.output_cpee).serializePrettyXML(),myllm).done((data) => {
|
|
608
649
|
// for undo button
|
|
609
650
|
last_model_before_generation = save['dslx'];
|
|
610
|
-
set_cpee_model($X(data.output_cpee).serializePrettyXML()
|
|
611
|
-
|
|
651
|
+
set_cpee_model($X(data.output_cpee).serializePrettyXML());
|
|
652
|
+
let summary = diff_summary(last_model_before_generation,data.output_cpee);
|
|
653
|
+
ui.success(llms,summary);
|
|
654
|
+
send_expositions([
|
|
655
|
+
[{ 'type': 'Validation', 'lifecycle': 'result', 'artefact': 'CPEE Tree', 'llm': myllm }, $X(data.output_cpee).serializePrettyXML()],
|
|
656
|
+
[{ 'type': 'Validation', 'lifecycle': 'result', 'artefact': 'Change Summary' }, summary]
|
|
657
|
+
]);
|
|
612
658
|
})
|
|
613
659
|
.fail((xhr) => {
|
|
614
660
|
ui.error(llms,xhr_error(xhr));
|
|
661
|
+
send_expositions([[{ 'type': 'Validation', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': myllm }, xhr_error(xhr)]]);
|
|
615
662
|
});
|
|
616
663
|
|
|
617
664
|
})
|
|
618
665
|
.fail((xhr) => {
|
|
619
666
|
ui.error(llms,xhr_error(xhr));
|
|
667
|
+
send_expositions([[{ 'type': 'Dataflow', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': myllm }, xhr_error(xhr)]]);
|
|
620
668
|
}); //}}}
|
|
621
669
|
} else if (gen == "model") {
|
|
622
670
|
last_model_before_generation = save['dslx']; //{{{
|
|
623
|
-
set_cpee_model(data.output_cpee
|
|
624
|
-
|
|
671
|
+
set_cpee_model(data.output_cpee);
|
|
672
|
+
let summary = diff_summary(last_model_before_generation,data.output_cpee);
|
|
673
|
+
ui.success(llms,summary);
|
|
674
|
+
send_expositions([[{ 'type': 'Model Generation', 'lifecycle': 'result', 'artefact': 'Change Summary' }, summary]]); //}}}
|
|
625
675
|
} else {
|
|
626
676
|
ui.success(llms,"Successfully done nothing");
|
|
677
|
+
send_expositions([[{ 'type': 'Model Generation', 'lifecycle': 'result', 'artefact': 'Message' }, "Successfully done nothing"]]);
|
|
627
678
|
}
|
|
628
679
|
}
|
|
629
680
|
})
|
|
630
681
|
.fail((xhr) => {
|
|
631
682
|
ui.error(llms,xhr_error(xhr));
|
|
683
|
+
send_expositions([[{ 'type': 'Model Generation', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': myllm }, xhr_error(xhr)]]);
|
|
632
684
|
});
|
|
633
685
|
}
|
|
634
686
|
}).fail((xhr) => {
|
|
635
687
|
ui.error(llms,xhr_error(xhr));
|
|
688
|
+
send_expositions([[{ 'type': 'Intent Handling', 'lifecycle': 'failed', 'artefact': 'Message', 'llm': myllm }, xhr_error(xhr)]]);
|
|
636
689
|
});
|
|
637
690
|
});
|
|
638
691
|
}
|
|
@@ -660,21 +713,26 @@ $(document).ready(async function() { //{{{
|
|
|
660
713
|
$(document).on('click','#generate_itext_button',function(e){
|
|
661
714
|
ui.clean();
|
|
662
715
|
ui.querying($('#llms'),'thinks');
|
|
716
|
+
send_expositions([[{ 'type': 'LLM Text', 'lifecycle': 'start', 'artefact': 'Message', 'llm': $('#llms').find(":selected").val() || default_llm }, 'Create text description of the CPEE-Tree (file)']]);
|
|
663
717
|
call_llm_text_service($('#prompt'),$('#llms'),'file');
|
|
664
718
|
});
|
|
665
719
|
$(document).on('click','#generate_text_button',function(e){
|
|
666
720
|
ui.clean();
|
|
667
721
|
ui.querying($('#llms'),'thinks');
|
|
722
|
+
send_expositions([[{ 'type': 'LLM Text', 'lifecycle': 'start', 'artefact': 'Message', 'llm': $('#llms').find(":selected").val() || default_llm }, 'Create text description of the CPEE-Tree (prompt)']]);
|
|
668
723
|
call_llm_text_service($('#prompt'),$('#llms'),'show');
|
|
669
724
|
});
|
|
670
725
|
$(document).on('click','#prompt_undo_button',function(e){
|
|
671
726
|
ui.clean();
|
|
672
727
|
ui.input($('#llms'),'Undo');
|
|
673
728
|
ui.querying($('#llms'),'thinks');
|
|
729
|
+
send_expositions([[{ 'type': 'Undo', 'lifecycle': 'start', 'artefact': 'Message' }, 'Restore previous CPEE-Tree']]);
|
|
674
730
|
load_last_model_before_generation().done(() => {
|
|
675
731
|
ui.success($('#llms'),'Previous model restored.');
|
|
732
|
+
send_expositions([[{ 'type': 'Undo', 'lifecycle': 'result', 'artefact': 'Message' }, 'Previous CPEE-Tree restored.']]);
|
|
676
733
|
}).fail((xhr) => {
|
|
677
734
|
ui.error($('#llms'),xhr_error(xhr));
|
|
735
|
+
send_expositions([[{ 'type': 'Undo', 'lifecycle': 'failed', 'artefact': 'Message' }, xhr_error(xhr)]]);
|
|
678
736
|
});
|
|
679
737
|
});
|
|
680
738
|
$(document).on('click','#prompt_attach_button',function(e){
|
data/cockpit/js/wfadaptor.js
CHANGED
|
@@ -239,6 +239,7 @@ function WfIllustrator(wf_adaptor) { // View {{{
|
|
|
239
239
|
this.width_shift_label = 7;
|
|
240
240
|
this.group_extend = 1;
|
|
241
241
|
this.structural_tighten = 3; // 'structural' borders are smaller in y
|
|
242
|
+
this.conn_center = 15; // connectors attach to the center of the symbols, i.e. half a symbol before the end of the cell
|
|
242
243
|
this.elements = {}; // the svgs
|
|
243
244
|
this.svg = {};
|
|
244
245
|
this.draw = {};
|
|
@@ -1050,8 +1051,12 @@ function WfIllustrator(wf_adaptor) { // View {{{
|
|
|
1050
1051
|
if(((end['row']-start['row']) == 0) && ((end['col']-start['col']) == 0)) return;
|
|
1051
1052
|
var line = $X('<path xmlns="http://www.w3.org/2000/svg" class="edge"/>');
|
|
1052
1053
|
let diag = false; // the arrow sits on a diagonal segment (into a gateway), so it has to be closer to the center
|
|
1053
|
-
let sy = get_row(start['row'],start['col']) + self.height -
|
|
1054
|
-
let
|
|
1054
|
+
let sy = get_row(start['row'],start['col']) + self.height - self.conn_center + start.yoffset; // center of the symbols
|
|
1055
|
+
let ssym = self.dim.symbols[start['row']] && self.dim.symbols[start['row']][start['col']];
|
|
1056
|
+
if (self.lr && self.inverted && ssym && self.elements[ssym.type] && self.elements[ssym.type].svg && $('.part-end',self.elements[ssym.type].svg).length > 0) { // inverted: the arrow points into the start from its end, not under the task template (tasks are the symbols with a part-end)
|
|
1057
|
+
sy = get_row_end(start['row'],start['col']) - self.conn_center + start.yoffset; // as far in from the end as other arrows are from the start
|
|
1058
|
+
}
|
|
1059
|
+
let ey = get_row(end['row'],end['col']) + self.height - self.conn_center + end.yoffset;
|
|
1055
1060
|
if (around) { // e.g. back in an empty loop: leave at 45 degrees to the right, go straight, enter at 45 degrees
|
|
1056
1061
|
diag = true;
|
|
1057
1062
|
let off = 7.5 + 7; // from the center to the corner of the gateway, then 7 further
|
|
@@ -1159,6 +1164,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
|
1159
1164
|
} // }}}
|
|
1160
1165
|
var gd = this.get_description = function() { // public {{{
|
|
1161
1166
|
var serxml = $(description.get(0).documentElement).clone(true);
|
|
1167
|
+
serxml.attr('dir', illustrator.lr ? 'lr' : 'td'); // layout direction of the theme, e.g. for the bpmn export
|
|
1162
1168
|
serxml.removeAttr('svg-id');
|
|
1163
1169
|
serxml.removeAttr('svg-type');
|
|
1164
1170
|
serxml.removeAttr('svg-subtype');
|
|
@@ -1469,7 +1475,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
|
1469
1475
|
// small y offset.
|
|
1470
1476
|
endnodes = endnodes.map(function(p) {
|
|
1471
1477
|
var np = JSON.parse(JSON.stringify(p));
|
|
1472
|
-
np.yoffset = illustrator.height_shift/2 + illustrator.group_extend +
|
|
1478
|
+
np.yoffset = illustrator.height_shift/2 + illustrator.group_extend + illustrator.conn_center - illustrator.structural_tighten;
|
|
1473
1479
|
return np;
|
|
1474
1480
|
});
|
|
1475
1481
|
}
|
|
@@ -1594,7 +1600,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
|
1594
1600
|
// structural border: incoming arrow stops at the group border instead of reaching into the icon
|
|
1595
1601
|
// (only a pixel-level yoffset, row/col stay integers so get_x() column lookups stay correct)
|
|
1596
1602
|
conn_target = JSON.parse(JSON.stringify(pos));
|
|
1597
|
-
conn_target.yoffset = -illustrator.height + illustrator.height_shift/2 - illustrator.group_extend +
|
|
1603
|
+
conn_target.yoffset = -illustrator.height + illustrator.height_shift/2 - illustrator.group_extend + illustrator.conn_center + illustrator.structural_tighten;
|
|
1598
1604
|
conn_target.structural = true;
|
|
1599
1605
|
}
|
|
1600
1606
|
if(illustrator.elements[sname] != undefined && illustrator.elements[sname].closeblock == true) { // Close Block if element e.g. loop
|
data/cockpit/llm.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/llmmodel.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|
data/cockpit/model.html
CHANGED
|
@@ -24,16 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
26
|
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
31
27
|
<script type="text/javascript" src="/js_libs/uidash_util.js"></script>
|
|
32
28
|
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
33
29
|
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
34
30
|
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
35
31
|
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
37
32
|
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
38
33
|
|
|
39
34
|
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
|
@@ -41,8 +36,6 @@
|
|
|
41
36
|
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
42
37
|
<script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
|
|
43
38
|
|
|
44
|
-
<script type="text/javascript" src="js/build-bpmn2.js"></script>
|
|
45
|
-
|
|
46
39
|
<link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
|
|
47
40
|
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
48
41
|
|