@kevin0181/rcodex 0.0.7 → 0.0.8
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/gateway/ui.d.ts.map +1 -1
- package/dist/gateway/ui.js +16 -7
- package/dist/gateway/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/gateway/ui.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/gateway/ui.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/gateway/ui.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAyxD5C"}
|
package/dist/gateway/ui.js
CHANGED
|
@@ -72,9 +72,16 @@ html,body{height:100%;overflow:hidden;background:var(--bg);color:var(--tx);
|
|
|
72
72
|
.nav-item{display:flex;align-items:center;gap:11px;padding:11px 16px;
|
|
73
73
|
cursor:pointer;transition:background .12s;user-select:none}
|
|
74
74
|
.nav-item:hover{background:var(--s2)}
|
|
75
|
-
.nav-ic{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;
|
|
76
|
-
justify-content:center;font-size:15px;flex-shrink:0}
|
|
77
|
-
.
|
|
75
|
+
.nav-ic{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;
|
|
76
|
+
justify-content:center;font-size:15px;flex-shrink:0}
|
|
77
|
+
.prov-icon{width:var(--isz);height:var(--isz);display:inline-flex;align-items:center;
|
|
78
|
+
justify-content:center;color:currentColor;line-height:0;flex-shrink:0}
|
|
79
|
+
.prov-icon img{width:100%;height:100%;display:block;object-fit:cover;border-radius:5px;
|
|
80
|
+
box-shadow:0 0 0 1px rgba(255,255,255,.08)}
|
|
81
|
+
.prov-icon svg{width:100%;height:100%;display:block}
|
|
82
|
+
.ptype-ic .prov-icon img{border-radius:6px}
|
|
83
|
+
.acc-ic .prov-icon img,.nic .prov-icon img{border-radius:4px}
|
|
84
|
+
.nav-info{flex:1}
|
|
78
85
|
.nav-name{font-size:13px;font-weight:500}
|
|
79
86
|
.nav-sub{font-size:10px;color:var(--mu);margin-top:1px}
|
|
80
87
|
.nav-arr{color:var(--mu);font-size:14px}
|
|
@@ -406,9 +413,9 @@ html,body{height:100%;overflow:hidden;background:var(--bg);color:var(--tx);
|
|
|
406
413
|
<svg id="svgl"></svg>
|
|
407
414
|
<div id="world"></div>
|
|
408
415
|
<div class="zbar">
|
|
409
|
-
<button class="zbtn" onclick="zoomStep(-1)"
|
|
410
|
-
<div class="zpct" id="zpct">100%</div>
|
|
411
|
-
<button class="zbtn" onclick="zoomStep(1)"
|
|
416
|
+
<button class="zbtn" onclick="zoomStep(-1)" title="Zoom out"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M5 12h14" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/></svg></button>
|
|
417
|
+
<div class="zpct" id="zpct">100%</div>
|
|
418
|
+
<button class="zbtn" onclick="zoomStep(1)" title="Zoom in"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M12 5v14M5 12h14" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/></svg></button>
|
|
412
419
|
<button class="zbtn" onclick="fitAll()" title="Fit to view"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M8 3H5a2 2 0 0 0-2 2v3M16 3h3a2 2 0 0 1 2 2v3M8 21H5a2 2 0 0 1-2-2v-3M16 21h3a2 2 0 0 0 2-2v-3" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9h6v6H9z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></svg></button>
|
|
413
420
|
</div>
|
|
414
421
|
<div class="hint">Scroll to zoom / Drag to pan / Drag ports to connect</div>
|
|
@@ -480,7 +487,9 @@ function providerImg(provider,size){
|
|
|
480
487
|
size=size||18;
|
|
481
488
|
const src=IMG_ICONS[provider];
|
|
482
489
|
const fallback=PROVIDER_SVG[provider]||ICONS[provider]||'?';
|
|
483
|
-
return src
|
|
490
|
+
return src
|
|
491
|
+
?\`<span class="prov-icon" style="--isz:\${size}px"><img src="\${src}" alt="" draggable="false"></span>\`
|
|
492
|
+
:\`<span class="prov-icon" style="--isz:\${size}px">\${fallback}</span>\`;
|
|
484
493
|
}
|
|
485
494
|
|
|
486
495
|
// App state
|
package/dist/gateway/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/gateway/ui.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,IAAY;IAClC,OAAO
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/gateway/ui.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,OAAO,CAAC,IAAY;IAClC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAgXwB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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