tinybase 8.5.0-beta.0 → 8.5.0-beta.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/@types/ui-react-dom-charts/index.d.ts +387 -0
- package/@types/ui-react-dom-charts/with-schemas/index.d.ts +476 -0
- package/common/index.js +3 -2
- package/common/with-schemas/index.js +3 -2
- package/index.js +5 -3
- package/mergeable-store/index.js +5 -3
- package/mergeable-store/with-schemas/index.js +5 -3
- package/metrics/index.js +1 -1
- package/metrics/with-schemas/index.js +1 -1
- package/min/common/index.js +1 -1
- package/min/common/index.js.gz +0 -0
- package/min/common/with-schemas/index.js +1 -1
- package/min/common/with-schemas/index.js.gz +0 -0
- package/min/index.js +1 -1
- package/min/index.js.gz +0 -0
- package/min/mergeable-store/index.js +1 -1
- package/min/mergeable-store/index.js.gz +0 -0
- package/min/mergeable-store/with-schemas/index.js +1 -1
- package/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/min/omni/index.js +1 -1
- package/min/omni/index.js.gz +0 -0
- package/min/omni/with-schemas/index.js +1 -1
- package/min/omni/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-durable-object-sql-storage/index.js +1 -1
- package/min/persisters/persister-durable-object-sql-storage/index.js.gz +0 -0
- package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js +1 -1
- package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-partykit-server/index.js +1 -1
- package/min/persisters/persister-partykit-server/index.js.gz +0 -0
- package/min/persisters/persister-partykit-server/with-schemas/index.js +1 -1
- package/min/persisters/persister-partykit-server/with-schemas/index.js.gz +0 -0
- package/min/queries/index.js +1 -1
- package/min/queries/index.js.gz +0 -0
- package/min/queries/with-schemas/index.js +1 -1
- package/min/queries/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/index.js +1 -1
- package/min/synchronizers/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/index.js +1 -1
- package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-durable-object/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-durable-object/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom-charts/index.js +1 -0
- package/min/ui-react-dom-charts/index.js.gz +0 -0
- package/min/ui-react-dom-charts/with-schemas/index.js +1 -0
- package/min/ui-react-dom-charts/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/min/ui-solid-dom/index.js +1 -1
- package/min/ui-solid-dom/index.js.gz +0 -0
- package/min/ui-solid-dom/with-schemas/index.js +1 -1
- package/min/ui-solid-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-solid-inspector/index.js +1 -1
- package/min/ui-solid-inspector/index.js.gz +0 -0
- package/min/ui-solid-inspector/with-schemas/index.js +1 -1
- package/min/ui-solid-inspector/with-schemas/index.js.gz +0 -0
- package/min/ui-svelte-dom/index.js +1 -1
- package/min/ui-svelte-dom/index.js.gz +0 -0
- package/min/ui-svelte-dom/with-schemas/index.js +1 -1
- package/min/ui-svelte-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-svelte-inspector/index.js +1 -1
- package/min/ui-svelte-inspector/index.js.gz +0 -0
- package/min/ui-svelte-inspector/with-schemas/index.js +1 -1
- package/min/ui-svelte-inspector/with-schemas/index.js.gz +0 -0
- package/min/with-schemas/index.js +1 -1
- package/min/with-schemas/index.js.gz +0 -0
- package/omni/index.js +7 -4
- package/omni/with-schemas/index.js +7 -4
- package/package.json +53 -17
- package/persisters/persister-durable-object-sql-storage/index.js +13 -11
- package/persisters/persister-durable-object-sql-storage/with-schemas/index.js +13 -11
- package/persisters/persister-partykit-client/index.js +2 -1
- package/persisters/persister-partykit-client/with-schemas/index.js +2 -1
- package/persisters/persister-partykit-server/index.js +2 -1
- package/persisters/persister-partykit-server/with-schemas/index.js +2 -1
- package/queries/index.js +1 -1
- package/queries/with-schemas/index.js +1 -1
- package/readme.md +14 -14
- package/releases.md +124 -61
- package/synchronizers/index.js +3 -2
- package/synchronizers/synchronizer-broadcast-channel/index.js +3 -2
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +3 -2
- package/synchronizers/synchronizer-local/index.js +3 -2
- package/synchronizers/synchronizer-local/with-schemas/index.js +3 -2
- package/synchronizers/synchronizer-ws-client/index.js +3 -2
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +3 -2
- package/synchronizers/synchronizer-ws-server/index.js +3 -2
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +3 -2
- package/synchronizers/synchronizer-ws-server-durable-object/index.js +3 -2
- package/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +3 -2
- package/synchronizers/with-schemas/index.js +3 -2
- package/ui-react/index.js +3 -0
- package/ui-react/with-schemas/index.js +3 -0
- package/ui-react-dom/index.js +18 -12
- package/ui-react-dom/with-schemas/index.js +18 -12
- package/ui-react-dom-charts/index.js +1783 -0
- package/ui-react-dom-charts/with-schemas/index.js +1783 -0
- package/ui-react-inspector/index.js +29 -20
- package/ui-react-inspector/with-schemas/index.js +29 -20
- package/ui-solid-dom/index.js +10 -7
- package/ui-solid-dom/with-schemas/index.js +10 -7
- package/ui-solid-inspector/index.js +16 -10
- package/ui-solid-inspector/with-schemas/index.js +16 -10
- package/ui-svelte/index.js +5 -5
- package/ui-svelte/with-schemas/index.js +5 -5
- package/ui-svelte-dom/index.js +162 -164
- package/ui-svelte-dom/with-schemas/index.js +162 -164
- package/ui-svelte-inspector/index.js +192 -196
- package/ui-svelte-inspector/with-schemas/index.js +192 -196
- package/with-schemas/index.js +5 -3
|
@@ -47,6 +47,7 @@ const UNDEFINED = '\uFFFC';
|
|
|
47
47
|
const JSON_PREFIX = '\uFFFD';
|
|
48
48
|
const id = (key) => EMPTY_STRING + key;
|
|
49
49
|
|
|
50
|
+
const math = Math;
|
|
50
51
|
const getIfNotFunction = (predicate) => (value, then, otherwise) =>
|
|
51
52
|
predicate(value)
|
|
52
53
|
? /* istanbul ignore next */
|
|
@@ -54,7 +55,9 @@ const getIfNotFunction = (predicate) => (value, then, otherwise) =>
|
|
|
54
55
|
: then(value);
|
|
55
56
|
const GLOBAL = globalThis;
|
|
56
57
|
const WINDOW = GLOBAL.window;
|
|
57
|
-
const
|
|
58
|
+
const number = Number;
|
|
59
|
+
const string = String;
|
|
60
|
+
const boolean = Boolean;
|
|
58
61
|
const mathMin = math.min;
|
|
59
62
|
const mathFloor = math.floor;
|
|
60
63
|
const isFiniteNumber = isFinite;
|
|
@@ -97,6 +100,7 @@ const tryCatch = async (action, then1, then2) => {
|
|
|
97
100
|
};
|
|
98
101
|
|
|
99
102
|
const arrayHas = (array, value) => array.includes(value);
|
|
103
|
+
const arrayIndexOf = (array, value) => array.indexOf(value);
|
|
100
104
|
const arrayEvery = (array, cb) => array.every(cb);
|
|
101
105
|
const arrayIsEqual = (array1, array2) =>
|
|
102
106
|
size(array1) === size(array2) &&
|
|
@@ -215,7 +219,7 @@ const NO_PROVIDED_OBJECTS_MESSAGE =
|
|
|
215
219
|
const INSPECTOR_ERROR_MESSAGE =
|
|
216
220
|
'Inspector error: please see console for details.';
|
|
217
221
|
const getInitialPosition = (position) => {
|
|
218
|
-
const index = POSITIONS
|
|
222
|
+
const index = arrayIndexOf(POSITIONS, position);
|
|
219
223
|
return index == -1 ? 1 : index;
|
|
220
224
|
};
|
|
221
225
|
const getUniqueId = (...args) => jsonStringWithMap(args);
|
|
@@ -337,6 +341,7 @@ const TEXT_OVERFLOW = 'text-overflow';
|
|
|
337
341
|
const ALIGN_ITEMS = 'align-items';
|
|
338
342
|
const BACKDROP_FILTER = 'backdrop-filter';
|
|
339
343
|
const MARGIN_RIGHT = MARGIN + '-' + RIGHT;
|
|
344
|
+
const Z_INDEX = 'z-index';
|
|
340
345
|
const FIXED = 'fixed';
|
|
341
346
|
const REVERT = 'revert';
|
|
342
347
|
const UNSET = 'unset';
|
|
@@ -360,8 +365,8 @@ const APP_STYLESHEET = arrayJoin(
|
|
|
360
365
|
all: 'initial',
|
|
361
366
|
[FONT_SIZE]: rem(0.75),
|
|
362
367
|
[POSITION]: FIXED,
|
|
368
|
+
[Z_INDEX]: 999999,
|
|
363
369
|
'font-family': 'inter,sans-serif',
|
|
364
|
-
'z-index': 999999,
|
|
365
370
|
'--bg': oklch(20),
|
|
366
371
|
'--bg2': oklch(15),
|
|
367
372
|
'--bg3': oklch(25),
|
|
@@ -465,6 +470,7 @@ const APP_STYLESHEET = arrayJoin(
|
|
|
465
470
|
[BACKGROUND]: oklch(30, '% 0.008 var(--hue) / .5'),
|
|
466
471
|
[WIDTH]: 'calc(100% - .5rem)',
|
|
467
472
|
[POSITION]: 'absolute',
|
|
473
|
+
[Z_INDEX]: 1,
|
|
468
474
|
[BORDER + '-' + BOTTOM]: cssVar(BORDER),
|
|
469
475
|
[ALIGN_ITEMS]: 'center',
|
|
470
476
|
[BACKDROP_FILTER]: 'blur(4px)',
|
|
@@ -2873,7 +2879,7 @@ const createStore = () => {
|
|
|
2873
2879
|
|
|
2874
2880
|
const TINYBASE_CONTEXT_KEY = TINYBASE + '_uisc';
|
|
2875
2881
|
|
|
2876
|
-
/* functions.svelte.ts generated by Svelte v5.
|
|
2882
|
+
/* functions.svelte.ts generated by Svelte v5.56.3 */
|
|
2877
2883
|
|
|
2878
2884
|
class ReactiveHandle {
|
|
2879
2885
|
#get;
|
|
@@ -3323,7 +3329,7 @@ const getRelationshipsStoreTableIds = (relationshipsOrId, relationshipId) => {
|
|
|
3323
3329
|
};
|
|
3324
3330
|
};
|
|
3325
3331
|
|
|
3326
|
-
var
|
|
3332
|
+
var root$m = $.from_html(`<img tabindex="0" alt=""/>`);
|
|
3327
3333
|
|
|
3328
3334
|
function Nub($$anchor, $$props) {
|
|
3329
3335
|
$.push($$props, true);
|
|
@@ -3350,7 +3356,7 @@ function Nub($$anchor, $$props) {
|
|
|
3350
3356
|
|
|
3351
3357
|
{
|
|
3352
3358
|
var consequent = ($$anchor) => {
|
|
3353
|
-
var img =
|
|
3359
|
+
var img = root$m();
|
|
3354
3360
|
|
|
3355
3361
|
$.template_effect(() => {
|
|
3356
3362
|
$.set_attribute(img, 'title', TITLE);
|
|
@@ -3386,8 +3392,8 @@ const requestInspectorIdleCallback = (callback) =>
|
|
|
3386
3392
|
const cancelInspectorIdleCallback = (id) =>
|
|
3387
3393
|
globalThis.cancelIdleCallback?.(id) ?? clearTimeout(id);
|
|
3388
3394
|
|
|
3389
|
-
var
|
|
3390
|
-
var
|
|
3395
|
+
var root$l = $.from_html(`<img tabindex="0" alt=""/>`);
|
|
3396
|
+
var root_1$c = $.from_html(
|
|
3391
3397
|
`<details><summary><span> </span> <!></summary> <div><!></div></details>`,
|
|
3392
3398
|
);
|
|
3393
3399
|
|
|
@@ -3413,7 +3419,7 @@ function Details($$anchor, $$props) {
|
|
|
3413
3419
|
}
|
|
3414
3420
|
};
|
|
3415
3421
|
|
|
3416
|
-
var details =
|
|
3422
|
+
var details = root_1$c();
|
|
3417
3423
|
var summary = $.child(details);
|
|
3418
3424
|
var span = $.child(summary);
|
|
3419
3425
|
var text = $.child(span, true);
|
|
@@ -3424,7 +3430,7 @@ function Details($$anchor, $$props) {
|
|
|
3424
3430
|
|
|
3425
3431
|
{
|
|
3426
3432
|
var consequent = ($$anchor) => {
|
|
3427
|
-
var img =
|
|
3433
|
+
var img = root$l();
|
|
3428
3434
|
|
|
3429
3435
|
$.template_effect(() => {
|
|
3430
3436
|
$.set_class(img, 1, $.clsx(editable() ? 'done' : 'edit'));
|
|
@@ -3465,13 +3471,11 @@ function Details($$anchor, $$props) {
|
|
|
3465
3471
|
|
|
3466
3472
|
$.delegate(['click', 'keydown']);
|
|
3467
3473
|
|
|
3468
|
-
var
|
|
3469
|
-
var
|
|
3470
|
-
var
|
|
3471
|
-
var
|
|
3472
|
-
var
|
|
3473
|
-
var root_6$2 = $.from_html(`<input/>`);
|
|
3474
|
-
var root$b = $.from_html(`<div><!><!></div>`);
|
|
3474
|
+
var root$k = $.from_html(`<button> </button>`);
|
|
3475
|
+
var root_1$b = $.from_html(`<input/>`);
|
|
3476
|
+
var root_2$4 = $.from_html(`<input type="number"/>`);
|
|
3477
|
+
var root_3$3 = $.from_html(`<input type="checkbox"/>`);
|
|
3478
|
+
var root_4$2 = $.from_html(`<div><!><!></div>`);
|
|
3475
3479
|
|
|
3476
3480
|
function EditableThing($$anchor, $$props) {
|
|
3477
3481
|
$.push($$props, true);
|
|
@@ -3489,7 +3493,7 @@ function EditableThing($$anchor, $$props) {
|
|
|
3489
3493
|
let objectClassName = $.state(EMPTY_STRING);
|
|
3490
3494
|
let arrayClassName = $.state(EMPTY_STRING);
|
|
3491
3495
|
const getThingKey = (thing) =>
|
|
3492
|
-
`${getCellOrValueType(thing)}:${isObject(thing) || isArray(thing) ? jsonString
|
|
3496
|
+
`${getCellOrValueType(thing)}:${(isObject(thing) || isArray(thing) ? jsonString : string)(thing)}`;
|
|
3493
3497
|
|
|
3494
3498
|
$.user_effect(() => {
|
|
3495
3499
|
const thingKey = getThingKey($$props.thing);
|
|
@@ -3503,9 +3507,9 @@ function EditableThing($$anchor, $$props) {
|
|
|
3503
3507
|
} else if (isArray($$props.thing)) {
|
|
3504
3508
|
$.set(arrayThing, jsonString($$props.thing), true);
|
|
3505
3509
|
} else {
|
|
3506
|
-
$.set(stringThing,
|
|
3507
|
-
$.set(numberThing,
|
|
3508
|
-
$.set(booleanThing,
|
|
3510
|
+
$.set(stringThing, string($$props.thing), true);
|
|
3511
|
+
$.set(numberThing, number($$props.thing) || 0, true);
|
|
3512
|
+
$.set(booleanThing, boolean($$props.thing), true);
|
|
3509
3513
|
}
|
|
3510
3514
|
}
|
|
3511
3515
|
});
|
|
@@ -3565,12 +3569,12 @@ function EditableThing($$anchor, $$props) {
|
|
|
3565
3569
|
const hasWidget = $.derived(
|
|
3566
3570
|
() => getTypeCase($.get(thingType), 1, 1, 1, 1, 1) == 1,
|
|
3567
3571
|
);
|
|
3568
|
-
var div =
|
|
3572
|
+
var div = root_4$2();
|
|
3569
3573
|
var node = $.child(div);
|
|
3570
3574
|
|
|
3571
3575
|
{
|
|
3572
3576
|
var consequent = ($$anchor) => {
|
|
3573
|
-
var button =
|
|
3577
|
+
var button = root$k();
|
|
3574
3578
|
var text = $.child(button, true);
|
|
3575
3579
|
|
|
3576
3580
|
$.reset(button);
|
|
@@ -3594,12 +3598,12 @@ function EditableThing($$anchor, $$props) {
|
|
|
3594
3598
|
|
|
3595
3599
|
{
|
|
3596
3600
|
var consequent_1 = ($$anchor) => {
|
|
3597
|
-
var input =
|
|
3601
|
+
var input = root_1$b();
|
|
3598
3602
|
|
|
3599
3603
|
$.remove_input_defaults(input);
|
|
3600
3604
|
$.template_effect(() => $.set_value(input, $.get(stringThing)));
|
|
3601
3605
|
$.delegated('input', input, (event) =>
|
|
3602
|
-
handleThingChange(
|
|
3606
|
+
handleThingChange(string(event.currentTarget.value), (value) =>
|
|
3603
3607
|
$.set(stringThing, value, true),
|
|
3604
3608
|
),
|
|
3605
3609
|
);
|
|
@@ -3607,12 +3611,12 @@ function EditableThing($$anchor, $$props) {
|
|
|
3607
3611
|
};
|
|
3608
3612
|
|
|
3609
3613
|
var consequent_2 = ($$anchor) => {
|
|
3610
|
-
var input_1 =
|
|
3614
|
+
var input_1 = root_2$4();
|
|
3611
3615
|
|
|
3612
3616
|
$.remove_input_defaults(input_1);
|
|
3613
3617
|
$.template_effect(() => $.set_value(input_1, $.get(numberThing)));
|
|
3614
3618
|
$.delegated('input', input_1, (event) =>
|
|
3615
|
-
handleThingChange(
|
|
3619
|
+
handleThingChange(number(event.currentTarget.value || 0), (value) =>
|
|
3616
3620
|
$.set(numberThing, value, true),
|
|
3617
3621
|
),
|
|
3618
3622
|
);
|
|
@@ -3620,12 +3624,12 @@ function EditableThing($$anchor, $$props) {
|
|
|
3620
3624
|
};
|
|
3621
3625
|
|
|
3622
3626
|
var consequent_3 = ($$anchor) => {
|
|
3623
|
-
var input_2 =
|
|
3627
|
+
var input_2 = root_3$3();
|
|
3624
3628
|
|
|
3625
3629
|
$.remove_input_defaults(input_2);
|
|
3626
3630
|
$.template_effect(() => $.set_checked(input_2, $.get(booleanThing)));
|
|
3627
3631
|
$.delegated('change', input_2, (event) =>
|
|
3628
|
-
handleThingChange(
|
|
3632
|
+
handleThingChange(boolean(event.currentTarget.checked), (value) =>
|
|
3629
3633
|
$.set(booleanThing, value, true),
|
|
3630
3634
|
),
|
|
3631
3635
|
);
|
|
@@ -3633,7 +3637,7 @@ function EditableThing($$anchor, $$props) {
|
|
|
3633
3637
|
};
|
|
3634
3638
|
|
|
3635
3639
|
var consequent_4 = ($$anchor) => {
|
|
3636
|
-
var input_3 =
|
|
3640
|
+
var input_3 = root_1$b();
|
|
3637
3641
|
|
|
3638
3642
|
$.remove_input_defaults(input_3);
|
|
3639
3643
|
|
|
@@ -3654,7 +3658,7 @@ function EditableThing($$anchor, $$props) {
|
|
|
3654
3658
|
};
|
|
3655
3659
|
|
|
3656
3660
|
var consequent_5 = ($$anchor) => {
|
|
3657
|
-
var input_4 =
|
|
3661
|
+
var input_4 = root_1$b();
|
|
3658
3662
|
|
|
3659
3663
|
$.remove_input_defaults(input_4);
|
|
3660
3664
|
|
|
@@ -3804,11 +3808,9 @@ function CellView($$anchor, $$props) {
|
|
|
3804
3808
|
$.pop();
|
|
3805
3809
|
}
|
|
3806
3810
|
|
|
3807
|
-
var
|
|
3808
|
-
var
|
|
3809
|
-
var
|
|
3810
|
-
var root_5$4 = $.from_html(`<td><!></td>`);
|
|
3811
|
-
var root$a = $.from_html(`<tr><!><!><!><!></tr>`);
|
|
3811
|
+
var root$j = $.from_html(`<td><!></td>`);
|
|
3812
|
+
var root_1$a = $.from_html(`<th> </th> <th> </th>`, 1);
|
|
3813
|
+
var root_2$3 = $.from_html(`<tr><!><!><!><!></tr>`);
|
|
3812
3814
|
|
|
3813
3815
|
function RelationshipInHtmlRow($$anchor, $$props) {
|
|
3814
3816
|
$.push($$props, true);
|
|
@@ -3829,7 +3831,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
3829
3831
|
store: $$props.store,
|
|
3830
3832
|
}));
|
|
3831
3833
|
|
|
3832
|
-
var tr =
|
|
3834
|
+
var tr = root_2$3();
|
|
3833
3835
|
var node = $.child(tr);
|
|
3834
3836
|
|
|
3835
3837
|
$.each(
|
|
@@ -3839,7 +3841,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
3839
3841
|
(extraCell, index) => extraKey(index, 0),
|
|
3840
3842
|
($$anchor, extraCell) => {
|
|
3841
3843
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
3842
|
-
var td =
|
|
3844
|
+
var td = root$j();
|
|
3843
3845
|
var node_1 = $.child(td);
|
|
3844
3846
|
|
|
3845
3847
|
$.component(
|
|
@@ -3863,7 +3865,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
3863
3865
|
|
|
3864
3866
|
{
|
|
3865
3867
|
var consequent = ($$anchor) => {
|
|
3866
|
-
var fragment =
|
|
3868
|
+
var fragment = root_1$a();
|
|
3867
3869
|
var th = $.first_child(fragment);
|
|
3868
3870
|
var text = $.child(th, true);
|
|
3869
3871
|
|
|
@@ -3922,7 +3924,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
3922
3924
|
|
|
3923
3925
|
{
|
|
3924
3926
|
var consequent_1 = ($$anchor) => {
|
|
3925
|
-
var td_1 =
|
|
3927
|
+
var td_1 = root$j();
|
|
3926
3928
|
var node_5 = $.child(td_1);
|
|
3927
3929
|
|
|
3928
3930
|
{
|
|
@@ -3986,7 +3988,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
3986
3988
|
(extraCell, index) => extraKey(index, 1),
|
|
3987
3989
|
($$anchor, extraCell) => {
|
|
3988
3990
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
3989
|
-
var td_2 =
|
|
3991
|
+
var td_2 = root$j();
|
|
3990
3992
|
var node_7 = $.child(td_2);
|
|
3991
3993
|
|
|
3992
3994
|
$.component(
|
|
@@ -4011,12 +4013,10 @@ function RelationshipInHtmlRow($$anchor, $$props) {
|
|
|
4011
4013
|
$.pop();
|
|
4012
4014
|
}
|
|
4013
4015
|
|
|
4014
|
-
var
|
|
4015
|
-
var
|
|
4016
|
-
var
|
|
4017
|
-
var
|
|
4018
|
-
var root_1$a = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
|
|
4019
|
-
var root$9 = $.from_html(`<table><!><tbody></tbody></table>`);
|
|
4016
|
+
var root$i = $.from_html(`<th> </th>`);
|
|
4017
|
+
var root_1$9 = $.from_html(`<th> </th> <th> </th>`, 1);
|
|
4018
|
+
var root_2$2 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
|
|
4019
|
+
var root_3$2 = $.from_html(`<table><!><tbody></tbody></table>`);
|
|
4020
4020
|
|
|
4021
4021
|
function RelationshipInHtmlTable($$anchor, $$props) {
|
|
4022
4022
|
$.push($$props, true);
|
|
@@ -4069,12 +4069,12 @@ function RelationshipInHtmlTable($$anchor, $$props) {
|
|
|
4069
4069
|
const extraHeadersAfter = $.derived(() =>
|
|
4070
4070
|
getExtraHeaders(extraCellsAfter(), 1),
|
|
4071
4071
|
);
|
|
4072
|
-
var table =
|
|
4072
|
+
var table = root_3$2();
|
|
4073
4073
|
var node = $.child(table);
|
|
4074
4074
|
|
|
4075
4075
|
{
|
|
4076
4076
|
var consequent_1 = ($$anchor) => {
|
|
4077
|
-
var thead =
|
|
4077
|
+
var thead = root_2$2();
|
|
4078
4078
|
var tr = $.child(thead);
|
|
4079
4079
|
var node_1 = $.child(tr);
|
|
4080
4080
|
|
|
@@ -4084,7 +4084,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
|
|
|
4084
4084
|
() => $.get(extraHeadersBefore),
|
|
4085
4085
|
(extraHeader) => extraHeader.key,
|
|
4086
4086
|
($$anchor, extraHeader) => {
|
|
4087
|
-
var th =
|
|
4087
|
+
var th = root$i();
|
|
4088
4088
|
var text = $.child(th, true);
|
|
4089
4089
|
|
|
4090
4090
|
$.reset(th);
|
|
@@ -4102,7 +4102,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
|
|
|
4102
4102
|
|
|
4103
4103
|
{
|
|
4104
4104
|
var consequent = ($$anchor) => {
|
|
4105
|
-
var fragment =
|
|
4105
|
+
var fragment = root_1$9();
|
|
4106
4106
|
var th_1 = $.first_child(fragment);
|
|
4107
4107
|
var text_1 = $.child(th_1);
|
|
4108
4108
|
|
|
@@ -4136,7 +4136,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
|
|
|
4136
4136
|
() => $.get(cellEntries),
|
|
4137
4137
|
(entry) => entry[0],
|
|
4138
4138
|
($$anchor, entry) => {
|
|
4139
|
-
var th_3 =
|
|
4139
|
+
var th_3 = root$i();
|
|
4140
4140
|
var text_3 = $.child(th_3, true);
|
|
4141
4141
|
|
|
4142
4142
|
$.reset(th_3);
|
|
@@ -4153,7 +4153,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
|
|
|
4153
4153
|
() => $.get(extraHeadersAfter),
|
|
4154
4154
|
(extraHeader) => extraHeader.key,
|
|
4155
4155
|
($$anchor, extraHeader) => {
|
|
4156
|
-
var th_4 =
|
|
4156
|
+
var th_4 = root$i();
|
|
4157
4157
|
var text_4 = $.child(th_4, true);
|
|
4158
4158
|
|
|
4159
4159
|
$.reset(th_4);
|
|
@@ -4260,18 +4260,14 @@ function ResultCellView($$anchor, $$props) {
|
|
|
4260
4260
|
$.pop();
|
|
4261
4261
|
}
|
|
4262
4262
|
|
|
4263
|
-
var
|
|
4264
|
-
var
|
|
4265
|
-
var
|
|
4266
|
-
var
|
|
4267
|
-
var
|
|
4268
|
-
var
|
|
4269
|
-
var
|
|
4270
|
-
var
|
|
4271
|
-
var root_12 = $.from_html(`<td><!></td>`);
|
|
4272
|
-
var root_13 = $.from_html(`<td><!></td>`);
|
|
4273
|
-
var root_9 = $.from_html(`<tr><!><!><!><!></tr>`);
|
|
4274
|
-
var root$8 = $.from_html(`<table><!><!><tbody></tbody></table>`);
|
|
4263
|
+
var root$h = $.from_html(`<caption><!></caption>`);
|
|
4264
|
+
var root_1$8 = $.from_html(`<th> </th>`);
|
|
4265
|
+
var root_2$1 = $.from_html(`<th><!> Id</th>`);
|
|
4266
|
+
var root_3$1 = $.from_html(`<th><!> </th>`);
|
|
4267
|
+
var root_4$1 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
|
|
4268
|
+
var root_5$1 = $.from_html(`<td><!></td>`);
|
|
4269
|
+
var root_6 = $.from_html(`<tr><!><!><!><!></tr>`);
|
|
4270
|
+
var root_7 = $.from_html(`<table><!><!><tbody></tbody></table>`);
|
|
4275
4271
|
|
|
4276
4272
|
function HtmlTable($$anchor, $$props) {
|
|
4277
4273
|
$.push($$props, true);
|
|
@@ -4288,12 +4284,12 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4288
4284
|
);
|
|
4289
4285
|
const PaginatorComponent = $.derived(() => $$props.paginator?.component);
|
|
4290
4286
|
const paginatorProps = $.derived(() => $$props.paginator?.props);
|
|
4291
|
-
var table =
|
|
4287
|
+
var table = root_7();
|
|
4292
4288
|
var node = $.child(table);
|
|
4293
4289
|
|
|
4294
4290
|
{
|
|
4295
4291
|
var consequent = ($$anchor) => {
|
|
4296
|
-
var caption =
|
|
4292
|
+
var caption = root$h();
|
|
4297
4293
|
var node_1 = $.child(caption);
|
|
4298
4294
|
|
|
4299
4295
|
$.component(
|
|
@@ -4321,7 +4317,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4321
4317
|
|
|
4322
4318
|
{
|
|
4323
4319
|
var consequent_4 = ($$anchor) => {
|
|
4324
|
-
var thead =
|
|
4320
|
+
var thead = root_4$1();
|
|
4325
4321
|
var tr = $.child(thead);
|
|
4326
4322
|
var node_3 = $.child(tr);
|
|
4327
4323
|
|
|
@@ -4331,7 +4327,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4331
4327
|
() => $.get(extraHeadersBefore),
|
|
4332
4328
|
(extraHeader) => extraHeader.key,
|
|
4333
4329
|
($$anchor, extraHeader) => {
|
|
4334
|
-
var th =
|
|
4330
|
+
var th = root_1$8();
|
|
4335
4331
|
var text = $.child(th, true);
|
|
4336
4332
|
|
|
4337
4333
|
$.reset(th);
|
|
@@ -4349,7 +4345,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4349
4345
|
|
|
4350
4346
|
{
|
|
4351
4347
|
var consequent_2 = ($$anchor) => {
|
|
4352
|
-
var th_1 =
|
|
4348
|
+
var th_1 = root_2$1();
|
|
4353
4349
|
var node_5 = $.child(th_1);
|
|
4354
4350
|
|
|
4355
4351
|
{
|
|
@@ -4411,7 +4407,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4411
4407
|
($$anchor, entry) => {
|
|
4412
4408
|
const cellId = $.derived(() => $.get(entry)[0]);
|
|
4413
4409
|
const cell = $.derived(() => $.get(entry)[1]);
|
|
4414
|
-
var th_2 =
|
|
4410
|
+
var th_2 = root_3$1();
|
|
4415
4411
|
var node_7 = $.child(th_2);
|
|
4416
4412
|
|
|
4417
4413
|
{
|
|
@@ -4471,7 +4467,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4471
4467
|
() => $.get(extraHeadersAfter),
|
|
4472
4468
|
(extraHeader) => extraHeader.key,
|
|
4473
4469
|
($$anchor, extraHeader) => {
|
|
4474
|
-
var th_3 =
|
|
4470
|
+
var th_3 = root_1$8();
|
|
4475
4471
|
var text_4 = $.child(th_3, true);
|
|
4476
4472
|
|
|
4477
4473
|
$.reset(th_3);
|
|
@@ -4507,7 +4503,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4507
4503
|
...$$props.cellComponentProps,
|
|
4508
4504
|
rowId,
|
|
4509
4505
|
}));
|
|
4510
|
-
var tr_1 =
|
|
4506
|
+
var tr_1 = root_6();
|
|
4511
4507
|
var node_9 = $.child(tr_1);
|
|
4512
4508
|
|
|
4513
4509
|
$.each(
|
|
@@ -4517,7 +4513,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4517
4513
|
(extraCell, index) => extraKey(index, 0),
|
|
4518
4514
|
($$anchor, extraCell) => {
|
|
4519
4515
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
4520
|
-
var td =
|
|
4516
|
+
var td = root_5$1();
|
|
4521
4517
|
var node_10 = $.child(td);
|
|
4522
4518
|
|
|
4523
4519
|
$.component(
|
|
@@ -4541,7 +4537,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4541
4537
|
|
|
4542
4538
|
{
|
|
4543
4539
|
var consequent_5 = ($$anchor) => {
|
|
4544
|
-
var th_4 =
|
|
4540
|
+
var th_4 = root_1$8();
|
|
4545
4541
|
var text_5 = $.child(th_4, true);
|
|
4546
4542
|
|
|
4547
4543
|
$.reset(th_4);
|
|
@@ -4572,7 +4568,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4572
4568
|
const cellId = $.derived(() => $.get(entry)[0]);
|
|
4573
4569
|
const cell = $.derived(() => $.get(entry)[1]);
|
|
4574
4570
|
const CellComponent = $.derived(() => $.get(cell).component);
|
|
4575
|
-
var td_1 =
|
|
4571
|
+
var td_1 = root_5$1();
|
|
4576
4572
|
var node_13 = $.child(td_1);
|
|
4577
4573
|
|
|
4578
4574
|
{
|
|
@@ -4614,7 +4610,7 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4614
4610
|
(extraCell, index) => extraKey(index, 1),
|
|
4615
4611
|
($$anchor, extraCell) => {
|
|
4616
4612
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
4617
|
-
var td_2 =
|
|
4613
|
+
var td_2 = root_5$1();
|
|
4618
4614
|
var node_15 = $.child(td_2);
|
|
4619
4615
|
|
|
4620
4616
|
$.component(
|
|
@@ -4648,15 +4644,16 @@ function HtmlTable($$anchor, $$props) {
|
|
|
4648
4644
|
|
|
4649
4645
|
$.delegate(['click']);
|
|
4650
4646
|
|
|
4651
|
-
var
|
|
4647
|
+
var rest_excludes$3 = new Set(['$$slots', '$$events', '$$legacy']);
|
|
4648
|
+
var root$g = $.from_html(
|
|
4652
4649
|
`<button class="previous"></button><button class="next"></button> `,
|
|
4653
4650
|
1,
|
|
4654
4651
|
);
|
|
4655
|
-
var
|
|
4652
|
+
var root_1$7 = $.from_html(`<!> `, 1);
|
|
4656
4653
|
|
|
4657
4654
|
function SortedTablePaginator($$anchor, $$props) {
|
|
4658
4655
|
$.push($$props, true);
|
|
4659
|
-
$.rest_props($$props,
|
|
4656
|
+
$.rest_props($$props, rest_excludes$3);
|
|
4660
4657
|
const offset = $.derived(() =>
|
|
4661
4658
|
$$props.offset == null ||
|
|
4662
4659
|
$$props.offset > $$props.total ||
|
|
@@ -4682,12 +4679,12 @@ function SortedTablePaginator($$anchor, $$props) {
|
|
|
4682
4679
|
}
|
|
4683
4680
|
});
|
|
4684
4681
|
|
|
4685
|
-
var fragment =
|
|
4682
|
+
var fragment = root_1$7();
|
|
4686
4683
|
var node = $.first_child(fragment);
|
|
4687
4684
|
|
|
4688
4685
|
{
|
|
4689
4686
|
var consequent = ($$anchor) => {
|
|
4690
|
-
var fragment_1 =
|
|
4687
|
+
var fragment_1 = root$g();
|
|
4691
4688
|
var button = $.first_child(fragment_1);
|
|
4692
4689
|
|
|
4693
4690
|
button.textContent = '←';
|
|
@@ -4727,7 +4724,7 @@ function SortedTablePaginator($$anchor, $$props) {
|
|
|
4727
4724
|
|
|
4728
4725
|
$.delegate(['click']);
|
|
4729
4726
|
|
|
4730
|
-
/* sortingAndPagination.svelte.ts generated by Svelte v5.
|
|
4727
|
+
/* sortingAndPagination.svelte.ts generated by Svelte v5.56.3 */
|
|
4731
4728
|
|
|
4732
4729
|
const createSortingAndPagination = (
|
|
4733
4730
|
getCellId,
|
|
@@ -4797,27 +4794,29 @@ const createSortingAndPagination = (
|
|
|
4797
4794
|
};
|
|
4798
4795
|
};
|
|
4799
4796
|
|
|
4797
|
+
var rest_excludes$2 = new Set([
|
|
4798
|
+
'$$slots',
|
|
4799
|
+
'$$events',
|
|
4800
|
+
'$$legacy',
|
|
4801
|
+
'queryId',
|
|
4802
|
+
'cellId',
|
|
4803
|
+
'descending',
|
|
4804
|
+
'offset',
|
|
4805
|
+
'limit',
|
|
4806
|
+
'queries',
|
|
4807
|
+
'sortOnClick',
|
|
4808
|
+
'paginator',
|
|
4809
|
+
'customCells',
|
|
4810
|
+
'extraCellsBefore',
|
|
4811
|
+
'extraCellsAfter',
|
|
4812
|
+
'onChange',
|
|
4813
|
+
]);
|
|
4814
|
+
|
|
4800
4815
|
function ResultSortedTableInHtmlTable($$anchor, $$props) {
|
|
4801
4816
|
$.push($$props, true);
|
|
4802
4817
|
|
|
4803
4818
|
let paginator = $.prop($$props, 'paginator', 3, false),
|
|
4804
|
-
props = $.rest_props($$props,
|
|
4805
|
-
'$$slots',
|
|
4806
|
-
'$$events',
|
|
4807
|
-
'$$legacy',
|
|
4808
|
-
'queryId',
|
|
4809
|
-
'cellId',
|
|
4810
|
-
'descending',
|
|
4811
|
-
'offset',
|
|
4812
|
-
'limit',
|
|
4813
|
-
'queries',
|
|
4814
|
-
'sortOnClick',
|
|
4815
|
-
'paginator',
|
|
4816
|
-
'customCells',
|
|
4817
|
-
'extraCellsBefore',
|
|
4818
|
-
'extraCellsAfter',
|
|
4819
|
-
'onChange',
|
|
4820
|
-
]);
|
|
4819
|
+
props = $.rest_props($$props, rest_excludes$2);
|
|
4821
4820
|
|
|
4822
4821
|
const defaultCellIds = getResultTableCellIds(
|
|
4823
4822
|
() => $$props.queryId,
|
|
@@ -4893,22 +4892,23 @@ function ResultSortedTableInHtmlTable($$anchor, $$props) {
|
|
|
4893
4892
|
$.pop();
|
|
4894
4893
|
}
|
|
4895
4894
|
|
|
4895
|
+
var rest_excludes$1 = new Set([
|
|
4896
|
+
'$$slots',
|
|
4897
|
+
'$$events',
|
|
4898
|
+
'$$legacy',
|
|
4899
|
+
'indexId',
|
|
4900
|
+
'sliceId',
|
|
4901
|
+
'indexes',
|
|
4902
|
+
'editable',
|
|
4903
|
+
'customCells',
|
|
4904
|
+
'extraCellsBefore',
|
|
4905
|
+
'extraCellsAfter',
|
|
4906
|
+
]);
|
|
4907
|
+
|
|
4896
4908
|
function SliceInHtmlTable($$anchor, $$props) {
|
|
4897
4909
|
$.push($$props, true);
|
|
4898
4910
|
|
|
4899
|
-
let props = $.rest_props($$props,
|
|
4900
|
-
'$$slots',
|
|
4901
|
-
'$$events',
|
|
4902
|
-
'$$legacy',
|
|
4903
|
-
'indexId',
|
|
4904
|
-
'sliceId',
|
|
4905
|
-
'indexes',
|
|
4906
|
-
'editable',
|
|
4907
|
-
'customCells',
|
|
4908
|
-
'extraCellsBefore',
|
|
4909
|
-
'extraCellsAfter',
|
|
4910
|
-
]);
|
|
4911
|
-
|
|
4911
|
+
let props = $.rest_props($$props, rest_excludes$1);
|
|
4912
4912
|
const index = getIndexStoreTableId(
|
|
4913
4913
|
() => $$props.indexes,
|
|
4914
4914
|
() => $$props.indexId,
|
|
@@ -4965,28 +4965,30 @@ function SliceInHtmlTable($$anchor, $$props) {
|
|
|
4965
4965
|
$.pop();
|
|
4966
4966
|
}
|
|
4967
4967
|
|
|
4968
|
+
var rest_excludes = new Set([
|
|
4969
|
+
'$$slots',
|
|
4970
|
+
'$$events',
|
|
4971
|
+
'$$legacy',
|
|
4972
|
+
'tableId',
|
|
4973
|
+
'cellId',
|
|
4974
|
+
'descending',
|
|
4975
|
+
'offset',
|
|
4976
|
+
'limit',
|
|
4977
|
+
'store',
|
|
4978
|
+
'editable',
|
|
4979
|
+
'sortOnClick',
|
|
4980
|
+
'paginator',
|
|
4981
|
+
'onChange',
|
|
4982
|
+
'customCells',
|
|
4983
|
+
'extraCellsBefore',
|
|
4984
|
+
'extraCellsAfter',
|
|
4985
|
+
]);
|
|
4986
|
+
|
|
4968
4987
|
function SortedTableInHtmlTable($$anchor, $$props) {
|
|
4969
4988
|
$.push($$props, true);
|
|
4970
4989
|
|
|
4971
4990
|
let paginator = $.prop($$props, 'paginator', 3, false),
|
|
4972
|
-
props = $.rest_props($$props,
|
|
4973
|
-
'$$slots',
|
|
4974
|
-
'$$events',
|
|
4975
|
-
'$$legacy',
|
|
4976
|
-
'tableId',
|
|
4977
|
-
'cellId',
|
|
4978
|
-
'descending',
|
|
4979
|
-
'offset',
|
|
4980
|
-
'limit',
|
|
4981
|
-
'store',
|
|
4982
|
-
'editable',
|
|
4983
|
-
'sortOnClick',
|
|
4984
|
-
'paginator',
|
|
4985
|
-
'onChange',
|
|
4986
|
-
'customCells',
|
|
4987
|
-
'extraCellsBefore',
|
|
4988
|
-
'extraCellsAfter',
|
|
4989
|
-
]);
|
|
4991
|
+
props = $.rest_props($$props, rest_excludes);
|
|
4990
4992
|
|
|
4991
4993
|
const defaultCellIds = getTableCellIds(
|
|
4992
4994
|
() => $$props.tableId,
|
|
@@ -5093,15 +5095,12 @@ function ValueView($$anchor, $$props) {
|
|
|
5093
5095
|
$.pop();
|
|
5094
5096
|
}
|
|
5095
5097
|
|
|
5096
|
-
var
|
|
5097
|
-
var
|
|
5098
|
-
var
|
|
5099
|
-
var
|
|
5100
|
-
var
|
|
5101
|
-
var
|
|
5102
|
-
var root_8 = $.from_html(`<td><!></td>`);
|
|
5103
|
-
var root_5$2 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
|
|
5104
|
-
var root$6 = $.from_html(`<table><!><tbody></tbody></table>`);
|
|
5098
|
+
var root$f = $.from_html(`<th> </th>`);
|
|
5099
|
+
var root_1$6 = $.from_html(`<th>Id</th>`);
|
|
5100
|
+
var root_2 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
|
|
5101
|
+
var root_3 = $.from_html(`<td><!></td>`);
|
|
5102
|
+
var root_4 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
|
|
5103
|
+
var root_5 = $.from_html(`<table><!><tbody></tbody></table>`);
|
|
5105
5104
|
|
|
5106
5105
|
function ValuesInHtmlTable($$anchor, $$props) {
|
|
5107
5106
|
$.push($$props, true);
|
|
@@ -5121,12 +5120,12 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5121
5120
|
const extraHeadersAfter = $.derived(() =>
|
|
5122
5121
|
getExtraHeaders(extraCellsAfter(), 1),
|
|
5123
5122
|
);
|
|
5124
|
-
var table =
|
|
5123
|
+
var table = root_5();
|
|
5125
5124
|
var node = $.child(table);
|
|
5126
5125
|
|
|
5127
5126
|
{
|
|
5128
5127
|
var consequent_1 = ($$anchor) => {
|
|
5129
|
-
var thead =
|
|
5128
|
+
var thead = root_2();
|
|
5130
5129
|
var tr = $.child(thead);
|
|
5131
5130
|
var node_1 = $.child(tr);
|
|
5132
5131
|
|
|
@@ -5136,7 +5135,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5136
5135
|
() => $.get(extraHeadersBefore),
|
|
5137
5136
|
(extraHeader) => extraHeader.key,
|
|
5138
5137
|
($$anchor, extraHeader) => {
|
|
5139
|
-
var th =
|
|
5138
|
+
var th = root$f();
|
|
5140
5139
|
var text = $.child(th, true);
|
|
5141
5140
|
|
|
5142
5141
|
$.reset(th);
|
|
@@ -5154,7 +5153,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5154
5153
|
|
|
5155
5154
|
{
|
|
5156
5155
|
var consequent = ($$anchor) => {
|
|
5157
|
-
var th_1 =
|
|
5156
|
+
var th_1 = root_1$6();
|
|
5158
5157
|
|
|
5159
5158
|
$.append($$anchor, th_1);
|
|
5160
5159
|
};
|
|
@@ -5177,7 +5176,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5177
5176
|
() => $.get(extraHeadersAfter),
|
|
5178
5177
|
(extraHeader) => extraHeader.key,
|
|
5179
5178
|
($$anchor, extraHeader) => {
|
|
5180
|
-
var th_3 =
|
|
5179
|
+
var th_3 = root$f();
|
|
5181
5180
|
var text_2 = $.child(th_3, true);
|
|
5182
5181
|
|
|
5183
5182
|
$.reset(th_3);
|
|
@@ -5211,7 +5210,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5211
5210
|
(valueId) => valueId,
|
|
5212
5211
|
($$anchor, valueId) => {
|
|
5213
5212
|
const valueProps = $.derived(() => ({valueId, store: $$props.store}));
|
|
5214
|
-
var tr_1 =
|
|
5213
|
+
var tr_1 = root_4();
|
|
5215
5214
|
var node_4 = $.child(tr_1);
|
|
5216
5215
|
|
|
5217
5216
|
$.each(
|
|
@@ -5221,7 +5220,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5221
5220
|
(extraCell, index) => extraKey(index, 0),
|
|
5222
5221
|
($$anchor, extraCell) => {
|
|
5223
5222
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
5224
|
-
var td =
|
|
5223
|
+
var td = root_3();
|
|
5225
5224
|
var node_5 = $.child(td);
|
|
5226
5225
|
|
|
5227
5226
|
$.component(
|
|
@@ -5245,7 +5244,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5245
5244
|
|
|
5246
5245
|
{
|
|
5247
5246
|
var consequent_2 = ($$anchor) => {
|
|
5248
|
-
var th_4 =
|
|
5247
|
+
var th_4 = root$f();
|
|
5249
5248
|
var text_3 = $.child(th_4, true);
|
|
5250
5249
|
|
|
5251
5250
|
$.reset(th_4);
|
|
@@ -5299,7 +5298,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
|
|
|
5299
5298
|
(extraCell, index) => extraKey(index, 1),
|
|
5300
5299
|
($$anchor, extraCell) => {
|
|
5301
5300
|
const ExtraCell = $.derived(() => $.get(extraCell).component);
|
|
5302
|
-
var td_2 =
|
|
5301
|
+
var td_2 = root_3();
|
|
5303
5302
|
var node_9 = $.child(td_2);
|
|
5304
5303
|
|
|
5305
5304
|
$.component(
|
|
@@ -5598,8 +5597,8 @@ function MetricView($$anchor, $$props) {
|
|
|
5598
5597
|
$.pop();
|
|
5599
5598
|
}
|
|
5600
5599
|
|
|
5601
|
-
var
|
|
5602
|
-
var
|
|
5600
|
+
var root$e = $.from_html(`<tr><th> </th><td> </td><td><!></td></tr>`);
|
|
5601
|
+
var root_1$5 = $.from_html(
|
|
5603
5602
|
`<table><thead><tr><th>Metric Id</th><th>Table Id</th><th>Metric</th></tr></thead><tbody></tbody></table>`,
|
|
5604
5603
|
);
|
|
5605
5604
|
|
|
@@ -5644,7 +5643,7 @@ function MetricsView($$anchor, $$props) {
|
|
|
5644
5643
|
var d = $.derived(() => arrayIsEmpty(metricIds.current));
|
|
5645
5644
|
|
|
5646
5645
|
var alternate = ($$anchor) => {
|
|
5647
|
-
var table =
|
|
5646
|
+
var table = root_1$5();
|
|
5648
5647
|
var tbody = $.sibling($.child(table));
|
|
5649
5648
|
|
|
5650
5649
|
$.each(
|
|
@@ -5653,7 +5652,7 @@ function MetricsView($$anchor, $$props) {
|
|
|
5653
5652
|
() => metricIds.current,
|
|
5654
5653
|
(metricId) => metricId,
|
|
5655
5654
|
($$anchor, metricId) => {
|
|
5656
|
-
var tr =
|
|
5655
|
+
var tr = root$e();
|
|
5657
5656
|
var th = $.child(tr);
|
|
5658
5657
|
var text_1 = $.child(th, true);
|
|
5659
5658
|
|
|
@@ -6045,12 +6044,12 @@ function RelationshipsView($$anchor, $$props) {
|
|
|
6045
6044
|
$.pop();
|
|
6046
6045
|
}
|
|
6047
6046
|
|
|
6048
|
-
var root$
|
|
6047
|
+
var root$d = $.from_html(
|
|
6049
6048
|
`<div class="actions"><div><!></div> <div><!></div></div>`,
|
|
6050
6049
|
);
|
|
6051
6050
|
|
|
6052
6051
|
function Actions($$anchor, $$props) {
|
|
6053
|
-
var div = root$
|
|
6052
|
+
var div = root$d();
|
|
6054
6053
|
var div_1 = $.child(div);
|
|
6055
6054
|
var node = $.child(div_1);
|
|
6056
6055
|
|
|
@@ -6066,7 +6065,7 @@ function Actions($$anchor, $$props) {
|
|
|
6066
6065
|
$.append($$anchor, div);
|
|
6067
6066
|
}
|
|
6068
6067
|
|
|
6069
|
-
var root$
|
|
6068
|
+
var root$c = $.from_html(` <img title="Confirm" class="ok" alt=""/>`, 1);
|
|
6070
6069
|
|
|
6071
6070
|
function Delete($$anchor, $$props) {
|
|
6072
6071
|
$.push($$props, true);
|
|
@@ -6095,7 +6094,7 @@ function Delete($$anchor, $$props) {
|
|
|
6095
6094
|
|
|
6096
6095
|
$.next();
|
|
6097
6096
|
|
|
6098
|
-
var fragment = root$
|
|
6097
|
+
var fragment = root$c();
|
|
6099
6098
|
var text = $.first_child(fragment);
|
|
6100
6099
|
var img = $.sibling(text);
|
|
6101
6100
|
|
|
@@ -6107,7 +6106,7 @@ function Delete($$anchor, $$props) {
|
|
|
6107
6106
|
|
|
6108
6107
|
$.delegate(['click']);
|
|
6109
6108
|
|
|
6110
|
-
var root$
|
|
6109
|
+
var root$b = $.from_html(` <input type="text"/> <img alt=""/>`, 1);
|
|
6111
6110
|
|
|
6112
6111
|
function NewId($$anchor, $$props) {
|
|
6113
6112
|
$.push($$props, true);
|
|
@@ -6156,7 +6155,7 @@ function NewId($$anchor, $$props) {
|
|
|
6156
6155
|
|
|
6157
6156
|
$.next();
|
|
6158
6157
|
|
|
6159
|
-
var fragment = root$
|
|
6158
|
+
var fragment = root$b();
|
|
6160
6159
|
var text = $.first_child(fragment);
|
|
6161
6160
|
var input_1 = $.sibling(text);
|
|
6162
6161
|
|
|
@@ -6191,11 +6190,8 @@ $.delegate(['input', 'keydown', 'click']);
|
|
|
6191
6190
|
|
|
6192
6191
|
const isNewIdAction = (action) => 'set' in action;
|
|
6193
6192
|
|
|
6194
|
-
var
|
|
6195
|
-
|
|
6196
|
-
1,
|
|
6197
|
-
);
|
|
6198
|
-
var root_5 = $.from_html(`<img alt=""/>`);
|
|
6193
|
+
var root$a = $.from_html(`<!> <img title="Cancel" class="cancel" alt=""/>`, 1);
|
|
6194
|
+
var root_1$4 = $.from_html(`<img alt=""/>`);
|
|
6199
6195
|
|
|
6200
6196
|
function ConfirmableActions($$anchor, $$props) {
|
|
6201
6197
|
$.push($$props, true);
|
|
@@ -6227,7 +6223,7 @@ function ConfirmableActions($$anchor, $$props) {
|
|
|
6227
6223
|
{
|
|
6228
6224
|
var consequent_1 = ($$anchor) => {
|
|
6229
6225
|
const action = $.derived(() => $$props.actions[$.get(confirming)]);
|
|
6230
|
-
var fragment_1 =
|
|
6226
|
+
var fragment_1 = root$a();
|
|
6231
6227
|
var node_1 = $.first_child(fragment_1);
|
|
6232
6228
|
|
|
6233
6229
|
{
|
|
@@ -6291,7 +6287,7 @@ function ConfirmableActions($$anchor, $$props) {
|
|
|
6291
6287
|
() => $$props.actions,
|
|
6292
6288
|
$.index,
|
|
6293
6289
|
($$anchor, action, index) => {
|
|
6294
|
-
var img_1 =
|
|
6290
|
+
var img_1 = root_1$4();
|
|
6295
6291
|
|
|
6296
6292
|
$.template_effect(() => {
|
|
6297
6293
|
$.set_attribute(img_1, 'title', $.get(action).title);
|
|
@@ -6564,7 +6560,7 @@ function CellActions($$anchor, $$props) {
|
|
|
6564
6560
|
$.pop();
|
|
6565
6561
|
}
|
|
6566
6562
|
|
|
6567
|
-
var root$
|
|
6563
|
+
var root$9 = $.from_html(`<!> <!>`, 1);
|
|
6568
6564
|
|
|
6569
6565
|
function EditableCellViewWithActions($$anchor, $$props) {
|
|
6570
6566
|
$.push($$props, true);
|
|
@@ -6575,7 +6571,7 @@ function EditableCellViewWithActions($$anchor, $$props) {
|
|
|
6575
6571
|
() => $$props.cellId,
|
|
6576
6572
|
() => $$props.store,
|
|
6577
6573
|
);
|
|
6578
|
-
var fragment = root$
|
|
6574
|
+
var fragment = root$9();
|
|
6579
6575
|
var node = $.first_child(fragment);
|
|
6580
6576
|
|
|
6581
6577
|
EditableCellView(node, {
|
|
@@ -6628,7 +6624,7 @@ function EditableCellViewWithActions($$anchor, $$props) {
|
|
|
6628
6624
|
$.pop();
|
|
6629
6625
|
}
|
|
6630
6626
|
|
|
6631
|
-
var
|
|
6627
|
+
var root$8 = $.from_html(`<!> <!>`, 1);
|
|
6632
6628
|
|
|
6633
6629
|
function TableView($$anchor, $$props) {
|
|
6634
6630
|
$.push($$props, true);
|
|
@@ -6691,7 +6687,7 @@ function TableView($$anchor, $$props) {
|
|
|
6691
6687
|
},
|
|
6692
6688
|
|
|
6693
6689
|
children: ($$anchor, $$slotProps) => {
|
|
6694
|
-
var fragment_1 =
|
|
6690
|
+
var fragment_1 = root$8();
|
|
6695
6691
|
var node = $.first_child(fragment_1);
|
|
6696
6692
|
|
|
6697
6693
|
{
|
|
@@ -6781,8 +6777,8 @@ function TableView($$anchor, $$props) {
|
|
|
6781
6777
|
$.pop();
|
|
6782
6778
|
}
|
|
6783
6779
|
|
|
6784
|
-
var
|
|
6785
|
-
var root_1$
|
|
6780
|
+
var root$7 = $.from_html(`<p>No tables.</p>`);
|
|
6781
|
+
var root_1$3 = $.from_html(`<!> <!>`, 1);
|
|
6786
6782
|
|
|
6787
6783
|
function TablesView($$anchor, $$props) {
|
|
6788
6784
|
$.push($$props, true);
|
|
@@ -6819,12 +6815,12 @@ function TablesView($$anchor, $$props) {
|
|
|
6819
6815
|
},
|
|
6820
6816
|
|
|
6821
6817
|
children: ($$anchor, $$slotProps) => {
|
|
6822
|
-
var fragment_1 = root_1$
|
|
6818
|
+
var fragment_1 = root_1$3();
|
|
6823
6819
|
var node = $.first_child(fragment_1);
|
|
6824
6820
|
|
|
6825
6821
|
{
|
|
6826
6822
|
var consequent = ($$anchor) => {
|
|
6827
|
-
var p =
|
|
6823
|
+
var p = root$7();
|
|
6828
6824
|
|
|
6829
6825
|
$.append($$anchor, p);
|
|
6830
6826
|
};
|
|
@@ -7003,8 +6999,8 @@ function ValuesActions($$anchor, $$props) {
|
|
|
7003
6999
|
$.pop();
|
|
7004
7000
|
}
|
|
7005
7001
|
|
|
7006
|
-
var
|
|
7007
|
-
var root_1$
|
|
7002
|
+
var root$6 = $.from_html(`<p>No values.</p>`);
|
|
7003
|
+
var root_1$2 = $.from_html(`<!> <!>`, 1);
|
|
7008
7004
|
|
|
7009
7005
|
function ValuesView($$anchor, $$props) {
|
|
7010
7006
|
$.push($$props, true);
|
|
@@ -7039,12 +7035,12 @@ function ValuesView($$anchor, $$props) {
|
|
|
7039
7035
|
},
|
|
7040
7036
|
|
|
7041
7037
|
children: ($$anchor, $$slotProps) => {
|
|
7042
|
-
var fragment_1 = root_1$
|
|
7038
|
+
var fragment_1 = root_1$2();
|
|
7043
7039
|
var node = $.first_child(fragment_1);
|
|
7044
7040
|
|
|
7045
7041
|
{
|
|
7046
7042
|
var consequent = ($$anchor) => {
|
|
7047
|
-
var p =
|
|
7043
|
+
var p = root$6();
|
|
7048
7044
|
|
|
7049
7045
|
$.append($$anchor, p);
|
|
7050
7046
|
};
|
|
@@ -7101,7 +7097,7 @@ function ValuesView($$anchor, $$props) {
|
|
|
7101
7097
|
$.pop();
|
|
7102
7098
|
}
|
|
7103
7099
|
|
|
7104
|
-
var
|
|
7100
|
+
var root$5 = $.from_html(`<!> <!>`, 1);
|
|
7105
7101
|
|
|
7106
7102
|
function StoreView($$anchor, $$props) {
|
|
7107
7103
|
$.push($$props, true);
|
|
@@ -7135,7 +7131,7 @@ function StoreView($$anchor, $$props) {
|
|
|
7135
7131
|
},
|
|
7136
7132
|
|
|
7137
7133
|
children: ($$anchor, $$slotProps) => {
|
|
7138
|
-
var fragment_2 =
|
|
7134
|
+
var fragment_2 = root$5();
|
|
7139
7135
|
var node_1 = $.first_child(fragment_2);
|
|
7140
7136
|
|
|
7141
7137
|
ValuesView(node_1, {
|
|
@@ -7186,8 +7182,8 @@ function StoreView($$anchor, $$props) {
|
|
|
7186
7182
|
$.pop();
|
|
7187
7183
|
}
|
|
7188
7184
|
|
|
7189
|
-
var
|
|
7190
|
-
var
|
|
7185
|
+
var root$4 = $.from_html(`<span class="warn"> </span>`);
|
|
7186
|
+
var root_1$1 = $.from_html(
|
|
7191
7187
|
`<article><!> <!> <!> <!> <!> <!> <!> <!> <!> <!></article>`,
|
|
7192
7188
|
);
|
|
7193
7189
|
|
|
@@ -7217,11 +7213,11 @@ function Body($$anchor, $$props) {
|
|
|
7217
7213
|
const observer = new MutationObserver(() => {
|
|
7218
7214
|
if (
|
|
7219
7215
|
articleElement.scrollWidth >=
|
|
7220
|
-
mathFloor(
|
|
7216
|
+
mathFloor(number(scrollLeft)) + articleElement.clientWidth &&
|
|
7221
7217
|
articleElement.scrollHeight >=
|
|
7222
|
-
mathFloor(
|
|
7218
|
+
mathFloor(number(scrollTop)) + articleElement.clientHeight
|
|
7223
7219
|
) {
|
|
7224
|
-
articleElement.scrollTo(
|
|
7220
|
+
articleElement.scrollTo(number(scrollLeft), number(scrollTop));
|
|
7225
7221
|
}
|
|
7226
7222
|
});
|
|
7227
7223
|
|
|
@@ -7262,7 +7258,7 @@ function Body($$anchor, $$props) {
|
|
|
7262
7258
|
|
|
7263
7259
|
{
|
|
7264
7260
|
var consequent = ($$anchor) => {
|
|
7265
|
-
var span =
|
|
7261
|
+
var span = root$4();
|
|
7266
7262
|
var text = $.child(span, true);
|
|
7267
7263
|
|
|
7268
7264
|
$.reset(span);
|
|
@@ -7271,7 +7267,7 @@ function Body($$anchor, $$props) {
|
|
|
7271
7267
|
};
|
|
7272
7268
|
|
|
7273
7269
|
var alternate = ($$anchor) => {
|
|
7274
|
-
var article_1 =
|
|
7270
|
+
var article_1 = root_1$1();
|
|
7275
7271
|
var node_1 = $.child(article_1);
|
|
7276
7272
|
|
|
7277
7273
|
StoreView(node_1, {
|
|
@@ -7432,7 +7428,7 @@ function Body($$anchor, $$props) {
|
|
|
7432
7428
|
$.pop();
|
|
7433
7429
|
}
|
|
7434
7430
|
|
|
7435
|
-
var
|
|
7431
|
+
var root$3 = $.from_html(`<span class="warn"> </span>`);
|
|
7436
7432
|
|
|
7437
7433
|
function ErrorBoundary($$anchor, $$props) {
|
|
7438
7434
|
const handleError = (
|
|
@@ -7446,7 +7442,7 @@ function ErrorBoundary($$anchor, $$props) {
|
|
|
7446
7442
|
|
|
7447
7443
|
{
|
|
7448
7444
|
const failed = ($$anchor, _error = $.noop, _reset = $.noop) => {
|
|
7449
|
-
var span =
|
|
7445
|
+
var span = root$3();
|
|
7450
7446
|
var text = $.child(span, true);
|
|
7451
7447
|
|
|
7452
7448
|
$.reset(span);
|
|
@@ -7466,8 +7462,8 @@ function ErrorBoundary($$anchor, $$props) {
|
|
|
7466
7462
|
$.append($$anchor, fragment);
|
|
7467
7463
|
}
|
|
7468
7464
|
|
|
7469
|
-
var
|
|
7470
|
-
var
|
|
7465
|
+
var root$2 = $.from_html(`<img tabindex="0" alt=""/>`);
|
|
7466
|
+
var root_1 = $.from_html(
|
|
7471
7467
|
`<header><img class="flat" tabindex="0" alt=""/> <span> </span> <!> <img class="flat" title="Close" tabindex="0" alt=""/></header>`,
|
|
7472
7468
|
);
|
|
7473
7469
|
|
|
@@ -7481,7 +7477,7 @@ function Header($$anchor, $$props) {
|
|
|
7481
7477
|
const handleClick = () => open('https://tinybase.org', '_blank');
|
|
7482
7478
|
const handleClose = () => $$props.s.setValue(OPEN_VALUE, false);
|
|
7483
7479
|
const handleDock = (event) =>
|
|
7484
|
-
$$props.s.setValue(POSITION_VALUE,
|
|
7480
|
+
$$props.s.setValue(POSITION_VALUE, number(event.currentTarget.dataset.id));
|
|
7485
7481
|
|
|
7486
7482
|
const onKeyDown = (event, handle) => {
|
|
7487
7483
|
if (event.key == 'Enter' || event.key == ' ') {
|
|
@@ -7490,7 +7486,7 @@ function Header($$anchor, $$props) {
|
|
|
7490
7486
|
}
|
|
7491
7487
|
};
|
|
7492
7488
|
|
|
7493
|
-
var header =
|
|
7489
|
+
var header = root_1();
|
|
7494
7490
|
var img = $.child(header);
|
|
7495
7491
|
var span = $.sibling(img, 2);
|
|
7496
7492
|
var text = $.child(span, true);
|
|
@@ -7510,7 +7506,7 @@ function Header($$anchor, $$props) {
|
|
|
7510
7506
|
|
|
7511
7507
|
{
|
|
7512
7508
|
var consequent = ($$anchor) => {
|
|
7513
|
-
var img_1 =
|
|
7509
|
+
var img_1 = root$2();
|
|
7514
7510
|
|
|
7515
7511
|
$.set_attribute(img_1, 'data-id', p);
|
|
7516
7512
|
$.template_effect(() =>
|
|
@@ -7551,7 +7547,7 @@ function Header($$anchor, $$props) {
|
|
|
7551
7547
|
|
|
7552
7548
|
$.delegate(['click', 'keydown']);
|
|
7553
7549
|
|
|
7554
|
-
var
|
|
7550
|
+
var root$1 = $.from_html(`<main><!> <!></main>`);
|
|
7555
7551
|
|
|
7556
7552
|
function Panel($$anchor, $$props) {
|
|
7557
7553
|
$.push($$props, true);
|
|
@@ -7569,7 +7565,7 @@ function Panel($$anchor, $$props) {
|
|
|
7569
7565
|
|
|
7570
7566
|
{
|
|
7571
7567
|
var consequent = ($$anchor) => {
|
|
7572
|
-
var main =
|
|
7568
|
+
var main = root$1();
|
|
7573
7569
|
var node_1 = $.child(main);
|
|
7574
7570
|
|
|
7575
7571
|
Header(node_1, {
|