@tumaet/apollon 4.0.0-alpha.0 → 4.0.2-alpha.0
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/dist/index.js +126 -126
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -31673,132 +31673,7 @@ class Rb {
|
|
|
31673
31673
|
this.diagramStore.getState().addOrUpdateAssessment(t);
|
|
31674
31674
|
}
|
|
31675
31675
|
}
|
|
31676
|
-
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(
|
|
31677
|
-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
31678
|
-
line-height: 1.5;
|
|
31679
|
-
font-weight: 400;
|
|
31680
|
-
}
|
|
31681
|
-
|
|
31682
|
-
.react-flow {
|
|
31683
|
-
--panel-background: #fff;
|
|
31684
|
-
--panel-shadow: 0 0 4px 0 rgb(0 0 0 / 0.2);
|
|
31685
|
-
--text: #0a0a0a;
|
|
31686
|
-
--xy-edge-stroke: black;
|
|
31687
|
-
--xy-minimap-mask-background-color-props: #00000020;
|
|
31688
|
-
}
|
|
31689
|
-
|
|
31690
|
-
.react-flow__panel,
|
|
31691
|
-
.react-flow__node-toolbar {
|
|
31692
|
-
background-color: var(--panel-background);
|
|
31693
|
-
box-shadow: var(--panel-shadow);
|
|
31694
|
-
border-radius: 8px;
|
|
31695
|
-
padding: 8px;
|
|
31696
|
-
}
|
|
31697
|
-
|
|
31698
|
-
.react-flow svg {
|
|
31699
|
-
display: block;
|
|
31700
|
-
}
|
|
31701
|
-
|
|
31702
|
-
.react-flow__node-toolbar {
|
|
31703
|
-
display: flex;
|
|
31704
|
-
gap: 8px;
|
|
31705
|
-
}
|
|
31706
|
-
|
|
31707
|
-
.react-flow__controls-button,
|
|
31708
|
-
.react-flow__controls-button:hover {
|
|
31709
|
-
background: var(--panel-background);
|
|
31710
|
-
border-bottom: none;
|
|
31711
|
-
}
|
|
31712
|
-
|
|
31713
|
-
.react-flow__controls-button > svg {
|
|
31714
|
-
fill: var(--text);
|
|
31715
|
-
}
|
|
31716
|
-
|
|
31717
|
-
.react-flow__handle {
|
|
31718
|
-
opacity: 0;
|
|
31719
|
-
background-color: rgb(99, 154, 242);
|
|
31720
|
-
}
|
|
31721
|
-
|
|
31722
|
-
.react-flow__resize-control line {
|
|
31723
|
-
z-index: 9;
|
|
31724
|
-
}
|
|
31725
|
-
|
|
31726
|
-
.react-flow__node:hover .react-flow__handle {
|
|
31727
|
-
opacity: 0.6;
|
|
31728
|
-
padding: 4px;
|
|
31729
|
-
background-color: rgb(99, 154, 242);
|
|
31730
|
-
}
|
|
31731
|
-
|
|
31732
|
-
.edge-circle {
|
|
31733
|
-
opacity: 0;
|
|
31734
|
-
background-color: rgb(99, 154, 242);
|
|
31735
|
-
}
|
|
31736
|
-
|
|
31737
|
-
.react-flow__edge:hover .edge-circle {
|
|
31738
|
-
opacity: 0.4;
|
|
31739
|
-
padding: 4px;
|
|
31740
|
-
fill: #007bff; /* Blue color for handles */
|
|
31741
|
-
}
|
|
31742
|
-
.react-flow__edge.selected .edge-circle {
|
|
31743
|
-
opacity: 0.4;
|
|
31744
|
-
padding: 4px;
|
|
31745
|
-
fill: #007bff; /* Blue color for handles */
|
|
31746
|
-
}
|
|
31747
|
-
|
|
31748
|
-
.react-flow__edge:hover .edge-overlay {
|
|
31749
|
-
opacity: 0.4;
|
|
31750
|
-
padding: 4px;
|
|
31751
|
-
stroke: #007bff; /* Blue color for edge */
|
|
31752
|
-
stroke-width: 15px;
|
|
31753
|
-
}
|
|
31754
|
-
.react-flow__edge:hover .edge-marker-highlight {
|
|
31755
|
-
opacity: 0.4;
|
|
31756
|
-
padding: 4px;
|
|
31757
|
-
stroke: #007bff; /* Blue color for edge */
|
|
31758
|
-
stroke-width: 15px;
|
|
31759
|
-
}
|
|
31760
|
-
|
|
31761
|
-
.react-flow__edge.selected .edge-overlay {
|
|
31762
|
-
opacity: 0.4;
|
|
31763
|
-
padding: 4px;
|
|
31764
|
-
stroke: #007bff; /* Blue color for edge */
|
|
31765
|
-
stroke-width: 15px;
|
|
31766
|
-
}
|
|
31767
|
-
.react-flow__edge.selected .edge-marker-highlight {
|
|
31768
|
-
opacity: 0.4;
|
|
31769
|
-
padding: 4px;
|
|
31770
|
-
stroke: #007bff; /* Blue color for edge */
|
|
31771
|
-
stroke-width: 15px;
|
|
31772
|
-
}
|
|
31773
|
-
|
|
31774
|
-
.react-flow__node:hover {
|
|
31775
|
-
opacity: 0.9;
|
|
31776
|
-
}
|
|
31777
|
-
|
|
31778
|
-
.react-flow__node.selected {
|
|
31779
|
-
opacity: 0.9;
|
|
31780
|
-
}
|
|
31781
|
-
|
|
31782
|
-
.react-flow__edges {
|
|
31783
|
-
z-index: 9999;
|
|
31784
|
-
}
|
|
31785
|
-
|
|
31786
|
-
.react-flow__node {
|
|
31787
|
-
z-index: 9998;
|
|
31788
|
-
}
|
|
31789
|
-
|
|
31790
|
-
.react-flow__minimap-mask {
|
|
31791
|
-
fill: "#f2f2f2";
|
|
31792
|
-
opacity: 0.6;
|
|
31793
|
-
}
|
|
31794
|
-
|
|
31795
|
-
.prevent-select {
|
|
31796
|
-
-webkit-user-select: none; /* Safari */
|
|
31797
|
-
-ms-user-select: none; /* IE 10 and IE 11 */
|
|
31798
|
-
user-select: none; /* Standard syntax */
|
|
31799
|
-
}
|
|
31800
|
-
|
|
31801
|
-
/* this gets exported as style.css and can be used for the default theming */
|
|
31676
|
+
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`/* this gets exported as style.css and can be used for the default theming */
|
|
31802
31677
|
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */
|
|
31803
31678
|
.react-flow {
|
|
31804
31679
|
direction: ltr;
|
|
@@ -32397,6 +32272,131 @@ svg.react-flow__connectionline {
|
|
|
32397
32272
|
.react-flow__edge-text {
|
|
32398
32273
|
fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
|
|
32399
32274
|
}
|
|
32275
|
+
|
|
32276
|
+
:root {
|
|
32277
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
32278
|
+
line-height: 1.5;
|
|
32279
|
+
font-weight: 400;
|
|
32280
|
+
}
|
|
32281
|
+
|
|
32282
|
+
.react-flow {
|
|
32283
|
+
--panel-background: #fff;
|
|
32284
|
+
--panel-shadow: 0 0 4px 0 rgb(0 0 0 / 0.2);
|
|
32285
|
+
--text: #0a0a0a;
|
|
32286
|
+
--xy-edge-stroke: black;
|
|
32287
|
+
--xy-minimap-mask-background-color-props: #00000020;
|
|
32288
|
+
}
|
|
32289
|
+
|
|
32290
|
+
.react-flow__panel,
|
|
32291
|
+
.react-flow__node-toolbar {
|
|
32292
|
+
background-color: var(--panel-background);
|
|
32293
|
+
box-shadow: var(--panel-shadow);
|
|
32294
|
+
border-radius: 8px;
|
|
32295
|
+
padding: 8px;
|
|
32296
|
+
}
|
|
32297
|
+
|
|
32298
|
+
.react-flow svg {
|
|
32299
|
+
display: block;
|
|
32300
|
+
}
|
|
32301
|
+
|
|
32302
|
+
.react-flow__node-toolbar {
|
|
32303
|
+
display: flex;
|
|
32304
|
+
gap: 8px;
|
|
32305
|
+
}
|
|
32306
|
+
|
|
32307
|
+
.react-flow__controls-button,
|
|
32308
|
+
.react-flow__controls-button:hover {
|
|
32309
|
+
background: var(--panel-background);
|
|
32310
|
+
border-bottom: none;
|
|
32311
|
+
}
|
|
32312
|
+
|
|
32313
|
+
.react-flow__controls-button > svg {
|
|
32314
|
+
fill: var(--text);
|
|
32315
|
+
}
|
|
32316
|
+
|
|
32317
|
+
.react-flow__handle {
|
|
32318
|
+
opacity: 0;
|
|
32319
|
+
background-color: rgb(99, 154, 242);
|
|
32320
|
+
}
|
|
32321
|
+
|
|
32322
|
+
.react-flow__resize-control line {
|
|
32323
|
+
z-index: 9;
|
|
32324
|
+
}
|
|
32325
|
+
|
|
32326
|
+
.react-flow__node:hover .react-flow__handle {
|
|
32327
|
+
opacity: 0.6;
|
|
32328
|
+
padding: 4px;
|
|
32329
|
+
background-color: rgb(99, 154, 242);
|
|
32330
|
+
}
|
|
32331
|
+
|
|
32332
|
+
.edge-circle {
|
|
32333
|
+
opacity: 0;
|
|
32334
|
+
background-color: rgb(99, 154, 242);
|
|
32335
|
+
}
|
|
32336
|
+
|
|
32337
|
+
.react-flow__edge:hover .edge-circle {
|
|
32338
|
+
opacity: 0.4;
|
|
32339
|
+
padding: 4px;
|
|
32340
|
+
fill: #007bff; /* Blue color for handles */
|
|
32341
|
+
}
|
|
32342
|
+
.react-flow__edge.selected .edge-circle {
|
|
32343
|
+
opacity: 0.4;
|
|
32344
|
+
padding: 4px;
|
|
32345
|
+
fill: #007bff; /* Blue color for handles */
|
|
32346
|
+
}
|
|
32347
|
+
|
|
32348
|
+
.react-flow__edge:hover .edge-overlay {
|
|
32349
|
+
opacity: 0.4;
|
|
32350
|
+
padding: 4px;
|
|
32351
|
+
stroke: #007bff; /* Blue color for edge */
|
|
32352
|
+
stroke-width: 15px;
|
|
32353
|
+
}
|
|
32354
|
+
.react-flow__edge:hover .edge-marker-highlight {
|
|
32355
|
+
opacity: 0.4;
|
|
32356
|
+
padding: 4px;
|
|
32357
|
+
stroke: #007bff; /* Blue color for edge */
|
|
32358
|
+
stroke-width: 15px;
|
|
32359
|
+
}
|
|
32360
|
+
|
|
32361
|
+
.react-flow__edge.selected .edge-overlay {
|
|
32362
|
+
opacity: 0.4;
|
|
32363
|
+
padding: 4px;
|
|
32364
|
+
stroke: #007bff; /* Blue color for edge */
|
|
32365
|
+
stroke-width: 15px;
|
|
32366
|
+
}
|
|
32367
|
+
.react-flow__edge.selected .edge-marker-highlight {
|
|
32368
|
+
opacity: 0.4;
|
|
32369
|
+
padding: 4px;
|
|
32370
|
+
stroke: #007bff; /* Blue color for edge */
|
|
32371
|
+
stroke-width: 15px;
|
|
32372
|
+
}
|
|
32373
|
+
|
|
32374
|
+
.react-flow__node:hover {
|
|
32375
|
+
opacity: 0.9;
|
|
32376
|
+
}
|
|
32377
|
+
|
|
32378
|
+
.react-flow__node.selected {
|
|
32379
|
+
opacity: 0.9;
|
|
32380
|
+
}
|
|
32381
|
+
|
|
32382
|
+
.react-flow__edges {
|
|
32383
|
+
z-index: 9999;
|
|
32384
|
+
}
|
|
32385
|
+
|
|
32386
|
+
.react-flow__node {
|
|
32387
|
+
z-index: 9998;
|
|
32388
|
+
}
|
|
32389
|
+
|
|
32390
|
+
.react-flow__minimap-mask {
|
|
32391
|
+
fill: "#f2f2f2";
|
|
32392
|
+
opacity: 0.6;
|
|
32393
|
+
}
|
|
32394
|
+
|
|
32395
|
+
.prevent-select {
|
|
32396
|
+
-webkit-user-select: none; /* Safari */
|
|
32397
|
+
-ms-user-select: none; /* IE 10 and IE 11 */
|
|
32398
|
+
user-select: none; /* Standard syntax */
|
|
32399
|
+
}
|
|
32400
32400
|
`);
|
|
32401
32401
|
export {
|
|
32402
32402
|
Rb as ApollonEditor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tumaet/apollon",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2-alpha.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"@mui/material": "6.3.1",
|
|
26
26
|
"@types/node": "22.13.8",
|
|
27
27
|
"@xyflow/react": "12.3.6",
|
|
28
|
+
"react": "18.3.1",
|
|
29
|
+
"react-dom": "18.3.1",
|
|
28
30
|
"uuid": "11.0.3",
|
|
29
31
|
"y-websocket": "2.1.0",
|
|
30
|
-
"zustand": "5.0.3"
|
|
31
|
-
"react": "18.3.1",
|
|
32
|
-
"react-dom": "18.3.1"
|
|
32
|
+
"zustand": "5.0.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@eslint/js": "9.17.0",
|