cpee 2.1.130 → 2.1.132
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/FEATURES.md +9 -19
- data/cockpit/compliance-view.html +313 -0
- data/cockpit/compliance.html +34 -23
- data/cockpit/config.json.example +7 -6
- data/cockpit/css/compliance.css +70 -2
- data/cockpit/css/llm.css +9 -1
- data/cockpit/css/llmmodel.css +3 -0
- data/cockpit/css/ui.css +9 -30
- data/cockpit/edit.html +1 -1
- data/cockpit/graph.html +1 -1
- data/cockpit/index.html +6 -1
- data/cockpit/js/compliance.js +925 -10
- data/cockpit/js/instance.js +19 -9
- data/cockpit/js/parameters.js +37 -5
- data/cockpit/js/ui.js +10 -40
- data/cockpit/js/wfadaptor.js +4 -5
- data/cockpit/llm.html +24 -26
- data/cockpit/llmmodel.html +27 -25
- data/cockpit/model.html +1 -1
- data/cockpit/only_llm.html +5 -5
- data/cockpit/rngs/attributes.rng +2 -2
- data/cockpit/rngs/dataelements.rng +2 -2
- data/cockpit/rngs/documents.rng +8 -0
- data/cockpit/rngs/endpoints.rng +2 -2
- data/cockpit/rngs/requirements.rng +2 -2
- data/cockpit/themes/THEMES.MD +419 -0
- data/cockpit/themes/preset_model/symbols/critical.svg +13 -3
- data/cockpit/track.html +1 -1
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation.rb +3 -1
- data/lib/cpee/implementation_properties.rb +6 -5
- data/lib/cpee/persistence.rb +6 -7
- data/lib/properties/documents.rng +10 -0
- data/lib/properties/properties.rng +2 -0
- data/lib/properties/set-properties.rng +2 -0
- data/lib/properties/set-some-properties.rng +4 -0
- data/lib/properties/set-testset.rng +3 -0
- data/lib/properties/t_documents.rng +7 -0
- data/lib/properties.xml +22 -0
- data/server/executionhandlers/eval/connection.rb +1 -0
- data/server/executionhandlers/eval/execution.rb +2 -0
- data/server/executionhandlers/ruby/connection.rb +1 -0
- data/server/executionhandlers/ruby/controller.rb +4 -8
- data/server/executionhandlers/ruby/execution.rb +2 -0
- data/server/resources/properties.empty +1 -0
- data/server/resources/properties.init +1 -0
- data/server/routing/end.pid +1 -1
- data/server/routing/forward-events-00.pid +1 -1
- data/server/routing/forward-votes.pid +1 -1
- data/server/routing/persist.pid +1 -1
- data/server/routing/persist.rb +2 -1
- data/tools/cpee +1 -1
- metadata +7 -2
- data/lib/cpee/attributes_helper.rb +0 -41
data/cockpit/css/ui.css
CHANGED
|
@@ -70,25 +70,26 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
|
70
70
|
}
|
|
71
71
|
#parameters ui-content { height: 8.5em; min-height: 2.7em; }
|
|
72
72
|
|
|
73
|
-
#areadataelements, #areaendpoints, #areaattributes {
|
|
73
|
+
#areadataelements, #areaendpoints, #areaattributes, #areadocuments {
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
align-items: flex-start;
|
|
77
77
|
height: 100%;
|
|
78
78
|
}
|
|
79
|
-
#areadataelements > button, #areaendpoints > button, #areaattributes > button {
|
|
79
|
+
#areadataelements > button, #areaendpoints > button, #areaattributes > button, #areadocuments > button {
|
|
80
80
|
height: 100%;
|
|
81
81
|
padding: 0;
|
|
82
82
|
margin-right: 0.5em;
|
|
83
83
|
}
|
|
84
|
-
#areadataelements > button span, #areaendpoints > button span, #areaattributes > button span {
|
|
84
|
+
#areadataelements > button span, #areaendpoints > button span, #areaattributes > button span, #areadocuments > button span {
|
|
85
85
|
display: inline-block;
|
|
86
86
|
transform: rotate(-90deg);
|
|
87
87
|
}
|
|
88
|
-
#areadataelements.inactive, #areaendpoints.inactive, #areaattributes.inactive { display: none; }
|
|
88
|
+
#areadataelements.inactive, #areaendpoints.inactive, #areaattributes.inactive, #areadocuments.inactive { display: none; }
|
|
89
89
|
#areadataelements button.relaxngui_control { display: none; }
|
|
90
90
|
#areaendpoints button.relaxngui_control { display: none; }
|
|
91
91
|
#areaattributes button.relaxngui_control { display: none; }
|
|
92
|
+
#areadocuments button.relaxngui_control { display: none; }
|
|
92
93
|
|
|
93
94
|
#areainstance { height: 100%; }
|
|
94
95
|
#areainstance > div { display: flex; height: 100%; }
|
|
@@ -129,30 +130,7 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
|
129
130
|
|
|
130
131
|
#arealog > div { padding-left: 1em; padding-top: 1em; }
|
|
131
132
|
|
|
132
|
-
#dat_endpoints {
|
|
133
|
-
border-collapse:collapse;
|
|
134
|
-
border-spacing:0;
|
|
135
|
-
border:0 none;
|
|
136
|
-
margin:0;
|
|
137
|
-
padding:0;
|
|
138
|
-
width: 100%;
|
|
139
|
-
height: 100%;
|
|
140
|
-
overflow-x: hidden;
|
|
141
|
-
overflow-y: scroll;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
#dat_dataelements {
|
|
145
|
-
border-collapse:collapse;
|
|
146
|
-
border-spacing:0;
|
|
147
|
-
border:0 none;
|
|
148
|
-
margin:0;
|
|
149
|
-
padding:0;
|
|
150
|
-
width: 100%;
|
|
151
|
-
height: 100%;
|
|
152
|
-
overflow-x: hidden;
|
|
153
|
-
overflow-y: scroll;
|
|
154
|
-
}
|
|
155
|
-
#dat_attributes {
|
|
133
|
+
#dat_endpoints, #dat_dataelements, #dat_attributes, #dat_documents {
|
|
156
134
|
border-collapse:collapse;
|
|
157
135
|
border-spacing:0;
|
|
158
136
|
border:0 none;
|
|
@@ -186,11 +164,12 @@ span.vote {
|
|
|
186
164
|
}
|
|
187
165
|
|
|
188
166
|
#details {
|
|
189
|
-
|
|
167
|
+
height: 100%;
|
|
168
|
+
overflow: auto;
|
|
190
169
|
}
|
|
191
170
|
#modelling {
|
|
192
171
|
height: 100%;
|
|
193
|
-
overflow:
|
|
172
|
+
overflow: auto;
|
|
194
173
|
}
|
|
195
174
|
#input {
|
|
196
175
|
flex: 1 0 auto;
|
data/cockpit/edit.html
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
|
|
68
68
|
<style></style>
|
|
69
69
|
</head>
|
|
70
|
-
<body data-base-port="8298" data-
|
|
70
|
+
<body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
|
|
71
71
|
<div id='disclaimer' class='hidden'> <!--{{{-->
|
|
72
72
|
<h1>Disclaimer</h1>
|
|
73
73
|
|
data/cockpit/graph.html
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
|
|
63
63
|
<link rel="stylesheet" href="css/graph.css" type="text/css"/>
|
|
64
64
|
</head>
|
|
65
|
-
<body data-base-port="8298" data-
|
|
65
|
+
<body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
|
|
66
66
|
<div class='hidden' id='relaxngworker'></div>
|
|
67
67
|
<template id="label">
|
|
68
68
|
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
|
data/cockpit/index.html
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
|
|
67
67
|
<style></style>
|
|
68
68
|
</head>
|
|
69
|
-
<body data-base-port="8298" data-
|
|
69
|
+
<body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes/" is="x-ui-">
|
|
70
70
|
<div id='disclaimer' class='hidden'> <!--{{{-->
|
|
71
71
|
<h1>Disclaimer</h1>
|
|
72
72
|
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
<ui-tabbar>
|
|
235
235
|
<ui-tab class="switch" ></ui-tab>
|
|
236
236
|
<ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
|
|
237
|
+
<ui-tab class="inactive" data-tab="documents" id="tabdocuments" >Documents</ui-tab>
|
|
237
238
|
<ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
|
|
238
239
|
<ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
|
|
239
240
|
<ui-behind ></ui-behind>
|
|
@@ -243,6 +244,10 @@
|
|
|
243
244
|
<button title='add entry'><span>New</span></button>
|
|
244
245
|
<div id="dat_dataelements"></div>
|
|
245
246
|
</ui-area> <!--}}}-->
|
|
247
|
+
<ui-area data-belongs-to-tab="documents" id="areadocuments" class="inactive"> <!--{{{-->
|
|
248
|
+
<button title='add entry'><span>New</span></button>
|
|
249
|
+
<div id="dat_documents"></div>
|
|
250
|
+
</ui-area> <!--}}}-->
|
|
246
251
|
<ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
|
|
247
252
|
<button title='add entry'><span>New</span></button>
|
|
248
253
|
<div id="dat_endpoints"></div>
|