@floless/app 0.101.2 → 0.101.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/floless-server.cjs
CHANGED
|
@@ -53106,7 +53106,7 @@ function appVersion() {
|
|
|
53106
53106
|
return resolveVersion({
|
|
53107
53107
|
isSea: isSea2(),
|
|
53108
53108
|
sqVersionXml: readSqVersionXml(),
|
|
53109
|
-
define: true ? "0.101.
|
|
53109
|
+
define: true ? "0.101.3" : void 0,
|
|
53110
53110
|
pkgVersion: readPkgVersion()
|
|
53111
53111
|
});
|
|
53112
53112
|
}
|
|
@@ -53116,7 +53116,7 @@ function resolveChannel(s) {
|
|
|
53116
53116
|
return "dev";
|
|
53117
53117
|
}
|
|
53118
53118
|
function appChannel() {
|
|
53119
|
-
return resolveChannel({ isSea: isSea2(), define: true ? "0.101.
|
|
53119
|
+
return resolveChannel({ isSea: isSea2(), define: true ? "0.101.3" : void 0 });
|
|
53120
53120
|
}
|
|
53121
53121
|
|
|
53122
53122
|
// workflow-update.ts
|
|
@@ -954,8 +954,8 @@ text.mlentx{fill:#e2e8f0;text-anchor:middle;dominant-baseline:central;font-famil
|
|
|
954
954
|
Members + Connections open a type flyout (All on top). Default: everything on, so nothing is filtered. -->
|
|
955
955
|
<div id=selBar role=group aria-label="Selection filter">
|
|
956
956
|
<span class=lbl>Select</span>
|
|
957
|
-
<button data-cls=member data-fly=members aria-label="Members" data-tip="Members — click to choose which member types can be selected"><svg viewBox="0 0 18 18" fill=none stroke=currentColor stroke-width=1.6 stroke-linecap=round aria-hidden=true><path d="M4 4h10M4 14h10M9 4v10"/></svg><span class=car aria-hidden=true>▾</span></button>
|
|
958
|
-
<button data-cls=connection data-fly=connections aria-label="Connections" data-tip="Connections — click to choose which connection types can be selected"><svg viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><rect x="4" y="4" width="10" height="10" rx="1"/><circle cx="6.5" cy="6.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="11.5" cy="6.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="6.5" cy="11.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="11.5" cy="11.5" r="1.15" fill="currentColor" stroke="none"/></svg><span class=car aria-hidden=true>▾</span></button>
|
|
957
|
+
<button data-cls=member data-fly=members aria-label="Members" data-tip="Members — click to choose which member types can be selected · Alt+click: toggle all types"><svg viewBox="0 0 18 18" fill=none stroke=currentColor stroke-width=1.6 stroke-linecap=round aria-hidden=true><path d="M4 4h10M4 14h10M9 4v10"/></svg><span class=car aria-hidden=true>▾</span></button>
|
|
958
|
+
<button data-cls=connection data-fly=connections aria-label="Connections" data-tip="Connections — click to choose which connection types can be selected · Alt+click: toggle all types"><svg viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><rect x="4" y="4" width="10" height="10" rx="1"/><circle cx="6.5" cy="6.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="11.5" cy="6.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="6.5" cy="11.5" r="1.15" fill="currentColor" stroke="none"/><circle cx="11.5" cy="11.5" r="1.15" fill="currentColor" stroke="none"/></svg><span class=car aria-hidden=true>▾</span></button>
|
|
959
959
|
<button data-cls=grid aria-label="Grid lines" data-tip="Grid lines — allow selecting grid lines (area-select / Ctrl+A)"><svg viewBox="0 0 18 18" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden=true><path d="M6 2v14M12 2v14M2 6h14M2 12h14"/></svg></button>
|
|
960
960
|
<button data-cls=dim aria-label="Dimensions" data-tip="Dimensions — allow selecting dimensions"><svg viewBox="0 0 18 18" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden=true><path d="M3 5v8M15 5v8M3 9h12M3 9l3-2M3 9l3 2M15 9l-3-2M15 9l-3 2"/></svg></button>
|
|
961
961
|
</div>
|
|
@@ -4513,13 +4513,17 @@ function renderSelFly(grp){const def=selGroupDef(grp);selFly.dataset.grp=grp;con
|
|
|
4513
4513
|
function openSelFly(grp,btn){renderSelFly(grp);selFly.classList.add('open');
|
|
4514
4514
|
const r=btn.getBoundingClientRect();selFly.style.left=Math.max(8,Math.min(r.left,innerWidth-selFly.offsetWidth-8))+'px';selFly.style.top=(r.top-selFly.offsetHeight-8)+'px';} // bar at bottom → open upward
|
|
4515
4515
|
function closeSelFly(){selFly.classList.remove('open');selFly.dataset.grp='';}
|
|
4516
|
+
function toggleSelAll(grp){const def=selGroupDef(grp),allOn=def.records.length>0&&def.records.every(r=>def.store[r.k]!==false);
|
|
4517
|
+
if(allOn)def.records.forEach(r=>def.store[r.k]=false);else def.records.forEach(r=>{delete def.store[r.k];}); // All: everything off ⇄ everything on (clears per-type overrides → absent===on); empty list → no-op
|
|
4518
|
+
saveSelFilter();reflectSelFilter();render();}
|
|
4516
4519
|
selBar.querySelectorAll('button').forEach(b=>{b.onclick=e=>{e.stopPropagation();
|
|
4517
|
-
if(b.dataset.fly){if(
|
|
4518
|
-
|
|
4520
|
+
if(b.dataset.fly){if(e.altKey){toggleSelAll(b.dataset.fly);return;} // Alt+click = toggle every type at once, without opening the flyout (same as the flyout's All row)
|
|
4521
|
+
if(selFly.classList.contains('open')&&selFly.dataset.grp===b.dataset.fly)closeSelFly();else openSelFly(b.dataset.fly,b);}
|
|
4522
|
+
else toggleSelClass(b.dataset.cls);};
|
|
4523
|
+
b.onkeydown=e=>{if((e.key==='Enter'||e.key===' ')&&!e.repeat){e.preventDefault();e.stopPropagation();b.onclick(e);}};}); // keyboard parity, mirroring the tfchip pattern: the global idle-repeat handler can eat native Enter/Space, and a synthesized click wouldn't carry live e.altKey — activate here so Alt+Enter/Space toggles all too
|
|
4519
4524
|
selFly.addEventListener('click',e=>{const row=e.target.closest('.frow');if(!row)return;e.stopPropagation();const def=selGroupDef(selFly.dataset.grp);
|
|
4520
|
-
if(row.dataset.all){
|
|
4521
|
-
|
|
4522
|
-
else{const k=row.dataset.k;def.store[k]=!(def.store[k]!==false);}
|
|
4525
|
+
if(row.dataset.all){toggleSelAll(selFly.dataset.grp);return;}
|
|
4526
|
+
const k=row.dataset.k;def.store[k]=!(def.store[k]!==false);
|
|
4523
4527
|
saveSelFilter();reflectSelFilter();render();});
|
|
4524
4528
|
document.addEventListener('click',e=>{if(selFly.classList.contains('open')&&!selFly.contains(e.target)&&!selBar.contains(e.target))closeSelFly();});
|
|
4525
4529
|
Promise.resolve().then(()=>{selFilterReady=true;reflectSelFilter();}).catch(e=>console.warn('selFilter: initial reflect failed',e)); // defer the first paint: memberTypeRecords() reads BASE_MEMBER_TYPES, a const declared later in main() — run once main() has fully initialized (microtask flushes before paint, so no flash). Arm selFilterReady BEFORE the first reflect so a throw here can't permanently disable render()'s per-edit sync (reflectSelFilter is idempotent — arm-then-run is safe). Log a throw rather than swallow it: a silent failure leaves the bar in its inert default HTML state while selFilter is still active.
|