erdscope 0.4.0__tar.gz → 0.4.1__tar.gz
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.
- {erdscope-0.4.0/erdscope.egg-info → erdscope-0.4.1}/PKG-INFO +1 -1
- {erdscope-0.4.0 → erdscope-0.4.1}/erd.py +9 -3
- {erdscope-0.4.0 → erdscope-0.4.1/erdscope.egg-info}/PKG-INFO +1 -1
- {erdscope-0.4.0 → erdscope-0.4.1}/pyproject.toml +1 -1
- {erdscope-0.4.0 → erdscope-0.4.1}/LICENSE +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/README.md +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/erdscope.egg-info/SOURCES.txt +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/erdscope.egg-info/dependency_links.txt +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/erdscope.egg-info/entry_points.txt +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/erdscope.egg-info/requires.txt +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/erdscope.egg-info/top_level.txt +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/setup.cfg +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_build.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_characterization.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_config_validation.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_db_integration.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_demo.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_e2e.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_erd.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_merge_ir.py +0 -0
- {erdscope-0.4.0 → erdscope-0.4.1}/tests/test_pipeline.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: erdscope
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Interactive, self-contained ER-diagram HTML and Excel table definitions from a MySQL, PostgreSQL, or SQLite database and/or application code (Rails / Prisma / Django) — single file, zero required dependencies
|
|
5
5
|
Author: tas6
|
|
6
6
|
License-Expression: MIT
|
|
@@ -2334,9 +2334,10 @@ body.dark .srch-tgl.active{color:#93c5fd;background:#1e3a5f;border-color:#3b82f6
|
|
|
2334
2334
|
.table-item.focused label{background:#eff6ff;color:#1d4ed8;font-weight:600}
|
|
2335
2335
|
.table-item label input[type=checkbox]{accent-color:#3b82f6;flex-shrink:0}
|
|
2336
2336
|
.tname{flex:0 1 auto;min-width:0;font-size:11px;font-family:'SF Mono','Fira Code',monospace;
|
|
2337
|
-
|
|
2337
|
+
white-space:normal;overflow-wrap:anywhere}
|
|
2338
2338
|
.tlogical{flex:1;min-width:0;font-size:10px;color:#94a3b8;
|
|
2339
2339
|
overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
2340
|
+
.tail{margin-left:auto;display:flex;align-items:center;gap:4px;flex-shrink:0}
|
|
2340
2341
|
.rel-badge{font-size:10px;background:#f1f5f9;color:#94a3b8;padding:1px 4px;border-radius:3px;flex-shrink:0}
|
|
2341
2342
|
.col-hit{font-size:9px;background:#ecfeff;color:#0e7490;padding:1px 4px;border-radius:3px;flex-shrink:0;
|
|
2342
2343
|
font-family:'SF Mono','Fira Code',monospace}
|
|
@@ -4488,8 +4489,12 @@ function renderTableList(){
|
|
|
4488
4489
|
if(lg){const lgEl=document.createElement('span');lgEl.className='tlogical';lgEl.textContent=lg;lbl.appendChild(lgEl);}
|
|
4489
4490
|
const hit=colHit(name);
|
|
4490
4491
|
if(hit){const hb2=document.createElement('span');hb2.className='col-hit';hb2.textContent='⌕ '+hit;lbl.appendChild(hb2);}
|
|
4492
|
+
// Relation count + ban button live in a `.tail` wrapper pinned to the
|
|
4493
|
+
// row's right edge (margin-left:auto) so their position doesn't drift
|
|
4494
|
+
// with the table name's length or whether a logical name is present.
|
|
4495
|
+
const tail=document.createElement('span'); tail.className='tail';
|
|
4491
4496
|
const ac=(t?.associations||[]).length;
|
|
4492
|
-
if(ac>0){const b=document.createElement('span');b.className='rel-badge';b.textContent=ac;
|
|
4497
|
+
if(ac>0){const b=document.createElement('span');b.className='rel-badge';b.textContent=ac;tail.appendChild(b);}
|
|
4493
4498
|
const hb=document.createElement('button');
|
|
4494
4499
|
hb.className='hide-btn'; hb.type='button'; hb.textContent='🚫';
|
|
4495
4500
|
hb.title=isHidden?'Unban':'Ban completely (never shown, even by auto-expand)';
|
|
@@ -4497,7 +4502,8 @@ function renderTableList(){
|
|
|
4497
4502
|
e.stopPropagation(); e.preventDefault();
|
|
4498
4503
|
toggleBan(name);
|
|
4499
4504
|
});
|
|
4500
|
-
|
|
4505
|
+
tail.appendChild(hb);
|
|
4506
|
+
lbl.appendChild(tail);
|
|
4501
4507
|
item.appendChild(lbl);
|
|
4502
4508
|
list.appendChild(item);
|
|
4503
4509
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: erdscope
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Interactive, self-contained ER-diagram HTML and Excel table definitions from a MySQL, PostgreSQL, or SQLite database and/or application code (Rails / Prisma / Django) — single file, zero required dependencies
|
|
5
5
|
Author: tas6
|
|
6
6
|
License-Expression: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "erdscope"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.1"
|
|
8
8
|
description = "Interactive, self-contained ER-diagram HTML and Excel table definitions from a MySQL, PostgreSQL, or SQLite database and/or application code (Rails / Prisma / Django) — single file, zero required dependencies"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|