@tensorix/metahub 0.2.1 → 0.2.2
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/cli.js +25 -3
- package/dist/cli.js.map +3 -3
- package/dist/index.js +25 -3
- package/dist/index.js.map +3 -3
- package/dist/webui.js +48 -47
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -21657,7 +21657,7 @@ async function runMain(cmd, opts = {}) {
|
|
|
21657
21657
|
// package.json
|
|
21658
21658
|
var package_default = {
|
|
21659
21659
|
name: "@tensorix/metahub",
|
|
21660
|
-
version: "0.2.
|
|
21660
|
+
version: "0.2.2",
|
|
21661
21661
|
description: "Metahub core library and CLI",
|
|
21662
21662
|
license: "AGPL-3.0-only",
|
|
21663
21663
|
type: "module",
|
|
@@ -24522,7 +24522,7 @@ function clampExpiry(sec) {
|
|
|
24522
24522
|
|
|
24523
24523
|
// src/core/sync/share-actions.ts
|
|
24524
24524
|
init_storage_s3_bun();
|
|
24525
|
-
var DEFAULT_SHARE_VIEWER = "https://
|
|
24525
|
+
var DEFAULT_SHARE_VIEWER = "https://share.mh.tensorix.org";
|
|
24526
24526
|
var DEFAULT_S3_EXPIRY_SEC = MAX_PRESIGN_SECONDS;
|
|
24527
24527
|
var PEER_LIST_TIMEOUT_MS = 4000;
|
|
24528
24528
|
function targetTitle(db, kind, id) {
|
|
@@ -29408,6 +29408,28 @@ var styles_default = ` :root {
|
|
|
29408
29408
|
.doc-table-addrow { width:100%; height:22px; margin-top:4px; display:grid; place-items:center; color:var(--muted);
|
|
29409
29409
|
border:1px dashed var(--line-strong); border-radius:var(--radius-sm); background:var(--surface); transition:background .12s,color .12s,border-color .12s; }
|
|
29410
29410
|
.doc-table-addcol:hover, .doc-table-addrow:hover { background:var(--accent-soft); color:var(--accent); border-color:var(--accent); }
|
|
29411
|
+
/* cell range selection (box select): soft fill per cell; the accent rectangle
|
|
29412
|
+
outline is drawn via inline inset box-shadow on the edge cells (see
|
|
29413
|
+
cell-select.ts edgeShadow). While selecting, suppress the caret + native
|
|
29414
|
+
text selection inside the table so the rectangle owns the interaction. */
|
|
29415
|
+
table.doc-table td.cellsel { background:var(--accent-soft); animation:doc-cellsel-pop .12s ease-out; }
|
|
29416
|
+
/* while a selection exists: suppress the caret + native text-select, and keep a
|
|
29417
|
+
normal arrow cursor over the cells \u2014 the crosshair only shows while actively
|
|
29418
|
+
dragging (body.cell-selecting) and over the fill handle. */
|
|
29419
|
+
table.doc-table.cells-active .doc-td { caret-color:transparent; user-select:none; cursor:default; }
|
|
29420
|
+
@keyframes doc-cellsel-pop { from { background:transparent; } to { background:var(--accent-soft); } }
|
|
29421
|
+
/* fill handle at the selection's bottom-right corner \u2014 drag it to grow/shrink
|
|
29422
|
+
the rectangle. ::after enlarges the hit target without enlarging the nub. */
|
|
29423
|
+
.doc-cell-handle { position:absolute; right:-3px; bottom:-3px; width:7px; height:7px; z-index:4;
|
|
29424
|
+
background:var(--accent); border:1.5px solid var(--bg); border-radius:2px; cursor:crosshair; touch-action:none; }
|
|
29425
|
+
.doc-cell-handle::after { content:""; position:absolute; inset:-4px; }
|
|
29426
|
+
/* one-shot accent flash on the whole table after a copy */
|
|
29427
|
+
table.doc-table.copied { animation:doc-table-copied .26s ease-out; }
|
|
29428
|
+
@keyframes doc-table-copied {
|
|
29429
|
+
0% { box-shadow:var(--shadow-sm), 0 0 0 0 var(--accent); }
|
|
29430
|
+
35% { box-shadow:var(--shadow-sm), 0 0 0 3px var(--accent-soft); }
|
|
29431
|
+
100% { box-shadow:var(--shadow-sm), 0 0 0 0 var(--accent); }
|
|
29432
|
+
}
|
|
29411
29433
|
|
|
29412
29434
|
/* database / table */
|
|
29413
29435
|
.db { padding:22px 36px 90px; min-width:0; }
|
|
@@ -32055,4 +32077,4 @@ if (argv2.includes("--server")) {
|
|
|
32055
32077
|
runMain(main, { showUsage: showUsage2 });
|
|
32056
32078
|
}
|
|
32057
32079
|
|
|
32058
|
-
//# debugId=
|
|
32080
|
+
//# debugId=DFF4B33AB2E4208164756E2164756E21
|