@ibgib/space-gib 0.0.2 → 0.0.3
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/client/bootstrap.mjs +1 -1
- package/dist/client/chunk-2KJC5XKE.mjs +31 -0
- package/dist/client/{chunk-RE7XSMHH.mjs.map → chunk-2KJC5XKE.mjs.map} +4 -4
- package/dist/client/{chunk-RDTAT5G4.mjs → chunk-QNIXTRFO.mjs} +2 -2
- package/dist/client/index.html +7 -5
- package/dist/client/index.mjs +1 -1
- package/dist/client/script.mjs +1 -1
- package/dist/server/server.mjs +537 -107
- package/dist/server/server.mjs.map +4 -4
- package/package.json +1 -1
- package/src/client/AUTO-GENERATED-version.mts +1 -1
- package/src/client/api/space-gib-api-bridge.mts +35 -0
- package/src/client/dev-tools.mts +396 -295
- package/src/client/index.html +7 -5
- package/src/common/keystone-policies.mts +1 -1
- package/src/server/serve-gib/handlers/api/keystone/keystone-evolve.handler.mts +1 -1
- package/src/server/serve-gib/handlers/api/keystone/keystone-get.respec.mts +3 -3
- package/src/server/serve-gib/handlers/api/keystone/keystone-post.handler.mts +1 -1
- package/src/server/serve-gib/handlers/ws/sync-upgrade-handler-base.mts +7 -3
- package/dist/client/chunk-BL2SGXS4.mjs +0 -18994
- package/dist/client/chunk-RE7XSMHH.mjs +0 -31
- package/dist/client/chunk-YUSGN3J4.mjs +0 -23119
- /package/dist/client/{chunk-RDTAT5G4.mjs.map → chunk-QNIXTRFO.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as at,Ab as Di,Ba as wi,Bb as Ui,C as pe,Cb as Li,D as yi,Db as Fi,E as Me,Eb as ki,F as Oe,H as bi,Hb as Vi,I as Ti,J as Y,Ma as _t,Nb as qi,Pb as Hi,Qb as Bi,Rb as Oi,Ta as Ci,Tb as Ji,Va as Ai,Vb as Wi,Wb as be,X as Ii,Xb as Xi,Y as _i,Yb as Ct,Zb as Yi,a as f,b as yt,bb as Rn,c as hi,cb as Si,cc as Ki,d as X,dc as $n,e as bt,eb as ne,ec as zi,fb as he,fc as Ae,g as mi,gb as V,h as F,i as ie,ib as vi,j as T,jb as Pi,kb as Ni,l as $e,lb as Ri,mb as xi,n as rt,o as Be,ob as $i,p as Tt,pb as Mi,q as It,qb as wt,r as st,rb as xn,tb as ye,u as Z,ub as Gi,v as $,w as re,x as gi,z as Ei}from"./chunk-
|
|
1
|
+
import{A as at,Ab as Di,Ba as wi,Bb as Ui,C as pe,Cb as Li,D as yi,Db as Fi,E as Me,Eb as ki,F as Oe,H as bi,Hb as Vi,I as Ti,J as Y,Ma as _t,Nb as qi,Pb as Hi,Qb as Bi,Rb as Oi,Ta as Ci,Tb as Ji,Va as Ai,Vb as Wi,Wb as be,X as Ii,Xb as Xi,Y as _i,Yb as Ct,Zb as Yi,a as f,b as yt,bb as Rn,c as hi,cb as Si,cc as Ki,d as X,dc as $n,e as bt,eb as ne,ec as zi,fb as he,fc as Ae,g as mi,gb as V,h as F,i as ie,ib as vi,j as T,jb as Pi,kb as Ni,l as $e,lb as Ri,mb as xi,n as rt,o as Be,ob as $i,p as Tt,pb as Mi,q as It,qb as wt,r as st,rb as xn,tb as ye,u as Z,ub as Gi,v as $,w as re,x as gi,z as Ei}from"./chunk-2KJC5XKE.mjs";var se=V,Mn=class t{static{f(this,"IbGibComponentService")}lc=`[${t.name}]`;_registeredComponentsMeta=[];initialized;constructor(){this.initialized=this.initialize()}async initialize(){let e=`[${this.initialize.name}]`;try{se&&console.log(`${e} starting... (I: 1cf04e8d768f4b5c55e7c3861e2d2225)`),console.log(`${e} does nothing atow (I: 65bb46c88c82b637ad928b8bf1a07225)`)}catch(n){throw console.error(`${e} ${T(n)}`),n}finally{se&&console.log(`${e} complete.`)}}registerComponentMeta(e){this._registeredComponentsMeta.push(e),se&&console.log(`${this.lc}[registerComponentMeta] component meta registered: ${e.constructor.name} (I: 88ddcbd0c8caa2342af0e7348f171225)`)}unregisterComponentMeta(e){this._registeredComponentsMeta=this._registeredComponentsMeta.filter(n=>n!==e),se&&console.log(`${this.lc}[unregisterComponentMeta] component meta unregistered: ${e.constructor.name} (I: 4e84b5274de688248984896a90f5cc25)`)}async getComponentInstance({useRegExpPrefilter:e,path:n,ibGibAddr:o}){let i=`${this.lc}[${this.getComponentInstance.name}]`;try{se&&console.log(`${i} starting... (I: 684ef316cbdb4a3b1fdc96096c273b25)`);let s,l=lt.getRegisteredComponentsMeta(),c=e?l.filter(d=>{let u=d.routeRegExp?d.routeRegExp.test(n):!1;return se&&console.log(`${i} ${d.componentName} ${d.routeRegExp} componentMatchesPath: ${u} (I: 3758520e6a4a57f218396c8649283425)`),u}):l.concat();for(let d of c)if(d.fnHandleRoute?await d.fnHandleRoute({path:n,ibGibAddr:o}):!0){s=await d.createInstance({path:n,ibGibAddr:o});break}return s}catch(s){throw console.error(`${i} ${T(s)}`),s}finally{se&&console.log(`${i} complete.`)}}async inject({parentEl:e,componentToInject:n}){let o=`${this.lc}[${this.inject.name}]`;try{if(se&&console.log(`${o} starting... (I: 6844cf07eaf8a5b1b106784f7db17125)`),!e)throw new Error(`${o} parentEl required. (E: 6f4eb2d682856ef47d173b970ec3c825)`);if(!n)throw new Error(`${o} componentToInject required. (E: decf0b51ad49257ce44fecbcf84c3a25)`);if(!n.meta)throw new Error(`${o} componentToInject.meta required. (E: f8827c0602ca7b0e030d0b3e2c4a4825)`);if(!n.meta.componentName)throw new Error(`${o} componentToInject.meta.componentName required. (E: 5dcae244ae32690f7b73ce27a32a3c25)`);e.innerHTML="",e.appendChild(n),e.classList.remove("fade-out")}catch(i){console.error(`${o} ${T(i)}`),e.innerHTML=`<p class="error">Error loading component for route. error:</p><br /><br /><p>${i.message}</p>`}finally{se&&console.log(`${o} complete.`)}}getRegisteredComponentsMeta(){return[...this._registeredComponentsMeta]}},lt;async function ct(){let t=`[${ct.name}]`;try{return se&&console.log(`${t} starting... (I: 853694c88223381339103a3765129925)`),lt||(lt=new Mn,await lt.initialized),lt}catch(e){throw console.error(`${t} ${T(e)}`),e}finally{se&&console.log(`${t} complete.`)}}f(ct,"getComponentSvc");var Qi="left-panel",Zi="center-panel",ji="right-panel";var er="left-resizer",tr="right-resizer",nr="footer-resizer",or="btn-left-panel-toggle",ir="btn-right-panel-toggle",rr="btn-create-keystone";var sr="space-gib-shell-ready";var ar=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
width: 100%;
|
|
4
4
|
max-width: 600px;
|
|
@@ -232,4 +232,4 @@ ibGib.data: ${he({ibGib:this.ibGib})} (W: cb22e8b064d8c2d7b3b2c488ed169225)`),th
|
|
|
232
232
|
* SPDX-License-Identifier: Apache-2.0
|
|
233
233
|
*)
|
|
234
234
|
*/
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-QNIXTRFO.mjs.map
|
package/dist/client/index.html
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<p class="placeholder-text">Left Panel Content</p>
|
|
74
74
|
</div>
|
|
75
75
|
</aside>
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
<!-- Left Resizer -->
|
|
78
78
|
<div id="left-resizer" class="resizer resizer-v"></div>
|
|
79
79
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<!-- DEV TOOLS — remove or hide once WS sync is confirmed working -->
|
|
104
104
|
<section class="dev-panel" id="dev-panel" aria-label="Developer tools">
|
|
105
105
|
<h2 class="dev-panel-title">Dev Tools</h2>
|
|
106
|
-
|
|
106
|
+
|
|
107
107
|
<!-- Row 00: Raw POC buttons -->
|
|
108
108
|
<div class="dev-panel-row-container">
|
|
109
109
|
<span class="dev-panel-row-label">00</span>
|
|
@@ -111,8 +111,10 @@
|
|
|
111
111
|
<button id="btn-print-dev-state" class="dev-btn">Print Dev State</button>
|
|
112
112
|
<button id="btn-create-domain-keystone" class="dev-btn">1. Create Domain Keystone (I)</button>
|
|
113
113
|
<button id="btn-create-test-ibgib" class="dev-btn" disabled>2. Create Test IbGib (X)</button>
|
|
114
|
-
<button id="btn-create-session-keystone" class="dev-btn" disabled>3. Create Session Keystone
|
|
115
|
-
|
|
114
|
+
<button id="btn-create-session-keystone" class="dev-btn" disabled>3. Create Session Keystone
|
|
115
|
+
(S)</button>
|
|
116
|
+
<button id="btn-evolve-domain-keystone" class="dev-btn" disabled>4. Evolve Domain Keystone
|
|
117
|
+
(I^I1)</button>
|
|
116
118
|
<button id="btn-perform-sync" class="dev-btn" disabled>5. Perform Sync Handshake (S)</button>
|
|
117
119
|
<button id="btn-test-ws" class="dev-btn">Test WebSocket Echo</button>
|
|
118
120
|
</div>
|
|
@@ -142,7 +144,7 @@
|
|
|
142
144
|
<div class="dev-panel-row-container">
|
|
143
145
|
<span class="dev-panel-row-label">3B</span>
|
|
144
146
|
<div class="dev-panel-row">
|
|
145
|
-
<button id="btn-3b-setup" class="dev-btn"
|
|
147
|
+
<button id="btn-3b-setup" class="dev-btn">3B Setup</button>
|
|
146
148
|
<button id="btn-3b-sync" class="dev-btn" disabled>3B Sync</button>
|
|
147
149
|
<button id="btn-3b-check" class="dev-btn" disabled>3B Check</button>
|
|
148
150
|
</div>
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Lb as c,Mb as l,Ob as a,a as r,gc as s,j as e,nb as n,ob as i}from"./chunk-
|
|
1
|
+
import{Lb as c,Mb as l,Ob as a,a as r,gc as s,j as e,nb as n,ob as i}from"./chunk-2KJC5XKE.mjs";l(i);var m=n;async function d(){let o=`[${d.name}]`;try{m&&console.log(`${o} starting... (I: 3d893846d02c4ff49181f9b8e586eb74)`),console.time(o),document.addEventListener("DOMContentLoaded",async()=>{try{console.timeLog(o,"DOMContentLoaded fired"),await c(i),console.timeLog(o,"initIbGibStorage complete"),await a("./bootstrap.mjs"),console.timeLog(o,"dynamicallyLoadBootstrapScript complete"),s(),console.timeLog(o,"initDevTools complete"),console.timeEnd(o)}catch(t){throw console.error(`${o} ${e(t)}`),t}})}catch(t){console.timeEnd(o);debugger;throw console.error(`${o} ${e(t)}`),t}finally{m&&console.log(`${o} complete.`)}}r(d,"spinOffStartup");d();
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/client/script.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e}from"./chunk-
|
|
1
|
+
import{p as e}from"./chunk-QNIXTRFO.mjs";import"./chunk-2KJC5XKE.mjs";console.log("space-gib early script executing...");e();
|
|
2
2
|
//# sourceMappingURL=script.mjs.map
|